azure_mgmt_kusto 0.17.2 → 0.18.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2017-09-07-privatepreview/generated/azure_mgmt_kusto/clusters.rb +22 -0
  3. data/lib/2017-09-07-privatepreview/generated/azure_mgmt_kusto/databases.rb +18 -0
  4. data/lib/2017-09-07-privatepreview/generated/azure_mgmt_kusto/event_hub_connections.rb +12 -0
  5. data/lib/2017-09-07-privatepreview/generated/azure_mgmt_kusto/kusto_management_client.rb +1 -1
  6. data/lib/2017-09-07-privatepreview/generated/azure_mgmt_kusto/operations.rb +4 -0
  7. data/lib/2018-09-07-preview/generated/azure_mgmt_kusto/clusters.rb +22 -0
  8. data/lib/2018-09-07-preview/generated/azure_mgmt_kusto/databases.rb +18 -0
  9. data/lib/2018-09-07-preview/generated/azure_mgmt_kusto/event_hub_connections.rb +12 -0
  10. data/lib/2018-09-07-preview/generated/azure_mgmt_kusto/kusto_management_client.rb +1 -1
  11. data/lib/2018-09-07-preview/generated/azure_mgmt_kusto/operations.rb +4 -0
  12. data/lib/2019-01-21/generated/azure_mgmt_kusto.rb +16 -13
  13. data/lib/2019-01-21/generated/azure_mgmt_kusto/clusters.rb +22 -0
  14. data/lib/2019-01-21/generated/azure_mgmt_kusto/data_connections.rb +127 -0
  15. data/lib/2019-01-21/generated/azure_mgmt_kusto/databases.rb +18 -0
  16. data/lib/2019-01-21/generated/azure_mgmt_kusto/kusto_management_client.rb +1 -1
  17. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/azure_capacity.rb +2 -2
  18. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/azure_resource_sku.rb +1 -1
  19. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/azure_sku.rb +9 -6
  20. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/azure_sku_name.rb +12 -7
  21. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/azure_sku_tier.rb +16 -0
  22. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/check_name_result.rb +12 -0
  23. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/cluster.rb +0 -1
  24. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/data_connection_check_name_request.rb +62 -0
  25. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/reason.rb +16 -0
  26. data/lib/2019-01-21/generated/azure_mgmt_kusto/operations.rb +4 -0
  27. data/lib/2019-05-15/generated/azure_mgmt_kusto.rb +79 -0
  28. data/lib/2019-05-15/generated/azure_mgmt_kusto/clusters.rb +1303 -0
  29. data/lib/2019-05-15/generated/azure_mgmt_kusto/data_connections.rb +963 -0
  30. data/lib/2019-05-15/generated/azure_mgmt_kusto/databases.rb +1149 -0
  31. data/lib/2019-05-15/generated/azure_mgmt_kusto/kusto_management_client.rb +145 -0
  32. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/azure_capacity.rb +80 -0
  33. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/azure_entity_resource.rb +75 -0
  34. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/azure_resource_sku.rb +70 -0
  35. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/azure_scale_type.rb +17 -0
  36. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/azure_sku.rb +74 -0
  37. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/azure_sku_name.rb +26 -0
  38. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/azure_sku_tier.rb +16 -0
  39. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/check_name_result.rb +82 -0
  40. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/cluster.rb +238 -0
  41. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/cluster_check_name_request.rb +60 -0
  42. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/cluster_list_result.rb +55 -0
  43. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/cluster_update.rb +225 -0
  44. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/data_connection.rb +82 -0
  45. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/data_connection_check_name_request.rb +62 -0
  46. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/data_connection_list_result.rb +57 -0
  47. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/data_connection_validation.rb +60 -0
  48. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/data_connection_validation_list_result.rb +56 -0
  49. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/data_connection_validation_result.rb +47 -0
  50. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/data_format.rb +25 -0
  51. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/database.rb +123 -0
  52. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/database_check_name_request.rb +61 -0
  53. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/database_list_result.rb +55 -0
  54. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/database_principal.rb +117 -0
  55. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/database_principal_list_request.rb +56 -0
  56. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/database_principal_list_result.rb +56 -0
  57. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/database_principal_role.rb +20 -0
  58. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/database_principal_type.rb +17 -0
  59. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/database_statistics.rb +47 -0
  60. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/database_update.rb +123 -0
  61. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/event_grid_data_connection.rb +158 -0
  62. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/event_hub_data_connection.rb +165 -0
  63. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/iot_hub_data_connection.rb +176 -0
  64. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/list_resource_skus_result.rb +56 -0
  65. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/operation.rb +82 -0
  66. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/operation_display.rb +80 -0
  67. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/operation_list_result.rb +98 -0
  68. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/optimized_autoscale.rb +80 -0
  69. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/provisioning_state.rb +20 -0
  70. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/proxy_resource.rb +63 -0
  71. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/reason.rb +16 -0
  72. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/resource.rb +83 -0
  73. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/sku_description.rb +132 -0
  74. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/sku_description_list.rb +56 -0
  75. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/sku_location_info_item.rb +65 -0
  76. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/state.rb +23 -0
  77. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/tracked_resource.rb +92 -0
  78. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/trusted_external_tenant.rb +46 -0
  79. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/virtual_network_configuration.rb +69 -0
  80. data/lib/2019-05-15/generated/azure_mgmt_kusto/module_definition.rb +9 -0
  81. data/lib/2019-05-15/generated/azure_mgmt_kusto/operations.rb +221 -0
  82. data/lib/azure_mgmt_kusto.rb +2 -1
  83. data/lib/profiles/latest/modules/kusto_profile_module.rb +133 -101
  84. data/lib/version.rb +1 -1
  85. metadata +63 -5
