deleteNasVolumeInstance
- Print
- PDF
deleteNasVolumeInstance
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Can be used in a Classic environment.
Overview
Deletes a NAS volume instance.
Description
Delete a NAS volume instance.
Request parameter
Parameter name | Requirement status | Type | Restrictions | Description |
---|---|---|---|---|
nasVolumeInstanceNo | Yes | String | - NAS volume instance number You can obtain nasVolumeInstanceNo through the getNasVolumeInstanceList action. | |
isAsync | No | Boolean | - Async status Options: true | false Default: false |
Response data type
- NasVolumeInstanceList type
NasVolumeInstanceList extends CommonResponse |
---|
private Integer totalRows; |
private List<NasVolumeInstance> nasVolumeInstanceList = new ArrayList<NasVolumeInstance>(); |
NasVolumeInstance |
---|
private String nasVolumeInstanceNo; |
private CommonCode nasVolumeInstanceStatus; |
private CommonCode nasVolumeInstanceOperation; |
private String nasVolumeInstanceStatusName; |
private Date createDate; |
private String nasVolumeInstanceDescription; |
private String mountInformation; |
private CommonCode volumeAllotmentProtocolType; |
private String volumeName; |
private long volumeTotalSize; |
private long volumeSize; |
private float snapshotVolumeConfigurationRatio; |
private CommonCode snapshotVolumeConfigPeriodType |
private CommonCode snapshotVolumeConfigDayOfWeekType; |
private Integer snapshotVolumeConfigTime; |
private long snapshotVolumeSize; |
private boolean isSnapshotConfiguration; |
private boolean isEventConfiguration; |
private Region region; |
private Zone zone; |
private Boolean isReturnProtection; |
private List<NasVolumeInstanceCustomIp> nasVolumeInstanceCustomIpList = new ArrayList<NasVolumeInstanceCustomIp>(); |
private List<ServerInstance> nasVolumeServerInstanceList = new ArrayList<ServerInstance>(); |
Examples
Call
ncloud server deleteNasVolumeInstance --nasVolumeInstanceNo ***7032
Response
{
"deleteNasVolumeInstanceResponse": {
"requestId": "f8ee6ae3-2f6d-493b-abfa-9b347cda8500",
"returnCode": "0",
"returnMessage": "success",
"totalRows": 1,
"nasVolumeInstanceList": [
{
"nasVolumeInstanceNo": "***7032",
"nasVolumeInstanceStatus": {
"code": "CREAT",
"codeName": "NAS create"
},
"nasVolumeInstanceOperation": {
"code": "NULL",
"codeName": "NAS NULL OP"
},
"nasVolumeInstanceStatusName": "created",
"createDate": "2018-02-20T12:36:53+0000",
"nasVolumeInstanceDescription": "",
"mountInformation": "***.***.84.81:/n***212_abcd",
"volumeAllotmentProtocolType": {
"code": "NFS",
"codeName": "NFS"
},
"volumeName": "n***212_abcd",
"volumeTotalSize": 10737418240,
"volumeSize": 10737418240,
"snapshotVolumeConfigurationRatio": 0.0,
"snapshotVolumeSize": 0,
"isSnapshotConfiguration": false,
"isEventConfiguration": true,
"region": {
"regionNo": "1",
"regionCode": "KR",
"regionName": "Korea"
},
"zone": {
"zoneNo": "2",
"zoneName": "KR-1",
"zoneCode": "KR-1",
"zoneDescription": "KR-1 zone",
"regionNo": "1"
},
"isReturnProtection": false,
"nasVolumeInstanceCustomIpList": [
{
"customIp": "***.***.240.110"
}
],
"nasVolumeServerInstanceList": []
}
]
}
}
<?xml version="1.0" encoding="UTF-8" ?>
<deleteNasVolumeInstanceResponse>
<requestId>f8ee6ae3-2f6d-493b-abfa-9b347cda8500</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>1</totalRows>
<nasVolumeInstanceList>
<nasVolumeInstanceNo>***7032</nasVolumeInstanceNo>
<nasVolumeInstanceStatus>
<code>CREAT</code>
<codeName>NAS create</codeName>
</nasVolumeInstanceStatus>
<nasVolumeInstanceOperation>
<code>NULL</code>
<codeName>NAS NULL OP</codeName>
</nasVolumeInstanceOperation>
<nasVolumeInstanceStatusName>created</nasVolumeInstanceStatusName>
<createDate>2018-02-20T12:36:53+0000</createDate>
<nasVolumeInstanceDescription></nasVolumeInstanceDescription>
<mountInformation>***.***.84.81:/n***212_abcd</mountInformation>
<volumeAllotmentProtocolType>
<code>NFS</code>
<codeName>NFS</codeName>
</volumeAllotmentProtocolType>
<volumeName>n***212_abcd</volumeName>
<volumeTotalSize>10737418240</volumeTotalSize>
<volumeSize>10737418240</volumeSize>
<snapshotVolumeConfigurationRatio>0</snapshotVolumeConfigurationRatio>
<snapshotVolumeSize>0</snapshotVolumeSize>
<isSnapshotConfiguration>false</isSnapshotConfiguration>
<isEventConfiguration>true</isEventConfiguration>
<region>
<regionNo>1</regionNo>
<regionCode>KR</regionCode>
<regionName>Korea</regionName>
</region>
<zone>
<zoneNo>2</zoneNo>
<zoneName>KR-1</zoneName>
<zoneCode>KR-1</zoneCode>
<zoneDescription>KR-1 zone</zoneDescription>
<regionNo>1</regionNo>
</zone>
<isReturnProtection>false</isReturnProtection>
<nasVolumeInstanceCustomIpList>
<customIp>***.***.240.110</customIp>
</nasVolumeInstanceCustomIpList>
<nasVolumeServerInstanceList/>
</nasVolumeInstanceList>
</deleteNasVolumeInstanceResponse>
Was this article helpful?