HybridComputeExtensions.GetArcGateways Method

Definition

Overloads

GetArcGateways(ResourceGroupResource)

Gets a collection of ArcGatewayResources in the ResourceGroupResource. MockingTo mock this method, please mock GetArcGateways() instead.

GetArcGateways(SubscriptionResource, CancellationToken)

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

GetArcGateways(ResourceGroupResource)

Source:
HybridComputeExtensions.cs

Gets a collection of ArcGatewayResources in the ResourceGroupResource. MockingTo mock this method, please mock GetArcGateways() instead.

public static Azure.ResourceManager.HybridCompute.ArcGatewayCollection GetArcGateways (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetArcGateways : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.HybridCompute.ArcGatewayCollection
<Extension()>
Public Function GetArcGateways (resourceGroupResource As ResourceGroupResource) As ArcGatewayCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of ArcGatewayResources and their operations over a ArcGatewayResource.

Exceptions

resourceGroupResource is null.

Applies to

GetArcGateways(SubscriptionResource, CancellationToken)

Source:
HybridComputeExtensions.cs

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

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance 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