policies_by_customers
Creates, updates, deletes, gets or lists a policies_by_customers
resource.
Overview
Name | policies_by_customers |
Type | Resource |
Id | azure.billing.policies_by_customers |
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, billingProfileName, customerName | Updates the policies for a customer. 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_customers
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.billing.policies_by_customers (
billingAccountName,
billingProfileName,
customerName,
tags,
properties
)
SELECT
'{{ billingAccountName }}',
'{{ billingProfileName }}',
'{{ 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