azure_mgmt_kusto 0.19.2 → 0.19.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (98) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2017-09-07-privatepreview/generated/azure_mgmt_kusto/kusto_management_client.rb +1 -1
  3. data/lib/2018-09-07-preview/generated/azure_mgmt_kusto/kusto_management_client.rb +1 -1
  4. data/lib/2019-01-21/generated/azure_mgmt_kusto/kusto_management_client.rb +1 -1
  5. data/lib/2019-05-15/generated/azure_mgmt_kusto/kusto_management_client.rb +1 -1
  6. data/lib/2019-09-07/generated/azure_mgmt_kusto/kusto_management_client.rb +1 -1
  7. data/lib/2019-11-09/generated/azure_mgmt_kusto/kusto_management_client.rb +1 -1
  8. data/lib/2020-02-15/generated/azure_mgmt_kusto/kusto_management_client.rb +1 -1
  9. data/lib/2020-06-14/generated/azure_mgmt_kusto.rb +110 -0
  10. data/lib/2020-06-14/generated/azure_mgmt_kusto/attached_database_configurations.rb +558 -0
  11. data/lib/2020-06-14/generated/azure_mgmt_kusto/cluster_principal_assignments.rb +656 -0
  12. data/lib/2020-06-14/generated/azure_mgmt_kusto/clusters.rb +2087 -0
  13. data/lib/2020-06-14/generated/azure_mgmt_kusto/data_connections.rb +1033 -0
  14. data/lib/2020-06-14/generated/azure_mgmt_kusto/database_principal_assignments.rb +683 -0
  15. data/lib/2020-06-14/generated/azure_mgmt_kusto/databases.rb +1169 -0
  16. data/lib/2020-06-14/generated/azure_mgmt_kusto/kusto_management_client.rb +157 -0
  17. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/attached_database_configuration.rb +144 -0
  18. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/attached_database_configuration_list_result.rb +56 -0
  19. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/azure_capacity.rb +80 -0
  20. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/azure_entity_resource.rb +75 -0
  21. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/azure_resource_sku.rb +70 -0
  22. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/azure_scale_type.rb +17 -0
  23. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/azure_sku.rb +77 -0
  24. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/azure_sku_name.rb +35 -0
  25. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/azure_sku_tier.rb +16 -0
  26. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/blob_storage_event_type.rb +16 -0
  27. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/check_name_request.rb +61 -0
  28. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/check_name_result.rb +82 -0
  29. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/cluster.rb +315 -0
  30. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/cluster_check_name_request.rb +60 -0
  31. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/cluster_list_result.rb +55 -0
  32. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/cluster_principal_assignment.rb +147 -0
  33. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/cluster_principal_assignment_check_name_request.rb +62 -0
  34. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/cluster_principal_assignment_list_result.rb +56 -0
  35. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/cluster_principal_role.rb +16 -0
  36. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/cluster_update.rb +302 -0
  37. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/compression.rb +16 -0
  38. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/data_connection.rb +82 -0
  39. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/data_connection_check_name_request.rb +61 -0
  40. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/data_connection_list_result.rb +57 -0
  41. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/data_connection_validation.rb +60 -0
  42. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/data_connection_validation_list_result.rb +56 -0
  43. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/data_connection_validation_result.rb +47 -0
  44. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/database.rb +82 -0
  45. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/database_list_result.rb +57 -0
  46. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/database_principal.rb +117 -0
  47. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/database_principal_assignment.rb +148 -0
  48. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/database_principal_assignment_check_name_request.rb +62 -0
  49. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/database_principal_assignment_list_result.rb +56 -0
  50. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/database_principal_list_request.rb +56 -0
  51. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/database_principal_list_result.rb +56 -0
  52. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/database_principal_role.rb +20 -0
  53. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/database_principal_type.rb +17 -0
  54. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/database_statistics.rb +47 -0
  55. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/default_principals_modification_kind.rb +17 -0
  56. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/diagnose_virtual_network_result.rb +56 -0
  57. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/event_grid_data_connection.rb +184 -0
  58. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/event_grid_data_format.rb +30 -0
  59. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/event_hub_data_connection.rb +178 -0
  60. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/event_hub_data_format.rb +30 -0
  61. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/follower_database_definition.rb +72 -0
  62. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/follower_database_list_result.rb +56 -0
  63. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/identity.rb +95 -0
  64. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/identity_type.rb +16 -0
  65. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/identity_user_assigned_identities_value.rb +60 -0
  66. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/iot_hub_data_connection.rb +177 -0
  67. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/iot_hub_data_format.rb +30 -0
  68. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/key_vault_properties.rb +68 -0
  69. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/language_extension.rb +47 -0
  70. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/language_extension_name.rb +16 -0
  71. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/language_extensions_list.rb +55 -0
  72. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/list_resource_skus_result.rb +56 -0
  73. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/operation.rb +82 -0
  74. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/operation_display.rb +80 -0
  75. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/operation_list_result.rb +98 -0
  76. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/optimized_autoscale.rb +80 -0
  77. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/principal_type.rb +17 -0
  78. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/principals_modification_kind.rb +17 -0
  79. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/provisioning_state.rb +20 -0
  80. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/proxy_resource.rb +63 -0
  81. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/read_only_following_database.rb +174 -0
  82. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/read_write_database.rb +147 -0
  83. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/reason.rb +16 -0
  84. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/resource.rb +83 -0
  85. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/sku_description.rb +132 -0
  86. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/sku_description_list.rb +56 -0
  87. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/sku_location_info_item.rb +65 -0
  88. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/state.rb +23 -0
  89. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/tracked_resource.rb +92 -0
  90. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/trusted_external_tenant.rb +46 -0
  91. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/type.rb +16 -0
  92. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/virtual_network_configuration.rb +69 -0
  93. data/lib/2020-06-14/generated/azure_mgmt_kusto/module_definition.rb +9 -0
  94. data/lib/2020-06-14/generated/azure_mgmt_kusto/operations.rb +221 -0
  95. data/lib/azure_mgmt_kusto.rb +1 -0
  96. data/lib/profiles/latest/modules/kusto_profile_module.rb +162 -158
  97. data/lib/version.rb +1 -1
  98. metadata +88 -2
