Share via


MockableHybridComputeSubscriptionResource.GetHybridComputeGateways Method

Definition

The operation to get all gateways of a non-Azure machine

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/gateways
  • Operation Id: Gateways_ListBySubscription
  • Default Api Version: 2024-05-20-preview
  • Resource: HybridComputeGatewayResource
public virtual Azure.Pageable<Azure.ResourceManager.HybridCompute.HybridComputeGatewayResource> GetHybridComputeGateways (System.Threading.CancellationToken cancellationToken = default);
abstract member GetHybridComputeGateways : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.HybridCompute.HybridComputeGatewayResource>
override this.GetHybridComputeGateways : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.HybridCompute.HybridComputeGatewayResource>
Public Overridable Function GetHybridComputeGateways (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of HybridComputeGatewayResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to