Scaleway · Schema

scaleway.instance.v1.Task

AICloud ComputingContainersDatabaseEuropean CloudInfrastructureKubernetesServerlessStorage

Properties

Name Type Description
id string Unique ID of the task.
description string Description of the task.
progress integer Progress of the task in percent.
started_at string Task start date. (RFC 3339 format)
terminated_at string Task end date. (RFC 3339 format)
status string Task status.
href_from string
href_result string
zone string Zone in which the task is executed.
View JSON Schema on GitHub

JSON Schema

scaleway-scalewayinstancev1task-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/scaleway.instance.v1.Task",
  "title": "scaleway.instance.v1.Task",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique ID of the task."
    },
    "description": {
      "type": "string",
      "description": "Description of the task."
    },
    "progress": {
      "type": "integer",
      "description": "Progress of the task in percent.",
      "format": "int32"
    },
    "started_at": {
      "type": "string",
      "description": "Task start date. (RFC 3339 format)",
      "format": "date-time",
      "example": "2022-03-22T12:34:56.123456Z",
      "nullable": true
    },
    "terminated_at": {
      "type": "string",
      "description": "Task end date. (RFC 3339 format)",
      "format": "date-time",
      "example": "2022-03-22T12:34:56.123456Z",
      "nullable": true
    },
    "status": {
      "type": "string",
      "description": "Task status.",
      "enum": [
        "pending",
        "started",
        "success",
        "failure",
        "retry"
      ],
      "default": "pending"
    },
    "href_from": {
      "type": "string"
    },
    "href_result": {
      "type": "string"
    },
    "zone": {
      "type": "string",
      "description": "Zone in which the task is executed."
    }
  },
  "x-properties-order": [
    "id",
    "description",
    "progress",
    "started_at",
    "terminated_at",
    "status",
    "href_from",
    "href_result",
    "zone"
  ]
}