@@ -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_05_15 end
@@ -0,0 +1,221 @@
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_05_15
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
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
92
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
93
+ # Deserialize Response
94
+ if status_code == 200
95
+ begin
96
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
97
+ result_mapper = Azure::Kusto::Mgmt::V2019_05_15::Models::OperationListResult.mapper()
98
+ result.body = @client.deserialize(result_mapper, parsed_response)
99
+ rescue Exception => e
100
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
101
+ end
102
+ end
103
+
104
+ result
105
+ end
106
+
107
+ promise.execute
108
+ end
109
+
110
+ #
111
+ # Lists available operations for the Microsoft.Kusto provider.
112
+ #
113
+ # @param next_page_link [String] The NextLink from the previous successful call
114
+ # to List operation.
115
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
116
+ # will be added to the HTTP request.
117
+ #
118
+ # @return [OperationListResult] operation results.
119
+ #
120
+ def list_next(next_page_link, custom_headers:nil)
121
+ response = list_next_async(next_page_link, custom_headers:custom_headers).value!
122
+ response.body unless response.nil?
123
+ end
124
+
125
+ #
126
+ # Lists available operations for the Microsoft.Kusto provider.
127
+ #
128
+ # @param next_page_link [String] The NextLink from the previous successful call
129
+ # to List operation.
130
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
131
+ # will be added to the HTTP request.
132
+ #
133
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
134
+ #
135
+ def list_next_with_http_info(next_page_link, custom_headers:nil)
136
+ list_next_async(next_page_link, custom_headers:custom_headers).value!
137
+ end
138
+
139
+ #
140
+ # Lists available operations for the Microsoft.Kusto provider.
141
+ #
142
+ # @param next_page_link [String] The NextLink from the previous successful call
143
+ # to List operation.
144
+ # @param [Hash{String => String}] A hash of custom headers that will be added
145
+ # to the HTTP request.
146
+ #
147
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
148
+ #
149
+ def list_next_async(next_page_link, custom_headers:nil)
150
+ fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
151
+
152
+
153
+ request_headers = {}
154
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
155
+
156
+ # Set Headers
157
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
158
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
159
+ path_template = '{nextLink}'
160
+
161
+ request_url = @base_url || @client.base_url
162
+
163
+ options = {
164
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
165
+ skip_encoding_path_params: {'nextLink' => next_page_link},
166
+ headers: request_headers.merge(custom_headers || {}),
167
+ base_url: request_url
168
+ }
169
+ promise = @client.make_request_async(:get, path_template, options)
170
+
171
+ promise = promise.then do |result|
172
+ http_response = result.response
173
+ status_code = http_response.status
174
+ response_content = http_response.body
175
+ unless status_code == 200
176
+ error_model = JSON.load(response_content)
177
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
178
+ end
179
+
180
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
181
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
182
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
183
+ # Deserialize Response
184
+ if status_code == 200
185
+ begin
186
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
187
+ result_mapper = Azure::Kusto::Mgmt::V2019_05_15::Models::OperationListResult.mapper()
188
+ result.body = @client.deserialize(result_mapper, parsed_response)
189
+ rescue Exception => e
190
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
191
+ end
192
+ end
193
+
194
+ result
195
+ end
196
+
197
+ promise.execute
198
+ end
199
+
200
+ #
201
+ # Lists available operations for the Microsoft.Kusto provider.
202
+ #
203
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
204
+ # will be added to the HTTP request.
205
+ #
206
+ # @return [OperationListResult] which provide lazy access to pages of the
207
+ # response.
208
+ #
209
+ def list_as_lazy(custom_headers:nil)
210
+ response = list_async(custom_headers:custom_headers).value!
211
+ unless response.nil?
212
+ page = response.body
213
+ page.next_method = Proc.new do |next_page_link|
214
+ list_next_async(next_page_link, custom_headers:custom_headers)
215
+ end
216
+ page
217
+ end
218
+ end
219
+
220
+ end
221
+ end
@@ -3,6 +3,7 @@
3
3
  # Licensed under the MIT License. See License.txt in the project root for license information.
