v1api20220131preview

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 v1api20220131preview contains API Schema definitions for the managedidentity v1api20220131preview API group +groupName=managedidentity.azure.com

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

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

Index

Constants

View Source
const APIVersion_Value = APIVersion("2022-01-31-preview")

Variables

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

	// 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={"2022-01-31-preview"}

type FederatedIdentityCredential

type FederatedIdentityCredential struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              FederatedIdentityCredential_Spec   `json:"spec,omitempty"`
	Status            FederatedIdentityCredential_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/preview/2022-01-31-preview/ManagedIdentity.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{resourceName}/federatedIdentityCredentials/{federatedIdentityCredentialResourceName}

func (*FederatedIdentityCredential) AssignProperties_From_FederatedIdentityCredential

func (credential *FederatedIdentityCredential) AssignProperties_From_FederatedIdentityCredential(source *storage.FederatedIdentityCredential) error

AssignProperties_From_FederatedIdentityCredential populates our FederatedIdentityCredential from the provided source FederatedIdentityCredential

func (*FederatedIdentityCredential) AssignProperties_To_FederatedIdentityCredential

func (credential *FederatedIdentityCredential) AssignProperties_To_FederatedIdentityCredential(destination *storage.FederatedIdentityCredential) error

AssignProperties_To_FederatedIdentityCredential populates the provided destination FederatedIdentityCredential from our FederatedIdentityCredential

func (*FederatedIdentityCredential) AzureName

func (credential *FederatedIdentityCredential) AzureName() string

AzureName returns the Azure name of the resource

func (*FederatedIdentityCredential) ConfigMapDestinationExpressions

func (credential *FederatedIdentityCredential) ConfigMapDestinationExpressions() []*core.DestinationExpression

ConfigMapDestinationExpressions returns the Spec.OperatorSpec.ConfigMapExpressions property

func (*FederatedIdentityCredential) ConvertFrom

func (credential *FederatedIdentityCredential) ConvertFrom(hub conversion.Hub) error

ConvertFrom populates our FederatedIdentityCredential from the provided hub FederatedIdentityCredential

func (*FederatedIdentityCredential) ConvertTo

func (credential *FederatedIdentityCredential) ConvertTo(hub conversion.Hub) error

ConvertTo populates the provided hub FederatedIdentityCredential from our FederatedIdentityCredential

func (*FederatedIdentityCredential) DeepCopy

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

func (*FederatedIdentityCredential) DeepCopyInto

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

func (*FederatedIdentityCredential) DeepCopyObject

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

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

func (*FederatedIdentityCredential) Default

func (credential *FederatedIdentityCredential) Default()

Default applies defaults to the FederatedIdentityCredential resource

func (FederatedIdentityCredential) GetAPIVersion

func (credential FederatedIdentityCredential) GetAPIVersion() string

GetAPIVersion returns the ARM API version of the resource. This is always "2022-01-31-preview"

func (*FederatedIdentityCredential) GetConditions

func (credential *FederatedIdentityCredential) GetConditions() conditions.Conditions

GetConditions returns the conditions of the resource

func (*FederatedIdentityCredential) GetResourceScope

func (credential *FederatedIdentityCredential) GetResourceScope() genruntime.ResourceScope

GetResourceScope returns the scope of the resource

func (*FederatedIdentityCredential) GetSpec

GetSpec returns the specification of this resource

func (*FederatedIdentityCredential) GetStatus

GetStatus returns the status of this resource

func (*FederatedIdentityCredential) GetSupportedOperations

func (credential *FederatedIdentityCredential) GetSupportedOperations() []genruntime.ResourceOperation

GetSupportedOperations returns the operations supported by the resource

func (*FederatedIdentityCredential) GetType

func (credential *FederatedIdentityCredential) GetType() string

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

func (*FederatedIdentityCredential) NewEmptyStatus

func (credential *FederatedIdentityCredential) NewEmptyStatus() genruntime.ConvertibleStatus

NewEmptyStatus returns a new empty (blank) status

func (*FederatedIdentityCredential) OriginalGVK

func (credential *FederatedIdentityCredential) OriginalGVK() *schema.GroupVersionKind

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

func (*FederatedIdentityCredential) Owner

Owner returns the ResourceReference of the owner

func (*FederatedIdentityCredential) SecretDestinationExpressions

