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
|
Resource location. Required. |
|
tags
|
Resource tags. Default value: None
|
|
sku
|
The name and tier of the SKU. Default value: None
|
|
database_id
|
Resource ID of the database to store job metadata in. Default value: None
|
Variables
| Name | Description |
|---|---|
|
id
|
Resource ID. |
|
name
|
Resource name. |
|
type
|
Resource type. |
|
location
|
Resource location. Required. |
|
tags
|
Resource tags. |
|
sku
|
The name and tier of the SKU. |
|
database_id
|
Resource ID of the database to store job metadata in. |
|
state
|
str or
JobAgentState
The state of the job agent. Known values are: "Creating", "Ready", "Updating", "Deleting", and "Disabled". |