4
4
 
5
5
  require '2019-01-21/generated/azure_mgmt_kusto'
6
- require '2018-09-07-preview/generated/azure_mgmt_kusto'
7
6
  require '2017-09-07-privatepreview/generated/azure_mgmt_kusto'
7
+ require '2018-09-07-preview/generated/azure_mgmt_kusto'
8
+ require '2019-05-15/generated/azure_mgmt_kusto'
8
9
  require 'profiles/latest/kusto_latest_profile_client'
@@ -6,52 +6,60 @@ require 'azure_mgmt_kusto'
6
6
 
7
7
  module Azure::Kusto::Profiles::Latest
8
8
  module Mgmt
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
9
+ Clusters = Azure::Kusto::Mgmt::V2019_05_15::Clusters
10
+ Databases = Azure::Kusto::Mgmt::V2019_05_15::Databases
11
+ DataConnections = Azure::Kusto::Mgmt::V2019_05_15::DataConnections
12
+ Operations = Azure::Kusto::Mgmt::V2019_05_15::Operations
13
13
 
14
14
  module Models
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
15
+ DatabasePrincipalListRequest = Azure::Kusto::Mgmt::V2019_05_15::Models::DatabasePrincipalListRequest
16
+ TrustedExternalTenant = Azure::Kusto::Mgmt::V2019_05_15::Models::TrustedExternalTenant
17
+ DataConnectionValidation = Azure::Kusto::Mgmt::V2019_05_15::Models::DataConnectionValidation
18
+ VirtualNetworkConfiguration = Azure::Kusto::Mgmt::V2019_05_15::Models::VirtualNetworkConfiguration
19
+ DataConnectionValidationResult = Azure::Kusto::Mgmt::V2019_05_15::Models::DataConnectionValidationResult
20
+ AzureCapacity = Azure::Kusto::Mgmt::V2019_05_15::Models::AzureCapacity
21
+ OptimizedAutoscale = Azure::Kusto::Mgmt::V2019_05_15::Models::OptimizedAutoscale
22
+ SkuLocationInfoItem = Azure::Kusto::Mgmt::V2019_05_15::Models::SkuLocationInfoItem
23
+ AzureSku = Azure::Kusto::Mgmt::V2019_05_15::Models::AzureSku
24
+ SkuDescriptionList = Azure::Kusto::Mgmt::V2019_05_15::Models::SkuDescriptionList
25
+ Resource = Azure::Kusto::Mgmt::V2019_05_15::Models::Resource
26
+ SkuDescription = Azure::Kusto::Mgmt::V2019_05_15::Models::SkuDescription
27
+ OperationDisplay = Azure::Kusto::Mgmt::V2019_05_15::Models::OperationDisplay
28
+ DatabaseStatistics = Azure::Kusto::Mgmt::V2019_05_15::Models::DatabaseStatistics
29
+ CheckNameResult = Azure::Kusto::Mgmt::V2019_05_15::Models::CheckNameResult
30
+ DatabaseCheckNameRequest = Azure::Kusto::Mgmt::V2019_05_15::Models::DatabaseCheckNameRequest
31
+ ClusterListResult = Azure::Kusto::Mgmt::V2019_05_15::Models::ClusterListResult
32
+ OperationListResult = Azure::Kusto::Mgmt::V2019_05_15::Models::OperationListResult
33
+ DatabasePrincipalListResult = Azure::Kusto::Mgmt::V2019_05_15::Models::DatabasePrincipalListResult
34
+ Operation = Azure::Kusto::Mgmt::V2019_05_15::Models::Operation
35
+ AzureResourceSku = Azure::Kusto::Mgmt::V2019_05_15::Models::AzureResourceSku
36
+ DataConnectionValidationListResult = Azure::Kusto::Mgmt::V2019_05_15::Models::DataConnectionValidationListResult
37
+ DatabasePrincipal = Azure::Kusto::Mgmt::V2019_05_15::Models::DatabasePrincipal
38
+ DataConnectionListResult = Azure::Kusto::Mgmt::V2019_05_15::Models::DataConnectionListResult
39
+ DataConnectionCheckNameRequest = Azure::Kusto::Mgmt::V2019_05_15::Models::DataConnectionCheckNameRequest
40
+ DatabaseListResult = Azure::Kusto::Mgmt::V2019_05_15::Models::DatabaseListResult
41
+ ListResourceSkusResult = Azure::Kusto::Mgmt::V2019_05_15::Models::ListResourceSkusResult
42
+ ClusterCheckNameRequest = Azure::Kusto::Mgmt::V2019_05_15::Models::ClusterCheckNameRequest
43
+ Cluster = Azure::Kusto::Mgmt::V2019_05_15::Models::Cluster
44
+ ClusterUpdate = Azure::Kusto::Mgmt::V2019_05_15::Models::ClusterUpdate
45
+ Database = Azure::Kusto::Mgmt::V2019_05_15::Models::Database
46
+ DatabaseUpdate = Azure::Kusto::Mgmt::V2019_05_15::Models::DatabaseUpdate
47
+ DataConnection = Azure::Kusto::Mgmt::V2019_05_15::Models::DataConnection
48
+ EventHubDataConnection = Azure::Kusto::Mgmt::V2019_05_15::Models::EventHubDataConnection
49
+ IotHubDataConnection = Azure::Kusto::Mgmt::V2019_05_15::Models::IotHubDataConnection
50
+ EventGridDataConnection = Azure::Kusto::Mgmt::V2019_05_15::Models::EventGridDataConnection
51
+ TrackedResource = Azure::Kusto::Mgmt::V2019_05_15::Models::TrackedResource
52
+ AzureEntityResource = Azure::Kusto::Mgmt::V2019_05_15::Models::AzureEntityResource
53
+ ProxyResource = Azure::Kusto::Mgmt::V2019_05_15::Models::ProxyResource
54
+ State = Azure::Kusto::Mgmt::V2019_05_15::Models::State
55
+ ProvisioningState = Azure::Kusto::Mgmt::V2019_05_15::Models::ProvisioningState
56
+ AzureSkuName = Azure::Kusto::Mgmt::V2019_05_15::Models::AzureSkuName
57
+ AzureSkuTier = Azure::Kusto::Mgmt::V2019_05_15::Models::AzureSkuTier
58
+ AzureScaleType = Azure::Kusto::Mgmt::V2019_05_15::Models::AzureScaleType
59
+ DataFormat = Azure::Kusto::Mgmt::V2019_05_15::Models::DataFormat
60
+ DatabasePrincipalRole = Azure::Kusto::Mgmt::V2019_05_15::Models::DatabasePrincipalRole
61
+ DatabasePrincipalType = Azure::Kusto::Mgmt::V2019_05_15::Models::DatabasePrincipalType
62
+ Reason = Azure::Kusto::Mgmt::V2019_05_15::Models::Reason
55
63
  end
