Bindplane

The Bindplane Developer Hub

Welcome to the Bindplane developer hub. You'll find comprehensive guides and documentation to help you start working with Bindplane as quickly as possible, as well as support if you get stuck. Let's jump right in!

Microsoft Azure Cost Management

Least Privileged User

Use the Azure CLI client to find the subscription ID and Tenant ID from your account list. Then create a custom RBAC role using the JSON provided by adding your subscription ID and renaming to azure.json. Finally, create an Active Directory Service Principal and assign the role to 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