ConnectedVMwarevSphereExtensions.GetVMwareClusters 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
GetVMwareClusters(SubscriptionResource, CancellationToken) |
List of clusters in a subscription.
|
GetVMwareClusters(ResourceGroupResource) |
Gets a collection of VMwareClusterResources in the ResourceGroupResource. MockingTo mock this method, please mock GetVMwareClusters() instead. |
GetVMwareClusters(SubscriptionResource, CancellationToken)
List of clusters in a subscription.
- Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ConnectedVMwarevSphere/clusters
- Operation Id: Clusters_List
- Default Api Version: 2023-12-01
- Resource: VMwareClusterResource
public static Azure.Pageable<Azure.ResourceManager.ConnectedVMwarevSphere.VMwareClusterResource> GetVMwareClusters (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetVMwareClusters : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ConnectedVMwarevSphere.VMwareClusterResource>
<Extension()>
Public Function GetVMwareClusters (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of VMwareClusterResource)
Parameters
- subscriptionResource
- SubscriptionResource
The SubscriptionResource instance the method will execute against.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
A collection of VMwareClusterResource that may take multiple service requests to iterate over.
Exceptions
subscriptionResource
is null.
Applies to
GetVMwareClusters(ResourceGroupResource)
Gets a collection of VMwareClusterResources in the ResourceGroupResource. MockingTo mock this method, please mock GetVMwareClusters() instead.
public static Azure.ResourceManager.ConnectedVMwarevSphere.VMwareClusterCollection GetVMwareClusters (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetVMwareClusters : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.ConnectedVMwarevSphere.VMwareClusterCollection
<Extension()>
Public Function GetVMwareClusters (resourceGroupResource As ResourceGroupResource) As VMwareClusterCollection
Parameters
- resourceGroupResource
- ResourceGroupResource
The ResourceGroupResource instance the method will execute against.
Returns
An object representing collection of VMwareClusterResources and their operations over a VMwareClusterResource.
Exceptions
resourceGroupResource
is null.