Class: Azure::ResourceHealth::Mgmt::V2018_07_01::Models::RecommendedAction
- Inherits:
-
Object
- Object
- Azure::ResourceHealth::Mgmt::V2018_07_01::Models::RecommendedAction
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-07-01/generated/azure_mgmt_resource_health/models/recommended_action.rb
Overview
Lists actions the user can take based on the current availabilityState of the resource.
Instance Attribute Summary collapse
-
#action ⇒ String
Recommended action.
-
#action_url ⇒ String
Link to the action.
-
#action_url_text ⇒ String
host the action url.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for RecommendedAction class as Ruby Hash.
Instance Attribute Details
#action ⇒ String
Returns Recommended action.
17 18 19 |
# File 'lib/2018-07-01/generated/azure_mgmt_resource_health/models/recommended_action.rb', line 17 def action @action end |
#action_url ⇒ String
Returns Link to the action.
20 21 22 |
# File 'lib/2018-07-01/generated/azure_mgmt_resource_health/models/recommended_action.rb', line 20 def action_url @action_url end |
#action_url_text ⇒ String
host the action url.
24 25 26 |
# File 'lib/2018-07-01/generated/azure_mgmt_resource_health/models/recommended_action.rb', line 24 def action_url_text @action_url_text end |
Class Method Details
.mapper ⇒ Object
Mapper for RecommendedAction class as Ruby Hash. This will be used for serialization/deserialization.
31 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 63 64 65 66 67 |
# File 'lib/2018-07-01/generated/azure_mgmt_resource_health/models/recommended_action.rb', line 31 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'recommendedAction', type: { name: 'Composite', class_name: 'RecommendedAction', model_properties: { action: { client_side_validation: true, required: false, serialized_name: 'action', type: { name: 'String' } }, action_url: { client_side_validation: true, required: false, serialized_name: 'actionUrl', type: { name: 'String' } }, action_url_text: { client_side_validation: true, required: false, serialized_name: 'actionUrlText', type: { name: 'String' } } } } } end |