MENU
      Stage Create

        Stage Create


        Article summary

        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
        Plain text

        Request parameter

        ItemTypeDescriptionRemarks
        projectIdstringProject IDSearch projectList

        Request query

        None

        Request body

        {
            "name": "string",
            "type": "string",
            "config": "TEnvServer" | "TEnvAutoScalingGroup" | "TEnvKubernetesService" | "TEnvObjectStorage"
        }
        JSON
        ItemTypeRequirement statusDescriptionRemarks
        namestringYStage name
        typestringYDeployment target type"Server" | "AutoScalingGroup" | "KubernetesService" | "ObjectStorage"
        ConfigTEnvServer | TEnvAutoScalingGroup | TEnvKubernetesService|TEnvObjectStorageYSet deployment target typeIf type="Server", then TEnvServer
        If type="AutoScalingGroup", then TEnvAutoScalingGroup
        If type="KubernetesService", then TEnvKubernetesService
        If type="ObjectStorage", then TEnvObjectStorage

        TEnvServer

        {
            "serverNo": ["number"]
        }
        JSON
        ItemTypeRequirement statusDescriptionRemarks
        serverNonumber[]YServer numberSearch with serverLIst API

        TEnvAutoScalingGroup

        {
            "autoScalingGroupNo": "number"
        }
        JSON
        ItemTypeRequirement statusDescriptionRemarks
        autoScalingGroupNonumberYASG numberSearch with autoScalingGroupList API

        TEnvKubernetesService

        {
            "clusterNo": "number"
        }
        JSON
        ItemTypeRequirement statusDescriptionRemarks
        clusterNonumberYCluster numberSearch with kubernetesServiceClusterList API

        TEnvObjectStorage

        {
            "bucketName": "string"
        }
        JSON
        ItemTypeRequirement statusDescriptionRemarks
        bucketNamestringYBucket nameSearch with bucketNameList API

        Response

        Response body

        {
        	"id": "number",
        	"name": "string"
        }
        JSON
        ItemTypeDescriptionRemarks
        idnumberstage id
        namestringStage name

        Was this article helpful?

        Changing your password will log you out immediately. Use the new password to log back in.
        First name must have atleast 2 characters. Numbers and special characters are not allowed.
        Last name must have atleast 1 characters. Numbers and special characters are not allowed.
        Enter a valid email
        Enter a valid password
        Your profile has been successfully updated.