Compute Service API

The Compute Service API provides services that allows provisioning and life cycle management of Compute clusters.
More information: https://openapi-generator.tech
Contact Info: team@openapitools.org
Version: 1.4.0
BasePath:
All rights reserved
http://apache.org/licenses/LICENSE-2.0.html

Access

  1. OAuth AuthorizationUrl:https://identity.nks.europe-west4.nscale.com/oauth2/v2/authorizationTokenUrl:https://identity.nks.europe-west4.nscale.com/oauth2/v2/token

Methods

[ Jump to Models ]

Table of Contents

Default

Default

Up
get /api/v1/organizations/{organizationID}/clusters
(apiV1OrganizationsOrganizationIDClustersGet)
List all clusters within the organization.

Path parameters

organizationID (required)
Path Parameter — The organization ID. default: null

Query parameters

tag (optional)
Query Parameter — A set of tags to match against resources in the form "name=value", thus when encoded you get "?tag=foo%3Dcat&bar%3Ddog". default: null

Return type

array[computeClusterRead]

Example data

Content-Type: application/json
[ {
  "metadata" : {
    "modifiedTime" : "2000-01-23T04:56:07.000+00:00",
    "creationTime" : "2000-01-23T04:56:07.000+00:00",
    "description" : "description",
    "deletionTime" : "2000-01-23T04:56:07.000+00:00",
    "tags" : [ {
      "name" : "name",
      "value" : "value"
    }, {
      "name" : "name",
      "value" : "value"
    } ],
    "organizationId" : "organizationId",
    "createdBy" : "createdBy",
    "healthStatus" : "unknown",
    "provisioningStatus" : "unknown",
    "name" : "name",
    "modifiedBy" : "modifiedBy",
    "id" : "id",
    "projectId" : "projectId"
  },
  "spec" : {
    "regionId" : "regionId",
    "workloadPools" : [ {
      "machine" : {
        "image" : {
          "selector" : {
            "distro" : "rocky",
            "variant" : "variant",
            "version" : "version"
          },
          "id" : "id"
        },
        "disk" : {
          "size" : 6
        },
        "userData" : "userData",
        "publicIPAllocation" : {
          "enabled" : true
        },
        "firewall" : [ {
          "protocol" : "tcp",
          "prefixes" : [ "prefixes", "prefixes" ],
          "portMax" : 5,
          "port" : 1,
          "direction" : "ingress"
        }, {
          "protocol" : "tcp",
          "prefixes" : [ "prefixes", "prefixes" ],
          "portMax" : 5,
          "port" : 1,
          "direction" : "ingress"
        } ],
        "replicas" : 0,
        "flavorId" : "flavorId",
        "allowedAddressPairs" : [ {
          "macAddress" : "macAddress",
          "cidr" : "cidr"
        }, {
          "macAddress" : "macAddress",
          "cidr" : "cidr"
        } ]
      },
      "name" : "name"
    }, {
      "machine" : {
        "image" : {
          "selector" : {
            "distro" : "rocky",
            "variant" : "variant",
            "version" : "version"
          },
          "id" : "id"
        },
        "disk" : {
          "size" : 6
        },
        "userData" : "userData",
        "publicIPAllocation" : {
          "enabled" : true
        },
        "firewall" : [ {
          "protocol" : "tcp",
          "prefixes" : [ "prefixes", "prefixes" ],
          "portMax" : 5,
          "port" : 1,
          "direction" : "ingress"
        }, {
          "protocol" : "tcp",
          "prefixes" : [ "prefixes", "prefixes" ],
          "portMax" : 5,
          "port" : 1,
          "direction" : "ingress"
        } ],
        "replicas" : 0,
        "flavorId" : "flavorId",
        "allowedAddressPairs" : [ {
          "macAddress" : "macAddress",
          "cidr" : "cidr"
        }, {
          "macAddress" : "macAddress",
          "cidr" : "cidr"
        } ]
      },
      "name" : "name"
    } ]
  },
  "status" : {
    "sshPrivateKey" : "sshPrivateKey",
    "workloadPools" : [ {
      "replicas" : 5,
      "name" : "name",
      "machines" : [ {
        "hostname" : "hostname",
        "imageID" : "imageID",
        "privateIP" : "privateIP",
        "flavorID" : "flavorID",
        "publicIP" : "publicIP"
      }, {
        "hostname" : "hostname",
        "imageID" : "imageID",
        "privateIP" : "privateIP",
        "flavorID" : "flavorID",
        "publicIP" : "publicIP"
      } ]
    }, {
      "replicas" : 5,
      "name" : "name",
      "machines" : [ {
        "hostname" : "hostname",
        "imageID" : "imageID",
        "privateIP" : "privateIP",
        "flavorID" : "flavorID",
        "publicIP" : "publicIP"
      }, {
        "hostname" : "hostname",
        "imageID" : "imageID",
        "privateIP" : "privateIP",
        "flavorID" : "flavorID",
        "publicIP" : "publicIP"
      } ]
    } ]
  }
}, {
  "metadata" : {
    "modifiedTime" : "2000-01-23T04:56:07.000+00:00",
    "creationTime" : "2000-01-23T04:56:07.000+00:00",
    "description" : "description",
    "deletionTime" : "2000-01-23T04:56:07.000+00:00",
    "tags" : [ {
      "name" : "name",
      "value" : "value"
    }, {
      "name" : "name",
      "value" : "value"
    } ],
    "organizationId" : "organizationId",
    "createdBy" : "createdBy",
    "healthStatus" : "unknown",
    "provisioningStatus" : "unknown",
    "name" : "name",
    "modifiedBy" : "modifiedBy",
    "id" : "id",
    "projectId" : "projectId"
  },
  "spec" : {
    "regionId" : "regionId",
    "workloadPools" : [ {
      "machine" : {
        "image" : {
          "selector" : {
            "distro" : "rocky",
            "variant" : "variant",
            "version" : "version"
          },
          "id" : "id"
        },
        "disk" : {
          "size" : 6
        },
        "userData" : "userData",
        "publicIPAllocation" : {
          "enabled" : true
        },
        "firewall" : [ {
          "protocol" : "tcp",
          "prefixes" : [ "prefixes", "prefixes" ],
          "portMax" : 5,
          "port" : 1,
          "direction" : "ingress"
        }, {
          "protocol" : "tcp",
          "prefixes" : [ "prefixes", "prefixes" ],
          "portMax" : 5,
          "port" : 1,
          "direction" : "ingress"
        } ],
        "replicas" : 0,
        "flavorId" : "flavorId",
        "allowedAddressPairs" : [ {
          "macAddress" : "macAddress",
          "cidr" : "cidr"
        }, {
          "macAddress" : "macAddress",
          "cidr" : "cidr"
        } ]
      },
      "name" : "name"
    }, {
      "machine" : {
        "image" : {
          "selector" : {
            "distro" : "rocky",
            "variant" : "variant",
            "version" : "version"
          },
          "id" : "id"
        },
        "disk" : {
          "size" : 6
        },
        "userData" : "userData",
        "publicIPAllocation" : {
          "enabled" : true
        },
        "firewall" : [ {
          "protocol" : "tcp",
          "prefixes" : [ "prefixes", "prefixes" ],
          "portMax" : 5,
          "port" : 1,
          "direction" : "ingress"
        }, {
          "protocol" : "tcp",
          "prefixes" : [ "prefixes", "prefixes" ],
          "portMax" : 5,
          "port" : 1,
          "direction" : "ingress"
        } ],
        "replicas" : 0,
        "flavorId" : "flavorId",
        "allowedAddressPairs" : [ {
          "macAddress" : "macAddress",
          "cidr" : "cidr"
        }, {
          "macAddress" : "macAddress",
          "cidr" : "cidr"
        } ]
      },
      "name" : "name"
    } ]
  },
  "status" : {
    "sshPrivateKey" : "sshPrivateKey",
    "workloadPools" : [ {
      "replicas" : 5,
      "name" : "name",
      "machines" : [ {
        "hostname" : "hostname",
        "imageID" : "imageID",
        "privateIP" : "privateIP",
        "flavorID" : "flavorID",
        "publicIP" : "publicIP"
      }, {
        "hostname" : "hostname",
        "imageID" : "imageID",
        "privateIP" : "privateIP",
        "flavorID" : "flavorID",
        "publicIP" : "publicIP"
      } ]
    }, {
      "replicas" : 5,
      "name" : "name",
      "machines" : [ {
        "hostname" : "hostname",
        "imageID" : "imageID",
        "privateIP" : "privateIP",
        "flavorID" : "flavorID",
        "publicIP" : "publicIP"
      }, {
        "hostname" : "hostname",
        "imageID" : "imageID",
        "privateIP" : "privateIP",
        "flavorID" : "flavorID",
        "publicIP" : "publicIP"
      } ]
    } ]
  }
} ]

