Microsoft.DatabaseFleetManager fleets/fleetspaces 2025-02-01-preview

Bicep resource definition

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

resource symbolicname 'Microsoft.DatabaseFleetManager/fleets/fleetspaces@2025-02-01-preview' = {
  parent: resourceSymbolicName
  name: 'string'
  properties: {
    capacityMax: int
    mainPrincipal: {
      applicationId: 'string'
      login: 'string'
      objectId: 'string'
      principalType: 'string'
      tenantId: 'string'
    }
  }
}

Property Values

Microsoft.DatabaseFleetManager/fleets/fleetspaces

Name Description Value
name The resource name string

Constraints:
Pattern = ^.+$ (required)
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: fleets
properties A Fleetspace properties. FleetspaceProperties

FleetspaceProperties

Name Description Value
capacityMax Maximum number of vCores database fleet manager is allowed to provision in the fleetspace. int
mainPrincipal Main Microsoft Entra ID principal that has admin access to all databases in the fleetspace. MainPrincipal

MainPrincipal

Name Description Value
applicationId Application Id of the main principal. string

Constraints:
Min length = 36
Max length = 36
Pattern = ^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$
login Login name of the main principal. string
objectId Object Id of the main principal. string

Constraints:
Min length = 36
Max length = 36
Pattern = ^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$
principalType Principal type of the main principal. 'Application'
'User'
tenantId Tenant Id of the main principal. string

Constraints:
Min length = 36
Max length = 36
Pattern = ^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$

ARM template resource definition

The fleets/fleetspaces resource type can be deployed with operations that target:

Usage Examples

Resource format

To create a Microsoft.DatabaseFleetManager/fleets/fleetspaces resource, add the following JSON to your template.

{
  "type": "Microsoft.DatabaseFleetManager/fleets/fleetspaces",
  "apiVersion": "2025-02-01-preview",
  "name": "string",
  "properties": {
    "capacityMax": "int",
    "mainPrincipal": {
      "applicationId": "string",
      "login": "string",
      "objectId": "string",
      "principalType": "string",
      "tenantId": "string"
    }
  }
}

Property Values

Microsoft.DatabaseFleetManager/fleets/fleetspaces

Name Description Value
apiVersion The api version '2025-02-01-preview'
name The resource name string

Constraints:
Pattern = ^.+$ (required)
properties A Fleetspace properties. FleetspaceProperties
type The resource type 'Microsoft.DatabaseFleetManager/fleets/fleetspaces'

FleetspaceProperties

Name Description Value
capacityMax Maximum number of vCores database fleet manager is allowed to provision in the fleetspace. int
mainPrincipal Main Microsoft Entra ID principal that has admin access to all databases in the fleetspace. MainPrincipal

MainPrincipal

Name Description Value
applicationId Application Id of the main principal. string

Constraints:
Min length = 36
Max length = 36
Pattern = ^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$
login Login name of the main principal. string
objectId Object Id of the main principal. string

Constraints:
Min length = 36
Max length = 36
Pattern = ^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$
principalType Principal type of the main principal. 'Application'
'User'
tenantId Tenant Id of the main principal. string

Constraints:
Min length = 36
Max length = 36
Pattern = ^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$

Terraform (AzAPI provider) resource definition

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

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.DatabaseFleetManager/fleets/fleetspaces@2025-02-01-preview"
  name = "string"
  parent_id = "string"
  body = {
    properties = {
      capacityMax = int
      mainPrincipal = {
        applicationId = "string"
        login = "string"
        objectId = "string"
        principalType = "string"
        tenantId = "string"
      }
    }
  }
}

Property Values

Microsoft.DatabaseFleetManager/fleets/fleetspaces

Name Description Value
name The resource name string

Constraints:
Pattern = ^.+$ (required)
parent_id The ID of the resource that is the parent for this resource. ID for resource of type: fleets
properties A Fleetspace properties. FleetspaceProperties
type The resource type "Microsoft.DatabaseFleetManager/fleets/fleetspaces@2025-02-01-preview"

FleetspaceProperties

Name Description Value
capacityMax Maximum number of vCores database fleet manager is allowed to provision in the fleetspace. int
mainPrincipal Main Microsoft Entra ID principal that has admin access to all databases in the fleetspace. MainPrincipal

MainPrincipal

Name Description Value
applicationId Application Id of the main principal. string

Constraints:
Min length = 36
Max length = 36
Pattern = ^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$
login Login name of the main principal. string
objectId Object Id of the main principal. string

Constraints:
Min length = 36
Max length = 36
Pattern = ^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$
principalType Principal type of the main principal. 'Application'
'User'
tenantId Tenant Id of the main principal. string

Constraints:
Min length = 36
Max length = 36
Pattern = ^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$