MockableHybridComputeSubscriptionResource.GetHybridComputeMachines 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-05-20-preview
  • Resource: HybridComputeMachineResource
public virtual Azure.Pageable<Azure.ResourceManager.HybridCompute.HybridComputeMachineResource> GetHybridComputeMachines (System.Threading.CancellationToken cancellationToken = default);
abstract member GetHybridComputeMachines : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.HybridCompute.HybridComputeMachineResource>
override this.GetHybridComputeMachines : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.HybridCompute.HybridComputeMachineResource>
Public Overridable Function GetHybridComputeMachines (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of HybridComputeMachineResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to