setNasVolumeReturnProtection
- 인쇄
- PDF
setNasVolumeReturnProtection
- 인쇄
- PDF
기사 요약
이 요약이 도움이 되었나요?
의견을 보내 주셔서 감사합니다.
Classic 환경에서 이용 가능합니다.
개요
NAS 볼륨 반납 보호 여부를 설정합니다.
요청
요청 파라미터
파라미터명 | 필수 여부 | 타입 | 제약 사항 | 설명 |
---|---|---|---|---|
nasVolumeInstanceNo | Yes | String | - 반납 보호 여부를 설정할 NAS 볼륨 인스턴스 번호 nasVolumeInstanceNo는 getNasVolumeInstanceList 액션을 통해서 획득 가능 | |
isReturnProtection | Yes | Boolean | - 반납 보호 여부 Options : true | false |
응답
응답 데이터 타입
- NasVolumeInstanceList 타입
NasVolumeInstanceList extends CommonResponse |
---|
private int totalRows; |
private List |
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 CommonCode snapshotVolumeConfigDayOfWeekType; |
private String volumeName; |
private long volumeTotalSize; |
private long volumeSize; |
private float snapshotVolumeConfigurationRatio; |
private CommonCode snapshotVolumeConfigPeriodType; |
private Integer snapshotVolumeConfigTime; |
private long snapshotVolumeSize; |
private Boolean isSnapshotConfiguration; |
private Boolean isEventConfiguration; |
private Region region; |
private Zone zone; |
private Boolean isReturnProtection; |
private List |
private List |
예시
요청 예시
ncloud server setNasVolumeReturnProtection --nasVolumeInstanceNo ***3901 --isReturnProtection true
응답 예시
<setNasVolumeReturnProtectionResponse>
<requestId>4bdfecee-76a8-487e-8c00-54733badf386</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>1</totalRows>
<nasVolumeInstanceList>
<nasVolumeInstance>
<nasVolumeInstanceNo>1084361</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-11-26T19:40:14+0900</createDate>
<nasVolumeDescription></nasVolumeDescription>
<mountInformation>10.250.53.74:/n2532613_testnas</mountInformation>
<volumeAllotmentProtocolType>
<code>NFS</code>
<codeName>NFS</codeName>
</volumeAllotmentProtocolType>
<volumeName>n2532613_testnas</volumeName>
<volumeTotalSize>536870912000</volumeTotalSize>
<volumeSize>536870912000</volumeSize>
<snapshotVolumeConfigurationRatio>0.0</snapshotVolumeConfigurationRatio>
<snapshotVolumeSize>0</snapshotVolumeSize>
<isSnapshotConfiguration>false</isSnapshotConfiguration>
<isEventConfiguration>false</isEventConfiguration>
<region>
<regionNo>1</regionNo>
<regionCode>KR</regionCode>
<regionName>Korea</regionName>
</region>
<zone>
<zoneNo>3</zoneNo>
<zoneName>KR-2</zoneName>
<zoneCode>KR-2</zoneCode>
<zoneDescription>평촌 zone</zoneDescription>
<regionNo>1</regionNo>
</zone>
<isReturnProtection>true</isReturnProtection>
<nasVolumeInstanceCustomIpList/>
<nasVolumeServerInstanceList/>
</nasVolumeInstance>
</nasVolumeInstanceList>
</setNasVolumeReturnProtectionResponse>
이 문서가 도움이 되었습니까?