v1alpha1api20181130

package
v2.0.0-alpha.5 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2021 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

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

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.

Index

Constants

View Source
const UserAssignedIdentitiesSpecAPIVersion20181130 = UserAssignedIdentitiesSpecAPIVersion("2018-11-30")

Variables

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

	// 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 Identity_Status

type Identity_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 (*Identity_Status) AssignPropertiesFromIdentityStatus

func (identityStatus *Identity_Status) AssignPropertiesFromIdentityStatus(source *v1alpha1api20181130storage.Identity_Status) error

AssignPropertiesFromIdentityStatus populates our Identity_Status from the provided source Identity_Status

func (*Identity_Status) AssignPropertiesToIdentityStatus

func (identityStatus *Identity_Status) AssignPropertiesToIdentityStatus(destination *v1alpha1api20181130storage.Identity_Status) error

AssignPropertiesToIdentityStatus populates the provided destination Identity_Status from our Identity_Status

func (*Identity_Status) ConvertStatusFrom

func (identityStatus *Identity_Status) ConvertStatusFrom(source genruntime.ConvertibleStatus) error

ConvertStatusFrom populates our Identity_Status from the provided source

func (*Identity_Status) ConvertStatusTo

func (identityStatus *Identity_Status) ConvertStatusTo(destination genruntime.ConvertibleStatus) error

ConvertStatusTo populates the provided destination from our Identity_Status

func (*Identity_Status) DeepCopy

func (in *Identity_Status) DeepCopy() *Identity_Status

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

func (*Identity_Status) DeepCopyInto

func (in *Identity_Status) DeepCopyInto(out *Identity_Status)

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

func (*Identity_Status) NewEmptyARMValue

func (identityStatus *Identity_Status) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*Identity_Status) PopulateFromARM

func (identityStatus *Identity_Status) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type Identity_StatusARM

type Identity_StatusARM struct {
	//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"`

	//Properties: The properties associated with the identity.
	Properties *UserAssignedIdentityProperties_StatusARM `json:"properties,omitempty"`

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

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

func (*Identity_StatusARM) DeepCopy

func (in *Identity_StatusARM) DeepCopy() *Identity_StatusARM

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

func (*Identity_StatusARM) DeepCopyInto

func (in *Identity_StatusARM) DeepCopyInto(out *Identity_StatusARM)

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

type UserAssignedIdentitiesSpecAPIVersion

type UserAssignedIdentitiesSpecAPIVersion string

+kubebuilder:validation:Enum={"2018-11-30"}

type UserAssignedIdentities_Spec

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

	//Location: The Azure region where the identity lives.
	Location string `json:"location,omitempty"`

	// +kubebuilder:validation:Required
	Owner genruntime.KnownResourceReference `group:"resources.azure.com" json:"owner" kind:"ResourceGroup"`

	//Tags: Name-value pairs to add to the resource
	Tags map[string]string `json:"tags,omitempty"`
}

func (*UserAssignedIdentities_Spec) AssignPropertiesFromUserAssignedIdentitiesSpec

func (userAssignedIdentitiesSpec *UserAssignedIdentities_Spec) AssignPropertiesFromUserAssignedIdentitiesSpec(source *v1alpha1api20181130storage.UserAssignedIdentities_Spec) error

AssignPropertiesFromUserAssignedIdentitiesSpec populates our UserAssignedIdentities_Spec from the provided source UserAssignedIdentities_Spec

func (*UserAssignedIdentities_Spec) AssignPropertiesToUserAssignedIdentitiesSpec

func (userAssignedIdentitiesSpec *UserAssignedIdentities_Spec) AssignPropertiesToUserAssignedIdentitiesSpec(destination *v1alpha1api20181130storage.UserAssignedIdentities_Spec) error

AssignPropertiesToUserAssignedIdentitiesSpec populates the provided destination UserAssignedIdentities_Spec from our UserAssignedIdentities_Spec

func (*UserAssignedIdentities_Spec) ConvertSpecFrom

func (userAssignedIdentitiesSpec *UserAssignedIdentities_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error

ConvertSpecFrom populates our UserAssignedIdentities_Spec from the provided source

func (*UserAssignedIdentities_Spec) ConvertSpecTo

func (userAssignedIdentitiesSpec *UserAssignedIdentities_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error

ConvertSpecTo populates the provided destination from our UserAssignedIdentities_Spec

func (*UserAssignedIdentities_Spec) ConvertToARM

func (userAssignedIdentitiesSpec *UserAssignedIdentities_Spec) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*UserAssignedIdentities_Spec) DeepCopy

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

func (*UserAssignedIdentities_Spec) DeepCopyInto

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

func (*UserAssignedIdentities_Spec) NewEmptyARMValue

func (userAssignedIdentitiesSpec *UserAssignedIdentities_Spec) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*UserAssignedIdentities_Spec) OriginalVersion

func (userAssignedIdentitiesSpec *UserAssignedIdentities_Spec) OriginalVersion() string

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

func (*UserAssignedIdentities_Spec) PopulateFromARM

func (userAssignedIdentitiesSpec *UserAssignedIdentities_Spec) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

func (*UserAssignedIdentities_Spec) SetAzureName

