v1api20200930

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

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.

Package v1api20200930 contains API Schema definitions for the compute v1api20200930 API group +groupName=compute.azure.com

Package v1api20200930 contains API Schema definitions for the compute v1api20200930 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=v1api20200930

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 (
	DiskSku_Name_Premium_LRS     = DiskSku_Name("Premium_LRS")
	DiskSku_Name_StandardSSD_LRS = DiskSku_Name("StandardSSD_LRS")
	DiskSku_Name_Standard_LRS    = DiskSku_Name("Standard_LRS")
	DiskSku_Name_UltraSSD_LRS    = DiskSku_Name("UltraSSD_LRS")
)
View Source
const (
	DiskSku_Name_STATUS_Premium_LRS     = DiskSku_Name_STATUS("Premium_LRS")
	DiskSku_Name_STATUS_StandardSSD_LRS = DiskSku_Name_STATUS("StandardSSD_LRS")
	DiskSku_Name_STATUS_Standard_LRS    = DiskSku_Name_STATUS("Standard_LRS")
	DiskSku_Name_STATUS_UltraSSD_LRS    = DiskSku_Name_STATUS("UltraSSD_LRS")
)
View Source
const (
	DiskProperties_HyperVGeneration_V1 = DiskProperties_HyperVGeneration("V1")
	DiskProperties_HyperVGeneration_V2 = DiskProperties_HyperVGeneration("V2")
)
View Source
const (
	DiskProperties_HyperVGeneration_STATUS_V1 = DiskProperties_HyperVGeneration_STATUS("V1")
	DiskProperties_HyperVGeneration_STATUS_V2 = DiskProperties_HyperVGeneration_STATUS("V2")
)
View Source
const (
	DiskProperties_OsType_Linux   = DiskProperties_OsType("Linux")
	DiskProperties_OsType_Windows = DiskProperties_OsType("Windows")
)
View Source
const (
	DiskProperties_OsType_STATUS_Linux   = DiskProperties_OsType_STATUS("Linux")
	DiskProperties_OsType_STATUS_Windows = DiskProperties_OsType_STATUS("Windows")
)
View Source
const (
	DiskState_STATUS_ActiveSAS     = DiskState_STATUS("ActiveSAS")
	DiskState_STATUS_ActiveUpload  = DiskState_STATUS("ActiveUpload")
	DiskState_STATUS_Attached      = DiskState_STATUS("Attached")
	DiskState_STATUS_ReadyToUpload = DiskState_STATUS("ReadyToUpload")
	DiskState_STATUS_Reserved      = DiskState_STATUS("Reserved")
	DiskState_STATUS_Unattached    = DiskState_STATUS("Unattached")
)
View Source
const (
	NetworkAccessPolicy_AllowAll     = NetworkAccessPolicy("AllowAll")
	NetworkAccessPolicy_AllowPrivate = NetworkAccessPolicy("AllowPrivate")
	NetworkAccessPolicy_DenyAll      = NetworkAccessPolicy("DenyAll")
)
View Source
const (
	NetworkAccessPolicy_STATUS_AllowAll     = NetworkAccessPolicy_STATUS("AllowAll")
	NetworkAccessPolicy_STATUS_AllowPrivate = NetworkAccessPolicy_STATUS("AllowPrivate")
	NetworkAccessPolicy_STATUS_DenyAll      = NetworkAccessPolicy_STATUS("DenyAll")
)
View Source
const (
	CreationData_CreateOption_Attach    = CreationData_CreateOption("Attach")
	CreationData_CreateOption_Copy      = CreationData_CreateOption("Copy")
	CreationData_CreateOption_Empty     = CreationData_CreateOption("Empty")
	CreationData_CreateOption_FromImage = CreationData_CreateOption("FromImage")
	CreationData_CreateOption_Import    = CreationData_CreateOption("Import")
	CreationData_CreateOption_Restore   = CreationData_CreateOption("Restore")
	CreationData_CreateOption_Upload    = CreationData_CreateOption("Upload")
)
View Source
const (
	CreationData_CreateOption_STATUS_Attach    = CreationData_CreateOption_STATUS("Attach")
	CreationData_CreateOption_STATUS_Copy      = CreationData_CreateOption_STATUS("Copy")
	CreationData_CreateOption_STATUS_Empty     = CreationData_CreateOption_STATUS("Empty")
	CreationData_CreateOption_STATUS_FromImage = CreationData_CreateOption_STATUS("FromImage")
	CreationData_CreateOption_STATUS_Import    = CreationData_CreateOption_STATUS("Import")
	CreationData_CreateOption_STATUS_Restore   = CreationData_CreateOption_STATUS("Restore")
	CreationData_CreateOption_STATUS_Upload    = CreationData_CreateOption_STATUS("Upload")
)
View Source
const (
	EncryptionType_EncryptionAtRestWithCustomerKey             = EncryptionType("EncryptionAtRestWithCustomerKey")
	EncryptionType_EncryptionAtRestWithPlatformAndCustomerKeys = EncryptionType("EncryptionAtRestWithPlatformAndCustomerKeys")
	EncryptionType_EncryptionAtRestWithPlatformKey             = EncryptionType("EncryptionAtRestWithPlatformKey")
)
View Source
const (
	EncryptionType_STATUS_EncryptionAtRestWithCustomerKey             = EncryptionType_STATUS("EncryptionAtRestWithCustomerKey")
	EncryptionType_STATUS_EncryptionAtRestWithPlatformAndCustomerKeys = EncryptionType_STATUS("EncryptionAtRestWithPlatformAndCustomerKeys")
	EncryptionType_STATUS_EncryptionAtRestWithPlatformKey             = EncryptionType_STATUS("EncryptionAtRestWithPlatformKey")
)
View Source
const (
	SnapshotSku_Name_Premium_LRS  = SnapshotSku_Name("Premium_LRS")
	SnapshotSku_Name_Standard_LRS = SnapshotSku_Name("Standard_LRS")
	SnapshotSku_Name_Standard_ZRS = SnapshotSku_Name("Standard_ZRS")
)
View Source
const (
	SnapshotSku_Name_STATUS_Premium_LRS  = SnapshotSku_Name_STATUS("Premium_LRS")
	SnapshotSku_Name_STATUS_Standard_LRS = SnapshotSku_Name_STATUS("Standard_LRS")
	SnapshotSku_Name_STATUS_Standard_ZRS = SnapshotSku_Name_STATUS("Standard_ZRS")
)
View Source
const (
	DiskState_ActiveSAS     = DiskState("ActiveSAS")
	DiskState_ActiveUpload  = DiskState("ActiveUpload")
	DiskState_Attached      = DiskState("Attached")
	DiskState_ReadyToUpload = DiskState("ReadyToUpload")
	DiskState_Reserved      = DiskState("Reserved")
	DiskState_Unattached    = DiskState("Unattached")
)
View Source
const (
	SnapshotProperties_HyperVGeneration_V1 = SnapshotProperties_HyperVGeneration("V1")
	SnapshotProperties_HyperVGeneration_V2 = SnapshotProperties_HyperVGeneration("V2")
)
View Source
const (
	SnapshotProperties_HyperVGeneration_STATUS_V1 = SnapshotProperties_HyperVGeneration_STATUS("V1")
	SnapshotProperties_HyperVGeneration_STATUS_V2 = SnapshotProperties_HyperVGeneration_STATUS("V2")
)
View Source
const (
	SnapshotProperties_OsType_Linux   = SnapshotProperties_OsType("Linux")
	SnapshotProperties_OsType_Windows = SnapshotProperties_OsType("Windows")
)
View Source
const (
	SnapshotProperties_OsType_STATUS_Linux   = SnapshotProperties_OsType_STATUS("Linux")
	SnapshotProperties_OsType_STATUS_Windows = SnapshotProperties_OsType_STATUS("Windows")
)
View Source
const APIVersion_Value = APIVersion("2020-09-30")
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: "v1api20200930"}

	// 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={"2020-09-30"}

type CreationData

type CreationData struct {
	// +kubebuilder:validation:Required
	// CreateOption: This enumerates the possible sources of a disk's creation.
	CreateOption *CreationData_CreateOption `json:"createOption,omitempty"`

	// GalleryImageReference: Required if creating from a Gallery Image. The id of the ImageDiskReference will be the ARM id of
	// the shared galley image version from which to create a disk.
	GalleryImageReference *ImageDiskReference `json:"galleryImageReference,omitempty"`

	// ImageReference: Disk source information.
	ImageReference *ImageDiskReference `json:"imageReference,omitempty"`

	// LogicalSectorSize: Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default.
	LogicalSectorSize *int `json:"logicalSectorSize,omitempty"`

	// SourceResourceReference: If createOption is Copy, this is the ARM id of the source snapshot or disk.
	SourceResourceReference *genruntime.ResourceReference `armReference:"SourceResourceId" json:"sourceResourceReference,omitempty"`

	// SourceUri: If createOption is Import, this is the URI of a blob to be imported into a managed disk.
	SourceUri *string `json:"sourceUri,omitempty"`

	// StorageAccountId: Required if createOption is Import. The Azure Resource Manager identifier of the storage account
	// containing the blob to import as a disk.
	StorageAccountId *string `json:"storageAccountId,omitempty"`

	// UploadSizeBytes: If createOption is Upload, this is the size of the contents of the upload including the VHD footer.
	// This value should be between 20972032 (20 MiB + 512 bytes for the VHD footer) and 35183298347520 bytes (32 TiB + 512
	// bytes for the VHD footer).
	UploadSizeBytes *int `json:"uploadSizeBytes,omitempty"`
}

Data used when creating a disk.

func (*CreationData) AssignProperties_From_CreationData

func (data *CreationData) AssignProperties_From_CreationData(source *v20200930s.CreationData) error

AssignProperties_From_CreationData populates our CreationData from the provided source CreationData

func (*CreationData) AssignProperties_To_CreationData

func (data *CreationData) AssignProperties_To_CreationData(destination *v20200930s.CreationData) error

AssignProperties_To_CreationData populates the provided destination CreationData from our CreationData

func (*CreationData) ConvertToARM

func (data *CreationData) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*CreationData) DeepCopy

func (in *CreationData) DeepCopy() *CreationData

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

func (*CreationData) DeepCopyInto

func (in *CreationData) DeepCopyInto(out *CreationData)

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

func (*CreationData) Initialize_From_CreationData_STATUS

func (data *CreationData) Initialize_From_CreationData_STATUS(source *CreationData_STATUS) error

Initialize_From_CreationData_STATUS populates our CreationData from the provided source CreationData_STATUS

func (*CreationData) NewEmptyARMValue

func (data *CreationData) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*CreationData) PopulateFromARM

func (data *CreationData) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type CreationData_ARM

type CreationData_ARM struct {
	// CreateOption: This enumerates the possible sources of a disk's creation.
	CreateOption *CreationData_CreateOption `json:"createOption,omitempty"`

	// GalleryImageReference: Required if creating from a Gallery Image. The id of the ImageDiskReference will be the ARM id of
	// the shared galley image version from which to create a disk.
	GalleryImageReference *ImageDiskReference_ARM `json:"galleryImageReference,omitempty"`

	// ImageReference: Disk source information.
	ImageReference *ImageDiskReference_ARM `json:"imageReference,omitempty"`

	// LogicalSectorSize: Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default.
	LogicalSectorSize *int    `json:"logicalSectorSize,omitempty"`
	SourceResourceId  *string `json:"sourceResourceId,omitempty"`

	// SourceUri: If createOption is Import, this is the URI of a blob to be imported into a managed disk.
	SourceUri *string `json:"sourceUri,omitempty"`

	// StorageAccountId: Required if createOption is Import. The Azure Resource Manager identifier of the storage account
	// containing the blob to import as a disk.
	StorageAccountId *string `json:"storageAccountId,omitempty"`

	// UploadSizeBytes: If createOption is Upload, this is the size of the contents of the upload including the VHD footer.
	// This value should be between 20972032 (20 MiB + 512 bytes for the VHD footer) and 35183298347520 bytes (32 TiB + 512
	// bytes for the VHD footer).
	UploadSizeBytes *int `json:"uploadSizeBytes,omitempty"`
}

Data used when creating a disk.

func (*CreationData_ARM) DeepCopy

func (in *CreationData_ARM) DeepCopy() *CreationData_ARM

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

func (*CreationData_ARM) DeepCopyInto

func (in *CreationData_ARM) DeepCopyInto(out *CreationData_ARM)

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

type CreationData_CreateOption

type CreationData_CreateOption string

+kubebuilder:validation:Enum={"Attach","Copy","Empty","FromImage","Import","Restore","Upload"}

type CreationData_CreateOption_STATUS

type CreationData_CreateOption_STATUS string

type CreationData_STATUS

type CreationData_STATUS struct {
	// CreateOption: This enumerates the possible sources of a disk's creation.
	CreateOption *CreationData_CreateOption_STATUS `json:"createOption,omitempty"`

	// GalleryImageReference: Required if creating from a Gallery Image. The id of the ImageDiskReference will be the ARM id of
	// the shared galley image version from which to create a disk.
	GalleryImageReference *ImageDiskReference_STATUS `json:"galleryImageReference,omitempty"`

	// ImageReference: Disk source information.
	ImageReference *ImageDiskReference_STATUS `json:"imageReference,omitempty"`

	// LogicalSectorSize: Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default.
	LogicalSectorSize *int `json:"logicalSectorSize,omitempty"`

	// SourceResourceId: If createOption is Copy, this is the ARM id of the source snapshot or disk.
	SourceResourceId *string `json:"sourceResourceId,omitempty"`

	// SourceUniqueId: If this field is set, this is the unique id identifying the source of this resource.
	SourceUniqueId *string `json:"sourceUniqueId,omitempty"`

	// SourceUri: If createOption is Import, this is the URI of a blob to be imported into a managed disk.
	SourceUri *string `json:"sourceUri,omitempty"`

	// StorageAccountId: Required if createOption is Import. The Azure Resource Manager identifier of the storage account
	// containing the blob to import as a disk.
	StorageAccountId *string `json:"storageAccountId,omitempty"`

	// UploadSizeBytes: If createOption is Upload, this is the size of the contents of the upload including the VHD footer.
	// This value should be between 20972032 (20 MiB + 512 bytes for the VHD footer) and 35183298347520 bytes (32 TiB + 512
	// bytes for the VHD footer).
	UploadSizeBytes *int `json:"uploadSizeBytes,omitempty"`
}

Data used when creating a disk.

func (*CreationData_STATUS) AssignProperties_From_CreationData_STATUS

func (data *CreationData_STATUS) AssignProperties_From_CreationData_STATUS(source *v20200930s.CreationData_STATUS) error

AssignProperties_From_CreationData_STATUS populates our CreationData_STATUS from the provided source CreationData_STATUS

func (*CreationData_STATUS) AssignProperties_To_CreationData_STATUS

func (data *CreationData_STATUS) AssignProperties_To_CreationData_STATUS(destination *v20200930s.CreationData_STATUS) error

AssignProperties_To_CreationData_STATUS populates the provided destination CreationData_STATUS from our CreationData_STATUS

func (*CreationData_STATUS) DeepCopy

func (in *CreationData_STATUS) DeepCopy() *CreationData_STATUS

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

func (*CreationData_STATUS) DeepCopyInto

func (in *CreationData_STATUS) DeepCopyInto(out *CreationData_STATUS)

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

func (*CreationData_STATUS) NewEmptyARMValue

