Endpoint

/v5/cluster/object-backed/create-stratus

POST

Create a Stratus tenant cluster with the given set of node UUIDs and one or more object storage URIs that reference data core cluster(s).

Parameters

This resource has no parameters.

Request

Schema

{
  "description": "api_stratus_cluster_creation_request",
  "type": "object",
  "properties": {
    "eula_accepted": {
      "description": "The user accepts the End User License Agreement",
      "type": "boolean"
    },
    "cluster_name": {
      "description": "Name of the cluster",
      "type": "string"
    },
    "cluster_uuid": {
      "description": "UUID of the cluster.  If this is not supplied, one will be generated by the system.",
      "type": "string"
    },
    "pbkdf2_admin_hash": {
      "description": "The PBKDF2 has parameters for the administrative user: a hexadecimal hash, a hexadecimal salt, and the number of iterations. It is possible to use these parameters for administrative password or a different password.",
      "type": "object",
      "properties": {
        "hash": {
          "type": "array",
          "items": {
            "description": "hash",
            "type": "number"
          }
        },
        "salt": {
          "type": "array",
          "items": {
            "description": "salt",
            "type": "number"
          }
        },
        "num_iterations": {
          "description": "num_iterations",
          "type": "number"
        }
      }
    },
    "operator_public_keys": {
      "type": "array",
      "items": {
        "description": "The set of public keys allowed to sign operator bearer tokens",
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "description": "data",
              "type": "number"
            }
          }
        }
      }
    },
    "node_uuids_and_fault_domains": {
      "type": "array",
      "items": {
        "description": "List of node UUIDs and their respective fault domains as cluster members",
        "type": "object",
        "properties": {
          "node_uuid": {
            "description": "node_uuid",
            "type": "string"
          },
          "fault_domain_id": {
            "description": "fault_domain_id",
            "type": "number"
          }
        }
      }
    },
    "admin_password": {
      "description": "The administrator password",
      "type": "string",
      "format": "password"
    },
    "usable_capacity": {
      "description": "File system usable capacity in bytes",
      "type": "string"
    },
    "object_store_uris": {
      "type": "array",
      "items": {
        "description": "URI(s) of the object store(s) to be used by this tenant cluster",
        "type": "string"
      }
    },
    "object_store_credentials": {
      "type": "array",
      "items": {
        "description": "Credentials for accessing the object stores referenced by the list of object storage URIs",
        "type": "object",
        "properties": {
          "store_name": {
            "description": "store_name",
            "type": "string"
          },
          "access_key_id": {
            "description": "access_key_id",
            "type": "string"
          },
          "secret_access_key": {
            "description": "secret_access_key",
            "type": "string",
            "format": "password"
          }
        }
      }
    }
  }
}

Response

Codes

Code Description
202 Return value on success