public static interface RoleAssignment.DefinitionStages.WithScope
| Modifier and Type | Method and Description |
|---|---|
RoleAssignment.DefinitionStages.WithCreate |
withResourceGroupScope(ResourceGroup resourceGroup)
Specifies the scope of the role assignment to be a resource group.
|
RoleAssignment.DefinitionStages.WithCreate |
withResourceScope(Resource resource)
Specifies the scope of the role assignment to be a specific resource.
|
RoleAssignment.DefinitionStages.WithCreate |
withScope(String scope)
Specifies the scope of the role assignment.
|
RoleAssignment.DefinitionStages.WithCreate |
withSubscriptionScope(String subscriptionId)
Specifies the scope of the role assignment to be an entire subscription.
|
RoleAssignment.DefinitionStages.WithCreate withScope(String scope)
scope - the scope of the assignmentRoleAssignment.DefinitionStages.WithCreate withResourceGroupScope(ResourceGroup resourceGroup)
resourceGroup - the resource group the assignee is assigned to accessRoleAssignment.DefinitionStages.WithCreate withResourceScope(Resource resource)
resource - the resource the assignee is assigned to accessRoleAssignment.DefinitionStages.WithCreate withSubscriptionScope(String subscriptionId)
subscriptionId - the subscription the assignee is assigned to accessCopyright © 2019. All rights reserved.