az batch application package

Manage Batch application packages.

Commands

az batch application package activate

Activates a Batch application package.

az batch application package create

Create a Batch application package record and activate it.

az batch application package delete

Deletes an application package record and its associated binary file.

az batch application package list

Lists all of the application packages in the specified application.

az batch application package show

Gets information about the specified application package.

az batch application package activate

Activates a Batch application package.

This step is unnecessary if the package has already been successfully activated by the create command.

az batch application package activate --application-name
                                      --format
                                      --name
                                      --resource-group
                                      --version-name
                                      [--subscription]

Required Parameters

--application-name

The name of the application. This must be unique within the account.

--format

The format of the application package binary file.

--name -n

Name of the Batch account.

--resource-group -g

Name of the resource group.

--version-name

The version of the application.

Optional Parameters

--subscription

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

az batch application package create

Create a Batch application package record and activate it.

az batch application package create --application-name
                                    --name
                                    --package-file
                                    --resource-group
                                    --version-name
                                    [--subscription]

Required Parameters

--application-name

The name of the application.

--name -n

Name of the Batch account.

--package-file

The path of the application package in zip format.

--resource-group -g

Name of the resource group.

--version-name

The version name of the application.

Optional Parameters

--subscription

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

az batch application package delete

Deletes an application package record and its associated binary file.

az batch application package delete --application-name
                                    --name
                                    --resource-group
                                    --version-name
                                    [--subscription]
                                    [--yes]

Required Parameters

--application-name

The name of the application. This must be unique within the account.

--name -n

Name of the Batch account.

--resource-group -g

Name of the resource group.

--version-name

The version of the application.

Optional Parameters

--subscription

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

--yes -y

Do not prompt for confirmation.

az batch application package list

Lists all of the application packages in the specified application.

az batch application package list --application-name
                                  --name
                                  --resource-group
                                  [--maxresults]
                                  [--query-examples]
                                  [--subscription]

Required Parameters

--application-name

The name of the application. This must be unique within the account.

--name -n

Name of the Batch account.

--resource-group -g

Name of the resource group.

Optional Parameters

--maxresults

The maximum number of items to return in the response.

--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 batch application package show

Gets information about the specified application package.

az batch application package show --application-name
                                  --name
                                  --resource-group
                                  --version-name
                                  [--query-examples]
                                  [--subscription]

Required Parameters

--application-name

The name of the application. This must be unique within the account.

--name -n

Name of the Batch account.

--resource-group -g

Name of the resource group.

--version-name

The version of the application.

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.