v1api20211001

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: 12 Imported by: 0

Documentation

Overview

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

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

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

Package v1api20211001 contains API Schema definitions for the subscription v1api20211001 API group +groupName=subscription.azure.com

Package v1api20211001 contains API Schema definitions for the subscription v1api20211001 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=v1api20211001

Index

Constants

View Source
const (
	Workload_DevTest    = Workload("DevTest")
	Workload_Production = Workload("Production")
)
View Source
const (
	AcceptOwnershipState_STATUS_Completed = AcceptOwnershipState_STATUS("Completed")
	AcceptOwnershipState_STATUS_Expired   = AcceptOwnershipState_STATUS("Expired")
	AcceptOwnershipState_STATUS_Pending   = AcceptOwnershipState_STATUS("Pending")
)
View Source
const (
	SubscriptionAliasResponseProperties_ProvisioningState_STATUS_Accepted  = SubscriptionAliasResponseProperties_ProvisioningState_STATUS("Accepted")
	SubscriptionAliasResponseProperties_ProvisioningState_STATUS_Failed    = SubscriptionAliasResponseProperties_ProvisioningState_STATUS("Failed")
	SubscriptionAliasResponseProperties_ProvisioningState_STATUS_Succeeded = SubscriptionAliasResponseProperties_ProvisioningState_STATUS("Succeeded")
)
View Source
const (
	SystemData_CreatedByType_STATUS_Application     = SystemData_CreatedByType_STATUS("Application")
	SystemData_CreatedByType_STATUS_Key             = SystemData_CreatedByType_STATUS("Key")
	SystemData_CreatedByType_STATUS_ManagedIdentity = SystemData_CreatedByType_STATUS("ManagedIdentity")
	SystemData_CreatedByType_STATUS_User            = SystemData_CreatedByType_STATUS("User")
)
View Source
const (
	SystemData_LastModifiedByType_STATUS_Application     = SystemData_LastModifiedByType_STATUS("Application")
	SystemData_LastModifiedByType_STATUS_Key             = SystemData_LastModifiedByType_STATUS("Key")
	SystemData_LastModifiedByType_STATUS_ManagedIdentity = SystemData_LastModifiedByType_STATUS("ManagedIdentity")
	SystemData_LastModifiedByType_STATUS_User            = SystemData_LastModifiedByType_STATUS("User")
)
View Source
const (
	Workload_STATUS_DevTest    = Workload_STATUS("DevTest")
	Workload_STATUS_Production = Workload_STATUS("Production")
)
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: "v1api20211001"}

	// 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-10-01"}

type AcceptOwnershipState_STATUS

type AcceptOwnershipState_STATUS string

The accept ownership state of the resource.

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: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" Generator information: - Generated from: /subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/subscriptions.json - ARM URI: /providers/Microsoft.Subscription/aliases/{aliasName}

func (*Alias) AssignProperties_From_Alias

func (alias *Alias) AssignProperties_From_Alias(source *v20211001s.Alias) error

AssignProperties_From_Alias populates our Alias from the provided source Alias

func (*Alias) AssignProperties_To_Alias

func (alias *Alias) AssignProperties_To_Alias(destination *v20211001s.Alias) error

AssignProperties_To_Alias populates the provided destination Alias from our Alias

func (*Alias) AzureName

func (alias *Alias) AzureName() string

AzureName returns the Azure name of the resource

func (*Alias) ConvertFrom

func (alias *Alias) ConvertFrom(hub conversion.Hub) error

ConvertFrom populates our Alias from the provided hub Alias

func (*Alias) ConvertTo

func (alias *Alias) ConvertTo(hub conversion.Hub) error

ConvertTo populates the provided hub Alias from our Alias

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

func (alias *Alias) Default()

Default applies defaults to the Alias resource

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 added in v2.4.0

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

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

InitializeSpec initializes the spec for this resource from the given status

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

func (*Alias) ValidateCreate

func (alias *Alias) ValidateCreate() (admission.Warnings, error)

ValidateCreate validates the creation of the resource

func (*Alias) ValidateDelete

