ApplicationPackageReference Class

Link to an application package inside the batch account.

All required parameters must be populated in order to send to server.

Inheritance
azure.mgmt.batch._serialization.Model
ApplicationPackageReference

Constructor

ApplicationPackageReference(*, id: str, version: str | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
id
str

The ID of the application package to install. This must be inside the same batch account as the pool. This can either be a reference to a specific version or the default version if one exists. Required.

version
str

If this is omitted, and no default version is specified for this application, the request fails with the error code InvalidApplicationPackageReferences. If you are calling the REST API directly, the HTTP status code is 409.

Variables

Name Description
id
str

The ID of the application package to install. This must be inside the same batch account as the pool. This can either be a reference to a specific version or the default version if one exists. Required.

version
str

If this is omitted, and no default version is specified for this application, the request fails with the error code InvalidApplicationPackageReferences. If you are calling the REST API directly, the HTTP status code is 409.