Partager via


RoleManagementPolicyResource.Update Méthode

Définition

Mettre à jour une stratégie de gestion des rôles

  • Chemin de la requête/{scope}/providers/Microsoft.Authorization/roleManagementPolicies/{roleManagementPolicyName}
  • IdRoleManagementPolicies_Update d’opération
public virtual Azure.Response<Azure.ResourceManager.Authorization.RoleManagementPolicyResource> Update (Azure.ResourceManager.Authorization.RoleManagementPolicyData data, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.Authorization.RoleManagementPolicyData * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Authorization.RoleManagementPolicyResource>
override this.Update : Azure.ResourceManager.Authorization.RoleManagementPolicyData * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Authorization.RoleManagementPolicyResource>
Public Overridable Function Update (data As RoleManagementPolicyData, Optional cancellationToken As CancellationToken = Nothing) As Response(Of RoleManagementPolicyResource)

Paramètres

data
RoleManagementPolicyData

Paramètres de la stratégie de gestion des rôles.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

data a la valeur null.

S’applique à