v1beta20210701

package
v2.0.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

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

Package v1beta20210701 contains API Schema definitions for the compute v1beta20210701 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 (
	HyperVGenerationType_StatusV1 = HyperVGenerationType_Status("V1")
	HyperVGenerationType_StatusV2 = HyperVGenerationType_Status("V2")
)
View Source
const (
	ImagePropertiesHyperVGenerationV1 = ImagePropertiesHyperVGeneration("V1")
	ImagePropertiesHyperVGenerationV2 = ImagePropertiesHyperVGeneration("V2")
)
View Source
const (
	ImageDataDiskCachingNone      = ImageDataDiskCaching("None")
	ImageDataDiskCachingReadOnly  = ImageDataDiskCaching("ReadOnly")
	ImageDataDiskCachingReadWrite = ImageDataDiskCaching("ReadWrite")
)
View Source
const (
	ImageDataDiskStatusCachingNone      = ImageDataDiskStatusCaching("None")
	ImageDataDiskStatusCachingReadOnly  = ImageDataDiskStatusCaching("ReadOnly")
	ImageDataDiskStatusCachingReadWrite = ImageDataDiskStatusCaching("ReadWrite")
)
View Source
const (
	ImageDataDiskStorageAccountTypePremiumLRS     = ImageDataDiskStorageAccountType("Premium_LRS")
	ImageDataDiskStorageAccountTypePremiumZRS     = ImageDataDiskStorageAccountType("Premium_ZRS")
	ImageDataDiskStorageAccountTypeStandardLRS    = ImageDataDiskStorageAccountType("Standard_LRS")
	ImageDataDiskStorageAccountTypeStandardSSDLRS = ImageDataDiskStorageAccountType("StandardSSD_LRS")
	ImageDataDiskStorageAccountTypeStandardSSDZRS = ImageDataDiskStorageAccountType("StandardSSD_ZRS")
	ImageDataDiskStorageAccountTypeUltraSSDLRS    = ImageDataDiskStorageAccountType("UltraSSD_LRS")
)
View Source
const (
	ImageOSDiskCachingNone      = ImageOSDiskCaching("None")
	ImageOSDiskCachingReadOnly  = ImageOSDiskCaching("ReadOnly")
	ImageOSDiskCachingReadWrite = ImageOSDiskCaching("ReadWrite")
)
View Source
const (
	ImageOSDiskOsStateGeneralized = ImageOSDiskOsState("Generalized")
	ImageOSDiskOsStateSpecialized = ImageOSDiskOsState("Specialized")
)
View Source
const (
	ImageOSDiskOsTypeLinux   = ImageOSDiskOsType("Linux")
	ImageOSDiskOsTypeWindows = ImageOSDiskOsType("Windows")
)
View Source
const (
	ImageOSDiskStatusCachingNone      = ImageOSDiskStatusCaching("None")
	ImageOSDiskStatusCachingReadOnly  = ImageOSDiskStatusCaching("ReadOnly")
	ImageOSDiskStatusCachingReadWrite = ImageOSDiskStatusCaching("ReadWrite")
)
View Source
const (
	ImageOSDiskStatusOsStateGeneralized = ImageOSDiskStatusOsState("Generalized")
	ImageOSDiskStatusOsStateSpecialized = ImageOSDiskStatusOsState("Specialized")
)
View Source
const (
	ImageOSDiskStatusOsTypeLinux   = ImageOSDiskStatusOsType("Linux")
	ImageOSDiskStatusOsTypeWindows = ImageOSDiskStatusOsType("Windows")
)
View Source
const (
	ImageOSDiskStorageAccountTypePremiumLRS     = ImageOSDiskStorageAccountType("Premium_LRS")
	ImageOSDiskStorageAccountTypePremiumZRS     = ImageOSDiskStorageAccountType("Premium_ZRS")
	ImageOSDiskStorageAccountTypeStandardLRS    = ImageOSDiskStorageAccountType("Standard_LRS")
	ImageOSDiskStorageAccountTypeStandardSSDLRS = ImageOSDiskStorageAccountType("StandardSSD_LRS")
	ImageOSDiskStorageAccountTypeStandardSSDZRS = ImageOSDiskStorageAccountType("StandardSSD_ZRS")
	ImageOSDiskStorageAccountTypeUltraSSDLRS    = ImageOSDiskStorageAccountType("UltraSSD_LRS")
)
View Source
const (
	StorageAccountType_StatusPremiumLRS     = StorageAccountType_Status("Premium_LRS")
	StorageAccountType_StatusPremiumZRS     = StorageAccountType_Status("Premium_ZRS")
	StorageAccountType_StatusStandardLRS    = StorageAccountType_Status("Standard_LRS")
	StorageAccountType_StatusStandardSSDLRS = StorageAccountType_Status("StandardSSD_LRS")
	StorageAccountType_StatusStandardSSDZRS = StorageAccountType_Status("StandardSSD_ZRS")
	StorageAccountType_StatusUltraSSDLRS    = StorageAccountType_Status("UltraSSD_LRS")
)
View Source
const APIVersionValue = APIVersion("2021-07-01")
View Source
const ExtendedLocationTypeEdgeZone = ExtendedLocationType("EdgeZone")
View Source
const ExtendedLocationType_StatusEdgeZone = ExtendedLocationType_Status("EdgeZone")

Variables

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

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type APIVersion

type APIVersion string

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

type DiskEncryptionSetParameters

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

Generated from: https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.json#/definitions/DiskEncryptionSetParameters

func (*DiskEncryptionSetParameters) AssignPropertiesFromDiskEncryptionSetParameters

func (parameters *DiskEncryptionSetParameters) AssignPropertiesFromDiskEncryptionSetParameters(source *v20210701s.DiskEncryptionSetParameters) error

AssignPropertiesFromDiskEncryptionSetParameters populates our DiskEncryptionSetParameters from the provided source DiskEncryptionSetParameters

