azure_mgmt_kusto 0.17.0 → 0.17.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) 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.rb +71 -0
  5. data/lib/2019-01-21/generated/azure_mgmt_kusto/clusters.rb +1281 -0
  6. data/lib/2019-01-21/generated/azure_mgmt_kusto/data_connections.rb +836 -0
  7. data/lib/2019-01-21/generated/azure_mgmt_kusto/databases.rb +1131 -0
  8. data/lib/2019-01-21/generated/azure_mgmt_kusto/kusto_management_client.rb +145 -0
  9. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/azure_capacity.rb +80 -0
  10. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/azure_entity_resource.rb +75 -0
  11. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/azure_resource_sku.rb +70 -0
  12. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/azure_scale_type.rb +17 -0
  13. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/azure_sku.rb +71 -0
  14. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/azure_sku_name.rb +21 -0
  15. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/check_name_result.rb +70 -0
  16. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/cluster.rb +171 -0
  17. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/cluster_check_name_request.rb +60 -0
  18. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/cluster_list_result.rb +55 -0
  19. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/cluster_update.rb +176 -0
  20. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/data_connection.rb +82 -0
  21. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/data_connection_list_result.rb +57 -0
  22. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/data_connection_validation.rb +60 -0
  23. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/data_connection_validation_list_result.rb +56 -0
  24. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/data_connection_validation_result.rb +47 -0
  25. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/data_format.rb +25 -0
  26. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/database.rb +123 -0
  27. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/database_check_name_request.rb +61 -0
  28. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/database_list_result.rb +55 -0
  29. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/database_principal.rb +105 -0
  30. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/database_principal_list_request.rb +56 -0
  31. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/database_principal_list_result.rb +56 -0
  32. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/database_principal_role.rb +20 -0
  33. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/database_principal_type.rb +17 -0
  34. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/database_statistics.rb +47 -0
  35. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/database_update.rb +123 -0
  36. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/event_grid_data_connection.rb +158 -0
  37. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/event_hub_data_connection.rb +146 -0
  38. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/list_resource_skus_result.rb +56 -0
  39. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/list_skus_result.rb +56 -0
  40. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/operation.rb +82 -0
  41. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/operation_display.rb +80 -0
  42. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/operation_list_result.rb +98 -0
  43. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/provisioning_state.rb +19 -0
  44. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/proxy_resource.rb +63 -0
  45. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/resource.rb +83 -0
  46. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/state.rb +23 -0
  47. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/tracked_resource.rb +92 -0
  48. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/trusted_external_tenant.rb +46 -0
  49. data/lib/2019-01-21/generated/azure_mgmt_kusto/module_definition.rb +9 -0
  50. data/lib/2019-01-21/generated/azure_mgmt_kusto/operations.rb +217 -0
  51. data/lib/azure_mgmt_kusto.rb +1 -0
  52. data/lib/profiles/latest/modules/kusto_profile_module.rb +109 -105
  53. data/lib/version.rb +1 -1
  54. metadata +49 -2
