Microsoft.Sql servers/databases/extensions 2014-04-01

Bicep resource definition

The servers/databases/extensions 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/servers/databases/extensions resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.Sql/servers/databases/extensions@2014-04-01' = {
  name: 'import'
  parent: resourceSymbolicName
  properties: {
    administratorLogin: 'string'
    administratorLoginPassword: 'string'
    authenticationType: 'string'
    operationMode: 'Import'
    storageKey: 'string'
    storageKeyType: 'string'
    storageUri: 'string'
  }
}

Property values

servers/databases/extensions

Name Description Value
name The resource name

See how to set names and types for child resources in Bicep.
'import'
parent In Bicep, you can specify the parent resource for a child resource. You only need to add this property when the child resource is declared outside of the parent resource.

For more information, see Child resource outside parent resource.
Symbolic name for resource of type: databases
properties Represents the properties of the resource. ImportExtensionProperties

ImportExtensionProperties

Name Description Value
administratorLogin The name of the SQL administrator. string (required)
administratorLoginPassword The password of the SQL administrator. string (required)
authenticationType The authentication type. 'ADPassword'
'SQL'
operationMode The type of import operation being performed. This is always Import. 'Import' (required)
storageKey The storage key to use. If storage key type is SharedAccessKey, it must be preceded with a "?." string (required)
storageKeyType The type of the storage key to use. 'SharedAccessKey'
'StorageAccessKey' (required)
storageUri The storage uri to use. string (required)

ARM template resource definition

The servers/databases/extensions 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/servers/databases/extensions resource, add the following JSON to your template.

{
  "type": "Microsoft.Sql/servers/databases/extensions",
  "apiVersion": "2014-04-01",
  "name": "import",
  "properties": {
    "administratorLogin": "string",
    "administratorLoginPassword": "string",
    "authenticationType": "string",
    "operationMode": "Import",
    "storageKey": "string",
    "storageKeyType": "string",
    "storageUri": "string"
  }
}

Property values

servers/databases/extensions

Name Description Value
type The resource type 'Microsoft.Sql/servers/databases/extensions'
apiVersion The resource api version '2014-04-01'
name The resource name

See how to set names and types for child resources in JSON ARM templates.
'import'
properties Represents the properties of the resource. ImportExtensionProperties

ImportExtensionProperties

Name Description Value
administratorLogin The name of the SQL administrator. string (required)
administratorLoginPassword The password of the SQL administrator. string (required)
authenticationType The authentication type. 'ADPassword'
'SQL'
operationMode The type of import operation being performed. This is always Import. 'Import' (required)
storageKey The storage key to use. If storage key type is SharedAccessKey, it must be preceded with a "?." string (required)
storageKeyType The type of the storage key to use. 'SharedAccessKey'
'StorageAccessKey' (required)
storageUri The storage uri to use. string (required)

Terraform (AzAPI provider) resource definition

The servers/databases/extensions resource type can be deployed with operations that target:

  • Resource groups

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

Resource format

To create a Microsoft.Sql/servers/databases/extensions resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Sql/servers/databases/extensions@2014-04-01"
  name = "import"
  parent_id = "string"
  body = jsonencode({
    properties = {
      administratorLogin = "string"
      administratorLoginPassword = "string"
      authenticationType = "string"
      operationMode = "Import"
      storageKey = "string"
      storageKeyType = "string"
      storageUri = "string"
    }
  })
}

Property values

servers/databases/extensions

Name Description Value
type The resource type "Microsoft.Sql/servers/databases/extensions@2014-04-01"
name The resource name "import"
parent_id The ID of the resource that is the parent for this resource. ID for resource of type: databases
properties Represents the properties of the resource. ImportExtensionProperties

ImportExtensionProperties

Name Description Value
administratorLogin The name of the SQL administrator. string (required)
administratorLoginPassword The password of the SQL administrator. string (required)
authenticationType The authentication type. "ADPassword"
"SQL"
operationMode The type of import operation being performed. This is always Import. "Import" (required)
storageKey The storage key to use. If storage key type is SharedAccessKey, it must be preceded with a "?." string (required)
storageKeyType The type of the storage key to use. "SharedAccessKey"
"StorageAccessKey" (required)
storageUri The storage uri to use. string (required)