Compartilhar via


HybridComputeExtensions.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: 2024-07-31-preview
  • Resource: ArcGatewayResource
public static Azure.AsyncPageable<Azure.ResourceManager.HybridCompute.ArcGatewayResource> GetArcGatewaysAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetArcGatewaysAsync : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.HybridCompute.ArcGatewayResource>
<Extension()>
Public Function GetArcGatewaysAsync (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ArcGatewayResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to