storage

package
v2.7.0 Latest Latest
Warning

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

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

Documentation

Overview

Code generated by azure-service-operator-codegen. DO NOT EDIT. Copyright (c) Microsoft Corporation. Licensed under the MIT license.

Package storage contains API Schema definitions for the compute storage API group +kubebuilder:object:generate=true All object properties are optional by default, this will be overridden when needed: +kubebuilder:validation:Optional +groupName=compute.azure.com +versionName=v1api20220702storage

Index

Constants

View Source
const APIVersion_Value = APIVersion("2022-07-02")

Variables

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

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

Storage version of v1api20220702.APIVersion +kubebuilder:validation:Enum={"2022-07-02"}

type ApiErrorBase_STATUS

type ApiErrorBase_STATUS struct {
	Code        *string                `json:"code,omitempty"`
	Message     *string                `json:"message,omitempty"`
	PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
	Target      *string                `json:"target,omitempty"`
}

Storage version of v1api20220702.ApiErrorBase_STATUS Api error base.

func (*ApiErrorBase_STATUS) DeepCopy

func (in *ApiErrorBase_STATUS) DeepCopy() *ApiErrorBase_STATUS

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

func (*ApiErrorBase_STATUS) DeepCopyInto

func (in *ApiErrorBase_STATUS) DeepCopyInto(out *ApiErrorBase_STATUS)

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

type ApiError_STATUS

type ApiError_STATUS struct {
	Code        *string                `json:"code,omitempty"`
	Details     []ApiErrorBase_STATUS  `json:"details,omitempty"`
	Innererror  *InnerError_STATUS     `json:"innererror,omitempty"`
	Message     *string                `json:"message,omitempty"`
	PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
	Target      *string                `json:"target,omitempty"`
}

Storage version of v1api20220702.ApiError_STATUS Api error.

func (*ApiError_STATUS) DeepCopy

func (in *ApiError_STATUS) DeepCopy() *ApiError_STATUS

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

func (*ApiError_STATUS) DeepCopyInto

func (in *ApiError_STATUS) DeepCopyInto(out *ApiError_STATUS)

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

type DiskEncryptionSet

