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

az sf managed-application-type

管理 Azure Service Fabric 群集上的应用程序类型。

命令

名称 说明 类型 状态
az sf managed-application-type create

在 Azure Service Fabric 托管群集上创建新的托管应用程序类型。

核心 GA
az sf managed-application-type delete

删除托管应用程序类型。

核心 GA
az sf managed-application-type list

列出给定托管群集的托管应用程序类型。

核心 GA
az sf managed-application-type show

显示 Azure Service Fabric 托管群集上托管应用程序类型的属性。

核心 GA
az sf managed-application-type update

更新托管应用程序类型。

核心 GA
az sf managed-application-type version

管理 Azure Service Fabric 托管群集上的应用程序类型版本。 仅支持 ARM 部署的应用程序类型版本。

核心 GA
az sf managed-application-type version create

在 Azure Service Fabric 托管群集上创建新的托管应用程序类型。

核心 GA
az sf managed-application-type version delete

删除托管应用程序类型版本。

核心 GA
az sf managed-application-type version list

列出给定托管应用程序类型的版本。

核心 GA
az sf managed-application-type version show

显示 Azure Service Fabric 托管群集上托管应用程序类型版本的属性。

核心 GA
az sf managed-application-type version update

更新托管应用程序类型版本。

核心 GA

az sf managed-application-type create

在 Azure Service Fabric 托管群集上创建新的托管应用程序类型。

az sf managed-application-type create --application-type-name
                                      --cluster-name
                                      --resource-group
                                      [--tags]

示例

创建新的托管应用程序类型。

az sf managed-application-type create -g testRG -c testCluster --application-type-name testAppType

必需参数

--application-type-name --name

指定应用程序类型名称。

--cluster-name -c

指定群集的名称(如果未指定),则与资源组名称相同。

--resource-group -g

指定资源组名称。 可以使用 az configure --defaults group=<name> 配置默认组。

可选参数

--tags

空格分隔标记:key[=value] [key[=value] ...]。使用“”清除现有标记。

全局参数
--debug

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

--help -h

显示此帮助消息并退出。

--only-show-errors

只显示错误,取消显示警告。

--output -o

输出格式。

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

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

--subscription

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

--verbose

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

az sf managed-application-type delete

删除托管应用程序类型。

az sf managed-application-type delete --application-type-name
                                      --cluster-name
                                      --resource-group

示例

删除托管应用程序类型。

az sf managed-application-type delete -g testRG -c testCluster --application-type-name CalcServiceApp

必需参数

--application-type-name --name

指定应用程序类型名称。

--cluster-name -c

指定群集的名称(如果未指定),则与资源组名称相同。

--resource-group -g

指定资源组名称。 可以使用 az configure --defaults group=<name> 配置默认组。

全局参数
--debug

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

--help -h

显示此帮助消息并退出。

--only-show-errors

只显示错误,取消显示警告。

--output -o

输出格式。

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

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

--subscription

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

--verbose

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

az sf managed-application-type list

列出给定托管群集的托管应用程序类型。

az sf managed-application-type list --cluster-name
                                    --resource-group

示例

列出给定托管群集的托管应用程序类型。

az sf managed-application-type list -g testRG -c testCluster

必需参数

--cluster-name -c

指定群集的名称(如果未指定),则与资源组名称相同。

--resource-group -g

指定资源组名称。 可以使用 az configure --defaults group=<name> 配置默认组。

全局参数
--debug

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

--help -h

显示此帮助消息并退出。

--only-show-errors

只显示错误,取消显示警告。

--output -o

输出格式。

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

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

--subscription

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

--verbose

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

az sf managed-application-type show

显示 Azure Service Fabric 托管群集上托管应用程序类型的属性。

az sf managed-application-type show --application-type-name
                                    --cluster-name
                                    --resource-group

示例

获取托管应用程序类型。

az sf managed-application-type show -g testRG -c testCluster --application-type-name CalcServiceApp

必需参数

--application-type-name --name

指定应用程序类型名称。

--cluster-name -c

指定群集的名称(如果未指定),则与资源组名称相同。

--resource-group -g

指定资源组名称。 可以使用 az configure --defaults group=<name> 配置默认组。

全局参数
--debug

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

--help -h

显示此帮助消息并退出。

--only-show-errors

只显示错误,取消显示警告。

--output -o

输出格式。

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

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

--subscription

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

--verbose

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

az sf managed-application-type update

更新托管应用程序类型。

这允许更新应用程序类型标记。

az sf managed-application-type update --application-type-name
                                      --cluster-name
                                      --resource-group
                                      [--tags]

示例

更新应用程序类型标记。

az sf managed-application-type update -g testRG -c testCluster --application-type-name CalcServiceApp --tags new=tags are=nice

必需参数

--application-type-name --name

指定应用程序类型名称。

--cluster-name -c

指定群集的名称(如果未指定),则与资源组名称相同。

--resource-group -g

指定资源组名称。 可以使用 az configure --defaults group=<name> 配置默认组。

可选参数

--tags

空格分隔标记:key[=value] [key[=value] ...]。使用“”清除现有标记。

全局参数
--debug

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

--help -h

显示此帮助消息并退出。

--only-show-errors

只显示错误,取消显示警告。

--output -o

输出格式。

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

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

--subscription

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

--verbose

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