Documentation ¶
Overview ¶
Package v1api20210701 contains API Schema definitions for the compute v1api20210701 API group +groupName=compute.azure.com
Package v1api20210701 contains API Schema definitions for the compute v1api20210701 API group +kubebuilder:object:generate=true All object properties are optional by default, this will be overridden when needed: +kubebuilder:validation:Optional +groupName=compute.azure.com +versionName=v1api20210701
Code generated by azure-service-operator-codegen. DO NOT EDIT. Copyright (c) Microsoft Corporation. Licensed under the MIT license.
Index ¶
- Constants
- Variables
- type APIVersion
- type ExtendedLocation
- func (location *ExtendedLocation) AssignProperties_From_ExtendedLocation(source *storage.ExtendedLocation) error
- func (location *ExtendedLocation) AssignProperties_To_ExtendedLocation(destination *storage.ExtendedLocation) error
- func (location *ExtendedLocation) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)
- func (in *ExtendedLocation) DeepCopy() *ExtendedLocation
- func (in *ExtendedLocation) DeepCopyInto(out *ExtendedLocation)
- func (location *ExtendedLocation) NewEmptyARMValue() genruntime.ARMResourceStatus
- func (location *ExtendedLocation) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error
- type ExtendedLocationType
- type ExtendedLocationType_STATUS
- type ExtendedLocation_STATUS
- func (location *ExtendedLocation_STATUS) AssignProperties_From_ExtendedLocation_STATUS(source *storage.ExtendedLocation_STATUS) error
- func (location *ExtendedLocation_STATUS) AssignProperties_To_ExtendedLocation_STATUS(destination *storage.ExtendedLocation_STATUS) error
- func (in *ExtendedLocation_STATUS) DeepCopy() *ExtendedLocation_STATUS
- func (in *ExtendedLocation_STATUS) DeepCopyInto(out *ExtendedLocation_STATUS)
- func (location *ExtendedLocation_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus
- func (location *ExtendedLocation_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error
- type HyperVGenerationType
- type HyperVGenerationType_STATUS
- type Image
- func (image *Image) AssignProperties_From_Image(source *storage.Image) error
- func (image *Image) AssignProperties_To_Image(destination *storage.Image) error
- func (image *Image) AzureName() string
- func (image *Image) ConfigMapDestinationExpressions() []*core.DestinationExpression
- func (image *Image) ConvertFrom(hub conversion.Hub) error
- func (image *Image) ConvertTo(hub conversion.Hub) error
- func (in *Image) DeepCopy() *Image
- func (in *Image) DeepCopyInto(out *Image)
- func (in *Image) DeepCopyObject() runtime.Object
- func (image *Image) Default()
- func (image Image) GetAPIVersion() string
- func (image *Image) GetConditions() conditions.Conditions
- func (image *Image) GetResourceScope() genruntime.ResourceScope
- func (image *Image) GetSpec() genruntime.ConvertibleSpec
- func (image *Image) GetStatus() genruntime.ConvertibleStatus
- func (image *Image) GetSupportedOperations() []genruntime.ResourceOperation
- func (image *Image) GetType() string
- func (image *Image) NewEmptyStatus() genruntime.ConvertibleStatus
- func (image *Image) OriginalGVK() *schema.GroupVersionKind
- func (image *Image) Owner() *genruntime.ResourceReference
- func (image *Image) SecretDestinationExpressions() []*core.DestinationExpression
- func (image *Image) SetConditions(conditions conditions.Conditions)
- func (image *Image) SetStatus(status genruntime.ConvertibleStatus) error
- func (image *Image) ValidateCreate() (admission.Warnings, error)
- func (image *Image) ValidateDelete() (admission.Warnings, error)
- func (image *Image) ValidateUpdate(old runtime.Object) (admission.Warnings, error)
- type ImageDataDisk
- func (disk *ImageDataDisk) AssignProperties_From_ImageDataDisk(source *storage.ImageDataDisk) error
- func (disk *ImageDataDisk) AssignProperties_To_ImageDataDisk(destination *storage.ImageDataDisk) error
- func (disk *ImageDataDisk) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)
- func (in *ImageDataDisk) DeepCopy() *ImageDataDisk
- func (in *ImageDataDisk) DeepCopyInto(out *ImageDataDisk)
- func (disk *ImageDataDisk) NewEmptyARMValue() genruntime.ARMResourceStatus
- func (disk *ImageDataDisk) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error
- type ImageDataDisk_Caching
- type ImageDataDisk_Caching_STATUS
- type ImageDataDisk_STATUS
- func (disk *ImageDataDisk_STATUS) AssignProperties_From_ImageDataDisk_STATUS(source *storage.ImageDataDisk_STATUS) error
- func (disk *ImageDataDisk_STATUS) AssignProperties_To_ImageDataDisk_STATUS(destination *storage.ImageDataDisk_STATUS) error
- func (in *ImageDataDisk_STATUS) DeepCopy() *ImageDataDisk_STATUS
- func (in *ImageDataDisk_STATUS) DeepCopyInto(out *ImageDataDisk_STATUS)
- func (disk *ImageDataDisk_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus
- func (disk *ImageDataDisk_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error
- type ImageList
- type ImageOSDisk
- func (disk *ImageOSDisk) AssignProperties_From_ImageOSDisk(source *storage.ImageOSDisk) error
- func (disk *ImageOSDisk) AssignProperties_To_ImageOSDisk(destination *storage.ImageOSDisk) error
- func (disk *ImageOSDisk) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)
- func (in *ImageOSDisk) DeepCopy() *ImageOSDisk
- func (in *ImageOSDisk) DeepCopyInto(out *ImageOSDisk)
- func (disk *ImageOSDisk) NewEmptyARMValue() genruntime.ARMResourceStatus
- func (disk *ImageOSDisk) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error
- type ImageOSDisk_Caching
- type ImageOSDisk_Caching_STATUS
- type ImageOSDisk_OsState
- type ImageOSDisk_OsState_STATUS
- type ImageOSDisk_OsType
- type ImageOSDisk_OsType_STATUS
- type ImageOSDisk_STATUS
- func (disk *ImageOSDisk_STATUS) AssignProperties_From_ImageOSDisk_STATUS(source *storage.ImageOSDisk_STATUS) error
- func (disk *ImageOSDisk_STATUS) AssignProperties_To_ImageOSDisk_STATUS(destination *storage.ImageOSDisk_STATUS) error
- func (in *ImageOSDisk_STATUS) DeepCopy() *ImageOSDisk_STATUS
- func (in *ImageOSDisk_STATUS) DeepCopyInto(out *ImageOSDisk_STATUS)
- func (disk *ImageOSDisk_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus
- func (disk *ImageOSDisk_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error
- type ImageOperatorSpec
- func (operator *ImageOperatorSpec) AssignProperties_From_ImageOperatorSpec(source *storage.ImageOperatorSpec) error
- func (operator *ImageOperatorSpec) AssignProperties_To_ImageOperatorSpec(destination *storage.ImageOperatorSpec) error
- func (in *ImageOperatorSpec) DeepCopy() *ImageOperatorSpec
- func (in *ImageOperatorSpec) DeepCopyInto(out *ImageOperatorSpec)
- type ImageStorageProfile
- func (profile *ImageStorageProfile) AssignProperties_From_ImageStorageProfile(source *storage.ImageStorageProfile) error
- func (profile *ImageStorageProfile) AssignProperties_To_ImageStorageProfile(destination *storage.ImageStorageProfile) error
- func (profile *ImageStorageProfile) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)
- func (in *ImageStorageProfile) DeepCopy() *ImageStorageProfile
- func (in *ImageStorageProfile) DeepCopyInto(out *ImageStorageProfile)
- func (profile *ImageStorageProfile) NewEmptyARMValue() genruntime.ARMResourceStatus
- func (profile *ImageStorageProfile) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error
- type ImageStorageProfile_STATUS
- func (profile *ImageStorageProfile_STATUS) AssignProperties_From_ImageStorageProfile_STATUS(source *storage.ImageStorageProfile_STATUS) error
- func (profile *ImageStorageProfile_STATUS) AssignProperties_To_ImageStorageProfile_STATUS(destination *storage.ImageStorageProfile_STATUS) error
- func (in *ImageStorageProfile_STATUS) DeepCopy() *ImageStorageProfile_STATUS
- func (in *ImageStorageProfile_STATUS) DeepCopyInto(out *ImageStorageProfile_STATUS)
- func (profile *ImageStorageProfile_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus
- func (profile *ImageStorageProfile_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error
- type Image_STATUS
- func (image *Image_STATUS) AssignProperties_From_Image_STATUS(source *storage.Image_STATUS) error
- func (image *Image_STATUS) AssignProperties_To_Image_STATUS(destination *storage.Image_STATUS) error
- func (image *Image_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error
- func (image *Image_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error
- func (in *Image_STATUS) DeepCopy() *Image_STATUS
- func (in *Image_STATUS) DeepCopyInto(out *Image_STATUS)
- func (image *Image_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus
- func (image *Image_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error
- type Image_Spec
- func (image *Image_Spec) AssignProperties_From_Image_Spec(source *storage.Image_Spec) error
- func (image *Image_Spec) AssignProperties_To_Image_Spec(destination *storage.Image_Spec) error
- func (image *Image_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error
- func (image *Image_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error
- func (image *Image_Spec) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)
- func (in *Image_Spec) DeepCopy() *Image_Spec
- func (in *Image_Spec) DeepCopyInto(out *Image_Spec)
- func (image *Image_Spec) NewEmptyARMValue() genruntime.ARMResourceStatus
- func (image *Image_Spec) OriginalVersion() string
- func (image *Image_Spec) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error
- func (image *Image_Spec) SetAzureName(azureName string)
- type StorageAccountType
- type StorageAccountType_STATUS
- type SubResource
- func (resource *SubResource) AssignProperties_From_SubResource(source *storage.SubResource) error
- func (resource *SubResource) AssignProperties_To_SubResource(destination *storage.SubResource) error
- func (resource *SubResource) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)
- func (in *SubResource) DeepCopy() *SubResource
- func (in *SubResource) DeepCopyInto(out *SubResource)
- func (resource *SubResource) NewEmptyARMValue() genruntime.ARMResourceStatus
- func (resource *SubResource) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error
- type SubResource_STATUS
- func (resource *SubResource_STATUS) AssignProperties_From_SubResource_STATUS(source *storage.SubResource_STATUS) error
- func (resource *SubResource_STATUS) AssignProperties_To_SubResource_STATUS(destination *storage.SubResource_STATUS) error
- func (in *SubResource_STATUS) DeepCopy() *SubResource_STATUS
- func (in *SubResource_STATUS) DeepCopyInto(out *SubResource_STATUS)
- func (resource *SubResource_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus
- func (resource *SubResource_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error
Constants ¶
const ( HyperVGenerationType_V1 = HyperVGenerationType("V1") HyperVGenerationType_V2 = HyperVGenerationType("V2") )
const ( HyperVGenerationType_STATUS_V1 = HyperVGenerationType_STATUS("V1") HyperVGenerationType_STATUS_V2 = HyperVGenerationType_STATUS("V2") )
const ( ImageDataDisk_Caching_None = ImageDataDisk_Caching("None") ImageDataDisk_Caching_ReadOnly = ImageDataDisk_Caching("ReadOnly") ImageDataDisk_Caching_ReadWrite = ImageDataDisk_Caching("ReadWrite") )
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_None = ImageOSDisk_Caching("None") ImageOSDisk_Caching_ReadOnly = ImageOSDisk_Caching("ReadOnly") ImageOSDisk_Caching_ReadWrite = ImageOSDisk_Caching("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_Generalized = ImageOSDisk_OsState("Generalized") ImageOSDisk_OsState_Specialized = ImageOSDisk_OsState("Specialized") )
const ( ImageOSDisk_OsState_STATUS_Generalized = ImageOSDisk_OsState_STATUS("Generalized") ImageOSDisk_OsState_STATUS_Specialized = ImageOSDisk_OsState_STATUS("Specialized") )
const ( ImageOSDisk_OsType_Linux = ImageOSDisk_OsType("Linux") ImageOSDisk_OsType_Windows = ImageOSDisk_OsType("Windows") )
const ( ImageOSDisk_OsType_STATUS_Linux = ImageOSDisk_OsType_STATUS("Linux") ImageOSDisk_OsType_STATUS_Windows = ImageOSDisk_OsType_STATUS("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 ( 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 APIVersion_Value = APIVersion("2021-07-01")
const ExtendedLocationType_EdgeZone = ExtendedLocationType("EdgeZone")
const ExtendedLocationType_STATUS_EdgeZone = ExtendedLocationType_STATUS("EdgeZone")
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "compute.azure.com", Version: "v1api20210701"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
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.
func (*ExtendedLocation) AssignProperties_From_ExtendedLocation ¶
func (location *ExtendedLocation) AssignProperties_From_ExtendedLocation(source *storage.ExtendedLocation) error
AssignProperties_From_ExtendedLocation populates our ExtendedLocation from the provided source ExtendedLocation
func (*ExtendedLocation) AssignProperties_To_ExtendedLocation ¶
func (location *ExtendedLocation) AssignProperties_To_ExtendedLocation(destination *storage.ExtendedLocation) error
AssignProperties_To_ExtendedLocation populates the provided destination ExtendedLocation from our ExtendedLocation
func (*ExtendedLocation) ConvertToARM ¶
func (location *ExtendedLocation) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)
ConvertToARM converts from a Kubernetes CRD object to an ARM object
func (*ExtendedLocation) DeepCopy ¶
func (in *ExtendedLocation) DeepCopy() *ExtendedLocation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtendedLocation.
func (*ExtendedLocation) DeepCopyInto ¶
func (in *ExtendedLocation) DeepCopyInto(out *ExtendedLocation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ExtendedLocation) NewEmptyARMValue ¶
func (location *ExtendedLocation) NewEmptyARMValue() genruntime.ARMResourceStatus
NewEmptyARMValue returns an empty ARM value suitable for deserializing into
func (*ExtendedLocation) PopulateFromARM ¶
func (location *ExtendedLocation) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error
PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
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.
func (*ExtendedLocation_STATUS) AssignProperties_From_ExtendedLocation_STATUS ¶
func (location *ExtendedLocation_STATUS) AssignProperties_From_ExtendedLocation_STATUS(source *storage.ExtendedLocation_STATUS) error
AssignProperties_From_ExtendedLocation_STATUS populates our ExtendedLocation_STATUS from the provided source ExtendedLocation_STATUS
func (*ExtendedLocation_STATUS) AssignProperties_To_ExtendedLocation_STATUS ¶
func (location *ExtendedLocation_STATUS) AssignProperties_To_ExtendedLocation_STATUS(destination *storage.ExtendedLocation_STATUS) error
AssignProperties_To_ExtendedLocation_STATUS populates the provided destination ExtendedLocation_STATUS from our ExtendedLocation_STATUS
func (*ExtendedLocation_STATUS) DeepCopy ¶
func (in *ExtendedLocation_STATUS) DeepCopy() *ExtendedLocation_STATUS
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtendedLocation_STATUS.
func (*ExtendedLocation_STATUS) DeepCopyInto ¶
func (in *ExtendedLocation_STATUS) DeepCopyInto(out *ExtendedLocation_STATUS)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ExtendedLocation_STATUS) NewEmptyARMValue ¶
func (location *ExtendedLocation_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus
NewEmptyARMValue returns an empty ARM value suitable for deserializing into
func (*ExtendedLocation_STATUS) PopulateFromARM ¶
func (location *ExtendedLocation_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error
PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
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 Image ¶
type Image struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec Image_Spec `json:"spec,omitempty"` Status Image_STATUS `json:"status,omitempty"` }
+kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="Severity",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].severity" +kubebuilder:printcolumn:name="Reason",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].reason" +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].message" Generator information: - Generated from: /compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2021-07-01/compute.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}
func (*Image) AssignProperties_From_Image ¶
AssignProperties_From_Image populates our Image from the provided source Image
func (*Image) AssignProperties_To_Image ¶
AssignProperties_To_Image populates the provided destination Image from our Image
func (*Image) ConfigMapDestinationExpressions ¶ added in v2.11.0
func (image *Image) ConfigMapDestinationExpressions() []*core.DestinationExpression
ConfigMapDestinationExpressions returns the Spec.OperatorSpec.ConfigMapExpressions property
func (*Image) ConvertFrom ¶
func (image *Image) ConvertFrom(hub conversion.Hub) error
ConvertFrom populates our Image from the provided hub Image
func (*Image) ConvertTo ¶
func (image *Image) ConvertTo(hub conversion.Hub) error
ConvertTo populates the provided hub Image from our Image
func (*Image) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image.
func (*Image) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Image) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Image) Default ¶
func (image *Image) Default()
Default applies defaults to the Image resource
func (Image) GetAPIVersion ¶
GetAPIVersion returns the ARM API version of the resource. This is always "2021-07-01"
func (*Image) GetConditions ¶
func (image *Image) GetConditions() conditions.Conditions
GetConditions returns the conditions of the resource
func (*Image) GetResourceScope ¶
func (image *Image) GetResourceScope() genruntime.ResourceScope
GetResourceScope returns the scope of the resource
func (*Image) GetSpec ¶
func (image *Image) GetSpec() genruntime.ConvertibleSpec
GetSpec returns the specification of this resource
func (*Image) GetStatus ¶
func (image *Image) GetStatus() genruntime.ConvertibleStatus
GetStatus returns the status of this resource
func (*Image) GetSupportedOperations ¶ added in v2.4.0
func (image *Image) GetSupportedOperations() []genruntime.ResourceOperation
GetSupportedOperations returns the operations supported by the resource
func (*Image) GetType ¶
GetType returns the ARM Type of the resource. This is always "Microsoft.Compute/images"
func (*Image) NewEmptyStatus ¶
func (image *Image) NewEmptyStatus() genruntime.ConvertibleStatus
NewEmptyStatus returns a new empty (blank) status
func (*Image) OriginalGVK ¶
func (image *Image) OriginalGVK() *schema.GroupVersionKind
OriginalGVK returns a GroupValueKind for the original API version used to create the resource
func (*Image) Owner ¶
func (image *Image) Owner() *genruntime.ResourceReference
Owner returns the ResourceReference of the owner
func (*Image) SecretDestinationExpressions ¶ added in v2.11.0
func (image *Image) SecretDestinationExpressions() []*core.DestinationExpression
SecretDestinationExpressions returns the Spec.OperatorSpec.SecretExpressions property
func (*Image) SetConditions ¶
func (image *Image) SetConditions(conditions conditions.Conditions)
SetConditions sets the conditions on the resource status
func (*Image) SetStatus ¶
func (image *Image) SetStatus(status genruntime.ConvertibleStatus) error
SetStatus sets the status of this resource
func (*Image) ValidateCreate ¶
ValidateCreate validates the creation of the resource
func (*Image) ValidateDelete ¶
ValidateDelete validates the deletion of the resource
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"` // +kubebuilder:validation:Required // 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.
func (*ImageDataDisk) AssignProperties_From_ImageDataDisk ¶
func (disk *ImageDataDisk) AssignProperties_From_ImageDataDisk(source *storage.ImageDataDisk) error
AssignProperties_From_ImageDataDisk populates our ImageDataDisk from the provided source ImageDataDisk
func (*ImageDataDisk) AssignProperties_To_ImageDataDisk ¶
func (disk *ImageDataDisk) AssignProperties_To_ImageDataDisk(destination *storage.ImageDataDisk) error
AssignProperties_To_ImageDataDisk populates the provided destination ImageDataDisk from our ImageDataDisk
func (*ImageDataDisk) ConvertToARM ¶
func (disk *ImageDataDisk) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)
ConvertToARM converts from a Kubernetes CRD object to an ARM object
func (*ImageDataDisk) DeepCopy ¶
func (in *ImageDataDisk) DeepCopy() *ImageDataDisk
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageDataDisk.
func (*ImageDataDisk) DeepCopyInto ¶
func (in *ImageDataDisk) DeepCopyInto(out *ImageDataDisk)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ImageDataDisk) NewEmptyARMValue ¶
func (disk *ImageDataDisk) NewEmptyARMValue() genruntime.ARMResourceStatus
NewEmptyARMValue returns an empty ARM value suitable for deserializing into
func (*ImageDataDisk) PopulateFromARM ¶
func (disk *ImageDataDisk) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error
PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
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.
func (*ImageDataDisk_STATUS) AssignProperties_From_ImageDataDisk_STATUS ¶
func (disk *ImageDataDisk_STATUS) AssignProperties_From_ImageDataDisk_STATUS(source *storage.ImageDataDisk_STATUS) error
AssignProperties_From_ImageDataDisk_STATUS populates our ImageDataDisk_STATUS from the provided source ImageDataDisk_STATUS
func (*ImageDataDisk_STATUS) AssignProperties_To_ImageDataDisk_STATUS ¶
func (disk *ImageDataDisk_STATUS) AssignProperties_To_ImageDataDisk_STATUS(destination *storage.ImageDataDisk_STATUS) error
AssignProperties_To_ImageDataDisk_STATUS populates the provided destination ImageDataDisk_STATUS from our ImageDataDisk_STATUS
func (*ImageDataDisk_STATUS) DeepCopy ¶
func (in *ImageDataDisk_STATUS) DeepCopy() *ImageDataDisk_STATUS
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageDataDisk_STATUS.
func (*ImageDataDisk_STATUS) DeepCopyInto ¶
func (in *ImageDataDisk_STATUS) DeepCopyInto(out *ImageDataDisk_STATUS)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ImageDataDisk_STATUS) NewEmptyARMValue ¶
func (disk *ImageDataDisk_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus
NewEmptyARMValue returns an empty ARM value suitable for deserializing into
func (*ImageDataDisk_STATUS) PopulateFromARM ¶
func (disk *ImageDataDisk_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error
PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
type ImageList ¶
type ImageList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Image `json:"items"` }
+kubebuilder:object:root=true Generator information: - Generated from: /compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2021-07-01/compute.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}
func (*ImageList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageList.
func (*ImageList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ImageList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
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"` // +kubebuilder:validation:Required // OsState: The OS State. OsState *ImageOSDisk_OsState `json:"osState,omitempty"` // +kubebuilder:validation:Required // 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.
func (*ImageOSDisk) AssignProperties_From_ImageOSDisk ¶
func (disk *ImageOSDisk) AssignProperties_From_ImageOSDisk(source *storage.ImageOSDisk) error
AssignProperties_From_ImageOSDisk populates our ImageOSDisk from the provided source ImageOSDisk
func (*ImageOSDisk) AssignProperties_To_ImageOSDisk ¶
func (disk *ImageOSDisk) AssignProperties_To_ImageOSDisk(destination *storage.ImageOSDisk) error
AssignProperties_To_ImageOSDisk populates the provided destination ImageOSDisk from our ImageOSDisk
func (*ImageOSDisk) ConvertToARM ¶
func (disk *ImageOSDisk) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)
ConvertToARM converts from a Kubernetes CRD object to an ARM object
func (*ImageOSDisk) DeepCopy ¶
func (in *ImageOSDisk) DeepCopy() *ImageOSDisk
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageOSDisk.
func (*ImageOSDisk) DeepCopyInto ¶
func (in *ImageOSDisk) DeepCopyInto(out *ImageOSDisk)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ImageOSDisk) NewEmptyARMValue ¶
func (disk *ImageOSDisk) NewEmptyARMValue() genruntime.ARMResourceStatus
NewEmptyARMValue returns an empty ARM value suitable for deserializing into
func (*ImageOSDisk) PopulateFromARM ¶
func (disk *ImageOSDisk) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error
PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
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.
func (*ImageOSDisk_STATUS) AssignProperties_From_ImageOSDisk_STATUS ¶
func (disk *ImageOSDisk_STATUS) AssignProperties_From_ImageOSDisk_STATUS(source *storage.ImageOSDisk_STATUS) error
AssignProperties_From_ImageOSDisk_STATUS populates our ImageOSDisk_STATUS from the provided source ImageOSDisk_STATUS
func (*ImageOSDisk_STATUS) AssignProperties_To_ImageOSDisk_STATUS ¶
func (disk *ImageOSDisk_STATUS) AssignProperties_To_ImageOSDisk_STATUS(destination *storage.ImageOSDisk_STATUS) error
AssignProperties_To_ImageOSDisk_STATUS populates the provided destination ImageOSDisk_STATUS from our ImageOSDisk_STATUS
func (*ImageOSDisk_STATUS) DeepCopy ¶
func (in *ImageOSDisk_STATUS) DeepCopy() *ImageOSDisk_STATUS
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageOSDisk_STATUS.
func (*ImageOSDisk_STATUS) DeepCopyInto ¶
func (in *ImageOSDisk_STATUS) DeepCopyInto(out *ImageOSDisk_STATUS)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ImageOSDisk_STATUS) NewEmptyARMValue ¶
func (disk *ImageOSDisk_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus
NewEmptyARMValue returns an empty ARM value suitable for deserializing into
func (*ImageOSDisk_STATUS) PopulateFromARM ¶
func (disk *ImageOSDisk_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error
PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
type ImageOperatorSpec ¶ added in v2.11.0
type ImageOperatorSpec struct { // ConfigMapExpressions: configures where to place operator written dynamic ConfigMaps (created with CEL expressions). ConfigMapExpressions []*core.DestinationExpression `json:"configMapExpressions,omitempty"` // SecretExpressions: configures where to place operator written dynamic secrets (created with CEL expressions). SecretExpressions []*core.DestinationExpression `json:"secretExpressions,omitempty"` }
Details for configuring operator behavior. Fields in this struct are interpreted by the operator directly rather than being passed to Azure
func (*ImageOperatorSpec) AssignProperties_From_ImageOperatorSpec ¶ added in v2.11.0
func (operator *ImageOperatorSpec) AssignProperties_From_ImageOperatorSpec(source *storage.ImageOperatorSpec) error
AssignProperties_From_ImageOperatorSpec populates our ImageOperatorSpec from the provided source ImageOperatorSpec
func (*ImageOperatorSpec) AssignProperties_To_ImageOperatorSpec ¶ added in v2.11.0
func (operator *ImageOperatorSpec) AssignProperties_To_ImageOperatorSpec(destination *storage.ImageOperatorSpec) error
AssignProperties_To_ImageOperatorSpec populates the provided destination ImageOperatorSpec from our ImageOperatorSpec
func (*ImageOperatorSpec) DeepCopy ¶ added in v2.11.0
func (in *ImageOperatorSpec) DeepCopy() *ImageOperatorSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageOperatorSpec.
func (*ImageOperatorSpec) DeepCopyInto ¶ added in v2.11.0
func (in *ImageOperatorSpec) DeepCopyInto(out *ImageOperatorSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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.
func (*ImageStorageProfile) AssignProperties_From_ImageStorageProfile ¶
func (profile *ImageStorageProfile) AssignProperties_From_ImageStorageProfile(source *storage.ImageStorageProfile) error
AssignProperties_From_ImageStorageProfile populates our ImageStorageProfile from the provided source ImageStorageProfile
func (*ImageStorageProfile) AssignProperties_To_ImageStorageProfile ¶
func (profile *ImageStorageProfile) AssignProperties_To_ImageStorageProfile(destination *storage.ImageStorageProfile) error
AssignProperties_To_ImageStorageProfile populates the provided destination ImageStorageProfile from our ImageStorageProfile
func (*ImageStorageProfile) ConvertToARM ¶
func (profile *ImageStorageProfile) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)
ConvertToARM converts from a Kubernetes CRD object to an ARM object
func (*ImageStorageProfile) DeepCopy ¶
func (in *ImageStorageProfile) DeepCopy() *ImageStorageProfile
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageStorageProfile.
func (*ImageStorageProfile) DeepCopyInto ¶
func (in *ImageStorageProfile) DeepCopyInto(out *ImageStorageProfile)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ImageStorageProfile) NewEmptyARMValue ¶
func (profile *ImageStorageProfile) NewEmptyARMValue() genruntime.ARMResourceStatus
NewEmptyARMValue returns an empty ARM value suitable for deserializing into
func (*ImageStorageProfile) PopulateFromARM ¶
func (profile *ImageStorageProfile) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error
PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
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.
func (*ImageStorageProfile_STATUS) AssignProperties_From_ImageStorageProfile_STATUS ¶
func (profile *ImageStorageProfile_STATUS) AssignProperties_From_ImageStorageProfile_STATUS(source *storage.ImageStorageProfile_STATUS) error
AssignProperties_From_ImageStorageProfile_STATUS populates our ImageStorageProfile_STATUS from the provided source ImageStorageProfile_STATUS
func (*ImageStorageProfile_STATUS) AssignProperties_To_ImageStorageProfile_STATUS ¶
func (profile *ImageStorageProfile_STATUS) AssignProperties_To_ImageStorageProfile_STATUS(destination *storage.ImageStorageProfile_STATUS) error
AssignProperties_To_ImageStorageProfile_STATUS populates the provided destination ImageStorageProfile_STATUS from our ImageStorageProfile_STATUS
func (*ImageStorageProfile_STATUS) DeepCopy ¶
func (in *ImageStorageProfile_STATUS) DeepCopy() *ImageStorageProfile_STATUS
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageStorageProfile_STATUS.
func (*ImageStorageProfile_STATUS) DeepCopyInto ¶
func (in *ImageStorageProfile_STATUS) DeepCopyInto(out *ImageStorageProfile_STATUS)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ImageStorageProfile_STATUS) NewEmptyARMValue ¶
func (profile *ImageStorageProfile_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus
NewEmptyARMValue returns an empty ARM value suitable for deserializing into
func (*ImageStorageProfile_STATUS) PopulateFromARM ¶
func (profile *ImageStorageProfile_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error
PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
type Image_STATUS ¶
type Image_STATUS struct { // Conditions: The observed state of the resource Conditions []conditions.Condition `json:"conditions,omitempty"` // ExtendedLocation: The extended location of the Image. ExtendedLocation *ExtendedLocation_STATUS `json:"extendedLocation,omitempty"` // 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"` // Id: Resource Id Id *string `json:"id,omitempty"` // Location: Resource location Location *string `json:"location,omitempty"` // Name: Resource name Name *string `json:"name,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"` // 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.
func (*Image_STATUS) AssignProperties_From_Image_STATUS ¶
func (image *Image_STATUS) AssignProperties_From_Image_STATUS(source *storage.Image_STATUS) error
AssignProperties_From_Image_STATUS populates our Image_STATUS from the provided source Image_STATUS
func (*Image_STATUS) AssignProperties_To_Image_STATUS ¶
func (image *Image_STATUS) AssignProperties_To_Image_STATUS(destination *storage.Image_STATUS) error
AssignProperties_To_Image_STATUS populates the provided destination Image_STATUS from our Image_STATUS
func (*Image_STATUS) ConvertStatusFrom ¶
func (image *Image_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error
ConvertStatusFrom populates our Image_STATUS from the provided source
func (*Image_STATUS) ConvertStatusTo ¶
func (image *Image_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error
ConvertStatusTo populates the provided destination from our Image_STATUS
func (*Image_STATUS) DeepCopy ¶
func (in *Image_STATUS) DeepCopy() *Image_STATUS
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image_STATUS.
func (*Image_STATUS) DeepCopyInto ¶
func (in *Image_STATUS) DeepCopyInto(out *Image_STATUS)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Image_STATUS) NewEmptyARMValue ¶
func (image *Image_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus
NewEmptyARMValue returns an empty ARM value suitable for deserializing into
func (*Image_STATUS) PopulateFromARM ¶
func (image *Image_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error
PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
type Image_Spec ¶
type Image_Spec struct { // AzureName: The name of the resource in Azure. This is often the same as the name of the resource in Kubernetes but it // doesn't have to be. AzureName string `json:"azureName,omitempty"` // ExtendedLocation: The extended location of the Image. ExtendedLocation *ExtendedLocation `json:"extendedLocation,omitempty"` // 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"` // +kubebuilder:validation:Required // Location: Resource location Location *string `json:"location,omitempty"` // OperatorSpec: The specification for configuring operator behavior. This field is interpreted by the operator and not // passed directly to Azure OperatorSpec *ImageOperatorSpec `json:"operatorSpec,omitempty"` // +kubebuilder:validation:Required // Owner: The owner of the resource. The owner controls where the resource goes when it is deployed. The owner also // controls the resources lifecycle. When the owner is deleted the resource will also be deleted. Owner is expected to be a // reference to a resources.azure.com/ResourceGroup resource Owner *genruntime.KnownResourceReference `group:"resources.azure.com" json:"owner,omitempty" kind:"ResourceGroup"` // 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"` // Tags: Resource tags Tags map[string]string `json:"tags,omitempty"` }
func (*Image_Spec) AssignProperties_From_Image_Spec ¶
func (image *Image_Spec) AssignProperties_From_Image_Spec(source *storage.Image_Spec) error
AssignProperties_From_Image_Spec populates our Image_Spec from the provided source Image_Spec
func (*Image_Spec) AssignProperties_To_Image_Spec ¶
func (image *Image_Spec) AssignProperties_To_Image_Spec(destination *storage.Image_Spec) error
AssignProperties_To_Image_Spec populates the provided destination Image_Spec from our Image_Spec
func (*Image_Spec) ConvertSpecFrom ¶
func (image *Image_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error
ConvertSpecFrom populates our Image_Spec from the provided source
func (*Image_Spec) ConvertSpecTo ¶
func (image *Image_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error
ConvertSpecTo populates the provided destination from our Image_Spec
func (*Image_Spec) ConvertToARM ¶
func (image *Image_Spec) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)
ConvertToARM converts from a Kubernetes CRD object to an ARM object
func (*Image_Spec) DeepCopy ¶
func (in *Image_Spec) DeepCopy() *Image_Spec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image_Spec.
func (*Image_Spec) DeepCopyInto ¶
func (in *Image_Spec) DeepCopyInto(out *Image_Spec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Image_Spec) NewEmptyARMValue ¶
func (image *Image_Spec) NewEmptyARMValue() genruntime.ARMResourceStatus
NewEmptyARMValue returns an empty ARM value suitable for deserializing into
func (*Image_Spec) OriginalVersion ¶
func (image *Image_Spec) OriginalVersion() string
OriginalVersion returns the original API version used to create the resource.
func (*Image_Spec) PopulateFromARM ¶
func (image *Image_Spec) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error
PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
func (*Image_Spec) SetAzureName ¶
func (image *Image_Spec) SetAzureName(azureName string)
SetAzureName sets the Azure name of the resource
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 { // Reference: Resource Id Reference *genruntime.ResourceReference `armReference:"Id" json:"reference,omitempty"` }
func (*SubResource) AssignProperties_From_SubResource ¶
func (resource *SubResource) AssignProperties_From_SubResource(source *storage.SubResource) error
AssignProperties_From_SubResource populates our SubResource from the provided source SubResource
func (*SubResource) AssignProperties_To_SubResource ¶
func (resource *SubResource) AssignProperties_To_SubResource(destination *storage.SubResource) error
AssignProperties_To_SubResource populates the provided destination SubResource from our SubResource
func (*SubResource) ConvertToARM ¶
func (resource *SubResource) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)
ConvertToARM converts from a Kubernetes CRD object to an ARM object
func (*SubResource) DeepCopy ¶
func (in *SubResource) DeepCopy() *SubResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubResource.
func (*SubResource) DeepCopyInto ¶
func (in *SubResource) DeepCopyInto(out *SubResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SubResource) NewEmptyARMValue ¶
func (resource *SubResource) NewEmptyARMValue() genruntime.ARMResourceStatus
NewEmptyARMValue returns an empty ARM value suitable for deserializing into
func (*SubResource) PopulateFromARM ¶
func (resource *SubResource) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error
PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
type SubResource_STATUS ¶
type SubResource_STATUS struct { // Id: Resource Id Id *string `json:"id,omitempty"` }
func (*SubResource_STATUS) AssignProperties_From_SubResource_STATUS ¶
func (resource *SubResource_STATUS) AssignProperties_From_SubResource_STATUS(source *storage.SubResource_STATUS) error
AssignProperties_From_SubResource_STATUS populates our SubResource_STATUS from the provided source SubResource_STATUS
func (*SubResource_STATUS) AssignProperties_To_SubResource_STATUS ¶
func (resource *SubResource_STATUS) AssignProperties_To_SubResource_STATUS(destination *storage.SubResource_STATUS) error
AssignProperties_To_SubResource_STATUS populates the provided destination SubResource_STATUS from our SubResource_STATUS
func (*SubResource_STATUS) DeepCopy ¶
func (in *SubResource_STATUS) DeepCopy() *SubResource_STATUS
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubResource_STATUS.
func (*SubResource_STATUS) DeepCopyInto ¶
func (in *SubResource_STATUS) DeepCopyInto(out *SubResource_STATUS)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SubResource_STATUS) NewEmptyARMValue ¶
func (resource *SubResource_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus
NewEmptyARMValue returns an empty ARM value suitable for deserializing into
func (*SubResource_STATUS) PopulateFromARM ¶
func (resource *SubResource_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error
PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Code generated by azure-service-operator-codegen.
|
Code generated by azure-service-operator-codegen. |
Package storage contains API Schema definitions for the compute storage API group +kubebuilder:object:generate=true All object properties are optional by default, this will be overridden when needed: +kubebuilder:validation:Optional +groupName=compute.azure.com +versionName=v1api20210701storage
|
Package storage contains API Schema definitions for the compute storage API group +kubebuilder:object:generate=true All object properties are optional by default, this will be overridden when needed: +kubebuilder:validation:Optional +groupName=compute.azure.com +versionName=v1api20210701storage |