Example data

Content-Type: application/json
{
  "error_description" : "error_description",
  "error" : "invalid_request"
}

Example data

Content-Type: application/json
{
  "error_description" : "error_description",
  "error" : "invalid_request"
}

Example data

Content-Type: application/json
{
  "error_description" : "error_description",
  "error" : "invalid_request"
}

Example data

Content-Type: application/json
{
  "error_description" : "error_description",
  "error" : "invalid_request"
}

Example data

Content-Type: application/json
{
  "error_description" : "error_description",
  "error" : "invalid_request"
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

A list of Compute clusters.

400

Request body failed schema validation, or the request does not contain all the required fields. error

401

Authentication failed or the access token has expired. error

403

Request was denied by authorization, this may be caused by the authorization token not having the required scope for an API, or the user doesn't have the necessary privileges on the provider platform. error

404

Unable to find a resource. error

500

An unexpected or unhandled error occurred. This may be a transient error and may succeed on a retry. If this isn't the case, please report it as an issue. error

Up
delete /api/v1/organizations/{organizationID}/projects/{projectID}/clusters/{clusterID}
(apiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDDelete)
Delete a cluster.

Path parameters

organizationID (required)
Path Parameter — The organization ID. default: null
projectID (required)
Path Parameter — The project ID. default: null
clusterID (required)
Path Parameter — The cluster ID. default: null

Example data

Content-Type: application/json
{
  "error_description" : "error_description",
  "error" : "invalid_request"
}

Example data

Content-Type: application/json
{
  "error_description" : "error_description",
  "error" : "invalid_request"
}

Example data

Content-Type: application/json
{
  "error_description" : "error_description",
  "error" : "invalid_request"
}

Example data

Content-Type: application/json
{
  "error_description" : "error_description",
  "error" : "invalid_request"
}

Example data

Content-Type: application/json
{
  "error_description" : "error_description",
  "error" : "invalid_request"
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

202

The request has been accepted and will be fulfilled asynchronously. You may poll the resource and monitor its provisioning and health status to await completion of the operation.

400

Request body failed schema validation, or the request does not contain all the required fields. error

401

Authentication failed or the access token has expired. error

403

Request was denied by authorization, this may be caused by the authorization token not having the required scope for an API, or the user doesn't have the necessary privileges on the provider platform. error

404

Unable to find a resource. error

500

An unexpected or unhandled error occurred. This may be a transient error and may succeed on a retry. If this isn't the case, please report it as an issue. error

Up
put /api/v1/organizations/{organizationID}/projects/{projectID}/clusters/{clusterID}
(apiV1OrganizationsOrganizationIDProjectsProjectIDClustersClusterIDPut)
Update a cluster within the selected cluster manager.

Path parameters

organizationID (required)
Path Parameter — The organization ID. default: null
projectID (required)
Path Parameter — The project ID. default: null
clusterID (required)
Path Parameter — The cluster ID. default: null

Consumes

This API call consumes the following media types via the Content-Type request header:

Request body

computeClusterWrite computeClusterWrite (required)
Body Parameter

Example data

Content-Type: application/json
{
  "error_description" : "error_description",
  "error" : "invalid_request"
}

Example data

Content-Type: application/json
{
  "error_description" : "error_description",
  "error" : "invalid_request"
}

Example data

Content-Type: application/json
{
  "error_description" : "error_description",
  "error" : "invalid_request"
}

Example data

Content-Type: application/json
{
  "error_description" : "error_description",
  "error" : "invalid_request"
}

Example data

Content-Type: application/json
{
  "error_description" : "error_description",
  "error" : "invalid_request"
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

202

The request has been accepted and will be fulfilled asynchronously. You may poll the resource and monitor its provisioning and health status to await completion of the operation.

400

Request body failed schema validation, or the request does not contain all the required fields. error

401

Authentication failed or the access token has expired. error

403

Request was denied by authorization, this may be caused by the authorization token not having the required scope for an API, or the user doesn't have the necessary privileges on the provider platform. error

404

Unable to find a resource. error

500

An unexpected or unhandled error occurred. This may be a transient error and may succeed on a retry. If this isn't the case, please report it as an issue. error

Up
post /api/v1/organizations/{organizationID}/projects/{projectID}/clusters
(apiV1OrganizationsOrganizationIDProjectsProjectIDClustersPost)
Creates a new cluster.

Path parameters

organizationID (required)
Path Parameter — The organization ID. default: null
projectID (required)
Path Parameter — The project ID. default: null

Consumes

This API call consumes the following media types via the Content-Type request header:

Request body

computeClusterWrite computeClusterWrite (required)
Body Parameter

Return type

computeClusterRead

Example data

Content-Type: application/json
{
  "metadata" : {
    "modifiedTime" : "2000-01-23T04:56:07.000+00:00",
    "creationTime" : "2000-01-23T04:56:07.000+00:00",
    "description" : "description",
    "deletionTime" : "2000-01-23T04:56:07.000+00:00",
    "tags" : [ {
      "name" : "name",
      "value" : "value"
    }, {
      "name" : "name",
      "value" : "value"
    } ],
    "organizationId" : "organizationId",
    "createdBy" : "createdBy",
    "healthStatus" : "unknown",
    "provisioningStatus" : "unknown",
    "name" : "name",
    "modifiedBy" : "modifiedBy",
    "id" : "id",
    "projectId" : "projectId"
  },
  "spec" : {
    "regionId" : "regionId",
    "workloadPools" : [ {
      "machine" : {
        "image" : {
          "selector" : {
            "distro" : "rocky",
            "variant" : "variant",
            "version" : "version"
          },
          "id" : "id"
        },
        "disk" : {
          "size" : 6
        },
        "userData" : "userData",
        "publicIPAllocation" : {
          "enabled" : true
        },
        "firewall" : [ {
          "protocol" : "tcp",
          "prefixes" : [ "prefixes", "prefixes" ],
          "portMax" : 5,
          "port" : 1,
          "direction" : "ingress"
        }, {
          "protocol" : "tcp",
          "prefixes" : [ "prefixes", "prefixes" ],
          "portMax" : 5,
          "port" : 1,
          "direction" : "ingress"
        } ],
        "replicas" : 0,
        "flavorId" : "flavorId",
        "allowedAddressPairs" : [ {
          "macAddress" : "macAddress",
          "cidr" : "cidr"
        }, {
          "macAddress" : "macAddress",
          "cidr" : "cidr"
        } ]
      },
      "name" : "name"
    }, {
      "machine" : {
        "image" : {
          "selector" : {
            "distro" : "rocky",
            "variant" : "variant",
            "version" : "version"
          },
          "id" : "id"
        },
        "disk" : {
          "size" : 6
        },
        "userData" : "userData",
        "publicIPAllocation" : {
          "enabled" : true
        },
        "firewall" : [ {
          "protocol" : "tcp",
          "prefixes" : [ "prefixes", "prefixes" ],
          "portMax" : 5,
          "port" : 1,
          "direction" : "ingress"
        }, {
          "protocol" : "tcp",
          "prefixes" : [ "prefixes", "prefixes" ],
          "portMax" : 5,
          "port" : 1,
          "direction" : "ingress"
        } ],
        "replicas" : 0,
        "flavorId" : "flavorId",
        "allowedAddressPairs" : [ {
          "macAddress" : "macAddress",
          "cidr" : "cidr"
        }, {
          "macAddress" : "macAddress",
          "cidr" : "cidr"
        } ]
      },
      "name" : "name"
    } ]
  },
  "status" : {
    "sshPrivateKey" : "sshPrivateKey",
    "workloadPools" : [ {
      "replicas" : 5,
      "name" : "name",
      "machines" : [ {
        "hostname" : "hostname",
        "imageID" : "imageID",
        "privateIP" : "privateIP",
        "flavorID" : "flavorID",
        "publicIP" : "publicIP"
      }, {
        "hostname" : "hostname",
        "imageID" : "imageID",
        "privateIP" : "privateIP",
        "flavorID" : "flavorID",
        "publicIP" : "publicIP"
      } ]
    }, {
      "replicas" : 5,
      "name" : "name",
      "machines" : [ {
        "hostname" : "hostname",
        "imageID" : "imageID",
        "privateIP" : "privateIP",
        "flavorID" : "flavorID",
        "publicIP" : "publicIP"
      }, {
        "hostname" : "hostname",
        "imageID" : "imageID",
        "privateIP" : "privateIP",
        "flavorID" : "flavorID",
        "publicIP" : "publicIP"
      } ]
    } ]
  }
}

Example data

Content-Type: application/json
{
  "error_description" : "error_description",
  "error" : "invalid_request"
}

Example data

Content-Type: application/json
{
  "error_description" : "error_description",
  "error" : "invalid_request"
}

Example data

Content-Type: application/json
{
  "error_description" : "error_description",
  "error" : "invalid_request"
}

Example data

Content-Type: application/json
{
  "error_description" : "error_description",
  "error" : "invalid_request"
}

Example data

Content-Type: application/json
{
  "error_description" : "error_description",
  "error" : "invalid_request"
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

202

A Compute cluster. computeClusterRead

400

Request body failed schema validation, or the request does not contain all the required fields. error

401

Authentication failed or the access token has expired. error

403

Request was denied by authorization, this may be caused by the authorization token not having the required scope for an API, or the user doesn't have the necessary privileges on the provider platform. error

409

Resource conflicts with another, usually this means they have the same name. error

500

An unexpected or unhandled error occurred. This may be a transient error and may succeed on a retry. If this isn't the case, please report it as an issue. error

Up
get /api/v1/organizations/{organizationID}/regions
(apiV1OrganizationsOrganizationIDRegionsGet)
Lists compute service compatible regions.

Path parameters

organizationID (required)
Path Parameter — The organization ID. default: null

Return type

array[regionRead]

Example data

Content-Type: application/json
[ {
  "metadata" : {
    "modifiedTime" : "2000-01-23T04:56:07.000+00:00",
    "creationTime" : "2000-01-23T04:56:07.000+00:00",
    "createdBy" : "createdBy",
    "healthStatus" : "unknown",
    "provisioningStatus" : "unknown",
    "name" : "name",
    "description" : "description",
    "modifiedBy" : "modifiedBy",
    "deletionTime" : "2000-01-23T04:56:07.000+00:00",
    "id" : "id",
    "tags" : [ {
      "name" : "name",
      "value" : "value"
    }, {
      "name" : "name",
      "value" : "value"
    } ]
  },
  "spec" : {
    "features" : {
      "physicalNetworks" : true
    },
    "type" : "openstack"
  }
}, {
  "metadata" : {
    "modifiedTime" : "2000-01-23T04:56:07.000+00:00",
    "creationTime" : "2000-01-23T04:56:07.000+00:00",
    "createdBy" : "createdBy",
    "healthStatus" : "unknown",
    "provisioningStatus" : "unknown",
    "name" : "name",
    "description" : "description",
    "modifiedBy" : "modifiedBy",
    "deletionTime" : "2000-01-23T04:56:07.000+00:00",
    "id" : "id",
    "tags" : [ {
      "name" : "name",
      "value" : "value"
    }, {
      "name" : "name",
      "value" : "value"
    } ]
  },
  "spec" : {
    "features" : {
      "physicalNetworks" : true
    },
    "type" : "openstack"
  }
} ]

Example data

Content-Type: application/json
{
  "error_description" : "error_description",
  "error" : "invalid_request"
}

Example data

Content-Type: application/json
{
  "error_description" : "error_description",
  "error" : "invalid_request"
}

Example data

Content-Type: application/json
{
  "error_description" : "error_description",
  "error" : "invalid_request"
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

A list of regions.

400

Request body failed schema validation, or the request does not contain all the required fields. error

401

Authentication failed or the access token has expired. error

500

An unexpected or unhandled error occurred. This may be a transient error and may succeed on a retry. If this isn't the case, please report it as an issue. error

Up
get /api/v1/organizations/{organizationID}/regions/{regionID}/flavors
(apiV1OrganizationsOrganizationIDRegionsRegionIDFlavorsGet)
Lists all compute compatible flavors that the user has access to.

Path parameters

organizationID (required)
Path Parameter — The organization ID. default: null
regionID (required)
Path Parameter — The region ID. default: null

Return type

array[flavor]

Example data

Content-Type: application/json
[ {
  "metadata" : {
    "modifiedTime" : "2000-01-23T04:56:07.000+00:00",
    "creationTime" : "2000-01-23T04:56:07.000+00:00",
    "createdBy" : "createdBy",
    "name" : "name",
    "description" : "description",
    "modifiedBy" : "modifiedBy",
    "id" : "id",
    "tags" : [ {
      "name" : "name",
      "value" : "value"
    }, {
      "name" : "name",
      "value" : "value"
    } ]
  },
  "spec" : {
    "baremetal" : true,
    "disk" : 1,
    "memory" : 6,
    "cpus" : 0,
    "cpuFamily" : "cpuFamily",
    "gpu" : {
      "memory" : 5,
      "vendor" : "NVIDIA",
      "model" : "model",
      "physicalCount" : 5,
      "logicalCount" : 2
    }
  }
}, {
  "metadata" : {
    "modifiedTime" : "2000-01-23T04:56:07.000+00:00",
    "creationTime" : "2000-01-23T04:56:07.000+00:00",
    "createdBy" : "createdBy",
    "name" : "name",
    "description" : "description",
    "modifiedBy" : "modifiedBy",
    "id" : "id",
    "tags" : [ {
      "name" : "name",
      "value" : "value"
    }, {
      "name" : "name",
      "value" : "value"
    } ]
  },
  "spec" : {
    "baremetal" : true,
    "disk" : 1,
    "memory" : 6,
    "cpus" : 0,
    "cpuFamily" : "cpuFamily",
    "gpu" : {
      "memory" : 5,
      "vendor" : "NVIDIA",
      "model" : "model",
      "physicalCount" : 5,
      "logicalCount" : 2
    }
  }
} ]

Example data

Content-Type: application/json
{
  "error_description" : "error_description",
  "error" : "invalid_request"
}

Example data

Content-Type: application/json
{
  "error_description" : "error_description",
  "error" : "invalid_request"
}

Example data

Content-Type: application/json
{
  "error_description" : "error_description",
  "error" : "invalid_request"
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

A list of flavors.

400

Request body failed schema validation, or the request does not contain all the required fields. error

401

Authentication failed or the access token has expired. error

500

An unexpected or unhandled error occurred. This may be a transient error and may succeed on a retry. If this isn't the case, please report it as an issue. error

Up
get /api/v1/organizations/{organizationID}/regions/{regionID}/images
(apiV1OrganizationsOrganizationIDRegionsRegionIDImagesGet)
Lists all compute compatible images that the user has access to.

Path parameters

organizationID (required)
Path Parameter — The organization ID. default: null
regionID (required)
Path Parameter — The region ID. default: null

Return type

array[image]

Example data

Content-Type: application/json
[ {
  "metadata" : "metadata",
  "spec" : "spec"
}, {
  "metadata" : "metadata",
  "spec" : "spec"
} ]

Example data

Content-Type: application/json
{
  "error_description" : "error_description",
  "error" : "invalid_request"
}

Example data

Content-Type: application/json
{
  "error_description" : "error_description",
  "error" : "invalid_request"
}

Example data

Content-Type: application/json
{
  "error_description" : "error_description",
  "error" : "invalid_request"
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

A list of images that are compatible with this platform.

400

Request body failed schema validation, or the request does not contain all the required fields. error

401

Authentication failed or the access token has expired. error

500

An unexpected or unhandled error occurred. This may be a transient error and may succeed on a retry. If this isn't the case, please report it as an issue. error

Models

[ Jump to Methods ]

Table of Contents

  1. allowedAddressPair -
  2. computeClusterMachineStatus -
  3. computeClusterNetwork -
  4. computeClusterRead -
  5. computeClusterSpec -
  6. computeClusterStatus -
  7. computeClusterWorkloadPool -
  8. computeClusterWorkloadPoolStatus -
  9. computeClusterWrite -
  10. computeImage -
  11. error -
  12. firewallRule -
  13. flavor -
  14. flavorSpec -
  15. gpuSpec -
  16. gpuVendor -
  17. image -
  18. imageGpu -
  19. imageOS -
  20. imageSelector -
  21. imageSpec -
  22. imageVirtualization -
  23. machinePool -
  24. organizationScopedResourceReadMetadata -
  25. osDistro -
  26. osFamily -
  27. osKernel -
  28. projectScopedResourceReadMetadata -
  29. publicIPAllocation -
  30. regionFeatures -
  31. regionRead -
  32. regionSpec -
  33. regionType -
  34. resourceHealthStatus -
  35. resourceMetadata -
  36. resourceProvisioningStatus -
  37. resourceReadMetadata -
  38. resourceWriteMetadata -
  39. staticResourceMetadata -
  40. tag -
  41. volume -

allowedAddressPair - Up

Allow multiple MAC/IP address (range) pairs to pass through this network port. Typically required when the machine is operating as a router.
cidr
String The CIDR to allow.
macAddress (optional)
String The MAC address to allow.

computeClusterMachineStatus - Up

Compute cluster machine status.
hostname
String Machine hostname.
imageID
String Machine image ID.
flavorID
String Machine flavorID.
privateIP (optional)
String Machine private IP address.
publicIP (optional)
String Machine public IP address.
provisioningStatus
healthStatus

computeClusterNetwork - Up

Compute cluster network settings.
nodePrefix (optional)
String Network prefix to provision nodes in. Must be a valid CIDR block.
dnsNameservers (optional)
array[String] A list of DNS name server to use.

computeClusterRead - Up

Compute cluster read.
metadata
spec
status (optional)

computeClusterSpec - Up

Compute cluster creation parameters.
regionId
String The region to provision the cluster in.
workloadPools
array[computeClusterWorkloadPool] A list of Compute cluster workload pools.

computeClusterStatus - Up

Compute cluster status.
sshPrivateKey (optional)
String SSH private key that allows access to the cluster.
workloadPools (optional)
array[computeClusterWorkloadPoolStatus] A list of Compute cluster workload pools status.

computeClusterWorkloadPool - Up

A Compute cluster workload pool.
name
String Workload pool name.
machine

computeClusterWorkloadPoolStatus - Up

Compute cluster workload pool status.
name
String Workload pool name.
replicas
Integer Number of machines.
machines (optional)
array[computeClusterMachineStatus] A list of Compute cluster machines status.

computeClusterWrite - Up

Compute cluster create or update.
metadata
spec

computeImage - Up

The image to use for a server.
id (optional)
String The image ID.
selector (optional)

error - Up

Generic error message, compatible with oauth2.
error
String A terse error string expanding on the HTTP error code. Errors are based on the OAuth 2.02 specification, but are expanded with proprietary status codes for APIs other than those specified by OAuth 2.02.
Enum:
invalid_request
unauthorized_client
access_denied
unsupported_response_type
invalid_scope
server_error
temporarily_unavailable
invalid_client
invalid_grant
unsupported_grant_type
not_found
conflict
method_not_allowed
unsupported_media_type
forbidden
error_description
String Verbose message describing the error.

firewallRule - Up

A firewall rule applied to a workload pool.
direction
String The direction of network traffic to apply the rule to.
Enum:
ingress
egress
protocol
String The protocol to allow.
Enum:
tcp
udp
port
Integer The port to allow, or start of a port range.
portMax (optional)
Integer The end of a port range, inclusive of this this port, if specified.
prefixes
array[String] A list of CIDR prefixes to allow, it might be any IPv4 or IPv6 in CIDR notation.

flavor - Up

A flavor.
metadata
spec

flavorSpec - Up

A flavor.
baremetal (optional)
Boolean Whether the flavor is for a dedicated machine.
cpus
Integer The number of CPUs.
cpuFamily (optional)
String A free form CPU family description e.g. model number, architecture.
memory
Integer The amount of memory in GiB.
disk
Integer The amount of ephemeral disk in GB.
gpu (optional)

gpuSpec - Up

GPU specification.
vendor
model
String A GPU model.
memory
Integer GPU memory in GiB.
physicalCount
Integer The physical number of GPUs (cards) available.
logicalCount
Integer The logical number of GPUs available as seen in the OS.

gpuVendor - Up

The GPU vendor.

image - Up

An image.
metadata
spec

imageGpu - Up

The GPU driver if installed.
vendor
driver
String The GPU driver version, this is vendor specific.
models (optional)
array[String] A list of GPU model numbers.

imageOS - Up

An operating system description.
kernel
family
distro
variant (optional)
String A free form variant e.g. desktop/server.
codename (optional)
String A free form code name e.g. warty/bionic.
version
String Version of the operating system e.g. "24.04".

imageSelector - Up

A server image selector.
distro
variant (optional)
String The operating system variant.
version
String The operating system version to use.

imageSpec - Up

An image.
sizeGiB
Integer Minimum disk size required to use the image in GiB.
virtualization
os
softwareVersions (optional)
map[String, String] Image preinstalled version version metadata.
gpu (optional)

imageVirtualization - Up

What type of machine the image is for.

machinePool - Up

A Compute cluster machine pool.
replicas
Integer Number of machines.
flavorId
String Flavor ID.
disk (optional)
firewall (optional)
array[firewallRule] A list of firewall rules applied to a workload pool.
publicIPAllocation (optional)
image
userData (optional)
byte[] UserData contains base64-encoded configuration information or scripts to use upon launch. format: byte
allowedAddressPairs (optional)
array[allowedAddressPair] A list of allowed address pairs.

organizationScopedResourceReadMetadata - Up

Metadata required by organization scoped resource reads.
name
String A valid Kubernetes label value, typically used for resource names that can be indexed in the database.
description (optional)
String The resource description, this optionally augments the name with more context.
tags (optional)
array[tag] A list of tags.
id
String The unique resource ID.
creationTime
Date The time the resource was created. format: date-time
createdBy (optional)
String The user who created the resource.
modifiedTime (optional)
Date The time a resource was updated. format: date-time
modifiedBy (optional)
String The user who updated the resource.
deletionTime (optional)
Date The time the resource was deleted. format: date-time
provisioningStatus
healthStatus
organizationId
String The organization identifier the resource belongs to.

osDistro - Up

A distribution name.

osFamily - Up

A family of operating systems. This typically defines the package format.

osKernel - Up

A kernel type.

projectScopedResourceReadMetadata - Up

Metadata required by project scoped resource reads.
name
String A valid Kubernetes label value, typically used for resource names that can be indexed in the database.
description (optional)
String The resource description, this optionally augments the name with more context.
tags (optional)
array[tag] A list of tags.
id
String The unique resource ID.
creationTime
Date The time the resource was created. format: date-time
createdBy (optional)
String The user who created the resource.
modifiedTime (optional)
Date The time a resource was updated. format: date-time
modifiedBy (optional)
String The user who updated the resource.
deletionTime (optional)
Date The time the resource was deleted. format: date-time
provisioningStatus
healthStatus
organizationId
String The organization identifier the resource belongs to.
projectId
String The project identifier the resource belongs to.

publicIPAllocation - Up

A public IP allocation settings.
enabled
Boolean Enable public IP allocation.

regionFeatures - Up

A set of features the region may provide to clients.
physicalNetworks
Boolean If set, this indicates that the region supports physical networks and one should be provisioned for clusters to use. The implication here is the region supports base-metal machines, and these must be provisioned on a physical VLAN etc.

regionRead - Up

A region.
metadata
spec

regionSpec - Up

Information about the region.
type
features

regionType - Up

The region's provider type.

resourceHealthStatus - Up

The health state of a resource.

resourceMetadata - Up

Metadata required for all API resource reads and writes.
name
String A valid Kubernetes label value, typically used for resource names that can be indexed in the database.
description (optional)
String The resource description, this optionally augments the name with more context.
tags (optional)
array[tag] A list of tags.

resourceProvisioningStatus - Up

The provisioning state of a resource.

resourceReadMetadata - Up

Metadata required by all resource reads.
name
String A valid Kubernetes label value, typically used for resource names that can be indexed in the database.
description (optional)
String The resource description, this optionally augments the name with more context.
tags (optional)
array[tag] A list of tags.
id
String The unique resource ID.
creationTime
Date The time the resource was created. format: date-time
createdBy (optional)
String The user who created the resource.
modifiedTime (optional)
Date The time a resource was updated. format: date-time
modifiedBy (optional)
String The user who updated the resource.
deletionTime (optional)
Date The time the resource was deleted. format: date-time
provisioningStatus
healthStatus

resourceWriteMetadata - Up

Metadata required for all API resource reads and writes.
name
String A valid Kubernetes label value, typically used for resource names that can be indexed in the database.
description (optional)
String The resource description, this optionally augments the name with more context.
tags (optional)
array[tag] A list of tags.

staticResourceMetadata - Up

This metadata is for resources that just exist, and don't require any provisioning and health status, but benefit from a standardized metadata format.
name
String A valid Kubernetes label value, typically used for resource names that can be indexed in the database.
description (optional)
String The resource description, this optionally augments the name with more context.
tags (optional)
array[tag] A list of tags.
id
String The unique resource ID.
creationTime
Date The time the resource was created. format: date-time
createdBy (optional)
String The user who created the resource.
modifiedTime (optional)
Date The time a resource was updated. format: date-time
modifiedBy (optional)
String The user who updated the resource.

tag - Up

A tag mapping arbitrary names to values. These have no special meaning for any component are are intended for use by end users to add additional context to a resource, for example to categorize it.
name
String A unique tag name.
value
String The value of the tag.

volume - Up

A volume. This is currently only valid for VM based flavors.
size
Integer Disk size in GiB.