Class: Azure::TimeSeriesInsights::Mgmt::V2017_11_15::Models::EventSourceCommonProperties

Inherits:
ResourceProperties
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-11-15/generated/azure_mgmt_time_series_insights/models/event_source_common_properties.rb

Overview

Properties of the event source.

Direct Known Subclasses

AzureEventSourceProperties

Instance Attribute Summary collapse

Attributes inherited from ResourceProperties

#creation_time, #provisioning_state

Class Method Summary collapse

Instance Attribute Details

#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



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

def timestamp_property_name
  @timestamp_property_name
end

Class Method Details

.mapperObject

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



26
27
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
54
55
56
57
58
59
60
61
62
63
64
# File 'lib/2017-11-15/generated/azure_mgmt_time_series_insights/models/event_source_common_properties.rb', line 26

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'EventSourceCommonProperties',
    type: {
      name: 'Composite',
      class_name: 'EventSourceCommonProperties',
      model_properties: {
        provisioning_state: {
          client_side_validation: true,
          required: false,
          serialized_name: 'provisioningState',
          type: {
            name: 'Enum',
            module: 'ProvisioningState'
          }
        },
        creation_time: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'creationTime',
          type: {
            name: 'DateTime'
          }
        },
        timestamp_property_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'timestampPropertyName',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end