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: Dict[str, str] | None = None, sku: Sku | None = None, database_id: str | None = None, **kwargs)

Parameters

Name Description
location
Required
str

Required. Resource location.

tags
Required

A set of tags. Resource tags.

sku
Required
Sku

The name and tier of the SKU.

database_id
Required
str

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
str

Resource ID.

name
str

Resource name.

type
str

Resource type.

state

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