List application profiles
GET/api/v1/applications/profiles
Retrieve application profiles for an organization
Request
Header Parameters
APIKey
Responses
- 200
- 400
- 404
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
data
object[]
clusterSelection
object
cloudProvider
object
cloudProvider specifies the cloud provider and region where the application will be deployed.
Possible values: [aws
, gcp
, azure
, digitalocean
]
+kubebuilder:validation:Required +kubebuilder:validation:XValidation:rule="oldSelf == '' || self == oldSelf",message="Provider is immutable, cannot be changed on update"
+kubebuilder:validation:Required +kubebuilder:validation:XValidation:rule="oldSelf == '' || self == oldSelf",message="Region is immutable, cannot be changed on update"
cluster
object
cluster specifies the cluster name where the application will be deployed.
Name of the cluster +kubebuilder:validation:Required +kubebuilder:validation:MinLength:=1 +kubebuilder:validation:MaxLength:=63 +kubebuilder:validation:XValidation:rule="oldSelf == '' || self == oldSelf",message="Cluster name is immutable once set"
Possible values: [specified
, auto
]
Type of cluster selection +kubebuilder:validation:XValidation:rule="oldSelf == '' || self == oldSelf",message="Cluster selection type is immutable once set"
constraints
object
constraints specifies different constraint that the underlying infrastructe has to adhere to run the application. +optional
availability
object
Possible values: [basic
, standard
, premium
]
+kubebuilder:default:=basic
networkTraffic
object
IncomingRPS defines the inbound requests per second +kubebuilder:validation:Minimum:=0 +kubebuilder:default=10
OutgoingRPS defines the outbound requests per second If not configured, it will take the same value as IncomingRPS +kubebuilder:validation:Minimum:=0 +optional
resources
object
cpu
object
maximum
object
Possible values: [DecimalExponent
, BinarySI
, DecimalSI
]
minimum
object
Possible values: [DecimalExponent
, BinarySI
, DecimalSI
]
memory
object
maximum
object
Possible values: [DecimalExponent
, BinarySI
, DecimalSI
]
minimum
object
Possible values: [DecimalExponent
, BinarySI
, DecimalSI
]
id is the unique identifier of the application profile.
name is the name of the application profile.
orgId is the organization ID.
slug is the unique identifier of the application profile.
{
"data": [
{
"clusterSelection": {
"cloudProvider": {
"availabilityZones": [
"string"
],
"provider": "aws",
"region": "string"
},
"cluster": {
"name": "string"
},
"type": "specified"
},
"constraints": {
"availability": {
"tier": "basic"
},
"networkTraffic": {
"incomingRPS": 0,
"outgoingRPS": 0
},
"resources": {
"cpu": {
"maximum": {
"Format": "DecimalExponent"
},
"minimum": {
"Format": "DecimalExponent"
}
},
"memory": {
"maximum": {
"Format": "DecimalExponent"
},
"minimum": {
"Format": "DecimalExponent"
}
}
}
},
"id": "string",
"name": "string",
"orgId": "string",
"slug": "string"
}
],
"id": "string",
"message": "string",
"status": "string"
}
bad request
- application/json
- Schema
- Example (from schema)
Schema
{
"error": "string",
"error_code": "string"
}
application profile not found
- application/json
- Schema
- Example (from schema)
Schema
{
"error": "string",
"error_code": "string"
}
internal server error
- application/json
- Schema
- Example (from schema)
Schema
{
"error": "string",
"error_code": "string"
}