changeNasVolumeSnapshotConfiguration
    • PDF

    changeNasVolumeSnapshotConfiguration

    • PDF

    Article Summary

    개요

    NAS 볼륨 인스턴스의 스냅샷 설정을 변경합니다.

    요청

    요청 파라미터

    파라미터명필수 여부타입제약 사항설명
    regionCodeNoString- 리전 코드
    스냅샷 설정을 변경할 NAS 볼륨 인스턴스의 리전(Region) 결정
    regionCode : getRegionList 액션을 통해 획득
    Default : getRegionList 조회 결과의 첫 번째 리전 선택
    nasVolumeInstanceNoYesString- 스냅샷 설정을 변경할 NAS 볼륨 인스턴스 번호
    nasVolumeInstanceNo : getNasVolumeInstanceList 액션을 통해 획득
    snapshotVolumeConfigurationRatioYesIntegerMin : 0, Max : 99 (%)- 스냅샷 볼륨 설정 비율
    스냅샷은 신청한 NAS 볼륨 용량을 사용하며, 설정한 비율 내에서 생성 가능
    설정한 스냅샷 용량을 초과하면 과거 스냅샷부터 삭제
    비율을 0으로 설정하면 스냅샷 설정이 해제됨
    snapshotVolumeConfigDayOfWeekTypeCodeNoString- 스냅샷 자동 생성 주기 요일 코드
    스냅샷 자동 생성 설정을 하는 경우에 요일 설정 가능
    스냅샷 볼륨 설정 비율이 0이 아닌 경우에만 유효
    설정한 스냅샷 용량 한도 내에서 자동 주기 생성은 7개, 즉시 생성은 무제한 보관
    Options :
    -1 (매일)
    0 (일요일)
    1 (월요일)
    2 (화요일)
    3 (수요일)
    4 (목요일)
    5 (금요일)
    6 (토요일)
    snapshotVolumeConfigTimeConditionalIntegerMin : 0, Max : 23 (시)- 스냅샷 자동 생성 주기 시간
    스냅샷 자동 생성 설정을 하는 경우에 반드시 시간을 설정

    응답

    응답 데이터 타입

    • NasVolumeInstanceList 타입
    NasVolumeInstanceList extends CommonResponse
    private Integer totalRows;
    private List 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 changeNasVolumeSnapshotConfiguration --regionCode FKR --nasVolumeInstanceNo ***3901 --snapshotVolumeConfigurationRatio 10 --snapshotVolumeConfigDayOfWeekTypeCode "-1" --snapshotVolumeConfigTime 1
    

    응답 예시

    <changeNasVolumeSnapshotConfigurationResponse>
      <requestId></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>10.0</snapshotVolumeConfigurationRatio>
          <snapshotVolumeConfigPeriodType>
            <code>DAY</code>
            <codeName>everyday</codeName>
          </snapshotVolumeConfigPeriodType>
          <snapshotVolumeConfigDayOfWeekType>
            <code>-1</code>
            <codeName>Everyday</codeName>
          </snapshotVolumeConfigDayOfWeekType>
          <snapshotVolumeConfigTime>1</snapshotVolumeConfigTime>
          <snapshotVolumeSize>0</snapshotVolumeSize>
          <isSnapshotConfiguration>true</isSnapshotConfiguration>
          <isEventConfiguration>false</isEventConfiguration>
          <regionCode>FKR</regionCode>
          <zoneCode>FKR-1</zoneCode>
          <nasVolumeServerInstanceNoList>
            <serverInstanceNo>***4299</serverInstanceNo>
          </nasVolumeServerInstanceNoList>
          <isEncryptedVolume>false</isEncryptedVolume>
          <nasVolumeInstanceCustomIpList/>
          <isReturnProtection>false</isReturnProtection>
        </nasVolumeInstance>
      </nasVolumeInstanceList>
    </changeNasVolumeSnapshotConfigurationResponse>
    

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

    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.