v1alpha1api20200930

package
v2.0.0-alpha.6 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2022 License: MIT Imports: 13 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 v1alpha1api20200930 contains API Schema definitions for the compute v1alpha1api20200930 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

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 (
	DiskSkuStatusNamePremiumLRS     = DiskSkuStatusName("Premium_LRS")
	DiskSkuStatusNameStandardLRS    = DiskSkuStatusName("Standard_LRS")
	DiskSkuStatusNameStandardSSDLRS = DiskSkuStatusName("StandardSSD_LRS")
	DiskSkuStatusNameUltraSSDLRS    = DiskSkuStatusName("UltraSSD_LRS")
)
View Source
const (
	DiskPropertiesHyperVGenerationV1 = DiskPropertiesHyperVGeneration("V1")
	DiskPropertiesHyperVGenerationV2 = DiskPropertiesHyperVGeneration("V2")
)
View Source
const (
	DiskPropertiesNetworkAccessPolicyAllowAll     = DiskPropertiesNetworkAccessPolicy("AllowAll")
	DiskPropertiesNetworkAccessPolicyAllowPrivate = DiskPropertiesNetworkAccessPolicy("AllowPrivate")
	DiskPropertiesNetworkAccessPolicyDenyAll      = DiskPropertiesNetworkAccessPolicy("DenyAll")
)
View Source
const (
	DiskPropertiesOsTypeLinux   = DiskPropertiesOsType("Linux")
	DiskPropertiesOsTypeWindows = DiskPropertiesOsType("Windows")
)
View Source
const (
	DiskPropertiesStatusHyperVGenerationV1 = DiskPropertiesStatusHyperVGeneration("V1")
	DiskPropertiesStatusHyperVGenerationV2 = DiskPropertiesStatusHyperVGeneration("V2")
)
View Source
const (
	DiskPropertiesStatusOsTypeLinux   = DiskPropertiesStatusOsType("Linux")
	DiskPropertiesStatusOsTypeWindows = DiskPropertiesStatusOsType("Windows")
)
View Source
const (
	DiskState_StatusActiveSAS     = DiskState_Status("ActiveSAS")
	DiskState_StatusActiveUpload  = DiskState_Status("ActiveUpload")
	DiskState_StatusAttached      = DiskState_Status("Attached")
	DiskState_StatusReadyToUpload = DiskState_Status("ReadyToUpload")
	DiskState_StatusReserved      = DiskState_Status("Reserved")
	DiskState_StatusUnattached    = DiskState_Status("Unattached")
)
View Source
const (
	NetworkAccessPolicy_StatusAllowAll     = NetworkAccessPolicy_Status("AllowAll")
	NetworkAccessPolicy_StatusAllowPrivate = NetworkAccessPolicy_Status("AllowPrivate")
	NetworkAccessPolicy_StatusDenyAll      = NetworkAccessPolicy_Status("DenyAll")
)
View Source
const (
	CreationDataCreateOptionAttach    = CreationDataCreateOption("Attach")
	CreationDataCreateOptionCopy      = CreationDataCreateOption("Copy")
	CreationDataCreateOptionEmpty     = CreationDataCreateOption("Empty")
	CreationDataCreateOptionFromImage = CreationDataCreateOption("FromImage")
	CreationDataCreateOptionImport    = CreationDataCreateOption("Import")
	CreationDataCreateOptionRestore   = CreationDataCreateOption("Restore")
	CreationDataCreateOptionUpload    = CreationDataCreateOption("Upload")
)
View Source
const (
	CreationDataStatusCreateOptionAttach    = CreationDataStatusCreateOption("Attach")
	CreationDataStatusCreateOptionCopy      = CreationDataStatusCreateOption("Copy")
	CreationDataStatusCreateOptionEmpty     = CreationDataStatusCreateOption("Empty")
	CreationDataStatusCreateOptionFromImage = CreationDataStatusCreateOption("FromImage")
	CreationDataStatusCreateOptionImport    = CreationDataStatusCreateOption("Import")
	CreationDataStatusCreateOptionRestore   = CreationDataStatusCreateOption("Restore")
	CreationDataStatusCreateOptionUpload    = CreationDataStatusCreateOption("Upload")
)
View Source
const (
	EncryptionTypeEncryptionAtRestWithCustomerKey             = EncryptionType("EncryptionAtRestWithCustomerKey")
	EncryptionTypeEncryptionAtRestWithPlatformAndCustomerKeys = EncryptionType("EncryptionAtRestWithPlatformAndCustomerKeys")
	EncryptionTypeEncryptionAtRestWithPlatformKey             = EncryptionType("EncryptionAtRestWithPlatformKey")
)
View Source
const (
	EncryptionType_StatusEncryptionAtRestWithCustomerKey             = EncryptionType_Status("EncryptionAtRestWithCustomerKey")
	EncryptionType_StatusEncryptionAtRestWithPlatformAndCustomerKeys = EncryptionType_Status("EncryptionAtRestWithPlatformAndCustomerKeys")
	EncryptionType_StatusEncryptionAtRestWithPlatformKey             = EncryptionType_Status("EncryptionAtRestWithPlatformKey")
)
View Source
const (
	DiskSkuNamePremiumLRS     = DiskSkuName("Premium_LRS")
	DiskSkuNameStandardLRS    = DiskSkuName("Standard_LRS")
	DiskSkuNameStandardSSDLRS = DiskSkuName("StandardSSD_LRS")
	DiskSkuNameUltraSSDLRS    = DiskSkuName("UltraSSD_LRS")
)
View Source
const (
	SnapshotSkuStatusNamePremiumLRS  = SnapshotSkuStatusName("Premium_LRS")
	SnapshotSkuStatusNameStandardLRS = SnapshotSkuStatusName("Standard_LRS")
	SnapshotSkuStatusNameStandardZRS = SnapshotSkuStatusName("Standard_ZRS")
)
View Source
const (
	SnapshotPropertiesDiskStateActiveSAS     = SnapshotPropertiesDiskState("ActiveSAS")
	SnapshotPropertiesDiskStateActiveUpload  = SnapshotPropertiesDiskState("ActiveUpload")
	SnapshotPropertiesDiskStateAttached      = SnapshotPropertiesDiskState("Attached")
	SnapshotPropertiesDiskStateReadyToUpload = SnapshotPropertiesDiskState("ReadyToUpload")
	SnapshotPropertiesDiskStateReserved      = SnapshotPropertiesDiskState("Reserved")
	SnapshotPropertiesDiskStateUnattached    = SnapshotPropertiesDiskState("Unattached")
)
View Source
const (
	SnapshotPropertiesHyperVGenerationV1 = SnapshotPropertiesHyperVGeneration("V1")
	SnapshotPropertiesHyperVGenerationV2 = SnapshotPropertiesHyperVGeneration("V2")
)
View Source
const (
	SnapshotPropertiesNetworkAccessPolicyAllowAll     = SnapshotPropertiesNetworkAccessPolicy("AllowAll")
	SnapshotPropertiesNetworkAccessPolicyAllowPrivate = SnapshotPropertiesNetworkAccessPolicy("AllowPrivate")
	SnapshotPropertiesNetworkAccessPolicyDenyAll      = SnapshotPropertiesNetworkAccessPolicy("DenyAll")
)
View Source
const (
	SnapshotPropertiesOsTypeLinux   = SnapshotPropertiesOsType("Linux")
	SnapshotPropertiesOsTypeWindows = SnapshotPropertiesOsType("Windows")
)
View Source
const (
	SnapshotPropertiesStatusHyperVGenerationV1 = SnapshotPropertiesStatusHyperVGeneration("V1")
	SnapshotPropertiesStatusHyperVGenerationV2 = SnapshotPropertiesStatusHyperVGeneration("V2")
)
View Source
const (
	SnapshotPropertiesStatusOsTypeLinux   = SnapshotPropertiesStatusOsType("Linux")
	SnapshotPropertiesStatusOsTypeWindows = SnapshotPropertiesStatusOsType("Windows")
)
View Source
const (
	SnapshotSkuNamePremiumLRS  = SnapshotSkuName("Premium_LRS")
	SnapshotSkuNameStandardLRS = SnapshotSkuName("Standard_LRS")
	SnapshotSkuNameStandardZRS = SnapshotSkuName("Standard_ZRS")
)
View Source
const DisksSpecAPIVersion20200930 = DisksSpecAPIVersion("2020-09-30")
View Source
const ExtendedLocationTypeEdgeZone = ExtendedLocationType("EdgeZone")
View Source
const ExtendedLocationType_StatusEdgeZone = ExtendedLocationType_Status("EdgeZone")
View Source
const SnapshotsSpecAPIVersion20200930 = SnapshotsSpecAPIVersion("2020-09-30")

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "compute.azure.com", Version: "v1alpha1api20200930"}

	// 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 CreationData

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

	//GalleryImageReference: The source image used for creating the disk.
	GalleryImageReference *ImageDiskReference `json:"galleryImageReference,omitempty"`

	//ImageReference: The source image used for creating the disk.
	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"`
}

