policies_by_billing_accounts
Creates, updates, deletes, gets or lists a policies_by_billing_accounts
resource.
Overview
Name | policies_by_billing_accounts |
Type | Resource |
Id | azure.billing.policies_by_billing_accounts |
Fields
SELECT
not supported for this resource, use SHOW METHODS
to view available operations for the resource.
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
create_or_update | INSERT | billingAccountName | Update the policies for a billing account of Enterprise Agreement type. |
INSERT
example
Use the following StackQL query and manifest file to create a new policies_by_billing_accounts
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.billing.policies_by_billing_accounts (
billingAccountName,
tags,
properties
)
SELECT
'{{ billingAccountName }}',
'{{ tags }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: tags
value: object
- name: properties
value:
- name: provisioningState
value: string
- name: enterpriseAgreementPolicies
value: string
- name: marketplacePurchases
value: string
- name: reservationPurchases
value: string
- name: savingsPlanPurchases
value: string
- name: policies
value:
- - name: name
value: string
- name: value
value: string
- name: policyType
value: string
- name: scope
value: string