Recommended Elastic Pools - List Metrics
Returns recommended elastic pool metrics.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/recommendedElasticPools/{recommendedElasticPoolName}/metrics?api-version=2014-04-01
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
recommended
|
path | True |
string |
The name of the recommended elastic pool to be retrieved. |
resource
|
path | True |
string |
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. |
server
|
path | True |
string |
The name of the server. |
subscription
|
path | True |
string |
The subscription ID that identifies an Azure subscription. |
api-version
|
query | True |
string |
The API version to use for the request. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
OK |
Examples
Get recommended elastic pool metrics
Sample request
Sample response
{
"value": [
{
"dateTime": "2017-07-24T12:00:00Z",
"dtu": 0.01758824557626567,
"sizeGB": 0.921875
},
{
"dateTime": "2017-07-25T12:00:00Z",
"dtu": 0.018937532104510685,
"sizeGB": 0.921875
}
]
}
Definitions
Name | Description |
---|---|
Recommended |
Represents the response to a list recommended elastic pool metrics request. |
Recommended |
Represents recommended elastic pool metric. |
RecommendedElasticPoolListMetricsResult
Represents the response to a list recommended elastic pool metrics request.
Name | Type | Description |
---|---|---|
value |
The list of recommended elastic pools metrics. |
RecommendedElasticPoolMetric
Represents recommended elastic pool metric.
Name | Type | Description |
---|---|---|
dateTime |
string |
The time of metric (ISO8601 format). |
dtu |
number |
Gets or sets the DTUs (Database Transaction Units). See https://azure.microsoft.com/documentation/articles/sql-database-what-is-a-dtu/ |
sizeGB |
number |
Gets or sets size in gigabytes. |