Share via


ArcGatewayCollection Class

Definition

A class representing a collection of ArcGatewayResource and their operations. Each ArcGatewayResource in the collection will belong to the same instance of ResourceGroupResource. To get an ArcGatewayCollection instance call the GetArcGateways method from an instance of ResourceGroupResource.

public class ArcGatewayCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.HybridCompute.ArcGatewayResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.HybridCompute.ArcGatewayResource>
type ArcGatewayCollection = class
    inherit ArmCollection
    interface seq<ArcGatewayResource>
    interface IEnumerable
    interface IAsyncEnumerable<ArcGatewayResource>
Public Class ArcGatewayCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of ArcGatewayResource), IEnumerable(Of ArcGatewayResource)
Inheritance
ArcGatewayCollection
Implements

Constructors

ArcGatewayCollection()

Initializes a new instance of the ArcGatewayCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, String, ArcGatewayData, CancellationToken)

The operation to create or update a gateway.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/gateways/{gatewayName}
  • Operation Id: Gateways_CreateOrUpdate
  • Default Api Version: 2024-07-31-preview
  • Resource: ArcGatewayResource
CreateOrUpdateAsync(WaitUntil, String, ArcGatewayData, CancellationToken)

The operation to create or update a gateway.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/gateways/{gatewayName}
  • Operation Id: Gateways_CreateOrUpdate
  • Default Api Version: 2024-07-31-preview
  • Resource: ArcGatewayResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/gateways/{gatewayName}
  • Operation Id: Gateways_Get
  • Default Api Version: 2024-07-31-preview
  • Resource: ArcGatewayResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/gateways/{gatewayName}
  • Operation Id: Gateways_Get
  • Default Api Version: 2024-07-31-preview
  • Resource: ArcGatewayResource
Get(String, CancellationToken)

Retrieves information about the view of a gateway.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/gateways/{gatewayName}
  • Operation Id: Gateways_Get
  • Default Api Version: 2024-07-31-preview
  • Resource: ArcGatewayResource
GetAll(CancellationToken)

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-07-31-preview
  • Resource: ArcGatewayResource
GetAllAsync(CancellationToken)

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-07-31-preview
  • Resource: ArcGatewayResource
GetAsync(String, CancellationToken)

Retrieves information about the view of a gateway.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/gateways/{gatewayName}
  • Operation Id: Gateways_Get
  • Default Api Version: 2024-07-31-preview
  • Resource: ArcGatewayResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/gateways/{gatewayName}
  • Operation Id: Gateways_Get
  • Default Api Version: 2024-07-31-preview
  • Resource: ArcGatewayResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/gateways/{gatewayName}
  • Operation Id: Gateways_Get
  • Default Api Version: 2024-07-31-preview
  • Resource: ArcGatewayResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<ArcGatewayResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ArcGatewayResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to