IRoleDefinitionOperations.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.
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
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