Share via


List Billing Meters - List Billing Meters

Description for Gets a list of meters for a given location.

GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Web/billingMeters?api-version=2024-11-01
GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Web/billingMeters?billingLocation={billingLocation}&osType={osType}&api-version=2024-11-01

URI Parameters

Name In Required Type Description
subscriptionId
path True

string

Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).

api-version
query True

string

API Version

billingLocation
query

string

Azure Location of billable resource

osType
query

string

App Service OS type meters used for

Responses

Name Type Description
200 OK

BillingMeterCollection

OK

Other Status Codes

DefaultErrorResponse

App Service error response.

Security

azure_auth

Azure Active Directory OAuth2 Flow

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

Scopes

Name Description
user_impersonation impersonate your user account

Definitions

Name Description
BillingMeter

App Service billing entity that contains information about meter which the Azure billing system utilizes to charge users for services.

BillingMeterCollection

Collection of Billing Meters

DefaultErrorResponse

App Service error response.

Details
Error

Error model.

BillingMeter

App Service billing entity that contains information about meter which the Azure billing system utilizes to charge users for services.

Name Type Description
id

string

Resource Id.

kind

string

Kind of resource.

name

string

Resource Name.

properties.billingLocation

string

Azure Location of billable resource

properties.friendlyName

string

Friendly name of the meter

properties.meterId

string

Meter GUID onboarded in Commerce

properties.multiplier

number (double)

Meter Multiplier

properties.osType

string

App Service OS type meter used for

properties.resourceType

string

App Service ResourceType meter used for

properties.shortName

string

Short Name from App Service Azure pricing Page

type

string

Resource type.

BillingMeterCollection

Collection of Billing Meters

Name Type Description
nextLink

string

Link to next page of resources.

value

BillingMeter[]

Collection of resources.

DefaultErrorResponse

App Service error response.

Name Type Description
error

Error

Error model.

Details

Name Type Description
code

string

Standardized string to programmatically identify the error.

message

string

Detailed error description and debugging information.

target

string

Detailed error description and debugging information.

Error

Error model.

Name Type Description
code

string

Standardized string to programmatically identify the error.

details

Details[]

Detailed errors.

innererror

string

More information to debug error.

message

string

Detailed error description and debugging information.

target

string

Detailed error description and debugging information.