Share via


NetworkCloudL2NetworkCollection Class

Definition

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

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

Constructors

NetworkCloudL2NetworkCollection()

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

Create a new layer 2 (L2) network or update the properties of the existing network.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/l2Networks/{l2NetworkName}
  • Operation Id: L2Networks_CreateOrUpdate
CreateOrUpdateAsync(WaitUntil, String, NetworkCloudL2NetworkData, CancellationToken)

Create a new layer 2 (L2) network or update the properties of the existing network.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/l2Networks/{l2NetworkName}
  • Operation Id: L2Networks_CreateOrUpdate
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/l2Networks/{l2NetworkName}
  • Operation Id: L2Networks_Get
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/l2Networks/{l2NetworkName}
  • Operation Id: L2Networks_Get
Get(String, CancellationToken)

Get properties of the provided layer 2 (L2) network.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/l2Networks/{l2NetworkName}
  • Operation Id: L2Networks_Get
GetAll(CancellationToken)

Get a list of layer 2 (L2) networks in the provided resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/l2Networks
  • Operation Id: L2Networks_ListByResourceGroup
GetAllAsync(CancellationToken)

Get a list of layer 2 (L2) networks in the provided resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/l2Networks
  • Operation Id: L2Networks_ListByResourceGroup
GetAsync(String, CancellationToken)

Get properties of the provided layer 2 (L2) network.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/l2Networks/{l2NetworkName}
  • Operation Id: L2Networks_Get
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/l2Networks/{l2NetworkName}
  • Operation Id: L2Networks_Get
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/l2Networks/{l2NetworkName}
  • Operation Id: L2Networks_Get
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<NetworkCloudL2NetworkResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<NetworkCloudL2NetworkResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to