struct_launch_template_data.go 5.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. package ecs
  2. //Licensed under the Apache License, Version 2.0 (the "License");
  3. //you may not use this file except in compliance with the License.
  4. //You may obtain a copy of the License at
  5. //
  6. //http://www.apache.org/licenses/LICENSE-2.0
  7. //
  8. //Unless required by applicable law or agreed to in writing, software
  9. //distributed under the License is distributed on an "AS IS" BASIS,
  10. //WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  11. //See the License for the specific language governing permissions and
  12. //limitations under the License.
  13. //
  14. // Code generated by Alibaba Cloud SDK Code Generator.
  15. // Changes may cause incorrect behavior and will be lost if the code is regenerated.
  16. // LaunchTemplateData is a nested struct in ecs response
  17. type LaunchTemplateData struct {
  18. ImageId string `json:"ImageId" xml:"ImageId"`
  19. ImageOwnerAlias string `json:"ImageOwnerAlias" xml:"ImageOwnerAlias"`
  20. PasswordInherit bool `json:"PasswordInherit" xml:"PasswordInherit"`
  21. InstanceType string `json:"InstanceType" xml:"InstanceType"`
  22. SecurityGroupId string `json:"SecurityGroupId" xml:"SecurityGroupId"`
  23. VpcId string `json:"VpcId" xml:"VpcId"`
  24. VSwitchId string `json:"VSwitchId" xml:"VSwitchId"`
  25. InstanceName string `json:"InstanceName" xml:"InstanceName"`
  26. Description string `json:"Description" xml:"Description"`
  27. InternetMaxBandwidthIn int `json:"InternetMaxBandwidthIn" xml:"InternetMaxBandwidthIn"`
  28. InternetMaxBandwidthOut int `json:"InternetMaxBandwidthOut" xml:"InternetMaxBandwidthOut"`
  29. HostName string `json:"HostName" xml:"HostName"`
  30. ZoneId string `json:"ZoneId" xml:"ZoneId"`
  31. SystemDiskSize int `json:"SystemDisk.Size" xml:"SystemDisk.Size"`
  32. SystemDiskCategory string `json:"SystemDisk.Category" xml:"SystemDisk.Category"`
  33. SystemDiskDiskName string `json:"SystemDisk.DiskName" xml:"SystemDisk.DiskName"`
  34. SystemDiskDescription string `json:"SystemDisk.Description" xml:"SystemDisk.Description"`
  35. SystemDiskIops int `json:"SystemDisk.Iops" xml:"SystemDisk.Iops"`
  36. IoOptimized string `json:"IoOptimized" xml:"IoOptimized"`
  37. InstanceChargeType string `json:"InstanceChargeType" xml:"InstanceChargeType"`
  38. Period int `json:"Period" xml:"Period"`
  39. InternetChargeType string `json:"InternetChargeType" xml:"InternetChargeType"`
  40. EnableVmOsConfig bool `json:"EnableVmOsConfig" xml:"EnableVmOsConfig"`
  41. NetworkType string `json:"NetworkType" xml:"NetworkType"`
  42. UserData string `json:"UserData" xml:"UserData"`
  43. KeyPairName string `json:"KeyPairName" xml:"KeyPairName"`
  44. RamRoleName string `json:"RamRoleName" xml:"RamRoleName"`
  45. AutoReleaseTime string `json:"AutoReleaseTime" xml:"AutoReleaseTime"`
  46. SpotStrategy string `json:"SpotStrategy" xml:"SpotStrategy"`
  47. SpotPriceLimit float64 `json:"SpotPriceLimit" xml:"SpotPriceLimit"`
  48. SpotDuration int `json:"SpotDuration" xml:"SpotDuration"`
  49. ResourceGroupId string `json:"ResourceGroupId" xml:"ResourceGroupId"`
  50. SecurityEnhancementStrategy string `json:"SecurityEnhancementStrategy" xml:"SecurityEnhancementStrategy"`
  51. DataDisks DataDisks `json:"DataDisks" xml:"DataDisks"`
  52. NetworkInterfaces NetworkInterfacesInDescribeLaunchTemplateVersions `json:"NetworkInterfaces" xml:"NetworkInterfaces"`
  53. Tags TagsInDescribeLaunchTemplateVersions `json:"Tags" xml:"Tags"`
  54. }