Sdílet prostřednictvím


ConnectedVMwarevSphereExtensions.GetVMwareClusters Method

Definition

Overloads

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
GetVMwareClusters(ResourceGroupResource)

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

GetVMwareClusters(SubscriptionResource, CancellationToken)

Source:
ConnectedVMwarevSphereExtensions.cs
Source:
ConnectedVMwarevSphereExtensions.cs

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)

Source:
ConnectedVMwarevSphereExtensions.cs
Source:
ConnectedVMwarevSphereExtensions.cs

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.

Applies to