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.TrackedResource
JobAgent

Constructor

JobAgent(*, location: str, tags: Optional[Dict[str, str]] = None, sku: Optional[azure.mgmt.sql.models._models_py3.Sku] = None, database_id: Optional[str] = None, **kwargs)

Parameters

location
str
Required

Required. Resource location.

tags
dict[str, str]
Required

A set of tags. Resource tags.

sku
Sku
Required

The name and tier of the SKU.

database_id
str
Required

Resource ID of the database to store job metadata in.

Variables

id
str

Resource ID.

name
str

Resource name.

type
str

Resource type.

state
str or JobAgentState

The state of the job agent. Possible values include: "Creating", "Ready", "Updating", "Deleting", "Disabled".