Language

MockableHybridComputeSubscriptionResource.GetArcGatewaysAsync 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. : 2026-07-15.
public virtual Azure.AsyncPageable<Azure.ResourceManager.HybridCompute.ArcGatewayResource> GetArcGatewaysAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member GetArcGatewaysAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.HybridCompute.ArcGatewayResource>
override this.GetArcGatewaysAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.HybridCompute.ArcGatewayResource>
Public Overridable Function GetArcGatewaysAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ArcGatewayResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to