Generated from: https://schema.management.azure.com/schemas/2020-09-30/Microsoft.Compute.json#/definitions/CreationData

func (*CreationData) AssignPropertiesFromCreationData

func (data *CreationData) AssignPropertiesFromCreationData(source *v1alpha1api20200930storage.CreationData) error

AssignPropertiesFromCreationData populates our CreationData from the provided source CreationData

func (*CreationData) AssignPropertiesToCreationData

func (data *CreationData) AssignPropertiesToCreationData(destination *v1alpha1api20200930storage.CreationData) error

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

type CreationDataARM struct {
	//CreateOption: This enumerates the possible sources of a disk's creation.
	CreateOption CreationDataCreateOption `json:"createOption"`

	//GalleryImageReference: The source image used for creating the disk.
	GalleryImageReference *ImageDiskReferenceARM `json:"galleryImageReference,omitempty"`

	//ImageReference: The source image used for creating the disk.
	ImageReference *ImageDiskReferenceARM `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"`
}

Generated from: https://schema.management.azure.com/schemas/2020-09-30/Microsoft.Compute.json#/definitions/CreationData

func (*CreationDataARM) DeepCopy

func (in *CreationDataARM) DeepCopy() *CreationDataARM

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

func (*CreationDataARM) DeepCopyInto

func (in *CreationDataARM) DeepCopyInto(out *CreationDataARM)

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

type CreationDataCreateOption

type CreationDataCreateOption string

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

type CreationDataStatusCreateOption

type CreationDataStatusCreateOption string

type CreationData_Status

type CreationData_Status struct {
	// +kubebuilder:validation:Required
	//CreateOption: This enumerates the possible sources of a disk's creation.
	CreateOption CreationDataStatusCreateOption `json:"createOption"`

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

func (*CreationData_Status) AssignPropertiesFromCreationDataStatus

func (data *CreationData_Status) AssignPropertiesFromCreationDataStatus(source *v1alpha1api20200930storage.CreationData_Status) error

AssignPropertiesFromCreationDataStatus populates our CreationData_Status from the provided source CreationData_Status

func (*CreationData_Status) AssignPropertiesToCreationDataStatus

func (data *CreationData_Status) AssignPropertiesToCreationDataStatus(destination *v1alpha1api20200930storage.CreationData_Status) error

AssignPropertiesToCreationDataStatus 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_StatusARM

type CreationData_StatusARM struct {
	//CreateOption: This enumerates the possible sources of a disk's creation.
	CreateOption CreationDataStatusCreateOption `json:"createOption"`

	//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_StatusARM `json:"galleryImageReference,omitempty"`

	//ImageReference: Disk source information.
	ImageReference *ImageDiskReference_StatusARM `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"`
}

func (*CreationData_StatusARM) DeepCopy

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

func (*CreationData_StatusARM) DeepCopyInto

func (in *CreationData_StatusARM) DeepCopyInto(out *CreationData_StatusARM)

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              Disks_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" Generated from: https://schema.management.azure.com/schemas/2020-09-30/Microsoft.Compute.json#/resourceDefinitions/disks

func (*Disk) AssignPropertiesFromDisk

func (disk *Disk) AssignPropertiesFromDisk(source *v1alpha1api20200930storage.Disk) error

AssignPropertiesFromDisk populates our Disk from the provided source Disk

func (*Disk) AssignPropertiesToDisk

func (disk *Disk) AssignPropertiesToDisk(destination *v1alpha1api20200930storage.Disk) error

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

func (disk *Disk) GetResourceKind() genruntime.ResourceKind

GetResourceKind returns the kind 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) GetType

func (disk *Disk) GetType() string

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

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, or nil if there is no 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() error

ValidateCreate validates the creation of the resource

func (*Disk) ValidateDelete

func (disk *Disk) ValidateDelete() error

ValidateDelete validates the deletion of the resource

func (*Disk) ValidateUpdate

func (disk *Disk) ValidateUpdate(old runtime.Object) 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 Generated from: https://schema.management.azure.com/schemas/2020-09-30/Microsoft.Compute.json#/resourceDefinitions/disks

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 DiskPropertiesARM

type DiskPropertiesARM 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: Data used when creating a disk.
	CreationData CreationDataARM `json:"creationData"`
	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 at rest settings for disk or snapshot
	Encryption *EncryptionARM `json:"encryption,omitempty"`

	//EncryptionSettingsCollection: Encryption settings for disk or snapshot
	EncryptionSettingsCollection *EncryptionSettingsCollectionARM `json:"encryptionSettingsCollection,omitempty"`

	//HyperVGeneration: The hypervisor generation of the Virtual Machine. Applicable
	//to OS disks only.
	HyperVGeneration *DiskPropertiesHyperVGeneration `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 *DiskPropertiesNetworkAccessPolicy `json:"networkAccessPolicy,omitempty"`

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

	//PurchasePlan: Used for establishing the purchase context of any 3rd Party
	//artifact through MarketPlace.
	PurchasePlan *PurchasePlanARM `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"`
}

Generated from: https://schema.management.azure.com/schemas/2020-09-30/Microsoft.Compute.json#/definitions/DiskProperties

func (*DiskPropertiesARM) DeepCopy

func (in *DiskPropertiesARM) DeepCopy() *DiskPropertiesARM

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

func (*DiskPropertiesARM) DeepCopyInto

func (in *DiskPropertiesARM) DeepCopyInto(out *DiskPropertiesARM)

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

type DiskPropertiesHyperVGeneration

type DiskPropertiesHyperVGeneration string

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

type DiskPropertiesNetworkAccessPolicy

type DiskPropertiesNetworkAccessPolicy string

+kubebuilder:validation:Enum={"AllowAll","AllowPrivate","DenyAll"}

type DiskPropertiesOsType

type DiskPropertiesOsType string

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

type DiskPropertiesStatusHyperVGeneration

type DiskPropertiesStatusHyperVGeneration string

type DiskPropertiesStatusOsType

type DiskPropertiesStatusOsType string

type DiskProperties_StatusARM

