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 subscription storage API group +kubebuilder:object:generate=true All object properties are optional by default, this will be overridden when needed: +kubebuilder:validation:Optional +groupName=subscription.azure.com +versionName=v1api20211001storage

Index

Constants

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

Variables

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

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

type Alias

type Alias struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              Alias_Spec   `json:"spec,omitempty"`
	Status            Alias_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 v1api20211001.Alias Generator information: - Generated from: /subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/subscriptions.json - ARM URI: /providers/Microsoft.Subscription/aliases/{aliasName}

func (*Alias) AzureName

func (alias *Alias) AzureName() string

AzureName returns the Azure name of the resource

func (*Alias) DeepCopy

func (in *Alias) DeepCopy() *Alias

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

func (*Alias) DeepCopyInto

func (in *Alias) DeepCopyInto(out *Alias)

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

func (*Alias) DeepCopyObject

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

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

func (Alias) GetAPIVersion

func (alias Alias) GetAPIVersion() string

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

func (*Alias) GetConditions

func (alias *Alias) GetConditions() conditions.Conditions

GetConditions returns the conditions of the resource

func (*Alias) GetResourceScope

func (alias *Alias) GetResourceScope() genruntime.ResourceScope

GetResourceScope returns the scope of the resource

func (*Alias) GetSpec

func (alias *Alias) GetSpec() genruntime.ConvertibleSpec

GetSpec returns the specification of this resource

func (*Alias) GetStatus

func (alias *Alias) GetStatus() genruntime.ConvertibleStatus

GetStatus returns the status of this resource

func (*Alias) GetSupportedOperations

func (alias *Alias) GetSupportedOperations() []genruntime.ResourceOperation

GetSupportedOperations returns the operations supported by the resource

func (*Alias) GetType

func (alias *Alias) GetType() string

GetType returns the ARM Type of the resource. This is always "Microsoft.Subscription/aliases"

func (*Alias) Hub

func (alias *Alias) Hub()

Hub marks that this Alias is the hub type for conversion

func (*Alias) NewEmptyStatus

func (alias *Alias) NewEmptyStatus() genruntime.ConvertibleStatus

NewEmptyStatus returns a new empty (blank) status

func (*Alias) OriginalGVK

func (alias *Alias) OriginalGVK() *schema.GroupVersionKind

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

func (*Alias) Owner

func (alias *Alias) Owner() *genruntime.ResourceReference

Owner returns nil as Tenant scoped resources never have an owner

func (*Alias) SetConditions

func (alias *Alias) SetConditions(conditions conditions.Conditions)

SetConditions sets the conditions on the resource status

func (*Alias) SetStatus

func (alias *Alias) SetStatus(status genruntime.ConvertibleStatus) error

SetStatus sets the status of this resource

type AliasList

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

+kubebuilder:object:root=true Storage version of v1api20211001.Alias Generator information: - Generated from: /subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/subscriptions.json - ARM URI: /providers/Microsoft.Subscription/aliases/{aliasName}

func (*AliasList) DeepCopy

func (in *AliasList) DeepCopy() *AliasList

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

func (*AliasList) DeepCopyInto

func (in *AliasList) DeepCopyInto(out *AliasList)

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

func (*AliasList) DeepCopyObject

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

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

type Alias_STATUS

type Alias_STATUS struct {
	Conditions  []conditions.Condition                      `json:"conditions,omitempty"`
	Id          *string                                     `json:"id,omitempty"`
	Name        *string                                     `json:"name,omitempty"`
	Properties  *SubscriptionAliasResponseProperties_STATUS `json:"properties,omitempty"`
	PropertyBag genruntime.PropertyBag                      `json:"$propertyBag,omitempty"`
	SystemData  *SystemData_STATUS                          `json:"systemData,omitempty"`
	Type        *string                                     `json:"type,omitempty"`
}

Storage version of v1api20211001.Alias_STATUS

func (*Alias_STATUS) ConvertStatusFrom

