v1beta20200801preview

package
v2.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package v1beta20200801preview contains API Schema definitions for the authorization v1beta20200801preview API group +groupName=authorization.azure.com

Package v1beta20200801preview contains API Schema definitions for the authorization v1beta20200801preview API group +kubebuilder:object:generate=true All object properties are optional by default, this will be overridden when needed: +kubebuilder:validation:Optional +groupName=authorization.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 (
	RoleAssignmentProperties_PrincipalType_ForeignGroup     = RoleAssignmentProperties_PrincipalType("ForeignGroup")
	RoleAssignmentProperties_PrincipalType_Group            = RoleAssignmentProperties_PrincipalType("Group")
	RoleAssignmentProperties_PrincipalType_ServicePrincipal = RoleAssignmentProperties_PrincipalType("ServicePrincipal")
	RoleAssignmentProperties_PrincipalType_User             = RoleAssignmentProperties_PrincipalType("User")
)
View Source
const (
	RoleAssignmentProperties_PrincipalType_STATUS_ForeignGroup     = RoleAssignmentProperties_PrincipalType_STATUS("ForeignGroup")
	RoleAssignmentProperties_PrincipalType_STATUS_Group            = RoleAssignmentProperties_PrincipalType_STATUS("Group")
	RoleAssignmentProperties_PrincipalType_STATUS_ServicePrincipal = RoleAssignmentProperties_PrincipalType_STATUS("ServicePrincipal")
	RoleAssignmentProperties_PrincipalType_STATUS_User             = RoleAssignmentProperties_PrincipalType_STATUS("User")
)
View Source
const APIVersion_Value = APIVersion("2020-08-01-preview")

Variables

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

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

Deprecated version of APIVersion. Use v1api20200801preview.APIVersion instead +kubebuilder:validation:Enum={"2020-08-01-preview"}

type RoleAssignment

type RoleAssignment struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              RoleAssignment_Spec   `json:"spec,omitempty"`
	Status            RoleAssignment_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" Deprecated version of RoleAssignment. Use v1api20200801preview.RoleAssignment instead

func (*RoleAssignment) AssignProperties_From_RoleAssignment

func (assignment *RoleAssignment) AssignProperties_From_RoleAssignment(source *v20200801ps.RoleAssignment) error

AssignProperties_From_RoleAssignment populates our RoleAssignment from the provided source RoleAssignment

func (*RoleAssignment) AssignProperties_To_RoleAssignment

func (assignment *RoleAssignment) AssignProperties_To_RoleAssignment(destination *v20200801ps.RoleAssignment) error

AssignProperties_To_RoleAssignment populates the provided destination RoleAssignment from our RoleAssignment

func (*RoleAssignment) AzureName

func (assignment *RoleAssignment) AzureName() string

AzureName returns the Azure name of the resource

func (*RoleAssignment) ConvertFrom

func (assignment *RoleAssignment) ConvertFrom(hub conversion.Hub) error

ConvertFrom populates our RoleAssignment from the provided hub RoleAssignment

func (*RoleAssignment) ConvertTo

func (assignment *RoleAssignment) ConvertTo(hub conversion.Hub) error

ConvertTo populates the provided hub RoleAssignment from our RoleAssignment

func (*RoleAssignment) CustomDefault added in v2.2.0

func (assignment *RoleAssignment) CustomDefault()

func (*RoleAssignment) DeepCopy

func (in *RoleAssignment) DeepCopy() *RoleAssignment

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

func (*RoleAssignment) DeepCopyInto

func (in *RoleAssignment) DeepCopyInto(out *RoleAssignment)

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

func (*RoleAssignment) DeepCopyObject

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

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

func (*RoleAssignment) Default

func (assignment *RoleAssignment) Default()

Default applies defaults to the RoleAssignment resource

func (RoleAssignment) GetAPIVersion

func (assignment RoleAssignment) GetAPIVersion() string

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

func (*RoleAssignment) GetConditions

func (assignment *RoleAssignment) GetConditions() conditions.Conditions

GetConditions returns the conditions of the resource

func (*RoleAssignment) GetResourceScope

func (assignment *RoleAssignment) GetResourceScope() genruntime.ResourceScope

GetResourceScope returns the scope of the resource

func (*RoleAssignment) GetSpec

func (assignment *RoleAssignment) GetSpec() genruntime.ConvertibleSpec

GetSpec returns the specification of this resource

func (*RoleAssignment) GetStatus