type DiskProperties_StatusARM 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_StatusARM `json:"creationData"`

	//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_StatusARM `json:"encryption,omitempty"`

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

	//HyperVGeneration: The hypervisor generation of the Virtual Machine. Applicable
	//to OS disks only.
	HyperVGeneration *DiskPropertiesStatusHyperVGeneration `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 *NetworkAccessPolicy_Status `json:"networkAccessPolicy,omitempty"`

	//OsType: The Operating System type.
	OsType *DiskPropertiesStatusOsType `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_StatusARM `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_StatusARM `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"`
}

func (*DiskProperties_StatusARM) DeepCopy

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

func (*DiskProperties_StatusARM) DeepCopyInto

func (in *DiskProperties_StatusARM) DeepCopyInto(out *DiskProperties_StatusARM)

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 *DiskSkuName `json:"name,omitempty"`
}

Generated from: https://schema.management.azure.com/schemas/2020-09-30/Microsoft.Compute.json#/definitions/DiskSku

func (*DiskSku) AssignPropertiesFromDiskSku

func (diskSku *DiskSku) AssignPropertiesFromDiskSku(source *v1alpha1api20200930storage.DiskSku) error

AssignPropertiesFromDiskSku populates our DiskSku from the provided source DiskSku

func (*DiskSku) AssignPropertiesToDiskSku

func (diskSku *DiskSku) AssignPropertiesToDiskSku(destination *v1alpha1api20200930storage.DiskSku) error

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

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

Generated from: https://schema.management.azure.com/schemas/2020-09-30/Microsoft.Compute.json#/definitions/DiskSku

func (*DiskSkuARM) DeepCopy

func (in *DiskSkuARM) DeepCopy() *DiskSkuARM

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

func (*DiskSkuARM) DeepCopyInto

func (in *DiskSkuARM) DeepCopyInto(out *DiskSkuARM)

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

type DiskSkuName

type DiskSkuName string

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

type DiskSkuStatusName

type DiskSkuStatusName string

type DiskSku_Status

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

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

func (*DiskSku_Status) AssignPropertiesFromDiskSkuStatus

func (diskSku *DiskSku_Status) AssignPropertiesFromDiskSkuStatus(source *v1alpha1api20200930storage.DiskSku_Status) error

AssignPropertiesFromDiskSkuStatus populates our DiskSku_Status from the provided source DiskSku_Status

func (*DiskSku_Status) AssignPropertiesToDiskSkuStatus

func (diskSku *DiskSku_Status) AssignPropertiesToDiskSkuStatus(destination *v1alpha1api20200930storage.DiskSku_Status) error

AssignPropertiesToDiskSkuStatus 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_StatusARM

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

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

func (*DiskSku_StatusARM) DeepCopy

func (in *DiskSku_StatusARM) DeepCopy() *DiskSku_StatusARM

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

func (*DiskSku_StatusARM) DeepCopyInto

func (in *DiskSku_StatusARM) DeepCopyInto(out *DiskSku_StatusARM)

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

type DiskState_Status

type DiskState_Status string

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 *DiskPropertiesStatusHyperVGeneration `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 *NetworkAccessPolicy_Status `json:"networkAccessPolicy,omitempty"`

	//OsType: The Operating System type.
	OsType *DiskPropertiesStatusOsType `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       *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"`
}

func (*Disk_Status) AssignPropertiesFromDiskStatus

func (disk *Disk_Status) AssignPropertiesFromDiskStatus(source *v1alpha1api20200930storage.Disk_Status) error

AssignPropertiesFromDiskStatus populates our Disk_Status from the provided source Disk_Status

func (*Disk_Status) AssignPropertiesToDiskStatus

func (disk *Disk_Status) AssignPropertiesToDiskStatus(destination *v1alpha1api20200930storage.Disk_Status) error

AssignPropertiesToDiskStatus 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_StatusARM

type Disk_StatusARM struct {
	//ExtendedLocation: The extended location where the disk will be created. Extended
	//location cannot be changed.
	ExtendedLocation *ExtendedLocation_StatusARM `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 *DiskProperties_StatusARM `json:"properties,omitempty"`
	Sku        *DiskSku_StatusARM        `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"`
}

func (*Disk_StatusARM) DeepCopy

func (in *Disk_StatusARM) DeepCopy() *Disk_StatusARM

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

func (*Disk_StatusARM) DeepCopyInto

func (in *Disk_StatusARM) DeepCopyInto(out *Disk_StatusARM)

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

type DisksSpecAPIVersion

type DisksSpecAPIVersion string

+kubebuilder:validation:Enum={"2020-09-30"}

type Disks_Spec

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

	//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: Data used when creating a disk.
	CreationData CreationData `json:"creationData"`

	//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 at rest settings for disk or snapshot
	Encryption *Encryption `json:"encryption,omitempty"`

	//EncryptionSettingsCollection: Encryption settings for disk or snapshot
	EncryptionSettingsCollection *EncryptionSettingsCollection `json:"encryptionSettingsCollection,omitempty"`

	//ExtendedLocation: The complex type of the extended location.
	ExtendedLocation *ExtendedLocation `json:"extendedLocation,omitempty"`

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

	//Location: Location to deploy resource to
	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 *DiskPropertiesNetworkAccessPolicy `json:"networkAccessPolicy,omitempty"`

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

	// +kubebuilder:validation:Required
	Owner genruntime.KnownResourceReference `group:"resources.azure.com" json:"owner" kind:"ResourceGroup"`

	//PurchasePlan: Used for establishing the purchase context of any 3rd Party
	//artifact through MarketPlace.
	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: Name-value pairs to add to the resource
	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 (*Disks_Spec) AssignPropertiesFromDisksSpec

func (disks *Disks_Spec) AssignPropertiesFromDisksSpec(source *v1alpha1api20200930storage.Disks_Spec) error

AssignPropertiesFromDisksSpec populates our Disks_Spec from the provided source Disks_Spec

func (*Disks_Spec) AssignPropertiesToDisksSpec

func (disks *Disks_Spec) AssignPropertiesToDisksSpec(destination *v1alpha1api20200930storage.Disks_Spec) error

AssignPropertiesToDisksSpec populates the provided destination Disks_Spec from our Disks_Spec

func (*Disks_Spec) ConvertSpecFrom

func (disks *Disks_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error

ConvertSpecFrom populates our Disks_Spec from the provided source

func (*Disks_Spec) ConvertSpecTo

func (disks *Disks_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error

ConvertSpecTo populates the provided destination from our Disks_Spec

func (*Disks_Spec) ConvertToARM

func (disks *Disks_Spec) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*Disks_Spec) DeepCopy

func (in *Disks_Spec) DeepCopy() *Disks_Spec

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

func (*Disks_Spec) DeepCopyInto

func (in *Disks_Spec) DeepCopyInto(out *Disks_Spec)

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

func (*Disks_Spec) NewEmptyARMValue

func (disks *Disks_Spec) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*Disks_Spec) OriginalVersion

func (disks *Disks_Spec) OriginalVersion() string

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

func (*Disks_Spec) PopulateFromARM

func (disks *Disks_Spec) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

func (*Disks_Spec) SetAzureName

func (disks *Disks_Spec) SetAzureName(azureName string)

SetAzureName sets the Azure name of the resource

type Disks_SpecARM

