policies_by_customer_at_billing_accounts
Creates, updates, deletes, gets or lists a policies_by_customer_at_billing_accounts
resource.
Overview
Name | policies_by_customer_at_billing_accounts |
Type | Resource |
Id | azure.billing.policies_by_customer_at_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, customerName | Updates the policies for a customer at billing account scope. This operation is supported only for billing accounts with agreement type Microsoft Partner Agreement. |
INSERT
example
Use the following StackQL query and manifest file to create a new policies_by_customer_at_billing_accounts
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.billing.policies_by_customer_at_billing_accounts (
billingAccountName,
customerName,
tags,
properties
)
SELECT
'{{ billingAccountName }}',
'{{ customerName }}',
'{{ tags }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: tags
value: object
- name: properties
value:
- name: provisioningState
value: string
- name: viewCharges
value: string
- name: policies
value:
- - name: name
value: string
- name: value
value: string
- name: policyType
value: string
- name: scope
value: string