Elastic Pool Activities - List By Elastic Pool
傳回彈性集區活動。
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/elasticPools/{elasticPoolName}/elasticPoolActivity?api-version=2014-04-01
URI 參數
| 名稱 | 位於 | 必要 | 類型 | Description |
|---|---|---|---|---|
|
elastic
|
path | True |
string |
要取得目前活動的彈性集區名稱。 |
|
resource
|
path | True |
string |
包含資源的資源群組名稱。 您可以從 Azure Resource Manager API 或入口網站取得此值。 |
|
server
|
path | True |
string |
伺服器的名稱。 |
|
subscription
|
path | True |
string |
識別 Azure 訂用帳戶的訂用帳戶標識碼。 |
|
api-version
|
query | True |
string |
要用於要求的 API 版本。 |
回應
| 名稱 | 類型 | Description |
|---|---|---|
| 200 OK |
還行 |
範例
List Elastic pool activity
範例要求
範例回覆
{
"value": [
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4291/providers/Microsoft.Sql/servers/sqlcrudtest-6574/elasticPools/8749/elasticPoolActivity/851f1672-f7f0-46f6-a262-ee9b51e18e97",
"name": "851f1672-f7f0-46f6-a262-ee9b51e18e97",
"type": "Microsoft.Sql/servers/elasticPools/elasticPoolActivity",
"location": "Japan East",
"properties": {
"operationId": "851f1672-f7f0-46f6-a262-ee9b51e18e97",
"serverName": "sqlcrudtest-6574",
"elasticPoolName": "8749",
"state": "COMPLETED",
"operation": "CREATE",
"errorCode": null,
"errorMessage": null,
"errorSeverity": null,
"startTime": "2017-02-10T02:03:06.16Z",
"endTime": "2017-02-10T02:03:23.263Z",
"percentComplete": 100,
"requestedElasticPoolName": null,
"requestedDtuGuarantee": 100,
"requestedDatabaseDtuCap": 5,
"requestedDatabaseDtuGuarantee": 0,
"requestedStorageLimitInGB": 9,
"requestedStorageLimitInMB": 10000
}
}
]
}
定義
| 名稱 | Description |
|---|---|
|
Elastic |
表示彈性集區上的活動。 |
|
Elastic |
表示清單彈性集區活動要求的回應。 |
ElasticPoolActivity
表示彈性集區上的活動。
| 名稱 | 類型 | Description |
|---|---|---|
| id |
string |
資源標識碼。 |
| location |
string |
資源所在的地理位置 |
| name |
string |
資源名稱。 |
| properties.elasticPoolName |
string |
彈性集區的名稱。 |
| properties.endTime |
string (date-time) |
作業完成的時間(ISO8601格式)。 |
| properties.errorCode |
integer (int32) |
如果有的話,錯誤碼。 |
| properties.errorMessage |
string |
如果有的話,錯誤訊息。 |
| properties.errorSeverity |
integer (int32) |
如果有的話,錯誤嚴重性。 |
| properties.operation |
string |
作業名稱。 |
| properties.operationId |
string (uuid) |
唯一的作業標識碼。 |
| properties.percentComplete |
integer (int32) |
如果有的話,完成百分比。 |
| properties.requestedDatabaseDtuCap |
integer (int32) |
每個資料庫 DTU 上限所要求的 。 |
| properties.requestedDatabaseDtuGuarantee |
integer (int32) |
每個資料庫 DTU 保證所要求的 。 |
| properties.requestedDatabaseDtuMax |
integer (int32) |
如果有的話,每個資料庫所要求的最大 DTU 數目。 |
| properties.requestedDatabaseDtuMin |
integer (int32) |
如果有的話,每個資料庫所要求的最小 DTU。 |
| properties.requestedDtu |
integer (int32) |
如果可用,則為集區所要求的 DTU。 |
| properties.requestedDtuGuarantee |
integer (int32) |
要求的 DTU 保證。 |
| properties.requestedElasticPoolName |
string |
如果可用,則為彈性集區要求的名稱。 |
| properties.requestedStorageLimitInGB |
integer (int64) |
如果有的話,以 GB 為單位的集區所要求的記憶體限制。 |
| properties.requestedStorageLimitInMB |
integer (int32) |
要求以 MB 為單位的記憶體限制。 |
| properties.serverName |
string |
彈性集區位於的伺服器名稱。 |
| properties.startTime |
string (date-time) |
作業啟動的時間(ISO8601格式)。 |
| properties.state |
string |
作業的目前狀態。 |
| type |
string |
資源類型。 |
ElasticPoolActivityListResult
表示清單彈性集區活動要求的回應。
| 名稱 | 類型 | Description |
|---|---|---|
| value |
彈性集區活動的清單。 |