Class: Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::DistributedNodesInfo
- Inherits:
-
Object
- Object
- Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::DistributedNodesInfo
- Includes:
- MsRestAzure
- Defined in:
- lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/distributed_nodes_info.rb
Overview
This is used to represent the various nodes of the distributed container.
Instance Attribute Summary collapse
-
#error_detail ⇒ ErrorDetail
Error Details if the Status is non-success.
-
#node_name ⇒ String
Name of the node under a distributed container.
-
#status ⇒ String
Failed | Succeeded.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for DistributedNodesInfo class as Ruby Hash.
Instance Attribute Details
#error_detail ⇒ ErrorDetail
Returns Error Details if the Status is non-success.
27 28 29 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/distributed_nodes_info.rb', line 27 def error_detail @error_detail end |
#node_name ⇒ String
Returns Name of the node under a distributed container.
20 21 22 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/distributed_nodes_info.rb', line 20 def node_name @node_name end |
#status ⇒ String
Failed | Succeeded
24 25 26 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/distributed_nodes_info.rb', line 24 def status @status end |
Class Method Details
.mapper ⇒ Object
Mapper for DistributedNodesInfo class as Ruby Hash. This will be used for serialization/deserialization.
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/distributed_nodes_info.rb', line 34 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'DistributedNodesInfo', type: { name: 'Composite', class_name: 'DistributedNodesInfo', model_properties: { node_name: { client_side_validation: true, required: false, serialized_name: 'nodeName', type: { name: 'String' } }, status: { client_side_validation: true, required: false, serialized_name: 'status', type: { name: 'String' } }, error_detail: { client_side_validation: true, required: false, serialized_name: 'errorDetail', type: { name: 'Composite', class_name: 'ErrorDetail' } } } } } end |