Microsoft.Sql servers/databases/schemas/tables/columns/sensitivityLabels template reference

Template format

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

{
  "name": "string",
  "type": "Microsoft.Sql/servers/databases/schemas/tables/columns/sensitivityLabels",
  "apiVersion": "2018-06-01-preview",
  "properties": {
    "labelName": "string",
    "informationType": "string"
  }
}

Property values

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

Microsoft.Sql/servers/databases/schemas/tables/columns/sensitivityLabels object

Note

In Bicep, type and apiVersion are specified in the first line of the resource declaration. Use the format <type>@<apiVersion>. Don't set those properties in the resource body.

Name Type Required Value
name string Yes
type enum Yes For JSON - Microsoft.Sql/servers/databases/schemas/tables/columns/sensitivityLabels
apiVersion enum Yes For JSON - 2018-06-01-preview
properties object Yes Resource properties. - SensitivityLabelProperties object

SensitivityLabelProperties object

Name Type Required Value
labelName string No The label name.
informationType string No The information type.