reservation_order_aliases
Creates, updates, deletes, gets or lists a reservation_order_aliases
resource.
Overview
Name | reservation_order_aliases |
Type | Resource |
Id | azure.billing_benefits.reservation_order_aliases |
Fields
- vw_reservation_order_aliases
- reservation_order_aliases
Name | Datatype | Description |
---|---|---|
id | text | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
name | text | The name of the resource |
applied_scope_properties | text | field from the properties object |
applied_scope_type | text | field from the properties object |
billing_plan | text | field from the properties object |
billing_scope_id | text | field from the properties object |
display_name | text | field from the properties object |
location | text | The Azure Region where the reserved resource lives. |
provisioning_state | text | field from the properties object |
quantity | text | field from the properties object |
renew | text | field from the properties object |
reservationOrderAliasName | text | field from the properties object |
reservation_order_id | text | field from the properties object |
reserved_resource_properties | text | field from the properties object |
reserved_resource_type | text | field from the properties object |
review_date_time | text | field from the properties object |
sku | text | The resource model definition representing SKU |
system_data | text | field from the properties object |
term | text | field from the properties object |
type | text | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
Name | Datatype | Description |
---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
name | string | The name of the resource |
location | string | The Azure Region where the reserved resource lives. |
properties | object | Reservation properties |
sku | object | The resource model definition representing SKU |
systemData | object | Metadata pertaining to creation and last modification of the resource. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | reservationOrderAliasName | Get a reservation order alias. |
create | INSERT | reservationOrderAliasName, data__sku | Create a reservation order alias. |
SELECT
examples
Get a reservation order alias.
- vw_reservation_order_aliases
- reservation_order_aliases
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 }}';
SELECT
id,
name,
location,
properties,
sku,
systemData,
type
FROM azure.billing_benefits.reservation_order_aliases
WHERE reservationOrderAliasName = '{{ reservationOrderAliasName }}';
INSERT
example
Use the following StackQL query and manifest file to create a new reservation_order_aliases
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.billing_benefits.reservation_order_aliases (
reservationOrderAliasName,
data__sku,
sku,
location,
properties
)
SELECT
'{{ reservationOrderAliasName }}',
'{{ data__sku }}',
'{{ sku }}',
'{{ location }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: id
value: string
- name: name
value: string
- name: type
value: string
- name: systemData
value:
- name: createdBy
value: string
- name: createdByType
value: string
- name: createdAt
value: string
- name: lastModifiedBy
value: string
- name: lastModifiedByType
value: string
- name: lastModifiedAt
value: string
- name: sku
value:
- name: name
value: string
- name: tier
value: []
- name: size
value: string
- name: family
value: string
- name: capacity
value: integer
- name: location
value: string
- name: properties
value:
- name: displayName
value: []
- name: billingScopeId
value: []
- name: term
value: []
- name: billingPlan
value: []
- name: appliedScopeType
value: []
- name: appliedScopeProperties
value:
- name: tenantId
value: []
- name: managementGroupId
value: []
- name: subscriptionId
value: []
- name: resourceGroupId
value: []
- name: displayName
value: string
- name: quantity
value: integer
- name: renew
value: []
- name: reservedResourceType
value: []
- name: reviewDateTime
value: string
- name: reservedResourceProperties
value:
- name: instanceFlexibility
value: []