Microsoft.Sql managedInstances/securityAlertPolicies

Template format

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

  "name": "string",
  "type": "Microsoft.Sql/managedInstances/securityAlertPolicies",
  "apiVersion": "2020-02-02-preview",
  "properties": {
    "state": "string"

Property values

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

Microsoft.Sql/managedInstances/securityAlertPolicies object

Name Type Required Value
name string Yes The name of the security alert policy.
type enum Yes securityAlertPolicies

See Set name and type for child resources.
apiVersion enum Yes 2020-02-02-preview
properties object Yes Resource properties. - SecurityAlertsPolicyProperties object

SecurityAlertsPolicyProperties object

Name Type Required Value
state enum Yes Specifies the state of the policy, whether it is enabled or disabled or a policy has not been applied yet on the specific database. - Enabled or Disabled