共用方式為


UserAssignedIdentitiesOperationsExtensions.UpdateAsync Method

Definition

Update an identity in the specified subscription and resource group.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ManagedServiceIdentity.Models.Identity> UpdateAsync (this Microsoft.Azure.Management.ManagedServiceIdentity.IUserAssignedIdentitiesOperations operations, string resourceGroupName, string resourceName, Microsoft.Azure.Management.ManagedServiceIdentity.Models.IdentityUpdate parameters, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Microsoft.Azure.Management.ManagedServiceIdentity.IUserAssignedIdentitiesOperations * string * string * Microsoft.Azure.Management.ManagedServiceIdentity.Models.IdentityUpdate * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ManagedServiceIdentity.Models.Identity>
<Extension()>
Public Function UpdateAsync (operations As IUserAssignedIdentitiesOperations, resourceGroupName As String, resourceName As String, parameters As IdentityUpdate, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Identity)

Parameters

operations
IUserAssignedIdentitiesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the Resource Group to which the identity belongs.

resourceName
String

The name of the identity resource.

parameters
IdentityUpdate

Parameters to update the identity

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to