Class: Saklient::Cloud::Resources::VpcRouter

Inherits:
Appliance show all
Defined in:
lib/saklient/cloud/resources/vpc_router.rb

Overview

ロードバランサの実体1つに対応し, 属性の取得や操作を行うためのクラス.

Instance Attribute Summary

Attributes inherited from Appliance

#availability, #clazz, #description, #icon, #id, #ifaces, #name, #plan_id, #raw_annotation, #raw_settings, #raw_settings_hash, #service_class, #status, #swytch_id, #tags

Attributes inherited from Resource

#client

Instance Method Summary collapse

Methods inherited from Appliance

#_class_name, #_id, #apply, #boot, #get_swytch, #reboot, #reload, #save, #shutdown, #sleep_until_down, #sleep_until_up, #sleep_while_creating, #stop

Methods inherited from Resource

#_class_name, #_id, #api_deserialize, #api_serialize, create_with, #destroy, #dump, #exists, #request_retry, #set_param

Constructor Details

#initialize(client, obj, wrapped = false) ⇒ VpcRouter

Returns a new instance of VpcRouter.

Parameters:



20
21
22
23
24
# File 'lib/saklient/cloud/resources/vpc_router.rb', line 20

def initialize(client, obj, wrapped = false)
  super(client, obj, wrapped)
  Saklient::Util::validate_type(client, 'Saklient::Cloud::Client')
  Saklient::Util::validate_type(wrapped, 'bool')
end