az fluid-relay server
Note
此參考是 Azure CLI (2.39.0 版或更新版本) 的流暢轉接 延伸模組的一部分。 當您第一次執行 az fluid-relay server 命令時,擴充功能會自動安裝。 深入了解擴充功能。
管理流暢轉接伺服器。
命令
| 名稱 | Description | 類型 | 狀態 |
|---|---|---|---|
| az fluid-relay server create |
建立 Fluid Relay 伺服器。 |
Extension | GA |
| az fluid-relay server delete |
刪除 Fluid Relay 伺服器。 |
Extension | GA |
| az fluid-relay server list |
列出所有流轉轉伺服器。 |
Extension | GA |
| az fluid-relay server list-key |
取得此伺服器的主要和次要金鑰。 |
Extension | GA |
| az fluid-relay server regenerate-key |
重新產生此伺服器的主要或次要金鑰。 |
Extension | GA |
| az fluid-relay server show |
取得流暢轉接伺服器。 |
Extension | GA |
| az fluid-relay server update |
更新 Fluid Relay 伺服器。 |
Extension | GA |
az fluid-relay server create
建立 Fluid Relay 伺服器。
az fluid-relay server create --name --server-name
--resource-group
[--identity]
[--key-identity]
[--key-url]
[--location]
[--provisioning-state {Canceled, Failed, Succeeded}]
[--sku {basic, standard}]
[--tags]
範例
FluidRelayServer_Create
az fluid-relay server create -n TestFluidRelay -l westus2 -g MyResourceGroup --sku standard --tags category=sales --identity type="SystemAssigned"
az fluid-relay server create -n TestFluidRelay -l westus2 -g MyResourceGroup --sku standard --tags category=sales --identity type="SystemAssigned, UserAssigned" user-assigned-identities={"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2"}
必要參數
Fluid Relay 伺服器資源名稱。
資源組名。 您可以使用 az configure --defaults group=<name>來設定預設群組。
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
用於資源的身分識別類型。 支援速記語法、json-file 和 yaml-file。 請嘗試 “??” 以顯示更多。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Arguments |
客戶管理的金鑰設定的所有身分識別組態,定義應用來驗證 Key Vault 的身分識別。 支援速記語法、json-file 和 yaml-file。 請嘗試 “??” 以顯示更多。
| 屬性 | 值 |
|---|---|
| 參數群組: | CustomerManagedKeyEncryption Arguments |
金鑰加密金鑰 URL,包含或不含版本。 例如:https://contosovault.vault.azure.net/keys/contosokek/562a4bb76b524a1493a6afe8e536ee78 或 https://contosovault.vault.azure.net/keys/contosokek。 金鑰自動輪替是藉由提供沒有版本的金鑰 URI 來啟用。 否則,客戶須負責輪替密鑰。 keyEncryptionKeyIdentity(SystemAssigned 或 UserAssigned) 應該具有存取此密鑰 URL 的許可權。
| 屬性 | 值 |
|---|---|
| 參數群組: | CustomerManagedKeyEncryption Arguments |
未指定資源所在的地理位置,將會使用資源群組的位置。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Arguments |
為 FluidRelay RP 布建狀態。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 接受的值: | Canceled, Failed, Succeeded |
與資源相關聯的記憶體 SKU。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 接受的值: | basic, standard |
資源標籤。 支援速記語法、json-file 和 yaml-file。 請嘗試 “??” 以顯示更多。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Arguments |
全域參數
提高日誌詳細程度以顯示所有調試日誌。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
輸出格式。
| 屬性 | 值 |
|---|---|
| 預設值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
az fluid-relay server delete
刪除 Fluid Relay 伺服器。
az fluid-relay server delete [--ids]
[--name --server-name]
[--resource-group]
[--subscription]
[--yes]
範例
FluidRelayServer_Delete
az fluid-relay server delete -n testFluidRelay -g MyResourceGroup -y
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
一或多個資源識別碼(以空格分隔)。 它應該是包含 「資源標識碼」自變數所有資訊的完整資源識別碼。 您應該提供 --ids 或其他「資源識別碼」自變數。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
Fluid Relay 伺服器資源名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
資源組名。 您可以使用 az configure --defaults group=<name>來設定預設群組。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
請勿提示確認。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
全域參數
提高日誌詳細程度以顯示所有調試日誌。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
輸出格式。
| 屬性 | 值 |
|---|---|
| 預設值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
az fluid-relay server list
列出所有流轉轉伺服器。
az fluid-relay server list [--resource-group]
範例
FluidRelayServer_List
az fluid-relay server list --subscription 00000000-0000-0000-0000-000000000000
az fluid-relay server list -g MyResourceGroup
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
包含資源的資源群組。
全域參數
提高日誌詳細程度以顯示所有調試日誌。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
輸出格式。
| 屬性 | 值 |
|---|---|
| 預設值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
az fluid-relay server list-key
取得此伺服器的主要和次要金鑰。
az fluid-relay server list-key --resource-group
--server-name
範例
FluidRelayServer_List-key
az fluid-relay server list-key -g MyResourceGroup --server-name MyServerName
必要參數
包含資源的資源群組。
Fluid Relay 伺服器資源名稱。
全域參數
提高日誌詳細程度以顯示所有調試日誌。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
輸出格式。
| 屬性 | 值 |
|---|---|
| 預設值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
az fluid-relay server regenerate-key
重新產生此伺服器的主要或次要金鑰。
az fluid-relay server regenerate-key --key-name {key1, key2}
--resource-group
--server-name
範例
FluidRelayServer_Regenerate-key
az fluid-relay server regenerate-key -g MyResourceGroup --server-name MyServerName --key-name key1
必要參數
要重新產生的金鑰。
| 屬性 | 值 |
|---|---|
| 參數群組: | Parameters Arguments |
| 接受的值: | key1, key2 |
包含資源的資源群組。
Fluid Relay 伺服器資源名稱。
全域參數
提高日誌詳細程度以顯示所有調試日誌。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
輸出格式。
| 屬性 | 值 |
|---|---|
| 預設值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
az fluid-relay server show
取得流暢轉接伺服器。
az fluid-relay server show [--ids]
[--name --server-name]
[--resource-group]
[--subscription]
範例
FluidRelayServer_Show
az fluid-relay server show -g MyResourceGroup -n MyFluidRelay
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
一或多個資源識別碼(以空格分隔)。 它應該是包含 「資源標識碼」自變數所有資訊的完整資源識別碼。 您應該提供 --ids 或其他「資源識別碼」自變數。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
Fluid Relay 伺服器資源名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
資源組名。 您可以使用 az configure --defaults group=<name>來設定預設群組。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
全域參數
提高日誌詳細程度以顯示所有調試日誌。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
輸出格式。
| 屬性 | 值 |
|---|---|
| 預設值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
az fluid-relay server update
更新 Fluid Relay 伺服器。
az fluid-relay server update [--identity]
[--ids]
[--key-identity]
[--key-url]
[--location]
[--name --server-name]
[--resource-group]
[--subscription]
[--tags]
範例
FluidRelayServer_Update
az fluid-relay server update -n MyFluidRelay -l westus2 -g MyResourceGroup --tags category=sale
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
用於資源的身分識別類型。 支援速記語法、json-file 和 yaml-file。 請嘗試 “??” 以顯示更多。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Arguments |
一或多個資源識別碼(以空格分隔)。 它應該是包含 「資源標識碼」自變數所有資訊的完整資源識別碼。 您應該提供 --ids 或其他「資源識別碼」自變數。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
客戶管理的金鑰設定的所有身分識別組態,定義應用來驗證 Key Vault 的身分識別。 支援速記語法、json-file 和 yaml-file。 請嘗試 “??” 以顯示更多。
| 屬性 | 值 |
|---|---|
| 參數群組: | CustomerManagedKeyEncryption Arguments |
金鑰加密金鑰 URL,包含或不含版本。 例如:https://contosovault.vault.azure.net/keys/contosokek/562a4bb76b524a1493a6afe8e536ee78 或 https://contosovault.vault.azure.net/keys/contosokek。 金鑰自動輪替是藉由提供沒有版本的金鑰 URI 來啟用。 否則,客戶須負責輪替密鑰。 keyEncryptionKeyIdentity(SystemAssigned 或 UserAssigned) 應該具有存取此密鑰 URL 的許可權。
| 屬性 | 值 |
|---|---|
| 參數群組: | CustomerManagedKeyEncryption Arguments |
資源所在的地理位置。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Arguments |
Fluid Relay 伺服器資源名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
資源組名。 您可以使用 az configure --defaults group=<name>來設定預設群組。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
資源標籤。 支援速記語法、json-file 和 yaml-file。 請嘗試 “??” 以顯示更多。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Arguments |
全域參數
提高日誌詳細程度以顯示所有調試日誌。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
輸出格式。
| 屬性 | 值 |
|---|---|
| 預設值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
| 屬性 | 值 |
|---|---|
| 預設值: | False |