@@ -0,0 +1,46 @@
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::V2019_01_21
7
+ module Models
8
+ #
9
+ # Represents a tenant ID that is trusted by the cluster.
10
+ #
11
+ class TrustedExternalTenant
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] GUID representing an external tenant.
16
+ attr_accessor :value
17
+
18
+
19
+ #
20
+ # Mapper for TrustedExternalTenant class as Ruby Hash.
21
+ # This will be used for serialization/deserialization.
22
+ #
23
+ def self.mapper()
24
+ {
25
+ client_side_validation: true,
26
+ required: false,
27
+ serialized_name: 'TrustedExternalTenant',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'TrustedExternalTenant',
31
+ model_properties: {
32
+ value: {
33
+ client_side_validation: true,
34
+ required: false,
35
+ serialized_name: 'value',
36
+ type: {
37
+ name: 'String'
38
+ }
39
+ }
40
+ }
41
+ }
42
+ }
43
+ end
44
+ end
45
+ end
46
+ end
@@ -0,0 +1,9 @@
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 end
7
+ module Azure::Kusto end
8
+ module Azure::Kusto::Mgmt end
9
+ module Azure::Kusto::Mgmt::V2019_01_21 end
@@ -0,0 +1,217 @@
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::V2019_01_21
7
+ #
8
+ # The Azure Kusto management API provides a RESTful set of web services that
9
+ # interact with Azure Kusto services to manage your clusters and databases.
10
+ # The API enables you to create, update, and delete clusters and databases.
11
+ #
12
+ class Operations
13
+ include MsRestAzure
14
+
15
+ #
16
+ # Creates and initializes a new instance of the Operations class.
17
+ # @param client service class for accessing basic functionality.
18
+ #
19
+ def initialize(client)
20
+ @client = client
21
+ end
22
+
23
+ # @return [KustoManagementClient] reference to the KustoManagementClient
24
+ attr_reader :client
25
+
26
+ #
27
+ # Lists available operations for the Microsoft.Kusto provider.
28
+ #
29
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
30
+ # will be added to the HTTP request.
31
+ #
32
+ # @return [Array<Operation>] operation results.
33
+ #
34
+ def list(custom_headers:nil)
35
+ first_page = list_as_lazy(custom_headers:custom_headers)
36
+ first_page.get_all_items
37
+ end
38
+
39
+ #
40
+ # Lists available operations for the Microsoft.Kusto provider.
41
+ #
42
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
43
+ # will be added to the HTTP request.
44
+ #
45
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
46
+ #
47
+ def list_with_http_info(custom_headers:nil)
48
+ list_async(custom_headers:custom_headers).value!
49
+ end
50
+
51
+ #
52
+ # Lists available operations for the Microsoft.Kusto provider.
53
+ #
54
+ # @param [Hash{String => String}] A hash of custom headers that will be added
55
+ # to the HTTP request.
56
+ #
57
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
58
+ #
59
+ def list_async(custom_headers:nil)
60
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
61
+
62
+
63
+ request_headers = {}
64
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
65
+
66
+ # Set Headers
67
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
68
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
69
+ path_template = 'providers/Microsoft.Kusto/operations'
70
+
71
+ request_url = @base_url || @client.base_url
72
+
73
+ options = {
74
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
75
+ query_params: {'api-version' => @client.api_version},
76
+ headers: request_headers.merge(custom_headers || {}),
77
+ base_url: request_url
78
+ }
79
+ promise = @client.make_request_async(:get, path_template, options)
80
+
81
+ promise = promise.then do |result|
82
+ http_response = result.response
83
+ status_code = http_response.status
84
+ response_content = http_response.body
85
+ unless status_code == 200
86
+ error_model = JSON.load(response_content)
87
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
88
+ end
89
+
90
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
91
+ # Deserialize Response
92
+ if status_code == 200
93
+ begin
94
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
95
+ result_mapper = Azure::Kusto::Mgmt::V2019_01_21::Models::OperationListResult.mapper()
96
+ result.body = @client.deserialize(result_mapper, parsed_response)
97
+ rescue Exception => e
98
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
99
+ end
100
+ end
101
+
102
+ result
103
+ end
104
+
105
+ promise.execute
106
+ end
107
+
108
+ #
109
+ # Lists available operations for the Microsoft.Kusto provider.
110
+ #
111
+ # @param next_page_link [String] The NextLink from the previous successful call
112
+ # to List operation.
113
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
114
+ # will be added to the HTTP request.
115
+ #
116
+ # @return [OperationListResult] operation results.
117
+ #
118
+ def list_next(next_page_link, custom_headers:nil)
119
+ response = list_next_async(next_page_link, custom_headers:custom_headers).value!
120
+ response.body unless response.nil?
121
+ end
122
+
123
+ #
124
+ # Lists available operations for the Microsoft.Kusto provider.
125
+ #
126
+ # @param next_page_link [String] The NextLink from the previous successful call
127
+ # to List operation.
128
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
129
+ # will be added to the HTTP request.
130
+ #
131
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
132
+ #
133
+ def list_next_with_http_info(next_page_link, custom_headers:nil)
134
+ list_next_async(next_page_link, custom_headers:custom_headers).value!
135
+ end
136
+
137
+ #
138
+ # Lists available operations for the Microsoft.Kusto provider.
139
+ #
140
+ # @param next_page_link [String] The NextLink from the previous successful call
141
+ # to List operation.
142
+ # @param [Hash{String => String}] A hash of custom headers that will be added
143
+ # to the HTTP request.
144
+ #
145
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
146
+ #
147
+ def list_next_async(next_page_link, custom_headers:nil)
148
+ fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
149
+
150
+
151
+ request_headers = {}
152
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
153
+
154
+ # Set Headers
155
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
156
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
157
+ path_template = '{nextLink}'
158
+
159
+ request_url = @base_url || @client.base_url
160
+
161
+ options = {
162
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
163
+ skip_encoding_path_params: {'nextLink' => next_page_link},
164
+ headers: request_headers.merge(custom_headers || {}),
165
+ base_url: request_url
166
+ }
167
+ promise = @client.make_request_async(:get, path_template, options)
168
+
169
+ promise = promise.then do |result|
170
+ http_response = result.response
171
+ status_code = http_response.status
172
+ response_content = http_response.body
173
+ unless status_code == 200
174
+ error_model = JSON.load(response_content)
175
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
176
+ end
177
+
178
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
179
+ # Deserialize Response
180
+ if status_code == 200
181
+ begin
182
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
183
+ result_mapper = Azure::Kusto::Mgmt::V2019_01_21::Models::OperationListResult.mapper()
184
+ result.body = @client.deserialize(result_mapper, parsed_response)
185
+ rescue Exception => e
186
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
187
+ end
188
+ end
189
+
190
+ result
191
+ end
192
+
193
+ promise.execute
194
+ end
195
+
196
+ #
197
+ # Lists available operations for the Microsoft.Kusto provider.
198
+ #
199
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
200
+ # will be added to the HTTP request.
201
+ #
202
+ # @return [OperationListResult] which provide lazy access to pages of the
203
+ # response.
204
+ #
205
+ def list_as_lazy(custom_headers:nil)
206
+ response = list_async(custom_headers:custom_headers).value!
207
+ unless response.nil?
208
+ page = response.body
209
+ page.next_method = Proc.new do |next_page_link|
210
+ list_next_async(next_page_link, custom_headers:custom_headers)
211
+ end
212
+ page
213
+ end
214
+ end
215
+
216
+ end
217
+ end
@@ -2,6 +2,7 @@
2
2
  # Copyright (c) Microsoft Corporation. All rights reserved.
