changeNasVolumeSize
- Print
- PDF
changeNasVolumeSize
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Can be used in a VPC environment.
Overview
Changes the volume size of NAS volume instances.
Request
Request parameter
Parameter name | Requirement status | Type | Restrictions | Description |
---|---|---|---|---|
regionCode | No | String | - Region code Decides the region of the NAS volume instance to be resized. regionCode can be obtained through the getRegionList action. Default: Selects the first region of the getRegionList search results. | |
nasVolumeInstanceNo | Yes | String | - Instance number of NAS volume to be resized nasVolumeInstanceNo can be obtained through the getNasVolumeInstanceList action. | |
volumeSize | Yes | Integer | Min : 500, Max : 10000 GB Entered in 100 GB units. | Volume size to be resized to |
isAsync | No | Boolean | - Async status Options : true | false Default : false |
Response
Response data type
- NasVolumeInstanceList type
NasVolumeInstanceList extends CommonResponse |
---|
private Integer totalRows; |
private List<NasVolumeInstance> nasVolumeInstanceList = new ArrayList<>(); |
NasVolumeInstance |
---|
private String nasVolumeInstanceNo; |
private CommonCode nasVolumeInstanceStatus; |
private CommonCode nasVolumeInstanceOperation; |
private String nasVolumeInstanceStatusName; |
private Date createDate; |
private String nasVolumeDescription; |
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 String regionCode; |
private String zoneCode; |
private ServerInstanceNoList nasVolumeServerInstanceNoList; |
private Boolean isEncryptedVolume; |
private List<NasVolumeInstanceCustomIp> nasVolumeInstanceCustomIpList; |
private Boolean isReturnProtection; |
NasVolumeInstanceCustomIp |
---|
private String customIp; |
Examples
Request examples
ncloud vnas changeNasVolumeSize --regionCode KR --nasVolumeInstanceNo ***3901 --volumeSize 600
Response examples
<changeNasVolumeSizeResponse>
<requestId>58daf0a9-9f8b-4196-935f-76d80453ab34</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>1</totalRows>
<nasVolumeInstanceList>
<nasVolumeInstance>
<nasVolumeInstanceNo>***3901</nasVolumeInstanceNo>
<nasVolumeInstanceStatus>
<code>CREAT</code>
<codeName>NAS create</codeName>
</nasVolumeInstanceStatus>
<nasVolumeInstanceOperation>
<code>NULL</code>
<codeName>NAS NULL OP</codeName>
</nasVolumeInstanceOperation>
<nasVolumeInstanceStatusName></nasVolumeInstanceStatusName>
<createDate>1970-01-01T09:00:02+0900</createDate>
<nasVolumeDescription></nasVolumeDescription>
<mountInformation>***.***.0.20:/n***4567_test***</mountInformation>
<volumeAllotmentProtocolType>
<code>NFS</code>
<codeName>NFS</codeName>
</volumeAllotmentProtocolType>
<volumeName>n***4567_test***</volumeName>
<volumeTotalSize>644245094400</volumeTotalSize>
<volumeSize>644245094400</volumeSize>
<snapshotVolumeConfigurationRatio>0.0</snapshotVolumeConfigurationRatio>
<snapshotVolumeSize>0</snapshotVolumeSize>
<isSnapshotConfiguration>false</isSnapshotConfiguration>
<isEventConfiguration>false</isEventConfiguration>
<regionCode>KR</regionCode>
<zoneCode>KR-1</zoneCode>
<nasVolumeServerInstanceNoList/>
<isEncryptedVolume>false</isEncryptedVolume>
<nasVolumeInstanceCustomIpList/>
<isReturnProtection>false</isReturnProtection>
</nasVolumeInstance>
</nasVolumeInstanceList>
</changeNasVolumeSizeResponse>
Was this article helpful?