Class: Azure::OperationalInsights::Mgmt::V2020_08_01::Models::DataExport

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

Overview

The top level data export resource container.

Instance Attribute Summary collapse

Attributes inherited from Resource

#id, #name, #type

Class Method Summary collapse

Methods inherited from Resource

#resource_group

Instance Attribute Details

#created_dateString

Returns The latest data export rule modification time.

Returns:

  • (String)

    The latest data export rule modification time.



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

def created_date
  @created_date
end

#data_export_idString

Returns The data export rule ID.

Returns:

  • (String)

    The data export rule ID.



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

def data_export_id
  @data_export_id
end

#data_export_typeType

include: ‘StorageAccount’, ‘EventHub’

Returns:

  • (Type)

    The type of the destination resource. Possible values



28
29
30
# File 'lib/2020-08-01/generated/azure_mgmt_operational_insights/models/data_export.rb', line 28

def data_export_type
  @data_export_type
end

#enableBoolean

Returns Active when enabled.

Returns:

  • (Boolean)

    Active when enabled.



35
36
37
# File 'lib/2020-08-01/generated/azure_mgmt_operational_insights/models/data_export.rb', line 35

def enable
  @enable
end

#event_hub_nameString

applicable when destination is Storage Account.

Returns:

  • (String)

    Optional. Allows to define an Event Hub name. Not



32
33
34
# File 'lib/2020-08-01/generated/azure_mgmt_operational_insights/models/data_export.rb', line 32

def event_hub_name
  @event_hub_name
end

#last_modified_dateString

Returns Date and time when the export was last modified.

Returns:

  • (String)

    Date and time when the export was last modified.



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

def last_modified_date
  @last_modified_date
end

#resource_idString

the Properties entry of the destination resource in Azure.

Returns:

  • (String)

    The destination resource ID. This can be copied from



24
25
26
# File 'lib/2020-08-01/generated/azure_mgmt_operational_insights/models/data_export.rb', line 24

def resource_id
  @resource_id
end

#table_namesArray<String>

[“Heartbeat, SecurityEvent”].

Returns:

  • (Array<String>)

    An array of tables to export, for example:



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

def table_names
  @table_names
end

Class Method Details

.mapperObject

Mapper for DataExport 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
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
153
154
155
156
157
158
159
160
# File 'lib/2020-08-01/generated/azure_mgmt_operational_insights/models/data_export.rb', line 48

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'DataExport',
    type: {
      name: 'Composite',
      class_name: 'DataExport',
      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'
          }
        },
        data_export_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.dataExportId',
          type: {
            name: 'String'
          }
        },
        table_names: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.tableNames',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        resource_id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.destination.resourceId',
          type: {
            name: 'String'
          }
        },
        data_export_type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.destination.type',
          type: {
            name: 'String'
          }
        },
        event_hub_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.destination.metaData.eventHubName',
          type: {
            name: 'String'
          }
        },
        enable: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.enable',
          type: {
            name: 'Boolean'
          }
        },
        created_date: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.createdDate',
          type: {
            name: 'String'
          }
        },
        last_modified_date: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.lastModifiedDate',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end