v1api20210701

package
v2.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 24, 2024 License: MIT Imports: 12 Imported by: 0

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.

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

View Source
const (
	HyperVGenerationType_V1 = HyperVGenerationType("V1")
	HyperVGenerationType_V2 = HyperVGenerationType("V2")
)
View Source
const (
	HyperVGenerationType_STATUS_V1 = HyperVGenerationType_STATUS("V1")
	HyperVGenerationType_STATUS_V2 = HyperVGenerationType_STATUS("V2")
)
View Source
const (
	ImageDataDisk_Caching_None      = ImageDataDisk_Caching("None")
	ImageDataDisk_Caching_ReadOnly  = ImageDataDisk_Caching("ReadOnly")
	ImageDataDisk_Caching_ReadWrite = ImageDataDisk_Caching("ReadWrite")
)
View Source
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")
)
View Source
const (
	ImageOSDisk_Caching_None      = ImageOSDisk_Caching("None")
	ImageOSDisk_Caching_ReadOnly  = ImageOSDisk_Caching("ReadOnly")
	ImageOSDisk_Caching_ReadWrite = ImageOSDisk_Caching("ReadWrite")
)
View Source
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")
)
View Source
const (
	ImageOSDisk_OsState_Generalized = ImageOSDisk_OsState("Generalized")
	ImageOSDisk_OsState_Specialized = ImageOSDisk_OsState("Specialized")
)
View Source
const (
	ImageOSDisk_OsState_STATUS_Generalized = ImageOSDisk_OsState_STATUS("Generalized")
	ImageOSDisk_OsState_STATUS_Specialized = ImageOSDisk_OsState_STATUS("Specialized")
)
View Source
const (
	ImageOSDisk_OsType_Linux   = ImageOSDisk_OsType("Linux")
	ImageOSDisk_OsType_Windows = ImageOSDisk_OsType("Windows")
)
View Source
const (
	ImageOSDisk_OsType_STATUS_Linux   = ImageOSDisk_OsType_STATUS("Linux")
	ImageOSDisk_OsType_STATUS_Windows = ImageOSDisk_OsType_STATUS("Windows")
)
View Source
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")
)
View Source
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")
)
View Source
const APIVersion_Value = APIVersion("2021-07-01")
View Source
const ExtendedLocationType_EdgeZone = ExtendedLocationType("EdgeZone")
View Source
const ExtendedLocationType_STATUS_EdgeZone = ExtendedLocationType_STATUS("EdgeZone")

Variables

View Source
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 APIVersion

type APIVersion string

+kubebuilder:validation:Enum={"2021-07-01"}

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 *v20210701s.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 *v20210701s.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_ARM

type ExtendedLocation_ARM 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_ARM) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtendedLocation_ARM.

func (*ExtendedLocation_ARM) DeepCopyInto

func (in *ExtendedLocation_ARM) DeepCopyInto(out *ExtendedLocation_ARM)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

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 *v20210701s.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 *v20210701s.ExtendedLocation_STATUS) error

AssignProperties_To_ExtendedLocation_STATUS populates the provided destination ExtendedLocation_STATUS from our ExtendedLocation_STATUS

func (*ExtendedLocation_STATUS) DeepCopy

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 ExtendedLocation_STATUS_ARM

type ExtendedLocation_STATUS_ARM 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_ARM) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtendedLocation_STATUS_ARM.

func (*ExtendedLocation_STATUS_ARM) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

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

func (image *Image) AssignProperties_From_Image(source *v20210701s.Image) error

AssignProperties_From_Image populates our Image from the provided source Image

func (*Image) AssignProperties_To_Image

func (image *Image) AssignProperties_To_Image(destination *v20210701s.Image) error

AssignProperties_To_Image populates the provided destination Image from our Image

func (*Image) AzureName

func (image *Image) AzureName() string

AzureName returns the Azure name of the resource

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

func (in *Image) DeepCopy() *Image

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image.

func (*Image) DeepCopyInto

func (in *Image) DeepCopyInto(out *Image)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Image) DeepCopyObject

func (in *Image) DeepCopyObject() runtime.Object

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

