MENU
      스테이지 수정

        스테이지 수정


        기사 요약

        개요

        SourceDeploy 프로젝트의 stage를 수정합니다

        요청

        API URL

        PATCH  {SOURCEBUILD_API_URL}/project/{projectId}/stage/{stageId}
        Plain text

        요청 Parameter

        항목타입설명비고
        projectIdstring프로젝트 IDprojectList 조회
        stageIdstringstage IDstageList 로 조회

        요청 Query

        없음

        요청 Body

        {
            "name": "string",
            "type": "string",
            "config": "TEnvServer" | "TEnvAutoScalingGroup" | "TEnvKubernetesService" | "TEnvObjectStorage"
        }
        JSON
        항목타입필수 여부설명비고
        namestringN
        이름 수정할때, 필수
        stage 이름
        typestringN
        배포타겟 수정할때, 필수
        배포타겟 타입"Server" | "AutoScalingGroup" |. "KubernetesService" |"ObjectStorage"
        ConfigTEnvServer | TEnvAutoScalingGroup | TEnvKubernetesService|TEnvObjectStorageN
        배포타겟 수정할때, 필수
        배포타겟 설정type="Server"일때, TEnvServer
        type="AutoScalingGroup" 일때, TEnvAutoScalingGroup
        type="TEnvKubernetesService" 일때, TEnvKubernetesService
        type="ObjectStorage"일때, TEnvObjectStorage

        TEnvServer

        {
            "serverNo": ["number"]
        }
        JSON
        항목타입필수여부설명비고
        serverNonumber[]Y서버 번호serverList API 로 조회

        TEnvAutoScalingGroup

        {
            "autoScalingGroupNo": "number"
        }
        JSON
        항목타입필수여부설명비고
        autoScalingGroupNonumberYASG 번호autoScalingGroupList API 로 조회

        TEnvKubernetesService

        {
            "clusterNo": "number"
        }
        JSON
        항목타입필수여부설명비고
        clusterNonumberYCluster 번호kubernetesServiceClusterList API 로 조회

        TEnvObjectStorage

        {
            "bucketName": "string"
        }
        JSON
        항목타입필수여부설명비고
        bucketNamestringYBucket 이름bucketNameList API 로 조회

        응답

        응답 Body

        {
        		"id": "number",
        		"name": "string"
        }
        JSON
        항목타입설명비고
        idnumberstage id
        namestringstage 이름

        이 문서가 도움이 되었습니까?

        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.