Skip to main content

agreements

Creates, updates, deletes, gets or lists an agreements resource.

Overview

Nameagreements
TypeResource
Idazure.billing.agreements

Fields

The following fields are returned by SELECT queries:

A billing account.

NameDatatypeDescription
propertiesobjectAn agreement.
tagsobjectDictionary 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 < > % & \ ? /

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectbillingAccountName, agreementNameGets an agreement by ID.
list_by_billing_accountselectbillingAccountNameexpandLists the agreements for a billing account.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
agreementNamestringThe ID that uniquely identifies an agreement.
billingAccountNamestringThe ID that uniquely identifies a billing account.
expandstringMay be used to expand the participants.

SELECT examples

Gets an agreement by ID.

SELECT
properties,
tags
FROM azure.billing.agreements
WHERE billingAccountName = '{{ billingAccountName }}' -- required
AND agreementName = '{{ agreementName }}' -- required
;