func (alias *Alias) ValidateDelete() (admission.Warnings, error)

ValidateDelete validates the deletion of the resource

func (*Alias) ValidateUpdate

func (alias *Alias) ValidateUpdate(old runtime.Object) (admission.Warnings, error)

ValidateUpdate validates an update of the resource

type AliasList

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

+kubebuilder:object:root=true 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: The observed state of the resource
	Conditions []conditions.Condition `json:"conditions,omitempty"`

	// Id: Fully qualified ID for the alias resource.
	Id *string `json:"id,omitempty"`

	// Name: Alias ID.
	Name *string `json:"name,omitempty"`

	// Properties: Subscription Alias response properties.
	Properties *SubscriptionAliasResponseProperties_STATUS `json:"properties,omitempty"`

	// SystemData: Metadata pertaining to creation and last modification of the resource.
	SystemData *SystemData_STATUS `json:"systemData,omitempty"`

	// Type: Resource type, Microsoft.Subscription/aliases.
	Type *string `json:"type,omitempty"`
}

func (*Alias_STATUS) AssignProperties_From_Alias_STATUS

func (alias *Alias_STATUS) AssignProperties_From_Alias_STATUS(source *v20211001s.Alias_STATUS) error

AssignProperties_From_Alias_STATUS populates our Alias_STATUS from the provided source Alias_STATUS

func (*Alias_STATUS) AssignProperties_To_Alias_STATUS

func (alias *Alias_STATUS) AssignProperties_To_Alias_STATUS(destination *v20211001s.Alias_STATUS) error

AssignProperties_To_Alias_STATUS populates the provided destination Alias_STATUS from our 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.

func (*Alias_STATUS) NewEmptyARMValue

func (alias *Alias_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*Alias_STATUS) PopulateFromARM

func (alias *Alias_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type Alias_STATUS_ARM

type Alias_STATUS_ARM struct {
	// Id: Fully qualified ID for the alias resource.
	Id *string `json:"id,omitempty"`

	// Name: Alias ID.
	Name *string `json:"name,omitempty"`

	// Properties: Subscription Alias response properties.
	Properties *SubscriptionAliasResponseProperties_STATUS_ARM `json:"properties,omitempty"`

	// SystemData: Metadata pertaining to creation and last modification of the resource.
	SystemData *SystemData_STATUS_ARM `json:"systemData,omitempty"`

	// Type: Resource type, Microsoft.Subscription/aliases.
	Type *string `json:"type,omitempty"`
}

func (*Alias_STATUS_ARM) DeepCopy

func (in *Alias_STATUS_ARM) DeepCopy() *Alias_STATUS_ARM

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

func (*Alias_STATUS_ARM) DeepCopyInto

func (in *Alias_STATUS_ARM) DeepCopyInto(out *Alias_STATUS_ARM)

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

	// Properties: Put alias request properties.
	Properties *PutAliasRequestProperties `json:"properties,omitempty"`
}

func (*Alias_Spec) AssignProperties_From_Alias_Spec

func (alias *Alias_Spec) AssignProperties_From_Alias_Spec(source *v20211001s.Alias_Spec) error

AssignProperties_From_Alias_Spec populates our Alias_Spec from the provided source Alias_Spec

func (*Alias_Spec) AssignProperties_To_Alias_Spec

func (alias *Alias_Spec) AssignProperties_To_Alias_Spec(destination *v20211001s.Alias_Spec) error

AssignProperties_To_Alias_Spec populates the provided destination Alias_Spec from our 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) ConvertToARM

func (alias *Alias_Spec) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

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.

func (*Alias_Spec) Initialize_From_Alias_STATUS

func (alias *Alias_Spec) Initialize_From_Alias_STATUS(source *Alias_STATUS) error

Initialize_From_Alias_STATUS populates our Alias_Spec from the provided source Alias_STATUS

func (*Alias_Spec) NewEmptyARMValue

func (alias *Alias_Spec) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*Alias_Spec) OriginalVersion

func (alias *Alias_Spec) OriginalVersion() string

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