56
64
 
57
65
  #
@@ -73,7 +81,7 @@ module Azure::Kusto::Profiles::Latest
73
81
  @base_url = options[:base_url].nil? ? nil:options[:base_url]
74
82
  @options = options[:options].nil? ? nil:options[:options]
75
83
 
76
- @client_0 = Azure::Kusto::Mgmt::V2019_01_21::KustoManagementClient.new(configurable.credentials, base_url, options)
84
+ @client_0 = Azure::Kusto::Mgmt::V2019_05_15::KustoManagementClient.new(configurable.credentials, base_url, options)
77
85
  if(@client_0.respond_to?(:subscription_id))
78
86
  @client_0.subscription_id = configurable.subscription_id
79
87
  end
@@ -102,125 +110,149 @@ module Azure::Kusto::Profiles::Latest
102
110
  end
103
111
 
104
112
  class ModelClasses
105
- def data_connection_validation_result
106
- Azure::Kusto::Mgmt::V2019_01_21::Models::DataConnectionValidationResult
107
- end
108
113
  def database_principal_list_request
109
- Azure::Kusto::Mgmt::V2019_01_21::Models::DatabasePrincipalListRequest
114
+ Azure::Kusto::Mgmt::V2019_05_15::Models::DatabasePrincipalListRequest
110
115
  end
