你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Application Class

Contains information about an application in a Batch account.

Variables are only populated by the server, and will be ignored when sending a request.

Constructor

Application(*, tags: Dict[str, str] | None = None, display_name: str | None = None, allow_updates: bool | None = None, default_version: str | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
tags

The tags of the resource.

Default value: None
display_name
str

The display name for the application.

Default value: None
allow_updates

A value indicating whether packages within the application may be overwritten using the same version string.

Default value: None
default_version
str

The package to use if a client requests the application but does not specify a version. This property can only be set to the name of an existing package.

Default value: None

Variables

Name Description
id
str

The ID of the resource.

name
str

The name of the resource.

type
str

The type of the resource.

etag
str

The ETag of the resource, used for concurrency statements.

tags

The tags of the resource.

display_name
str

The display name for the application.

allow_updates

A value indicating whether packages within the application may be overwritten using the same version string.

default_version
str

The package to use if a client requests the application but does not specify a version. This property can only be set to the name of an existing package.