Interface Identity.UpdateStages.WithAccess
-
- All Known Subinterfaces:
Identity.Update
- Enclosing interface:
- Identity.UpdateStages
public static interface Identity.UpdateStages.WithAccessThe stage of the identity update allowing to set access role (permission) for it to access a resource or remove an assigned role.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Identity.UpdatewithAccessTo(Resource resource, BuiltInRole role)Specifies that the identity should have the given access (described by the role) on an ARM resource.Identity.UpdatewithAccessTo(Resource resource, String roleDefinitionId)Specifies that the identity should have the given access (described by the role definition) on an ARM resource.Identity.UpdatewithAccessTo(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.UpdatewithAccessTo(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.UpdatewithAccessToCurrentResourceGroup(BuiltInRole role)Specifies that the identity should have the given access (described by the role) on the resource group that identity resides.Identity.UpdatewithAccessToCurrentResourceGroup(String roleDefinitionId)Specifies that the identity should have the given access (described by the role definition) on the resource group that identity resides.Identity.UpdatewithoutAccess(RoleAssignment roleAssignment)Specifies that an access role assigned to the identity should be removed.Identity.UpdatewithoutAccessTo(String resourceId, BuiltInRole role)Specifies that an access role assigned to the identity should be removed.
-
-
-
Method Detail
-
withAccessTo
Identity.Update withAccessTo(Resource resource, BuiltInRole role)
Specifies that the identity should have the given access (described by the role) on an ARM resource. An applications running on an Azure service with this identity can use this permission to access the resource.- Parameters:
resource- the resource to accessrole- access role to assigned to the identity- Returns:
- the next stage of the update
-
withAccessTo
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. An applications running on an Azure service with this identity can use this permission to access the resource.- Parameters:
resourceId- id of the resource to accessrole- access role to assigned to the identity- Returns:
- the next stage of the update
-
withAccessToCurrentResourceGroup
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. An applications running on an Azure service with this identity can use this permission to access the resource group.- Parameters:
role- access role to assigned to the identity- Returns:
- the next stage of the update
-
withAccessTo
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. An applications running on an Azure service with this identity can use this permission to access the resource.- Parameters:
resource- scope of the access represented as ARM resourceroleDefinitionId- access role definition to assigned to the identity- Returns:
- the next stage of the update
-
withAccessTo
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. An applications running on an Azure service with this identity can use this permission to access the resource.- Parameters:
resourceId- id of the resource to accessroleDefinitionId- access role definition to assigned to the identity- Returns:
- the next stage of the update
-
withAccessToCurrentResourceGroup
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. An applications running on an Azure service with this identity can use this permission to access the resource group.- Parameters:
roleDefinitionId- access role definition to assigned to the identity- Returns:
- the next stage of the update
-
withoutAccess
Identity.Update withoutAccess(RoleAssignment roleAssignment)
Specifies that an access role assigned to the identity should be removed.- Parameters:
roleAssignment- describes an existing role assigned to the identity- Returns:
- the next stage of the update
-
withoutAccessTo
Identity.Update withoutAccessTo(String resourceId, BuiltInRole role)
Specifies that an access role assigned to the identity should be removed.- Parameters:
resourceId- id of the resource that identity has accessrole- the access role assigned to the identity- Returns:
- the next stage of the update
-
-