@Beta(value=V1_5_1)
public static interface Identity.UpdateStages.WithAccess
| Modifier and Type | Method and Description |
|---|---|
Identity.Update |
withAccessTo(com.microsoft.azure.management.resources.fluentcore.arm.models.Resource resource,
com.microsoft.azure.management.graphrbac.BuiltInRole role)
Specifies that the identity should have the given access (described by the role)
on an ARM resource.
|
Identity.Update |
withAccessTo(com.microsoft.azure.management.resources.fluentcore.arm.models.Resource resource,
String roleDefinitionId)
Specifies that the identity should have the given access (described by the role
definition) on an ARM resource.
|
Identity.Update |
withAccessTo(String resourceId,
com.microsoft.azure.management.graphrbac.BuiltInRole role)
Specifies that the identity should have the given access (described by the role)
on an ARM resource identified by the given resource id.
|
Identity.Update |
withAccessTo(String resourceId,
String roleDefinitionId)
Specifies that the identity should have the given access (described by the role
definition) on an ARM resource identified by the given resource id.
|
Identity.Update |
withAccessToCurrentResourceGroup(com.microsoft.azure.management.graphrbac.BuiltInRole role)
Specifies that the identity should have the given access (described by the role)
on the resource group that identity resides.
|
Identity.Update |
withAccessToCurrentResourceGroup(String roleDefinitionId)
Specifies that the identity should have the given access (described by the role
definition) on the resource group that identity resides.
|
Identity.Update |
withoutAccess(com.microsoft.azure.management.graphrbac.RoleAssignment roleAssignment)
Specifies that an access role assigned to the identity should be removed.
|
Identity.Update |
withoutAccessTo(String resourceId,
com.microsoft.azure.management.graphrbac.BuiltInRole role)
Specifies that an access role assigned to the identity should be removed.
|
@Beta(value=V1_5_1) Identity.Update withAccessTo(com.microsoft.azure.management.resources.fluentcore.arm.models.Resource resource, com.microsoft.azure.management.graphrbac.BuiltInRole role)
resource - the resource to accessrole - access role to assigned to the identity@Beta(value=V1_5_1) Identity.Update withAccessTo(String resourceId, com.microsoft.azure.management.graphrbac.BuiltInRole role)
resourceId - id of the resource to accessrole - access role to assigned to the identity@Beta(value=V1_5_1) Identity.Update withAccessToCurrentResourceGroup(com.microsoft.azure.management.graphrbac.BuiltInRole role)
role - access role to assigned to the identity@Beta(value=V1_5_1) Identity.Update withAccessTo(com.microsoft.azure.management.resources.fluentcore.arm.models.Resource resource, String roleDefinitionId)
resource - scope of the access represented as ARM resourceroleDefinitionId - access role definition to assigned to the identity@Beta(value=V1_5_1) Identity.Update withAccessTo(String resourceId, String roleDefinitionId)
resourceId - id of the resource to accessroleDefinitionId - access role definition to assigned to the identity@Beta(value=V1_5_1) Identity.Update withAccessToCurrentResourceGroup(String roleDefinitionId)
roleDefinitionId - access role definition to assigned to the identity@Beta(value=V1_5_1) Identity.Update withoutAccess(com.microsoft.azure.management.graphrbac.RoleAssignment roleAssignment)
roleAssignment - describes an existing role assigned to the identity@Beta(value=V1_5_1) Identity.Update withoutAccessTo(String resourceId, com.microsoft.azure.management.graphrbac.BuiltInRole role)
resourceId - id of the resource that identity has accessrole - the access role assigned to the identity/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/