type DiskEncryptionSet struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              DiskEncryptionSet_Spec   `json:"spec,omitempty"`
	Status            DiskEncryptionSet_STATUS `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:storageversion +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" Storage version of v1api20220702.DiskEncryptionSet Generator information: - Generated from: /compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-07-02/diskEncryptionSet.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}

func (*DiskEncryptionSet) AzureName

func (encryptionSet *DiskEncryptionSet) AzureName() string

AzureName returns the Azure name of the resource

func (*DiskEncryptionSet) DeepCopy

func (in *DiskEncryptionSet) DeepCopy() *DiskEncryptionSet

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

func (*DiskEncryptionSet) DeepCopyInto

func (in *DiskEncryptionSet) DeepCopyInto(out *DiskEncryptionSet)

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

func (*DiskEncryptionSet) DeepCopyObject

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

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

func (DiskEncryptionSet) GetAPIVersion

func (encryptionSet DiskEncryptionSet) GetAPIVersion() string

GetAPIVersion returns the ARM API version of the resource. This is always "2022-07-02"

func (*DiskEncryptionSet) GetConditions

func (encryptionSet *DiskEncryptionSet) GetConditions() conditions.Conditions

GetConditions returns the conditions of the resource

func (*DiskEncryptionSet) GetResourceScope

func (encryptionSet *DiskEncryptionSet) GetResourceScope() genruntime.ResourceScope

GetResourceScope returns the scope of the resource

func (*DiskEncryptionSet) GetSpec

func (encryptionSet *DiskEncryptionSet) GetSpec() genruntime.ConvertibleSpec

GetSpec returns the specification of this resource

func (*DiskEncryptionSet) GetStatus

func (encryptionSet *DiskEncryptionSet) GetStatus() genruntime.ConvertibleStatus

GetStatus returns the status of this resource

func (*DiskEncryptionSet) GetSupportedOperations

func (encryptionSet *DiskEncryptionSet) GetSupportedOperations() []genruntime.ResourceOperation

GetSupportedOperations returns the operations supported by the resource

func (*DiskEncryptionSet) GetType

func (encryptionSet *DiskEncryptionSet) GetType() string

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

func (*DiskEncryptionSet) Hub

func (encryptionSet *DiskEncryptionSet) Hub()

Hub marks that this DiskEncryptionSet is the hub type for conversion

func (*DiskEncryptionSet) NewEmptyStatus

func (encryptionSet *DiskEncryptionSet) NewEmptyStatus() genruntime.ConvertibleStatus

NewEmptyStatus returns a new empty (blank) status

func (*DiskEncryptionSet) OriginalGVK

func (encryptionSet *DiskEncryptionSet) OriginalGVK() *schema.GroupVersionKind

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

func (*DiskEncryptionSet) Owner

func (encryptionSet *DiskEncryptionSet) Owner() *genruntime.ResourceReference

Owner returns the ResourceReference of the owner

func (*DiskEncryptionSet) SetConditions

func (encryptionSet *DiskEncryptionSet) SetConditions(conditions conditions.Conditions)

SetConditions sets the conditions on the resource status

func (*DiskEncryptionSet) SetStatus

func (encryptionSet *DiskEncryptionSet) SetStatus(status genruntime.ConvertibleStatus) error

SetStatus sets the status of this resource

type DiskEncryptionSetList

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

+kubebuilder:object:root=true Storage version of v1api20220702.DiskEncryptionSet Generator information: - Generated from: /compute/resource-manager/Microsoft.Compute/DiskRP/stable/2022-07-02/diskEncryptionSet.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}

func (*DiskEncryptionSetList) DeepCopy

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

func (*DiskEncryptionSetList) DeepCopyInto

func (in *DiskEncryptionSetList) DeepCopyInto(out *DiskEncryptionSetList)

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

func (*DiskEncryptionSetList) DeepCopyObject

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

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

type DiskEncryptionSet_STATUS

type DiskEncryptionSet_STATUS struct {
	ActiveKey                         *KeyForDiskEncryptionSet_STATUS  `json:"activeKey,omitempty"`
	AutoKeyRotationError              *ApiError_STATUS                 `json:"autoKeyRotationError,omitempty"`
	Conditions                        []conditions.Condition           `json:"conditions,omitempty"`
	EncryptionType                    *string                          `json:"encryptionType,omitempty"`
	FederatedClientId                 *string                          `json:"federatedClientId,omitempty"`
	Id                                *string                          `json:"id,omitempty"`
	Identity                          *EncryptionSetIdentity_STATUS    `json:"identity,omitempty"`
	LastKeyRotationTimestamp          *string                          `json:"lastKeyRotationTimestamp,omitempty"`
	Location                          *string                          `json:"location,omitempty"`
	Name                              *string                          `json:"name,omitempty"`
	PreviousKeys                      []KeyForDiskEncryptionSet_STATUS `json:"previousKeys,omitempty"`
	PropertyBag                       genruntime.PropertyBag           `json:"$propertyBag,omitempty"`
	ProvisioningState                 *string                          `json:"provisioningState,omitempty"`
	RotationToLatestKeyVersionEnabled *bool                            `json:"rotationToLatestKeyVersionEnabled,omitempty"`
	Tags                              map[string]string                `json:"tags,omitempty"`
	Type                              *string                          `json:"type,omitempty"`
}

Storage version of v1api20220702.DiskEncryptionSet_STATUS disk encryption set resource.

func (*DiskEncryptionSet_STATUS) ConvertStatusFrom

func (encryptionSet *DiskEncryptionSet_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error

ConvertStatusFrom populates our DiskEncryptionSet_STATUS from the provided source

func (*DiskEncryptionSet_STATUS) ConvertStatusTo

func (encryptionSet *DiskEncryptionSet_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error

ConvertStatusTo populates the provided destination from our DiskEncryptionSet_STATUS

func (*DiskEncryptionSet_STATUS) DeepCopy

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

func (*DiskEncryptionSet_STATUS) DeepCopyInto

func (in *DiskEncryptionSet_STATUS) DeepCopyInto(out *DiskEncryptionSet_STATUS)

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

type DiskEncryptionSet_Spec

type DiskEncryptionSet_Spec struct {
	ActiveKey *KeyForDiskEncryptionSet `json:"activeKey,omitempty"`

	// 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"`
	EncryptionType              *string                        `json:"encryptionType,omitempty"`
	FederatedClientId           *string                        `json:"federatedClientId,omitempty" optionalConfigMapPair:"FederatedClientId"`
	FederatedClientIdFromConfig *genruntime.ConfigMapReference `json:"federatedClientIdFromConfig,omitempty" optionalConfigMapPair:"FederatedClientId"`
	Identity                    *EncryptionSetIdentity         `json:"identity,omitempty"`
	Location                    *string                        `json:"location,omitempty"`
	OriginalVersion             string                         `json:"originalVersion,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"`
	PropertyBag                       genruntime.PropertyBag             `json:"$propertyBag,omitempty"`
	RotationToLatestKeyVersionEnabled *bool                              `json:"rotationToLatestKeyVersionEnabled,omitempty"`
	Tags                              map[string]string                  `json:"tags,omitempty"`
}

Storage version of v1api20220702.DiskEncryptionSet_Spec

func (*DiskEncryptionSet_Spec) ConvertSpecFrom

