Language

HybridComputeExtensions.GetArcGatewaysAsync Method

Definition

The operation to get all gateways of a non-Azure machine <item> Mocking. To mock this method, please mock GetArcGatewaysAsync(CancellationToken) instead. </item>

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 the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to