createMemberServerImage
    • PDF

    createMemberServerImage

    • PDF

    기사 요약

    개요

    회원 서버 이미지 생성

    설명

    회원 서버 이미지를 생성합니다.

    요청 파라미터

    파라미터 명필수 여부타입제약사항설명
    memberServerImageNameNoStringMin : 3, Max : 30- 생성할 회원 서버 이미지 명
    default : Ncloud가 기본값으로 배정
    memberServerImageDescriptionNoStringMin : 10,
    Max : 1000
    생성할 회원 서버 이미지에 대한 설명
    serverInstanceNoYesString- 이미지를 생성할 대상이 되는 서버 인스턴스 번호
    필수 항목이며, getServerInstanceList 액션을 통해 서버 인스턴스 번호 획득 가능

    응답 데이터 타입

    • MemberServerImageList 타입
    MemberServerImageList extends CommonResponse
    private Integer totalRows;
    private List memberServerImageList = new ArrayList();
    MemberServerImage
    private String memberServerImageNo;
    private String memberServerImageName;
    private String memberServerImageDescription;
    private String originalServerInstanceNo;
    private String originalServerProductCode;
    private String originalServerName;
    private CommonCode originalBaseBlockStorageDiskType;
    private String originalServerImageProductCode;
    private String originalOsInformation;
    private String originalServerImageName;
    private String memberServerImageStatusName;
    private CommonCode memberServerImageStatus;
    private CommonCode memberServerImageOperation;
    private CommonCode memberServerImagePlatformType;
    private Region region;
    private Zone zone;
    private Date createDate;
    private Integer memberServerImageBlockStorageTotalRows;
    private Long memberServerImageBlockStorageTotalSize;
    private CommonCode shareStatus;
    private SharedLoginIdList sharedLoginIdList;

    예시

    호출

    ncloud server createMemberServerImage --serverInstanceNo 397364 --memberServerImageName image
    

    응답

    {
      "createMemberServerImageResponse": {
        "requestId": "121f7f98-4b95-4a43-84fa-3bd9d0797fa8",
        "returnCode": "0",
        "returnMessage": "success",
        "totalRows": 1,
        "memberServerImageList": [
          {
            "memberServerImageNo": "2601",
            "memberServerImageName": "image",
            "memberServerImageDescription": "",
            "originalServerInstanceNo": "397364",
            "originalServerProductCode": "SPSVRSTAND000049",
            "originalServerName": "ncloud-mktest3",
            "originalBaseBlockStorageDiskType": {
              "code": "NET",
              "codeName": "Network Storage"
            },
            "originalServerImageProductCode": "SPSW0LINUX000046",
            "originalOsInformation": "CentOS 7.3 (64-bit)",
            "originalServerImageName": "centos-7.3-64",
            "memberServerImageStatusName": "creating",
            "memberServerImageStatus": {
              "code": "INIT",
              "codeName": "NSI INIT State"
            },
            "memberServerImageOperation": {
              "code": "CREAT",
              "codeName": "NSI CREAT OP"
            },
            "memberServerImagePlatformType": {
              "code": "LNX64",
              "codeName": "Linux 64 Bit"
            },
            "createDate": "2018-02-23T16:03:13+0900",
            "zone": {
              "zoneNo": "2",
              "zoneName": "KR-1",
              "zoneDescription": "KR-1 zone"
            },
            "region": {
              "regionNo": "1",
              "regionCode": "KR",
              "regionName": "Korea"
            },
            "memberServerImageBlockStorageTotalRows": 0,
            "memberServerImageBlockStorageTotalSize": 0,
            "shareStatus": {
              "code": "NULL",
              "codeName": "NSI Share NULL State"
            },
            "sharedLoginIdList": []
          }
        ]
      }
    }
    
    <?xml version="1.0" encoding="UTF-8" ?>
    <createMemberServerImageResponse>
      <requestId>121f7f98-4b95-4a43-84fa-3bd9d0797fa8</requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <totalRows>1</totalRows>
      <memberServerImageList>
        <memberServerImageNo>2601</memberServerImageNo>
        <memberServerImageName>image</memberServerImageName>
        <memberServerImageDescription></memberServerImageDescription>
        <originalServerInstanceNo>397364</originalServerInstanceNo>
        <originalServerProductCode>SPSVRSTAND000049</originalServerProductCode>
        <originalServerName>ncloud-mktest3</originalServerName>
        <originalBaseBlockStorageDiskType>
          <code>NET</code>
          <codeName>Network Storage</codeName>
        </originalBaseBlockStorageDiskType>
        <originalServerImageProductCode>SPSW0LINUX000046</originalServerImageProductCode>
        <originalOsInformation>CentOS 7.3 (64-bit)</originalOsInformation>
        <originalServerImageName>centos-7.3-64</originalServerImageName>
        <memberServerImageStatusName>creating</memberServerImageStatusName>
        <memberServerImageStatus>
          <code>INIT</code>
          <codeName>NSI INIT State</codeName>
        </memberServerImageStatus>
        <memberServerImageOperation>
          <code>CREAT</code>
          <codeName>NSI CREAT OP</codeName>
        </memberServerImageOperation>
        <memberServerImagePlatformType>
          <code>LNX64</code>
          <codeName>Linux 64 Bit</codeName>
        </memberServerImagePlatformType>
        <createDate>2018-02-23T16:03:13+0900</createDate>
        <zone>
          <zoneNo>2</zoneNo>
          <zoneName>KR-1</zoneName>
          <zoneDescription>KR-1 zone</zoneDescription>
        </zone>
        <region>
          <regionNo>1</regionNo>
          <regionCode>KR</regionCode>
          <regionName>Korea</regionName>
        </region>
        <memberServerImageBlockStorageTotalRows>0</memberServerImageBlockStorageTotalRows>
        <memberServerImageBlockStorageTotalSize>0</memberServerImageBlockStorageTotalSize>
        <shareStatus>
          <code>NULL</code>
          <codeName>NSI Share NULL State</codeName>
        </shareStatus>
        <sharedLoginIdList/>
      </memberServerImageList>
    </createMemberServerImageResponse>
    

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

    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.