L2Networks interface
Interface representing a L2Networks.
Methods
Method Details
beginCreateOrUpdate(string, string, L2Network, L2NetworksCreateOrUpdateOptionalParams)
Create a new layer 2 (L2) network or update the properties of the existing network.
function beginCreateOrUpdate(resourceGroupName: string, l2NetworkName: string, l2NetworkParameters: L2Network, options?: L2NetworksCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<L2Network>, L2Network>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- l2NetworkName
-
string
The name of the L2 network.
- l2NetworkParameters
- L2Network
The request body.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<L2Network>, L2Network>>
beginCreateOrUpdateAndWait(string, string, L2Network, L2NetworksCreateOrUpdateOptionalParams)
Create a new layer 2 (L2) network or update the properties of the existing network.
function beginCreateOrUpdateAndWait(resourceGroupName: string, l2NetworkName: string, l2NetworkParameters: L2Network, options?: L2NetworksCreateOrUpdateOptionalParams): Promise<L2Network>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- l2NetworkName
-
string
The name of the L2 network.
- l2NetworkParameters
- L2Network
The request body.
The options parameters.
Returns
Promise<L2Network>
beginDelete(string, string, L2NetworksDeleteOptionalParams)
Delete the provided layer 2 (L2) network.
function beginDelete(resourceGroupName: string, l2NetworkName: string, options?: L2NetworksDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- l2NetworkName
-
string
The name of the L2 network.
- options
- L2NetworksDeleteOptionalParams
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginDeleteAndWait(string, string, L2NetworksDeleteOptionalParams)
Delete the provided layer 2 (L2) network.
function beginDeleteAndWait(resourceGroupName: string, l2NetworkName: string, options?: L2NetworksDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- l2NetworkName
-
string
The name of the L2 network.
- options
- L2NetworksDeleteOptionalParams
The options parameters.
Returns
Promise<void>
get(string, string, L2NetworksGetOptionalParams)
Get properties of the provided layer 2 (L2) network.
function get(resourceGroupName: string, l2NetworkName: string, options?: L2NetworksGetOptionalParams): Promise<L2Network>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- l2NetworkName
-
string
The name of the L2 network.
- options
- L2NetworksGetOptionalParams
The options parameters.
Returns
Promise<L2Network>
listByResourceGroup(string, L2NetworksListByResourceGroupOptionalParams)
Get a list of layer 2 (L2) networks in the provided resource group.
function listByResourceGroup(resourceGroupName: string, options?: L2NetworksListByResourceGroupOptionalParams): PagedAsyncIterableIterator<L2Network, L2Network[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
The options parameters.
Returns
listBySubscription(L2NetworksListBySubscriptionOptionalParams)
Get a list of layer 2 (L2) networks in the provided subscription.
function listBySubscription(options?: L2NetworksListBySubscriptionOptionalParams): PagedAsyncIterableIterator<L2Network, L2Network[], PageSettings>
Parameters
The options parameters.
Returns
update(string, string, L2NetworksUpdateOptionalParams)
Update tags associated with the provided layer 2 (L2) network.
function update(resourceGroupName: string, l2NetworkName: string, options?: L2NetworksUpdateOptionalParams): Promise<L2Network>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- l2NetworkName
-
string
The name of the L2 network.
- options
- L2NetworksUpdateOptionalParams
The options parameters.
Returns
Promise<L2Network>