type Disks_SpecARM struct {
	//ExtendedLocation: The complex type of the extended location.
	ExtendedLocation *ExtendedLocationARM `json:"extendedLocation,omitempty"`

	//Location: Location to deploy resource to
	Location string `json:"location,omitempty"`

	//Name: The name of the managed disk that is being created. The name can't be
	//changed after the disk is created. Supported characters for the name are a-z,
	//A-Z, 0-9 and _. The maximum name length is 80 characters.
	Name string `json:"name"`

	//Properties: Disk resource properties.
	Properties DiskPropertiesARM `json:"properties"`

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

	//Tags: Name-value pairs to add to the resource
	Tags map[string]string `json:"tags,omitempty"`

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

func (*Disks_SpecARM) DeepCopy

func (in *Disks_SpecARM) DeepCopy() *Disks_SpecARM

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

func (*Disks_SpecARM) DeepCopyInto

func (in *Disks_SpecARM) DeepCopyInto(out *Disks_SpecARM)

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

func (Disks_SpecARM) GetAPIVersion

func (disks Disks_SpecARM) GetAPIVersion() string

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

func (Disks_SpecARM) GetName

func (disks Disks_SpecARM) GetName() string

GetName returns the Name of the resource

func (Disks_SpecARM) GetType

func (disks Disks_SpecARM) 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                       *EncryptionType               `json:"type,omitempty"`
}

Generated from: https://schema.management.azure.com/schemas/2020-09-30/Microsoft.Compute.json#/definitions/Encryption

func (*Encryption) AssignPropertiesFromEncryption

func (encryption *Encryption) AssignPropertiesFromEncryption(source *v1alpha1api20200930storage.Encryption) error

AssignPropertiesFromEncryption populates our Encryption from the provided source Encryption

func (*Encryption) AssignPropertiesToEncryption

func (encryption *Encryption) AssignPropertiesToEncryption(destination *v1alpha1api20200930storage.Encryption) error

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

type EncryptionARM struct {
	DiskEncryptionSetId *string         `json:"diskEncryptionSetId,omitempty"`
	Type                *EncryptionType `json:"type,omitempty"`
}

Generated from: https://schema.management.azure.com/schemas/2020-09-30/Microsoft.Compute.json#/definitions/Encryption

func (*EncryptionARM) DeepCopy

func (in *EncryptionARM) DeepCopy() *EncryptionARM

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

func (*EncryptionARM) DeepCopyInto

func (in *EncryptionARM) DeepCopyInto(out *EncryptionARM)

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

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

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

Generated from: https://schema.management.azure.com/schemas/2020-09-30/Microsoft.Compute.json#/definitions/EncryptionSettingsCollection

func (*EncryptionSettingsCollection) AssignPropertiesFromEncryptionSettingsCollection

func (collection *EncryptionSettingsCollection) AssignPropertiesFromEncryptionSettingsCollection(source *v1alpha1api20200930storage.EncryptionSettingsCollection) error

AssignPropertiesFromEncryptionSettingsCollection populates our EncryptionSettingsCollection from the provided source EncryptionSettingsCollection

func (*EncryptionSettingsCollection) AssignPropertiesToEncryptionSettingsCollection

func (collection *EncryptionSettingsCollection) AssignPropertiesToEncryptionSettingsCollection(destination *v1alpha1api20200930storage.EncryptionSettingsCollection) error

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

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

	//EncryptionSettings: A collection of encryption settings, one for each disk
	//volume.
	EncryptionSettings []EncryptionSettingsElementARM `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"`
}

Generated from: https://schema.management.azure.com/schemas/2020-09-30/Microsoft.Compute.json#/definitions/EncryptionSettingsCollection

func (*EncryptionSettingsCollectionARM) DeepCopy

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

func (*EncryptionSettingsCollectionARM) 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 {
	// +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"`

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

func (*EncryptionSettingsCollection_Status) AssignPropertiesFromEncryptionSettingsCollectionStatus

func (collection *EncryptionSettingsCollection_Status) AssignPropertiesFromEncryptionSettingsCollectionStatus(source *v1alpha1api20200930storage.EncryptionSettingsCollection_Status) error

AssignPropertiesFromEncryptionSettingsCollectionStatus populates our EncryptionSettingsCollection_Status from the provided source EncryptionSettingsCollection_Status

func (*EncryptionSettingsCollection_Status) AssignPropertiesToEncryptionSettingsCollectionStatus

func (collection *EncryptionSettingsCollection_Status) AssignPropertiesToEncryptionSettingsCollectionStatus(destination *v1alpha1api20200930storage.EncryptionSettingsCollection_Status) error

AssignPropertiesToEncryptionSettingsCollectionStatus 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_StatusARM

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

	//EncryptionSettings: A collection of encryption settings, one for each disk
	//volume.
	EncryptionSettings []EncryptionSettingsElement_StatusARM `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"`
}

func (*EncryptionSettingsCollection_StatusARM) DeepCopy

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

func (*EncryptionSettingsCollection_StatusARM) 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 encryption key
	DiskEncryptionKey *KeyVaultAndSecretReference `json:"diskEncryptionKey,omitempty"`

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

Generated from: https://schema.management.azure.com/schemas/2020-09-30/Microsoft.Compute.json#/definitions/EncryptionSettingsElement

func (*EncryptionSettingsElement) AssignPropertiesFromEncryptionSettingsElement

func (element *EncryptionSettingsElement) AssignPropertiesFromEncryptionSettingsElement(source *v1alpha1api20200930storage.EncryptionSettingsElement) error

AssignPropertiesFromEncryptionSettingsElement populates our EncryptionSettingsElement from the provided source EncryptionSettingsElement

func (*EncryptionSettingsElement) AssignPropertiesToEncryptionSettingsElement

func (element *EncryptionSettingsElement) AssignPropertiesToEncryptionSettingsElement(destination *v1alpha1api20200930storage.EncryptionSettingsElement) error

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

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

	//KeyEncryptionKey: Key Vault Key Url and vault id of KeK, KeK is optional and
	//when provided is used to unwrap the encryptionKey
	KeyEncryptionKey *KeyVaultAndKeyReferenceARM `json:"keyEncryptionKey,omitempty"`
}

Generated from: https://schema.management.azure.com/schemas/2020-09-30/Microsoft.Compute.json#/definitions/EncryptionSettingsElement

func (*EncryptionSettingsElementARM) DeepCopy

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

func (*EncryptionSettingsElementARM) 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"`
}

func (*EncryptionSettingsElement_Status) AssignPropertiesFromEncryptionSettingsElementStatus

func (element *EncryptionSettingsElement_Status) AssignPropertiesFromEncryptionSettingsElementStatus(source *v1alpha1api20200930storage.EncryptionSettingsElement_Status) error

AssignPropertiesFromEncryptionSettingsElementStatus populates our EncryptionSettingsElement_Status from the provided source EncryptionSettingsElement_Status

func (*EncryptionSettingsElement_Status) AssignPropertiesToEncryptionSettingsElementStatus

func (element *EncryptionSettingsElement_Status) AssignPropertiesToEncryptionSettingsElementStatus(destination *v1alpha1api20200930storage.EncryptionSettingsElement_Status) error

AssignPropertiesToEncryptionSettingsElementStatus 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_StatusARM

