Sdílet prostřednictvím


RoleDefinitionsOperationsExtensions.CreateOrUpdate Metoda

Definice

Vytvoří nebo aktualizuje definici role.

public static Microsoft.Azure.Management.Authorization.Models.RoleDefinition CreateOrUpdate (this Microsoft.Azure.Management.Authorization.IRoleDefinitionsOperations operations, string scope, string roleDefinitionId, Microsoft.Azure.Management.Authorization.Models.RoleDefinition roleDefinition);
static member CreateOrUpdate : Microsoft.Azure.Management.Authorization.IRoleDefinitionsOperations * string * string * Microsoft.Azure.Management.Authorization.Models.RoleDefinition -> Microsoft.Azure.Management.Authorization.Models.RoleDefinition
<Extension()>
Public Function CreateOrUpdate (operations As IRoleDefinitionsOperations, scope As String, roleDefinitionId As String, roleDefinition As RoleDefinition) As RoleDefinition

Parametry

operations
IRoleDefinitionsOperations

Skupina operací pro tuto metodu rozšíření.

scope
String

Obor definice role.

roleDefinitionId
String

ID definice role.

roleDefinition
RoleDefinition

Hodnoty pro definici role.

Návraty

Platí pro