NetworkStorageApi::Volume
Name
Type
Description
Notes
id
String
Volume ID.
[optional]
name
String
Volume friendly name.
[optional]
description
String
Volume description.
[optional]
path
String
Volume's full path. It is in form of `/{volumeId}/pathSuffix`'.
[optional]
path_suffix
String
Last part of volume's path.
[optional]
capacity_in_gb
Integer
Maximum capacity in GB.
[optional]
used_capacity_in_gb
Integer
Used capacity in GB, updated periodically.
[optional]
protocol
String
File system protocol. Currently this field should be set to `NFS`.
[optional]
status
Status
[optional]
created_on
Time
[optional]
delete_requested_on
Time
Date and time of the initial request for volume deletion.
[optional]
permissions
Permissions
[optional]
tags
Array<TagAssignment>
The tags assigned if any.
[optional]
require 'pnap_network_storage_api'
instance = NetworkStorageApi ::Volume . new (
id : 50 dc434c -9 bba -427 b -bcd6 -0 bdba45c4dd2 ,
name : My volume name ,
description : My volume description ,
path : /qjul77ahf5fplr2ba484/shared -docs ,
path_suffix : /shared -docs ,
capacity_in_gb : 2000 ,
used_capacity_in_gb : 1000 ,
protocol : NFS ,
status : null ,
created_on : 2021 -03 -13 T20 :24 :32.491 Z ,
delete_requested_on : 2022 -04 -07 T08 :50 :20.359 Z ,
permissions : null ,
tags : [ { " ; id " ; :" ; 60 ffafcdffb8b074c7968dad " ; , " ; name " ; :" ; stage " ; , " ; value " ; :" ; beta " ; , " ; isBillingTag " ; :false } , { " ; id " ; :" ; 60 ffafcdffb8b074c7968dae " ; , " ; name " ; :" ; group " ; , " ; value " ; :" ; discounted " ; , " ; isBillingTag " ; :true } ]
)