3
3
  # Licensed under the MIT License. See License.txt in the project root for license information.
4
4
 
5
+ require '2019-01-21/generated/azure_mgmt_kusto'
5
6
  require '2018-09-07-preview/generated/azure_mgmt_kusto'
6
7
  require '2017-09-07-privatepreview/generated/azure_mgmt_kusto'
7
8
  require 'profiles/latest/kusto_latest_profile_client'
@@ -6,58 +6,59 @@ require 'azure_mgmt_kusto'
6
6
 
7
7
  module Azure::Kusto::Profiles::Latest
8
8
  module Mgmt
9
- Clusters = Azure::Kusto::Mgmt::V2018_09_07_preview::Clusters
10
- Databases = Azure::Kusto::Mgmt::V2018_09_07_preview::Databases
11
- EventHubConnections = Azure::Kusto::Mgmt::V2018_09_07_preview::EventHubConnections
12
- Operations = Azure::Kusto::Mgmt::V2018_09_07_preview::Operations
9
+ Clusters = Azure::Kusto::Mgmt::V2019_01_21::Clusters
10
+ Databases = Azure::Kusto::Mgmt::V2019_01_21::Databases
11
+ DataConnections = Azure::Kusto::Mgmt::V2019_01_21::DataConnections
12
+ Operations = Azure::Kusto::Mgmt::V2019_01_21::Operations
13
13
 
14
14
  module Models
