Class: Saklient::Cloud::Resources::ServerPlan
- Inherits:
-
Resource
- Object
- Resource
- Saklient::Cloud::Resources::ServerPlan
- Defined in:
- lib/saklient/cloud/resources/server_plan.rb
Overview
サーバプラン情報の1レコードに対応するクラス.
Instance Attribute Summary (collapse)
-
- (Fixnum) cpu
readonly
仮想コア数.
-
- (String) id
readonly
ID.
- - (Fixnum) memory_gib readonly
- - (Fixnum) memory_mib readonly
-
- (String) name
readonly
名前.
-
- (String) service_class
readonly
サービスクラス.
Instance Attribute Details
- (Fixnum) cpu (readonly)
仮想コア数
169 170 171 |
# File 'lib/saklient/cloud/resources/server_plan.rb', line 169 def cpu @cpu end |
- (String) id (readonly)
ID
121 122 123 |
# File 'lib/saklient/cloud/resources/server_plan.rb', line 121 def id @id end |
- (Fixnum) memory_gib (readonly)
97 98 99 |
# File 'lib/saklient/cloud/resources/server_plan.rb', line 97 def memory_gib @memory_gib end |
- (Fixnum) memory_mib (readonly)
193 194 195 |
# File 'lib/saklient/cloud/resources/server_plan.rb', line 193 def memory_mib @memory_mib end |
- (String) name (readonly)
名前
145 146 147 |
# File 'lib/saklient/cloud/resources/server_plan.rb', line 145 def name @name end |
- (String) service_class (readonly)
サービスクラス
217 218 219 |
# File 'lib/saklient/cloud/resources/server_plan.rb', line 217 def service_class @service_class end |