Microsoft.Sql managedInstances/administrators

Template format

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

{
  "name": "string",
  "type": "Microsoft.Sql/managedInstances/administrators",
  "apiVersion": "2017-03-01-preview",
  "properties": {
    "administratorType": "ActiveDirectory",
    "login": "string",
    "sid": "string",
    "tenantId": "string"
  }
}

Property values

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

Microsoft.Sql/managedInstances/administrators object

Name Type Required Value
name string Yes Name of the server administrator resource.
type enum Yes administrators
-or-
Microsoft.Sql/managedInstances/administrators

See Set name and type for child resources.
apiVersion enum Yes 2017-03-01-preview
properties object Yes Resource properties. - ManagedInstanceAdministratorProperties object

ManagedInstanceAdministratorProperties object

Name Type Required Value
administratorType enum Yes Type of the managed instance administrator. - ActiveDirectory
login string Yes Login name of the managed instance administrator.
sid string Yes SID (object ID) of the managed instance administrator. - globally unique identifier
tenantId string No Tenant ID of the managed instance administrator. - globally unique identifier