func (*Alias_Spec) PopulateFromARM

func (alias *Alias_Spec) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

func (*Alias_Spec) SetAzureName

func (alias *Alias_Spec) SetAzureName(azureName string)

SetAzureName sets the Azure name of the resource

type Alias_Spec_ARM

type Alias_Spec_ARM struct {
	Name string `json:"name,omitempty"`

	// Properties: Put alias request properties.
	Properties *PutAliasRequestProperties_ARM `json:"properties,omitempty"`
}

func (*Alias_Spec_ARM) DeepCopy

func (in *Alias_Spec_ARM) DeepCopy() *Alias_Spec_ARM

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

func (*Alias_Spec_ARM) DeepCopyInto

func (in *Alias_Spec_ARM) DeepCopyInto(out *Alias_Spec_ARM)

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

func (Alias_Spec_ARM) GetAPIVersion

func (alias Alias_Spec_ARM) GetAPIVersion() string

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

func (*Alias_Spec_ARM) GetName

func (alias *Alias_Spec_ARM) GetName() string

GetName returns the Name of the resource

func (*Alias_Spec_ARM) GetType

func (alias *Alias_Spec_ARM) GetType() string

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

type PutAliasRequestAdditionalProperties

type PutAliasRequestAdditionalProperties struct {
	// ManagementGroupId: Management group Id for the subscription.
	ManagementGroupId *string `json:"managementGroupId,omitempty"`

	// SubscriptionOwnerId: Owner Id of the subscription
	SubscriptionOwnerId *string `json:"subscriptionOwnerId,omitempty"`

	// SubscriptionTenantId: Tenant Id of the subscription
	SubscriptionTenantId *string `json:"subscriptionTenantId,omitempty"`

	// Tags: Tags for the subscription
	Tags map[string]string `json:"tags,omitempty"`
}

Put subscription additional properties.

func (*PutAliasRequestAdditionalProperties) AssignProperties_From_PutAliasRequestAdditionalProperties

func (properties *PutAliasRequestAdditionalProperties) AssignProperties_From_PutAliasRequestAdditionalProperties(source *v20211001s.PutAliasRequestAdditionalProperties) error

AssignProperties_From_PutAliasRequestAdditionalProperties populates our PutAliasRequestAdditionalProperties from the provided source PutAliasRequestAdditionalProperties

func (*PutAliasRequestAdditionalProperties) AssignProperties_To_PutAliasRequestAdditionalProperties

func (properties *PutAliasRequestAdditionalProperties) AssignProperties_To_PutAliasRequestAdditionalProperties(destination *v20211001s.PutAliasRequestAdditionalProperties) error

AssignProperties_To_PutAliasRequestAdditionalProperties populates the provided destination PutAliasRequestAdditionalProperties from our PutAliasRequestAdditionalProperties

func (*PutAliasRequestAdditionalProperties) ConvertToARM

func (properties *PutAliasRequestAdditionalProperties) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

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.

func (*PutAliasRequestAdditionalProperties) NewEmptyARMValue

func (properties *PutAliasRequestAdditionalProperties) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*PutAliasRequestAdditionalProperties) PopulateFromARM

func (properties *PutAliasRequestAdditionalProperties) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type PutAliasRequestAdditionalProperties_ARM

type PutAliasRequestAdditionalProperties_ARM struct {
	// ManagementGroupId: Management group Id for the subscription.
	ManagementGroupId *string `json:"managementGroupId,omitempty"`

	// SubscriptionOwnerId: Owner Id of the subscription
	SubscriptionOwnerId *string `json:"subscriptionOwnerId,omitempty"`

	// SubscriptionTenantId: Tenant Id of the subscription
	SubscriptionTenantId *string `json:"subscriptionTenantId,omitempty"`

	// Tags: Tags for the subscription
	Tags map[string]string `json:"tags,omitempty"`
}

Put subscription additional properties.

func (*PutAliasRequestAdditionalProperties_ARM) DeepCopy

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

func (*PutAliasRequestAdditionalProperties_ARM) DeepCopyInto

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

