MockableHybridComputeSubscriptionResource.GetHybridComputeMachinesAsync Method

Definition

Lists all the hybrid machines in the specified subscription. Use the nextLink property in the response to get the next page of hybrid machines.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/machines
  • Operation Id: Machines_ListBySubscription
  • Default Api Version: 2024-07-10
  • Resource: HybridComputeMachineResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.HybridCompute.HybridComputeMachineResource> GetHybridComputeMachinesAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetHybridComputeMachinesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.HybridCompute.HybridComputeMachineResource>
override this.GetHybridComputeMachinesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.HybridCompute.HybridComputeMachineResource>
Public Overridable Function GetHybridComputeMachinesAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of HybridComputeMachineResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to