Documentation ¶
Overview ¶
Code generated by azure-service-operator-codegen. DO NOT EDIT. Copyright (c) Microsoft Corporation. Licensed under the MIT license.
Code generated by azure-service-operator-codegen. DO NOT EDIT. Copyright (c) Microsoft Corporation. Licensed under the MIT license.
Index ¶
- Constants
- type ExtendedLocation
- type ExtendedLocationType
- type ExtendedLocationType_STATUS
- type ExtendedLocation_STATUS
- type HyperVGenerationType
- type HyperVGenerationType_STATUS
- type ImageDataDisk
- type ImageDataDisk_Caching
- type ImageDataDisk_Caching_STATUS
- type ImageDataDisk_STATUS
- type ImageOSDisk
- type ImageOSDisk_Caching
- type ImageOSDisk_Caching_STATUS
- type ImageOSDisk_OsState
- type ImageOSDisk_OsState_STATUS
- type ImageOSDisk_OsType
- type ImageOSDisk_OsType_STATUS
- type ImageOSDisk_STATUS
- type ImageProperties
- type ImageProperties_STATUS
- type ImageStorageProfile
- type ImageStorageProfile_STATUS
- type Image_STATUS
- type Image_Spec
- type StorageAccountType
- type StorageAccountType_STATUS
- type SubResource
- type SubResource_STATUS
Constants ¶
const ( HyperVGenerationType_V1 = HyperVGenerationType("V1") HyperVGenerationType_V2 = HyperVGenerationType("V2") )
const ( ImageDataDisk_Caching_None = ImageDataDisk_Caching("None") ImageDataDisk_Caching_ReadOnly = ImageDataDisk_Caching("ReadOnly") ImageDataDisk_Caching_ReadWrite = ImageDataDisk_Caching("ReadWrite") )
const ( ImageOSDisk_Caching_None = ImageOSDisk_Caching("None") ImageOSDisk_Caching_ReadOnly = ImageOSDisk_Caching("ReadOnly") ImageOSDisk_Caching_ReadWrite = ImageOSDisk_Caching("ReadWrite") )
const ( ImageOSDisk_OsState_Generalized = ImageOSDisk_OsState("Generalized") ImageOSDisk_OsState_Specialized = ImageOSDisk_OsState("Specialized") )
const ( ImageOSDisk_OsType_Linux = ImageOSDisk_OsType("Linux") ImageOSDisk_OsType_Windows = ImageOSDisk_OsType("Windows") )
const ( StorageAccountType_Premium_LRS = StorageAccountType("Premium_LRS") StorageAccountType_Premium_ZRS = StorageAccountType("Premium_ZRS") StorageAccountType_StandardSSD_LRS = StorageAccountType("StandardSSD_LRS") StorageAccountType_StandardSSD_ZRS = StorageAccountType("StandardSSD_ZRS") StorageAccountType_Standard_LRS = StorageAccountType("Standard_LRS") StorageAccountType_UltraSSD_LRS = StorageAccountType("UltraSSD_LRS") )
const ( HyperVGenerationType_STATUS_V1 = HyperVGenerationType_STATUS("V1") HyperVGenerationType_STATUS_V2 = HyperVGenerationType_STATUS("V2") )
const ( ImageDataDisk_Caching_STATUS_None = ImageDataDisk_Caching_STATUS("None") ImageDataDisk_Caching_STATUS_ReadOnly = ImageDataDisk_Caching_STATUS("ReadOnly") ImageDataDisk_Caching_STATUS_ReadWrite = ImageDataDisk_Caching_STATUS("ReadWrite") )
const ( ImageOSDisk_Caching_STATUS_None = ImageOSDisk_Caching_STATUS("None") ImageOSDisk_Caching_STATUS_ReadOnly = ImageOSDisk_Caching_STATUS("ReadOnly") ImageOSDisk_Caching_STATUS_ReadWrite = ImageOSDisk_Caching_STATUS("ReadWrite") )
const ( ImageOSDisk_OsState_STATUS_Generalized = ImageOSDisk_OsState_STATUS("Generalized") ImageOSDisk_OsState_STATUS_Specialized = ImageOSDisk_OsState_STATUS("Specialized") )
const ( ImageOSDisk_OsType_STATUS_Linux = ImageOSDisk_OsType_STATUS("Linux") ImageOSDisk_OsType_STATUS_Windows = ImageOSDisk_OsType_STATUS("Windows") )
const ( StorageAccountType_STATUS_Premium_LRS = StorageAccountType_STATUS("Premium_LRS") StorageAccountType_STATUS_Premium_ZRS = StorageAccountType_STATUS("Premium_ZRS") StorageAccountType_STATUS_StandardSSD_LRS = StorageAccountType_STATUS("StandardSSD_LRS") StorageAccountType_STATUS_StandardSSD_ZRS = StorageAccountType_STATUS("StandardSSD_ZRS") StorageAccountType_STATUS_Standard_LRS = StorageAccountType_STATUS("Standard_LRS") StorageAccountType_STATUS_UltraSSD_LRS = StorageAccountType_STATUS("UltraSSD_LRS") )
const ExtendedLocationType_EdgeZone = ExtendedLocationType("EdgeZone")
const ExtendedLocationType_STATUS_EdgeZone = ExtendedLocationType_STATUS("EdgeZone")
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExtendedLocation ¶
type ExtendedLocation struct { // Name: The name of the extended location. Name *string `json:"name,omitempty"` // Type: The type of the extended location. Type *ExtendedLocationType `json:"type,omitempty"` }
The complex type of the extended location.
type ExtendedLocationType ¶
type ExtendedLocationType string
The type of extendedLocation. +kubebuilder:validation:Enum={"EdgeZone"}
type ExtendedLocationType_STATUS ¶
type ExtendedLocationType_STATUS string
The type of extendedLocation.
type ExtendedLocation_STATUS ¶
type ExtendedLocation_STATUS struct { // Name: The name of the extended location. Name *string `json:"name,omitempty"` // Type: The type of the extended location. Type *ExtendedLocationType_STATUS `json:"type,omitempty"` }
The complex type of the extended location.
type HyperVGenerationType ¶
type HyperVGenerationType string
Specifies the HyperVGeneration Type +kubebuilder:validation:Enum={"V1","V2"}
type HyperVGenerationType_STATUS ¶
type HyperVGenerationType_STATUS string
Specifies the HyperVGeneration Type
type ImageDataDisk ¶
type ImageDataDisk struct { // BlobUri: The Virtual Hard Disk. BlobUri *string `json:"blobUri,omitempty"` // Caching: Specifies the caching requirements. // Possible values are: // None // ReadOnly // ReadWrite // Default: None for Standard storage. ReadOnly for Premium storage Caching *ImageDataDisk_Caching `json:"caching,omitempty"` // DiskEncryptionSet: Specifies the customer managed disk encryption set resource id for the managed image disk. DiskEncryptionSet *SubResource `json:"diskEncryptionSet,omitempty"` // DiskSizeGB: Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the // disk in a virtual machine image. // This value cannot be larger than 1023 GB DiskSizeGB *int `json:"diskSizeGB,omitempty"` // Lun: Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and // therefore must be unique for each data disk attached to a VM. Lun *int `json:"lun,omitempty"` // ManagedDisk: The managedDisk. ManagedDisk *SubResource `json:"managedDisk,omitempty"` // Snapshot: The snapshot. Snapshot *SubResource `json:"snapshot,omitempty"` // StorageAccountType: Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with // data disks, it cannot be used with OS Disk. StorageAccountType *StorageAccountType `json:"storageAccountType,omitempty"` }
Describes a data disk.
type ImageDataDisk_Caching ¶
type ImageDataDisk_Caching string
+kubebuilder:validation:Enum={"None","ReadOnly","ReadWrite"}
type ImageDataDisk_Caching_STATUS ¶
type ImageDataDisk_Caching_STATUS string
type ImageDataDisk_STATUS ¶
type ImageDataDisk_STATUS struct { // BlobUri: The Virtual Hard Disk. BlobUri *string `json:"blobUri,omitempty"` // Caching: Specifies the caching requirements. // Possible values are: // None // ReadOnly // ReadWrite // Default: None for Standard storage. ReadOnly for Premium storage Caching *ImageDataDisk_Caching_STATUS `json:"caching,omitempty"` // DiskEncryptionSet: Specifies the customer managed disk encryption set resource id for the managed image disk. DiskEncryptionSet *SubResource_STATUS `json:"diskEncryptionSet,omitempty"` // DiskSizeGB: Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the // disk in a virtual machine image. // This value cannot be larger than 1023 GB DiskSizeGB *int `json:"diskSizeGB,omitempty"` // Lun: Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and // therefore must be unique for each data disk attached to a VM. Lun *int `json:"lun,omitempty"` // ManagedDisk: The managedDisk. ManagedDisk *SubResource_STATUS `json:"managedDisk,omitempty"` // Snapshot: The snapshot. Snapshot *SubResource_STATUS `json:"snapshot,omitempty"` // StorageAccountType: Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with // data disks, it cannot be used with OS Disk. StorageAccountType *StorageAccountType_STATUS `json:"storageAccountType,omitempty"` }
Describes a data disk.
type ImageOSDisk ¶
type ImageOSDisk struct { // BlobUri: The Virtual Hard Disk. BlobUri *string `json:"blobUri,omitempty"` // Caching: Specifies the caching requirements. // Possible values are: // None // ReadOnly // ReadWrite // Default: None for Standard storage. ReadOnly for Premium storage Caching *ImageOSDisk_Caching `json:"caching,omitempty"` // DiskEncryptionSet: Specifies the customer managed disk encryption set resource id for the managed image disk. DiskEncryptionSet *SubResource `json:"diskEncryptionSet,omitempty"` // DiskSizeGB: Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the // disk in a virtual machine image. // This value cannot be larger than 1023 GB DiskSizeGB *int `json:"diskSizeGB,omitempty"` // ManagedDisk: The managedDisk. ManagedDisk *SubResource `json:"managedDisk,omitempty"` // OsState: The OS State. OsState *ImageOSDisk_OsState `json:"osState,omitempty"` // OsType: This property allows you to specify the type of the OS that is included in the disk if creating a VM from a // custom image. // Possible values are: // Windows // Linux OsType *ImageOSDisk_OsType `json:"osType,omitempty"` // Snapshot: The snapshot. Snapshot *SubResource `json:"snapshot,omitempty"` // StorageAccountType: Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with // data disks, it cannot be used with OS Disk. StorageAccountType *StorageAccountType `json:"storageAccountType,omitempty"` }
Describes an Operating System disk.
type ImageOSDisk_Caching ¶
type ImageOSDisk_Caching string
+kubebuilder:validation:Enum={"None","ReadOnly","ReadWrite"}
type ImageOSDisk_Caching_STATUS ¶
type ImageOSDisk_Caching_STATUS string
type ImageOSDisk_OsState ¶
type ImageOSDisk_OsState string
+kubebuilder:validation:Enum={"Generalized","Specialized"}
type ImageOSDisk_OsState_STATUS ¶
type ImageOSDisk_OsState_STATUS string
type ImageOSDisk_OsType ¶
type ImageOSDisk_OsType string
+kubebuilder:validation:Enum={"Linux","Windows"}
type ImageOSDisk_OsType_STATUS ¶
type ImageOSDisk_OsType_STATUS string
type ImageOSDisk_STATUS ¶
type ImageOSDisk_STATUS struct { // BlobUri: The Virtual Hard Disk. BlobUri *string `json:"blobUri,omitempty"` // Caching: Specifies the caching requirements. // Possible values are: // None // ReadOnly // ReadWrite // Default: None for Standard storage. ReadOnly for Premium storage Caching *ImageOSDisk_Caching_STATUS `json:"caching,omitempty"` // DiskEncryptionSet: Specifies the customer managed disk encryption set resource id for the managed image disk. DiskEncryptionSet *SubResource_STATUS `json:"diskEncryptionSet,omitempty"` // DiskSizeGB: Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the // disk in a virtual machine image. // This value cannot be larger than 1023 GB DiskSizeGB *int `json:"diskSizeGB,omitempty"` // ManagedDisk: The managedDisk. ManagedDisk *SubResource_STATUS `json:"managedDisk,omitempty"` // OsState: The OS State. OsState *ImageOSDisk_OsState_STATUS `json:"osState,omitempty"` // OsType: This property allows you to specify the type of the OS that is included in the disk if creating a VM from a // custom image. // Possible values are: // Windows // Linux OsType *ImageOSDisk_OsType_STATUS `json:"osType,omitempty"` // Snapshot: The snapshot. Snapshot *SubResource_STATUS `json:"snapshot,omitempty"` // StorageAccountType: Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with // data disks, it cannot be used with OS Disk. StorageAccountType *StorageAccountType_STATUS `json:"storageAccountType,omitempty"` }
Describes an Operating System disk.
type ImageProperties ¶
type ImageProperties struct { // HyperVGeneration: Specifies the HyperVGenerationType of the VirtualMachine created from the image. From API Version // 2019-03-01 if the image source is a blob, then we need the user to specify the value, if the source is managed resource // like disk or snapshot, we may require the user to specify the property if we cannot deduce it from the source managed // resource. HyperVGeneration *HyperVGenerationType `json:"hyperVGeneration,omitempty"` // SourceVirtualMachine: The source virtual machine from which Image is created. SourceVirtualMachine *SubResource `json:"sourceVirtualMachine,omitempty"` // StorageProfile: Specifies the storage settings for the virtual machine disks. StorageProfile *ImageStorageProfile `json:"storageProfile,omitempty"` }
Describes the properties of an Image.
type ImageProperties_STATUS ¶
type ImageProperties_STATUS struct { // HyperVGeneration: Specifies the HyperVGenerationType of the VirtualMachine created from the image. From API Version // 2019-03-01 if the image source is a blob, then we need the user to specify the value, if the source is managed resource // like disk or snapshot, we may require the user to specify the property if we cannot deduce it from the source managed // resource. HyperVGeneration *HyperVGenerationType_STATUS `json:"hyperVGeneration,omitempty"` // ProvisioningState: The provisioning state. ProvisioningState *string `json:"provisioningState,omitempty"` // SourceVirtualMachine: The source virtual machine from which Image is created. SourceVirtualMachine *SubResource_STATUS `json:"sourceVirtualMachine,omitempty"` // StorageProfile: Specifies the storage settings for the virtual machine disks. StorageProfile *ImageStorageProfile_STATUS `json:"storageProfile,omitempty"` }
Describes the properties of an Image.
type ImageStorageProfile ¶
type ImageStorageProfile struct { // DataDisks: Specifies the parameters that are used to add a data disk to a virtual machine. // For more information about disks, see [About disks and VHDs for Azure virtual // machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview). DataDisks []ImageDataDisk `json:"dataDisks,omitempty"` // OsDisk: Specifies information about the operating system disk used by the virtual machine. // For more information about disks, see [About disks and VHDs for Azure virtual // machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview). OsDisk *ImageOSDisk `json:"osDisk,omitempty"` // ZoneResilient: Specifies whether an image is zone resilient or not. Default is false. Zone resilient images can be // created only in regions that provide Zone Redundant Storage (ZRS). ZoneResilient *bool `json:"zoneResilient,omitempty"` }
Describes a storage profile.
type ImageStorageProfile_STATUS ¶
type ImageStorageProfile_STATUS struct { // DataDisks: Specifies the parameters that are used to add a data disk to a virtual machine. // For more information about disks, see [About disks and VHDs for Azure virtual // machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview). DataDisks []ImageDataDisk_STATUS `json:"dataDisks,omitempty"` // OsDisk: Specifies information about the operating system disk used by the virtual machine. // For more information about disks, see [About disks and VHDs for Azure virtual // machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview). OsDisk *ImageOSDisk_STATUS `json:"osDisk,omitempty"` // ZoneResilient: Specifies whether an image is zone resilient or not. Default is false. Zone resilient images can be // created only in regions that provide Zone Redundant Storage (ZRS). ZoneResilient *bool `json:"zoneResilient,omitempty"` }
Describes a storage profile.
type Image_STATUS ¶
type Image_STATUS struct { // ExtendedLocation: The extended location of the Image. ExtendedLocation *ExtendedLocation_STATUS `json:"extendedLocation,omitempty"` // Id: Resource Id Id *string `json:"id,omitempty"` // Location: Resource location Location *string `json:"location,omitempty"` // Name: Resource name Name *string `json:"name,omitempty"` // Properties: Describes the properties of an Image. Properties *ImageProperties_STATUS `json:"properties,omitempty"` // Tags: Resource tags Tags map[string]string `json:"tags,omitempty"` // Type: Resource type Type *string `json:"type,omitempty"` }
The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist.
type Image_Spec ¶
type Image_Spec struct { // ExtendedLocation: The extended location of the Image. ExtendedLocation *ExtendedLocation `json:"extendedLocation,omitempty"` // Location: Resource location Location *string `json:"location,omitempty"` Name string `json:"name,omitempty"` // Properties: Describes the properties of an Image. Properties *ImageProperties `json:"properties,omitempty"` // Tags: Resource tags Tags map[string]string `json:"tags,omitempty"` }
func (Image_Spec) GetAPIVersion ¶
func (image Image_Spec) GetAPIVersion() string
GetAPIVersion returns the ARM API version of the resource. This is always "2021-07-01"
func (*Image_Spec) GetName ¶
func (image *Image_Spec) GetName() string
GetName returns the Name of the resource
func (*Image_Spec) GetType ¶
func (image *Image_Spec) GetType() string
GetType returns the ARM Type of the resource. This is always "Microsoft.Compute/images"
type StorageAccountType ¶
type StorageAccountType string
Specifies the storage account type for the managed disk. Managed OS disk storage account type can only be set when you create the scale set. NOTE: UltraSSD_LRS can only be used with data disks. It cannot be used with OS Disk. Standard_LRS uses Standard HDD. StandardSSD_LRS uses Standard SSD. Premium_LRS uses Premium SSD. UltraSSD_LRS uses Ultra disk. Premium_ZRS uses Premium SSD zone redundant storage. StandardSSD_ZRS uses Standard SSD zone redundant storage. For more information regarding disks supported for Windows Virtual Machines, refer to https://docs.microsoft.com/azure/virtual-machines/windows/disks-types and, for Linux Virtual Machines, refer to https://docs.microsoft.com/azure/virtual-machines/linux/disks-types +kubebuilder:validation:Enum={"Premium_LRS","Premium_ZRS","StandardSSD_LRS","StandardSSD_ZRS","Standard_LRS","UltraSSD_LRS"}
type StorageAccountType_STATUS ¶
type StorageAccountType_STATUS string
Specifies the storage account type for the managed disk. Managed OS disk storage account type can only be set when you create the scale set. NOTE: UltraSSD_LRS can only be used with data disks. It cannot be used with OS Disk. Standard_LRS uses Standard HDD. StandardSSD_LRS uses Standard SSD. Premium_LRS uses Premium SSD. UltraSSD_LRS uses Ultra disk. Premium_ZRS uses Premium SSD zone redundant storage. StandardSSD_ZRS uses Standard SSD zone redundant storage. For more information regarding disks supported for Windows Virtual Machines, refer to https://docs.microsoft.com/azure/virtual-machines/windows/disks-types and, for Linux Virtual Machines, refer to https://docs.microsoft.com/azure/virtual-machines/linux/disks-types
type SubResource ¶
type SubResource struct {
Id *string `json:"id,omitempty"`
}
type SubResource_STATUS ¶
type SubResource_STATUS struct { // Id: Resource Id Id *string `json:"id,omitempty"` }