Class: OneviewSDK::API600::C7000::StoragePool

Inherits:
OneviewSDK::API500::C7000::StoragePool show all
Defined in:
lib/oneview-sdk/resource/api600/c7000/storage_pool.rb

Overview

Storage pool resource implementation for API600 C7000

Constant Summary

Constants inherited from OneviewSDK::API500::C7000::StoragePool

OneviewSDK::API500::C7000::StoragePool::BASE_URI, OneviewSDK::API500::C7000::StoragePool::UNIQUE_IDENTIFIERS

Constants inherited from Resource

Resource::BASE_URI, Resource::DEFAULT_REQUEST_HEADER, Resource::UNIQUE_IDENTIFIERS

Instance Attribute Summary

Attributes inherited from Resource

#api_version, #client, #data, #logger

Class Method Summary collapse

Methods inherited from OneviewSDK::API500::C7000::StoragePool

#create, #create!, #delete, #exists?, #initialize, #manage, #request_refresh, #retrieve!, #set_storage_system

Methods inherited from Resource

#==, #[], #[]=, build_query, #create, #create!, #deep_merge!, #delete, #each, #eql?, #exists?, find_by, find_with_pagination, from_file, get_all, get_all_with_query, #initialize, #like?, #refresh, #retrieve!, schema, #schema, #set, #set_all, #to_file, #update

Constructor Details

This class inherits a constructor from OneviewSDK::API500::C7000::StoragePool

Class Method Details

.reachable(client, query = nil) ⇒ Array<OneviewSDK::StoragePool>

Gets the storage pools that are connected on the specified networks based on the storage system port’s expected network connectivity.

Parameters:

  • client (OneviewSDK::Client)

    The client object for the OneView appliance

  • query (Dict<Resource>) (defaults to: nil)

    The query parameters to be used as a filter

Returns:

  • (Array<OneviewSDK::StoragePool>)

    the list of storage pools



23
24
25
26
27
28
# File 'lib/oneview-sdk/resource/api600/c7000/storage_pool.rb', line 23

def self.reachable(client, query = nil)
  uri = self::BASE_URI + '/reachable-storage-pools'
  query_uri = build_query(query)
  uri += query_uri
  find_with_pagination(client, uri)
end