func (credential *FederatedIdentityCredential) SecretDestinationExpressions() []*core.DestinationExpression

SecretDestinationExpressions returns the Spec.OperatorSpec.SecretExpressions property

func (*FederatedIdentityCredential) SetConditions

func (credential *FederatedIdentityCredential) SetConditions(conditions conditions.Conditions)

SetConditions sets the conditions on the resource status

func (*FederatedIdentityCredential) SetStatus

func (credential *FederatedIdentityCredential) SetStatus(status genruntime.ConvertibleStatus) error

SetStatus sets the status of this resource

func (*FederatedIdentityCredential) ValidateCreate

func (credential *FederatedIdentityCredential) ValidateCreate() (admission.Warnings, error)

ValidateCreate validates the creation of the resource

func (*FederatedIdentityCredential) ValidateDelete

func (credential *FederatedIdentityCredential) ValidateDelete() (admission.Warnings, error)

ValidateDelete validates the deletion of the resource

func (*FederatedIdentityCredential) ValidateUpdate

func (credential *FederatedIdentityCredential) ValidateUpdate(old runtime.Object) (admission.Warnings, error)

ValidateUpdate validates an update of the resource

type FederatedIdentityCredentialList

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

+kubebuilder:object:root=true Generator information: - Generated from: /msi/resource-manager/Microsoft.ManagedIdentity/preview/2022-01-31-preview/ManagedIdentity.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{resourceName}/federatedIdentityCredentials/{federatedIdentityCredentialResourceName}

func (*FederatedIdentityCredentialList) DeepCopy

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

func (*FederatedIdentityCredentialList) DeepCopyInto

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

func (*FederatedIdentityCredentialList) DeepCopyObject

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

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

type FederatedIdentityCredentialOperatorSpec

type FederatedIdentityCredentialOperatorSpec 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 (*FederatedIdentityCredentialOperatorSpec) AssignProperties_From_FederatedIdentityCredentialOperatorSpec

func (operator *FederatedIdentityCredentialOperatorSpec) AssignProperties_From_FederatedIdentityCredentialOperatorSpec(source *storage.FederatedIdentityCredentialOperatorSpec) error

AssignProperties_From_FederatedIdentityCredentialOperatorSpec populates our FederatedIdentityCredentialOperatorSpec from the provided source FederatedIdentityCredentialOperatorSpec

func (*FederatedIdentityCredentialOperatorSpec) AssignProperties_To_FederatedIdentityCredentialOperatorSpec

func (operator *FederatedIdentityCredentialOperatorSpec) AssignProperties_To_FederatedIdentityCredentialOperatorSpec(destination *storage.FederatedIdentityCredentialOperatorSpec) error

AssignProperties_To_FederatedIdentityCredentialOperatorSpec populates the provided destination FederatedIdentityCredentialOperatorSpec from our FederatedIdentityCredentialOperatorSpec

func (*FederatedIdentityCredentialOperatorSpec) DeepCopy

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

func (*FederatedIdentityCredentialOperatorSpec) DeepCopyInto

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

type FederatedIdentityCredential_STATUS

