public static interface Identity.UpdateStages.WithAccess
Modifier and Type | Method and Description |
---|---|
Identity.Update |
withAccessTo(Resource resource,
BuiltInRole role)
Specifies that the identity should have the given access (described by the role)
on an ARM resource.
|
Identity.Update |
withAccessTo(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,
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(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(RoleAssignment roleAssignment)
Specifies that an access role assigned to the identity should be removed.
|
Identity.Update |
withoutAccessTo(String resourceId,
BuiltInRole role)
Specifies that an access role assigned to the identity should be removed.
|
Identity.Update withAccessTo(Resource resource, BuiltInRole role)
resource
- the resource to accessrole
- access role to assigned to the identityIdentity.Update withAccessTo(String resourceId, BuiltInRole role)
resourceId
- id of the resource to accessrole
- access role to assigned to the identityIdentity.Update withAccessToCurrentResourceGroup(BuiltInRole role)
role
- access role to assigned to the identityIdentity.Update withAccessTo(Resource resource, String roleDefinitionId)
resource
- scope of the access represented as ARM resourceroleDefinitionId
- access role definition to assigned to the identityIdentity.Update withAccessTo(String resourceId, String roleDefinitionId)
resourceId
- id of the resource to accessroleDefinitionId
- access role definition to assigned to the identityIdentity.Update withAccessToCurrentResourceGroup(String roleDefinitionId)
roleDefinitionId
- access role definition to assigned to the identityIdentity.Update withoutAccess(RoleAssignment roleAssignment)
roleAssignment
- describes an existing role assigned to the identityIdentity.Update withoutAccessTo(String resourceId, BuiltInRole role)
resourceId
- id of the resource that identity has accessrole
- the access role assigned to the identityCopyright © 2019. All rights reserved.