Class: Hpe3parSdk::Agent
- Inherits:
-
Object
- Object
- Hpe3parSdk::Agent
- Defined in:
- lib/Hpe3parSdk/models.rb
Instance Attribute Summary collapse
-
#architecture ⇒ Object
- type - String
-
The architecture description of the host agent.
-
#cluster_id ⇒ Object
- type - String
-
Identifier for the cluster.
-
#cluster_name ⇒ Object
- type - String
-
Name of the host cluster of which the host is a member.
-
#cluster_software ⇒ Object
- type - String
-
Host clustering software in use on host.
-
#cluster_version ⇒ Object
- type - String
-
Version of the host clustering software in use.
-
#hosted ⇒ Object
- type - String
-
Identifier for the host agent.
-
#ipaddr ⇒ Object
- type - String
-
The host agent IP address.
-
#multi_path_software ⇒ Object
- type - String
-
The multipathing software in use by the host agent.
-
#multi_path_software_version ⇒ Object
- type - String
-
The multipathing software version.
-
#os ⇒ Object
- type - String
-
Operating system of the host agent.
-
#os_patch ⇒ Object
- type - String
-
The operating system patch level of host agent.
-
#os_version ⇒ Object
- type - String
-
The operating system version of the host agent.
-
#reported_name ⇒ Object
- type - String
-
The host name reported by the agent.
Instance Method Summary collapse
-
#initialize(object_hash) ⇒ Agent
constructor
A new instance of Agent.
Constructor Details
#initialize(object_hash) ⇒ Agent
Returns a new instance of Agent.
1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 |
# File 'lib/Hpe3parSdk/models.rb', line 1516 def initialize(object_hash) if object_hash == nil return end self.reported_name = object_hash['reportedName'] self.ipaddr = object_hash['IPAddr'] self.architecture = object_hash['architecture'] self.os = object_hash['os'] self.os_version = object_hash['osVersion'] self.os_patch = object_hash['osPatch'] self.multi_path_software = object_hash['multiPathSoftware'] self.multi_path_software_version = object_hash['multiPathSoftwareVersion'] self.cluster_name = object_hash['clusterName'] self.cluster_software = object_hash['clusterSoftware'] self.cluster_version = object_hash['clusterVersion'] self.cluster_id = object_hash['clusterId'] self.hosted = object_hash['hosted'] end |
Instance Attribute Details
#architecture ⇒ Object
- type - String
-
The architecture description of the host agent.
1474 1475 1476 |
# File 'lib/Hpe3parSdk/models.rb', line 1474 def architecture @architecture end |
#cluster_id ⇒ Object
- type - String
-
Identifier for the cluster.
1510 1511 1512 |
# File 'lib/Hpe3parSdk/models.rb', line 1510 def cluster_id @cluster_id end |
#cluster_name ⇒ Object
- type - String
-
Name of the host cluster of which the host is a member.
1498 1499 1500 |
# File 'lib/Hpe3parSdk/models.rb', line 1498 def cluster_name @cluster_name end |
#cluster_software ⇒ Object
- type - String
-
Host clustering software in use on host.
1502 1503 1504 |
# File 'lib/Hpe3parSdk/models.rb', line 1502 def cluster_software @cluster_software end |
#cluster_version ⇒ Object
- type - String
-
Version of the host clustering software in use.
1506 1507 1508 |
# File 'lib/Hpe3parSdk/models.rb', line 1506 def cluster_version @cluster_version end |
#hosted ⇒ Object
- type - String
-
Identifier for the host agent.
1514 1515 1516 |
# File 'lib/Hpe3parSdk/models.rb', line 1514 def hosted @hosted end |
#ipaddr ⇒ Object
- type - String
-
The host agent IP address.
1470 1471 1472 |
# File 'lib/Hpe3parSdk/models.rb', line 1470 def ipaddr @ipaddr end |
#multi_path_software ⇒ Object
- type - String
-
The multipathing software in use by the host agent.
1490 1491 1492 |
# File 'lib/Hpe3parSdk/models.rb', line 1490 def multi_path_software @multi_path_software end |
#multi_path_software_version ⇒ Object
- type - String
-
The multipathing software version.
1494 1495 1496 |
# File 'lib/Hpe3parSdk/models.rb', line 1494 def multi_path_software_version @multi_path_software_version end |
#os ⇒ Object
- type - String
-
Operating system of the host agent.
1478 1479 1480 |
# File 'lib/Hpe3parSdk/models.rb', line 1478 def os @os end |
#os_patch ⇒ Object
- type - String
-
The operating system patch level of host agent.
1486 1487 1488 |
# File 'lib/Hpe3parSdk/models.rb', line 1486 def os_patch @os_patch end |
#os_version ⇒ Object
- type - String
-
The operating system version of the host agent.
1482 1483 1484 |
# File 'lib/Hpe3parSdk/models.rb', line 1482 def os_version @os_version end |
#reported_name ⇒ Object
- type - String
-
The host name reported by the agent.
1466 1467 1468 |
# File 'lib/Hpe3parSdk/models.rb', line 1466 def reported_name @reported_name end |