Skip to main content

reservation_order_aliases

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

Overview

Namereservation_order_aliases
TypeResource
Idazure.billing_benefits.reservation_order_aliases

Fields

NameDatatypeDescription
idtextFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
nametextThe name of the resource
applied_scope_propertiestextfield from the properties object
applied_scope_typetextfield from the properties object
billing_plantextfield from the properties object
billing_scope_idtextfield from the properties object
display_nametextfield from the properties object
locationtextThe Azure Region where the reserved resource lives.
provisioning_statetextfield from the properties object
quantitytextfield from the properties object
renewtextfield from the properties object
reservationOrderAliasNametextfield from the properties object
reservation_order_idtextfield from the properties object
reserved_resource_propertiestextfield from the properties object
reserved_resource_typetextfield from the properties object
review_date_timetextfield 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
getSELECTreservationOrderAliasNameGet a reservation order alias.
createINSERTreservationOrderAliasName, data__skuCreate a reservation order alias.

SELECT examples

Get a reservation order alias.

SELECT
id,
name,
applied_scope_properties,
applied_scope_type,
billing_plan,
billing_scope_id,
display_name,
location,
provisioning_state,
quantity,
renew,
reservationOrderAliasName,
reservation_order_id,
reserved_resource_properties,
reserved_resource_type,
review_date_time,
sku,
system_data,
term,
type
FROM azure.billing_benefits.vw_reservation_order_aliases
WHERE reservationOrderAliasName = '{{ reservationOrderAliasName }}';

INSERT example

Use the following StackQL query and manifest file to create a new reservation_order_aliases resource.

/*+ create */
INSERT INTO azure.billing_benefits.reservation_order_aliases (
reservationOrderAliasName,
data__sku,
sku,
location,
properties
)
SELECT
'{{ reservationOrderAliasName }}',
'{{ data__sku }}',
'{{ sku }}',
'{{ location }}',
'{{ properties }}'
;