az sf application-type version

Manage application type versions on an Azure Service Fabric cluster.

Commands

az sf application-type version create

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

az sf application-type version delete

Delete an application type version.

az sf application-type version list

List version of a given application type.

az sf application-type version show

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

az sf application-type version create

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

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

Examples

Create new 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 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

--subscription

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

az sf application-type version delete

Delete an application type version.

az sf application-type version delete --application-type-name
                                      --application-type-version
                                      --cluster-name
                                      --resource-group
                                      [--subscription]

Examples

Delete application type version.

az sf 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>.

Optional Parameters

--subscription

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

az sf application-type version list

List version of a given application type.

az sf application-type version list --application-type-name
                                    --cluster-name
                                    --resource-group
                                    [--query-examples]
                                    [--subscription]

Examples

List versions for a particular application type.

az sf 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>.

Optional Parameters

--query-examples

Recommend JMESPath string for you. You can copy one of the query and paste it after --query parameter within double quotation marks to see the results. You can add one or more positional keywords so that we can give suggestions based on these key words.

--subscription

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

az sf application-type version show

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

az sf application-type version show --application-type-name
                                    --application-type-version
                                    --cluster-name
                                    --resource-group
                                    [--query-examples]
                                    [--subscription]

Examples

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

az sf 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>.

Optional Parameters

--query-examples

Recommend JMESPath string for you. You can copy one of the query and paste it after --query parameter within double quotation marks to see the results. You can add one or more positional keywords so that we can give suggestions based on these key words.

--subscription

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