func (data *CreationData_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*CreationData_STATUS) PopulateFromARM

func (data *CreationData_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type CreationData_STATUS_ARM

type CreationData_STATUS_ARM struct {
	// CreateOption: This enumerates the possible sources of a disk's creation.
	CreateOption *CreationData_CreateOption_STATUS `json:"createOption,omitempty"`

	// GalleryImageReference: Required if creating from a Gallery Image. The id of the ImageDiskReference will be the ARM id of
	// the shared galley image version from which to create a disk.
	GalleryImageReference *ImageDiskReference_STATUS_ARM `json:"galleryImageReference,omitempty"`

	// ImageReference: Disk source information.
	ImageReference *ImageDiskReference_STATUS_ARM `json:"imageReference,omitempty"`

	// LogicalSectorSize: Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default.
	LogicalSectorSize *int `json:"logicalSectorSize,omitempty"`

	// SourceResourceId: If createOption is Copy, this is the ARM id of the source snapshot or disk.
	SourceResourceId *string `json:"sourceResourceId,omitempty"`

	// SourceUniqueId: If this field is set, this is the unique id identifying the source of this resource.
	SourceUniqueId *string `json:"sourceUniqueId,omitempty"`

	// SourceUri: If createOption is Import, this is the URI of a blob to be imported into a managed disk.
	SourceUri *string `json:"sourceUri,omitempty"`

	// StorageAccountId: Required if createOption is Import. The Azure Resource Manager identifier of the storage account
	// containing the blob to import as a disk.
	StorageAccountId *string `json:"storageAccountId,omitempty"`

	// UploadSizeBytes: If createOption is Upload, this is the size of the contents of the upload including the VHD footer.
	// This value should be between 20972032 (20 MiB + 512 bytes for the VHD footer) and 35183298347520 bytes (32 TiB + 512
	// bytes for the VHD footer).
	UploadSizeBytes *int `json:"uploadSizeBytes,omitempty"`
}

Data used when creating a disk.

func (*CreationData_STATUS_ARM) DeepCopy

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

func (*CreationData_STATUS_ARM) DeepCopyInto

func (in *CreationData_STATUS_ARM) DeepCopyInto(out *CreationData_STATUS_ARM)

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

type Disk

type Disk struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              Disk_Spec   `json:"spec,omitempty"`
	Status            Disk_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/DiskRP/stable/2020-09-30/disk.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}

func (*Disk) AssignProperties_From_Disk

func (disk *Disk) AssignProperties_From_Disk(source *v20200930s.Disk) error

AssignProperties_From_Disk populates our Disk from the provided source Disk

func (*Disk) AssignProperties_To_Disk

func (disk *Disk) AssignProperties_To_Disk(destination *v20200930s.Disk) error

AssignProperties_To_Disk populates the provided destination Disk from our Disk

func (*Disk) AzureName

func (disk *Disk) AzureName() string

AzureName returns the Azure name of the resource

func (*Disk) ConvertFrom

func (disk *Disk) ConvertFrom(hub conversion.Hub) error

ConvertFrom populates our Disk from the provided hub Disk

func (*Disk) ConvertTo

func (disk *Disk) ConvertTo(hub conversion.Hub) error

ConvertTo populates the provided hub Disk from our Disk

func (*Disk) DeepCopy

func (in *Disk) DeepCopy() *Disk

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

func (*Disk) DeepCopyInto

func (in *Disk) DeepCopyInto(out *Disk)

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

func (*Disk) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Disk) Default

func (disk *Disk) Default()

Default applies defaults to the Disk resource

func (Disk) GetAPIVersion

func (disk Disk) GetAPIVersion() string

GetAPIVersion returns the ARM API version of the resource. This is always "2020-09-30"

func (*Disk) GetConditions

func (disk *Disk) GetConditions() conditions.Conditions

GetConditions returns the conditions of the resource

func (*Disk) GetResourceScope

func (disk *Disk) GetResourceScope() genruntime.ResourceScope

GetResourceScope returns the scope of the resource

func (*Disk) GetSpec

func (disk *Disk) GetSpec() genruntime.ConvertibleSpec

GetSpec returns the specification of this resource

func (*Disk) GetStatus

func (disk *Disk) GetStatus() genruntime.ConvertibleStatus

GetStatus returns the status of this resource

func (*Disk) GetSupportedOperations added in v2.4.0

func (disk *Disk) GetSupportedOperations() []genruntime.ResourceOperation

GetSupportedOperations returns the operations supported by the resource

func (*Disk) GetType

func (disk *Disk) GetType() string

GetType returns the ARM Type of the resource. This is always "Microsoft.Compute/disks"

func (*Disk) InitializeSpec

func (disk *Disk) InitializeSpec(status genruntime.ConvertibleStatus) error

InitializeSpec initializes the spec for this resource from the given status

func (*Disk) NewEmptyStatus

func (disk *Disk) NewEmptyStatus() genruntime.ConvertibleStatus

NewEmptyStatus returns a new empty (blank) status

func (*Disk) OriginalGVK

func (disk *Disk) OriginalGVK() *schema.GroupVersionKind

OriginalGVK returns a GroupValueKind for the original API version used to create the resource

func (*Disk) Owner

func (disk *Disk) Owner() *genruntime.ResourceReference

Owner returns the ResourceReference of the owner

func (*Disk) SetConditions

func (disk *Disk) SetConditions(conditions conditions.Conditions)

SetConditions sets the conditions on the resource status

func (*Disk) SetStatus

func (disk *Disk) SetStatus(status genruntime.ConvertibleStatus) error

SetStatus sets the status of this resource

func (*Disk) ValidateCreate

func (disk *Disk) ValidateCreate() (admission.Warnings, error)

ValidateCreate validates the creation of the resource

func (*Disk) ValidateDelete

func (disk *Disk) ValidateDelete() (admission.Warnings, error)

ValidateDelete validates the deletion of the resource

func (*Disk) ValidateUpdate

func (disk *Disk) ValidateUpdate(old runtime.Object) (admission.Warnings, error)

ValidateUpdate validates an update of the resource

type DiskList

type DiskList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Disk `json:"items"`
}

+kubebuilder:object:root=true Generator information: - Generated from: /compute/resource-manager/Microsoft.Compute/DiskRP/stable/2020-09-30/disk.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}

func (*DiskList) DeepCopy

func (in *DiskList) DeepCopy() *DiskList

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

func (*DiskList) DeepCopyInto

func (in *DiskList) DeepCopyInto(out *DiskList)

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

func (*DiskList) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type DiskProperties_ARM

type DiskProperties_ARM struct {
	// BurstingEnabled: Set to true to enable bursting beyond the provisioned performance target of the disk. Bursting is
	// disabled by default. Does not apply to Ultra disks.
	BurstingEnabled *bool `json:"burstingEnabled,omitempty"`

	// CreationData: Disk source information. CreationData information cannot be changed after the disk has been created.
	CreationData *CreationData_ARM `json:"creationData,omitempty"`
	DiskAccessId *string           `json:"diskAccessId,omitempty"`

	// DiskIOPSReadOnly: The total number of IOPS that will be allowed across all VMs mounting the shared disk as ReadOnly. One
	// operation can transfer between 4k and 256k bytes.
	DiskIOPSReadOnly *int `json:"diskIOPSReadOnly,omitempty"`

	// DiskIOPSReadWrite: The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can
	// transfer between 4k and 256k bytes.
	DiskIOPSReadWrite *int `json:"diskIOPSReadWrite,omitempty"`

	// DiskMBpsReadOnly: The total throughput (MBps) that will be allowed across all VMs mounting the shared disk as ReadOnly.
	// MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10.
	DiskMBpsReadOnly *int `json:"diskMBpsReadOnly,omitempty"`

	// DiskMBpsReadWrite: The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes
	// per second - MB here uses the ISO notation, of powers of 10.
	DiskMBpsReadWrite *int `json:"diskMBpsReadWrite,omitempty"`

	// DiskSizeGB: If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to
	// create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only
	// allowed if the disk is not attached to a running VM, and can only increase the disk's size.
	DiskSizeGB *int `json:"diskSizeGB,omitempty"`

	// Encryption: Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys.
	Encryption *Encryption_ARM `json:"encryption,omitempty"`

	// EncryptionSettingsCollection: Encryption settings collection used for Azure Disk Encryption, can contain multiple
	// encryption settings per disk or snapshot.
	EncryptionSettingsCollection *EncryptionSettingsCollection_ARM `json:"encryptionSettingsCollection,omitempty"`

	// HyperVGeneration: The hypervisor generation of the Virtual Machine. Applicable to OS disks only.
	HyperVGeneration *DiskProperties_HyperVGeneration `json:"hyperVGeneration,omitempty"`

	// MaxShares: The maximum number of VMs that can attach to the disk at the same time. Value greater than one indicates a
	// disk that can be mounted on multiple VMs at the same time.
	MaxShares *int `json:"maxShares,omitempty"`

	// NetworkAccessPolicy: Policy for accessing the disk via network.
	NetworkAccessPolicy *NetworkAccessPolicy `json:"networkAccessPolicy,omitempty"`

	// OsType: The Operating System type.
	OsType *DiskProperties_OsType `json:"osType,omitempty"`

	// PurchasePlan: Purchase plan information for the the image from which the OS disk was created. E.g. - {name:
	// 2019-Datacenter, publisher: MicrosoftWindowsServer, product: WindowsServer}
	PurchasePlan *PurchasePlan_ARM `json:"purchasePlan,omitempty"`

	// Tier: Performance tier of the disk (e.g, P4, S10) as described here:
	// https://azure.microsoft.com/en-us/pricing/details/managed-disks/. Does not apply to Ultra disks.
	Tier *string `json:"tier,omitempty"`
}

Disk resource properties.

func (*DiskProperties_ARM) DeepCopy

func (in *DiskProperties_ARM) DeepCopy() *DiskProperties_ARM

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

func (*DiskProperties_ARM) DeepCopyInto

func (in *DiskProperties_ARM) DeepCopyInto(out *DiskProperties_ARM)

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

type DiskProperties_HyperVGeneration

type DiskProperties_HyperVGeneration string

+kubebuilder:validation:Enum={"V1","V2"}

type DiskProperties_HyperVGeneration_STATUS

type DiskProperties_HyperVGeneration_STATUS string

type DiskProperties_OsType

type DiskProperties_OsType string

+kubebuilder:validation:Enum={"Linux","Windows"}

type DiskProperties_OsType_STATUS

type DiskProperties_OsType_STATUS string

type DiskProperties_STATUS_ARM

type DiskProperties_STATUS_ARM struct {
	// BurstingEnabled: Set to true to enable bursting beyond the provisioned performance target of the disk. Bursting is
	// disabled by default. Does not apply to Ultra disks.
	BurstingEnabled *bool `json:"burstingEnabled,omitempty"`

	// CreationData: Disk source information. CreationData information cannot be changed after the disk has been created.
	CreationData *CreationData_STATUS_ARM `json:"creationData,omitempty"`

	// DiskAccessId: ARM id of the DiskAccess resource for using private endpoints on disks.
	DiskAccessId *string `json:"diskAccessId,omitempty"`

	// DiskIOPSReadOnly: The total number of IOPS that will be allowed across all VMs mounting the shared disk as ReadOnly. One
	// operation can transfer between 4k and 256k bytes.
	DiskIOPSReadOnly *int `json:"diskIOPSReadOnly,omitempty"`

	// DiskIOPSReadWrite: The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can
	// transfer between 4k and 256k bytes.
	DiskIOPSReadWrite *int `json:"diskIOPSReadWrite,omitempty"`

	// DiskMBpsReadOnly: The total throughput (MBps) that will be allowed across all VMs mounting the shared disk as ReadOnly.
	// MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10.
	DiskMBpsReadOnly *int `json:"diskMBpsReadOnly,omitempty"`

	// DiskMBpsReadWrite: The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes
	// per second - MB here uses the ISO notation, of powers of 10.
	DiskMBpsReadWrite *int `json:"diskMBpsReadWrite,omitempty"`

	// DiskSizeBytes: The size of the disk in bytes. This field is read only.
	DiskSizeBytes *int `json:"diskSizeBytes,omitempty"`

	// DiskSizeGB: If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to
	// create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only
	// allowed if the disk is not attached to a running VM, and can only increase the disk's size.
	DiskSizeGB *int `json:"diskSizeGB,omitempty"`

	// DiskState: The state of the disk.
	DiskState *DiskState_STATUS `json:"diskState,omitempty"`

	// Encryption: Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys.
	Encryption *Encryption_STATUS_ARM `json:"encryption,omitempty"`

	// EncryptionSettingsCollection: Encryption settings collection used for Azure Disk Encryption, can contain multiple
	// encryption settings per disk or snapshot.
	EncryptionSettingsCollection *EncryptionSettingsCollection_STATUS_ARM `json:"encryptionSettingsCollection,omitempty"`

	// HyperVGeneration: The hypervisor generation of the Virtual Machine. Applicable to OS disks only.
	HyperVGeneration *DiskProperties_HyperVGeneration_STATUS `json:"hyperVGeneration,omitempty"`

	// MaxShares: The maximum number of VMs that can attach to the disk at the same time. Value greater than one indicates a
	// disk that can be mounted on multiple VMs at the same time.
	MaxShares *int `json:"maxShares,omitempty"`

	// NetworkAccessPolicy: Policy for accessing the disk via network.
	NetworkAccessPolicy *NetworkAccessPolicy_STATUS `json:"networkAccessPolicy,omitempty"`

	// OsType: The Operating System type.
	OsType *DiskProperties_OsType_STATUS `json:"osType,omitempty"`

	// ProvisioningState: The disk provisioning state.
	ProvisioningState *string `json:"provisioningState,omitempty"`

	// PurchasePlan: Purchase plan information for the the image from which the OS disk was created. E.g. - {name:
	// 2019-Datacenter, publisher: MicrosoftWindowsServer, product: WindowsServer}
	PurchasePlan *PurchasePlan_STATUS_ARM `json:"purchasePlan,omitempty"`

	// ShareInfo: Details of the list of all VMs that have the disk attached. maxShares should be set to a value greater than
	// one for disks to allow attaching them to multiple VMs.
	ShareInfo []ShareInfoElement_STATUS_ARM `json:"shareInfo,omitempty"`

	// Tier: Performance tier of the disk (e.g, P4, S10) as described here:
	// https://azure.microsoft.com/en-us/pricing/details/managed-disks/. Does not apply to Ultra disks.
	Tier *string `json:"tier,omitempty"`

	// TimeCreated: The time when the disk was created.
	TimeCreated *string `json:"timeCreated,omitempty"`

	// UniqueId: Unique Guid identifying the resource.
	UniqueId *string `json:"uniqueId,omitempty"`
}

Disk resource properties.

func (*DiskProperties_STATUS_ARM) DeepCopy

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

func (*DiskProperties_STATUS_ARM) DeepCopyInto

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

type DiskSku

type DiskSku struct {
	// Name: The sku name.
	Name *DiskSku_Name `json:"name,omitempty"`
}

The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, or UltraSSD_LRS.

func (*DiskSku) AssignProperties_From_DiskSku

func (diskSku *DiskSku) AssignProperties_From_DiskSku(source *v20200930s.DiskSku) error

AssignProperties_From_DiskSku populates our DiskSku from the provided source DiskSku

func (*DiskSku) AssignProperties_To_DiskSku

