deleteNatGatewayInstance
- Print
- PDF
deleteNatGatewayInstance
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Available in VPC
Overview
Delete NAT Gateway instance.
Requests
Request parameters
Parameter name | Required | Type | Restrictions | Description |
---|---|---|---|---|
regionCode | No | String | - Region code Can determine the region of the NAT Gateway instance to be deleted regionCode can be obtained via the getRegionList action Default: select the first region from getRegionList search results | |
natGatewayInstanceNo | Yes | String | - NAT Gateway instance number to be deleted natGatewayInstanceNo can be obtained via the getNatGatewayInstanceList action | |
returnPublicIpInstance | No | Boolean | - Return the Public IP Instance assigned to the Public NAT Gateway of the NAT Gateway product together (Default: true) | |
responseFormatType | No | String | - Format type of the response result Options : xml | json Default : xml |
Responses
Response data type
- NatGatewayInstanceList type
NatGatewayInstanceList extends CommonResponse |
---|
private Integer totalRows; |
private List |
NatGatewayInstance |
---|
private String vpcNo; |
private String vpcName; |
private String natGatewayInstanceNo; |
private String natGatewayName; |
private String publicIp; |
private CommonCode natGatewayInstanceStatus; |
private String natGatewayInstanceStatusName; |
private CommonCode natGatewayInstanceOperation; |
private Date createDate; |
private String natGatewayDescription; |
private String zoneCode; |
Examples
Request examples
ncloud vpc deleteNatGatewayInstance --regionCode KR --natGatewayInstanceNo ***9734
Response examples
<deleteNatGatewayInstanceResponse>
<requestId>baac40a2-9a13-4fd0-9e53-3af315f29445</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>1</totalRows>
<natGatewayInstanceList>
<natGatewayInstance>
<vpcNo>***04</vpcNo>
<vpcName>test-***</vpcName>
<natGatewayInstanceNo>***9734</natGatewayInstanceNo>
<natGatewayName>test-***</natGatewayName>
<publicIp>***.***.109.101</publicIp>
<natGatewayInstanceStatus>
<code>RUN</code>
<codeName>run</codeName>
</natGatewayInstanceStatus>
<natGatewayInstanceStatusName>In operation</natGatewayInstanceStatusName>
<natGatewayInstanceOperation>
<code>NULL</code>
<codeName>NULL OP</codeName>
</natGatewayInstanceOperation>
<createDate>2020-08-07T16:05:52+0900</createDate>
<natGatewayDescription></natGatewayDescription>
<zoneCode>KR-1</zoneCode>
</natGatewayInstance>
</natGatewayInstanceList>
</deleteNatGatewayInstanceResponse>
Was this article helpful?