共用方式為


UserAssignedIdentitiesOperationsExtensions.ListByResourceGroupAsync Method

Definition

Lists all the userAssignedIdentities available under the specified ResourceGroup.

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

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to