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