Compartir a través de


HybridComputeGatewayCollection Class

Definition

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

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

Constructors

HybridComputeGatewayCollection()

Initializes a new instance of the HybridComputeGatewayCollection 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, HybridComputeGatewayData, 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-05-20-preview
  • Resource: HybridComputeGatewayResource
CreateOrUpdateAsync(WaitUntil, String, HybridComputeGatewayData, 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-05-20-preview
  • Resource: HybridComputeGatewayResource
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-05-20-preview
  • Resource: HybridComputeGatewayResource
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-05-20-preview
  • Resource: HybridComputeGatewayResource
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-05-20-preview
  • Resource: HybridComputeGatewayResource
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-05-20-preview
  • Resource: HybridComputeGatewayResource
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-05-20-preview
  • Resource: HybridComputeGatewayResource
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-05-20-preview
  • Resource: HybridComputeGatewayResource
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-05-20-preview
  • Resource: HybridComputeGatewayResource
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-05-20-preview
  • Resource: HybridComputeGatewayResource
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<HybridComputeGatewayResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<HybridComputeGatewayResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to