Share via


ConnectedVMwarevSphereExtensions.GetVMwareResourcePoolsAsync Method

Definition

List of resourcePools in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ConnectedVMwarevSphere/resourcePools
  • Operation Id: ResourcePools_List
  • Default Api Version: 2023-12-01
  • Resource: VMwareResourcePoolResource
public static Azure.AsyncPageable<Azure.ResourceManager.ConnectedVMwarevSphere.VMwareResourcePoolResource> GetVMwareResourcePoolsAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetVMwareResourcePoolsAsync : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ConnectedVMwarevSphere.VMwareResourcePoolResource>
<Extension()>
Public Function GetVMwareResourcePoolsAsync (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of VMwareResourcePoolResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to