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