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 Azure.
- Inheritance
-
azure.mgmt.sql.models._models_py3.TrackedResourceJobAgent
Constructor
JobAgent(*, location: str, tags: Dict[str, str] | None = None, sku: Sku | None = None, database_id: str | None = None, **kwargs)
Parameters
Name | Description |
---|---|
location
Required
|
Required. Resource location. |
tags
Required
|
A set of tags. Resource tags. |
sku
Required
|
The name and tier of the SKU. |
database_id
Required
|
Resource ID of the database to store job metadata in. |
Keyword-Only Parameters
Name | Description |
---|---|
location
Required
|
|
tags
Required
|
|
sku
Required
|
|
database_id
Required
|
|
Variables
Name | Description |
---|---|
id
|
Resource ID. |
name
|
Resource name. |
type
|
Resource type. |
state
|
str or
JobAgentState
The state of the job agent. Possible values include: "Creating", "Ready", "Updating", "Deleting", "Disabled". |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Python