App Deployments

https://api.spectrocloud.com/v1/appDeployments/clusterGroup

summary:
Creates a application deployment in one of nested clusters in the cluster group
{
"metadata": {
"annotations": "object",
"labels": "object",
"name": "string"
},
"spec": {
"config": {
"targetSpec": {
"clusterGroupUid": "string",
"clusterLimits": {
"cpu": "integer",
"memoryMiB": "integer",
"storageGiB": "integer"
},
"clusterName": "string"
}
},
"profile": {
"appProfileUid": "string"
}
}
}
201
Created successfully
{
"uid": "string"
}

https://api.spectrocloud.com/v1/appDeployments/nestedCluster

summary:
Creates a application deployment in the nested cluster
{
"metadata": {
"annotations": "object",
"labels": "object",
"name": "string"
},
"spec": {
"config": {
"targetSpec": {
"clusterUid": "string"
}
},
"profile": {
"appProfileUid": "string"
}
}
}
201
Created successfully
{
"uid": "string"
}

https://api.spectrocloud.com/v1/appDeployments/{uid}

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

https://api.spectrocloud.com/v1/appDeployments/{uid}

summary:
Returns the specified application deployment
Path parameters:
NameTypeDescriptionRequired
uidstringyes
200
OK
{
"metadata": {
"annotations": "object",
"creationTimestamp": "date-time",
"deletionTimestamp": "date-time",
"labels": "object",
"lastModifiedTimestamp": "date-time",
"name": "string",
"namespace": "string",
"resourceVersion": "string",
"selfLink": "string",
"uid": "string"
},
"spec": {
"config": {
"target": {
"clusterRef": {
"name": "string",
"uid": "string"
},
"envRef": {
"name": "string",
"type": "string",
"uid": "string"
}
}
},
"profile": {
"metadata": {
"name": "string",
"uid": "string",
"version": "string"
},
"template": {
"appTiers": [
{
"name": "string",
"type": "string",
"uid": "string",
"version": "string"
}
],
"registryRefs": [
{
"apiVersion": "string",
"fieldPath": "string",
"kind": "string",
"name": "string",
"namespace": "string",
"resourceVersion": "string",
"uid": "string"
}
]
}
}
},
"status": {
"appTiers": [
{
"condition": {
"lastProbeTime": "date-time",
"lastTransitionTime": "date-time",
"message": "string",
"reason": "string",
"status": "string",
"type": "string"
},
"endTime": "date-time",
"manifests": [
{
"condition": {
"lastProbeTime": "date-time",
"lastTransitionTime": "date-time",
"message": "string",
"reason": "string",
"status": "string",
"type": "string"
},
"name": "string",
"uid": "string"
}
],
"name": "string",
"profileUid": "string",
"services": [
{
"host": "string",
"name": "string",
"ports": [
{
"port": "integer",
"protocol": "string"
}
]
}
],
"startTime": "date-time",
"type": "string",
"version": "string"
}
],
"lifecycleStatus": {
"msg": "string",
"status": "string"
},
"state": "string"
}
}

https://api.spectrocloud.com/v1/appDeployments/{uid}/profile

summary:
Returns profile of the specified application deployment
Path parameters:
NameTypeDescriptionRequired
uidstringyes
200
OK
{
"metadata": {
"name": "string",
"uid": "string",
"version": "string"
},
"template": {
"appTiers": [
{
"metadata": {
"annotations": "object",
"creationTimestamp": "date-time",
"deletionTimestamp": "date-time",
"labels": "object",
"lastModifiedTimestamp": "date-time",
"name": "string",
"namespace": "string",
"resourceVersion": "string",
"selfLink": "string",
"uid": "string"
},
"spec": {
"containerRegistryUid": "string",
"installOrder": "integer",
"manifests": [
{
"apiVersion": "string",
"fieldPath": "string",
"kind": "string",
"name": "string",
"namespace": "string",
"resourceVersion": "string",
"uid": "string"
}
],
"properties": [
{
"format": "string",
"name": "string",
"type": "string",
"value": "string"
}
],
"registryUid": "string",
"sourceAppTierUid": "string",
"type": "string",
"values": "string",
"version": "string"
}
}
],
"registryRefs": [
{
"apiVersion": "string",
"fieldPath": "string",
"kind": "string",
"name": "string",
"namespace": "string",
"resourceVersion": "string",
"uid": "string"
}
]
}
}

