az edgeorder address
Note
This reference is part of the edgeorder extension for the Azure CLI (version 2.15.0 or higher). 该扩展会在首次运行 az edgeorder address 命令时自动安装。 Learn more about extensions.
使用 edgeorder 子组地址管理地址。
命令
名称 | 说明 | 类型 | Status |
---|---|---|---|
az edgeorder address create |
使用指定的参数创建新地址。 可以使用此 API 更新现有地址。 |
Extension | GA |
az edgeorder address delete |
删除地址。 |
Extension | GA |
az edgeorder address list |
列出给定资源组下可用的所有地址。 并列出订阅下可用的所有地址。 |
Extension | GA |
az edgeorder address show |
获取有关指定地址的信息。 |
Extension | GA |
az edgeorder address update |
更新现有地址的属性。 |
Extension | GA |
az edgeorder address wait |
将 CLI 置于等待状态,直到满足地址条件。 |
Extension | GA |
az edgeorder address create
使用指定的参数创建新地址。 可以使用此 API 更新现有地址。
az edgeorder address create --address-name --name
--contact-details
--resource-group
[--location]
[--no-wait]
[--shipping-address]
[--tags]
示例
CreateAddress
az edgeorder address create --name "TestMSAddressName" --location "eastus" --contact-details contact-name="Petr Cech" email-list="testemail@microsoft.com" phone="1234567890" phone-extension="" --shipping-address address-type="None" city="San Francisco" company-name="Microsoft" country="US" postal-code="94107" state-or-province="CA" street-address1="16 TOWNSEND ST" street-address2="UNIT 1" --resource-group "TestRG"
必需参数
指定资源组中的地址资源的名称。 地址名称的长度必须介于 3 到 24 个字符之间,并且仅使用任何字母数字和下划线。
地址的联系人详细信息。
使用情况:--contact-details contact-name=XX phone=XX phone-extension=XX mobile=XX email-list=XX
contact-name: Required. 联系人的联系人姓名。 phone: Required. 联系人的电话号码。 电话分机:联系人的电话号码。 移动:联系人的移动电话号码。 email-list: Required. 要通知有关作业进度的电子邮件 ID 的列表。
资源组的名称。 可以使用 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.
Location.
az account list-locations
中的值。 可以使用 az configure --defaults location=<location>
配置默认位置。
不等待长时间运行的操作完成。
属性 | 值 |
---|---|
默认值: | False |
地址的寄送详细信息。
用法:--shipping-address street-address1=XX street-address2=XX street-address3=XX city=XX state-or-province=XX country=XX 邮政编码=XX zip-extended-code=XX company-name=XX address-type=XX
street-address1: Required. 街道地址行 1。 street-address2:街道地址行 2。 street-address3:街道地址行 3。 city:City 的名称。 州或省:州或省的名称。 country: Required. 国家/地区的名称。 邮政编码:邮政编码。 zip-extended-code:扩展的邮政编码。 公司名称:公司名称。 address-type:地址类型。
空格分隔标记:key[=value] [key[=value] ...]。使用“”清除现有标记。
全局参数
提高日志记录详细程度以显示所有调试日志。
属性 | 值 |
---|---|
默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
属性 | 值 |
---|---|
默认值: | False |
Output format.
属性 | 值 |
---|---|
默认值: | json |
接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID
配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
属性 | 值 |
---|---|
默认值: | False |
az edgeorder address delete
删除地址。
az edgeorder address delete [--address-name --name]
[--ids]
[--no-wait]
[--resource-group]
[--subscription]
[--yes]
示例
DeleteAddressByName
az edgeorder address delete --name "TestAddressName1" --resource-group "TestRG"
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
指定资源组中的地址资源的名称。 地址名称的长度必须介于 3 到 24 个字符之间,并且仅使用任何字母数字和下划线。
属性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
一个或多个资源 ID(以空格分隔)。 它应该是包含“Resource Id”参数的所有信息的完整资源 ID。 应提供 --ids 或其他“Resource Id”参数。
属性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
不等待长时间运行的操作完成。
属性 | 值 |
---|---|
默认值: | False |
资源组的名称。 可以使用 az configure --defaults group=<name>
配置默认组。
属性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID
配置默认订阅。
属性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
不要提示确认。
属性 | 值 |
---|---|
默认值: | False |
全局参数
提高日志记录详细程度以显示所有调试日志。
属性 | 值 |
---|---|
默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
属性 | 值 |
---|---|
默认值: | False |
Output format.
属性 | 值 |
---|---|
默认值: | json |
接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
属性 | 值 |
---|---|
默认值: | False |
az edgeorder address list
列出给定资源组下可用的所有地址。 并列出订阅下可用的所有地址。
az edgeorder address list [--filter]
[--resource-group]
[--skip-token]
示例
ListAddressesAtResourceGroupLevel
az edgeorder address list --resource-group "TestRG"
ListAddressesAtSubscriptionLevel
az edgeorder address list
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
支持$filter根据寄送地址属性进行筛选。 筛选器仅支持等于作。
资源组的名称。 可以使用 az configure --defaults group=<name>
配置默认组。
获取地址列表支持$skipToken,该列表提供地址列表中的下一页。
全局参数
提高日志记录详细程度以显示所有调试日志。
属性 | 值 |
---|---|
默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
属性 | 值 |
---|---|
默认值: | False |
Output format.
属性 | 值 |
---|---|
默认值: | json |
接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID
配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
属性 | 值 |
---|---|
默认值: | False |
az edgeorder address show
获取有关指定地址的信息。
az edgeorder address show [--address-name --name]
[--ids]
[--resource-group]
[--subscription]
示例
GetAddressByName
az edgeorder address show --name "TestMSAddressName" --resource-group "TestRG"
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
指定资源组中的地址资源的名称。 地址名称的长度必须介于 3 到 24 个字符之间,并且仅使用任何字母数字和下划线。
属性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
一个或多个资源 ID(以空格分隔)。 它应该是包含“Resource Id”参数的所有信息的完整资源 ID。 应提供 --ids 或其他“Resource Id”参数。
属性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
资源组的名称。 可以使用 az configure --defaults group=<name>
配置默认组。
属性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID
配置默认订阅。
属性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
全局参数
提高日志记录详细程度以显示所有调试日志。
属性 | 值 |
---|---|
默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
属性 | 值 |
---|---|
默认值: | False |
Output format.
属性 | 值 |
---|---|
默认值: | json |
接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
属性 | 值 |
---|---|
默认值: | False |
az edgeorder address update
更新现有地址的属性。
az edgeorder address update [--address-name --name]
[--contact-details]
[--ids]
[--if-match]
[--no-wait]
[--resource-group]
[--shipping-address]
[--subscription]
[--tags]
示例
UpdateAddress
az edgeorder address update --name "TestAddressName2" --contact-details contact-name="Petr Cech" email-list="ssemcr@microsoft.com" phone="1234567890" phone-extension="" --shipping-address address-type="None" city="San Francisco" company-name="Microsoft" country="US" postal-code="94107" state-or-province="CA" street-address1="16 TOWNSEND STT" street-address2="UNIT 1" --tags Hobby="Web Series Added" Name="Smile-Updated" WhatElse="Web Series Added" Work="Engineering" --resource-group "TestRG"
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
指定资源组中的地址资源的名称。 地址名称的长度必须介于 3 到 24 个字符之间,并且仅使用任何字母数字和下划线。
属性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
地址的联系人详细信息。
使用情况:--contact-details contact-name=XX phone=XX phone-extension=XX mobile=XX email-list=XX
contact-name: Required. 联系人的联系人姓名。 phone: Required. 联系人的电话号码。 电话分机:联系人的电话号码。 移动:联系人的移动电话号码。 email-list: Required. 要通知有关作业进度的电子邮件 ID 的列表。
一个或多个资源 ID(以空格分隔)。 它应该是包含“Resource Id”参数的所有信息的完整资源 ID。 应提供 --ids 或其他“Resource Id”参数。
属性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
定义 If-Match 条件。 仅当服务器上的作业 ETag 与此值匹配时,才会执行修补程序。
不等待长时间运行的操作完成。
属性 | 值 |
---|---|
默认值: | False |
资源组的名称。 可以使用 az configure --defaults group=<name>
配置默认组。
属性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
地址的寄送详细信息。
用法:--shipping-address street-address1=XX street-address2=XX street-address3=XX city=XX state-or-province=XX country=XX 邮政编码=XX zip-extended-code=XX company-name=XX address-type=XX
street-address1: Required. 街道地址行 1。 street-address2:街道地址行 2。 street-address3:街道地址行 3。 city:City 的名称。 州或省:州或省的名称。 country: Required. 国家/地区的名称。 邮政编码:邮政编码。 zip-extended-code:扩展的邮政编码。 公司名称:公司名称。 address-type:地址类型。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID
配置默认订阅。
属性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
空格分隔标记:key[=value] [key[=value] ...]。使用“”清除现有标记。
全局参数
提高日志记录详细程度以显示所有调试日志。
属性 | 值 |
---|---|
默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
属性 | 值 |
---|---|
默认值: | False |
Output format.
属性 | 值 |
---|---|
默认值: | json |
接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
属性 | 值 |
---|---|
默认值: | False |
az edgeorder address wait
将 CLI 置于等待状态,直到满足地址条件。
az edgeorder address wait --address-name
--resource-group
[--created]
[--custom]
[--deleted]
[--exists]
[--interval]
[--timeout]
[--updated]
必需参数
指定资源组中的地址资源的名称。
资源组的名称。 可以使用 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.
等待在“Succeeded”中使用“provisioningState”创建。
属性 | 值 |
---|---|
Parameter group: | Wait Condition Arguments |
默认值: | False |
等待条件满足自定义 JMESPath 查询。 例如 provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running']。
属性 | 值 |
---|---|
Parameter group: | Wait Condition Arguments |
等到删除为止。
属性 | 值 |
---|---|
Parameter group: | Wait Condition Arguments |
默认值: | False |
等待资源存在。
属性 | 值 |
---|---|
Parameter group: | Wait Condition Arguments |
默认值: | False |
轮询间隔(以秒为单位)。
属性 | 值 |
---|---|
Parameter group: | Wait Condition Arguments |
默认值: | 30 |
最大等待(以秒为单位)。
属性 | 值 |
---|---|
Parameter group: | Wait Condition Arguments |
默认值: | 3600 |
等到 provisioningState 更新为“Succeeded”。
属性 | 值 |
---|---|
Parameter group: | Wait Condition Arguments |
默认值: | False |
全局参数
提高日志记录详细程度以显示所有调试日志。
属性 | 值 |
---|---|
默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
属性 | 值 |
---|---|
默认值: | False |
Output format.
属性 | 值 |
---|---|
默认值: | json |
接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID
配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
属性 | 值 |
---|---|
默认值: | False |