func (assignment *RoleAssignment) GetStatus() genruntime.ConvertibleStatus

GetStatus returns the status of this resource

func (*RoleAssignment) GetType

func (assignment *RoleAssignment) GetType() string

GetType returns the ARM Type of the resource. This is always "Microsoft.Authorization/roleAssignments"

func (*RoleAssignment) NewEmptyStatus

func (assignment *RoleAssignment) NewEmptyStatus() genruntime.ConvertibleStatus

NewEmptyStatus returns a new empty (blank) status

func (*RoleAssignment) OriginalGVK

func (assignment *RoleAssignment) OriginalGVK() *schema.GroupVersionKind

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

func (*RoleAssignment) Owner

func (assignment *RoleAssignment) Owner() *genruntime.ResourceReference

Owner returns the ResourceReference of the owner

func (*RoleAssignment) SetConditions

func (assignment *RoleAssignment) SetConditions(conditions conditions.Conditions)

SetConditions sets the conditions on the resource status

func (*RoleAssignment) SetStatus

func (assignment *RoleAssignment) SetStatus(status genruntime.ConvertibleStatus) error

SetStatus sets the status of this resource

func (*RoleAssignment) ValidateCreate

func (assignment *RoleAssignment) ValidateCreate() (admission.Warnings, error)

ValidateCreate validates the creation of the resource

func (*RoleAssignment) ValidateDelete

func (assignment *RoleAssignment) ValidateDelete() (admission.Warnings, error)

ValidateDelete validates the deletion of the resource

func (*RoleAssignment) ValidateUpdate

func (assignment *RoleAssignment) ValidateUpdate(old runtime.Object) (admission.Warnings, error)

ValidateUpdate validates an update of the resource

type RoleAssignmentList

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

+kubebuilder:object:root=true Deprecated version of RoleAssignment. Use v1api20200801preview.RoleAssignment instead

func (*RoleAssignmentList) DeepCopy

func (in *RoleAssignmentList) DeepCopy() *RoleAssignmentList

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

func (*RoleAssignmentList) DeepCopyInto

func (in *RoleAssignmentList) DeepCopyInto(out *RoleAssignmentList)

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

func (*RoleAssignmentList) DeepCopyObject

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

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

type RoleAssignmentProperties_ARM

type RoleAssignmentProperties_ARM struct {
	Condition                          *string                                 `json:"condition,omitempty"`
	ConditionVersion                   *string                                 `json:"conditionVersion,omitempty"`
	DelegatedManagedIdentityResourceId *string                                 `json:"delegatedManagedIdentityResourceId,omitempty"`
	Description                        *string                                 `json:"description,omitempty"`
	PrincipalId                        *string                                 `json:"principalId,omitempty" optionalConfigMapPair:"PrincipalId"`
	PrincipalType                      *RoleAssignmentProperties_PrincipalType `json:"principalType,omitempty"`
	RoleDefinitionId                   *string                                 `json:"roleDefinitionId,omitempty"`
}

Deprecated version of RoleAssignmentProperties. Use v1api20200801preview.RoleAssignmentProperties instead

func (*RoleAssignmentProperties_ARM) DeepCopy

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

func (*RoleAssignmentProperties_ARM) DeepCopyInto

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

type RoleAssignmentProperties_PrincipalType

type RoleAssignmentProperties_PrincipalType string

Deprecated version of RoleAssignmentProperties_PrincipalType. Use v1api20200801preview.RoleAssignmentProperties_PrincipalType instead +kubebuilder:validation:Enum={"ForeignGroup","Group","ServicePrincipal","User"}

type RoleAssignmentProperties_PrincipalType_STATUS

type RoleAssignmentProperties_PrincipalType_STATUS string

Deprecated version of RoleAssignmentProperties_PrincipalType_STATUS. Use v1api20200801preview.RoleAssignmentProperties_PrincipalType_STATUS instead

type RoleAssignmentProperties_STATUS_ARM

type RoleAssignmentProperties_STATUS_ARM struct {
	Condition                          *string                                        `json:"condition,omitempty"`
	ConditionVersion                   *string                                        `json:"conditionVersion,omitempty"`
	CreatedBy                          *string                                        `json:"createdBy,omitempty"`
	CreatedOn                          *string                                        `json:"createdOn,omitempty"`
	DelegatedManagedIdentityResourceId *string                                        `json:"delegatedManagedIdentityResourceId,omitempty"`
	Description                        *string                                        `json:"description,omitempty"`
	PrincipalId                        *string                                        `json:"principalId,omitempty"`
	PrincipalType                      *RoleAssignmentProperties_PrincipalType_STATUS `json:"principalType,omitempty"`
	RoleDefinitionId                   *string                                        `json:"roleDefinitionId,omitempty"`
	Scope                              *string                                        `json:"scope,omitempty"`
	UpdatedBy                          *string                                        `json:"updatedBy,omitempty"`
	UpdatedOn                          *string                                        `json:"updatedOn,omitempty"`
}

