Partager via


RoleManagementPolicyResource.UpdateAsync Méthode

Définition

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

  • Chemin de la demande/{scope}/providers/Microsoft.Authorization/roleManagementPolicies/{roleManagementPolicyName}
  • IdRoleManagementPolicies_Update d’opération
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Authorization.RoleManagementPolicyResource>> UpdateAsync (Azure.ResourceManager.Authorization.RoleManagementPolicyData data, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.Authorization.RoleManagementPolicyData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Authorization.RoleManagementPolicyResource>>
override this.UpdateAsync : Azure.ResourceManager.Authorization.RoleManagementPolicyData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Authorization.RoleManagementPolicyResource>>
Public Overridable Function UpdateAsync (data As RoleManagementPolicyData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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 à