Stage Create
    • PDF

    Stage Create

    • PDF

    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
    

    Request parameter

    ItemTypeDescriptionRemarks
    projectIdstringProject IDSearch projectList

    Request query

    None

    Request body

    {
        "name": "string",
        "type": "string",
        "config": "TEnvServer" | "TEnvAutoScalingGroup" | "TEnvKubernetesService" | "TEnvObjectStorage"
    }
    
    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"]
    }
    
    ItemTypeRequirement statusDescriptionRemarks
    serverNonumber[]YServer numberSearch with serverLIst API

    TEnvAutoScalingGroup

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

    TEnvKubernetesService

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

    TEnvObjectStorage

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

    Response

    Response body

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

    Was this article helpful?

    What's Next
    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.