v1api20210101storage

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2023 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 v1api20210101storage contains API Schema definitions for the batch v1api20210101storage API group +kubebuilder:object:generate=true All object properties are optional by default, this will be overridden when needed: +kubebuilder:validation:Optional +groupName=batch.azure.com

Index

Constants

View Source
const APIVersion_Value = APIVersion("2021-01-01")

Variables

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

	// 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 v1api20210101.APIVersion +kubebuilder:validation:Enum={"2021-01-01"}

type AutoStorageBaseProperties

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

	// +kubebuilder:validation:Required
	// StorageAccountReference: The resource ID of the storage account to be used for auto-storage account.
	StorageAccountReference *genruntime.ResourceReference `armReference:"StorageAccountId" json:"storageAccountReference,omitempty"`
}

Storage version of v1api20210101.AutoStorageBaseProperties The properties related to the auto-storage account.

func (*AutoStorageBaseProperties) DeepCopy

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

func (*AutoStorageBaseProperties) DeepCopyInto

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

type AutoStorageProperties_STATUS

type AutoStorageProperties_STATUS struct {
	LastKeySync      *string                `json:"lastKeySync,omitempty"`
	PropertyBag      genruntime.PropertyBag `json:"$propertyBag,omitempty"`
	StorageAccountId *string                `json:"storageAccountId,omitempty"`
}

Storage version of v1api20210101.AutoStorageProperties_STATUS Contains information about the auto-storage account associated with a Batch account.

func (*AutoStorageProperties_STATUS) DeepCopy

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

func (*AutoStorageProperties_STATUS) DeepCopyInto

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

type BatchAccount

type BatchAccount struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              BatchAccount_Spec   `json:"spec,omitempty"`
	Status            BatchAccount_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 v1api20210101.BatchAccount Generator information: - Generated from: /batch/resource-manager/Microsoft.Batch/stable/2021-01-01/BatchManagement.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}

func (*BatchAccount) AzureName

func (account *BatchAccount) AzureName() string

AzureName returns the Azure name of the resource

func (*BatchAccount) DeepCopy

func (in *BatchAccount) DeepCopy() *BatchAccount

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

func (*BatchAccount) DeepCopyInto

func (in *BatchAccount) DeepCopyInto(out *BatchAccount)

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

func (*BatchAccount) DeepCopyObject

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

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

func (BatchAccount) GetAPIVersion

func (account BatchAccount) GetAPIVersion() string

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

func (*BatchAccount) GetConditions

func (account *BatchAccount) GetConditions() conditions.Conditions

GetConditions returns the conditions of the resource

func (*BatchAccount) GetResourceScope

func (account *BatchAccount) GetResourceScope() genruntime.ResourceScope

GetResourceScope returns the scope of the resource

func (*BatchAccount) GetSpec

func (account *BatchAccount) GetSpec() genruntime.ConvertibleSpec

GetSpec returns the specification of this resource

func (*BatchAccount) GetStatus

func (account *BatchAccount) GetStatus() genruntime.ConvertibleStatus

GetStatus returns the status of this resource

func (*BatchAccount) GetType

func (account *BatchAccount) GetType() string

GetType returns the ARM Type of the resource. This is always "Microsoft.Batch/batchAccounts"

func (*BatchAccount) Hub

func (account *BatchAccount) Hub()

Hub marks that this BatchAccount is the hub type for conversion

func (*BatchAccount) NewEmptyStatus

func (account *BatchAccount) NewEmptyStatus() genruntime.ConvertibleStatus

NewEmptyStatus returns a new empty (blank) status

func (*BatchAccount) OriginalGVK

func (account *BatchAccount) OriginalGVK() *schema.GroupVersionKind

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

func (*BatchAccount) Owner

func (account *BatchAccount) Owner() *genruntime.ResourceReference

Owner returns the ResourceReference of the owner

func (*BatchAccount) SetConditions

func (account *BatchAccount) SetConditions(conditions conditions.Conditions)

SetConditions sets the conditions on the resource status

func (*BatchAccount) SetStatus

func (account *BatchAccount) SetStatus(status genruntime.ConvertibleStatus) error

SetStatus sets the status of this resource

type BatchAccountIdentity

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

Storage version of v1api20210101.BatchAccountIdentity The identity of the Batch account, if configured. This is only used when the user specifies 'Microsoft.KeyVault' as their Batch account encryption configuration.

func (*BatchAccountIdentity) DeepCopy

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

func (*BatchAccountIdentity) DeepCopyInto

func (in *BatchAccountIdentity) DeepCopyInto(out *BatchAccountIdentity)

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

type BatchAccountIdentity_STATUS

type BatchAccountIdentity_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]BatchAccountIdentity_UserAssignedIdentities_STATUS `json:"userAssignedIdentities,omitempty"`
}

Storage version of v1api20210101.BatchAccountIdentity_STATUS The identity of the Batch account, if configured. This is only used when the user specifies 'Microsoft.KeyVault' as their Batch account encryption configuration.

func (*BatchAccountIdentity_STATUS) DeepCopy

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

