Partager via


ConnectedVMwarevSphereExtensions.GetVMwareResourcePools Method

Definition

Overloads

GetVMwareResourcePools(ResourceGroupResource)

Gets a collection of VMwareResourcePoolResources in the ResourceGroupResource. MockingTo mock this method, please mock GetVMwareResourcePools() instead.

GetVMwareResourcePools(SubscriptionResource, CancellationToken)

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

GetVMwareResourcePools(ResourceGroupResource)

Source:
ConnectedVMwarevSphereExtensions.cs

Gets a collection of VMwareResourcePoolResources in the ResourceGroupResource. MockingTo mock this method, please mock GetVMwareResourcePools() instead.

public static Azure.ResourceManager.ConnectedVMwarevSphere.VMwareResourcePoolCollection GetVMwareResourcePools (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetVMwareResourcePools : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.ConnectedVMwarevSphere.VMwareResourcePoolCollection
<Extension()>
Public Function GetVMwareResourcePools (resourceGroupResource As ResourceGroupResource) As VMwareResourcePoolCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of VMwareResourcePoolResources and their operations over a VMwareResourcePoolResource.

Exceptions

resourceGroupResource is null.

Applies to

GetVMwareResourcePools(SubscriptionResource, CancellationToken)

Source:
ConnectedVMwarevSphereExtensions.cs

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.Pageable<Azure.ResourceManager.ConnectedVMwarevSphere.VMwareResourcePoolResource> GetVMwareResourcePools (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetVMwareResourcePools : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ConnectedVMwarevSphere.VMwareResourcePoolResource>
<Extension()>
Public Function GetVMwareResourcePools (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of VMwareResourcePoolResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to