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

Required Parameters

--application-name

The name of the application.

--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 name of the application.

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

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.

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
                                    [--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

--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]

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.

az batch application package show

Gets information about the specified application package.

az batch application package show --application-name
                                  --name
                                  --resource-group
                                  --version-name

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.