共用方式為


ElasticSanCollection.GetAllAsync(CancellationToken) Method

Definition

Gets a list of ElasticSan in a resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans
  • Operation Id: ElasticSans_ListByResourceGroup
  • Default Api Version: 2024-06-01-preview
  • Resource: ElasticSanResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.ElasticSan.ElasticSanResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ElasticSan.ElasticSanResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ElasticSan.ElasticSanResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ElasticSanResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to