# Public API

{
    "openapi": "3.0.2",
    "info": 
    {
        "title": "Rackspace Spot Public API",
        "version": "v1",
        "description": "The API set allows you to perform CRUD operations to interact with and manage cloudspaces, spot node pools, and on-demand node pools on Rackspace Spot.\n\nKey Concepts:\n - `Organization`:\n    - Organization is a representation as a collection of cloudspaces (Kubernetes clusters). \n\n    - Each organization has a unique name and organization ID (`namespace`) associated with it.\n    - Each organization requires setting up a separate billing account for its management.\n\n\n - `Namespace`: \n \n    - The namespace is a representation to identify any organization in Spot Platform. \n    - Each organization has a unique namespace associated with it. \n\n    - The namespace is used to scope resources and operations within the Spot platform. \n    - Each namespace start with `org-`.\n    - To obtain desired namespace, leverage API: <a href=\"/rackspace-spot-public-api#helper-getorganizationslist\" style=\"color: red;\">list all organizations</a> to retrieve the details of all organizations, including their associated namespaces.\n\n\n- `Cloudspace`:\n  - Cloudspace is a representation of a Kubernetes cluster in your namespace.\n\n  - Each cloudspace is associated with a specific region and will contain SpotNodePool and OnDemandNodePool for storing servers bidded on platform.\n\n\n- `SpotNodePools` and `OnDemandNodePools`: \n    - The SpotNodePools and OnDemandNodePools are nodepools that will contain servers that users have bidded for. \n\n    - When creating the SpotNodePools and OnDemandNodePools, cloudspace should already be created.\n    - Billing should be enabled in your organization for the SpotNodePools and OnDemandNodePools to be created.\n\nAlmost all API calls require an Oauth Access Token. Refer <a href=\"/rackspace-spot-public-api#authentication\" style=\"color: red;\">authentication.</a> section to obtain the Oauth Access Token.\n\nThere are some operations which does not require any oauth token for getting response. They are indicated by `(unauthenticated api)` in the operation summary.\n\nThe unauthenticated api operations are:\n  - Oauth Token\n  - Kubeconfig generation\n  - Price History\n  - Percentile information\n  - Market Price Capacity"
    },
    "servers": 
    [
        {
            "url": "https://spot.rackspace.com"
        }
    ],
    "paths": 
    {
        "/oauth/token": 
        {
            "post": 
            {
                "requestBody": 
                {
                    "content": 
                    {
                        "application/x-www-form-urlencoded": 
                        {
                            "schema": 
                            {
                                "type": "object",
                                "properties": 
                                {
                                    "grant_type": 
                                    {
                                        "description": "The type of grant needed. Use the literal string `refresh_token` as its value to obtain a new access token in response.",
                                        "default": "refresh_token",
                                        "type": "string"
                                    },
                                    "client_id": 
                                    {
                                        "description": "Use `mwG3lUMV8KyeMqHe4fJ5Bb3nM1vBvRNa` as client_id in request parameter when requesting for access token.",
                                        "default": "mwG3lUMV8KyeMqHe4fJ5Bb3nM1vBvRNa",
                                        "type": "string"
                                    },
                                    "refresh_token": 
                                    {
                                        "description": "Obtain a Refresh Token from the API: <a href=\"https://spot.rackspace.com/ui/api-access/terraform\" style=\"color: red;\">Rackspace Spot Console</a>. and use it here as request parameter.\n\nSteps:\n - Log in to the Rackspace Spot Console.\n\n - In the dashboard's sidebar, navigate to API Access > Terraform.\n\n - Click Get New Token to generate a refresh token.\n\n - Use the refresh token obtained as a parameter in your request.",
                                        "default": "<Enter_refresh_token_here>",
                                        "type": "string"
                                    }
                                }
                            }
                        }
                    },
                    "required": true
                },
                "servers": 
                [
                    {
                        "url": "https://login.spot.rackspace.com",
                        "description": "Rackspace OAuth API server"
                    }
                ],
                "tags": 
                [
                    "Oauth Token"
                ],
                "parameters": 
                [
                    {
                        "name": "Content-Type",
                        "description": "Must be set to `application/x-www-form-urlencoded` for the request to be processed correctly.",
                        "schema": 
                        {
                            "default": "application/x-www-form-urlencoded",
                            "type": "string"
                        },
                        "in": "header",
                        "required": true
                    }
                ],
                "responses": 
                {
                    "200": 
                    {
                        "content": 
                        {
                            "application/json": 
                            {
                                "schema": 
                                {
                                    "type": "object",
                                    "properties": 
                                    {
                                        "access_token": 
                                        {
                                            "description": "Access token issued by the authorization server.",
                                            "type": "string",
                                            "example": "eyJz93a...k4laUWw"
                                        },
                                        "id_token": 
                                        {
                                            "description": "ID token representing the authenticated user.",
                                            "type": "string",
                                            "example": "eyJhbGci...jsdfsdfs"
                                        },
                                        "scope": 
                                        {
                                            "description": "Scopes that were granted by the user.",
                                            "type": "string",
                                            "example": "openid profile email offline_access"
                                        },
                                        "expires_in": 
                                        {
                                            "description": "Time in seconds until the access token expires.",
                                            "type": "integer",
                                            "example": 86400
                                        },
                                        "token_type": 
                                        {
                                            "description": "The type of token issued.",
                                            "type": "string",
                                            "example": "Bearer"
                                        }
                                    }
                                }
                            }
                        },
                        "description": "Successfully retrieved OAuth token. Take `id_token` value from response as Oauth access token value for all authorization API calls."
                    },
                    "401": 
                    {
                        "content": 
                        {
                            "application/json": 
                            {
                                "schema": 
                                {
                                    "type": "object",
                                    "properties": 
                                    {
                                        "error": 
                                        {
                                            "description": "Error code indicating the reason for failure.",
                                            "type": "string",
                                            "example": "access_denied"
                                        },
                                        "error_description": 
                                        {
                                            "description": "Human-readable description of the error.",
                                            "type": "string",
                                            "example": "Unauthorized"
                                        }
                                    }
                                }
                            }
                        },
                        "description": "Unauthorized request. Please provide valid refresh token."
                    },
                    "500": 
                    {
                        "description": "Unexpected error"
                    }
                },
                "deprecated": false,
                "security": 
                [
                    {
                    }
                ],
                "operationId": "getoauthtoken",
                "summary": "Get OAuth token (unauthenticated api)",
                "description": "Retrieve an OAuth Access token for specified a refresh token. Take `id_token` value from **response** as Oauth access token value for all subsequent authorization API calls."
            }
        },
        "/apis/auth.ngpc.rxt.io/v1/generate-kubeconfig": {
            "post": {
                "summary": "Generate kubeconfig (unauthenticated API)",
                "description": "Generates a kubeconfig file for the specified organization and cloudspace using a refresh token. It is unauthenticated api, so doesn't require API token in headers when calling it.",
                "tags": [
                "Kubeconfig generation"
                ],
                "requestBody": {
                "required": true,
                "content": {
                    "application/json": {
                    "schema": {
                        "type": "object",
                        "required": [
                        "organization_name",
                        "cloudspace_name",
                        "refresh_token"
                        ],
                        "properties": {
                        "organization_name": {
                            "type": "string",
                            "description": "Name of the organization for which kubeconfig is to be generated.",
                            "example": "my-org"
                        },
                        "cloudspace_name": {
                            "type": "string",
                            "description": "Name of the cloudspace belonging to the organization.",
                            "example": "my-cloudspace"
                        },
                        "refresh_token": {
                            "type": "string",
                            "description": "Refresh token obtained via UI authentication.",
                            "example": "eyJhbGciOiJIUzI1NiIsInR5cCI6..."
                        }
                        }
                    }
                    }
                }
                },
                "responses": {
                "200": {
                    "description": "Kubeconfig generated successfully.",
                    "content": {
                    "application/json": {
                        "schema": {
                        "type": "object",
                        "properties": {
                            "data": {
                            "type": "object",
                            "properties": {
                                "kubeconfig": {
                                "type": "string",
                                "description": "Full kubeconfig YAML as a string.",
                                "example": "apiVersion: v1\nclusters:\n- cluster:\n    insecure-skip-tls-verify: true\n    server: https://<cluster-api-server>\n  name: <cluster-name>\ncontexts:\n- context:\n    cluster: <cluster-name>\n    namespace: default\n    user: <user-name>\n  name: <context-name>\ncurrent-context: <context-name>\nkind: Config\npreferences: {}\nusers:\n- name: <user-name>\n  user:\n    token: <jwt-token>\n- name: oidc\n  user:\n    exec:\n      apiVersion: client.authentication.k8s.io/v1beta1\n      command: kubectl\n      args:\n        - oidc-login\n        - get-token\n        - --oidc-issuer-url=https://<issuer-url>/\n        - --oidc-client-id=<client-id>\n        - --oidc-extra-scope=openid\n        - --oidc-extra-scope=profile\n        - --oidc-extra-scope=email\n        - --oidc-auth-request-extra-params=organization=<org-id>\n        - --token-cache-dir=~/.kube/cache/oidc-login/<org-id>\n      provideClusterInfo: false\n      interactiveMode: IfAvailable"
                                }
                            }
                            },
                            "message": {
                            "type": "string",
                            "example": "kubeconfig generated successfully"
                            },
                            "status_code": {
                            "type": "integer",
                            "example": 200
                            }
                        }
                        }
                    }
                    }
                },
                "400": {
                    "description": "Bad request. Input parameter is missing or invalid.",
                    "content": {
                    "application/json": {
                        "schema": {
                        "type": "object",
                        "properties": {
                            "error": {
                            "type": "string",
                            "example": "bad_request"
                            },
                            "error_description": {
                            "type": "string",
                            "example": "Missing or invalid refresh_token."
                            }
                        }
                        }
                    }
                    }
                },
                "401": {
                    "description": "Unauthorized. The refresh token is invalid or expired.",
                    "content": {
                    "application/json": {
                        "schema": {
                        "type": "object",
                        "properties": {
                            "error": {
                            "type": "string",
                            "example": "access_denied"
                            },
                            "error_description": {
                            "type": "string",
                            "example": "Invalid or expired refresh token."
                            }
                        }
                        }
                    }
                    }
                }
                },
                "deprecated": false,
                "security": 
                [
                    {
                    }
                ],
                "operationId": "generateKubeconfig"
            }
        },
        "/apis/ngpc.rxt.io/v1/regions": 
        {
            "description": "API to get all available regions.",
            "get": 
            {
                "tags": 
                [
                    "Region"
                ],
                "responses": 
                {
                    "200": 
                    {
                        "content": 
                        {
                            "application/json": 
                            {
                                "schema": 
                                {
                                    "$ref": "#/components/schemas/io.rxt.ngpc.v1.RegionList"
                                }
                            },
                            "application/yaml": 
                            {
                                "schema": 
                                {
                                    "$ref": "#/components/schemas/io.rxt.ngpc.v1.RegionList"
                                }
                            }
                        },
                        "description": "Regions obtained successfully"
                    },
                    "401": 
                    {
                        "description": "Unauthorized access"
                    }
                },
                "deprecated": false,
                "operationId": "getregion",
                "summary": "Get all regions",
                "description": "List objects of kind Region to provide all available regions.",
                "x-kubernetes-action": "list",
                "x-kubernetes-group-version-kind": 
                {
                    "group": "ngpc.rxt.io",
                    "kind": "Region",
                    "version": "v1"
                }
            }
        },
        "/apis/ngpc.rxt.io/v1/regions/{name}": 
        {
            "get": 
            {
                "tags": 
                [
                    "Region by name"
                ],
                "parameters": 
                [
                    {
                        "name": "name",
                        "description": "Use a valid Region name. Some available regions are:\n  - us-central-dfw-2\n  - us-east-iad-1\n  - eu-west-lon-1\n  - uk-lon-1\n  - us-west-sjc-1\n  - us-central-ord-1\n  - us-central-dfw-1\n\nTo get more information on available regions, refer to the regions endpoint:\n \n<a href=\"/rackspace-spot-public-api#getregion\" style=\"color: red;\">**Regions**</a>.",
                        "schema": 
                        {
                            "type": "string"
                        },
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": 
                {
                    "200": 
                    {
                        "content": 
                        {
                            "application/json": 
                            {
                                "schema": 
                                {
                                    "$ref": "#/components/schemas/io.rxt.ngpc.v1.Region"
                                }
                            },
                            "application/yaml": 
                            {
                                "schema": 
                                {
                                    "$ref": "#/components/schemas/io.rxt.ngpc.v1.Region"
                                }
                            }
                        },
                        "description": "Specific Region obtained successfully"
                    },
                    "401": 
                    {
                        "description": "Unauthorized access"
                    }
                },
                "deprecated": false,
                "operationId": "readNgpcRxtIoV1Region",
                "summary": "Get region by name",
                "description": "Get the specified Region.",
                "x-kubernetes-action": "get",
                "x-kubernetes-group-version-kind": 
                {
                    "group": "ngpc.rxt.io",
                    "kind": "Region",
                    "version": "v1"
                }
            }
        },
        "/apis/ngpc.rxt.io/v1/serverclasses": 
        {
            "get": 
            {
                "tags": 
                [
                    "Serverclass"
                ],
                "responses": 
                {
                    "200": 
                    {
                        "content": 
                        {
                            "application/json": 
                            {
                                "schema": 
                                {
                                    "$ref": "#/components/schemas/io.rxt.ngpc.v1.ServerClassList"
                                }
                            },
                            "application/yaml": 
                            {
                                "schema": 
                                {
                                    "$ref": "#/components/schemas/io.rxt.ngpc.v1.ServerClassList"
                                }
                            }
                        },
                        "description": "Serverclasses obtained successfully"
                    },
                    "401": 
                    {
                        "description": "Unauthorized access"
                    }
                },
                "deprecated": false,
                "operationId": "getserverclass",
                "summary": "Get all serverclasses",
                "description": "List objects of kind ServerClass to provide all available serverclasses.",
                "x-kubernetes-action": "list",
                "x-kubernetes-group-version-kind": 
                {
                    "group": "ngpc.rxt.io",
                    "kind": "ServerClass",
                    "version": "v1"
                }
            }
        },
        "/apis/ngpc.rxt.io/v1/serverclasses/{name}": 
        {
            "get": 
            {
                "tags": 
                [
                    "Serverclass by name"
                ],
                "parameters": 
                [
                    {
                        "name": "name",
                        "description": "Use a valid Serverclass name. Some available serverclasses are:\n  - gp.vs1.medium-dfw\n  - gp.vs1.small-dfw\n  - mh.vs1.large-dfw\n  - mh.vs1.xlarge-dfw\n  - ch.vs1.medium-dfw\n  - gp.bm2.large-dfw\n  - mh.vs1.medium-dfw\n  - gp.bm2.medium-dfw\n  - mh.vs1.2xlarge-dfw\n  - mh.vs1.2xlarge-iad\n  - gp.vs1.2xlarge-lon\n  - gp.vs1.xlarge-lon\n  - ch.vs1.xlarge-iad\n  - gp.bm2.medium-lon\n  - ch.vs1.medium-iad\n  - gp.bm2.small-lon\n  - ch.vs1.2xlarge-iad\n  - mh.vs1.xlarge-iad\n  - mh.vs1.large-iad\n  - ch.vs1.large-lon\n  - gp.bm2.large-lon\n  - mh.vs1.2xlarge-lon\n  - ch.vs1.large-iad\n  - gp.bm2.small-iad\n  - ch.vs1.2xlarge-lon\n  - ch.vs1.medium-lon\n  - mh.vs1.medium-lon\n  - mh.vs1.large-lon\n  - mh.vs1.xlarge-lon\n  - gp.vs1.small-iad\n  - ch.vs1.xlarge-lon\n  - io.bm2-lon\n  - io.bm2-iad\n  - gp.vs1.large-lon\n  - ch.vs1.2xlarge-dfw\n  - ch.vs1.xlarge-dfw\n  - gp.vs1.2xlarge-iad\n  - mh.vs1.medium-iad\n  - gp.vs1.large-iad\n  - gp.vs1.large-dfw\n  - ch.vs1.large-dfw\n  - gp.vs1.medium-lon\n  - gp.vs1.xlarge-dfw\n  - gp.vs1.medium-iad\n  - gp.vs1.xlarge-iad\n\n\nTo get more information on available serverclasses, refer to the serverclasses endpoint: <a href=\"/rackspace-spot-public-api#getserverclass\" style=\"color: red;\">**ServerClasses**</a>. ",
                        "schema": 
                        {
                            "type": "string"
                        },
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": 
                {
                    "200": 
                    {
                        "content": 
                        {
                            "application/json": 
                            {
                                "schema": 
                                {
                                    "$ref": "#/components/schemas/io.rxt.ngpc.v1.ServerClass"
                                }
                            },
                            "application/yaml": 
                            {
                                "schema": 
                                {
                                    "$ref": "#/components/schemas/io.rxt.ngpc.v1.ServerClass"
                                }
                            }
                        },
                        "description": "Specific Serverclass obtained successfully"
                    },
                    "401": 
                    {
                        "description": "Unauthorized access"
                    }
                },
                "deprecated": false,
                "operationId": "readNgpcRxtIoV1ServerClass",
                "summary": "Get serverclass by name",
                "description": "Read the specified ServerClass",
                "x-kubernetes-action": "get",
                "x-kubernetes-group-version-kind": 
                {
                    "group": "ngpc.rxt.io",
                    "kind": "ServerClass",
                    "version": "v1"
                }
            }
        },
        "/apis/auth.ngpc.rxt.io/v1/organizations": 
        {
            "get": 
            {
                "tags": 
                [
                    "Organization API"
                ],
                "responses": 
                {
                    "200": 
                    {
                        "content": 
                        {
                            "application/json": 
                            {
                                "schema": 
                                {
                                    "type": "object",
                                    "properties": 
                                    {
                                        "start": 
                                        {
                                            "description": "Starting index for pagination.",
                                            "type": "integer"
                                        },
                                        "limit": 
                                        {
                                            "description": "Limit for the number of items per page.",
                                            "type": "integer"
                                        },
                                        "length": 
                                        {
                                            "description": "Number of organizations in the response.",
                                            "type": "integer"
                                        },
                                        "total": 
                                        {
                                            "description": "Total number of organizations available.",
                                            "type": "integer"
                                        },
                                        "next": 
                                        {
                                            "description": "URL for the next page of results (if available).",
                                            "type": "string"
                                        },
                                        "organizations": 
                                        {
                                            "type": "array",
                                            "items": 
                                            {
                                                "type": "object",
                                                "properties": 
                                                {
                                                    "id": 
                                                    {
                                                        "description": "The unique ID of the organization.",
                                                        "type": "string"
                                                    },
                                                    "name": 
                                                    {
                                                        "description": "The name of the organization.",
                                                        "type": "string"
                                                    },
                                                    "display_name": 
                                                    {
                                                        "description": "The display name of the organization.",
                                                        "type": "string"
                                                    },
                                                    "metadata": 
                                                    {
                                                        "type": "object",
                                                        "properties": 
                                                        {
                                                            "namespace": 
                                                            {
                                                                "description": "The namespace associated with the organization.",
                                                                "type": "string"
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "description": "Successfully retrieved the list of organizations and namespaces."
                    },
                    "400": 
                    {
                        "description": "Bad Request."
                    },
                    "401": 
                    {
                        "description": "Unauthorized."
                    },
                    "500": 
                    {
                        "description": "Internal Server Error. An unexpected error occurred while processing the request."
                    }
                },
                "deprecated": false,
                "operationId": "helper-getorganizationslist",
                "summary": "List all organizations",
                "description": "List all organizations along with their details, including the associated namespaces."
            }
        },
        "/apis/ngpc.rxt.io/v1/namespaces/{namespace}/cloudspaces": 
        {
            "get": 
            {
                "tags": 
                [
                    "Cloudspace"
                ],
                "parameters": 
                [
                    {
                        "name": "namespace",
                        "description": "The namespace to which the Cloudspace belongs to. Desired namespace value can be obtained by calling api:  <a href=\"/rackspace-spot-public-api#helper-getorganizationslist\" style=\"color: red;\">**list of organizations**</a>. ",
                        "schema": 
                        {
                            "type": "string"
                        },
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": 
                {
                    "200": 
                    {
                        "content": 
                        {
                            "application/json": 
                            {
                                "schema": 
                                {
                                    "$ref": "#/components/schemas/io.rxt.ngpc.v1.CloudSpaceList"
                                }
                            },
                            "application/yaml": 
                            {
                                "schema": 
                                {
                                    "$ref": "#/components/schemas/io.rxt.ngpc.v1.CloudSpaceList"
                                }
                            }
                        },
                        "description": "CloudSpaces obtained successfully."
                    },
                    "401": 
                    {
                        "description": "Unauthorized access."
                    }
                },
                "deprecated": false,
                "operationId": "listNgpcRxtIoV1NamespacedCloudSpace",
                "summary": "Get all cloudspaces",
                "description": "Retrieve all CloudSpaces from the specified namespace.",
                "x-kubernetes-action": "list",
                "x-kubernetes-group-version-kind": 
                {
                    "group": "ngpc.rxt.io",
                    "kind": "CloudSpace",
                    "version": "v1"
                }
            },
            "post": 
            {
                "requestBody": 
                {
                    "description": "- Use value for `apiVersion` as `ngpc.rxt.io/v1`.\n- Use value for `kind` as `CloudSpace`.\n- In the `metadata` object:\n  - Enter a value for the `name` field to name your CloudSpace.\n\n  - Select the `namespace` in which the CloudSpace should be created. \n    This should match the `namespace` used in the path parameter above.\n\n  - `creationTimestamp` and `deletionTimestamp`: Represents timestamp for cloudspace creation. Leave it as default only.\n\n- In the `spec` object:\n\n  - Provide the `region` from the list returned by the Regions API.\n\n  - Enter the `webhook` URL (Slack channel webhook) to receive node preemption event notifications.\n\n  - Choose the `kubernetesVersion` for your CloudSpace.\n    Currently available versions are:\n    - **1.31.1(latest)**\n    - **1.30.10**\n    - **1.29.6**\n\n  - You can leave `cloud`, `cni`, and `HAControlPlane` fields as default unless custom values are needed.",
                    "content": 
                    {
                        "application/json": 
                        {
                            "schema": 
                            {
                                "$ref": "#/components/schemas/io.rxt.ngpc.v1.CloudSpace"
                            }
                        },
                        "application/yaml": 
                        {
                            "schema": 
                            {
                                "$ref": "#/components/schemas/io.rxt.ngpc.v1.CloudSpace"
                            }
                        }
                    },
                    "required": true
                },
                "tags": 
                [
                    "Cloudspace",
                    "Cloudspace by name"
                ],
                "parameters": 
                [
                    {
                        "name": "namespace",
                        "description": "The namespace to which the Cloudspace belongs to. Desired namespace value can be obtained by calling api:  <a href=\"/rackspace-spot-public-api#helper-getorganizationslist\" style=\"color: red;\">**list of organizations**</a>. ",
                        "schema": 
                        {
                            "type": "string"
                        },
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": 
                {
                    "200": 
                    {
                        "content": 
                        {
                            "application/json": 
                            {
                                "schema": 
                                {
                                    "$ref": "#/components/schemas/io.rxt.ngpc.v1.CloudSpace"
                                }
                            },
                            "application/yaml": 
                            {
                                "schema": 
                                {
                                    "$ref": "#/components/schemas/io.rxt.ngpc.v1.CloudSpace"
                                }
                            }
                        },
                        "description": "CloudSpace creation request submitted successfully."
                    },
                    "201": 
                    {
                        "content": 
                        {
                            "application/json": 
                            {
                                "schema": 
                                {
                                    "$ref": "#/components/schemas/io.rxt.ngpc.v1.CloudSpace"
                                }
                            },
                            "application/yaml": 
                            {
                                "schema": 
                                {
                                    "$ref": "#/components/schemas/io.rxt.ngpc.v1.CloudSpace"
                                }
                            }
                        },
                        "description": "CloudSpace created successfully."
                    },
                    "202": 
                    {
                        "content": 
                        {
                            "application/json": 
                            {
                                "schema": 
                                {
                                    "$ref": "#/components/schemas/io.rxt.ngpc.v1.CloudSpace"
                                }
                            },
                            "application/yaml": 
                            {
                                "schema": 
                                {
                                    "$ref": "#/components/schemas/io.rxt.ngpc.v1.CloudSpace"
                                }
                            }
                        },
                        "description": "CloudSpace creation request accepted successfully."
                    },
                    "401": 
                    {
                        "description": "Unauthorized access."
                    }
                },
                "deprecated": false,
                "operationId": "createNgpcRxtIoV1NamespacedCloudSpace",
                "summary": "Create cloudspace",
                "description": "Create a CloudSpace in the specified namespace.",
                "x-kubernetes-action": "post",
                "x-kubernetes-group-version-kind": 
                {
                    "group": "ngpc.rxt.io",
                    "kind": "CloudSpace",
                    "version": "v1"
                },
                "x-codegen-request-body-name": "body"
            },
            "delete": 
            {
                "tags": 
                [
                    "Cloudspace"
                ],
                "parameters": 
                [
                    {
                        "name": "namespace",
                        "description": "The namespace to which the Cloudspace belongs to. Desired namespace value can be obtained by calling api:  <a href=\"/rackspace-spot-public-api#helper-getorganizationslist\" style=\"color: red;\">**list of organizations**</a>. ",
                        "schema": 
                        {
                            "type": "string"
                        },
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": 
                {
                    "200": 
                    {
                        "content": 
                        {
                            "application/json": 
                            {
                                "schema": 
                                {
                                    "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.Status"
                                }
                            },
                            "application/yaml": 
                            {
                                "schema": 
                                {
                                    "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.Status"
                                }
                            }
                        },
                        "description": "CloudSpaces deleted successfully."
                    },
                    "401": 
                    {
                        "description": "Unauthorized access."
                    }
                },
                "deprecated": false,
                "operationId": "deleteNgpcRxtIoV1CollectionNamespacedCloudSpace",
                "summary": "Delete all cloudspaces",
                "description": "Delete CloudSpaces from the specified namespace.",
                "x-kubernetes-action": "deletecollection",
                "x-kubernetes-group-version-kind": 
                {
                    "group": "ngpc.rxt.io",
                    "kind": "CloudSpace",
                    "version": "v1"
                }
            }
        },
        "/apis/ngpc.rxt.io/v1/namespaces/{namespace}/cloudspaces/{name}": 
        {
            "get": 
            {
                "tags": 
                [
                    "Cloudspace by name"
                ],
                "parameters": 
                [
                    {
                        "name": "name",
                        "description": "CloudSpace Name",
                        "schema": 
                        {
                            "type": "string"
                        },
                        "in": "path",
                        "required": true
                    },
                    {
                        "name": "namespace",
                        "description": "The namespace to which the Cloudspace belongs to. Desired namespace value can be obtained by calling api:  <a href=\"/rackspace-spot-public-api#helper-getorganizationslist\" style=\"color: red;\">**list of organizations**</a>. ",
                        "schema": 
                        {
                            "type": "string"
                        },
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": 
                {
                    "200": 
                    {
                        "content": 
                        {
                            "application/json": 
                            {
                                "schema": 
                                {
                                    "$ref": "#/components/schemas/io.rxt.ngpc.v1.CloudSpace"
                                }
                            },
                            "application/yaml": 
                            {
                                "schema": 
                                {
                                    "$ref": "#/components/schemas/io.rxt.ngpc.v1.CloudSpace"
                                }
                            }
                        },
                        "description": "Specific CloudSpace obtained successfully."
                    },
                    "401": 
                    {
                        "description": "Unauthorized access."
                    }
                },
                "deprecated": false,
                "operationId": "readNgpcRxtIoV1NamespacedCloudSpace",
                "summary": "Get cloudspace by name",
                "description": "Retrieves the details of a CloudSpace by its name from the specified namespace.",
                "x-kubernetes-action": "get",
                "x-kubernetes-group-version-kind": 
                {
                    "group": "ngpc.rxt.io",
                    "kind": "CloudSpace",
                    "version": "v1"
                }
            },
            "delete": 
            {
                "tags": 
                [
                    "Cloudspace by name"
                ],
                "parameters": 
                [
                    {
                        "name": "name",
                        "description": "name of the CloudSpace",
                        "schema": 
                        {
                            "type": "string"
                        },
                        "in": "path",
                        "required": true
                    },
                    {
                        "name": "namespace",
                        "description": "TThe namespace to which the Cloudspace belongs to. Desired namespace value can be obtained by calling api:  <a href=\"/rackspace-spot-public-api#helper-getorganizationslist\" style=\"color: red;\">**list of organizations**</a>. ",
                        "schema": 
                        {
                            "type": "string"
                        },
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": 
                {
                    "200": 
                    {
                        "content": 
                        {
                            "application/json": 
                            {
                                "schema": 
                                {
                                    "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.Status"
                                }
                            },
                            "application/yaml": 
                            {
                                "schema": 
                                {
                                    "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.Status"
                                }
                            }
                        },
                        "description": "Specific CloudSpace deletion request submitted successfully."
                    },
                    "202": 
                    {
                        "content": 
                        {
                            "application/json": 
                            {
                                "schema": 
                                {
                                    "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.Status"
                                }
                            },
                            "application/yaml": 
                            {
                                "schema": 
                                {
                                    "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.Status"
                                }
                            }
                        },
                        "description": "Specific CloudSpace deletion request accepted successfully."
                    },
                    "401": 
                    {
                        "description": "Unauthorized access."
                    }
                },
                "deprecated": false,
                "operationId": "deleteNgpcRxtIoV1NamespacedCloudSpace",
                "summary": "Delete cloudspace by name",
                "description": "Delete a CloudSpace by its name from the specified namespace.",
                "x-kubernetes-action": "delete",
                "x-kubernetes-group-version-kind": 
                {
                    "group": "ngpc.rxt.io",
                    "kind": "CloudSpace",
                    "version": "v1"
                }
            },
            "patch": 
            {
                "requestBody": 
                {
                    "description": "This endpoint allows you to perform operations on the cloudspace configuration.\n  - `op`: Represents the operation to be performed. \n    - `add`: Adds a new field or value at the specified `path` in spec section of object.\n    - `replace`: Replaces the existing value at the specified `path` in spec section of object.\n  - `path`: Specifies the location within the object where the operation should be applied.\n    - For example, to add a new field, use **/spec/newField**.\n    - To replace an existing field, use **/spec/existingField**.\n  - `value`: Represents the data to be added or replaced at the specified path.",
                    "content": 
                    {
                        "application/json-patch+json": 
                        {
                            "schema": 
                            {
                                "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.Patch"
                            }
                        },
                        "application/merge-patch+json": 
                        {
                            "schema": 
                            {
                                "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.Patch"
                            }
                        },
                        "application/apply-patch+yaml": 
                        {
                            "schema": 
                            {
                                "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.Patch"
                            }
                        }
                    },
                    "required": true
                },
                "tags": 
                [
                    "Cloudspace by name"
                ],
                "parameters": 
                [
                    {
                        "name": "name",
                        "description": "name of the CloudSpace",
                        "schema": 
                        {
                            "type": "string"
                        },
                        "in": "path",
                        "required": true
                    },
                    {
                        "name": "namespace",
                        "description": "The namespace to which the Cloudspace belongs to. Desired namespace value can be obtained by calling api:  <a href=\"/rackspace-spot-public-api#helper-getorganizationslist\" style=\"color: red;\">**list of organizations**</a>. ",
                        "schema": 
                        {
                            "type": "string"
                        },
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": 
                {
                    "200": 
                    {
                        "content": 
                        {
                            "application/json": 
                            {
                                "schema": 
                                {
                                    "$ref": "#/components/schemas/io.rxt.ngpc.v1.CloudSpace"
                                }
                            },
                            "application/yaml": 
                            {
                                "schema": 
                                {
                                    "$ref": "#/components/schemas/io.rxt.ngpc.v1.CloudSpace"
                                }
                            }
                        },
                        "description": "CloudSpace updated successfully."
                    },
                    "401": 
                    {
                        "description": "Unauthorized access."
                    }
                },
                "deprecated": false,
                "operationId": "patchNgpcRxtIoV1NamespacedCloudSpace",
                "summary": "Edit cloudspace by name",
                "description": "Update a CloudSpace by its name from the specified namespace.",
                "x-kubernetes-action": "patch",
                "x-kubernetes-group-version-kind": 
                {
                    "group": "ngpc.rxt.io",
                    "kind": "CloudSpace",
                    "version": "v1"
                },
                "x-codegen-request-body-name": "body"
            }
        },
        "/apis/ngpc.rxt.io/v1/namespaces/{namespace}/spotnodepools": 
        {
            "get": 
            {
                "tags": 
                [
                    "SpotNodePool"
                ],
                "parameters": 
                [
                    {
                        "name": "namespace",
                        "description": "The namespace to which the SpotNodePool belongs to. Desired namespace value can be obtained by calling api:  <a href=\"/rackspace-spot-public-api#helper-getorganizationslist\" style=\"color: red;\">**list of organizations**</a>. ",
                        "schema": 
                        {
                            "type": "string"
                        },
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": 
                {
                    "200": 
                    {
                        "content": 
                        {
                            "application/json": 
                            {
                                "schema": 
                                {
                                    "$ref": "#/components/schemas/io.rxt.ngpc.v1.SpotNodePoolList"
                                }
                            },
                            "application/yaml": 
                            {
                                "schema": 
                                {
                                    "$ref": "#/components/schemas/io.rxt.ngpc.v1.SpotNodePoolList"
                                }
                            }
                        },
                        "description": "SpotNodePools obtained successfully."
                    },
                    "401": 
                    {
                        "description": "Unauthorized access."
                    }
                },
                "deprecated": false,
                "operationId": "listNgpcRxtIoV1NamespacedSpotNodePool",
                "summary": "Get all spotnodepools",
                "description": "Retrieve all SpotNodePools from the specified namespace.",
                "x-kubernetes-action": "list",
                "x-kubernetes-group-version-kind": 
                {
                    "group": "ngpc.rxt.io",
                    "kind": "SpotNodePool",
                    "version": "v1"
                }
            },
            "post": 
            {
                "requestBody": 
                {
                    "description": "- Use value for `apiVersion` as `ngpc.rxt.io/v1`.\n- Use value for `kind` as `SpotNodePool`.\n- In the `metadata` object:\n  - Enter a value for the `name` field in the `metadata` object to name your SpotNodePool.\n    The name must be a `lowercase UUID` only.\n\n  - Select the `namespace` in which the SpotNodePool should be created. \n    This should match the `namespace` used in the path parameter above.\n\n  - `creationTimestamp` and `deletionTimestamp`: Represents timestamp for SpotNodePool creation. Leave it as default only.\n\n- In the `spec` object:\n\n  - `autoscaling`: Configure autoscaling settings.\n\n    - `enabled`: Set whether autoscaling is enabled. (e.g., true or false)\n\n    - `maxNodes`: The maximum number of nodes allowed when autoscaling is enabled.\n    - `minNodes`: The minimum number of nodes required when autoscaling is enabled.\n\n  - `bidPrice`: Define the bid price to bid for the spot servers (instances).\n  - `cloudSpace`: Specify the name of your cloudspace in which SpotNodePool should be created.\n  - `desired`: The desired number of resources (nodes) to be provisioned.\n  - `serverClass`: Specify the Serverclass type for the cloudspace. Refer to Serverclass api for available serverclasses.",
                    "content": 
                    {
                        "application/json": 
                        {
                            "schema": 
                            {
                                "$ref": "#/components/schemas/io.rxt.ngpc.v1.SpotNodePool"
                            }
                        },
                        "application/yaml": 
                        {
                            "schema": 
                            {
                                "$ref": "#/components/schemas/io.rxt.ngpc.v1.SpotNodePool"
                            }
                        }
                    },
                    "required": true
                },
                "tags": 
                [
                    "SpotNodePool",
                    "SpotNodePool by name"
                ],
                "parameters": 
                [
                    {
                        "name": "namespace",
                        "description": "The namespace to which the SpotNodePool belongs to. Desired namespace value can be obtained by calling api:  <a href=\"/rackspace-spot-public-api#helper-getorganizationslist\" style=\"color: red;\">**list of organizations**</a>. ",
                        "schema": 
                        {
                            "type": "string"
                        },
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": 
                {
                    "200": 
                    {
                        "content": 
                        {
                            "application/json": 
                            {
                                "schema": 
                                {
                                    "$ref": "#/components/schemas/io.rxt.ngpc.v1.SpotNodePool"
                                }
                            },
                            "application/yaml": 
                            {
                                "schema": 
                                {
                                    "$ref": "#/components/schemas/io.rxt.ngpc.v1.SpotNodePool"
                                }
                            }
                        },
                        "description": "SpotNodePool creation request submitted successfully."
                    },
                    "201": 
                    {
                        "content": 
                        {
                            "application/json": 
                            {
                                "schema": 
                                {
                                    "$ref": "#/components/schemas/io.rxt.ngpc.v1.SpotNodePool"
                                }
                            },
                            "application/yaml": 
                            {
                                "schema": 
                                {
                                    "$ref": "#/components/schemas/io.rxt.ngpc.v1.SpotNodePool"
                                }
                            }
                        },
                        "description": "SpotNodePool created successfully."
                    },
                    "202": 
                    {
                        "content": 
                        {
                            "application/json": 
                            {
                                "schema": 
                                {
                                    "$ref": "#/components/schemas/io.rxt.ngpc.v1.SpotNodePool"
                                }
                            },
                            "application/yaml": 
                            {
                                "schema": 
                                {
                                    "$ref": "#/components/schemas/io.rxt.ngpc.v1.SpotNodePool"
                                }
                            }
                        },
                        "description": "SpotNodePool creation request accepted successfully."
                    },
                    "401": 
                    {
                        "description": "Unauthorized access."
                    }
                },
                "deprecated": false,
                "operationId": "createNgpcRxtIoV1NamespacedSpotNodePool",
                "summary": "Create spotnodepool",
                "description": "Create a SpotNodePool in the specified namespace.",
                "x-kubernetes-action": "post",
                "x-kubernetes-group-version-kind": 
                {
                    "group": "ngpc.rxt.io",
                    "kind": "SpotNodePool",
                    "version": "v1"
                },
                "x-codegen-request-body-name": "body"
            },
            "delete": 
            {
                "tags": 
                [
                    "SpotNodePool"
                ],
                "parameters": 
                [
                    {
                        "name": "namespace",
                        "description": "The namespace to which the SpotNodePool belongs to. Desired namespace value can be obtained by calling api:  <a href=\"/rackspace-spot-public-api#helper-getorganizationslist\" style=\"color: red;\">**list of organizations**</a>. ",
                        "schema": 
                        {
                            "type": "string"
                        },
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": 
                {
                    "200": 
                    {
                        "content": 
                        {
                            "application/json": 
                            {
                                "schema": 
                                {
                                    "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.Status"
                                }
                            },
                            "application/yaml": 
                            {
                                "schema": 
                                {
                                    "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.Status"
                                }
                            }
                        },
                        "description": "SpotNodePools deleted successfully."
                    },
                    "401": 
                    {
                        "description": "Unauthorized access."
                    }
                },
                "deprecated": false,
                "operationId": "deleteNgpcRxtIoV1CollectionNamespacedSpotNodePool",
                "summary": "Delete all spotnodepools",
                "description": "Delete all SpotNodePools from the specified namespace.",
                "x-kubernetes-action": "deletecollection",
                "x-kubernetes-group-version-kind": 
                {
                    "group": "ngpc.rxt.io",
                    "kind": "SpotNodePool",
                    "version": "v1"
                }
            }
        },
        "/apis/ngpc.rxt.io/v1/namespaces/{namespace}/spotnodepools/{name}": 
        {
            "get": 
            {
                "tags": 
                [
                    "SpotNodePool by name"
                ],
                "parameters": 
                [
                    {
                        "name": "name",
                        "description": "SpotNodePool name, must be a lowercase UUID.",
                        "schema": 
                        {
                            "type": "string"
                        },
                        "in": "path",
                        "required": true
                    },
                    {
                        "name": "namespace",
                        "description": "The namespace to which the SpotNodePool belongs to. Desired namespace value can be obtained by calling api:  <a href=\"/rackspace-spot-public-api#helper-getorganizationslist\" style=\"color: red;\">**list of organizations**</a>. ",
                        "schema": 
                        {
                            "type": "string"
                        },
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": 
                {
                    "200": 
                    {
                        "content": 
                        {
                            "application/json": 
                            {
                                "schema": 
                                {
                                    "$ref": "#/components/schemas/io.rxt.ngpc.v1.SpotNodePool"
                                }
                            },
                            "application/yaml": 
                            {
                                "schema": 
                                {
                                    "$ref": "#/components/schemas/io.rxt.ngpc.v1.SpotNodePool"
                                }
                            }
                        },
                        "description": "Specific SpotNodePool obtained successfully."
                    },
                    "401": 
                    {
                        "description": "Unauthorized access."
                    }
                },
                "deprecated": false,
                "operationId": "readNgpcRxtIoV1NamespacedSpotNodePool",
                "summary": "Get spotnodepool by name",
                "description": "Retrieves the details of a SpotNodePool by its name from the specified namespace.",
                "x-kubernetes-action": "get",
                "x-kubernetes-group-version-kind": 
                {
                    "group": "ngpc.rxt.io",
                    "kind": "SpotNodePool",
                    "version": "v1"
                }
            },
            "delete": 
            {
                "tags": 
                [
                    "SpotNodePool by name"
                ],
                "parameters": 
                [
                    {
                        "name": "name",
                        "description": "SpotNodePool name, must be a lowercase UUID.",
                        "schema": 
                        {
                            "type": "string"
                        },
                        "in": "path",
                        "required": true
                    },
                    {
                        "name": "namespace",
                        "description": "The namespace to which the SpotNodePool belongs to. Desired namespace value can be obtained by calling api:  <a href=\"/rackspace-spot-public-api#helper-getorganizationslist\" style=\"color: red;\">**list of organizations**</a>. ",
                        "schema": 
                        {
                            "type": "string"
                        },
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": 
                {
                    "200": 
                    {
                        "content": 
                        {
                            "application/json": 
                            {
                                "schema": 
                                {
                                    "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.Status"
                                }
                            },
                            "application/yaml": 
                            {
                                "schema": 
                                {
                                    "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.Status"
                                }
                            }
                        },
                        "description": "Specific SpotNodePool deletion request submitted successfully."
                    },
                    "202": 
                    {
                        "content": 
                        {
                            "application/json": 
                            {
                                "schema": 
                                {
                                    "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.Status"
                                }
                            },
                            "application/yaml": 
                            {
                                "schema": 
                                {
                                    "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.Status"
                                }
                            }
                        },
                        "description": "Specific SpotNodePool deletion request accepted successfully."
                    },
                    "401": 
                    {
                        "description": "Unauthorized access"
                    }
                },
                "deprecated": false,
                "operationId": "deleteNgpcRxtIoV1NamespacedSpotNodePool",
                "summary": "Delete spotnodepool by name",
                "description": "Delete a SpotNodePool by its name from the specified namespace.",
                "x-kubernetes-action": "delete",
                "x-kubernetes-group-version-kind": 
                {
                    "group": "ngpc.rxt.io",
                    "kind": "SpotNodePool",
                    "version": "v1"
                }
            },
            "patch": 
            {
                "requestBody": 
                {
                    "description": "This endpoint allows you to perform operations on the SpotNodePool configuration.\n  - `op`: Represents the operation to be performed. \n    - `add`: Adds a new field or value at the specified `path` in spec section of object.\n    - `replace`: Replaces the existing value at the specified `path` in spec section of object.\n  - `path`: Specifies the location within the object where the operation should be applied.\n    - For example, to add a new field, use **/spec/newField**.\n    - To replace an existing field, use **/spec/existingField**.\n  - `value`: Represents the data to be added or replaced at the specified path.",
                    "content": 
                    {
                        "application/json-patch+json": 
                        {
                            "schema": 
                            {
                                "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.Patch"
                            }
                        },
                        "application/merge-patch+json": 
                        {
                            "schema": 
                            {
                                "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.Patch"
                            }
                        },
                        "application/apply-patch+yaml": 
                        {
                            "schema": 
                            {
                                "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.Patch"
                            }
                        }
                    },
                    "required": true
                },
                "tags": 
                [
                    "SpotNodePool by name"
                ],
                "parameters": 
                [
                    {
                        "name": "name",
                        "description": "SpotNodePool name, must be a lowercase UUID.",
                        "schema": 
                        {
                            "type": "string"
                        },
                        "in": "path",
                        "required": true
                    },
                    {
                        "name": "namespace",
                        "description": "The namespace to which the SpotNodePool belongs to. Desired namespace value can be obtained by calling api:  <a href=\"/rackspace-spot-public-api#helper-getorganizationslist\" style=\"color: red;\">**list of organizations**</a>. ",
                        "schema": 
                        {
                            "type": "string"
                        },
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": 
                {
                    "200": 
                    {
                        "content": 
                        {
                            "application/json": 
                            {
                                "schema": 
                                {
                                    "$ref": "#/components/schemas/io.rxt.ngpc.v1.SpotNodePool"
                                }
                            },
                            "application/yaml": 
                            {
                                "schema": 
                                {
                                    "$ref": "#/components/schemas/io.rxt.ngpc.v1.SpotNodePool"
                                }
                            }
                        },
                        "description": "SpotNodePool updated successfully."
                    },
                    "401": 
                    {
                        "description": "Unauthorized access."
                    }
                },
                "deprecated": false,
                "operationId": "patchNgpcRxtIoV1NamespacedSpotNodePool",
                "summary": "Edit spotnodepool by name",
                "description": "Update a SpotNodePool by its name from the specified namespace.",
                "x-kubernetes-action": "patch",
                "x-kubernetes-group-version-kind": 
                {
                    "group": "ngpc.rxt.io",
                    "kind": "SpotNodePool",
                    "version": "v1"
                },
                "x-codegen-request-body-name": "body"
            }
        },
        "/apis/ngpc.rxt.io/v1/namespaces/{namespace}/ondemandnodepools": 
        {
            "get": 
            {
                "tags": 
                [
                    "OnDemandNodePool"
                ],
                "parameters": 
                [
                    {
                        "name": "namespace",
                        "description": "The namespace to which the OnDemandNodePool belongs to. Desired namespace value can be obtained by calling api:  <a href=\"/rackspace-spot-public-api#helper-getorganizationslist\" style=\"color: red;\">**list of organizations**</a>. ",
                        "schema": 
                        {
                            "type": "string"
                        },
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": 
                {
                    "200": 
                    {
                        "content": 
                        {
                            "application/json": 
                            {
                                "schema": 
                                {
                                    "$ref": "#/components/schemas/io.rxt.ngpc.v1.OnDemandNodePoolList"
                                }
                            },
                            "application/yaml": 
                            {
                                "schema": 
                                {
                                    "$ref": "#/components/schemas/io.rxt.ngpc.v1.OnDemandNodePoolList"
                                }
                            }
                        },
                        "description": "OnDemandNodePools obtained successfully."
                    },
                    "401": 
                    {
                        "description": "Unauthorized access."
                    }
                },
                "deprecated": false,
                "operationId": "listNgpcRxtIoV1NamespacedOnDemandNodePool",
                "summary": "Get all ondemandnodepools",
                "description": "Retrieve all OnDemandNodePools from the specified namespace.",
                "x-kubernetes-action": "list",
                "x-kubernetes-group-version-kind": 
                {
                    "group": "ngpc.rxt.io",
                    "kind": "OnDemandNodePool",
                    "version": "v1"
                }
            },
            "post": 
            {
                "requestBody": 
                {
                    "description": "- Use value for `apiVersion` as `ngpc.rxt.io/v1`.\n- Use value for `kind` as `OnDemandNodePool`.\n- In the `metadata` object:\n  - Enter a value for the `name` field in the `metadata` object to name your OnDemandNodePool.\n    The name must be a `lowercase UUID` only.\n\n  - Select the `namespace` in which the OnDemandNodePool should be created. \n    This should match the `namespace` used in the path parameter above.\n\n  - `creationTimestamp` and `deletionTimestamp`: Represents timestamp for SpotNodePool creation. Leave it as default only.\n\n- In the `spec` object:\n  - `cloudSpace`: Specify the name of your cloudspace in which SpotNodePool should be created.\n\n  - `desired`: The desired number of resources (nodes) to be provisioned.\n  - `serverClass`: Specify the Serverclass type for the cloudspace. Refer to Serverclass api for available serverclasses.",
                    "content": 
                    {
                        "application/json": 
                        {
                            "schema": 
                            {
                                "$ref": "#/components/schemas/io.rxt.ngpc.v1.OnDemandNodePool"
                            }
                        },
                        "application/yaml": 
                        {
                            "schema": 
                            {
                                "$ref": "#/components/schemas/io.rxt.ngpc.v1.OnDemandNodePool"
                            }
                        }
                    },
                    "required": true
                },
                "tags": 
                [
                    "OnDemandNodePool",
                    "OnDemandNodePool by name"
                ],
                "parameters": 
                [
                    {
                        "name": "namespace",
                        "description": "The namespace to which the OnDemandNodePool belongs to. Desired namespace value can be obtained by calling api:  <a href=\"/rackspace-spot-public-api#helper-getorganizationslist\" style=\"color: red;\">**list of organizations**</a>. ",
                        "schema": 
                        {
                            "type": "string"
                        },
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": 
                {
                    "200": 
                    {
                        "content": 
                        {
                            "application/json": 
                            {
                                "schema": 
                                {
                                    "$ref": "#/components/schemas/io.rxt.ngpc.v1.OnDemandNodePool"
                                }
                            },
                            "application/yaml": 
                            {
                                "schema": 
                                {
                                    "$ref": "#/components/schemas/io.rxt.ngpc.v1.OnDemandNodePool"
                                }
                            }
                        },
                        "description": "OnDemandNodePool creation request submitted successfully."
                    },
                    "201": 
                    {
                        "content": 
                        {
                            "application/json": 
                            {
                                "schema": 
                                {
                                    "$ref": "#/components/schemas/io.rxt.ngpc.v1.OnDemandNodePool"
                                }
                            },
                            "application/yaml": 
                            {
                                "schema": 
                                {
                                    "$ref": "#/components/schemas/io.rxt.ngpc.v1.OnDemandNodePool"
                                }
                            }
                        },
                        "description": "OnDemandNodePool created successfully."
                    },
                    "202": 
                    {
                        "content": 
                        {
                            "application/json": 
                            {
                                "schema": 
                                {
                                    "$ref": "#/components/schemas/io.rxt.ngpc.v1.OnDemandNodePool"
                                }
                            },
                            "application/yaml": 
                            {
                                "schema": 
                                {
                                    "$ref": "#/components/schemas/io.rxt.ngpc.v1.OnDemandNodePool"
                                }
                            }
                        },
                        "description": "OnDemandNodePool creation request accepted successfully."
                    },
                    "401": 
                    {
                        "description": "Unauthorized access."
                    }
                },
                "deprecated": false,
                "operationId": "createNgpcRxtIoV1NamespacedOnDemandNodePool",
                "summary": "Create ondemandnodepool",
                "description": "Create an OnDemandNodePool in the specified namespace.",
                "x-kubernetes-action": "post",
                "x-kubernetes-group-version-kind": 
                {
                    "group": "ngpc.rxt.io",
                    "kind": "OnDemandNodePool",
                    "version": "v1"
                },
                "x-codegen-request-body-name": "body"
            },
            "delete": 
            {
                "tags": 
                [
                    "OnDemandNodePool"
                ],
                "parameters": 
                [
                    {
                        "name": "namespace",
                        "description": "The namespace to which the OnDemandNodePool belongs to. Desired namespace value can be obtained by calling api:  <a href=\"/rackspace-spot-public-api#helper-getorganizationslist\" style=\"color: red;\">**list of organizations**</a>. ",
                        "schema": 
                        {
                            "type": "string"
                        },
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": 
                {
                    "200": 
                    {
                        "content": 
                        {
                            "application/json": 
                            {
                                "schema": 
                                {
                                    "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.Status"
                                }
                            },
                            "application/yaml": 
                            {
                                "schema": 
                                {
                                    "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.Status"
                                }
                            }
                        },
                        "description": "OnDemandNodePools deleted successfully."
                    },
                    "401": 
                    {
                        "description": "Unauthorized access."
                    }
                },
                "deprecated": false,
                "operationId": "deleteNgpcRxtIoV1CollectionNamespacedOnDemandNodePool",
                "summary": "Delete all ondemandnodepools",
                "description": "Delete all OnDenamdNodePools from the specified namespace.",
                "x-kubernetes-action": "deletecollection",
                "x-kubernetes-group-version-kind": 
                {
                    "group": "ngpc.rxt.io",
                    "kind": "OnDemandNodePool",
                    "version": "v1"
                }
            }
        },
        "/apis/ngpc.rxt.io/v1/namespaces/{namespace}/ondemandnodepools/{name}": 
        {
            "get": 
            {
                "tags": 
                [
                    "OnDemandNodePool by name"
                ],
                "parameters": 
                [
                    {
                        "name": "name",
                        "description": "OnDemandNodePool name, must be a lowercase UUID",
                        "schema": 
                        {
                            "type": "string"
                        },
                        "in": "path",
                        "required": true
                    },
                    {
                        "name": "namespace",
                        "description": "The namespace to which the OnDemandNodePool belongs to. Desired namespace value can be obtained by calling api:  <a href=\"/rackspace-spot-public-api#helper-getorganizationslist\" style=\"color: red;\">**list of organizations**</a>. ",
                        "schema": 
                        {
                            "type": "string"
                        },
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": 
                {
                    "200": 
                    {
                        "content": 
                        {
                            "application/json": 
                            {
                                "schema": 
                                {
                                    "$ref": "#/components/schemas/io.rxt.ngpc.v1.OnDemandNodePool"
                                }
                            },
                            "application/yaml": 
                            {
                                "schema": 
                                {
                                    "$ref": "#/components/schemas/io.rxt.ngpc.v1.OnDemandNodePool"
                                }
                            }
                        },
                        "description": "Specific OnDemandNodePool obtained successfully."
                    },
                    "401": 
                    {
                        "description": "Unauthorized access."
                    }
                },
                "deprecated": false,
                "operationId": "readNgpcRxtIoV1NamespacedOnDemandNodePool",
                "summary": "Get ondemandnodepool by name",
                "description": "Retrieves the details of an OnDemandNodePool by its name from the specified namespace.",
                "x-kubernetes-action": "get",
                "x-kubernetes-group-version-kind": 
                {
                    "group": "ngpc.rxt.io",
                    "kind": "OnDemandNodePool",
                    "version": "v1"
                }
            },
            "delete": 
            {
                "tags": 
                [
                    "OnDemandNodePool by name"
                ],
                "parameters": 
                [
                    {
                        "name": "name",
                        "description": "OnDemandNodePool name, must be a lowercase UUID",
                        "schema": 
                        {
                            "type": "string"
                        },
                        "in": "path",
                        "required": true
                    },
                    {
                        "name": "namespace",
                        "description": "The namespace to which the OnDemandNodePool belongs to. Desired namespace value can be obtained by calling api:  <a href=\"/rackspace-spot-public-api#helper-getorganizationslist\" style=\"color: red;\">**list of organizations**</a>. ",
                        "schema": 
                        {
                            "type": "string"
                        },
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": 
                {
                    "200": 
                    {
                        "content": 
                        {
                            "application/json": 
                            {
                                "schema": 
                                {
                                    "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.Status"
                                }
                            },
                            "application/yaml": 
                            {
                                "schema": 
                                {
                                    "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.Status"
                                }
                            }
                        },
                        "description": "Specific OnDemandNodePool deletion request submitted successfully."
                    },
                    "202": 
                    {
                        "content": 
                        {
                            "application/json": 
                            {
                                "schema": 
                                {
                                    "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.Status"
                                }
                            },
                            "application/yaml": 
                            {
                                "schema": 
                                {
                                    "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.Status"
                                }
                            }
                        },
                        "description": "Specific OnDemandNodePool deletion request accepted successfully."
                    },
                    "401": 
                    {
                        "description": "Unauthorized access."
                    }
                },
                "deprecated": false,
                "operationId": "deleteNgpcRxtIoV1NamespacedOnDemandNodePool",
                "summary": "Delete ondemandnodepool by name",
                "description": "Delete an OnDemandNodePool by its name from the specified namespace.",
                "x-kubernetes-action": "delete",
                "x-kubernetes-group-version-kind": 
                {
                    "group": "ngpc.rxt.io",
                    "kind": "OnDemandNodePool",
                    "version": "v1"
                }
            },
            "patch": 
            {
                "requestBody": 
                {
                    "description": "This endpoint allows you to perform operations on the OnDemandNodePool configuration.\n  - `op`: Represents the operation to be performed. \n    - `add`: Adds a new field or value at the specified `path` in spec section of object.\n    - `replace`: Replaces the existing value at the specified `path` in spec section of object.\n  - `path`: Specifies the location within the object where the operation should be applied.\n    - For example, to add a new field, use **/spec/newField**.\n    - To replace an existing field, use **/spec/existingField**.\n  - `value`: Represents the data to be added or replaced at the specified path.",
                    "content": 
                    {
                        "application/json-patch+json": 
                        {
                            "schema": 
                            {
                                "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.Patch"
                            }
                        },
                        "application/merge-patch+json": 
                        {
                            "schema": 
                            {
                                "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.Patch"
                            }
                        },
                        "application/apply-patch+yaml": 
                        {
                            "schema": 
                            {
                                "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.Patch"
                            }
                        }
                    },
                    "required": true
                },
                "tags": 
                [
                    "OnDemandNodePool by name"
                ],
                "parameters": 
                [
                    {
                        "name": "name",
                        "description": "OnDemandNodePool name, must be a lowercase UUID",
                        "schema": 
                        {
                            "type": "string"
                        },
                        "in": "path",
                        "required": true
                    },
                    {
                        "name": "namespace",
                        "description": "The namespace to which the OnDemandNodePool belongs to. Desired namespace value can be obtained by calling api:  <a href=\"/rackspace-spot-public-api#helper-getorganizationslist\" style=\"color: red;\">**list of organizations**</a>. ",
                        "schema": 
                        {
                            "type": "string"
                        },
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": 
                {
                    "200": 
                    {
                        "content": 
                        {
                            "application/json": 
                            {
                                "schema": 
                                {
                                    "$ref": "#/components/schemas/io.rxt.ngpc.v1.OnDemandNodePool"
                                }
                            },
                            "application/yaml": 
                            {
                                "schema": 
                                {
                                    "$ref": "#/components/schemas/io.rxt.ngpc.v1.OnDemandNodePool"
                                }
                            }
                        },
                        "description": "OnDemandNodePool updated successfully."
                    },
                    "401": 
                    {
                        "description": "Unauthorized access."
                    }
                },
                "deprecated": false,
                "operationId": "patchNgpcRxtIoV1NamespacedOnDemandNodePool",
                "summary": "Edit ondemandnodepool by name",
                "description": "Update a OnDemandNodePool by its name from the specified namespace.",
                "x-kubernetes-action": "patch",
                "x-kubernetes-group-version-kind": 
                {
                    "group": "ngpc.rxt.io",
                    "kind": "OnDemandNodePool",
                    "version": "v1"
                },
                "x-codegen-request-body-name": "body"
            }
        },
        "/history/{server_class}": 
        {
            "get": 
            {
                "servers": 
                [
                    {
                        "url": "https://ngpc-prod-public-data.s3.us-east-2.amazonaws.com"
                    }
                ],
                "tags": 
                [
                    "Price History"
                ],
                "parameters": 
                [
                    {
                        "name": "server_class",
                        "description": "Server class name (e.g., `gp.vs1.medium-dfw`). Must be a valid name from available API: <a href=\"/rackspace-spot-public-api#getserverclass\" style=\"color: red;\">**ServerClasses**</a>.",
                        "schema": 
                        {
                            "type": "string"
                        },
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": 
                {
                    "200": 
                    {
                        "content": 
                        {
                            "application/json": 
                            {
                                "schema": 
                                {
                                    "required": 
                                    [
                                        "auction",
                                        "history"
                                    ],
                                    "type": "object",
                                    "properties": 
                                    {
                                        "auction": 
                                        {
                                            "description": "Serverclass type for which the auction was held",
                                            "type": "string",
                                            "example": "gp.vs1.xlarge-lon"
                                        },
                                        "history": 
                                        {
                                            "type": "array",
                                            "items": 
                                            {
                                                "type": "object",
                                                "properties": 
                                                {
                                                    "run_at": 
                                                    {
                                                        "format": "int64",
                                                        "description": "Unix timestamp of the auction",
                                                        "type": "integer"
                                                    },
                                                    "hammer_price": 
                                                    {
                                                        "format": "float",
                                                        "description": "Final price in USD",
                                                        "type": "number"
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "description": "A list of historical hammer prices"
                    },
                    "400": 
                    {
                        "description": "Invalid server class"
                    },
                    "500": 
                    {
                        "description": "Unexpected error"
                    }
                },
                "deprecated": false,
                "security": 
                [
                    {
                    }
                ],
                "summary": "Get price history for a server class (unauthenticated api)",
                "description": "Retrieve historical price data for a given server class.\nThis api does not require bearerToken for its usage. \nValid `server_class` values include:\n- gp.vs1.medium-dfw\n- gp.vs1.small-dfw\n- mh.vs1.large-dfw\n- mh.vs1.xlarge-dfw\n- ch.vs1.medium-dfw\n- gp.bm2.large-dfw\n- mh.vs1.medium-dfw\n- gp.bm2.medium-dfw\n- mh.vs1.2xlarge-dfw\n- mh.vs1.2xlarge-iad\n- gp.vs1.2xlarge-lon\n- gp.vs1.xlarge-lon\n- ch.vs1.xlarge-iad\n- gp.bm2.medium-lon\n- ch.vs1.medium-iad\n- gp.bm2.small-lon\n- ch.vs1.2xlarge-iad\n- mh.vs1.xlarge-iad\n- mh.vs1.large-iad\n- ch.vs1.large-lon\n- gp.bm2.large-lon\n- mh.vs1.2xlarge-lon\n- ch.vs1.large-iad\n- gp.bm2.small-iad\n- ch.vs1.2xlarge-lon\n- ch.vs1.medium-lon\n- mh.vs1.medium-lon\n- mh.vs1.large-lon\n- mh.vs1.xlarge-lon\n- gp.vs1.small-iad\n- ch.vs1.xlarge-lon\n- io.bm2-lon\n- io.bm2-iad\n- gp.vs1.large-lon\n- ch.vs1.2xlarge-dfw\n- ch.vs1.xlarge-dfw\n- gp.vs1.2xlarge-iad\n- mh.vs1.medium-iad\n- gp.vs1.large-iad\n- gp.vs1.large-dfw\n- ch.vs1.large-dfw\n- gp.vs1.medium-lon\n- gp.vs1.xlarge-dfw\n- gp.vs1.medium-iad\n- gp.vs1.xlarge-iad\n"
            }
        },
        "/percentiles.json": 
        {
            "get": 
            {
                "servers": 
                [
                    {
                        "url": "https://ngpc-prod-public-data.s3.us-east-2.amazonaws.com"
                    }
                ],
                "tags": 
                [
                    "Percentile information"
                ],
                "responses": 
                {
                    "200": 
                    {
                        "content": 
                        {
                            "application/json": 
                            {
                                "schema": 
                                {
                                    "type": "object",
                                    "properties": 
                                    {
                                        "regions": 
                                        {
                                            "type": "object",
                                            "additionalProperties": 
                                            {
                                                "type": "object",
                                                "properties": 
                                                {
                                                    "generation": 
                                                    {
                                                        "type": "string"
                                                    },
                                                    "serverclasses": 
                                                    {
                                                        "type": "object",
                                                        "additionalProperties": 
                                                        {
                                                            "type": "object",
                                                            "properties": 
                                                            {
                                                                "display_name": 
                                                                {
                                                                    "type": "string"
                                                                },
                                                                "category": 
                                                                {
                                                                    "type": "string"
                                                                },
                                                                "description": 
                                                                {
                                                                    "type": "string"
                                                                },
                                                                "cpu": 
                                                                {
                                                                    "type": "string"
                                                                },
                                                                "memory": 
                                                                {
                                                                    "type": "string"
                                                                },
                                                                "market_price": 
                                                                {
                                                                    "type": "string"
                                                                },
                                                                "20_percentile": 
                                                                {
                                                                    "type": "number"
                                                                },
                                                                "50_percentile": 
                                                                {
                                                                    "type": "number"
                                                                },
                                                                "80_percentile": 
                                                                {
                                                                    "type": "number"
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "description": "A list of regions with server pricing details - percentile information"
                    },
                    "500": 
                    {
                        "description": "Unexpected error"
                    }
                },
                "deprecated": false,
                "security": 
                [
                    {
                    }
                ],
                "operationId": "getPercentileInformation",
                "summary": "Get Percentile Information (unauthenticated api)",
                "description": "Returns percentile data for various server classes. This api does not require bearerToken for its usage."
            }
        },
        "/comparable_prices.json": 
        {
            "get": 
            {
                "servers": 
                [
                    {
                        "url": "https://ngpc-prod-public-data.s3.us-east-2.amazonaws.com"
                    }
                ],
                "tags": 
                [
                    "Market Price Capacity"
                ],
                "responses": 
                {
                    "200": 
                    {
                        "content": 
                        {
                            "application/json": 
                            {
                                "schema": 
                                {
                                    "type": "object",
                                    "properties": 
                                    {
                                        "regions": 
                                        {
                                            "type": "object",
                                            "additionalProperties": 
                                            {
                                                "description": "VM instance type mapping in the region.",
                                                "type": "object",
                                                "additionalProperties": 
                                                {
                                                    "type": "object",
                                                    "properties": 
                                                    {
                                                        "hyperscaler_average_price": 
                                                        {
                                                            "description": "Average hyperscaler price (e.g., AWS, Azure).",
                                                            "type": "string",
                                                            "example": "$0.009"
                                                        },
                                                        "comparables": 
                                                        {
                                                            "description": "Comparable instance types and their prices.",
                                                            "type": "array",
                                                            "items": 
                                                            {
                                                                "type": "object",
                                                                "properties": 
                                                                {
                                                                    "cloud": 
                                                                    {
                                                                        "type": "string",
                                                                        "example": "aws"
                                                                    },
                                                                    "class": 
                                                                    {
                                                                        "type": "string",
                                                                        "example": "t2.micro"
                                                                    },
                                                                    "price": 
                                                                    {
                                                                        "type": "string",
                                                                        "example": "$0.003"
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "description": "Regions and pricing data retrieved successfully."
                    },
                    "500": 
                    {
                        "description": "Unexpected error"
                    }
                },
                "deprecated": false,
                "security": 
                [
                    {
                    }
                ],
                "operationId": "getMarketPriceCapacity",
                "summary": "Get Market Price Capacity (Comparable Prices) (unauthenticated api)",
                "description": "Returns comparable pricing data. This api does not require bearerToken for its usage."
            }
        }
    },
    "components": 
    {
        "schemas": 
        {
            "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta": 
            {
                "description": "ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.",
                "type": "object",
                "properties": 
                {
                    "continue": 
                    {
                        "description": "continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available. The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a consistent list may not be possible if the server configuration has changed or more than a few minutes have passed. The resourceVersion field returned when using this continue value will be identical to the value in the first response, unless you have received this token from an error message.",
                        "type": "string"
                    },
                    "remainingItemCount": 
                    {
                        "format": "int64",
                        "description": "remainingItemCount is the number of subsequent items in the list which are not included in this list response. If the list request contained label or field selectors, then the number of remaining items is unknown and the field will be left unset and omitted during serialization. If the list is complete (either because it is not chunking or because this is the last chunk), then there are no more remaining items and this field will be left unset and omitted during serialization. Servers older than v1.15 do not set this field. The intended use of the remainingItemCount is *estimating* the size of a collection. Clients should not rely on the remainingItemCount to be set or to be exact.",
                        "type": "integer"
                    },
                    "resourceVersion": 
                    {
                        "description": "String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency",
                        "type": "string"
                    },
                    "selfLink": 
                    {
                        "description": "Deprecated: selfLink is a legacy read-only field that is no longer populated by the system.",
                        "type": "string"
                    }
                }
            },
            "io.k8s.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry": 
            {
                "description": "ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to.",
                "type": "object",
                "properties": 
                {
                    "apiVersion": 
                    {
                        "description": "ngpc.rxt.io/v1",
                        "type": "string"
                    },
                    "fieldsType": 
                    {
                        "description": "FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: \"FieldsV1\"",
                        "type": "string"
                    },
                    "fieldsV1": 
                    {
                        "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.FieldsV1"
                    },
                    "manager": 
                    {
                        "description": "Manager is an identifier of the workflow managing these fields.",
                        "type": "string"
                    },
                    "operation": 
                    {
                        "description": "Operation is the type of operation which lead to this ManagedFieldsEntry being created. The only valid values for this field are 'Apply' and 'Update'.",
                        "type": "string"
                    },
                    "subresource": 
                    {
                        "description": "Subresource is the name of the subresource used to update that object, or empty string if the object was updated through the main resource. The value of this field is used to distinguish between managers, even if they share the same name. For example, a status update will be distinct from a regular update using the same manager name. Note that the APIVersion field is not related to the Subresource field and it always corresponds to the version of the main resource.",
                        "type": "string"
                    },
                    "time": 
                    {
                        "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.Time"
                    }
                }
            },
            "io.k8s.apimachinery.pkg.apis.meta.v1.Time": 
            {
                "format": "date-time",
                "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON.  Wrappers are provided for many of the factory methods that the time package offers.",
                "type": "string"
            },
            "io.k8s.apimachinery.pkg.apis.meta.v1.FieldsV1": 
            {
                "description": "FieldsV1 stores a set of fields in a data structure like a Trie, in JSON format.\n\nEach key is either a '.' representing the field itself, and will always map to an empty set, or a string representing a sub-field or item. The string will follow one of these four formats: 'f:<name>', where <name> is the name of a field in a struct, or key in a map 'v:<value>', where <value> is the exact json formatted value of a list item 'i:<index>', where <index> is position of a item in a list 'k:<keys>', where <keys> is a map of  a list item's key fields to their unique values If a key maps to an empty Fields value, the field that key represents is part of the set.\n\nThe exact format is defined in sigs.k8s.io/structured-merge-diff",
                "type": "object"
            },
            "io.k8s.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery": 
            {
                "description": "GroupVersion contains the \"group/version\" and \"version\" string of a version. It is made a struct to keep extensibility.",
                "required": 
                [
                    "groupVersion",
                    "version"
                ],
                "type": "object",
                "properties": 
                {
                    "groupVersion": 
                    {
                        "description": "groupVersion specifies the API group and version in the form \"group/version\"",
                        "type": "string"
                    },
                    "version": 
                    {
                        "description": "version specifies the version in the form of \"version\". This is to save the clients the trouble of splitting the GroupVersion.",
                        "type": "string"
                    }
                }
            },
            "io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions": 
            {
                "description": "DeleteOptions may be provided when deleting an API object.",
                "type": "object",
                "properties": 
                {
                    "apiVersion": 
                    {
                        "type": "string",
                        "readOnly": true
                    },
                    "dryRun": 
                    {
                        "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
                        "type": "array",
                        "items": 
                        {
                            "type": "string"
                        },
                        "readOnly": true
                    },
                    "gracePeriodSeconds": 
                    {
                        "format": "int64",
                        "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
                        "type": "integer",
                        "readOnly": true
                    },
                    "kind": 
                    {
                        "type": "string",
                        "readOnly": true
                    },
                    "orphanDependents": 
                    {
                        "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
                        "type": "boolean",
                        "readOnly": true
                    },
                    "preconditions": 
                    {
                        "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.Preconditions"
                    },
                    "propagationPolicy": 
                    {
                        "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
                        "type": "string",
                        "readOnly": true
                    }
                },
                "x-kubernetes-group-version-kind": 
                [
                    {
                        "group": "",
                        "kind": "DeleteOptions",
                        "version": "v1"
                    },
                    {
                        "group": "admission.k8s.io",
                        "kind": "DeleteOptions",
                        "version": "v1"
                    },
                    {
                        "group": "admission.k8s.io",
                        "kind": "DeleteOptions",
                        "version": "v1beta1"
                    },
                    {
                        "group": "admissionregistration.k8s.io",
                        "kind": "DeleteOptions",
                        "version": "v1"
                    },
                    {
                        "group": "admissionregistration.k8s.io",
                        "kind": "DeleteOptions",
                        "version": "v1alpha1"
                    },
                    {
                        "group": "admissionregistration.k8s.io",
                        "kind": "DeleteOptions",
                        "version": "v1beta1"
                    },
                    {
                        "group": "apiextensions.k8s.io",
                        "kind": "DeleteOptions",
                        "version": "v1"
                    },
                    {
                        "group": "apiextensions.k8s.io",
                        "kind": "DeleteOptions",
                        "version": "v1beta1"
                    },
                    {
                        "group": "apiregistration.k8s.io",
                        "kind": "DeleteOptions",
                        "version": "v1"
                    },
                    {
                        "group": "apiregistration.k8s.io",
                        "kind": "DeleteOptions",
                        "version": "v1beta1"
                    },
                    {
                        "group": "apps",
                        "kind": "DeleteOptions",
                        "version": "v1"
                    },
                    {
                        "group": "apps",
                        "kind": "DeleteOptions",
                        "version": "v1beta1"
                    },
                    {
                        "group": "apps",
                        "kind": "DeleteOptions",
                        "version": "v1beta2"
                    },
                    {
                        "group": "authentication.k8s.io",
                        "kind": "DeleteOptions",
                        "version": "v1"
                    },
                    {
                        "group": "authentication.k8s.io",
                        "kind": "DeleteOptions",
                        "version": "v1alpha1"
                    },
                    {
                        "group": "authentication.k8s.io",
                        "kind": "DeleteOptions",
                        "version": "v1beta1"
                    },
                    {
                        "group": "authorization.k8s.io",
                        "kind": "DeleteOptions",
                        "version": "v1"
                    },
                    {
                        "group": "authorization.k8s.io",
                        "kind": "DeleteOptions",
                        "version": "v1beta1"
                    },
                    {
                        "group": "autoscaling",
                        "kind": "DeleteOptions",
                        "version": "v1"
                    },
                    {
                        "group": "autoscaling",
                        "kind": "DeleteOptions",
                        "version": "v2"
                    },
                    {
                        "group": "autoscaling",
                        "kind": "DeleteOptions",
                        "version": "v2beta1"
                    },
                    {
                        "group": "autoscaling",
                        "kind": "DeleteOptions",
                        "version": "v2beta2"
                    },
                    {
                        "group": "batch",
                        "kind": "DeleteOptions",
                        "version": "v1"
                    },
                    {
                        "group": "batch",
                        "kind": "DeleteOptions",
                        "version": "v1beta1"
                    },
                    {
                        "group": "certificates.k8s.io",
                        "kind": "DeleteOptions",
                        "version": "v1"
                    },
                    {
                        "group": "certificates.k8s.io",
                        "kind": "DeleteOptions",
                        "version": "v1beta1"
                    },
                    {
                        "group": "coordination.k8s.io",
                        "kind": "DeleteOptions",
                        "version": "v1"
                    },
                    {
                        "group": "coordination.k8s.io",
                        "kind": "DeleteOptions",
                        "version": "v1beta1"
                    },
                    {
                        "group": "discovery.k8s.io",
                        "kind": "DeleteOptions",
                        "version": "v1"
                    },
                    {
                        "group": "discovery.k8s.io",
                        "kind": "DeleteOptions",
                        "version": "v1beta1"
                    },
                    {
                        "group": "events.k8s.io",
                        "kind": "DeleteOptions",
                        "version": "v1"
                    },
                    {
                        "group": "events.k8s.io",
                        "kind": "DeleteOptions",
                        "version": "v1beta1"
                    },
                    {
                        "group": "extensions",
                        "kind": "DeleteOptions",
                        "version": "v1beta1"
                    },
                    {
                        "group": "flowcontrol.apiserver.k8s.io",
                        "kind": "DeleteOptions",
                        "version": "v1alpha1"
                    },
                    {
                        "group": "flowcontrol.apiserver.k8s.io",
                        "kind": "DeleteOptions",
                        "version": "v1beta1"
                    },
                    {
                        "group": "flowcontrol.apiserver.k8s.io",
                        "kind": "DeleteOptions",
                        "version": "v1beta2"
                    },
                    {
                        "group": "flowcontrol.apiserver.k8s.io",
                        "kind": "DeleteOptions",
                        "version": "v1beta3"
                    },
                    {
                        "group": "imagepolicy.k8s.io",
                        "kind": "DeleteOptions",
                        "version": "v1alpha1"
                    },
                    {
                        "group": "internal.apiserver.k8s.io",
                        "kind": "DeleteOptions",
                        "version": "v1alpha1"
                    },
                    {
                        "group": "networking.k8s.io",
                        "kind": "DeleteOptions",
                        "version": "v1"
                    },
                    {
                        "group": "networking.k8s.io",
                        "kind": "DeleteOptions",
                        "version": "v1alpha1"
                    },
                    {
                        "group": "networking.k8s.io",
                        "kind": "DeleteOptions",
                        "version": "v1beta1"
                    },
                    {
                        "group": "node.k8s.io",
                        "kind": "DeleteOptions",
                        "version": "v1"
                    },
                    {
                        "group": "node.k8s.io",
                        "kind": "DeleteOptions",
                        "version": "v1alpha1"
                    },
                    {
                        "group": "node.k8s.io",
                        "kind": "DeleteOptions",
                        "version": "v1beta1"
                    },
                    {
                        "group": "policy",
                        "kind": "DeleteOptions",
                        "version": "v1"
                    },
                    {
                        "group": "policy",
                        "kind": "DeleteOptions",
                        "version": "v1beta1"
                    },
                    {
                        "group": "rbac.authorization.k8s.io",
                        "kind": "DeleteOptions",
                        "version": "v1"
                    },
                    {
                        "group": "rbac.authorization.k8s.io",
                        "kind": "DeleteOptions",
                        "version": "v1alpha1"
                    },
                    {
                        "group": "rbac.authorization.k8s.io",
                        "kind": "DeleteOptions",
                        "version": "v1beta1"
                    },
                    {
                        "group": "resource.k8s.io",
                        "kind": "DeleteOptions",
                        "version": "v1alpha1"
                    },
                    {
                        "group": "scheduling.k8s.io",
                        "kind": "DeleteOptions",
                        "version": "v1"
                    },
                    {
                        "group": "scheduling.k8s.io",
                        "kind": "DeleteOptions",
                        "version": "v1alpha1"
                    },
                    {
                        "group": "scheduling.k8s.io",
                        "kind": "DeleteOptions",
                        "version": "v1beta1"
                    },
                    {
                        "group": "storage.k8s.io",
                        "kind": "DeleteOptions",
                        "version": "v1"
                    },
                    {
                        "group": "storage.k8s.io",
                        "kind": "DeleteOptions",
                        "version": "v1alpha1"
                    },
                    {
                        "group": "storage.k8s.io",
                        "kind": "DeleteOptions",
                        "version": "v1beta1"
                    }
                ]
            },
            "io.k8s.apimachinery.pkg.apis.meta.v1.Patch": 
            {
                "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.",
                "type": "object",
                "example": 
                [
                    {
                        "op": "replace",
                        "path": "/spec/someSpec1",
                        "value": "anotherValue"
                    },
                    {
                        "op": "add",
                        "path": "/spec/someSpec2",
                        "value": "newValue"
                    }
                ]
            },
            "io.k8s.apimachinery.pkg.apis.meta.v1.StatusDetails": 
            {
                "description": "StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined.",
                "type": "object",
                "properties": 
                {
                    "causes": 
                    {
                        "description": "The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes.",
                        "type": "array",
                        "items": 
                        {
                            "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.StatusCause"
                        }
                    },
                    "group": 
                    {
                        "description": "The group attribute of the resource associated with the status StatusReason.",
                        "type": "string"
                    },
                    "kind": 
                    {
                        "type": "string"
                    },
                    "name": 
                    {
                        "description": "The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described).",
                        "type": "string"
                    },
                    "retryAfterSeconds": 
                    {
                        "format": "int32",
                        "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.",
                        "type": "integer"
                    },
                    "uid": 
                    {
                        "description": "UID of the resource. (when there is a single resource which can be described). More info: http://kubernetes.io/docs/user-guide/identifiers#uids",
                        "type": "string"
                    }
                }
            },
            "io.k8s.apimachinery.pkg.apis.meta.v1.Preconditions": 
            {
                "description": "Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.",
                "type": "object",
                "properties": 
                {
                    "resourceVersion": 
                    {
                        "description": "Specifies the target ResourceVersion",
                        "type": "string"
                    },
                    "uid": 
                    {
                        "description": "Specifies the target UID.",
                        "type": "string"
                    }
                }
            },
            "io.k8s.apimachinery.pkg.apis.meta.v1.StatusCause": 
            {
                "description": "StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.",
                "type": "object",
                "properties": 
                {
                    "field": 
                    {
                        "description": "The field of the resource that has caused this error, as named by its JSON serialization. May include dot and postfix notation for nested attributes. Arrays are zero-indexed.  Fields may appear more than once in an array of causes due to fields having multiple errors. Optional.\n\nExamples:\n  \"name\" - the field \"name\" on the current resource\n  \"items
                        [
                            0
                        ].name\" - the field \"name\" on the first array entry in \"items\"",
                        "type": "string"
                    },
                    "message": 
                    {
                        "description": "A human-readable description of the cause of the error.  This field may be presented as-is to a reader.",
                        "type": "string"
                    },
                    "reason": 
                    {
                        "description": "A machine-readable description of the cause of the error. If this value is empty there is no information available.",
                        "type": "string"
                    }
                }
            },
            "io.k8s.apimachinery.pkg.apis.meta.v1.Status": 
            {
                "description": "Status is a return value for calls that don't return other objects.",
                "type": "object",
                "properties": 
                {
                    "apiVersion": 
                    {
                        "description": "ngpc.rxt.io/v1",
                        "type": "string"
                    },
                    "code": 
                    {
                        "format": "int32",
                        "description": "Suggested HTTP return code for this status, 0 if not set.",
                        "type": "integer"
                    },
                    "details": 
                    {
                        "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.StatusDetails"
                    },
                    "kind": 
                    {
                        "description": "Kind of kubernetes resource",
                        "type": "string"
                    },
                    "message": 
                    {
                        "description": "A human-readable description of the status of this operation.",
                        "type": "string"
                    },
                    "metadata": 
                    {
                        "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta",
                        "description": "Additional information"
                    },
                    "reason": 
                    {
                        "description": "A machine-readable description of why this operation is in the \"Failure\" status. If this value is empty there is no information available. A Reason clarifies an HTTP status code but does not override it.",
                        "type": "string"
                    },
                    "status": 
                    {
                        "description": "Status of the operation. One of: \"Success\" or \"Failure\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status",
                        "type": "string"
                    }
                },
                "x-kubernetes-group-version-kind": 
                [
                    {
                        "group": "",
                        "kind": "Status",
                        "version": "v1"
                    },
                    {
                        "group": "resource.k8s.io",
                        "kind": "Status",
                        "version": "v1alpha1"
                    }
                ]
            },
            "io.rxt.ngpc.v1.Region": 
            {
                "description": "Region is the Schema for the regions API",
                "type": "object",
                "properties": 
                {
                    "apiVersion": 
                    {
                        "description": "ngpc.rxt.io/v1",
                        "type": "string"
                    },
                    "kind": 
                    {
                        "description": "Region",
                        "type": "string"
                    },
                    "metadata": 
                    {
                        "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta",
                        "description": "Additional information"
                    },
                    "spec": 
                    {
                        "description": "RegionSpec defines the desired state of Region",
                        "required": 
                        [
                            "provider"
                        ],
                        "type": "object",
                        "properties": 
                        {
                            "country": 
                            {
                                "description": "Country describes the country the region is located in. It should adhere\nto the \"ISO 3166-1 alpha-3\" standard.\nSee: https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes",
                                "maxLength": 3,
                                "minLength": 3,
                                "type": "string"
                            },
                            "description": 
                            {
                                "description": "Description is a free-form field to provide further description of the\nregion's location.",
                                "type": "string"
                            },
                            "provider": 
                            {
                                "description": "ProviderSpec describes the actual infrastructure/cloud backing the region\nFor example, ironic, ospc, or whatever other clouds we may support",
                                "required": 
                                [
                                    "providerRegionName",
                                    "providerType"
                                ],
                                "type": "object",
                                "properties": 
                                {
                                    "providerRegionName": 
                                    {
                                        "type": "string"
                                    },
                                    "providerType": 
                                    {
                                        "description": "ProviderSpec describes the actual infrastructure/cloud Provider backing the region\nFor example, ironic, ospc, or whatever other clouds we may support",
                                        "type": "string"
                                    }
                                }
                            }
                        }
                    }
                },
                "x-kubernetes-group-version-kind": 
                [
                    {
                        "group": "ngpc.rxt.io",
                        "kind": "Region",
                        "version": "v1"
                    }
                ]
            },
            "io.rxt.ngpc.v1.RegionList": 
            {
                "description": "RegionList is a list of Region",
                "required": 
                [
                    "items"
                ],
                "type": "object",
                "properties": 
                {
                    "apiVersion": 
                    {
                        "description": "ngpc.rxt.io/v1",
                        "type": "string"
                    },
                    "items": 
                    {
                        "description": "List of regions.",
                        "type": "array",
                        "items": 
                        {
                            "$ref": "#/components/schemas/io.rxt.ngpc.v1.Region"
                        }
                    },
                    "kind": 
                    {
                        "description": "RegionList",
                        "type": "string"
                    },
                    "metadata": 
                    {
                        "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta",
                        "description": "Additional information"
                    }
                },
                "x-kubernetes-group-version-kind": 
                [
                    {
                        "group": "ngpc.rxt.io",
                        "kind": "RegionList",
                        "version": "v1"
                    }
                ]
            },
            "io.rxt.ngpc.v1.ServerClass": 
            {
                "description": "ServerClass is the Schema for the serverclasses API",
                "type": "object",
                "properties": 
                {
                    "apiVersion": 
                    {
                        "description": "ngpc.rxt.io/v1",
                        "type": "string"
                    },
                    "kind": 
                    {
                        "description": "serverclass",
                        "type": "string"
                    },
                    "metadata": 
                    {
                        "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta",
                        "description": "Additional information"
                    },
                    "spec": 
                    {
                        "description": "ServerClassSpec defines the desired state of ServerClass",
                        "required": 
                        [
                            "provider",
                            "region"
                        ],
                        "type": "object",
                        "properties": 
                        {
                            "availability": 
                            {
                                "description": "Availability describes the serverclass availability status\nFor example, deprecated",
                                "type": "string"
                            },
                            "category": 
                            {
                                "description": "Category is a loose grouping of ServerClasses into different flavor types\nFor example, general, compute, memory",
                                "type": "string"
                            },
                            "displayName": 
                            {
                                "description": "DisplayName specifies the human-readable name to use.\nIf not set, the metadata.name should be used.",
                                "type": "string"
                            },
                            "flavorType": 
                            {
                                "description": "FlavorType describes whether it is a VM or bare metal. This determines certain capabilities\nlike nested virtualization",
                                "type": "string"
                            },
                            "onDemandPricing": 
                            {
                                "description": "OnDemandPricing contains a basic ondemand pricing for this type of servers.",
                                "required": 
                                [
                                    "cost"
                                ],
                                "type": "object",
                                "properties": 
                                {
                                    "cost": 
                                    {
                                        "description": "Cost describes the =USD cost of this type of servers. If pricing is\nlocalized, this can be used as the base factor.",
                                        "type": "string"
                                    },
                                    "interval": 
                                    {
                                        "description": "Interval indicates the interval used for the pricing.\nThe format is a golang duration string, for example: 20s, 6m, or 1h6m.",
                                        "type": "string"
                                    }
                                }
                            },
                            "provider": 
                            {
                                "description": "Provider contails provider specific names for the flavor and type of cloud",
                                "required": 
                                [
                                    "providerFlavorID",
                                    "providerType"
                                ],
                                "type": "object",
                                "properties": 
                                {
                                    "providerFlavorID": 
                                    {
                                        "description": "ProviderFlavorID is the actual flavor ID in the cloud\nSince ServerClass.Name will be region-specific",
                                        "type": "string"
                                    },
                                    "providerType": 
                                    {
                                        "description": "ProviderType indicates OSPC vs Ironic, etc...",
                                        "type": "string"
                                    }
                                }
                            },
                            "region": 
                            {
                                "description": "Region specifies the region where the servers belonging to this ServerClass resides in.",
                                "type": "string"
                            },
                            "resources": 
                            {
                                "description": "Resources contains the characteristics of the servers that are part of this\nclass of servers.",
                                "type": "object",
                                "properties": 
                                {
                                    "cpu": 
                                    {
                                        "type": "string"
                                    },
                                    "memory": 
                                    {
                                        "type": "string"
                                    }
                                }
                            }
                        }
                    },
                    "status": 
                    {
                        "description": "ServerClassStatus defines the observed state of ServerClass",
                        "type": "object",
                        "properties": 
                        {
                            "available": 
                            {
                                "description": "Available indicates how many servers of this class are available to be provisioned.",
                                "type": "integer"
                            },
                            "capacity": 
                            {
                                "description": "Capacity describes how many servers are available both online and offline.",
                                "type": "integer"
                            },
                            "lastAuction": 
                            {
                                "type": "integer"
                            },
                            "reserved": 
                            {
                                "description": "Reserved shows how many servers of this class are currently in use by organizations.",
                                "type": "integer"
                            },
                            "spotPricing": 
                            {
                                "description": "SpotPricing contains a basic spot pricing for this type of servers.\nThis is updated from Auction Controller based on Auction results and market variations.",
                                "required": 
                                [
                                    "hammerPricePerHour",
                                    "marketPricePerHour"
                                ],
                                "type": "object",
                                "properties": 
                                {
                                    "hammerPricePerHour": 
                                    {
                                        "description": "HammerPricePerHour describes the current =USD cost per hour being billed for this type of servers if reserved as spot.\nThis is intended to be used as an indicator and will vary based on Market conditions.",
                                        "type": "string"
                                    },
                                    "marketPricePerHour": 
                                    {
                                        "description": "MarketPricePerHour describes the current =USD cost per hour of this type of servers if reserved as spot.\nThis is intended to be used as an indicator and will vary based on Market conditions.",
                                        "type": "string"
                                    }
                                }
                            }
                        }
                    }
                },
                "x-kubernetes-group-version-kind": 
                [
                    {
                        "group": "ngpc.rxt.io",
                        "kind": "ServerClass",
                        "version": "v1"
                    }
                ]
            },
            "io.rxt.ngpc.v1.SpotNodePoolList": 
            {
                "description": "SpotNodePoolList is a list of SpotNodePool",
                "required": 
                [
                    "items"
                ],
                "type": "object",
                "properties": 
                {
                    "apiVersion": 
                    {
                        "description": "ngpc.rxt.io/v1",
                        "type": "string"
                    },
                    "items": 
                    {
                        "description": "List of spotnodepools. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md",
                        "type": "array",
                        "items": 
                        {
                            "$ref": "#/components/schemas/io.rxt.ngpc.v1.SpotNodePool"
                        }
                    },
                    "kind": 
                    {
                        "description": "SpotNodePoolList",
                        "type": "string"
                    },
                    "metadata": 
                    {
                        "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta",
                        "description": "Additional information"
                    }
                },
                "x-kubernetes-group-version-kind": 
                [
                    {
                        "group": "ngpc.rxt.io",
                        "kind": "SpotNodePoolList",
                        "version": "v1"
                    }
                ]
            },
            "io.rxt.ngpc.v1.CloudSpace": 
            {
                "description": "CloudSpace is the Schema for the cloudspaces API",
                "type": "object",
                "properties": 
                {
                    "apiVersion": 
                    {
                        "description": "ngpc.rxt.io/v1",
                        "default": "ngpc.rxt.io/v1",
                        "type": "string"
                    },
                    "kind": 
                    {
                        "description": "CloudSpace",
                        "default": "CloudSpace",
                        "type": "string"
                    },
                    "metadata": 
                    {
                        "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta",
                        "description": "Additional information"
                    },
                    "spec": 
                    {
                        "description": "CloudSpaceSpec defines the desired state of CloudSpace",
                        "required": 
                        [
                            "kubernetesVersion",
                            "region"
                        ],
                        "type": "object",
                        "properties": 
                        {
                            "HAControlPlane": 
                            {
                                "description": "Set to Enable control plane HA and setting HACount",
                                "default": false,
                                "type": "boolean"
                            },
                            "bidRequests": 
                            {
                                "description": "Contains a list of SpotNodePool requests",
                                "type": "array",
                                "items": 
                                {
                                    "type": "string"
                                },
                                "readOnly": true
                            },
                            "cloud": 
                            {
                                "description": "Cloud describes to which Cloud the CloudSpace belongs to.\nCloud is required if deploymentType=gen1",
                                "default": "default",
                                "type": "string"
                            },
                            "clusterRef": 
                            {
                                "description": "ClusterRef contains a reference to the Cluster in PMK. Setting this\nfield will disable discovery and override any discovered cluster.\n\n\n- If it is a Qbert Cluster, the Kind will be \"QbertCluster\", the\n  namespace will be the project ID, and the name will be the ID.\n- If it is a CAPI Cluster, the kind will be \"Cluster\".",
                                "type": "object",
                                "properties": 
                                {
                                    "apiVersion": 
                                    {
                                        "description": "ngpc.rxt.io/v1",
                                        "type": "string"
                                    },
                                    "fieldPath": 
                                    {
                                        "description": "If referring to a piece of an object instead of an entire object, this string\nshould contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2].\nFor example, if the object reference is to a container within a pod, this would take on a value like:\n\"spec.containers
                                        {
                                            name
                                        }\" (where \"name\" refers to the name of the container that triggered\nthe event) or if no container name is specified \"spec.containers
                                        [
                                            2
                                        ]\" (container with\nindex 2 in this pod). This syntax is chosen only to have some well-defined way of\nreferencing a part of an object.\nTODO: this design is not final and this field is subject to change in the future.",
                                        "type": "string"
                                    },
                                    "kind": 
                                    {
                                        "description": "Kind of the referent.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
                                        "type": "string"
                                    },
                                    "name": 
                                    {
                                        "description": "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
                                        "type": "string"
                                    },
                                    "namespace": 
                                    {
                                        "description": "Namespace of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/",
                                        "type": "string"
                                    },
                                    "resourceVersion": 
                                    {
                                        "description": "Specific resourceVersion to which this reference is made, if any.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency",
                                        "type": "string"
                                    },
                                    "uid": 
                                    {
                                        "description": "UID of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids",
                                        "type": "string"
                                    }
                                },
                                "readOnly": true,
                                "x-kubernetes-map-type": "atomic"
                            },
                            "cni": 
                            {
                                "description": "CNI specifies the Container Network Interface (CNI) to be used.\nSupported values: calico, cilium, byocni",
                                "enum": 
                                [
                                    "calico",
                                    "cilium",
                                    "byocni"
                                ],
                                "type": "string"
                            },
                            "deploymentType": 
                            {
                                "description": "DeploymentType specifies which deploymentType the CloudSpace should use.\noptions: gen1 - PMK/legacy type, gen2 - CAPI based",
                                "enum": 
                                [
                                    "gen1",
                                    "gen2"
                                ],
                                "type": "string",
                                "readOnly": true,
                                "x-kubernetes-validations": 
                                [
                                    {
                                        "message": "update to the deploymentType not allowed",
                                        "rule": "self == oldSelf"
                                    }
                                ]
                            },
                            "kubernetesVersion": 
                            {
                                "description": "KubernetesVersion specifies the version of Kubernetes to deploy.",
                                "type": "string"
                            },
                            "networks": 
                            {
                                "description": "Networks contain the configuration of the VM networks in this CloudSpace.",
                                "type": "array",
                                "items": 
                                {
                                    "required": 
                                    [
                                        "name"
                                    ],
                                    "type": "object",
                                    "properties": 
                                    {
                                        "name": 
                                        {
                                            "type": "string"
                                        },
                                        "subnet": 
                                        {
                                            "type": "string"
                                        }
                                    }
                                },
                                "readOnly": true
                            },
                            "onDemandRequests": 
                            {
                                "description": "Contains a list of OnDemand requests",
                                "type": "array",
                                "items": 
                                {
                                    "type": "string"
                                },
                                "readOnly": true
                            },
                            "region": 
                            {
                                "description": "Region specifies the region which the CloudSpace should be in.",
                                "type": "string"
                            },
                            "servers": 
                            {
                                "description": "Servers contains the requested set of servers for this CloudSpace.",
                                "type": "array",
                                "items": 
                                {
                                    "required": 
                                    [
                                        "class",
                                        "count"
                                    ],
                                    "type": "object",
                                    "properties": 
                                    {
                                        "class": 
                                        {
                                            "type": "string"
                                        },
                                        "count": 
                                        {
                                            "type": "integer"
                                        }
                                    }
                                },
                                "readOnly": true
                            },
                            "type": 
                            {
                                "description": "Type of CloudSpace",
                                "type": "string",
                                "readOnly": true
                            },
                            "webhook": 
                            {
                                "description": "Optional webhook that will be invoked when Servers of this CloudSpace are released",
                                "type": "string"
                            }
                        }
                    },
                    "status": 
                    {
                        "description": "CloudSpaceStatus defines the observed state of CloudSpace",
                        "type": "object",
                        "properties": 
                        {
                            "APIServerEndpoint": 
                            {
                                "type": "string"
                            },
                            "assignedServers": 
                            {
                                "description": "ServerStatus contains status of servers configuring",
                                "type": "object",
                                "additionalProperties": 
                                {
                                    "type": "object",
                                    "properties": 
                                    {
                                        "IP": 
                                        {
                                            "type": "string"
                                        },
                                        "clusterRole": 
                                        {
                                            "type": "string"
                                        },
                                        "error": 
                                        {
                                            "type": "string"
                                        },
                                        "serverClassName": 
                                        {
                                            "type": "string"
                                        },
                                        "serverName": 
                                        {
                                            "type": "string"
                                        },
                                        "serverType": 
                                        {
                                            "type": "string"
                                        },
                                        "state": 
                                        {
                                            "type": "string"
                                        }
                                    }
                                }
                            },
                            "bids": 
                            {
                                "description": "Map of each bid and it's WonCount status",
                                "type": "object",
                                "additionalProperties": 
                                {
                                    "required": 
                                    [
                                        "bidName",
                                        "type",
                                        "wonCount"
                                    ],
                                    "type": "object",
                                    "properties": 
                                    {
                                        "bidName": 
                                        {
                                            "type": "string"
                                        },
                                        "type": 
                                        {
                                            "type": "string"
                                        },
                                        "wonCount": 
                                        {
                                            "type": "integer"
                                        }
                                    }
                                }
                            },
                            "cloudspaceClassName": 
                            {
                                "description": "CloudspaceClass that this cloudspace uses, valid only if deploymentType=gen2.\nWill be assigned by Cloudspace controller during cloudspace creation",
                                "type": "string"
                            },
                            "clusterRef": 
                            {
                                "description": "ClusterRef contains a reference to the Cluster in PMK.\n\n\n- If it is a Qbert Cluster, the Kind will be \"QbertCluster\", the\n  namespace will be the project ID, the name will be the cluster name,\n  and the UID will be the cluster ID.\n- If it is a CAPI Cluster, the kind will be \"Cluster\".",
                                "type": "object",
                                "properties": 
                                {
                                    "cluster": 
                                    {
                                        "description": "ObjectReference contains enough information to let you inspect or modify the referred object.\n---\nNew uses of this type are discouraged because of difficulty describing its usage when embedded in APIs.\n 1. Ignored fields.  It includes many fields which are not generally honored.  For instance, ResourceVersion and FieldPath are both very rarely valid in actual usage.\n 2. Invalid usage help.  It is impossible to add specific help for individual usage.  In most embedded usages, there are particular\n    restrictions like, \"must refer only to types A and B\" or \"UID not honored\" or \"name must be restricted\".\n    Those cannot be well described when embedded.\n 3. Inconsistent validation.  Because the usages are different, the validation rules are different by usage, which makes it hard for users to predict what will happen.\n 4. The fields are both imprecise and overly precise.  Kind is not a precise mapping to a URL. This can produce ambiguity\n    during interpretation and require a REST mapping.  In most cases, the dependency is on the group,resource tuple\n    and the version of the actual struct is irrelevant.\n 5. We cannot easily change it.  Because this type is embedded in many locations, updates to this type\n    will affect numerous schemas.  Don't make new APIs embed an underspecified API type they do not control.\n\n\nInstead of using this type, create a locally provided and used type that is well-focused on your reference.\nFor example, ServiceReferences for admission registration: https://github.com/kubernetes/api/blob/release-1.17/admissionregistration/v1/types.go#L533 .",
                                        "type": "object",
                                        "properties": 
                                        {
                                            "apiVersion": 
                                            {
                                                "description": "ngpc.rxt.io/v1",
                                                "type": "string"
                                            },
                                            "fieldPath": 
                                            {
                                                "description": "If referring to a piece of an object instead of an entire object, this string\nshould contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2].\nFor example, if the object reference is to a container within a pod, this would take on a value like:\n\"spec.containers
                                                {
                                                    name
                                                }\" (where \"name\" refers to the name of the container that triggered\nthe event) or if no container name is specified \"spec.containers
                                                [
                                                    2
                                                ]\" (container with\nindex 2 in this pod). This syntax is chosen only to have some well-defined way of\nreferencing a part of an object.\nTODO: this design is not final and this field is subject to change in the future.",
                                                "type": "string"
                                            },
                                            "kind": 
                                            {
                                                "description": "Kind of the referent.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
                                                "type": "string"
                                            },
                                            "name": 
                                            {
                                                "description": "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
                                                "type": "string"
                                            },
                                            "namespace": 
                                            {
                                                "description": "Namespace of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/",
                                                "type": "string"
                                            },
                                            "resourceVersion": 
                                            {
                                                "description": "Specific resourceVersion to which this reference is made, if any.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency",
                                                "type": "string"
                                            },
                                            "uid": 
                                            {
                                                "description": "UID of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids",
                                                "type": "string"
                                            }
                                        },
                                        "x-kubernetes-map-type": "atomic"
                                    },
                                    "reason": 
                                    {
                                        "type": "string"
                                    },
                                    "status": 
                                    {
                                        "type": "string"
                                    }
                                }
                            },
                            "conditions": 
                            {
                                "description": "Conditions defines current service state of the CloudSpace.",
                                "type": "array",
                                "items": 
                                {
                                    "description": "Condition defines an observation of a Cluster API resource operational state.",
                                    "required": 
                                    [
                                        "lastTransitionTime",
                                        "status",
                                        "type"
                                    ],
                                    "type": "object",
                                    "properties": 
                                    {
                                        "lastTransitionTime": 
                                        {
                                            "format": "date-time",
                                            "description": "Last time the condition transitioned from one status to another.\nThis should be when the underlying condition changed. If that is not known, then using the time when\nthe API field changed is acceptable.",
                                            "type": "string"
                                        },
                                        "message": 
                                        {
                                            "description": "A human readable message indicating details about the transition.\nThis field may be empty.",
                                            "type": "string"
                                        },
                                        "reason": 
                                        {
                                            "description": "The reason for the condition's last transition in CamelCase.\nThe specific API may choose whether or not this field is considered a guaranteed API.\nThis field may not be empty.",
                                            "type": "string"
                                        },
                                        "severity": 
                                        {
                                            "description": "Severity provides an explicit classification of Reason code, so the users or machines can immediately\nunderstand the current situation and act accordingly.\nThe Severity field MUST be set only when Status=False.",
                                            "type": "string"
                                        },
                                        "status": 
                                        {
                                            "description": "Status of the condition, one of True, False, Unknown.",
                                            "type": "string"
                                        },
                                        "type": 
                                        {
                                            "description": "Type of condition in CamelCase or in foo.example.com/CamelCase.\nMany .condition.type values are consistent across resources like Available, but because arbitrary conditions\ncan be useful (see .node.status.conditions), the ability to deconflict is important.",
                                            "type": "string"
                                        }
                                    }
                                }
                            },
                            "currentKubernetesVersion": 
                            {
                                "description": "CurrentKubernetesVersion contains the current version of Kubernetes running in the CloudSpace",
                                "type": "string"
                            },
                            "firstReadyTimestamp": 
                            {
                                "format": "date-time",
                                "description": "Contains the time at which the cloudspace first moved to Ready phase",
                                "type": "string"
                            },
                            "health": 
                            {
                                "description": "Health indicates if CloudSpace has a working APIServer and available nodes",
                                "type": "string"
                            },
                            "pendingAllocations": 
                            {
                                "description": "Outstanding pooler Allocation IDs for Cloud Instances",
                                "type": "object",
                                "additionalProperties": 
                                {
                                    "required": 
                                    [
                                        "allocatedCount",
                                        "count",
                                        "serverClassName"
                                    ],
                                    "type": "object",
                                    "properties": 
                                    {
                                        "allocatedCount": 
                                        {
                                            "type": "integer"
                                        },
                                        "bidName": 
                                        {
                                            "type": "string"
                                        },
                                        "bidType": 
                                        {
                                            "type": "string"
                                        },
                                        "count": 
                                        {
                                            "type": "integer"
                                        },
                                        "serverClassName": 
                                        {
                                            "type": "string"
                                        }
                                    }
                                }
                            },
                            "phase": 
                            {
                                "description": "Phase indicates the current state of the Cloud.",
                                "type": "string"
                            },
                            "reason": 
                            {
                                "description": "Reason contains the reason why the CloudSpace is in a certain phase.",
                                "type": "string"
                            },
                            "sshSecretName": 
                            {
                                "description": "SSHSecretName contains the SSH Key Secret to access nodes in the CloudSpace",
                                "type": "string"
                            },
                            "upgradePhase": 
                            {
                                "description": "UpgradePhase indicates the current state of the CloudSpace upgrade",
                                "type": "string"
                            }
                        },
                        "readOnly": true
                    }
                },
                "x-kubernetes-group-version-kind": 
                [
                    {
                        "group": "ngpc.rxt.io",
                        "kind": "CloudSpace",
                        "version": "v1"
                    }
                ]
            },
            "io.rxt.ngpc.v1.CloudSpaceList": 
            {
                "description": "CloudSpaceList is a list of CloudSpace",
                "required": 
                [
                    "items"
                ],
                "type": "object",
                "properties": 
                {
                    "apiVersion": 
                    {
                        "description": "ngpc.rxt.io/v1",
                        "type": "string"
                    },
                    "items": 
                    {
                        "description": "List of cloudspaces.",
                        "type": "array",
                        "items": 
                        {
                            "$ref": "#/components/schemas/io.rxt.ngpc.v1.CloudSpace"
                        }
                    },
                    "kind": 
                    {
                        "description": "CloudSpaceList",
                        "type": "string"
                    },
                    "metadata": 
                    {
                        "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta",
                        "description": "Additional information"
                    }
                },
                "x-kubernetes-group-version-kind": 
                [
                    {
                        "group": "ngpc.rxt.io",
                        "kind": "CloudSpaceList",
                        "version": "v1"
                    }
                ]
            },
            "io.rxt.ngpc.v1.OnDemandNodePoolList": 
            {
                "description": "OnDemandNodePoolList is a list of OnDemandNodePool",
                "required": 
                [
                    "items"
                ],
                "type": "object",
                "properties": 
                {
                    "apiVersion": 
                    {
                        "description": "ngpc.rxt.io/v1",
                        "type": "string"
                    },
                    "items": 
                    {
                        "description": "List of ondemandnodepools. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md",
                        "type": "array",
                        "items": 
                        {
                            "$ref": "#/components/schemas/io.rxt.ngpc.v1.OnDemandNodePool"
                        }
                    },
                    "kind": 
                    {
                        "description": "OnDemandNodePoolList",
                        "type": "string"
                    },
                    "metadata": 
                    {
                        "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta",
                        "description": "Additional information"
                    }
                },
                "x-kubernetes-group-version-kind": 
                [
                    {
                        "group": "ngpc.rxt.io",
                        "kind": "OnDemandNodePoolList",
                        "version": "v1"
                    }
                ]
            },
            "io.rxt.ngpc.v1.ServerClassList": 
            {
                "description": "ServerClassList is a list of ServerClass",
                "required": 
                [
                    "items"
                ],
                "type": "object",
                "properties": 
                {
                    "apiVersion": 
                    {
                        "description": "ngpc.rxt.io/v1",
                        "type": "string"
                    },
                    "items": 
                    {
                        "description": "List of serverclasses.",
                        "type": "array",
                        "items": 
                        {
                            "$ref": "#/components/schemas/io.rxt.ngpc.v1.ServerClass"
                        }
                    },
                    "kind": 
                    {
                        "description": "ServerClassList",
                        "type": "string"
                    },
                    "metadata": 
                    {
                        "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta",
                        "description": "Additional information"
                    }
                },
                "x-kubernetes-group-version-kind": 
                [
                    {
                        "group": "ngpc.rxt.io",
                        "kind": "ServerClassList",
                        "version": "v1"
                    }
                ]
            },
            "io.rxt.ngpc.v1.SpotNodePool": 
            {
                "description": "SpotNodePool is the Schema for the spotnodepools API",
                "type": "object",
                "properties": 
                {
                    "apiVersion": 
                    {
                        "description": "ngpc.rxt.io/v1",
                        "type": "string"
                    },
                    "kind": 
                    {
                        "description": "SpotNodePool",
                        "type": "string"
                    },
                    "metadata": 
                    {
                        "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta",
                        "description": "Additional information"
                    },
                    "spec": 
                    {
                        "description": "SpotNodePoolSpec defines the desired state of SpotNodePool",
                        "required": 
                        [
                            "bidPrice",
                            "cloudSpace",
                            "desired",
                            "serverClass"
                        ],
                        "type": "object",
                        "properties": 
                        {
                            "autoscaling": 
                            {
                                "description": "Autoscaling automatically adjusts the number of servers based on demand.",
                                "required": 
                                [
                                    "enabled"
                                ],
                                "type": "object",
                                "properties": 
                                {
                                    "enabled": 
                                    {
                                        "description": "Enables autoscaling when set to true.",
                                        "default": false,
                                        "type": "boolean"
                                    },
                                    "maxNodes": 
                                    {
                                        "description": "The maximum number of servers the SpotNodePool can scale up to when autoscaling is enabled.",
                                        "type": "integer"
                                    },
                                    "minNodes": 
                                    {
                                        "description": "The minimum number of servers that should remain available in the SpotNodePool when autoscaling is  enabled.",
                                        "type": "integer"
                                    }
                                }
                            },
                            "bidPrice": 
                            {
                                "description": "The maximum price you are willing to bid for each server. The bid price must be at least equal to the market  price of the selected serverClass for successful server allocation. Servers will be billed at the market price until the market price reaches the bid price, at which point the servers will be preempted. ",
                                "type": "string",
                                "x-kubernetes-validations": 
                                [
                                    {
                                        "message": "bidPrice can only be a positive number up to three decimal places",
                                        "rule": "self.matches('^\\\\d+(\\\\.\\\\d{1,3})?$')"
                                    }
                                ]
                            },
                            "cloudSpace": 
                            {
                                "description": "The name of the CloudSpace to which the SpotNodePool resource belongs. A CloudSpace with the given name must  exist within the specified namespace.",
                                "type": "string"
                            },
                            "customAnnotations": 
                            {
                                "description": "Custom annotations to be applied to the nodes of SpotNodePool",
                                "type": "object",
                                "readOnly": true
                            },
                            "customLabels": 
                            {
                                "description": "Custom labels to be applied to the nodes of SpotNodePool",
                                "type": "object",
                                "readOnly": true
                            },
                            "customTaints": 
                            {
                                "description": "Custom taints to be applied to the nodes of SpotNodePool",
                                "type": "array",
                                "items": 
                                {
                                    "description": "The node this Taint is attached to has the \"effect\" on\nany pod that does not tolerate the Taint.",
                                    "required": 
                                    [
                                        "effect",
                                        "key"
                                    ],
                                    "type": "object",
                                    "properties": 
                                    {
                                        "effect": 
                                        {
                                            "description": "Required. The effect of the taint on pods\nthat do not tolerate the taint.\nValid effects are NoSchedule, PreferNoSchedule and NoExecute.",
                                            "type": "string"
                                        },
                                        "key": 
                                        {
                                            "description": "Required. The taint key to be applied to a node.",
                                            "type": "string"
                                        },
                                        "timeAdded": 
                                        {
                                            "format": "date-time",
                                            "description": "TimeAdded represents the time at which the taint was added.\nIt is only written for NoExecute taints.",
                                            "type": "string"
                                        },
                                        "value": 
                                        {
                                            "description": "The taint value corresponding to the taint key.",
                                            "type": "string"
                                        }
                                    }
                                },
                                "readOnly": true
                            },
                            "desired": 
                            {
                                "description": "Number of Spot Servers required within the SpotNodePool.",
                                "type": "integer"
                            },
                            "serverClass": 
                            {
                                "description": "ServerClass name for Spot Servers. Must be a valid name from available API: <a href=\"/rackspace-spot-public-api#getserverclass\" style=\"color: red;\">**ServerClasses**</a>. ",
                                "type": "string"
                            }
                        }
                    },
                    "status": 
                    {
                        "description": "SpotNodePoolStatus defines the observed state of SpotNodePool",
                        "required": 
                        [
                            "bidStatus"
                        ],
                        "type": "object",
                        "properties": 
                        {
                            "bidStatus": 
                            {
                                "description": "Bid status for bid at given bidPrice.",
                                "type": "string"
                            },
                            "customMetadataStatus": 
                            {
                                "description": "CustomMetadataStatus tracks the keys of custom metadata currently applied to nodes",
                                "type": "object",
                                "properties": 
                                {
                                    "annotations": 
                                    {
                                        "description": "Annotations contains the keys of custom annotations that were applied",
                                        "type": "array",
                                        "items": 
                                        {
                                            "type": "string"
                                        }
                                    },
                                    "labels": 
                                    {
                                        "description": "Labels contains the keys of custom labels that were applied",
                                        "type": "array",
                                        "items": 
                                        {
                                            "type": "string"
                                        }
                                    },
                                    "taints": 
                                    {
                                        "description": "Taints contains the keys of custom taints that were applied",
                                        "type": "array",
                                        "items": 
                                        {
                                            "type": "string"
                                        }
                                    }
                                }
                            },
                            "wonCount": 
                            {
                                "description": "No of Spot Servers won",
                                "type": "integer"
                            }
                        },
                        "readOnly": true
                    }
                },
                "x-kubernetes-group-version-kind": 
                [
                    {
                        "group": "ngpc.rxt.io",
                        "kind": "SpotNodePool",
                        "version": "v1"
                    }
                ]
            },
            "io.k8s.apimachinery.pkg.apis.meta.v1.OwnerReference": 
            {
                "description": "OwnerReference contains enough information to let you identify an owning object. An owning object must be in the same namespace as the dependent, or be cluster-scoped, so there is no namespace field.",
                "required": 
                [
                    "apiVersion",
                    "kind",
                    "name",
                    "uid"
                ],
                "type": "object",
                "properties": 
                {
                    "apiVersion": 
                    {
                        "description": "ngpc.rxt.io/v1",
                        "type": "string"
                    },
                    "blockOwnerDeletion": 
                    {
                        "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. See https://kubernetes.io/docs/concepts/architecture/garbage-collection/#foreground-deletion for how the garbage collector interacts with this field and enforces the foreground deletion. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.",
                        "type": "boolean"
                    },
                    "controller": 
                    {
                        "description": "If true, this reference points to the managing controller.",
                        "type": "boolean"
                    },
                    "kind": 
                    {
                        "description": "kind of resource.",
                        "type": "string"
                    },
                    "name": 
                    {
                        "description": "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names",
                        "type": "string"
                    },
                    "uid": 
                    {
                        "description": "UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids",
                        "type": "string"
                    }
                },
                "x-kubernetes-map-type": "atomic"
            },
            "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta": 
            {
                "type": "object",
                "properties": 
                {
                    "annotations": 
                    {
                        "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: <a href=\"http://kubernetes.io/docs/user-guide/annotations\" style=\"color: red;\">Annotations</a>.",
                        "type": "object",
                        "readOnly": true
                    },
                    "creationTimestamp": 
                    {
                        "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.Time",
                        "readOnly": true
                    },
                    "deletionGracePeriodSeconds": 
                    {
                        "format": "int64",
                        "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.",
                        "type": "integer",
                        "readOnly": true
                    },
                    "deletionTimestamp": 
                    {
                        "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.Time",
                        "readOnly": true
                    },
                    "finalizers": 
                    {
                        "description": "Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order.  Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.",
                        "type": "array",
                        "items": 
                        {
                            "type": "string"
                        },
                        "readOnly": true,
                        "x-kubernetes-patch-strategy": "merge"
                    },
                    "generateName": 
                    {
                        "description": "GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will return a 409.\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency",
                        "type": "string",
                        "readOnly": true
                    },
                    "generation": 
                    {
                        "format": "int64",
                        "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.",
                        "type": "integer",
                        "readOnly": true
                    },
                    "labels": 
                    {
                        "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels",
                        "type": "object",
                        "readOnly": true
                    },
                    "managedFields": 
                    {
                        "description": "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object.",
                        "type": "array",
                        "items": 
                        {
                            "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry"
                        },
                        "readOnly": true
                    },
                    "name": 
                    {
                        "description": "Name of the resource",
                        "type": "string"
                    },
                    "namespace": 
                    {
                        "description": "Organization namespace",
                        "type": "string"
                    },
                    "ownerReferences": 
                    {
                        "description": "List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.",
                        "type": "array",
                        "items": 
                        {
                            "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.OwnerReference"
                        },
                        "readOnly": true,
                        "x-kubernetes-patch-strategy": "merge",
                        "x-kubernetes-patch-merge-key": "uid"
                    },
                    "resourceVersion": 
                    {
                        "description": "An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency",
                        "type": "string",
                        "readOnly": true
                    },
                    "selfLink": 
                    {
                        "description": "Deprecated: selfLink is a legacy read-only field that is no longer populated by the system.",
                        "type": "string",
                        "readOnly": true
                    },
                    "uid": 
                    {
                        "description": "UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids",
                        "type": "string",
                        "readOnly": true
                    }
                }
            },
            "io.rxt.ngpc.v1.OnDemandNodePool": 
            {
                "description": "OnDemandNodePool is the Schema for the ondemandnodepools API",
                "type": "object",
                "properties": 
                {
                    "apiVersion": 
                    {
                        "description": "ngpc.rxt.io/v1",
                        "type": "string"
                    },
                    "kind": 
                    {
                        "description": "OnDemandNodePool",
                        "type": "string"
                    },
                    "metadata": 
                    {
                        "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta",
                        "description": "Additional information"
                    },
                    "spec": 
                    {
                        "description": "OnDemandNodePoolSpec defines the desired state of OnDemandNodePool",
                        "required": 
                        [
                            "cloudSpace",
                            "desired",
                            "serverClass"
                        ],
                        "type": "object",
                        "properties": 
                        {
                            "cloudSpace": 
                            {
                                "description": "The name of the CloudSpace to which the SpotNodePool resource belongs. A CloudSpace with the given name must  exist within the specified namespace.",
                                "type": "string"
                            },
                            "customAnnotations": 
                            {
                                "description": "Custom annotations to be applied to the nodes of OnDemandNodePool",
                                "type": "object",
                                "readOnly": true
                            },
                            "customLabels": 
                            {
                                "description": "Custom labels to be applied to the nodes of OnDemandNodePool",
                                "type": "object",
                                "readOnly": true
                            },
                            "customTaints": 
                            {
                                "description": "Custom taints to be applied to the nodes of OnDemandNodePool",
                                "type": "array",
                                "items": 
                                {
                                    "description": "The node this Taint is attached to has the \"effect\" on\nany pod that does not tolerate the Taint.",
                                    "required": 
                                    [
                                        "effect",
                                        "key"
                                    ],
                                    "type": "object",
                                    "properties": 
                                    {
                                        "effect": 
                                        {
                                            "description": "Required. The effect of the taint on pods\nthat do not tolerate the taint.\nValid effects are NoSchedule, PreferNoSchedule and NoExecute.",
                                            "type": "string"
                                        },
                                        "key": 
                                        {
                                            "description": "Required. The taint key to be applied to a node.",
                                            "type": "string"
                                        },
                                        "timeAdded": 
                                        {
                                            "format": "date-time",
                                            "description": "TimeAdded represents the time at which the taint was added.\nIt is only written for NoExecute taints.",
                                            "type": "string"
                                        },
                                        "value": 
                                        {
                                            "description": "The taint value corresponding to the taint key.",
                                            "type": "string"
                                        }
                                    }
                                },
                                "readOnly": true
                            },
                            "desired": 
                            {
                                "description": "Number of Spot Servers required within the OnDemandNodePool.",
                                "type": "integer"
                            },
                            "serverClass": 
                            {
                                "description": "ServerClass name for Spot Servers. Must be a valid name from available API: <a href=\"/rackspace-spot-public-api#getserverclass\" style=\"color: red;\">**ServerClasses**</a>. ",
                                "type": "string"
                            }
                        }
                    },
                    "status": 
                    {
                        "description": "OnDemandNodePoolStatus defines the observed state of OnDemandNodePool",
                        "type": "object",
                        "properties": 
                        {
                            "customMetadataStatus": 
                            {
                                "description": "CustomMetadataStatus tracks the keys of custom metadata currently applied to nodes",
                                "type": "object",
                                "properties": 
                                {
                                    "annotations": 
                                    {
                                        "description": "Annotations contains the keys of custom annotations that were applied",
                                        "type": "array",
                                        "items": 
                                        {
                                            "type": "string"
                                        }
                                    },
                                    "labels": 
                                    {
                                        "description": "Labels contains the keys of custom labels that were applied",
                                        "type": "array",
                                        "items": 
                                        {
                                            "type": "string"
                                        }
                                    },
                                    "taints": 
                                    {
                                        "description": "Taints contains the keys of custom taints that were applied",
                                        "type": "array",
                                        "items": 
                                        {
                                            "type": "string"
                                        }
                                    }
                                }
                            },
                            "reservedCount": 
                            {
                                "description": "Number of reserved servers",
                                "type": "integer"
                            },
                            "reservedStatus": 
                            {
                                "description": "Status of reserved servers",
                                "type": "string"
                            }
                        },
                        "readOnly": true
                    }
                },
                "x-kubernetes-group-version-kind": 
                [
                    {
                        "group": "ngpc.rxt.io",
                        "kind": "OnDemandNodePool",
                        "version": "v1"
                    }
                ]
            }
        },
        "securitySchemes": 
        {
            "BearerToken": 
            {
                "type": "apiKey",
                "description": "\n- You need to generate a Oauth Access Token to make all authenticated API calls.\n- You can generate Oauth Access Token using API below <a href=\"/rackspace-spot-public-api#getoauthtoken\" style=\"color: red;\">**Get OAuth token**</a> \n- Also, append `Bearer` keyword before the Oauth Access Token in authorization header.\n- Example of authorization header:\n  ```\n  Authorization: Bearer <Oauth Access Token>\n  ```",
                "name": "Authorization",
                "in": "header"
            }
        }
    },
    "security": 
    [
        {
            "BearerToken": 
            [
            ]
        }
    ],
    "tags": 
    [
        {
            "name": "Oauth Token",
            "description": "Oauth Token APIs"
        },
        {
            "name": "Kubeconfig generation",
            "description": "Kubeconfig generation APIs"
        },
        {
            "name": "Region",
            "description": "Region APIs"
        },
        {
            "name": "Region by name",
            "description": "Region by name APIs"
        },
        {
            "name": "Serverclass",
            "description": "Serverclass APIs"
        },
        {
            "name": "Serverclass by name",
            "description": "Serverclass by name APIs"
        },
        {
            "name": "Organization API",
            "description": "Organizations APIs"
        },
        {
            "name": "Cloudspace",
            "description": "Cloudspace APIs"
        },
        {
            "name": "Cloudspace by name",
            "description": "Cloudspace by name APIs"
        },
        {
            "name": "SpotNodePool",
            "description": "SpotNodePool APIs"
        },
        {
            "name": "SpotNodePool by name",
            "description": "SpotNodePool by name APIs"
        },
        {
            "name": "OnDemandNodePool",
            "description": "OnDemandNodePool APIs"
        },
        {
            "name": "OnDemandNodePool by name",
            "description": "OnDemandNodePool by name APIs"
        },
        {
            "name": "Price History",
            "description": "Price history for a server class APIs"
        },
        {
            "name": "Percentile information",
            "description": "Percentile Information APIs"
        },
        {
            "name": "Market Price Capacity",
            "description": "Market Price Capacity (Comparable Prices) APIs"
        }
    ],
    "x-original-swagger-version": "2.0"
}

---

[All pages in this documentation](https://spot.rackspace.com/docs/llms.txt)
