public static interface RoleAssignment.DefinitionStages.WithScope
| Modifier and Type | Method and Description |
|---|---|
RoleAssignment.DefinitionStages.WithCreate |
withResourceGroupScope(com.microsoft.azure.management.resources.ResourceGroup resourceGroup)
Specifies the scope of the role assignment to be a resource group.
|
RoleAssignment.DefinitionStages.WithCreate |
withResourceScope(com.microsoft.azure.management.resources.fluentcore.arm.models.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(com.microsoft.azure.management.resources.ResourceGroup resourceGroup)
resourceGroup - the resource group the assignee is assigned to accessRoleAssignment.DefinitionStages.WithCreate withResourceScope(com.microsoft.azure.management.resources.fluentcore.arm.models.Resource resource)
resource - the resource the assignee is assigned to accessRoleAssignment.DefinitionStages.WithCreate withSubscriptionScope(String subscriptionId)
subscriptionId - the subscription the assignee is assigned to access/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/