v1api20200601

package
v2.0.0-...-a7294fb Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Overview

Package v1api20200601 contains API Schema definitions for the resources v1api20200601 API group +groupName=resources.azure.com

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

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

Index

Constants

View Source
const APIVersion_Value = APIVersion("2020-06-01")

Variables

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

	// 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={"2020-06-01"}

type ResourceGroup

type ResourceGroup struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ResourceGroup_Spec   `json:"spec,omitempty"`
	Status            ResourceGroup_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: /resources/resource-manager/Microsoft.Resources/stable/2020-06-01/resources.json - ARM URI: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}

func (*ResourceGroup) AssignProperties_From_ResourceGroup

func (group *ResourceGroup) AssignProperties_From_ResourceGroup(source *storage.ResourceGroup) error

AssignProperties_From_ResourceGroup populates our ResourceGroup from the provided source ResourceGroup

func (*ResourceGroup) AssignProperties_To_ResourceGroup

func (group *ResourceGroup) AssignProperties_To_ResourceGroup(destination *storage.ResourceGroup) error

AssignProperties_To_ResourceGroup populates the provided destination ResourceGroup from our ResourceGroup

func (*ResourceGroup) AzureName

func (group *ResourceGroup) AzureName() string

AzureName returns the Azure name of the resource

func (*ResourceGroup) ConfigMapDestinationExpressions

func (group *ResourceGroup) ConfigMapDestinationExpressions() []*core.DestinationExpression

ConfigMapDestinationExpressions returns the Spec.OperatorSpec.ConfigMapExpressions property

func (*ResourceGroup) ConvertFrom

func (group *ResourceGroup) ConvertFrom(hub conversion.Hub) error

ConvertFrom populates our ResourceGroup from the provided hub ResourceGroup

func (*ResourceGroup) ConvertTo

func (group *ResourceGroup) ConvertTo(hub conversion.Hub) error

ConvertTo populates the provided hub ResourceGroup from our ResourceGroup

func (*ResourceGroup) DeepCopy

func (in *ResourceGroup) DeepCopy() *ResourceGroup

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

func (*ResourceGroup) DeepCopyInto

func (in *ResourceGroup) DeepCopyInto(out *ResourceGroup)

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

func (*ResourceGroup) DeepCopyObject

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

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

func (*ResourceGroup) Default

func (group *ResourceGroup) Default()

Default applies defaults to the ResourceGroup resource

func (ResourceGroup) GetAPIVersion

func (group ResourceGroup) GetAPIVersion() string

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

func (*ResourceGroup) GetConditions

func (group *ResourceGroup) GetConditions() conditions.Conditions

GetConditions returns the conditions of the resource

func (*ResourceGroup) GetResourceScope

func (group *ResourceGroup) GetResourceScope() genruntime.ResourceScope

GetResourceScope returns the scope of the resource

func (*ResourceGroup) GetSpec

func (group *ResourceGroup) GetSpec() genruntime.ConvertibleSpec

GetSpec returns the specification of this resource

func (*ResourceGroup) GetStatus

func (group *ResourceGroup) GetStatus() genruntime.ConvertibleStatus

GetStatus returns the status of this resource

func (*ResourceGroup) GetSupportedOperations

func (group *ResourceGroup) GetSupportedOperations() []genruntime.ResourceOperation

GetSupportedOperations returns the operations supported by the resource

func (*ResourceGroup) GetType

func (group *ResourceGroup) GetType() string

GetType returns the ARM Type of the resource. This is always "Microsoft.Resources/resourceGroups"

func (*ResourceGroup) InitializeSpec

func (group *ResourceGroup) InitializeSpec(status genruntime.ConvertibleStatus) error

InitializeSpec initializes the spec for this resource from the given status

func (*ResourceGroup) Location

func (group *ResourceGroup) Location() string

Location returns the location of the resource

func (*ResourceGroup) NewEmptyStatus

func (group *ResourceGroup) NewEmptyStatus() genruntime.ConvertibleStatus

NewEmptyStatus returns a new empty (blank) status

func (*ResourceGroup) OriginalGVK

func (group *ResourceGroup) OriginalGVK() *schema.GroupVersionKind

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

func (*ResourceGroup) Owner

func (group *ResourceGroup) Owner() *genruntime.ResourceReference

Owner returns nil as Location scoped resources never have an owner

func (*ResourceGroup) SecretDestinationExpressions

func (group *ResourceGroup) SecretDestinationExpressions() []*core.DestinationExpression

SecretDestinationExpressions returns the Spec.OperatorSpec.SecretExpressions property

func (*ResourceGroup) SetConditions

func (group *ResourceGroup) SetConditions(conditions conditions.Conditions)

SetConditions sets the conditions on the resource status

func (*ResourceGroup) SetStatus

func (group *ResourceGroup) SetStatus(status genruntime.ConvertibleStatus) error

SetStatus sets the status of this resource

func (*ResourceGroup) ValidateCreate

func (group *ResourceGroup) ValidateCreate() (admission.Warnings, error)

ValidateCreate validates the creation of the resource