func (alias *Alias_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error

ConvertStatusFrom populates our Alias_STATUS from the provided source

func (*Alias_STATUS) ConvertStatusTo

func (alias *Alias_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error

ConvertStatusTo populates the provided destination from our Alias_STATUS

func (*Alias_STATUS) DeepCopy

func (in *Alias_STATUS) DeepCopy() *Alias_STATUS

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

func (*Alias_STATUS) DeepCopyInto

func (in *Alias_STATUS) DeepCopyInto(out *Alias_STATUS)

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

type Alias_Spec

type Alias_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"`
	OriginalVersion string                     `json:"originalVersion,omitempty"`
	Properties      *PutAliasRequestProperties `json:"properties,omitempty"`
	PropertyBag     genruntime.PropertyBag     `json:"$propertyBag,omitempty"`
}

Storage version of v1api20211001.Alias_Spec

func (*Alias_Spec) ConvertSpecFrom

func (alias *Alias_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error

ConvertSpecFrom populates our Alias_Spec from the provided source

func (*Alias_Spec) ConvertSpecTo

func (alias *Alias_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error

ConvertSpecTo populates the provided destination from our Alias_Spec

func (*Alias_Spec) DeepCopy

func (in *Alias_Spec) DeepCopy() *Alias_Spec

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

func (*Alias_Spec) DeepCopyInto

func (in *Alias_Spec) DeepCopyInto(out *Alias_Spec)

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

type PutAliasRequestAdditionalProperties

type PutAliasRequestAdditionalProperties struct {
	ManagementGroupId    *string                `json:"managementGroupId,omitempty"`
	PropertyBag          genruntime.PropertyBag `json:"$propertyBag,omitempty"`
	SubscriptionOwnerId  *string                `json:"subscriptionOwnerId,omitempty"`
	SubscriptionTenantId *string                `json:"subscriptionTenantId,omitempty"`
	Tags                 map[string]string      `json:"tags,omitempty"`
}

Storage version of v1api20211001.PutAliasRequestAdditionalProperties Put subscription additional properties.

func (*PutAliasRequestAdditionalProperties) DeepCopy

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

func (*PutAliasRequestAdditionalProperties) DeepCopyInto

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

type PutAliasRequestProperties

type PutAliasRequestProperties struct {
	AdditionalProperties *PutAliasRequestAdditionalProperties `json:"additionalProperties,omitempty"`
	BillingScope         *string                              `json:"billingScope,omitempty"`
	DisplayName          *string                              `json:"displayName,omitempty"`
	PropertyBag          genruntime.PropertyBag               `json:"$propertyBag,omitempty"`
	ResellerId           *string                              `json:"resellerId,omitempty"`
	SubscriptionId       *string                              `json:"subscriptionId,omitempty"`
	Workload             *string                              `json:"workload,omitempty"`
}

Storage version of v1api20211001.PutAliasRequestProperties Put subscription properties.

func (*PutAliasRequestProperties) DeepCopy

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

func (*PutAliasRequestProperties) DeepCopyInto

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

type SubscriptionAliasResponseProperties_STATUS

type SubscriptionAliasResponseProperties_STATUS struct {
	AcceptOwnershipState *string                `json:"acceptOwnershipState,omitempty"`
	AcceptOwnershipUrl   *string                `json:"acceptOwnershipUrl,omitempty"`
	BillingScope         *string                `json:"billingScope,omitempty"`
	CreatedTime          *string                `json:"createdTime,omitempty"`
	DisplayName          *string                `json:"displayName,omitempty"`
	ManagementGroupId    *string                `json:"managementGroupId,omitempty"`
	PropertyBag          genruntime.PropertyBag `json:"$propertyBag,omitempty"`
	ProvisioningState    *string                `json:"provisioningState,omitempty"`
	ResellerId           *string                `json:"resellerId,omitempty"`
	SubscriptionId       *string                `json:"subscriptionId,omitempty"`
	SubscriptionOwnerId  *string                `json:"subscriptionOwnerId,omitempty"`
	Tags                 map[string]string      `json:"tags,omitempty"`
	Workload             *string                `json:"workload,omitempty"`
}

Storage version of v1api20211001.SubscriptionAliasResponseProperties_STATUS Put subscription creation result properties.

func (*SubscriptionAliasResponseProperties_STATUS) DeepCopy

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

func (*SubscriptionAliasResponseProperties_STATUS) DeepCopyInto

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

type SystemData_STATUS

type SystemData_STATUS struct {
	CreatedAt          *string                `json:"createdAt,omitempty"`
	CreatedBy          *string                `json:"createdBy,omitempty"`
	CreatedByType      *string                `json:"createdByType,omitempty"`
	LastModifiedAt     *string                `json:"lastModifiedAt,omitempty"`
	LastModifiedBy     *string                `json:"lastModifiedBy,omitempty"`
	LastModifiedByType *string                `json:"lastModifiedByType,omitempty"`
	PropertyBag        genruntime.PropertyBag `json:"$propertyBag,omitempty"`
}

Storage version of v1api20211001.SystemData_STATUS Metadata pertaining to creation and last modification of the resource.

func (*SystemData_STATUS) DeepCopy

func (in *SystemData_STATUS) DeepCopy() *SystemData_STATUS

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

func (*SystemData_STATUS) DeepCopyInto

func (in *SystemData_STATUS) DeepCopyInto(out *SystemData_STATUS)

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