HybridComputeGatewayCollection.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: 2024-05-20-preview
  • Resource: HybridComputeGatewayResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.HybridCompute.HybridComputeGatewayResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.HybridCompute.HybridComputeGatewayResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.HybridCompute.HybridComputeGatewayResource>
Public Overridable Function GetAllAsync (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