Class: Azure::TimeSeriesInsights::Mgmt::V2017_11_15::Models::ReferenceDataSetResource

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

Overview

A reference data set provides metadata about the events in an environment. Metadata in the reference data set will be joined with events as they are read from event sources. The metadata that makes up the reference data set is uploaded or modified through the Time Series Insights data plane APIs.

Instance Attribute Summary collapse

Attributes inherited from TrackedResource

#location, #tags

Attributes inherited from Resource

#id, #name, #type

Class Method Summary collapse

Methods inherited from Resource

#resource_group

Instance Attribute Details

#creation_timeDateTime

Returns The time the resource was created.

Returns:

  • (DateTime)

    The time the resource was created.



38
39
40
# File 'lib/2017-11-15/generated/azure_mgmt_time_series_insights/models/reference_data_set_resource.rb', line 38

def creation_time
  @creation_time
end

#data_string_comparison_behaviorDataStringComparisonBehavior

comparison behavior can be set using this property. By default, the value is ‘Ordinal’ - which means case sensitive key comparison will be performed while joining reference data with events or while adding new reference data. When ‘OrdinalIgnoreCase’ is set, case insensitive comparison will be used. Possible values include: ‘Ordinal’, ‘OrdinalIgnoreCase’

Returns:



30
31
32
# File 'lib/2017-11-15/generated/azure_mgmt_time_series_insights/models/reference_data_set_resource.rb', line 30

def data_string_comparison_behavior
  @data_string_comparison_behavior
end

#key_propertiesArray<ReferenceDataSetKeyProperty>

for the reference data set.

Returns:



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

def key_properties
  @key_properties
end

#provisioning_stateProvisioningState

Possible values include: ‘Accepted’, ‘Creating’, ‘Updating’, ‘Succeeded’, ‘Failed’, ‘Deleting’

Returns:



35
36
37
# File 'lib/2017-11-15/generated/azure_mgmt_time_series_insights/models/reference_data_set_resource.rb', line 35

def provisioning_state
  @provisioning_state
end

Class Method Details

.mapperObject

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



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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
# File 'lib/2017-11-15/generated/azure_mgmt_time_series_insights/models/reference_data_set_resource.rb', line 45

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ReferenceDataSetResource',
    type: {
      name: 'Composite',
      class_name: 'ReferenceDataSetResource',
      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'
          }
        },
        location: {
          client_side_validation: true,
          required: true,
          serialized_name: 'location',
          type: {
            name: 'String'
          }
        },
        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'
                }
            }
          }
        },
        key_properties: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.keyProperties',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ReferenceDataSetKeyPropertyElementType',
                type: {
                  name: 'Composite',
                  class_name: 'ReferenceDataSetKeyProperty'
                }
            }
          }
        },
        data_string_comparison_behavior: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.dataStringComparisonBehavior',
          type: {
            name: 'Enum',
            module: 'DataStringComparisonBehavior'
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'Enum',
            module: 'ProvisioningState'
          }
        },
        creation_time: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.creationTime',
          type: {
            name: 'DateTime'
          }
        }
      }
    }
  }
end