Skip to main content

reservations

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

Overview

Namereservations
TypeResource
Idazure.billing.reservations

Fields

NameDatatypeDescription
applied_scope_propertiestextfield from the properties object
applied_scope_typetextfield from the properties object
applied_scopestextfield from the properties object
archivedtextfield from the properties object
benefit_start_timetextfield from the properties object
billingAccountNametextfield from the properties object
billing_plantextfield from the properties object
billing_scope_idtextfield from the properties object
capabilitiestextfield from the properties object
display_nametextfield from the properties object
display_provisioning_statetextfield from the properties object
effective_date_timetextfield from the properties object
etagintegerfield from the properties object
expiry_datetextfield from the properties object
expiry_date_timetextfield from the properties object
extended_status_infotextfield from the properties object
instance_flexibilitytextfield from the properties object
last_updated_date_timetextfield from the properties object
locationtextThe location of the reservation.
merge_propertiestextfield from the properties object
product_codetextfield from the properties object
provisioning_statetextfield from the properties object
provisioning_sub_statetextfield from the properties object
purchase_datetextfield from the properties object
purchase_date_timetextfield from the properties object
quantitytextfield from the properties object
renewtextfield from the properties object
renew_destinationtextfield from the properties object
renew_propertiestextfield from the properties object
renew_sourcetextfield from the properties object
reservationIdtextfield from the properties object
reservationOrderIdtextfield from the properties object
reserved_resource_typetextfield from the properties object
review_date_timetextfield from the properties object
skutextThe property of reservation sku object.
sku_descriptiontextfield from the properties object
split_propertiestextfield from the properties object
swap_propertiestextfield from the properties object
tagstextResource Tags
termtextfield from the properties object
user_friendly_applied_scope_typetextfield from the properties object
user_friendly_renew_statetextfield from the properties object
utilizationtextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
get_by_reservation_orderSELECTbillingAccountName, reservationId, reservationOrderIdGet specific Reservation details in the billing account.
list_by_billing_accountSELECTbillingAccountNameLists the reservations in the billing account and the roll up counts of reservations group by provisioning states.
list_by_billing_profileSELECTbillingAccountName, billingProfileNameLists the reservations for a billing profile and the roll up counts of reservations group by provisioning state.
list_by_reservation_orderSELECTbillingAccountName, reservationOrderIdList Reservations within a single ReservationOrder in the billing account.
update_by_billing_accountEXECbillingAccountName, reservationId, reservationOrderIdUpdate reservation by billing account.

SELECT examples

Lists the reservations in the billing account and the roll up counts of reservations group by provisioning states.

SELECT
applied_scope_properties,
applied_scope_type,
applied_scopes,
archived,
benefit_start_time,
billingAccountName,
billing_plan,
billing_scope_id,
capabilities,
display_name,
display_provisioning_state,
effective_date_time,
etag,
expiry_date,
expiry_date_time,
extended_status_info,
instance_flexibility,
last_updated_date_time,
location,
merge_properties,
product_code,
provisioning_state,
provisioning_sub_state,
purchase_date,
purchase_date_time,
quantity,
renew,
renew_destination,
renew_properties,
renew_source,
reservationId,
reservationOrderId,
reserved_resource_type,
review_date_time,
sku,
sku_description,
split_properties,
swap_properties,
tags,
term,
user_friendly_applied_scope_type,
user_friendly_renew_state,
utilization
FROM azure.billing.vw_reservations
WHERE billingAccountName = '{{ billingAccountName }}';