Class: Azure::Mysql::Mgmt::V2018_06_01::Models::RecommendationAction
- Inherits:
-
ProxyResource
- Object
- Resource
- ProxyResource
- Azure::Mysql::Mgmt::V2018_06_01::Models::RecommendationAction
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-06-01/generated/azure_mgmt_mysql/models/recommendation_action.rb
Overview
Represents a Recommendation Action.
Instance Attribute Summary collapse
-
#action_id ⇒ Integer
Recommendation action identifier.
-
#advisor_name ⇒ String
Advisor name.
-
#created_time ⇒ DateTime
Recommendation action creation time.
-
#details ⇒ Hash{String => String}
Recommendation action details.
-
#expiration_time ⇒ DateTime
Recommendation action expiration time.
-
#reason ⇒ String
Recommendation action reason.
-
#recommendation_type ⇒ String
Recommendation action type.
-
#session_id ⇒ String
Recommendation action session identifier.
Attributes inherited from Resource
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for RecommendationAction class as Ruby Hash.
Methods inherited from Resource
Instance Attribute Details
#action_id ⇒ Integer
Returns Recommendation action identifier.
22 23 24 |
# File 'lib/2018-06-01/generated/azure_mgmt_mysql/models/recommendation_action.rb', line 22 def action_id @action_id end |
#advisor_name ⇒ String
Returns Advisor name.
16 17 18 |
# File 'lib/2018-06-01/generated/azure_mgmt_mysql/models/recommendation_action.rb', line 16 def advisor_name @advisor_name end |
#created_time ⇒ DateTime
Returns Recommendation action creation time.
25 26 27 |
# File 'lib/2018-06-01/generated/azure_mgmt_mysql/models/recommendation_action.rb', line 25 def created_time @created_time end |
#details ⇒ Hash{String => String}
Returns Recommendation action details.
37 38 39 |
# File 'lib/2018-06-01/generated/azure_mgmt_mysql/models/recommendation_action.rb', line 37 def details @details end |
#expiration_time ⇒ DateTime
Returns Recommendation action expiration time.
28 29 30 |
# File 'lib/2018-06-01/generated/azure_mgmt_mysql/models/recommendation_action.rb', line 28 def expiration_time @expiration_time end |
#reason ⇒ String
Returns Recommendation action reason.
31 32 33 |
# File 'lib/2018-06-01/generated/azure_mgmt_mysql/models/recommendation_action.rb', line 31 def reason @reason end |
#recommendation_type ⇒ String
Returns Recommendation action type.
34 35 36 |
# File 'lib/2018-06-01/generated/azure_mgmt_mysql/models/recommendation_action.rb', line 34 def recommendation_type @recommendation_type end |
#session_id ⇒ String
Returns Recommendation action session identifier.
19 20 21 |
# File 'lib/2018-06-01/generated/azure_mgmt_mysql/models/recommendation_action.rb', line 19 def session_id @session_id end |
Class Method Details
.mapper ⇒ Object
Mapper for RecommendationAction class as Ruby Hash. This will be used for serialization/deserialization.
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 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 |
# File 'lib/2018-06-01/generated/azure_mgmt_mysql/models/recommendation_action.rb', line 44 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'RecommendationAction', type: { name: 'Composite', class_name: 'RecommendationAction', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, advisor_name: { client_side_validation: true, required: false, serialized_name: 'properties.advisorName', type: { name: 'String' } }, session_id: { client_side_validation: true, required: false, serialized_name: 'properties.sessionId', type: { name: 'String' } }, action_id: { client_side_validation: true, required: false, serialized_name: 'properties.actionId', type: { name: 'Number' } }, created_time: { client_side_validation: true, required: false, serialized_name: 'properties.createdTime', type: { name: 'DateTime' } }, expiration_time: { client_side_validation: true, required: false, serialized_name: 'properties.expirationTime', type: { name: 'DateTime' } }, reason: { client_side_validation: true, required: false, serialized_name: 'properties.reason', type: { name: 'String' } }, recommendation_type: { client_side_validation: true, required: false, serialized_name: 'properties.recommendationType', type: { name: 'String' } }, details: { client_side_validation: true, required: false, serialized_name: 'properties.details', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } } } } } end |