15
- DatabasePrincipalListResult = Azure::Kusto::Mgmt::V2018_09_07_preview::Models::DatabasePrincipalListResult
16
- DatabasePrincipalListRequest = Azure::Kusto::Mgmt::V2018_09_07_preview::Models::DatabasePrincipalListRequest
17
- AzureSku = Azure::Kusto::Mgmt::V2018_09_07_preview::Models::AzureSku
18
- EventHubConnectionValidationListResult = Azure::Kusto::Mgmt::V2018_09_07_preview::Models::EventHubConnectionValidationListResult
19
- AzureResourceSku = Azure::Kusto::Mgmt::V2018_09_07_preview::Models::AzureResourceSku
20
- EventHubConnectionListResult = Azure::Kusto::Mgmt::V2018_09_07_preview::Models::EventHubConnectionListResult
21
- EventHubConnectionValidation = Azure::Kusto::Mgmt::V2018_09_07_preview::Models::EventHubConnectionValidation
22
- TrustedExternalTenant = Azure::Kusto::Mgmt::V2018_09_07_preview::Models::TrustedExternalTenant
23
- AzureCapacity = Azure::Kusto::Mgmt::V2018_09_07_preview::Models::AzureCapacity
24
- OperationListResult = Azure::Kusto::Mgmt::V2018_09_07_preview::Models::OperationListResult
25
- DatabaseStatistics = Azure::Kusto::Mgmt::V2018_09_07_preview::Models::DatabaseStatistics
26
- Operation = Azure::Kusto::Mgmt::V2018_09_07_preview::Models::Operation
27
- OperationDisplay = Azure::Kusto::Mgmt::V2018_09_07_preview::Models::OperationDisplay
28
- ListResourceSkusResult = Azure::Kusto::Mgmt::V2018_09_07_preview::Models::ListResourceSkusResult
29
- ClusterListResult = Azure::Kusto::Mgmt::V2018_09_07_preview::Models::ClusterListResult
30
- ListSkusResult = Azure::Kusto::Mgmt::V2018_09_07_preview::Models::ListSkusResult
31
- Resource = Azure::Kusto::Mgmt::V2018_09_07_preview::Models::Resource
32
- EventHubConnectionValidationResult = Azure::Kusto::Mgmt::V2018_09_07_preview::Models::EventHubConnectionValidationResult
33
- ClusterCheckNameRequest = Azure::Kusto::Mgmt::V2018_09_07_preview::Models::ClusterCheckNameRequest
34
- DatabasePrincipal = Azure::Kusto::Mgmt::V2018_09_07_preview::Models::DatabasePrincipal
35
- DatabaseCheckNameRequest = Azure::Kusto::Mgmt::V2018_09_07_preview::Models::DatabaseCheckNameRequest
36
- DatabaseListResult = Azure::Kusto::Mgmt::V2018_09_07_preview::Models::DatabaseListResult
37
- CheckNameResult = Azure::Kusto::Mgmt::V2018_09_07_preview::Models::CheckNameResult
38
- Cluster = Azure::Kusto::Mgmt::V2018_09_07_preview::Models::Cluster
39
- ClusterUpdate = Azure::Kusto::Mgmt::V2018_09_07_preview::Models::ClusterUpdate
40
- Database = Azure::Kusto::Mgmt::V2018_09_07_preview::Models::Database
41
- DatabaseUpdate = Azure::Kusto::Mgmt::V2018_09_07_preview::Models::DatabaseUpdate
42
- EventHubConnectionUpdate = Azure::Kusto::Mgmt::V2018_09_07_preview::Models::EventHubConnectionUpdate
43
- EventHubConnection = Azure::Kusto::Mgmt::V2018_09_07_preview::Models::EventHubConnection
44
- TrackedResource = Azure::Kusto::Mgmt::V2018_09_07_preview::Models::TrackedResource
45
- AzureEntityResource = Azure::Kusto::Mgmt::V2018_09_07_preview::Models::AzureEntityResource
46
- ProxyResource = Azure::Kusto::Mgmt::V2018_09_07_preview::Models::ProxyResource
47
- State = Azure::Kusto::Mgmt::V2018_09_07_preview::Models::State
48
- ProvisioningState = Azure::Kusto::Mgmt::V2018_09_07_preview::Models::ProvisioningState
49
- AzureSkuName = Azure::Kusto::Mgmt::V2018_09_07_preview::Models::AzureSkuName
50
- AzureScaleType = Azure::Kusto::Mgmt::V2018_09_07_preview::Models::AzureScaleType
51
- DataFormat = Azure::Kusto::Mgmt::V2018_09_07_preview::Models::DataFormat
52
- DatabasePrincipalRole = Azure::Kusto::Mgmt::V2018_09_07_preview::Models::DatabasePrincipalRole
53
- DatabasePrincipalType = Azure::Kusto::Mgmt::V2018_09_07_preview::Models::DatabasePrincipalType
15
+ DataConnectionValidationResult = Azure::Kusto::Mgmt::V2019_01_21::Models::DataConnectionValidationResult
16
+ DatabasePrincipalListRequest = Azure::Kusto::Mgmt::V2019_01_21::Models::DatabasePrincipalListRequest
17
+ AzureSku = Azure::Kusto::Mgmt::V2019_01_21::Models::AzureSku
18
+ DataConnectionValidation = Azure::Kusto::Mgmt::V2019_01_21::Models::DataConnectionValidation
19
+ AzureResourceSku = Azure::Kusto::Mgmt::V2019_01_21::Models::AzureResourceSku
20
+ Resource = Azure::Kusto::Mgmt::V2019_01_21::Models::Resource
21
+ AzureCapacity = Azure::Kusto::Mgmt::V2019_01_21::Models::AzureCapacity
22
+ Operation = Azure::Kusto::Mgmt::V2019_01_21::Models::Operation
23
+ DatabaseStatistics = Azure::Kusto::Mgmt::V2019_01_21::Models::DatabaseStatistics
24
+ ListSkusResult = Azure::Kusto::Mgmt::V2019_01_21::Models::ListSkusResult
25
+ CheckNameResult = Azure::Kusto::Mgmt::V2019_01_21::Models::CheckNameResult
26
+ ClusterListResult = Azure::Kusto::Mgmt::V2019_01_21::Models::ClusterListResult
27
+ OperationListResult = Azure::Kusto::Mgmt::V2019_01_21::Models::OperationListResult
28
+ DatabasePrincipalListResult = Azure::Kusto::Mgmt::V2019_01_21::Models::DatabasePrincipalListResult
29
+ DataConnectionValidationListResult = Azure::Kusto::Mgmt::V2019_01_21::Models::DataConnectionValidationListResult
30
+ TrustedExternalTenant = Azure::Kusto::Mgmt::V2019_01_21::Models::TrustedExternalTenant
31
+ DataConnectionListResult = Azure::Kusto::Mgmt::V2019_01_21::Models::DataConnectionListResult
32
+ DatabasePrincipal = Azure::Kusto::Mgmt::V2019_01_21::Models::DatabasePrincipal
33
+ ListResourceSkusResult = Azure::Kusto::Mgmt::V2019_01_21::Models::ListResourceSkusResult
34
+ DatabaseListResult = Azure::Kusto::Mgmt::V2019_01_21::Models::DatabaseListResult
35
+ ClusterCheckNameRequest = Azure::Kusto::Mgmt::V2019_01_21::Models::ClusterCheckNameRequest
36
+ OperationDisplay = Azure::Kusto::Mgmt::V2019_01_21::Models::OperationDisplay
37
+ DatabaseCheckNameRequest = Azure::Kusto::Mgmt::V2019_01_21::Models::DatabaseCheckNameRequest
38
+ Cluster = Azure::Kusto::Mgmt::V2019_01_21::Models::Cluster
39
+ ClusterUpdate = Azure::Kusto::Mgmt::V2019_01_21::Models::ClusterUpdate
40
+ Database = Azure::Kusto::Mgmt::V2019_01_21::Models::Database
41
+ DatabaseUpdate = Azure::Kusto::Mgmt::V2019_01_21::Models::DatabaseUpdate
42
+ DataConnection = Azure::Kusto::Mgmt::V2019_01_21::Models::DataConnection
43
+ EventHubDataConnection = Azure::Kusto::Mgmt::V2019_01_21::Models::EventHubDataConnection
44
+ EventGridDataConnection = Azure::Kusto::Mgmt::V2019_01_21::Models::EventGridDataConnection
45
+ TrackedResource = Azure::Kusto::Mgmt::V2019_01_21::Models::TrackedResource
46
+ AzureEntityResource = Azure::Kusto::Mgmt::V2019_01_21::Models::AzureEntityResource
47
+ ProxyResource = Azure::Kusto::Mgmt::V2019_01_21::Models::ProxyResource
48
+ State = Azure::Kusto::Mgmt::V2019_01_21::Models::State
49
+ ProvisioningState = Azure::Kusto::Mgmt::V2019_01_21::Models::ProvisioningState
50
+ AzureSkuName = Azure::Kusto::Mgmt::V2019_01_21::Models::AzureSkuName
51
+ AzureScaleType = Azure::Kusto::Mgmt::V2019_01_21::Models::AzureScaleType
52
+ DataFormat = Azure::Kusto::Mgmt::V2019_01_21::Models::DataFormat
53
+ DatabasePrincipalRole = Azure::Kusto::Mgmt::V2019_01_21::Models::DatabasePrincipalRole
54
+ DatabasePrincipalType = Azure::Kusto::Mgmt::V2019_01_21::Models::DatabasePrincipalType
54
55
  end
