CredentialCollection.GetAllAsync(CancellationToken) Method

Definition

List Credential resources by Namespace

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/credentials.
  • Operation Id. : Credentials_ListByResourceGroup.
  • Default Api Version. : 2026-03-01-preview.
public virtual Azure.AsyncPageable<Azure.ResourceManager.DeviceRegistry.CredentialResource> GetAllAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.DeviceRegistry.CredentialResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.DeviceRegistry.CredentialResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of CredentialResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of CredentialResource that may take multiple service requests to iterate over.

Applies to