Class: OneviewSDK::API300::Synergy::VolumeTemplate

Inherits:
OneviewSDK::API200::VolumeTemplate show all
Defined in:
lib/oneview-sdk/resource/api300/synergy/volume_template.rb

Overview

Volume Template resource implementation for API300 Synergy

Constant Summary

Constants inherited from OneviewSDK::API200::VolumeTemplate

OneviewSDK::API200::VolumeTemplate::BASE_URI, OneviewSDK::API200::VolumeTemplate::DEFAULT_REQUEST_HEADER

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

Instance Method Summary collapse

Methods inherited from OneviewSDK::API200::VolumeTemplate

#create, #delete, #get_connectable_volume_templates, #set_provisioning, #set_snapshot_pool, #set_storage_system, #update

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, #like?, #refresh, #retrieve!, #schema, schema, #set, #set_all, #to_file, #update

Constructor Details

#initialize(client, params = {}, api_ver = nil) ⇒ VolumeTemplate

Create the client object, establishes connection, and set up the logging and api version. Defaults to client.api_version if exists, or OneviewSDK::Client::DEFAULT_API_VERSION. Defaults type to StorageVolumeTemplate when API version is 120 Defaults type to StorageVolumeTemplateV3 when API version is 200

Parameters:

  • client (OneviewSDK::Client)

    The client object for the OneView appliance

  • params (Hash) (defaults to: {})

    The options for this resource (key-value pairs)

  • api_ver (Integer) (defaults to: nil)

    The api version to use when interracting with this resource.



26
27
28
# File 'lib/oneview-sdk/resource/api300/synergy/volume_template.rb', line 26

def initialize(client, params = {}, api_ver = nil)
  super
end