setNasVolumeReturnProtection
- 인쇄
- PDF
setNasVolumeReturnProtection
- 인쇄
- PDF
기사 요약
이 요약이 도움이 되었나요?
의견을 보내 주셔서 감사합니다.
개요
NAS 볼륨 반납 보호 여부를 설정합니다.
요청
요청 파라미터
파라미터명 | 필수 여부 | 타입 | 제약 사항 | 설명 |
---|---|---|---|---|
regionCode | No | String | - 리전 코드 반납 보호 여부를 설정할 NAS 볼륨 인스턴스의 리전(Region) 결정 regionCode : getRegionList 액션을 통해 획득 Default : getRegionList 조회 결과의 첫 번째 리전 선택 | |
nasVolumeInstanceNo | Yes | String | - 반납 보호 여부를 설정할 NAS 볼륨 인스턴스 번호 nasVolumeInstanceNo : getNasVolumeInstanceList 액션을 통해 획득 | |
isReturnProtection | Yes | Boolean | - 반납 보호 여부 Options : true | false |
응답
응답 데이터 타입
- NasVolumeInstanceList 타입
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; |
예시
요청 예시
ncloud vnas setNasVolumeReturnProtection --regionCode FKR --nasVolumeInstanceNo ***3901 --isReturnProtection true
응답 예시
<setNasVolumeReturnProtectionResponse>
<requestId>b6a4308d-48f3-4f0d-90a0-c00f3c41da54</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>536870912000</volumeTotalSize>
<volumeSize>536870912000</volumeSize>
<snapshotVolumeConfigurationRatio>0.0</snapshotVolumeConfigurationRatio>
<snapshotVolumeSize>0</snapshotVolumeSize>
<isSnapshotConfiguration>false</isSnapshotConfiguration>
<isEventConfiguration>false</isEventConfiguration>
<regionCode>FKR</regionCode>
<zoneCode>FKR-1</zoneCode>
<nasVolumeServerInstanceNoList>
<serverInstanceNo>***4299</serverInstanceNo>
</nasVolumeServerInstanceNoList>
<isEncryptedVolume>false</isEncryptedVolume>
<nasVolumeInstanceCustomIpList/>
<isReturnProtection>true</isReturnProtection>
</nasVolumeInstance>
</nasVolumeInstanceList>
</setNasVolumeReturnProtectionResponse>
이 문서가 도움이 되었습니까?