VirtualNetworks interface
Interface representing a VirtualNetworks.
Methods
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.
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.
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.
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.
The options parameters.
Returns
Promise<VirtualNetworksDeleteHeaders>
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.
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.
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.
The options parameters.
Returns
listBySubscription(VirtualNetworksListBySubscriptionOptionalParams)
List of VirtualNetworks in a subscription.
function listBySubscription(options?: VirtualNetworksListBySubscriptionOptionalParams): PagedAsyncIterableIterator<VirtualNetwork, VirtualNetwork[], PageSettings>
Parameters
The options parameters.