스테이지 수정
    • PDF

    스테이지 수정

    • PDF

    Article Summary

    개요

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

    요청

    API URL

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

    요청 Parameter

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

    요청 Query

    없음

    요청 Body

    {
        "name": "string",
        "type": "string",
        "config": "TEnvServer" | "TEnvAutoScalingGroup" | "TEnvKubernetesService" | "TEnvObjectStorage"
    }
    
    항목타입필수 여부설명비고
    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"]
    }
    
    항목타입필수여부설명비고
    serverNonumber[]Y서버 번호serverList API로 조회

    TEnvAutoScalingGroup

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

    TEnvKubernetesService

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

    TEnvObjectStorage

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

    응답

    응답 Body

    {
    		"id": "number",
    		"name": "string"
    }
    
    항목타입설명비고
    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.