Class: Azure::ARM::Web::Models::AutoHealCustomAction

Inherits:
Object
  • Object
show all
Includes:
MsRest::JSONable, MsRestAzure
Defined in:
lib/generated/azure_mgmt_web/models/auto_heal_custom_action.rb

Overview

Custom action to be executed when an auto heal rule is triggered.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#exeString

Returns Executable to be run.

Returns:

  • (String)

    Executable to be run.



18
19
20
# File 'lib/generated/azure_mgmt_web/models/auto_heal_custom_action.rb', line 18

def exe
  @exe
end

#parametersString

Returns Parameters for the executable.

Returns:

  • (String)

    Parameters for the executable.



21
22
23
# File 'lib/generated/azure_mgmt_web/models/auto_heal_custom_action.rb', line 21

def parameters
  @parameters
end

Class Method Details

.mapperObject

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



28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# File 'lib/generated/azure_mgmt_web/models/auto_heal_custom_action.rb', line 28

def self.mapper()
  {
    required: false,
    serialized_name: 'AutoHealCustomAction',
    type: {
      name: 'Composite',
      class_name: 'AutoHealCustomAction',
      model_properties: {
        exe: {
          required: false,
          serialized_name: 'exe',
          type: {
            name: 'String'
          }
        },
        parameters: {
          required: false,
          serialized_name: 'parameters',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end