Condividi tramite


Dimensions - List

Elenchi le dimensioni in base all'ambito definito.

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}

Parametri dell'URI

Nome In Necessario Tipo Descrizione
scope
path True

string

Ambito associato alle operazioni di dimensione. Sono inclusi '/subscriptions/{subscriptionId}/' per l'ambito della sottoscrizione, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' per ambito resourceGroup, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' per ambito account di fatturazione, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' per ambito reparto, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{ enrollmentAccountId}' per ambito EnrollmentAccount, '/providers/Microsoft.Management/managementGroups/{managementGroupId}' per ambito del gruppo di gestione, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' per ambito billingProfile, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/invoiceSections/{invoiceSectionId}' per l'ambito invoiceSection e 'providers/Microsoft. Fatturazione/billingAccounts/{billingAccountId}/customers/{customerId}' specifico per i partner.

api-version
query True

string

Versione dell'API da usare per questa operazione.

$expand
query

string

Può essere utilizzato per espandere le proprietà o i dati all'interno di una categoria di dimensioni. Per impostazione predefinita, i dati non vengono inclusi quando si elencano le dimensioni.

$filter
query

string

Può essere usato per filtrare le dimensioni in base a proprietà/categoria, proprietà/usageStart, proprietà/usageEnd. Gli operatori supportati sono 'eq','lt', 'gt', 'le', 'ge'.

$skiptoken
query

string

Skiptoken viene usato solo se un'operazione precedente ha restituito un risultato parziale. Se una risposta precedente contiene un elemento nextLink, il valore dell'elemento nextLink includerà un parametro skiptoken che specifica un punto di partenza da usare per le chiamate successive.

$top
query

integer

int32

Può essere utilizzato per limitare il numero di risultati ai dati della dimensione N più recenti.

Risposte

Nome Tipo Descrizione
200 OK

DimensionsListResult

OK. La richiesta ha avuto esito positivo.

204 No Content

Nessun contenuto. La risorsa non è disponibile.

Other Status Codes

ErrorResponse

Risposta di errore che descrive il motivo per cui l'operazione non è riuscita.

Sicurezza

azure_auth

Flusso OAuth2 di Azure Active Directory.

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Nome Descrizione
user_impersonation rappresentare l'account utente

Esempio

BillingAccountDimensionsList-Legacy
BillingAccountDimensionsList-MCA
BillingAccountDimensionsListExpandAndTop-Legacy
BillingAccountDimensionsListExpandAndTop-MCA
BillingAccountDimensionsListWithFilter-Legacy
BillingAccountDimensionsListWithFilter-MCA
BillingProfileDimensionsList-MCA
BillingProfileDimensionsListExpandAndTop-MCA
BillingProfileDimensionsListWithFilter-MCA
CustomerDimensionsList-MCA
CustomerDimensionsListExpandAndTop-MCA
CustomerDimensionsListWithFilter-MCA
DepartmentDimensionsList-Legacy
DepartmentDimensionsListExpandAndTop-Legacy
DepartmentDimensionsListWithFilter-Legacy
EnrollmentAccountDimensionsList-Legacy
EnrollmentAccountDimensionsListExpandAndTop-Legacy
EnrollmentAccountDimensionsListWithFilter-Legacy
InvoiceSectionDimensionsList-MCA
InvoiceSectionDimensionsListExpandAndTop-MCA
InvoiceSectionDimensionsListWithFilter-MCA
ManagementGroupDimensionsList-Legacy
ManagementGroupDimensionsListExpandAndTop-Legacy
ManagementGroupDimensionsListWithFilter-Legacy
ResourceGroupDimensionsList-Legacy
SubscriptionDimensionsList-Legacy

BillingAccountDimensionsList-Legacy

Sample Request

GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts/100/providers/Microsoft.CostManagement/dimensions?api-version=2023-11-01

Sample Response