type FederatedIdentityCredential_STATUS struct {
	// Audiences: The list of audiences that can appear in the issued token.
	Audiences []string `json:"audiences,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"`

	// Issuer: The URL of the issuer to be trusted.
	Issuer *string `json:"issuer,omitempty"`

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

	// Subject: The identifier of the external identity.
	Subject *string `json:"subject,omitempty"`

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

func (*FederatedIdentityCredential_STATUS) AssignProperties_From_FederatedIdentityCredential_STATUS

func (credential *FederatedIdentityCredential_STATUS) AssignProperties_From_FederatedIdentityCredential_STATUS(source *storage.FederatedIdentityCredential_STATUS) error

AssignProperties_From_FederatedIdentityCredential_STATUS populates our FederatedIdentityCredential_STATUS from the provided source FederatedIdentityCredential_STATUS

func (*FederatedIdentityCredential_STATUS) AssignProperties_To_FederatedIdentityCredential_STATUS

func (credential *FederatedIdentityCredential_STATUS) AssignProperties_To_FederatedIdentityCredential_STATUS(destination *storage.FederatedIdentityCredential_STATUS) error

AssignProperties_To_FederatedIdentityCredential_STATUS populates the provided destination FederatedIdentityCredential_STATUS from our FederatedIdentityCredential_STATUS

func (*FederatedIdentityCredential_STATUS) ConvertStatusFrom

func (credential *FederatedIdentityCredential_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error

ConvertStatusFrom populates our FederatedIdentityCredential_STATUS from the provided source

func (*FederatedIdentityCredential_STATUS) ConvertStatusTo

func (credential *FederatedIdentityCredential_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error

ConvertStatusTo populates the provided destination from our FederatedIdentityCredential_STATUS

func (*FederatedIdentityCredential_STATUS) DeepCopy

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

func (*FederatedIdentityCredential_STATUS) DeepCopyInto

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

func (*FederatedIdentityCredential_STATUS) NewEmptyARMValue

func (credential *FederatedIdentityCredential_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*FederatedIdentityCredential_STATUS) PopulateFromARM

func (credential *FederatedIdentityCredential_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type FederatedIdentityCredential_Spec

type FederatedIdentityCredential_Spec struct {
	// +kubebuilder:validation:Required
	// Audiences: The list of audiences that can appear in the issued token.
	Audiences []string `json:"audiences,omitempty"`

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

	// Issuer: The URL of the issuer to be trusted.
	Issuer *string `json:"issuer,omitempty" optionalConfigMapPair:"Issuer"`

	// IssuerFromConfig: The URL of the issuer to be trusted.
	IssuerFromConfig *genruntime.ConfigMapReference `json:"issuerFromConfig,omitempty" optionalConfigMapPair:"Issuer"`

	// OperatorSpec: The specification for configuring operator behavior. This field is interpreted by the operator and not
	// passed directly to Azure
	OperatorSpec *FederatedIdentityCredentialOperatorSpec `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 managedidentity.azure.com/UserAssignedIdentity resource
	Owner *genruntime.KnownResourceReference `group:"managedidentity.azure.com" json:"owner,omitempty" kind:"UserAssignedIdentity"`

	// Subject: The identifier of the external identity.
	Subject *string `json:"subject,omitempty" optionalConfigMapPair:"Subject"`

	// SubjectFromConfig: The identifier of the external identity.
	SubjectFromConfig *genruntime.ConfigMapReference `json:"subjectFromConfig,omitempty" optionalConfigMapPair:"Subject"`
}

func (*FederatedIdentityCredential_Spec) AssignProperties_From_FederatedIdentityCredential_Spec

func (credential *FederatedIdentityCredential_Spec) AssignProperties_From_FederatedIdentityCredential_Spec(source *storage.FederatedIdentityCredential_Spec) error

AssignProperties_From_FederatedIdentityCredential_Spec populates our FederatedIdentityCredential_Spec from the provided source FederatedIdentityCredential_Spec

func (*FederatedIdentityCredential_Spec) AssignProperties_To_FederatedIdentityCredential_Spec

func (credential *FederatedIdentityCredential_Spec) AssignProperties_To_FederatedIdentityCredential_Spec(destination *storage.FederatedIdentityCredential_Spec) error

AssignProperties_To_FederatedIdentityCredential_Spec populates the provided destination FederatedIdentityCredential_Spec from our FederatedIdentityCredential_Spec

func (*FederatedIdentityCredential_Spec) ConvertSpecFrom

func (credential *FederatedIdentityCredential_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error

ConvertSpecFrom populates our FederatedIdentityCredential_Spec from the provided source

func (*FederatedIdentityCredential_Spec) ConvertSpecTo

func (credential *FederatedIdentityCredential_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error

ConvertSpecTo populates the provided destination from our FederatedIdentityCredential_Spec

func (*FederatedIdentityCredential_Spec) ConvertToARM

func (credential *FederatedIdentityCredential_Spec) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*FederatedIdentityCredential_Spec) DeepCopy

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

func (*FederatedIdentityCredential_Spec) DeepCopyInto

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

func (*FederatedIdentityCredential_Spec) NewEmptyARMValue

func (credential *FederatedIdentityCredential_Spec) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*FederatedIdentityCredential_Spec) OriginalVersion

func (credential *FederatedIdentityCredential_Spec) OriginalVersion() string

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

func (*FederatedIdentityCredential_Spec) PopulateFromARM

func (credential *FederatedIdentityCredential_Spec) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

func (*FederatedIdentityCredential_Spec) SetAzureName

func (credential *FederatedIdentityCredential_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.
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