removePlacementGroupServerInstance
- Print
- PDF
removePlacementGroupServerInstance
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Can be used in a VPC environment.
Overview
Remove the server instance from the physical batch group.
Request
Request parameter
Parameter Name | Required Status | Type | Restrictions | Description |
---|---|---|---|---|
regionCode | No | String | Region Code You can decide the region of the physical batch group from which the server instance will be removed. The regionCode can be obtained through the getRegionList action. Default: Select the first region of the getRegionList query results. | |
placementGroupNo | Yes | String | The number of the physical batch group from which the server instance will be removed The placementGroupNo can be obtained through the getPlacementGroupList action. | |
serverInstanceNo | Yes | String | The number of the server instance to be removed The serverInstanceNo can be obtained through the getServerInstanceList action. | |
responseFormatType | No | String | Format type for the response result Options : xml | json Default : xml |
Response
Response data type
- ServerInstanceList type
ServerInstanceList extends CommonResponse |
---|
private Integer totalRows; |
private List<ServerInstance> serverInstanceList = new ArrayList<>(); |
ServerInstance |
---|
private String serverInstanceNo; |
private String serverName; |
private String serverDescription; |
private Integer cpuCount; |
private Long memorySize; |
private CommonCode platformType; |
private String loginKeyName; |
private String publicIpInstanceNo; |
private String publicIp; |
private CommonCode serverInstanceStatus; |
private CommonCode serverInstanceOperation; |
private String serverInstanceStatusName; |
private Date createDate; |
private Date uptime; |
private String serverImageProductCode; |
private String serverProductCode; |
private Boolean isProtectServerTermination; |
private String zoneCode; |
private String regionCode; |
private String vpcNo; |
private String subnetNo; |
private NetworkInterfaceNoList networkInterfaceNoList; |
private String initScriptNo; |
private CommonCode serverInstanceType; |
private CommonCode baseBlockStorageDiskType; |
private CommonCode baseBlockStorageDiskDetailType; |
private String placementGroupNo; |
private String placementGroupName; |
Example
Request example
ncloud vserver removePlacementGroupServerInstance --regionCode KR --placementGroupNo ***61 --serverInstanceNo ***4299
Response example
<removePlacementGroupServerInstanceResponse>
<requestId></requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>1</totalRows>
<serverInstanceList>
<serverInstance>
<serverInstanceNo>***4299</serverInstanceNo>
<serverName>test-***</serverName>
<serverDescription></serverDescription>
<cpuCount>2</cpuCount>
<memorySize>4294967296</memorySize>
<platformType>
<code>LNX64</code>
<codeName>Linux 64 Bit</codeName>
</platformType>
<loginKeyName>test-***</loginKeyName>
<publicIpInstanceNo></publicIpInstanceNo>
<publicIp></publicIp>
<serverInstanceStatus>
<code>RUN</code>
<codeName>Server run state</codeName>
</serverInstanceStatus>
<serverInstanceOperation>
<code>NULL</code>
<codeName>Server NULL OP</codeName>
</serverInstanceOperation>
<serverInstanceStatusName>running</serverInstanceStatusName>
<createDate>2020-08-11T16:24:21+0900</createDate>
<uptime>2020-08-11T16:27:18+0900</uptime>
<serverImageProductCode>SW.VSVR.OS.LNX64.CNTOS.0703.B050</serverImageProductCode>
<serverProductCode>SVR.VSVR.STAND.C002.M004.NET.SSD.B050.G001</serverProductCode>
<isProtectServerTermination>false</isProtectServerTermination>
<zoneCode>KR-1</zoneCode>
<regionCode>KR</regionCode>
<vpcNo>***04</vpcNo>
<subnetNo>***43</subnetNo>
<networkInterfaceNoList>
<networkInterfaceNo>***87</networkInterfaceNo>
</networkInterfaceNoList>
<initScriptNo></initScriptNo>
<serverInstanceType>
<code>STAND</code>
<codeName>Standard</codeName>
</serverInstanceType>
<baseBlockStorageDiskType>
<code>NET</code>
<codeName>Network Storage</codeName>
</baseBlockStorageDiskType>
<baseBlockStorageDiskDetailType>
<code>SSD</code>
<codeName>SSD</codeName>
</baseBlockStorageDiskDetailType>
<placementGroupNo></placementGroupNo>
<placementGroupName></placementGroupName>
</serverInstance>
</serverInstanceList>
</removePlacementGroupServerInstanceResponse>
Was this article helpful?