Share via


MockableManagedServiceIdentitiesSubscriptionResource.GetUserAssignedIdentitiesAsync Method

Definition

Lists all the userAssignedIdentities available under the specified subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ManagedIdentity/userAssignedIdentities
  • Operation Id: UserAssignedIdentities_ListBySubscription
  • Default Api Version: 2023-01-31
  • Resource: UserAssignedIdentityResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.ManagedServiceIdentities.UserAssignedIdentityResource> GetUserAssignedIdentitiesAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetUserAssignedIdentitiesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ManagedServiceIdentities.UserAssignedIdentityResource>
override this.GetUserAssignedIdentitiesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ManagedServiceIdentities.UserAssignedIdentityResource>
Public Overridable Function GetUserAssignedIdentitiesAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of UserAssignedIdentityResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of UserAssignedIdentityResource that may take multiple service requests to iterate over.

Applies to