Freigeben über


HybridContainerServiceVirtualNetworkCollection Class

Definition

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

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

Constructors

HybridContainerServiceVirtualNetworkCollection()

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

Creates or updates the virtual network resource

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridContainerService/virtualNetworks/{virtualNetworkName}
  • Operation Id: virtualNetworks_CreateOrUpdate
  • Default Api Version: 2024-01-01
  • Resource: HybridContainerServiceVirtualNetworkResource
CreateOrUpdateAsync(WaitUntil, String, HybridContainerServiceVirtualNetworkData, CancellationToken)

Creates or updates the virtual network resource

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridContainerService/virtualNetworks/{virtualNetworkName}
  • Operation Id: virtualNetworks_CreateOrUpdate
  • Default Api Version: 2024-01-01
  • Resource: HybridContainerServiceVirtualNetworkResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridContainerService/virtualNetworks/{virtualNetworkName}
  • Operation Id: virtualNetworks_Retrieve
  • Default Api Version: 2024-01-01
  • Resource: HybridContainerServiceVirtualNetworkResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridContainerService/virtualNetworks/{virtualNetworkName}
  • Operation Id: virtualNetworks_Retrieve
  • Default Api Version: 2024-01-01
  • Resource: HybridContainerServiceVirtualNetworkResource
Get(String, CancellationToken)

Gets the specified virtual network resource

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridContainerService/virtualNetworks/{virtualNetworkName}
  • Operation Id: virtualNetworks_Retrieve
  • Default Api Version: 2024-01-01
  • Resource: HybridContainerServiceVirtualNetworkResource
GetAll(CancellationToken)

Lists the virtual networks in the specified resource group

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridContainerService/virtualNetworks
  • Operation Id: virtualNetworks_ListByResourceGroup
  • Default Api Version: 2024-01-01
  • Resource: HybridContainerServiceVirtualNetworkResource
GetAllAsync(CancellationToken)

Lists the virtual networks in the specified resource group

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridContainerService/virtualNetworks
  • Operation Id: virtualNetworks_ListByResourceGroup
  • Default Api Version: 2024-01-01
  • Resource: HybridContainerServiceVirtualNetworkResource
GetAsync(String, CancellationToken)

Gets the specified virtual network resource

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridContainerService/virtualNetworks/{virtualNetworkName}
  • Operation Id: virtualNetworks_Retrieve
  • Default Api Version: 2024-01-01
  • Resource: HybridContainerServiceVirtualNetworkResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridContainerService/virtualNetworks/{virtualNetworkName}
  • Operation Id: virtualNetworks_Retrieve
  • Default Api Version: 2024-01-01
  • Resource: HybridContainerServiceVirtualNetworkResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridContainerService/virtualNetworks/{virtualNetworkName}
  • Operation Id: virtualNetworks_Retrieve
  • Default Api Version: 2024-01-01
  • Resource: HybridContainerServiceVirtualNetworkResource
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<HybridContainerServiceVirtualNetworkResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<HybridContainerServiceVirtualNetworkResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to