Documentation
¶
Index ¶
- type LookupRoleAssignmentArgs
- type LookupRoleAssignmentResult
- type LookupRoleDefinitionArgs
- type LookupRoleDefinitionResult
- type Permission
- type PermissionArgs
- type PermissionArray
- type PermissionArrayInput
- type PermissionArrayOutput
- func (PermissionArrayOutput) ElementType() reflect.Type
- func (o PermissionArrayOutput) Index(i pulumi.IntInput) PermissionOutput
- func (o PermissionArrayOutput) ToPermissionArrayOutput() PermissionArrayOutput
- func (o PermissionArrayOutput) ToPermissionArrayOutputWithContext(ctx context.Context) PermissionArrayOutput
- type PermissionInput
- type PermissionOutput
- func (o PermissionOutput) Actions() pulumi.StringArrayOutput
- func (PermissionOutput) ElementType() reflect.Type
- func (o PermissionOutput) NotActions() pulumi.StringArrayOutput
- func (o PermissionOutput) ToPermissionOutput() PermissionOutput
- func (o PermissionOutput) ToPermissionOutputWithContext(ctx context.Context) PermissionOutput
- type PermissionResponse
- type PermissionResponseArgs
- type PermissionResponseArray
- type PermissionResponseArrayInput
- type PermissionResponseArrayOutput
- func (PermissionResponseArrayOutput) ElementType() reflect.Type
- func (o PermissionResponseArrayOutput) Index(i pulumi.IntInput) PermissionResponseOutput
- func (o PermissionResponseArrayOutput) ToPermissionResponseArrayOutput() PermissionResponseArrayOutput
- func (o PermissionResponseArrayOutput) ToPermissionResponseArrayOutputWithContext(ctx context.Context) PermissionResponseArrayOutput
- type PermissionResponseInput
- type PermissionResponseOutput
- func (o PermissionResponseOutput) Actions() pulumi.StringArrayOutput
- func (PermissionResponseOutput) ElementType() reflect.Type
- func (o PermissionResponseOutput) NotActions() pulumi.StringArrayOutput
- func (o PermissionResponseOutput) ToPermissionResponseOutput() PermissionResponseOutput
- func (o PermissionResponseOutput) ToPermissionResponseOutputWithContext(ctx context.Context) PermissionResponseOutput
- type RoleAssignment
- type RoleAssignmentArgs
- type RoleAssignmentProperties
- type RoleAssignmentPropertiesArgs
- func (RoleAssignmentPropertiesArgs) ElementType() reflect.Type
- func (i RoleAssignmentPropertiesArgs) ToRoleAssignmentPropertiesOutput() RoleAssignmentPropertiesOutput
- func (i RoleAssignmentPropertiesArgs) ToRoleAssignmentPropertiesOutputWithContext(ctx context.Context) RoleAssignmentPropertiesOutput
- func (i RoleAssignmentPropertiesArgs) ToRoleAssignmentPropertiesPtrOutput() RoleAssignmentPropertiesPtrOutput
- func (i RoleAssignmentPropertiesArgs) ToRoleAssignmentPropertiesPtrOutputWithContext(ctx context.Context) RoleAssignmentPropertiesPtrOutput
- type RoleAssignmentPropertiesInput
- type RoleAssignmentPropertiesOutput
- func (RoleAssignmentPropertiesOutput) ElementType() reflect.Type
- func (o RoleAssignmentPropertiesOutput) PrincipalId() pulumi.StringOutput
- func (o RoleAssignmentPropertiesOutput) RoleDefinitionId() pulumi.StringOutput
- func (o RoleAssignmentPropertiesOutput) ToRoleAssignmentPropertiesOutput() RoleAssignmentPropertiesOutput
- func (o RoleAssignmentPropertiesOutput) ToRoleAssignmentPropertiesOutputWithContext(ctx context.Context) RoleAssignmentPropertiesOutput
- func (o RoleAssignmentPropertiesOutput) ToRoleAssignmentPropertiesPtrOutput() RoleAssignmentPropertiesPtrOutput
- func (o RoleAssignmentPropertiesOutput) ToRoleAssignmentPropertiesPtrOutputWithContext(ctx context.Context) RoleAssignmentPropertiesPtrOutput
- type RoleAssignmentPropertiesPtrInput
- type RoleAssignmentPropertiesPtrOutput
- func (o RoleAssignmentPropertiesPtrOutput) Elem() RoleAssignmentPropertiesOutput
- func (RoleAssignmentPropertiesPtrOutput) ElementType() reflect.Type
- func (o RoleAssignmentPropertiesPtrOutput) PrincipalId() pulumi.StringPtrOutput
- func (o RoleAssignmentPropertiesPtrOutput) RoleDefinitionId() pulumi.StringPtrOutput
- func (o RoleAssignmentPropertiesPtrOutput) ToRoleAssignmentPropertiesPtrOutput() RoleAssignmentPropertiesPtrOutput
- func (o RoleAssignmentPropertiesPtrOutput) ToRoleAssignmentPropertiesPtrOutputWithContext(ctx context.Context) RoleAssignmentPropertiesPtrOutput
- type RoleAssignmentPropertiesWithScopeResponse
- type RoleAssignmentPropertiesWithScopeResponseArgs
- func (RoleAssignmentPropertiesWithScopeResponseArgs) ElementType() reflect.Type
- func (i RoleAssignmentPropertiesWithScopeResponseArgs) ToRoleAssignmentPropertiesWithScopeResponseOutput() RoleAssignmentPropertiesWithScopeResponseOutput
- func (i RoleAssignmentPropertiesWithScopeResponseArgs) ToRoleAssignmentPropertiesWithScopeResponseOutputWithContext(ctx context.Context) RoleAssignmentPropertiesWithScopeResponseOutput
- func (i RoleAssignmentPropertiesWithScopeResponseArgs) ToRoleAssignmentPropertiesWithScopeResponsePtrOutput() RoleAssignmentPropertiesWithScopeResponsePtrOutput
- func (i RoleAssignmentPropertiesWithScopeResponseArgs) ToRoleAssignmentPropertiesWithScopeResponsePtrOutputWithContext(ctx context.Context) RoleAssignmentPropertiesWithScopeResponsePtrOutput
- type RoleAssignmentPropertiesWithScopeResponseInput
- type RoleAssignmentPropertiesWithScopeResponseOutput
- func (RoleAssignmentPropertiesWithScopeResponseOutput) ElementType() reflect.Type
- func (o RoleAssignmentPropertiesWithScopeResponseOutput) PrincipalId() pulumi.StringPtrOutput
- func (o RoleAssignmentPropertiesWithScopeResponseOutput) RoleDefinitionId() pulumi.StringPtrOutput
- func (o RoleAssignmentPropertiesWithScopeResponseOutput) Scope() pulumi.StringPtrOutput
- func (o RoleAssignmentPropertiesWithScopeResponseOutput) ToRoleAssignmentPropertiesWithScopeResponseOutput() RoleAssignmentPropertiesWithScopeResponseOutput
- func (o RoleAssignmentPropertiesWithScopeResponseOutput) ToRoleAssignmentPropertiesWithScopeResponseOutputWithContext(ctx context.Context) RoleAssignmentPropertiesWithScopeResponseOutput
- func (o RoleAssignmentPropertiesWithScopeResponseOutput) ToRoleAssignmentPropertiesWithScopeResponsePtrOutput() RoleAssignmentPropertiesWithScopeResponsePtrOutput
- func (o RoleAssignmentPropertiesWithScopeResponseOutput) ToRoleAssignmentPropertiesWithScopeResponsePtrOutputWithContext(ctx context.Context) RoleAssignmentPropertiesWithScopeResponsePtrOutput
- type RoleAssignmentPropertiesWithScopeResponsePtrInput
- type RoleAssignmentPropertiesWithScopeResponsePtrOutput
- func (o RoleAssignmentPropertiesWithScopeResponsePtrOutput) Elem() RoleAssignmentPropertiesWithScopeResponseOutput
- func (RoleAssignmentPropertiesWithScopeResponsePtrOutput) ElementType() reflect.Type
- func (o RoleAssignmentPropertiesWithScopeResponsePtrOutput) PrincipalId() pulumi.StringPtrOutput
- func (o RoleAssignmentPropertiesWithScopeResponsePtrOutput) RoleDefinitionId() pulumi.StringPtrOutput
- func (o RoleAssignmentPropertiesWithScopeResponsePtrOutput) Scope() pulumi.StringPtrOutput
- func (o RoleAssignmentPropertiesWithScopeResponsePtrOutput) ToRoleAssignmentPropertiesWithScopeResponsePtrOutput() RoleAssignmentPropertiesWithScopeResponsePtrOutput
- func (o RoleAssignmentPropertiesWithScopeResponsePtrOutput) ToRoleAssignmentPropertiesWithScopeResponsePtrOutputWithContext(ctx context.Context) RoleAssignmentPropertiesWithScopeResponsePtrOutput
- type RoleAssignmentState
- type RoleDefinition
- type RoleDefinitionArgs
- type RoleDefinitionState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LookupRoleAssignmentResult ¶
type LookupRoleAssignmentResult struct { // The role assignment name. Name string `pulumi:"name"` // Role assignment properties. Properties RoleAssignmentPropertiesWithScopeResponse `pulumi:"properties"` // The role assignment type. Type string `pulumi:"type"` }
Role Assignments
func LookupRoleAssignment ¶
func LookupRoleAssignment(ctx *pulumi.Context, args *LookupRoleAssignmentArgs, opts ...pulumi.InvokeOption) (*LookupRoleAssignmentResult, error)
type LookupRoleDefinitionResult ¶
type LookupRoleDefinitionResult struct { // Role definition assignable scopes. AssignableScopes []string `pulumi:"assignableScopes"` // The role definition description. Description *string `pulumi:"description"` // The role definition name. Name string `pulumi:"name"` // Role definition permissions. Permissions []PermissionResponse `pulumi:"permissions"` // The role name. RoleName *string `pulumi:"roleName"` // The role type. RoleType *string `pulumi:"roleType"` // The role definition type. Type string `pulumi:"type"` }
Role definition.
func LookupRoleDefinition ¶
func LookupRoleDefinition(ctx *pulumi.Context, args *LookupRoleDefinitionArgs, opts ...pulumi.InvokeOption) (*LookupRoleDefinitionResult, error)
type Permission ¶
type Permission struct { // Allowed actions. Actions []string `pulumi:"actions"` // Denied actions. NotActions []string `pulumi:"notActions"` }
Role definition permissions.
type PermissionArgs ¶
type PermissionArgs struct { // Allowed actions. Actions pulumi.StringArrayInput `pulumi:"actions"` // Denied actions. NotActions pulumi.StringArrayInput `pulumi:"notActions"` }
Role definition permissions.
func (PermissionArgs) ElementType ¶
func (PermissionArgs) ElementType() reflect.Type
func (PermissionArgs) ToPermissionOutput ¶
func (i PermissionArgs) ToPermissionOutput() PermissionOutput
func (PermissionArgs) ToPermissionOutputWithContext ¶
func (i PermissionArgs) ToPermissionOutputWithContext(ctx context.Context) PermissionOutput
type PermissionArray ¶
type PermissionArray []PermissionInput
func (PermissionArray) ElementType ¶
func (PermissionArray) ElementType() reflect.Type
func (PermissionArray) ToPermissionArrayOutput ¶
func (i PermissionArray) ToPermissionArrayOutput() PermissionArrayOutput
func (PermissionArray) ToPermissionArrayOutputWithContext ¶
func (i PermissionArray) ToPermissionArrayOutputWithContext(ctx context.Context) PermissionArrayOutput
type PermissionArrayInput ¶
type PermissionArrayInput interface { pulumi.Input ToPermissionArrayOutput() PermissionArrayOutput ToPermissionArrayOutputWithContext(context.Context) PermissionArrayOutput }
PermissionArrayInput is an input type that accepts PermissionArray and PermissionArrayOutput values. You can construct a concrete instance of `PermissionArrayInput` via:
PermissionArray{ PermissionArgs{...} }
type PermissionArrayOutput ¶
type PermissionArrayOutput struct{ *pulumi.OutputState }
func (PermissionArrayOutput) ElementType ¶
func (PermissionArrayOutput) ElementType() reflect.Type
func (PermissionArrayOutput) Index ¶
func (o PermissionArrayOutput) Index(i pulumi.IntInput) PermissionOutput
func (PermissionArrayOutput) ToPermissionArrayOutput ¶
func (o PermissionArrayOutput) ToPermissionArrayOutput() PermissionArrayOutput
func (PermissionArrayOutput) ToPermissionArrayOutputWithContext ¶
func (o PermissionArrayOutput) ToPermissionArrayOutputWithContext(ctx context.Context) PermissionArrayOutput
type PermissionInput ¶
type PermissionInput interface { pulumi.Input ToPermissionOutput() PermissionOutput ToPermissionOutputWithContext(context.Context) PermissionOutput }
PermissionInput is an input type that accepts PermissionArgs and PermissionOutput values. You can construct a concrete instance of `PermissionInput` via:
PermissionArgs{...}
type PermissionOutput ¶
type PermissionOutput struct{ *pulumi.OutputState }
Role definition permissions.
func (PermissionOutput) Actions ¶
func (o PermissionOutput) Actions() pulumi.StringArrayOutput
Allowed actions.
func (PermissionOutput) ElementType ¶
func (PermissionOutput) ElementType() reflect.Type
func (PermissionOutput) NotActions ¶
func (o PermissionOutput) NotActions() pulumi.StringArrayOutput
Denied actions.
func (PermissionOutput) ToPermissionOutput ¶
func (o PermissionOutput) ToPermissionOutput() PermissionOutput
func (PermissionOutput) ToPermissionOutputWithContext ¶
func (o PermissionOutput) ToPermissionOutputWithContext(ctx context.Context) PermissionOutput
type PermissionResponse ¶
type PermissionResponse struct { // Allowed actions. Actions []string `pulumi:"actions"` // Denied actions. NotActions []string `pulumi:"notActions"` }
Role definition permissions.
type PermissionResponseArgs ¶
type PermissionResponseArgs struct { // Allowed actions. Actions pulumi.StringArrayInput `pulumi:"actions"` // Denied actions. NotActions pulumi.StringArrayInput `pulumi:"notActions"` }
Role definition permissions.
func (PermissionResponseArgs) ElementType ¶
func (PermissionResponseArgs) ElementType() reflect.Type
func (PermissionResponseArgs) ToPermissionResponseOutput ¶
func (i PermissionResponseArgs) ToPermissionResponseOutput() PermissionResponseOutput
func (PermissionResponseArgs) ToPermissionResponseOutputWithContext ¶
func (i PermissionResponseArgs) ToPermissionResponseOutputWithContext(ctx context.Context) PermissionResponseOutput
type PermissionResponseArray ¶
type PermissionResponseArray []PermissionResponseInput
func (PermissionResponseArray) ElementType ¶
func (PermissionResponseArray) ElementType() reflect.Type
func (PermissionResponseArray) ToPermissionResponseArrayOutput ¶
func (i PermissionResponseArray) ToPermissionResponseArrayOutput() PermissionResponseArrayOutput
func (PermissionResponseArray) ToPermissionResponseArrayOutputWithContext ¶
func (i PermissionResponseArray) ToPermissionResponseArrayOutputWithContext(ctx context.Context) PermissionResponseArrayOutput
type PermissionResponseArrayInput ¶
type PermissionResponseArrayInput interface { pulumi.Input ToPermissionResponseArrayOutput() PermissionResponseArrayOutput ToPermissionResponseArrayOutputWithContext(context.Context) PermissionResponseArrayOutput }
PermissionResponseArrayInput is an input type that accepts PermissionResponseArray and PermissionResponseArrayOutput values. You can construct a concrete instance of `PermissionResponseArrayInput` via:
PermissionResponseArray{ PermissionResponseArgs{...} }
type PermissionResponseArrayOutput ¶
type PermissionResponseArrayOutput struct{ *pulumi.OutputState }
func (PermissionResponseArrayOutput) ElementType ¶
func (PermissionResponseArrayOutput) ElementType() reflect.Type
func (PermissionResponseArrayOutput) Index ¶
func (o PermissionResponseArrayOutput) Index(i pulumi.IntInput) PermissionResponseOutput
func (PermissionResponseArrayOutput) ToPermissionResponseArrayOutput ¶
func (o PermissionResponseArrayOutput) ToPermissionResponseArrayOutput() PermissionResponseArrayOutput
func (PermissionResponseArrayOutput) ToPermissionResponseArrayOutputWithContext ¶
func (o PermissionResponseArrayOutput) ToPermissionResponseArrayOutputWithContext(ctx context.Context) PermissionResponseArrayOutput
type PermissionResponseInput ¶
type PermissionResponseInput interface { pulumi.Input ToPermissionResponseOutput() PermissionResponseOutput ToPermissionResponseOutputWithContext(context.Context) PermissionResponseOutput }
PermissionResponseInput is an input type that accepts PermissionResponseArgs and PermissionResponseOutput values. You can construct a concrete instance of `PermissionResponseInput` via:
PermissionResponseArgs{...}
type PermissionResponseOutput ¶
type PermissionResponseOutput struct{ *pulumi.OutputState }
Role definition permissions.
func (PermissionResponseOutput) Actions ¶
func (o PermissionResponseOutput) Actions() pulumi.StringArrayOutput
Allowed actions.
func (PermissionResponseOutput) ElementType ¶
func (PermissionResponseOutput) ElementType() reflect.Type
func (PermissionResponseOutput) NotActions ¶
func (o PermissionResponseOutput) NotActions() pulumi.StringArrayOutput
Denied actions.
func (PermissionResponseOutput) ToPermissionResponseOutput ¶
func (o PermissionResponseOutput) ToPermissionResponseOutput() PermissionResponseOutput
func (PermissionResponseOutput) ToPermissionResponseOutputWithContext ¶
func (o PermissionResponseOutput) ToPermissionResponseOutputWithContext(ctx context.Context) PermissionResponseOutput
type RoleAssignment ¶
type RoleAssignment struct { pulumi.CustomResourceState // The role assignment name. Name pulumi.StringOutput `pulumi:"name"` // Role assignment properties. Properties RoleAssignmentPropertiesWithScopeResponseOutput `pulumi:"properties"` // The role assignment type. Type pulumi.StringOutput `pulumi:"type"` }
Role Assignments
func GetRoleAssignment ¶
func GetRoleAssignment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RoleAssignmentState, opts ...pulumi.ResourceOption) (*RoleAssignment, error)
GetRoleAssignment gets an existing RoleAssignment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewRoleAssignment ¶
func NewRoleAssignment(ctx *pulumi.Context, name string, args *RoleAssignmentArgs, opts ...pulumi.ResourceOption) (*RoleAssignment, error)
NewRoleAssignment registers a new resource with the given unique name, arguments, and options.
type RoleAssignmentArgs ¶
type RoleAssignmentArgs struct { // Role assignment properties. Properties RoleAssignmentPropertiesInput // The name of the role assignment to create. It can be any valid GUID. RoleAssignmentName pulumi.StringInput // The scope of the role assignment to create. The scope can be any REST resource instance. For example, use '/subscriptions/{subscription-id}/' for a subscription, '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for a resource group, and '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/{resource-provider}/{resource-type}/{resource-name}' for a resource. Scope pulumi.StringInput }
The set of arguments for constructing a RoleAssignment resource.
func (RoleAssignmentArgs) ElementType ¶
func (RoleAssignmentArgs) ElementType() reflect.Type
type RoleAssignmentProperties ¶
type RoleAssignmentProperties struct { // The principal ID assigned to the role. This maps to the ID inside the Active Directory. It can point to a user, service principal, or security group. PrincipalId string `pulumi:"principalId"` // The role definition ID used in the role assignment. RoleDefinitionId string `pulumi:"roleDefinitionId"` }
Role assignment properties.
type RoleAssignmentPropertiesArgs ¶
type RoleAssignmentPropertiesArgs struct { // The principal ID assigned to the role. This maps to the ID inside the Active Directory. It can point to a user, service principal, or security group. PrincipalId pulumi.StringInput `pulumi:"principalId"` // The role definition ID used in the role assignment. RoleDefinitionId pulumi.StringInput `pulumi:"roleDefinitionId"` }
Role assignment properties.
func (RoleAssignmentPropertiesArgs) ElementType ¶
func (RoleAssignmentPropertiesArgs) ElementType() reflect.Type
func (RoleAssignmentPropertiesArgs) ToRoleAssignmentPropertiesOutput ¶
func (i RoleAssignmentPropertiesArgs) ToRoleAssignmentPropertiesOutput() RoleAssignmentPropertiesOutput
func (RoleAssignmentPropertiesArgs) ToRoleAssignmentPropertiesOutputWithContext ¶
func (i RoleAssignmentPropertiesArgs) ToRoleAssignmentPropertiesOutputWithContext(ctx context.Context) RoleAssignmentPropertiesOutput
func (RoleAssignmentPropertiesArgs) ToRoleAssignmentPropertiesPtrOutput ¶
func (i RoleAssignmentPropertiesArgs) ToRoleAssignmentPropertiesPtrOutput() RoleAssignmentPropertiesPtrOutput
func (RoleAssignmentPropertiesArgs) ToRoleAssignmentPropertiesPtrOutputWithContext ¶
func (i RoleAssignmentPropertiesArgs) ToRoleAssignmentPropertiesPtrOutputWithContext(ctx context.Context) RoleAssignmentPropertiesPtrOutput
type RoleAssignmentPropertiesInput ¶
type RoleAssignmentPropertiesInput interface { pulumi.Input ToRoleAssignmentPropertiesOutput() RoleAssignmentPropertiesOutput ToRoleAssignmentPropertiesOutputWithContext(context.Context) RoleAssignmentPropertiesOutput }
RoleAssignmentPropertiesInput is an input type that accepts RoleAssignmentPropertiesArgs and RoleAssignmentPropertiesOutput values. You can construct a concrete instance of `RoleAssignmentPropertiesInput` via:
RoleAssignmentPropertiesArgs{...}
type RoleAssignmentPropertiesOutput ¶
type RoleAssignmentPropertiesOutput struct{ *pulumi.OutputState }
Role assignment properties.
func (RoleAssignmentPropertiesOutput) ElementType ¶
func (RoleAssignmentPropertiesOutput) ElementType() reflect.Type
func (RoleAssignmentPropertiesOutput) PrincipalId ¶
func (o RoleAssignmentPropertiesOutput) PrincipalId() pulumi.StringOutput
The principal ID assigned to the role. This maps to the ID inside the Active Directory. It can point to a user, service principal, or security group.
func (RoleAssignmentPropertiesOutput) RoleDefinitionId ¶
func (o RoleAssignmentPropertiesOutput) RoleDefinitionId() pulumi.StringOutput
The role definition ID used in the role assignment.
func (RoleAssignmentPropertiesOutput) ToRoleAssignmentPropertiesOutput ¶
func (o RoleAssignmentPropertiesOutput) ToRoleAssignmentPropertiesOutput() RoleAssignmentPropertiesOutput
func (RoleAssignmentPropertiesOutput) ToRoleAssignmentPropertiesOutputWithContext ¶
func (o RoleAssignmentPropertiesOutput) ToRoleAssignmentPropertiesOutputWithContext(ctx context.Context) RoleAssignmentPropertiesOutput
func (RoleAssignmentPropertiesOutput) ToRoleAssignmentPropertiesPtrOutput ¶
func (o RoleAssignmentPropertiesOutput) ToRoleAssignmentPropertiesPtrOutput() RoleAssignmentPropertiesPtrOutput
func (RoleAssignmentPropertiesOutput) ToRoleAssignmentPropertiesPtrOutputWithContext ¶
func (o RoleAssignmentPropertiesOutput) ToRoleAssignmentPropertiesPtrOutputWithContext(ctx context.Context) RoleAssignmentPropertiesPtrOutput
type RoleAssignmentPropertiesPtrInput ¶
type RoleAssignmentPropertiesPtrInput interface { pulumi.Input ToRoleAssignmentPropertiesPtrOutput() RoleAssignmentPropertiesPtrOutput ToRoleAssignmentPropertiesPtrOutputWithContext(context.Context) RoleAssignmentPropertiesPtrOutput }
RoleAssignmentPropertiesPtrInput is an input type that accepts RoleAssignmentPropertiesArgs, RoleAssignmentPropertiesPtr and RoleAssignmentPropertiesPtrOutput values. You can construct a concrete instance of `RoleAssignmentPropertiesPtrInput` via:
RoleAssignmentPropertiesArgs{...} or: nil
func RoleAssignmentPropertiesPtr ¶
func RoleAssignmentPropertiesPtr(v *RoleAssignmentPropertiesArgs) RoleAssignmentPropertiesPtrInput
type RoleAssignmentPropertiesPtrOutput ¶
type RoleAssignmentPropertiesPtrOutput struct{ *pulumi.OutputState }
func (RoleAssignmentPropertiesPtrOutput) Elem ¶
func (o RoleAssignmentPropertiesPtrOutput) Elem() RoleAssignmentPropertiesOutput
func (RoleAssignmentPropertiesPtrOutput) ElementType ¶
func (RoleAssignmentPropertiesPtrOutput) ElementType() reflect.Type
func (RoleAssignmentPropertiesPtrOutput) PrincipalId ¶
func (o RoleAssignmentPropertiesPtrOutput) PrincipalId() pulumi.StringPtrOutput
The principal ID assigned to the role. This maps to the ID inside the Active Directory. It can point to a user, service principal, or security group.
func (RoleAssignmentPropertiesPtrOutput) RoleDefinitionId ¶
func (o RoleAssignmentPropertiesPtrOutput) RoleDefinitionId() pulumi.StringPtrOutput
The role definition ID used in the role assignment.
func (RoleAssignmentPropertiesPtrOutput) ToRoleAssignmentPropertiesPtrOutput ¶
func (o RoleAssignmentPropertiesPtrOutput) ToRoleAssignmentPropertiesPtrOutput() RoleAssignmentPropertiesPtrOutput
func (RoleAssignmentPropertiesPtrOutput) ToRoleAssignmentPropertiesPtrOutputWithContext ¶
func (o RoleAssignmentPropertiesPtrOutput) ToRoleAssignmentPropertiesPtrOutputWithContext(ctx context.Context) RoleAssignmentPropertiesPtrOutput
type RoleAssignmentPropertiesWithScopeResponse ¶
type RoleAssignmentPropertiesWithScopeResponse struct { // The principal ID. PrincipalId *string `pulumi:"principalId"` // The role definition ID. RoleDefinitionId *string `pulumi:"roleDefinitionId"` // The role assignment scope. Scope *string `pulumi:"scope"` }
Role assignment properties with scope.
type RoleAssignmentPropertiesWithScopeResponseArgs ¶
type RoleAssignmentPropertiesWithScopeResponseArgs struct { // The principal ID. PrincipalId pulumi.StringPtrInput `pulumi:"principalId"` // The role definition ID. RoleDefinitionId pulumi.StringPtrInput `pulumi:"roleDefinitionId"` // The role assignment scope. Scope pulumi.StringPtrInput `pulumi:"scope"` }
Role assignment properties with scope.
func (RoleAssignmentPropertiesWithScopeResponseArgs) ElementType ¶
func (RoleAssignmentPropertiesWithScopeResponseArgs) ElementType() reflect.Type
func (RoleAssignmentPropertiesWithScopeResponseArgs) ToRoleAssignmentPropertiesWithScopeResponseOutput ¶
func (i RoleAssignmentPropertiesWithScopeResponseArgs) ToRoleAssignmentPropertiesWithScopeResponseOutput() RoleAssignmentPropertiesWithScopeResponseOutput
func (RoleAssignmentPropertiesWithScopeResponseArgs) ToRoleAssignmentPropertiesWithScopeResponseOutputWithContext ¶
func (i RoleAssignmentPropertiesWithScopeResponseArgs) ToRoleAssignmentPropertiesWithScopeResponseOutputWithContext(ctx context.Context) RoleAssignmentPropertiesWithScopeResponseOutput
func (RoleAssignmentPropertiesWithScopeResponseArgs) ToRoleAssignmentPropertiesWithScopeResponsePtrOutput ¶
func (i RoleAssignmentPropertiesWithScopeResponseArgs) ToRoleAssignmentPropertiesWithScopeResponsePtrOutput() RoleAssignmentPropertiesWithScopeResponsePtrOutput
func (RoleAssignmentPropertiesWithScopeResponseArgs) ToRoleAssignmentPropertiesWithScopeResponsePtrOutputWithContext ¶
func (i RoleAssignmentPropertiesWithScopeResponseArgs) ToRoleAssignmentPropertiesWithScopeResponsePtrOutputWithContext(ctx context.Context) RoleAssignmentPropertiesWithScopeResponsePtrOutput
type RoleAssignmentPropertiesWithScopeResponseInput ¶
type RoleAssignmentPropertiesWithScopeResponseInput interface { pulumi.Input ToRoleAssignmentPropertiesWithScopeResponseOutput() RoleAssignmentPropertiesWithScopeResponseOutput ToRoleAssignmentPropertiesWithScopeResponseOutputWithContext(context.Context) RoleAssignmentPropertiesWithScopeResponseOutput }
RoleAssignmentPropertiesWithScopeResponseInput is an input type that accepts RoleAssignmentPropertiesWithScopeResponseArgs and RoleAssignmentPropertiesWithScopeResponseOutput values. You can construct a concrete instance of `RoleAssignmentPropertiesWithScopeResponseInput` via:
RoleAssignmentPropertiesWithScopeResponseArgs{...}
type RoleAssignmentPropertiesWithScopeResponseOutput ¶
type RoleAssignmentPropertiesWithScopeResponseOutput struct{ *pulumi.OutputState }
Role assignment properties with scope.
func (RoleAssignmentPropertiesWithScopeResponseOutput) ElementType ¶
func (RoleAssignmentPropertiesWithScopeResponseOutput) ElementType() reflect.Type
func (RoleAssignmentPropertiesWithScopeResponseOutput) PrincipalId ¶
func (o RoleAssignmentPropertiesWithScopeResponseOutput) PrincipalId() pulumi.StringPtrOutput
The principal ID.
func (RoleAssignmentPropertiesWithScopeResponseOutput) RoleDefinitionId ¶
func (o RoleAssignmentPropertiesWithScopeResponseOutput) RoleDefinitionId() pulumi.StringPtrOutput
The role definition ID.
func (RoleAssignmentPropertiesWithScopeResponseOutput) Scope ¶
func (o RoleAssignmentPropertiesWithScopeResponseOutput) Scope() pulumi.StringPtrOutput
The role assignment scope.
func (RoleAssignmentPropertiesWithScopeResponseOutput) ToRoleAssignmentPropertiesWithScopeResponseOutput ¶
func (o RoleAssignmentPropertiesWithScopeResponseOutput) ToRoleAssignmentPropertiesWithScopeResponseOutput() RoleAssignmentPropertiesWithScopeResponseOutput
func (RoleAssignmentPropertiesWithScopeResponseOutput) ToRoleAssignmentPropertiesWithScopeResponseOutputWithContext ¶
func (o RoleAssignmentPropertiesWithScopeResponseOutput) ToRoleAssignmentPropertiesWithScopeResponseOutputWithContext(ctx context.Context) RoleAssignmentPropertiesWithScopeResponseOutput
func (RoleAssignmentPropertiesWithScopeResponseOutput) ToRoleAssignmentPropertiesWithScopeResponsePtrOutput ¶
func (o RoleAssignmentPropertiesWithScopeResponseOutput) ToRoleAssignmentPropertiesWithScopeResponsePtrOutput() RoleAssignmentPropertiesWithScopeResponsePtrOutput
func (RoleAssignmentPropertiesWithScopeResponseOutput) ToRoleAssignmentPropertiesWithScopeResponsePtrOutputWithContext ¶
func (o RoleAssignmentPropertiesWithScopeResponseOutput) ToRoleAssignmentPropertiesWithScopeResponsePtrOutputWithContext(ctx context.Context) RoleAssignmentPropertiesWithScopeResponsePtrOutput
type RoleAssignmentPropertiesWithScopeResponsePtrInput ¶
type RoleAssignmentPropertiesWithScopeResponsePtrInput interface { pulumi.Input ToRoleAssignmentPropertiesWithScopeResponsePtrOutput() RoleAssignmentPropertiesWithScopeResponsePtrOutput ToRoleAssignmentPropertiesWithScopeResponsePtrOutputWithContext(context.Context) RoleAssignmentPropertiesWithScopeResponsePtrOutput }
RoleAssignmentPropertiesWithScopeResponsePtrInput is an input type that accepts RoleAssignmentPropertiesWithScopeResponseArgs, RoleAssignmentPropertiesWithScopeResponsePtr and RoleAssignmentPropertiesWithScopeResponsePtrOutput values. You can construct a concrete instance of `RoleAssignmentPropertiesWithScopeResponsePtrInput` via:
RoleAssignmentPropertiesWithScopeResponseArgs{...} or: nil
func RoleAssignmentPropertiesWithScopeResponsePtr ¶
func RoleAssignmentPropertiesWithScopeResponsePtr(v *RoleAssignmentPropertiesWithScopeResponseArgs) RoleAssignmentPropertiesWithScopeResponsePtrInput
type RoleAssignmentPropertiesWithScopeResponsePtrOutput ¶
type RoleAssignmentPropertiesWithScopeResponsePtrOutput struct{ *pulumi.OutputState }
func (RoleAssignmentPropertiesWithScopeResponsePtrOutput) ElementType ¶
func (RoleAssignmentPropertiesWithScopeResponsePtrOutput) ElementType() reflect.Type
func (RoleAssignmentPropertiesWithScopeResponsePtrOutput) PrincipalId ¶
func (o RoleAssignmentPropertiesWithScopeResponsePtrOutput) PrincipalId() pulumi.StringPtrOutput
The principal ID.
func (RoleAssignmentPropertiesWithScopeResponsePtrOutput) RoleDefinitionId ¶
func (o RoleAssignmentPropertiesWithScopeResponsePtrOutput) RoleDefinitionId() pulumi.StringPtrOutput
The role definition ID.
func (RoleAssignmentPropertiesWithScopeResponsePtrOutput) Scope ¶
func (o RoleAssignmentPropertiesWithScopeResponsePtrOutput) Scope() pulumi.StringPtrOutput
The role assignment scope.
func (RoleAssignmentPropertiesWithScopeResponsePtrOutput) ToRoleAssignmentPropertiesWithScopeResponsePtrOutput ¶
func (o RoleAssignmentPropertiesWithScopeResponsePtrOutput) ToRoleAssignmentPropertiesWithScopeResponsePtrOutput() RoleAssignmentPropertiesWithScopeResponsePtrOutput
func (RoleAssignmentPropertiesWithScopeResponsePtrOutput) ToRoleAssignmentPropertiesWithScopeResponsePtrOutputWithContext ¶
func (o RoleAssignmentPropertiesWithScopeResponsePtrOutput) ToRoleAssignmentPropertiesWithScopeResponsePtrOutputWithContext(ctx context.Context) RoleAssignmentPropertiesWithScopeResponsePtrOutput
type RoleAssignmentState ¶
type RoleAssignmentState struct { // The role assignment name. Name pulumi.StringPtrInput // Role assignment properties. Properties RoleAssignmentPropertiesWithScopeResponsePtrInput // The role assignment type. Type pulumi.StringPtrInput }
func (RoleAssignmentState) ElementType ¶
func (RoleAssignmentState) ElementType() reflect.Type
type RoleDefinition ¶
type RoleDefinition struct { pulumi.CustomResourceState // Role definition assignable scopes. AssignableScopes pulumi.StringArrayOutput `pulumi:"assignableScopes"` // The role definition description. Description pulumi.StringPtrOutput `pulumi:"description"` // The role definition name. Name pulumi.StringOutput `pulumi:"name"` // Role definition permissions. Permissions PermissionResponseArrayOutput `pulumi:"permissions"` // The role name. RoleName pulumi.StringPtrOutput `pulumi:"roleName"` // The role type. RoleType pulumi.StringPtrOutput `pulumi:"roleType"` // The role definition type. Type pulumi.StringOutput `pulumi:"type"` }
Role definition.
func GetRoleDefinition ¶
func GetRoleDefinition(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RoleDefinitionState, opts ...pulumi.ResourceOption) (*RoleDefinition, error)
GetRoleDefinition gets an existing RoleDefinition resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewRoleDefinition ¶
func NewRoleDefinition(ctx *pulumi.Context, name string, args *RoleDefinitionArgs, opts ...pulumi.ResourceOption) (*RoleDefinition, error)
NewRoleDefinition registers a new resource with the given unique name, arguments, and options.
type RoleDefinitionArgs ¶
type RoleDefinitionArgs struct { // Role definition assignable scopes. AssignableScopes pulumi.StringArrayInput // The role definition description. Description pulumi.StringPtrInput // Role definition permissions. Permissions PermissionArrayInput // The ID of the role definition. RoleDefinitionId pulumi.StringInput // The role name. RoleName pulumi.StringPtrInput // The role type. RoleType pulumi.StringPtrInput // The scope of the role definition. Scope pulumi.StringInput }
The set of arguments for constructing a RoleDefinition resource.
func (RoleDefinitionArgs) ElementType ¶
func (RoleDefinitionArgs) ElementType() reflect.Type
type RoleDefinitionState ¶
type RoleDefinitionState struct { // Role definition assignable scopes. AssignableScopes pulumi.StringArrayInput // The role definition description. Description pulumi.StringPtrInput // The role definition name. Name pulumi.StringPtrInput // Role definition permissions. Permissions PermissionResponseArrayInput // The role name. RoleName pulumi.StringPtrInput // The role type. RoleType pulumi.StringPtrInput // The role definition type. Type pulumi.StringPtrInput }
func (RoleDefinitionState) ElementType ¶
func (RoleDefinitionState) ElementType() reflect.Type