HybridComputeExtensions.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 static Azure.AsyncPageable<Azure.ResourceManager.HybridCompute.HybridComputeGatewayResource> GetHybridComputeGatewaysAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetHybridComputeGatewaysAsync : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.HybridCompute.HybridComputeGatewayResource>
<Extension()>
Public Function GetHybridComputeGatewaysAsync (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of HybridComputeGatewayResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to