func (*ResourceGroup) ValidateDelete

func (group *ResourceGroup) ValidateDelete() (admission.Warnings, error)

ValidateDelete validates the deletion of the resource

func (*ResourceGroup) ValidateUpdate

func (group *ResourceGroup) ValidateUpdate(old runtime.Object) (admission.Warnings, error)

ValidateUpdate validates an update of the resource

type ResourceGroupList

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

+kubebuilder:object:root=true Generator information: - Generated from: /resources/resource-manager/Microsoft.Resources/stable/2020-06-01/resources.json - ARM URI: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}

func (*ResourceGroupList) DeepCopy

func (in *ResourceGroupList) DeepCopy() *ResourceGroupList

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

func (*ResourceGroupList) DeepCopyInto

func (in *ResourceGroupList) DeepCopyInto(out *ResourceGroupList)

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

func (*ResourceGroupList) DeepCopyObject

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

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

type ResourceGroupOperatorSpec

type ResourceGroupOperatorSpec struct {
	// ConfigMapExpressions: configures where to place operator written dynamic ConfigMaps (created with CEL expressions).
	ConfigMapExpressions []*core.DestinationExpression `json:"configMapExpressions,omitempty"`

	// SecretExpressions: configures where to place operator written dynamic secrets (created with CEL expressions).
	SecretExpressions []*core.DestinationExpression `json:"secretExpressions,omitempty"`
}

Details for configuring operator behavior. Fields in this struct are interpreted by the operator directly rather than being passed to Azure

func (*ResourceGroupOperatorSpec) AssignProperties_From_ResourceGroupOperatorSpec

func (operator *ResourceGroupOperatorSpec) AssignProperties_From_ResourceGroupOperatorSpec(source *storage.ResourceGroupOperatorSpec) error

AssignProperties_From_ResourceGroupOperatorSpec populates our ResourceGroupOperatorSpec from the provided source ResourceGroupOperatorSpec

func (*ResourceGroupOperatorSpec) AssignProperties_To_ResourceGroupOperatorSpec

func (operator *ResourceGroupOperatorSpec) AssignProperties_To_ResourceGroupOperatorSpec(destination *storage.ResourceGroupOperatorSpec) error

AssignProperties_To_ResourceGroupOperatorSpec populates the provided destination ResourceGroupOperatorSpec from our ResourceGroupOperatorSpec

func (*ResourceGroupOperatorSpec) DeepCopy

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

func (*ResourceGroupOperatorSpec) DeepCopyInto

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

type ResourceGroupProperties_STATUS

type ResourceGroupProperties_STATUS struct {
	// ProvisioningState: The provisioning state.
	ProvisioningState *string `json:"provisioningState,omitempty"`
}

The resource group properties.

func (*ResourceGroupProperties_STATUS) AssignProperties_From_ResourceGroupProperties_STATUS

func (properties *ResourceGroupProperties_STATUS) AssignProperties_From_ResourceGroupProperties_STATUS(source *storage.ResourceGroupProperties_STATUS) error

AssignProperties_From_ResourceGroupProperties_STATUS populates our ResourceGroupProperties_STATUS from the provided source ResourceGroupProperties_STATUS

func (*ResourceGroupProperties_STATUS) AssignProperties_To_ResourceGroupProperties_STATUS

func (properties *ResourceGroupProperties_STATUS) AssignProperties_To_ResourceGroupProperties_STATUS(destination *storage.ResourceGroupProperties_STATUS) error

AssignProperties_To_ResourceGroupProperties_STATUS populates the provided destination ResourceGroupProperties_STATUS from our ResourceGroupProperties_STATUS

func (*ResourceGroupProperties_STATUS) DeepCopy

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

func (*ResourceGroupProperties_STATUS) DeepCopyInto

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

func (*ResourceGroupProperties_STATUS) NewEmptyARMValue

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

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ResourceGroupProperties_STATUS) PopulateFromARM

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

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ResourceGroup_STATUS

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

	// Id: The ID of the resource group.
	Id *string `json:"id,omitempty"`

	// Location: The location of the resource group. It cannot be changed after the resource group has been created. It must be
	// one of the supported Azure locations.
	Location *string `json:"location,omitempty"`

	// ManagedBy: The ID of the resource that manages this resource group.
	ManagedBy *string `json:"managedBy,omitempty"`

	// Name: The name of the resource group.
	Name *string `json:"name,omitempty"`

	// Properties: The resource group properties.
	Properties *ResourceGroupProperties_STATUS `json:"properties,omitempty"`

	// Tags: The tags attached to the resource group.
	Tags map[string]string `json:"tags,omitempty"`

	// Type: The type of the resource group.
	Type *string `json:"type,omitempty"`
}

Resource group information.

func (*ResourceGroup_STATUS) AssignProperties_From_ResourceGroup_STATUS

func (group *ResourceGroup_STATUS) AssignProperties_From_ResourceGroup_STATUS(source *storage.ResourceGroup_STATUS) error

AssignProperties_From_ResourceGroup_STATUS populates our ResourceGroup_STATUS from the provided source ResourceGroup_STATUS

