Powered by Algolia

    Clusters

    https://api.spectrocloud.com/v1alpha1/spectroclusters

    summary:
    Retrieves a list of clusters
    Parameters:
    NameTypeDescriptionRequired
    fieldsstringSet of fields to be presented in the response with values. The fields are comma separated. Eg: metadata.uid,metadata.nameno
    filtersstringFilters can be combined with AND, OR operators with field path name. Eg: metadata.name=TestServiceANDspec.cloudType=aws Server will be restricted to certain fields based on the indexed data for each resource.no
    orderBystringSpecify the fields with sort order. 1 indicates ascending and -1 for descending. Eg: orderBy=metadata.name=1,metadata.uid=-1no
    limitintegerlimit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results.no
    continuestringcontinue token for the datasetno
    200
    An array of cluster items
    {
    "items": [
    {
    "apiVersion": "string",
    "kind": "string",
    "metadata": {
    "annotations": "object",
    "creationTimestamp": "date-time",
    "deletionTimestamp": "date-time",
    "labels": "object",
    "name": "string",
    "namespace": "string",
    "resourceVersion": "string",
    "selfLink": "string",
    "uid": "string"
    },
    "spec": {
    "cloudConfigRef": {
    "apiVersion": "string",
    "fieldPath": "string",
    "kind": "string",
    "name": "string",
    "namespace": "string",
    "resourceVersion": "string",
    "uid": "string"
    },
    "cloudType": "string",
    "clusterProfileRef": {
    "apiVersion": "string",
    "fieldPath": "string",
    "kind": "string",
    "name": "string",
    "namespace": "string",
    "resourceVersion": "string",
    "uid": "string"
    },
    "clusterProfileTemplate": {
    "cloudType": "string",
    "packServerRefs": [
    {
    "apiVersion": "string",
    "fieldPath": "string",
    "kind": "string",
    "name": "string",
    "namespace": "string",
    "resourceVersion": "string",
    "uid": "string"
    }
    ],
    "packServerSecret": "string",
    "packs": [
    {
    "annotations": "object",
    "digest": "string",
    "inValidReason": "string",
    "isInvalid": "boolean",
    "layer": "string",
    "name": "string",
    "packUid": "string",
    "params": "object",
    "presets": [
    {
    "add": "string",
    "displayName": "string",
    "group": "string",
    "name": "string",
    "remove": [
    "string"
    ]
    }
    ],
    "schema": [
    {
    "format": "string",
    "hints": [
    "string"
    ],
    "listOptions": [
    "string"
    ],
    "name": "string",
    "regex": "string",
    "required": "boolean",
    "type": "string"
    }
    ],
    "server": "string",
    "tag": "string",
    "values": "string",
    "version": "string"
    }
    ],
    "type": "string",
    "version": "integer"
    }
    },
    "status": {
    "apiEndpoints": [
    {
    "host": "string",
    "port": "integer"
    }
    ],
    "conditions": [
    {
    "lastProbeTime": "date-time",
    "lastTransitionTime": "date-time",
    "message": "string",
    "reason": "string",
    "status": "string",
    "type": "string"
    }
    ],
    "services": [
    {
    "host": "string",
    "name": "string",
    "ports": [
    {
    "port": "integer",
    "protocol": "string"
    }
    ]
    }
    ],
    "state": "string"
    }
    }
    ],
    "listmeta": {
    "continue": "string",
    "count": "integer"
    }
    }

    https://api.spectrocloud.com/v1alpha1/spectroclusters/acquire

    summary:
    Acquires a cluster with a lock
    description:
    To orchestrate the cluster for the K8 deployment, a lock will be applied on the cluster for 5 minutes, so that the same cluster can't be acquired for orchestration
    Parameters:
    NameTypeDescriptionRequired
    filtersstringFilters can be combined with AND, OR operators with field path name. Eg: metadata.name=TestServiceANDspec.cloudType=aws Server will be restricted to certain fields based on the indexed data for each resource.no
    200
    OK
    {
    "items": [
    {
    "apiVersion": "string",
    "kind": "string",
    "metadata": {
    "annotations": "object",
    "creationTimestamp": "date-time",
    "deletionTimestamp": "date-time",
    "labels": "object",
    "name": "string",
    "namespace": "string",
    "resourceVersion": "string",
    "selfLink": "string",
    "uid": "string"
    },
    "spec": {
    "cloudConfigRef": {
    "apiVersion": "string",
    "fieldPath": "string",
    "kind": "string",
    "name": "string",
    "namespace": "string",
    "resourceVersion": "string",
    "uid": "string"
    },
    "cloudType": "string",
    "clusterProfileRef": {
    "apiVersion": "string",
    "fieldPath": "string",
    "kind": "string",
    "name": "string",
    "namespace": "string",
    "resourceVersion": "string",
    "uid": "string"
    },
    "clusterProfileTemplate": {
    "cloudType": "string",
    "packServerRefs": [
    {
    "apiVersion": "string",
    "fieldPath": "string",
    "kind": "string",
    "name": "string",
    "namespace": "string",
    "resourceVersion": "string",
    "uid": "string"
    }
    ],
    "packServerSecret": "string",
    "packs": [
    {
    "annotations": "object",
    "digest": "string",
    "inValidReason": "string",
    "isInvalid": "boolean",
    "layer": "string",
    "name": "string",
    "packUid": "string",
    "params": "object",
    "presets": [
    {
    "add": "string",
    "displayName": "string",
    "group": "string",
    "name": "string",
    "remove": [
    "string"
    ]
    }
    ],
    "schema": [
    {
    "format": "string",
    "hints": [
    "string"
    ],
    "listOptions": [
    "string"
    ],
    "name": "string",
    "regex": "string",
    "required": "boolean",
    "type": "string"
    }
    ],
    "server": "string",
    "tag": "string",
    "values": "string",
    "version": "string"
    }
    ],
    "type": "string",
    "version": "integer"
    }
    },
    "status": {
    "apiEndpoints": [
    {
    "host": "string",
    "port": "integer"
    }
    ],
    "conditions": [
    {
    "lastProbeTime": "date-time",
    "lastTransitionTime": "date-time",
    "message": "string",
    "reason": "string",
    "status": "string",
    "type": "string"
    }
    ],
    "services": [
    {
    "host": "string",
    "name": "string",
    "ports": [
    {
    "port": "integer",
    "protocol": "string"
    }
    ]
    }
    ],
    "state": "string"
    }
    }
    ],
    "listmeta": {
    "continue": "string",
    "count": "integer"
    }
    }

    https://api.spectrocloud.com/v1alpha1/spectroclusters/acquire/create

    summary:
    Returns the spectro cluster for creation with lock
    Parameters:
    NameTypeDescriptionRequired
    overlordUidstringno
    overlordModestringno
    jetUidstringno
    200
    OK
    {
    "apiVersion": "string",
    "kind": "string",
    "metadata": {
    "annotations": "object",
    "creationTimestamp": "date-time",
    "deletionTimestamp": "date-time",
    "labels": "object",
    "name": "string",
    "namespace": "string",
    "resourceVersion": "string",
    "selfLink": "string",
    "uid": "string"
    },
    "spec": {
    "cloudConfigRef": {
    "apiVersion": "string",
    "fieldPath": "string",
    "kind": "string",
    "name": "string",
    "namespace": "string",
    "resourceVersion": "string",
    "uid": "string"
    },
    "cloudType": "string",
    "clusterProfileRef": {
    "apiVersion": "string",
    "fieldPath": "string",
    "kind": "string",
    "name": "string",
    "namespace": "string",
    "resourceVersion": "string",
    "uid": "string"
    },
    "clusterProfileTemplate": {
    "cloudType": "string",
    "packServerRefs": [
    {
    "apiVersion": "string",
    "fieldPath": "string",
    "kind": "string",
    "name": "string",
    "namespace": "string",
    "resourceVersion": "string",
    "uid": "string"
    }
    ],
    "packServerSecret": "string",
    "packs": [
    {
    "annotations": "object",
    "digest": "string",
    "inValidReason": "string",
    "isInvalid": "boolean",
    "layer": "string",
    "name": "string",
    "packUid": "string",
    "params": "object",
    "presets": [
    {
    "add": "string",
    "displayName": "string",
    "group": "string",
    "name": "string",
    "remove": [
    "string"
    ]
    }
    ],
    "schema": [
    {
    "format": "string",
    "hints": [
    "string"
    ],
    "listOptions": [
    "string"
    ],
    "name": "string",
    "regex": "string",
    "required": "boolean",
    "type": "string"
    }
    ],
    "server": "string",
    "tag": "string",
    "values": "string",
    "version": "string"
    }
    ],
    "type": "string",
    "version": "integer"
    }
    },
    "status": {
    "apiEndpoints": [
    {
    "host": "string",
    "port": "integer"
    }
    ],
    "conditions": [
    {
    "lastProbeTime": "date-time",
    "lastTransitionTime": "date-time",
    "message": "string",
    "reason": "string",
    "status": "string",
    "type": "string"
    }
    ],
    "services": [
    {
    "host": "string",
    "name": "string",
    "ports": [
    {
    "port": "integer",
    "protocol": "string"
    }
    ]
    }
    ],
    "state": "string"
    }
    }

    https://api.spectrocloud.com/v1alpha1/spectroclusters/acquire/delete

    summary:
    Returns the spectro cluster for deletion with lock
    Parameters:
    NameTypeDescriptionRequired
    overlordUidstringno
    overlordModestringno
    jetUidstringno
    200
    OK
    {
    "apiVersion": "string",
    "kind": "string",
    "metadata": {
    "annotations": "object",
    "creationTimestamp": "date-time",
    "deletionTimestamp": "date-time",
    "labels": "object",
    "name": "string",
    "namespace": "string",
    "resourceVersion": "string",
    "selfLink": "string",
    "uid": "string"
    },
    "spec": {
    "cloudConfigRef": {
    "apiVersion": "string",
    "fieldPath": "string",
    "kind": "string",
    "name": "string",
    "namespace": "string",
    "resourceVersion": "string",
    "uid": "string"
    },
    "cloudType": "string",
    "clusterProfileRef": {
    "apiVersion": "string",
    "fieldPath": "string",
    "kind": "string",
    "name": "string",
    "namespace": "string",
    "resourceVersion": "string",
    "uid": "string"
    },
    "clusterProfileTemplate": {
    "cloudType": "string",
    "packServerRefs": [
    {
    "apiVersion": "string",
    "fieldPath": "string",
    "kind": "string",
    "name": "string",
    "namespace": "string",
    "resourceVersion": "string",
    "uid": "string"
    }
    ],
    "packServerSecret": "string",
    "packs": [
    {
    "annotations": "object",
    "digest": "string",
    "inValidReason": "string",
    "isInvalid": "boolean",
    "layer": "string",
    "name": "string",
    "packUid": "string",
    "params": "object",
    "presets": [
    {
    "add": "string",
    "displayName": "string",
    "group": "string",
    "name": "string",
    "remove": [
    "string"
    ]
    }
    ],
    "schema": [
    {
    "format": "string",
    "hints": [
    "string"
    ],
    "listOptions": [
    "string"
    ],
    "name": "string",
    "regex": "string",
    "required": "boolean",
    "type": "string"
    }
    ],
    "server": "string",
    "tag": "string",
    "values": "string",
    "version": "string"
    }
    ],
    "type": "string",
    "version": "integer"
    }
    },
    "status": {
    "apiEndpoints": [
    {
    "host": "string",
    "port": "integer"
    }
    ],
    "conditions": [
    {
    "lastProbeTime": "date-time",
    "lastTransitionTime": "date-time",
    "message": "string",
    "reason": "string",
    "status": "string",
    "type": "string"
    }
    ],
    "services": [
    {
    "host": "string",
    "name": "string",
    "ports": [
    {
    "port": "integer",
    "protocol": "string"
    }
    ]
    }
    ],
    "state": "string"
    }
    }

    https://api.spectrocloud.com/v1alpha1/spectroclusters/aws

    summary:
    Creates an AWS cluster
    {
    "metadata": {
    "annotations": "object",
    "creationTimestamp": "date-time",
    "deletionTimestamp": "date-time",
    "labels": "object",
    "name": "string",
    "namespace": "string",
    "resourceVersion": "string",
    "selfLink": "string",
    "uid": "string"
    },
    "spec": {
    "cloudAccountUid": "string",
    "cloudConfig": {
    "controlPlaneLoadBalancer": "string",
    "region": "string",
    "sshKeyName": "string",
    "vpcId": "string"
    },
    "machinepoolconfig": [
    {
    "cloudConfig": {
    "azs": [
    "string"
    ],
    "instanceType": "string",
    "rootDeviceSize": "integer",
    "subnets": [
    {
    "az": "string",
    "id": "string"
    }
    ]
    },
    "poolConfig": {
    "isControlPlane": "boolean",
    "labels": [
    "string"
    ],
    "name": "string",
    "size": "integer",
    "updateStrategy": {
    "type": "string"
    },
    "useControlPlaneAsWorker": "boolean"
    },
    "profileConfig": {
    "infraProfileUid": "string",
    "packValues": [
    {
    "name": "string",
    "tag": "string",
    "values": "string"
    }
    ]
    }
    }
    ],
    "packValues": [
    {
    "name": "string",
    "tag": "string",
    "values": "string"
    }
    ],
    "profileUid": "string"
    }
    }
    201
    Created successfully
    {
    "uid": "string"
    }

    https://api.spectrocloud.com/v1alpha1/spectroclusters/aws/validate

    summary:
    Validate aws spectro cluster create
    {
    "metadata": {
    "annotations": "object",
    "creationTimestamp": "date-time",
    "deletionTimestamp": "date-time",
    "labels": "object",
    "name": "string",
    "namespace": "string",
    "resourceVersion": "string",
    "selfLink": "string",
    "uid": "string"
    },
    "spec": {
    "cloudAccountUid": "string",
    "cloudConfig": {
    "controlPlaneLoadBalancer": "string",
    "region": "string",
    "sshKeyName": "string",
    "vpcId": "string"
    },
    "machinepoolconfig": [
    {
    "cloudConfig": {
    "azs": [
    "string"
    ],
    "instanceType": "string",
    "rootDeviceSize": "integer",
    "subnets": [
    {
    "az": "string",
    "id": "string"
    }
    ]
    },
    "poolConfig": {
    "isControlPlane": "boolean",
    "labels": [
    "string"
    ],
    "name": "string",
    "size": "integer",
    "updateStrategy": {
    "type": "string"
    },
    "useControlPlaneAsWorker": "boolean"
    },
    "profileConfig": {
    "infraProfileUid": "string",
    "packValues": [
    {
    "name": "string",
    "tag": "string",
    "values": "string"
    }
    ]
    }
    }
    ],
    "packValues": [
    {
    "name": "string",
    "tag": "string",
    "values": "string"
    }
    ],
    "profileUid": "string"
    }
    }
    200
    Aws Cluster validation response
    {
    "machinePools": {
    "results": [
    {
    "displayName": "string",
    "errors": [
    {
    "code": "string",
    "message": "string"
    }
    ],
    "name": "string"
    }
    ]
    },
    "packs": {
    "results": [
    {
    "displayName": "string",
    "errors": [
    {
    "code": "string",
    "message": "string"
    }
    ],
    "name": "string"
    }
    ]
    }
    }

    https://api.spectrocloud.com/v1alpha1/spectroclusters/aws/{uid}

    summary:
    Updates the specified AWS Cluster
    Path parameters:
    NameTypeDescriptionRequired
    uidstringyes
    {
    "metadata": {
    "annotations": "object",
    "creationTimestamp": "date-time",
    "deletionTimestamp": "date-time",
    "labels": "object",
    "name": "string",
    "namespace": "string",
    "resourceVersion": "string",
    "selfLink": "string",
    "uid": "string"
    },
    "spec": {
    "cloudAccountUid": "string",
    "cloudConfig": {
    "controlPlaneLoadBalancer": "string",
    "region": "string",
    "sshKeyName": "string",
    "vpcId": "string"
    },
    "machinepoolconfig": [
    {
    "cloudConfig": {
    "azs": [
    "string"
    ],
    "instanceType": "string",
    "rootDeviceSize": "integer",
    "subnets": [
    {
    "az": "string",
    "id": "string"
    }
    ]
    },
    "poolConfig": {
    "isControlPlane": "boolean",
    "labels": [
    "string"
    ],
    "name": "string",
    "size": "integer",
    "updateStrategy": {
    "type": "string"
    },
    "useControlPlaneAsWorker": "boolean"
    },
    "profileConfig": {
    "infraProfileUid": "string",
    "packValues": [
    {
    "name": "string",
    "tag": "string",
    "values": "string"
    }
    ]
    }
    }
    ],
    "packValues": [
    {
    "name": "string",
    "tag": "string",
    "values": "string"
    }
    ],
    "profileUid": "string"
    }
    }
    204
    The resource was updated successfully

    https://api.spectrocloud.com/v1alpha1/spectroclusters/aws/{uid}

    summary:
    Deletes the specified cluster
    Path parameters:
    NameTypeDescriptionRequired
    uidstringyes
    204
    The resource was deleted successfully

    https://api.spectrocloud.com/v1alpha1/spectroclusters/aws/{uid}/validate

    summary:
    Validate aws spectro cluster update
    Parameters:
    NameTypeDescriptionRequired
    uidstringyes
    {
    "metadata": {
    "annotations": "object",
    "creationTimestamp": "date-time",
    "deletionTimestamp": "date-time",
    "labels": "object",
    "name": "string",
    "namespace": "string",
    "resourceVersion": "string",
    "selfLink": "string",
    "uid": "string"
    },
    "spec": {
    "cloudAccountUid": "string",
    "cloudConfig": {
    "controlPlaneLoadBalancer": "string",
    "region": "string",
    "sshKeyName": "string",
    "vpcId": "string"
    },
    "machinepoolconfig": [
    {
    "cloudConfig": {
    "azs": [
    "string"
    ],
    "instanceType": "string",
    "rootDeviceSize": "integer",
    "subnets": [
    {
    "az": "string",
    "id": "string"
    }
    ]
    },
    "poolConfig": {
    "isControlPlane": "boolean",
    "labels": [
    "string"
    ],
    "name": "string",
    "size": "integer",
    "updateStrategy": {
    "type": "string"
    },
    "useControlPlaneAsWorker": "boolean"
    },
    "profileConfig": {
    "infraProfileUid": "string",
    "packValues": [
    {
    "name": "string",
    "tag": "string",
    "values": "string"
    }
    ]
    }
    }
    ],
    "packValues": [
    {
    "name": "string",
    "tag": "string",
    "values": "string"
    }
    ],
    "profileUid": "string"
    }
    }
    200
    Aws Cluster validation response
    {
    "machinePools": {
    "results": [
    {
    "displayName": "string",
    "errors": [
    {
    "code": "string",
    "message": "string"
    }
    ],
    "name": "string"
    }
    ]
    },
    "packs": {
    "results": [
    {
    "displayName": "string",
    "errors": [
    {
    "code": "string",
    "message": "string"
    }
    ],
    "name": "string"
    }
    ]
    }
    }

    https://api.spectrocloud.com/v1alpha1/spectroclusters/azure

    summary:
    Creates an Azure cluster
    {
    "metadata": {
    "annotations": "object",
    "creationTimestamp": "date-time",
    "deletionTimestamp": "date-time",
    "labels": "object",
    "name": "string",
    "namespace": "string",
    "resourceVersion": "string",
    "selfLink": "string",
    "uid": "string"
    },
    "spec": {
    "cloudAccountUid": "string",
    "cloudConfig": {
    "controlPlaneSubnet": {
    "cidrBlock": "string",
    "name": "string",
    "securityGroupName": "string"
    },
    "location": "string",
    "resourceGroup": "string",
    "sshKey": "string",
    "subscriptionId": "string",
    "vnetName": "string",
    "workerSubnet": {
    "cidrBlock": "string",
    "name": "string",
    "securityGroupName": "string"
    }
    },
    "machinepoolconfig": [
    {
    "cloudConfig": {
    "azs": [
    "string"
    ],
    "instanceType": "string",
    "osDisk": {
    "diskSizeGB": "integer",
    "managedDisk": {
    "storageAccountType": "string"
    },
    "osType": "string"
    }
    },
    "poolConfig": {
    "isControlPlane": "boolean",
    "labels": [
    "string"
    ],
    "name": "string",
    "size": "integer",
    "updateStrategy": {
    "type": "string"
    },
    "useControlPlaneAsWorker": "boolean"
    },
    "profileConfig": {
    "infraProfileUid": "string",
    "packValues": [
    {
    "name": "string",
    "tag": "string",
    "values": "string"
    }
    ]
    }
    }
    ],
    "packValues": [
    {
    "name": "string",
    "tag": "string",
    "values": "string"
    }
    ],
    "profileUid": "string"
    }
    }
    201
    Created successfully
    {
    "uid": "string"
    }

    https://api.spectrocloud.com/v1alpha1/spectroclusters/azure/validate

    summary:
    Validate azure spectro cluster create
    {
    "metadata": {
    "annotations": "object",
    "creationTimestamp": "date-time",
    "deletionTimestamp": "date-time",
    "labels": "object",
    "name": "string",
    "namespace": "string",
    "resourceVersion": "string",
    "selfLink": "string",
    "uid": "string"
    },
    "spec": {
    "cloudAccountUid": "string",
    "cloudConfig": {
    "controlPlaneSubnet": {
    "cidrBlock": "string",
    "name": "string",
    "securityGroupName": "string"
    },
    "location": "string",
    "resourceGroup": "string",
    "sshKey": "string",
    "subscriptionId": "string",
    "vnetName": "string",
    "workerSubnet": {
    "cidrBlock": "string",
    "name": "string",
    "securityGroupName": "string"
    }
    },
    "machinepoolconfig": [
    {
    "cloudConfig": {
    "azs": [
    "string"
    ],
    "instanceType": "string",
    "osDisk": {
    "diskSizeGB": "integer",
    "managedDisk": {
    "storageAccountType": "string"
    },
    "osType": "string"
    }
    },
    "poolConfig": {
    "isControlPlane": "boolean",
    "labels": [
    "string"
    ],
    "name": "string",
    "size": "integer",
    "updateStrategy": {
    "type": "string"
    },
    "useControlPlaneAsWorker": "boolean"
    },
    "profileConfig": {
    "infraProfileUid": "string",
    "packValues": [
    {
    "name": "string",
    "tag": "string",
    "values": "string"
    }
    ]
    }
    }
    ],
    "packValues": [
    {
    "name": "string",
    "tag": "string",
    "values": "string"
    }
    ],
    "profileUid": "string"
    }
    }
    200
    Azure Cluster validation response
    {
    "machinePools": {
    "results": [
    {
    "displayName": "string",
    "errors": [
    {
    "code": "string",
    "message": "string"
    }
    ],
    "name": "string"
    }
    ]
    },
    "packs": {
    "results": [
    {
    "displayName": "string",
    "errors": [
    {
    "code": "string",
    "message": "string"
    }
    ],
    "name": "string"
    }
    ]
    }
    }

    https://api.spectrocloud.com/v1alpha1/spectroclusters/azure/{uid}

    summary:
    Updates the specified Azure Cluster
    Path parameters:
    NameTypeDescriptionRequired
    uidstringyes
    {
    "metadata": {
    "annotations": "object",
    "creationTimestamp": "date-time",
    "deletionTimestamp": "date-time",
    "labels": "object",
    "name": "string",
    "namespace": "string",
    "resourceVersion": "string",
    "selfLink": "string",
    "uid": "string"
    },
    "spec": {
    "cloudAccountUid": "string",
    "cloudConfig": {
    "controlPlaneSubnet": {
    "cidrBlock": "string",
    "name": "string",
    "securityGroupName": "string"
    },
    "location": "string",
    "resourceGroup": "string",
    "sshKey": "string",
    "subscriptionId": "string",
    "vnetName": "string",
    "workerSubnet": {
    "cidrBlock": "string",
    "name": "string",
    "securityGroupName": "string"
    }
    },
    "machinepoolconfig": [
    {
    "cloudConfig": {
    "azs": [
    "string"
    ],
    "instanceType": "string",
    "osDisk": {
    "diskSizeGB": "integer",
    "managedDisk": {
    "storageAccountType": "string"
    },
    "osType": "string"
    }
    },
    "poolConfig": {
    "isControlPlane": "boolean",
    "labels": [
    "string"
    ],
    "name": "string",
    "size": "integer",
    "updateStrategy": {
    "type": "string"
    },
    "useControlPlaneAsWorker": "boolean"
    },
    "profileConfig": {
    "infraProfileUid": "string",
    "packValues": [
    {
    "name": "string",
    "tag": "string",
    "values": "string"
    }
    ]
    }
    }
    ],
    "packValues": [
    {
    "name": "string",
    "tag": "string",
    "values": "string"
    }
    ],
    "profileUid": "string"
    }
    }
    204
    The resource was updated successfully

    https://api.spectrocloud.com/v1alpha1/spectroclusters/azure/{uid}

    summary:
    Deletes the specified cluster
    Path parameters:
    NameTypeDescriptionRequired
    uidstringyes
    204
    The resource was deleted successfully

    https://api.spectrocloud.com/v1alpha1/spectroclusters/azure/{uid}/validate

    summary:
    Validate azure spectro cluster update
    Parameters:
    NameTypeDescriptionRequired
    uidstringyes
    {
    "metadata": {
    "annotations": "object",
    "creationTimestamp": "date-time",
    "deletionTimestamp": "date-time",
    "labels": "object",
    "name": "string",
    "namespace": "string",
    "resourceVersion": "string",
    "selfLink": "string",
    "uid": "string"
    },
    "spec": {
    "cloudAccountUid": "string",
    "cloudConfig": {
    "controlPlaneSubnet": {
    "cidrBlock": "string",
    "name": "string",
    "securityGroupName": "string"
    },
    "location": "string",
    "resourceGroup": "string",
    "sshKey": "string",
    "subscriptionId": "string",
    "vnetName": "string",
    "workerSubnet": {
    "cidrBlock": "string",
    "name": "string",
    "securityGroupName": "string"
    }
    },
    "machinepoolconfig": [
    {
    "cloudConfig": {
    "azs": [
    "string"
    ],
    "instanceType": "string",
    "osDisk": {
    "diskSizeGB": "integer",
    "managedDisk": {
    "storageAccountType": "string"
    },
    "osType": "string"
    }
    },
    "poolConfig": {
    "isControlPlane": "boolean",
    "labels": [
    "string"
    ],
    "name": "string",
    "size": "integer",
    "updateStrategy": {
    "type": "string"
    },
    "useControlPlaneAsWorker": "boolean"
    },
    "profileConfig": {
    "infraProfileUid": "string",
    "packValues": [
    {
    "name": "string",
    "tag": "string",
    "values": "string"
    }
    ]
    }
    }
    ],
    "packValues": [
    {
    "name": "string",
    "tag": "string",
    "values": "string"
    }
    ],
    "profileUid": "string"
    }
    }
    200
    Azure Cluster validation response
    {
    "machinePools": {
    "results": [
    {
    "displayName": "string",
    "errors": [
    {
    "code": "string",
    "message": "string"
    }
    ],
    "name": "string"
    }
    ]
    },
    "packs": {
    "results": [
    {
    "displayName": "string",
    "errors": [
    {
    "code": "string",
    "message": "string"
    }
    ],
    "name": "string"
    }
    ]
    }
    }

    https://api.spectrocloud.com/v1alpha1/spectroclusters/gcp

    summary:
    Creates a GCP cluster
    {
    "metadata": {
    "annotations": "object",
    "creationTimestamp": "date-time",
    "deletionTimestamp": "date-time",
    "labels": "object",
    "name": "string",
    "namespace": "string",
    "resourceVersion": "string",
    "selfLink": "string",
    "uid": "string"
    },
    "spec": {
    "cloudAccountUid": "string",
    "cloudConfig": {
    "network": "string",
    "project": "string",
    "region": "string"
    },
    "machinepoolconfig": [
    {
    "cloudConfig": {
    "azs": [
    "string"
    ],
    "instanceType": "string",
    "rootDeviceSize": "integer",
    "subnet": "string"
    },
    "poolConfig": {
    "isControlPlane": "boolean",
    "labels": [
    "string"
    ],
    "name": "string",
    "size": "integer",
    "updateStrategy": {
    "type": "string"
    },
    "useControlPlaneAsWorker": "boolean"
    },
    "profileConfig": {
    "infraProfileUid": "string",
    "packValues": [
    {
    "name": "string",
    "tag": "string",
    "values": "string"
    }
    ]
    }
    }
    ],
    "packValues": [
    {
    "name": "string",
    "tag": "string",
    "values": "string"
    }
    ],
    "profileUid": "string"
    }
    }
    201
    Created successfully
    {
    "uid": "string"
    }

    https://api.spectrocloud.com/v1alpha1/spectroclusters/gcp/validate

    summary:
    Validate gcp spectro cluster create
    {
    "metadata": {
    "annotations": "object",
    "creationTimestamp": "date-time",
    "deletionTimestamp": "date-time",
    "labels": "object",
    "name": "string",
    "namespace": "string",
    "resourceVersion": "string",
    "selfLink": "string",
    "uid": "string"
    },
    "spec": {
    "cloudAccountUid": "string",
    "cloudConfig": {
    "network&qu