deleteServerImage
    • PDF

    deleteServerImage

    • PDF

    기사 요약

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

    개요

    내 서버 이미지 리스트를 삭제합니다.

    요청

    요청 파라미터

    파라미터명필수 여부타입제약 사항설명
    regionCodeNoString-- 리전 코드
    서버 이미지 리스트가 조회될 리전(Region) 결정 가능
    regionCode는 getRegionList 액션을 통해 획득 가능
    Default: getRegionList 조회 결과의 첫 번째 리전을 선택
    serverImageNoList.NYesList<String>-- 삭제할 서버 이미지 번호 리스트
    serverImageNo는 getServerImageList 액션을 통해 획득 가능
    ex) serverImageNoList.1=1234&serverImageNoList.2=2345
    responseFormatTypeNoString-- 응답 결과의 포맷 타입
    Options: xml | json
    Default: xml

    응답

    응답 데이터 타입

    • ServerImageList 타입
    ServerImageList extends CommonResponse
    private Integer totalRows;
    private List<ServerImage> serverImageList = new ArrayList<>();
    ServerImage
    private String serverImageNo;
    private String serverImageName;
    private String serverImageDescription;
    private CommonCode serverImageType;
    private CommonCode hypervisorType;
    private CommonCode cpuArchitectureType;
    private CommonCode osCategoryType;
    private CommonCode osType;
    private String serverImageStatusName;
    private CommonCode serverImageStatus;
    private CommonCode serverImageOperation;
    private String serverImageProductCode;
    private Date createDate;
    private CommonCode shareStatus;
    private SharedLoginIdList sharedLoginIdList;
    private List<BlockStorageMapping> blockStorageMappingList;

    예시

    요청 예시

    ncloud vserver deleteServerImage --regionCode KR --serverImageNoList ***1234
    

    응답 예시

    <getServerImageListResponse>
      <requestId></requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <totalRows>1</totalRows>
      <serverImageList>
        <serverImage>
          <serverImageNo>***5847</serverImageNo>
          <serverImageName>test-***</serverImageName>
          <serverImageDescription></serverImageDescription>
          <serverImageType>
            <code>NCP</code>
            <codeName>NCP Server Image</codeName>
          </serverImageType>
          <hypervisorType>
            <code>XEN</code>
            <codeName>XEN</codeName>
          </hypervisorType>
          <cpuArchitectureType>
            <code>X86_64</code>
            <codeName>x86 64bit</codeName>
          </cpuArchitectureType>
          <osCategoryType>
            <code>LINUX</code>
            <codeName>LINUX</codeName>
          </osCategoryType>
          <osType>
            <code>CENTOS</code>
            <codeName>CENTOS</codeName>
          </osType>
          <productCode>SW.VSVR.OS.LNX64.CNTOS.0703.B050</productCode>
          <serverImageStatus>
            <code>CREAT</code>
            <codeName>Server created state</codeName>
          </serverImageStatus>
          <serverImageOperation>
            <code>NULL</code>
            <codeName>NULL OP</codeName>
          </serverImageOperation>
          <serverImageStatusName>created</serverImageStatusName>
          <createDate>2020-08-24T10:34:27+0900</createDate>
          <blockStorageMappingList>
            <blockStorageMapping>
              <order>0</order>
              <blockStorageSize>53687091200</blockStorageSize>
              <blockStorageVolumeType>
                <code>HDD</code>
                <codeName>HDD</codeName>
              </blockStorageVolumeType>
              <isEncryptedVolume>false</isEncryptedVolume>
            </blockStorageMapping>
          </blockStorageMappingList>
          <shareStatus>
            <code>NULL</code>
            <codeName>NSI Share NULL State</codeName>
          </shareStatus>
          <sharedLoginIdList/>
        </serverImage>
      </serverImageList>
    </getServerImageListResponse>
    

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

    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.