Microsoft.Sql managedInstances/sqlAgent

ARM template resource definition

The managedInstances/sqlAgent resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.Sql/managedInstances/sqlAgent resource, add the following JSON to your template.

{
  "type": "Microsoft.Sql/managedInstances/sqlAgent",
  "apiVersion": "2023-05-01-preview",
  "name": "current",
  "properties": {
    "state": "string"
  }
}

Property values

managedInstances/sqlAgent

Name Description Value
type The resource type 'Microsoft.Sql/managedInstances/sqlAgent'
apiVersion The resource api version '2023-05-01-preview'
name The resource name

See how to set names and types for child resources in JSON ARM templates.
'current'
properties Resource properties. SqlAgentConfigurationProperties

SqlAgentConfigurationProperties

Name Description Value
state The state of Sql Agent. 'Disabled'
'Enabled'