Class: Azure::ServiceFabric::V6_4_0_36::Models::RestartNodeDescription
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::V6_4_0_36::Models::RestartNodeDescription
- Includes:
- MsRestAzure
- Defined in:
- lib/6.4.0.36/generated/azure_service_fabric/models/restart_node_description.rb
Overview
Describes the parameters to restart a Service Fabric node.
Instance Attribute Summary collapse
-
#create_fabric_dump ⇒ CreateFabricDump
node process.
-
#node_instance_id ⇒ String
specified the node is restarted only if it matches with the current instance of the node.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for RestartNodeDescription class as Ruby Hash.
Instance Attribute Details
#create_fabric_dump ⇒ CreateFabricDump
node process. This is case-sensitive. Possible values include: ‘False’, ‘True’. Default value: ‘False’ .
25 26 27 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/restart_node_description.rb', line 25 def create_fabric_dump @create_fabric_dump end |
#node_instance_id ⇒ String
specified the node is restarted only if it matches with the current instance of the node. A default value of “0” would match any instance ID. The instance ID can be obtained using get node query. Default value: ‘0’ .
20 21 22 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/restart_node_description.rb', line 20 def node_instance_id @node_instance_id end |
Class Method Details
.mapper ⇒ Object
Mapper for RestartNodeDescription class as Ruby Hash. This will be used for serialization/deserialization.
32 33 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 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/restart_node_description.rb', line 32 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'RestartNodeDescription', type: { name: 'Composite', class_name: 'RestartNodeDescription', model_properties: { node_instance_id: { client_side_validation: true, required: true, serialized_name: 'NodeInstanceId', default_value: '0', type: { name: 'String' } }, create_fabric_dump: { client_side_validation: true, required: false, serialized_name: 'CreateFabricDump', default_value: 'False', type: { name: 'String' } } } } } end |