共用方式為


NetworkManagers interface

Interface representing a NetworkManagers.

Methods

beginDelete(string, string, NetworkManagersDeleteOptionalParams)

Deletes a network manager.

beginDeleteAndWait(string, string, NetworkManagersDeleteOptionalParams)

Deletes a network manager.

createOrUpdate(string, string, NetworkManager, NetworkManagersCreateOrUpdateOptionalParams)

Creates or updates a Network Manager.

get(string, string, NetworkManagersGetOptionalParams)

Gets the specified Network Manager.

list(string, NetworkManagersListOptionalParams)

List network managers in a resource group.

listBySubscription(NetworkManagersListBySubscriptionOptionalParams)

List all network managers in a subscription.

patch(string, string, PatchObject, NetworkManagersPatchOptionalParams)

Patch NetworkManager.

Method Details

beginDelete(string, string, NetworkManagersDeleteOptionalParams)

Deletes a network manager.

function beginDelete(resourceGroupName: string, networkManagerName: string, options?: NetworkManagersDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

Parameters

resourceGroupName

string

The name of the resource group.

networkManagerName

string

The name of the network manager.

options
NetworkManagersDeleteOptionalParams

The options parameters.

Returns

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

beginDeleteAndWait(string, string, NetworkManagersDeleteOptionalParams)

Deletes a network manager.

function beginDeleteAndWait(resourceGroupName: string, networkManagerName: string, options?: NetworkManagersDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group.

networkManagerName

string

The name of the network manager.

options
NetworkManagersDeleteOptionalParams

The options parameters.

Returns

Promise<void>

createOrUpdate(string, string, NetworkManager, NetworkManagersCreateOrUpdateOptionalParams)

Creates or updates a Network Manager.

function createOrUpdate(resourceGroupName: string, networkManagerName: string, parameters: NetworkManager, options?: NetworkManagersCreateOrUpdateOptionalParams): Promise<NetworkManager>

Parameters

resourceGroupName

string

The name of the resource group.

networkManagerName

string

The name of the network manager.

parameters
NetworkManager

Parameters supplied to specify which network manager is.

options
NetworkManagersCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<NetworkManager>

get(string, string, NetworkManagersGetOptionalParams)

Gets the specified Network Manager.

function get(resourceGroupName: string, networkManagerName: string, options?: NetworkManagersGetOptionalParams): Promise<NetworkManager>

Parameters

resourceGroupName

string

The name of the resource group.

networkManagerName

string

The name of the network manager.

options
NetworkManagersGetOptionalParams

The options parameters.

Returns

Promise<NetworkManager>

list(string, NetworkManagersListOptionalParams)

List network managers in a resource group.

function list(resourceGroupName: string, options?: NetworkManagersListOptionalParams): PagedAsyncIterableIterator<NetworkManager, NetworkManager[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group.

options
NetworkManagersListOptionalParams

The options parameters.

Returns

listBySubscription(NetworkManagersListBySubscriptionOptionalParams)

List all network managers in a subscription.

function listBySubscription(options?: NetworkManagersListBySubscriptionOptionalParams): PagedAsyncIterableIterator<NetworkManager, NetworkManager[], PageSettings>

Parameters

options
NetworkManagersListBySubscriptionOptionalParams

The options parameters.

Returns

patch(string, string, PatchObject, NetworkManagersPatchOptionalParams)

Patch NetworkManager.

function patch(resourceGroupName: string, networkManagerName: string, parameters: PatchObject, options?: NetworkManagersPatchOptionalParams): Promise<NetworkManager>

Parameters

resourceGroupName

string

The name of the resource group.

networkManagerName

string

The name of the network manager.

parameters
PatchObject

Parameters supplied to specify which network manager is.

options
NetworkManagersPatchOptionalParams

The options parameters.

Returns

Promise<NetworkManager>