Class: Google::Apis::ContainerV1::DiskIoScheduler
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1::DiskIoScheduler
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/container_v1/classes.rb,
lib/google/apis/container_v1/representations.rb,
lib/google/apis/container_v1/representations.rb
Overview
DiskIoScheduler contains the configuration for the disk IO scheduler.
Instance Attribute Summary collapse
-
#node_attached_disk_io_scheduler ⇒ String
Optional.
-
#node_system_io_scheduler ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DiskIoScheduler
constructor
A new instance of DiskIoScheduler.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DiskIoScheduler
Returns a new instance of DiskIoScheduler.
3521 3522 3523 |
# File 'lib/google/apis/container_v1/classes.rb', line 3521 def initialize(**args) update!(**args) end |
Instance Attribute Details
#node_attached_disk_io_scheduler ⇒ String
Optional. Configures the IO scheduler for the attached disks. Supported values
are mq-deadline, bfq, kyber, none.
Corresponds to the JSON property nodeAttachedDiskIoScheduler
3512 3513 3514 |
# File 'lib/google/apis/container_v1/classes.rb', line 3512 def node_attached_disk_io_scheduler @node_attached_disk_io_scheduler end |
#node_system_io_scheduler ⇒ String
Optional. Configures the IO scheduler for the boot disk or ephemeral lssd that
runs node system workloads. Supported values are mq-deadline, bfq, kyber,
none.
Corresponds to the JSON property nodeSystemIoScheduler
3519 3520 3521 |
# File 'lib/google/apis/container_v1/classes.rb', line 3519 def node_system_io_scheduler @node_system_io_scheduler end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3526 3527 3528 3529 |
# File 'lib/google/apis/container_v1/classes.rb', line 3526 def update!(**args) @node_attached_disk_io_scheduler = args[:node_attached_disk_io_scheduler] if args.key?(:node_attached_disk_io_scheduler) @node_system_io_scheduler = args[:node_system_io_scheduler] if args.key?(:node_system_io_scheduler) end |