Skip to main content

available_balances

Creates, updates, deletes, gets or lists a available_balances resource.

Overview

Nameavailable_balances
TypeResource
Idazure.billing.available_balances

Fields

NameDatatypeDescription
amounttextfield from the properties object
billingAccountNametextfield from the properties object
billingProfileNametextfield from the properties object
payments_on_accounttextfield from the properties object
tagstextDictionary of metadata associated with the resource. It may not be populated for all resource types. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /
total_payments_on_accounttextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
get_by_billing_accountSELECTbillingAccountNameThe Available Credit or Payment on Account Balance for a billing account. The credit balance can be used to settle due or past due invoices and is supported for billing accounts with agreement type Microsoft Customer Agreement. The payment on account balance is supported for billing accounts with agreement type Microsoft Customer Agreement or Microsoft Online Services Program.
get_by_billing_profileSELECTbillingAccountName, billingProfileNameThe Available Credit or Payment on Account Balance for a billing profile. The credit balance can be used to settle due or past due invoices and is supported for billing accounts with agreement type Microsoft Customer Agreement. The payment on account balance is supported for billing accounts with agreement type Microsoft Customer Agreement.

SELECT examples

The Available Credit or Payment on Account Balance for a billing account. The credit balance can be used to settle due or past due invoices and is supported for billing accounts with agreement type Microsoft Customer Agreement. The payment on account balance is supported for billing accounts with agreement type Microsoft Customer Agreement or Microsoft Online Services Program.

SELECT
amount,
billingAccountName,
billingProfileName,
payments_on_account,
tags,
total_payments_on_account
FROM azure.billing.vw_available_balances
WHERE billingAccountName = '{{ billingAccountName }}';