VirtualNetworks interface
Interface representing a VirtualNetworks.
Methods
begin |
Create Or Update virtual network. |
begin |
Create Or Update virtual network. |
begin |
Implements virtual network DELETE method. |
begin |
Implements virtual network DELETE method. |
get(string, string, Virtual |
Implements virtual network GET method. |
list(Virtual |
List of virtualNetworks in a subscription. |
list |
List of virtualNetworks in a resource group. |
update(string, string, Virtual |
API to update certain properties of the virtual network resource. |
Method Details
beginCreate(string, string, VirtualNetworksCreateOptionalParams)
Create Or Update virtual network.
function beginCreate(resourceGroupName: string, virtualNetworkName: string, options?: VirtualNetworksCreateOptionalParams): Promise<SimplePollerLike<OperationState<VirtualNetwork>, VirtualNetwork>>
Parameters
- resourceGroupName
-
string
The Resource Group Name.
- virtualNetworkName
-
string
Name of the virtual network resource.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<VirtualNetwork>, VirtualNetwork>>
beginCreateAndWait(string, string, VirtualNetworksCreateOptionalParams)
Create Or Update virtual network.
function beginCreateAndWait(resourceGroupName: string, virtualNetworkName: string, options?: VirtualNetworksCreateOptionalParams): Promise<VirtualNetwork>
Parameters
- resourceGroupName
-
string
The Resource Group Name.
- virtualNetworkName
-
string
Name of the virtual network resource.
The options parameters.
Returns
Promise<VirtualNetwork>
beginDelete(string, string, VirtualNetworksDeleteOptionalParams)
Implements virtual network DELETE method.
function beginDelete(resourceGroupName: string, virtualNetworkName: string, options?: VirtualNetworksDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>
Parameters
- resourceGroupName
-
string
The Resource Group Name.
- virtualNetworkName
-
string
Name of the virtual network resource.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginDeleteAndWait(string, string, VirtualNetworksDeleteOptionalParams)
Implements virtual network DELETE method.
function beginDeleteAndWait(resourceGroupName: string, virtualNetworkName: string, options?: VirtualNetworksDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The Resource Group Name.
- virtualNetworkName
-
string
Name of the virtual network resource.
The options parameters.
Returns
Promise<void>
get(string, string, VirtualNetworksGetOptionalParams)
Implements virtual network GET method.
function get(resourceGroupName: string, virtualNetworkName: string, options?: VirtualNetworksGetOptionalParams): Promise<VirtualNetwork>
Parameters
- resourceGroupName
-
string
The Resource Group Name.
- virtualNetworkName
-
string
Name of the virtual network resource.
- options
- VirtualNetworksGetOptionalParams
The options parameters.
Returns
Promise<VirtualNetwork>
list(VirtualNetworksListOptionalParams)
List of virtualNetworks in a subscription.
function list(options?: VirtualNetworksListOptionalParams): PagedAsyncIterableIterator<VirtualNetwork, VirtualNetwork[], PageSettings>
Parameters
The options parameters.
Returns
listByResourceGroup(string, VirtualNetworksListByResourceGroupOptionalParams)
List of virtualNetworks in a resource group.
function listByResourceGroup(resourceGroupName: string, options?: VirtualNetworksListByResourceGroupOptionalParams): PagedAsyncIterableIterator<VirtualNetwork, VirtualNetwork[], PageSettings>
Parameters
- resourceGroupName
-
string
The Resource Group Name.
The options parameters.
Returns
update(string, string, VirtualNetworksUpdateOptionalParams)
API to update certain properties of the virtual network resource.
function update(resourceGroupName: string, virtualNetworkName: string, options?: VirtualNetworksUpdateOptionalParams): Promise<VirtualNetwork>
Parameters
- resourceGroupName
-
string
The Resource Group Name.
- virtualNetworkName
-
string
Name of the virtual network resource.
The options parameters.
Returns
Promise<VirtualNetwork>