DatabaseDeploymentDetails

The details of a database deployment asset.

JSON representation
{
  "generatedId": string,
  "manualUniqueId": string,
  "version": string,
  "edition": string,
  "topology": {
    object (DatabaseDeploymentTopology)
  },
  "aggregatedStats": {
    object (AggregatedStats)
  },

  // Union field engine_details can be only one of the following:
  "sqlServer": {
    object (SqlServerDatabaseDeployment)
  },
  "mysql": {
    object (MysqlDatabaseDeployment)
  },
  "postgresql": {
    object (PostgreSqlDatabaseDeployment)
  }
  // End of list of possible types for union field engine_details.
}
Fields
generatedId

string

The database deployment generated ID.

manualUniqueId

string

A manual unique ID set by the user.

version

string

The database deployment version.

edition

string

The database deployment edition.

topology

object (DatabaseDeploymentTopology)

Details of the database deployment topology.

aggregatedStats

object (AggregatedStats)

Output only. Aggregated stats for the database deployment.

Union field engine_details. Engine-specific details. engine_details can be only one of the following:
sqlServer

object (SqlServerDatabaseDeployment)

Details of a Microsoft SQL Server database deployment.

mysql

object (MysqlDatabaseDeployment)

Details of a MYSQL database deployment.

postgresql

object (PostgreSqlDatabaseDeployment)

Details of a PostgreSQL database deployment.

DatabaseDeploymentTopology

Details of database deployment's topology.

JSON representation
{
  "coreCount": integer,
  "physicalCoreCount": integer,
  "memoryBytes": string,
  "diskAllocatedBytes": string,
  "diskUsedBytes": string,
  "coreLimit": integer,
  "physicalCoreLimit": integer,
  "memoryLimitBytes": string,
  "instances": [
    {
      object (DatabaseInstance)
    }
  ]
}
Fields
coreCount

integer

Optional. Number of total logical cores.

physicalCoreCount

integer

Optional. Number of total physical cores.

memoryBytes

string (int64 format)

Optional. Total memory in bytes.

diskAllocatedBytes

string (int64 format)

Optional. Disk allocated in bytes.

diskUsedBytes

string (int64 format)

Optional. Disk used in bytes.

coreLimit

integer

Optional. Number of total logical cores limited by db deployment.

physicalCoreLimit

integer

Optional. Number of total physical cores limited by db deployment.

memoryLimitBytes

string (int64 format)

Optional. Total memory in bytes limited by db deployment.

instances[]

object (DatabaseInstance)

Optional. List of database instances.

DatabaseInstance

Details of a database instance.

JSON representation
{
  "instanceName": string,
  "role": enum (Role),
  "network": {
    object (DatabaseInstanceNetwork)
  }
}
Fields
instanceName

string

The instance's name.

role

enum (Role)

The instance role in the database engine.

network

object (DatabaseInstanceNetwork)

Optional. Networking details.

Role

Database instance roles.

Enums
ROLE_UNSPECIFIED Unspecified.
PRIMARY Primary.
SECONDARY Secondary.
ARBITER Arbiter.

DatabaseInstanceNetwork

Network details of a database instance.

JSON representation
{
  "primaryMacAddress": string,
  "ipAddresses": [
    string
  ],
  "hostNames": [
    string
  ]
}
Fields
primaryMacAddress

string

Optional. The instance's primary MAC address.

ipAddresses[]

string

Optional. The instance's IP addresses.

hostNames[]

string

Optional. The instance's host names.

SqlServerDatabaseDeployment

Specific details for a Microsoft SQL Server database deployment.

JSON representation
{
  "features": [
    {
      object (SqlServerFeature)
    }
  ],
  "serverFlags": [
    {
      object (SqlServerServerFlag)
    }
  ],
  "traceFlags": [
    {
      object (SqlServerTraceFlag)
    }
  ]
}
Fields
features[]

object (SqlServerFeature)

Optional. List of SQL Server features.

serverFlags[]

object (SqlServerServerFlag)

Optional. List of SQL Server server flags.

traceFlags[]

object (SqlServerTraceFlag)

Optional. List of SQL Server trace flags.

SqlServerFeature

SQL Server feature details.

JSON representation
{
  "featureName": string,
  "enabled": boolean
}
Fields
featureName

string