func (diskSku *DiskSku) AssignProperties_To_DiskSku(destination *v20200930s.DiskSku) error

AssignProperties_To_DiskSku populates the provided destination DiskSku from our DiskSku

func (*DiskSku) ConvertToARM

func (diskSku *DiskSku) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*DiskSku) DeepCopy

func (in *DiskSku) DeepCopy() *DiskSku

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

func (*DiskSku) DeepCopyInto

func (in *DiskSku) DeepCopyInto(out *DiskSku)

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

func (*DiskSku) Initialize_From_DiskSku_STATUS

func (diskSku *DiskSku) Initialize_From_DiskSku_STATUS(source *DiskSku_STATUS) error

Initialize_From_DiskSku_STATUS populates our DiskSku from the provided source DiskSku_STATUS

func (*DiskSku) NewEmptyARMValue

func (diskSku *DiskSku) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*DiskSku) PopulateFromARM

func (diskSku *DiskSku) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type DiskSku_ARM

type DiskSku_ARM struct {
	// Name: The sku name.
	Name *DiskSku_Name `json:"name,omitempty"`
}

The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, or UltraSSD_LRS.

func (*DiskSku_ARM) DeepCopy

func (in *DiskSku_ARM) DeepCopy() *DiskSku_ARM

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

func (*DiskSku_ARM) DeepCopyInto

func (in *DiskSku_ARM) DeepCopyInto(out *DiskSku_ARM)

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

type DiskSku_Name

type DiskSku_Name string

+kubebuilder:validation:Enum={"Premium_LRS","StandardSSD_LRS","Standard_LRS","UltraSSD_LRS"}

type DiskSku_Name_STATUS

type DiskSku_Name_STATUS string

type DiskSku_STATUS

type DiskSku_STATUS struct {
	// Name: The sku name.
	Name *DiskSku_Name_STATUS `json:"name,omitempty"`

	// Tier: The sku tier.
	Tier *string `json:"tier,omitempty"`
}

The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, or UltraSSD_LRS.

func (*DiskSku_STATUS) AssignProperties_From_DiskSku_STATUS

func (diskSku *DiskSku_STATUS) AssignProperties_From_DiskSku_STATUS(source *v20200930s.DiskSku_STATUS) error

AssignProperties_From_DiskSku_STATUS populates our DiskSku_STATUS from the provided source DiskSku_STATUS

func (*DiskSku_STATUS) AssignProperties_To_DiskSku_STATUS

func (diskSku *DiskSku_STATUS) AssignProperties_To_DiskSku_STATUS(destination *v20200930s.DiskSku_STATUS) error

AssignProperties_To_DiskSku_STATUS populates the provided destination DiskSku_STATUS from our DiskSku_STATUS

func (*DiskSku_STATUS) DeepCopy

func (in *DiskSku_STATUS) DeepCopy() *DiskSku_STATUS

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

func (*DiskSku_STATUS) DeepCopyInto

func (in *DiskSku_STATUS) DeepCopyInto(out *DiskSku_STATUS)

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

func (*DiskSku_STATUS) NewEmptyARMValue

func (diskSku *DiskSku_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*DiskSku_STATUS) PopulateFromARM

func (diskSku *DiskSku_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type DiskSku_STATUS_ARM

type DiskSku_STATUS_ARM struct {
	// Name: The sku name.
	Name *DiskSku_Name_STATUS `json:"name,omitempty"`

	// Tier: The sku tier.
	Tier *string `json:"tier,omitempty"`
}

The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, or UltraSSD_LRS.

func (*DiskSku_STATUS_ARM) DeepCopy

func (in *DiskSku_STATUS_ARM) DeepCopy() *DiskSku_STATUS_ARM

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

func (*DiskSku_STATUS_ARM) DeepCopyInto

func (in *DiskSku_STATUS_ARM) DeepCopyInto(out *DiskSku_STATUS_ARM)

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

type DiskState

type DiskState string

This enumerates the possible state of the disk. +kubebuilder:validation:Enum={"ActiveSAS","ActiveUpload","Attached","ReadyToUpload","Reserved","Unattached"}

type DiskState_STATUS

type DiskState_STATUS string

This enumerates the possible state of the disk.

type Disk_STATUS

type Disk_STATUS struct {
	// BurstingEnabled: Set to true to enable bursting beyond the provisioned performance target of the disk. Bursting is
	// disabled by default. Does not apply to Ultra disks.
	BurstingEnabled *bool `json:"burstingEnabled,omitempty"`

	// Conditions: The observed state of the resource
	Conditions []conditions.Condition `json:"conditions,omitempty"`

	// CreationData: Disk source information. CreationData information cannot be changed after the disk has been created.
	CreationData *CreationData_STATUS `json:"creationData,omitempty"`

	// DiskAccessId: ARM id of the DiskAccess resource for using private endpoints on disks.
	DiskAccessId *string `json:"diskAccessId,omitempty"`

	// DiskIOPSReadOnly: The total number of IOPS that will be allowed across all VMs mounting the shared disk as ReadOnly. One
	// operation can transfer between 4k and 256k bytes.
	DiskIOPSReadOnly *int `json:"diskIOPSReadOnly,omitempty"`

	// DiskIOPSReadWrite: The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can
	// transfer between 4k and 256k bytes.
	DiskIOPSReadWrite *int `json:"diskIOPSReadWrite,omitempty"`

	// DiskMBpsReadOnly: The total throughput (MBps) that will be allowed across all VMs mounting the shared disk as ReadOnly.
	// MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10.
	DiskMBpsReadOnly *int `json:"diskMBpsReadOnly,omitempty"`

	// DiskMBpsReadWrite: The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes
	// per second - MB here uses the ISO notation, of powers of 10.
	DiskMBpsReadWrite *int `json:"diskMBpsReadWrite,omitempty"`

	// DiskSizeBytes: The size of the disk in bytes. This field is read only.
	DiskSizeBytes *int `json:"diskSizeBytes,omitempty"`

	// DiskSizeGB: If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to
	// create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only
	// allowed if the disk is not attached to a running VM, and can only increase the disk's size.
	DiskSizeGB *int `json:"diskSizeGB,omitempty"`

	// DiskState: The state of the disk.
	DiskState *DiskState_STATUS `json:"diskState,omitempty"`

	// Encryption: Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys.
	Encryption *Encryption_STATUS `json:"encryption,omitempty"`

	// EncryptionSettingsCollection: Encryption settings collection used for Azure Disk Encryption, can contain multiple
	// encryption settings per disk or snapshot.
	EncryptionSettingsCollection *EncryptionSettingsCollection_STATUS `json:"encryptionSettingsCollection,omitempty"`

	// ExtendedLocation: The extended location where the disk will be created. Extended location cannot be changed.
	ExtendedLocation *ExtendedLocation_STATUS `json:"extendedLocation,omitempty"`

	// HyperVGeneration: The hypervisor generation of the Virtual Machine. Applicable to OS disks only.
	HyperVGeneration *DiskProperties_HyperVGeneration_STATUS `json:"hyperVGeneration,omitempty"`

	// Id: Resource Id
	Id *string `json:"id,omitempty"`

	// Location: Resource location
	Location *string `json:"location,omitempty"`

	// ManagedBy: A relative URI containing the ID of the VM that has the disk attached.
	ManagedBy *string `json:"managedBy,omitempty"`

	// ManagedByExtended: List of relative URIs containing the IDs of the VMs that have the disk attached. maxShares should be
	// set to a value greater than one for disks to allow attaching them to multiple VMs.
	ManagedByExtended []string `json:"managedByExtended,omitempty"`

	// MaxShares: The maximum number of VMs that can attach to the disk at the same time. Value greater than one indicates a
	// disk that can be mounted on multiple VMs at the same time.
	MaxShares *int `json:"maxShares,omitempty"`

	// Name: Resource name
	Name *string `json:"name,omitempty"`

	// NetworkAccessPolicy: Policy for accessing the disk via network.
	NetworkAccessPolicy *NetworkAccessPolicy_STATUS `json:"networkAccessPolicy,omitempty"`

	// OsType: The Operating System type.
	OsType *DiskProperties_OsType_STATUS `json:"osType,omitempty"`

	// ProvisioningState: The disk provisioning state.
	ProvisioningState *string `json:"provisioningState,omitempty"`

	// PurchasePlan: Purchase plan information for the the image from which the OS disk was created. E.g. - {name:
	// 2019-Datacenter, publisher: MicrosoftWindowsServer, product: WindowsServer}
	PurchasePlan *PurchasePlan_STATUS `json:"purchasePlan,omitempty"`

	// ShareInfo: Details of the list of all VMs that have the disk attached. maxShares should be set to a value greater than
	// one for disks to allow attaching them to multiple VMs.
	ShareInfo []ShareInfoElement_STATUS `json:"shareInfo,omitempty"`

	// Sku: The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, or UltraSSD_LRS.
	Sku *DiskSku_STATUS `json:"sku,omitempty"`

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

	// Tier: Performance tier of the disk (e.g, P4, S10) as described here:
	// https://azure.microsoft.com/en-us/pricing/details/managed-disks/. Does not apply to Ultra disks.
	Tier *string `json:"tier,omitempty"`

	// TimeCreated: The time when the disk was created.
	TimeCreated *string `json:"timeCreated,omitempty"`

	// Type: Resource type
	Type *string `json:"type,omitempty"`

	// UniqueId: Unique Guid identifying the resource.
	UniqueId *string `json:"uniqueId,omitempty"`

	// Zones: The Logical zone list for Disk.
	Zones []string `json:"zones,omitempty"`
}

Disk resource.

func (*Disk_STATUS) AssignProperties_From_Disk_STATUS

func (disk *Disk_STATUS) AssignProperties_From_Disk_STATUS(source *v20200930s.Disk_STATUS) error

AssignProperties_From_Disk_STATUS populates our Disk_STATUS from the provided source Disk_STATUS

func (*Disk_STATUS) AssignProperties_To_Disk_STATUS

func (disk *Disk_STATUS) AssignProperties_To_Disk_STATUS(destination *v20200930s.Disk_STATUS) error

AssignProperties_To_Disk_STATUS populates the provided destination Disk_STATUS from our Disk_STATUS

func (*Disk_STATUS) ConvertStatusFrom

func (disk *Disk_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error

ConvertStatusFrom populates our Disk_STATUS from the provided source

func (*Disk_STATUS) ConvertStatusTo

func (disk *Disk_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error

ConvertStatusTo populates the provided destination from our Disk_STATUS

func (*Disk_STATUS) DeepCopy

func (in *Disk_STATUS) DeepCopy() *Disk_STATUS

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

func (*Disk_STATUS) DeepCopyInto

func (in *Disk_STATUS) DeepCopyInto(out *Disk_STATUS)

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

func (*Disk_STATUS) NewEmptyARMValue

func (disk *Disk_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*Disk_STATUS) PopulateFromARM

func (disk *Disk_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type Disk_STATUS_ARM

type Disk_STATUS_ARM struct {
	// ExtendedLocation: The extended location where the disk will be created. Extended location cannot be changed.
	ExtendedLocation *ExtendedLocation_STATUS_ARM `json:"extendedLocation,omitempty"`

	// Id: Resource Id
	Id *string `json:"id,omitempty"`

	// Location: Resource location
	Location *string `json:"location,omitempty"`

	// ManagedBy: A relative URI containing the ID of the VM that has the disk attached.
	ManagedBy *string `json:"managedBy,omitempty"`

	// ManagedByExtended: List of relative URIs containing the IDs of the VMs that have the disk attached. maxShares should be
	// set to a value greater than one for disks to allow attaching them to multiple VMs.
	ManagedByExtended []string `json:"managedByExtended,omitempty"`

	// Name: Resource name
	Name *string `json:"name,omitempty"`

	// Properties: Disk resource properties.
	Properties *DiskProperties_STATUS_ARM `json:"properties,omitempty"`

	// Sku: The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, or UltraSSD_LRS.
	Sku *DiskSku_STATUS_ARM `json:"sku,omitempty"`

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

	// Type: Resource type
	Type *string `json:"type,omitempty"`

	// Zones: The Logical zone list for Disk.
	Zones []string `json:"zones,omitempty"`
}

Disk resource.

func (*Disk_STATUS_ARM) DeepCopy

func (in *Disk_STATUS_ARM) DeepCopy() *Disk_STATUS_ARM

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

func (*Disk_STATUS_ARM) DeepCopyInto

func (in *Disk_STATUS_ARM) DeepCopyInto(out *Disk_STATUS_ARM)

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

type Disk_Spec

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

	// BurstingEnabled: Set to true to enable bursting beyond the provisioned performance target of the disk. Bursting is
	// disabled by default. Does not apply to Ultra disks.
	BurstingEnabled *bool `json:"burstingEnabled,omitempty"`

	// +kubebuilder:validation:Required
	// CreationData: Disk source information. CreationData information cannot be changed after the disk has been created.
	CreationData *CreationData `json:"creationData,omitempty"`

	// DiskAccessReference: ARM id of the DiskAccess resource for using private endpoints on disks.
	DiskAccessReference *genruntime.ResourceReference `armReference:"DiskAccessId" json:"diskAccessReference,omitempty"`

	// DiskIOPSReadOnly: The total number of IOPS that will be allowed across all VMs mounting the shared disk as ReadOnly. One
	// operation can transfer between 4k and 256k bytes.
	DiskIOPSReadOnly *int `json:"diskIOPSReadOnly,omitempty"`

	// DiskIOPSReadWrite: The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can
	// transfer between 4k and 256k bytes.
	DiskIOPSReadWrite *int `json:"diskIOPSReadWrite,omitempty"`

	// DiskMBpsReadOnly: The total throughput (MBps) that will be allowed across all VMs mounting the shared disk as ReadOnly.
	// MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10.
	DiskMBpsReadOnly *int `json:"diskMBpsReadOnly,omitempty"`

	// DiskMBpsReadWrite: The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes
	// per second - MB here uses the ISO notation, of powers of 10.
	DiskMBpsReadWrite *int `json:"diskMBpsReadWrite,omitempty"`

	// DiskSizeGB: If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to
	// create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only
	// allowed if the disk is not attached to a running VM, and can only increase the disk's size.
	DiskSizeGB *int `json:"diskSizeGB,omitempty"`

	// Encryption: Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys.
	Encryption *Encryption `json:"encryption,omitempty"`

	// EncryptionSettingsCollection: Encryption settings collection used for Azure Disk Encryption, can contain multiple
	// encryption settings per disk or snapshot.
	EncryptionSettingsCollection *EncryptionSettingsCollection `json:"encryptionSettingsCollection,omitempty"`

	// ExtendedLocation: The extended location where the disk will be created. Extended location cannot be changed.
	ExtendedLocation *ExtendedLocation `json:"extendedLocation,omitempty"`

	// HyperVGeneration: The hypervisor generation of the Virtual Machine. Applicable to OS disks only.
	HyperVGeneration *DiskProperties_HyperVGeneration `json:"hyperVGeneration,omitempty"`

	// +kubebuilder:validation:Required
	// Location: Resource location
	Location *string `json:"location,omitempty"`

	// MaxShares: The maximum number of VMs that can attach to the disk at the same time. Value greater than one indicates a
	// disk that can be mounted on multiple VMs at the same time.
	MaxShares *int `json:"maxShares,omitempty"`

	// NetworkAccessPolicy: Policy for accessing the disk via network.
	NetworkAccessPolicy *NetworkAccessPolicy `json:"networkAccessPolicy,omitempty"`

	// OsType: The Operating System type.
	OsType *DiskProperties_OsType `json:"osType,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"`

	// PurchasePlan: Purchase plan information for the the image from which the OS disk was created. E.g. - {name:
	// 2019-Datacenter, publisher: MicrosoftWindowsServer, product: WindowsServer}
	PurchasePlan *PurchasePlan `json:"purchasePlan,omitempty"`

	// Sku: The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, or UltraSSD_LRS.
	Sku *DiskSku `json:"sku,omitempty"`

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

	// Tier: Performance tier of the disk (e.g, P4, S10) as described here:
	// https://azure.microsoft.com/en-us/pricing/details/managed-disks/. Does not apply to Ultra disks.
	Tier *string `json:"tier,omitempty"`

	// Zones: The Logical zone list for Disk.
	Zones []string `json:"zones,omitempty"`
}

func (*Disk_Spec) AssignProperties_From_Disk_Spec

func (disk *Disk_Spec) AssignProperties_From_Disk_Spec(source *v20200930s.Disk_Spec) error

AssignProperties_From_Disk_Spec populates our Disk_Spec from the provided source Disk_Spec

func (*Disk_Spec) AssignProperties_To_Disk_Spec

func (disk *Disk_Spec) AssignProperties_To_Disk_Spec(destination *v20200930s.Disk_Spec) error

AssignProperties_To_Disk_Spec populates the provided destination Disk_Spec from our Disk_Spec

func (*Disk_Spec) ConvertSpecFrom

func (disk *Disk_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error

ConvertSpecFrom populates our Disk_Spec from the provided source

func (*Disk_Spec) ConvertSpecTo

func (disk *Disk_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error

ConvertSpecTo populates the provided destination from our Disk_Spec

func (*Disk_Spec) ConvertToARM

func (disk *Disk_Spec) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*Disk_Spec) DeepCopy

func (in *Disk_Spec) DeepCopy() *Disk_Spec

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

func (*Disk_Spec) DeepCopyInto

func (in *Disk_Spec) DeepCopyInto(out *Disk_Spec)

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

func (*Disk_Spec) Initialize_From_Disk_STATUS

func (disk *Disk_Spec) Initialize_From_Disk_STATUS(source *Disk_STATUS) error

Initialize_From_Disk_STATUS populates our Disk_Spec from the provided source Disk_STATUS

func (*Disk_Spec) NewEmptyARMValue

func (disk *Disk_Spec) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*Disk_Spec) OriginalVersion

func (disk *Disk_Spec) OriginalVersion() string

OriginalVersion returns the original API version used to create the resource.

func (*Disk_Spec) PopulateFromARM

func (disk *Disk_Spec) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

func (*Disk_Spec) SetAzureName

func (disk *Disk_Spec) SetAzureName(azureName string)

SetAzureName sets the Azure name of the resource

type Disk_Spec_ARM

type Disk_Spec_ARM struct {
	// ExtendedLocation: The extended location where the disk will be created. Extended location cannot be changed.
	ExtendedLocation *ExtendedLocation_ARM `json:"extendedLocation,omitempty"`

	// Location: Resource location
	Location *string `json:"location,omitempty"`
	Name     string  `json:"name,omitempty"`

	// Properties: Disk resource properties.
	Properties *DiskProperties_ARM `json:"properties,omitempty"`

	// Sku: The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, or UltraSSD_LRS.
	Sku *DiskSku_ARM `json:"sku,omitempty"`

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

	// Zones: The Logical zone list for Disk.
	Zones []string `json:"zones,omitempty"`
}

func (*Disk_Spec_ARM) DeepCopy

func (in *Disk_Spec_ARM) DeepCopy() *Disk_Spec_ARM

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

func (*Disk_Spec_ARM) DeepCopyInto

func (in *Disk_Spec_ARM) DeepCopyInto(out *Disk_Spec_ARM)

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

func (Disk_Spec_ARM) GetAPIVersion

func (disk Disk_Spec_ARM) GetAPIVersion() string

GetAPIVersion returns the ARM API version of the resource. This is always "2020-09-30"

func (*Disk_Spec_ARM) GetName

func (disk *Disk_Spec_ARM) GetName() string

GetName returns the Name of the resource

func (*Disk_Spec_ARM) GetType

func (disk *Disk_Spec_ARM) GetType() string

GetType returns the ARM Type of the resource. This is always "Microsoft.Compute/disks"

type Encryption

type Encryption struct {
	// DiskEncryptionSetReference: ResourceId of the disk encryption set to use for enabling encryption at rest.
	DiskEncryptionSetReference *genruntime.ResourceReference `armReference:"DiskEncryptionSetId" json:"diskEncryptionSetReference,omitempty"`

	// Type: The type of key used to encrypt the data of the disk.
	Type *EncryptionType `json:"type,omitempty"`
}

Encryption at rest settings for disk or snapshot

func (*Encryption) AssignProperties_From_Encryption

func (encryption *Encryption) AssignProperties_From_Encryption(source *v20200930s.Encryption) error

AssignProperties_From_Encryption populates our Encryption from the provided source Encryption

func (*Encryption) AssignProperties_To_Encryption

func (encryption *Encryption) AssignProperties_To_Encryption(destination *v20200930s.Encryption) error

AssignProperties_To_Encryption populates the provided destination Encryption from our Encryption

func (*Encryption) ConvertToARM

func (encryption *Encryption) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*Encryption) DeepCopy

func (in *Encryption) DeepCopy() *Encryption

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

func (*Encryption) DeepCopyInto

func (in *Encryption) DeepCopyInto(out *Encryption)

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

func (*Encryption) Initialize_From_Encryption_STATUS

func (encryption *Encryption) Initialize_From_Encryption_STATUS(source *Encryption_STATUS) error

Initialize_From_Encryption_STATUS populates our Encryption from the provided source Encryption_STATUS

func (*Encryption) NewEmptyARMValue

func (encryption *Encryption) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*Encryption) PopulateFromARM

func (encryption *Encryption) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type EncryptionSettingsCollection

type EncryptionSettingsCollection struct {
	// +kubebuilder:validation:Required
	// Enabled: Set this flag to true and provide DiskEncryptionKey and optional KeyEncryptionKey to enable encryption. Set
	// this flag to false and remove DiskEncryptionKey and KeyEncryptionKey to disable encryption. If EncryptionSettings is
	// null in the request object, the existing settings remain unchanged.
	Enabled *bool `json:"enabled,omitempty"`

	// EncryptionSettings: A collection of encryption settings, one for each disk volume.
	EncryptionSettings []EncryptionSettingsElement `json:"encryptionSettings,omitempty"`

	// EncryptionSettingsVersion: Describes what type of encryption is used for the disks. Once this field is set, it cannot be
	// overwritten. '1.0' corresponds to Azure Disk Encryption with AAD app.'1.1' corresponds to Azure Disk Encryption.
	EncryptionSettingsVersion *string `json:"encryptionSettingsVersion,omitempty"`
}

Encryption settings for disk or snapshot

func (*EncryptionSettingsCollection) AssignProperties_From_EncryptionSettingsCollection

func (collection *EncryptionSettingsCollection) AssignProperties_From_EncryptionSettingsCollection(source *v20200930s.EncryptionSettingsCollection) error

AssignProperties_From_EncryptionSettingsCollection populates our EncryptionSettingsCollection from the provided source EncryptionSettingsCollection

func (*EncryptionSettingsCollection) AssignProperties_To_EncryptionSettingsCollection

func (collection *EncryptionSettingsCollection) AssignProperties_To_EncryptionSettingsCollection(destination *v20200930s.EncryptionSettingsCollection) error

AssignProperties_To_EncryptionSettingsCollection populates the provided destination EncryptionSettingsCollection from our EncryptionSettingsCollection

func (*EncryptionSettingsCollection) ConvertToARM

func (collection *EncryptionSettingsCollection) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*EncryptionSettingsCollection) DeepCopy

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