func (*ResourceGroup_STATUS) AssignProperties_To_ResourceGroup_STATUS

func (group *ResourceGroup_STATUS) AssignProperties_To_ResourceGroup_STATUS(destination *storage.ResourceGroup_STATUS) error

AssignProperties_To_ResourceGroup_STATUS populates the provided destination ResourceGroup_STATUS from our ResourceGroup_STATUS

func (*ResourceGroup_STATUS) ConvertStatusFrom

func (group *ResourceGroup_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error

ConvertStatusFrom populates our ResourceGroup_STATUS from the provided source

func (*ResourceGroup_STATUS) ConvertStatusTo

func (group *ResourceGroup_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error

ConvertStatusTo populates the provided destination from our ResourceGroup_STATUS

func (*ResourceGroup_STATUS) DeepCopy

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

func (*ResourceGroup_STATUS) DeepCopyInto

func (in *ResourceGroup_STATUS) DeepCopyInto(out *ResourceGroup_STATUS)

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

func (*ResourceGroup_STATUS) NewEmptyARMValue

func (group *ResourceGroup_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ResourceGroup_STATUS) PopulateFromARM

func (group *ResourceGroup_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ResourceGroup_Spec

type ResourceGroup_Spec struct {
	// +kubebuilder:validation:MaxLength=90
	// +kubebuilder:validation:MinLength=1
	// 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"`

	// +kubebuilder:validation:Required
	// Location: The location of the resource group. It cannot be changed after the resource group has been created. It must be
	// one of the supported Azure locations.
	Location *string `json:"location,omitempty"`

	// ManagedBy: The ID of the resource that manages this resource group.
	ManagedBy *string `json:"managedBy,omitempty"`

	// OperatorSpec: The specification for configuring operator behavior. This field is interpreted by the operator and not
	// passed directly to Azure
	OperatorSpec *ResourceGroupOperatorSpec `json:"operatorSpec,omitempty"`

	// Tags: The tags attached to the resource group.
	Tags map[string]string `json:"tags,omitempty"`
}

func (*ResourceGroup_Spec) AssignProperties_From_ResourceGroup_Spec

func (group *ResourceGroup_Spec) AssignProperties_From_ResourceGroup_Spec(source *storage.ResourceGroup_Spec) error

AssignProperties_From_ResourceGroup_Spec populates our ResourceGroup_Spec from the provided source ResourceGroup_Spec

func (*ResourceGroup_Spec) AssignProperties_To_ResourceGroup_Spec

func (group *ResourceGroup_Spec) AssignProperties_To_ResourceGroup_Spec(destination *storage.ResourceGroup_Spec) error

AssignProperties_To_ResourceGroup_Spec populates the provided destination ResourceGroup_Spec from our ResourceGroup_Spec

func (*ResourceGroup_Spec) ConvertSpecFrom

func (group *ResourceGroup_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error

ConvertSpecFrom populates our ResourceGroup_Spec from the provided source

func (*ResourceGroup_Spec) ConvertSpecTo

func (group *ResourceGroup_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error

ConvertSpecTo populates the provided destination from our ResourceGroup_Spec

func (*ResourceGroup_Spec) ConvertToARM

func (group *ResourceGroup_Spec) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*ResourceGroup_Spec) DeepCopy

func (in *ResourceGroup_Spec) DeepCopy() *ResourceGroup_Spec

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

func (*ResourceGroup_Spec) DeepCopyInto

func (in *ResourceGroup_Spec) DeepCopyInto(out *ResourceGroup_Spec)

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

func (*ResourceGroup_Spec) Initialize_From_ResourceGroup_STATUS

func (group *ResourceGroup_Spec) Initialize_From_ResourceGroup_STATUS(source *ResourceGroup_STATUS) error

Initialize_From_ResourceGroup_STATUS populates our ResourceGroup_Spec from the provided source ResourceGroup_STATUS

func (*ResourceGroup_Spec) NewEmptyARMValue

func (group *ResourceGroup_Spec) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ResourceGroup_Spec) OriginalVersion

func (group *ResourceGroup_Spec) OriginalVersion() string

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

func (*ResourceGroup_Spec) PopulateFromARM

func (group *ResourceGroup_Spec) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

func (*ResourceGroup_Spec) SetAzureName

func (group *ResourceGroup_Spec) SetAzureName(azureName string)

SetAzureName sets the Azure name of the resource

Directories

Path Synopsis
Code generated by azure-service-operator-codegen.
Code generated by azure-service-operator-codegen.
Package storage contains API Schema definitions for the resources storage API group +kubebuilder:object:generate=true All object properties are optional by default, this will be overridden when needed: +kubebuilder:validation:Optional +groupName=resources.azure.com +versionName=v1api20200601storage
Package storage contains API Schema definitions for the resources storage API group +kubebuilder:object:generate=true All object properties are optional by default, this will be overridden when needed: +kubebuilder:validation:Optional +groupName=resources.azure.com +versionName=v1api20200601storage

Jump to

Keyboard shortcuts

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