Documentation
¶
Overview ¶
Package v1alpha1api20200801preview contains API Schema definitions for the authorization v1alpha1api20200801preview 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
- Variables
- type RoleAssignment
- func (roleAssignment *RoleAssignment) AssignPropertiesFromRoleAssignment(source *v1alpha1api20200801previewstorage.RoleAssignment) error
- func (roleAssignment *RoleAssignment) AssignPropertiesToRoleAssignment(destination *v1alpha1api20200801previewstorage.RoleAssignment) error
- func (roleAssignment *RoleAssignment) AzureName() string
- func (roleAssignment *RoleAssignment) ConvertFrom(hub conversion.Hub) error
- func (roleAssignment *RoleAssignment) ConvertTo(hub conversion.Hub) error
- func (in *RoleAssignment) DeepCopy() *RoleAssignment
- func (in *RoleAssignment) DeepCopyInto(out *RoleAssignment)
- func (in *RoleAssignment) DeepCopyObject() runtime.Object
- func (roleAssignment *RoleAssignment) Default()
- func (roleAssignment RoleAssignment) GetAPIVersion() string
- func (roleAssignment *RoleAssignment) GetConditions() conditions.Conditions
- func (roleAssignment *RoleAssignment) GetResourceKind() genruntime.ResourceKind
- func (roleAssignment *RoleAssignment) GetSpec() genruntime.ConvertibleSpec
- func (roleAssignment *RoleAssignment) GetStatus() genruntime.ConvertibleStatus
- func (roleAssignment *RoleAssignment) GetType() string
- func (roleAssignment *RoleAssignment) NewEmptyStatus() genruntime.ConvertibleStatus
- func (roleAssignment *RoleAssignment) OriginalGVK() *schema.GroupVersionKind
- func (roleAssignment *RoleAssignment) Owner() *genruntime.ResourceReference
- func (roleAssignment *RoleAssignment) SetConditions(conditions conditions.Conditions)
- func (roleAssignment *RoleAssignment) SetStatus(status genruntime.ConvertibleStatus) error
- func (roleAssignment *RoleAssignment) ValidateCreate() error
- func (roleAssignment *RoleAssignment) ValidateDelete() error
- func (roleAssignment *RoleAssignment) ValidateUpdate(old runtime.Object) error
- type RoleAssignmentList
- type RoleAssignmentPropertiesARM
- type RoleAssignmentPropertiesPrincipalType
- type RoleAssignmentPropertiesStatusPrincipalType
- type RoleAssignmentProperties_StatusARM
- type RoleAssignment_Status
- func (roleAssignmentStatus *RoleAssignment_Status) AssignPropertiesFromRoleAssignmentStatus(source *v1alpha1api20200801previewstorage.RoleAssignment_Status) error
- func (roleAssignmentStatus *RoleAssignment_Status) AssignPropertiesToRoleAssignmentStatus(destination *v1alpha1api20200801previewstorage.RoleAssignment_Status) error
- func (roleAssignmentStatus *RoleAssignment_Status) ConvertStatusFrom(source genruntime.ConvertibleStatus) error
- func (roleAssignmentStatus *RoleAssignment_Status) ConvertStatusTo(destination genruntime.ConvertibleStatus) error
- func (in *RoleAssignment_Status) DeepCopy() *RoleAssignment_Status
- func (in *RoleAssignment_Status) DeepCopyInto(out *RoleAssignment_Status)
- func (roleAssignmentStatus *RoleAssignment_Status) NewEmptyARMValue() genruntime.ARMResourceStatus
- func (roleAssignmentStatus *RoleAssignment_Status) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error
- type RoleAssignment_StatusARM
- type RoleAssignmentsSpecAPIVersion
- type RoleAssignments_Spec
- func (roleAssignmentsSpec *RoleAssignments_Spec) AssignPropertiesFromRoleAssignmentsSpec(source *v1alpha1api20200801previewstorage.RoleAssignments_Spec) error
- func (roleAssignmentsSpec *RoleAssignments_Spec) AssignPropertiesToRoleAssignmentsSpec(destination *v1alpha1api20200801previewstorage.RoleAssignments_Spec) error
- func (roleAssignmentsSpec *RoleAssignments_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error
- func (roleAssignmentsSpec *RoleAssignments_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error
- func (roleAssignmentsSpec *RoleAssignments_Spec) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)
- func (in *RoleAssignments_Spec) DeepCopy() *RoleAssignments_Spec
- func (in *RoleAssignments_Spec) DeepCopyInto(out *RoleAssignments_Spec)
- func (roleAssignmentsSpec *RoleAssignments_Spec) NewEmptyARMValue() genruntime.ARMResourceStatus
- func (roleAssignmentsSpec *RoleAssignments_Spec) OriginalVersion() string
- func (roleAssignmentsSpec *RoleAssignments_Spec) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error
- func (roleAssignmentsSpec *RoleAssignments_Spec) SetAzureName(azureName string)
- type RoleAssignments_SpecARM
- func (in *RoleAssignments_SpecARM) DeepCopy() *RoleAssignments_SpecARM
- func (in *RoleAssignments_SpecARM) DeepCopyInto(out *RoleAssignments_SpecARM)
- func (roleAssignmentsSpecARM RoleAssignments_SpecARM) GetAPIVersion() string
- func (roleAssignmentsSpecARM RoleAssignments_SpecARM) GetName() string
- func (roleAssignmentsSpecARM RoleAssignments_SpecARM) GetType() string
Constants ¶
const ( RoleAssignmentPropertiesPrincipalTypeForeignGroup = RoleAssignmentPropertiesPrincipalType("ForeignGroup") RoleAssignmentPropertiesPrincipalTypeGroup = RoleAssignmentPropertiesPrincipalType("Group") RoleAssignmentPropertiesPrincipalTypeServicePrincipal = RoleAssignmentPropertiesPrincipalType("ServicePrincipal") RoleAssignmentPropertiesPrincipalTypeUser = RoleAssignmentPropertiesPrincipalType("User") )
const ( RoleAssignmentPropertiesStatusPrincipalTypeForeignGroup = RoleAssignmentPropertiesStatusPrincipalType("ForeignGroup") RoleAssignmentPropertiesStatusPrincipalTypeGroup = RoleAssignmentPropertiesStatusPrincipalType("Group") RoleAssignmentPropertiesStatusPrincipalTypeServicePrincipal = RoleAssignmentPropertiesStatusPrincipalType("ServicePrincipal") RoleAssignmentPropertiesStatusPrincipalTypeUser = RoleAssignmentPropertiesStatusPrincipalType("User") )
const RoleAssignmentsSpecAPIVersion20200801Preview = RoleAssignmentsSpecAPIVersion("2020-08-01-preview")
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "authorization.azure.com", Version: "v1alpha1api20200801preview"} // 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 RoleAssignment ¶
type RoleAssignment struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec RoleAssignments_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" Generated from: https://schema.management.azure.com/schemas/2020-08-01-preview/Microsoft.Authorization.Authz.json#/unknown_resourceDefinitions/roleAssignments
func (*RoleAssignment) AssignPropertiesFromRoleAssignment ¶
func (roleAssignment *RoleAssignment) AssignPropertiesFromRoleAssignment(source *v1alpha1api20200801previewstorage.RoleAssignment) error
AssignPropertiesFromRoleAssignment populates our RoleAssignment from the provided source RoleAssignment
func (*RoleAssignment) AssignPropertiesToRoleAssignment ¶
func (roleAssignment *RoleAssignment) AssignPropertiesToRoleAssignment(destination *v1alpha1api20200801previewstorage.RoleAssignment) error
AssignPropertiesToRoleAssignment populates the provided destination RoleAssignment from our RoleAssignment
func (*RoleAssignment) AzureName ¶
func (roleAssignment *RoleAssignment) AzureName() string
AzureName returns the Azure name of the resource
func (*RoleAssignment) ConvertFrom ¶
func (roleAssignment *RoleAssignment) ConvertFrom(hub conversion.Hub) error
ConvertFrom populates our RoleAssignment from the provided hub RoleAssignment
func (*RoleAssignment) ConvertTo ¶
func (roleAssignment *RoleAssignment) ConvertTo(hub conversion.Hub) error
ConvertTo populates the provided hub RoleAssignment from our RoleAssignment
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 (roleAssignment *RoleAssignment) Default()
Default applies defaults to the RoleAssignment resource
func (RoleAssignment) GetAPIVersion ¶
func (roleAssignment RoleAssignment) GetAPIVersion() string
GetAPIVersion returns the ARM API version of the resource. This is always "2020-08-01-preview"
func (*RoleAssignment) GetConditions ¶
func (roleAssignment *RoleAssignment) GetConditions() conditions.Conditions
GetConditions returns the conditions of the resource
func (*RoleAssignment) GetResourceKind ¶
func (roleAssignment *RoleAssignment) GetResourceKind() genruntime.ResourceKind
GetResourceKind returns the kind of the resource
func (*RoleAssignment) GetSpec ¶
func (roleAssignment *RoleAssignment) GetSpec() genruntime.ConvertibleSpec
GetSpec returns the specification of this resource
func (*RoleAssignment) GetStatus ¶
func (roleAssignment *RoleAssignment) GetStatus() genruntime.ConvertibleStatus
GetStatus returns the status of this resource
func (*RoleAssignment) GetType ¶
func (roleAssignment *RoleAssignment) GetType() string
GetType returns the ARM Type of the resource. This is always "Microsoft.Authorization/roleAssignments"
func (*RoleAssignment) NewEmptyStatus ¶
func (roleAssignment *RoleAssignment) NewEmptyStatus() genruntime.ConvertibleStatus
NewEmptyStatus returns a new empty (blank) status
func (*RoleAssignment) OriginalGVK ¶
func (roleAssignment *RoleAssignment) OriginalGVK() *schema.GroupVersionKind
OriginalGVK returns a GroupValueKind for the original API version used to create the resource
func (*RoleAssignment) Owner ¶
func (roleAssignment *RoleAssignment) Owner() *genruntime.ResourceReference
Owner returns the ResourceReference of the owner, or nil if there is no owner
func (*RoleAssignment) SetConditions ¶
func (roleAssignment *RoleAssignment) SetConditions(conditions conditions.Conditions)
SetConditions sets the conditions on the resource status
func (*RoleAssignment) SetStatus ¶
func (roleAssignment *RoleAssignment) SetStatus(status genruntime.ConvertibleStatus) error
SetStatus sets the status of this resource
func (*RoleAssignment) ValidateCreate ¶
func (roleAssignment *RoleAssignment) ValidateCreate() error
ValidateCreate validates the creation of the resource
func (*RoleAssignment) ValidateDelete ¶
func (roleAssignment *RoleAssignment) ValidateDelete() error
ValidateDelete validates the deletion of the resource
func (*RoleAssignment) ValidateUpdate ¶
func (roleAssignment *RoleAssignment) ValidateUpdate(old runtime.Object) 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 Generated from: https://schema.management.azure.com/schemas/2020-08-01-preview/Microsoft.Authorization.Authz.json#/unknown_resourceDefinitions/roleAssignments
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 RoleAssignmentPropertiesARM ¶
type RoleAssignmentPropertiesARM 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 accepted value is '2.0' ConditionVersion *string `json:"conditionVersion,omitempty"` //DelegatedManagedIdentityResourceId: Id of the delegated managed identity resource DelegatedManagedIdentityResourceId *string `json:"delegatedManagedIdentityResourceId,omitempty"` //Description: Description of role assignment Description *string `json:"description,omitempty"` //PrincipalId: The principal ID. PrincipalId string `json:"principalId"` //PrincipalType: The principal type of the assigned principal ID. PrincipalType *RoleAssignmentPropertiesPrincipalType `json:"principalType,omitempty"` RoleDefinitionId string `json:"roleDefinitionId"` }
Generated from: https://schema.management.azure.com/schemas/2020-08-01-preview/Microsoft.Authorization.Authz.json#/definitions/RoleAssignmentProperties
func (*RoleAssignmentPropertiesARM) DeepCopy ¶
func (in *RoleAssignmentPropertiesARM) DeepCopy() *RoleAssignmentPropertiesARM
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleAssignmentPropertiesARM.
func (*RoleAssignmentPropertiesARM) DeepCopyInto ¶
func (in *RoleAssignmentPropertiesARM) DeepCopyInto(out *RoleAssignmentPropertiesARM)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RoleAssignmentPropertiesPrincipalType ¶
type RoleAssignmentPropertiesPrincipalType string
+kubebuilder:validation:Enum={"ForeignGroup","Group","ServicePrincipal","User"}
type RoleAssignmentPropertiesStatusPrincipalType ¶
type RoleAssignmentPropertiesStatusPrincipalType string
type RoleAssignmentProperties_StatusARM ¶
type RoleAssignmentProperties_StatusARM 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 accepted value is '2.0' ConditionVersion *string `json:"conditionVersion,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"` //PrincipalId: The principal ID. PrincipalId string `json:"principalId"` //PrincipalType: The principal type of the assigned principal ID. PrincipalType *RoleAssignmentPropertiesStatusPrincipalType `json:"principalType,omitempty"` //RoleDefinitionId: The role definition ID. RoleDefinitionId string `json:"roleDefinitionId"` //Scope: The role assignment scope. Scope *string `json:"scope,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"` }
func (*RoleAssignmentProperties_StatusARM) DeepCopy ¶
func (in *RoleAssignmentProperties_StatusARM) DeepCopy() *RoleAssignmentProperties_StatusARM
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleAssignmentProperties_StatusARM.
func (*RoleAssignmentProperties_StatusARM) DeepCopyInto ¶
func (in *RoleAssignmentProperties_StatusARM) DeepCopyInto(out *RoleAssignmentProperties_StatusARM)
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: 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 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 *RoleAssignmentPropertiesStatusPrincipalType `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"` }
func (*RoleAssignment_Status) AssignPropertiesFromRoleAssignmentStatus ¶
func (roleAssignmentStatus *RoleAssignment_Status) AssignPropertiesFromRoleAssignmentStatus(source *v1alpha1api20200801previewstorage.RoleAssignment_Status) error
AssignPropertiesFromRoleAssignmentStatus populates our RoleAssignment_Status from the provided source RoleAssignment_Status
func (*RoleAssignment_Status) AssignPropertiesToRoleAssignmentStatus ¶
func (roleAssignmentStatus *RoleAssignment_Status) AssignPropertiesToRoleAssignmentStatus(destination *v1alpha1api20200801previewstorage.RoleAssignment_Status) error
AssignPropertiesToRoleAssignmentStatus populates the provided destination RoleAssignment_Status from our RoleAssignment_Status
func (*RoleAssignment_Status) ConvertStatusFrom ¶
func (roleAssignmentStatus *RoleAssignment_Status) ConvertStatusFrom(source genruntime.ConvertibleStatus) error
ConvertStatusFrom populates our RoleAssignment_Status from the provided source
func (*RoleAssignment_Status) ConvertStatusTo ¶
func (roleAssignmentStatus *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 (roleAssignmentStatus *RoleAssignment_Status) NewEmptyARMValue() genruntime.ARMResourceStatus
NewEmptyARMValue returns an empty ARM value suitable for deserializing into
func (*RoleAssignment_Status) PopulateFromARM ¶
func (roleAssignmentStatus *RoleAssignment_Status) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error
PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
type RoleAssignment_StatusARM ¶
type RoleAssignment_StatusARM struct { //Id: The role assignment ID. Id *string `json:"id,omitempty"` //Name: The role assignment name. Name *string `json:"name,omitempty"` //Properties: Role assignment properties. Properties *RoleAssignmentProperties_StatusARM `json:"properties,omitempty"` //Type: The role assignment type. Type *string `json:"type,omitempty"` }
func (*RoleAssignment_StatusARM) DeepCopy ¶
func (in *RoleAssignment_StatusARM) DeepCopy() *RoleAssignment_StatusARM
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleAssignment_StatusARM.
func (*RoleAssignment_StatusARM) DeepCopyInto ¶
func (in *RoleAssignment_StatusARM) DeepCopyInto(out *RoleAssignment_StatusARM)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RoleAssignmentsSpecAPIVersion ¶
type RoleAssignmentsSpecAPIVersion string
+kubebuilder:validation:Enum={"2020-08-01-preview"}
type RoleAssignments_Spec ¶
type RoleAssignments_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"` //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 accepted value is '2.0' ConditionVersion *string `json:"conditionVersion,omitempty"` //DelegatedManagedIdentityResourceId: Id of the delegated managed identity resource DelegatedManagedIdentityResourceId *string `json:"delegatedManagedIdentityResourceId,omitempty"` //Description: Description of role assignment Description *string `json:"description,omitempty"` //Location: Location to deploy resource to Location *string `json:"location,omitempty"` // +kubebuilder:validation:Required Owner genruntime.ArbitraryOwnerReference `json:"owner"` // +kubebuilder:validation:Required //PrincipalId: The principal ID. PrincipalId string `json:"principalId"` //PrincipalType: The principal type of the assigned principal ID. PrincipalType *RoleAssignmentPropertiesPrincipalType `json:"principalType,omitempty"` // +kubebuilder:validation:Required //RoleDefinitionReference: The role definition ID. RoleDefinitionReference genruntime.ResourceReference `armReference:"RoleDefinitionId" json:"roleDefinitionReference"` //Tags: Name-value pairs to add to the resource Tags map[string]string `json:"tags,omitempty"` }
func (*RoleAssignments_Spec) AssignPropertiesFromRoleAssignmentsSpec ¶
func (roleAssignmentsSpec *RoleAssignments_Spec) AssignPropertiesFromRoleAssignmentsSpec(source *v1alpha1api20200801previewstorage.RoleAssignments_Spec) error
AssignPropertiesFromRoleAssignmentsSpec populates our RoleAssignments_Spec from the provided source RoleAssignments_Spec
func (*RoleAssignments_Spec) AssignPropertiesToRoleAssignmentsSpec ¶
func (roleAssignmentsSpec *RoleAssignments_Spec) AssignPropertiesToRoleAssignmentsSpec(destination *v1alpha1api20200801previewstorage.RoleAssignments_Spec) error
AssignPropertiesToRoleAssignmentsSpec populates the provided destination RoleAssignments_Spec from our RoleAssignments_Spec
func (*RoleAssignments_Spec) ConvertSpecFrom ¶
func (roleAssignmentsSpec *RoleAssignments_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error
ConvertSpecFrom populates our RoleAssignments_Spec from the provided source
func (*RoleAssignments_Spec) ConvertSpecTo ¶
func (roleAssignmentsSpec *RoleAssignments_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error
ConvertSpecTo populates the provided destination from our RoleAssignments_Spec
func (*RoleAssignments_Spec) ConvertToARM ¶
func (roleAssignmentsSpec *RoleAssignments_Spec) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)
ConvertToARM converts from a Kubernetes CRD object to an ARM object
func (*RoleAssignments_Spec) DeepCopy ¶
func (in *RoleAssignments_Spec) DeepCopy() *RoleAssignments_Spec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleAssignments_Spec.
func (*RoleAssignments_Spec) DeepCopyInto ¶
func (in *RoleAssignments_Spec) DeepCopyInto(out *RoleAssignments_Spec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RoleAssignments_Spec) NewEmptyARMValue ¶
func (roleAssignmentsSpec *RoleAssignments_Spec) NewEmptyARMValue() genruntime.ARMResourceStatus
NewEmptyARMValue returns an empty ARM value suitable for deserializing into
func (*RoleAssignments_Spec) OriginalVersion ¶
func (roleAssignmentsSpec *RoleAssignments_Spec) OriginalVersion() string
OriginalVersion returns the original API version used to create the resource.
func (*RoleAssignments_Spec) PopulateFromARM ¶
func (roleAssignmentsSpec *RoleAssignments_Spec) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error
PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
func (*RoleAssignments_Spec) SetAzureName ¶
func (roleAssignmentsSpec *RoleAssignments_Spec) SetAzureName(azureName string)
SetAzureName sets the Azure name of the resource
type RoleAssignments_SpecARM ¶
type RoleAssignments_SpecARM struct { //Location: Location to deploy resource to Location *string `json:"location,omitempty"` //Name: The name of the role assignment. It can be any valid GUID. Name string `json:"name"` //Properties: Role assignment properties. Properties RoleAssignmentPropertiesARM `json:"properties"` //Tags: Name-value pairs to add to the resource Tags map[string]string `json:"tags,omitempty"` }
func (*RoleAssignments_SpecARM) DeepCopy ¶
func (in *RoleAssignments_SpecARM) DeepCopy() *RoleAssignments_SpecARM
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleAssignments_SpecARM.
func (*RoleAssignments_SpecARM) DeepCopyInto ¶
func (in *RoleAssignments_SpecARM) DeepCopyInto(out *RoleAssignments_SpecARM)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (RoleAssignments_SpecARM) GetAPIVersion ¶
func (roleAssignmentsSpecARM RoleAssignments_SpecARM) GetAPIVersion() string
GetAPIVersion returns the ARM API version of the resource. This is always "2020-08-01-preview"
func (RoleAssignments_SpecARM) GetName ¶
func (roleAssignmentsSpecARM RoleAssignments_SpecARM) GetName() string
GetName returns the Name of the resource
func (RoleAssignments_SpecARM) GetType ¶
func (roleAssignmentsSpecARM RoleAssignments_SpecARM) GetType() string
GetType returns the ARM Type of the resource. This is always "Microsoft.Authorization/roleAssignments"