func (encryptionSet *DiskEncryptionSet_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error

ConvertSpecFrom populates our DiskEncryptionSet_Spec from the provided source

func (*DiskEncryptionSet_Spec) ConvertSpecTo

func (encryptionSet *DiskEncryptionSet_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error

ConvertSpecTo populates the provided destination from our DiskEncryptionSet_Spec

func (*DiskEncryptionSet_Spec) DeepCopy

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

func (*DiskEncryptionSet_Spec) DeepCopyInto

func (in *DiskEncryptionSet_Spec) DeepCopyInto(out *DiskEncryptionSet_Spec)

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

type EncryptionSetIdentity

type EncryptionSetIdentity struct {
	PropertyBag            genruntime.PropertyBag        `json:"$propertyBag,omitempty"`
	Type                   *string                       `json:"type,omitempty"`
	UserAssignedIdentities []UserAssignedIdentityDetails `json:"userAssignedIdentities,omitempty"`
}

Storage version of v1api20220702.EncryptionSetIdentity The managed identity for the disk encryption set. It should be given permission on the key vault before it can be used to encrypt disks.

func (*EncryptionSetIdentity) DeepCopy

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

func (*EncryptionSetIdentity) DeepCopyInto

func (in *EncryptionSetIdentity) DeepCopyInto(out *EncryptionSetIdentity)

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

type EncryptionSetIdentity_STATUS

type EncryptionSetIdentity_STATUS struct {
	PrincipalId            *string                                                        `json:"principalId,omitempty"`
	PropertyBag            genruntime.PropertyBag                                         `json:"$propertyBag,omitempty"`
	TenantId               *string                                                        `json:"tenantId,omitempty"`
	Type                   *string                                                        `json:"type,omitempty"`
	UserAssignedIdentities map[string]EncryptionSetIdentity_UserAssignedIdentities_STATUS `json:"userAssignedIdentities,omitempty"`
}

Storage version of v1api20220702.EncryptionSetIdentity_STATUS The managed identity for the disk encryption set. It should be given permission on the key vault before it can be used to encrypt disks.

func (*EncryptionSetIdentity_STATUS) DeepCopy

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

func (*EncryptionSetIdentity_STATUS) DeepCopyInto

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

type EncryptionSetIdentity_UserAssignedIdentities_STATUS

type EncryptionSetIdentity_UserAssignedIdentities_STATUS struct {
	ClientId    *string                `json:"clientId,omitempty"`
	PrincipalId *string                `json:"principalId,omitempty"`
	PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
}

Storage version of v1api20220702.EncryptionSetIdentity_UserAssignedIdentities_STATUS

func (*EncryptionSetIdentity_UserAssignedIdentities_STATUS) DeepCopy

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

func (*EncryptionSetIdentity_UserAssignedIdentities_STATUS) DeepCopyInto

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

type InnerError_STATUS

type InnerError_STATUS struct {
	Errordetail   *string                `json:"errordetail,omitempty"`
	Exceptiontype *string                `json:"exceptiontype,omitempty"`
	PropertyBag   genruntime.PropertyBag `json:"$propertyBag,omitempty"`
}

Storage version of v1api20220702.InnerError_STATUS Inner error details.

func (*InnerError_STATUS) DeepCopy

func (in *InnerError_STATUS) DeepCopy() *InnerError_STATUS

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

func (*InnerError_STATUS) DeepCopyInto

func (in *InnerError_STATUS) DeepCopyInto(out *InnerError_STATUS)

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

type KeyForDiskEncryptionSet

type KeyForDiskEncryptionSet struct {
	KeyUrl           *string                        `json:"keyUrl,omitempty" optionalConfigMapPair:"KeyUrl"`
	KeyUrlFromConfig *genruntime.ConfigMapReference `json:"keyUrlFromConfig,omitempty" optionalConfigMapPair:"KeyUrl"`
	PropertyBag      genruntime.PropertyBag         `json:"$propertyBag,omitempty"`
	SourceVault      *SourceVault                   `json:"sourceVault,omitempty"`
}

Storage version of v1api20220702.KeyForDiskEncryptionSet Key Vault Key Url to be used for server side encryption of Managed Disks and Snapshots

func (*KeyForDiskEncryptionSet) DeepCopy

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

func (*KeyForDiskEncryptionSet) DeepCopyInto

func (in *KeyForDiskEncryptionSet) DeepCopyInto(out *KeyForDiskEncryptionSet)

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

type KeyForDiskEncryptionSet_STATUS

type KeyForDiskEncryptionSet_STATUS struct {
	KeyUrl      *string                `json:"keyUrl,omitempty"`
	PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
	SourceVault *SourceVault_STATUS    `json:"sourceVault,omitempty"`
}

Storage version of v1api20220702.KeyForDiskEncryptionSet_STATUS Key Vault Key Url to be used for server side encryption of Managed Disks and Snapshots

func (*KeyForDiskEncryptionSet_STATUS) DeepCopy

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

func (*KeyForDiskEncryptionSet_STATUS) DeepCopyInto

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

type SourceVault

type SourceVault struct {
	PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`

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

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

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.

type SourceVault_STATUS

type SourceVault_STATUS struct {
	Id          *string                `json:"id,omitempty"`
	PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
}

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

func (*SourceVault_STATUS) 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.

type UserAssignedIdentityDetails

type UserAssignedIdentityDetails struct {
	PropertyBag genruntime.PropertyBag       `json:"$propertyBag,omitempty"`
	Reference   genruntime.ResourceReference `armReference:"Reference" json:"reference,omitempty"`
}

Storage version of v1api20220702.UserAssignedIdentityDetails Information about the user assigned identity for the resource

func (*UserAssignedIdentityDetails) DeepCopy

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

func (*UserAssignedIdentityDetails) DeepCopyInto

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