Stage Create
- Print
- PDF
Stage Create
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
The latest service changes have not yet been reflected in this content. We will update the content as soon as possible. Please refer to the Korean version for information on the latest updates.
Summary
Create a stage of the SourceDeploy project.
Request
API URL
POST {SOURCEDEPLOY_API_URL}/project/{projectId}/stage
Request parameter
Item | Type | Description | Remarks |
---|---|---|---|
projectId | string | Project ID | Search projectList |
Request query
None
Request body
{
"name": "string",
"type": "string",
"config": "TEnvServer" | "TEnvAutoScalingGroup" | "TEnvKubernetesService" | "TEnvObjectStorage"
}
Item | Type | Requirement status | Description | Remarks |
---|---|---|---|---|
name | string | Y | Stage name | |
type | string | Y | Deployment target type | "Server" | "AutoScalingGroup" | "KubernetesService" | "ObjectStorage" |
Config | TEnvServer | TEnvAutoScalingGroup | TEnvKubernetesService|TEnvObjectStorage | Y | Set deployment target type | If type="Server", then TEnvServer If type="AutoScalingGroup", then TEnvAutoScalingGroup If type="KubernetesService", then TEnvKubernetesService If type="ObjectStorage", then TEnvObjectStorage |
TEnvServer
{
"serverNo": ["number"]
}
Item | Type | Requirement status | Description | Remarks |
---|---|---|---|---|
serverNo | number[] | Y | Server number | Search with serverLIst API |
TEnvAutoScalingGroup
{
"autoScalingGroupNo": "number"
}
Item | Type | Requirement status | Description | Remarks |
---|---|---|---|---|
autoScalingGroupNo | number | Y | ASG number | Search with autoScalingGroupList API |
TEnvKubernetesService
{
"clusterNo": "number"
}
Item | Type | Requirement status | Description | Remarks |
---|---|---|---|---|
clusterNo | number | Y | Cluster number | Search with kubernetesServiceClusterList API |
TEnvObjectStorage
{
"bucketName": "string"
}
Item | Type | Requirement status | Description | Remarks |
---|---|---|---|---|
bucketName | string | Y | Bucket name | Search with bucketNameList API |
Response
Response body
{
"id": "number",
"name": "string"
}
Item | Type | Description | Remarks |
---|---|---|---|
id | number | stage id | |
name | string | Stage name |
Was this article helpful?