Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 1.12 KB

File metadata and controls

26 lines (20 loc) · 1.12 KB

NetworkStorageApi::StorageNetworkVolumeCreate

Properties

Name Type Description Notes
name String Volume friendly name.
description String Volume description. [optional]
path_suffix String Last part of volume's path. [optional]
capacity_in_gb Integer Capacity of Volume in GB. Currently only whole numbers and multiples of 1000GB are supported.
tags Array<TagAssignmentRequest> Tags to set to the resource. To create a new tag or list all the existing tags that you can use, refer to Tags API. [optional]

Example

require 'pnap_network_storage_api'

instance = NetworkStorageApi::StorageNetworkVolumeCreate.new(
  name: My volume name,
  description: My volume description,
  path_suffix: /shared-docs,
  capacity_in_gb: 2000,
  tags: [{&quot;name&quot;:&quot;stage&quot;,&quot;value&quot;:&quot;beta&quot;},{&quot;name&quot;:&quot;group&quot;,&quot;value&quot;:&quot;discounted&quot;}]
)