MENU
      removeNasVolumeAccessControl

        removeNasVolumeAccessControl


        Article summary

        Can be used in a VPC environment.

        Overview

        Removes the access control set by using the server instance number from NAS volume instances whose volume assignment protocol is NFS.
        You can view the access control permissions that have been set up through the getNasVolumeAccessControlRuleList action.

        Request

        Request parameter

        Parameter nameRequirement statusTypeRestrictionsDescription
        regionCodeNoString- Region code
        Determines the region of the NAS volume instance from which access control will be removed.
        regionCode can be obtained through the getRegionList action.
        Default: Selects the first region of the getRegionList search results.
        nasVolumeInstanceNoYesString- Instance number of NAS volume from which access control will be removed
        nasVolumeInstanceNo can be obtained through the getNasVolumeInstanceList action.
        Access control can only be set up for the NAS volume instances whose volume assignment protocol type is NFS.
        serverInstanceNoList.NYesList- List of the server instance numbers to be removed from the access control
        serverInstanceNo can be obtained through the getServerInstanceList action.
        ex) --serverInstanceNoList 1234 2345

        Response

        Response data type

        • NasVolumeInstanceList type
        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;

        Examples

        Request examples

        ncloud vnas removeNasVolumeAccessControl --regionCode KR --nasVolumeInstanceNo ***3901 --serverInstanceNoList ***4299
        Plain text

        Response examples

        <removeNasVolumeAccessControlResponse>
          <requestId>d723a1d8-6f78-47f0-86d1-e353e0365110</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>KR</regionCode>
              <zoneCode>KR-1</zoneCode>
              <nasVolumeServerInstanceNoList/>
              <isEncryptedVolume>false</isEncryptedVolume>
              <nasVolumeInstanceCustomIpList/>
              <isReturnProtection>false</isReturnProtection>
            </nasVolumeInstance>
          </nasVolumeInstanceList>
        </removeNasVolumeAccessControlResponse>
        XML

        Was this article helpful?

        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.