Documentation ¶
Overview ¶
Package v1api20220401 contains API Schema definitions for the authorization v1api20220401 API group +groupName=authorization.azure.com
Package v1api20220401 contains API Schema definitions for the authorization v1api20220401 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 +versionName=v1api20220401
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
- Variables
- type APIVersion
- type Permission
- func (permission *Permission) AssignProperties_From_Permission(source *storage.Permission) error
- func (permission *Permission) AssignProperties_To_Permission(destination *storage.Permission) error
- func (permission *Permission) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)
- func (in *Permission) DeepCopy() *Permission
- func (in *Permission) DeepCopyInto(out *Permission)
- func (permission *Permission) Initialize_From_Permission_STATUS(source *Permission_STATUS) error
- func (permission *Permission) NewEmptyARMValue() genruntime.ARMResourceStatus
- func (permission *Permission) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error
- type Permission_STATUS
- func (permission *Permission_STATUS) AssignProperties_From_Permission_STATUS(source *storage.Permission_STATUS) error
- func (permission *Permission_STATUS) AssignProperties_To_Permission_STATUS(destination *storage.Permission_STATUS) error
- func (in *Permission_STATUS) DeepCopy() *Permission_STATUS
- func (in *Permission_STATUS) DeepCopyInto(out *Permission_STATUS)
- func (permission *Permission_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus
- func (permission *Permission_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error
- type RoleAssignment
- func (assignment *RoleAssignment) AssignProperties_From_RoleAssignment(source *storage.RoleAssignment) error
- func (assignment *RoleAssignment) AssignProperties_To_RoleAssignment(destination *storage.RoleAssignment) error
- func (assignment *RoleAssignment) AzureName() string
- func (assignment *RoleAssignment) ConfigMapDestinationExpressions() []*core.DestinationExpression
- func (assignment *RoleAssignment) ConvertFrom(hub conversion.Hub) error
- func (assignment *RoleAssignment) ConvertTo(hub conversion.Hub) error
- func (assignment *RoleAssignment) CustomDefault()
- func (in *RoleAssignment) DeepCopy() *RoleAssignment
- func (in *RoleAssignment) DeepCopyInto(out *RoleAssignment)
- func (in *RoleAssignment) DeepCopyObject() runtime.Object
- func (assignment *RoleAssignment) Default()
- func (assignment RoleAssignment) GetAPIVersion() string
- func (assignment *RoleAssignment) GetConditions() conditions.Conditions
- func (assignment *RoleAssignment) GetResourceScope() genruntime.ResourceScope
- func (assignment *RoleAssignment) GetSpec() genruntime.ConvertibleSpec
- func (assignment *RoleAssignment) GetStatus() genruntime.ConvertibleStatus
- func (assignment *RoleAssignment) GetSupportedOperations() []genruntime.ResourceOperation
- func (assignment *RoleAssignment) GetType() string
- func (assignment *RoleAssignment) InitializeSpec(status genruntime.ConvertibleStatus) error
- func (assignment *RoleAssignment) NewEmptyStatus() genruntime.ConvertibleStatus
- func (assignment *RoleAssignment) OriginalGVK() *schema.GroupVersionKind
- func (assignment *RoleAssignment) Owner() *genruntime.ResourceReference
- func (assignment *RoleAssignment) SecretDestinationExpressions() []*core.DestinationExpression
- func (assignment *RoleAssignment) SetConditions(conditions conditions.Conditions)
- func (assignment *RoleAssignment) SetStatus(status genruntime.ConvertibleStatus) error
- func (assignment *RoleAssignment) ValidateCreate() (admission.Warnings, error)
- func (assignment *RoleAssignment) ValidateDelete() (admission.Warnings, error)
- func (assignment *RoleAssignment) ValidateUpdate(old runtime.Object) (admission.Warnings, error)
- type RoleAssignmentList
- type RoleAssignmentOperatorSpec
- func (operator *RoleAssignmentOperatorSpec) AssignProperties_From_RoleAssignmentOperatorSpec(source *storage.RoleAssignmentOperatorSpec) error
- func (operator *RoleAssignmentOperatorSpec) AssignProperties_To_RoleAssignmentOperatorSpec(destination *storage.RoleAssignmentOperatorSpec) error
- func (in *RoleAssignmentOperatorSpec) DeepCopy() *RoleAssignmentOperatorSpec
- func (in *RoleAssignmentOperatorSpec) DeepCopyInto(out *RoleAssignmentOperatorSpec)
- type RoleAssignmentProperties_PrincipalType
- type RoleAssignmentProperties_PrincipalType_STATUS
- type RoleAssignment_STATUS
- func (assignment *RoleAssignment_STATUS) AssignProperties_From_RoleAssignment_STATUS(source *storage.RoleAssignment_STATUS) error
- func (assignment *RoleAssignment_STATUS) AssignProperties_To_RoleAssignment_STATUS(destination *storage.RoleAssignment_STATUS) error
- func (assignment *RoleAssignment_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error
- func (assignment *RoleAssignment_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error
- func (in *RoleAssignment_STATUS) DeepCopy() *RoleAssignment_STATUS
- func (in *RoleAssignment_STATUS) DeepCopyInto(out *RoleAssignment_STATUS)
- func (assignment *RoleAssignment_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus
- func (assignment *RoleAssignment_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error
- type RoleAssignment_Spec
- func (assignment *RoleAssignment_Spec) AssignProperties_From_RoleAssignment_Spec(source *storage.RoleAssignment_Spec) error
- func (assignment *RoleAssignment_Spec) AssignProperties_To_RoleAssignment_Spec(destination *storage.RoleAssignment_Spec) error
- func (assignment *RoleAssignment_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error
- func (assignment *RoleAssignment_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error
- func (assignment *RoleAssignment_Spec) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)
- func (in *RoleAssignment_Spec) DeepCopy() *RoleAssignment_Spec
- func (in *RoleAssignment_Spec) DeepCopyInto(out *RoleAssignment_Spec)
- func (assignment *RoleAssignment_Spec) Initialize_From_RoleAssignment_STATUS(source *RoleAssignment_STATUS) error
- func (assignment *RoleAssignment_Spec) NewEmptyARMValue() genruntime.ARMResourceStatus
- func (assignment *RoleAssignment_Spec) OriginalVersion() string
- func (assignment *RoleAssignment_Spec) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error
- func (assignment *RoleAssignment_Spec) SetAzureName(azureName string)
- type RoleDefinition
- func (definition *RoleDefinition) AssignProperties_From_RoleDefinition(source *storage.RoleDefinition) error
- func (definition *RoleDefinition) AssignProperties_To_RoleDefinition(destination *storage.RoleDefinition) error
- func (definition *RoleDefinition) AzureName() string
- func (definition *RoleDefinition) ConfigMapDestinationExpressions() []*core.DestinationExpression
- func (definition *RoleDefinition) ConvertFrom(hub conversion.Hub) error
- func (definition *RoleDefinition) ConvertTo(hub conversion.Hub) error
- func (definition *RoleDefinition) CustomDefault()
- func (in *RoleDefinition) DeepCopy() *RoleDefinition
- func (in *RoleDefinition) DeepCopyInto(out *RoleDefinition)
- func (in *RoleDefinition) DeepCopyObject() runtime.Object
- func (definition *RoleDefinition) Default()
- func (definition RoleDefinition) GetAPIVersion() string
- func (definition *RoleDefinition) GetConditions() conditions.Conditions
- func (definition *RoleDefinition) GetResourceScope() genruntime.ResourceScope
- func (definition *RoleDefinition) GetSpec() genruntime.ConvertibleSpec
- func (definition *RoleDefinition) GetStatus() genruntime.ConvertibleStatus
- func (definition *RoleDefinition) GetSupportedOperations() []genruntime.ResourceOperation
- func (definition *RoleDefinition) GetType() string
- func (definition *RoleDefinition) InitializeSpec(status genruntime.ConvertibleStatus) error
- func (definition *RoleDefinition) NewEmptyStatus() genruntime.ConvertibleStatus
- func (definition *RoleDefinition) OriginalGVK() *schema.GroupVersionKind
- func (definition *RoleDefinition) Owner() *genruntime.ResourceReference
- func (definition *RoleDefinition) SecretDestinationExpressions() []*core.DestinationExpression
- func (definition *RoleDefinition) SetConditions(conditions conditions.Conditions)
- func (definition *RoleDefinition) SetStatus(status genruntime.ConvertibleStatus) error
- func (definition *RoleDefinition) ValidateCreate() (admission.Warnings, error)
- func (definition *RoleDefinition) ValidateDelete() (admission.Warnings, error)
- func (definition *RoleDefinition) ValidateUpdate(old runtime.Object) (admission.Warnings, error)
- type RoleDefinitionList
- type RoleDefinitionOperatorSpec
- func (operator *RoleDefinitionOperatorSpec) AssignProperties_From_RoleDefinitionOperatorSpec(source *storage.RoleDefinitionOperatorSpec) error
- func (operator *RoleDefinitionOperatorSpec) AssignProperties_To_RoleDefinitionOperatorSpec(destination *storage.RoleDefinitionOperatorSpec) error
- func (in *RoleDefinitionOperatorSpec) DeepCopy() *RoleDefinitionOperatorSpec
- func (in *RoleDefinitionOperatorSpec) DeepCopyInto(out *RoleDefinitionOperatorSpec)
- type RoleDefinition_STATUS
- func (definition *RoleDefinition_STATUS) AssignProperties_From_RoleDefinition_STATUS(source *storage.RoleDefinition_STATUS) error
- func (definition *RoleDefinition_STATUS) AssignProperties_To_RoleDefinition_STATUS(destination *storage.RoleDefinition_STATUS) error
- func (definition *RoleDefinition_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error
- func (definition *RoleDefinition_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error
- func (in *RoleDefinition_STATUS) DeepCopy() *RoleDefinition_STATUS
- func (in *RoleDefinition_STATUS) DeepCopyInto(out *RoleDefinition_STATUS)
- func (definition *RoleDefinition_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus
- func (definition *RoleDefinition_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error
- type RoleDefinition_Spec
- func (definition *RoleDefinition_Spec) AssignProperties_From_RoleDefinition_Spec(source *storage.RoleDefinition_Spec) error
- func (definition *RoleDefinition_Spec) AssignProperties_To_RoleDefinition_Spec(destination *storage.RoleDefinition_Spec) error
- func (definition *RoleDefinition_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error
- func (definition *RoleDefinition_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error
- func (definition *RoleDefinition_Spec) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)
- func (in *RoleDefinition_Spec) DeepCopy() *RoleDefinition_Spec
- func (in *RoleDefinition_Spec) DeepCopyInto(out *RoleDefinition_Spec)
- func (definition *RoleDefinition_Spec) Initialize_From_RoleDefinition_STATUS(source *RoleDefinition_STATUS) error
- func (definition *RoleDefinition_Spec) NewEmptyARMValue() genruntime.ARMResourceStatus
- func (definition *RoleDefinition_Spec) OriginalVersion() string
- func (definition *RoleDefinition_Spec) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error
- func (definition *RoleDefinition_Spec) SetAzureName(azureName string)
Constants ¶
const ( RoleAssignmentProperties_PrincipalType_Device = RoleAssignmentProperties_PrincipalType("Device") RoleAssignmentProperties_PrincipalType_ForeignGroup = RoleAssignmentProperties_PrincipalType("ForeignGroup") RoleAssignmentProperties_PrincipalType_Group = RoleAssignmentProperties_PrincipalType("Group") RoleAssignmentProperties_PrincipalType_ServicePrincipal = RoleAssignmentProperties_PrincipalType("ServicePrincipal") RoleAssignmentProperties_PrincipalType_User = RoleAssignmentProperties_PrincipalType("User") )
const ( RoleAssignmentProperties_PrincipalType_STATUS_Device = RoleAssignmentProperties_PrincipalType_STATUS("Device") 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") )
const APIVersion_Value = APIVersion("2022-04-01")
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "authorization.azure.com", Version: "v1api20220401"} // 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 Permission ¶
type Permission struct { // Actions: Allowed actions. Actions []string `json:"actions,omitempty"` // DataActions: Allowed Data actions. DataActions []string `json:"dataActions,omitempty"` // NotActions: Denied actions. NotActions []string `json:"notActions,omitempty"` // NotDataActions: Denied Data actions. NotDataActions []string `json:"notDataActions,omitempty"` }
Role definition permissions.
func (*Permission) AssignProperties_From_Permission ¶
func (permission *Permission) AssignProperties_From_Permission(source *storage.Permission) error
AssignProperties_From_Permission populates our Permission from the provided source Permission
func (*Permission) AssignProperties_To_Permission ¶
func (permission *Permission) AssignProperties_To_Permission(destination *storage.Permission) error
AssignProperties_To_Permission populates the provided destination Permission from our Permission
func (*Permission) ConvertToARM ¶
func (permission *Permission) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)
ConvertToARM converts from a Kubernetes CRD object to an ARM object
func (*Permission) DeepCopy ¶
func (in *Permission) DeepCopy() *Permission
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Permission.
func (*Permission) DeepCopyInto ¶
func (in *Permission) DeepCopyInto(out *Permission)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Permission) Initialize_From_Permission_STATUS ¶
func (permission *Permission) Initialize_From_Permission_STATUS(source *Permission_STATUS) error
Initialize_From_Permission_STATUS populates our Permission from the provided source Permission_STATUS
func (*Permission) NewEmptyARMValue ¶
func (permission *Permission) NewEmptyARMValue() genruntime.ARMResourceStatus
NewEmptyARMValue returns an empty ARM value suitable for deserializing into
func (*Permission) PopulateFromARM ¶
func (permission *Permission) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error
PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
type Permission_STATUS ¶
type Permission_STATUS struct { // Actions: Allowed actions. Actions []string `json:"actions,omitempty"` // DataActions: Allowed Data actions. DataActions []string `json:"dataActions,omitempty"` // NotActions: Denied actions. NotActions []string `json:"notActions,omitempty"` // NotDataActions: Denied Data actions. NotDataActions []string `json:"notDataActions,omitempty"` }
Role definition permissions.
func (*Permission_STATUS) AssignProperties_From_Permission_STATUS ¶
func (permission *Permission_STATUS) AssignProperties_From_Permission_STATUS(source *storage.Permission_STATUS) error
AssignProperties_From_Permission_STATUS populates our Permission_STATUS from the provided source Permission_STATUS
func (*Permission_STATUS) AssignProperties_To_Permission_STATUS ¶
func (permission *Permission_STATUS) AssignProperties_To_Permission_STATUS(destination *storage.Permission_STATUS) error
AssignProperties_To_Permission_STATUS populates the provided destination Permission_STATUS from our Permission_STATUS
func (*Permission_STATUS) DeepCopy ¶
func (in *Permission_STATUS) DeepCopy() *Permission_STATUS
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Permission_STATUS.
func (*Permission_STATUS) DeepCopyInto ¶
func (in *Permission_STATUS) DeepCopyInto(out *Permission_STATUS)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Permission_STATUS) NewEmptyARMValue ¶
func (permission *Permission_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus
NewEmptyARMValue returns an empty ARM value suitable for deserializing into
func (*Permission_STATUS) PopulateFromARM ¶
func (permission *Permission_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error
PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
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" Generator information: - Generated from: /authorization/resource-manager/Microsoft.Authorization/stable/2022-04-01/authorization-RoleAssignmentsCalls.json - ARM URI: /{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}
func (*RoleAssignment) AssignProperties_From_RoleAssignment ¶
func (assignment *RoleAssignment) AssignProperties_From_RoleAssignment(source *storage.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 *storage.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) ConfigMapDestinationExpressions ¶
func (assignment *RoleAssignment) ConfigMapDestinationExpressions() []*core.DestinationExpression
ConfigMapDestinationExpressions returns the Spec.OperatorSpec.ConfigMapExpressions property
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 ¶
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 "2022-04-01"
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) GetSupportedOperations ¶
func (assignment *RoleAssignment) GetSupportedOperations() []genruntime.ResourceOperation
GetSupportedOperations returns the operations supported by the 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) InitializeSpec ¶
func (assignment *RoleAssignment) InitializeSpec(status genruntime.ConvertibleStatus) error
InitializeSpec initializes the spec for this resource from the given status
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) SecretDestinationExpressions ¶
func (assignment *RoleAssignment) SecretDestinationExpressions() []*core.DestinationExpression
SecretDestinationExpressions returns the Spec.OperatorSpec.SecretExpressions property
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 ¶
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 Generator information: - Generated from: /authorization/resource-manager/Microsoft.Authorization/stable/2022-04-01/authorization-RoleAssignmentsCalls.json - ARM URI: /{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}
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 RoleAssignmentOperatorSpec ¶
type RoleAssignmentOperatorSpec struct { // ConfigMapExpressions: configures where to place operator written dynamic ConfigMaps (created with CEL expressions). ConfigMapExpressions []*core.DestinationExpression `json:"configMapExpressions,omitempty"` // NamingConvention: The uuid generation technique to use for any role without an explicit AzureName. One of 'stable' or // 'random'. // +kubebuilder:validation:Enum={"random","stable"} NamingConvention *string `json:"namingConvention,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 (*RoleAssignmentOperatorSpec) AssignProperties_From_RoleAssignmentOperatorSpec ¶
func (operator *RoleAssignmentOperatorSpec) AssignProperties_From_RoleAssignmentOperatorSpec(source *storage.RoleAssignmentOperatorSpec) error
AssignProperties_From_RoleAssignmentOperatorSpec populates our RoleAssignmentOperatorSpec from the provided source RoleAssignmentOperatorSpec
func (*RoleAssignmentOperatorSpec) AssignProperties_To_RoleAssignmentOperatorSpec ¶
func (operator *RoleAssignmentOperatorSpec) AssignProperties_To_RoleAssignmentOperatorSpec(destination *storage.RoleAssignmentOperatorSpec) error
AssignProperties_To_RoleAssignmentOperatorSpec populates the provided destination RoleAssignmentOperatorSpec from our RoleAssignmentOperatorSpec
func (*RoleAssignmentOperatorSpec) DeepCopy ¶
func (in *RoleAssignmentOperatorSpec) DeepCopy() *RoleAssignmentOperatorSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleAssignmentOperatorSpec.
func (*RoleAssignmentOperatorSpec) DeepCopyInto ¶
func (in *RoleAssignmentOperatorSpec) DeepCopyInto(out *RoleAssignmentOperatorSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RoleAssignmentProperties_PrincipalType ¶
type RoleAssignmentProperties_PrincipalType string
+kubebuilder:validation:Enum={"Device","ForeignGroup","Group","ServicePrincipal","User"}
type RoleAssignmentProperties_PrincipalType_STATUS ¶
type RoleAssignmentProperties_PrincipalType_STATUS string
type RoleAssignment_STATUS ¶
type RoleAssignment_STATUS struct { // Condition: The conditions on the role assignment. This limits the resources it can be assigned to. e.g.: // @Resource[Microsoft.Storage/storageAccounts/blobServices/containers:ContainerName] StringEqualsIgnoreCase // 'foo_storage_container' Condition *string `json:"condition,omitempty"` // ConditionVersion: Version of the condition. Currently the only accepted value is '2.0' ConditionVersion *string `json:"conditionVersion,omitempty"` // Conditions: The observed state of the resource Conditions []conditions.Condition `json:"conditions,omitempty"` // CreatedBy: Id of the user who created the assignment CreatedBy *string `json:"createdBy,omitempty"` // CreatedOn: Time it was created CreatedOn *string `json:"createdOn,omitempty"` // DelegatedManagedIdentityResourceId: Id of the delegated managed identity resource DelegatedManagedIdentityResourceId *string `json:"delegatedManagedIdentityResourceId,omitempty"` // Description: Description of role assignment Description *string `json:"description,omitempty"` // Id: The role assignment ID. Id *string `json:"id,omitempty"` // Name: The role assignment name. Name *string `json:"name,omitempty"` // PrincipalId: The principal ID. PrincipalId *string `json:"principalId,omitempty"` // PrincipalType: The principal type of the assigned principal ID. PrincipalType *RoleAssignmentProperties_PrincipalType_STATUS `json:"principalType,omitempty"` // RoleDefinitionId: The role definition ID. RoleDefinitionId *string `json:"roleDefinitionId,omitempty"` // Scope: The role assignment scope. Scope *string `json:"scope,omitempty"` // Type: The role assignment type. Type *string `json:"type,omitempty"` // UpdatedBy: Id of the user who updated the assignment UpdatedBy *string `json:"updatedBy,omitempty"` // UpdatedOn: Time it was updated UpdatedOn *string `json:"updatedOn,omitempty"` }
Role Assignments
func (*RoleAssignment_STATUS) AssignProperties_From_RoleAssignment_STATUS ¶
func (assignment *RoleAssignment_STATUS) AssignProperties_From_RoleAssignment_STATUS(source *storage.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 *storage.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 ¶
func (in *RoleAssignment_STATUS) DeepCopy() *RoleAssignment_STATUS
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_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: The conditions on the role assignment. This limits the resources it can be assigned to. e.g.: // @Resource[Microsoft.Storage/storageAccounts/blobServices/containers:ContainerName] StringEqualsIgnoreCase // 'foo_storage_container' Condition *string `json:"condition,omitempty"` // ConditionVersion: Version of the condition. Currently the only accepted value is '2.0' ConditionVersion *string `json:"conditionVersion,omitempty"` // DelegatedManagedIdentityResourceReference: Id of the delegated managed identity resource DelegatedManagedIdentityResourceReference *genruntime.ResourceReference `armReference:"DelegatedManagedIdentityResourceId" json:"delegatedManagedIdentityResourceReference,omitempty"` // Description: Description of role assignment Description *string `json:"description,omitempty"` // OperatorSpec: The specification for configuring operator behavior. This field is interpreted by the operator and not // passed directly to Azure OperatorSpec *RoleAssignmentOperatorSpec `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. This resource is an // extension resource, which means that any other Azure resource can be its owner. Owner *genruntime.ArbitraryOwnerReference `json:"owner,omitempty"` // PrincipalId: The principal ID. PrincipalId *string `json:"principalId,omitempty" optionalConfigMapPair:"PrincipalId"` // PrincipalIdFromConfig: The principal ID. PrincipalIdFromConfig *genruntime.ConfigMapReference `json:"principalIdFromConfig,omitempty" optionalConfigMapPair:"PrincipalId"` // PrincipalType: The principal type of the assigned principal ID. PrincipalType *RoleAssignmentProperties_PrincipalType `json:"principalType,omitempty"` // +kubebuilder:validation:Required // RoleDefinitionReference: The role definition ID. RoleDefinitionReference *genruntime.ResourceReference `armReference:"RoleDefinitionId" json:"roleDefinitionReference,omitempty"` }
func (*RoleAssignment_Spec) AssignProperties_From_RoleAssignment_Spec ¶
func (assignment *RoleAssignment_Spec) AssignProperties_From_RoleAssignment_Spec(source *storage.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 *storage.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) Initialize_From_RoleAssignment_STATUS ¶
func (assignment *RoleAssignment_Spec) Initialize_From_RoleAssignment_STATUS(source *RoleAssignment_STATUS) error
Initialize_From_RoleAssignment_STATUS populates our RoleAssignment_Spec from the provided source RoleAssignment_STATUS
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 RoleDefinition ¶
type RoleDefinition struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec RoleDefinition_Spec `json:"spec,omitempty"` Status RoleDefinition_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: /authorization/resource-manager/Microsoft.Authorization/stable/2022-04-01/authorization-RoleDefinitionsCalls.json - ARM URI: /{scope}/providers/Microsoft.Authorization/roleDefinitions/{roleDefinitionId}
func (*RoleDefinition) AssignProperties_From_RoleDefinition ¶
func (definition *RoleDefinition) AssignProperties_From_RoleDefinition(source *storage.RoleDefinition) error
AssignProperties_From_RoleDefinition populates our RoleDefinition from the provided source RoleDefinition
func (*RoleDefinition) AssignProperties_To_RoleDefinition ¶
func (definition *RoleDefinition) AssignProperties_To_RoleDefinition(destination *storage.RoleDefinition) error
AssignProperties_To_RoleDefinition populates the provided destination RoleDefinition from our RoleDefinition
func (*RoleDefinition) AzureName ¶
func (definition *RoleDefinition) AzureName() string
AzureName returns the Azure name of the resource
func (*RoleDefinition) ConfigMapDestinationExpressions ¶
func (definition *RoleDefinition) ConfigMapDestinationExpressions() []*core.DestinationExpression
ConfigMapDestinationExpressions returns the Spec.OperatorSpec.ConfigMapExpressions property
func (*RoleDefinition) ConvertFrom ¶
func (definition *RoleDefinition) ConvertFrom(hub conversion.Hub) error
ConvertFrom populates our RoleDefinition from the provided hub RoleDefinition
func (*RoleDefinition) ConvertTo ¶
func (definition *RoleDefinition) ConvertTo(hub conversion.Hub) error
ConvertTo populates the provided hub RoleDefinition from our RoleDefinition
func (*RoleDefinition) CustomDefault ¶
func (definition *RoleDefinition) CustomDefault()
func (*RoleDefinition) DeepCopy ¶
func (in *RoleDefinition) DeepCopy() *RoleDefinition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleDefinition.
func (*RoleDefinition) DeepCopyInto ¶
func (in *RoleDefinition) DeepCopyInto(out *RoleDefinition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RoleDefinition) DeepCopyObject ¶
func (in *RoleDefinition) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*RoleDefinition) Default ¶
func (definition *RoleDefinition) Default()
Default applies defaults to the RoleDefinition resource
func (RoleDefinition) GetAPIVersion ¶
func (definition RoleDefinition) GetAPIVersion() string
GetAPIVersion returns the ARM API version of the resource. This is always "2022-04-01"
func (*RoleDefinition) GetConditions ¶
func (definition *RoleDefinition) GetConditions() conditions.Conditions
GetConditions returns the conditions of the resource
func (*RoleDefinition) GetResourceScope ¶
func (definition *RoleDefinition) GetResourceScope() genruntime.ResourceScope
GetResourceScope returns the scope of the resource
func (*RoleDefinition) GetSpec ¶
func (definition *RoleDefinition) GetSpec() genruntime.ConvertibleSpec
GetSpec returns the specification of this resource
func (*RoleDefinition) GetStatus ¶
func (definition *RoleDefinition) GetStatus() genruntime.ConvertibleStatus
GetStatus returns the status of this resource
func (*RoleDefinition) GetSupportedOperations ¶
func (definition *RoleDefinition) GetSupportedOperations() []genruntime.ResourceOperation
GetSupportedOperations returns the operations supported by the resource
func (*RoleDefinition) GetType ¶
func (definition *RoleDefinition) GetType() string
GetType returns the ARM Type of the resource. This is always "Microsoft.Authorization/roleDefinitions"
func (*RoleDefinition) InitializeSpec ¶
func (definition *RoleDefinition) InitializeSpec(status genruntime.ConvertibleStatus) error
InitializeSpec initializes the spec for this resource from the given status
func (*RoleDefinition) NewEmptyStatus ¶
func (definition *RoleDefinition) NewEmptyStatus() genruntime.ConvertibleStatus
NewEmptyStatus returns a new empty (blank) status
func (*RoleDefinition) OriginalGVK ¶
func (definition *RoleDefinition) OriginalGVK() *schema.GroupVersionKind
OriginalGVK returns a GroupValueKind for the original API version used to create the resource
func (*RoleDefinition) Owner ¶
func (definition *RoleDefinition) Owner() *genruntime.ResourceReference
Owner returns the ResourceReference of the owner
func (*RoleDefinition) SecretDestinationExpressions ¶
func (definition *RoleDefinition) SecretDestinationExpressions() []*core.DestinationExpression
SecretDestinationExpressions returns the Spec.OperatorSpec.SecretExpressions property
func (*RoleDefinition) SetConditions ¶
func (definition *RoleDefinition) SetConditions(conditions conditions.Conditions)
SetConditions sets the conditions on the resource status
func (*RoleDefinition) SetStatus ¶
func (definition *RoleDefinition) SetStatus(status genruntime.ConvertibleStatus) error
SetStatus sets the status of this resource
func (*RoleDefinition) ValidateCreate ¶
func (definition *RoleDefinition) ValidateCreate() (admission.Warnings, error)
ValidateCreate validates the creation of the resource
func (*RoleDefinition) ValidateDelete ¶
func (definition *RoleDefinition) ValidateDelete() (admission.Warnings, error)
ValidateDelete validates the deletion of the resource
func (*RoleDefinition) ValidateUpdate ¶
ValidateUpdate validates an update of the resource
type RoleDefinitionList ¶
type RoleDefinitionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []RoleDefinition `json:"items"` }
+kubebuilder:object:root=true Generator information: - Generated from: /authorization/resource-manager/Microsoft.Authorization/stable/2022-04-01/authorization-RoleDefinitionsCalls.json - ARM URI: /{scope}/providers/Microsoft.Authorization/roleDefinitions/{roleDefinitionId}
func (*RoleDefinitionList) DeepCopy ¶
func (in *RoleDefinitionList) DeepCopy() *RoleDefinitionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleDefinitionList.
func (*RoleDefinitionList) DeepCopyInto ¶
func (in *RoleDefinitionList) DeepCopyInto(out *RoleDefinitionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RoleDefinitionList) DeepCopyObject ¶
func (in *RoleDefinitionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RoleDefinitionOperatorSpec ¶
type RoleDefinitionOperatorSpec struct { // ConfigMapExpressions: configures where to place operator written dynamic ConfigMaps (created with CEL expressions). ConfigMapExpressions []*core.DestinationExpression `json:"configMapExpressions,omitempty"` // NamingConvention: The uuid generation technique to use for any role without an explicit AzureName. One of 'stable' or // 'random'. // +kubebuilder:validation:Enum={"random","stable"} NamingConvention *string `json:"namingConvention,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 (*RoleDefinitionOperatorSpec) AssignProperties_From_RoleDefinitionOperatorSpec ¶
func (operator *RoleDefinitionOperatorSpec) AssignProperties_From_RoleDefinitionOperatorSpec(source *storage.RoleDefinitionOperatorSpec) error
AssignProperties_From_RoleDefinitionOperatorSpec populates our RoleDefinitionOperatorSpec from the provided source RoleDefinitionOperatorSpec
func (*RoleDefinitionOperatorSpec) AssignProperties_To_RoleDefinitionOperatorSpec ¶
func (operator *RoleDefinitionOperatorSpec) AssignProperties_To_RoleDefinitionOperatorSpec(destination *storage.RoleDefinitionOperatorSpec) error
AssignProperties_To_RoleDefinitionOperatorSpec populates the provided destination RoleDefinitionOperatorSpec from our RoleDefinitionOperatorSpec
func (*RoleDefinitionOperatorSpec) DeepCopy ¶
func (in *RoleDefinitionOperatorSpec) DeepCopy() *RoleDefinitionOperatorSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleDefinitionOperatorSpec.
func (*RoleDefinitionOperatorSpec) DeepCopyInto ¶
func (in *RoleDefinitionOperatorSpec) DeepCopyInto(out *RoleDefinitionOperatorSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RoleDefinition_STATUS ¶
type RoleDefinition_STATUS struct { // AssignableScopes: Role definition assignable scopes. AssignableScopes []string `json:"assignableScopes,omitempty"` // Conditions: The observed state of the resource Conditions []conditions.Condition `json:"conditions,omitempty"` // CreatedBy: Id of the user who created the assignment CreatedBy *string `json:"createdBy,omitempty"` // CreatedOn: Time it was created CreatedOn *string `json:"createdOn,omitempty"` // Description: The role definition description. Description *string `json:"description,omitempty"` // Id: The role definition ID. Id *string `json:"id,omitempty"` // Name: The role definition name. Name *string `json:"name,omitempty"` // Permissions: Role definition permissions. Permissions []Permission_STATUS `json:"permissions,omitempty"` // PropertiesType: The role type. PropertiesType *string `json:"properties_type,omitempty"` // RoleName: The role name. RoleName *string `json:"roleName,omitempty"` // Type: The role definition type. Type *string `json:"type,omitempty"` // UpdatedBy: Id of the user who updated the assignment UpdatedBy *string `json:"updatedBy,omitempty"` // UpdatedOn: Time it was updated UpdatedOn *string `json:"updatedOn,omitempty"` }
Role definition.
func (*RoleDefinition_STATUS) AssignProperties_From_RoleDefinition_STATUS ¶
func (definition *RoleDefinition_STATUS) AssignProperties_From_RoleDefinition_STATUS(source *storage.RoleDefinition_STATUS) error
AssignProperties_From_RoleDefinition_STATUS populates our RoleDefinition_STATUS from the provided source RoleDefinition_STATUS
func (*RoleDefinition_STATUS) AssignProperties_To_RoleDefinition_STATUS ¶
func (definition *RoleDefinition_STATUS) AssignProperties_To_RoleDefinition_STATUS(destination *storage.RoleDefinition_STATUS) error
AssignProperties_To_RoleDefinition_STATUS populates the provided destination RoleDefinition_STATUS from our RoleDefinition_STATUS
func (*RoleDefinition_STATUS) ConvertStatusFrom ¶
func (definition *RoleDefinition_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error
ConvertStatusFrom populates our RoleDefinition_STATUS from the provided source
func (*RoleDefinition_STATUS) ConvertStatusTo ¶
func (definition *RoleDefinition_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error
ConvertStatusTo populates the provided destination from our RoleDefinition_STATUS
func (*RoleDefinition_STATUS) DeepCopy ¶
func (in *RoleDefinition_STATUS) DeepCopy() *RoleDefinition_STATUS
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleDefinition_STATUS.
func (*RoleDefinition_STATUS) DeepCopyInto ¶
func (in *RoleDefinition_STATUS) DeepCopyInto(out *RoleDefinition_STATUS)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RoleDefinition_STATUS) NewEmptyARMValue ¶
func (definition *RoleDefinition_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus
NewEmptyARMValue returns an empty ARM value suitable for deserializing into
func (*RoleDefinition_STATUS) PopulateFromARM ¶
func (definition *RoleDefinition_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error
PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
type RoleDefinition_Spec ¶
type RoleDefinition_Spec struct { // AssignableScopesReferences: Role definition assignable scopes. AssignableScopesReferences []genruntime.ResourceReference `armReference:"AssignableScopes" json:"assignableScopesReferences,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"` // Description: The role definition description. Description *string `json:"description,omitempty"` // OperatorSpec: The specification for configuring operator behavior. This field is interpreted by the operator and not // passed directly to Azure OperatorSpec *RoleDefinitionOperatorSpec `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. This resource is an // extension resource, which means that any other Azure resource can be its owner. Owner *genruntime.ArbitraryOwnerReference `json:"owner,omitempty"` // Permissions: Role definition permissions. Permissions []Permission `json:"permissions,omitempty"` // RoleName: The role name. RoleName *string `json:"roleName,omitempty"` // Type: The role type. Type *string `json:"type,omitempty"` }
func (*RoleDefinition_Spec) AssignProperties_From_RoleDefinition_Spec ¶
func (definition *RoleDefinition_Spec) AssignProperties_From_RoleDefinition_Spec(source *storage.RoleDefinition_Spec) error
AssignProperties_From_RoleDefinition_Spec populates our RoleDefinition_Spec from the provided source RoleDefinition_Spec
func (*RoleDefinition_Spec) AssignProperties_To_RoleDefinition_Spec ¶
func (definition *RoleDefinition_Spec) AssignProperties_To_RoleDefinition_Spec(destination *storage.RoleDefinition_Spec) error
AssignProperties_To_RoleDefinition_Spec populates the provided destination RoleDefinition_Spec from our RoleDefinition_Spec
func (*RoleDefinition_Spec) ConvertSpecFrom ¶
func (definition *RoleDefinition_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error
ConvertSpecFrom populates our RoleDefinition_Spec from the provided source
func (*RoleDefinition_Spec) ConvertSpecTo ¶
func (definition *RoleDefinition_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error
ConvertSpecTo populates the provided destination from our RoleDefinition_Spec
func (*RoleDefinition_Spec) ConvertToARM ¶
func (definition *RoleDefinition_Spec) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)
ConvertToARM converts from a Kubernetes CRD object to an ARM object
func (*RoleDefinition_Spec) DeepCopy ¶
func (in *RoleDefinition_Spec) DeepCopy() *RoleDefinition_Spec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleDefinition_Spec.
func (*RoleDefinition_Spec) DeepCopyInto ¶
func (in *RoleDefinition_Spec) DeepCopyInto(out *RoleDefinition_Spec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RoleDefinition_Spec) Initialize_From_RoleDefinition_STATUS ¶
func (definition *RoleDefinition_Spec) Initialize_From_RoleDefinition_STATUS(source *RoleDefinition_STATUS) error
Initialize_From_RoleDefinition_STATUS populates our RoleDefinition_Spec from the provided source RoleDefinition_STATUS
func (*RoleDefinition_Spec) NewEmptyARMValue ¶
func (definition *RoleDefinition_Spec) NewEmptyARMValue() genruntime.ARMResourceStatus
NewEmptyARMValue returns an empty ARM value suitable for deserializing into
func (*RoleDefinition_Spec) OriginalVersion ¶
func (definition *RoleDefinition_Spec) OriginalVersion() string
OriginalVersion returns the original API version used to create the resource.
func (*RoleDefinition_Spec) PopulateFromARM ¶
func (definition *RoleDefinition_Spec) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error
PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
func (*RoleDefinition_Spec) SetAzureName ¶
func (definition *RoleDefinition_Spec) SetAzureName(azureName string)
SetAzureName sets the Azure name of the resource
Source Files ¶
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 authorization storage 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 +versionName=v1api20220401storage
|
Package storage contains API Schema definitions for the authorization storage 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 +versionName=v1api20220401storage |