disassociatePublicIpFromServerInstance
- Print
- PDF
disassociatePublicIpFromServerInstance
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Overview
Disassociating a public IP from server instance
Description
Disassociate a public IP from server instance.
Request Parameters
Parameter Name | Requiredness | Type | Limitation | Description |
---|---|---|---|---|
publicIpInstanceNo | Yes | String | Instance No. of a public IP to disassociate |
Response Data Type
- PublicIpInstanceList type
PublicIpInstanceList extends CommonResponse |
---|
private Integer totalRows; |
private List |
PublicIpInstance |
---|
private String publicIpInstanceNo; |
private String publiclIp; |
private String publicIpDescription; |
private Date createDate; |
private String publicIpInstanceStatusName; |
private CommonCode publicIpInstanceStatus; |
private CommonCode publicIpInstanceOperation; |
private CommonCode publicIpKindType; |
private ServerInstance serverInstanceAssociatedWithPublicIp; |
Response Data Type
- PublicIpInstanceList type
Examples
Request
ncloud server disassociatePublicIpFromServerInstance --publicIpInstanceNo 397266
Response
{
"disassociatePublicIpFromServerInstanceResponse": {
"requestId": "fa91c4e8-eb04-4bb1-84ab-297154d18fcd",
"returnCode": "0",
"returnMessage": "success",
"totalRows": 1,
"publicIpInstanceList": [
{
"publicIpInstanceNo": "397266",
"publicIp": "192.168.60.126",
"publicIpDescription": "",
"createDate": "2018-02-23T14:10:01+0900",
"publicIpInstanceStatusName": "disusing",
"publicIpInstanceStatus": {
"code": "USED",
"codeName": "NET USED state"
},
"publicIpInstanceOperation": {
"code": "DISUS",
"codeName": "NET DISUSE OP"
},
"publicIpKindType": {
"code": "GEN",
"codeName": "General"
},
"serverInstanceAssociatedWithPublicIp": {
"serverInstanceNo": "397255",
"serverName": "ncloud-mktest",
"serverDescription": "",
"cpuCount": 1,
"memorySize": 2147483648,
"baseBlockStorageSize": 53687091200,
"platformType": {
"code": "LNX64",
"codeName": "Linux 64 Bit"
},
"loginKeyName": "ysw",
"isFeeChargingMonitoring": false,
"publicIp": "192.168.60.126",
"privateIp": "10.113.245.112",
"serverImageName": "centos-7.3-64",
"serverInstanceStatus": {
"code": "RUN",
"codeName": "Server RUN State"
},
"serverInstanceOperation": {
"code": "NULL",
"codeName": "Server NULL OP"
},
"serverInstanceStatusName": "running",
"createDate": "2018-02-23T13:55:34+0900",
"uptime": "2018-02-23T13:58:34+0900",
"serverImageProductCode": "SPSW0LINUX000046",
"serverProductCode": "SPSVRSTAND000003",
"isProtectServerTermination": false,
"portForwardingPublicIp": "192.168.120.111",
"zone": {
"zoneNo": "2",
"zoneName": "KR-1",
"zoneCode": "KR-1",
"zoneDescription": "KR-1 zone",
"regionNo" : "1"
},
"region": {
"regionNo": "1",
"regionCode": "KR",
"regionName": "Korea"
},
"baseBlockStorageDiskType": {
"code": "NET",
"codeName": "Network Storage"
},
"baseBlockStroageDiskDetailType": {
"code": "HDD",
"codeName": "HDD"
},
"userData": "",
"accessControlGroupList": [
{
"accessControlGroupConfigurationNo": "1038",
"accessControlGroupName": "ncloud-default-acg",
"accessControlGroupDescription": "Default AccessControlGroup",
"isDefault": true,
"createDate": "2013-12-03T10:37:39+0900"
}
]
},
"instanceTagList" : [],
"zone": {
"zoneNo": "2",
"zoneName": "KR-1",
"zoneCode": "KR-1",
"zoneDescription": "KR-1 zone",
"regionNo" : "1"
}
}
]
}
}
<?xml version="1.0" encoding="UTF-8" ?>
<disassociatePublicIpFromServerInstanceResponse>
<requestId>fa91c4e8-eb04-4bb1-84ab-297154d18fcd</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>1</totalRows>
<publicIpInstanceList>
<publicIpInstanceNo>397266</publicIpInstanceNo>
<publicIp>192.168.60.126</publicIp>
<publicIpDescription></publicIpDescription>
<createDate>2018-02-23T14:10:01+0900</createDate>
<publicIpInstanceStatusName>disusing</publicIpInstanceStatusName>
<publicIpInstanceStatus>
<code>USED</code>
<codeName>NET USED state</codeName>
</publicIpInstanceStatus>
<publicIpInstanceOperation>
<code>DISUS</code>
<codeName>NET DISUSE OP</codeName>
</publicIpInstanceOperation>
<publicIpKindType>
<code>GEN</code>
<codeName>General</codeName>
</publicIpKindType>
<serverInstanceAssociatedWithPublicIp>
<serverInstanceNo>397255</serverInstanceNo>
<serverName>ncloud-mktest</serverName>
<serverDescription></serverDescription>
<cpuCount>1</cpuCount>
<memorySize>2147483648</memorySize>
<baseBlockStorageSize>53687091200</baseBlockStorageSize>
<platformType>
<code>LNX64</code>
<codeName>Linux 64 Bit</codeName>
</platformType>
<loginKeyName>ysw</loginKeyName>
<isFeeChargingMonitoring>false</isFeeChargingMonitoring>
<publicIp>192.168.60.126</publicIp>
<privateIp>10.113.245.112</privateIp>
<serverImageName>centos-7.3-64</serverImageName>
<serverInstanceStatus>
<code>RUN</code>
<codeName>Server RUN State</codeName>
</serverInstanceStatus>
<serverInstanceOperation>
<code>NULL</code>
<codeName>Server NULL OP</codeName>
</serverInstanceOperation>
<serverInstanceStatusName>running</serverInstanceStatusName>
<createDate>2018-02-23T13:55:34+0900</createDate>
<uptime>2018-02-23T13:58:34+0900</uptime>
<serverImageProductCode>SPSW0LINUX000046</serverImageProductCode>
<serverProductCode>SPSVRSTAND000003</serverProductCode>
<isProtectServerTermination>false</isProtectServerTermination>
<portForwardingPublicIp>192.168.120.111</portForwardingPublicIp>
<zone>
<zoneNo>2</zoneNo>
<zoneName>KR-1</zoneName>
<zoneCode>KR-1</zoneCode>
<zoneDescription>KR-1 zone</zoneDescription>
<regionNo>1</regionNo>
</zone>
<region>
<regionNo>1</regionNo>
<regionCode>KR</regionCode>
<regionName>Korea</regionName>
</region>
<baseBlockStorageDiskType>
<code>NET</code>
<codeName>Network Storage</codeName>
</baseBlockStorageDiskType>
<baseBlockStroageDiskDetailType>
<code>HDD</code>
<codeName>HDD</codeName>
</baseBlockStroageDiskDetailType>
<userData></userData>
<accessControlGroupList>
<accessControlGroupConfigurationNo>1038</accessControlGroupConfigurationNo>
<accessControlGroupName>ncloud-default-acg</accessControlGroupName>
<accessControlGroupDescription>Default AccessControlGroup</accessControlGroupDescription>
<isDefault>true</isDefault>
<createDate>2013-12-03T10:37:39+0900</createDate>
</accessControlGroupList>
</serverInstanceAssociatedWithPublicIp>
<instanceTagList/>
<zone>
<zoneNo>2</zoneNo>
<zoneName>KR-1</zoneName>
<zoneCode>KR-1</zoneCode>
<zoneDescription>KR-1 zone</zoneDescription>
<regionNo>1</regionNo>
</zone>
</publicIpInstanceList>
</disassociatePublicIpFromServerInstanceResponse>
Was this article helpful?