func (image Image) GetAPIVersion() string

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

func (image *Image) GetType() string

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) 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

func (image *Image) ValidateCreate() (admission.Warnings, error)

ValidateCreate validates the creation of the resource

func (*Image) ValidateDelete

func (image *Image) ValidateDelete() (admission.Warnings, error)

ValidateDelete validates the deletion of the resource

func (*Image) ValidateUpdate

func (image *Image) ValidateUpdate(old runtime.Object) (admission.Warnings, error)

ValidateUpdate validates an update 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 *v20210701s.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 *v20210701s.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_ARM

type ImageDataDisk_ARM 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_ARM `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_ARM `json:"managedDisk,omitempty"`

	// Snapshot: The snapshot.
	Snapshot *SubResource_ARM `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_ARM) DeepCopy

func (in *ImageDataDisk_ARM) DeepCopy() *ImageDataDisk_ARM

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageDataDisk_ARM.

func (*ImageDataDisk_ARM) DeepCopyInto

func (in *ImageDataDisk_ARM) DeepCopyInto(out *ImageDataDisk_ARM)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

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 *v20210701s.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 *v20210701s.ImageDataDisk_STATUS) error

AssignProperties_To_ImageDataDisk_STATUS populates the provided destination ImageDataDisk_STATUS from our ImageDataDisk_STATUS

func (*ImageDataDisk_STATUS) DeepCopy

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 ImageDataDisk_STATUS_ARM

type ImageDataDisk_STATUS_ARM 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_ARM `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_ARM `json:"managedDisk,omitempty"`

	// Snapshot: The snapshot.
	Snapshot *SubResource_STATUS_ARM `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_ARM) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageDataDisk_STATUS_ARM.

func (*ImageDataDisk_STATUS_ARM) DeepCopyInto

func (in *ImageDataDisk_STATUS_ARM) DeepCopyInto(out *ImageDataDisk_STATUS_ARM)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

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

func (in *ImageList) DeepCopy() *ImageList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageList.

func (*ImageList) DeepCopyInto

func (in *ImageList) DeepCopyInto(out *ImageList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ImageList) DeepCopyObject

func (in *ImageList) DeepCopyObject() runtime.Object

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 *v20210701s.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 *v20210701s.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_ARM

type ImageOSDisk_ARM 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_ARM `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_ARM `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_ARM `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_ARM) DeepCopy

func (in *ImageOSDisk_ARM) DeepCopy() *ImageOSDisk_ARM

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageOSDisk_ARM.

func (*ImageOSDisk_ARM) DeepCopyInto

func (in *ImageOSDisk_ARM) DeepCopyInto(out *ImageOSDisk_ARM)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

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 *v20210701s.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 *v20210701s.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 ImageOSDisk_STATUS_ARM

type ImageOSDisk_STATUS_ARM 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_ARM `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_ARM `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_ARM `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_ARM) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageOSDisk_STATUS_ARM.

func (*ImageOSDisk_STATUS_ARM) DeepCopyInto

func (in *ImageOSDisk_STATUS_ARM) DeepCopyInto(out *ImageOSDisk_STATUS_ARM)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ImageProperties_ARM

type ImageProperties_ARM 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_ARM `json:"sourceVirtualMachine,omitempty"`

	// StorageProfile: Specifies the storage settings for the virtual machine disks.
	StorageProfile *ImageStorageProfile_ARM `json:"storageProfile,omitempty"`
}

Describes the properties of an Image.

func (*ImageProperties_ARM) DeepCopy

func (in *ImageProperties_ARM) DeepCopy() *ImageProperties_ARM

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageProperties_ARM.

func (*ImageProperties_ARM) DeepCopyInto

func (in *ImageProperties_ARM) DeepCopyInto(out *ImageProperties_ARM)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ImageProperties_STATUS_ARM

type ImageProperties_STATUS_ARM 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_ARM `json:"sourceVirtualMachine,omitempty"`

	// StorageProfile: Specifies the storage settings for the virtual machine disks.
	StorageProfile *ImageStorageProfile_STATUS_ARM `json:"storageProfile,omitempty"`
}

