Microsoft Azure Cost Management
Track Microsoft Azure Cost Metrics
This source has been deprecated
observIQ is in the process of transitioning a subset of BindPlane's monitoring capabilities to the observIQ OpenTelemetry Collector. As a result, this Source is no longer publicly available in BindPlane. If you need access to this Source, please reach out to our support via chat or via [email protected].
Not Included in the BindPlane with Google Stackdriver offering
All of the Google Cloud Platform sources listed within this documentation are not included with the BindPlane with Google Stackdriver offering.
Please refer to the Microsoft Azure Sources topic for additional information on how to configure the LPU, and general Azure Data Collection setup details.
Least Privileged User
Steps:
- Using the Azure CLI Client, find the Subscription ID and Tenant ID from your account list
- Create a custom RBAC role using the JSON provided. Include your Subscription ID and rename the file to azure.json
- Create an Active Directory Service Principal and assign the custom RBAC role t it.
Creating custom roles using the Azure CLI:
https://docs.microsoft.com/en-us/azure/role-based-access-control/custom-roles
Assigning roles using the Azure CLI:
https://docs.microsoft.com/en-us/azure/role-based-access-control/role-assignments-portal
{
"Name": "LPU Cost Management",
"Description": "LPU for Cost Management and Billing",
"Actions": [
"Microsoft.Billing/*/read",
"Microsoft.Consumption/*/read",
"Microsoft.Authorization/*/read"
],
"AssignableScopes": [
"/subscriptions/[Subscription ID]"
]
}
Connection Parameters
Name | Required? | Description |
---|---|---|
Subscription ID | Required | GUID Subscription ID |
Tenant ID | Required | GUID Tenant ID (also known as Directory ID) |
Client ID | Required | GUID Client ID (also known as Application ID) |
Client Secret | Required | The Secret (also known as Key) corresponding to the Client ID. |
Maximum HTTP Retry Time (seconds) | The maximum amount of time in seconds to retry each API request when the API is throttling. | |
HTTP Request Timeout (seconds) | The maximum amount of time in seconds before a single HTTP request will fail. | |
Monitor Metric Collection Level | Selects which monitor metrics should be collected. | |
Filter By Resource Group Type | Selects whether to use a whitelist or blacklist when filtering by Resource Groups. | |
Filter By Resource Group Whitelist | A comma separated list of resource groups to explicitly allow. A '*' character is used to represent 'all', and a blank string is used for 'none'. | |
Filter By Resource Group Blacklist | A comma separated list of resource groups to filter out. A '*' character is used to represent 'all', and a blank string is used for 'none'. | |
Filter By Tags Group Type | Selects whether to use a whitelist or blacklist when filtering by Resource Groups. | |
Filter By Tags Group Whitelist | A comma separated list of tags to explicitly allow. Tags must follow the format <key:value>. Instead of a specific tag, or tag value, a '*' character is used to represent 'all'. A blank entry is treated as 'none'. | |
Filter By Tags Group Blacklist | A comma separated list of tags to filter out. Tags must follow the format <key:value>. Instead of a specific tag, or tag value, a '*' character is used to represent 'all'. A blank entry is treated as 'none'. | |
Items per Page | The number of items to pull per Azure API request. |
Metrics
Billing Period
Name | Description |
---|---|
End Date | The end of the date range covered by the billing period |
ID | Billing period ID |
Invoice IDs | Invoice IDs that are associated with the billing period |
Name | Billing period name |
Start Date | The start of the date range covered by the billing period |
Type | Microsoft Azure resource type |
Usage Detail
Name | Description |
---|---|
Currency | The ISO currency in which the meter is charged |
ID | Usage details ID |
Instance ID | The URI of the resource instance that the usage is about |
Instance Name | The name of the resource instance that the usage is about |
Is Estimated | The estimated usage is subject to change |
Meter ID | The meter id (GUID) |
Meter Name | The name of the meter, within the given meter category. |
Name | Usage details name |
Pretax Cost | The amount of cost before tax |
Subscription GUID | Subscription GUID |
Tags | Microsoft Azure resource tags |
Type | Microsoft Azure resource type |
Usage End | The end of the date time range covered by the usage detail |
Usage Quantity | The quantity of usage |
Usage Start | The start of the date time range covered by the usage detail |
Updated almost 2 years ago