deleteInitScripts
    • PDF

    deleteInitScripts

    • PDF

    Article Summary

    Can be used in a VPC environment.

    Overview

    Delete the list of initialization scripts.

    Request

    Request parameter

    Parameter NameRequired StatusTypeRestrictionsDescription
    regionCodeNoStringRegion Code
    You can decide the region of the initialization script to be deleted.
    The regionCode can be obtained through the getRegionList action.
    Default: Select the first region of the getRegionList query results.
    initScriptNoList.NYesList<String>List of the initialization script numbers to be deleted
    The initScriptNo can be obtained through the getInitScriptList action.
    ex) --initScriptNoList 1234 2345
    responseFormatTypeNoStringFormat type for the response result
    Options : xml | json
    Default : xml

    Response

    Response data type

    • InitScriptList type
    InitScriptList extends CommonResponse
    private Integer totalRows;
    private List<InitScript> initScriptList = new ArrayList<>();
    InitScript
    private String initScriptNo;
    private String initScriptName;
    private Date createDate;
    private String initScriptDescription;
    private String initScriptContent;
    private CommonCode osType;

    Example

    Request example

    ncloud vserver deleteInitScripts --regionCode KR --initScriptNoList ***44 ***45
    

    Response example

    <deleteInitScriptsResponse>
      <requestId></requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <totalRows>1</totalRows>
      <initScriptList>
        <initScript>
          <initScriptNo>***44</initScriptNo>
          <initScriptName>test-***</initScriptName>
          <createDate>2020-08-20T15:03:37+0900</createDate>
          <initScriptDescription></initScriptDescription>
          <initScriptContent></initScriptContent>
          <osType>
            <code>LNX</code>
            <codeName>LINUX</codeName>
          </osType>
        </initScript>
      </initScriptList>
    </deleteInitScriptsResponse>
    

    Was this article helpful?

    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.