ScopeConnections interface
表示 ScopeConnections 的接口。
方法
| create |
从网络管理器创建或更新范围连接 |
| delete(string, string, string, Scope |
删除此网络管理器创建的挂起的范围连接。 |
| get(string, string, string, Scope |
获取此网络管理器创建的指定范围连接。 |
| list(string, string, Scope |
列出此网络管理器创建的所有范围连接。 |
方法详细信息
createOrUpdate(string, string, string, ScopeConnection, ScopeConnectionsCreateOrUpdateOptionalParams)
从网络管理器创建或更新范围连接
function createOrUpdate(resourceGroupName: string, networkManagerName: string, scopeConnectionName: string, parameters: ScopeConnection, options?: ScopeConnectionsCreateOrUpdateOptionalParams): Promise<ScopeConnection>
参数
- resourceGroupName
-
string
资源组的名称。
- networkManagerName
-
string
网络管理器的名称。
- scopeConnectionName
-
string
跨租户连接的名称。
- parameters
- ScopeConnection
要创建/更新的范围连接。
选项参数。
返回
Promise<ScopeConnection>
delete(string, string, string, ScopeConnectionsDeleteOptionalParams)
删除此网络管理器创建的挂起的范围连接。
function delete(resourceGroupName: string, networkManagerName: string, scopeConnectionName: string, options?: ScopeConnectionsDeleteOptionalParams): Promise<void>
参数
- resourceGroupName
-
string
资源组的名称。
- networkManagerName
-
string
网络管理器的名称。
- scopeConnectionName
-
string
跨租户连接的名称。
选项参数。
返回
Promise<void>
get(string, string, string, ScopeConnectionsGetOptionalParams)
获取此网络管理器创建的指定范围连接。
function get(resourceGroupName: string, networkManagerName: string, scopeConnectionName: string, options?: ScopeConnectionsGetOptionalParams): Promise<ScopeConnection>
参数
- resourceGroupName
-
string
资源组的名称。
- networkManagerName
-
string
网络管理器的名称。
- scopeConnectionName
-
string
跨租户连接的名称。
选项参数。
返回
Promise<ScopeConnection>
list(string, string, ScopeConnectionsListOptionalParams)
列出此网络管理器创建的所有范围连接。
function list(resourceGroupName: string, networkManagerName: string, options?: ScopeConnectionsListOptionalParams): PagedAsyncIterableIterator<ScopeConnection, ScopeConnection[], PageSettings>
参数
- resourceGroupName
-
string
资源组的名称。
- networkManagerName
-
string
网络管理器的名称。
选项参数。