111
- def azure_sku
112
- Azure::Kusto::Mgmt::V2019_01_21::Models::AzureSku
116
+ def trusted_external_tenant
117
+ Azure::Kusto::Mgmt::V2019_05_15::Models::TrustedExternalTenant
113
118
  end
114
119
  def data_connection_validation
115
- Azure::Kusto::Mgmt::V2019_01_21::Models::DataConnectionValidation
120
+ Azure::Kusto::Mgmt::V2019_05_15::Models::DataConnectionValidation
116
121
  end
117
- def azure_resource_sku
118
- Azure::Kusto::Mgmt::V2019_01_21::Models::AzureResourceSku
122
+ def virtual_network_configuration
123
+ Azure::Kusto::Mgmt::V2019_05_15::Models::VirtualNetworkConfiguration
119
124
  end
120
- def resource
121
- Azure::Kusto::Mgmt::V2019_01_21::Models::Resource
125
+ def data_connection_validation_result
126
+ Azure::Kusto::Mgmt::V2019_05_15::Models::DataConnectionValidationResult
122
127
  end
123
128
  def azure_capacity
124
- Azure::Kusto::Mgmt::V2019_01_21::Models::AzureCapacity
129
+ Azure::Kusto::Mgmt::V2019_05_15::Models::AzureCapacity
125
130
  end
126
- def operation
127
- Azure::Kusto::Mgmt::V2019_01_21::Models::Operation
131
+ def optimized_autoscale
132
+ Azure::Kusto::Mgmt::V2019_05_15::Models::OptimizedAutoscale
128
133
  end
129
- def database_statistics
130
- Azure::Kusto::Mgmt::V2019_01_21::Models::DatabaseStatistics
134
+ def sku_location_info_item
135
+ Azure::Kusto::Mgmt::V2019_05_15::Models::SkuLocationInfoItem
131
136
  end
132
- def list_skus_result
133
- Azure::Kusto::Mgmt::V2019_01_21::Models::ListSkusResult
137
+ def azure_sku
138
+ Azure::Kusto::Mgmt::V2019_05_15::Models::AzureSku
139
+ end
140
+ def sku_description_list
141
+ Azure::Kusto::Mgmt::V2019_05_15::Models::SkuDescriptionList
142
+ end
143
+ def resource
144
+ Azure::Kusto::Mgmt::V2019_05_15::Models::Resource
145
+ end
146
+ def sku_description
147
+ Azure::Kusto::Mgmt::V2019_05_15::Models::SkuDescription
148
+ end
149
+ def operation_display
150
+ Azure::Kusto::Mgmt::V2019_05_15::Models::OperationDisplay
151
+ end
152
+ def database_statistics
153
+ Azure::Kusto::Mgmt::V2019_05_15::Models::DatabaseStatistics
134
154
  end
