VirtualNetworks interface

Interface representing a VirtualNetworks.

Methods

beginCreateOrUpdate(string, string, VirtualNetwork, VirtualNetworksCreateOrUpdateOptionalParams)

Onboards the ScVmm virtual network as an Azure virtual network resource.

beginCreateOrUpdateAndWait(string, string, VirtualNetwork, VirtualNetworksCreateOrUpdateOptionalParams)

Onboards the ScVmm virtual network as an Azure virtual network resource.

beginDelete(string, string, VirtualNetworksDeleteOptionalParams)

Deregisters the ScVmm virtual network from Azure.

beginDeleteAndWait(string, string, VirtualNetworksDeleteOptionalParams)

Deregisters the ScVmm virtual network from Azure.

beginUpdate(string, string, VirtualNetworkTagsUpdate, VirtualNetworksUpdateOptionalParams)

Updates the VirtualNetworks resource.

beginUpdateAndWait(string, string, VirtualNetworkTagsUpdate, VirtualNetworksUpdateOptionalParams)

Updates the VirtualNetworks resource.

get(string, string, VirtualNetworksGetOptionalParams)

Implements VirtualNetwork GET method.

listByResourceGroup(string, VirtualNetworksListByResourceGroupOptionalParams)

List of VirtualNetworks in a resource group.

listBySubscription(VirtualNetworksListBySubscriptionOptionalParams)

List of VirtualNetworks in a subscription.

Method Details

beginCreateOrUpdate(string, string, VirtualNetwork, VirtualNetworksCreateOrUpdateOptionalParams)

Onboards the ScVmm virtual network as an Azure virtual network resource.

function beginCreateOrUpdate(resourceGroupName: string, virtualNetworkName: string, resource: VirtualNetwork, options?: VirtualNetworksCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<VirtualNetwork>, VirtualNetwork>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

virtualNetworkName

string

Name of the VirtualNetwork.

resource
VirtualNetwork

Resource create parameters.

options
VirtualNetworksCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<VirtualNetwork>, VirtualNetwork>>

beginCreateOrUpdateAndWait(string, string, VirtualNetwork, VirtualNetworksCreateOrUpdateOptionalParams)

Onboards the ScVmm virtual network as an Azure virtual network resource.

function beginCreateOrUpdateAndWait(resourceGroupName: string, virtualNetworkName: string, resource: VirtualNetwork, options?: VirtualNetworksCreateOrUpdateOptionalParams): Promise<VirtualNetwork>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

virtualNetworkName

string

Name of the VirtualNetwork.

resource
VirtualNetwork

Resource create parameters.

options
VirtualNetworksCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<VirtualNetwork>

beginDelete(string, string, VirtualNetworksDeleteOptionalParams)

Deregisters the ScVmm virtual network from Azure.

function beginDelete(resourceGroupName: string, virtualNetworkName: string, options?: VirtualNetworksDeleteOptionalParams): Promise<SimplePollerLike<OperationState<VirtualNetworksDeleteHeaders>, VirtualNetworksDeleteHeaders>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

virtualNetworkName

string

Name of the VirtualNetwork.

options
VirtualNetworksDeleteOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<VirtualNetworksDeleteHeaders>, VirtualNetworksDeleteHeaders>>

beginDeleteAndWait(string, string, VirtualNetworksDeleteOptionalParams)

Deregisters the ScVmm virtual network from Azure.

function beginDeleteAndWait(resourceGroupName: string, virtualNetworkName: string, options?: VirtualNetworksDeleteOptionalParams): Promise<VirtualNetworksDeleteHeaders>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

virtualNetworkName

string

Name of the VirtualNetwork.

options
VirtualNetworksDeleteOptionalParams

The options parameters.

Returns

beginUpdate(string, string, VirtualNetworkTagsUpdate, VirtualNetworksUpdateOptionalParams)

Updates the VirtualNetworks resource.

function beginUpdate(resourceGroupName: string, virtualNetworkName: string, properties: VirtualNetworkTagsUpdate, options?: VirtualNetworksUpdateOptionalParams): Promise<SimplePollerLike<OperationState<VirtualNetwork>, VirtualNetwork>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

virtualNetworkName

string

Name of the VirtualNetwork.

properties
VirtualNetworkTagsUpdate

The resource properties to be updated.

options
VirtualNetworksUpdateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<VirtualNetwork>, VirtualNetwork>>

beginUpdateAndWait(string, string, VirtualNetworkTagsUpdate, VirtualNetworksUpdateOptionalParams)

Updates the VirtualNetworks resource.

function beginUpdateAndWait(resourceGroupName: string, virtualNetworkName: string, properties: VirtualNetworkTagsUpdate, options?: VirtualNetworksUpdateOptionalParams): Promise<VirtualNetwork>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

virtualNetworkName

string

Name of the VirtualNetwork.

properties
VirtualNetworkTagsUpdate

The resource properties to be updated.

options
VirtualNetworksUpdateOptionalParams

The options parameters.

Returns

Promise<VirtualNetwork>

get(string, string, VirtualNetworksGetOptionalParams)

Implements VirtualNetwork GET method.

function get(resourceGroupName: string, virtualNetworkName: string, options?: VirtualNetworksGetOptionalParams): Promise<VirtualNetwork>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

virtualNetworkName

string

Name of the VirtualNetwork.

options
VirtualNetworksGetOptionalParams

The options parameters.

Returns

Promise<VirtualNetwork>

listByResourceGroup(string, VirtualNetworksListByResourceGroupOptionalParams)

List of VirtualNetworks in a resource group.

function listByResourceGroup(resourceGroupName: string, options?: VirtualNetworksListByResourceGroupOptionalParams): PagedAsyncIterableIterator<VirtualNetwork, VirtualNetwork[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

options
VirtualNetworksListByResourceGroupOptionalParams

The options parameters.

Returns

listBySubscription(VirtualNetworksListBySubscriptionOptionalParams)

List of VirtualNetworks in a subscription.

function listBySubscription(options?: VirtualNetworksListBySubscriptionOptionalParams): PagedAsyncIterableIterator<VirtualNetwork, VirtualNetwork[], PageSettings>

Parameters

options
VirtualNetworksListBySubscriptionOptionalParams

The options parameters.

Returns