Partager via


MockableConnectedVMwarevSphereSubscriptionResource.GetVMwareHostsAsync Method

Definition

List of hosts in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ConnectedVMwarevSphere/hosts
  • Operation Id: Hosts_List
  • Default Api Version: 2023-12-01
  • Resource: VMwareHostResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.ConnectedVMwarevSphere.VMwareHostResource> GetVMwareHostsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetVMwareHostsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ConnectedVMwarevSphere.VMwareHostResource>
override this.GetVMwareHostsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ConnectedVMwarevSphere.VMwareHostResource>
Public Overridable Function GetVMwareHostsAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of VMwareHostResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of VMwareHostResource that may take multiple service requests to iterate over.

Applies to