Class: Hpe3parSdk::QoSRule
- Inherits:
-
Object
- Object
- Hpe3parSdk::QoSRule
- Defined in:
- lib/Hpe3parSdk/models.rb
Instance Attribute Summary collapse
-
#bw_max_limit_kb ⇒ Object
- type - Number
-
Bandwidth maximum limit in kilobytes per second.
-
#bw_min_goal_kb ⇒ Object
- type - Number
-
Bandwidth minimum goal in kilobytes per second.
-
#domain ⇒ Object
- type - String
-
Name of the domain.
-
#enabled ⇒ Object
- type - Boolean
-
QoS state of the target.
-
#id ⇒ Object
- type - Number
-
ID of the QoS target.
-
#io_max_limit ⇒ Object
- type - Number
-
I/O-per-second maximum limit.
-
#io_min_goal ⇒ Object
- type - Number
-
I/O-per-second minimum goal.
-
#latency_goal ⇒ Object
- type - Number
-
Latency goal in milliseconds.
-
#latency_goal_usecs ⇒ Object
- type - Number
-
Latency goal in microseconds.
-
#name ⇒ Object
- type - String
-
Name of the target.
-
#priority ⇒ Object
- type - Hpe3parSdk::QoSpriorityEnumeration
-
QoS priority.
-
#type ⇒ Object
- type - Hpe3parSdk::QoStargetType
-
Type of QoS target.
Instance Method Summary collapse
-
#initialize(object_hash) ⇒ QoSRule
constructor
A new instance of QoSRule.
Constructor Details
#initialize(object_hash) ⇒ QoSRule
Returns a new instance of QoSRule.
490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 |
# File 'lib/Hpe3parSdk/models.rb', line 490 def initialize(object_hash) if object_hash == nil return end self.id = object_hash['id'] self.type = object_hash['type'] self.name = object_hash['name'] self.domain = object_hash['domain'] self.enabled = object_hash['enabled'] self.priority = object_hash['priority'] self.bw_min_goal_kb = object_hash['bwMinGoalKB'] self.bw_max_limit_kb = object_hash['bwMaxLimitKB'] self.io_min_goal = object_hash['ioMinGoal'] self.io_max_limit = object_hash['ioMaxLimit'] self.latency_goal = object_hash['latencyGoal'] self.latency_goal_usecs = object_hash['latencyGoaluSecs'] end |
Instance Attribute Details
#bw_max_limit_kb ⇒ Object
- type - Number
-
Bandwidth maximum limit in kilobytes per second.
472 473 474 |
# File 'lib/Hpe3parSdk/models.rb', line 472 def bw_max_limit_kb @bw_max_limit_kb end |
#bw_min_goal_kb ⇒ Object
- type - Number
-
Bandwidth minimum goal in kilobytes per second.
468 469 470 |
# File 'lib/Hpe3parSdk/models.rb', line 468 def bw_min_goal_kb @bw_min_goal_kb end |
#domain ⇒ Object
- type - String
-
Name of the domain.
456 457 458 |
# File 'lib/Hpe3parSdk/models.rb', line 456 def domain @domain end |
#enabled ⇒ Object
- type - Boolean
-
QoS state of the target.
460 461 462 |
# File 'lib/Hpe3parSdk/models.rb', line 460 def enabled @enabled end |
#id ⇒ Object
- type - Number
-
ID of the QoS target.
444 445 446 |
# File 'lib/Hpe3parSdk/models.rb', line 444 def id @id end |
#io_max_limit ⇒ Object
- type - Number
-
I/O-per-second maximum limit.
480 481 482 |
# File 'lib/Hpe3parSdk/models.rb', line 480 def io_max_limit @io_max_limit end |
#io_min_goal ⇒ Object
- type - Number
-
I/O-per-second minimum goal.
476 477 478 |
# File 'lib/Hpe3parSdk/models.rb', line 476 def io_min_goal @io_min_goal end |
#latency_goal ⇒ Object
- type - Number
-
Latency goal in milliseconds.
484 485 486 |
# File 'lib/Hpe3parSdk/models.rb', line 484 def latency_goal @latency_goal end |
#latency_goal_usecs ⇒ Object
- type - Number
-
Latency goal in microseconds.
488 489 490 |
# File 'lib/Hpe3parSdk/models.rb', line 488 def latency_goal_usecs @latency_goal_usecs end |
#name ⇒ Object
- type - String
-
Name of the target
452 453 454 |
# File 'lib/Hpe3parSdk/models.rb', line 452 def name @name end |
#priority ⇒ Object
- type - Hpe3parSdk::QoSpriorityEnumeration
-
QoS priority.
464 465 466 |
# File 'lib/Hpe3parSdk/models.rb', line 464 def priority @priority end |
#type ⇒ Object
- type - Hpe3parSdk::QoStargetType
-
Type of QoS target.
448 449 450 |
# File 'lib/Hpe3parSdk/models.rb', line 448 def type @type end |