func (*DiskEncryptionSetParameters) AssignPropertiesToDiskEncryptionSetParameters

func (parameters *DiskEncryptionSetParameters) AssignPropertiesToDiskEncryptionSetParameters(destination *v20210701s.DiskEncryptionSetParameters) error

AssignPropertiesToDiskEncryptionSetParameters populates the provided destination DiskEncryptionSetParameters from our DiskEncryptionSetParameters

func (*DiskEncryptionSetParameters) ConvertToARM

func (parameters *DiskEncryptionSetParameters) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*DiskEncryptionSetParameters) DeepCopy

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

func (*DiskEncryptionSetParameters) DeepCopyInto

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

func (*DiskEncryptionSetParameters) NewEmptyARMValue

func (parameters *DiskEncryptionSetParameters) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*DiskEncryptionSetParameters) PopulateFromARM

func (parameters *DiskEncryptionSetParameters) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type DiskEncryptionSetParametersARM

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

Generated from: https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.json#/definitions/DiskEncryptionSetParameters

func (*DiskEncryptionSetParametersARM) DeepCopy

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

func (*DiskEncryptionSetParametersARM) DeepCopyInto

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/2021-07-01/Microsoft.Compute.json#/definitions/ExtendedLocation

func (*ExtendedLocation) AssignPropertiesFromExtendedLocation

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

AssignPropertiesFromExtendedLocation populates our ExtendedLocation from the provided source ExtendedLocation

func (*ExtendedLocation) AssignPropertiesToExtendedLocation

func (location *ExtendedLocation) AssignPropertiesToExtendedLocation(destination *v20210701s.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/2021-07-01/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 *v20210701s.ExtendedLocation_Status) error

AssignPropertiesFromExtendedLocationStatus populates our ExtendedLocation_Status from the provided source ExtendedLocation_Status

func (*ExtendedLocation_Status) AssignPropertiesToExtendedLocationStatus

