az network dns record-set aaaa
管理 DNS AAAA 記錄。
命令
名稱 | Description | 類型 | 狀態 |
---|---|---|---|
az network dns record-set aaaa add-record |
新增AAAA記錄。 |
Core | GA |
az network dns record-set aaaa create |
建立AAAA記錄集。 |
Core | GA |
az network dns record-set aaaa delete |
刪除AAAA記錄集。 |
Core | GA |
az network dns record-set aaaa list |
列出區域中的AAAA記錄集。 |
Core | GA |
az network dns record-set aaaa remove-record |
從其記錄集移除AAAA記錄。 |
Core | GA |
az network dns record-set aaaa show |
取得AAAA記錄集。 |
Core | GA |
az network dns record-set aaaa update |
更新AAAA記錄集。 |
Core | GA |
az network dns record-set aaaa add-record
新增AAAA記錄。
az network dns record-set aaaa add-record --ipv6-address
--record-set-name
--resource-group
--zone-name
[--if-none-match]
[--ttl]
範例
新增AAAA記錄。
az network dns record-set aaaa add-record -g MyResourceGroup -z www.mysite.com \
-n MyRecordSet -a MyIpv6Address
必要參數
字串表示法中的 IPv6 位址。
相對於區域之記錄集的名稱。 如果一個記錄集不存在,則建立新的記錄集。
資源組名。 您可以使用 az configure --defaults group=<name>
來設定預設群組。
區域的名稱。
選擇性參數
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
只有在記錄集不存在時,才建立記錄集。
記錄集 TTL (存留時間)。
屬性 | 值 |
---|---|
預設值: | 3600 |
全域參數
提高日誌詳細程度以顯示所有調試日誌。
屬性 | 值 |
---|---|
預設值: | 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 network dns record-set aaaa create
建立AAAA記錄集。
az network dns record-set aaaa create --name
--resource-group
--zone-name
[--if-match]
[--if-none-match]
[--metadata]
[--target-resource]
[--tm-profile --traffic-management-profile]
[--ttl]
範例
建立AAAA記錄集。
az network dns record-set aaaa create -g MyResourceGroup -z www.mysite.com -n MyRecordSet --metadata owner=WebTeam
必要參數
記錄集的名稱,相對於區域的名稱。
資源組名。 您可以使用 az configure --defaults group=<name>
來設定預設群組。
DNS 區域的名稱(不含終止點)。
選擇性參數
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
記錄集的 etag。 請省略此值,以一律覆寫目前的記錄集。 指定最後看到的 etag 值,以防止意外覆寫任何並行變更。
設定為 『*』 以允許建立新的記錄集,但為了避免更新現有的記錄集。 將會忽略其他值。
附加至記錄集的元數據。 支援速記語法、json-file 和 yaml-file。 請嘗試 “??” 以顯示更多。
屬性 | 值 |
---|---|
Parameter group: | Properties Arguments |
從中取得 DNS 資源值的 Azure 資源識別碼。
從其中取得 DNS 資源值的 Azure 流量管理員配置檔資源的參考。
記錄集中記錄的 TTL(存留時間)。
屬性 | 值 |
---|---|
Parameter group: | Properties Arguments |
預設值: | 3600 |
全域參數
提高日誌詳細程度以顯示所有調試日誌。
屬性 | 值 |
---|---|
預設值: | 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 network dns record-set aaaa delete
刪除AAAA記錄集。
az network dns record-set aaaa delete [--ids]
[--if-match]
[--name]
[--resource-group]
[--subscription]
[--yes]
[--zone-name]
範例
刪除AAAA記錄集。
az network dns record-set aaaa delete -g MyResourceGroup -z www.mysite.com -n MyRecordSet
選擇性參數
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
一或多個資源識別碼(以空格分隔)。 它應該是包含 「資源標識碼」自變數所有資訊的完整資源識別碼。 您應該提供 --ids 或其他「資源識別碼」自變數。
屬性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
記錄集的 Etag。 請省略此值以一律刪除目前的記錄集。 指定最後看到的 etag 值,以防止意外刪除任何並行變更。
記錄集的名稱,相對於區域的名稱。
屬性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
資源組名。 您可以使用 az configure --defaults group=<name>
來設定預設群組。
屬性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID
來設定預設訂用帳戶。
屬性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
請勿提示確認。
屬性 | 值 |
---|---|
預設值: | False |
DNS 區域的名稱。
屬性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
全域參數
提高日誌詳細程度以顯示所有調試日誌。
屬性 | 值 |
---|---|
預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
屬性 | 值 |
---|---|
預設值: | False |
Output format.
屬性 | 值 |
---|---|
預設值: | json |
接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
屬性 | 值 |
---|---|
預設值: | False |
az network dns record-set aaaa list
列出區域中的AAAA記錄集。
az network dns record-set aaaa list --resource-group
--zone-name
[--max-items]
[--next-token]
[--recordsetnamesuffix]
[--top]
範例
列出區域中的AAAA記錄集。
az network dns record-set aaaa list -g MyResourceGroup -z www.mysite.com
必要參數
資源組名。 您可以使用 az configure --defaults group=<name>
來設定預設群組。
DNS 區域的名稱(不含終止點)。
選擇性參數
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
命令輸出中要傳回的項目總數。 如果可用的專案總數超過指定的值,則會在命令的輸出中提供令牌。 若要繼續分頁,請在後續命令的 --next-token
自變數中提供令牌值。
屬性 | 值 |
---|---|
Parameter group: | Pagination Arguments |
標記,指定要開始分頁的位置。 這是先前截斷回應中的令牌值。
屬性 | 值 |
---|---|
Parameter group: | Pagination Arguments |
記錄集名稱的後綴標籤,必須用來篩選記錄集列舉。 如果指定此參數,列舉只會傳回結尾為 .<recordSetNameSuffix>
的記錄。
要傳回的記錄集數目上限。 如果未指定,則最多會傳回 100 筆記錄集。
全域參數
提高日誌詳細程度以顯示所有調試日誌。
屬性 | 值 |
---|---|
預設值: | 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 network dns record-set aaaa remove-record
從其記錄集移除AAAA記錄。
根據預設,如果移除集合中的最後一筆記錄,則會刪除記錄集。 若要保留空白記錄集,請包含 --keep-empty-record-set。
az network dns record-set aaaa remove-record --ipv6-address
--record-set-name
--resource-group
--zone-name
[--keep-empty-record-set]
範例
從其記錄集移除AAAA記錄。
az network dns record-set aaaa remove-record -g MyResourceGroup -z www.mysite.com \
-n MyRecordSet -a MyIpv6Address
必要參數
字串表示法中的 IPv6 位址。
相對於區域之記錄集的名稱。
資源組名。 您可以使用 az configure --defaults group=<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 |
Output format.
屬性 | 值 |
---|---|
預設值: | json |
接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID
來設定預設訂用帳戶。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
屬性 | 值 |
---|---|
預設值: | False |
az network dns record-set aaaa show
取得AAAA記錄集。
az network dns record-set aaaa show [--ids]
[--name]
[--resource-group]
[--subscription]
[--zone-name]
範例
取得AAAA記錄集。
az network dns record-set aaaa show -g MyResourceGroup -z www.mysite.com -n MyRecordSet
選擇性參數
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
一或多個資源識別碼(以空格分隔)。 它應該是包含 「資源標識碼」自變數所有資訊的完整資源識別碼。 您應該提供 --ids 或其他「資源識別碼」自變數。
屬性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
記錄集的名稱,相對於區域的名稱。
屬性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
資源組名。 您可以使用 az configure --defaults group=<name>
來設定預設群組。
屬性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID
來設定預設訂用帳戶。
屬性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
DNS 區域的名稱。
屬性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
全域參數
提高日誌詳細程度以顯示所有調試日誌。
屬性 | 值 |
---|---|
預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
屬性 | 值 |
---|---|
預設值: | False |
Output format.
屬性 | 值 |
---|---|
預設值: | json |
接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
屬性 | 值 |
---|---|
預設值: | False |
az network dns record-set aaaa update
更新AAAA記錄集。
az network dns record-set aaaa update [--add]
[--force-string {0, 1, f, false, n, no, t, true, y, yes}]
[--ids]
[--if-match]
[--if-none-match]
[--metadata]
[--name]
[--remove]
[--resource-group]
[--set]
[--subscription]
[--target-resource]
[--tm-profile --traffic-management-profile]
[--zone-name]
範例
更新AAAA記錄集。
az network dns record-set aaaa update -g MyResourceGroup -z www.mysite.com -n MyRecordSet --metadata owner=WebTeam
選擇性參數
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
藉由指定路徑和索引鍵值組,將物件加入物件清單。 範例: --add property.listProperty <key=value, string or JSON string>
.
屬性 | 值 |
---|---|
Parameter group: | Generic Update Arguments |
使用 'set' 或 'add' 時,請保留字串常值,而不是嘗試轉換成 JSON。
屬性 | 值 |
---|---|
Parameter group: | Generic Update Arguments |
接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
一或多個資源識別碼(以空格分隔)。 它應該是包含 「資源標識碼」自變數所有資訊的完整資源識別碼。 您應該提供 --ids 或其他「資源識別碼」自變數。
屬性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
記錄集的 Etag。 請省略此值,以一律覆寫目前的記錄集。 指定最後看到的 etag 值,以防止意外覆寫任何並行變更。
設定為 *
以允許建立新的記錄集,但為了避免更新現有的記錄集。 將會忽略其他值。
以空格分隔的鍵值對中的元數據。 這會覆寫任何現有的元數據。 支援速記語法、json-file 和 yaml-file。 請嘗試 “??” 以顯示更多。
記錄集的名稱,相對於區域的名稱。
屬性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
從清單中移除屬性或專案。 範例: --remove property.list <indexToRemove>
或 --remove propertyToRemove
。
屬性 | 值 |
---|---|
Parameter group: | Generic Update Arguments |
資源組名。 您可以使用 az configure --defaults group=<name>
來設定預設群組。
屬性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
指定要設定的屬性路徑和值,以更新物件。 範例: --set property1.property2=<value>
.
屬性 | 值 |
---|---|
Parameter group: | Generic Update Arguments |
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID
來設定預設訂用帳戶。
屬性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
從中取得 DNS 資源值的 Azure 資源識別碼。
從其中取得 DNS 資源值的 Azure 流量管理員配置檔資源的參考。
DNS 區域的名稱。
屬性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
全域參數
提高日誌詳細程度以顯示所有調試日誌。
屬性 | 值 |
---|---|
預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
屬性 | 值 |
---|---|
預設值: | False |
Output format.
屬性 | 值 |
---|---|
預設值: | json |
接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
屬性 | 值 |
---|---|
預設值: | False |