portability_relaunches
Creates, updates, deletes, gets or lists a portability_relaunches resource.
Overview​
| Name | portability_relaunches |
| Type | Resource |
| Id | ovh.telephony.portability_relaunches |
Fields​
The following fields are returned by SELECT queries:
- get
successful operation
| Name | Datatype | Description |
|---|---|---|
mandatory_parameters | array | Mandatory parameter list (wire: mandatoryParameters) |
optional_parameters | array | Optional parameter list (wire: optionalParameters) |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | billing_account, id | Check if the porting can be relaunched | |
create | insert | billing_account, id, parameters | Relaunch the porting |
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) |
id | integer | The ID of the portability |
SELECT examples​
- get
Check if the porting can be relaunched
SELECT
mandatory_parameters,
optional_parameters
FROM ovh.telephony.portability_relaunches
WHERE billing_account = '{{ billing_account }}' -- required
AND id = '{{ id }}' -- required
;
INSERT examples​
- create
- Manifest
Relaunch the porting
INSERT INTO ovh.telephony.portability_relaunches (
parameters,
billing_account,
id
)
SELECT
'{{ parameters }}' /* required */,
'{{ billing_account }}',
'{{ id }}'
;
# Description fields are for documentation purposes
- name: portability_relaunches
props:
- name: billing_account
value: "{{ billing_account }}"
description: Required parameter for the portability_relaunches resource.
- name: id
value: {{ id }}
description: Required parameter for the portability_relaunches resource.
- name: parameters
description: |
List of parameters to use to fix error
value:
- key: "{{ key }}"
value: "{{ value }}"