type PutAliasRequestProperties

type PutAliasRequestProperties struct {
	// AdditionalProperties: Put alias request additional properties.
	AdditionalProperties *PutAliasRequestAdditionalProperties `json:"additionalProperties,omitempty"`
	BillingScope         *string                              `json:"billingScope,omitempty"`

	// DisplayName: The friendly name of the subscription.
	DisplayName *string `json:"displayName,omitempty"`

	// ResellerId: Reseller Id
	ResellerId *string `json:"resellerId,omitempty"`

	// SubscriptionId: This parameter can be used to create alias for existing subscription Id
	SubscriptionId *string `json:"subscriptionId,omitempty"`

	// Workload: The workload type of the subscription. It can be either Production or DevTest.
	Workload *Workload `json:"workload,omitempty"`
}

Put subscription properties.

func (*PutAliasRequestProperties) AssignProperties_From_PutAliasRequestProperties

func (properties *PutAliasRequestProperties) AssignProperties_From_PutAliasRequestProperties(source *v20211001s.PutAliasRequestProperties) error

AssignProperties_From_PutAliasRequestProperties populates our PutAliasRequestProperties from the provided source PutAliasRequestProperties

func (*PutAliasRequestProperties) AssignProperties_To_PutAliasRequestProperties

func (properties *PutAliasRequestProperties) AssignProperties_To_PutAliasRequestProperties(destination *v20211001s.PutAliasRequestProperties) error

AssignProperties_To_PutAliasRequestProperties populates the provided destination PutAliasRequestProperties from our PutAliasRequestProperties

func (*PutAliasRequestProperties) ConvertToARM

func (properties *PutAliasRequestProperties) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

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.

func (*PutAliasRequestProperties) Initialize_From_SubscriptionAliasResponseProperties_STATUS

func (properties *PutAliasRequestProperties) Initialize_From_SubscriptionAliasResponseProperties_STATUS(source *SubscriptionAliasResponseProperties_STATUS) error

Initialize_From_SubscriptionAliasResponseProperties_STATUS populates our PutAliasRequestProperties from the provided source SubscriptionAliasResponseProperties_STATUS

func (*PutAliasRequestProperties) NewEmptyARMValue

func (properties *PutAliasRequestProperties) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*PutAliasRequestProperties) PopulateFromARM

func (properties *PutAliasRequestProperties) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type PutAliasRequestProperties_ARM

type PutAliasRequestProperties_ARM struct {
	// AdditionalProperties: Put alias request additional properties.
	AdditionalProperties *PutAliasRequestAdditionalProperties_ARM `json:"additionalProperties,omitempty"`
	BillingScope         *string                                  `json:"billingScope,omitempty"`

	// DisplayName: The friendly name of the subscription.
	DisplayName *string `json:"displayName,omitempty"`

	// ResellerId: Reseller Id
	ResellerId *string `json:"resellerId,omitempty"`

	// SubscriptionId: This parameter can be used to create alias for existing subscription Id
	SubscriptionId *string `json:"subscriptionId,omitempty"`

	// Workload: The workload type of the subscription. It can be either Production or DevTest.
	Workload *Workload `json:"workload,omitempty"`
}

Put subscription properties.

func (*PutAliasRequestProperties_ARM) DeepCopy

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

func (*PutAliasRequestProperties_ARM) DeepCopyInto

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

type SubscriptionAliasResponseProperties_ProvisioningState_STATUS

type SubscriptionAliasResponseProperties_ProvisioningState_STATUS string

type SubscriptionAliasResponseProperties_STATUS

