共用方式為


ScopeConnections interface

Interface representing a ScopeConnections.

Methods

createOrUpdate(string, string, string, ScopeConnection, ScopeConnectionsCreateOrUpdateOptionalParams)

Creates or updates scope connection from Network Manager

delete(string, string, string, ScopeConnectionsDeleteOptionalParams)

Delete the pending scope connection created by this network manager.

get(string, string, string, ScopeConnectionsGetOptionalParams)

Get specified scope connection created by this Network Manager.

list(string, string, ScopeConnectionsListOptionalParams)

List all scope connections created by this network manager.

Method Details

createOrUpdate(string, string, string, ScopeConnection, ScopeConnectionsCreateOrUpdateOptionalParams)

Creates or updates scope connection from Network Manager

function createOrUpdate(resourceGroupName: string, networkManagerName: string, scopeConnectionName: string, parameters: ScopeConnection, options?: ScopeConnectionsCreateOrUpdateOptionalParams): Promise<ScopeConnection>

Parameters

resourceGroupName

string

The name of the resource group.

networkManagerName

string

The name of the network manager.

scopeConnectionName

string

Name for the cross-tenant connection.

parameters
ScopeConnection

Scope connection to be created/updated.

options
ScopeConnectionsCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<ScopeConnection>

delete(string, string, string, ScopeConnectionsDeleteOptionalParams)

Delete the pending scope connection created by this network manager.

function delete(resourceGroupName: string, networkManagerName: string, scopeConnectionName: string, options?: ScopeConnectionsDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group.

networkManagerName

string

The name of the network manager.

scopeConnectionName

string

Name for the cross-tenant connection.

options
ScopeConnectionsDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, ScopeConnectionsGetOptionalParams)

Get specified scope connection created by this Network Manager.

function get(resourceGroupName: string, networkManagerName: string, scopeConnectionName: string, options?: ScopeConnectionsGetOptionalParams): Promise<ScopeConnection>

Parameters

resourceGroupName

string

The name of the resource group.

networkManagerName

string

The name of the network manager.

scopeConnectionName

string

Name for the cross-tenant connection.

options
ScopeConnectionsGetOptionalParams

The options parameters.

Returns

Promise<ScopeConnection>

list(string, string, ScopeConnectionsListOptionalParams)

List all scope connections created by this network manager.

function list(resourceGroupName: string, networkManagerName: string, options?: ScopeConnectionsListOptionalParams): PagedAsyncIterableIterator<ScopeConnection, ScopeConnection[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group.

networkManagerName

string

The name of the network manager.

options
ScopeConnectionsListOptionalParams

The options parameters.

Returns