Dimensions - List
定義されたスコープでディメンションをListsします。
GET https://management.azure.com/{scope}/providers/Microsoft.CostManagement/dimensions?api-version=2023-11-01
GET https://management.azure.com/{scope}/providers/Microsoft.CostManagement/dimensions?api-version=2023-11-01&$filter={$filter}&$expand={$expand}&$skiptoken={$skiptoken}&$top={$top}
URI パラメーター
名前 | / | 必須 | 型 | 説明 |
---|---|---|---|---|
scope
|
path | True |
string |
ディメンション操作に関連付けられているスコープ。 これには、サブスクリプション スコープの場合は '/subscriptions/{subscriptionId}/'、resourceGroup スコープの場合は '/subscriptionId}/resourceGroup}/{resourceGroupName}' が含まれます。 '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope, '/providers/Microsoft.Billing/billingAccountId}/{billingAccounts/{enrollmentAccountId}' for EnrollmentAccount scope, '/providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for billingProfile scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/invoiceSections/{invoiceSectionId}' for invoiceSection scope, and 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/customers/{customerId}' specific for partners. |
api-version
|
query | True |
string |
この操作に使用する API バージョン。 |
$expand
|
query |
string |
ディメンション カテゴリ内のプロパティ/データを展開するために使用できます。 既定では、ディメンションを一覧表示するときにデータは含まれません。 |
|
$filter
|
query |
string |
ディメンションをプロパティ/カテゴリ、properties/usageStart、properties/usageEnd でフィルター処理するために使用できます。 サポートされている演算子は、'eq'、'lt'、'gt'、'le'、'ge' です。 |
|
$skiptoken
|
query |
string |
Skiptoken は、前の操作で部分的な結果が返された場合にのみ使用されます。 前の応答に nextLink 要素が含まれている場合、nextLink 要素の値には、後続の呼び出しに使用する開始点を指定する skiptoken パラメーターが含まれます。 |
|
$top
|
query |
integer int32 |
結果の数を最新の N 次元データに制限するために使用できます。 |
応答
名前 | 型 | 説明 |
---|---|---|
200 OK |
OK です。 要求は成功しました。 |
|
204 No Content |
コンテンツがありません。 リソースは使用できません。 |
|
Other Status Codes |
操作に失敗した理由を説明するエラー応答。 |
セキュリティ
azure_auth
Azure Active Directory OAuth2 フロー。
型:
oauth2
フロー:
implicit
Authorization URL (承認 URL):
https://login.microsoftonline.com/common/oauth2/authorize
スコープ
名前 | 説明 |
---|---|
user_impersonation | ユーザー アカウントの借用 |
例
BillingAccountDimensionsList-Legacy
要求のサンプル
GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts/100/providers/Microsoft.CostManagement/dimensions?api-version=2023-11-01
応答のサンプル
{
"value": [
{
"id": "providers/Microsoft.Billing/billingAccounts/100/providers/microsoft.CostManagement/dimensions_ResourceGroup_2018-05-01_2018-05-31",
"name": "dimensions_ResourceGroup_2018-05-01_2018-05-31",
"type": "microsoft.CostManagement/dimensions",
"properties": {
"data": [
"thoroetrg01",
"default-notificationhubs-westus",
"jedikeyvaultrg",
"contosocodeflow8d4a",
"noobaa"
],
"total": 377,
"category": "ResourceGroup",
"usageStart": "2018-05-01T00:00:00-07:00",
"usageEnd": "2018-05-31T00:00:00-07:00",
"description": "Resource group",
"filterEnabled": true,
"groupingEnabled": true
}
},
{
"id": "providers/Microsoft.Billing/billingAccounts/100/providers/microsoft.CostManagement/dimensions_ResourceType_2018-05-01_2018-05-31",
"name": "dimensions_ResourceType_2018-05-01_2018-05-31",
"type": "microsoft.CostManagement/dimensions",
"properties": {
"data": [
"thoroetrg01",
"default-notificationhubs-westus",
"jedikeyvaultrg",
"contosocodeflow8d4a",
"noobaa"
],
"total": 37,
"category": "ResourceType",
"usageStart": "2018-05-01T00:00:00-07:00",
"usageEnd": "2018-05-31T00:00:00-07:00",
"description": "Resource type",
"filterEnabled": true,
"groupingEnabled": true
}
}
]
}
BillingAccountDimensionsList-MCA
要求のサンプル
GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/providers/Microsoft.CostManagement/dimensions?api-version=2023-11-01
応答のサンプル
{
"value": [
{
"id": "providers/Microsoft.Billing/billingAccounts/12345:6789/providers/microsoft.CostManagement/dimensions_ResourceGroup_2019-10-01_2019-10-31",
"name": "dimensions_ResourceGroup_2019-10-01_2019-10-31",
"type": "microsoft.CostManagement/dimensions",
"properties": {
"data": [],
"total": 377,
"category": "ResourceGroup",
"usageStart": "2019-10-01T00:00:00-07:00",
"usageEnd": "2019-10-31T00:00:00-07:00",
"description": "Resource group",
"filterEnabled": true,
"groupingEnabled": true
}
},
{
"id": "providers/Microsoft.Billing/billingAccounts/12345:6789/providers/microsoft.CostManagement/dimensions_ResourceType_2019-10-01_2019-10-31",
"name": "dimensions_ResourceType_2019-10-01_2019-10-31",
"type": "microsoft.CostManagement/dimensions",
"properties": {
"data": [],
"total": 37,
"category": "ResourceType",
"usageStart": "2019-10-01T00:00:00-07:00",
"usageEnd": "2019-10-31T00:00:00-07:00",
"description": "Resource type",
"filterEnabled": true,
"groupingEnabled": true
}
}
]
}
BillingAccountDimensionsListExpandAndTop-Legacy
要求のサンプル
GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts/100/providers/Microsoft.CostManagement/dimensions?api-version=2023-11-01&$expand=properties/data&$top=5
応答のサンプル
{
"value": [
{
"id": "providers/Microsoft.Billing/billingAccounts/100/providers/microsoft.CostManagement/dimensions_ResourceGroup_2018-05-01_2018-05-31_5",
"name": "dimensions_ResourceGroup_2018-05-01_2018-05-31_5",
"type": "microsoft.CostManagement/dimensions",
"properties": {
"data": [
"thoroetrg01",
"default-notificationhubs-westus",
"jedikeyvaultrg",
"contosocodeflow8d4a",
"noobaa"
],
"total": 377,
"category": "ResourceGroup",
"usageStart": "2018-05-01T00:00:00-07:00",
"usageEnd": "2018-05-31T00:00:00-07:00",
"description": "Resource group",
"filterEnabled": true,
"groupingEnabled": true
}
},
{
"id": "providers/Microsoft.Billing/billingAccounts/100/providers/microsoft.CostManagement/dimensions_ResourceType_2018-05-01_2018-05-31_5",
"name": "dimensions_ResourceType_2018-05-01_2018-05-31_5",
"type": "microsoft.CostManagement/dimensions",
"properties": {
"data": [
"microsoft.automation/automationaccounts",
"microsoft.databricks/workspaces",
"microsoft.dbformysql/servers",
"microsoft.containerregistry/registries",
"microsoft.search/searchservices"
],
"total": 37,
"category": "ResourceType",
"usageStart": "2018-05-01T00:00:00-07:00",
"usageEnd": "2018-05-31T00:00:00-07:00",
"description": "Resource type",
"filterEnabled": true,
"groupingEnabled": true
}
}
]
}
BillingAccountDimensionsListExpandAndTop-MCA
要求のサンプル
GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/providers/Microsoft.CostManagement/dimensions?api-version=2023-11-01&$expand=properties/data&$top=5
応答のサンプル
{
"value": [
{
"id": "providers/Microsoft.Billing/billingAccounts/12345:6789/providers/microsoft.CostManagement/dimensions_ResourceGroup_2019-10-01_2019-10-31",
"name": "dimensions_ResourceGroup_2019-10-01_2019-10-31",
"type": "microsoft.CostManagement/dimensions",
"properties": {
"data": [
"thoroetrg01",
"default-notificationhubs-westus",
"jedikeyvaultrg",
"contosocodeflow8d4a",
"noobaa"
],
"total": 377,
"category": "ResourceGroup",
"usageStart": "2019-10-01T00:00:00-07:00",
"usageEnd": "2019-10-31T00:00:00-07:00",
"description": "Resource group",
"filterEnabled": true,
"groupingEnabled": true
}
},
{
"id": "providers/Microsoft.Billing/billingAccounts/12345:6789/providers/microsoft.CostManagement/dimensions_ResourceType_2019-10-01_2019-10-31",
"name": "dimensions_ResourceType_2019-10-01_2019-10-31",
"type": "microsoft.CostManagement/dimensions",
"properties": {
"data": [
"microsoft.automation/automationaccounts",
"microsoft.databricks/workspaces",
"microsoft.dbformysql/servers",
"microsoft.containerregistry/registries",
"microsoft.search/searchservices"
],
"total": 37,
"category": "ResourceType",
"usageStart": "2019-10-01T00:00:00-07:00",
"usageEnd": "2019-10-31T00:00:00-07:00",
"description": "Resource type",
"filterEnabled": true,
"groupingEnabled": true
}
}
]
}
BillingAccountDimensionsListWithFilter-Legacy
要求のサンプル
GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts/100/providers/Microsoft.CostManagement/dimensions?api-version=2023-11-01&$filter=properties/category eq 'resourceId'&$expand=properties/data&$top=5
応答のサンプル
{
"value": [
{
"id": "providers/Microsoft.Billing/billingAccounts/100/providers/microsoft.CostManagement/dimensions_ResourceId_2018-05-01_2018-05-31_5",
"name": "dimensions_ResourceId_2018-05-01_2018-05-31_5",
"type": "microsoft.CostManagement/dimensions",
"properties": {
"data": [
"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/system.orlando/providers/microsoft.storage/storageaccounts/urphealthaccount",
"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/system.orlando/providers/microsoft.storage/storageaccounts/srphytenaccount",
"/subscriptions/67e24f6b-1ec2-4c90-993a-dc2d25b00b6c/resourcegroups/defaultresourcegroup-eus/providers/microsoft.operationalinsights/workspaces/defaultworkspace-67e24f6b-1ec2-4c90-993a-dc2d25b00b6c-eus",
"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg-sql-ha/providers/microsoft.compute/virtualmachines/sql-4qqp1",
"/subscriptions/a98d6dc5-eb8f-46cf-8938-f1fb08f03706/resourcegroups/databricks-rg-testwsp-xijmsdubneexm/providers/microsoft.compute/disks/488cdb42bf74474a98075415be3f806c-containerrootvolume"
],
"total": 1409,
"category": "ResourceId",
"usageStart": "2018-05-01T00:00:00-07:00",
"usageEnd": "2018-05-31T00:00:00-07:00",
"description": "Resource Id",
"filterEnabled": true,
"groupingEnabled": true,
"nextLink": "http://management.azure.com/providers/Microsoft.Billing/billingAccounts/100/providers/Microsoft.CostManagement/Dimensions?$filter=properties/category eq 'resourceId'&$top=5&api-version=2019-10-01&$expand=properties/data&$skiptoken=AQAAAA%3D%3D"
}
}
]
}
BillingAccountDimensionsListWithFilter-MCA
要求のサンプル
GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/providers/Microsoft.CostManagement/dimensions?api-version=2023-11-01&$filter=properties/category eq 'resourceId'&$expand=properties/data&$top=5
応答のサンプル
{
"value": [
{
"id": "providers/Microsoft.Billing/billingAccounts/12345:6789/providers/microsoft.CostManagement/dimensions_ResourceId_2019-10-01_2019-10-31",
"name": "dimensions_ResourceId_2019-10-01_2019-10-31",
"type": "microsoft.CostManagement/dimensions",
"properties": {
"data": [
"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/system.orlando/providers/microsoft.storage/storageaccounts/urphealthaccount",
"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/system.orlando/providers/microsoft.storage/storageaccounts/srphytenaccount",
"/subscriptions/67e24f6b-1ec2-4c90-993a-dc2d25b00b6c/resourcegroups/defaultresourcegroup-eus/providers/microsoft.operationalinsights/workspaces/defaultworkspace-67e24f6b-1ec2-4c90-993a-dc2d25b00b6c-eus",
"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg-sql-ha/providers/microsoft.compute/virtualmachines/sql-4qqp1",
"/subscriptions/a98d6dc5-eb8f-46cf-8938-f1fb08f03706/resourcegroups/databricks-rg-testwsp-xijmsdubneexm/providers/microsoft.compute/disks/488cdb42bf74474a98075415be3f806c-containerrootvolume"
],
"total": 1409,
"category": "ResourceId",
"usageStart": "2019-10-01T00:00:00-07:00",
"usageEnd": "2019-10-31T00:00:00-07:00",
"description": "Resource Id",
"filterEnabled": true,
"groupingEnabled": true,
"nextLink": "http://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/providers/Microsoft.CostManagement/Dimensions?$filter=properties/category eq 'resourceId'&$top=5&api-version=2019-10-01&$expand=properties/data&$skiptoken=AQAAAA%3D%3D"
}
}
]
}
BillingProfileDimensionsList-MCA
要求のサンプル
GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/providers/Microsoft.CostManagement/dimensions?api-version=2023-11-01
応答のサンプル
{
"value": [
{
"id": "providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/providers/microsoft.CostManagement/dimensions_ResourceGroup_2019-10-01_2019-10-31",
"name": "dimensions_ResourceGroup_2019-10-01_2019-10-31",
"type": "microsoft.CostManagement/dimensions",
"properties": {
"data": [],
"total": 377,
"category": "ResourceGroup",
"usageStart": "2019-10-01T00:00:00-07:00",
"usageEnd": "2019-10-31T00:00:00-07:00",
"description": "Resource group",
"filterEnabled": true,
"groupingEnabled": true
}
},
{
"id": "providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/providers/microsoft.CostManagement/dimensions_ResourceType_2019-10-01_2019-10-31",
"name": "dimensions_ResourceType_2019-10-01_2019-10-31",
"type": "microsoft.CostManagement/dimensions",
"properties": {
"data": [],
"total": 37,
"category": "ResourceType",
"usageStart": "2019-10-01T00:00:00-07:00",
"usageEnd": "2019-10-31T00:00:00-07:00",
"description": "Resource type",
"filterEnabled": true,
"groupingEnabled": true
}
}
]
}
BillingProfileDimensionsListExpandAndTop-MCA
要求のサンプル
GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/providers/Microsoft.CostManagement/dimensions?api-version=2023-11-01&$expand=properties/data&$top=5
応答のサンプル
{
"value": [
{
"id": "providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/providers/microsoft.CostManagement/dimensions_ResourceGroup_2019-10-01_2019-10-31",
"name": "dimensions_ResourceGroup_2019-10-01_2019-10-31",
"type": "microsoft.CostManagement/dimensions",
"properties": {
"data": [
"thoroetrg01",
"default-notificationhubs-westus",
"jedikeyvaultrg",
"contosocodeflow8d4a",
"noobaa"
],
"total": 377,
"category": "ResourceGroup",
"usageStart": "2019-10-01T00:00:00-07:00",
"usageEnd": "2019-10-31T00:00:00-07:00",
"description": "Resource group",
"filterEnabled": true,
"groupingEnabled": true
}
},
{
"id": "providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/providers/microsoft.CostManagement/dimensions_ResourceType_2019-10-01_2019-10-31",
"name": "dimensions_ResourceType_2019-10-01_2019-10-31",
"type": "microsoft.CostManagement/dimensions",
"properties": {
"data": [
"microsoft.automation/automationaccounts",
"microsoft.databricks/workspaces",
"microsoft.dbformysql/servers",
"microsoft.containerregistry/registries",
"microsoft.search/searchservices"
],
"total": 37,
"category": "ResourceType",
"usageStart": "2019-10-01T00:00:00-07:00",
"usageEnd": "2019-10-31T00:00:00-07:00",
"description": "Resource type",
"filterEnabled": true,
"groupingEnabled": true
}
}
]
}
BillingProfileDimensionsListWithFilter-MCA
要求のサンプル
GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/providers/Microsoft.CostManagement/dimensions?api-version=2023-11-01&$filter=properties/category eq 'resourceId'&$expand=properties/data&$top=5
応答のサンプル
{
"value": [
{
"id": "providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/providers/microsoft.CostManagement/dimensions_ResourceId_2019-10-01_2019-10-31",
"name": "dimensions_ResourceId_2019-10-01_2019-10-31",
"type": "microsoft.CostManagement/dimensions",
"properties": {
"data": [
"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/system.orlando/providers/microsoft.storage/storageaccounts/urphealthaccount",
"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/system.orlando/providers/microsoft.storage/storageaccounts/srphytenaccount",
"/subscriptions/67e24f6b-1ec2-4c90-993a-dc2d25b00b6c/resourcegroups/defaultresourcegroup-eus/providers/microsoft.operationalinsights/workspaces/defaultworkspace-67e24f6b-1ec2-4c90-993a-dc2d25b00b6c-eus",
"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg-sql-ha/providers/microsoft.compute/virtualmachines/sql-4qqp1",
"/subscriptions/a98d6dc5-eb8f-46cf-8938-f1fb08f03706/resourcegroups/databricks-rg-testwsp-xijmsdubneexm/providers/microsoft.compute/disks/488cdb42bf74474a98075415be3f806c-containerrootvolume"
],
"total": 1409,
"category": "ResourceId",
"usageStart": "2019-10-01T00:00:00-07:00",
"usageEnd": "2019-10-31T00:00:00-07:00",
"description": "Resource Id",
"filterEnabled": true,
"groupingEnabled": true,
"nextLink": "http://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/providers/Microsoft.CostManagement/Dimensions?$filter=properties/category eq 'resourceId'&$top=5&api-version=2019-10-01&$expand=properties/data&$skiptoken=AQAAAA%3D%3D"
}
}
]
}
CustomerDimensionsList-MCA
要求のサンプル
GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/customers/5678/providers/Microsoft.CostManagement/dimensions?api-version=2023-11-01
応答のサンプル
{
"value": [
{
"id": "providers/Microsoft.Billing/billingAccounts/12345:6789/customers/5678/providers/microsoft.CostManagement/dimensions_ResourceGroup_2019-10-01_2019-10-31",
"name": "dimensions_ResourceGroup_2019-10-01_2019-10-31",
"type": "microsoft.CostManagement/dimensions",
"properties": {
"data": [],
"total": 377,
"category": "ResourceGroup",
"usageStart": "2019-10-01T00:00:00-07:00",
"usageEnd": "2019-10-31T00:00:00-07:00",
"description": "Resource group",
"filterEnabled": true,
"groupingEnabled": true
}
},
{
"id": "providers/Microsoft.Billing/billingAccounts/12345:6789/customers/5678/providers/microsoft.CostManagement/dimensions_ResourceType_2019-10-01_2019-10-31",
"name": "dimensions_ResourceType_2019-10-01_2019-10-31",
"type": "microsoft.CostManagement/dimensions",
"properties": {
"data": [],
"total": 37,
"category": "ResourceType",
"usageStart": "2019-10-01T00:00:00-07:00",
"usageEnd": "2019-10-31T00:00:00-07:00",
"description": "Resource type",
"filterEnabled": true,
"groupingEnabled": true
}
}
]
}
CustomerDimensionsListExpandAndTop-MCA
要求のサンプル
GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/customers/5678/providers/Microsoft.CostManagement/dimensions?api-version=2023-11-01&$expand=properties/data&$top=5
応答のサンプル
{
"value": [
{
"id": "providers/Microsoft.Billing/billingAccounts/12345:6789/customers/5678/providers/microsoft.CostManagement/dimensions_ResourceGroup_2019-10-01_2019-10-31",
"name": "dimensions_ResourceGroup_2019-10-01_2019-10-31",
"type": "microsoft.CostManagement/dimensions",
"properties": {
"data": [
"thoroetrg01",
"default-notificationhubs-westus",
"jedikeyvaultrg",
"contosocodeflow8d4a",
"noobaa"
],
"total": 377,
"category": "ResourceGroup",
"usageStart": "2019-10-01T00:00:00-07:00",
"usageEnd": "2019-10-31T00:00:00-07:00",
"description": "Resource group",
"filterEnabled": true,
"groupingEnabled": true
}
},
{
"id": "providers/Microsoft.Billing/billingAccounts/12345:6789/customers/5678/providers/microsoft.CostManagement/dimensions_ResourceType_2019-10-01_2019-10-31",
"name": "dimensions_ResourceType_2019-10-01_2019-10-31",
"type": "microsoft.CostManagement/dimensions",
"properties": {
"data": [
"microsoft.automation/automationaccounts",
"microsoft.databricks/workspaces",
"microsoft.dbformysql/servers",
"microsoft.containerregistry/registries",
"microsoft.search/searchservices"
],
"total": 37,
"category": "ResourceType",
"usageStart": "2019-10-01T00:00:00-07:00",
"usageEnd": "2019-10-31T00:00:00-07:00",
"description": "Resource type",
"filterEnabled": true,
"groupingEnabled": true
}
}
]
}
CustomerDimensionsListWithFilter-MCA
要求のサンプル
GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/customers/5678/providers/Microsoft.CostManagement/dimensions?api-version=2023-11-01&$filter=properties/category eq 'resourceId'&$expand=properties/data&$top=5
応答のサンプル
{
"value": [
{
"id": "providers/Microsoft.Billing/billingAccounts/12345:6789/customers/5678/providers/microsoft.CostManagement/dimensions_ResourceId_2019-10-01_2019-10-31",
"name": "dimensions_ResourceId_2019-10-01_2019-10-31",
"type": "microsoft.CostManagement/dimensions",
"properties": {
"data": [
"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/system.orlando/providers/microsoft.storage/storageaccounts/urphealthaccount",
"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/system.orlando/providers/microsoft.storage/storageaccounts/srphytenaccount",
"/subscriptions/67e24f6b-1ec2-4c90-993a-dc2d25b00b6c/resourcegroups/defaultresourcegroup-eus/providers/microsoft.operationalinsights/workspaces/defaultworkspace-67e24f6b-1ec2-4c90-993a-dc2d25b00b6c-eus",
"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg-sql-ha/providers/microsoft.compute/virtualmachines/sql-4qqp1",
"/subscriptions/a98d6dc5-eb8f-46cf-8938-f1fb08f03706/resourcegroups/databricks-rg-testwsp-xijmsdubneexm/providers/microsoft.compute/disks/488cdb42bf74474a98075415be3f806c-containerrootvolume"
],
"total": 1409,
"category": "ResourceId",
"usageStart": "2019-10-01T00:00:00-07:00",
"usageEnd": "2019-10-31T00:00:00-07:00",
"description": "Resource Id",
"filterEnabled": true,
"groupingEnabled": true,
"nextLink": "http://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/customers/5678/providers/Microsoft.CostManagement/Dimensions?$filter=properties/category eq 'resourceId'&$top=5&api-version=2019-10-01&$expand=properties/data&$skiptoken=AQAAAA%3D%3D"
}
}
]
}
DepartmentDimensionsList-Legacy
要求のサンプル
GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts/100/departments/123/providers/Microsoft.CostManagement/dimensions?api-version=2023-11-01
応答のサンプル
{
"value": [
{
"id": "providers/Microsoft.Billing/billingAccounts/100/departments/123/providers/microsoft.CostManagement/dimensions_ResourceGroup_2018-05-01_2018-05-31",
"name": "dimensions_ResourceGroup_2018-05-01_2018-05-31",
"type": "microsoft.CostManagement/dimensions",
"properties": {
"data": [
"thoroetrg01",
"default-notificationhubs-westus",
"jedikeyvaultrg",
"contosocodeflow8d4a",
"noobaa"
],
"total": 377,
"category": "ResourceGroup",
"usageStart": "2018-05-01T00:00:00-07:00",
"usageEnd": "2018-05-31T00:00:00-07:00",
"description": "Resource group",
"filterEnabled": true,
"groupingEnabled": true
}
},
{
"id": "providers/Microsoft.Billing/billingAccounts/100/departments/123/providers/microsoft.CostManagement/dimensions_ResourceType_2018-05-01_2018-05-31",
"name": "dimensions_ResourceType_2018-05-01_2018-05-31",
"type": "microsoft.CostManagement/dimensions",
"properties": {
"data": [
"thoroetrg01",
"default-notificationhubs-westus",
"jedikeyvaultrg",
"contosocodeflow8d4a",
"noobaa"
],
"total": 37,
"category": "ResourceType",
"usageStart": "2018-05-01T00:00:00-07:00",
"usageEnd": "2018-05-31T00:00:00-07:00",
"description": "Resource type",
"filterEnabled": true,
"groupingEnabled": true
}
}
]
}
DepartmentDimensionsListExpandAndTop-Legacy
要求のサンプル
GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts/100/departments/123/providers/Microsoft.CostManagement/dimensions?api-version=2023-11-01&$expand=properties/data&$top=5
応答のサンプル
{
"value": [
{
"id": "providers/Microsoft.Billing/billingAccounts/100/departments/123/providers/microsoft.CostManagement/dimensions_ResourceGroup_2018-05-01_2018-05-31_5",
"name": "dimensions_ResourceGroup_2018-05-01_2018-05-31_5",
"type": "microsoft.CostManagement/dimensions",
"properties": {
"data": [
"thoroetrg01",
"default-notificationhubs-westus",
"jedikeyvaultrg",
"contosocodeflow8d4a",
"noobaa"
],
"total": 377,
"category": "ResourceGroup",
"usageStart": "2018-05-01T00:00:00-07:00",
"usageEnd": "2018-05-31T00:00:00-07:00",
"description": "Resource group",
"filterEnabled": true,
"groupingEnabled": true
}
},
{
"id": "providers/Microsoft.Billing/billingAccounts/100/departments/123/providers/microsoft.CostManagement/dimensions_ResourceType_2018-05-01_2018-05-31_5",
"name": "dimensions_ResourceType_2018-05-01_2018-05-31_5",
"type": "microsoft.CostManagement/dimensions",
"properties": {
"data": [
"microsoft.automation/automationaccounts",
"microsoft.databricks/workspaces",
"microsoft.dbformysql/servers",
"microsoft.containerregistry/registries",
"microsoft.search/searchservices"
],
"total": 37,
"category": "ResourceType",
"usageStart": "2018-05-01T00:00:00-07:00",
"usageEnd": "2018-05-31T00:00:00-07:00",
"description": "Resource type",
"filterEnabled": true,
"groupingEnabled": true
}
}
]
}
DepartmentDimensionsListWithFilter-Legacy
要求のサンプル
GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts/100/departments/123/providers/Microsoft.CostManagement/dimensions?api-version=2023-11-01&$filter=properties/category eq 'resourceId'&$expand=properties/data&$top=5
応答のサンプル
{
"value": [
{
"id": "providers/Microsoft.Billing/billingAccounts/100/departments/123/providers/microsoft.CostManagement/dimensions_ResourceId_2018-05-01_2018-05-31_5",
"name": "dimensions_ResourceId_2018-05-01_2018-05-31_5",
"type": "microsoft.CostManagement/dimensions",
"properties": {
"data": [
"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/system.orlando/providers/microsoft.storage/storageaccounts/urphealthaccount",
"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/system.orlando/providers/microsoft.storage/storageaccounts/srphytenaccount",
"/subscriptions/67e24f6b-1ec2-4c90-993a-dc2d25b00b6c/resourcegroups/defaultresourcegroup-eus/providers/microsoft.operationalinsights/workspaces/defaultworkspace-67e24f6b-1ec2-4c90-993a-dc2d25b00b6c-eus",
"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg-sql-ha/providers/microsoft.compute/virtualmachines/sql-4qqp1",
"/subscriptions/a98d6dc5-eb8f-46cf-8938-f1fb08f03706/resourcegroups/databricks-rg-testwsp-xijmsdubneexm/providers/microsoft.compute/disks/488cdb42bf74474a98075415be3f806c-containerrootvolume"
],
"total": 1409,
"category": "ResourceId",
"usageStart": "2018-05-01T00:00:00-07:00",
"usageEnd": "2018-05-31T00:00:00-07:00",
"description": "Resource Id",
"filterEnabled": true,
"groupingEnabled": true,
"nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/100/departments/123/providers/Microsoft.CostManagement/Dimensions?$filter=properties/category eq 'resourceId'&$top=5&api-version=2019-10-01&$expand=properties/data&$skiptoken=AQAAAA%3D%3D"
}
}
]
}
EnrollmentAccountDimensionsList-Legacy
要求のサンプル
GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts/100/enrollmentAccounts/456/providers/Microsoft.CostManagement/dimensions?api-version=2023-11-01
応答のサンプル
{
"value": [
{
"id": "providers/Microsoft.Billing/billingAccounts/100/enrollmentAccounts/456/providers/microsoft.CostManagement/dimensions_ResourceGroup_2018-05-01_2018-05-31",
"name": "dimensions_ResourceGroup_2018-05-01_2018-05-31",
"type": "microsoft.CostManagement/dimensions",
"properties": {
"data": [],
"total": 377,
"category": "ResourceGroup",
"usageStart": "2018-05-01T00:00:00-07:00",
"usageEnd": "2018-05-31T00:00:00-07:00",
"description": "Resource group",
"filterEnabled": true,
"groupingEnabled": true
}
},
{
"id": "providers/Microsoft.Billing/billingAccounts/100/enrollmentAccounts/456/providers/microsoft.CostManagement/dimensions_ResourceType_2018-05-01_2018-05-31",
"name": "dimensions_ResourceType_2018-05-01_2018-05-31",
"type": "microsoft.CostManagement/dimensions",
"properties": {
"data": [],
"total": 37,
"category": "ResourceType",
"usageStart": "2018-05-01T00:00:00-07:00",
"usageEnd": "2018-05-31T00:00:00-07:00",
"description": "Resource type",
"filterEnabled": true,
"groupingEnabled": true
}
}
]
}
EnrollmentAccountDimensionsListExpandAndTop-Legacy
要求のサンプル
GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts/100/enrollmentAccounts/456/providers/Microsoft.CostManagement/dimensions?api-version=2023-11-01&$expand=properties/data&$top=5
応答のサンプル
{
"value": [
{
"id": "providers/Microsoft.Billing/billingAccounts/100/enrollmentAccounts/456/providers/microsoft.CostManagement/dimensions_ResourceGroup_2018-05-01_2018-05-31_5",
"name": "dimensions_ResourceGroup_2018-05-01_2018-05-31_5",
"type": "microsoft.CostManagement/dimensions",
"properties": {
"data": [
"thoroetrg01",
"default-notificationhubs-westus",
"jedikeyvaultrg",
"contosocodeflow8d4a",
"noobaa"
],
"total": 377,
"category": "ResourceGroup",
"usageStart": "2018-05-01T00:00:00-07:00",
"usageEnd": "2018-05-31T00:00:00-07:00",
"description": "Resource group",
"filterEnabled": true,
"groupingEnabled": true
}
},
{
"id": "providers/Microsoft.Billing/billingAccounts/100/enrollmentAccounts/456/providers/microsoft.CostManagement/dimensions_ResourceType_2018-05-01_2018-05-31_5",
"name": "dimensions_ResourceType_2018-05-01_2018-05-31_5",
"type": "microsoft.CostManagement/dimensions",
"properties": {
"data": [
"microsoft.automation/automationaccounts",
"microsoft.databricks/workspaces",
"microsoft.dbformysql/servers",
"microsoft.containerregistry/registries",
"microsoft.search/searchservices"
],
"total": 37,
"category": "ResourceType",
"usageStart": "2018-05-01T00:00:00-07:00",
"usageEnd": "2018-05-31T00:00:00-07:00",
"description": "Resource type",
"filterEnabled": true,
"groupingEnabled": true
}
}
]
}
EnrollmentAccountDimensionsListWithFilter-Legacy
要求のサンプル
GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts/100/enrollmentAccounts/456/providers/Microsoft.CostManagement/dimensions?api-version=2023-11-01&$filter=properties/category eq 'resourceId'&$expand=properties/data&$top=5
応答のサンプル
{
"value": [
{
"id": "providers/Microsoft.Billing/billingAccounts/100/enrollmentAccounts/456/providers/microsoft.CostManagement/dimensions_ResourceId_2018-05-01_2018-05-31_5",
"name": "dimensions_ResourceId_2018-05-01_2018-05-31_5",
"type": "microsoft.CostManagement/dimensions",
"properties": {
"data": [
"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/system.orlando/providers/microsoft.storage/storageaccounts/urphealthaccount",
"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/system.orlando/providers/microsoft.storage/storageaccounts/srphytenaccount",
"/subscriptions/67e24f6b-1ec2-4c90-993a-dc2d25b00b6c/resourcegroups/defaultresourcegroup-eus/providers/microsoft.operationalinsights/workspaces/defaultworkspace-67e24f6b-1ec2-4c90-993a-dc2d25b00b6c-eus",
"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg-sql-ha/providers/microsoft.compute/virtualmachines/sql-4qqp1",
"/subscriptions/a98d6dc5-eb8f-46cf-8938-f1fb08f03706/resourcegroups/databricks-rg-testwsp-xijmsdubneexm/providers/microsoft.compute/disks/488cdb42bf74474a98075415be3f806c-containerrootvolume"
],
"total": 1409,
"category": "ResourceId",
"usageStart": "2018-05-01T00:00:00-07:00",
"usageEnd": "2018-05-31T00:00:00-07:00",
"description": "Resource Id",
"filterEnabled": true,
"groupingEnabled": true,
"nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/100/enrollmentAccounts/456/providers/Microsoft.CostManagement/Dimensions?$filter=properties/category eq 'resourceId'&$top=5&api-version=2019-10-01&$expand=properties/data&$skiptoken=AQAAAA%3D%3D"
}
}
]
}
InvoiceSectionDimensionsList-MCA
要求のサンプル
GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/invoiceSections/9876/providers/Microsoft.CostManagement/dimensions?api-version=2023-11-01
応答のサンプル
{
"value": [
{
"id": "providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/invoiceSections/9876/providers/microsoft.CostManagement/dimensions_ResourceGroup_2019-10-01_2019-10-31",
"name": "dimensions_ResourceGroup_2019-10-01_2019-10-31",
"type": "microsoft.CostManagement/dimensions",
"properties": {
"data": [],
"total": 377,
"category": "ResourceGroup",
"usageStart": "2019-10-01T00:00:00-07:00",
"usageEnd": "2019-10-31T00:00:00-07:00",
"description": "Resource group",
"filterEnabled": true,
"groupingEnabled": true
}
},
{
"id": "providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/invoiceSections/9876/providers/microsoft.CostManagement/dimensions_ResourceType_2019-10-01_2019-10-31",
"name": "dimensions_ResourceType_2019-10-01_2019-10-31",
"type": "microsoft.CostManagement/dimensions",
"properties": {
"data": [],
"total": 37,
"category": "ResourceType",
"usageStart": "2019-10-01T00:00:00-07:00",
"usageEnd": "2019-10-31T00:00:00-07:00",
"description": "Resource type",
"filterEnabled": true,
"groupingEnabled": true
}
}
]
}
InvoiceSectionDimensionsListExpandAndTop-MCA
要求のサンプル
GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/invoiceSections/9876/providers/Microsoft.CostManagement/dimensions?api-version=2023-11-01&$expand=properties/data&$top=5
応答のサンプル
{
"value": [
{
"id": "providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/invoiceSections/9876/providers/microsoft.CostManagement/dimensions_ResourceGroup_2019-10-01_2019-10-31",
"name": "dimensions_ResourceGroup_2019-10-01_2019-10-31",
"type": "microsoft.CostManagement/dimensions",
"properties": {
"data": [
"thoroetrg01",
"default-notificationhubs-westus",
"jedikeyvaultrg",
"contosocodeflow8d4a",
"noobaa"
],
"total": 377,
"category": "ResourceGroup",
"usageStart": "2019-10-01T00:00:00-07:00",
"usageEnd": "2019-10-31T00:00:00-07:00",
"description": "Resource group",
"filterEnabled": true,
"groupingEnabled": true
}
},
{
"id": "providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/invoiceSections/9876/providers/microsoft.CostManagement/dimensions_ResourceType_2019-10-01_2019-10-31",
"name": "dimensions_ResourceType_2019-10-01_2019-10-31",
"type": "microsoft.CostManagement/dimensions",
"properties": {
"data": [
"microsoft.automation/automationaccounts",
"microsoft.databricks/workspaces",
"microsoft.dbformysql/servers",
"microsoft.containerregistry/registries",
"microsoft.search/searchservices"
],
"total": 37,
"category": "ResourceType",
"usageStart": "2019-10-01T00:00:00-07:00",
"usageEnd": "2019-10-31T00:00:00-07:00",
"description": "Resource type",
"filterEnabled": true,
"groupingEnabled": true
}
}
]
}
InvoiceSectionDimensionsListWithFilter-MCA
要求のサンプル
GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/invoiceSections/9876/providers/Microsoft.CostManagement/dimensions?api-version=2023-11-01&$filter=properties/category eq 'resourceId'&$expand=properties/data&$top=5
応答のサンプル
{
"value": [
{
"id": "providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/invoiceSections/9876/providers/microsoft.CostManagement/dimensions_ResourceId_2019-10-01_2019-10-31",
"name": "dimensions_ResourceId_2019-10-01_2019-10-31",
"type": "microsoft.CostManagement/dimensions",
"properties": {
"data": [
"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/system.orlando/providers/microsoft.storage/storageaccounts/urphealthaccount",
"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/system.orlando/providers/microsoft.storage/storageaccounts/srphytenaccount",
"/subscriptions/67e24f6b-1ec2-4c90-993a-dc2d25b00b6c/resourcegroups/defaultresourcegroup-eus/providers/microsoft.operationalinsights/workspaces/defaultworkspace-67e24f6b-1ec2-4c90-993a-dc2d25b00b6c-eus",
"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg-sql-ha/providers/microsoft.compute/virtualmachines/sql-4qqp1",
"/subscriptions/a98d6dc5-eb8f-46cf-8938-f1fb08f03706/resourcegroups/databricks-rg-testwsp-xijmsdubneexm/providers/microsoft.compute/disks/488cdb42bf74474a98075415be3f806c-containerrootvolume"
],
"total": 1409,
"category": "ResourceId",
"usageStart": "2019-10-01T00:00:00-07:00",
"usageEnd": "2019-10-31T00:00:00-07:00",
"description": "Resource Id",
"filterEnabled": true,
"groupingEnabled": true,
"nextLink": "http://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/invoiceSections/9876/providers/Microsoft.CostManagement/Dimensions?$filter=properties/category eq 'resourceId'&$top=5&api-version=2019-10-01&$expand=properties/data&$skiptoken=AQAAAA%3D%3D"
}
}
]
}
ManagementGroupDimensionsList-Legacy
要求のサンプル
GET https://management.azure.com/providers/Microsoft.Management/managementGroups/MyMgId/providers/Microsoft.CostManagement/dimensions?api-version=2023-11-01
応答のサンプル
{
"value": [
{
"id": "providers/Microsoft.Management/managementGroups/MyMgId/providers/microsoft.CostManagement/dimensions_ResourceGroup_2018-05-01_2018-05-31",
"name": "dimensions_ResourceGroup_2018-05-01_2018-05-31",
"type": "microsoft.CostManagement/dimensions",
"properties": {
"data": [],
"total": 377,
"category": "ResourceGroup",
"usageStart": "2018-05-01T00:00:00-07:00",
"usageEnd": "2018-05-31T00:00:00-07:00",
"description": "Resource group",
"filterEnabled": true,
"groupingEnabled": true
}
},
{
"id": "providers/Microsoft.Management/managementGroups/MyMgId/providers/microsoft.CostManagement/dimensions_ResourceType_2018-05-01_2018-05-31",
"name": "dimensions_ResourceType_2018-05-01_2018-05-31",
"type": "microsoft.CostManagement/dimensions",
"properties": {
"data": [],
"total": 37,
"category": "ResourceType",
"usageStart": "2018-05-01T00:00:00-07:00",
"usageEnd": "2018-05-31T00:00:00-07:00",
"description": "Resource type",
"filterEnabled": true,
"groupingEnabled": true
}
}
]
}
ManagementGroupDimensionsListExpandAndTop-Legacy
要求のサンプル
GET https://management.azure.com/providers/Microsoft.Management/managementGroups/MyMgId/providers/Microsoft.CostManagement/dimensions?api-version=2023-11-01&$expand=properties/data&$top=5
応答のサンプル
{
"value": [
{
"id": "providers/Microsoft.Management/managementGroups/MyMgId/providers/microsoft.CostManagement/dimensions_ResourceGroup_2018-05-01_2018-05-31_5",
"name": "dimensions_ResourceGroup_2018-05-01_2018-05-31_5",
"type": "microsoft.CostManagement/dimensions",
"properties": {
"data": [
"thoroetrg01",
"default-notificationhubs-westus",
"jedikeyvaultrg",
"contosocodeflow8d4a",
"noobaa"
],
"total": 377,
"category": "ResourceGroup",
"usageStart": "2018-05-01T00:00:00-07:00",
"usageEnd": "2018-05-31T00:00:00-07:00",
"description": "Resource group",
"filterEnabled": true,
"groupingEnabled": true
}
},
{
"id": "providers/Microsoft.Management/managementGroups/MyMgId/providers/microsoft.CostManagement/dimensions_ResourceType_2018-05-01_2018-05-31_5",
"name": "dimensions_ResourceType_2018-05-01_2018-05-31_5",
"type": "microsoft.CostManagement/dimensions",
"properties": {
"data": [
"microsoft.automation/automationaccounts",
"microsoft.databricks/workspaces",
"microsoft.dbformysql/servers",
"microsoft.containerregistry/registries",
"microsoft.search/searchservices"
],
"total": 37,
"category": "ResourceType",
"usageStart": "2018-05-01T00:00:00-07:00",
"usageEnd": "2018-05-31T00:00:00-07:00",
"description": "Resource type",
"filterEnabled": true,
"groupingEnabled": true
}
}
]
}
ManagementGroupDimensionsListWithFilter-Legacy
要求のサンプル
GET https://management.azure.com/providers/Microsoft.Management/managementGroups/MyMgId/providers/Microsoft.CostManagement/dimensions?api-version=2023-11-01&$filter=properties/category eq 'resourceId'&$expand=properties/data&$top=5
応答のサンプル
{
"value": [
{
"id": "providers/Microsoft.Management/managementGroups/MyMgId/providers/microsoft.CostManagement/dimensions_ResourceId_2018-05-01_2018-05-31_5",
"name": "dimensions_ResourceId_2018-05-01_2018-05-31_5",
"type": "microsoft.CostManagement/dimensions",
"properties": {
"data": [
"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/system.orlando/providers/microsoft.storage/storageaccounts/urphealthaccount",
"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/system.orlando/providers/microsoft.storage/storageaccounts/srphytenaccount",
"/subscriptions/67e24f6b-1ec2-4c90-993a-dc2d25b00b6c/resourcegroups/defaultresourcegroup-eus/providers/microsoft.operationalinsights/workspaces/defaultworkspace-67e24f6b-1ec2-4c90-993a-dc2d25b00b6c-eus",
"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg-sql-ha/providers/microsoft.compute/virtualmachines/sql-4qqp1",
"/subscriptions/a98d6dc5-eb8f-46cf-8938-f1fb08f03706/resourcegroups/databricks-rg-testwsp-xijmsdubneexm/providers/microsoft.compute/disks/488cdb42bf74474a98075415be3f806c-containerrootvolume"
],
"total": 1409,
"category": "ResourceId",
"usageStart": "2018-05-01T00:00:00-07:00",
"usageEnd": "2018-05-31T00:00:00-07:00",
"description": "Resource Id",
"filterEnabled": true,
"groupingEnabled": true,
"nextLink": "http://management.azure.com/providers/Microsoft.Management/managementGroups/MyMgId/providers/Microsoft.CostManagement/Dimensions?$filter=properties/category eq 'resourceId'&$top=5&api-version=2019-10-01&$expand=properties/data&$skiptoken=AQAAAA%3D%3D"
}
}
]
}
ResourceGroupDimensionsList-Legacy
要求のサンプル
GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/system.orlando/providers/Microsoft.CostManagement/dimensions?api-version=2023-11-01&$expand=properties/data&$top=5
応答のサンプル
{
"value": [
{
"id": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/system.orlando/providers/microsoft.CostManagement/dimensions_ResourceType_2018-05-01_2018-05-31_5",
"name": "dimensions_ResourceType_2018-05-01_2018-05-31_5",
"type": "microsoft.CostManagement/dimensions",
"properties": {
"data": [
"microsoft.storage/storageaccounts"
],
"total": 1,
"category": "ResourceType",
"usageStart": "2018-05-01T00:00:00-07:00",
"usageEnd": "2018-05-31T00:00:00-07:00",
"description": "Resource type",
"filterEnabled": true,
"groupingEnabled": true
}
},
{
"id": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/system.orlando/providers/microsoft.CostManagement/dimensions_ResourceId_2018-05-01_2018-05-31_5",
"name": "dimensions_ResourceId_2018-05-01_2018-05-31_5",
"type": "microsoft.CostManagement/dimensions",
"properties": {
"data": [
"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/system.orlando/providers/microsoft.storage/storageaccounts/authprod",
"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/system.orlando/providers/microsoft.storage/storageaccounts/systemevents",
"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/system.orlando/providers/microsoft.storage/storageaccounts/armadminprod",
"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/system.orlando/providers/microsoft.storage/storageaccounts/srphytenaccount",
"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/system.orlando/providers/microsoft.storage/storageaccounts/publicsystemportal"
],
"total": 27,
"category": "ResourceId",
"usageStart": "2018-05-01T00:00:00-07:00",
"usageEnd": "2018-05-31T00:00:00-07:00",
"description": "Resource Id",
"filterEnabled": true,
"groupingEnabled": true
}
}
]
}
SubscriptionDimensionsList-Legacy
要求のサンプル
GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.CostManagement/dimensions?api-version=2023-11-01&$expand=properties/data&$top=5
応答のサンプル
{
"value": [
{
"id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.CostManagement/dimensions_ResourceGroup_2018-05-01_2018-05-31_5",
"name": "dimensions_ResourceGroup_2018-05-01_2018-05-31_5",
"type": "microsoft.CostManagement/dimensions",
"properties": {
"data": [
"dcrg",
"rg",
"offlinegalleryrg",
"system.orlando.adminkeyvault",
"system.orlando.keyvault"
],
"total": 68,
"category": "ResourceGroup",
"usageStart": "2018-05-01T00:00:00-07:00",
"usageEnd": "2018-05-31T00:00:00-07:00",
"description": "Resource group",
"filterEnabled": true,
"groupingEnabled": true
}
},
{
"id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.CostManagement/dimensions_ResourceType_2018-05-01_2018-05-31_5",
"name": "dimensions_ResourceType_2018-05-01_2018-05-31_5",
"type": "microsoft.CostManagement/dimensions",
"properties": {
"data": [
"microsoft.storage/storageaccounts",
"microsoft.web.admin/role",
"microsoft.sql/servers",
"microsoft.compute/virtualmachines"
],
"total": 4,
"category": "ResourceType",
"usageStart": "2018-05-01T00:00:00-07:00",
"usageEnd": "2018-05-31T00:00:00-07:00",
"description": "Resource type",
"filterEnabled": true,
"groupingEnabled": true
}
}
]
}
定義
名前 | 説明 |
---|---|
Dimension |
ディメンションの一覧。 |
Dimensions |
ディメンションを一覧表示した結果。 使用可能なディメンションの一覧が含まれています。 |
Error |
エラーの詳細。 |
Error |
エラー応答は、サービスが受信要求を処理できないことを示します。 理由は、エラー メッセージに示されています。 いくつかのエラー応答:
|
Dimension
ディメンションの一覧。
名前 | 型 | 説明 |
---|---|---|
eTag |
string |
リソースの ETag。 |
id |
string |
リソース ID。 |
location |
string |
リソースの場所。 |
name |
string |
リソース名。 |
properties.category |
string |
ディメンション カテゴリ。 |
properties.data |
string[] |
ディメンション データ。 |
properties.description |
string |
ディメンションの説明。 |
properties.filterEnabled |
boolean |
フィルターが有効です。 |
properties.groupingEnabled |
boolean |
グループ化が有効です。 |
properties.nextLink |
string |
結果の次のページへのリンク (URL)。 |
properties.total |
integer |
ディメンションのデータの合計数。 |
properties.usageEnd |
string |
使用終了。 |
properties.usageStart |
string |
使用状況の開始。 |
sku |
string |
リソースの SKU。 |
tags |
object |
リソース タグ。 |
type |
string |
リソースの種類。 |
DimensionsListResult
ディメンションを一覧表示した結果。 使用可能なディメンションの一覧が含まれています。
名前 | 型 | 説明 |
---|---|---|
value |
ディメンションの一覧。 |
ErrorDetails
エラーの詳細。
名前 | 型 | 説明 |
---|---|---|
code |
string |
エラー コード。 |
message |
string |
操作が失敗した理由を示すエラー メッセージ。 |
ErrorResponse
エラー応答は、サービスが受信要求を処理できないことを示します。 理由は、エラー メッセージに示されています。
いくつかのエラー応答:
429 TooManyRequests - 要求が調整されました。 "x-ms-ratelimit-microsoft.consumption-retry-after" ヘッダーで指定された時間を待ってから再試行します。
503 ServiceUnavailable - サービスは一時的に使用できません。 "Retry-After" ヘッダーで指定された時刻まで待ってから、再試行してください。
名前 | 型 | 説明 |
---|---|---|
error |
エラーの詳細。 |