Deploy a Service

services_post_deployments(service_id, deployment_id = NULL, published = NULL)

Arguments

service_id

integer required. The ID of the owning Service

deployment_id

integer optional. The ID for this deployment

published

boolean optional.

Value

A list containing the following elements:

deploymentId

integer, The ID for this deployment.

userId

integer, The ID of the owner.

host

string, Domain of the deployment.

name

string, Name of the deployment.

dockerImageName

string, The name of the docker image to pull from DockerHub.

dockerImageTag

string, The tag of the docker image to pull from DockerHub (default: latest).

displayUrl

string, A signed URL for viewing the deployed item.

instanceType

string, The EC2 instance type requested for the deployment.

memory

integer, The memory allocated to the deployment.

cpu

integer, The cpu allocated to the deployment.

state

string, The state of the deployment.

stateMessage

string, A detailed description of the state.

createdAt

string,

updatedAt

string,

published

boolean,

serviceId

integer, The ID of owning Service