55
56
 
56
57
  #
57
58
  # KustoManagementClass
58
59
  #
59
60
  class KustoManagementClass
60
- attr_reader :clusters, :databases, :event_hub_connections, :operations, :configurable, :base_url, :options, :model_classes
61
+ attr_reader :clusters, :databases, :data_connections, :operations, :configurable, :base_url, :options, :model_classes
61
62
 
62
63
  def initialize(options = {})
63
64
  if options.is_a?(Hash) && options.length == 0
@@ -72,14 +73,14 @@ module Azure::Kusto::Profiles::Latest
72
73
  @base_url = options[:base_url].nil? ? nil:options[:base_url]
73
74
  @options = options[:options].nil? ? nil:options[:options]
74
75
 
75
- @client_0 = Azure::Kusto::Mgmt::V2018_09_07_preview::KustoManagementClient.new(configurable.credentials, base_url, options)
76
+ @client_0 = Azure::Kusto::Mgmt::V2019_01_21::KustoManagementClient.new(configurable.credentials, base_url, options)
76
77
  if(@client_0.respond_to?(:subscription_id))
77
78
  @client_0.subscription_id = configurable.subscription_id
78
79
  end
79
80
  add_telemetry(@client_0)
80
81
  @clusters = @client_0.clusters
81
82
  @databases = @client_0.databases
