Class: NutanixVmm::VmmV40AhvStatsVmStatsTuple
- Inherits:
-
ApiModelBase
- Object
- ApiModelBase
- NutanixVmm::VmmV40AhvStatsVmStatsTuple
- Defined in:
- lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb
Overview
A collection of VM stats.
Instance Attribute Summary collapse
-
#check_score ⇒ Object
The VM NCC health check score.
-
#cluster ⇒ Object
The UUID of the cluster on which the VM resides.
-
#controller_avg_io_latency_micros ⇒ Object
The VM controller average I/O latency in microseconds.
-
#controller_avg_read_io_latency_micros ⇒ Object
The VM controller average read I/O latency in microseconds.
-
#controller_avg_read_io_size_kb ⇒ Object
The VM controller average read I/O size in kilobytes.
-
#controller_avg_write_io_latency_micros ⇒ Object
The VM controller average write I/O latency in microseconds.
-
#controller_avg_write_io_size_kb ⇒ Object
The VM controller average write I/O size in kilobytes.
-
#controller_io_bandwidth_kbps ⇒ Object
The VM controller I/O bandwidth in kilobytes per second.
-
#controller_num_io ⇒ Object
The VM controller number of I/O requests.
-
#controller_num_iops ⇒ Object
The VM controller number of I/O operations per second.
-
#controller_num_random_io ⇒ Object
The VM controller number of random I/O.
-
#controller_num_read_io ⇒ Object
The VM controller number of read I/O.
-
#controller_num_read_iops ⇒ Object
The VM controller number of read I/O operations per second.
-
#controller_num_seq_io ⇒ Object
The VM controller number of sequential I/Os.
-
#controller_num_write_io ⇒ Object
The VM controller number of write I/O.
-
#controller_num_write_iops ⇒ Object
The VM controller number of write I/O operations per second.
-
#controller_oplog_drain_dest_hdd_bytes ⇒ Object
Amount of data in bytes drained to HDD tier of extent store by the VM controller.
-
#controller_oplog_drain_dest_ssd_bytes ⇒ Object
Amount of data in bytes drained to SSD tier of extent store by the VM controller.
-
#controller_random_io_ppm ⇒ Object
The VM controller number of random I/O PPM.
-
#controller_read_io_bandwidth_kbps ⇒ Object
The VM controller number of read I/O bandwidth in kilobytes per second.
-
#controller_read_io_ppm ⇒ Object
The VM controller number of read I/O PPM.
-
#controller_read_source_estore_hdd_local_bytes ⇒ Object
The VM disk controller number of bytes for local read source: HDD estore.
-
#controller_read_source_estore_hdd_remote_bytes ⇒ Object
The VM disk controller number of bytes for remote read source: HDD estore.
-
#controller_read_source_estore_ssd_local_bytes ⇒ Object
The VM disk controller number of bytes for local read source: SSD estore.
-
#controller_read_source_estore_ssd_remote_bytes ⇒ Object
The VM disk controller number of bytes for remote read source: SSD estore.
-
#controller_read_source_oplog_bytes ⇒ Object
The VM controller read source oplog in bytes.
-
#controller_seq_io_ppm ⇒ Object
The VM controller number of sequential I/O PPM.
-
#controller_shared_usage_bytes ⇒ Object
The VM controller shared usage in bytes.
-
#controller_snapshot_usage_bytes ⇒ Object
The VM controller snapshot usage in bytes.
-
#controller_storage_tier_ssd_usage_bytes ⇒ Object
The VM controller total usage on SSD tier for the VM.
-
#controller_timespan_micros ⇒ Object
The VM controller timespan in microseconds.
-
#controller_total_io_size_kb ⇒ Object
The VM controller number of total I/O size in kilobytes.
-
#controller_total_io_time_micros ⇒ Object
The VM controller number of total I/O time in microseconds.
-
#controller_total_read_io_size_kb ⇒ Object
The VM controller number of total read I/O size in kilobytes.
-
#controller_total_read_io_time_micros ⇒ Object
The VM controller number of total read I/O time in microseconds.
-
#controller_total_transformed_usage_bytes ⇒ Object
The VM controller number of total transformed usage in bytes.
-
#controller_user_bytes ⇒ Object
The VM controller user bytes.
-
#controller_write_dest_estore_hdd_bytes ⇒ Object
The VM controller write destination HDD estore in bytes.
-
#controller_write_dest_estore_ssd_bytes ⇒ Object
The VM controller write destination SSD estore in bytes.
-
#controller_write_io_bandwidth_kbps ⇒ Object
The VM controller write I/O bandwidth in kilobytes per second.
-
#controller_write_io_ppm ⇒ Object
The VM controller percentage of write I/O in parts per million.
-
#controller_wss120_second_read_mb ⇒ Object
The read working set size of the VM disk controller in megabytes, 2 minute measurement interval.
-
#controller_wss120_second_union_mb ⇒ Object
The combined working set size of the VM disk controller in megabytes, 2 minute measurement interval.
-
#controller_wss120_second_write_mb ⇒ Object
The write working set size of the VM disk controller in megabytes, 2 minute measurement interval.
-
#controller_wss3600_second_read_mb ⇒ Object
The read working set size of the VM disk controller in megabytes, 1 hour measurement interval.
-
#controller_wss3600_second_union_mb ⇒ Object
The combined working set size of the VM disk controller in megabytes, 1-hour measurement interval.
-
#controller_wss3600_second_write_mb ⇒ Object
The write working set size of the VM disk controller in megabytes, 1-hour measurement interval.
-
#disk_capacity_bytes ⇒ Object
The VM disk capacity in bytes.
-
#disk_usage_ppm ⇒ Object
The VM disk usage in PPM.
-
#frame_buffer_usage_ppm ⇒ Object
The VM frame buffer usage in PPM.
-
#gpu_usage_ppm ⇒ Object
The VM GPU usage in PPM.
-
#guest_memory_usage_ppm ⇒ Object
The VM memory usage in percentage reported by a guest.
-
#hypervisor_avg_io_latency_micros ⇒ Object
The average I/O latency of the VM in microseconds.
-
#hypervisor_cpu_ready_time_ppm ⇒ Object
Percentage of time that the VM was ready, but could not get scheduled to run.
-
#hypervisor_cpu_usage_ppm ⇒ Object
The CPU usage of the VM in parts per million.
-
#hypervisor_io_bandwidth_kbps ⇒ Object
The I/O bandwidth of the VM in kilobytes per second.
-
#hypervisor_memory_balloon_reclaim_target_bytes ⇒ Object
The target memory balloon of the VM to be reclaimed in bytes.
-
#hypervisor_memory_balloon_reclaimed_bytes ⇒ Object
The memory balloon reclaimed by the VM in bytes.
-
#hypervisor_memory_usage_ppm ⇒ Object
Consolidated guest memory usage in percentage.
-
#hypervisor_num_io ⇒ Object
The number of I/O by the VM.
-
#hypervisor_num_iops ⇒ Object
The number of I/O operations by the VM per second.
-
#hypervisor_num_read_io ⇒ Object
The number of read I/O operations by the VM.
-
#hypervisor_num_read_iops ⇒ Object
The number of read I/O operations by the VM per second.
-
#hypervisor_num_receive_packets_dropped ⇒ Object
The number of packets dropped by the VM during reception.
-
#hypervisor_num_received_bytes ⇒ Object
The number of bytes received by the VM.
-
#hypervisor_num_transmit_packets_dropped ⇒ Object
The number of packets dropped by the VM during transmission.
-
#hypervisor_num_transmitted_bytes ⇒ Object
The number of bytes transmitted by the VM.
-
#hypervisor_num_write_io ⇒ Object
The number of write I/O by the VM.
-
#hypervisor_num_write_iops ⇒ Object
The number of write I/O operations by the VM per second.
-
#hypervisor_read_io_bandwidth_kbps ⇒ Object
The number of read I/O bandwidth of the VM in kilobytes per second.
-
#hypervisor_swap_in_rate_kbps ⇒ Object
The swap in rate of the VM in kilobytes per second.
-
#hypervisor_swap_out_rate_kbps ⇒ Object
The swap out rate of the VM in kilobytes per second.
-
#hypervisor_timespan_micros ⇒ Object
The timespan of the VM in microseconds.
-
#hypervisor_total_io_size_kb ⇒ Object
The total I/O size of the VM in kilobytes.
-
#hypervisor_total_io_time_micros ⇒ Object
The total I/O time of the VM in microseconds.
-
#hypervisor_total_read_io_size_kb ⇒ Object
The total read I/O size of the VM in kilobytes.
-
#hypervisor_type ⇒ Object
Hypervisor type of the VM.
-
#hypervisor_vm_running_time_usecs ⇒ Object
The running time of the VM in microseconds.
-
#hypervisor_write_io_bandwidth_kbps ⇒ Object
The write I/O bandwidth of the VM in kilobytes per second.
-
#memory_reserved_bytes ⇒ Object
The reserved memory of the VM in bytes.
-
#memory_usage_bytes ⇒ Object
The VM memory usage bytes.
-
#memory_usage_ppm ⇒ Object
The VM memory usage in PPM.
-
#num_vcpus_used_ppm ⇒ Object
The VM number of vCPUs used in PPM.
-
#timestamp ⇒ Object
The timestamp of a specific VM stats response data point.
Class Method Summary collapse
-
.acceptable_attribute_map ⇒ Object
Returns attribute mapping this model knows about.
-
.acceptable_attributes ⇒ Object
Returns all the JSON keys this model knows about.
-
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
-
.build_from_hash(attributes) ⇒ Object
Builds the object from hash.
-
.openapi_nullable ⇒ Object
List of attributes with nullable: true.
-
.openapi_types ⇒ Object
Attribute type mapping.
Instance Method Summary collapse
-
#==(o) ⇒ Object
Checks equality by comparing each attribute.
- #eql?(o) ⇒ Boolean
-
#hash ⇒ Integer
Calculates hash code according to all attributes.
-
#initialize(attributes = {}) ⇒ VmmV40AhvStatsVmStatsTuple
constructor
Initializes the object.
-
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons.
-
#to_hash ⇒ Hash
Returns the object in the form of hash.
-
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid.
Methods inherited from ApiModelBase
_deserialize, #_to_hash, #to_body, #to_s
Constructor Details
#initialize(attributes = {}) ⇒ VmmV40AhvStatsVmStatsTuple
Initializes the object
469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 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 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 469 def initialize(attributes = {}) if (!attributes.is_a?(Hash)) fail ArgumentError, "The input argument (attributes) must be a hash in `NutanixVmm::VmmV40AhvStatsVmStatsTuple` initialize method" end # check to see if the attribute exists and convert string to symbol for hash key acceptable_attribute_map = self.class.acceptable_attribute_map attributes = attributes.each_with_object({}) { |(k, v), h| if (!acceptable_attribute_map.key?(k.to_sym)) fail ArgumentError, "`#{k}` is not a valid attribute in `NutanixVmm::VmmV40AhvStatsVmStatsTuple`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect end h[k.to_sym] = v } if attributes.key?(:'timestamp') self. = attributes[:'timestamp'] end if attributes.key?(:'controller_avg_io_latency_micros') self.controller_avg_io_latency_micros = attributes[:'controller_avg_io_latency_micros'] end if attributes.key?(:'controller_avg_read_io_latency_micros') self.controller_avg_read_io_latency_micros = attributes[:'controller_avg_read_io_latency_micros'] end if attributes.key?(:'controller_avg_read_io_size_kb') self.controller_avg_read_io_size_kb = attributes[:'controller_avg_read_io_size_kb'] end if attributes.key?(:'controller_avg_write_io_latency_micros') self.controller_avg_write_io_latency_micros = attributes[:'controller_avg_write_io_latency_micros'] end if attributes.key?(:'controller_avg_write_io_size_kb') self.controller_avg_write_io_size_kb = attributes[:'controller_avg_write_io_size_kb'] end if attributes.key?(:'controller_io_bandwidth_kbps') self.controller_io_bandwidth_kbps = attributes[:'controller_io_bandwidth_kbps'] end if attributes.key?(:'controller_num_io') self.controller_num_io = attributes[:'controller_num_io'] end if attributes.key?(:'controller_num_iops') self.controller_num_iops = attributes[:'controller_num_iops'] end if attributes.key?(:'controller_num_random_io') self.controller_num_random_io = attributes[:'controller_num_random_io'] end if attributes.key?(:'controller_num_read_io') self.controller_num_read_io = attributes[:'controller_num_read_io'] end if attributes.key?(:'controller_num_read_iops') self.controller_num_read_iops = attributes[:'controller_num_read_iops'] end if attributes.key?(:'controller_num_seq_io') self.controller_num_seq_io = attributes[:'controller_num_seq_io'] end if attributes.key?(:'controller_num_write_io') self.controller_num_write_io = attributes[:'controller_num_write_io'] end if attributes.key?(:'controller_num_write_iops') self.controller_num_write_iops = attributes[:'controller_num_write_iops'] end if attributes.key?(:'controller_oplog_drain_dest_hdd_bytes') self.controller_oplog_drain_dest_hdd_bytes = attributes[:'controller_oplog_drain_dest_hdd_bytes'] end if attributes.key?(:'controller_oplog_drain_dest_ssd_bytes') self.controller_oplog_drain_dest_ssd_bytes = attributes[:'controller_oplog_drain_dest_ssd_bytes'] end if attributes.key?(:'controller_random_io_ppm') self.controller_random_io_ppm = attributes[:'controller_random_io_ppm'] end if attributes.key?(:'controller_read_io_bandwidth_kbps') self.controller_read_io_bandwidth_kbps = attributes[:'controller_read_io_bandwidth_kbps'] end if attributes.key?(:'controller_read_io_ppm') self.controller_read_io_ppm = attributes[:'controller_read_io_ppm'] end if attributes.key?(:'controller_read_source_estore_hdd_local_bytes') self.controller_read_source_estore_hdd_local_bytes = attributes[:'controller_read_source_estore_hdd_local_bytes'] end if attributes.key?(:'controller_read_source_estore_ssd_local_bytes') self.controller_read_source_estore_ssd_local_bytes = attributes[:'controller_read_source_estore_ssd_local_bytes'] end if attributes.key?(:'controller_read_source_estore_hdd_remote_bytes') self.controller_read_source_estore_hdd_remote_bytes = attributes[:'controller_read_source_estore_hdd_remote_bytes'] end if attributes.key?(:'controller_read_source_estore_ssd_remote_bytes') self.controller_read_source_estore_ssd_remote_bytes = attributes[:'controller_read_source_estore_ssd_remote_bytes'] end if attributes.key?(:'controller_read_source_oplog_bytes') self.controller_read_source_oplog_bytes = attributes[:'controller_read_source_oplog_bytes'] end if attributes.key?(:'controller_seq_io_ppm') self.controller_seq_io_ppm = attributes[:'controller_seq_io_ppm'] end if attributes.key?(:'controller_shared_usage_bytes') self.controller_shared_usage_bytes = attributes[:'controller_shared_usage_bytes'] end if attributes.key?(:'controller_snapshot_usage_bytes') self.controller_snapshot_usage_bytes = attributes[:'controller_snapshot_usage_bytes'] end if attributes.key?(:'controller_storage_tier_ssd_usage_bytes') self.controller_storage_tier_ssd_usage_bytes = attributes[:'controller_storage_tier_ssd_usage_bytes'] end if attributes.key?(:'controller_timespan_micros') self.controller_timespan_micros = attributes[:'controller_timespan_micros'] end if attributes.key?(:'controller_total_io_size_kb') self.controller_total_io_size_kb = attributes[:'controller_total_io_size_kb'] end if attributes.key?(:'controller_total_io_time_micros') self.controller_total_io_time_micros = attributes[:'controller_total_io_time_micros'] end if attributes.key?(:'controller_total_read_io_size_kb') self.controller_total_read_io_size_kb = attributes[:'controller_total_read_io_size_kb'] end if attributes.key?(:'controller_total_read_io_time_micros') self.controller_total_read_io_time_micros = attributes[:'controller_total_read_io_time_micros'] end if attributes.key?(:'controller_total_transformed_usage_bytes') self.controller_total_transformed_usage_bytes = attributes[:'controller_total_transformed_usage_bytes'] end if attributes.key?(:'controller_user_bytes') self.controller_user_bytes = attributes[:'controller_user_bytes'] end if attributes.key?(:'controller_write_dest_estore_ssd_bytes') self.controller_write_dest_estore_ssd_bytes = attributes[:'controller_write_dest_estore_ssd_bytes'] end if attributes.key?(:'controller_write_dest_estore_hdd_bytes') self.controller_write_dest_estore_hdd_bytes = attributes[:'controller_write_dest_estore_hdd_bytes'] end if attributes.key?(:'controller_write_io_bandwidth_kbps') self.controller_write_io_bandwidth_kbps = attributes[:'controller_write_io_bandwidth_kbps'] end if attributes.key?(:'controller_write_io_ppm') self.controller_write_io_ppm = attributes[:'controller_write_io_ppm'] end if attributes.key?(:'controller_wss120_second_union_mb') self.controller_wss120_second_union_mb = attributes[:'controller_wss120_second_union_mb'] end if attributes.key?(:'controller_wss120_second_read_mb') self.controller_wss120_second_read_mb = attributes[:'controller_wss120_second_read_mb'] end if attributes.key?(:'controller_wss120_second_write_mb') self.controller_wss120_second_write_mb = attributes[:'controller_wss120_second_write_mb'] end if attributes.key?(:'controller_wss3600_second_union_mb') self.controller_wss3600_second_union_mb = attributes[:'controller_wss3600_second_union_mb'] end if attributes.key?(:'controller_wss3600_second_read_mb') self.controller_wss3600_second_read_mb = attributes[:'controller_wss3600_second_read_mb'] end if attributes.key?(:'controller_wss3600_second_write_mb') self.controller_wss3600_second_write_mb = attributes[:'controller_wss3600_second_write_mb'] end if attributes.key?(:'frame_buffer_usage_ppm') self.frame_buffer_usage_ppm = attributes[:'frame_buffer_usage_ppm'] end if attributes.key?(:'gpu_usage_ppm') self.gpu_usage_ppm = attributes[:'gpu_usage_ppm'] end if attributes.key?(:'guest_memory_usage_ppm') self.guest_memory_usage_ppm = attributes[:'guest_memory_usage_ppm'] end if attributes.key?(:'hypervisor_avg_io_latency_micros') self.hypervisor_avg_io_latency_micros = attributes[:'hypervisor_avg_io_latency_micros'] end if attributes.key?(:'hypervisor_cpu_ready_time_ppm') self.hypervisor_cpu_ready_time_ppm = attributes[:'hypervisor_cpu_ready_time_ppm'] end if attributes.key?(:'hypervisor_cpu_usage_ppm') self.hypervisor_cpu_usage_ppm = attributes[:'hypervisor_cpu_usage_ppm'] end if attributes.key?(:'hypervisor_io_bandwidth_kbps') self.hypervisor_io_bandwidth_kbps = attributes[:'hypervisor_io_bandwidth_kbps'] end if attributes.key?(:'hypervisor_memory_balloon_reclaimed_bytes') self.hypervisor_memory_balloon_reclaimed_bytes = attributes[:'hypervisor_memory_balloon_reclaimed_bytes'] end if attributes.key?(:'hypervisor_memory_balloon_reclaim_target_bytes') self.hypervisor_memory_balloon_reclaim_target_bytes = attributes[:'hypervisor_memory_balloon_reclaim_target_bytes'] end if attributes.key?(:'hypervisor_memory_usage_ppm') self.hypervisor_memory_usage_ppm = attributes[:'hypervisor_memory_usage_ppm'] end if attributes.key?(:'hypervisor_num_io') self.hypervisor_num_io = attributes[:'hypervisor_num_io'] end if attributes.key?(:'hypervisor_num_iops') self.hypervisor_num_iops = attributes[:'hypervisor_num_iops'] end if attributes.key?(:'hypervisor_num_read_iops') self.hypervisor_num_read_iops = attributes[:'hypervisor_num_read_iops'] end if attributes.key?(:'hypervisor_num_read_io') self.hypervisor_num_read_io = attributes[:'hypervisor_num_read_io'] end if attributes.key?(:'hypervisor_num_received_bytes') self.hypervisor_num_received_bytes = attributes[:'hypervisor_num_received_bytes'] end if attributes.key?(:'hypervisor_num_receive_packets_dropped') self.hypervisor_num_receive_packets_dropped = attributes[:'hypervisor_num_receive_packets_dropped'] end if attributes.key?(:'hypervisor_num_transmitted_bytes') self.hypervisor_num_transmitted_bytes = attributes[:'hypervisor_num_transmitted_bytes'] end if attributes.key?(:'hypervisor_num_transmit_packets_dropped') self.hypervisor_num_transmit_packets_dropped = attributes[:'hypervisor_num_transmit_packets_dropped'] end if attributes.key?(:'hypervisor_num_write_io') self.hypervisor_num_write_io = attributes[:'hypervisor_num_write_io'] end if attributes.key?(:'hypervisor_num_write_iops') self.hypervisor_num_write_iops = attributes[:'hypervisor_num_write_iops'] end if attributes.key?(:'hypervisor_read_io_bandwidth_kbps') self.hypervisor_read_io_bandwidth_kbps = attributes[:'hypervisor_read_io_bandwidth_kbps'] end if attributes.key?(:'hypervisor_timespan_micros') self.hypervisor_timespan_micros = attributes[:'hypervisor_timespan_micros'] end if attributes.key?(:'hypervisor_total_io_size_kb') self.hypervisor_total_io_size_kb = attributes[:'hypervisor_total_io_size_kb'] end if attributes.key?(:'hypervisor_total_io_time_micros') self.hypervisor_total_io_time_micros = attributes[:'hypervisor_total_io_time_micros'] end if attributes.key?(:'hypervisor_total_read_io_size_kb') self.hypervisor_total_read_io_size_kb = attributes[:'hypervisor_total_read_io_size_kb'] end if attributes.key?(:'hypervisor_vm_running_time_usecs') self.hypervisor_vm_running_time_usecs = attributes[:'hypervisor_vm_running_time_usecs'] end if attributes.key?(:'hypervisor_write_io_bandwidth_kbps') self.hypervisor_write_io_bandwidth_kbps = attributes[:'hypervisor_write_io_bandwidth_kbps'] end if attributes.key?(:'memory_usage_bytes') self.memory_usage_bytes = attributes[:'memory_usage_bytes'] end if attributes.key?(:'memory_usage_ppm') self.memory_usage_ppm = attributes[:'memory_usage_ppm'] end if attributes.key?(:'num_vcpus_used_ppm') self.num_vcpus_used_ppm = attributes[:'num_vcpus_used_ppm'] end if attributes.key?(:'check_score') self.check_score = attributes[:'check_score'] end if attributes.key?(:'cluster') self.cluster = attributes[:'cluster'] end if attributes.key?(:'hypervisor_type') self.hypervisor_type = attributes[:'hypervisor_type'] end if attributes.key?(:'disk_usage_ppm') self.disk_usage_ppm = attributes[:'disk_usage_ppm'] end if attributes.key?(:'disk_capacity_bytes') self.disk_capacity_bytes = attributes[:'disk_capacity_bytes'] end if attributes.key?(:'hypervisor_swap_in_rate_kbps') self.hypervisor_swap_in_rate_kbps = attributes[:'hypervisor_swap_in_rate_kbps'] end if attributes.key?(:'hypervisor_swap_out_rate_kbps') self.hypervisor_swap_out_rate_kbps = attributes[:'hypervisor_swap_out_rate_kbps'] end if attributes.key?(:'memory_reserved_bytes') self.memory_reserved_bytes = attributes[:'memory_reserved_bytes'] end end |
Instance Attribute Details
#check_score ⇒ Object
The VM NCC health check score.
248 249 250 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 248 def check_score @check_score end |
#cluster ⇒ Object
The UUID of the cluster on which the VM resides.
251 252 253 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 251 def cluster @cluster end |
#controller_avg_io_latency_micros ⇒ Object
The VM controller average I/O latency in microseconds.
23 24 25 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 23 def controller_avg_io_latency_micros @controller_avg_io_latency_micros end |
#controller_avg_read_io_latency_micros ⇒ Object
The VM controller average read I/O latency in microseconds.
26 27 28 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 26 def controller_avg_read_io_latency_micros @controller_avg_read_io_latency_micros end |
#controller_avg_read_io_size_kb ⇒ Object
The VM controller average read I/O size in kilobytes.
29 30 31 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 29 def controller_avg_read_io_size_kb @controller_avg_read_io_size_kb end |
#controller_avg_write_io_latency_micros ⇒ Object
The VM controller average write I/O latency in microseconds.
32 33 34 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 32 def controller_avg_write_io_latency_micros @controller_avg_write_io_latency_micros end |
#controller_avg_write_io_size_kb ⇒ Object
The VM controller average write I/O size in kilobytes.
35 36 37 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 35 def controller_avg_write_io_size_kb @controller_avg_write_io_size_kb end |
#controller_io_bandwidth_kbps ⇒ Object
The VM controller I/O bandwidth in kilobytes per second.
38 39 40 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 38 def controller_io_bandwidth_kbps @controller_io_bandwidth_kbps end |
#controller_num_io ⇒ Object
The VM controller number of I/O requests.
41 42 43 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 41 def controller_num_io @controller_num_io end |
#controller_num_iops ⇒ Object
The VM controller number of I/O operations per second.
44 45 46 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 44 def controller_num_iops @controller_num_iops end |
#controller_num_random_io ⇒ Object
The VM controller number of random I/O.
47 48 49 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 47 def controller_num_random_io @controller_num_random_io end |
#controller_num_read_io ⇒ Object
The VM controller number of read I/O.
50 51 52 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 50 def controller_num_read_io @controller_num_read_io end |
#controller_num_read_iops ⇒ Object
The VM controller number of read I/O operations per second.
53 54 55 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 53 def controller_num_read_iops @controller_num_read_iops end |
#controller_num_seq_io ⇒ Object
The VM controller number of sequential I/Os.
56 57 58 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 56 def controller_num_seq_io @controller_num_seq_io end |
#controller_num_write_io ⇒ Object
The VM controller number of write I/O.
59 60 61 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 59 def controller_num_write_io @controller_num_write_io end |
#controller_num_write_iops ⇒ Object
The VM controller number of write I/O operations per second.
62 63 64 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 62 def controller_num_write_iops @controller_num_write_iops end |
#controller_oplog_drain_dest_hdd_bytes ⇒ Object
Amount of data in bytes drained to HDD tier of extent store by the VM controller.
65 66 67 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 65 def controller_oplog_drain_dest_hdd_bytes @controller_oplog_drain_dest_hdd_bytes end |
#controller_oplog_drain_dest_ssd_bytes ⇒ Object
Amount of data in bytes drained to SSD tier of extent store by the VM controller.
68 69 70 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 68 def controller_oplog_drain_dest_ssd_bytes @controller_oplog_drain_dest_ssd_bytes end |
#controller_random_io_ppm ⇒ Object
The VM controller number of random I/O PPM.
71 72 73 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 71 def controller_random_io_ppm @controller_random_io_ppm end |
#controller_read_io_bandwidth_kbps ⇒ Object
The VM controller number of read I/O bandwidth in kilobytes per second.
74 75 76 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 74 def controller_read_io_bandwidth_kbps @controller_read_io_bandwidth_kbps end |
#controller_read_io_ppm ⇒ Object
The VM controller number of read I/O PPM.
77 78 79 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 77 def controller_read_io_ppm @controller_read_io_ppm end |
#controller_read_source_estore_hdd_local_bytes ⇒ Object
The VM disk controller number of bytes for local read source: HDD estore.
80 81 82 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 80 def controller_read_source_estore_hdd_local_bytes @controller_read_source_estore_hdd_local_bytes end |
#controller_read_source_estore_hdd_remote_bytes ⇒ Object
The VM disk controller number of bytes for remote read source: HDD estore.
86 87 88 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 86 def controller_read_source_estore_hdd_remote_bytes @controller_read_source_estore_hdd_remote_bytes end |
#controller_read_source_estore_ssd_local_bytes ⇒ Object
The VM disk controller number of bytes for local read source: SSD estore.
83 84 85 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 83 def controller_read_source_estore_ssd_local_bytes @controller_read_source_estore_ssd_local_bytes end |
#controller_read_source_estore_ssd_remote_bytes ⇒ Object
The VM disk controller number of bytes for remote read source: SSD estore.
89 90 91 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 89 def controller_read_source_estore_ssd_remote_bytes @controller_read_source_estore_ssd_remote_bytes end |
#controller_read_source_oplog_bytes ⇒ Object
The VM controller read source oplog in bytes.
92 93 94 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 92 def controller_read_source_oplog_bytes @controller_read_source_oplog_bytes end |
#controller_seq_io_ppm ⇒ Object
The VM controller number of sequential I/O PPM.
95 96 97 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 95 def controller_seq_io_ppm @controller_seq_io_ppm end |
#controller_shared_usage_bytes ⇒ Object
The VM controller shared usage in bytes.
98 99 100 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 98 def controller_shared_usage_bytes @controller_shared_usage_bytes end |
#controller_snapshot_usage_bytes ⇒ Object
The VM controller snapshot usage in bytes.
101 102 103 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 101 def controller_snapshot_usage_bytes @controller_snapshot_usage_bytes end |
#controller_storage_tier_ssd_usage_bytes ⇒ Object
The VM controller total usage on SSD tier for the VM.
104 105 106 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 104 def controller_storage_tier_ssd_usage_bytes @controller_storage_tier_ssd_usage_bytes end |
#controller_timespan_micros ⇒ Object
The VM controller timespan in microseconds.
107 108 109 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 107 def controller_timespan_micros @controller_timespan_micros end |
#controller_total_io_size_kb ⇒ Object
The VM controller number of total I/O size in kilobytes.
110 111 112 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 110 def controller_total_io_size_kb @controller_total_io_size_kb end |
#controller_total_io_time_micros ⇒ Object
The VM controller number of total I/O time in microseconds.
113 114 115 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 113 def controller_total_io_time_micros @controller_total_io_time_micros end |
#controller_total_read_io_size_kb ⇒ Object
The VM controller number of total read I/O size in kilobytes.
116 117 118 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 116 def controller_total_read_io_size_kb @controller_total_read_io_size_kb end |
#controller_total_read_io_time_micros ⇒ Object
The VM controller number of total read I/O time in microseconds.
119 120 121 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 119 def controller_total_read_io_time_micros @controller_total_read_io_time_micros end |
#controller_total_transformed_usage_bytes ⇒ Object
The VM controller number of total transformed usage in bytes.
122 123 124 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 122 def controller_total_transformed_usage_bytes @controller_total_transformed_usage_bytes end |
#controller_user_bytes ⇒ Object
The VM controller user bytes.
125 126 127 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 125 def controller_user_bytes @controller_user_bytes end |
#controller_write_dest_estore_hdd_bytes ⇒ Object
The VM controller write destination HDD estore in bytes.
131 132 133 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 131 def controller_write_dest_estore_hdd_bytes @controller_write_dest_estore_hdd_bytes end |
#controller_write_dest_estore_ssd_bytes ⇒ Object
The VM controller write destination SSD estore in bytes.
128 129 130 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 128 def controller_write_dest_estore_ssd_bytes @controller_write_dest_estore_ssd_bytes end |
#controller_write_io_bandwidth_kbps ⇒ Object
The VM controller write I/O bandwidth in kilobytes per second.
134 135 136 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 134 def controller_write_io_bandwidth_kbps @controller_write_io_bandwidth_kbps end |
#controller_write_io_ppm ⇒ Object
The VM controller percentage of write I/O in parts per million.
137 138 139 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 137 def controller_write_io_ppm @controller_write_io_ppm end |
#controller_wss120_second_read_mb ⇒ Object
The read working set size of the VM disk controller in megabytes, 2 minute measurement interval.
143 144 145 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 143 def controller_wss120_second_read_mb @controller_wss120_second_read_mb end |
#controller_wss120_second_union_mb ⇒ Object
The combined working set size of the VM disk controller in megabytes, 2 minute measurement interval.
140 141 142 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 140 def controller_wss120_second_union_mb @controller_wss120_second_union_mb end |
#controller_wss120_second_write_mb ⇒ Object
The write working set size of the VM disk controller in megabytes, 2 minute measurement interval.
146 147 148 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 146 def controller_wss120_second_write_mb @controller_wss120_second_write_mb end |
#controller_wss3600_second_read_mb ⇒ Object
The read working set size of the VM disk controller in megabytes, 1 hour measurement interval.
152 153 154 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 152 def controller_wss3600_second_read_mb @controller_wss3600_second_read_mb end |
#controller_wss3600_second_union_mb ⇒ Object
The combined working set size of the VM disk controller in megabytes, 1-hour measurement interval.
149 150 151 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 149 def controller_wss3600_second_union_mb @controller_wss3600_second_union_mb end |
#controller_wss3600_second_write_mb ⇒ Object
The write working set size of the VM disk controller in megabytes, 1-hour measurement interval.
155 156 157 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 155 def controller_wss3600_second_write_mb @controller_wss3600_second_write_mb end |
#disk_capacity_bytes ⇒ Object
The VM disk capacity in bytes.
260 261 262 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 260 def disk_capacity_bytes @disk_capacity_bytes end |
#disk_usage_ppm ⇒ Object
The VM disk usage in PPM.
257 258 259 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 257 def disk_usage_ppm @disk_usage_ppm end |
#frame_buffer_usage_ppm ⇒ Object
The VM frame buffer usage in PPM.
158 159 160 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 158 def frame_buffer_usage_ppm @frame_buffer_usage_ppm end |
#gpu_usage_ppm ⇒ Object
The VM GPU usage in PPM.
161 162 163 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 161 def gpu_usage_ppm @gpu_usage_ppm end |
#guest_memory_usage_ppm ⇒ Object
The VM memory usage in percentage reported by a guest.
164 165 166 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 164 def guest_memory_usage_ppm @guest_memory_usage_ppm end |
#hypervisor_avg_io_latency_micros ⇒ Object
The average I/O latency of the VM in microseconds
167 168 169 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 167 def hypervisor_avg_io_latency_micros @hypervisor_avg_io_latency_micros end |
#hypervisor_cpu_ready_time_ppm ⇒ Object
Percentage of time that the VM was ready, but could not get scheduled to run.
170 171 172 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 170 def hypervisor_cpu_ready_time_ppm @hypervisor_cpu_ready_time_ppm end |
#hypervisor_cpu_usage_ppm ⇒ Object
The CPU usage of the VM in parts per million.
173 174 175 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 173 def hypervisor_cpu_usage_ppm @hypervisor_cpu_usage_ppm end |
#hypervisor_io_bandwidth_kbps ⇒ Object
The I/O bandwidth of the VM in kilobytes per second.
176 177 178 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 176 def hypervisor_io_bandwidth_kbps @hypervisor_io_bandwidth_kbps end |
#hypervisor_memory_balloon_reclaim_target_bytes ⇒ Object
The target memory balloon of the VM to be reclaimed in bytes.
182 183 184 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 182 def hypervisor_memory_balloon_reclaim_target_bytes @hypervisor_memory_balloon_reclaim_target_bytes end |
#hypervisor_memory_balloon_reclaimed_bytes ⇒ Object
The memory balloon reclaimed by the VM in bytes.
179 180 181 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 179 def hypervisor_memory_balloon_reclaimed_bytes @hypervisor_memory_balloon_reclaimed_bytes end |
#hypervisor_memory_usage_ppm ⇒ Object
Consolidated guest memory usage in percentage.
185 186 187 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 185 def hypervisor_memory_usage_ppm @hypervisor_memory_usage_ppm end |
#hypervisor_num_io ⇒ Object
The number of I/O by the VM.
188 189 190 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 188 def hypervisor_num_io @hypervisor_num_io end |
#hypervisor_num_iops ⇒ Object
The number of I/O operations by the VM per second.
191 192 193 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 191 def hypervisor_num_iops @hypervisor_num_iops end |
#hypervisor_num_read_io ⇒ Object
The number of read I/O operations by the VM.
197 198 199 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 197 def hypervisor_num_read_io @hypervisor_num_read_io end |
#hypervisor_num_read_iops ⇒ Object
The number of read I/O operations by the VM per second.
194 195 196 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 194 def hypervisor_num_read_iops @hypervisor_num_read_iops end |
#hypervisor_num_receive_packets_dropped ⇒ Object
The number of packets dropped by the VM during reception.
203 204 205 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 203 def hypervisor_num_receive_packets_dropped @hypervisor_num_receive_packets_dropped end |
#hypervisor_num_received_bytes ⇒ Object
The number of bytes received by the VM.
200 201 202 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 200 def hypervisor_num_received_bytes @hypervisor_num_received_bytes end |
#hypervisor_num_transmit_packets_dropped ⇒ Object
The number of packets dropped by the VM during transmission.
209 210 211 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 209 def hypervisor_num_transmit_packets_dropped @hypervisor_num_transmit_packets_dropped end |
#hypervisor_num_transmitted_bytes ⇒ Object
The number of bytes transmitted by the VM.
206 207 208 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 206 def hypervisor_num_transmitted_bytes @hypervisor_num_transmitted_bytes end |
#hypervisor_num_write_io ⇒ Object
The number of write I/O by the VM.
212 213 214 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 212 def hypervisor_num_write_io @hypervisor_num_write_io end |
#hypervisor_num_write_iops ⇒ Object
The number of write I/O operations by the VM per second.
215 216 217 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 215 def hypervisor_num_write_iops @hypervisor_num_write_iops end |
#hypervisor_read_io_bandwidth_kbps ⇒ Object
The number of read I/O bandwidth of the VM in kilobytes per second.
218 219 220 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 218 def hypervisor_read_io_bandwidth_kbps @hypervisor_read_io_bandwidth_kbps end |
#hypervisor_swap_in_rate_kbps ⇒ Object
The swap in rate of the VM in kilobytes per second.
263 264 265 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 263 def hypervisor_swap_in_rate_kbps @hypervisor_swap_in_rate_kbps end |
#hypervisor_swap_out_rate_kbps ⇒ Object
The swap out rate of the VM in kilobytes per second.
266 267 268 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 266 def hypervisor_swap_out_rate_kbps @hypervisor_swap_out_rate_kbps end |
#hypervisor_timespan_micros ⇒ Object
The timespan of the VM in microseconds.
221 222 223 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 221 def hypervisor_timespan_micros @hypervisor_timespan_micros end |
#hypervisor_total_io_size_kb ⇒ Object
The total I/O size of the VM in kilobytes.
224 225 226 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 224 def hypervisor_total_io_size_kb @hypervisor_total_io_size_kb end |
#hypervisor_total_io_time_micros ⇒ Object
The total I/O time of the VM in microseconds.
227 228 229 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 227 def hypervisor_total_io_time_micros @hypervisor_total_io_time_micros end |
#hypervisor_total_read_io_size_kb ⇒ Object
The total read I/O size of the VM in kilobytes.
230 231 232 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 230 def hypervisor_total_read_io_size_kb @hypervisor_total_read_io_size_kb end |
#hypervisor_type ⇒ Object
Hypervisor type of the VM.
254 255 256 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 254 def hypervisor_type @hypervisor_type end |
#hypervisor_vm_running_time_usecs ⇒ Object
The running time of the VM in microseconds.
233 234 235 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 233 def hypervisor_vm_running_time_usecs @hypervisor_vm_running_time_usecs end |
#hypervisor_write_io_bandwidth_kbps ⇒ Object
The write I/O bandwidth of the VM in kilobytes per second.
236 237 238 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 236 def hypervisor_write_io_bandwidth_kbps @hypervisor_write_io_bandwidth_kbps end |
#memory_reserved_bytes ⇒ Object
The reserved memory of the VM in bytes.
269 270 271 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 269 def memory_reserved_bytes @memory_reserved_bytes end |
#memory_usage_bytes ⇒ Object
The VM memory usage bytes.
239 240 241 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 239 def memory_usage_bytes @memory_usage_bytes end |
#memory_usage_ppm ⇒ Object
The VM memory usage in PPM.
242 243 244 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 242 def memory_usage_ppm @memory_usage_ppm end |
#num_vcpus_used_ppm ⇒ Object
The VM number of vCPUs used in PPM.
245 246 247 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 245 def num_vcpus_used_ppm @num_vcpus_used_ppm end |
#timestamp ⇒ Object
The timestamp of a specific VM stats response data point.
20 21 22 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 20 def @timestamp end |
Class Method Details
.acceptable_attribute_map ⇒ Object
Returns attribute mapping this model knows about
362 363 364 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 362 def self.acceptable_attribute_map attribute_map end |
.acceptable_attributes ⇒ Object
Returns all the JSON keys this model knows about
367 368 369 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 367 def self.acceptable_attributes acceptable_attribute_map.values end |
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 272 def self.attribute_map { :'timestamp' => :'timestamp', :'controller_avg_io_latency_micros' => :'controllerAvgIoLatencyMicros', :'controller_avg_read_io_latency_micros' => :'controllerAvgReadIoLatencyMicros', :'controller_avg_read_io_size_kb' => :'controllerAvgReadIoSizeKb', :'controller_avg_write_io_latency_micros' => :'controllerAvgWriteIoLatencyMicros', :'controller_avg_write_io_size_kb' => :'controllerAvgWriteIoSizeKb', :'controller_io_bandwidth_kbps' => :'controllerIoBandwidthKbps', :'controller_num_io' => :'controllerNumIo', :'controller_num_iops' => :'controllerNumIops', :'controller_num_random_io' => :'controllerNumRandomIo', :'controller_num_read_io' => :'controllerNumReadIo', :'controller_num_read_iops' => :'controllerNumReadIops', :'controller_num_seq_io' => :'controllerNumSeqIo', :'controller_num_write_io' => :'controllerNumWriteIo', :'controller_num_write_iops' => :'controllerNumWriteIops', :'controller_oplog_drain_dest_hdd_bytes' => :'controllerOplogDrainDestHddBytes', :'controller_oplog_drain_dest_ssd_bytes' => :'controllerOplogDrainDestSsdBytes', :'controller_random_io_ppm' => :'controllerRandomIoPpm', :'controller_read_io_bandwidth_kbps' => :'controllerReadIoBandwidthKbps', :'controller_read_io_ppm' => :'controllerReadIoPpm', :'controller_read_source_estore_hdd_local_bytes' => :'controllerReadSourceEstoreHddLocalBytes', :'controller_read_source_estore_ssd_local_bytes' => :'controllerReadSourceEstoreSsdLocalBytes', :'controller_read_source_estore_hdd_remote_bytes' => :'controllerReadSourceEstoreHddRemoteBytes', :'controller_read_source_estore_ssd_remote_bytes' => :'controllerReadSourceEstoreSsdRemoteBytes', :'controller_read_source_oplog_bytes' => :'controllerReadSourceOplogBytes', :'controller_seq_io_ppm' => :'controllerSeqIoPpm', :'controller_shared_usage_bytes' => :'controllerSharedUsageBytes', :'controller_snapshot_usage_bytes' => :'controllerSnapshotUsageBytes', :'controller_storage_tier_ssd_usage_bytes' => :'controllerStorageTierSsdUsageBytes', :'controller_timespan_micros' => :'controllerTimespanMicros', :'controller_total_io_size_kb' => :'controllerTotalIoSizeKb', :'controller_total_io_time_micros' => :'controllerTotalIoTimeMicros', :'controller_total_read_io_size_kb' => :'controllerTotalReadIoSizeKb', :'controller_total_read_io_time_micros' => :'controllerTotalReadIoTimeMicros', :'controller_total_transformed_usage_bytes' => :'controllerTotalTransformedUsageBytes', :'controller_user_bytes' => :'controllerUserBytes', :'controller_write_dest_estore_ssd_bytes' => :'controllerWriteDestEstoreSsdBytes', :'controller_write_dest_estore_hdd_bytes' => :'controllerWriteDestEstoreHddBytes', :'controller_write_io_bandwidth_kbps' => :'controllerWriteIoBandwidthKbps', :'controller_write_io_ppm' => :'controllerWriteIoPpm', :'controller_wss120_second_union_mb' => :'controllerWss120SecondUnionMb', :'controller_wss120_second_read_mb' => :'controllerWss120SecondReadMb', :'controller_wss120_second_write_mb' => :'controllerWss120SecondWriteMb', :'controller_wss3600_second_union_mb' => :'controllerWss3600SecondUnionMb', :'controller_wss3600_second_read_mb' => :'controllerWss3600SecondReadMb', :'controller_wss3600_second_write_mb' => :'controllerWss3600SecondWriteMb', :'frame_buffer_usage_ppm' => :'frameBufferUsagePpm', :'gpu_usage_ppm' => :'gpuUsagePpm', :'guest_memory_usage_ppm' => :'guestMemoryUsagePpm', :'hypervisor_avg_io_latency_micros' => :'hypervisorAvgIoLatencyMicros', :'hypervisor_cpu_ready_time_ppm' => :'hypervisorCpuReadyTimePpm', :'hypervisor_cpu_usage_ppm' => :'hypervisorCpuUsagePpm', :'hypervisor_io_bandwidth_kbps' => :'hypervisorIoBandwidthKbps', :'hypervisor_memory_balloon_reclaimed_bytes' => :'hypervisorMemoryBalloonReclaimedBytes', :'hypervisor_memory_balloon_reclaim_target_bytes' => :'hypervisorMemoryBalloonReclaimTargetBytes', :'hypervisor_memory_usage_ppm' => :'hypervisorMemoryUsagePpm', :'hypervisor_num_io' => :'hypervisorNumIo', :'hypervisor_num_iops' => :'hypervisorNumIops', :'hypervisor_num_read_iops' => :'hypervisorNumReadIops', :'hypervisor_num_read_io' => :'hypervisorNumReadIo', :'hypervisor_num_received_bytes' => :'hypervisorNumReceivedBytes', :'hypervisor_num_receive_packets_dropped' => :'hypervisorNumReceivePacketsDropped', :'hypervisor_num_transmitted_bytes' => :'hypervisorNumTransmittedBytes', :'hypervisor_num_transmit_packets_dropped' => :'hypervisorNumTransmitPacketsDropped', :'hypervisor_num_write_io' => :'hypervisorNumWriteIo', :'hypervisor_num_write_iops' => :'hypervisorNumWriteIops', :'hypervisor_read_io_bandwidth_kbps' => :'hypervisorReadIoBandwidthKbps', :'hypervisor_timespan_micros' => :'hypervisorTimespanMicros', :'hypervisor_total_io_size_kb' => :'hypervisorTotalIoSizeKb', :'hypervisor_total_io_time_micros' => :'hypervisorTotalIoTimeMicros', :'hypervisor_total_read_io_size_kb' => :'hypervisorTotalReadIoSizeKb', :'hypervisor_vm_running_time_usecs' => :'hypervisorVmRunningTimeUsecs', :'hypervisor_write_io_bandwidth_kbps' => :'hypervisorWriteIoBandwidthKbps', :'memory_usage_bytes' => :'memoryUsageBytes', :'memory_usage_ppm' => :'memoryUsagePpm', :'num_vcpus_used_ppm' => :'numVcpusUsedPpm', :'check_score' => :'checkScore', :'cluster' => :'cluster', :'hypervisor_type' => :'hypervisorType', :'disk_usage_ppm' => :'diskUsagePpm', :'disk_capacity_bytes' => :'diskCapacityBytes', :'hypervisor_swap_in_rate_kbps' => :'hypervisorSwapInRateKbps', :'hypervisor_swap_out_rate_kbps' => :'hypervisorSwapOutRateKbps', :'memory_reserved_bytes' => :'memoryReservedBytes' } end |
.build_from_hash(attributes) ⇒ Object
Builds the object from hash
941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 941 def self.build_from_hash(attributes) return nil unless attributes.is_a?(Hash) attributes = attributes.transform_keys(&:to_sym) transformed_hash = {} openapi_types.each_pair do |key, type| if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil? transformed_hash["#{key}"] = nil elsif type =~ /\AArray<(.*)>/i # check to ensure the input is an array given that the attribute # is documented as an array but the input is not if attributes[attribute_map[key]].is_a?(Array) transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) } end elsif !attributes[attribute_map[key]].nil? transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]]) end end new(transformed_hash) end |
.openapi_nullable ⇒ Object
List of attributes with nullable: true
462 463 464 465 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 462 def self.openapi_nullable Set.new([ ]) end |
.openapi_types ⇒ Object
Attribute type mapping.
372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 372 def self.openapi_types { :'timestamp' => :'Time', :'controller_avg_io_latency_micros' => :'Integer', :'controller_avg_read_io_latency_micros' => :'Integer', :'controller_avg_read_io_size_kb' => :'Integer', :'controller_avg_write_io_latency_micros' => :'Integer', :'controller_avg_write_io_size_kb' => :'Integer', :'controller_io_bandwidth_kbps' => :'Integer', :'controller_num_io' => :'Integer', :'controller_num_iops' => :'Integer', :'controller_num_random_io' => :'Integer', :'controller_num_read_io' => :'Integer', :'controller_num_read_iops' => :'Integer', :'controller_num_seq_io' => :'Integer', :'controller_num_write_io' => :'Integer', :'controller_num_write_iops' => :'Integer', :'controller_oplog_drain_dest_hdd_bytes' => :'Integer', :'controller_oplog_drain_dest_ssd_bytes' => :'Integer', :'controller_random_io_ppm' => :'Integer', :'controller_read_io_bandwidth_kbps' => :'Integer', :'controller_read_io_ppm' => :'Integer', :'controller_read_source_estore_hdd_local_bytes' => :'Integer', :'controller_read_source_estore_ssd_local_bytes' => :'Integer', :'controller_read_source_estore_hdd_remote_bytes' => :'Integer', :'controller_read_source_estore_ssd_remote_bytes' => :'Integer', :'controller_read_source_oplog_bytes' => :'Integer', :'controller_seq_io_ppm' => :'Integer', :'controller_shared_usage_bytes' => :'Integer', :'controller_snapshot_usage_bytes' => :'Integer', :'controller_storage_tier_ssd_usage_bytes' => :'Integer', :'controller_timespan_micros' => :'Integer', :'controller_total_io_size_kb' => :'Integer', :'controller_total_io_time_micros' => :'Integer', :'controller_total_read_io_size_kb' => :'Integer', :'controller_total_read_io_time_micros' => :'Integer', :'controller_total_transformed_usage_bytes' => :'Integer', :'controller_user_bytes' => :'Integer', :'controller_write_dest_estore_ssd_bytes' => :'Integer', :'controller_write_dest_estore_hdd_bytes' => :'Integer', :'controller_write_io_bandwidth_kbps' => :'Integer', :'controller_write_io_ppm' => :'Integer', :'controller_wss120_second_union_mb' => :'Integer', :'controller_wss120_second_read_mb' => :'Integer', :'controller_wss120_second_write_mb' => :'Integer', :'controller_wss3600_second_union_mb' => :'Integer', :'controller_wss3600_second_read_mb' => :'Integer', :'controller_wss3600_second_write_mb' => :'Integer', :'frame_buffer_usage_ppm' => :'Integer', :'gpu_usage_ppm' => :'Integer', :'guest_memory_usage_ppm' => :'Integer', :'hypervisor_avg_io_latency_micros' => :'Integer', :'hypervisor_cpu_ready_time_ppm' => :'Integer', :'hypervisor_cpu_usage_ppm' => :'Integer', :'hypervisor_io_bandwidth_kbps' => :'Integer', :'hypervisor_memory_balloon_reclaimed_bytes' => :'Integer', :'hypervisor_memory_balloon_reclaim_target_bytes' => :'Integer', :'hypervisor_memory_usage_ppm' => :'Integer', :'hypervisor_num_io' => :'Integer', :'hypervisor_num_iops' => :'Integer', :'hypervisor_num_read_iops' => :'Integer', :'hypervisor_num_read_io' => :'Integer', :'hypervisor_num_received_bytes' => :'Integer', :'hypervisor_num_receive_packets_dropped' => :'Integer', :'hypervisor_num_transmitted_bytes' => :'Integer', :'hypervisor_num_transmit_packets_dropped' => :'Integer', :'hypervisor_num_write_io' => :'Integer', :'hypervisor_num_write_iops' => :'Integer', :'hypervisor_read_io_bandwidth_kbps' => :'Integer', :'hypervisor_timespan_micros' => :'Integer', :'hypervisor_total_io_size_kb' => :'Integer', :'hypervisor_total_io_time_micros' => :'Integer', :'hypervisor_total_read_io_size_kb' => :'Integer', :'hypervisor_vm_running_time_usecs' => :'Integer', :'hypervisor_write_io_bandwidth_kbps' => :'Integer', :'memory_usage_bytes' => :'Integer', :'memory_usage_ppm' => :'Integer', :'num_vcpus_used_ppm' => :'Integer', :'check_score' => :'Integer', :'cluster' => :'String', :'hypervisor_type' => :'String', :'disk_usage_ppm' => :'Integer', :'disk_capacity_bytes' => :'Integer', :'hypervisor_swap_in_rate_kbps' => :'Integer', :'hypervisor_swap_out_rate_kbps' => :'Integer', :'memory_reserved_bytes' => :'Integer' } end |
Instance Method Details
#==(o) ⇒ Object
Checks equality by comparing each attribute.
837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 837 def ==(o) return true if self.equal?(o) self.class == o.class && == o. && controller_avg_io_latency_micros == o.controller_avg_io_latency_micros && controller_avg_read_io_latency_micros == o.controller_avg_read_io_latency_micros && controller_avg_read_io_size_kb == o.controller_avg_read_io_size_kb && controller_avg_write_io_latency_micros == o.controller_avg_write_io_latency_micros && controller_avg_write_io_size_kb == o.controller_avg_write_io_size_kb && controller_io_bandwidth_kbps == o.controller_io_bandwidth_kbps && controller_num_io == o.controller_num_io && controller_num_iops == o.controller_num_iops && controller_num_random_io == o.controller_num_random_io && controller_num_read_io == o.controller_num_read_io && controller_num_read_iops == o.controller_num_read_iops && controller_num_seq_io == o.controller_num_seq_io && controller_num_write_io == o.controller_num_write_io && controller_num_write_iops == o.controller_num_write_iops && controller_oplog_drain_dest_hdd_bytes == o.controller_oplog_drain_dest_hdd_bytes && controller_oplog_drain_dest_ssd_bytes == o.controller_oplog_drain_dest_ssd_bytes && controller_random_io_ppm == o.controller_random_io_ppm && controller_read_io_bandwidth_kbps == o.controller_read_io_bandwidth_kbps && controller_read_io_ppm == o.controller_read_io_ppm && controller_read_source_estore_hdd_local_bytes == o.controller_read_source_estore_hdd_local_bytes && controller_read_source_estore_ssd_local_bytes == o.controller_read_source_estore_ssd_local_bytes && controller_read_source_estore_hdd_remote_bytes == o.controller_read_source_estore_hdd_remote_bytes && controller_read_source_estore_ssd_remote_bytes == o.controller_read_source_estore_ssd_remote_bytes && controller_read_source_oplog_bytes == o.controller_read_source_oplog_bytes && controller_seq_io_ppm == o.controller_seq_io_ppm && controller_shared_usage_bytes == o.controller_shared_usage_bytes && controller_snapshot_usage_bytes == o.controller_snapshot_usage_bytes && controller_storage_tier_ssd_usage_bytes == o.controller_storage_tier_ssd_usage_bytes && controller_timespan_micros == o.controller_timespan_micros && controller_total_io_size_kb == o.controller_total_io_size_kb && controller_total_io_time_micros == o.controller_total_io_time_micros && controller_total_read_io_size_kb == o.controller_total_read_io_size_kb && controller_total_read_io_time_micros == o.controller_total_read_io_time_micros && controller_total_transformed_usage_bytes == o.controller_total_transformed_usage_bytes && controller_user_bytes == o.controller_user_bytes && controller_write_dest_estore_ssd_bytes == o.controller_write_dest_estore_ssd_bytes && controller_write_dest_estore_hdd_bytes == o.controller_write_dest_estore_hdd_bytes && controller_write_io_bandwidth_kbps == o.controller_write_io_bandwidth_kbps && controller_write_io_ppm == o.controller_write_io_ppm && controller_wss120_second_union_mb == o.controller_wss120_second_union_mb && controller_wss120_second_read_mb == o.controller_wss120_second_read_mb && controller_wss120_second_write_mb == o.controller_wss120_second_write_mb && controller_wss3600_second_union_mb == o.controller_wss3600_second_union_mb && controller_wss3600_second_read_mb == o.controller_wss3600_second_read_mb && controller_wss3600_second_write_mb == o.controller_wss3600_second_write_mb && frame_buffer_usage_ppm == o.frame_buffer_usage_ppm && gpu_usage_ppm == o.gpu_usage_ppm && guest_memory_usage_ppm == o.guest_memory_usage_ppm && hypervisor_avg_io_latency_micros == o.hypervisor_avg_io_latency_micros && hypervisor_cpu_ready_time_ppm == o.hypervisor_cpu_ready_time_ppm && hypervisor_cpu_usage_ppm == o.hypervisor_cpu_usage_ppm && hypervisor_io_bandwidth_kbps == o.hypervisor_io_bandwidth_kbps && hypervisor_memory_balloon_reclaimed_bytes == o.hypervisor_memory_balloon_reclaimed_bytes && hypervisor_memory_balloon_reclaim_target_bytes == o.hypervisor_memory_balloon_reclaim_target_bytes && hypervisor_memory_usage_ppm == o.hypervisor_memory_usage_ppm && hypervisor_num_io == o.hypervisor_num_io && hypervisor_num_iops == o.hypervisor_num_iops && hypervisor_num_read_iops == o.hypervisor_num_read_iops && hypervisor_num_read_io == o.hypervisor_num_read_io && hypervisor_num_received_bytes == o.hypervisor_num_received_bytes && hypervisor_num_receive_packets_dropped == o.hypervisor_num_receive_packets_dropped && hypervisor_num_transmitted_bytes == o.hypervisor_num_transmitted_bytes && hypervisor_num_transmit_packets_dropped == o.hypervisor_num_transmit_packets_dropped && hypervisor_num_write_io == o.hypervisor_num_write_io && hypervisor_num_write_iops == o.hypervisor_num_write_iops && hypervisor_read_io_bandwidth_kbps == o.hypervisor_read_io_bandwidth_kbps && hypervisor_timespan_micros == o.hypervisor_timespan_micros && hypervisor_total_io_size_kb == o.hypervisor_total_io_size_kb && hypervisor_total_io_time_micros == o.hypervisor_total_io_time_micros && hypervisor_total_read_io_size_kb == o.hypervisor_total_read_io_size_kb && hypervisor_vm_running_time_usecs == o.hypervisor_vm_running_time_usecs && hypervisor_write_io_bandwidth_kbps == o.hypervisor_write_io_bandwidth_kbps && memory_usage_bytes == o.memory_usage_bytes && memory_usage_ppm == o.memory_usage_ppm && num_vcpus_used_ppm == o.num_vcpus_used_ppm && check_score == o.check_score && cluster == o.cluster && hypervisor_type == o.hypervisor_type && disk_usage_ppm == o.disk_usage_ppm && disk_capacity_bytes == o.disk_capacity_bytes && hypervisor_swap_in_rate_kbps == o.hypervisor_swap_in_rate_kbps && hypervisor_swap_out_rate_kbps == o.hypervisor_swap_out_rate_kbps && memory_reserved_bytes == o.memory_reserved_bytes end |
#eql?(o) ⇒ Boolean
928 929 930 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 928 def eql?(o) self == o end |
#hash ⇒ Integer
Calculates hash code according to all attributes.
934 935 936 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 934 def hash [, controller_avg_io_latency_micros, controller_avg_read_io_latency_micros, controller_avg_read_io_size_kb, controller_avg_write_io_latency_micros, controller_avg_write_io_size_kb, controller_io_bandwidth_kbps, controller_num_io, controller_num_iops, controller_num_random_io, controller_num_read_io, controller_num_read_iops, controller_num_seq_io, controller_num_write_io, controller_num_write_iops, controller_oplog_drain_dest_hdd_bytes, controller_oplog_drain_dest_ssd_bytes, controller_random_io_ppm, controller_read_io_bandwidth_kbps, controller_read_io_ppm, controller_read_source_estore_hdd_local_bytes, controller_read_source_estore_ssd_local_bytes, controller_read_source_estore_hdd_remote_bytes, controller_read_source_estore_ssd_remote_bytes, controller_read_source_oplog_bytes, controller_seq_io_ppm, controller_shared_usage_bytes, controller_snapshot_usage_bytes, controller_storage_tier_ssd_usage_bytes, controller_timespan_micros, controller_total_io_size_kb, controller_total_io_time_micros, controller_total_read_io_size_kb, controller_total_read_io_time_micros, controller_total_transformed_usage_bytes, controller_user_bytes, controller_write_dest_estore_ssd_bytes, controller_write_dest_estore_hdd_bytes, controller_write_io_bandwidth_kbps, controller_write_io_ppm, controller_wss120_second_union_mb, controller_wss120_second_read_mb, controller_wss120_second_write_mb, controller_wss3600_second_union_mb, controller_wss3600_second_read_mb, controller_wss3600_second_write_mb, frame_buffer_usage_ppm, gpu_usage_ppm, guest_memory_usage_ppm, hypervisor_avg_io_latency_micros, hypervisor_cpu_ready_time_ppm, hypervisor_cpu_usage_ppm, hypervisor_io_bandwidth_kbps, hypervisor_memory_balloon_reclaimed_bytes, hypervisor_memory_balloon_reclaim_target_bytes, hypervisor_memory_usage_ppm, hypervisor_num_io, hypervisor_num_iops, hypervisor_num_read_iops, hypervisor_num_read_io, hypervisor_num_received_bytes, hypervisor_num_receive_packets_dropped, hypervisor_num_transmitted_bytes, hypervisor_num_transmit_packets_dropped, hypervisor_num_write_io, hypervisor_num_write_iops, hypervisor_read_io_bandwidth_kbps, hypervisor_timespan_micros, hypervisor_total_io_size_kb, hypervisor_total_io_time_micros, hypervisor_total_read_io_size_kb, hypervisor_vm_running_time_usecs, hypervisor_write_io_bandwidth_kbps, memory_usage_bytes, memory_usage_ppm, num_vcpus_used_ppm, check_score, cluster, hypervisor_type, disk_usage_ppm, disk_capacity_bytes, hypervisor_swap_in_rate_kbps, hypervisor_swap_out_rate_kbps, memory_reserved_bytes].hash end |
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons. Usually used together with valid?
822 823 824 825 826 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 822 def list_invalid_properties warn '[DEPRECATED] the `list_invalid_properties` method is obsolete' invalid_properties = Array.new invalid_properties end |
#to_hash ⇒ Hash
Returns the object in the form of hash
963 964 965 966 967 968 969 970 971 972 973 974 975 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 963 def to_hash hash = {} self.class.attribute_map.each_pair do |attr, param| value = self.send(attr) if value.nil? is_nullable = self.class.openapi_nullable.include?(attr) next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) end hash[param] = _to_hash(value) end hash end |
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid
830 831 832 833 |
# File 'lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb', line 830 def valid? warn '[DEPRECATED] the `valid?` method is obsolete' true end |