class Azure::ResourceHealth::Mgmt::V2018_08_01_preview::Models::RecommendedAction

Lists actions the user can take based on the current availabilityState of the resource.

Attributes

action[RW]

@return [String] Recommended action.

action_url[RW]

@return [String] Link to the action

action_url_text[RW]

@return [String] Substring of action, it describes which text should host the action url.

Public Class Methods

mapper() click to toggle source

Mapper for RecommendedAction class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2018-07-01-preview/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