82
- @event_hub_connections = @client_0.event_hub_connections
83
+ @data_connections = @client_0.data_connections
83
84
  @operations = @client_0.operations
84
85
 
85
86
  @model_classes = ModelClasses.new
@@ -101,122 +102,125 @@ module Azure::Kusto::Profiles::Latest
101
102
  end
102
103
 
103
104
  class ModelClasses
104
- def database_principal_list_result
105
- Azure::Kusto::Mgmt::V2018_09_07_preview::Models::DatabasePrincipalListResult
105
+ def data_connection_validation_result
106
+ Azure::Kusto::Mgmt::V2019_01_21::Models::DataConnectionValidationResult
106
107
  end
107
108
  def database_principal_list_request
108
- Azure::Kusto::Mgmt::V2018_09_07_preview::Models::DatabasePrincipalListRequest
109
+ Azure::Kusto::Mgmt::V2019_01_21::Models::DatabasePrincipalListRequest
109
110
  end
110
111
  def azure_sku
111
- Azure::Kusto::Mgmt::V2018_09_07_preview::Models::AzureSku
112
+ Azure::Kusto::Mgmt::V2019_01_21::Models::AzureSku
112
113
  end
113
- def event_hub_connection_validation_list_result
114
- Azure::Kusto::Mgmt::V2018_09_07_preview::Models::EventHubConnectionValidationListResult
114
+ def data_connection_validation
115
+ Azure::Kusto::Mgmt::V2019_01_21::Models::DataConnectionValidation
115
116
  end
116
117
  def azure_resource_sku
117
- Azure::Kusto::Mgmt::V2018_09_07_preview::Models::AzureResourceSku
118
- end
119
- def event_hub_connection_list_result
120
- Azure::Kusto::Mgmt::V2018_09_07_preview::Models::EventHubConnectionListResult
118
+ Azure::Kusto::Mgmt::V2019_01_21::Models::AzureResourceSku
121
119
  end
122
- def event_hub_connection_validation
123
- Azure::Kusto::Mgmt::V2018_09_07_preview::Models::EventHubConnectionValidation
124
- end
125
- def trusted_external_tenant
126
- Azure::Kusto::Mgmt::V2018_09_07_preview::Models::TrustedExternalTenant
120
+ def resource
121
+ Azure::Kusto::Mgmt::V2019_01_21::Models::Resource
127
122
  end