{
  "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

Sample Request

GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/providers/Microsoft.CostManagement/dimensions?api-version=2023-11-01

Sample Response

{
  "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

Sample Request

GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts/100/providers/Microsoft.CostManagement/dimensions?api-version=2023-11-01&$expand=properties/data&$top=5

Sample Response

{
  "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

Sample Request

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

Sample Response

{
  "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

Sample Request

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

Sample Response

{
  "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

Sample Request

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

Sample Response

{
  "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

Sample Request

GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/providers/Microsoft.CostManagement/dimensions?api-version=2023-11-01

Sample Response

{
  "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

Sample Request

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

Sample Response

{
  "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

Sample Request

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

Sample Response

{
  "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

Sample Request

GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/customers/5678/providers/Microsoft.CostManagement/dimensions?api-version=2023-11-01

Sample Response

{
  "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

Sample Request

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

Sample Response

{
  "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

Sample Request

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

Sample Response

{
  "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

Sample Request

GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts/100/departments/123/providers/Microsoft.CostManagement/dimensions?api-version=2023-11-01

Sample Response

{
  "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

Sample Request

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

Sample Response

{
  "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

Sample Request

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

Sample Response

{
  "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

Sample Request

GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts/100/enrollmentAccounts/456/providers/Microsoft.CostManagement/dimensions?api-version=2023-11-01

Sample Response

{
  "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

Sample Request

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

Sample Response

{
  "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

Sample Request

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

Sample Response

{
  "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

Sample Request

GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/invoiceSections/9876/providers/Microsoft.CostManagement/dimensions?api-version=2023-11-01

Sample Response

{
  "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

Sample Request

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

Sample Response

{
  "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

Sample Request

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

Sample Response

{
  "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

Sample Request

GET https://management.azure.com/providers/Microsoft.Management/managementGroups/MyMgId/providers/Microsoft.CostManagement/dimensions?api-version=2023-11-01

Sample Response

{
  "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

Sample Request

GET https://management.azure.com/providers/Microsoft.Management/managementGroups/MyMgId/providers/Microsoft.CostManagement/dimensions?api-version=2023-11-01&$expand=properties/data&$top=5

Sample Response

{
  "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

Sample Request

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

Sample Response

{
  "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

Sample Request

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

Sample Response

{
  "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

Sample Request

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

Sample Response

{
  "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
      }
    }
  ]
}

Definizioni

Nome Descrizione
Dimension

Elenco delle dimensioni.

DimensionsListResult

Risultato delle dimensioni dell'elenco. Contiene un elenco delle dimensioni disponibili.

ErrorDetails

Dettagli dell'errore.

ErrorResponse

La risposta di errore indica che il servizio non è in grado di elaborare la richiesta in ingresso. Il motivo viene fornito nel messaggio di errore.

Alcune risposte di errore:

  • 429 TooManyRequests - La richiesta è limitata. Riprovare dopo l'attesa del tempo specificato nell'intestazione "x-ms-ratelimit-microsoft.consumption-retry-after".

  • 503 ServiceUnavailable - Il servizio non è temporaneamente disponibile. Riprovare dopo aver atteso il tempo specificato nell'intestazione "Retry-After".

Dimension

Elenco delle dimensioni.

Nome Tipo Descrizione
eTag

string

ETag della risorsa.

id

string

ID risorsa.

location

string

Posizione della risorsa.

name

string

Nome risorsa.

properties.category

string

Categoria dimensione.

properties.data

string[]

Dati delle dimensioni.

properties.description

string

Descrizione della dimensione.

properties.filterEnabled

boolean

Filtro abilitato.

properties.groupingEnabled

boolean

Raggruppamento abilitato.

properties.nextLink

string

Collegamento (URL) alla pagina successiva dei risultati.

properties.total

integer

Numero totale di dati per la dimensione.

properties.usageEnd

string

Fine utilizzo.

properties.usageStart

string

Inizio utilizzo.

sku

string

SKU della risorsa.

tags

object

Tag delle risorse.

type

string

Tipo di risorsa.

DimensionsListResult

Risultato delle dimensioni dell'elenco. Contiene un elenco delle dimensioni disponibili.

Nome Tipo Descrizione
value

Dimension[]

Elenco di dimensioni.

ErrorDetails

Dettagli dell'errore.

Nome Tipo Descrizione
code

string

Codice di errore.

message

string

Messaggio di errore che indica il motivo per cui l'operazione non è riuscita.

ErrorResponse

La risposta di errore indica che il servizio non è in grado di elaborare la richiesta in ingresso. Il motivo viene fornito nel messaggio di errore.

Alcune risposte di errore:

  • 429 TooManyRequests - La richiesta è limitata. Riprovare dopo l'attesa del tempo specificato nell'intestazione "x-ms-ratelimit-microsoft.consumption-retry-after".

  • 503 ServiceUnavailable - Il servizio non è temporaneamente disponibile. Riprovare dopo aver atteso il tempo specificato nell'intestazione "Retry-After".

Nome Tipo Descrizione
error

ErrorDetails

Dettagli dell'errore.