addMemberServerImageSharingPermission
    • PDF

    addMemberServerImageSharingPermission

    • PDF

    기사 요약

    VPC 환경에서 이용 가능합니다.

    개요

    회원 서버 이미지 공유 권한을 추가합니다.

    주의

    KVM 서버의 내 서버 이미지는 지원되지 않습니다.

    요청

    요청 파라미터

    파라미터명필수 여부타입제약 사항설명
    regionCodeNoString- 리전 코드
    공유 권한을 추가할 회원 서버 이미지 인스턴스의 리전(Region) 결정 가능
    regionCode는 getRegionList 액션을 통해 획득 가능
    Default : getRegionList 조회 결과의 첫 번째 리전을 선택
    memberServerImageInstanceNoYesString- 회원 서버 이미지 인스턴스 번호
    memberServerImageInstanceNo는 getMemberServerImageInstanceList 액션을 통해 획득 가능
    targetLoginIdList.NYesList<String>- 대상 로그인 ID 리스트
    회원 서버 이미지를 공유할 대상의 로그인 ID 리스트 지정
    ex) --targetLoginIdList "id1@email.com" "id2@email.com"

    응답

    응답 데이터 타입

    • MemberServerImageInstanceList 타입
    MemberServerImageInstanceList extends CommonResponse
    private Integer totalRows;
    private List<MemberServerImageInstance> memberServerImageInstanceList = new ArrayList<>();
    MemberServerImageInstance
    private String memberServerImageInstanceNo;
    private String memberServerImageName;
    private String memberServerImageDescription;
    private String originalServerInstanceNo;
    private String originalServerImageProductCode;
    private CommonCode memberServerImageInstanceStatus;
    private CommonCode memberServerImageInstanceOperation;
    private String memberServerImageInstanceStatusName;
    private Date createDate;
    private Integer memberServerImageBlockStorageTotalRows;
    private Long memberServerImageBlockStorageTotalSize;
    private CommonCode shareStatus;
    private SharedLoginIdList sharedLoginIdList;

    예시

    요청 예시

    ncloud vserver addMemberServerImageSharingPermission --memberServerImageInstanceNo ***4605 --targetLoginIdList "test-***@naver.com"
    

    응답 예시

    <addMemberServerImageSharingPermissionResponse>
      <requestId/>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <totalRows>1</totalRows>
      <memberServerImageInstanceList>
        <memberServerImageInstance>
          <memberServerImageInstanceNo>***4605</memberServerImageInstanceNo>
          <memberServerImageName>test-***</memberServerImageName>
          <memberServerImageDescription/>
          <originalServerInstanceNo>***4594</originalServerInstanceNo>
          <originalServerImageProductCode>SW.VSVR.OS.LNX64.CNTOS.0703.B050</originalServerImageProductCode>
          <memberServerImageInstanceStatus>
            <code>CREAT</code>
            <codeName>NSI CREATED state</codeName>
          </memberServerImageInstanceStatus>
          <memberServerImageInstanceOperation>
            <code>NULL</code>
            <codeName>NSI NULLOP</codeName>
          </memberServerImageInstanceOperation>
          <memberServerImageInstanceStatusName>created</memberServerImageInstanceStatusName>
          <createDate>2021-01-15T08:56:24+0900</createDate>
          <shareStatus>
            <code>SHARE</code>
            <codeName>NSI Share SHARE State</codeName>
          </shareStatus>
          <sharedLoginIdList>
            <sharedLoginId>test-***@naver.com</sharedLoginId>
          </sharedLoginIdList>
        </memberServerImageInstance>
      </memberServerImageInstanceList>
    </addMemberServerImageSharingPermissionResponse>
    

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

    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.