type SubscriptionAliasResponseProperties_STATUS struct {
	// AcceptOwnershipState: The accept ownership state of the resource.
	AcceptOwnershipState *AcceptOwnershipState_STATUS `json:"acceptOwnershipState,omitempty"`

	// AcceptOwnershipUrl: Url to accept ownership of the subscription.
	AcceptOwnershipUrl *string `json:"acceptOwnershipUrl,omitempty"`
	BillingScope       *string `json:"billingScope,omitempty"`

	// CreatedTime: Created Time
	CreatedTime *string `json:"createdTime,omitempty"`

	// DisplayName: The display name of the subscription.
	DisplayName *string `json:"displayName,omitempty"`

	// ManagementGroupId: The Management Group Id.
	ManagementGroupId *string `json:"managementGroupId,omitempty"`

	// ProvisioningState: The provisioning state of the resource.
	ProvisioningState *SubscriptionAliasResponseProperties_ProvisioningState_STATUS `json:"provisioningState,omitempty"`

	// ResellerId: Reseller Id
	ResellerId *string `json:"resellerId,omitempty"`

	// SubscriptionId: Newly created subscription Id.
	SubscriptionId *string `json:"subscriptionId,omitempty"`

	// SubscriptionOwnerId: Owner Id of the subscription
	SubscriptionOwnerId *string `json:"subscriptionOwnerId,omitempty"`

	// Tags: Tags for the subscription
	Tags map[string]string `json:"tags,omitempty"`

	// Workload: The workload type of the subscription. It can be either Production or DevTest.
	Workload *Workload_STATUS `json:"workload,omitempty"`
}

Put subscription creation result properties.

func (*SubscriptionAliasResponseProperties_STATUS) AssignProperties_From_SubscriptionAliasResponseProperties_STATUS

func (properties *SubscriptionAliasResponseProperties_STATUS) AssignProperties_From_SubscriptionAliasResponseProperties_STATUS(source *v20211001s.SubscriptionAliasResponseProperties_STATUS) error

AssignProperties_From_SubscriptionAliasResponseProperties_STATUS populates our SubscriptionAliasResponseProperties_STATUS from the provided source SubscriptionAliasResponseProperties_STATUS

func (*SubscriptionAliasResponseProperties_STATUS) AssignProperties_To_SubscriptionAliasResponseProperties_STATUS

func (properties *SubscriptionAliasResponseProperties_STATUS) AssignProperties_To_SubscriptionAliasResponseProperties_STATUS(destination *v20211001s.SubscriptionAliasResponseProperties_STATUS) error

AssignProperties_To_SubscriptionAliasResponseProperties_STATUS populates the provided destination SubscriptionAliasResponseProperties_STATUS from our SubscriptionAliasResponseProperties_STATUS

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.

func (*SubscriptionAliasResponseProperties_STATUS) NewEmptyARMValue

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*SubscriptionAliasResponseProperties_STATUS) PopulateFromARM