Deprecated version of RoleAssignmentProperties_STATUS. Use v1api20200801preview.RoleAssignmentProperties_STATUS instead

func (*RoleAssignmentProperties_STATUS_ARM) DeepCopy

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

func (*RoleAssignmentProperties_STATUS_ARM) DeepCopyInto

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

type RoleAssignment_STATUS

type RoleAssignment_STATUS struct {
	Condition        *string `json:"condition,omitempty"`
	ConditionVersion *string `json:"conditionVersion,omitempty"`

	// Conditions: The observed state of the resource
	Conditions                         []conditions.Condition                         `json:"conditions,omitempty"`
	CreatedBy                          *string                                        `json:"createdBy,omitempty"`
	CreatedOn                          *string                                        `json:"createdOn,omitempty"`
	DelegatedManagedIdentityResourceId *string                                        `json:"delegatedManagedIdentityResourceId,omitempty"`
	Description                        *string                                        `json:"description,omitempty"`
	Id                                 *string                                        `json:"id,omitempty"`
	Name                               *string                                        `json:"name,omitempty"`
	PrincipalId                        *string                                        `json:"principalId,omitempty"`
	PrincipalType                      *RoleAssignmentProperties_PrincipalType_STATUS `json:"principalType,omitempty"`
	RoleDefinitionId                   *string                                        `json:"roleDefinitionId,omitempty"`
	Scope                              *string                                        `json:"scope,omitempty"`
	Type                               *string                                        `json:"type,omitempty"`
	UpdatedBy                          *string                                        `json:"updatedBy,omitempty"`
	UpdatedOn                          *string                                        `json:"updatedOn,omitempty"`
}

Deprecated version of RoleAssignment_STATUS. Use v1api20200801preview.RoleAssignment_STATUS instead

func (*RoleAssignment_STATUS) AssignProperties_From_RoleAssignment_STATUS

func (assignment *RoleAssignment_STATUS) AssignProperties_From_RoleAssignment_STATUS(source *v20200801ps.RoleAssignment_STATUS) error

AssignProperties_From_RoleAssignment_STATUS populates our RoleAssignment_STATUS from the provided source RoleAssignment_STATUS

func (*RoleAssignment_STATUS) AssignProperties_To_RoleAssignment_STATUS

func (assignment *RoleAssignment_STATUS) AssignProperties_To_RoleAssignment_STATUS(destination *v20200801ps.RoleAssignment_STATUS) error

AssignProperties_To_RoleAssignment_STATUS populates the provided destination RoleAssignment_STATUS from our RoleAssignment_STATUS

func (*RoleAssignment_STATUS) ConvertStatusFrom

