ConnectedVMwarevSphereExtensions.GetResourcePools Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetResourcePools(ResourceGroupResource) |
Gets a collection of ResourcePoolResources in the ResourceGroupResource. |
GetResourcePools(SubscriptionResource, CancellationToken) |
List of resourcePools in a subscription.
|
GetResourcePools(ResourceGroupResource)
Gets a collection of ResourcePoolResources in the ResourceGroupResource.
public static Azure.ResourceManager.ConnectedVMwarevSphere.ResourcePoolCollection GetResourcePools (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetResourcePools : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.ConnectedVMwarevSphere.ResourcePoolCollection
<Extension()>
Public Function GetResourcePools (resourceGroupResource As ResourceGroupResource) As ResourcePoolCollection
Parameters
- resourceGroupResource
- ResourceGroupResource
The ResourceGroupResource instance the method will execute against.
Returns
An object representing collection of ResourcePoolResources and their operations over a ResourcePoolResource.
Applies to
GetResourcePools(SubscriptionResource, CancellationToken)
List of resourcePools in a subscription.
- Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ConnectedVMwarevSphere/resourcePools
- Operation Id: ResourcePools_List
public static Azure.Pageable<Azure.ResourceManager.ConnectedVMwarevSphere.ResourcePoolResource> GetResourcePools (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetResourcePools : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ConnectedVMwarevSphere.ResourcePoolResource>
<Extension()>
Public Function GetResourcePools (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ResourcePoolResource)
Parameters
- subscriptionResource
- SubscriptionResource
The SubscriptionResource instance the method will execute against.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
A collection of ResourcePoolResource that may take multiple service requests to iterate over.
Applies to
Azure SDK for .NET