Share via


MockableHybridComputeSubscriptionResource.GetHybridComputeGatewaysAsync 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.AsyncPageable<Azure.ResourceManager.HybridCompute.HybridComputeGatewayResource> GetHybridComputeGatewaysAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetHybridComputeGatewaysAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.HybridCompute.HybridComputeGatewayResource>
override this.GetHybridComputeGatewaysAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.HybridCompute.HybridComputeGatewayResource>
Public Overridable Function GetHybridComputeGatewaysAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of HybridComputeGatewayResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to