Class: Azure::ServiceFabric::V6_5_0_36::Models::DeactivationIntentDescription
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::V6_5_0_36::Models::DeactivationIntentDescription
- Includes:
- MsRestAzure
- Defined in:
- lib/6.5.0.36/generated/azure_service_fabric/models/deactivation_intent_description.rb
Overview
Describes the intent or reason for deactivating the node.
Instance Attribute Summary collapse
-
#deactivation_intent ⇒ DeactivationIntent
deactivating the node.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for DeactivationIntentDescription class as Ruby Hash.
Instance Attribute Details
#deactivation_intent ⇒ DeactivationIntent
deactivating the node. The possible values are following. Possible values include: ‘Pause’, ‘Restart’, ‘RemoveData’
18 19 20 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/deactivation_intent_description.rb', line 18 def deactivation_intent @deactivation_intent end |
Class Method Details
.mapper ⇒ Object
Mapper for DeactivationIntentDescription class as Ruby Hash. This will be used for serialization/deserialization.
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/deactivation_intent_description.rb', line 25 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'DeactivationIntentDescription', type: { name: 'Composite', class_name: 'DeactivationIntentDescription', model_properties: { deactivation_intent: { client_side_validation: true, required: false, serialized_name: 'DeactivationIntent', type: { name: 'String' } } } } } end |