type EncryptionSettingsElement_StatusARM struct {
	//DiskEncryptionKey: Key Vault Secret Url and vault id of the disk encryption key
	DiskEncryptionKey *KeyVaultAndSecretReference_StatusARM `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_StatusARM `json:"keyEncryptionKey,omitempty"`
}

func (*EncryptionSettingsElement_StatusARM) DeepCopy

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

func (*EncryptionSettingsElement_StatusARM) DeepCopyInto

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

type EncryptionType

type EncryptionType string

+kubebuilder:validation:Enum={"EncryptionAtRestWithCustomerKey","EncryptionAtRestWithPlatformAndCustomerKeys","EncryptionAtRestWithPlatformKey"}

type EncryptionType_Status

type EncryptionType_Status string

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                *EncryptionType_Status `json:"type,omitempty"`
}

func (*Encryption_Status) AssignPropertiesFromEncryptionStatus

func (encryption *Encryption_Status) AssignPropertiesFromEncryptionStatus(source *v1alpha1api20200930storage.Encryption_Status) error

AssignPropertiesFromEncryptionStatus populates our Encryption_Status from the provided source Encryption_Status

func (*Encryption_Status) AssignPropertiesToEncryptionStatus

func (encryption *Encryption_Status) AssignPropertiesToEncryptionStatus(destination *v1alpha1api20200930storage.Encryption_Status) error

AssignPropertiesToEncryptionStatus 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_StatusARM

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

func (*Encryption_StatusARM) DeepCopy

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

func (*Encryption_StatusARM) DeepCopyInto

func (in *Encryption_StatusARM) DeepCopyInto(out *Encryption_StatusARM)

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

Generated from: https://schema.management.azure.com/schemas/2020-09-30/Microsoft.Compute.json#/definitions/ExtendedLocation

func (*ExtendedLocation) AssignPropertiesFromExtendedLocation

func (location *ExtendedLocation) AssignPropertiesFromExtendedLocation(source *v1alpha1api20200930storage.ExtendedLocation) error

AssignPropertiesFromExtendedLocation populates our ExtendedLocation from the provided source ExtendedLocation

func (*ExtendedLocation) AssignPropertiesToExtendedLocation

func (location *ExtendedLocation) AssignPropertiesToExtendedLocation(destination *v1alpha1api20200930storage.ExtendedLocation) error

AssignPropertiesToExtendedLocation populates the provided destination ExtendedLocation from our ExtendedLocation

func (*ExtendedLocation) ConvertToARM

func (location *ExtendedLocation) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*ExtendedLocation) DeepCopy

func (in *ExtendedLocation) DeepCopy() *ExtendedLocation

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

func (*ExtendedLocation) DeepCopyInto

func (in *ExtendedLocation) DeepCopyInto(out *ExtendedLocation)

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

func (*ExtendedLocation) NewEmptyARMValue

func (location *ExtendedLocation) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ExtendedLocation) PopulateFromARM

func (location *ExtendedLocation) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ExtendedLocationARM

type ExtendedLocationARM 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"`
}

Generated from: https://schema.management.azure.com/schemas/2020-09-30/Microsoft.Compute.json#/definitions/ExtendedLocation

func (*ExtendedLocationARM) DeepCopy

func (in *ExtendedLocationARM) DeepCopy() *ExtendedLocationARM

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

func (*ExtendedLocationARM) DeepCopyInto

func (in *ExtendedLocationARM) DeepCopyInto(out *ExtendedLocationARM)

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

type ExtendedLocationType

type ExtendedLocationType string

+kubebuilder:validation:Enum={"EdgeZone"}

type ExtendedLocationType_Status

type ExtendedLocationType_Status string

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

func (*ExtendedLocation_Status) AssignPropertiesFromExtendedLocationStatus

func (location *ExtendedLocation_Status) AssignPropertiesFromExtendedLocationStatus(source *v1alpha1api20200930storage.ExtendedLocation_Status) error

AssignPropertiesFromExtendedLocationStatus populates our ExtendedLocation_Status from the provided source ExtendedLocation_Status

func (*ExtendedLocation_Status) AssignPropertiesToExtendedLocationStatus

func (location *ExtendedLocation_Status) AssignPropertiesToExtendedLocationStatus(destination *v1alpha1api20200930storage.ExtendedLocation_Status) error

AssignPropertiesToExtendedLocationStatus 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_StatusARM

type ExtendedLocation_StatusARM 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"`
}

func (*ExtendedLocation_StatusARM) DeepCopy

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

func (*ExtendedLocation_StatusARM) 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"`
}

Generated from: https://schema.management.azure.com/schemas/2020-09-30/Microsoft.Compute.json#/definitions/ImageDiskReference

func (*ImageDiskReference) AssignPropertiesFromImageDiskReference

func (reference *ImageDiskReference) AssignPropertiesFromImageDiskReference(source *v1alpha1api20200930storage.ImageDiskReference) error

AssignPropertiesFromImageDiskReference populates our ImageDiskReference from the provided source ImageDiskReference

func (*ImageDiskReference) AssignPropertiesToImageDiskReference

func (reference *ImageDiskReference) AssignPropertiesToImageDiskReference(destination *v1alpha1api20200930storage.ImageDiskReference) error

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

type ImageDiskReferenceARM struct {
	Id string `json:"id"`

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

Generated from: https://schema.management.azure.com/schemas/2020-09-30/Microsoft.Compute.json#/definitions/ImageDiskReference

func (*ImageDiskReferenceARM) DeepCopy

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

func (*ImageDiskReferenceARM) DeepCopyInto

func (in *ImageDiskReferenceARM) DeepCopyInto(out *ImageDiskReferenceARM)

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

type ImageDiskReference_Status

type ImageDiskReference_Status struct {
	// +kubebuilder:validation:Required
	//Id: A relative uri containing either a Platform Image Repository or user image
	//reference.
	Id string `json:"id"`

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

func (*ImageDiskReference_Status) AssignPropertiesFromImageDiskReferenceStatus

func (reference *ImageDiskReference_Status) AssignPropertiesFromImageDiskReferenceStatus(source *v1alpha1api20200930storage.ImageDiskReference_Status) error

AssignPropertiesFromImageDiskReferenceStatus populates our ImageDiskReference_Status from the provided source ImageDiskReference_Status

func (*ImageDiskReference_Status) AssignPropertiesToImageDiskReferenceStatus

func (reference *ImageDiskReference_Status) AssignPropertiesToImageDiskReferenceStatus(destination *v1alpha1api20200930storage.ImageDiskReference_Status) error

AssignPropertiesToImageDiskReferenceStatus 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_StatusARM

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

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

func (*ImageDiskReference_StatusARM) DeepCopy

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

func (*ImageDiskReference_StatusARM) 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"`

	// +kubebuilder:validation:Required
	//SourceVault: The vault id is an Azure Resource Manager Resource id in the form
	///subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}
	SourceVault SourceVault `json:"sourceVault"`
}

Generated from: https://schema.management.azure.com/schemas/2020-09-30/Microsoft.Compute.json#/definitions/KeyVaultAndKeyReference

func (*KeyVaultAndKeyReference) AssignPropertiesFromKeyVaultAndKeyReference

func (reference *KeyVaultAndKeyReference) AssignPropertiesFromKeyVaultAndKeyReference(source *v1alpha1api20200930storage.KeyVaultAndKeyReference) error

AssignPropertiesFromKeyVaultAndKeyReference populates our KeyVaultAndKeyReference from the provided source KeyVaultAndKeyReference

func (*KeyVaultAndKeyReference) AssignPropertiesToKeyVaultAndKeyReference

func (reference *KeyVaultAndKeyReference) AssignPropertiesToKeyVaultAndKeyReference(destination *v1alpha1api20200930storage.KeyVaultAndKeyReference) error

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

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

	//SourceVault: The vault id is an Azure Resource Manager Resource id in the form
	///subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}
	SourceVault SourceVaultARM `json:"sourceVault"`
}

Generated from: https://schema.management.azure.com/schemas/2020-09-30/Microsoft.Compute.json#/definitions/KeyVaultAndKeyReference

func (*KeyVaultAndKeyReferenceARM) DeepCopy

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