Describes the properties of an Image.

func (*ImageProperties_STATUS_ARM) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageProperties_STATUS_ARM.

func (*ImageProperties_STATUS_ARM) DeepCopyInto

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 *v20210701s.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 *v20210701s.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_ARM

type ImageStorageProfile_ARM 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_ARM `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_ARM `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_ARM) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageStorageProfile_ARM.

func (*ImageStorageProfile_ARM) DeepCopyInto

func (in *ImageStorageProfile_ARM) DeepCopyInto(out *ImageStorageProfile_ARM)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

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 *v20210701s.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 *v20210701s.ImageStorageProfile_STATUS) error

AssignProperties_To_ImageStorageProfile_STATUS populates the provided destination ImageStorageProfile_STATUS from our ImageStorageProfile_STATUS

func (*ImageStorageProfile_STATUS) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageStorageProfile_STATUS.

func (*ImageStorageProfile_STATUS) DeepCopyInto

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 ImageStorageProfile_STATUS_ARM

type ImageStorageProfile_STATUS_ARM 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_ARM `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_ARM `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_ARM) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageStorageProfile_STATUS_ARM.

func (*ImageStorageProfile_STATUS_ARM) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

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 *v20210701s.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 *v20210701s.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_STATUS_ARM

type Image_STATUS_ARM struct {
	// ExtendedLocation: The extended location of the Image.
	ExtendedLocation *ExtendedLocation_STATUS_ARM `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_ARM `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.

func (*Image_STATUS_ARM) DeepCopy

func (in *Image_STATUS_ARM) DeepCopy() *Image_STATUS_ARM

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image_STATUS_ARM.

func (*Image_STATUS_ARM) DeepCopyInto

func (in *Image_STATUS_ARM) DeepCopyInto(out *Image_STATUS_ARM)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

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"`

	// +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 *v20210701s.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 *v20210701s.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 Image_Spec_ARM

type Image_Spec_ARM struct {
	// ExtendedLocation: The extended location of the Image.
	ExtendedLocation *ExtendedLocation_ARM `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_ARM `json:"properties,omitempty"`

	// Tags: Resource tags
	Tags map[string]string `json:"tags,omitempty"`
}

func (*Image_Spec_ARM) DeepCopy

func (in *Image_Spec_ARM) DeepCopy() *Image_Spec_ARM

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image_Spec_ARM.

func (*Image_Spec_ARM) DeepCopyInto

func (in *Image_Spec_ARM) DeepCopyInto(out *Image_Spec_ARM)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (Image_Spec_ARM) GetAPIVersion

func (image Image_Spec_ARM) GetAPIVersion() string

GetAPIVersion returns the ARM API version of the resource. This is always "2021-07-01"

func (*Image_Spec_ARM) GetName

func (image *Image_Spec_ARM) GetName() string

GetName returns the Name of the resource

func (*Image_Spec_ARM) GetType

func (image *Image_Spec_ARM) 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 {
	// Reference: Resource Id
	Reference *genruntime.ResourceReference `armReference:"Id" json:"reference,omitempty"`
}

func (*SubResource) AssignProperties_From_SubResource

func (resource *SubResource) AssignProperties_From_SubResource(source *v20210701s.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 *v20210701s.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_ARM

type SubResource_ARM struct {
	Id *string `json:"id,omitempty"`
}

func (*SubResource_ARM) DeepCopy

func (in *SubResource_ARM) DeepCopy() *SubResource_ARM

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubResource_ARM.

func (*SubResource_ARM) DeepCopyInto

func (in *SubResource_ARM) DeepCopyInto(out *SubResource_ARM)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

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 *v20210701s.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 *v20210701s.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

type SubResource_STATUS_ARM

type SubResource_STATUS_ARM struct {
	// Id: Resource Id
	Id *string `json:"id,omitempty"`
}

func (*SubResource_STATUS_ARM) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubResource_STATUS_ARM.

func (*SubResource_STATUS_ARM) DeepCopyInto

func (in *SubResource_STATUS_ARM) DeepCopyInto(out *SubResource_STATUS_ARM)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Directories

Path Synopsis
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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL