IRoleDefinitionOperations.DeleteAsync(Guid, String, CancellationToken) Method

Definition

Deletes the role definition.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.Authorization.Models.RoleDefinitionDeleteResult> DeleteAsync (Guid roleDefinitionId, string scope, System.Threading.CancellationToken cancellationToken);
abstract member DeleteAsync : Guid * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Authorization.Models.RoleDefinitionDeleteResult>

Parameters

roleDefinitionId
System.Guid

Role definition id.

scope
System.String

Scope

cancellationToken
System.Threading.CancellationToken

Cancellation token.

Returns

System.Threading.Tasks.Task<RoleDefinitionDeleteResult>

Role definition delete operation result.

Applies to