Network interface
Interface representing a Network.
Methods
create(string, string, Network |
Creates a network resource with the specified name, description and properties. If a network resource with the same name exists, then it is updated with the specified description and properties. |
delete(string, string, Network |
Deletes the network resource identified by the name. |
get(string, string, Network |
Gets the information about the network resource with the given name. The information include the description and other properties of the network. |
list |
Gets the information about all network resources in a given resource group. The information include the description and other properties of the Network. |
list |
Gets the information about all network resources in a given resource group. The information include the description and other properties of the network. |
Method Details
create(string, string, NetworkResourceDescription, NetworkCreateOptionalParams)
Creates a network resource with the specified name, description and properties. If a network resource with the same name exists, then it is updated with the specified description and properties.
function create(resourceGroupName: string, networkResourceName: string, networkResourceDescription: NetworkResourceDescription, options?: NetworkCreateOptionalParams): Promise<NetworkResourceDescription>
Parameters
- resourceGroupName
-
string
Azure resource group name
- networkResourceName
-
string
The identity of the network.
- networkResourceDescription
- NetworkResourceDescription
Description for creating a Network resource.
- options
- NetworkCreateOptionalParams
The options parameters.
Returns
Promise<NetworkResourceDescription>
delete(string, string, NetworkDeleteOptionalParams)
Deletes the network resource identified by the name.
function delete(resourceGroupName: string, networkResourceName: string, options?: NetworkDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
Azure resource group name
- networkResourceName
-
string
The identity of the network.
- options
- NetworkDeleteOptionalParams
The options parameters.
Returns
Promise<void>
get(string, string, NetworkGetOptionalParams)
Gets the information about the network resource with the given name. The information include the description and other properties of the network.
function get(resourceGroupName: string, networkResourceName: string, options?: NetworkGetOptionalParams): Promise<NetworkResourceDescription>
Parameters
- resourceGroupName
-
string
Azure resource group name
- networkResourceName
-
string
The identity of the network.
- options
- NetworkGetOptionalParams
The options parameters.
Returns
Promise<NetworkResourceDescription>
listByResourceGroup(string, NetworkListByResourceGroupOptionalParams)
Gets the information about all network resources in a given resource group. The information include the description and other properties of the Network.
function listByResourceGroup(resourceGroupName: string, options?: NetworkListByResourceGroupOptionalParams): PagedAsyncIterableIterator<NetworkResourceDescription, NetworkResourceDescription[], PageSettings>
Parameters
- resourceGroupName
-
string
Azure resource group name
The options parameters.
Returns
listBySubscription(NetworkListBySubscriptionOptionalParams)
Gets the information about all network resources in a given resource group. The information include the description and other properties of the network.
function listBySubscription(options?: NetworkListBySubscriptionOptionalParams): PagedAsyncIterableIterator<NetworkResourceDescription, NetworkResourceDescription[], PageSettings>
Parameters
The options parameters.
Returns
Azure SDK for JavaScript