L2NetworksOperations interface

Interface representing a L2Networks operations.

Properties

beginCreateOrUpdate
beginCreateOrUpdateAndWait
beginDelete
beginDeleteAndWait
createOrUpdate

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

delete

Delete the provided layer 2 (L2) network.

get

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

listByResourceGroup

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

listBySubscription

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

update

Update tags associated with the provided layer 2 (L2) network.

Property Details

beginCreateOrUpdate

Warning

This API is now deprecated.

use createOrUpdate instead

beginCreateOrUpdate: (resourceGroupName: string, l2NetworkName: string, l2NetworkParameters: L2Network, options?: L2NetworksCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<L2Network>, L2Network>>

Property Value

(resourceGroupName: string, l2NetworkName: string, l2NetworkParameters: L2Network, options?: L2NetworksCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<L2Network>, L2Network>>

beginCreateOrUpdateAndWait

Warning

This API is now deprecated.

use createOrUpdate instead

beginCreateOrUpdateAndWait: (resourceGroupName: string, l2NetworkName: string, l2NetworkParameters: L2Network, options?: L2NetworksCreateOrUpdateOptionalParams) => Promise<L2Network>

Property Value

(resourceGroupName: string, l2NetworkName: string, l2NetworkParameters: L2Network, options?: L2NetworksCreateOrUpdateOptionalParams) => Promise<L2Network>

beginDelete

Warning

This API is now deprecated.

use delete instead

beginDelete: (resourceGroupName: string, l2NetworkName: string, options?: L2NetworksDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<OperationStatusResult>, OperationStatusResult>>

Property Value

(resourceGroupName: string, l2NetworkName: string, options?: L2NetworksDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<OperationStatusResult>, OperationStatusResult>>

beginDeleteAndWait

Warning

This API is now deprecated.

use delete instead

beginDeleteAndWait: (resourceGroupName: string, l2NetworkName: string, options?: L2NetworksDeleteOptionalParams) => Promise<OperationStatusResult>

Property Value

(resourceGroupName: string, l2NetworkName: string, options?: L2NetworksDeleteOptionalParams) => Promise<OperationStatusResult>

createOrUpdate

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

createOrUpdate: (resourceGroupName: string, l2NetworkName: string, l2NetworkParameters: L2Network, options?: L2NetworksCreateOrUpdateOptionalParams) => PollerLike<OperationState<L2Network>, L2Network>

Property Value

(resourceGroupName: string, l2NetworkName: string, l2NetworkParameters: L2Network, options?: L2NetworksCreateOrUpdateOptionalParams) => PollerLike<OperationState<L2Network>, L2Network>

delete

Delete the provided layer 2 (L2) network.

delete: (resourceGroupName: string, l2NetworkName: string, options?: L2NetworksDeleteOptionalParams) => PollerLike<OperationState<OperationStatusResult>, OperationStatusResult>

Property Value

(resourceGroupName: string, l2NetworkName: string, options?: L2NetworksDeleteOptionalParams) => PollerLike<OperationState<OperationStatusResult>, OperationStatusResult>

get

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

get: (resourceGroupName: string, l2NetworkName: string, options?: L2NetworksGetOptionalParams) => Promise<L2Network>

Property Value

(resourceGroupName: string, l2NetworkName: string, options?: L2NetworksGetOptionalParams) => Promise<L2Network>

listByResourceGroup

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

listByResourceGroup: (resourceGroupName: string, options?: L2NetworksListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<L2Network, L2Network[], PageSettings>

Property Value

(resourceGroupName: string, options?: L2NetworksListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<L2Network, L2Network[], PageSettings>

listBySubscription

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

listBySubscription: (options?: L2NetworksListBySubscriptionOptionalParams) => PagedAsyncIterableIterator<L2Network, L2Network[], PageSettings>

Property Value

(options?: L2NetworksListBySubscriptionOptionalParams) => PagedAsyncIterableIterator<L2Network, L2Network[], PageSettings>

update

Update tags associated with the provided layer 2 (L2) network.

update: (resourceGroupName: string, l2NetworkName: string, options?: L2NetworksUpdateOptionalParams) => Promise<L2Network>

Property Value

(resourceGroupName: string, l2NetworkName: string, options?: L2NetworksUpdateOptionalParams) => Promise<L2Network>