func (*EncryptionSettingsCollection) DeepCopyInto

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

func (*EncryptionSettingsCollection) Initialize_From_EncryptionSettingsCollection_STATUS

func (collection *EncryptionSettingsCollection) Initialize_From_EncryptionSettingsCollection_STATUS(source *EncryptionSettingsCollection_STATUS) error

Initialize_From_EncryptionSettingsCollection_STATUS populates our EncryptionSettingsCollection from the provided source EncryptionSettingsCollection_STATUS

func (*EncryptionSettingsCollection) NewEmptyARMValue

func (collection *EncryptionSettingsCollection) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*EncryptionSettingsCollection) PopulateFromARM

func (collection *EncryptionSettingsCollection) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type EncryptionSettingsCollection_ARM

type EncryptionSettingsCollection_ARM struct {
	// Enabled: Set this flag to true and provide DiskEncryptionKey and optional KeyEncryptionKey to enable encryption. Set
	// this flag to false and remove DiskEncryptionKey and KeyEncryptionKey to disable encryption. If EncryptionSettings is
	// null in the request object, the existing settings remain unchanged.
	Enabled *bool `json:"enabled,omitempty"`

	// EncryptionSettings: A collection of encryption settings, one for each disk volume.
	EncryptionSettings []EncryptionSettingsElement_ARM `json:"encryptionSettings,omitempty"`

	// EncryptionSettingsVersion: Describes what type of encryption is used for the disks. Once this field is set, it cannot be
	// overwritten. '1.0' corresponds to Azure Disk Encryption with AAD app.'1.1' corresponds to Azure Disk Encryption.
	EncryptionSettingsVersion *string `json:"encryptionSettingsVersion,omitempty"`
}

Encryption settings for disk or snapshot

func (*EncryptionSettingsCollection_ARM) DeepCopy

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

func (*EncryptionSettingsCollection_ARM) DeepCopyInto

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

type EncryptionSettingsCollection_STATUS

type EncryptionSettingsCollection_STATUS struct {
	// Enabled: Set this flag to true and provide DiskEncryptionKey and optional KeyEncryptionKey to enable encryption. Set
	// this flag to false and remove DiskEncryptionKey and KeyEncryptionKey to disable encryption. If EncryptionSettings is
	// null in the request object, the existing settings remain unchanged.
	Enabled *bool `json:"enabled,omitempty"`

	// EncryptionSettings: A collection of encryption settings, one for each disk volume.
	EncryptionSettings []EncryptionSettingsElement_STATUS `json:"encryptionSettings,omitempty"`

	// EncryptionSettingsVersion: Describes what type of encryption is used for the disks. Once this field is set, it cannot be
	// overwritten. '1.0' corresponds to Azure Disk Encryption with AAD app.'1.1' corresponds to Azure Disk Encryption.
	EncryptionSettingsVersion *string `json:"encryptionSettingsVersion,omitempty"`
}

Encryption settings for disk or snapshot

func (*EncryptionSettingsCollection_STATUS) AssignProperties_From_EncryptionSettingsCollection_STATUS

func (collection *EncryptionSettingsCollection_STATUS) AssignProperties_From_EncryptionSettingsCollection_STATUS(source *v20200930s.EncryptionSettingsCollection_STATUS) error

AssignProperties_From_EncryptionSettingsCollection_STATUS populates our EncryptionSettingsCollection_STATUS from the provided source EncryptionSettingsCollection_STATUS

func (*EncryptionSettingsCollection_STATUS) AssignProperties_To_EncryptionSettingsCollection_STATUS

func (collection *EncryptionSettingsCollection_STATUS) AssignProperties_To_EncryptionSettingsCollection_STATUS(destination *v20200930s.EncryptionSettingsCollection_STATUS) error

AssignProperties_To_EncryptionSettingsCollection_STATUS populates the provided destination EncryptionSettingsCollection_STATUS from our EncryptionSettingsCollection_STATUS

func (*EncryptionSettingsCollection_STATUS) DeepCopy

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

func (*EncryptionSettingsCollection_STATUS) DeepCopyInto

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

func (*EncryptionSettingsCollection_STATUS) NewEmptyARMValue

func (collection *EncryptionSettingsCollection_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*EncryptionSettingsCollection_STATUS) PopulateFromARM

func (collection *EncryptionSettingsCollection_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type EncryptionSettingsCollection_STATUS_ARM

type EncryptionSettingsCollection_STATUS_ARM struct {
	// Enabled: Set this flag to true and provide DiskEncryptionKey and optional KeyEncryptionKey to enable encryption. Set
	// this flag to false and remove DiskEncryptionKey and KeyEncryptionKey to disable encryption. If EncryptionSettings is
	// null in the request object, the existing settings remain unchanged.
	Enabled *bool `json:"enabled,omitempty"`

	// EncryptionSettings: A collection of encryption settings, one for each disk volume.
	EncryptionSettings []EncryptionSettingsElement_STATUS_ARM `json:"encryptionSettings,omitempty"`

	// EncryptionSettingsVersion: Describes what type of encryption is used for the disks. Once this field is set, it cannot be
	// overwritten. '1.0' corresponds to Azure Disk Encryption with AAD app.'1.1' corresponds to Azure Disk Encryption.
	EncryptionSettingsVersion *string `json:"encryptionSettingsVersion,omitempty"`
}

Encryption settings for disk or snapshot

func (*EncryptionSettingsCollection_STATUS_ARM) DeepCopy

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

func (*EncryptionSettingsCollection_STATUS_ARM) DeepCopyInto

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

type EncryptionSettingsElement

type EncryptionSettingsElement struct {
	// DiskEncryptionKey: Key Vault Secret Url and vault id of the disk encryption key
	DiskEncryptionKey *KeyVaultAndSecretReference `json:"diskEncryptionKey,omitempty"`

	// KeyEncryptionKey: Key Vault Key Url and vault id of the key encryption key. KeyEncryptionKey is optional and when
	// provided is used to unwrap the disk encryption key.
	KeyEncryptionKey *KeyVaultAndKeyReference `json:"keyEncryptionKey,omitempty"`
}

Encryption settings for one disk volume.

func (*EncryptionSettingsElement) AssignProperties_From_EncryptionSettingsElement

func (element *EncryptionSettingsElement) AssignProperties_From_EncryptionSettingsElement(source *v20200930s.EncryptionSettingsElement) error

AssignProperties_From_EncryptionSettingsElement populates our EncryptionSettingsElement from the provided source EncryptionSettingsElement

func (*EncryptionSettingsElement) AssignProperties_To_EncryptionSettingsElement

func (element *EncryptionSettingsElement) AssignProperties_To_EncryptionSettingsElement(destination *v20200930s.EncryptionSettingsElement) error

AssignProperties_To_EncryptionSettingsElement populates the provided destination EncryptionSettingsElement from our EncryptionSettingsElement

func (*EncryptionSettingsElement) ConvertToARM

func (element *EncryptionSettingsElement) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*EncryptionSettingsElement) DeepCopy

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

func (*EncryptionSettingsElement) DeepCopyInto

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

func (*EncryptionSettingsElement) Initialize_From_EncryptionSettingsElement_STATUS

func (element *EncryptionSettingsElement) Initialize_From_EncryptionSettingsElement_STATUS(source *EncryptionSettingsElement_STATUS) error

Initialize_From_EncryptionSettingsElement_STATUS populates our EncryptionSettingsElement from the provided source EncryptionSettingsElement_STATUS

func (*EncryptionSettingsElement) NewEmptyARMValue

func (element *EncryptionSettingsElement) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*EncryptionSettingsElement) PopulateFromARM

