disassociatePublicIpFromServerInstance
    • PDF

    disassociatePublicIpFromServerInstance

    • PDF

    Article Summary

    Can be used in a VPC environment.

    Overview

    Unassign the Public IP instance from the server instance.

    Request

    Request parameter

    Parameter NameRequired StatusTypeRestrictionsDescription
    regionCodeNoStringRegion Code
    You can decide the region of the Public IP instance to be unassigned from the server instance.
    The regionCode can be obtained through the getRegionList action.
    Default: Select the first region of the getRegionList query results.
    publicIpInstanceNoConditionalStringThe number of the Public IP instance
    This determines the number of the Public IP instance to be unassigned from the server instance.
    Either publicIpInstanceNo or serverInstanceNo must be entered.
    The publicIpInstanceNo can be obtained through the getPublicIpInstanceList action.
    serverInstanceNoConditionalStringServer instance number
    This determines the server instance that will unassign the Public IP instance.
    Either publicIpInstanceNo or serverInstanceNo must be entered.
    The serverInstanceNo can be obtained through the getServerInstanceList action.
    responseFormatTypeNoStringFormat type for the response result
    Options : xml | json
    Default : xml

    Response

    Response data type

    • PublicIpInstanceList type
    PublicIpInstanceList extends CommonResponse
    private Integer totalRows;
    private List<PublicIpInstance> publicIpInstanceList = new ArrayList<>();
    PublicIpInstance
    private String publicIpInstanceNo;
    private String publicIp;
    private String publicIpDescription;
    private Date createDate;
    private String publicIpInstanceStatusName;
    private CommonCode publicIpInstanceStatus;
    private String serverInstanceNo;
    private String serverName;
    private String privateIp;
    private Date lastModifyDate;
    private CommonCode publicIpInstanceOperation;

    Example

    Request example

    ncloud vserver disassociatePublicIpFromServerInstance --regionCode KR --publicIpInstanceNo ***7551
    

    Response example

    <disassociatePublicIpFromServerInstanceResponse>
      <requestId>bb66616c-3de6-4fb9-9ff0-823249d4e488</requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <totalRows>1</totalRows>
      <publicIpInstanceList>
        <publicIpInstance>
          <publicIpInstanceNo>***7551</publicIpInstanceNo>
          <publicIp>***.***.111.215</publicIp>
          <publicIpDescription></publicIpDescription>
          <createDate>2020-08-19T16:52:50+0900</createDate>
          <publicIpInstanceStatusName>Configuring</publicIpInstanceStatusName>
          <publicIpInstanceStatus>
            <code>RUN</code>
            <codeName>run</codeName>
          </publicIpInstanceStatus>
          <serverInstanceNo></serverInstanceNo>
          <serverName></serverName>
          <privateIp></privateIp>
          <publicIpInstanceOperation>
            <code>SET</code>
            <codeName>SETTING OP</codeName>
          </publicIpInstanceOperation>
        </publicIpInstance>
      </publicIpInstanceList>
    </disassociatePublicIpFromServerInstanceResponse>
    

    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.