Documentation
¶
Overview ¶
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.
Code generated by azure-service-operator-codegen. DO NOT EDIT. Copyright (c) Microsoft Corporation. Licensed under the MIT license.
Index ¶
- Constants
- type Permission
- type Permission_STATUS
- type RoleAssignmentProperties
- type RoleAssignmentProperties_PrincipalType
- type RoleAssignmentProperties_PrincipalType_STATUS
- type RoleAssignmentProperties_STATUS
- type RoleAssignment_STATUS
- type RoleAssignment_Spec
- type RoleDefinitionProperties
- type RoleDefinitionProperties_STATUS
- type RoleDefinition_STATUS
- type RoleDefinition_Spec
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") )
Variables ¶
This section is empty.
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.
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.
type RoleAssignmentProperties ¶
type RoleAssignmentProperties 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"`
DelegatedManagedIdentityResourceId *string `json:"delegatedManagedIdentityResourceId,omitempty"`
// Description: Description of role assignment
Description *string `json:"description,omitempty"`
// PrincipalId: The principal ID.
PrincipalId *string `json:"principalId,omitempty" optionalConfigMapPair:"PrincipalId"`
// PrincipalType: The principal type of the assigned principal ID.
PrincipalType *RoleAssignmentProperties_PrincipalType `json:"principalType,omitempty"`
RoleDefinitionId *string `json:"roleDefinitionId,omitempty"`
}
Role assignment properties.
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 RoleAssignmentProperties_STATUS ¶
type RoleAssignmentProperties_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"`
// 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,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"`
// 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 assignment properties.
type RoleAssignment_STATUS ¶
type RoleAssignment_STATUS 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_STATUS `json:"properties,omitempty"`
// Type: The role assignment type.
Type *string `json:"type,omitempty"`
}
Role Assignments
type RoleAssignment_Spec ¶
type RoleAssignment_Spec struct {
Name string `json:"name,omitempty"`
// Properties: Role assignment properties.
Properties *RoleAssignmentProperties `json:"properties,omitempty"`
}
func (RoleAssignment_Spec) GetAPIVersion ¶
func (assignment RoleAssignment_Spec) GetAPIVersion() string
GetAPIVersion returns the ARM API version of the resource. This is always "2022-04-01"
func (*RoleAssignment_Spec) GetName ¶
func (assignment *RoleAssignment_Spec) GetName() string
GetName returns the Name of the resource
func (*RoleAssignment_Spec) GetType ¶
func (assignment *RoleAssignment_Spec) GetType() string
GetType returns the ARM Type of the resource. This is always "Microsoft.Authorization/roleAssignments"
type RoleDefinitionProperties ¶
type RoleDefinitionProperties struct {
AssignableScopes []string `json:"assignableScopes,omitempty"`
// Description: The role definition description.
Description *string `json:"description,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"`
}
Role definition properties.
type RoleDefinitionProperties_STATUS ¶
type RoleDefinitionProperties_STATUS struct {
// AssignableScopes: Role definition assignable scopes.
AssignableScopes []string `json:"assignableScopes,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"`
// Permissions: Role definition permissions.
Permissions []Permission_STATUS `json:"permissions,omitempty"`
// RoleName: The role name.
RoleName *string `json:"roleName,omitempty"`
// Type: The role 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 properties.
type RoleDefinition_STATUS ¶
type RoleDefinition_STATUS struct {
// Id: The role definition ID.
Id *string `json:"id,omitempty"`
// Name: The role definition name.
Name *string `json:"name,omitempty"`
// Properties: Role definition properties.
Properties *RoleDefinitionProperties_STATUS `json:"properties,omitempty"`
// Type: The role definition type.
Type *string `json:"type,omitempty"`
}
Role definition.
type RoleDefinition_Spec ¶
type RoleDefinition_Spec struct {
Name string `json:"name,omitempty"`
// Properties: Role definition properties.
Properties *RoleDefinitionProperties `json:"properties,omitempty"`
}
func (RoleDefinition_Spec) GetAPIVersion ¶
func (definition RoleDefinition_Spec) GetAPIVersion() string
GetAPIVersion returns the ARM API version of the resource. This is always "2022-04-01"
func (*RoleDefinition_Spec) GetName ¶
func (definition *RoleDefinition_Spec) GetName() string
GetName returns the Name of the resource
func (*RoleDefinition_Spec) GetType ¶
func (definition *RoleDefinition_Spec) GetType() string
GetType returns the ARM Type of the resource. This is always "Microsoft.Authorization/roleDefinitions"