func (*KeyVaultAndKeyReferenceARM) 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 {
	// +kubebuilder:validation:Required
	//KeyUrl: Url pointing to a key or secret in KeyVault
	KeyUrl string `json:"keyUrl"`

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

func (*KeyVaultAndKeyReference_Status) AssignPropertiesFromKeyVaultAndKeyReferenceStatus

func (reference *KeyVaultAndKeyReference_Status) AssignPropertiesFromKeyVaultAndKeyReferenceStatus(source *v1alpha1api20200930storage.KeyVaultAndKeyReference_Status) error

AssignPropertiesFromKeyVaultAndKeyReferenceStatus populates our KeyVaultAndKeyReference_Status from the provided source KeyVaultAndKeyReference_Status

func (*KeyVaultAndKeyReference_Status) AssignPropertiesToKeyVaultAndKeyReferenceStatus

func (reference *KeyVaultAndKeyReference_Status) AssignPropertiesToKeyVaultAndKeyReferenceStatus(destination *v1alpha1api20200930storage.KeyVaultAndKeyReference_Status) error

AssignPropertiesToKeyVaultAndKeyReferenceStatus 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_StatusARM

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

	//SourceVault: Resource id of the KeyVault containing the key or secret
	SourceVault SourceVault_StatusARM `json:"sourceVault"`
}

func (*KeyVaultAndKeyReference_StatusARM) DeepCopy

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

func (*KeyVaultAndKeyReference_StatusARM) 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"`

	// +kubebuilder:validation:Required
	//SourceVault: The vault id is an Azure Resource Manager Resource id in the form
	///subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}
	SourceVault SourceVault `json:"sourceVault"`
}

Generated from: https://schema.management.azure.com/schemas/2020-09-30/Microsoft.Compute.json#/definitions/KeyVaultAndSecretReference

func (*KeyVaultAndSecretReference) AssignPropertiesFromKeyVaultAndSecretReference

func (reference *KeyVaultAndSecretReference) AssignPropertiesFromKeyVaultAndSecretReference(source *v1alpha1api20200930storage.KeyVaultAndSecretReference) error

AssignPropertiesFromKeyVaultAndSecretReference populates our KeyVaultAndSecretReference from the provided source KeyVaultAndSecretReference

func (*KeyVaultAndSecretReference) AssignPropertiesToKeyVaultAndSecretReference

func (reference *KeyVaultAndSecretReference) AssignPropertiesToKeyVaultAndSecretReference(destination *v1alpha1api20200930storage.KeyVaultAndSecretReference) error

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

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

	//SourceVault: The vault id is an Azure Resource Manager Resource id in the form
	///subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}
	SourceVault SourceVaultARM `json:"sourceVault"`
}

Generated from: https://schema.management.azure.com/schemas/2020-09-30/Microsoft.Compute.json#/definitions/KeyVaultAndSecretReference

func (*KeyVaultAndSecretReferenceARM) DeepCopy

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

func (*KeyVaultAndSecretReferenceARM) 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 {
	// +kubebuilder:validation:Required
	//SecretUrl: Url pointing to a key or secret in KeyVault
	SecretUrl string `json:"secretUrl"`

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

func (*KeyVaultAndSecretReference_Status) AssignPropertiesFromKeyVaultAndSecretReferenceStatus

func (reference *KeyVaultAndSecretReference_Status) AssignPropertiesFromKeyVaultAndSecretReferenceStatus(source *v1alpha1api20200930storage.KeyVaultAndSecretReference_Status) error

AssignPropertiesFromKeyVaultAndSecretReferenceStatus populates our KeyVaultAndSecretReference_Status from the provided source KeyVaultAndSecretReference_Status

func (*KeyVaultAndSecretReference_Status) AssignPropertiesToKeyVaultAndSecretReferenceStatus

func (reference *KeyVaultAndSecretReference_Status) AssignPropertiesToKeyVaultAndSecretReferenceStatus(destination *v1alpha1api20200930storage.KeyVaultAndSecretReference_Status) error

AssignPropertiesToKeyVaultAndSecretReferenceStatus 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_StatusARM

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

	//SourceVault: Resource id of the KeyVault containing the key or secret
	SourceVault SourceVault_StatusARM `json:"sourceVault"`
}

func (*KeyVaultAndSecretReference_StatusARM) DeepCopy

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

func (*KeyVaultAndSecretReference_StatusARM) DeepCopyInto

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

type NetworkAccessPolicy_Status

type NetworkAccessPolicy_Status string

type PurchasePlan

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

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

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

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

Generated from: https://schema.management.azure.com/schemas/2020-09-30/Microsoft.Compute.json#/definitions/PurchasePlan

func (*PurchasePlan) AssignPropertiesFromPurchasePlan

func (plan *PurchasePlan) AssignPropertiesFromPurchasePlan(source *v1alpha1api20200930storage.PurchasePlan) error

AssignPropertiesFromPurchasePlan populates our PurchasePlan from the provided source PurchasePlan

func (*PurchasePlan) AssignPropertiesToPurchasePlan

func (plan *PurchasePlan) AssignPropertiesToPurchasePlan(destination *v1alpha1api20200930storage.PurchasePlan) error

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

