rsva_current_rate_codes
Creates, updates, deletes, gets or lists a rsva_current_rate_codes resource.
Overview​
| Name | rsva_current_rate_codes |
| Type | Resource |
| Id | ovh.telephony.rsva_current_rate_codes |
Fields​
The following fields are returned by SELECT queries:
- get
successful operation
| Name | Datatype | Description |
|---|---|---|
cancel_limit_datetime | string (date-time) | Cancelable datetime deadline for the new scheduled rateCode (wire: cancelLimitDatetime) |
effective_datetime | string (date-time) | Effective datetime (wire: effectiveDatetime) |
price_per_call_without_tax | object | Price per call (wire: pricePerCallWithoutTax) |
price_per_minute_without_tax | object | Price in minute (wire: pricePerMinuteWithoutTax) |
rate_code | string | Scheduled rate code (wire: rateCode) |
repayment_price_per_call_without_tax | object | Repayment per call (wire: repaymentPricePerCallWithoutTax) |
repayment_price_per_minute_without_tax | object | Repayment per minute (wire: repaymentPricePerMinuteWithoutTax) |
update_rate_code_price_without_tax | object | Fees concerning rateCode update (wire: updateRateCodePriceWithoutTax) |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | billing_account, service_name | Get the current rate code |
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) |
service_name | string | (wire: serviceName) |
SELECT examples​
- get
Get the current rate code
SELECT
cancel_limit_datetime,
effective_datetime,
price_per_call_without_tax,
price_per_minute_without_tax,
rate_code,
repayment_price_per_call_without_tax,
repayment_price_per_minute_without_tax,
update_rate_code_price_without_tax
FROM ovh.telephony.rsva_current_rate_codes
WHERE billing_account = '{{ billing_account }}' -- required
AND service_name = '{{ service_name }}' -- required
;