v1api20181130

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

Documentation

Overview

Package v1api20181130 contains API Schema definitions for the managedidentity v1api20181130 API group +groupName=managedidentity.azure.com

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

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("2018-11-30")

Variables

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

	// 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={"2018-11-30"}

type UserAssignedIdentity

type UserAssignedIdentity struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              UserAssignedIdentity_Spec   `json:"spec,omitempty"`
	Status            UserAssignedIdentity_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: /msi/resource-manager/Microsoft.ManagedIdentity/stable/2018-11-30/ManagedIdentity.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{resourceName}

func (*UserAssignedIdentity) AssignProperties_From_UserAssignedIdentity

func (identity *UserAssignedIdentity) AssignProperties_From_UserAssignedIdentity(source *storage.UserAssignedIdentity) error

AssignProperties_From_UserAssignedIdentity populates our UserAssignedIdentity from the provided source UserAssignedIdentity

func (*UserAssignedIdentity) AssignProperties_To_UserAssignedIdentity

func (identity *UserAssignedIdentity) AssignProperties_To_UserAssignedIdentity(destination *storage.UserAssignedIdentity) error

AssignProperties_To_UserAssignedIdentity populates the provided destination UserAssignedIdentity from our UserAssignedIdentity

func (*UserAssignedIdentity) AzureName

func (identity *UserAssignedIdentity) AzureName() string

AzureName returns the Azure name of the resource

func (*UserAssignedIdentity) ConfigMapDestinationExpressions

func (identity *UserAssignedIdentity) ConfigMapDestinationExpressions() []*core.DestinationExpression

ConfigMapDestinationExpressions returns the Spec.OperatorSpec.ConfigMapExpressions property

func (*UserAssignedIdentity) ConvertFrom

func (identity *UserAssignedIdentity) ConvertFrom(hub conversion.Hub) error

ConvertFrom populates our UserAssignedIdentity from the provided hub UserAssignedIdentity

func (*UserAssignedIdentity) ConvertTo

func (identity *UserAssignedIdentity) ConvertTo(hub conversion.Hub) error

ConvertTo populates the provided hub UserAssignedIdentity from our UserAssignedIdentity

func (*UserAssignedIdentity) DeepCopy

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

func (*UserAssignedIdentity) DeepCopyInto

func (in *UserAssignedIdentity) DeepCopyInto(out *UserAssignedIdentity)

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

func (*UserAssignedIdentity) DeepCopyObject

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

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

func (*UserAssignedIdentity) Default

func (identity *UserAssignedIdentity) Default()

Default applies defaults to the UserAssignedIdentity resource

func (*UserAssignedIdentity) ExportKubernetesConfigMaps

func (identity *UserAssignedIdentity) ExportKubernetesConfigMaps(_ context.Context, _ genruntime.MetaObject, _ *genericarmclient.GenericClient, _ logr.Logger) ([]client.Object, error)

ExportKubernetesConfigMaps defines a resource which can create ConfigMaps in Kubernetes.

func (UserAssignedIdentity) GetAPIVersion

func (identity UserAssignedIdentity) GetAPIVersion() string

GetAPIVersion returns the ARM API version of the resource. This is always "2018-11-30"

func (*UserAssignedIdentity) GetConditions

func (identity *UserAssignedIdentity) GetConditions() conditions.Conditions

GetConditions returns the conditions of the resource

func (*UserAssignedIdentity) GetResourceScope

func (identity *UserAssignedIdentity) GetResourceScope() genruntime.ResourceScope

GetResourceScope returns the scope of the resource

func (*UserAssignedIdentity) GetSpec

func (identity *UserAssignedIdentity) GetSpec() genruntime.ConvertibleSpec

GetSpec returns the specification of this resource

func (*UserAssignedIdentity) GetStatus

func (identity *UserAssignedIdentity) GetStatus() genruntime.ConvertibleStatus

GetStatus returns the status of this resource

func (*UserAssignedIdentity) GetSupportedOperations

func (identity *UserAssignedIdentity) GetSupportedOperations() []genruntime.ResourceOperation

GetSupportedOperations returns the operations supported by the resource

func (*UserAssignedIdentity) GetType

func (identity *UserAssignedIdentity) GetType() string

GetType returns the ARM Type of the resource. This is always "Microsoft.ManagedIdentity/userAssignedIdentities"

func (*UserAssignedIdentity) NewEmptyStatus

func (identity *UserAssignedIdentity) NewEmptyStatus() genruntime.ConvertibleStatus

NewEmptyStatus returns a new empty (blank) status

func (*UserAssignedIdentity) OriginalGVK

func (identity *UserAssignedIdentity) OriginalGVK() *schema.GroupVersionKind

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

func (*UserAssignedIdentity) Owner

Owner returns the ResourceReference of the owner

func (*UserAssignedIdentity) SecretDestinationExpressions

func (identity *UserAssignedIdentity) SecretDestinationExpressions() []*core.DestinationExpression

SecretDestinationExpressions returns the Spec.OperatorSpec.SecretExpressions property

func (*UserAssignedIdentity) SetConditions

