Skip to main content

organization_ip_space_tasks

Creates, updates, deletes, gets or lists an organization_ip_space_tasks resource.

Overview​

Nameorganization_ip_space_tasks
TypeResource
Idovh.vmware_cloud_director.organization_ip_space_tasks

Fields​

The following fields are returned by SELECT queries:

successful operation

NameDatatypeDescription
idstring (uuid)Unique identifier of the task
created_atstring (date-time)Creation date of the task (wire: createdAt)
errorsarrayErrors that occurred on the task
finished_atstring (date-time)Ending date of the task (wire: finishedAt)
linkstringLink to the related resource
messagestringDescription of the task
progressarrayProgress steps of the asynchronous operation
started_atstring (date-time)Starting date of the task (wire: startedAt)
statusstringCurrent global status of the task (DONE, ERROR, PENDING, RUNNING, SCHEDULED, WAITING_USER_INPUT)
typestringType of the task
updated_atstring (date-time)Last update of the task (wire: updatedAt)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectip_space_id, organization_id, task_idReturns the task: type, status, progress steps, errors and dates.
listselectip_space_id, organization_idx_pagination_cursor, x_pagination_sizeReturns the asynchronous tasks of the IP space.

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.

NameDatatypeDescription
api_hoststringThe 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"}})
ip_space_idstring (uuid)Ip space ID (wire: ipSpaceId)
organization_idstringOrganization ID (wire: organizationId)
task_idstring (uuid)Task ID (wire: taskId)
x_pagination_cursorstringPagination cursor (wire: X-Pagination-Cursor)
x_pagination_sizeintegerPagination size (wire: X-Pagination-Size)

SELECT examples​

Returns the task: type, status, progress steps, errors and dates.

SELECT
id,
created_at,
errors,
finished_at,
link,
message,
progress,
started_at,
status,
type,
updated_at
FROM ovh.vmware_cloud_director.organization_ip_space_tasks
WHERE ip_space_id = '{{ ip_space_id }}' -- required
AND organization_id = '{{ organization_id }}' -- required
AND task_id = '{{ task_id }}' -- required
;