func (element *EncryptionSettingsElement) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type EncryptionSettingsElement_ARM

type EncryptionSettingsElement_ARM struct {
	// DiskEncryptionKey: Key Vault Secret Url and vault id of the disk encryption key
	DiskEncryptionKey *KeyVaultAndSecretReference_ARM `json:"diskEncryptionKey,omitempty"`

	// KeyEncryptionKey: Key Vault Key Url and vault id of the key encryption key. KeyEncryptionKey is optional and when
	// provided is used to unwrap the disk encryption key.
	KeyEncryptionKey *KeyVaultAndKeyReference_ARM `json:"keyEncryptionKey,omitempty"`
}

Encryption settings for one disk volume.

func (*EncryptionSettingsElement_ARM) DeepCopy

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

func (*EncryptionSettingsElement_ARM) DeepCopyInto

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

type EncryptionSettingsElement_STATUS

type EncryptionSettingsElement_STATUS struct {
	// DiskEncryptionKey: Key Vault Secret Url and vault id of the disk encryption key
	DiskEncryptionKey *KeyVaultAndSecretReference_STATUS `json:"diskEncryptionKey,omitempty"`

	// KeyEncryptionKey: Key Vault Key Url and vault id of the key encryption key. KeyEncryptionKey is optional and when
	// provided is used to unwrap the disk encryption key.
	KeyEncryptionKey *KeyVaultAndKeyReference_STATUS `json:"keyEncryptionKey,omitempty"`
}

Encryption settings for one disk volume.

func (*EncryptionSettingsElement_STATUS) AssignProperties_From_EncryptionSettingsElement_STATUS

func (element *EncryptionSettingsElement_STATUS) AssignProperties_From_EncryptionSettingsElement_STATUS(source *v20200930s.EncryptionSettingsElement_STATUS) error

AssignProperties_From_EncryptionSettingsElement_STATUS populates our EncryptionSettingsElement_STATUS from the provided source EncryptionSettingsElement_STATUS

func (*EncryptionSettingsElement_STATUS) AssignProperties_To_EncryptionSettingsElement_STATUS

func (element *EncryptionSettingsElement_STATUS) AssignProperties_To_EncryptionSettingsElement_STATUS(destination *v20200930s.EncryptionSettingsElement_STATUS) error

AssignProperties_To_EncryptionSettingsElement_STATUS populates the provided destination EncryptionSettingsElement_STATUS from our EncryptionSettingsElement_STATUS

func (*EncryptionSettingsElement_STATUS) DeepCopy

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

func (*EncryptionSettingsElement_STATUS) DeepCopyInto

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

func (*EncryptionSettingsElement_STATUS) NewEmptyARMValue

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*EncryptionSettingsElement_STATUS) PopulateFromARM

func (element *EncryptionSettingsElement_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type EncryptionSettingsElement_STATUS_ARM

type EncryptionSettingsElement_STATUS_ARM struct {
	// DiskEncryptionKey: Key Vault Secret Url and vault id of the disk encryption key
	DiskEncryptionKey *KeyVaultAndSecretReference_STATUS_ARM `json:"diskEncryptionKey,omitempty"`

	// KeyEncryptionKey: Key Vault Key Url and vault id of the key encryption key. KeyEncryptionKey is optional and when
	// provided is used to unwrap the disk encryption key.
	KeyEncryptionKey *KeyVaultAndKeyReference_STATUS_ARM `json:"keyEncryptionKey,omitempty"`
}

Encryption settings for one disk volume.

func (*EncryptionSettingsElement_STATUS_ARM) DeepCopy

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

func (*EncryptionSettingsElement_STATUS_ARM) DeepCopyInto

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

type EncryptionType

type EncryptionType string

The type of key used to encrypt the data of the disk. +kubebuilder:validation:Enum={"EncryptionAtRestWithCustomerKey","EncryptionAtRestWithPlatformAndCustomerKeys","EncryptionAtRestWithPlatformKey"}

type EncryptionType_STATUS

type EncryptionType_STATUS string

The type of key used to encrypt the data of the disk.

type Encryption_ARM

type Encryption_ARM struct {
	DiskEncryptionSetId *string `json:"diskEncryptionSetId,omitempty"`

	// Type: The type of key used to encrypt the data of the disk.
	Type *EncryptionType `json:"type,omitempty"`
}

Encryption at rest settings for disk or snapshot

func (*Encryption_ARM) DeepCopy

func (in *Encryption_ARM) DeepCopy() *Encryption_ARM

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

func (*Encryption_ARM) DeepCopyInto

func (in *Encryption_ARM) DeepCopyInto(out *Encryption_ARM)

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

type Encryption_STATUS

type Encryption_STATUS struct {
	// DiskEncryptionSetId: ResourceId of the disk encryption set to use for enabling encryption at rest.
	DiskEncryptionSetId *string `json:"diskEncryptionSetId,omitempty"`

	// Type: The type of key used to encrypt the data of the disk.
	Type *EncryptionType_STATUS `json:"type,omitempty"`
}

Encryption at rest settings for disk or snapshot

func (*Encryption_STATUS) AssignProperties_From_Encryption_STATUS

func (encryption *Encryption_STATUS) AssignProperties_From_Encryption_STATUS(source *v20200930s.Encryption_STATUS) error

AssignProperties_From_Encryption_STATUS populates our Encryption_STATUS from the provided source Encryption_STATUS

func (*Encryption_STATUS) AssignProperties_To_Encryption_STATUS

func (encryption *Encryption_STATUS) AssignProperties_To_Encryption_STATUS(destination *v20200930s.Encryption_STATUS) error

AssignProperties_To_Encryption_STATUS populates the provided destination Encryption_STATUS from our Encryption_STATUS

func (*Encryption_STATUS) DeepCopy

func (in *Encryption_STATUS) DeepCopy() *Encryption_STATUS

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

func (*Encryption_STATUS) DeepCopyInto

func (in *Encryption_STATUS) DeepCopyInto(out *Encryption_STATUS)

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

func (*Encryption_STATUS) NewEmptyARMValue

func (encryption *Encryption_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*Encryption_STATUS) PopulateFromARM

func (encryption *Encryption_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type Encryption_STATUS_ARM

type Encryption_STATUS_ARM struct {
	// DiskEncryptionSetId: ResourceId of the disk encryption set to use for enabling encryption at rest.
	DiskEncryptionSetId *string `json:"diskEncryptionSetId,omitempty"`

	// Type: The type of key used to encrypt the data of the disk.
	Type *EncryptionType_STATUS `json:"type,omitempty"`
}

Encryption at rest settings for disk or snapshot

func (*Encryption_STATUS_ARM) DeepCopy

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

func (*Encryption_STATUS_ARM) DeepCopyInto

func (in *Encryption_STATUS_ARM) DeepCopyInto(out *Encryption_STATUS_ARM)

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

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 *v20200930s.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 *v20200930s.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) Initialize_From_ExtendedLocation_STATUS

func (location *ExtendedLocation) Initialize_From_ExtendedLocation_STATUS(source *ExtendedLocation_STATUS) error

Initialize_From_ExtendedLocation_STATUS populates our ExtendedLocation from the provided source ExtendedLocation_STATUS

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 *v20200930s.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 *v20200930s.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 ImageDiskReference

type ImageDiskReference struct {
	// Lun: If the disk is created from an image's data disk, this is an index that indicates which of the data disks in the
	// image to use. For OS disks, this field is null.
	Lun *int `json:"lun,omitempty"`

	// +kubebuilder:validation:Required
	// Reference: A relative uri containing either a Platform Image Repository or user image reference.
	Reference *genruntime.ResourceReference `armReference:"Id" json:"reference,omitempty"`
}

The source image used for creating the disk.

func (*ImageDiskReference) AssignProperties_From_ImageDiskReference

func (reference *ImageDiskReference) AssignProperties_From_ImageDiskReference(source *v20200930s.ImageDiskReference) error

AssignProperties_From_ImageDiskReference populates our ImageDiskReference from the provided source ImageDiskReference

func (*ImageDiskReference) AssignProperties_To_ImageDiskReference

func (reference *ImageDiskReference) AssignProperties_To_ImageDiskReference(destination *v20200930s.ImageDiskReference) error

AssignProperties_To_ImageDiskReference populates the provided destination ImageDiskReference from our ImageDiskReference

func (*ImageDiskReference) ConvertToARM

func (reference *ImageDiskReference) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*ImageDiskReference) DeepCopy

func (in *ImageDiskReference) DeepCopy() *ImageDiskReference

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

func (*ImageDiskReference) DeepCopyInto

func (in *ImageDiskReference) DeepCopyInto(out *ImageDiskReference)

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

func (*ImageDiskReference) Initialize_From_ImageDiskReference_STATUS

func (reference *ImageDiskReference) Initialize_From_ImageDiskReference_STATUS(source *ImageDiskReference_STATUS) error

Initialize_From_ImageDiskReference_STATUS populates our ImageDiskReference from the provided source ImageDiskReference_STATUS

func (*ImageDiskReference) NewEmptyARMValue

func (reference *ImageDiskReference) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ImageDiskReference) PopulateFromARM

func (reference *ImageDiskReference) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ImageDiskReference_ARM

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

	// Lun: If the disk is created from an image's data disk, this is an index that indicates which of the data disks in the
	// image to use. For OS disks, this field is null.
	Lun *int `json:"lun,omitempty"`
}

The source image used for creating the disk.

func (*ImageDiskReference_ARM) DeepCopy

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

func (*ImageDiskReference_ARM) DeepCopyInto

func (in *ImageDiskReference_ARM) DeepCopyInto(out *ImageDiskReference_ARM)

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

type ImageDiskReference_STATUS

type ImageDiskReference_STATUS struct {
	// Id: A relative uri containing either a Platform Image Repository or user image reference.
	Id *string `json:"id,omitempty"`

	// Lun: If the disk is created from an image's data disk, this is an index that indicates which of the data disks in the
	// image to use. For OS disks, this field is null.
	Lun *int `json:"lun,omitempty"`
}

The source image used for creating the disk.

func (*ImageDiskReference_STATUS) AssignProperties_From_ImageDiskReference_STATUS

func (reference *ImageDiskReference_STATUS) AssignProperties_From_ImageDiskReference_STATUS(source *v20200930s.ImageDiskReference_STATUS) error

AssignProperties_From_ImageDiskReference_STATUS populates our ImageDiskReference_STATUS from the provided source ImageDiskReference_STATUS

func (*ImageDiskReference_STATUS) AssignProperties_To_ImageDiskReference_STATUS

func (reference *ImageDiskReference_STATUS) AssignProperties_To_ImageDiskReference_STATUS(destination *v20200930s.ImageDiskReference_STATUS) error

AssignProperties_To_ImageDiskReference_STATUS populates the provided destination ImageDiskReference_STATUS from our ImageDiskReference_STATUS

func (*ImageDiskReference_STATUS) DeepCopy

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

func (*ImageDiskReference_STATUS) DeepCopyInto

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

func (*ImageDiskReference_STATUS) NewEmptyARMValue

func (reference *ImageDiskReference_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ImageDiskReference_STATUS) PopulateFromARM

func (reference *ImageDiskReference_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ImageDiskReference_STATUS_ARM

type ImageDiskReference_STATUS_ARM struct {
	// Id: A relative uri containing either a Platform Image Repository or user image reference.
	Id *string `json:"id,omitempty"`

	// Lun: If the disk is created from an image's data disk, this is an index that indicates which of the data disks in the
	// image to use. For OS disks, this field is null.
	Lun *int `json:"lun,omitempty"`
}

The source image used for creating the disk.

func (*ImageDiskReference_STATUS_ARM) DeepCopy

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

func (*ImageDiskReference_STATUS_ARM) DeepCopyInto

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

type KeyVaultAndKeyReference

type KeyVaultAndKeyReference struct {
	// +kubebuilder:validation:Required
	// KeyUrl: Url pointing to a key or secret in KeyVault
	KeyUrl *string `json:"keyUrl,omitempty"`

	// +kubebuilder:validation:Required
	// SourceVault: Resource id of the KeyVault containing the key or secret
	SourceVault *SourceVault `json:"sourceVault,omitempty"`
}

Key Vault Key Url and vault id of KeK, KeK is optional and when provided is used to unwrap the encryptionKey

func (*KeyVaultAndKeyReference) AssignProperties_From_KeyVaultAndKeyReference

func (reference *KeyVaultAndKeyReference) AssignProperties_From_KeyVaultAndKeyReference(source *v20200930s.KeyVaultAndKeyReference) error

AssignProperties_From_KeyVaultAndKeyReference populates our KeyVaultAndKeyReference from the provided source KeyVaultAndKeyReference

func (*KeyVaultAndKeyReference) AssignProperties_To_KeyVaultAndKeyReference

func (reference *KeyVaultAndKeyReference) AssignProperties_To_KeyVaultAndKeyReference(destination *v20200930s.KeyVaultAndKeyReference) error

AssignProperties_To_KeyVaultAndKeyReference populates the provided destination KeyVaultAndKeyReference from our KeyVaultAndKeyReference

func (*KeyVaultAndKeyReference) ConvertToARM

func (reference *KeyVaultAndKeyReference) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*KeyVaultAndKeyReference) DeepCopy

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

func (*KeyVaultAndKeyReference) DeepCopyInto

func (in *KeyVaultAndKeyReference) DeepCopyInto(out *KeyVaultAndKeyReference)

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

func (*KeyVaultAndKeyReference) Initialize_From_KeyVaultAndKeyReference_STATUS

func (reference *KeyVaultAndKeyReference) Initialize_From_KeyVaultAndKeyReference_STATUS(source *KeyVaultAndKeyReference_STATUS) error

Initialize_From_KeyVaultAndKeyReference_STATUS populates our KeyVaultAndKeyReference from the provided source KeyVaultAndKeyReference_STATUS

func (*KeyVaultAndKeyReference) NewEmptyARMValue

func (reference *KeyVaultAndKeyReference) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*KeyVaultAndKeyReference) PopulateFromARM

func (reference *KeyVaultAndKeyReference) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type KeyVaultAndKeyReference_ARM

type KeyVaultAndKeyReference_ARM struct {
	// KeyUrl: Url pointing to a key or secret in KeyVault
	KeyUrl *string `json:"keyUrl,omitempty"`

	// SourceVault: Resource id of the KeyVault containing the key or secret
	SourceVault *SourceVault_ARM `json:"sourceVault,omitempty"`
}

Key Vault Key Url and vault id of KeK, KeK is optional and when provided is used to unwrap the encryptionKey

func (*KeyVaultAndKeyReference_ARM) DeepCopy

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

func (*KeyVaultAndKeyReference_ARM) DeepCopyInto

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

type KeyVaultAndKeyReference_STATUS

type KeyVaultAndKeyReference_STATUS struct {
	// KeyUrl: Url pointing to a key or secret in KeyVault
	KeyUrl *string `json:"keyUrl,omitempty"`

	// SourceVault: Resource id of the KeyVault containing the key or secret
	SourceVault *SourceVault_STATUS `json:"sourceVault,omitempty"`
}

Key Vault Key Url and vault id of KeK, KeK is optional and when provided is used to unwrap the encryptionKey

func (*KeyVaultAndKeyReference_STATUS) AssignProperties_From_KeyVaultAndKeyReference_STATUS

func (reference *KeyVaultAndKeyReference_STATUS) AssignProperties_From_KeyVaultAndKeyReference_STATUS(source *v20200930s.KeyVaultAndKeyReference_STATUS) error

