Spectro Cloud spectroclusters API

The spectroclusters API from Spectro Cloud — 158 operation(s) for spectroclusters.

OpenAPI Specification

spectro-cloud-spectroclusters-api-openapi.yml Raw ↑
swagger: '2.0'
info:
  title: Local Management APIs activations spectroclusters API
  version: v1
servers:
- url: https://edge-host-ip:5080
schemes:
- http
- https
consumes:
- application/json
produces:
- application/json
tags:
- name: spectroclusters
  x-displayName: Spectroclusters
paths:
  /v1/spectroclusters/aks:
    post:
      operationId: v1SpectroClustersAksCreate
      parameters:
      - in: body
        name: body
        schema:
          $ref: '#/definitions/v1SpectroAzureClusterEntity'
      - description: A project UID is required for project-scoped resources and should be omitted when targeting tenant-scoped resources
        in: header
        name: ProjectUid
        type: string
      responses:
        '201':
          description: Created successfully
          headers:
            AuditUid:
              description: Audit uid for the request
              type: string
          schema:
            $ref: '#/definitions/v1Uid'
      security:
      - ApiKey: []
      - Authorization: []
      summary: Creates an AKS cluster
      tags:
      - spectroclusters
  /v1/spectroclusters/aks/rate:
    post:
      operationId: v1SpectroClustersAksRate
      parameters:
      - default: hourly
        enum:
        - hourly
        - monthly
        - yearly
        in: query
        name: periodType
        type: string
      - in: body
        name: body
        schema:
          $ref: '#/definitions/v1SpectroAzureClusterRateEntity'
      - description: A project UID is required for project-scoped resources and should be omitted when targeting tenant-scoped resources
        in: header
        name: ProjectUid
        type: string
      responses:
        '200':
          description: Aks Cluster estimated rate response
          schema:
            $ref: '#/definitions/v1SpectroClusterRate'
      security:
      - ApiKey: []
      - Authorization: []
      summary: Get AKS cluster estimated rate information
      tags:
      - spectroclusters
  /v1/spectroclusters/aks/validate:
    post:
      operationId: v1SpectroClustersAksValidate
      parameters:
      - in: body
        name: body
        schema:
          $ref: '#/definitions/v1SpectroAzureClusterEntity'
      - description: A project UID is required for project-scoped resources and should be omitted when targeting tenant-scoped resources
        in: header
        name: ProjectUid
        type: string
      responses:
        '200':
          description: Aks Cluster validation response
          schema:
            $ref: '#/definitions/v1SpectroClusterValidatorResponse'
      security:
      - ApiKey: []
      - Authorization: []
      summary: Validates AKS cluster create operation
      tags:
      - spectroclusters
  /v1/spectroclusters/apache-cloudstack:
    post:
      operationId: v1SpectroClustersCloudStackCreate
      parameters:
      - in: body
        name: body
        schema:
          $ref: '#/definitions/v1SpectroCloudStackClusterEntity'
      - description: A project UID is required for project-scoped resources and should be omitted when targeting tenant-scoped resources
        in: header
        name: ProjectUid
        type: string
      responses:
        '201':
          description: Created successfully
          headers:
            AuditUid:
              description: Audit uid for the request
              type: string
          schema:
            $ref: '#/definitions/v1Uid'
      security:
      - ApiKey: []
      - Authorization: []
      summary: Creates a CloudStack cluster
      tags:
      - spectroclusters
  /v1/spectroclusters/apache-cloudstack/import:
    post:
      operationId: v1SpectroClustersCloudStackImport
      parameters:
      - in: body
        name: body
        schema:
          $ref: '#/definitions/v1SpectroCloudStackClusterImportEntity'
      - description: A project UID is required for project-scoped resources and should be omitted when targeting tenant-scoped resources
        in: header
        name: ProjectUid
        type: string
      responses:
        '201':
          description: Created successfully
          headers:
            AuditUid:
              description: Audit uid for the request
              type: string
          schema:
            $ref: '#/definitions/v1Uid'
      security:
      - ApiKey: []
      - Authorization: []
      summary: Imports a CloudStack cluster
      tags:
      - spectroclusters
  /v1/spectroclusters/apache-cloudstack/rate:
    post:
      operationId: v1SpectroClustersCloudStackRate
      parameters:
      - default: hourly
        enum:
        - hourly
        - monthly
        - yearly
        in: query
        name: periodType
        type: string
      - in: body
        name: body
        schema:
          $ref: '#/definitions/v1SpectroCloudStackClusterRateEntity'
      - description: A project UID is required for project-scoped resources and should be omitted when targeting tenant-scoped resources
        in: header
        name: ProjectUid
        type: string
      responses:
        '200':
          description: CloudStack Cluster estimated rate response
          schema:
            $ref: '#/definitions/v1SpectroClusterRate'
      security:
      - ApiKey: []
      - Authorization: []
      summary: Get CloudStack cluster estimated rate information
      tags:
      - spectroclusters
  /v1/spectroclusters/apache-cloudstack/validate:
    post:
      operationId: v1SpectroClustersCloudStackValidate
      parameters:
      - in: body
        name: body
        schema:
          $ref: '#/definitions/v1SpectroCloudStackClusterEntity'
      - description: A project UID is required for project-scoped resources and should be omitted when targeting tenant-scoped resources
        in: header
        name: ProjectUid
        type: string
      responses:
        '200':
          description: CloudStack Cluster validation response
          schema:
            $ref: '#/definitions/v1SpectroClusterValidatorResponse'
      security:
      - ApiKey: []
      - Authorization: []
      summary: Validates CloudStack cluster create operation
      tags:
      - spectroclusters
  /v1/spectroclusters/aws:
    post:
      operationId: v1SpectroClustersAwsCreate
      parameters:
      - in: body
        name: body
        schema:
          $ref: '#/definitions/v1SpectroAwsClusterEntity'
      - description: A project UID is required for project-scoped resources and should be omitted when targeting tenant-scoped resources
        in: header
        name: ProjectUid
        type: string
      responses:
        '201':
          description: Created successfully
          headers:
            AuditUid:
              description: Audit uid for the request
              type: string
          schema:
            $ref: '#/definitions/v1Uid'
      security:
      - ApiKey: []
      - Authorization: []
      summary: Creates an AWS cluster
      tags:
      - spectroclusters
  /v1/spectroclusters/aws/import:
    post:
      operationId: v1SpectroClustersAwsImport
      parameters:
      - in: body
        name: body
        schema:
          $ref: '#/definitions/v1SpectroAwsClusterImportEntity'
      - description: A project UID is required for project-scoped resources and should be omitted when targeting tenant-scoped resources
        in: header
        name: ProjectUid
        type: string
      responses:
        '201':
          description: Created successfully
          headers:
            AuditUid:
              description: Audit uid for the request
              type: string
          schema:
            $ref: '#/definitions/v1Uid'
      security:
      - ApiKey: []
      - Authorization: []
      summary: Imports an AWS cluster
      tags:
      - spectroclusters
  /v1/spectroclusters/aws/rate:
    post:
      operationId: v1SpectroClustersAwsRate
      parameters:
      - default: hourly
        enum:
        - hourly
        - monthly
        - yearly
        in: query
        name: periodType
        type: string
      - in: body
        name: body
        schema:
          $ref: '#/definitions/v1SpectroAwsClusterRateEntity'
      - description: A project UID is required for project-scoped resources and should be omitted when targeting tenant-scoped resources
        in: header
        name: ProjectUid
        type: string
      responses:
        '200':
          description: Aws Cluster estimated rate response
          schema:
            $ref: '#/definitions/v1SpectroClusterRate'
      security:
      - ApiKey: []
      - Authorization: []
      summary: Get AWS cluster estimated rate information
      tags:
      - spectroclusters
  /v1/spectroclusters/aws/validate:
    post:
      operationId: v1SpectroClustersAwsValidate
      parameters:
      - in: body
        name: body
        schema:
          $ref: '#/definitions/v1SpectroAwsClusterEntity'
      - description: A project UID is required for project-scoped resources and should be omitted when targeting tenant-scoped resources
        in: header
        name: ProjectUid
        type: string
      responses:
        '200':
          description: Aws Cluster validation response
          schema:
            $ref: '#/definitions/v1SpectroClusterValidatorResponse'
      security:
      - ApiKey: []
      - Authorization: []
      summary: Validates AWS cluster create operation
      tags:
      - spectroclusters
  /v1/spectroclusters/azure:
    post:
      operationId: v1SpectroClustersAzureCreate
      parameters:
      - in: body
        name: body
        schema:
          $ref: '#/definitions/v1SpectroAzureClusterEntity'
      - description: A project UID is required for project-scoped resources and should be omitted when targeting tenant-scoped resources
        in: header
        name: ProjectUid
        type: string
      responses:
        '201':
          description: Created successfully
          headers:
            AuditUid:
              description: Audit uid for the request
              type: string
          schema:
            $ref: '#/definitions/v1Uid'
      security:
      - ApiKey: []
      - Authorization: []
      summary: Creates an Azure cluster
      tags:
      - spectroclusters
  /v1/spectroclusters/azure/import:
    post:
      operationId: v1SpectroClustersAzureImport
      parameters:
      - in: body
        name: body
        schema:
          $ref: '#/definitions/v1SpectroAzureClusterImportEntity'
      - description: A project UID is required for project-scoped resources and should be omitted when targeting tenant-scoped resources
        in: header
        name: ProjectUid
        type: string
      responses:
        '201':
          description: Created successfully
          headers:
            AuditUid:
              description: Audit uid for the request
              type: string
          schema:
            $ref: '#/definitions/v1Uid'
      security:
      - ApiKey: []
      - Authorization: []
      summary: Imports an Azure cluster
      tags:
      - spectroclusters
  /v1/spectroclusters/azure/rate:
    post:
      operationId: v1SpectroClustersAzureRate
      parameters:
      - default: hourly
        enum:
        - hourly
        - monthly
        - yearly
        in: query
        name: periodType
        type: string
      - in: body
        name: body
        schema:
          $ref: '#/definitions/v1SpectroAzureClusterRateEntity'
      - description: A project UID is required for project-scoped resources and should be omitted when targeting tenant-scoped resources
        in: header
        name: ProjectUid
        type: string
      responses:
        '200':
          description: Azure Cluster estimated rate response
          schema:
            $ref: '#/definitions/v1SpectroClusterRate'
      security:
      - ApiKey: []
      - Authorization: []
      summary: Get Azure cluster estimated rate information
      tags:
      - spectroclusters
  /v1/spectroclusters/azure/validate:
    post:
      operationId: v1SpectroClustersAzureValidate
      parameters:
      - in: body
        name: body
        schema:
          $ref: '#/definitions/v1SpectroAzureClusterEntity'
      - description: A project UID is required for project-scoped resources and should be omitted when targeting tenant-scoped resources
        in: header
        name: ProjectUid
        type: string
      responses:
        '200':
          description: Azure Cluster validation response
          schema:
            $ref: '#/definitions/v1SpectroClusterValidatorResponse'
      security:
      - ApiKey: []
      - Authorization: []
      summary: Validates Azure cluster create operation
      tags:
      - spectroclusters
  /v1/spectroclusters/cloudTypes/{cloudType}:
    parameters:
    - description: Cluster's cloud type
      in: path
      name: cloudType
      required: true
      type: string
    post:
      operationId: v1SpectroClustersCustomCreate
      parameters:
      - in: body
        name: body
        schema:
          $ref: '#/definitions/v1SpectroCustomClusterEntity'
      - description: A project UID is required for project-scoped resources and should be omitted when targeting tenant-scoped resources
        in: header
        name: ProjectUid
        type: string
      responses:
        '201':
          description: Created successfully
          headers:
            AuditUid:
              description: Audit uid for the request
              type: string
          schema:
            $ref: '#/definitions/v1Uid'
      security:
      - ApiKey: []
      - Authorization: []
      summary: Creates a Custom cluster
      tags:
      - spectroclusters
  /v1/spectroclusters/cloudTypes/{cloudType}/validate:
    parameters:
    - description: Cluster's cloud type
      in: path
      name: cloudType
      required: true
      type: string
    post:
      operationId: v1SpectroClustersCustomValidate
      parameters:
      - in: body
        name: body
        schema:
          $ref: '#/definitions/v1SpectroCustomClusterEntity'
      - description: A project UID is required for project-scoped resources and should be omitted when targeting tenant-scoped resources
        in: header
        name: ProjectUid
        type: string
      responses:
        '200':
          description: Custom Cluster validation response
          schema:
            $ref: '#/definitions/v1SpectroClusterValidatorResponse'
      security:
      - ApiKey: []
      - Authorization: []
      summary: Validates Custom cluster create operation
      tags:
      - spectroclusters
  /v1/spectroclusters/cluster/upgrade/settings:
    get:
      operationId: v1SpectroClustersClusterUpgradeSettingsGet
      parameters:
      - in: query
        name: hostClusterUid
        type: string
      - in: query
        name: overlordUid
        type: string
      - description: A project UID is required for project-scoped resources and should be omitted when targeting tenant-scoped resources
        in: header
        name: ProjectUid
        type: string
      responses:
        '200':
          description: (empty)
          schema:
            $ref: '#/definitions/v1ClusterUpgradeSettingsSpec'
      security:
      - ApiKey: []
      - Authorization: []
      summary: Get cluster upgrade settings by hostClusterUid or overlordUid
      tags:
      - spectroclusters
  /v1/spectroclusters/clusterTemplates/{uid}/clusters/upgrade:
    parameters:
    - description: Cluster template uid
      in: path
      name: uid
      required: true
      type: string
    patch:
      operationId: V1SpectroClustersTemplatesUidClustersUpgrade
      parameters:
      - in: body
        name: body
        schema:
          $ref: '#/definitions/v1ClusterTemplateUpgradeSpec'
      - description: A project UID is required for project-scoped resources and should be omitted when targeting tenant-scoped resources
        in: header
        name: ProjectUid
        type: string
      responses:
        '204':
          description: The resource was updated successfully
      security:
      - ApiKey: []
      - Authorization: []
      summary: Upgrades clusters launched from the specified cluster template
      tags:
      - spectroclusters
  /v1/spectroclusters/clusterTemplates/{uid}/profiles:
    parameters:
    - description: Cluster template uid
      in: path
      name: uid
      required: true
      type: string
    get:
      operationId: V1SpectroClustersClusterTemplatesUIDProfilesGet
      parameters:
      - description: includes pack meta such as schema, presets
        in: query
        name: includePackMeta
        type: string
      - description: A project UID is required for project-scoped resources and should be omitted when targeting tenant-scoped resources
        in: header
        name: ProjectUid
        type: string
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/v1SpectroClusterProfileList'
      security:
      - ApiKey: []
      - Authorization: []
      summary: Returns the associated profiles for all the cluster of launched from the specified cluster template
      tags:
      - spectroclusters
  /v1/spectroclusters/clusterTemplates/{uid}/validate/repave:
    parameters:
    - description: Cluster template uid
      in: path
      name: uid
      required: true
      type: string
    post:
      operationId: V1SpectroClustersClusterTemplatesUIDValidateRepave
      parameters:
      - in: body
        name: body
        schema:
          $ref: '#/definitions/v1ClusterTemplateRepaveValidationSpec'
      - description: A project UID is required for project-scoped resources and should be omitted when targeting tenant-scoped resources
        in: header
        name: ProjectUid
        type: string
      responses:
        '200':
          description: Cluster template repave validation response
          schema:
            $ref: '#/definitions/v1SpectroClusterRepaveValidationResponse'
      security:
      - ApiKey: []
      - Authorization: []
      summary: Validates if cluster template profile update triggers repave
      tags:
      - spectroclusters
  /v1/spectroclusters/config/edgeInstaller:
    get:
      operationId: v1SpectroClustersConfigEdgeInstaller
      parameters:
      - description: A project UID is required for project-scoped resources and should be omitted when targeting tenant-scoped resources
        in: header
        name: ProjectUid
        type: string
      responses:
        '200':
          description: (empty)
          schema:
            $ref: '#/definitions/v1ClusterEdgeInstallerConfig'
      security:
      - ApiKey: []
      - Authorization: []
      summary: Cluster configuration for the edge installer
      tags:
      - spectroclusters
  /v1/spectroclusters/edge-native:
    post:
      operationId: v1SpectroClustersEdgeNativeCreate
      parameters:
      - in: body
        name: body
        schema:
          $ref: '#/definitions/v1SpectroEdgeNativeClusterEntity'
      - description: A project UID is required for project-scoped resources and should be omitted when targeting tenant-scoped resources
        in: header
        name: ProjectUid
        type: string
      responses:
        '201':
          description: Created successfully
          headers:
            AuditUid:
              description: Audit uid for the request
              type: string
          schema:
            $ref: '#/definitions/v1Uid'
      security:
      - ApiKey: []
      - Authorization: []
      summary: Creates an EdgeNative cluster
      tags:
      - spectroclusters
  /v1/spectroclusters/edge-native/import:
    post:
      operationId: v1SpectroClustersEdgeNativeImport
      parameters:
      - in: body
        name: body
        schema:
          $ref: '#/definitions/v1SpectroEdgeNativeClusterImportEntity'
      - description: A project UID is required for project-scoped resources and should be omitted when targeting tenant-scoped resources
        in: header
        name: ProjectUid
        type: string
      responses:
        '201':
          description: Created successfully
          headers:
            AuditUid:
              description: Audit uid for the request
              type: string
          schema:
            $ref: '#/definitions/v1Uid'
      security:
      - ApiKey: []
      - Authorization: []
      summary: Imports an EdgeNative cluster
      tags:
      - spectroclusters
  /v1/spectroclusters/edge-native/rate:
    post:
      operationId: v1SpectroClustersEdgeNativeRate
      parameters:
      - default: hourly
        enum:
        - hourly
        - monthly
        - yearly
        in: query
        name: periodType
        type: string
      - in: body
        name: body
        schema:
          $ref: '#/definitions/v1SpectroEdgeNativeClusterRateEntity'
      - description: A project UID is required for project-scoped resources and should be omitted when targeting tenant-scoped resources
        in: header
        name: ProjectUid
        type: string
      responses:
        '200':
          description: EdgeNative Cluster estimated rate response
          schema:
            $ref: '#/definitions/v1SpectroClusterRate'
      security:
      - ApiKey: []
      - Authorization: []
      summary: Get edge-native cluster estimated rate information
      tags:
      - spectroclusters
  /v1/spectroclusters/edge-native/validate:
    post:
      operationId: v1SpectroClustersEdgeNativeValidate
      parameters:
      - in: body
        name: body
        schema:
          $ref: '#/definitions/v1SpectroEdgeNativeClusterEntity'
      - description: A project UID is required for project-scoped resources and should be omitted when targeting tenant-scoped resources
        in: header
        name: ProjectUid
        type: string
      responses:
        '200':
          description: EdgeNative Cluster validation response
          schema:
            $ref: '#/definitions/v1SpectroClusterValidatorResponse'
      security:
      - ApiKey: []
      - Authorization: []
      summary: Validates edge-native cluster create operation
      tags:
      - spectroclusters
  /v1/spectroclusters/eks:
    post:
      operationId: v1SpectroClustersEksCreate
      parameters:
      - in: body
        name: body
        schema:
          $ref: '#/definitions/v1SpectroEksClusterEntity'
      - description: A project UID is required for project-scoped resources and should be omitted when targeting tenant-scoped resources
        in: header
        name: ProjectUid
        type: string
      responses:
        '201':
          description: Created successfully
          headers:
            AuditUid:
              description: Audit uid for the request
              type: string
          schema:
            $ref: '#/definitions/v1Uid'
      security:
      - ApiKey: []
      - Authorization: []
      summary: Creates an EKS cluster
      tags:
      - spectroclusters
  /v1/spectroclusters/eks/rate:
    post:
      operationId: v1SpectroClustersEksRate
      parameters:
      - default: hourly
        enum:
        - hourly
        - monthly
        - yearly
        in: query
        name: periodType
        type: string
      - in: body
        name: body
        schema:
          $ref: '#/definitions/v1SpectroEksClusterRateEntity'
      - description: A project UID is required for project-scoped resources and should be omitted when targeting tenant-scoped resources
        in: header
        name: ProjectUid
        type: string
      responses:
        '200':
          description: Eks Cluster estimated rate response
          schema:
            $ref: '#/definitions/v1SpectroClusterRate'
      security:
      - ApiKey: []
      - Authorization: []
      summary: Get EKS cluster estimated rate information
      tags:
      - spectroclusters
  /v1/spectroclusters/eks/validate:
    post:
      operationId: v1SpectroClustersEksValidate
      parameters:
      - in: body
        name: body
        schema:
          $ref: '#/definitions/v1SpectroEksClusterEntity'
      - description: A project UID is required for project-scoped resources and should be omitted when targeting tenant-scoped resources
        in: header
        name: ProjectUid
        type: string
      responses:
        '200':
          description: Eks Cluster validation response
          schema:
            $ref: '#/definitions/v1SpectroClusterValidatorResponse'
      security:
      - ApiKey: []
      - Authorization: []
      summary: Validates EKS cluster create operation
      tags:
      - spectroclusters
  /v1/spectroclusters/features/backup/locations/{uid}:
    parameters:
    - in: path
      name: uid
      required: true
      type: string
    get:
      operationId: V1ClusterFeatureBackupLocationUidGet
      parameters:
      - description: A project UID is required for project-scoped resources and should be omitted when targeting tenant-scoped resources
        in: header
        name: ProjectUid
        type: string
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/v1ClusterRefs'
      security:
      - ApiKey: []
      - Authorization: []
      summary: Returns the cluster object references based on locationUid
      tags:
      - spectroclusters
    put:
      operationId: V1ClusterFeatureBackupLocationUidChange
      parameters:
      - in: body
        name: body
        schema:
          $ref: '#/definitions/v1ClusterBackupLocationType'
      - description: A project UID is required for project-scoped resources and should be omitted when targeting tenant-scoped resources
        in: header
        name: ProjectUid
        type: string
      responses:
        '204':
          description: The resource was updated successfully
      security:
      - ApiKey: []
      - Authorization: []
      summary: Change cluster backup location
      tags:
      - spectroclusters
  /v1/spectroclusters/features/logFetcher/{uid}/download:
    parameters:
    - description: Log fetcher uid for which log is requested
      in: path
      name: uid
      required: true
      type: string
    get:
      operationId: v1ClusterFeatureLogFetcherLogDownload
      parameters:
      - in: query
        name: fileName
        type: string
      - description: A project UID is required for project-scoped resources and should be omitted when targeting tenant-scoped resources
        in: header
        name: ProjectUid
        type: string
      produces:
      - application/octet-stream
      responses:
        '200':
          description: OK
          headers:
            Content-Disposition:
              type: string
            Content-Type:
              type: string
          schema:
            type: file
      security:
      - ApiKey: []
      - Authorization: []
      summary: Download log fetcher logs for cluster by log fetcher uid
      tags:
      - spectroclusters
  /v1/spectroclusters/features/logFetcher/{uid}/log:
    parameters:
    - description: Cluster uid for which log is requested
      in: path
      name: uid
      required: true
      type: string
    post:
      consumes:
      - multipart/form-data
      operationId: v1ClusterFeatureLogFetcherLogUpdate
      parameters:
      - description: Log file by agent
        in: formData
        name: fileName
        type: file
      - description: Unique request Id
        in: query
        name: requestId
        type: string
      - description: A project UID is required for project-scoped resources and should be omitted when targeting tenant-scoped resources
        in: header
        name: ProjectUid
        type: string
      responses:
        '204':
          description: Ok response without content
          headers:
            AuditUid:
              description: Audit uid for the request
              type: string
      security:
      - ApiKey: []
      - Authorization: []
      summary: Update log fetcher logs by log fetcher uid
      tags:
      - spectroclusters
  /v1/spectroclusters/gcp:
    post:
      operationId: v1SpectroClustersGcpCreate
      parameters:
      - in: body
        name: body
        schema:
          $ref: '#/definitions/v1SpectroGcpClusterEntity'
      - description: A project UID is required for project-scoped resources and should be omitted when targeting tenant-scoped resources
        in: header
        name: ProjectUid
        type: string
      responses:
        '201':
          description: Created successfully
          headers:
            AuditUid:
              description: Audit uid for the request
              type: string
          schema:
            $ref: '#/definitions/v1Uid'
      security:
      - ApiKey: []
      - Authorization: []
      summary: Creates a GCP cluster
      tags:
      - spectroclusters
  /v1/spectroclusters/gcp/import:
    post:
      operationId: v1SpectroClustersGcpImport
      parameters:
      - in: body
        name: body
        schema:
          $ref: '#/definitions/v1SpectroGcpClusterImportEntity'
      - description: A project UID is required for project-scoped resources and should be omitted when targeting tenant-scoped resources
        in: header
        name: ProjectUid
        type: string
      responses:
        '201':
          description: Created successfully
          headers:
            AuditUid:
              description: Audit uid for the request
              type: string
          schema:
            $ref: '#/definitions/v1Uid'
      security:
      - ApiKey: []
      - Authorization: []
      summary: Imports a GCP cluster
      tags:
      - spectroclusters
  /v1/spectroclusters/gcp/rate:
    post:
      operationId: v1SpectroClustersGcpRate
      parameters:
      - default: hourly
        enum:
        - hourly
        - monthly
        - yearly
        in: query
        name: periodType
        type: string
      - in: body
        name: body
        schema:
          $ref: '#/definitions/v1SpectroGcpClusterRateEntity'
      - description: A project UID is required for project-scoped resources and should be omitted when targeting tenant-scoped resources
        in: header
        name: ProjectUid
        type: string
      responses:
        '200':
          description: Gcp Cluster estimated rate response
          schema:
            $ref: '#/definitions/v1SpectroClusterRate'
      security:
      - ApiKey: []
      - Authorization: []
      summary: Get GCP cluster estimated rate information
      tags:
      - spectroclusters
  /v1/spectroclusters/gcp/validate:
    post:
      operationId: v1SpectroClustersGcpValidate
      parameters:
      - in: body
        name: body
        schema:
          $ref: '#/definitions/v1SpectroGcpClusterEntity'
      - description: A project UID is required for project-scoped resources and should be omitted when targeting tenant-scoped resources
        in: header
        name: ProjectUid
        type: string
      responses:
        '200':
          description: Gcp Cluster validation response
          schema:
            $ref: '#/definitions/v1SpectroClusterValidatorResponse'
      security:
      - ApiKey: []
      - Authorization: []
      summary: Validates GCP cluster create operation
      tags:
      - spectroclusters
  /v1/spectroclusters/generic/import:
    post:
      description: The machines information will be captured, whereas the cloud specific configuration info will not be retrieved
      operationId: v1SpectroClustersGenericImport
      parameters:
      - in: body
        name: body
        schema:
          $ref: '#/definitions/v1SpectroGenericClusterImportEntity'
      - description: A project UID is required for project-scoped resources and should be omitted when targeting tenant-scoped resources
        in: header
        name: ProjectUid
        type: string
      responses:
        '201':
          description: Created successfully
          headers:
            AuditUid:
              description: Audit uid for the request
              type: string
          schema:
            $ref: '#/definitions/v1Uid'
      security:
      - ApiKey: []
      - Authorization: []
      summary: Imports a cluster of any cloud type in generic way
      tags:
      - spectroclusters
  /v1/spectroclusters/generic/rate:
    post:
      operationId: v1SpectroClustersGenericRate
      parameters:
      - default: hourly
        enum:
        - hourly
        - monthly
        - yearly
        in: query
        name: periodType
        type: string
      - in: body
        name: body
        schema:
          $ref: '#/definitions/v1SpectroGenericClusterRateEntity'
      - description: A project UID is requir

# --- truncated at 32 KB (478 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/spectro-cloud/refs/heads/main/openapi/spectro-cloud-spectroclusters-api-openapi.yml