Share via


IRoleDefinitionOperations.CreateOrUpdateAsync Method

Definition

Creates or updates a role definition.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.Authorization.Models.RoleDefinitionCreateOrUpdateResult> CreateOrUpdateAsync (Guid roleDefinitionId, string scope, Microsoft.Azure.Management.Authorization.Models.RoleDefinitionCreateOrUpdateParameters parameters, System.Threading.CancellationToken cancellationToken);
abstract member CreateOrUpdateAsync : Guid * string * Microsoft.Azure.Management.Authorization.Models.RoleDefinitionCreateOrUpdateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Authorization.Models.RoleDefinitionCreateOrUpdateResult>
Public Function CreateOrUpdateAsync (roleDefinitionId As Guid, scope As String, parameters As RoleDefinitionCreateOrUpdateParameters, cancellationToken As CancellationToken) As Task(Of RoleDefinitionCreateOrUpdateResult)

Parameters

roleDefinitionId
Guid

Role definition id.

scope
String

Scope

parameters
RoleDefinitionCreateOrUpdateParameters

Role definition.

cancellationToken
CancellationToken

Cancellation token.

Returns

Role definition create or update operation result.

Applies to