setNasVolumeReturnProtection
    • PDF

    setNasVolumeReturnProtection

    • PDF

    記事の要約

    Classic環境で利用できます。

    概要

    NASボリュームを返却保護するかどうかを設定します。

    リクエスト

    リクエストパラメータ

    パラメータ名必須の有無タイプ制約事項説明
    nasVolumeInstanceNoYesString- 返却保護するかどうかを設定するNASボリュームインスタンス番号
    nasVolumeInstanceNoは、getNasVolumeInstanceListアクションを通じて取得可能
    isReturnProtectionYesBoolean- 返却保護するかどうか
    オプション:true | false

    レスポンス

    レスポンスデータのタイプ

    • NasVolumeInstanceListタイプ
    NasVolumeInstanceList extends CommonResponse
    private int totalRows;
    private List nasVolumeInstanceList = new ArrayList();
    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 nasVolumeInstanceCustomIpList = new ArrayList();
    private List nasVolumeServerInstanceList = new ArrayList();

    リクエスト例

    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>坪村ゾーン</zoneDescription>
            <regionNo>1</regionNo>
          </zone>
          <isReturnProtection>true</isReturnProtection>
          <nasVolumeInstanceCustomIpList/>
          <nasVolumeServerInstanceList/>
        </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.