// Client is used to perform operations on Azure VM Images.
typeClientstruct{
management.Client
}
typeListVirtualMachineImagesResponsestruct{
VMImages[]VMImage`xml:"VMImage"`
}
typeVMImagestruct{
Namestring// Specifies the name of the image.
Labelstring// Specifies an identifier for the image.
Categorystring// Specifies the repository classification of the image. All user images have the category User.
Descriptionstring// Specifies the description of the image.
OSDiskConfigurationOSDiskConfiguration// Specifies configuration information for the operating system disk that is associated with the image.
DataDiskConfigurations[]DataDiskConfiguration`xml:">DataDiskConfiguration"`// Specifies configuration information for the data disks that are associated with the image. A VM Image might not have data disks associated with it.
ServiceNamestring// Specifies the name of the cloud service that contained the Virtual Machine from which the image was created.
DeploymentNamestring// Specifies the name of the deployment that contained the Virtual Machine from which the image was created.
RoleNamestring// Specifies the name of the Virtual Machine from which the image was created.
Locationstring// Specifies the geo-location in which the media is located. The Location value is derived from the storage account that contains the blob in which the media is located. If the storage account belongs to an affinity group the value is NULL and the element is not displayed in the response.
AffinityGroupstring// Specifies the affinity group in which the media is located. The AffinityGroup value is derived from the storage account that contains the blob in which the media is located. If the storage account does not belong to an affinity group the value is NULL and the element is not displayed in the response.
CreatedTimestring// Specifies the time that the image was created.
ModifiedTimestring// Specifies the time that the image was last updated.
Languagestring// Specifies the language of the image.
ImageFamilystring// Specifies a value that can be used to group VM Images.
RecommendedVMSizestring// Optional. Specifies the size to use for the Virtual Machine that is created from the VM Image.
IsPremiumstring// Indicates whether the image contains software or associated services that will incur charges above the core price for the virtual machine. For additional details, see the PricingDetailLink element.
Eulastring// Specifies the End User License Agreement that is associated with the image. The value for this element is a string, but it is recommended that the value be a URL that points to a EULA.
IconURIstring`xml:"IconUri"`// Specifies the URI to the icon that is displayed for the image in the Management Portal.
SmallIconURIstring`xml:"SmallIconUri"`// Specifies the URI to the small icon that is displayed for the image in the Management Portal.
PrivacyURIstring`xml:"PrivacyUri"`// Specifies the URI that points to a document that contains the privacy policy related to the image.
PublishedDatestring// Specifies the date when the image was added to the image repository.
}
typeOSStatestring
const(
OSStateGeneralizedOSState="Generalized"
OSStateSpecializedOSState="Specialized"
)
typeIOTypestring
const(
IOTypeProvisionedIOType="Provisioned"
IOTypeStandardIOType="Standard"
)
// OSDiskConfiguration specifies configuration information for the operating
// system disk that is associated with the image.
typeOSDiskConfigurationstruct{
Namestring// Specifies the name of the operating system disk.
HostCachingvmdisk.HostCachingType// Specifies the caching behavior of the operating system disk.
OSStateOSState// Specifies the state of the operating system in the image.
OSstring// Specifies the operating system type of the image.
MediaLinkstring// Specifies the location of the blob in Azure storage. The blob location belongs to a storage account in the subscription specified by the <subscription-id> value in the operation call.
LogicalSizeInGBfloat64// Specifies the size, in GB, of the operating system disk.
IOTypeIOType// Identifies the type of the storage account for the backing VHD. If the backing VHD is in an Provisioned Storage account, “Provisioned” is returned otherwise “Standard” is returned.
}
// DataDiskConfiguration specifies configuration information for the data disks
// that are associated with the image.
typeDataDiskConfigurationstruct{
Namestring// Specifies the name of the data disk.
HostCachingvmdisk.HostCachingType// Specifies the caching behavior of the data disk.
Lunstring// Specifies the Logical Unit Number (LUN) for the data disk.
MediaLinkstring// Specifies the location of the blob in Azure storage. The blob location belongs to a storage account in the subscription specified by the <subscription-id> value in the operation call.
LogicalSizeInGBfloat64// Specifies the size, in GB, of the data disk.
IOTypeIOType// Identifies the type of the storage account for the backing VHD. If the backing VHD is in an Provisioned Storage account, “Provisioned” is returned otherwise “Standard” is returned.