Workload Groups - List By Database
ワークロード グループの一覧を取得します
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/workloadGroups?api-version=2021-11-01
URI パラメーター
名前 | / | 必須 | 型 | 説明 |
---|---|---|---|---|
database
|
path | True |
string |
データベースの名前。 |
resource
|
path | True |
string |
リソースが含まれているリソース グループの名前。 この値は、Azure リソース マネージャー API またはポータルから取得できます。 |
server
|
path | True |
string |
サーバーの名前。 |
subscription
|
path | True |
string |
Azure サブスクリプションを識別するサブスクリプション ID。 |
api-version
|
query | True |
string |
要求で使用する API のバージョン。 |
応答
名前 | 型 | 説明 |
---|---|---|
200 OK |
ワークロード グループの一覧が正常に取得されました。 |
|
Other Status Codes |
エラー応答: ***
|
例
Get the list of workload groups for a data warehouse
要求のサンプル
応答のサンプル
{
"value": [
{
"properties": {
"minResourcePercent": 0,
"maxResourcePercent": 100,
"minResourcePercentPerRequest": 5,
"maxResourcePercentPerRequest": 5,
"importance": "normal",
"queryExecutionTimeout": 0
},
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb/workloadGroups/smallrc",
"name": "smallrc",
"type": "Microsoft.Sql/servers/databases/workloadGroups"
},
{
"properties": {
"minResourcePercent": 0,
"maxResourcePercent": 100,
"minResourcePercentPerRequest": 10,
"maxResourcePercentPerRequest": 10,
"importance": "normal",
"queryExecutionTimeout": 0
},
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb/workloadGroups/mediumrc",
"name": "mediumrc",
"type": "Microsoft.Sql/servers/databases/workloadGroups"
},
{
"properties": {
"minResourcePercent": 0,
"maxResourcePercent": 100,
"minResourcePercentPerRequest": 20,
"maxResourcePercentPerRequest": 20,
"importance": "high",
"queryExecutionTimeout": 0
},
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb/workloadGroups/largerc",
"name": "largerc",
"type": "Microsoft.Sql/servers/databases/workloadGroups"
}
]
}
定義
名前 | 説明 |
---|---|
Workload |
データ ウェアハウスのワークロード グループ操作 |
Workload |
ワークロード グループの一覧。 |
WorkloadGroup
データ ウェアハウスのワークロード グループ操作
名前 | 型 | 説明 |
---|---|---|
id |
string |
リソースの ID |
name |
string |
リソース名。 |
properties.importance |
string |
ワークロード グループの重要度レベル。 |
properties.maxResourcePercent |
integer |
ワークロード グループの上限の割合リソース。 |
properties.maxResourcePercentPerRequest |
number |
ワークロード グループ要求の最大付与割合。 |
properties.minResourcePercent |
integer |
ワークロード グループの最小割合リソース。 |
properties.minResourcePercentPerRequest |
number |
ワークロード グループ要求の最小付与割合。 |
properties.queryExecutionTimeout |
integer |
ワークロード グループクエリの実行タイムアウト。 |
type |
string |
リソースの種類。 |
WorkloadGroupListResult
ワークロード グループの一覧。
名前 | 型 | 説明 |
---|---|---|
nextLink |
string |
結果の次のページを取得するためのリンク。 |
value |
結果の配列。 |