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_benefits.savings_plan_orders

Fields

NameDatatypeDescription
idtextFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
nametextThe name of the resource
benefit_start_timetextfield 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
provisioning_statetextfield from the properties object
savingsPlanOrderIdtextfield from the properties object
savings_planstextfield from the properties object
skutextThe resource model definition representing SKU
system_datatextfield from the properties object
termtextfield from the properties object
typetextThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Methods

NameAccessible byRequired ParamsDescription
getSELECTsavingsPlanOrderIdGet a savings plan order.
listSELECTList all Savings plan orders.
elevateEXECsavingsPlanOrderIdElevate as owner on savings plan order based on billing permissions.

SELECT examples

List all Savings plan orders.

SELECT
id,
name,
benefit_start_time,
billing_account_id,
billing_plan,
billing_profile_id,
billing_scope_id,
customer_id,
display_name,
expiry_date_time,
extended_status_info,
plan_information,
provisioning_state,
savingsPlanOrderId,
savings_plans,
sku,
system_data,
term,
type
FROM azure.billing_benefits.vw_savings_plan_orders
;