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
網路管理員的名稱。
選項參數。