AssignProperties_From_KeyVaultAndKeyReference_STATUS populates our KeyVaultAndKeyReference_STATUS from the provided source KeyVaultAndKeyReference_STATUS

func (*KeyVaultAndKeyReference_STATUS) AssignProperties_To_KeyVaultAndKeyReference_STATUS

func (reference *KeyVaultAndKeyReference_STATUS) AssignProperties_To_KeyVaultAndKeyReference_STATUS(destination *v20200930s.KeyVaultAndKeyReference_STATUS) error

AssignProperties_To_KeyVaultAndKeyReference_STATUS populates the provided destination KeyVaultAndKeyReference_STATUS from our KeyVaultAndKeyReference_STATUS

func (*KeyVaultAndKeyReference_STATUS) DeepCopy

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

func (*KeyVaultAndKeyReference_STATUS) DeepCopyInto

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

func (*KeyVaultAndKeyReference_STATUS) NewEmptyARMValue

func (reference *KeyVaultAndKeyReference_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*KeyVaultAndKeyReference_STATUS) PopulateFromARM

func (reference *KeyVaultAndKeyReference_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type KeyVaultAndKeyReference_STATUS_ARM

type KeyVaultAndKeyReference_STATUS_ARM struct {
	// KeyUrl: Url pointing to a key or secret in KeyVault
	KeyUrl *string `json:"keyUrl,omitempty"`

	// SourceVault: Resource id of the KeyVault containing the key or secret
	SourceVault *SourceVault_STATUS_ARM `json:"sourceVault,omitempty"`
}

Key Vault Key Url and vault id of KeK, KeK is optional and when provided is used to unwrap the encryptionKey

func (*KeyVaultAndKeyReference_STATUS_ARM) DeepCopy

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

func (*KeyVaultAndKeyReference_STATUS_ARM) DeepCopyInto

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

type KeyVaultAndSecretReference

type KeyVaultAndSecretReference struct {
	// +kubebuilder:validation:Required
	// SecretUrl: Url pointing to a key or secret in KeyVault
	SecretUrl *string `json:"secretUrl,omitempty"`

	// +kubebuilder:validation:Required
	// SourceVault: Resource id of the KeyVault containing the key or secret
	SourceVault *SourceVault `json:"sourceVault,omitempty"`
}

Key Vault Secret Url and vault id of the encryption key

func (*KeyVaultAndSecretReference) AssignProperties_From_KeyVaultAndSecretReference

func (reference *KeyVaultAndSecretReference) AssignProperties_From_KeyVaultAndSecretReference(source *v20200930s.KeyVaultAndSecretReference) error

AssignProperties_From_KeyVaultAndSecretReference populates our KeyVaultAndSecretReference from the provided source KeyVaultAndSecretReference

func (*KeyVaultAndSecretReference) AssignProperties_To_KeyVaultAndSecretReference

func (reference *KeyVaultAndSecretReference) AssignProperties_To_KeyVaultAndSecretReference(destination *v20200930s.KeyVaultAndSecretReference) error

AssignProperties_To_KeyVaultAndSecretReference populates the provided destination KeyVaultAndSecretReference from our KeyVaultAndSecretReference

func (*KeyVaultAndSecretReference) ConvertToARM

func (reference *KeyVaultAndSecretReference) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*KeyVaultAndSecretReference) DeepCopy

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

func (*KeyVaultAndSecretReference) DeepCopyInto

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

func (*KeyVaultAndSecretReference) Initialize_From_KeyVaultAndSecretReference_STATUS

func (reference *KeyVaultAndSecretReference) Initialize_From_KeyVaultAndSecretReference_STATUS(source *KeyVaultAndSecretReference_STATUS) error

Initialize_From_KeyVaultAndSecretReference_STATUS populates our KeyVaultAndSecretReference from the provided source KeyVaultAndSecretReference_STATUS

func (*KeyVaultAndSecretReference) NewEmptyARMValue

func (reference *KeyVaultAndSecretReference) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*KeyVaultAndSecretReference) PopulateFromARM

func (reference *KeyVaultAndSecretReference) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type KeyVaultAndSecretReference_ARM

type KeyVaultAndSecretReference_ARM struct {
	// SecretUrl: Url pointing to a key or secret in KeyVault
	SecretUrl *string `json:"secretUrl,omitempty"`

	// SourceVault: Resource id of the KeyVault containing the key or secret
	SourceVault *SourceVault_ARM `json:"sourceVault,omitempty"`
}

Key Vault Secret Url and vault id of the encryption key

func (*KeyVaultAndSecretReference_ARM) DeepCopy

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

func (*KeyVaultAndSecretReference_ARM) DeepCopyInto

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

type KeyVaultAndSecretReference_STATUS

type KeyVaultAndSecretReference_STATUS struct {
	// SecretUrl: Url pointing to a key or secret in KeyVault
	SecretUrl *string `json:"secretUrl,omitempty"`

	// SourceVault: Resource id of the KeyVault containing the key or secret
	SourceVault *SourceVault_STATUS `json:"sourceVault,omitempty"`
}

Key Vault Secret Url and vault id of the encryption key

func (*KeyVaultAndSecretReference_STATUS) AssignProperties_From_KeyVaultAndSecretReference_STATUS

func (reference *KeyVaultAndSecretReference_STATUS) AssignProperties_From_KeyVaultAndSecretReference_STATUS(source *v20200930s.KeyVaultAndSecretReference_STATUS) error

AssignProperties_From_KeyVaultAndSecretReference_STATUS populates our KeyVaultAndSecretReference_STATUS from the provided source KeyVaultAndSecretReference_STATUS

func (*KeyVaultAndSecretReference_STATUS) AssignProperties_To_KeyVaultAndSecretReference_STATUS

func (reference *KeyVaultAndSecretReference_STATUS) AssignProperties_To_KeyVaultAndSecretReference_STATUS(destination *v20200930s.KeyVaultAndSecretReference_STATUS) error

AssignProperties_To_KeyVaultAndSecretReference_STATUS populates the provided destination KeyVaultAndSecretReference_STATUS from our KeyVaultAndSecretReference_STATUS

func (*KeyVaultAndSecretReference_STATUS) DeepCopy

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

func (*KeyVaultAndSecretReference_STATUS) DeepCopyInto

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

func (*KeyVaultAndSecretReference_STATUS) NewEmptyARMValue

func (reference *KeyVaultAndSecretReference_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*KeyVaultAndSecretReference_STATUS) PopulateFromARM

func (reference *KeyVaultAndSecretReference_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type KeyVaultAndSecretReference_STATUS_ARM

type KeyVaultAndSecretReference_STATUS_ARM struct {
	// SecretUrl: Url pointing to a key or secret in KeyVault
	SecretUrl *string `json:"secretUrl,omitempty"`

	// SourceVault: Resource id of the KeyVault containing the key or secret
	SourceVault *SourceVault_STATUS_ARM `json:"sourceVault,omitempty"`
}

Key Vault Secret Url and vault id of the encryption key

func (*KeyVaultAndSecretReference_STATUS_ARM) DeepCopy

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

func (*KeyVaultAndSecretReference_STATUS_ARM) DeepCopyInto

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

type NetworkAccessPolicy

type NetworkAccessPolicy string

Policy for accessing the disk via network. +kubebuilder:validation:Enum={"AllowAll","AllowPrivate","DenyAll"}

type NetworkAccessPolicy_STATUS

type NetworkAccessPolicy_STATUS string

Policy for accessing the disk via network.

type PurchasePlan

type PurchasePlan struct {
	// +kubebuilder:validation:Required
	// Name: The plan ID.
	Name *string `json:"name,omitempty"`

	// +kubebuilder:validation:Required
	// Product: Specifies the product of the image from the marketplace. This is the same value as Offer under the
	// imageReference element.
	Product *string `json:"product,omitempty"`

	// PromotionCode: The Offer Promotion Code.
	PromotionCode *string `json:"promotionCode,omitempty"`

	// +kubebuilder:validation:Required
	// Publisher: The publisher ID.
	Publisher *string `json:"publisher,omitempty"`
}

Used for establishing the purchase context of any 3rd Party artifact through MarketPlace.

func (*PurchasePlan) AssignProperties_From_PurchasePlan

func (plan *PurchasePlan) AssignProperties_From_PurchasePlan(source *v20200930s.PurchasePlan) error

AssignProperties_From_PurchasePlan populates our PurchasePlan from the provided source PurchasePlan

func (*PurchasePlan) AssignProperties_To_PurchasePlan

func (plan *PurchasePlan) AssignProperties_To_PurchasePlan(destination *v20200930s.PurchasePlan) error

AssignProperties_To_PurchasePlan populates the provided destination PurchasePlan from our PurchasePlan

func (*PurchasePlan) ConvertToARM

func (plan *PurchasePlan) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*PurchasePlan) DeepCopy

func (in *PurchasePlan) DeepCopy() *PurchasePlan

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

func (*PurchasePlan) DeepCopyInto

func (in *PurchasePlan) DeepCopyInto(out *PurchasePlan)

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

func (*PurchasePlan) Initialize_From_PurchasePlan_STATUS

func (plan *PurchasePlan) Initialize_From_PurchasePlan_STATUS(source *PurchasePlan_STATUS) error

Initialize_From_PurchasePlan_STATUS populates our PurchasePlan from the provided source PurchasePlan_STATUS

func (*PurchasePlan) NewEmptyARMValue

func (plan *PurchasePlan) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*PurchasePlan) PopulateFromARM

func (plan *PurchasePlan) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type PurchasePlan_ARM

type PurchasePlan_ARM struct {
	// Name: The plan ID.
	Name *string `json:"name,omitempty"`

	// Product: Specifies the product of the image from the marketplace. This is the same value as Offer under the
	// imageReference element.
	Product *string `json:"product,omitempty"`

	// PromotionCode: The Offer Promotion Code.
	PromotionCode *string `json:"promotionCode,omitempty"`

	// Publisher: The publisher ID.
	Publisher *string `json:"publisher,omitempty"`
}

Used for establishing the purchase context of any 3rd Party artifact through MarketPlace.

func (*PurchasePlan_ARM) DeepCopy

func (in *PurchasePlan_ARM) DeepCopy() *PurchasePlan_ARM

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

func (*PurchasePlan_ARM) DeepCopyInto

func (in *PurchasePlan_ARM) DeepCopyInto(out *PurchasePlan_ARM)

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

type PurchasePlan_STATUS

type PurchasePlan_STATUS struct {
	// Name: The plan ID.
	Name *string `json:"name,omitempty"`

	// Product: Specifies the product of the image from the marketplace. This is the same value as Offer under the
	// imageReference element.
	Product *string `json:"product,omitempty"`

	// PromotionCode: The Offer Promotion Code.
	PromotionCode *string `json:"promotionCode,omitempty"`

	// Publisher: The publisher ID.
	Publisher *string `json:"publisher,omitempty"`
}

Used for establishing the purchase context of any 3rd Party artifact through MarketPlace.

func (*PurchasePlan_STATUS) AssignProperties_From_PurchasePlan_STATUS

func (plan *PurchasePlan_STATUS) AssignProperties_From_PurchasePlan_STATUS(source *v20200930s.PurchasePlan_STATUS) error

AssignProperties_From_PurchasePlan_STATUS populates our PurchasePlan_STATUS from the provided source PurchasePlan_STATUS

func (*PurchasePlan_STATUS) AssignProperties_To_PurchasePlan_STATUS

func (plan *PurchasePlan_STATUS) AssignProperties_To_PurchasePlan_STATUS(destination *v20200930s.PurchasePlan_STATUS) error

AssignProperties_To_PurchasePlan_STATUS populates the provided destination PurchasePlan_STATUS from our PurchasePlan_STATUS

func (*PurchasePlan_STATUS) DeepCopy

func (in *PurchasePlan_STATUS) DeepCopy() *PurchasePlan_STATUS

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

func (*PurchasePlan_STATUS) DeepCopyInto

func (in *PurchasePlan_STATUS) DeepCopyInto(out *PurchasePlan_STATUS)

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

func (*PurchasePlan_STATUS) NewEmptyARMValue

func (plan *PurchasePlan_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*PurchasePlan_STATUS) PopulateFromARM

func (plan *PurchasePlan_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type PurchasePlan_STATUS_ARM

type PurchasePlan_STATUS_ARM struct {
	// Name: The plan ID.
	Name *string `json:"name,omitempty"`

	// Product: Specifies the product of the image from the marketplace. This is the same value as Offer under the
	// imageReference element.
	Product *string `json:"product,omitempty"`

	// PromotionCode: The Offer Promotion Code.
	PromotionCode *string `json:"promotionCode,omitempty"`

	// Publisher: The publisher ID.
	Publisher *string `json:"publisher,omitempty"`
}

Used for establishing the purchase context of any 3rd Party artifact through MarketPlace.

func (*PurchasePlan_STATUS_ARM) DeepCopy

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

func (*PurchasePlan_STATUS_ARM) DeepCopyInto

func (in *PurchasePlan_STATUS_ARM) DeepCopyInto(out *PurchasePlan_STATUS_ARM)

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

type ShareInfoElement_STATUS

type ShareInfoElement_STATUS struct {
	// VmUri: A relative URI containing the ID of the VM that has the disk attached.
	VmUri *string `json:"vmUri,omitempty"`
}

func (*ShareInfoElement_STATUS) AssignProperties_From_ShareInfoElement_STATUS

func (element *ShareInfoElement_STATUS) AssignProperties_From_ShareInfoElement_STATUS(source *v20200930s.ShareInfoElement_STATUS) error

AssignProperties_From_ShareInfoElement_STATUS populates our ShareInfoElement_STATUS from the provided source ShareInfoElement_STATUS

func (*ShareInfoElement_STATUS) AssignProperties_To_ShareInfoElement_STATUS

func (element *ShareInfoElement_STATUS) AssignProperties_To_ShareInfoElement_STATUS(destination *v20200930s.ShareInfoElement_STATUS) error

AssignProperties_To_ShareInfoElement_STATUS populates the provided destination ShareInfoElement_STATUS from our ShareInfoElement_STATUS

func (*ShareInfoElement_STATUS) DeepCopy

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

func (*ShareInfoElement_STATUS) DeepCopyInto

func (in *ShareInfoElement_STATUS) DeepCopyInto(out *ShareInfoElement_STATUS)

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

func (*ShareInfoElement_STATUS) NewEmptyARMValue

func (element *ShareInfoElement_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ShareInfoElement_STATUS) PopulateFromARM

func (element *ShareInfoElement_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ShareInfoElement_STATUS_ARM

type ShareInfoElement_STATUS_ARM struct {
	// VmUri: A relative URI containing the ID of the VM that has the disk attached.
	VmUri *string `json:"vmUri,omitempty"`
}

func (*ShareInfoElement_STATUS_ARM) DeepCopy

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

func (*ShareInfoElement_STATUS_ARM) DeepCopyInto

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

type Snapshot

type Snapshot struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              Snapshot_Spec   `json:"spec,omitempty"`
	Status            Snapshot_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/DiskRP/stable/2020-09-30/disk.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}

func (*Snapshot) AssignProperties_From_Snapshot

func (snapshot *Snapshot) AssignProperties_From_Snapshot(source *v20200930s.Snapshot) error

AssignProperties_From_Snapshot populates our Snapshot from the provided source Snapshot

func (*Snapshot) AssignProperties_To_Snapshot

func (snapshot *Snapshot) AssignProperties_To_Snapshot(destination *v20200930s.Snapshot) error

AssignProperties_To_Snapshot populates the provided destination Snapshot from our Snapshot

func (*Snapshot) AzureName

func (snapshot *Snapshot) AzureName() string

AzureName returns the Azure name of the resource

func (*Snapshot) ConvertFrom

func (snapshot *Snapshot) ConvertFrom(hub conversion.Hub) error

ConvertFrom populates our Snapshot from the provided hub Snapshot

func (*Snapshot) ConvertTo

func (snapshot *Snapshot) ConvertTo(hub conversion.Hub) error

ConvertTo populates the provided hub Snapshot from our Snapshot

func (*Snapshot) DeepCopy

func (in *Snapshot) DeepCopy() *Snapshot

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

func (*Snapshot) DeepCopyInto

func (in *Snapshot) DeepCopyInto(out *Snapshot)

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

func (*Snapshot) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Snapshot) Default