Required. The feature name.

enabled

boolean

Required. Field enabled is set when a feature is used on the source deployment.

SqlServerServerFlag

SQL Server server flag details.

JSON representation
{
  "serverFlagName": string,
  "value": string,
  "valueInUse": string
}
Fields
serverFlagName

string

Required. The server flag name.

value

string

Required. The server flag value set by the user.

valueInUse

string

Required. The server flag actual value. If valueInUse is different from value it means that either the configuration change was not applied or it is an expected behavior. See SQL Server documentation for more details.

SqlServerTraceFlag

SQL Server trace flag details.

JSON representation
{
  "traceFlagName": string,
  "scope": enum (Scope)
}
Fields
traceFlagName

string

Required. The trace flag name.

scope

enum (Scope)

Required. The trace flag scope.

Scope

The trace flag scope.

Enums
SCOPE_UNSPECIFIED Unspecified.
OFF Off.
GLOBAL Global.
SESSION Session.

MysqlDatabaseDeployment

Specific details for a Mysql database deployment.

JSON representation
{
  "properties": [
    {
      object (MySqlProperty)
    }
  ],
  "plugins": [
    {
      object (MySqlPlugin)
    }
  ],
  "resourceGroupsCount": integer,
  "variables": [
    {
      object (MySqlVariable)
    }
  ]
}
Fields
properties[]

object (MySqlProperty)

Optional. List of MySql properties.

plugins[]

object (MySqlPlugin)

Optional. List of MySql plugins.

resourceGroupsCount

integer

Optional. Number of resource groups.

variables[]

object (MySqlVariable)

Optional. List of MySql variables.

MySqlProperty

MySql property.

JSON representation
{
  "property": string,

  // Union field value can be only one of the following:
  "enabled": boolean,
  "numericValue": string
  // End of list of possible types for union field value.
}
Fields
property

string

Required. The property name.

Union field value. The property value. value can be only one of the following:
enabled

boolean

Required. The property is enabled.

numericValue

string (int64 format)

Required. The property numeric value.

MySqlPlugin

MySql plugin.

JSON representation
{
  "plugin": string,
  "version": string,
  "enabled": boolean
}
Fields
plugin

string

Required. The plugin name.

version

string

Required. The plugin version.

enabled

boolean

Required. The plugin is active.

MySqlVariable

MySql variable.

JSON representation
{
  "variable": string,
  "value": string,
  "category": string
}
Fields
variable

string

Required. The variable name.

value

string

Required. The variable value.

category

string

Required. The variable category.

PostgreSqlDatabaseDeployment

Specific details for a PostgreSQL database deployment.

JSON representation
{
  "properties": [
    {
      object (PostgreSqlProperty)
    }
  ],
  "settings": [
    {
      object (PostgreSqlSetting)
    }
  ]
}
Fields
properties[]

object (PostgreSqlProperty)

Optional. List of PostgreSql properties.

settings[]

object (PostgreSqlSetting)

Optional. List of PostgreSql settings.

PostgreSqlProperty

PostgreSql property.

JSON representation
{
  "property": string,

  // Union field value can be only one of the following:
  "enabled": boolean,
  "numericValue": string
  // End of list of possible types for union field value.
}
Fields
property

string

Required. The property name.

Union field value. The property value. value can be only one of the following:
enabled

boolean

Required. The property is enabled.

numericValue

string (int64 format)

Required. The property numeric value.

PostgreSqlSetting

PostgreSql setting.

JSON representation
{
  "setting": string,
  "source": string,
  "unit": string,

  // Union field value can be only one of the following:
  "boolValue": boolean,
  "intValue": string,
  "realValue": number,
  "stringValue": string
  // End of list of possible types for union field value.
}
Fields
setting

string

Required. The setting name.

source

string

Required. The setting source.

unit

string

Optional. The setting unit.

Union field value. The setting value. value can be only one of the following:
boolValue

boolean

Required. The setting boolean value.

intValue

string (int64 format)

Required. The setting int value.

realValue

number

Required. The setting real value.

stringValue

string

Required. The setting string value. Notice that enum values are stored as strings.

AggregatedStats

Aggregated stats for the database deployment.

JSON representation
{
  "databaseCount": integer
}
Fields
databaseCount

integer

Output only. The number of databases in the deployment.