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
The following fields are returned by SELECT
queries:
SELECT
not supported for this resource, use SHOW METHODS
to view available operations for the resource.
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional 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. |
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 |
---|---|---|
billingAccountName | string | The ID that uniquely identifies a billing account. |
customerName | string | The ID that uniquely identifies a customer. |
INSERT
examples
- create_or_update
- Manifest
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 INTO azure.billing.policies_by_customer_at_billing_accounts (
data__tags,
data__properties,
billingAccountName,
customerName
)
SELECT
'{{ tags }}',
'{{ properties }}',
'{{ billingAccountName }}',
'{{ customerName }}'
RETURNING
properties,
tags
;
# Description fields are for documentation purposes
- name: policies_by_customer_at_billing_accounts
props:
- name: billingAccountName
value: string
description: Required parameter for the policies_by_customer_at_billing_accounts resource.
- name: customerName
value: string
description: Required parameter for the policies_by_customer_at_billing_accounts resource.
- name: tags
value: object
description: |
Dictionary of metadata associated with the resource. It may not be populated for all resource types. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /
- name: properties
value: object
description: |
A policy at customer scope.