Skip to main content

savings_plan_orders

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

Overview

Namesavings_plan_orders
TypeResource
Idazure.billing.savings_plan_orders

Fields

NameDatatypeDescription
benefit_start_timetextfield from the properties object
billingAccountNametextfield from the properties object
billing_account_idtextfield from the properties object
billing_plantextfield from the properties object
billing_profile_idtextfield from the properties object
billing_scope_idtextfield from the properties object
customer_idtextfield from the properties object
display_nametextfield from the properties object
expiry_date_timetextfield from the properties object
extended_status_infotextfield from the properties object
plan_informationtextfield from the properties object
product_codetextfield from the properties object
provisioning_statetextfield from the properties object
savingsPlanOrderIdtextfield from the properties object
savings_planstextfield from the properties object
skutextThe SKU to be applied for this resource
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 < > % & \ ? /
termtextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
get_by_billing_accountSELECTbillingAccountName, savingsPlanOrderIdGet a savings plan order by billing account.
list_by_billing_accountSELECTbillingAccountNameList all Savings plan orders by billing account.

SELECT examples

List all Savings plan orders by billing account.

SELECT
benefit_start_time,
billingAccountName,
billing_account_id,
billing_plan,
billing_profile_id,
billing_scope_id,
customer_id,
display_name,
expiry_date_time,
extended_status_info,
plan_information,
product_code,
provisioning_state,
savingsPlanOrderId,
savings_plans,
sku,
tags,
term
FROM azure.billing.vw_savings_plan_orders
WHERE billingAccountName = '{{ billingAccountName }}';