az sql stg
此命令群組處於預覽狀態,且正在開發中。 參考和支援層級: https://aka.ms/CLI_refstatus
管理伺服器信任群組。
命令
名稱 | Description | 類型 | 狀態 |
---|---|---|---|
az sql stg create |
建立伺服器信任群組。 |
Core | Preview |
az sql stg delete |
刪除伺服器信任群組。 |
Core | Preview |
az sql stg list |
擷取伺服器信任群組的清單。 |
Core | Preview |
az sql stg show |
擷取伺服器信任群組。 |
Core | Preview |
az sql stg create
命令群組 『sql stg』 處於預覽狀態,且正在開發中。 參考和支援層級: https://aka.ms/CLI_refstatus
建立伺服器信任群組。
az sql stg create --group-member
--location
--name
--resource-group
--trust-scope
[--no-wait]
範例
建立伺服器信任群組,其中包含其成員的指定資源標識符。
az sql stg create -g resourcegroup -l location -n stg-name --trust-scope GlobalTransactions -m $mi1-id $mi2-id
必要參數
要成為群組成員的受控實例。 指定資源群組、訂用帳戶標識碼和實例的名稱。
伺服器信任群組的位置名稱。
伺服器信任群組的名稱。
資源組名。
伺服器信任群組的信任範圍。
選擇性參數
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
請勿等候長時間執行的作業完成。
屬性 | 值 |
---|---|
預設值: | False |
全域參數
提高日誌詳細程度以顯示所有調試日誌。
屬性 | 值 |
---|---|
預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
屬性 | 值 |
---|---|
預設值: | False |
Output format.
屬性 | 值 |
---|---|
預設值: | json |
接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID
來設定預設訂用帳戶。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
屬性 | 值 |
---|---|
預設值: | False |
az sql stg delete
命令群組 『sql stg』 處於預覽狀態,且正在開發中。 參考和支援層級: https://aka.ms/CLI_refstatus
刪除伺服器信任群組。
az sql stg delete --location
--name
--resource-group
[--no-wait]
[--yes]
範例
刪除伺服器信任群組。
az sql stg delete -g resourcegroup -l location -n stg-name
必要參數
伺服器信任群組的位置。
伺服器信任群組的名稱。
資源組名。
選擇性參數
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
請勿等候長時間執行的作業完成。
屬性 | 值 |
---|---|
預設值: | False |
請勿提示確認。
屬性 | 值 |
---|---|
預設值: | False |
全域參數
提高日誌詳細程度以顯示所有調試日誌。
屬性 | 值 |
---|---|
預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
屬性 | 值 |
---|---|
預設值: | False |
Output format.
屬性 | 值 |
---|---|
預設值: | json |
接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID
來設定預設訂用帳戶。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
屬性 | 值 |
---|---|
預設值: | False |
az sql stg list
命令群組 『sql stg』 處於預覽狀態,且正在開發中。 參考和支援層級: https://aka.ms/CLI_refstatus
擷取伺服器信任群組的清單。
az sql stg list --resource-group
[--instance-name]
[--location]
範例
依實例擷取伺服器信任群組的清單。
az sql stg list -g resourcegroup --instance-name mi1-name
依位置擷取伺服器信任群組的清單。
az sql stg list -g resourcegroup -l location
必要參數
資源組名。
選擇性參數
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
受控實例名稱。
屬性 | 值 |
---|---|
Parameter group: | List By Instance Arguments |
伺服器信任群組的位置。
屬性 | 值 |
---|---|
Parameter group: | List By Location Arguments |
全域參數
提高日誌詳細程度以顯示所有調試日誌。
屬性 | 值 |
---|---|
預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
屬性 | 值 |
---|---|
預設值: | False |
Output format.
屬性 | 值 |
---|---|
預設值: | json |
接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID
來設定預設訂用帳戶。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
屬性 | 值 |
---|---|
預設值: | False |
az sql stg show
命令群組 『sql stg』 處於預覽狀態,且正在開發中。 參考和支援層級: https://aka.ms/CLI_refstatus
擷取伺服器信任群組。
az sql stg show --location
--name
--resource-group
範例
擷取伺服器信任群組。
az sql stg show -g resourcegroup -l location -n stg-name
必要參數
伺服器信任群組的位置。
伺服器信任群組的名稱。
資源組名。
全域參數
提高日誌詳細程度以顯示所有調試日誌。
屬性 | 值 |
---|---|
預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
屬性 | 值 |
---|---|
預設值: | False |
Output format.
屬性 | 值 |
---|---|
預設值: | json |
接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID
來設定預設訂用帳戶。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
屬性 | 值 |
---|---|
預設值: | False |