func (location *ExtendedLocation_Status) AssignPropertiesToExtendedLocationStatus(destination *v20210701s.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 HyperVGenerationType_Status

type HyperVGenerationType_Status string

type Image

type Image struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              Images_Spec  `json:"spec,omitempty"`
	Status            Image_Status `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="Severity",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].severity" +kubebuilder:printcolumn:name="Reason",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].reason" +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].message" Generated from: https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.json#/resourceDefinitions/images

func (*Image) AssignPropertiesFromImage

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

AssignPropertiesFromImage populates our Image from the provided source Image

func (*Image) AssignPropertiesToImage

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

AssignPropertiesToImage populates the provided destination Image from our Image

func (*Image) AzureName

func (image *Image) AzureName() string

AzureName returns the Azure name of the resource

func (*Image) ConvertFrom

func (image *Image) ConvertFrom(hub conversion.Hub) error

ConvertFrom populates our Image from the provided hub Image

func (*Image) ConvertTo

func (image *Image) ConvertTo(hub conversion.Hub) error

ConvertTo populates the provided hub Image from our Image

func (*Image) DeepCopy

func (in *Image) DeepCopy() *Image

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

func (*Image) DeepCopyInto

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

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

func (*Image) DeepCopyObject

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

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

func (*Image) Default

func (image *Image) Default()

Default applies defaults to the Image resource

func (Image) GetAPIVersion

func (image Image) GetAPIVersion() string

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

func (*Image) GetConditions

func (image *Image) GetConditions() conditions.Conditions

GetConditions returns the conditions of the resource

func (*Image) GetResourceKind

func (image *Image) GetResourceKind() genruntime.ResourceKind

GetResourceKind returns the kind of the resource

func (*Image) GetSpec

func (image *Image) GetSpec() genruntime.ConvertibleSpec

GetSpec returns the specification of this resource

func (*Image) GetStatus

func (image *Image) GetStatus() genruntime.ConvertibleStatus

GetStatus returns the status of this resource

func (*Image) GetType

func (image *Image) GetType() string

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

func (*Image) NewEmptyStatus

func (image *Image) NewEmptyStatus() genruntime.ConvertibleStatus

NewEmptyStatus returns a new empty (blank) status

func (*Image) OriginalGVK

func (image *Image) OriginalGVK() *schema.GroupVersionKind

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

func (*Image) Owner

func (image *Image) Owner() *genruntime.ResourceReference

Owner returns the ResourceReference of the owner, or nil if there is no owner

func (*Image) SetConditions

func (image *Image) SetConditions(conditions conditions.Conditions)

SetConditions sets the conditions on the resource status

func (*Image) SetStatus

func (image *Image) SetStatus(status genruntime.ConvertibleStatus) error

SetStatus sets the status of this resource

func (*Image) ValidateCreate

func (image *Image) ValidateCreate() error

ValidateCreate validates the creation of the resource

func (*Image) ValidateDelete

func (image *Image) ValidateDelete() error

ValidateDelete validates the deletion of the resource

func (*Image) ValidateUpdate

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

ValidateUpdate validates an update of the resource

type ImageDataDisk

type ImageDataDisk struct {
	// BlobUri: The Virtual Hard Disk.
	BlobUri *string `json:"blobUri,omitempty"`

	// Caching: Specifies the caching requirements.
	// Possible values are:
	// None
	// ReadOnly
	// ReadWrite
	// Default: None for Standard storage. ReadOnly for Premium storage.
	Caching *ImageDataDiskCaching `json:"caching,omitempty"`

	// DiskEncryptionSet: Describes the parameter of customer managed disk encryption set resource id that can be specified for
	// disk.
	// NOTE: The disk encryption set resource id can only be specified for managed disk. Please refer
	// https://aka.ms/mdssewithcmkoverview for more details.
	DiskEncryptionSet *DiskEncryptionSetParameters `json:"diskEncryptionSet,omitempty"`

	// DiskSizeGB: Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the
	// disk in a virtual machine image.
	// This value cannot be larger than 1023 GB
	DiskSizeGB *int `json:"diskSizeGB,omitempty"`

	// +kubebuilder:validation:Required
	// Lun: Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and
	// therefore must be unique for each data disk attached to a VM.
	Lun         *int         `json:"lun,omitempty"`
	ManagedDisk *SubResource `json:"managedDisk,omitempty"`
	Snapshot    *SubResource `json:"snapshot,omitempty"`

	// StorageAccountType: Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with
	// data disks, it cannot be used with OS Disk.
	StorageAccountType *ImageDataDiskStorageAccountType `json:"storageAccountType,omitempty"`
}

Generated from: https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.json#/definitions/ImageDataDisk

func (*ImageDataDisk) AssignPropertiesFromImageDataDisk

func (disk *ImageDataDisk) AssignPropertiesFromImageDataDisk(source *v20210701s.ImageDataDisk) error

AssignPropertiesFromImageDataDisk populates our ImageDataDisk from the provided source ImageDataDisk

func (*ImageDataDisk) AssignPropertiesToImageDataDisk

func (disk *ImageDataDisk) AssignPropertiesToImageDataDisk(destination *v20210701s.ImageDataDisk) error

AssignPropertiesToImageDataDisk populates the provided destination ImageDataDisk from our ImageDataDisk

func (*ImageDataDisk) ConvertToARM

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

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*ImageDataDisk) DeepCopy

func (in *ImageDataDisk) DeepCopy() *ImageDataDisk

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

func (*ImageDataDisk) DeepCopyInto

func (in *ImageDataDisk) DeepCopyInto(out *ImageDataDisk)

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

func (*ImageDataDisk) NewEmptyARMValue

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

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ImageDataDisk) PopulateFromARM

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

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ImageDataDiskARM

type ImageDataDiskARM struct {
	// BlobUri: The Virtual Hard Disk.
	BlobUri *string `json:"blobUri,omitempty"`

	// Caching: Specifies the caching requirements.
	// Possible values are:
	// None
	// ReadOnly
	// ReadWrite
	// Default: None for Standard storage. ReadOnly for Premium storage.
	Caching *ImageDataDiskCaching `json:"caching,omitempty"`

	// DiskEncryptionSet: Describes the parameter of customer managed disk encryption set resource id that can be specified for
	// disk.
	// NOTE: The disk encryption set resource id can only be specified for managed disk. Please refer
	// https://aka.ms/mdssewithcmkoverview for more details.
	DiskEncryptionSet *DiskEncryptionSetParametersARM `json:"diskEncryptionSet,omitempty"`

	// DiskSizeGB: Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the
	// disk in a virtual machine image.
	// This value cannot be larger than 1023 GB
	DiskSizeGB *int `json:"diskSizeGB,omitempty"`

	// Lun: Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and
	// therefore must be unique for each data disk attached to a VM.
	Lun         *int            `json:"lun,omitempty"`
	ManagedDisk *SubResourceARM `json:"managedDisk,omitempty"`
	Snapshot    *SubResourceARM `json:"snapshot,omitempty"`

	// StorageAccountType: Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with
	// data disks, it cannot be used with OS Disk.
	StorageAccountType *ImageDataDiskStorageAccountType `json:"storageAccountType,omitempty"`
}

Generated from: https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.json#/definitions/ImageDataDisk

func (*ImageDataDiskARM) DeepCopy

func (in *ImageDataDiskARM) DeepCopy() *ImageDataDiskARM

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

func (*ImageDataDiskARM) DeepCopyInto

func (in *ImageDataDiskARM) DeepCopyInto(out *ImageDataDiskARM)

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

type ImageDataDiskCaching

type ImageDataDiskCaching string

+kubebuilder:validation:Enum={"None","ReadOnly","ReadWrite"}

type ImageDataDiskStatusCaching

type ImageDataDiskStatusCaching string

type ImageDataDiskStorageAccountType

type ImageDataDiskStorageAccountType string

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

type ImageDataDisk_Status

type ImageDataDisk_Status struct {
	// BlobUri: The Virtual Hard Disk.
	BlobUri *string `json:"blobUri,omitempty"`

	// Caching: Specifies the caching requirements.
	// Possible values are:
	// None
	// ReadOnly
	// ReadWrite
	// Default: None for Standard storage. ReadOnly for Premium storage
	Caching *ImageDataDiskStatusCaching `json:"caching,omitempty"`

	// DiskEncryptionSet: Specifies the customer managed disk encryption set resource id for the managed image disk.
	DiskEncryptionSet *SubResource_Status `json:"diskEncryptionSet,omitempty"`

	// DiskSizeGB: Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the
	// disk in a virtual machine image.
	// This value cannot be larger than 1023 GB
	DiskSizeGB *int `json:"diskSizeGB,omitempty"`

	// Lun: Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and
	// therefore must be unique for each data disk attached to a VM.
	Lun *int `json:"lun,omitempty"`

	// ManagedDisk: The managedDisk.
	ManagedDisk *SubResource_Status `json:"managedDisk,omitempty"`

	// Snapshot: The snapshot.
	Snapshot *SubResource_Status `json:"snapshot,omitempty"`

	// StorageAccountType: Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with
	// data disks, it cannot be used with OS Disk.
	StorageAccountType *StorageAccountType_Status `json:"storageAccountType,omitempty"`
}

func (*ImageDataDisk_Status) AssignPropertiesFromImageDataDiskStatus

func (disk *ImageDataDisk_Status) AssignPropertiesFromImageDataDiskStatus(source *v20210701s.ImageDataDisk_Status) error

AssignPropertiesFromImageDataDiskStatus populates our ImageDataDisk_Status from the provided source ImageDataDisk_Status

func (*ImageDataDisk_Status) AssignPropertiesToImageDataDiskStatus

func (disk *ImageDataDisk_Status) AssignPropertiesToImageDataDiskStatus(destination *v20210701s.ImageDataDisk_Status) error

AssignPropertiesToImageDataDiskStatus populates the provided destination ImageDataDisk_Status from our ImageDataDisk_Status

func (*ImageDataDisk_Status) DeepCopy

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

func (*ImageDataDisk_Status) DeepCopyInto

func (in *ImageDataDisk_Status) DeepCopyInto(out *ImageDataDisk_Status)

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

func (*ImageDataDisk_Status) NewEmptyARMValue

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

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ImageDataDisk_Status) PopulateFromARM

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

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ImageDataDisk_StatusARM

type ImageDataDisk_StatusARM struct {
	// BlobUri: The Virtual Hard Disk.
	BlobUri *string `json:"blobUri,omitempty"`

	// Caching: Specifies the caching requirements.
	// Possible values are:
	// None
	// ReadOnly
	// ReadWrite
	// Default: None for Standard storage. ReadOnly for Premium storage
	Caching *ImageDataDiskStatusCaching `json:"caching,omitempty"`

	// DiskEncryptionSet: Specifies the customer managed disk encryption set resource id for the managed image disk.
	DiskEncryptionSet *SubResource_StatusARM `json:"diskEncryptionSet,omitempty"`

	// DiskSizeGB: Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the
	// disk in a virtual machine image.
	// This value cannot be larger than 1023 GB
	DiskSizeGB *int `json:"diskSizeGB,omitempty"`

	// Lun: Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and
	// therefore must be unique for each data disk attached to a VM.
	Lun *int `json:"lun,omitempty"`

	// ManagedDisk: The managedDisk.
	ManagedDisk *SubResource_StatusARM `json:"managedDisk,omitempty"`

	// Snapshot: The snapshot.
	Snapshot *SubResource_StatusARM `json:"snapshot,omitempty"`

	// StorageAccountType: Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with
	// data disks, it cannot be used with OS Disk.
	StorageAccountType *StorageAccountType_Status `json:"storageAccountType,omitempty"`
}

func (*ImageDataDisk_StatusARM) DeepCopy

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

func (*ImageDataDisk_StatusARM) DeepCopyInto

func (in *ImageDataDisk_StatusARM) DeepCopyInto(out *ImageDataDisk_StatusARM)

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

type ImageList

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

+kubebuilder:object:root=true Generated from: https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.json#/resourceDefinitions/images

func (*ImageList) DeepCopy

func (in *ImageList) DeepCopy() *ImageList

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

func (*ImageList) DeepCopyInto

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

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

func (*ImageList) DeepCopyObject

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

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

type ImageOSDisk

type ImageOSDisk struct {
	// BlobUri: The Virtual Hard Disk.
	BlobUri *string `json:"blobUri,omitempty"`

	// Caching: Specifies the caching requirements.
	// Possible values are:
	// None
	// ReadOnly
	// ReadWrite
	// Default: None for Standard storage. ReadOnly for Premium storage.
	Caching *ImageOSDiskCaching `json:"caching,omitempty"`

	// DiskEncryptionSet: Describes the parameter of customer managed disk encryption set resource id that can be specified for
	// disk.
	// NOTE: The disk encryption set resource id can only be specified for managed disk. Please refer
	// https://aka.ms/mdssewithcmkoverview for more details.
	DiskEncryptionSet *DiskEncryptionSetParameters `json:"diskEncryptionSet,omitempty"`

	// DiskSizeGB: Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the
	// disk in a virtual machine image.
	// This value cannot be larger than 1023 GB
	DiskSizeGB  *int         `json:"diskSizeGB,omitempty"`
	ManagedDisk *SubResource `json:"managedDisk,omitempty"`

	// +kubebuilder:validation:Required
	// OsState: The OS State.
	OsState *ImageOSDiskOsState `json:"osState,omitempty"`

	// +kubebuilder:validation:Required
	// OsType: This property allows you to specify the type of the OS that is included in the disk if creating a VM from a
	// custom image.
	// Possible values are:
	// Windows
	// Linux.
	OsType   *ImageOSDiskOsType `json:"osType,omitempty"`
	Snapshot *SubResource       `json:"snapshot,omitempty"`

	// StorageAccountType: Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with
	// data disks, it cannot be used with OS Disk.
	StorageAccountType *ImageOSDiskStorageAccountType `json:"storageAccountType,omitempty"`
}

Generated from: https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.json#/definitions/ImageOSDisk

func (*ImageOSDisk) AssignPropertiesFromImageOSDisk

func (disk *ImageOSDisk) AssignPropertiesFromImageOSDisk(source *v20210701s.ImageOSDisk) error

AssignPropertiesFromImageOSDisk populates our ImageOSDisk from the provided source ImageOSDisk

func (*ImageOSDisk) AssignPropertiesToImageOSDisk

func (disk *ImageOSDisk) AssignPropertiesToImageOSDisk(destination *v20210701s.ImageOSDisk) error

AssignPropertiesToImageOSDisk populates the provided destination ImageOSDisk from our ImageOSDisk

func (*ImageOSDisk) ConvertToARM

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

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*ImageOSDisk) DeepCopy

func (in *ImageOSDisk) DeepCopy() *ImageOSDisk

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

func (*ImageOSDisk) DeepCopyInto

func (in *ImageOSDisk) DeepCopyInto(out *ImageOSDisk)

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

func (*ImageOSDisk) NewEmptyARMValue

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

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ImageOSDisk) PopulateFromARM

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

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ImageOSDiskARM

type ImageOSDiskARM struct {
	// BlobUri: The Virtual Hard Disk.
	BlobUri *string `json:"blobUri,omitempty"`

	// Caching: Specifies the caching requirements.
	// Possible values are:
	// None
	// ReadOnly
	// ReadWrite
	// Default: None for Standard storage. ReadOnly for Premium storage.
	Caching *ImageOSDiskCaching `json:"caching,omitempty"`

	// DiskEncryptionSet: Describes the parameter of customer managed disk encryption set resource id that can be specified for
	// disk.
	// NOTE: The disk encryption set resource id can only be specified for managed disk. Please refer
	// https://aka.ms/mdssewithcmkoverview for more details.
	DiskEncryptionSet *DiskEncryptionSetParametersARM `json:"diskEncryptionSet,omitempty"`

	// DiskSizeGB: Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the
	// disk in a virtual machine image.
	// This value cannot be larger than 1023 GB
	DiskSizeGB  *int            `json:"diskSizeGB,omitempty"`
	ManagedDisk *SubResourceARM `json:"managedDisk,omitempty"`

	// OsState: The OS State.
	OsState *ImageOSDiskOsState `json:"osState,omitempty"`

	// OsType: This property allows you to specify the type of the OS that is included in the disk if creating a VM from a
	// custom image.
	// Possible values are:
	// Windows
	// Linux.
	OsType   *ImageOSDiskOsType `json:"osType,omitempty"`
	Snapshot *SubResourceARM    `json:"snapshot,omitempty"`

	// StorageAccountType: Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with
	// data disks, it cannot be used with OS Disk.
	StorageAccountType *ImageOSDiskStorageAccountType `json:"storageAccountType,omitempty"`
}

Generated from: https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.json#/definitions/ImageOSDisk

func (*ImageOSDiskARM) DeepCopy

func (in *ImageOSDiskARM) DeepCopy() *ImageOSDiskARM

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

func (*ImageOSDiskARM) DeepCopyInto

func (in *ImageOSDiskARM) DeepCopyInto(out *ImageOSDiskARM)

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

type ImageOSDiskCaching

type ImageOSDiskCaching string

+kubebuilder:validation:Enum={"None","ReadOnly","ReadWrite"}

type ImageOSDiskOsState

type ImageOSDiskOsState string

+kubebuilder:validation:Enum={"Generalized","Specialized"}

type ImageOSDiskOsType

type ImageOSDiskOsType string

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

type ImageOSDiskStatusCaching

type ImageOSDiskStatusCaching string

type ImageOSDiskStatusOsState

type ImageOSDiskStatusOsState string

type ImageOSDiskStatusOsType

type ImageOSDiskStatusOsType string

type ImageOSDiskStorageAccountType

type ImageOSDiskStorageAccountType string

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

type ImageOSDisk_Status

type ImageOSDisk_Status struct {
	// BlobUri: The Virtual Hard Disk.
	BlobUri *string `json:"blobUri,omitempty"`

	// Caching: Specifies the caching requirements.
	// Possible values are:
	// None
	// ReadOnly
	// ReadWrite
	// Default: None for Standard storage. ReadOnly for Premium storage
	Caching *ImageOSDiskStatusCaching `json:"caching,omitempty"`

	// DiskEncryptionSet: Specifies the customer managed disk encryption set resource id for the managed image disk.
	DiskEncryptionSet *SubResource_Status `json:"diskEncryptionSet,omitempty"`

	// DiskSizeGB: Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the
	// disk in a virtual machine image.
	// This value cannot be larger than 1023 GB
	DiskSizeGB *int `json:"diskSizeGB,omitempty"`

	// ManagedDisk: The managedDisk.
	ManagedDisk *SubResource_Status `json:"managedDisk,omitempty"`

	// OsState: The OS State.
	OsState *ImageOSDiskStatusOsState `json:"osState,omitempty"`

	// OsType: This property allows you to specify the type of the OS that is included in the disk if creating a VM from a
	// custom image.
	// Possible values are:
	// Windows
	// Linux
	OsType *ImageOSDiskStatusOsType `json:"osType,omitempty"`

	// Snapshot: The snapshot.
	Snapshot *SubResource_Status `json:"snapshot,omitempty"`

	// StorageAccountType: Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with
	// data disks, it cannot be used with OS Disk.
	StorageAccountType *StorageAccountType_Status `json:"storageAccountType,omitempty"`
}

func (*ImageOSDisk_Status) AssignPropertiesFromImageOSDiskStatus

func (disk *ImageOSDisk_Status) AssignPropertiesFromImageOSDiskStatus(source *v20210701s.ImageOSDisk_Status) error

AssignPropertiesFromImageOSDiskStatus populates our ImageOSDisk_Status from the provided source ImageOSDisk_Status

func (*ImageOSDisk_Status) AssignPropertiesToImageOSDiskStatus

func (disk *ImageOSDisk_Status) AssignPropertiesToImageOSDiskStatus(destination *v20210701s.ImageOSDisk_Status) error

AssignPropertiesToImageOSDiskStatus populates the provided destination ImageOSDisk_Status from our ImageOSDisk_Status

func (*ImageOSDisk_Status) DeepCopy

func (in *ImageOSDisk_Status) DeepCopy() *ImageOSDisk_Status

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

func (*ImageOSDisk_Status) DeepCopyInto

func (in *ImageOSDisk_Status) DeepCopyInto(out *ImageOSDisk_Status)

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

func (*ImageOSDisk_Status) NewEmptyARMValue

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

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ImageOSDisk_Status) PopulateFromARM

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

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ImageOSDisk_StatusARM

type ImageOSDisk_StatusARM struct {
	// BlobUri: The Virtual Hard Disk.
	BlobUri *string `json:"blobUri,omitempty"`

	// Caching: Specifies the caching requirements.
	// Possible values are:
	// None
	// ReadOnly
	// ReadWrite
	// Default: None for Standard storage. ReadOnly for Premium storage
	Caching *ImageOSDiskStatusCaching `json:"caching,omitempty"`

	// DiskEncryptionSet: Specifies the customer managed disk encryption set resource id for the managed image disk.
	DiskEncryptionSet *SubResource_StatusARM `json:"diskEncryptionSet,omitempty"`

	// DiskSizeGB: Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the
	// disk in a virtual machine image.
	// This value cannot be larger than 1023 GB
	DiskSizeGB *int `json:"diskSizeGB,omitempty"`

	// ManagedDisk: The managedDisk.
	ManagedDisk *SubResource_StatusARM `json:"managedDisk,omitempty"`

	// OsState: The OS State.
	OsState *ImageOSDiskStatusOsState `json:"osState,omitempty"`

	// OsType: This property allows you to specify the type of the OS that is included in the disk if creating a VM from a
	// custom image.
	// Possible values are:
	// Windows
	// Linux
	OsType *ImageOSDiskStatusOsType `json:"osType,omitempty"`

	// Snapshot: The snapshot.
	Snapshot *SubResource_StatusARM `json:"snapshot,omitempty"`

	// StorageAccountType: Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with
	// data disks, it cannot be used with OS Disk.
	StorageAccountType *StorageAccountType_Status `json:"storageAccountType,omitempty"`
}

func (*ImageOSDisk_StatusARM) DeepCopy

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

func (*ImageOSDisk_StatusARM) DeepCopyInto

func (in *ImageOSDisk_StatusARM) DeepCopyInto(out *ImageOSDisk_StatusARM)

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

type ImagePropertiesARM

type ImagePropertiesARM struct {
	// HyperVGeneration: Specifies the HyperVGenerationType of the VirtualMachine created from the image. From API Version
	// 2019-03-01 if the image source is a blob, then we need the user to specify the value, if the source is managed resource
	// like disk or snapshot, we may require the user to specify the property if we cannot deduce it from the source managed
	// resource.
	HyperVGeneration     *ImagePropertiesHyperVGeneration `json:"hyperVGeneration,omitempty"`
	SourceVirtualMachine *SubResourceARM                  `json:"sourceVirtualMachine,omitempty"`

	// StorageProfile: Describes a storage profile.
	StorageProfile *ImageStorageProfileARM `json:"storageProfile,omitempty"`
}

Generated from: https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.json#/definitions/ImageProperties

func (*ImagePropertiesARM) DeepCopy

func (in *ImagePropertiesARM) DeepCopy() *ImagePropertiesARM

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

func (*ImagePropertiesARM) DeepCopyInto

func (in *ImagePropertiesARM) DeepCopyInto(out *ImagePropertiesARM)

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

type ImagePropertiesHyperVGeneration

type ImagePropertiesHyperVGeneration string

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

type ImageProperties_StatusARM

type ImageProperties_StatusARM struct {
	// HyperVGeneration: Specifies the HyperVGenerationType of the VirtualMachine created from the image. From API Version
	// 2019-03-01 if the image source is a blob, then we need the user to specify the value, if the source is managed resource
	// like disk or snapshot, we may require the user to specify the property if we cannot deduce it from the source managed
	// resource.
	HyperVGeneration *HyperVGenerationType_Status `json:"hyperVGeneration,omitempty"`

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

	// SourceVirtualMachine: The source virtual machine from which Image is created.
	SourceVirtualMachine *SubResource_StatusARM `json:"sourceVirtualMachine,omitempty"`

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

func (*ImageProperties_StatusARM) DeepCopy

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

func (*ImageProperties_StatusARM) DeepCopyInto

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

type ImageStorageProfile

type ImageStorageProfile struct {
	// DataDisks: Specifies the parameters that are used to add a data disk to a virtual machine.
	// For more information about disks, see [About disks and VHDs for Azure virtual
	// machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).
	DataDisks []ImageDataDisk `json:"dataDisks,omitempty"`

	// OsDisk: Describes an Operating System disk.
	OsDisk *ImageOSDisk `json:"osDisk,omitempty"`

	// ZoneResilient: Specifies whether an image is zone resilient or not. Default is false. Zone resilient images can be
	// created only in regions that provide Zone Redundant Storage (ZRS).
	ZoneResilient *bool `json:"zoneResilient,omitempty"`
}

Generated from: https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.json#/definitions/ImageStorageProfile

func (*ImageStorageProfile) AssignPropertiesFromImageStorageProfile

func (profile *ImageStorageProfile) AssignPropertiesFromImageStorageProfile(source *v20210701s.ImageStorageProfile) error

AssignPropertiesFromImageStorageProfile populates our ImageStorageProfile from the provided source ImageStorageProfile

func (*ImageStorageProfile) AssignPropertiesToImageStorageProfile

func (profile *ImageStorageProfile) AssignPropertiesToImageStorageProfile(destination *v20210701s.ImageStorageProfile) error

AssignPropertiesToImageStorageProfile populates the provided destination ImageStorageProfile from our ImageStorageProfile

func (*ImageStorageProfile) ConvertToARM

func (profile *ImageStorageProfile) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*ImageStorageProfile) DeepCopy

func (in *ImageStorageProfile) DeepCopy() *ImageStorageProfile

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

func (*ImageStorageProfile) DeepCopyInto

func (in *ImageStorageProfile) DeepCopyInto(out *ImageStorageProfile)

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

func (*ImageStorageProfile) NewEmptyARMValue

func (profile *ImageStorageProfile) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ImageStorageProfile) PopulateFromARM

func (profile *ImageStorageProfile) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ImageStorageProfileARM

type ImageStorageProfileARM struct {
	// DataDisks: Specifies the parameters that are used to add a data disk to a virtual machine.
	// For more information about disks, see [About disks and VHDs for Azure virtual
	// machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).
	DataDisks []ImageDataDiskARM `json:"dataDisks,omitempty"`

	// OsDisk: Describes an Operating System disk.
	OsDisk *ImageOSDiskARM `json:"osDisk,omitempty"`

	// ZoneResilient: Specifies whether an image is zone resilient or not. Default is false. Zone resilient images can be
	// created only in regions that provide Zone Redundant Storage (ZRS).
	ZoneResilient *bool `json:"zoneResilient,omitempty"`
}

Generated from: https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.json#/definitions/ImageStorageProfile

func (*ImageStorageProfileARM) DeepCopy

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

func (*ImageStorageProfileARM) DeepCopyInto

func (in *ImageStorageProfileARM) DeepCopyInto(out *ImageStorageProfileARM)

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

type ImageStorageProfile_Status

type ImageStorageProfile_Status struct {
	// DataDisks: Specifies the parameters that are used to add a data disk to a virtual machine.
	// For more information about disks, see [About disks and VHDs for Azure virtual
	// machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).
	DataDisks []ImageDataDisk_Status `json:"dataDisks,omitempty"`

	// OsDisk: Specifies information about the operating system disk used by the virtual machine.
	// For more information about disks, see [About disks and VHDs for Azure virtual
	// machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).
	OsDisk *ImageOSDisk_Status `json:"osDisk,omitempty"`

	// ZoneResilient: Specifies whether an image is zone resilient or not. Default is false. Zone resilient images can be
	// created only in regions that provide Zone Redundant Storage (ZRS).
	ZoneResilient *bool `json:"zoneResilient,omitempty"`
}

func (*ImageStorageProfile_Status) AssignPropertiesFromImageStorageProfileStatus

func (profile *ImageStorageProfile_Status) AssignPropertiesFromImageStorageProfileStatus(source *v20210701s.ImageStorageProfile_Status) error

AssignPropertiesFromImageStorageProfileStatus populates our ImageStorageProfile_Status from the provided source ImageStorageProfile_Status

func (*ImageStorageProfile_Status) AssignPropertiesToImageStorageProfileStatus

func (profile *ImageStorageProfile_Status) AssignPropertiesToImageStorageProfileStatus(destination *v20210701s.ImageStorageProfile_Status) error

AssignPropertiesToImageStorageProfileStatus populates the provided destination ImageStorageProfile_Status from our ImageStorageProfile_Status

func (*ImageStorageProfile_Status) DeepCopy

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

func (*ImageStorageProfile_Status) DeepCopyInto

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

func (*ImageStorageProfile_Status) NewEmptyARMValue

func (profile *ImageStorageProfile_Status) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ImageStorageProfile_Status) PopulateFromARM

func (profile *ImageStorageProfile_Status) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ImageStorageProfile_StatusARM

type ImageStorageProfile_StatusARM struct {
	// DataDisks: Specifies the parameters that are used to add a data disk to a virtual machine.
	// For more information about disks, see [About disks and VHDs for Azure virtual
	// machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).
	DataDisks []ImageDataDisk_StatusARM `json:"dataDisks,omitempty"`

	// OsDisk: Specifies information about the operating system disk used by the virtual machine.
	// For more information about disks, see [About disks and VHDs for Azure virtual
	// machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).
	OsDisk *ImageOSDisk_StatusARM `json:"osDisk,omitempty"`

	// ZoneResilient: Specifies whether an image is zone resilient or not. Default is false. Zone resilient images can be
	// created only in regions that provide Zone Redundant Storage (ZRS).
	ZoneResilient *bool `json:"zoneResilient,omitempty"`
}

func (*ImageStorageProfile_StatusARM) DeepCopy

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

func (*ImageStorageProfile_StatusARM) DeepCopyInto

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

type Image_Status

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

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

	// HyperVGeneration: Specifies the HyperVGenerationType of the VirtualMachine created from the image. From API Version
	// 2019-03-01 if the image source is a blob, then we need the user to specify the value, if the source is managed resource
	// like disk or snapshot, we may require the user to specify the property if we cannot deduce it from the source managed
	// resource.
	HyperVGeneration *HyperVGenerationType_Status `json:"hyperVGeneration,omitempty"`

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

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

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

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

	// SourceVirtualMachine: The source virtual machine from which Image is created.
	SourceVirtualMachine *SubResource_Status `json:"sourceVirtualMachine,omitempty"`

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

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

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

func (*Image_Status) AssignPropertiesFromImageStatus

func (image *Image_Status) AssignPropertiesFromImageStatus(source *v20210701s.Image_Status) error

AssignPropertiesFromImageStatus populates our Image_Status from the provided source Image_Status

func (*Image_Status) AssignPropertiesToImageStatus

func (image *Image_Status) AssignPropertiesToImageStatus(destination *v20210701s.Image_Status) error

AssignPropertiesToImageStatus populates the provided destination Image_Status from our Image_Status

func (*Image_Status) ConvertStatusFrom

func (image *Image_Status) ConvertStatusFrom(source genruntime.ConvertibleStatus) error

ConvertStatusFrom populates our Image_Status from the provided source

func (*Image_Status) ConvertStatusTo

func (image *Image_Status) ConvertStatusTo(destination genruntime.ConvertibleStatus) error

ConvertStatusTo populates the provided destination from our Image_Status

func (*Image_Status) DeepCopy

func (in *Image_Status) DeepCopy() *Image_Status

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

func (*Image_Status) DeepCopyInto

func (in *Image_Status) DeepCopyInto(out *Image_Status)

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

func (*Image_Status) NewEmptyARMValue

func (image *Image_Status) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*Image_Status) PopulateFromARM

func (image *Image_Status) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type Image_StatusARM

type Image_StatusARM struct {
	// ExtendedLocation: The extended location of the Image.
	ExtendedLocation *ExtendedLocation_StatusARM `json:"extendedLocation,omitempty"`

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

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

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

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

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

func (*Image_StatusARM) DeepCopy

func (in *Image_StatusARM) DeepCopy() *Image_StatusARM

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

func (*Image_StatusARM) DeepCopyInto

func (in *Image_StatusARM) DeepCopyInto(out *Image_StatusARM)

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

type Images_Spec

type Images_Spec struct {
	// AzureName: The name of the resource in Azure. This is often the same as the name of the resource in Kubernetes but it
	// doesn't have to be.
	AzureName string `json:"azureName,omitempty"`

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

	// HyperVGeneration: Specifies the HyperVGenerationType of the VirtualMachine created from the image. From API Version
	// 2019-03-01 if the image source is a blob, then we need the user to specify the value, if the source is managed resource
	// like disk or snapshot, we may require the user to specify the property if we cannot deduce it from the source managed
	// resource.
	HyperVGeneration *ImagePropertiesHyperVGeneration `json:"hyperVGeneration,omitempty"`

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

	// +kubebuilder:validation:Required
	// Owner: The owner of the resource. The owner controls where the resource goes when it is deployed. The owner also
	// controls the resources lifecycle. When the owner is deleted the resource will also be deleted. Owner is expected to be a
	// reference to a resources.azure.com/ResourceGroup resource
	Owner                *genruntime.KnownResourceReference `group:"resources.azure.com" json:"owner,omitempty" kind:"ResourceGroup"`
	SourceVirtualMachine *SubResource                       `json:"sourceVirtualMachine,omitempty"`

	// StorageProfile: Describes a storage profile.
	StorageProfile *ImageStorageProfile `json:"storageProfile,omitempty"`

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

func (*Images_Spec) AssignPropertiesFromImagesSpec

func (images *Images_Spec) AssignPropertiesFromImagesSpec(source *v20210701s.Images_Spec) error

AssignPropertiesFromImagesSpec populates our Images_Spec from the provided source Images_Spec

func (*Images_Spec) AssignPropertiesToImagesSpec

func (images *Images_Spec) AssignPropertiesToImagesSpec(destination *v20210701s.Images_Spec) error

AssignPropertiesToImagesSpec populates the provided destination Images_Spec from our Images_Spec

func (*Images_Spec) ConvertSpecFrom

func (images *Images_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error

ConvertSpecFrom populates our Images_Spec from the provided source

func (*Images_Spec) ConvertSpecTo

func (images *Images_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error

ConvertSpecTo populates the provided destination from our Images_Spec

func (*Images_Spec) ConvertToARM

func (images *Images_Spec) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*Images_Spec) DeepCopy

func (in *Images_Spec) DeepCopy() *Images_Spec

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

func (*Images_Spec) DeepCopyInto

func (in *Images_Spec) DeepCopyInto(out *Images_Spec)

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

func (*Images_Spec) NewEmptyARMValue

func (images *Images_Spec) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*Images_Spec) OriginalVersion

func (images *Images_Spec) OriginalVersion() string

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

func (*Images_Spec) PopulateFromARM

func (images *Images_Spec) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

func (*Images_Spec) SetAzureName

func (images *Images_Spec) SetAzureName(azureName string)

SetAzureName sets the Azure name of the resource

type Images_SpecARM

type Images_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 image.
	Name string `json:"name,omitempty"`

	// Properties: Describes the properties of an Image.
	Properties *ImagePropertiesARM `json:"properties,omitempty"`

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

func (*Images_SpecARM) DeepCopy

func (in *Images_SpecARM) DeepCopy() *Images_SpecARM

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

func (*Images_SpecARM) DeepCopyInto

func (in *Images_SpecARM) DeepCopyInto(out *Images_SpecARM)

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

func (Images_SpecARM) GetAPIVersion

func (images Images_SpecARM) GetAPIVersion() string

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

func (*Images_SpecARM) GetName

func (images *Images_SpecARM) GetName() string

GetName returns the Name of the resource

func (*Images_SpecARM) GetType

func (images *Images_SpecARM) GetType() string

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

type StorageAccountType_Status

type StorageAccountType_Status string

type SubResource

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

Generated from: https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.json#/definitions/SubResource

func (*SubResource) AssignPropertiesFromSubResource

func (resource *SubResource) AssignPropertiesFromSubResource(source *v20210701s.SubResource) error

AssignPropertiesFromSubResource populates our SubResource from the provided source SubResource

func (*SubResource) AssignPropertiesToSubResource

func (resource *SubResource) AssignPropertiesToSubResource(destination *v20210701s.SubResource) error

AssignPropertiesToSubResource populates the provided destination SubResource from our SubResource

func (*SubResource) ConvertToARM

func (resource *SubResource) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*SubResource) DeepCopy

func (in *SubResource) DeepCopy() *SubResource

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

func (*SubResource) DeepCopyInto

func (in *SubResource) DeepCopyInto(out *SubResource)

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

func (*SubResource) NewEmptyARMValue

func (resource *SubResource) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*SubResource) PopulateFromARM

func (resource *SubResource) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type SubResourceARM

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

Generated from: https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.json#/definitions/SubResource

func (*SubResourceARM) DeepCopy

func (in *SubResourceARM) DeepCopy() *SubResourceARM

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

func (*SubResourceARM) DeepCopyInto

func (in *SubResourceARM) DeepCopyInto(out *SubResourceARM)

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

type SubResource_Status

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

func (*SubResource_Status) AssignPropertiesFromSubResourceStatus

func (resource *SubResource_Status) AssignPropertiesFromSubResourceStatus(source *v20210701s.SubResource_Status) error

AssignPropertiesFromSubResourceStatus populates our SubResource_Status from the provided source SubResource_Status

func (*SubResource_Status) AssignPropertiesToSubResourceStatus

func (resource *SubResource_Status) AssignPropertiesToSubResourceStatus(destination *v20210701s.SubResource_Status) error

AssignPropertiesToSubResourceStatus populates the provided destination SubResource_Status from our SubResource_Status

func (*SubResource_Status) DeepCopy

func (in *SubResource_Status) DeepCopy() *SubResource_Status

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

func (*SubResource_Status) DeepCopyInto

func (in *SubResource_Status) DeepCopyInto(out *SubResource_Status)

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

func (*SubResource_Status) NewEmptyARMValue

func (resource *SubResource_Status) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*SubResource_Status) PopulateFromARM

func (resource *SubResource_Status) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type SubResource_StatusARM

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

func (*SubResource_StatusARM) DeepCopy

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

func (*SubResource_StatusARM) DeepCopyInto

func (in *SubResource_StatusARM) DeepCopyInto(out *SubResource_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