135
155
  def check_name_result
136
- Azure::Kusto::Mgmt::V2019_01_21::Models::CheckNameResult
156
+ Azure::Kusto::Mgmt::V2019_05_15::Models::CheckNameResult
157
+ end
158
+ def database_check_name_request
159
+ Azure::Kusto::Mgmt::V2019_05_15::Models::DatabaseCheckNameRequest
137
160
  end
138
161
  def cluster_list_result
139
- Azure::Kusto::Mgmt::V2019_01_21::Models::ClusterListResult
162
+ Azure::Kusto::Mgmt::V2019_05_15::Models::ClusterListResult
140
163
  end
141
164
  def operation_list_result
142
- Azure::Kusto::Mgmt::V2019_01_21::Models::OperationListResult
165
+ Azure::Kusto::Mgmt::V2019_05_15::Models::OperationListResult
143
166
  end
144
167
  def database_principal_list_result
145
- Azure::Kusto::Mgmt::V2019_01_21::Models::DatabasePrincipalListResult
168
+ Azure::Kusto::Mgmt::V2019_05_15::Models::DatabasePrincipalListResult
146
169
  end
147
- def data_connection_validation_list_result
148
- Azure::Kusto::Mgmt::V2019_01_21::Models::DataConnectionValidationListResult
170
+ def operation
171
+ Azure::Kusto::Mgmt::V2019_05_15::Models::Operation
149
172
  end
150
- def trusted_external_tenant
151
- Azure::Kusto::Mgmt::V2019_01_21::Models::TrustedExternalTenant
173
+ def azure_resource_sku
174
+ Azure::Kusto::Mgmt::V2019_05_15::Models::AzureResourceSku
152
175
  end
153
- def data_connection_list_result
154
- Azure::Kusto::Mgmt::V2019_01_21::Models::DataConnectionListResult
176
+ def data_connection_validation_list_result
177
+ Azure::Kusto::Mgmt::V2019_05_15::Models::DataConnectionValidationListResult
155
178
  end
156
179
  def database_principal
157
- Azure::Kusto::Mgmt::V2019_01_21::Models::DatabasePrincipal
180
+ Azure::Kusto::Mgmt::V2019_05_15::Models::DatabasePrincipal
158
181
  end
159
- def list_resource_skus_result
160
- Azure::Kusto::Mgmt::V2019_01_21::Models::ListResourceSkusResult
182
+ def data_connection_list_result
183
+ Azure::Kusto::Mgmt::V2019_05_15::Models::DataConnectionListResult
161
184
  end
162
- def database_list_result
163
- Azure::Kusto::Mgmt::V2019_01_21::Models::DatabaseListResult
185
+ def data_connection_check_name_request
186
+ Azure::Kusto::Mgmt::V2019_05_15::Models::DataConnectionCheckNameRequest
164
187
  end
165
- def cluster_check_name_request
166
- Azure::Kusto::Mgmt::V2019_01_21::Models::ClusterCheckNameRequest
188
+ def database_list_result
189
+ Azure::Kusto::Mgmt::V2019_05_15::Models::DatabaseListResult
167
190
  end
168
- def operation_display
169
- Azure::Kusto::Mgmt::V2019_01_21::Models::OperationDisplay
191
+ def list_resource_skus_result
192
+ Azure::Kusto::Mgmt::V2019_05_15::Models::ListResourceSkusResult
170
193
  end
171
- def database_check_name_request
172
- Azure::Kusto::Mgmt::V2019_01_21::Models::DatabaseCheckNameRequest
194
+ def cluster_check_name_request
195
+ Azure::Kusto::Mgmt::V2019_05_15::Models::ClusterCheckNameRequest
173
196
  end
174
197
  def cluster
175
- Azure::Kusto::Mgmt::V2019_01_21::Models::Cluster
198
+ Azure::Kusto::Mgmt::V2019_05_15::Models::Cluster
176
199
  end
177
200
  def cluster_update