func (identity *UserAssignedIdentity) SetConditions(conditions conditions.Conditions)

SetConditions sets the conditions on the resource status

func (*UserAssignedIdentity) SetStatus

func (identity *UserAssignedIdentity) SetStatus(status genruntime.ConvertibleStatus) error

SetStatus sets the status of this resource

func (*UserAssignedIdentity) ValidateCreate

func (identity *UserAssignedIdentity) ValidateCreate() (admission.Warnings, error)

ValidateCreate validates the creation of the resource

func (*UserAssignedIdentity) ValidateDelete

func (identity *UserAssignedIdentity) ValidateDelete() (admission.Warnings, error)

ValidateDelete validates the deletion of the resource

func (*UserAssignedIdentity) ValidateUpdate

func (identity *UserAssignedIdentity) ValidateUpdate(old runtime.Object) (admission.Warnings, error)

ValidateUpdate validates an update of the resource

type UserAssignedIdentityList

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

+kubebuilder:object:root=true Generator information: - Generated from: /msi/resource-manager/Microsoft.ManagedIdentity/stable/2018-11-30/ManagedIdentity.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{resourceName}

func (*UserAssignedIdentityList) DeepCopy

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

func (*UserAssignedIdentityList) DeepCopyInto

func (in *UserAssignedIdentityList) DeepCopyInto(out *UserAssignedIdentityList)

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

func (*UserAssignedIdentityList) DeepCopyObject

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

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

type UserAssignedIdentityOperatorConfigMaps

type UserAssignedIdentityOperatorConfigMaps struct {
	// ClientId: indicates where the ClientId config map should be placed. If omitted, no config map will be created.
	ClientId *genruntime.ConfigMapDestination `json:"clientId,omitempty"`

	// PrincipalId: indicates where the PrincipalId config map should be placed. If omitted, no config map will be created.
	PrincipalId *genruntime.ConfigMapDestination `json:"principalId,omitempty"`

	// TenantId: indicates where the TenantId config map should be placed. If omitted, no config map will be created.
	TenantId *genruntime.ConfigMapDestination `json:"tenantId,omitempty"`
}

func (*UserAssignedIdentityOperatorConfigMaps) AssignProperties_From_UserAssignedIdentityOperatorConfigMaps

func (maps *UserAssignedIdentityOperatorConfigMaps) AssignProperties_From_UserAssignedIdentityOperatorConfigMaps(source *storage.UserAssignedIdentityOperatorConfigMaps) error

AssignProperties_From_UserAssignedIdentityOperatorConfigMaps populates our UserAssignedIdentityOperatorConfigMaps from the provided source UserAssignedIdentityOperatorConfigMaps

func (*UserAssignedIdentityOperatorConfigMaps) AssignProperties_To_UserAssignedIdentityOperatorConfigMaps

func (maps *UserAssignedIdentityOperatorConfigMaps) AssignProperties_To_UserAssignedIdentityOperatorConfigMaps(destination *storage.UserAssignedIdentityOperatorConfigMaps) error

AssignProperties_To_UserAssignedIdentityOperatorConfigMaps populates the provided destination UserAssignedIdentityOperatorConfigMaps from our UserAssignedIdentityOperatorConfigMaps

func (*UserAssignedIdentityOperatorConfigMaps) DeepCopy

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

func (*UserAssignedIdentityOperatorConfigMaps) DeepCopyInto

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