func (assignment *RoleAssignment_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error

ConvertStatusFrom populates our RoleAssignment_STATUS from the provided source

func (*RoleAssignment_STATUS) ConvertStatusTo

func (assignment *RoleAssignment_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error

ConvertStatusTo populates the provided destination from our RoleAssignment_STATUS

func (*RoleAssignment_STATUS) DeepCopy

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

func (*RoleAssignment_STATUS) DeepCopyInto

func (in *RoleAssignment_STATUS) DeepCopyInto(out *RoleAssignment_STATUS)

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

func (*RoleAssignment_STATUS) NewEmptyARMValue

func (assignment *RoleAssignment_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*RoleAssignment_STATUS) PopulateFromARM

func (assignment *RoleAssignment_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type RoleAssignment_STATUS_ARM

type RoleAssignment_STATUS_ARM struct {
	Id         *string                              `json:"id,omitempty"`
	Name       *string                              `json:"name,omitempty"`
	Properties *RoleAssignmentProperties_STATUS_ARM `json:"properties,omitempty"`
	Type       *string                              `json:"type,omitempty"`
}

Deprecated version of RoleAssignment_STATUS. Use v1api20200801preview.RoleAssignment_STATUS instead

func (*RoleAssignment_STATUS_ARM) DeepCopy

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

func (*RoleAssignment_STATUS_ARM) DeepCopyInto

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

type RoleAssignment_Spec

type RoleAssignment_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"`
	Condition                          *string `json:"condition,omitempty"`
	ConditionVersion                   *string `json:"conditionVersion,omitempty"`
	DelegatedManagedIdentityResourceId *string `json:"delegatedManagedIdentityResourceId,omitempty"`
	Description                        *string `json:"description,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. This resource is an
	// extension resource, which means that any other Azure resource can be its owner.
	Owner                 *genruntime.ArbitraryOwnerReference     `json:"owner,omitempty"`
	PrincipalId           *string                                 `json:"principalId,omitempty" optionalConfigMapPair:"PrincipalId"`
	PrincipalIdFromConfig *genruntime.ConfigMapReference          `json:"principalIdFromConfig,omitempty" optionalConfigMapPair:"PrincipalId"`
	PrincipalType         *RoleAssignmentProperties_PrincipalType `json:"principalType,omitempty"`

	// +kubebuilder:validation:Required
	RoleDefinitionReference *genruntime.ResourceReference `armReference:"RoleDefinitionId" json:"roleDefinitionReference,omitempty"`
}

func (*RoleAssignment_Spec) AssignProperties_From_RoleAssignment_Spec

func (assignment *RoleAssignment_Spec) AssignProperties_From_RoleAssignment_Spec(source *v20200801ps.RoleAssignment_Spec) error

AssignProperties_From_RoleAssignment_Spec populates our RoleAssignment_Spec from the provided source RoleAssignment_Spec

func (*RoleAssignment_Spec) AssignProperties_To_RoleAssignment_Spec

func (assignment *RoleAssignment_Spec) AssignProperties_To_RoleAssignment_Spec(destination *v20200801ps.RoleAssignment_Spec) error

AssignProperties_To_RoleAssignment_Spec populates the provided destination RoleAssignment_Spec from our RoleAssignment_Spec

func (*RoleAssignment_Spec) ConvertSpecFrom

func (assignment *RoleAssignment_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error

ConvertSpecFrom populates our RoleAssignment_Spec from the provided source

func (*RoleAssignment_Spec) ConvertSpecTo

func (assignment *RoleAssignment_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error

ConvertSpecTo populates the provided destination from our RoleAssignment_Spec

func (*RoleAssignment_Spec) ConvertToARM

func (assignment *RoleAssignment_Spec) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*RoleAssignment_Spec) DeepCopy

func (in *RoleAssignment_Spec) DeepCopy() *RoleAssignment_Spec

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

func (*RoleAssignment_Spec) DeepCopyInto

func (in *RoleAssignment_Spec) DeepCopyInto(out *RoleAssignment_Spec)

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

func (*RoleAssignment_Spec) NewEmptyARMValue

func (assignment *RoleAssignment_Spec) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*RoleAssignment_Spec) OriginalVersion

func (assignment *RoleAssignment_Spec) OriginalVersion() string

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

func (*RoleAssignment_Spec) PopulateFromARM

func (assignment *RoleAssignment_Spec) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

func (*RoleAssignment_Spec) SetAzureName

func (assignment *RoleAssignment_Spec) SetAzureName(azureName string)

SetAzureName sets the Azure name of the resource

type RoleAssignment_Spec_ARM

type RoleAssignment_Spec_ARM struct {
	Name       string                        `json:"name,omitempty"`
	Properties *RoleAssignmentProperties_ARM `json:"properties,omitempty"`
}

Deprecated version of RoleAssignment_Spec. Use v1api20200801preview.RoleAssignment_Spec instead

func (*RoleAssignment_Spec_ARM) DeepCopy

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

func (*RoleAssignment_Spec_ARM) DeepCopyInto

func (in *RoleAssignment_Spec_ARM) DeepCopyInto(out *RoleAssignment_Spec_ARM)

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

func (RoleAssignment_Spec_ARM) GetAPIVersion

func (assignment RoleAssignment_Spec_ARM) GetAPIVersion() string

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

func (*RoleAssignment_Spec_ARM) GetName

func (assignment *RoleAssignment_Spec_ARM) GetName() string

GetName returns the Name of the resource

func (*RoleAssignment_Spec_ARM) GetType

func (assignment *RoleAssignment_Spec_ARM) GetType() string

GetType returns the ARM Type of the resource. This is always "Microsoft.Authorization/roleAssignments"

Jump to

Keyboard shortcuts

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