128
123
  def azure_capacity
129
- Azure::Kusto::Mgmt::V2018_09_07_preview::Models::AzureCapacity
124
+ Azure::Kusto::Mgmt::V2019_01_21::Models::AzureCapacity
130
125
  end
131
- def operation_list_result
132
- Azure::Kusto::Mgmt::V2018_09_07_preview::Models::OperationListResult
126
+ def operation
127
+ Azure::Kusto::Mgmt::V2019_01_21::Models::Operation
133
128
  end
134
129
  def database_statistics
135
- Azure::Kusto::Mgmt::V2018_09_07_preview::Models::DatabaseStatistics
130
+ Azure::Kusto::Mgmt::V2019_01_21::Models::DatabaseStatistics
136
131
  end
137
- def operation
138
- Azure::Kusto::Mgmt::V2018_09_07_preview::Models::Operation
139
- end
140
- def operation_display
141
- Azure::Kusto::Mgmt::V2018_09_07_preview::Models::OperationDisplay
132
+ def list_skus_result
133
+ Azure::Kusto::Mgmt::V2019_01_21::Models::ListSkusResult
142
134
  end
143
- def list_resource_skus_result
144
- Azure::Kusto::Mgmt::V2018_09_07_preview::Models::ListResourceSkusResult
135
+ def check_name_result
136
+ Azure::Kusto::Mgmt::V2019_01_21::Models::CheckNameResult
145
137
  end
146
138
  def cluster_list_result
147
- Azure::Kusto::Mgmt::V2018_09_07_preview::Models::ClusterListResult
139
+ Azure::Kusto::Mgmt::V2019_01_21::Models::ClusterListResult
148
140
  end
149
- def list_skus_result
150
- Azure::Kusto::Mgmt::V2018_09_07_preview::Models::ListSkusResult
141
+ def operation_list_result
142
+ Azure::Kusto::Mgmt::V2019_01_21::Models::OperationListResult
151
143
  end
152
- def resource
153
- Azure::Kusto::Mgmt::V2018_09_07_preview::Models::Resource
144
+ def database_principal_list_result
145
+ Azure::Kusto::Mgmt::V2019_01_21::Models::DatabasePrincipalListResult
154
146
  end
155
- def event_hub_connection_validation_result
156
- Azure::Kusto::Mgmt::V2018_09_07_preview::Models::EventHubConnectionValidationResult
147
+ def data_connection_validation_list_result
148
+ Azure::Kusto::Mgmt::V2019_01_21::Models::DataConnectionValidationListResult
157
149
  end
158
- def cluster_check_name_request
159
- Azure::Kusto::Mgmt::V2018_09_07_preview::Models::ClusterCheckNameRequest
150
+ def trusted_external_tenant
151
+ Azure::Kusto::Mgmt::V2019_01_21::Models::TrustedExternalTenant
152
+ end
153
+ def data_connection_list_result
154
+ Azure::Kusto::Mgmt::V2019_01_21::Models::DataConnectionListResult
160
155
  end
161
156
  def database_principal
162
- Azure::Kusto::Mgmt::V2018_09_07_preview::Models::DatabasePrincipal
157
+ Azure::Kusto::Mgmt::V2019_01_21::Models::DatabasePrincipal
163
158
  end
164
- def database_check_name_request
165
- Azure::Kusto::Mgmt::V2018_09_07_preview::Models::DatabaseCheckNameRequest
159
+ def list_resource_skus_result
160
+ Azure::Kusto::Mgmt::V2019_01_21::Models::ListResourceSkusResult
166
161
  end
167
162
  def database_list_result
168
- Azure::Kusto::Mgmt::V2018_09_07_preview::Models::DatabaseListResult
163
+ Azure::Kusto::Mgmt::V2019_01_21::Models::DatabaseListResult
169
164
  end
170
- def check_name_result
171
- Azure::Kusto::Mgmt::V2018_09_07_preview::Models::CheckNameResult
165
+ def cluster_check_name_request
166
+ Azure::Kusto::Mgmt::V2019_01_21::Models::ClusterCheckNameRequest
167
+ end
168
+ def operation_display
169
+ Azure::Kusto::Mgmt::V2019_01_21::Models::OperationDisplay
170
+ end
171
+ def database_check_name_request
172
+ Azure::Kusto::Mgmt::V2019_01_21::Models::DatabaseCheckNameRequest
172
173
  end
