az network express-route peering connection

管理 ExpressRoute 線路連線。

命令

名稱 Description 類型 狀態
az network express-route peering connection create

建立兩個 ExpressRoute 線路之間的連線。

核心 GA
az network express-route peering connection delete

從指定的快速路由線路中刪除指定的 Express Route 線路連線。

核心 GA
az network express-route peering connection ipv6-config

管理 ExpressRoute 線路連線設定。

核心 GA
az network express-route peering connection ipv6-config remove

移除 ExpressRoute 線路連線的連線設定。

核心 GA
az network express-route peering connection ipv6-config set

將連線組態設定為 ExpressRoute 線路連線。

核心 GA
az network express-route peering connection ipv6-config wait

將 CLI 置於等候狀態,直到符合條件為止。

核心 GA
az network express-route peering connection list

列出與 Express Route 線路中私人對等互連相關聯的所有全域連線。

核心 GA
az network express-route peering connection show

從指定的快速路由線路取得指定的 Express Route 線路連線。

核心 GA
az network express-route peering connection wait

將 CLI 置於等候狀態,直到符合條件為止。

核心 GA

az network express-route peering connection create

建立兩個 ExpressRoute 線路之間的連線。

az network express-route peering connection create --circuit-name
                                                   --name
                                                   --peering-name
                                                   --resource-group
                                                   [--address-prefix]
                                                   [--authorization-key]
                                                   [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
                                                   [--peer-circuit]
                                                   [--source-circuit]

範例

使用 AzurePrivatePeering 設定,建立兩個 ExpressRoute 線路之間的連線。

az network express-route peering connection create -g MyResourceGroup --circuit-name MyCircuit --peering-name AzurePrivatePeering -n myConnection --peer-circuit MyOtherCircuit --address-prefix 104.0.0.0/29

必要參數

--circuit-name

ExpressRoute 線路名稱。

--name -n

對等互連連線的名稱。

--peering-name

BGP 對等互連的名稱(亦即 AzurePrivatePeering)。

--resource-group -g

資源組名。 您可以使用 來設定預設群組 az configure --defaults group=<name>

選擇性參數

--address-prefix

/29 IP 位址空間,以找出通道的客戶位址。

--authorization-key

對等線路位於另一個訂用帳戶時所使用的授權金鑰。

--no-wait

請勿等候長時間執行的作業完成。

接受的值: 0, 1, f, false, n, no, t, true, y, yes
--peer-circuit

對等 ExpressRoute 線路的名稱或識別碼。

--source-circuit

起始連線之線路的 Express Route 線路私人對等互連資源的參考。

全域參數
--debug

增加記錄詳細資訊,以顯示所有偵錯記錄。

--help -h

顯示此說明訊息並結束。

--only-show-errors

只顯示錯誤,隱藏警告。

--output -o

輸出格式。

接受的值: json, jsonc, none, table, tsv, yaml, yamlc
預設值: json
--query

JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/

--subscription

訂用帳戶的名稱或識別碼。 您可以使用 來設定預設訂用 az account set -s NAME_OR_ID 帳戶。

--verbose

增加記錄詳細資訊。 使用 --debug 來取得完整偵錯記錄。

az network express-route peering connection delete

從指定的快速路由線路中刪除指定的 Express Route 線路連線。

az network express-route peering connection delete [--circuit-name]
                                                   [--ids]
                                                   [--name]
                                                   [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
                                                   [--peering-name]
                                                   [--resource-group]
                                                   [--subscription]

範例

刪除 ExpressRoute 線路連線。 (自動產生)

az network express-route peering connection delete --circuit-name MyCircuit --name MyPeeringConnection --peering-name MyPeering --resource-group MyResourceGroup

選擇性參數

--circuit-name

ExpressRoute 線路名稱。

--ids

一或多個資源識別碼 (以空格分隔)。 它應該是包含 「資源識別碼」引數所有資訊的完整資源識別碼。 您應該提供 --ids 或其他「資源識別碼」引數。

--name -n

對等互連連線的名稱。

--no-wait

請勿等候長時間執行的作業完成。

接受的值: 0, 1, f, false, n, no, t, true, y, yes
--peering-name

BGP 對等互連的名稱(亦即 AzurePrivatePeering)。

--resource-group -g

資源組名。 您可以使用 來設定預設群組 az configure --defaults group=<name>

--subscription

訂用帳戶的名稱或識別碼。 您可以使用 來設定預設訂用 az account set -s NAME_OR_ID 帳戶。

全域參數
--debug

增加記錄詳細資訊,以顯示所有偵錯記錄。

--help -h

顯示此說明訊息並結束。

--only-show-errors

只顯示錯誤,隱藏警告。

--output -o

輸出格式。

接受的值: json, jsonc, none, table, tsv, yaml, yamlc
預設值: json
--query

JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/

--subscription

訂用帳戶的名稱或識別碼。 您可以使用 來設定預設訂用 az account set -s NAME_OR_ID 帳戶。

--verbose

增加記錄詳細資訊。 使用 --debug 來取得完整偵錯記錄。

az network express-route peering connection list

列出與 Express Route 線路中私人對等互連相關聯的所有全域連線。

az network express-route peering connection list --circuit-name
                                                 --peering-name
                                                 --resource-group

範例

列出 ExpressRouteCircuit 連線ion

az network express-route peering connection list --circuit-name MyCircuit --peering-name MyPeering --resource-group MyResourceGroup

必要參數

--circuit-name

ExpressRoute 線路名稱。

--peering-name

BGP 對等互連的名稱(亦即 AzurePrivatePeering)。

--resource-group -g

資源組名。 您可以使用 來設定預設群組 az configure --defaults group=<name>

全域參數
--debug

增加記錄詳細資訊,以顯示所有偵錯記錄。

--help -h

顯示此說明訊息並結束。

--only-show-errors

只顯示錯誤,隱藏警告。

--output -o

輸出格式。

接受的值: json, jsonc, none, table, tsv, yaml, yamlc
預設值: json
--query

JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/

--subscription

訂用帳戶的名稱或識別碼。 您可以使用 來設定預設訂用 az account set -s NAME_OR_ID 帳戶。

--verbose

增加記錄詳細資訊。 使用 --debug 來取得完整偵錯記錄。

az network express-route peering connection show

從指定的快速路由線路取得指定的 Express Route 線路連線。

az network express-route peering connection show [--circuit-name]
                                                 [--ids]
                                                 [--name]
                                                 [--peering-name]
                                                 [--resource-group]
                                                 [--subscription]

範例

顯示 ExpressRouteCircuit 連線ion

az network express-route peering connection show --circuit-name MyCircuit --name MyPeeringConnection --peering-name MyPeering --resource-group MyResourceGroup

選擇性參數

--circuit-name

ExpressRoute 線路名稱。

--ids

一或多個資源識別碼 (以空格分隔)。 它應該是包含 「資源識別碼」引數所有資訊的完整資源識別碼。 您應該提供 --ids 或其他「資源識別碼」引數。

--name -n

對等互連連線的名稱。

--peering-name

BGP 對等互連的名稱(亦即 AzurePrivatePeering)。

--resource-group -g

資源組名。 您可以使用 來設定預設群組 az configure --defaults group=<name>

--subscription

訂用帳戶的名稱或識別碼。 您可以使用 來設定預設訂用 az account set -s NAME_OR_ID 帳戶。

全域參數
--debug

增加記錄詳細資訊,以顯示所有偵錯記錄。

--help -h

顯示此說明訊息並結束。

--only-show-errors

只顯示錯誤,隱藏警告。

--output -o

輸出格式。

接受的值: json, jsonc, none, table, tsv, yaml, yamlc
預設值: json
--query

JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/

--subscription

訂用帳戶的名稱或識別碼。 您可以使用 來設定預設訂用 az account set -s NAME_OR_ID 帳戶。

--verbose

增加記錄詳細資訊。 使用 --debug 來取得完整偵錯記錄。

az network express-route peering connection wait

將 CLI 置於等候狀態,直到符合條件為止。

az network express-route peering connection wait [--circuit-name]
                                                 [--created]
                                                 [--custom]
                                                 [--deleted]
                                                 [--exists]
                                                 [--ids]
                                                 [--interval]
                                                 [--name]
                                                 [--peering-name]
                                                 [--resource-group]
                                                 [--subscription]
                                                 [--timeout]
                                                 [--updated]

選擇性參數

--circuit-name

ExpressRoute 線路名稱。

--created

請等候在 'Succeeded' 使用 'provisioningState' 建立。

預設值: False
--custom

等到條件符合自訂 JMESPath 查詢為止。 例如 provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running']。

--deleted

等到刪除為止。

預設值: False
--exists

等候資源存在。

預設值: False
--ids

一或多個資源識別碼 (以空格分隔)。 它應該是包含 「資源識別碼」引數所有資訊的完整資源識別碼。 您應該提供 --ids 或其他「資源識別碼」引數。

--interval

輪詢間隔以秒為單位。

預設值: 30
--name -n

對等互連連線的名稱。

--peering-name

BGP 對等互連的名稱(亦即 AzurePrivatePeering)。

--resource-group -g

資源組名。 您可以使用 來設定預設群組 az configure --defaults group=<name>

--subscription

訂用帳戶的名稱或識別碼。 您可以使用 來設定預設訂用 az account set -s NAME_OR_ID 帳戶。

--timeout

以秒為單位的等候上限。

預設值: 3600
--updated

等到 provisioningState 更新為 'Succeeded'。

預設值: False
全域參數
--debug

增加記錄詳細資訊,以顯示所有偵錯記錄。

--help -h

顯示此說明訊息並結束。

--only-show-errors

只顯示錯誤,隱藏警告。

--output -o

輸出格式。

接受的值: json, jsonc, none, table, tsv, yaml, yamlc
預設值: json
--query

JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/

--subscription

訂用帳戶的名稱或識別碼。 您可以使用 來設定預設訂用 az account set -s NAME_OR_ID 帳戶。

--verbose

增加記錄詳細資訊。 使用 --debug 來取得完整偵錯記錄。