RoleAssignment.DefinitionStages.WithRole Interface
public static interface RoleAssignment.DefinitionStages.WithRole
The stage of role assignment definition allowing specifying the role.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
With |
withBuiltInRole(BuiltInRole role)
Specifies the name of a built in role for this assignment. |
abstract
With |
withRoleDefinition(String roleDefinitionId)
Specifies the ID of the custom role for this assignment. |
Method Details
withBuiltInRole
public abstract RoleAssignment.DefinitionStages.WithScope withBuiltInRole(BuiltInRole role)
Specifies the name of a built in role for this assignment.
Parameters:
Returns:
withRoleDefinition
public abstract RoleAssignment.DefinitionStages.WithScope withRoleDefinition(String roleDefinitionId)
Specifies the ID of the custom role for this assignment.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for