func (properties *SubscriptionAliasResponseProperties_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type SubscriptionAliasResponseProperties_STATUS_ARM

type SubscriptionAliasResponseProperties_STATUS_ARM struct {
	// AcceptOwnershipState: The accept ownership state of the resource.
	AcceptOwnershipState *AcceptOwnershipState_STATUS `json:"acceptOwnershipState,omitempty"`

	// AcceptOwnershipUrl: Url to accept ownership of the subscription.
	AcceptOwnershipUrl *string `json:"acceptOwnershipUrl,omitempty"`
	BillingScope       *string `json:"billingScope,omitempty"`

	// CreatedTime: Created Time
	CreatedTime *string `json:"createdTime,omitempty"`

	// DisplayName: The display name of the subscription.
	DisplayName *string `json:"displayName,omitempty"`

	// ManagementGroupId: The Management Group Id.
	ManagementGroupId *string `json:"managementGroupId,omitempty"`

	// ProvisioningState: The provisioning state of the resource.
	ProvisioningState *SubscriptionAliasResponseProperties_ProvisioningState_STATUS `json:"provisioningState,omitempty"`

	// ResellerId: Reseller Id
	ResellerId *string `json:"resellerId,omitempty"`

	// SubscriptionId: Newly created subscription Id.
	SubscriptionId *string `json:"subscriptionId,omitempty"`

	// SubscriptionOwnerId: Owner Id of the subscription
	SubscriptionOwnerId *string `json:"subscriptionOwnerId,omitempty"`

	// Tags: Tags for the subscription
	Tags map[string]string `json:"tags,omitempty"`

	// Workload: The workload type of the subscription. It can be either Production or DevTest.
	Workload *Workload_STATUS `json:"workload,omitempty"`
}

Put subscription creation result properties.

func (*SubscriptionAliasResponseProperties_STATUS_ARM) DeepCopy

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

func (*SubscriptionAliasResponseProperties_STATUS_ARM) DeepCopyInto

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

type SystemData_CreatedByType_STATUS

type SystemData_CreatedByType_STATUS string

type SystemData_LastModifiedByType_STATUS

type SystemData_LastModifiedByType_STATUS string

type SystemData_STATUS

type SystemData_STATUS struct {
	// CreatedAt: The timestamp of resource creation (UTC).
	CreatedAt *string `json:"createdAt,omitempty"`

	// CreatedBy: The identity that created the resource.
	CreatedBy *string `json:"createdBy,omitempty"`

	// CreatedByType: The type of identity that created the resource.
	CreatedByType *SystemData_CreatedByType_STATUS `json:"createdByType,omitempty"`

	// LastModifiedAt: The timestamp of resource last modification (UTC)
	LastModifiedAt *string `json:"lastModifiedAt,omitempty"`

	// LastModifiedBy: The identity that last modified the resource.
	LastModifiedBy *string `json:"lastModifiedBy,omitempty"`

	// LastModifiedByType: The type of identity that last modified the resource.
	LastModifiedByType *SystemData_LastModifiedByType_STATUS `json:"lastModifiedByType,omitempty"`
}

Metadata pertaining to creation and last modification of the resource.

func (*SystemData_STATUS) AssignProperties_From_SystemData_STATUS

func (data *SystemData_STATUS) AssignProperties_From_SystemData_STATUS(source *v20211001s.SystemData_STATUS) error

AssignProperties_From_SystemData_STATUS populates our SystemData_STATUS from the provided source SystemData_STATUS

func (*SystemData_STATUS) AssignProperties_To_SystemData_STATUS

func (data *SystemData_STATUS) AssignProperties_To_SystemData_STATUS(destination *v20211001s.SystemData_STATUS) error

AssignProperties_To_SystemData_STATUS populates the provided destination SystemData_STATUS from our SystemData_STATUS

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.

func (*SystemData_STATUS) NewEmptyARMValue

func (data *SystemData_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*SystemData_STATUS) PopulateFromARM

func (data *SystemData_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type SystemData_STATUS_ARM

type SystemData_STATUS_ARM struct {
	// CreatedAt: The timestamp of resource creation (UTC).
	CreatedAt *string `json:"createdAt,omitempty"`

	// CreatedBy: The identity that created the resource.
	CreatedBy *string `json:"createdBy,omitempty"`

	// CreatedByType: The type of identity that created the resource.
	CreatedByType *SystemData_CreatedByType_STATUS `json:"createdByType,omitempty"`

	// LastModifiedAt: The timestamp of resource last modification (UTC)
	LastModifiedAt *string `json:"lastModifiedAt,omitempty"`

	// LastModifiedBy: The identity that last modified the resource.
	LastModifiedBy *string `json:"lastModifiedBy,omitempty"`

	// LastModifiedByType: The type of identity that last modified the resource.
	LastModifiedByType *SystemData_LastModifiedByType_STATUS `json:"lastModifiedByType,omitempty"`
}

Metadata pertaining to creation and last modification of the resource.

func (*SystemData_STATUS_ARM) DeepCopy

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

func (*SystemData_STATUS_ARM) DeepCopyInto

func (in *SystemData_STATUS_ARM) DeepCopyInto(out *SystemData_STATUS_ARM)

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

type Workload

type Workload string

The workload type of the subscription. It can be either Production or DevTest. +kubebuilder:validation:Enum={"DevTest","Production"}

type Workload_STATUS

type Workload_STATUS string

The workload type of the subscription. It can be either Production or DevTest.

Directories

Path Synopsis
Code generated by azure-service-operator-codegen.
Code generated by azure-service-operator-codegen.

Jump to

Keyboard shortcuts

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