func (*BatchAccountIdentity_STATUS) DeepCopyInto

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

type BatchAccountIdentity_UserAssignedIdentities_STATUS

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

Storage version of v1api20210101.BatchAccountIdentity_UserAssignedIdentities_STATUS

func (*BatchAccountIdentity_UserAssignedIdentities_STATUS) DeepCopy

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

func (*BatchAccountIdentity_UserAssignedIdentities_STATUS) DeepCopyInto

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

type BatchAccountList

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

+kubebuilder:object:root=true Storage version of v1api20210101.BatchAccount Generator information: - Generated from: /batch/resource-manager/Microsoft.Batch/stable/2021-01-01/BatchManagement.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}

func (*BatchAccountList) DeepCopy

func (in *BatchAccountList) DeepCopy() *BatchAccountList

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

func (*BatchAccountList) DeepCopyInto

func (in *BatchAccountList) DeepCopyInto(out *BatchAccountList)

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

func (*BatchAccountList) DeepCopyObject

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

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

type BatchAccount_STATUS

type BatchAccount_STATUS struct {
	AccountEndpoint                       *string                                `json:"accountEndpoint,omitempty"`
	ActiveJobAndJobScheduleQuota          *int                                   `json:"activeJobAndJobScheduleQuota,omitempty"`
	AutoStorage                           *AutoStorageProperties_STATUS          `json:"autoStorage,omitempty"`
	Conditions                            []conditions.Condition                 `json:"conditions,omitempty"`
	DedicatedCoreQuota                    *int                                   `json:"dedicatedCoreQuota,omitempty"`
	DedicatedCoreQuotaPerVMFamily         []VirtualMachineFamilyCoreQuota_STATUS `json:"dedicatedCoreQuotaPerVMFamily,omitempty"`
	DedicatedCoreQuotaPerVMFamilyEnforced *bool                                  `json:"dedicatedCoreQuotaPerVMFamilyEnforced,omitempty"`
	Encryption                            *EncryptionProperties_STATUS           `json:"encryption,omitempty"`
	Id                                    *string                                `json:"id,omitempty"`
	Identity                              *BatchAccountIdentity_STATUS           `json:"identity,omitempty"`
	KeyVaultReference                     *KeyVaultReference_STATUS              `json:"keyVaultReference,omitempty"`
	Location                              *string                                `json:"location,omitempty"`
	LowPriorityCoreQuota                  *int                                   `json:"lowPriorityCoreQuota,omitempty"`
	Name                                  *string                                `json:"name,omitempty"`
	PoolAllocationMode                    *string                                `json:"poolAllocationMode,omitempty"`
	PoolQuota                             *int                                   `json:"poolQuota,omitempty"`
	PrivateEndpointConnections            []PrivateEndpointConnection_STATUS     `json:"privateEndpointConnections,omitempty"`
	PropertyBag                           genruntime.PropertyBag                 `json:"$propertyBag,omitempty"`
	ProvisioningState                     *string                                `json:"provisioningState,omitempty"`
	PublicNetworkAccess                   *string                                `json:"publicNetworkAccess,omitempty"`
	Tags                                  map[string]string                      `json:"tags,omitempty"`
	Type                                  *string                                `json:"type,omitempty"`
}

Storage version of v1api20210101.BatchAccount_STATUS Contains information about an Azure Batch account.

func (*BatchAccount_STATUS) ConvertStatusFrom

