Global InfraGlobal Infra Cloud

Assets

Asset reference for DbaaS MSSQL.

Edit

This page documents the following assets:

  • Database — Represents a database provisioned through the DBaaS platform.
  • Database User — Represents a SQL user provisioned through the DBaaS MSSQL platform.

Database

Represents a database provisioned through the DBaaS platform.

Schema

The following properties describe a Database:

PropertyTypeDescription
availability_mode
Computed
stringAvailability mode/role for the replica hosting database
cluster_name
Computed
stringCluster name
connections
Computed
numberConnections Nb per database.
db_roles
list(string)Optional database roles to grant to user
db_user
stringOptional database user to create & map to new database
db_user_id
Computed
stringThe console asset ID of the database_user created alongside this database.
endpoint
Computed
stringEndpoint hosting database
instance
Default
stringSQL Server instance name
name
RequiredForceNew
stringThe name of the database.
password_location
Computed
stringThe Vault UI URL where the default user password is stored.
product_version
Computed
stringSQL Server product version for the hosting instance
server
Computed
stringSQL Server hostname
size_gb
Computed
numberDatabase Size in GB.

Examples


Database User

Represents a SQL user provisioned through the DBaaS MSSQL platform.

Schema

The following properties describe a Database User:

PropertyTypeDescription
create_date
Computed
stringSQL Server login creation date
database_roles
Computed
stringPer-database role memberships as JSON (db_name to roles mapping)
databases
Required
list(string)Databases on which this user has permissions
db_roles
Required
list(string)Database roles granted to the user
db_user
RequiredForceNew
stringSQL user name
instance
Default
stringLogical SQL instance name
is_disabled
Computed
stringWhether the SQL Server login is disabled (true/false)
password_location
Computed
stringThe Vault UI URL where the user password is stored.
server_roles
Computed
stringServer-level role memberships (e.g. sysadmin, setupadmin)
sid
Computed
stringSQL Server login security identifier (SID)

Examples

On this page