func (snapshot *Snapshot) Default()

Default applies defaults to the Snapshot resource

func (Snapshot) GetAPIVersion

func (snapshot Snapshot) GetAPIVersion() string

GetAPIVersion returns the ARM API version of the resource. This is always "2020-09-30"

func (*Snapshot) GetConditions

func (snapshot *Snapshot) GetConditions() conditions.Conditions

GetConditions returns the conditions of the resource

func (*Snapshot) GetResourceScope

func (snapshot *Snapshot) GetResourceScope() genruntime.ResourceScope

GetResourceScope returns the scope of the resource

func (*Snapshot) GetSpec

func (snapshot *Snapshot) GetSpec() genruntime.ConvertibleSpec

GetSpec returns the specification of this resource

func (*Snapshot) GetStatus

func (snapshot *Snapshot) GetStatus() genruntime.ConvertibleStatus

GetStatus returns the status of this resource

func (*Snapshot) GetSupportedOperations added in v2.4.0

func (snapshot *Snapshot) GetSupportedOperations() []genruntime.ResourceOperation

GetSupportedOperations returns the operations supported by the resource

func (*Snapshot) GetType

func (snapshot *Snapshot) GetType() string

GetType returns the ARM Type of the resource. This is always "Microsoft.Compute/snapshots"

func (*Snapshot) InitializeSpec

func (snapshot *Snapshot) InitializeSpec(status genruntime.ConvertibleStatus) error

InitializeSpec initializes the spec for this resource from the given status

func (*Snapshot) NewEmptyStatus

func (snapshot *Snapshot) NewEmptyStatus() genruntime.ConvertibleStatus

NewEmptyStatus returns a new empty (blank) status

func (*Snapshot) OriginalGVK

func (snapshot *Snapshot) OriginalGVK() *schema.GroupVersionKind

OriginalGVK returns a GroupValueKind for the original API version used to create the resource

func (*Snapshot) Owner

func (snapshot *Snapshot) Owner() *genruntime.ResourceReference

Owner returns the ResourceReference of the owner

func (*Snapshot) SetConditions

func (snapshot *Snapshot) SetConditions(conditions conditions.Conditions)

SetConditions sets the conditions on the resource status

func (*Snapshot) SetStatus

func (snapshot *Snapshot) SetStatus(status genruntime.ConvertibleStatus) error

SetStatus sets the status of this resource

func (*Snapshot) ValidateCreate

func (snapshot *Snapshot) ValidateCreate() (admission.Warnings, error)

ValidateCreate validates the creation of the resource

func (*Snapshot) ValidateDelete

func (snapshot *Snapshot) ValidateDelete() (admission.Warnings, error)

ValidateDelete validates the deletion of the resource

func (*Snapshot) ValidateUpdate

func (snapshot *Snapshot) ValidateUpdate(old runtime.Object) (admission.Warnings, error)

ValidateUpdate validates an update of the resource

type SnapshotList

type SnapshotList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Snapshot `json:"items"`
}

+kubebuilder:object:root=true Generator information: - Generated from: /compute/resource-manager/Microsoft.Compute/DiskRP/stable/2020-09-30/disk.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}

func (*SnapshotList) DeepCopy

func (in *SnapshotList) DeepCopy() *SnapshotList

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

func (*SnapshotList) DeepCopyInto

func (in *SnapshotList) DeepCopyInto(out *SnapshotList)

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

func (*SnapshotList) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type SnapshotProperties_ARM

type SnapshotProperties_ARM struct {
	// CreationData: Disk source information. CreationData information cannot be changed after the disk has been created.
	CreationData *CreationData_ARM `json:"creationData,omitempty"`
	DiskAccessId *string           `json:"diskAccessId,omitempty"`

	// DiskSizeGB: If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to
	// create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only
	// allowed if the disk is not attached to a running VM, and can only increase the disk's size.
	DiskSizeGB *int `json:"diskSizeGB,omitempty"`

	// DiskState: The state of the snapshot.
	DiskState *DiskState `json:"diskState,omitempty"`

	// Encryption: Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys.
	Encryption *Encryption_ARM `json:"encryption,omitempty"`

	// EncryptionSettingsCollection: Encryption settings collection used be Azure Disk Encryption, can contain multiple
	// encryption settings per disk or snapshot.
	EncryptionSettingsCollection *EncryptionSettingsCollection_ARM `json:"encryptionSettingsCollection,omitempty"`

	// HyperVGeneration: The hypervisor generation of the Virtual Machine. Applicable to OS disks only.
	HyperVGeneration *SnapshotProperties_HyperVGeneration `json:"hyperVGeneration,omitempty"`

	// Incremental: Whether a snapshot is incremental. Incremental snapshots on the same disk occupy less space than full
	// snapshots and can be diffed.
	Incremental *bool `json:"incremental,omitempty"`

	// NetworkAccessPolicy: Policy for accessing the disk via network.
	NetworkAccessPolicy *NetworkAccessPolicy `json:"networkAccessPolicy,omitempty"`

	// OsType: The Operating System type.
	OsType *SnapshotProperties_OsType `json:"osType,omitempty"`

	// PurchasePlan: Purchase plan information for the image from which the source disk for the snapshot was originally created.
	PurchasePlan *PurchasePlan_ARM `json:"purchasePlan,omitempty"`
}

Snapshot resource properties.

func (*SnapshotProperties_ARM) DeepCopy

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

func (*SnapshotProperties_ARM) DeepCopyInto

func (in *SnapshotProperties_ARM) DeepCopyInto(out *SnapshotProperties_ARM)

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

type SnapshotProperties_HyperVGeneration

type SnapshotProperties_HyperVGeneration string

+kubebuilder:validation:Enum={"V1","V2"}

type SnapshotProperties_HyperVGeneration_STATUS

type SnapshotProperties_HyperVGeneration_STATUS string

type SnapshotProperties_OsType

type SnapshotProperties_OsType string

+kubebuilder:validation:Enum={"Linux","Windows"}

type SnapshotProperties_OsType_STATUS

type SnapshotProperties_OsType_STATUS string

type SnapshotProperties_STATUS_ARM

type SnapshotProperties_STATUS_ARM struct {
	// CreationData: Disk source information. CreationData information cannot be changed after the disk has been created.
	CreationData *CreationData_STATUS_ARM `json:"creationData,omitempty"`

	// DiskAccessId: ARM id of the DiskAccess resource for using private endpoints on disks.
	DiskAccessId *string `json:"diskAccessId,omitempty"`

	// DiskSizeBytes: The size of the disk in bytes. This field is read only.
	DiskSizeBytes *int `json:"diskSizeBytes,omitempty"`

	// DiskSizeGB: If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to
	// create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only
	// allowed if the disk is not attached to a running VM, and can only increase the disk's size.
	DiskSizeGB *int `json:"diskSizeGB,omitempty"`

	// DiskState: The state of the snapshot.
	DiskState *DiskState_STATUS `json:"diskState,omitempty"`

	// Encryption: Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys.
	Encryption *Encryption_STATUS_ARM `json:"encryption,omitempty"`

	// EncryptionSettingsCollection: Encryption settings collection used be Azure Disk Encryption, can contain multiple
	// encryption settings per disk or snapshot.
	EncryptionSettingsCollection *EncryptionSettingsCollection_STATUS_ARM `json:"encryptionSettingsCollection,omitempty"`

	// HyperVGeneration: The hypervisor generation of the Virtual Machine. Applicable to OS disks only.
	HyperVGeneration *SnapshotProperties_HyperVGeneration_STATUS `json:"hyperVGeneration,omitempty"`

	// Incremental: Whether a snapshot is incremental. Incremental snapshots on the same disk occupy less space than full
	// snapshots and can be diffed.
	Incremental *bool `json:"incremental,omitempty"`

	// NetworkAccessPolicy: Policy for accessing the disk via network.
	NetworkAccessPolicy *NetworkAccessPolicy_STATUS `json:"networkAccessPolicy,omitempty"`

	// OsType: The Operating System type.
	OsType *SnapshotProperties_OsType_STATUS `json:"osType,omitempty"`

	// ProvisioningState: The disk provisioning state.
	ProvisioningState *string `json:"provisioningState,omitempty"`

	// PurchasePlan: Purchase plan information for the image from which the source disk for the snapshot was originally created.
	PurchasePlan *PurchasePlan_STATUS_ARM `json:"purchasePlan,omitempty"`

	// TimeCreated: The time when the snapshot was created.
	TimeCreated *string `json:"timeCreated,omitempty"`

	// UniqueId: Unique Guid identifying the resource.
	UniqueId *string `json:"uniqueId,omitempty"`
}

Snapshot resource properties.

func (*SnapshotProperties_STATUS_ARM) DeepCopy

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

func (*SnapshotProperties_STATUS_ARM) DeepCopyInto

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

type SnapshotSku

type SnapshotSku struct {
	// Name: The sku name.
	Name *SnapshotSku_Name `json:"name,omitempty"`
}

The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS. This is an optional parameter for incremental snapshot and the default behavior is the SKU will be set to the same sku as the previous snapshot

func (*SnapshotSku) AssignProperties_From_SnapshotSku

func (snapshotSku *SnapshotSku) AssignProperties_From_SnapshotSku(source *v20200930s.SnapshotSku) error

AssignProperties_From_SnapshotSku populates our SnapshotSku from the provided source SnapshotSku

func (*SnapshotSku) AssignProperties_To_SnapshotSku

func (snapshotSku *SnapshotSku) AssignProperties_To_SnapshotSku(destination *v20200930s.SnapshotSku) error

AssignProperties_To_SnapshotSku populates the provided destination SnapshotSku from our SnapshotSku

func (*SnapshotSku) ConvertToARM

func (snapshotSku *SnapshotSku) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*SnapshotSku) DeepCopy

func (in *SnapshotSku) DeepCopy() *SnapshotSku

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

func (*SnapshotSku) DeepCopyInto

func (in *SnapshotSku) DeepCopyInto(out *SnapshotSku)

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

func (*SnapshotSku) Initialize_From_SnapshotSku_STATUS

func (snapshotSku *SnapshotSku) Initialize_From_SnapshotSku_STATUS(source *SnapshotSku_STATUS) error

Initialize_From_SnapshotSku_STATUS populates our SnapshotSku from the provided source SnapshotSku_STATUS

func (*SnapshotSku) NewEmptyARMValue

func (snapshotSku *SnapshotSku) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*SnapshotSku) PopulateFromARM

func (snapshotSku *SnapshotSku) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type SnapshotSku_ARM

type SnapshotSku_ARM struct {
	// Name: The sku name.
	Name *SnapshotSku_Name `json:"name,omitempty"`
}

The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS. This is an optional parameter for incremental snapshot and the default behavior is the SKU will be set to the same sku as the previous snapshot

func (*SnapshotSku_ARM) DeepCopy

func (in *SnapshotSku_ARM) DeepCopy() *SnapshotSku_ARM

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

func (*SnapshotSku_ARM) DeepCopyInto

func (in *SnapshotSku_ARM) DeepCopyInto(out *SnapshotSku_ARM)

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

type SnapshotSku_Name

type SnapshotSku_Name string

+kubebuilder:validation:Enum={"Premium_LRS","Standard_LRS","Standard_ZRS"}

type SnapshotSku_Name_STATUS

type SnapshotSku_Name_STATUS string

type SnapshotSku_STATUS

type SnapshotSku_STATUS struct {
	// Name: The sku name.
	Name *SnapshotSku_Name_STATUS `json:"name,omitempty"`

	// Tier: The sku tier.
	Tier *string `json:"tier,omitempty"`
}

The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS. This is an optional parameter for incremental snapshot and the default behavior is the SKU will be set to the same sku as the previous snapshot

func (*SnapshotSku_STATUS) AssignProperties_From_SnapshotSku_STATUS

func (snapshotSku *SnapshotSku_STATUS) AssignProperties_From_SnapshotSku_STATUS(source *v20200930s.SnapshotSku_STATUS) error

AssignProperties_From_SnapshotSku_STATUS populates our SnapshotSku_STATUS from the provided source SnapshotSku_STATUS

func (*SnapshotSku_STATUS) AssignProperties_To_SnapshotSku_STATUS

func (snapshotSku *SnapshotSku_STATUS) AssignProperties_To_SnapshotSku_STATUS(destination *v20200930s.SnapshotSku_STATUS) error

AssignProperties_To_SnapshotSku_STATUS populates the provided destination SnapshotSku_STATUS from our SnapshotSku_STATUS

func (*SnapshotSku_STATUS) DeepCopy

func (in *SnapshotSku_STATUS) DeepCopy() *SnapshotSku_STATUS

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

func (*SnapshotSku_STATUS) DeepCopyInto

func (in *SnapshotSku_STATUS) DeepCopyInto(out *SnapshotSku_STATUS)

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

func (*SnapshotSku_STATUS) NewEmptyARMValue

func (snapshotSku *SnapshotSku_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*SnapshotSku_STATUS) PopulateFromARM