173
174
  def cluster
174
- Azure::Kusto::Mgmt::V2018_09_07_preview::Models::Cluster
175
+ Azure::Kusto::Mgmt::V2019_01_21::Models::Cluster
175
176
  end
176
177
  def cluster_update
177
- Azure::Kusto::Mgmt::V2018_09_07_preview::Models::ClusterUpdate
178
+ Azure::Kusto::Mgmt::V2019_01_21::Models::ClusterUpdate
178
179
  end
179
180
  def database
180
- Azure::Kusto::Mgmt::V2018_09_07_preview::Models::Database
181
+ Azure::Kusto::Mgmt::V2019_01_21::Models::Database
181
182
  end
182
183
  def database_update
183
- Azure::Kusto::Mgmt::V2018_09_07_preview::Models::DatabaseUpdate
184
+ Azure::Kusto::Mgmt::V2019_01_21::Models::DatabaseUpdate
185
+ end
186
+ def data_connection
187
+ Azure::Kusto::Mgmt::V2019_01_21::Models::DataConnection
184
188
  end
185
- def event_hub_connection_update
186
- Azure::Kusto::Mgmt::V2018_09_07_preview::Models::EventHubConnectionUpdate
189
+ def event_hub_data_connection
190
+ Azure::Kusto::Mgmt::V2019_01_21::Models::EventHubDataConnection
187
191
  end
188
- def event_hub_connection
189
- Azure::Kusto::Mgmt::V2018_09_07_preview::Models::EventHubConnection
192
+ def event_grid_data_connection
193
+ Azure::Kusto::Mgmt::V2019_01_21::Models::EventGridDataConnection
190
194
  end
191
195
  def tracked_resource
192
- Azure::Kusto::Mgmt::V2018_09_07_preview::Models::TrackedResource
196
+ Azure::Kusto::Mgmt::V2019_01_21::Models::TrackedResource
193
197
  end
194
198
  def azure_entity_resource
195
- Azure::Kusto::Mgmt::V2018_09_07_preview::Models::AzureEntityResource
199
+ Azure::Kusto::Mgmt::V2019_01_21::Models::AzureEntityResource
196
200
  end
197
201
  def proxy_resource
198
- Azure::Kusto::Mgmt::V2018_09_07_preview::Models::ProxyResource
202
+ Azure::Kusto::Mgmt::V2019_01_21::Models::ProxyResource
199
203
  end
200
204
  def state
201
- Azure::Kusto::Mgmt::V2018_09_07_preview::Models::State
205
+ Azure::Kusto::Mgmt::V2019_01_21::Models::State
202
206
  end
203
207
  def provisioning_state
204
- Azure::Kusto::Mgmt::V2018_09_07_preview::Models::ProvisioningState
208
+ Azure::Kusto::Mgmt::V2019_01_21::Models::ProvisioningState
205
209
  end
206
210
  def azure_sku_name
207
- Azure::Kusto::Mgmt::V2018_09_07_preview::Models::AzureSkuName
211
+ Azure::Kusto::Mgmt::V2019_01_21::Models::AzureSkuName
208
212
  end
209
213
  def azure_scale_type
210
- Azure::Kusto::Mgmt::V2018_09_07_preview::Models::AzureScaleType
214
+ Azure::Kusto::Mgmt::V2019_01_21::Models::AzureScaleType
211
215
  end
212
216
  def data_format
213
- Azure::Kusto::Mgmt::V2018_09_07_preview::Models::DataFormat
217
+ Azure::Kusto::Mgmt::V2019_01_21::Models::DataFormat
214
218
  end
215
219
  def database_principal_role
216
- Azure::Kusto::Mgmt::V2018_09_07_preview::Models::DatabasePrincipalRole
220
+ Azure::Kusto::Mgmt::V2019_01_21::Models::DatabasePrincipalRole
217
221
  end
218
222
  def database_principal_type
219
- Azure::Kusto::Mgmt::V2018_09_07_preview::Models::DatabasePrincipalType
223
+ Azure::Kusto::Mgmt::V2019_01_21::Models::DatabasePrincipalType
220
224
  end
221
225
  end
222
226
  end