Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LookupRoleAssignmentResult ¶
type LookupRoleAssignmentResult struct { // The Delegation flag for the role assignment CanDelegate *bool `pulumi:"canDelegate"` // 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 `pulumi:"condition"` // Version of the condition. Currently accepted value is '2.0' ConditionVersion *string `pulumi:"conditionVersion"` // Description of role assignment Description *string `pulumi:"description"` // The role assignment name. Name string `pulumi:"name"` // The principal ID. PrincipalId *string `pulumi:"principalId"` // The principal type of the assigned principal ID. PrincipalType *string `pulumi:"principalType"` // The role definition ID. RoleDefinitionId *string `pulumi:"roleDefinitionId"` // The role assignment scope. Scope *string `pulumi:"scope"` // 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 RoleAssignment ¶
type RoleAssignment struct { pulumi.CustomResourceState // The Delegation flag for the role assignment CanDelegate pulumi.BoolPtrOutput `pulumi:"canDelegate"` // 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 pulumi.StringPtrOutput `pulumi:"condition"` // Version of the condition. Currently accepted value is '2.0' ConditionVersion pulumi.StringPtrOutput `pulumi:"conditionVersion"` // Description of role assignment Description pulumi.StringPtrOutput `pulumi:"description"` // The role assignment name. Name pulumi.StringOutput `pulumi:"name"` // The principal ID. PrincipalId pulumi.StringPtrOutput `pulumi:"principalId"` // The principal type of the assigned principal ID. PrincipalType pulumi.StringPtrOutput `pulumi:"principalType"` // The role definition ID. RoleDefinitionId pulumi.StringPtrOutput `pulumi:"roleDefinitionId"` // The role assignment scope. Scope pulumi.StringPtrOutput `pulumi:"scope"` // 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 { // The delegation flag used for creating a role assignment CanDelegate pulumi.BoolPtrInput // 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 pulumi.StringPtrInput // Version of the condition. Currently accepted value is '2.0' ConditionVersion pulumi.StringPtrInput // Description of role assignment Description pulumi.StringPtrInput // 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 // The principal type of the assigned principal ID. PrincipalType pulumi.StringPtrInput // The name of the role assignment to create. It can be any valid GUID. RoleAssignmentName pulumi.StringInput // The role definition ID used in the role assignment. RoleDefinitionId 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 RoleAssignmentState ¶
type RoleAssignmentState struct { // The Delegation flag for the role assignment CanDelegate pulumi.BoolPtrInput // 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 pulumi.StringPtrInput // Version of the condition. Currently accepted value is '2.0' ConditionVersion pulumi.StringPtrInput // Description of role assignment Description pulumi.StringPtrInput // The role assignment name. Name pulumi.StringPtrInput // The principal ID. PrincipalId pulumi.StringPtrInput // The principal type of the assigned principal ID. PrincipalType pulumi.StringPtrInput // The role definition ID. RoleDefinitionId pulumi.StringPtrInput // The role assignment scope. Scope pulumi.StringPtrInput // The role assignment type. Type pulumi.StringPtrInput }
func (RoleAssignmentState) ElementType ¶
func (RoleAssignmentState) ElementType() reflect.Type
Click to show internal directories.
Click to hide internal directories.