func (snapshotSku *SnapshotSku_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type SnapshotSku_STATUS_ARM

type SnapshotSku_STATUS_ARM struct {
	// Name: The sku name.
	Name *SnapshotSku_Name_STATUS `json:"name,omitempty"`

	// Tier: The sku tier.
	Tier *string `json:"tier,omitempty"`
}

The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS. This is an optional parameter for incremental snapshot and the default behavior is the SKU will be set to the same sku as the previous snapshot

func (*SnapshotSku_STATUS_ARM) DeepCopy

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

func (*SnapshotSku_STATUS_ARM) DeepCopyInto

func (in *SnapshotSku_STATUS_ARM) DeepCopyInto(out *SnapshotSku_STATUS_ARM)

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

type Snapshot_STATUS

type Snapshot_STATUS struct {
	// Conditions: The observed state of the resource
	Conditions []conditions.Condition `json:"conditions,omitempty"`

	// CreationData: Disk source information. CreationData information cannot be changed after the disk has been created.
	CreationData *CreationData_STATUS `json:"creationData,omitempty"`

	// DiskAccessId: ARM id of the DiskAccess resource for using private endpoints on disks.
	DiskAccessId *string `json:"diskAccessId,omitempty"`

	// DiskSizeBytes: The size of the disk in bytes. This field is read only.
	DiskSizeBytes *int `json:"diskSizeBytes,omitempty"`

	// DiskSizeGB: If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to
	// create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only
	// allowed if the disk is not attached to a running VM, and can only increase the disk's size.
	DiskSizeGB *int `json:"diskSizeGB,omitempty"`

	// DiskState: The state of the snapshot.
	DiskState *DiskState_STATUS `json:"diskState,omitempty"`

	// Encryption: Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys.
	Encryption *Encryption_STATUS `json:"encryption,omitempty"`

	// EncryptionSettingsCollection: Encryption settings collection used be Azure Disk Encryption, can contain multiple
	// encryption settings per disk or snapshot.
	EncryptionSettingsCollection *EncryptionSettingsCollection_STATUS `json:"encryptionSettingsCollection,omitempty"`

	// ExtendedLocation: The extended location where the snapshot will be created. Extended location cannot be changed.
	ExtendedLocation *ExtendedLocation_STATUS `json:"extendedLocation,omitempty"`

	// HyperVGeneration: The hypervisor generation of the Virtual Machine. Applicable to OS disks only.
	HyperVGeneration *SnapshotProperties_HyperVGeneration_STATUS `json:"hyperVGeneration,omitempty"`

	// Id: Resource Id
	Id *string `json:"id,omitempty"`

	// Incremental: Whether a snapshot is incremental. Incremental snapshots on the same disk occupy less space than full
	// snapshots and can be diffed.
	Incremental *bool `json:"incremental,omitempty"`

	// Location: Resource location
	Location *string `json:"location,omitempty"`

	// ManagedBy: Unused. Always Null.
	ManagedBy *string `json:"managedBy,omitempty"`

	// Name: Resource name
	Name *string `json:"name,omitempty"`

	// NetworkAccessPolicy: Policy for accessing the disk via network.
	NetworkAccessPolicy *NetworkAccessPolicy_STATUS `json:"networkAccessPolicy,omitempty"`

	// OsType: The Operating System type.
	OsType *SnapshotProperties_OsType_STATUS `json:"osType,omitempty"`

	// ProvisioningState: The disk provisioning state.
	ProvisioningState *string `json:"provisioningState,omitempty"`

	// PurchasePlan: Purchase plan information for the image from which the source disk for the snapshot was originally created.
	PurchasePlan *PurchasePlan_STATUS `json:"purchasePlan,omitempty"`

	// Sku: The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS. This is an optional parameter for
	// incremental  snapshot and the default behavior is the SKU will be set to the same sku as the previous snapshot
	Sku *SnapshotSku_STATUS `json:"sku,omitempty"`

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

	// TimeCreated: The time when the snapshot was created.
	TimeCreated *string `json:"timeCreated,omitempty"`

	// Type: Resource type
	Type *string `json:"type,omitempty"`

	// UniqueId: Unique Guid identifying the resource.
	UniqueId *string `json:"uniqueId,omitempty"`
}

Snapshot resource.

func (*Snapshot_STATUS) AssignProperties_From_Snapshot_STATUS

func (snapshot *Snapshot_STATUS) AssignProperties_From_Snapshot_STATUS(source *v20200930s.Snapshot_STATUS) error

AssignProperties_From_Snapshot_STATUS populates our Snapshot_STATUS from the provided source Snapshot_STATUS

func (*Snapshot_STATUS) AssignProperties_To_Snapshot_STATUS

func (snapshot *Snapshot_STATUS) AssignProperties_To_Snapshot_STATUS(destination *v20200930s.Snapshot_STATUS) error

AssignProperties_To_Snapshot_STATUS populates the provided destination Snapshot_STATUS from our Snapshot_STATUS

func (*Snapshot_STATUS) ConvertStatusFrom

func (snapshot *Snapshot_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error

ConvertStatusFrom populates our Snapshot_STATUS from the provided source

func (*Snapshot_STATUS) ConvertStatusTo

func (snapshot *Snapshot_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error

ConvertStatusTo populates the provided destination from our Snapshot_STATUS

func (*Snapshot_STATUS) DeepCopy

func (in *Snapshot_STATUS) DeepCopy() *Snapshot_STATUS

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

func (*Snapshot_STATUS) DeepCopyInto

func (in *Snapshot_STATUS) DeepCopyInto(out *Snapshot_STATUS)

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

func (*Snapshot_STATUS) NewEmptyARMValue

func (snapshot *Snapshot_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*Snapshot_STATUS) PopulateFromARM

func (snapshot *Snapshot_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type Snapshot_STATUS_ARM

type Snapshot_STATUS_ARM struct {
	// ExtendedLocation: The extended location where the snapshot will be created. Extended location cannot be changed.
	ExtendedLocation *ExtendedLocation_STATUS_ARM `json:"extendedLocation,omitempty"`

	// Id: Resource Id
	Id *string `json:"id,omitempty"`

	// Location: Resource location
	Location *string `json:"location,omitempty"`

	// ManagedBy: Unused. Always Null.
	ManagedBy *string `json:"managedBy,omitempty"`

	// Name: Resource name
	Name *string `json:"name,omitempty"`

	// Properties: Snapshot resource properties.
	Properties *SnapshotProperties_STATUS_ARM `json:"properties,omitempty"`

	// Sku: The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS. This is an optional parameter for
	// incremental  snapshot and the default behavior is the SKU will be set to the same sku as the previous snapshot
	Sku *SnapshotSku_STATUS_ARM `json:"sku,omitempty"`

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

	// Type: Resource type
	Type *string `json:"type,omitempty"`
}

Snapshot resource.

func (*Snapshot_STATUS_ARM) DeepCopy

func (in *Snapshot_STATUS_ARM) DeepCopy() *Snapshot_STATUS_ARM

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

func (*Snapshot_STATUS_ARM) DeepCopyInto

func (in *Snapshot_STATUS_ARM) DeepCopyInto(out *Snapshot_STATUS_ARM)

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

type Snapshot_Spec

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

	// +kubebuilder:validation:Required
	// CreationData: Disk source information. CreationData information cannot be changed after the disk has been created.
	CreationData *CreationData `json:"creationData,omitempty"`

	// DiskAccessReference: ARM id of the DiskAccess resource for using private endpoints on disks.
	DiskAccessReference *genruntime.ResourceReference `armReference:"DiskAccessId" json:"diskAccessReference,omitempty"`

	// DiskSizeGB: If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to
	// create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only
	// allowed if the disk is not attached to a running VM, and can only increase the disk's size.
	DiskSizeGB *int `json:"diskSizeGB,omitempty"`

	// DiskState: The state of the snapshot.
	DiskState *DiskState `json:"diskState,omitempty"`

	// Encryption: Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys.
	Encryption *Encryption `json:"encryption,omitempty"`

	// EncryptionSettingsCollection: Encryption settings collection used be Azure Disk Encryption, can contain multiple
	// encryption settings per disk or snapshot.
	EncryptionSettingsCollection *EncryptionSettingsCollection `json:"encryptionSettingsCollection,omitempty"`

	// ExtendedLocation: The extended location where the snapshot will be created. Extended location cannot be changed.
	ExtendedLocation *ExtendedLocation `json:"extendedLocation,omitempty"`

	// HyperVGeneration: The hypervisor generation of the Virtual Machine. Applicable to OS disks only.
	HyperVGeneration *SnapshotProperties_HyperVGeneration `json:"hyperVGeneration,omitempty"`

	// Incremental: Whether a snapshot is incremental. Incremental snapshots on the same disk occupy less space than full
	// snapshots and can be diffed.
	Incremental *bool `json:"incremental,omitempty"`

	// +kubebuilder:validation:Required
	// Location: Resource location
	Location *string `json:"location,omitempty"`

	// NetworkAccessPolicy: Policy for accessing the disk via network.
	NetworkAccessPolicy *NetworkAccessPolicy `json:"networkAccessPolicy,omitempty"`

	// OsType: The Operating System type.
	OsType *SnapshotProperties_OsType `json:"osType,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"`

	// PurchasePlan: Purchase plan information for the image from which the source disk for the snapshot was originally created.
	PurchasePlan *PurchasePlan `json:"purchasePlan,omitempty"`

	// Sku: The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS. This is an optional parameter for
	// incremental  snapshot and the default behavior is the SKU will be set to the same sku as the previous snapshot
	Sku *SnapshotSku `json:"sku,omitempty"`

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

func (*Snapshot_Spec) AssignProperties_From_Snapshot_Spec

func (snapshot *Snapshot_Spec) AssignProperties_From_Snapshot_Spec(source *v20200930s.Snapshot_Spec) error

AssignProperties_From_Snapshot_Spec populates our Snapshot_Spec from the provided source Snapshot_Spec

func (*Snapshot_Spec) AssignProperties_To_Snapshot_Spec

func (snapshot *Snapshot_Spec) AssignProperties_To_Snapshot_Spec(destination *v20200930s.Snapshot_Spec) error

AssignProperties_To_Snapshot_Spec populates the provided destination Snapshot_Spec from our Snapshot_Spec

func (*Snapshot_Spec) ConvertSpecFrom

func (snapshot *Snapshot_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error

ConvertSpecFrom populates our Snapshot_Spec from the provided source

func (*Snapshot_Spec) ConvertSpecTo

func (snapshot *Snapshot_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error

ConvertSpecTo populates the provided destination from our Snapshot_Spec

func (*Snapshot_Spec) ConvertToARM

func (snapshot *Snapshot_Spec) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*Snapshot_Spec) DeepCopy

func (in *Snapshot_Spec) DeepCopy() *Snapshot_Spec

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

func (*Snapshot_Spec) DeepCopyInto

func (in *Snapshot_Spec) DeepCopyInto(out *Snapshot_Spec)

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

func (*Snapshot_Spec) Initialize_From_Snapshot_STATUS

func (snapshot *Snapshot_Spec) Initialize_From_Snapshot_STATUS(source *Snapshot_STATUS) error

Initialize_From_Snapshot_STATUS populates our Snapshot_Spec from the provided source Snapshot_STATUS

func (*Snapshot_Spec) NewEmptyARMValue

func (snapshot *Snapshot_Spec) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*Snapshot_Spec) OriginalVersion

func (snapshot *Snapshot_Spec) OriginalVersion() string

OriginalVersion returns the original API version used to create the resource.

func (*Snapshot_Spec) PopulateFromARM

func (snapshot *Snapshot_Spec) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

func (*Snapshot_Spec) SetAzureName

func (snapshot *Snapshot_Spec) SetAzureName(azureName string)

SetAzureName sets the Azure name of the resource

type Snapshot_Spec_ARM

type Snapshot_Spec_ARM struct {
	// ExtendedLocation: The extended location where the snapshot will be created. Extended location cannot be changed.
	ExtendedLocation *ExtendedLocation_ARM `json:"extendedLocation,omitempty"`

	// Location: Resource location
	Location *string `json:"location,omitempty"`
	Name     string  `json:"name,omitempty"`

	// Properties: Snapshot resource properties.
	Properties *SnapshotProperties_ARM `json:"properties,omitempty"`

	// Sku: The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS. This is an optional parameter for
	// incremental  snapshot and the default behavior is the SKU will be set to the same sku as the previous snapshot
	Sku *SnapshotSku_ARM `json:"sku,omitempty"`

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

func (*Snapshot_Spec_ARM) DeepCopy

func (in *Snapshot_Spec_ARM) DeepCopy() *Snapshot_Spec_ARM

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

func (*Snapshot_Spec_ARM) DeepCopyInto

func (in *Snapshot_Spec_ARM) DeepCopyInto(out *Snapshot_Spec_ARM)

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

func (Snapshot_Spec_ARM) GetAPIVersion

func (snapshot Snapshot_Spec_ARM) GetAPIVersion() string

GetAPIVersion returns the ARM API version of the resource. This is always "2020-09-30"

func (*Snapshot_Spec_ARM) GetName

func (snapshot *Snapshot_Spec_ARM) GetName() string

GetName returns the Name of the resource

func (*Snapshot_Spec_ARM) GetType

func (snapshot *Snapshot_Spec_ARM) GetType() string

GetType returns the ARM Type of the resource. This is always "Microsoft.Compute/snapshots"

type SourceVault

type SourceVault struct {
	// Reference: Resource Id
	Reference *genruntime.ResourceReference `armReference:"Id" json:"reference,omitempty"`
}

The vault id is an Azure Resource Manager Resource id in the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}

func (*SourceVault) AssignProperties_From_SourceVault

func (vault *SourceVault) AssignProperties_From_SourceVault(source *v20200930s.SourceVault) error

AssignProperties_From_SourceVault populates our SourceVault from the provided source SourceVault

func (*SourceVault) AssignProperties_To_SourceVault

func (vault *SourceVault) AssignProperties_To_SourceVault(destination *v20200930s.SourceVault) error

AssignProperties_To_SourceVault populates the provided destination SourceVault from our SourceVault

func (*SourceVault) ConvertToARM

func (vault *SourceVault) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*SourceVault) DeepCopy

func (in *SourceVault) DeepCopy() *SourceVault

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

func (*SourceVault) DeepCopyInto

func (in *SourceVault) DeepCopyInto(out *SourceVault)

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

func (*SourceVault) Initialize_From_SourceVault_STATUS

func (vault *SourceVault) Initialize_From_SourceVault_STATUS(source *SourceVault_STATUS) error

Initialize_From_SourceVault_STATUS populates our SourceVault from the provided source SourceVault_STATUS

func (*SourceVault) NewEmptyARMValue

func (vault *SourceVault) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*SourceVault) PopulateFromARM

func (vault *SourceVault) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type SourceVault_ARM

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

The vault id is an Azure Resource Manager Resource id in the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}

func (*SourceVault_ARM) DeepCopy

func (in *SourceVault_ARM) DeepCopy() *SourceVault_ARM

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

func (*SourceVault_ARM) DeepCopyInto

func (in *SourceVault_ARM) DeepCopyInto(out *SourceVault_ARM)

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

type SourceVault_STATUS

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

The vault id is an Azure Resource Manager Resource id in the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}

func (*SourceVault_STATUS) AssignProperties_From_SourceVault_STATUS

func (vault *SourceVault_STATUS) AssignProperties_From_SourceVault_STATUS(source *v20200930s.SourceVault_STATUS) error

AssignProperties_From_SourceVault_STATUS populates our SourceVault_STATUS from the provided source SourceVault_STATUS

func (*SourceVault_STATUS) AssignProperties_To_SourceVault_STATUS

func (vault *SourceVault_STATUS) AssignProperties_To_SourceVault_STATUS(destination *v20200930s.SourceVault_STATUS) error

AssignProperties_To_SourceVault_STATUS populates the provided destination SourceVault_STATUS from our SourceVault_STATUS

func (*SourceVault_STATUS) DeepCopy

func (in *SourceVault_STATUS) DeepCopy() *SourceVault_STATUS

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

func (*SourceVault_STATUS) DeepCopyInto

func (in *SourceVault_STATUS) DeepCopyInto(out *SourceVault_STATUS)

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

func (*SourceVault_STATUS) NewEmptyARMValue

func (vault *SourceVault_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*SourceVault_STATUS) PopulateFromARM

func (vault *SourceVault_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type SourceVault_STATUS_ARM

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

The vault id is an Azure Resource Manager Resource id in the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}

func (*SourceVault_STATUS_ARM) DeepCopy

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

func (*SourceVault_STATUS_ARM) DeepCopyInto

func (in *SourceVault_STATUS_ARM) DeepCopyInto(out *SourceVault_STATUS_ARM)

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

Directories

Path Synopsis
Code generated by azure-service-operator-codegen.
Code generated by azure-service-operator-codegen.

Jump to

Keyboard shortcuts

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