@@ -0,0 +1,56 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::Kusto::Mgmt::V2020_06_14
7
+ module Models
8
+ #
9
+ # The list Kusto database principals operation response.
10
+ #
11
+ class DatabasePrincipalListResult
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<DatabasePrincipal>] The list of Kusto database
16
+ # principals.
17
+ attr_accessor :value
18
+
19
+
20
+ #
21
+ # Mapper for DatabasePrincipalListResult class as Ruby Hash.
22
+ # This will be used for serialization/deserialization.
23
+ #
24
+ def self.mapper()
25
+ {
26
+ client_side_validation: true,
27
+ required: false,
28
+ serialized_name: 'DatabasePrincipalListResult',
29
+ type: {
30
+ name: 'Composite',
31
+ class_name: 'DatabasePrincipalListResult',
32
+ model_properties: {
33
+ value: {
34
+ client_side_validation: true,
35
+ required: false,
36
+ serialized_name: 'value',
37
+ type: {
38
+ name: 'Sequence',
39
+ element: {
40
+ client_side_validation: true,
41
+ required: false,
42
+ serialized_name: 'DatabasePrincipalElementType',
43
+ type: {
44
+ name: 'Composite',
45
+ class_name: 'DatabasePrincipal'
46
+ }
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
52
+ }
53
+ end
54
+ end
55
+ end
56
+ end
@@ -0,0 +1,20 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::Kusto::Mgmt::V2020_06_14
7
+ module Models
8
+ #
9
+ # Defines values for DatabasePrincipalRole
10
+ #
11
+ module DatabasePrincipalRole
12
+ Admin = "Admin"
13
+ Ingestor = "Ingestor"
14
+ Monitor = "Monitor"
15
+ User = "User"
16
+ UnrestrictedViewers = "UnrestrictedViewers"
17
+ Viewer = "Viewer"
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,17 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::Kusto::Mgmt::V2020_06_14
7
+ module Models
8
+ #
9
+ # Defines values for DatabasePrincipalType
10
+ #
11
+ module DatabasePrincipalType
12
+ App = "App"
13
+ Group = "Group"
14
+ User = "User"
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,47 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::Kusto::Mgmt::V2020_06_14
7
+ module Models
8
+ #
9
+ # A class that contains database statistics information.
10
+ #
11
+ class DatabaseStatistics
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Float] The database size - the total size of compressed data
16
+ # and index in bytes.
17
+ attr_accessor :size
18
+
19
+
20
+ #
21
+ # Mapper for DatabaseStatistics class as Ruby Hash.
22
+ # This will be used for serialization/deserialization.
23
+ #
24
+ def self.mapper()
25
+ {
26
+ client_side_validation: true,
27
+ required: false,
28
+ serialized_name: 'DatabaseStatistics',
29
+ type: {
30
+ name: 'Composite',
31
+ class_name: 'DatabaseStatistics',
32
+ model_properties: {
33
+ size: {
34
+ client_side_validation: true,
35
+ required: false,
36
+ serialized_name: 'size',
37
+ type: {
38
+ name: 'Double'
39
+ }
40
+ }
41
+ }
42
+ }
43
+ }
44
+ end
45
+ end
46
+ end
47
+ end
@@ -0,0 +1,17 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::Kusto::Mgmt::V2020_06_14
7
+ module Models
8
+ #
9
+ # Defines values for DefaultPrincipalsModificationKind
10
+ #
11
+ module DefaultPrincipalsModificationKind
12
+ Union = "Union"
13
+ Replace = "Replace"
14
+ None = "None"
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,56 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::Kusto::Mgmt::V2020_06_14
7
+ module Models
8
+ #
9
+ # Model object.
10
+ #
11
+ #
12
+ class DiagnoseVirtualNetworkResult
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [Array<String>] The list of network connectivity diagnostic
17
+ # finding
18
+ attr_accessor :findings
19
+
20
+
21
+ #
22
+ # Mapper for DiagnoseVirtualNetworkResult class as Ruby Hash.
23
+ # This will be used for serialization/deserialization.
24
+ #
25
+ def self.mapper()
26
+ {
27
+ client_side_validation: true,
28
+ required: false,
29
+ serialized_name: 'DiagnoseVirtualNetworkResult',
30
+ type: {
31
+ name: 'Composite',
32
+ class_name: 'DiagnoseVirtualNetworkResult',
33
+ model_properties: {
34
+ findings: {
35
+ client_side_validation: true,
36
+ required: false,
37
+ serialized_name: 'findings',
38
+ type: {
39
+ name: 'Sequence',
40
+ element: {
41
+ client_side_validation: true,
42
+ required: false,
43
+ serialized_name: 'StringElementType',
44
+ type: {
45
+ name: 'String'
46
+ }
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
52
+ }
53
+ end
54
+ end
55
+ end
56
+ end
@@ -0,0 +1,184 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::Kusto::Mgmt::V2020_06_14
7
+ module Models
8
+ #
9
+ # Class representing an Event Grid data connection.
10
+ #
11
+ class EventGridDataConnection < DataConnection
12
+
13
+ include MsRestAzure
14
+
15
+
16
+ def initialize
17
+ @kind = "EventGrid"
18
+ end
19
+
20
+ attr_accessor :kind
21
+
22
+ # @return [String] The resource ID of the storage account where the data
23
+ # resides.
24
+ attr_accessor :storage_account_resource_id
25
+
26
+ # @return [String] The resource ID where the event grid is configured to
27
+ # send events.
28
+ attr_accessor :event_hub_resource_id
29
+
30
+ # @return [String] The event hub consumer group.
31
+ attr_accessor :consumer_group
32
+
33
+ # @return [String] The table where the data should be ingested.
34
+ # Optionally the table information can be added to each message.
35
+ attr_accessor :table_name
36
+
37
+ # @return [String] The mapping rule to be used to ingest the data.
38
+ # Optionally the mapping information can be added to each message.
39
+ attr_accessor :mapping_rule_name
40
+
41
+ # @return [EventGridDataFormat] The data format of the message.
42
+ # Optionally the data format can be added to each message. Possible
43
+ # values include: 'MULTIJSON', 'JSON', 'CSV', 'TSV', 'SCSV', 'SOHSV',
44
+ # 'PSV', 'TXT', 'RAW', 'SINGLEJSON', 'AVRO', 'TSVE', 'PARQUET', 'ORC',
45
+ # 'APACHEAVRO', 'W3CLOGFILE'
46
+ attr_accessor :data_format
47
+
48
+ # @return [Boolean] A Boolean value that, if set to true, indicates that
49
+ # ingestion should ignore the first record of every file
50
+ attr_accessor :ignore_first_record
51
+
52
+ # @return [BlobStorageEventType] The name of blob storage event type to
53
+ # process. Possible values include: 'Microsoft.Storage.BlobCreated',
54
+ # 'Microsoft.Storage.BlobRenamed'
55
+ attr_accessor :blob_storage_event_type
56
+
57
+
58
+ #
59
+ # Mapper for EventGridDataConnection class as Ruby Hash.
60
+ # This will be used for serialization/deserialization.
61
+ #
62
+ def self.mapper()
63
+ {
64
+ client_side_validation: true,
65
+ required: false,
66
+ serialized_name: 'EventGrid',
67
+ type: {
68
+ name: 'Composite',
69
+ class_name: 'EventGridDataConnection',
70
+ model_properties: {
71
+ id: {
72
+ client_side_validation: true,
73
+ required: false,
74
+ read_only: true,
75
+ serialized_name: 'id',
76
+ type: {
77
+ name: 'String'
78
+ }
79
+ },
80
+ name: {
81
+ client_side_validation: true,
82
+ required: false,
83
+ read_only: true,
84
+ serialized_name: 'name',
85
+ type: {
86
+ name: 'String'
87
+ }
88
+ },
89
+ type: {
90
+ client_side_validation: true,
91
+ required: false,
92
+ read_only: true,
93
+ serialized_name: 'type',
94
+ type: {
95
+ name: 'String'
96
+ }
97
+ },
98
+ location: {
99
+ client_side_validation: true,
100
+ required: false,
101
+ serialized_name: 'location',
102
+ type: {
103
+ name: 'String'
104
+ }
105
+ },
106
+ kind: {
107
+ client_side_validation: true,
108
+ required: true,
109
+ serialized_name: 'kind',
110
+ type: {
111
+ name: 'String'
112
+ }
113
+ },
114
+ storage_account_resource_id: {
115
+ client_side_validation: true,
116
+ required: true,
117
+ serialized_name: 'properties.storageAccountResourceId',
118
+ type: {
119
+ name: 'String'
120
+ }
121
+ },
122
+ event_hub_resource_id: {
123
+ client_side_validation: true,
124
+ required: true,
125
+ serialized_name: 'properties.eventHubResourceId',
126
+ type: {
127
+ name: 'String'
128
+ }
129
+ },
130
+ consumer_group: {
131
+ client_side_validation: true,
132
+ required: true,
133
+ serialized_name: 'properties.consumerGroup',
134
+ type: {
135
+ name: 'String'
136
+ }
137
+ },
138
+ table_name: {
139
+ client_side_validation: true,
140
+ required: false,
141
+ serialized_name: 'properties.tableName',
142
+ type: {
143
+ name: 'String'
144
+ }
145
+ },
146
+ mapping_rule_name: {
147
+ client_side_validation: true,
148
+ required: false,
149
+ serialized_name: 'properties.mappingRuleName',
150
+ type: {
151
+ name: 'String'
152
+ }
153
+ },
154
+ data_format: {
155
+ client_side_validation: true,
156
+ required: false,
157
+ serialized_name: 'properties.dataFormat',
158
+ type: {
159
+ name: 'String'
160
+ }
161
+ },
162
+ ignore_first_record: {
163
+ client_side_validation: true,
164
+ required: false,
165
+ serialized_name: 'properties.ignoreFirstRecord',
166
+ type: {
167
+ name: 'Boolean'
168
+ }
169
+ },
170
+ blob_storage_event_type: {
171
+ client_side_validation: true,
172
+ required: false,
173
+ serialized_name: 'properties.blobStorageEventType',
174
+ type: {
175
+ name: 'String'
176
+ }
177
+ }
178
+ }
179
+ }
180
+ }
181
+ end
182
+ end
183
+ end
184
+ end
@@ -0,0 +1,30 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::Kusto::Mgmt::V2020_06_14
7
+ module Models
8
+ #
9
+ # Defines values for EventGridDataFormat
10
+ #
11
+ module EventGridDataFormat
12
+ MULTIJSON = "MULTIJSON"
13
+ JSON = "JSON"
14
+ CSV = "CSV"
15
+ TSV = "TSV"
16
+ SCSV = "SCSV"
17
+ SOHSV = "SOHSV"
18
+ PSV = "PSV"
19
+ TXT = "TXT"
20
+ RAW = "RAW"
21
+ SINGLEJSON = "SINGLEJSON"
22
+ AVRO = "AVRO"
23
+ TSVE = "TSVE"
24
+ PARQUET = "PARQUET"
25
+ ORC = "ORC"
26
+ APACHEAVRO = "APACHEAVRO"
27
+ W3CLOGFILE = "W3CLOGFILE"
28
+ end
29
+ end
30
+ end
@@ -0,0 +1,178 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::Kusto::Mgmt::V2020_06_14
7
+ module Models
8
+ #
9
+ # Class representing an event hub data connection.
10
+ #
11
+ class EventHubDataConnection < DataConnection
12
+
13
+ include MsRestAzure
14
+
15
+
16
+ def initialize
17
+ @kind = "EventHub"
18
+ end
19
+
20
+ attr_accessor :kind
21
+
22
+ # @return [String] The resource ID of the event hub to be used to create
23
+ # a data connection.
24
+ attr_accessor :event_hub_resource_id
25
+
26
+ # @return [String] The event hub consumer group.
27
+ attr_accessor :consumer_group
28
+
29
+ # @return [String] The table where the data should be ingested.
30
+ # Optionally the table information can be added to each message.
31
+ attr_accessor :table_name
32
+
33
+ # @return [String] The mapping rule to be used to ingest the data.
34
+ # Optionally the mapping information can be added to each message.
35
+ attr_accessor :mapping_rule_name
36
+
37
+ # @return [EventHubDataFormat] The data format of the message. Optionally
38
+ # the data format can be added to each message. Possible values include:
39
+ # 'MULTIJSON', 'JSON', 'CSV', 'TSV', 'SCSV', 'SOHSV', 'PSV', 'TXT',
40
+ # 'RAW', 'SINGLEJSON', 'AVRO', 'TSVE', 'PARQUET', 'ORC', 'APACHEAVRO',
41
+ # 'W3CLOGFILE'
42
+ attr_accessor :data_format
43
+
44
+ # @return [Array<String>] System properties of the event hub
45
+ attr_accessor :event_system_properties
46
+
47
+ # @return [Compression] The event hub messages compression type. Possible
48
+ # values include: 'None', 'GZip'
49
+ attr_accessor :compression
50
+
51
+
52
+ #
53
+ # Mapper for EventHubDataConnection class as Ruby Hash.
54
+ # This will be used for serialization/deserialization.
55
+ #
56
+ def self.mapper()
57
+ {
58
+ client_side_validation: true,
59
+ required: false,
60
+ serialized_name: 'EventHub',
61
+ type: {
62
+ name: 'Composite',
63
+ class_name: 'EventHubDataConnection',
64
+ model_properties: {
65
+ id: {
66
+ client_side_validation: true,
67
+ required: false,
68
+ read_only: true,
69
+ serialized_name: 'id',
70
+ type: {
71
+ name: 'String'
72
+ }
73
+ },
74
+ name: {
75
+ client_side_validation: true,
76
+ required: false,
77
+ read_only: true,
78
+ serialized_name: 'name',
79
+ type: {
80
+ name: 'String'
81
+ }
82
+ },
83
+ type: {
84
+ client_side_validation: true,
85
+ required: false,
86
+ read_only: true,
87
+ serialized_name: 'type',
88
+ type: {
89
+ name: 'String'
90
+ }
91
+ },
92
+ location: {
93
+ client_side_validation: true,
94
+ required: false,
95
+ serialized_name: 'location',
96
+ type: {
97
+ name: 'String'
98
+ }
99
+ },
100
+ kind: {
101
+ client_side_validation: true,
102
+ required: true,
103
+ serialized_name: 'kind',
104
+ type: {
105
+ name: 'String'
106
+ }
107
+ },
108
+ event_hub_resource_id: {
109
+ client_side_validation: true,
110
+ required: true,
111
+ serialized_name: 'properties.eventHubResourceId',
112
+ type: {
113
+ name: 'String'
114
+ }
115
+ },
116
+ consumer_group: {
117
+ client_side_validation: true,
118
+ required: true,
119
+ serialized_name: 'properties.consumerGroup',
120
+ type: {
121
+ name: 'String'
122
+ }
123
+ },
124
+ table_name: {
125
+ client_side_validation: true,
126
+ required: false,
127
+ serialized_name: 'properties.tableName',
128
+ type: {
129
+ name: 'String'
130
+ }
131
+ },
132
+ mapping_rule_name: {
133
+ client_side_validation: true,
134
+ required: false,
135
+ serialized_name: 'properties.mappingRuleName',
136
+ type: {
137
+ name: 'String'
138
+ }
139
+ },
140
+ data_format: {
141
+ client_side_validation: true,
142
+ required: false,
143
+ serialized_name: 'properties.dataFormat',
144
+ type: {
145
+ name: 'String'
146
+ }
147
+ },
148
+ event_system_properties: {
149
+ client_side_validation: true,
150
+ required: false,
151
+ serialized_name: 'properties.eventSystemProperties',
152
+ type: {
153
+ name: 'Sequence',
154
+ element: {
155
+ client_side_validation: true,
156
+ required: false,
157
+ serialized_name: 'StringElementType',
158
+ type: {
159
+ name: 'String'
160
+ }
161
+ }
162
+ }
163
+ },
164
+ compression: {
165
+ client_side_validation: true,
166
+ required: false,
167
+ serialized_name: 'properties.compression',
168
+ type: {
169
+ name: 'String'
170
+ }
171
+ }
172
+ }
173
+ }
174
+ }
175
+ end
176
+ end
177
+ end
178
+ end