Microsoft.AzureArcData sqlServerLicenses 2025-03-01-preview

Bicep resource definition

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

resource symbolicname 'Microsoft.AzureArcData/sqlServerLicenses@2025-03-01-preview' = {
  location: 'string'
  name: 'string'
  properties: {
    activationState: 'string'
    billingPlan: 'string'
    licenseCategory: 'string'
    physicalCores: int
    scopeType: 'string'
  }
  tags: {
    {customized property}: 'string'
  }
}

Property Values

Microsoft.AzureArcData/sqlServerLicenses

Name Description Value
location The geo-location where the resource lives string (required)
name The resource name string

Constraints:
Pattern = ^[-\w\._\(\)]+$ (required)
properties SQL Server license properties SqlServerLicenseProperties (required)
tags Resource tags Dictionary of tag names and values. See Tags in templates

SqlServerLicenseProperties

Name Description Value
activationState The activation state of the license. 'Activated'
'Deactivated' (required)
billingPlan SQL Server license type. 'Paid'
'PAYG' (required)
licenseCategory This property represents the choice between SQL Server Core and ESU licenses. 'Core' (required)
physicalCores The number of total cores of the license covers. int

Constraints:
Min value = 16 (required)
scopeType The Azure scope to which the license will apply. 'ResourceGroup'
'Subscription'
'Tenant' (required)

TrackedResourceTags

Name Description Value

ARM template resource definition

The sqlServerLicenses resource type can be deployed with operations that target:

Usage Examples

Resource format

To create a Microsoft.AzureArcData/sqlServerLicenses resource, add the following JSON to your template.

{
  "type": "Microsoft.AzureArcData/sqlServerLicenses",
  "apiVersion": "2025-03-01-preview",
  "name": "string",
  "location": "string",
  "properties": {
    "activationState": "string",
    "billingPlan": "string",
    "licenseCategory": "string",
    "physicalCores": "int",
    "scopeType": "string"
  },
  "tags": {
    "{customized property}": "string"
  }
}

Property Values

Microsoft.AzureArcData/sqlServerLicenses

Name Description Value
apiVersion The api version '2025-03-01-preview'
location The geo-location where the resource lives string (required)
name The resource name string

Constraints:
Pattern = ^[-\w\._\(\)]+$ (required)
properties SQL Server license properties SqlServerLicenseProperties (required)
tags Resource tags Dictionary of tag names and values. See Tags in templates
type The resource type 'Microsoft.AzureArcData/sqlServerLicenses'

SqlServerLicenseProperties

Name Description Value
activationState The activation state of the license. 'Activated'
'Deactivated' (required)
billingPlan SQL Server license type. 'Paid'
'PAYG' (required)
licenseCategory This property represents the choice between SQL Server Core and ESU licenses. 'Core' (required)
physicalCores The number of total cores of the license covers. int

Constraints:
Min value = 16 (required)
scopeType The Azure scope to which the license will apply. 'ResourceGroup'
'Subscription'
'Tenant' (required)

TrackedResourceTags

Name Description Value

Terraform (AzAPI provider) resource definition

The sqlServerLicenses 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.AzureArcData/sqlServerLicenses resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.AzureArcData/sqlServerLicenses@2025-03-01-preview"
  name = "string"
  parent_id = "string"
  location = "string"
  tags = {
    {customized property} = "string"
  }
  body = {
    properties = {
      activationState = "string"
      billingPlan = "string"
      licenseCategory = "string"
      physicalCores = int
      scopeType = "string"
    }
  }
}

Property Values

Microsoft.AzureArcData/sqlServerLicenses

Name Description Value
location The geo-location where the resource lives string (required)
name The resource name string

Constraints:
Pattern = ^[-\w\._\(\)]+$ (required)
properties SQL Server license properties SqlServerLicenseProperties (required)
tags Resource tags Dictionary of tag names and values.
type The resource type "Microsoft.AzureArcData/sqlServerLicenses@2025-03-01-preview"

SqlServerLicenseProperties

Name Description Value
activationState The activation state of the license. 'Activated'
'Deactivated' (required)
billingPlan SQL Server license type. 'Paid'
'PAYG' (required)
licenseCategory This property represents the choice between SQL Server Core and ESU licenses. 'Core' (required)
physicalCores The number of total cores of the license covers. int

Constraints:
Min value = 16 (required)
scopeType The Azure scope to which the license will apply. 'ResourceGroup'
'Subscription'
'Tenant' (required)

TrackedResourceTags

Name Description Value