Language

ArcGatewayCollection.GetAllAsync(CancellationToken) Method

Definition

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

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/gateways.
  • Operation Id. : Gateways_ListByResourceGroup.
  • Default Api Version. : 2026-07-15.
public virtual Azure.AsyncPageable<Azure.ResourceManager.HybridCompute.ArcGatewayResource> GetAllAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.HybridCompute.ArcGatewayResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.HybridCompute.ArcGatewayResource>
Public Overridable Function GetAllAsync (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