Class: Azure::TimeSeriesInsights::Mgmt::V2017_11_15::Models::EventHubEventSourceUpdateParameters

Inherits:
EventSourceUpdateParameters show all
Includes:
MsRestAzure
Defined in:
lib/2017-11-15/generated/azure_mgmt_time_series_insights/models/event_hub_event_source_update_parameters.rb

Overview

Parameters supplied to the Update Event Source operation to update an EventHub event source.

Instance Attribute Summary collapse

Attributes inherited from EventSourceUpdateParameters

#tags

Class Method Summary collapse

Instance Attribute Details

#local_timestampLocalTimestamp

property. It contains the format of local timestamp that needs to be used and the corresponding timezone offset information. If a value isn’t specified for localTimestamp, or if null, then the local timestamp will not be ingressed with the events.

Returns:



27
28
29
# File 'lib/2017-11-15/generated/azure_mgmt_time_series_insights/models/event_hub_event_source_update_parameters.rb', line 27

def local_timestamp
  @local_timestamp
end

#shared_access_keyString

Time Series Insights service read access to the event hub. This property is not shown in event source responses.

Returns:

  • (String)

    The value of the shared access key that grants the



32
33
34
# File 'lib/2017-11-15/generated/azure_mgmt_time_series_insights/models/event_hub_event_source_update_parameters.rb', line 32

def shared_access_key
  @shared_access_key
end

#timestamp_property_nameString

source’s timestamp. If a value isn’t specified for timestampPropertyName, or if null or empty-string is specified, the event creation time will be used.

Returns:

  • (String)

    The event property that will be used as the event



20
21
22
# File 'lib/2017-11-15/generated/azure_mgmt_time_series_insights/models/event_hub_event_source_update_parameters.rb', line 20

def timestamp_property_name
  @timestamp_property_name
end

Class Method Details

.mapperObject

Mapper for EventHubEventSourceUpdateParameters 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
# File 'lib/2017-11-15/generated/azure_mgmt_time_series_insights/models/event_hub_event_source_update_parameters.rb', line 39

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'EventHubEventSourceUpdateParameters',
    type: {
      name: 'Composite',
      class_name: 'EventHubEventSourceUpdateParameters',
      model_properties: {
        tags: {
          client_side_validation: true,
          required: false,
          serialized_name: 'tags',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        timestamp_property_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.timestampPropertyName',
          type: {
            name: 'String'
          }
        },
        local_timestamp: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.localTimestamp',
          type: {
            name: 'Composite',
            class_name: 'LocalTimestamp'
          }
        },
        shared_access_key: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.sharedAccessKey',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end