Class: Azure::OperationalInsights::Mgmt::V2020_08_01::Models::DataSource

Inherits:
ProxyResource show all
Includes:
MsRestAzure
Defined in:
lib/2020-08-01/generated/azure_mgmt_operational_insights/models/data_source.rb

Overview

Datasources under OMS Workspace.

Instance Attribute Summary collapse

Attributes inherited from Resource

#id, #name, #type

Class Method Summary collapse

Methods inherited from Resource

#resource_group

Instance Attribute Details

#etagString

Returns The ETag of the data source.

Returns:

  • (String)

    The ETag of the data source.



20
21
22
# File 'lib/2020-08-01/generated/azure_mgmt_operational_insights/models/data_source.rb', line 20

def etag
  @etag
end

#kindDataSourceKind

‘WindowsPerformanceCounter’, ‘IISLogs’, ‘LinuxSyslog’, ‘LinuxSyslogCollection’, ‘LinuxPerformanceObject’, ‘LinuxPerformanceCollection’, ‘CustomLog’, ‘CustomLogCollection’, ‘AzureAuditLog’, ‘AzureActivityLog’, ‘GenericDataSource’, ‘ChangeTrackingCustomPath’, ‘ChangeTrackingPath’, ‘ChangeTrackingServices’, ‘ChangeTrackingDataTypeConfiguration’, ‘ChangeTrackingDefaultRegistry’, ‘ChangeTrackingRegistry’, ‘ChangeTrackingLinuxPath’, ‘LinuxChangeTrackingPath’, ‘ChangeTrackingContentLocation’, ‘WindowsTelemetry’, ‘Office365’, ‘SecurityWindowsBaselineConfiguration’, ‘SecurityCenterSecurityWindowsBaselineConfiguration’, ‘SecurityEventCollectionConfiguration’, ‘SecurityInsightsSecurityEventCollectionConfiguration’, ‘ImportComputerGroup’, ‘NetworkMonitoring’, ‘Itsm’, ‘DnsAnalytics’, ‘ApplicationInsights’, ‘SqlDataClassification’

Returns:



38
39
40
# File 'lib/2020-08-01/generated/azure_mgmt_operational_insights/models/data_source.rb', line 38

def kind
  @kind
end

#propertiesObject

data source have it’s own schema.

Returns:

  • The data source properties in raw json format, each kind of



17
18
19
# File 'lib/2020-08-01/generated/azure_mgmt_operational_insights/models/data_source.rb', line 17

def properties
  @properties
end

#tagsHash{String => String}

Returns Resource tags.

Returns:

  • (Hash{String => String})

    Resource tags.



41
42
43
# File 'lib/2020-08-01/generated/azure_mgmt_operational_insights/models/data_source.rb', line 41

def tags
  @tags
end

Class Method Details

.mapperObject

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



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
# File 'lib/2020-08-01/generated/azure_mgmt_operational_insights/models/data_source.rb', line 48

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'DataSource',
    type: {
      name: 'Composite',
      class_name: 'DataSource',
      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'
          }
        },
        properties: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties',
          type: {
            name: 'Object'
          }
        },
        etag: {
          client_side_validation: true,
          required: false,
          serialized_name: 'etag',
          type: {
            name: 'String'
          }
        },
        kind: {
          client_side_validation: true,
          required: true,
          serialized_name: 'kind',
          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'
                }
            }
          }
        }
      }
    }
  }
end