Class: Azure::DataFactory::Mgmt::V2017_09_01_preview::Models::Trigger

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/trigger.rb

Overview

Azure data factory nested object which contains information about creating pipeline run

Constant Summary collapse

@@discriminatorMap =
Hash.new

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeTrigger



23
24
25
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/trigger.rb', line 23

def initialize
  @type = "Trigger"
end

Instance Attribute Details

#additional_propertiesObject

collection



31
32
33
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/trigger.rb', line 31

def additional_properties
  @additional_properties
end

#descriptionString



34
35
36
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/trigger.rb', line 34

def description
  @description
end

#runtime_stateTriggerRuntimeState

Updated when Start/Stop APIs are called on the Trigger. Possible values include: ‘Started’, ‘Stopped’, ‘Disabled’



39
40
41
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/trigger.rb', line 39

def runtime_state
  @runtime_state
end

#typeObject

Returns the value of attribute type.



27
28
29
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/trigger.rb', line 27

def type
  @type
end

Class Method Details

.mapperObject

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



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
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/trigger.rb', line 46

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Trigger',
    type: {
      name: 'Composite',
      polymorphic_discriminator: 'type',
      uber_parent: 'Trigger',
      class_name: 'Trigger',
      model_properties: {
        additional_properties: {
          client_side_validation: true,
          required: false,
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ObjectElementType',
                type: {
                  name: 'Object'
                }
            }
          }
        },
        description: {
          client_side_validation: true,
          required: false,
          serialized_name: 'description',
          type: {
            name: 'String'
          }
        },
        runtime_state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'runtimeState',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end