func (userAssignedIdentitiesSpec *UserAssignedIdentities_Spec) SetAzureName(azureName string)

SetAzureName sets the Azure name of the resource

type UserAssignedIdentities_SpecARM

type UserAssignedIdentities_SpecARM struct {
	//Location: The Azure region where the identity lives.
	Location string `json:"location,omitempty"`

	//Name: The name of the identity resource.
	Name string `json:"name"`

	//Tags: Name-value pairs to add to the resource
	Tags map[string]string `json:"tags,omitempty"`
}

func (*UserAssignedIdentities_SpecARM) DeepCopy

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

func (*UserAssignedIdentities_SpecARM) DeepCopyInto

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

func (UserAssignedIdentities_SpecARM) GetAPIVersion

func (userAssignedIdentitiesSpecARM UserAssignedIdentities_SpecARM) GetAPIVersion() string

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

func (UserAssignedIdentities_SpecARM) GetName

func (userAssignedIdentitiesSpecARM UserAssignedIdentities_SpecARM) GetName() string

GetName returns the Name of the resource

func (UserAssignedIdentities_SpecARM) GetType

func (userAssignedIdentitiesSpecARM UserAssignedIdentities_SpecARM) GetType() string

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

type UserAssignedIdentity

type UserAssignedIdentity struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              UserAssignedIdentities_Spec `json:"spec,omitempty"`
	Status            Identity_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" Generated from: https://schema.management.azure.com/schemas/2018-11-30/Microsoft.ManagedIdentity.json#/resourceDefinitions/userAssignedIdentities

func (*UserAssignedIdentity) AssignPropertiesFromUserAssignedIdentity

func (userAssignedIdentity *UserAssignedIdentity) AssignPropertiesFromUserAssignedIdentity(source *v1alpha1api20181130storage.UserAssignedIdentity) error

AssignPropertiesFromUserAssignedIdentity populates our UserAssignedIdentity from the provided source UserAssignedIdentity

func (*UserAssignedIdentity) AssignPropertiesToUserAssignedIdentity

func (userAssignedIdentity *UserAssignedIdentity) AssignPropertiesToUserAssignedIdentity(destination *v1alpha1api20181130storage.UserAssignedIdentity) error

AssignPropertiesToUserAssignedIdentity populates the provided destination UserAssignedIdentity from our UserAssignedIdentity

func (*UserAssignedIdentity) AzureName

func (userAssignedIdentity *UserAssignedIdentity) AzureName() string

AzureName returns the Azure name of the resource

func (*UserAssignedIdentity) ConvertFrom

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

ConvertFrom populates our UserAssignedIdentity from the provided hub UserAssignedIdentity

func (*UserAssignedIdentity) ConvertTo

func (userAssignedIdentity *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 (userAssignedIdentity *UserAssignedIdentity) Default()

Default applies defaults to the UserAssignedIdentity resource

func (UserAssignedIdentity) GetAPIVersion

func (userAssignedIdentity UserAssignedIdentity) GetAPIVersion() string

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

func (*UserAssignedIdentity) GetConditions

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

GetConditions returns the conditions of the resource

func (*UserAssignedIdentity) GetResourceKind

func (userAssignedIdentity *UserAssignedIdentity) GetResourceKind() genruntime.ResourceKind

GetResourceKind returns the kind of the resource

func (*UserAssignedIdentity) GetSpec

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

GetSpec returns the specification of this resource

func (*UserAssignedIdentity) GetStatus

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

GetStatus returns the status of this resource

func (*UserAssignedIdentity) GetType

func (userAssignedIdentity *UserAssignedIdentity) GetType() string

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

func (*UserAssignedIdentity) NewEmptyStatus

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

NewEmptyStatus returns a new empty (blank) status

func (*UserAssignedIdentity) OriginalGVK

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

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

func (*UserAssignedIdentity) Owner

func (userAssignedIdentity *UserAssignedIdentity) Owner() *genruntime.ResourceReference

Owner returns the ResourceReference of the owner, or nil if there is no owner

func (*UserAssignedIdentity) SetConditions

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

SetConditions sets the conditions on the resource status

func (*UserAssignedIdentity) SetStatus

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

SetStatus sets the status of this resource

func (*UserAssignedIdentity) ValidateCreate

func (userAssignedIdentity *UserAssignedIdentity) ValidateCreate() error

ValidateCreate validates the creation of the resource

func (*UserAssignedIdentity) ValidateDelete

func (userAssignedIdentity *UserAssignedIdentity) ValidateDelete() error

ValidateDelete validates the deletion of the resource

func (*UserAssignedIdentity) ValidateUpdate

func (userAssignedIdentity *UserAssignedIdentity) ValidateUpdate(old runtime.Object) 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 Generated from: https://schema.management.azure.com/schemas/2018-11-30/Microsoft.ManagedIdentity.json#/resourceDefinitions/userAssignedIdentities

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 UserAssignedIdentityProperties_StatusARM

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

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

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

func (*UserAssignedIdentityProperties_StatusARM) DeepCopy

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

func (*UserAssignedIdentityProperties_StatusARM) DeepCopyInto

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

Jump to

Keyboard shortcuts

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