Partager via


RoleDefinitionsOperationsExtensions.CreateOrUpdateAsync Method

Definition

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Authorization.Version2015_07_01.Models.RoleDefinition> CreateOrUpdateAsync (this Microsoft.Azure.Management.Authorization.Version2015_07_01.IRoleDefinitionsOperations operations, string scope, string roleDefinitionId, Microsoft.Azure.Management.Authorization.Version2015_07_01.Models.RoleDefinition roleDefinition, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Authorization.Version2015_07_01.IRoleDefinitionsOperations * string * string * Microsoft.Azure.Management.Authorization.Version2015_07_01.Models.RoleDefinition * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Authorization.Version2015_07_01.Models.RoleDefinition>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IRoleDefinitionsOperations, scope As String, roleDefinitionId As String, roleDefinition As RoleDefinition, Optional cancellationToken As CancellationToken = Nothing) As Task(Of RoleDefinition)

Parameters

scope
String
roleDefinitionId
String
roleDefinition
RoleDefinition
cancellationToken
CancellationToken

Returns

Applies to