type UserAssignedIdentityOperatorSpec

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

	// ConfigMaps: configures where to place operator written ConfigMaps.
	ConfigMaps *UserAssignedIdentityOperatorConfigMaps `json:"configMaps,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 (*UserAssignedIdentityOperatorSpec) AssignProperties_From_UserAssignedIdentityOperatorSpec

func (operator *UserAssignedIdentityOperatorSpec) AssignProperties_From_UserAssignedIdentityOperatorSpec(source *storage.UserAssignedIdentityOperatorSpec) error

AssignProperties_From_UserAssignedIdentityOperatorSpec populates our UserAssignedIdentityOperatorSpec from the provided source UserAssignedIdentityOperatorSpec

func (*UserAssignedIdentityOperatorSpec) AssignProperties_To_UserAssignedIdentityOperatorSpec

func (operator *UserAssignedIdentityOperatorSpec) AssignProperties_To_UserAssignedIdentityOperatorSpec(destination *storage.UserAssignedIdentityOperatorSpec) error

AssignProperties_To_UserAssignedIdentityOperatorSpec populates the provided destination UserAssignedIdentityOperatorSpec from our UserAssignedIdentityOperatorSpec

func (*UserAssignedIdentityOperatorSpec) DeepCopy

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

func (*UserAssignedIdentityOperatorSpec) DeepCopyInto

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

type UserAssignedIdentity_STATUS

type UserAssignedIdentity_STATUS struct {
	// ClientId: The id of the app associated with the identity. This is a random generated UUID by MSI.
	ClientId *string `json:"clientId,omitempty"`

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

	// Id: Fully qualified resource ID for the resource. Ex -
	// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	Id *string `json:"id,omitempty"`

	// Location: The geo-location where the resource lives
	Location *string `json:"location,omitempty"`

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

	// PrincipalId: The id of the service principal object associated with the created identity.
	PrincipalId *string `json:"principalId,omitempty"`

	// Tags: Resource tags.
	Tags map[string]string `json:"tags,omitempty"`

	// TenantId: The id of the tenant which the identity belongs to.
	TenantId *string `json:"tenantId,omitempty"`

	// Type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
}

func (*UserAssignedIdentity_STATUS) AssignProperties_From_UserAssignedIdentity_STATUS

func (identity *UserAssignedIdentity_STATUS) AssignProperties_From_UserAssignedIdentity_STATUS(source *storage.UserAssignedIdentity_STATUS) error

AssignProperties_From_UserAssignedIdentity_STATUS populates our UserAssignedIdentity_STATUS from the provided source UserAssignedIdentity_STATUS

func (*UserAssignedIdentity_STATUS) AssignProperties_To_UserAssignedIdentity_STATUS

func (identity *UserAssignedIdentity_STATUS) AssignProperties_To_UserAssignedIdentity_STATUS(destination *storage.UserAssignedIdentity_STATUS) error

AssignProperties_To_UserAssignedIdentity_STATUS populates the provided destination UserAssignedIdentity_STATUS from our UserAssignedIdentity_STATUS

func (*UserAssignedIdentity_STATUS) ConvertStatusFrom

func (identity *UserAssignedIdentity_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error

ConvertStatusFrom populates our UserAssignedIdentity_STATUS from the provided source

func (*UserAssignedIdentity_STATUS) ConvertStatusTo

func (identity *UserAssignedIdentity_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error

ConvertStatusTo populates the provided destination from our UserAssignedIdentity_STATUS

func (*UserAssignedIdentity_STATUS) DeepCopy

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

func (*UserAssignedIdentity_STATUS) DeepCopyInto

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

func (*UserAssignedIdentity_STATUS) NewEmptyARMValue

func (identity *UserAssignedIdentity_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*UserAssignedIdentity_STATUS) PopulateFromARM

func (identity *UserAssignedIdentity_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type UserAssignedIdentity_Spec

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

	// +kubebuilder:validation:Required
	// Location: The geo-location where the resource lives
	Location *string `json:"location,omitempty"`

	// OperatorSpec: The specification for configuring operator behavior. This field is interpreted by the operator and not
	// passed directly to Azure
	OperatorSpec *UserAssignedIdentityOperatorSpec `json:"operatorSpec,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"`

	// Tags: Resource tags.
	Tags map[string]string `json:"tags,omitempty"`
}

func (*UserAssignedIdentity_Spec) AssignProperties_From_UserAssignedIdentity_Spec

func (identity *UserAssignedIdentity_Spec) AssignProperties_From_UserAssignedIdentity_Spec(source *storage.UserAssignedIdentity_Spec) error

AssignProperties_From_UserAssignedIdentity_Spec populates our UserAssignedIdentity_Spec from the provided source UserAssignedIdentity_Spec

func (*UserAssignedIdentity_Spec) AssignProperties_To_UserAssignedIdentity_Spec

func (identity *UserAssignedIdentity_Spec) AssignProperties_To_UserAssignedIdentity_Spec(destination *storage.UserAssignedIdentity_Spec) error

AssignProperties_To_UserAssignedIdentity_Spec populates the provided destination UserAssignedIdentity_Spec from our UserAssignedIdentity_Spec

func (*UserAssignedIdentity_Spec) ConvertSpecFrom

func (identity *UserAssignedIdentity_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error

ConvertSpecFrom populates our UserAssignedIdentity_Spec from the provided source

func (*UserAssignedIdentity_Spec) ConvertSpecTo

func (identity *UserAssignedIdentity_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error

ConvertSpecTo populates the provided destination from our UserAssignedIdentity_Spec

func (*UserAssignedIdentity_Spec) ConvertToARM

func (identity *UserAssignedIdentity_Spec) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*UserAssignedIdentity_Spec) DeepCopy

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

func (*UserAssignedIdentity_Spec) DeepCopyInto

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

func (*UserAssignedIdentity_Spec) NewEmptyARMValue

func (identity *UserAssignedIdentity_Spec) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*UserAssignedIdentity_Spec) OriginalVersion

func (identity *UserAssignedIdentity_Spec) OriginalVersion() string

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

func (*UserAssignedIdentity_Spec) PopulateFromARM

func (identity *UserAssignedIdentity_Spec) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

func (*UserAssignedIdentity_Spec) SetAzureName

func (identity *UserAssignedIdentity_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 managedidentity storage API group +kubebuilder:object:generate=true All object properties are optional by default, this will be overridden when needed: +kubebuilder:validation:Optional +groupName=managedidentity.azure.com +versionName=v1api20181130storage
Package storage contains API Schema definitions for the managedidentity storage API group +kubebuilder:object:generate=true All object properties are optional by default, this will be overridden when needed: +kubebuilder:validation:Optional +groupName=managedidentity.azure.com +versionName=v1api20181130storage

Jump to

Keyboard shortcuts

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