RoleDefinitionsOperationsExtensions.CreateOrUpdateAsync 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.
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
- operations
- IRoleDefinitionsOperations
- scope
- String
- roleDefinitionId
- String
- roleDefinition
- RoleDefinition
- cancellationToken
- CancellationToken