Microsoft.Sql servers/jobAgents 2017-03-01-preview

Template format

To create a Microsoft.Sql/servers/jobAgents resource, add the following JSON to the resources section of your template.

{
  "name": "string",
  "type": "Microsoft.Sql/servers/jobAgents",
  "apiVersion": "2017-03-01-preview",
  "location": "string",
  "tags": {},
  "sku": {
    "name": "string",
    "tier": "string",
    "size": "string",
    "family": "string",
    "capacity": "integer"
  },
  "properties": {
    "databaseId": "string"
  },
  "resources": []
}

Property values

The following tables describe the values you need to set in the schema.

Microsoft.Sql/servers/jobAgents object

Name Type Required Value
name string Yes The name of the job agent to be created or updated.
type enum Yes jobAgents
-or-
Microsoft.Sql/servers/jobAgents

See Set name and type for child resources.
apiVersion enum Yes 2017-03-01-preview
location string Yes Resource location.
tags object No Resource tags.
sku object No The name and tier of the SKU. - Sku object
properties object Yes Resource properties. - JobAgentProperties object
resources array No targetGroups jobs credentials

Sku object

Name Type Required Value
name string Yes The name of the SKU, typically, a letter + Number code, e.g. P3.
tier string No The tier or edition of the particular SKU, e.g. Basic, Premium.
size string No Size of the particular SKU
family string No If the service has different generations of hardware, for the same SKU, then that can be captured here.
capacity integer No Capacity of the particular SKU.

JobAgentProperties object

Name Type Required Value
databaseId string Yes Resource ID of the database to store job metadata in.