Class: OneviewSDK::API600::C7000::VolumeTemplate
- Inherits:
-
OneviewSDK::API500::C7000::VolumeTemplate
- Object
- Resource
- OneviewSDK::API300::C7000::Resource
- OneviewSDK::API500::C7000::Resource
- OneviewSDK::API500::C7000::VolumeTemplate
- OneviewSDK::API600::C7000::VolumeTemplate
- Defined in:
- lib/oneview-sdk/resource/api600/c7000/volume_template.rb
Overview
Volume Template resource implementation for API600 C7000
Direct Known Subclasses
Synergy::VolumeTemplate, OneviewSDK::API800::C7000::VolumeTemplate
Constant Summary collapse
- BASE_URI =
'/rest/storage-volume-templates'.freeze
Constants inherited from Resource
Resource::DEFAULT_REQUEST_HEADER, Resource::UNIQUE_IDENTIFIERS
Instance Attribute Summary
Attributes inherited from Resource
#api_version, #client, #data, #logger
Class Method Summary collapse
-
.get_reachable_volume_templates(client, attributes = {}, query = nil) ⇒ Array
Gets the storage templates that are connected to this set of expected network URIs or that are scoped to the set of scope URIs or which only allow private volumes.
Methods inherited from OneviewSDK::API500::C7000::VolumeTemplate
#delete, #get_compatible_systems, #get_default_value, #lock, #locked?, #set_default_value, #set_root_template, #unlock
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::Resource
Class Method Details
.get_reachable_volume_templates(client, attributes = {}, query = nil) ⇒ Array
Gets the storage templates that are connected to this set of expected network URIs or that are scoped to the set of scope URIs or which only allow private volumes
27 28 29 30 |
# File 'lib/oneview-sdk/resource/api600/c7000/volume_template.rb', line 27 def self.get_reachable_volume_templates(client, attributes = {}, query = nil) query_uri = build_query(query) if query find_by(client, attributes, "#{BASE_URI}/reachable-volume-templates#{query_uri}") end |