Dela via


ConnectedVMwarevSphereExtensions.GetVCenters Method

Definition

Overloads

GetVCenters(ResourceGroupResource)

Gets a collection of VCenterResources in the ResourceGroupResource.

GetVCenters(SubscriptionResource, CancellationToken)

List of vCenters in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ConnectedVMwarevSphere/vcenters
  • Operation Id: VCenters_List

GetVCenters(ResourceGroupResource)

Source:
ConnectedVMwarevSphereExtensions.cs

Gets a collection of VCenterResources in the ResourceGroupResource.

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

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of VCenterResources and their operations over a VCenterResource.

Applies to

GetVCenters(SubscriptionResource, CancellationToken)

Source:
ConnectedVMwarevSphereExtensions.cs

List of vCenters in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ConnectedVMwarevSphere/vcenters
  • Operation Id: VCenters_List
public static Azure.Pageable<Azure.ResourceManager.ConnectedVMwarevSphere.VCenterResource> GetVCenters (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetVCenters : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ConnectedVMwarevSphere.VCenterResource>
<Extension()>
Public Function GetVCenters (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of VCenterResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to