Skip to content

Latest commit

 

History

History
36 lines (30 loc) · 1.45 KB

File metadata and controls

36 lines (30 loc) · 1.45 KB

NetworkStorageApi::StorageNetwork

Properties

Name Type Description Notes
id String Storage network ID. [optional]
name String Storage network friendly name. [optional]
description String Storage network description. [optional]
status Status [optional]
location String Location of storage network. Currently this field should be set to `PHX` or `ASH`. [optional]
network_id String Id of network the storage belongs to. [optional]
ips Array<String> IP of the storage network. [optional]
created_on Time Date and time when this storage network was created. [optional]
delete_requested_on Time Date and time of the initial request for storage network deletion. [optional]
volumes Array<Volume> Volume for a storage network. [optional]

Example

require 'pnap_network_storage_api'

instance = NetworkStorageApi::StorageNetwork.new(
  id: 603f3b2cfcaf050643b89a4b,
  name: My storage network,
  description: My storage network description,
  status: null,
  location: PHX,
  network_id: 603f3b2cfcaf050643b89a4b,
  ips: [&quot;100.64.0.1&quot;,&quot;100.64.0.2&quot;],
  created_on: 2021-03-13T20:24:32.491Z,
  delete_requested_on: 2022-04-07T08:50:20.359Z,
  volumes: null
)