Microsoft.Sql servers/databases/geoBackupPolicies

Template format

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

{
  "name": "Default",
  "type": "Microsoft.Sql/servers/databases/geoBackupPolicies",
  "apiVersion": "2014-04-01",
  "properties": {
    "state": "string"
  }
}

Property values

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

Microsoft.Sql/servers/databases/geoBackupPolicies object

Name Type Required Value
name enum Yes The name of the geo backup policy. - Default
type enum Yes geoBackupPolicies
-or-
Microsoft.Sql/servers/databases/geoBackupPolicies

See Set name and type for child resources.
apiVersion enum Yes 2014-04-01
properties object Yes The properties of the geo backup policy. - GeoBackupPolicyProperties object

GeoBackupPolicyProperties object

Name Type Required Value
state enum Yes The state of the geo backup policy. - Disabled or Enabled