savings_plan_order_aliases
Creates, updates, deletes, gets or lists a savings_plan_order_aliases
resource.
Overview
Name | savings_plan_order_aliases |
Type | Resource |
Id | azure.billing_benefits.savings_plan_order_aliases |
Fields
The following fields are returned by SELECT
queries:
- get
The request is completed.
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 |
kind | string | Resource provider kind |
properties | object | Savings plan order alias properties |
sku | object | The SKU to be applied for this resource |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | savingsPlanOrderAliasName | Get a savings plan. | |
create | insert | savingsPlanOrderAliasName , data__sku | Create a savings plan. Learn more about permissions needed at https://go.microsoft.com/fwlink/?linkid=2215851 |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
savingsPlanOrderAliasName | string | Name of the savings plan order alias |
SELECT
examples
- get
Get a savings plan.
SELECT
id,
name,
kind,
properties,
sku,
systemData,
type
FROM azure.billing_benefits.savings_plan_order_aliases
WHERE savingsPlanOrderAliasName = '{{ savingsPlanOrderAliasName }}' -- required
;
INSERT
examples
- create
- Manifest
Create a savings plan. Learn more about permissions needed at https://go.microsoft.com/fwlink/?linkid=2215851
INSERT INTO azure.billing_benefits.savings_plan_order_aliases (
data__sku,
data__kind,
data__properties,
savingsPlanOrderAliasName
)
SELECT
'{{ sku }}' /* required */,
'{{ kind }}',
'{{ properties }}',
'{{ savingsPlanOrderAliasName }}'
RETURNING
id,
name,
kind,
properties,
sku,
systemData,
type
;
# Description fields are for documentation purposes
- name: savings_plan_order_aliases
props:
- name: savingsPlanOrderAliasName
value: string
description: Required parameter for the savings_plan_order_aliases resource.
- name: sku
value: object
description: |
The SKU to be applied for this resource
- name: kind
value: string
description: |
Resource provider kind
- name: properties
value: object
description: |
Savings plan order alias properties