az sf managed-application-type version

Manage application type versions on an Azure Service Fabric managed cluster. Only support ARM deployed application type versions.

Commands

Name Description Type Status
az sf managed-application-type version create

Create a new managed application type on an Azure Service Fabric managed cluster.

Core GA
az sf managed-application-type version delete

Delete a managed application type version.

Core GA
az sf managed-application-type version list

List versions of a given managed application type.

Core GA
az sf managed-application-type version show

Show the properties of a managed application type version on an Azure Service Fabric managed cluster.

Core GA
az sf managed-application-type version update

Update a managed application type version.

Core GA

az sf managed-application-type version create

Create a new managed application type on an Azure Service Fabric managed cluster.

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

Examples

Create new managed application type version using the provided package url. The version in the application manifest contained in the package should have the same version as the one specified in --version.

az sf managed-application-type version create -g testRG -c testCluster --application-type-name testAppType \
  --version 1.0 --package-url "https://sftestapp.blob.core.windows.net/sftestapp/testApp_1.0.sfpkg"

Required Parameters

--application-type-name --name

Specify the application type name.

--application-type-version --version

Specify the application type version.

--cluster-name -c

Specify the name of the cluster, if not given it will be same as resource group name.

--package-url

Specify the url of the application package sfpkg file.

--resource-group -g

Specify the resource group name. You can configure the default group using az configure --defaults group=<name>.

Optional Parameters

--tags

Space-separated tags: key[=value] [key[=value] ...]. Use "" to clear existing tags.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

accepted values: json, jsonc, none, table, tsv, yaml, yamlc
default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az sf managed-application-type version delete

Delete a managed application type version.

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

Examples

Delete managed application type version.

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

Required Parameters

--application-type-name --name

Specify the application type name.

--application-type-version --version

Specify the application type version.

--cluster-name -c

Specify the name of the cluster, if not given it will be same as resource group name.

--resource-group -g

Specify the resource group name. You can configure the default group using az configure --defaults group=<name>.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

accepted values: json, jsonc, none, table, tsv, yaml, yamlc
default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az sf managed-application-type version list

List versions of a given managed application type.

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

Examples

List versions for a particular managed application type.

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

Required Parameters

--application-type-name --name

Specify the application type name.

--cluster-name -c

Specify the name of the cluster, if not given it will be same as resource group name.

--resource-group -g

Specify the resource group name. You can configure the default group using az configure --defaults group=<name>.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

accepted values: json, jsonc, none, table, tsv, yaml, yamlc
default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az sf managed-application-type version show

Show the properties of a managed application type version on an Azure Service Fabric managed cluster.

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

Examples

Show the properties of a managed application type version on an Azure Service Fabric managed cluster.

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

Required Parameters

--application-type-name --name

Specify the application type name.

--application-type-version --version

Specify the application type version.

--cluster-name -c

Specify the name of the cluster, if not given it will be same as resource group name.

--resource-group -g

Specify the resource group name. You can configure the default group using az configure --defaults group=<name>.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

accepted values: json, jsonc, none, table, tsv, yaml, yamlc
default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az sf managed-application-type version update

Update a managed application type version.

This allows for updating of application type version tags and the package url.

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

Examples

Update managed application type version.

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

Required Parameters

--application-type-name --name

Specify the application type name.

--application-type-version --version

Specify the application type version.

--cluster-name -c

Specify the name of the cluster, if not given it will be same as resource group name.

--resource-group -g

Specify the resource group name. You can configure the default group using az configure --defaults group=<name>.

Optional Parameters

--package-url

Specify the url of the application package sfpkg file.

--tags

Space-separated tags: key[=value] [key[=value] ...]. Use "" to clear existing tags.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

accepted values: json, jsonc, none, table, tsv, yaml, yamlc
default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.