Share via


VirtualHubRouteTableV2Collection Class

Definition

A class representing a collection of VirtualHubRouteTableV2Resource and their operations. Each VirtualHubRouteTableV2Resource in the collection will belong to the same instance of VirtualHubResource. To get a VirtualHubRouteTableV2Collection instance call the GetVirtualHubRouteTableV2s method from an instance of VirtualHubResource.

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

Constructors

VirtualHubRouteTableV2Collection()

Initializes a new instance of the VirtualHubRouteTableV2Collection 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, VirtualHubRouteTableV2Data, CancellationToken)

Creates a VirtualHubRouteTableV2 resource if it doesn't exist else updates the existing VirtualHubRouteTableV2.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routeTables/{routeTableName}
  • Operation Id: VirtualHubRouteTableV2s_CreateOrUpdate
  • Default Api Version: 2024-03-01
  • Resource: VirtualHubRouteTableV2Resource
CreateOrUpdateAsync(WaitUntil, String, VirtualHubRouteTableV2Data, CancellationToken)

Creates a VirtualHubRouteTableV2 resource if it doesn't exist else updates the existing VirtualHubRouteTableV2.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routeTables/{routeTableName}
  • Operation Id: VirtualHubRouteTableV2s_CreateOrUpdate
  • Default Api Version: 2024-03-01
  • Resource: VirtualHubRouteTableV2Resource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routeTables/{routeTableName}
  • Operation Id: VirtualHubRouteTableV2s_Get
  • Default Api Version: 2024-03-01
  • Resource: VirtualHubRouteTableV2Resource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routeTables/{routeTableName}
  • Operation Id: VirtualHubRouteTableV2s_Get
  • Default Api Version: 2024-03-01
  • Resource: VirtualHubRouteTableV2Resource
Get(String, CancellationToken)

Retrieves the details of a VirtualHubRouteTableV2.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routeTables/{routeTableName}
  • Operation Id: VirtualHubRouteTableV2s_Get
  • Default Api Version: 2024-03-01
  • Resource: VirtualHubRouteTableV2Resource
GetAll(CancellationToken)

Retrieves the details of all VirtualHubRouteTableV2s.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routeTables
  • Operation Id: VirtualHubRouteTableV2s_List
  • Default Api Version: 2024-03-01
  • Resource: VirtualHubRouteTableV2Resource
GetAllAsync(CancellationToken)

Retrieves the details of all VirtualHubRouteTableV2s.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routeTables
  • Operation Id: VirtualHubRouteTableV2s_List
  • Default Api Version: 2024-03-01
  • Resource: VirtualHubRouteTableV2Resource
GetAsync(String, CancellationToken)

Retrieves the details of a VirtualHubRouteTableV2.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routeTables/{routeTableName}
  • Operation Id: VirtualHubRouteTableV2s_Get
  • Default Api Version: 2024-03-01
  • Resource: VirtualHubRouteTableV2Resource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routeTables/{routeTableName}
  • Operation Id: VirtualHubRouteTableV2s_Get
  • Default Api Version: 2024-03-01
  • Resource: VirtualHubRouteTableV2Resource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routeTables/{routeTableName}
  • Operation Id: VirtualHubRouteTableV2s_Get
  • Default Api Version: 2024-03-01
  • Resource: VirtualHubRouteTableV2Resource
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<VirtualHubRouteTableV2Resource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<VirtualHubRouteTableV2Resource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to