共用方式為


UserAssignedIdentitiesOperationsExtensions.GetAsync Method

Definition

Gets the identity.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ManagedServiceIdentity.Models.Identity> GetAsync (this Microsoft.Azure.Management.ManagedServiceIdentity.IUserAssignedIdentitiesOperations operations, string resourceGroupName, string resourceName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.ManagedServiceIdentity.IUserAssignedIdentitiesOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ManagedServiceIdentity.Models.Identity>
<Extension()>
Public Function GetAsync (operations As IUserAssignedIdentitiesOperations, resourceGroupName As String, resourceName As String, 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.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to