IRoleAssignmentOperations.CreateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Create role assignment.
public System.Threading.Tasks.Task<Microsoft.Azure.Management.Authorization.Models.RoleAssignmentCreateResult> CreateAsync (string scope, Guid roleAssignmentName, Microsoft.Azure.Management.Authorization.Models.RoleAssignmentCreateParameters parameters, System.Threading.CancellationToken cancellationToken);
abstract member CreateAsync : string * Guid * Microsoft.Azure.Management.Authorization.Models.RoleAssignmentCreateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Authorization.Models.RoleAssignmentCreateResult>
Public Function CreateAsync (scope As String, roleAssignmentName As Guid, parameters As RoleAssignmentCreateParameters, cancellationToken As CancellationToken) As Task(Of RoleAssignmentCreateResult)
Parameters
- scope
- String
Scope.
- roleAssignmentName
- Guid
Role assignment name.
- parameters
- RoleAssignmentCreateParameters
Role assignment.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
Role assignments creation results
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET