Method list
Retrieves the list of SQL Server clusters that belong to the specified folder.
HTTP request
GET https://mdb.api.cloud.yandex.net/mdb/sqlserver/v1alpha/clusters
Query parameters
Parameter | Description |
---|---|
folderId | Required. ID of the folder to list SQL Server clusters in. To get the folder ID, use a list request. The maximum string length in characters is 50. |
pageSize | The maximum number of results per page to return. If the number of available results is larger than page_size , the service returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 1000, inclusive. |
pageToken | Page token. To get the next page of results, set page_token to the nextPageToken returned by a previous list request. The maximum string length in characters is 100. |
filter | A filter expression that filters resources listed in the response. The expression must specify: 1. The field name to filter by. Currently you can only use filtering with the Cluster.name field. 2. An operator. Can be either = or != for single values, IN or NOT IN for lists of values. 3. The value. Must be 1-63 characters long and match the regular expression ^[a-zA-Z0-9_-]+$ . Example of a filter: name NOT IN 'test,beta' . The maximum string length in characters is 1000. |
Response
HTTP Code: 200 - OK
{
"clusters": [
{
"id": "string",
"folderId": "string",
"createdAt": "string",
"name": "string",
"description": "string",
"labels": "object",
"environment": "string",
"monitoring": [
{
"name": "string",
"description": "string",
"link": "string"
}
],
"config": {
"version": "string",
"resources": {
"resourcePresetId": "string",
"diskSize": "string",
"diskTypeId": "string"
},
"backupWindowStart": {
"hours": "integer",
"minutes": "integer",
"seconds": "integer",
"nanos": "integer"
},
"sqlserverConfig_2016Sp2": {
"effectiveConfig": {
"maxDegreeOfParallelism": "integer",
"costThresholdForParallelism": "integer",
"sqlcollation": "string",
"auditLevel": "integer",
"filestreamAccessLevel": "integer",
"fillFactorPercent": "integer",
"inDoubtXactResolution": "integer",
"optimizeForAdHocWorkloads": true,
"crossDbOwnershipChaining": true
},
"userConfig": {
"maxDegreeOfParallelism": "integer",
"costThresholdForParallelism": "integer",
"sqlcollation": "string",
"auditLevel": "integer",
"filestreamAccessLevel": "integer",
"fillFactorPercent": "integer",
"inDoubtXactResolution": "integer",
"optimizeForAdHocWorkloads": true,
"crossDbOwnershipChaining": true
},
"defaultConfig": {
"maxDegreeOfParallelism": "integer",
"costThresholdForParallelism": "integer",
"sqlcollation": "string",
"auditLevel": "integer",
"filestreamAccessLevel": "integer",
"fillFactorPercent": "integer",
"inDoubtXactResolution": "integer",
"optimizeForAdHocWorkloads": true,
"crossDbOwnershipChaining": true
}
}
},
"networkId": "string",
"health": "string",
"status": "string"
}
],
"nextPageToken": "string"
}
Field | Description |
---|---|
clusters[] | object An SQL Server cluster. For more information, see the Concepts section of the documentation. |
clusters[]. id |
string ID of the SQL Server cluster. This ID is assigned by Managed Service for SQL Server at creation time. |
clusters[]. folderId |
string ID of the folder the SQL Server cluster belongs to. |
clusters[]. createdAt |
string (date-time) String in RFC3339 text format. |
clusters[]. name |
string Name of the SQL Server cluster. The name must be unique within the folder, comply with RFC 1035 and be 1-63 characters long. |
clusters[]. description |
string Description of the SQL Server cluster. 0-256 characters long. |
clusters[]. labels |
object Custom labels for the SQL Server cluster as |
clusters[]. environment |
string Deployment environment of the SQL Server cluster.
|
clusters[]. monitoring[] |
object Description of monitoring systems relevant to the SQL Server cluster. |
clusters[]. monitoring[]. name |
string Name of the monitoring system. |
clusters[]. monitoring[]. description |
string Description of the monitoring system. |
clusters[]. monitoring[]. link |
string Link to the monitoring system charts for the SQL Server cluster. |
clusters[]. config |
object Configuration of the SQL Server cluster. |
clusters[]. config. version |
string Version of the SQL Server. |
clusters[]. config. resources |
object Resources allocated to SQL Server hosts. |
clusters[]. config. resources. resourcePresetId |
string ID of the preset for computational resources available to a host (CPU, memory etc.). All available presets are listed in the documentation. |
clusters[]. config. resources. diskSize |
string (int64) Volume of the storage available to a host. |
clusters[]. config. resources. diskTypeId |
string Type of the storage environment for the host. Possible values:
|
clusters[]. config. backupWindowStart |
object Start time for the daily backup in UTC timezone Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and google.protobuf.Timestamp. |
clusters[]. config. backupWindowStart. hours |
integer (int32) Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time. |
clusters[]. config. backupWindowStart. minutes |
integer (int32) Minutes of hour of day. Must be from 0 to 59. |
clusters[]. config. backupWindowStart. seconds |
integer (int32) Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds. |
clusters[]. config. backupWindowStart. nanos |
integer (int32) Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999. |
clusters[]. config. sqlserverConfig_2016Sp2 |
object Configuration of the SQL Server 2016sp2 instance. |
clusters[]. config. sqlserverConfig_2016Sp2. effectiveConfig |
object Effective settings for an SQL Server 2016 SP2 cluster (a combination of settings defined in SQL Server 2016 SP2 supported configuration options are listed here. Detailed description for each set of options is available in SQL Server documentation. Any options that are not listed here are not supported. |
clusters[]. config. sqlserverConfig_2016Sp2. effectiveConfig. maxDegreeOfParallelism |
integer (int64) Limits the number of processors to use in parallel plan execution per task. See in-depth description in SQL Server documentation. Acceptable values are 1 to 99, inclusive. |
clusters[]. config. sqlserverConfig_2016Sp2. effectiveConfig. costThresholdForParallelism |
integer (int64) Specifies the threshold at which SQL Server creates and runs parallel plans for queries. SQL Server creates and runs a parallel plan for a query only when the estimated cost to run a serial plan for the same query is higher than the value of the option. See in-depth description in SQL Server documentation. Acceptable values are 5 to 32767, inclusive. |
clusters[]. config. sqlserverConfig_2016Sp2. effectiveConfig. sqlcollation |
string Collation used for databases across the instance. Determines if instance is case sensitive, accent sensitive etc. See in-depth description in SQL Server documentation. |
clusters[]. config. sqlserverConfig_2016Sp2. effectiveConfig. auditLevel |
integer (int64) Describes how to configure login auditing to monitor SQL Server Database Engine login activity. Possible values:
See in-depth description in SQL Server documentation. Acceptable values are 0 to 3, inclusive. |
clusters[]. config. sqlserverConfig_2016Sp2. effectiveConfig. filestreamAccessLevel |
integer (int64) Determines the
See in-depth description in SQL Server documentation. Acceptable values are 0 to 2, inclusive. |
clusters[]. config. sqlserverConfig_2016Sp2. effectiveConfig. fillFactorPercent |
integer (int64) Manages the fill factor server configuration option. When an index is created or rebuilt the fill factor determines the percentage of space on each index leaf-level page to be filled with data, reserving the rest as free space for future growth. Values 0 and 100 mean full page usage (no space reserved). See in-depth description in SQL Server documentation. Acceptable values are 0 to 100, inclusive. |
clusters[]. config. sqlserverConfig_2016Sp2. effectiveConfig. inDoubtXactResolution |
integer (int64) Determines the default outcome of distributed transactions that the Microsoft Distributed Transaction Coordinator (MS DTC) is unable to resolve (in-doubt distributed transactions). Possible values:
See in-depth description in SQL Server documentation. Acceptable values are 0 to 2, inclusive. |
clusters[]. config. sqlserverConfig_2016Sp2. effectiveConfig. optimizeForAdHocWorkloads |
boolean (boolean) Determines whether plans should be cached only after second execution. Allows to avoid SQL cache bloat because of single-use plans. See in-depth description in SQL Server documentation. |
clusters[]. config. sqlserverConfig_2016Sp2. effectiveConfig. crossDbOwnershipChaining |
boolean (boolean) Enables cross-database ownership chaining. Example: having explicit access to stored procedure in one database that refers to an object in another database that you don't have explicit access, you'll be able to execute the procedure without permission related error. See in-depth description in SQL Server documentation. |
clusters[]. config. sqlserverConfig_2016Sp2. userConfig |
object User-defined settings for an SQL Server 2016 SP2 cluster. SQL Server 2016 SP2 supported configuration options are listed here. Detailed description for each set of options is available in SQL Server documentation. Any options that are not listed here are not supported. |
clusters[]. config. sqlserverConfig_2016Sp2. userConfig. maxDegreeOfParallelism |
integer (int64) Limits the number of processors to use in parallel plan execution per task. See in-depth description in SQL Server documentation. Acceptable values are 1 to 99, inclusive. |
clusters[]. config. sqlserverConfig_2016Sp2. userConfig. costThresholdForParallelism |
integer (int64) Specifies the threshold at which SQL Server creates and runs parallel plans for queries. SQL Server creates and runs a parallel plan for a query only when the estimated cost to run a serial plan for the same query is higher than the value of the option. See in-depth description in SQL Server documentation. Acceptable values are 5 to 32767, inclusive. |
clusters[]. config. sqlserverConfig_2016Sp2. userConfig. sqlcollation |
string Collation used for databases across the instance. Determines if instance is case sensitive, accent sensitive etc. See in-depth description in SQL Server documentation. |
clusters[]. config. sqlserverConfig_2016Sp2. userConfig. auditLevel |
integer (int64) Describes how to configure login auditing to monitor SQL Server Database Engine login activity. Possible values:
See in-depth description in SQL Server documentation. Acceptable values are 0 to 3, inclusive. |
clusters[]. config. sqlserverConfig_2016Sp2. userConfig. filestreamAccessLevel |
integer (int64) Determines the
See in-depth description in SQL Server documentation. Acceptable values are 0 to 2, inclusive. |
clusters[]. config. sqlserverConfig_2016Sp2. userConfig. fillFactorPercent |
integer (int64) Manages the fill factor server configuration option. When an index is created or rebuilt the fill factor determines the percentage of space on each index leaf-level page to be filled with data, reserving the rest as free space for future growth. Values 0 and 100 mean full page usage (no space reserved). See in-depth description in SQL Server documentation. Acceptable values are 0 to 100, inclusive. |
clusters[]. config. sqlserverConfig_2016Sp2. userConfig. inDoubtXactResolution |
integer (int64) Determines the default outcome of distributed transactions that the Microsoft Distributed Transaction Coordinator (MS DTC) is unable to resolve (in-doubt distributed transactions). Possible values:
See in-depth description in SQL Server documentation. Acceptable values are 0 to 2, inclusive. |
clusters[]. config. sqlserverConfig_2016Sp2. userConfig. optimizeForAdHocWorkloads |
boolean (boolean) Determines whether plans should be cached only after second execution. Allows to avoid SQL cache bloat because of single-use plans. See in-depth description in SQL Server documentation. |
clusters[]. config. sqlserverConfig_2016Sp2. userConfig. crossDbOwnershipChaining |
boolean (boolean) Enables cross-database ownership chaining. Example: having explicit access to stored procedure in one database that refers to an object in another database that you don't have explicit access, you'll be able to execute the procedure without permission related error. See in-depth description in SQL Server documentation. |
clusters[]. config. sqlserverConfig_2016Sp2. defaultConfig |
object Default configuration for an SQL Server 2016 SP2 cluster. SQL Server 2016 SP2 supported configuration options are listed here. Detailed description for each set of options is available in SQL Server documentation. Any options that are not listed here are not supported. |
clusters[]. config. sqlserverConfig_2016Sp2. defaultConfig. maxDegreeOfParallelism |
integer (int64) Limits the number of processors to use in parallel plan execution per task. See in-depth description in SQL Server documentation. Acceptable values are 1 to 99, inclusive. |
clusters[]. config. sqlserverConfig_2016Sp2. defaultConfig. costThresholdForParallelism |
integer (int64) Specifies the threshold at which SQL Server creates and runs parallel plans for queries. SQL Server creates and runs a parallel plan for a query only when the estimated cost to run a serial plan for the same query is higher than the value of the option. See in-depth description in SQL Server documentation. Acceptable values are 5 to 32767, inclusive. |
clusters[]. config. sqlserverConfig_2016Sp2. defaultConfig. sqlcollation |
string Collation used for databases across the instance. Determines if instance is case sensitive, accent sensitive etc. See in-depth description in SQL Server documentation. |
clusters[]. config. sqlserverConfig_2016Sp2. defaultConfig. auditLevel |
integer (int64) Describes how to configure login auditing to monitor SQL Server Database Engine login activity. Possible values:
See in-depth description in SQL Server documentation. Acceptable values are 0 to 3, inclusive. |
clusters[]. config. sqlserverConfig_2016Sp2. defaultConfig. filestreamAccessLevel |
integer (int64) Determines the
See in-depth description in SQL Server documentation. Acceptable values are 0 to 2, inclusive. |
clusters[]. config. sqlserverConfig_2016Sp2. defaultConfig. fillFactorPercent |
integer (int64) Manages the fill factor server configuration option. When an index is created or rebuilt the fill factor determines the percentage of space on each index leaf-level page to be filled with data, reserving the rest as free space for future growth. Values 0 and 100 mean full page usage (no space reserved). See in-depth description in SQL Server documentation. Acceptable values are 0 to 100, inclusive. |
clusters[]. config. sqlserverConfig_2016Sp2. defaultConfig. inDoubtXactResolution |
integer (int64) Determines the default outcome of distributed transactions that the Microsoft Distributed Transaction Coordinator (MS DTC) is unable to resolve (in-doubt distributed transactions). Possible values:
See in-depth description in SQL Server documentation. Acceptable values are 0 to 2, inclusive. |
clusters[]. config. sqlserverConfig_2016Sp2. defaultConfig. optimizeForAdHocWorkloads |
boolean (boolean) Determines whether plans should be cached only after second execution. Allows to avoid SQL cache bloat because of single-use plans. See in-depth description in SQL Server documentation. |
clusters[]. config. sqlserverConfig_2016Sp2. defaultConfig. crossDbOwnershipChaining |
boolean (boolean) Enables cross-database ownership chaining. Example: having explicit access to stored procedure in one database that refers to an object in another database that you don't have explicit access, you'll be able to execute the procedure without permission related error. See in-depth description in SQL Server documentation. |
clusters[]. networkId |
string ID of the network the cluster belongs to. |
clusters[]. health |
string Aggregated cluster health.
|
clusters[]. status |
string Current state of the cluster.
|
nextPageToken | string Token that allows you to get the next page of results for list requests. If the number of results is larger than pageSize, use the |