Class: OneviewSDK::API300::Synergy::ConnectionTemplate

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

Overview

Connection template resource implementation for API300 Synergy

Constant Summary

Constants inherited from OneviewSDK::API200::ConnectionTemplate

OneviewSDK::API200::ConnectionTemplate::BASE_URI

Constants inherited from Resource

Resource::BASE_URI, Resource::UNIQUE_IDENTIFIERS

Instance Attribute Summary

Attributes inherited from Resource

#api_version, #client, #data, #logger

Class Method Summary collapse

Methods inherited from OneviewSDK::API200::ConnectionTemplate

#create, #delete, #initialize

Methods inherited from Resource

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

Constructor Details

This class inherits a constructor from OneviewSDK::API200::ConnectionTemplate

Class Method Details

.get_default(client) ⇒ OneviewSDK::API300::Synergy::ConnectionTemplate

Get the default network connection template

Parameters:

Returns:


23
24
25
26
# File 'lib/oneview-sdk/resource/api300/synergy/connection_template.rb', line 23

def self.get_default(client)
  response = client.rest_get(BASE_URI + '/defaultConnectionTemplate')
  OneviewSDK::API300::Synergy::ConnectionTemplate.new(client, client.response_handler(response))
end