portability_statuses
Creates, updates, deletes, gets or lists a portability_statuses resource.
Overview​
| Name | portability_statuses |
| Type | Resource |
| Id | ovh.telephony.portability_statuses |
Fields​
The following fields are returned by SELECT queries:
- list
A step in the portability process
| Name | Datatype | Description |
|---|---|---|
name | string | The name of the portability step (acknowledgmentReceivedFromOperator, belgiumPortabilityRequestCreated, belgiumPortabilityRequestExecutionAcked, belgiumPortabilityRequestExecutionAsked, belgiumPortabilityRequestExecutionCompleted, belgiumPortabilityRequestValidated, belgiumPortabilityRequestWaitingUntilExec, customerFormReceived, customerFormSent, customerFormValidated, finalReportReceivedFromOperator, intermediateReportReceivedFromOperator, numberActivation, requestSentToOperator, sDASequenceReceivedFromOperator) |
description | string | A brief description of the step |
done_date | string (date-time) | The date when this step was done (wire: doneDate) |
duration | object | The theoric delay between the previous step's done date and this step's done date |
infos | object | Additional informations about the step |
status | string | Indicates if the step is to do, currently doing or done (cancelled, doing, done, error, hold, todo) |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | billing_account, id | Get the porting status |
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​
- list
Get the porting status
SELECT
name,
description,
done_date,
duration,
infos,
status
FROM ovh.telephony.portability_statuses
WHERE billing_account = '{{ billing_account }}' -- required
AND id = '{{ id }}' -- required
;