type PurchasePlanARM struct {
	//Name: The plan ID.
	Name string `json:"name"`

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

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

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

Generated from: https://schema.management.azure.com/schemas/2020-09-30/Microsoft.Compute.json#/definitions/PurchasePlan

func (*PurchasePlanARM) DeepCopy

func (in *PurchasePlanARM) DeepCopy() *PurchasePlanARM

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

func (*PurchasePlanARM) DeepCopyInto

func (in *PurchasePlanARM) DeepCopyInto(out *PurchasePlanARM)

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

type PurchasePlan_Status

type PurchasePlan_Status struct {
	// +kubebuilder:validation:Required
	//Name: The plan ID.
	Name string `json:"name"`

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

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

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

func (*PurchasePlan_Status) AssignPropertiesFromPurchasePlanStatus

func (plan *PurchasePlan_Status) AssignPropertiesFromPurchasePlanStatus(source *v1alpha1api20200930storage.PurchasePlan_Status) error

AssignPropertiesFromPurchasePlanStatus populates our PurchasePlan_Status from the provided source PurchasePlan_Status

func (*PurchasePlan_Status) AssignPropertiesToPurchasePlanStatus

func (plan *PurchasePlan_Status) AssignPropertiesToPurchasePlanStatus(destination *v1alpha1api20200930storage.PurchasePlan_Status) error

AssignPropertiesToPurchasePlanStatus 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_StatusARM

type PurchasePlan_StatusARM struct {
	//Name: The plan ID.
	Name string `json:"name"`

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

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

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

func (*PurchasePlan_StatusARM) DeepCopy

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

func (*PurchasePlan_StatusARM) DeepCopyInto

func (in *PurchasePlan_StatusARM) DeepCopyInto(out *PurchasePlan_StatusARM)

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

func (element *ShareInfoElement_Status) AssignPropertiesFromShareInfoElementStatus(source *v1alpha1api20200930storage.ShareInfoElement_Status) error

AssignPropertiesFromShareInfoElementStatus populates our ShareInfoElement_Status from the provided source ShareInfoElement_Status

func (*ShareInfoElement_Status) AssignPropertiesToShareInfoElementStatus

func (element *ShareInfoElement_Status) AssignPropertiesToShareInfoElementStatus(destination *v1alpha1api20200930storage.ShareInfoElement_Status) error

AssignPropertiesToShareInfoElementStatus 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_StatusARM

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

func (*ShareInfoElement_StatusARM) DeepCopy

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

func (*ShareInfoElement_StatusARM) 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              Snapshots_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" Generated from: https://schema.management.azure.com/schemas/2020-09-30/Microsoft.Compute.json#/resourceDefinitions/snapshots

func (*Snapshot) AssignPropertiesFromSnapshot

func (snapshot *Snapshot) AssignPropertiesFromSnapshot(source *v1alpha1api20200930storage.Snapshot) error

AssignPropertiesFromSnapshot populates our Snapshot from the provided source Snapshot

func (*Snapshot) AssignPropertiesToSnapshot

func (snapshot *Snapshot) AssignPropertiesToSnapshot(destination *v1alpha1api20200930storage.Snapshot) error

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

func (snapshot *Snapshot) GetResourceKind() genruntime.ResourceKind

GetResourceKind returns the kind 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) GetType

func (snapshot *Snapshot) GetType() string

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

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, or nil if there is no 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() error

ValidateCreate validates the creation of the resource

func (*Snapshot) ValidateDelete

func (snapshot *Snapshot) ValidateDelete() error

ValidateDelete validates the deletion of the resource

func (*Snapshot) ValidateUpdate

func (snapshot *Snapshot) ValidateUpdate(old runtime.Object) 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 Generated from: https://schema.management.azure.com/schemas/2020-09-30/Microsoft.Compute.json#/resourceDefinitions/snapshots

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 SnapshotPropertiesARM

type SnapshotPropertiesARM struct {
	//CreationData: Data used when creating a disk.
	CreationData CreationDataARM `json:"creationData"`
	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 *SnapshotPropertiesDiskState `json:"diskState,omitempty"`

	//Encryption: Encryption at rest settings for disk or snapshot
	Encryption *EncryptionARM `json:"encryption,omitempty"`

	//EncryptionSettingsCollection: Encryption settings for disk or snapshot
	EncryptionSettingsCollection *EncryptionSettingsCollectionARM `json:"encryptionSettingsCollection,omitempty"`

	//HyperVGeneration: The hypervisor generation of the Virtual Machine. Applicable
	//to OS disks only.
	HyperVGeneration *SnapshotPropertiesHyperVGeneration `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 *SnapshotPropertiesNetworkAccessPolicy `json:"networkAccessPolicy,omitempty"`

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

	//PurchasePlan: Used for establishing the purchase context of any 3rd Party
	//artifact through MarketPlace.
	PurchasePlan *PurchasePlanARM `json:"purchasePlan,omitempty"`
}

Generated from: https://schema.management.azure.com/schemas/2020-09-30/Microsoft.Compute.json#/definitions/SnapshotProperties

func (*SnapshotPropertiesARM) DeepCopy

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

func (*SnapshotPropertiesARM) DeepCopyInto

func (in *SnapshotPropertiesARM) DeepCopyInto(out *SnapshotPropertiesARM)

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

type SnapshotPropertiesDiskState

type SnapshotPropertiesDiskState string

+kubebuilder:validation:Enum={"ActiveSAS","ActiveUpload","Attached","ReadyToUpload","Reserved","Unattached"}

type SnapshotPropertiesHyperVGeneration

type SnapshotPropertiesHyperVGeneration string

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

type SnapshotPropertiesNetworkAccessPolicy

type SnapshotPropertiesNetworkAccessPolicy string

+kubebuilder:validation:Enum={"AllowAll","AllowPrivate","DenyAll"}

type SnapshotPropertiesOsType

type SnapshotPropertiesOsType string

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

type SnapshotPropertiesStatusHyperVGeneration

type SnapshotPropertiesStatusHyperVGeneration string

type SnapshotPropertiesStatusOsType

type SnapshotPropertiesStatusOsType string

type SnapshotProperties_StatusARM

type SnapshotProperties_StatusARM struct {
	//CreationData: Disk source information. CreationData information cannot be
	//changed after the disk has been created.
	CreationData CreationData_StatusARM `json:"creationData"`

	//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_StatusARM `json:"encryption,omitempty"`

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

	//HyperVGeneration: The hypervisor generation of the Virtual Machine. Applicable
	//to OS disks only.
	HyperVGeneration *SnapshotPropertiesStatusHyperVGeneration `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 *NetworkAccessPolicy_Status `json:"networkAccessPolicy,omitempty"`

	//OsType: The Operating System type.
	OsType *SnapshotPropertiesStatusOsType `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_StatusARM `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"`
}

func (*SnapshotProperties_StatusARM) DeepCopy

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

func (*SnapshotProperties_StatusARM) 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 *SnapshotSkuName `json:"name,omitempty"`
}

Generated from: https://schema.management.azure.com/schemas/2020-09-30/Microsoft.Compute.json#/definitions/SnapshotSku

func (*SnapshotSku) AssignPropertiesFromSnapshotSku

func (snapshotSku *SnapshotSku) AssignPropertiesFromSnapshotSku(source *v1alpha1api20200930storage.SnapshotSku) error

AssignPropertiesFromSnapshotSku populates our SnapshotSku from the provided source SnapshotSku

func (*SnapshotSku) AssignPropertiesToSnapshotSku

func (snapshotSku *SnapshotSku) AssignPropertiesToSnapshotSku(destination *v1alpha1api20200930storage.SnapshotSku) error

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

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

Generated from: https://schema.management.azure.com/schemas/2020-09-30/Microsoft.Compute.json#/definitions/SnapshotSku

func (*SnapshotSkuARM) DeepCopy

func (in *SnapshotSkuARM) DeepCopy() *SnapshotSkuARM

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

func (*SnapshotSkuARM) DeepCopyInto

func (in *SnapshotSkuARM) DeepCopyInto(out *SnapshotSkuARM)

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

type SnapshotSkuName

type SnapshotSkuName string

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

type SnapshotSkuStatusName

type SnapshotSkuStatusName string

type SnapshotSku_Status

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

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

func (*SnapshotSku_Status) AssignPropertiesFromSnapshotSkuStatus

func (snapshotSku *SnapshotSku_Status) AssignPropertiesFromSnapshotSkuStatus(source *v1alpha1api20200930storage.SnapshotSku_Status) error

AssignPropertiesFromSnapshotSkuStatus populates our SnapshotSku_Status from the provided source SnapshotSku_Status

func (*SnapshotSku_Status) AssignPropertiesToSnapshotSkuStatus

func (snapshotSku *SnapshotSku_Status) AssignPropertiesToSnapshotSkuStatus(destination *v1alpha1api20200930storage.SnapshotSku_Status) error

AssignPropertiesToSnapshotSkuStatus 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_StatusARM

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

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

func (*SnapshotSku_StatusARM) DeepCopy

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

func (*SnapshotSku_StatusARM) DeepCopyInto

func (in *SnapshotSku_StatusARM) DeepCopyInto(out *SnapshotSku_StatusARM)

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 *SnapshotPropertiesStatusHyperVGeneration `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 *NetworkAccessPolicy_Status `json:"networkAccessPolicy,omitempty"`

	//OsType: The Operating System type.
	OsType *SnapshotPropertiesStatusOsType `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          *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"`
}

func (*Snapshot_Status) AssignPropertiesFromSnapshotStatus

func (snapshot *Snapshot_Status) AssignPropertiesFromSnapshotStatus(source *v1alpha1api20200930storage.Snapshot_Status) error

AssignPropertiesFromSnapshotStatus populates our Snapshot_Status from the provided source Snapshot_Status

func (*Snapshot_Status) AssignPropertiesToSnapshotStatus

func (snapshot *Snapshot_Status) AssignPropertiesToSnapshotStatus(destination *v1alpha1api20200930storage.Snapshot_Status) error

AssignPropertiesToSnapshotStatus 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_StatusARM

