setNasVolumeReturnProtection
    • PDF

    setNasVolumeReturnProtection

    • PDF

    Article Summary

    개요

    NAS 볼륨 반납 보호 여부를 설정합니다.

    요청

    요청 파라미터

    파라미터명필수 여부타입제약 사항설명
    regionCodeNoString- 리전 코드
    반납 보호 여부를 설정할 NAS 볼륨 인스턴스의 리전(Region) 결정
    regionCode : getRegionList 액션을 통해 획득
    Default : getRegionList 조회 결과의 첫 번째 리전 선택
    nasVolumeInstanceNoYesString- 반납 보호 여부를 설정할 NAS 볼륨 인스턴스 번호
    nasVolumeInstanceNo : getNasVolumeInstanceList 액션을 통해 획득
    isReturnProtectionYesBoolean- 반납 보호 여부
    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>
    

    이 문서가 도움이 되었습니까?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.