Skip to main content

vw_reservation_order_aliases

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

Overview

Namevw_reservation_order_aliases
TypeView
Idazure.billing_benefits.vw_reservation_order_aliases

Fields

See the SQL Definition (view DDL) for fields returned by this view.

SQL Definition

SELECT
id as id,
name as name,
location as location,
type as type,
systemData as system_data,
sku as sku,
JSON_EXTRACT(properties, '$.displayName') as "display_name",
JSON_EXTRACT(properties, '$.reservationOrderId') as "reservation_order_id",
JSON_EXTRACT(properties, '$.provisioningState') as "provisioning_state",
JSON_EXTRACT(properties, '$.billingScopeId') as "billing_scope_id",
JSON_EXTRACT(properties, '$.term') as "term",
JSON_EXTRACT(properties, '$.billingPlan') as "billing_plan",
JSON_EXTRACT(properties, '$.appliedScopeType') as "applied_scope_type",
JSON_EXTRACT(properties, '$.appliedScopeProperties') as "applied_scope_properties",
JSON_EXTRACT(properties, '$.quantity') as "quantity",
JSON_EXTRACT(properties, '$.renew') as "renew",
JSON_EXTRACT(properties, '$.reservedResourceType') as "reserved_resource_type",
JSON_EXTRACT(properties, '$.reviewDateTime') as "review_date_time",
JSON_EXTRACT(properties, '$.reservedResourceProperties') as "reserved_resource_properties",
reservationOrderAliasName
FROM azure.billing_benefits.reservation_order_aliases
WHERE reservationOrderAliasName = 'replace-me';