你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

az partnercenter marketplace offer listing uri

Note

This reference is part of the partnercenter extension for the Azure CLI (version 2.0.67 or higher). 该扩展将在首次运行 az partnercenter marketplace offer list uri 命令时自动安装。 Learn more about extensions.

命令组“partnercenter Marketplace 产品/服务列表”处于预览阶段,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus

管理市场产品/服务列表的 URI。

命令

名称 说明 类型 Status
az partnercenter marketplace offer listing uri add

为市场产品/服务列表添加 URI。

Extension Preview
az partnercenter marketplace offer listing uri delete

删除市场产品/服务列表的 URI。

Extension Preview
az partnercenter marketplace offer listing uri list

列出市场产品/服务列表的 URI。

Extension Preview

az partnercenter marketplace offer listing uri add

预览

命令组“partnercenter Marketplace 产品/服务列表 URI”处于预览状态,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus

为市场产品/服务列表添加 URI。

az partnercenter marketplace offer listing uri add --display-text
                                                   --offer-id
                                                   --subtype
                                                   --type
                                                   --uri
                                                   [--add]
                                                   [--force-string]
                                                   [--remove]
                                                   [--set]

示例

将 URI 添加到产品/服务列表

az partnercenter marketplace offer listing uri add --offer-id MyOfferId --uri https://myuri                     --type PrivacyUri --subtype mySubType --display-text "My Privacy Policy"

必需参数

--display-text

URI 的显示文本。

--offer-id

产品/服务 ID。

--subtype

URI 的子类型。

--type

URI 的类型。

--uri

URI 的值。

可选参数

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--add

通过指定路径和键值对将对象添加到对象列表。 示例:--add property.listProperty <key=value, string or JSON string>

属性
Parameter group: Generic Update Arguments
默认值: []
--force-string

使用“set”或“add”时,保留字符串文本,而不是尝试转换为 JSON。

属性
Parameter group: Generic Update Arguments
默认值: False
--remove

从列表中删除属性或元素。 示例: --remove property.list <indexToRemove> OR --remove propertyToRemove.

属性
Parameter group: Generic Update Arguments
默认值: []
--set

通过指定要设置的属性路径和值来更新对象。 示例:--set property1.property2=<value>

属性
Parameter group: Generic Update Arguments
默认值: []
全局参数
--debug

提高日志记录详细程度以显示所有调试日志。

属性
默认值: False
--help -h

显示此帮助消息并退出。

--only-show-errors

仅显示错误,禁止显示警告。

属性
默认值: False
--output -o

Output format.

属性
默认值: json
接受的值: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/

--subscription

订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。

--verbose

增加日志记录详细程度。 使用 --debug 获取完整的调试日志。

属性
默认值: False

az partnercenter marketplace offer listing uri delete

预览

命令组“partnercenter Marketplace 产品/服务列表 URI”处于预览状态,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus

删除市场产品/服务列表的 URI。

az partnercenter marketplace offer listing uri delete --offer-id
                                                      [--display-text]
                                                      [--subtype]
                                                      [--type]
                                                      [--uri]
                                                      [--yes]

示例

删除产品/服务列表的 URI

az partnercenter marketplace offer listing uri delete --offer-id MyOfferId --uri https://myuri --type PrivacyUri

必需参数

--offer-id

产品/服务 ID。

可选参数

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--display-text

URI 的显示文本。

--subtype

URI 的子类型。

--type

URI 的类型。

--uri

URI 的值。

--yes -y

不要提示确认。

属性
默认值: False
全局参数
--debug

提高日志记录详细程度以显示所有调试日志。

属性
默认值: False
--help -h

显示此帮助消息并退出。

--only-show-errors

仅显示错误,禁止显示警告。

属性
默认值: False
--output -o

Output format.

属性
默认值: json
接受的值: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/

--subscription

订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。

--verbose

增加日志记录详细程度。 使用 --debug 获取完整的调试日志。

属性
默认值: False

az partnercenter marketplace offer listing uri list

预览

命令组“partnercenter Marketplace 产品/服务列表 URI”处于预览状态,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus

列出市场产品/服务列表的 URI。

az partnercenter marketplace offer listing uri list --offer-id

示例

列出产品/服务列表的 URI

az partnercenter marketplace offer listing uri list --offer-id MyOfferId

必需参数

--offer-id

产品/服务 ID。

全局参数
--debug

提高日志记录详细程度以显示所有调试日志。

属性
默认值: False
--help -h

显示此帮助消息并退出。

--only-show-errors

仅显示错误,禁止显示警告。

属性
默认值: False
--output -o

Output format.

属性
默认值: json
接受的值: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/

--subscription

订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。

--verbose

增加日志记录详细程度。 使用 --debug 获取完整的调试日志。

属性
默认值: False