178
- Azure::Kusto::Mgmt::V2019_01_21::Models::ClusterUpdate
201
+ Azure::Kusto::Mgmt::V2019_05_15::Models::ClusterUpdate
179
202
  end
180
203
  def database
181
- Azure::Kusto::Mgmt::V2019_01_21::Models::Database
204
+ Azure::Kusto::Mgmt::V2019_05_15::Models::Database
182
205
  end
183
206
  def database_update
184
- Azure::Kusto::Mgmt::V2019_01_21::Models::DatabaseUpdate
207
+ Azure::Kusto::Mgmt::V2019_05_15::Models::DatabaseUpdate
185
208
  end
186
209
  def data_connection
187
- Azure::Kusto::Mgmt::V2019_01_21::Models::DataConnection
210
+ Azure::Kusto::Mgmt::V2019_05_15::Models::DataConnection
188
211
  end
189
212
  def event_hub_data_connection
190
- Azure::Kusto::Mgmt::V2019_01_21::Models::EventHubDataConnection
213
+ Azure::Kusto::Mgmt::V2019_05_15::Models::EventHubDataConnection
214
+ end
215
+ def iot_hub_data_connection
216
+ Azure::Kusto::Mgmt::V2019_05_15::Models::IotHubDataConnection
191
217
  end
192
218
  def event_grid_data_connection
193
- Azure::Kusto::Mgmt::V2019_01_21::Models::EventGridDataConnection
219
+ Azure::Kusto::Mgmt::V2019_05_15::Models::EventGridDataConnection
194
220
  end
195
221
  def tracked_resource
196
- Azure::Kusto::Mgmt::V2019_01_21::Models::TrackedResource
222
+ Azure::Kusto::Mgmt::V2019_05_15::Models::TrackedResource
197
223
  end
198
224
  def azure_entity_resource
199
- Azure::Kusto::Mgmt::V2019_01_21::Models::AzureEntityResource
225
+ Azure::Kusto::Mgmt::V2019_05_15::Models::AzureEntityResource
200
226
  end
201
227
  def proxy_resource
202
- Azure::Kusto::Mgmt::V2019_01_21::Models::ProxyResource
228
+ Azure::Kusto::Mgmt::V2019_05_15::Models::ProxyResource
203
229
  end
204
230
  def state
205
- Azure::Kusto::Mgmt::V2019_01_21::Models::State
231
+ Azure::Kusto::Mgmt::V2019_05_15::Models::State
206
232
  end
207
233
  def provisioning_state
208
- Azure::Kusto::Mgmt::V2019_01_21::Models::ProvisioningState
234
+ Azure::Kusto::Mgmt::V2019_05_15::Models::ProvisioningState
209
235
  end
210
236
  def azure_sku_name
211
- Azure::Kusto::Mgmt::V2019_01_21::Models::AzureSkuName
237
+ Azure::Kusto::Mgmt::V2019_05_15::Models::AzureSkuName
238
+ end
239
+ def azure_sku_tier
240
+ Azure::Kusto::Mgmt::V2019_05_15::Models::AzureSkuTier
212
241
  end
213
242
  def azure_scale_type
214
- Azure::Kusto::Mgmt::V2019_01_21::Models::AzureScaleType
243
+ Azure::Kusto::Mgmt::V2019_05_15::Models::AzureScaleType
215
244
  end
216
245
  def data_format
217
- Azure::Kusto::Mgmt::V2019_01_21::Models::DataFormat
246
+ Azure::Kusto::Mgmt::V2019_05_15::Models::DataFormat
218
247
  end
219
248
  def database_principal_role
220
- Azure::Kusto::Mgmt::V2019_01_21::Models::DatabasePrincipalRole
249
+ Azure::Kusto::Mgmt::V2019_05_15::Models::DatabasePrincipalRole
221
250
  end
222
251
  def database_principal_type
223
- Azure::Kusto::Mgmt::V2019_01_21::Models::DatabasePrincipalType
252
+ Azure::Kusto::Mgmt::V2019_05_15::Models::DatabasePrincipalType
253
+ end
254
+ def reason
255
+ Azure::Kusto::Mgmt::V2019_05_15::Models::Reason
224
256
  end
225
257
  end
226
258
  end