Class: Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::FileEventTrigger

Inherits:
Trigger show all
Includes:
MsRestAzure
Defined in:
lib/2019-08-01/generated/azure_mgmt_databoxedge/models/file_event_trigger.rb

Overview

Trigger details.

Instance Attribute Summary collapse

Attributes inherited from ARMBaseModel

#id, #name, #type

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeFileEventTrigger

Returns a new instance of FileEventTrigger.



16
17
18
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/file_event_trigger.rb', line 16

def initialize
  @kind = "FileEvent"
end

Instance Attribute Details

#custom_context_tagString

trigger against its usage. For example, if a periodic timer trigger is intended for certain specific IoT modules in the device, the tag can be the name or the image URL of the module.

Returns:

  • (String)

    A custom context tag typically used to correlate the



32
33
34
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/file_event_trigger.rb', line 32

def custom_context_tag
  @custom_context_tag
end

#kindObject

Returns the value of attribute kind.



20
21
22
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/file_event_trigger.rb', line 20

def kind
  @kind
end

#sink_infoRoleSinkInfo

Returns Role sink info.

Returns:



26
27
28
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/file_event_trigger.rb', line 26

def sink_info
  @sink_info
end

#source_infoFileSourceInfo

Returns File event source details.

Returns:



23
24
25
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/file_event_trigger.rb', line 23

def source_info
  @source_info
end

Class Method Details

.mapperObject

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



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
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
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/file_event_trigger.rb', line 39

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'FileEvent',
    type: {
      name: 'Composite',
      class_name: 'FileEventTrigger',
      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'
          }
        },
        kind: {
          client_side_validation: true,
          required: true,
          serialized_name: 'kind',
          type: {
            name: 'String'
          }
        },
        source_info: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.sourceInfo',
          type: {
            name: 'Composite',
            class_name: 'FileSourceInfo'
          }
        },
        sink_info: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.sinkInfo',
          type: {
            name: 'Composite',
            class_name: 'RoleSinkInfo'
          }
        },
        custom_context_tag: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.customContextTag',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end