Dela via


RoleDefinitionOperationsExtensions.CreateOrUpdate Metod

Definition

Skapar eller uppdaterar en rolldefinition.

public static Microsoft.Azure.Management.Authorization.Models.RoleDefinitionCreateOrUpdateResult CreateOrUpdate (this Microsoft.Azure.Management.Authorization.IRoleDefinitionOperations operations, Guid roleDefinitionId, string scope, Microsoft.Azure.Management.Authorization.Models.RoleDefinitionCreateOrUpdateParameters parameters);
static member CreateOrUpdate : Microsoft.Azure.Management.Authorization.IRoleDefinitionOperations * Guid * string * Microsoft.Azure.Management.Authorization.Models.RoleDefinitionCreateOrUpdateParameters -> Microsoft.Azure.Management.Authorization.Models.RoleDefinitionCreateOrUpdateResult
<Extension()>
Public Function CreateOrUpdate (operations As IRoleDefinitionOperations, roleDefinitionId As Guid, scope As String, parameters As RoleDefinitionCreateOrUpdateParameters) As RoleDefinitionCreateOrUpdateResult

Parametrar

operations
IRoleDefinitionOperations

Referens till Microsoft.Azure.Management.Authorization.IRoleDefinitionOperations.

roleDefinitionId
Guid

Krävs. Rolldefinitions-ID.

scope
String

Krävs. Omfång

parameters
RoleDefinitionCreateOrUpdateParameters

Krävs. Rolldefinition.

Returer

Resultat av rolldefinitionsskapande eller uppdateringsåtgärd.

Gäller för