createNasVolumeInstance
    • PDF

    createNasVolumeInstance

    • PDF

    Article Summary

    The latest service changes have not yet been reflected in this content. We will update the content as soon as possible. Please refer to the Korean version for information on the latest updates.

    Can be used in a VPC environment.

    Overview

    Create NAS volume instances.

    Request

    Request parameter

    Parameter nameRequirement statusTypeRestrictionsDescription
    regionCodeNoString- Region code
    You can decide the region in which the NAS volume instance will be created.
    You can obtain regionCode through the getRegionList action.
    Default: Selects the first region of the getRegionList search results.
    zoneCodeNoString- Zone code
    You can decide the zone where the NAS volume instance will be created.
    You can obtain zoneCode through the getZoneList action.
    Default: Selects the first zone of the getZoneList search results.
    volumeNameNoStringMin: 3, Max: 20
    Only English letters and numbers are allowed.
    - Name of the NAS volume to be created
    Default: NAVER Cloud Platform automatically grants it.
    "nmembernumber_" will automatically be added to the name as a prefix for customer identification.
    volumeAllotmentProtocolTypeCodeYesString- Volume allotment protocol type code
    Options: NFS (can be mounted on Linux servers such as CentOS and Ubuntu)| CIFS (can be mounted on Windows Server)
    volumeSizeYesIntegerMin: 500, Max: 10000 GB
    Entered in 100 GB units.
    Volume size
    accessControlRuleList.N.serverInstanceNoNoString- The server instance number to be set as the access control
    You can obtain serverInstanceNo through the getServerInstanceList action.
    accessControlRuleList.N.writeAccessNoBoolean- Whether writing permission is allowed
    Options: true | false
    Default: true
    cifsUserNameConditionalStringMin: 6, Max: 19
    Only English letters and numbers are allowed.
    - CIFS user name
    When creating a volume with the volume allotment protocol type as CIFS for the first time, the authentication information must be set up.
    The authentication information can't be changed once configured.
    cifsUserPasswordConditionalStringMin: 8, Max: 14
    Only English letters, numbers, and special characters (!@%^&*) are allowed.
    - CIFS user password
    When creating a volume with the volume allotment protocol type as CIFS for the first time, the authentication information must be set up.
    isEncryptedVolumeNoBoolean- Volume encryption status
    Encryption is applied per volume, which can only be applied at the time of initial creation.
    Options: true | false
    Default: false
    isReturnProtectionNoBoolean- Termination protection status
    Termination protection status can be set.
    Options: true | false
    Default: false
    nasVolumeDescriptionNoStringMin: 0, Max: 1000 BytesDescription of the NAS volume to be created
    isAsyncNoBoolean- Async status
    Options: true | false
    Default: false
    responseFormatTypeNoString- Format type of the response result
    Options: xml | json
    Default: xml

    Response

    Response body

    Examples

    Request examples

    GET {API_URL}/vnas/v2/createNasVolumeInstance
    ?regionCode=KR
    &zoneCode=KR-1
    &volumeName=test***
    &volumeAllotmentProtocolTypeCode=NFS
    &volumeSize=500
    &isReturnProtection=false
    

    Response examples

    <createNasVolumeInstanceResponse>
      <requestId>0c607174-7674-419e-96f0-a5a0b15a4554</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>
    </createNasVolumeInstanceResponse>
    

    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.