MockableHybridComputeSubscriptionResource.GetHybridComputeMachines Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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-31-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.