func (account *BatchAccount_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error

ConvertStatusFrom populates our BatchAccount_STATUS from the provided source

func (*BatchAccount_STATUS) ConvertStatusTo

func (account *BatchAccount_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error

ConvertStatusTo populates the provided destination from our BatchAccount_STATUS

func (*BatchAccount_STATUS) DeepCopy

func (in *BatchAccount_STATUS) DeepCopy() *BatchAccount_STATUS

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

func (*BatchAccount_STATUS) DeepCopyInto

func (in *BatchAccount_STATUS) DeepCopyInto(out *BatchAccount_STATUS)

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

type BatchAccount_Spec

type BatchAccount_Spec struct {
	AutoStorage *AutoStorageBaseProperties `json:"autoStorage,omitempty"`

	// +kubebuilder:validation:MaxLength=24
	// +kubebuilder:validation:MinLength=3
	// +kubebuilder:validation:Pattern="^[a-z0-9]+$"
	// 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"`
	Encryption        *EncryptionProperties `json:"encryption,omitempty"`
	Identity          *BatchAccountIdentity `json:"identity,omitempty"`
	KeyVaultReference *KeyVaultReference    `json:"keyVaultReference,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"`
	PoolAllocationMode  *string                            `json:"poolAllocationMode,omitempty"`
	PropertyBag         genruntime.PropertyBag             `json:"$propertyBag,omitempty"`
	PublicNetworkAccess *string                            `json:"publicNetworkAccess,omitempty"`
	Tags                map[string]string                  `json:"tags,omitempty"`
}

Storage version of v1api20210101.BatchAccount_Spec

func (*BatchAccount_Spec) ConvertSpecFrom

func (account *BatchAccount_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error

ConvertSpecFrom populates our BatchAccount_Spec from the provided source

func (*BatchAccount_Spec) ConvertSpecTo

func (account *BatchAccount_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error

ConvertSpecTo populates the provided destination from our BatchAccount_Spec

func (*BatchAccount_Spec) DeepCopy

func (in *BatchAccount_Spec) DeepCopy() *BatchAccount_Spec

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

func (*BatchAccount_Spec) DeepCopyInto

func (in *BatchAccount_Spec) DeepCopyInto(out *BatchAccount_Spec)

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

type EncryptionProperties

type EncryptionProperties struct {
	KeySource          *string                `json:"keySource,omitempty"`
	KeyVaultProperties *KeyVaultProperties    `json:"keyVaultProperties,omitempty"`
	PropertyBag        genruntime.PropertyBag `json:"$propertyBag,omitempty"`
}

Storage version of v1api20210101.EncryptionProperties Configures how customer data is encrypted inside the Batch account. By default, accounts are encrypted using a Microsoft managed key. For additional control, a customer-managed key can be used instead.

func (*EncryptionProperties) DeepCopy

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

func (*EncryptionProperties) DeepCopyInto

func (in *EncryptionProperties) DeepCopyInto(out *EncryptionProperties)

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

type EncryptionProperties_STATUS

type EncryptionProperties_STATUS struct {
	KeySource          *string                    `json:"keySource,omitempty"`
	KeyVaultProperties *KeyVaultProperties_STATUS `json:"keyVaultProperties,omitempty"`
	PropertyBag        genruntime.PropertyBag     `json:"$propertyBag,omitempty"`
}

Storage version of v1api20210101.EncryptionProperties_STATUS Configures how customer data is encrypted inside the Batch account. By default, accounts are encrypted using a Microsoft managed key. For additional control, a customer-managed key can be used instead.

func (*EncryptionProperties_STATUS) DeepCopy

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

func (*EncryptionProperties_STATUS) DeepCopyInto

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

type KeyVaultProperties

type KeyVaultProperties struct {
	KeyIdentifier *string                `json:"keyIdentifier,omitempty"`
	PropertyBag   genruntime.PropertyBag `json:"$propertyBag,omitempty"`
}

Storage version of v1api20210101.KeyVaultProperties KeyVault configuration when using an encryption KeySource of Microsoft.KeyVault.

func (*KeyVaultProperties) DeepCopy

func (in *KeyVaultProperties) DeepCopy() *KeyVaultProperties

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

func (*KeyVaultProperties) DeepCopyInto

func (in *KeyVaultProperties) DeepCopyInto(out *KeyVaultProperties)

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

type KeyVaultProperties_STATUS

type KeyVaultProperties_STATUS struct {
	KeyIdentifier *string                `json:"keyIdentifier,omitempty"`
	PropertyBag   genruntime.PropertyBag `json:"$propertyBag,omitempty"`
}

Storage version of v1api20210101.KeyVaultProperties_STATUS KeyVault configuration when using an encryption KeySource of Microsoft.KeyVault.

func (*KeyVaultProperties_STATUS) DeepCopy

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

func (*KeyVaultProperties_STATUS) DeepCopyInto

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

type KeyVaultReference

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

	// +kubebuilder:validation:Required
	// Reference: The resource ID of the Azure key vault associated with the Batch account.
	Reference *genruntime.ResourceReference `armReference:"Id" json:"reference,omitempty"`
	Url       *string                       `json:"url,omitempty"`
}

Storage version of v1api20210101.KeyVaultReference Identifies the Azure key vault associated with a Batch account.

func (*KeyVaultReference) DeepCopy

func (in *KeyVaultReference) DeepCopy() *KeyVaultReference

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

func (*KeyVaultReference) DeepCopyInto

func (in *KeyVaultReference) DeepCopyInto(out *KeyVaultReference)

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

type KeyVaultReference_STATUS

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

Storage version of v1api20210101.KeyVaultReference_STATUS Identifies the Azure key vault associated with a Batch account.

func (*KeyVaultReference_STATUS) DeepCopy

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

func (*KeyVaultReference_STATUS) DeepCopyInto

func (in *KeyVaultReference_STATUS) DeepCopyInto(out *KeyVaultReference_STATUS)

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

type PrivateEndpointConnection_STATUS

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

Storage version of v1api20210101.PrivateEndpointConnection_STATUS Contains information about a private link resource.

func (*PrivateEndpointConnection_STATUS) DeepCopy

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

func (*PrivateEndpointConnection_STATUS) DeepCopyInto

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 v1api20210101.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.

type VirtualMachineFamilyCoreQuota_STATUS

type VirtualMachineFamilyCoreQuota_STATUS struct {
	CoreQuota   *int                   `json:"coreQuota,omitempty"`
	Name        *string                `json:"name,omitempty"`
	PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
}

Storage version of v1api20210101.VirtualMachineFamilyCoreQuota_STATUS A VM Family and its associated core quota for the Batch account.

func (*VirtualMachineFamilyCoreQuota_STATUS) DeepCopy

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

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