https://api.spectrocloud.com/v1/appDeployments/{uid}/profile

summary:
Updates the specified application deployment profile
Path parameters:
NameTypeDescriptionRequired
uidstringyes
{
"appProfileUid": "string"
}
204
The resource was updated successfully

https://api.spectrocloud.com/v1/appDeployments/{uid}/profile/apply

summary:
Apply the app deployment profile updates
Path parameters:
NameTypeDescriptionRequired
uidstringyes
notifystringno
204
The resource was updated successfully

https://api.spectrocloud.com/v1/appDeployments/{uid}/profile/tiers/{tierUid}

summary:
Returns the specified application deployment profile's tier information
Path parameters:
NameTypeDescriptionRequired
uidstringyes
tierUidstringyes
200
OK
{
"metadata": {
"annotations": "object",
"creationTimestamp": "date-time",
"deletionTimestamp": "date-time",
"labels": "object",
"lastModifiedTimestamp": "date-time",
"name": "string",
"namespace": "string",
"resourceVersion": "string",
"selfLink": "string",
"uid": "string"
},
"spec": {
"containerRegistryUid": "string",
"installOrder": "integer",
"manifests": [
{
"apiVersion": "string",
"fieldPath": "string",
"kind": "string",
"name": "string",
"namespace": "string",
"resourceVersion": "string",
"uid": "string"
}
],
"properties": [
{
"format": "string",
"name": "string",
"type": "string",
"value": "string"
}
],
"registryUid": "string",
"sourceAppTierUid": "string",
"type": "string",
"values": "string",
"version": "string"
}
}

https://api.spectrocloud.com/v1/appDeployments/{uid}/profile/tiers/{tierUid}

summary:
Updates the specified application deployment profile's tier information
Path parameters:
NameTypeDescriptionRequired
uidstringyes
tierUidstringyes
{
"containerRegistryUid": "string",
"installOrder": "integer",
"manifests": [
{
"content": "string",
"name": "string",
"uid": "string"
}
],
"name": "string",
"properties": [
{
"name": "string",
"value": "string"
}
],
"values": "string",
"version": "string"
}
204
The resource was updated successfully

https://api.spectrocloud.com/v1/appDeployments/{uid}/profile/tiers/{tierUid}/manifests

summary:
Returns all manifests of the specified application deployment profile's tier
Path parameters:
NameTypeDescriptionRequired
uidstringyes
tierUidstringyes
200
OK
{
"manifests": [
{
"metadata": {
"annotations": "object",
"creationTimestamp": "date-time",
"deletionTimestamp": "date-time",
"labels": "object",
"lastModifiedTimestamp": "date-time",
"name": "string",
"namespace": "string",
"resourceVersion": "string",
"selfLink": "string",
"uid": "string"
},
"spec": {
"published": {
"content": "string",
"digest": "string"
}
}
}
]
}

https://api.spectrocloud.com/v1/appDeployments/{uid}/profile/tiers/{tierUid}/manifests/{manifestUid}

summary:
Returns the specified application deployment tier's manifest information
Path parameters:
NameTypeDescriptionRequired
uidstringyes
tierUidstringyes
manifestUidstringyes
200
OK
{
"metadata": {
"annotations": "object",
"creationTimestamp": "date-time",
"deletionTimestamp": "date-time",
"labels": "object",
"lastModifiedTimestamp": "date-time",
"name": "string",
"namespace": "string",
"resourceVersion": "string",
"selfLink": "string",
"uid": "string"
},
"spec": {
"published": {
"content": "string",
"digest": "string"
}
}
}

https://api.spectrocloud.com/v1/appDeployments/{uid}/profile/tiers/{tierUid}/manifests/{manifestUid}

summary:
Updates the specified application deployment tier's manifest information
Path parameters:
NameTypeDescriptionRequired
uidstringyes
tierUidstringyes
manifestUidstringyes
{
"content": "string",
"name": "string",
"uid": "string"
}
204
The resource was updated successfully

https://api.spectrocloud.com/v1/appDeployments/{uid}/profile/versions

summary:
Returns profile versions of the specified application deployment
Path parameters:
NameTypeDescriptionRequired
uidstringyes
200
OK
{
"availableVersions": [
{
"uid": "string",
"version": "string"
}
],
"latestVersions": [
{
"uid": "string",
"version": "string"
}
],
"metadata": {
"name": "string",
"uid": "string",
"version": "string"
}
}