type Snapshot_StatusARM struct {
	//ExtendedLocation: The extended location where the snapshot will be created.
	//Extended location cannot be changed.
	ExtendedLocation *ExtendedLocation_StatusARM `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 *SnapshotProperties_StatusARM `json:"properties,omitempty"`
	Sku        *SnapshotSku_StatusARM        `json:"sku,omitempty"`

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

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

func (*Snapshot_StatusARM) DeepCopy

func (in *Snapshot_StatusARM) DeepCopy() *Snapshot_StatusARM

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

func (*Snapshot_StatusARM) DeepCopyInto

func (in *Snapshot_StatusARM) DeepCopyInto(out *Snapshot_StatusARM)

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

type SnapshotsSpecAPIVersion

type SnapshotsSpecAPIVersion string

+kubebuilder:validation:Enum={"2020-09-30"}

type Snapshots_Spec

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

	// +kubebuilder:validation:Required
	//CreationData: Data used when creating a disk.
	CreationData CreationData `json:"creationData"`

	//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 *SnapshotPropertiesDiskState `json:"diskState,omitempty"`

	//Encryption: Encryption at rest settings for disk or snapshot
	Encryption *Encryption `json:"encryption,omitempty"`

	//EncryptionSettingsCollection: Encryption settings for disk or snapshot
	EncryptionSettingsCollection *EncryptionSettingsCollection `json:"encryptionSettingsCollection,omitempty"`

	//ExtendedLocation: The complex type of the extended location.
	ExtendedLocation *ExtendedLocation `json:"extendedLocation,omitempty"`

	//HyperVGeneration: The hypervisor generation of the Virtual Machine. Applicable
	//to OS disks only.
	HyperVGeneration *SnapshotPropertiesHyperVGeneration `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"`

	//Location: Location to deploy resource to
	Location            string                                 `json:"location,omitempty"`
	NetworkAccessPolicy *SnapshotPropertiesNetworkAccessPolicy `json:"networkAccessPolicy,omitempty"`

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

	// +kubebuilder:validation:Required
	Owner genruntime.KnownResourceReference `group:"resources.azure.com" json:"owner" kind:"ResourceGroup"`

	//PurchasePlan: Used for establishing the purchase context of any 3rd Party
	//artifact through MarketPlace.
	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: Name-value pairs to add to the resource
	Tags map[string]string `json:"tags,omitempty"`
}

func (*Snapshots_Spec) AssignPropertiesFromSnapshotsSpec

func (snapshots *Snapshots_Spec) AssignPropertiesFromSnapshotsSpec(source *v1alpha1api20200930storage.Snapshots_Spec) error

AssignPropertiesFromSnapshotsSpec populates our Snapshots_Spec from the provided source Snapshots_Spec

func (*Snapshots_Spec) AssignPropertiesToSnapshotsSpec

func (snapshots *Snapshots_Spec) AssignPropertiesToSnapshotsSpec(destination *v1alpha1api20200930storage.Snapshots_Spec) error

AssignPropertiesToSnapshotsSpec populates the provided destination Snapshots_Spec from our Snapshots_Spec

func (*Snapshots_Spec) ConvertSpecFrom

func (snapshots *Snapshots_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error

ConvertSpecFrom populates our Snapshots_Spec from the provided source

func (*Snapshots_Spec) ConvertSpecTo

func (snapshots *Snapshots_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error

ConvertSpecTo populates the provided destination from our Snapshots_Spec

func (*Snapshots_Spec) ConvertToARM

func (snapshots *Snapshots_Spec) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*Snapshots_Spec) DeepCopy

func (in *Snapshots_Spec) DeepCopy() *Snapshots_Spec

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

func (*Snapshots_Spec) DeepCopyInto

func (in *Snapshots_Spec) DeepCopyInto(out *Snapshots_Spec)

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

func (*Snapshots_Spec) NewEmptyARMValue

func (snapshots *Snapshots_Spec) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*Snapshots_Spec) OriginalVersion

func (snapshots *Snapshots_Spec) OriginalVersion() string

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

func (*Snapshots_Spec) PopulateFromARM

func (snapshots *Snapshots_Spec) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

func (*Snapshots_Spec) SetAzureName

func (snapshots *Snapshots_Spec) SetAzureName(azureName string)

SetAzureName sets the Azure name of the resource

type Snapshots_SpecARM

type Snapshots_SpecARM struct {
	//ExtendedLocation: The complex type of the extended location.
	ExtendedLocation *ExtendedLocationARM `json:"extendedLocation,omitempty"`

	//Location: Location to deploy resource to
	Location string `json:"location,omitempty"`

	//Name: The name of the snapshot that is being created. The name can't be changed
	//after the snapshot is created. Supported characters for the name are a-z, A-Z,
	//0-9 and _. The max name length is 80 characters.
	Name string `json:"name"`

	//Properties: Snapshot resource properties.
	Properties SnapshotPropertiesARM `json:"properties"`

	//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 *SnapshotSkuARM `json:"sku,omitempty"`

	//Tags: Name-value pairs to add to the resource
	Tags map[string]string `json:"tags,omitempty"`
}

func (*Snapshots_SpecARM) DeepCopy

func (in *Snapshots_SpecARM) DeepCopy() *Snapshots_SpecARM

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

func (*Snapshots_SpecARM) DeepCopyInto

func (in *Snapshots_SpecARM) DeepCopyInto(out *Snapshots_SpecARM)

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

func (Snapshots_SpecARM) GetAPIVersion

func (snapshots Snapshots_SpecARM) GetAPIVersion() string

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

func (Snapshots_SpecARM) GetName

func (snapshots Snapshots_SpecARM) GetName() string

GetName returns the Name of the resource

func (Snapshots_SpecARM) GetType

func (snapshots Snapshots_SpecARM) 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"`
}

Generated from: https://schema.management.azure.com/schemas/2020-09-30/Microsoft.Compute.json#/definitions/SourceVault

func (*SourceVault) AssignPropertiesFromSourceVault

func (vault *SourceVault) AssignPropertiesFromSourceVault(source *v1alpha1api20200930storage.SourceVault) error

AssignPropertiesFromSourceVault populates our SourceVault from the provided source SourceVault

func (*SourceVault) AssignPropertiesToSourceVault

func (vault *SourceVault) AssignPropertiesToSourceVault(destination *v1alpha1api20200930storage.SourceVault) error

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

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

Generated from: https://schema.management.azure.com/schemas/2020-09-30/Microsoft.Compute.json#/definitions/SourceVault

func (*SourceVaultARM) DeepCopy

func (in *SourceVaultARM) DeepCopy() *SourceVaultARM

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

func (*SourceVaultARM) DeepCopyInto

func (in *SourceVaultARM) DeepCopyInto(out *SourceVaultARM)

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

func (*SourceVault_Status) AssignPropertiesFromSourceVaultStatus

func (vault *SourceVault_Status) AssignPropertiesFromSourceVaultStatus(source *v1alpha1api20200930storage.SourceVault_Status) error

AssignPropertiesFromSourceVaultStatus populates our SourceVault_Status from the provided source SourceVault_Status

func (*SourceVault_Status) AssignPropertiesToSourceVaultStatus

func (vault *SourceVault_Status) AssignPropertiesToSourceVaultStatus(destination *v1alpha1api20200930storage.SourceVault_Status) error

AssignPropertiesToSourceVaultStatus 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_StatusARM

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

func (*SourceVault_StatusARM) DeepCopy

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

func (*SourceVault_StatusARM) DeepCopyInto

func (in *SourceVault_StatusARM) DeepCopyInto(out *SourceVault_StatusARM)

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

Jump to

Keyboard shortcuts

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