billing_account_sites
Creates, updates, deletes, gets or lists a billing_account_sites resource.
Overview​
| Name | billing_account_sites |
| Type | Resource |
| Id | ovh.telephony.billing_account_sites |
Fields​
The following fields are returned by SELECT queries:
- get
| Name | Datatype | Description |
|---|---|---|
value | string |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | billing_account | Get the billing account site | |
create | insert | billing_account, billing_account_site | Set the billing account site |
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 |
|---|---|---|
api_host | string | The OVHcloud API host. Selected by OVH_ENDPOINT (ovh-eu, ovh-ca or ovh-us; default ovh-eu). (default: api.eu.ovhcloud.com, x-stackQL-envVarSelector: {"envVar":"OVH_ENDPOINT","default":"ovh-eu","values":{"ovh-eu":"api.eu.ovhcloud.com","ovh-ca":"api.ca.ovhcloud.com","ovh-us":"api.us.ovhcloud.com"}}) |
billing_account | string | The name of your billingAccount (wire: billingAccount) |
SELECT examples​
- get
Get the billing account site
SELECT
value
FROM ovh.telephony.billing_account_sites
WHERE billing_account = '{{ billing_account }}' -- required
;
INSERT examples​
- create
- Manifest
Set the billing account site
INSERT INTO ovh.telephony.billing_account_sites (
billing_account_site,
billing_account
)
SELECT
'{{ billing_account_site }}' /* required */,
'{{ billing_account }}'
;
# Description fields are for documentation purposes
- name: billing_account_sites
props:
- name: billing_account
value: "{{ billing_account }}"
description: Required parameter for the billing_account_sites resource.
- name: billing_account_site
value: "{{ billing_account_site }}"
description: |
Billing account site (master billing account)