Class: Hpe3parSdk::QoSRule

Inherits:
Object
  • Object
show all
Defined in:
lib/Hpe3parSdk/models.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_kbObject

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_kbObject

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

#domainObject

type - String

Name of the domain.



456
457
458
# File 'lib/Hpe3parSdk/models.rb', line 456

def domain
  @domain
end

#enabledObject

type - Boolean

QoS state of the target.



460
461
462
# File 'lib/Hpe3parSdk/models.rb', line 460

def enabled
  @enabled
end

#idObject

type - Number

ID of the QoS target.



444
445
446
# File 'lib/Hpe3parSdk/models.rb', line 444

def id
  @id
end

#io_max_limitObject

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_goalObject

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_goalObject

type - Number

Latency goal in milliseconds.



484
485
486
# File 'lib/Hpe3parSdk/models.rb', line 484

def latency_goal
  @latency_goal
end

#latency_goal_usecsObject

type - Number

Latency goal in microseconds.



488
489
490
# File 'lib/Hpe3parSdk/models.rb', line 488

def latency_goal_usecs
  @latency_goal_usecs
end

#nameObject

type - String

Name of the target



452
453
454
# File 'lib/Hpe3parSdk/models.rb', line 452

def name
  @name
end

#priorityObject

type - Hpe3parSdk::QoSpriorityEnumeration

QoS priority.



464
465
466
# File 'lib/Hpe3parSdk/models.rb', line 464

def priority
  @priority
end

#typeObject

type - Hpe3parSdk::QoStargetType

Type of QoS target.



448
449
450
# File 'lib/Hpe3parSdk/models.rb', line 448

def type
  @type
end