Condividi tramite


JobAgent Class

An Azure SQL job agent.

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

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

Constructor

JobAgent(*, location: str, tags: dict[str, str] | None = None, sku: _models.Sku | None = None, database_id: str | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
location
str

Resource location. Required.

tags

Resource tags.

Default value: None
sku
Sku

The name and tier of the SKU.

Default value: None
database_id
str

Resource ID of the database to store job metadata in.

Default value: None

Variables

Name Description
id
str

Resource ID.

name
str

Resource name.

type
str

Resource type.

location
str

Resource location. Required.

tags

Resource tags.

sku
Sku

The name and tier of the SKU.

database_id
str

Resource ID of the database to store job metadata in.

state

The state of the job agent. Known values are: "Creating", "Ready", "Updating", "Deleting", and "Disabled".