azure_mgmt_kusto 0.17.2 → 0.19.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (406) 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/2019-09-07/generated/azure_mgmt_kusto.rb +92 -0
  83. data/lib/2019-09-07/generated/azure_mgmt_kusto/attached_database_configurations.rb +558 -0
  84. data/lib/2019-09-07/generated/azure_mgmt_kusto/clusters.rb +1557 -0
  85. data/lib/2019-09-07/generated/azure_mgmt_kusto/data_connections.rb +983 -0
  86. data/lib/2019-09-07/generated/azure_mgmt_kusto/databases.rb +1169 -0
  87. data/lib/2019-09-07/generated/azure_mgmt_kusto/kusto_management_client.rb +149 -0
  88. data/lib/2019-09-07/generated/azure_mgmt_kusto/models/attached_database_configuration.rb +144 -0
  89. data/lib/2019-09-07/generated/azure_mgmt_kusto/models/attached_database_configuration_list_result.rb +56 -0
  90. data/lib/2019-09-07/generated/azure_mgmt_kusto/models/azure_capacity.rb +80 -0
  91. data/lib/2019-09-07/generated/azure_mgmt_kusto/models/azure_entity_resource.rb +75 -0
  92. data/lib/2019-09-07/generated/azure_mgmt_kusto/models/azure_resource_sku.rb +70 -0
  93. data/lib/2019-09-07/generated/azure_mgmt_kusto/models/azure_scale_type.rb +17 -0
  94. data/lib/2019-09-07/generated/azure_mgmt_kusto/models/azure_sku.rb +74 -0
  95. data/lib/2019-09-07/generated/azure_mgmt_kusto/models/azure_sku_name.rb +26 -0
  96. data/lib/2019-09-07/generated/azure_mgmt_kusto/models/azure_sku_tier.rb +16 -0
  97. data/lib/2019-09-07/generated/azure_mgmt_kusto/models/check_name_request.rb +61 -0
  98. data/lib/2019-09-07/generated/azure_mgmt_kusto/models/check_name_result.rb +82 -0
  99. data/lib/2019-09-07/generated/azure_mgmt_kusto/models/cluster.rb +263 -0
  100. data/lib/2019-09-07/generated/azure_mgmt_kusto/models/cluster_check_name_request.rb +60 -0
  101. data/lib/2019-09-07/generated/azure_mgmt_kusto/models/cluster_list_result.rb +55 -0
  102. data/lib/2019-09-07/generated/azure_mgmt_kusto/models/cluster_update.rb +250 -0
  103. data/lib/2019-09-07/generated/azure_mgmt_kusto/models/data_connection.rb +82 -0
  104. data/lib/2019-09-07/generated/azure_mgmt_kusto/models/data_connection_check_name_request.rb +62 -0
  105. data/lib/2019-09-07/generated/azure_mgmt_kusto/models/data_connection_list_result.rb +57 -0
  106. data/lib/2019-09-07/generated/azure_mgmt_kusto/models/data_connection_validation.rb +60 -0
  107. data/lib/2019-09-07/generated/azure_mgmt_kusto/models/data_connection_validation_list_result.rb +56 -0
  108. data/lib/2019-09-07/generated/azure_mgmt_kusto/models/data_connection_validation_result.rb +47 -0
  109. data/lib/2019-09-07/generated/azure_mgmt_kusto/models/data_format.rb +26 -0
  110. data/lib/2019-09-07/generated/azure_mgmt_kusto/models/database.rb +82 -0
  111. data/lib/2019-09-07/generated/azure_mgmt_kusto/models/database_list_result.rb +57 -0
  112. data/lib/2019-09-07/generated/azure_mgmt_kusto/models/database_principal.rb +117 -0
  113. data/lib/2019-09-07/generated/azure_mgmt_kusto/models/database_principal_list_request.rb +56 -0
  114. data/lib/2019-09-07/generated/azure_mgmt_kusto/models/database_principal_list_result.rb +56 -0
  115. data/lib/2019-09-07/generated/azure_mgmt_kusto/models/database_principal_role.rb +20 -0
  116. data/lib/2019-09-07/generated/azure_mgmt_kusto/models/database_principal_type.rb +17 -0
  117. data/lib/2019-09-07/generated/azure_mgmt_kusto/models/database_statistics.rb +47 -0
  118. data/lib/2019-09-07/generated/azure_mgmt_kusto/models/default_principals_modification_kind.rb +17 -0
  119. data/lib/2019-09-07/generated/azure_mgmt_kusto/models/event_grid_data_connection.rb +158 -0
  120. data/lib/2019-09-07/generated/azure_mgmt_kusto/models/event_hub_data_connection.rb +165 -0
  121. data/lib/2019-09-07/generated/azure_mgmt_kusto/models/follower_database_definition.rb +72 -0
  122. data/lib/2019-09-07/generated/azure_mgmt_kusto/models/follower_database_list_result.rb +56 -0
  123. data/lib/2019-09-07/generated/azure_mgmt_kusto/models/identity.rb +95 -0
  124. data/lib/2019-09-07/generated/azure_mgmt_kusto/models/identity_type.rb +16 -0
  125. data/lib/2019-09-07/generated/azure_mgmt_kusto/models/identity_user_assigned_identities_value.rb +60 -0
  126. data/lib/2019-09-07/generated/azure_mgmt_kusto/models/iot_hub_data_connection.rb +176 -0
  127. data/lib/2019-09-07/generated/azure_mgmt_kusto/models/key_vault_properties.rb +68 -0
  128. data/lib/2019-09-07/generated/azure_mgmt_kusto/models/list_resource_skus_result.rb +56 -0
  129. data/lib/2019-09-07/generated/azure_mgmt_kusto/models/operation.rb +82 -0
  130. data/lib/2019-09-07/generated/azure_mgmt_kusto/models/operation_display.rb +80 -0
  131. data/lib/2019-09-07/generated/azure_mgmt_kusto/models/operation_list_result.rb +98 -0
  132. data/lib/2019-09-07/generated/azure_mgmt_kusto/models/optimized_autoscale.rb +80 -0
  133. data/lib/2019-09-07/generated/azure_mgmt_kusto/models/principals_modification_kind.rb +17 -0
  134. data/lib/2019-09-07/generated/azure_mgmt_kusto/models/provisioning_state.rb +20 -0
  135. data/lib/2019-09-07/generated/azure_mgmt_kusto/models/proxy_resource.rb +63 -0
  136. data/lib/2019-09-07/generated/azure_mgmt_kusto/models/read_only_following_database.rb +174 -0
  137. data/lib/2019-09-07/generated/azure_mgmt_kusto/models/read_write_database.rb +135 -0
  138. data/lib/2019-09-07/generated/azure_mgmt_kusto/models/reason.rb +16 -0
  139. data/lib/2019-09-07/generated/azure_mgmt_kusto/models/resource.rb +83 -0
  140. data/lib/2019-09-07/generated/azure_mgmt_kusto/models/sku_description.rb +132 -0
  141. data/lib/2019-09-07/generated/azure_mgmt_kusto/models/sku_description_list.rb +56 -0
  142. data/lib/2019-09-07/generated/azure_mgmt_kusto/models/sku_location_info_item.rb +65 -0
  143. data/lib/2019-09-07/generated/azure_mgmt_kusto/models/state.rb +23 -0
  144. data/lib/2019-09-07/generated/azure_mgmt_kusto/models/tracked_resource.rb +92 -0
  145. data/lib/2019-09-07/generated/azure_mgmt_kusto/models/trusted_external_tenant.rb +46 -0
  146. data/lib/2019-09-07/generated/azure_mgmt_kusto/models/type.rb +16 -0
  147. data/lib/2019-09-07/generated/azure_mgmt_kusto/models/virtual_network_configuration.rb +69 -0
  148. data/lib/2019-09-07/generated/azure_mgmt_kusto/module_definition.rb +9 -0
  149. data/lib/2019-09-07/generated/azure_mgmt_kusto/operations.rb +221 -0
  150. data/lib/2019-11-09/generated/azure_mgmt_kusto.rb +106 -0
  151. data/lib/2019-11-09/generated/azure_mgmt_kusto/attached_database_configurations.rb +558 -0
  152. data/lib/2019-11-09/generated/azure_mgmt_kusto/cluster_principal_assignments.rb +656 -0
  153. data/lib/2019-11-09/generated/azure_mgmt_kusto/clusters.rb +1702 -0
  154. data/lib/2019-11-09/generated/azure_mgmt_kusto/data_connections.rb +983 -0
  155. data/lib/2019-11-09/generated/azure_mgmt_kusto/database_principal_assignments.rb +683 -0
  156. data/lib/2019-11-09/generated/azure_mgmt_kusto/databases.rb +1169 -0
  157. data/lib/2019-11-09/generated/azure_mgmt_kusto/kusto_management_client.rb +157 -0
  158. data/lib/2019-11-09/generated/azure_mgmt_kusto/models/attached_database_configuration.rb +144 -0
  159. data/lib/2019-11-09/generated/azure_mgmt_kusto/models/attached_database_configuration_list_result.rb +56 -0
  160. data/lib/2019-11-09/generated/azure_mgmt_kusto/models/azure_capacity.rb +80 -0
  161. data/lib/2019-11-09/generated/azure_mgmt_kusto/models/azure_entity_resource.rb +75 -0
  162. data/lib/2019-11-09/generated/azure_mgmt_kusto/models/azure_resource_sku.rb +70 -0
  163. data/lib/2019-11-09/generated/azure_mgmt_kusto/models/azure_scale_type.rb +17 -0
  164. data/lib/2019-11-09/generated/azure_mgmt_kusto/models/azure_sku.rb +74 -0
  165. data/lib/2019-11-09/generated/azure_mgmt_kusto/models/azure_sku_name.rb +26 -0
  166. data/lib/2019-11-09/generated/azure_mgmt_kusto/models/azure_sku_tier.rb +16 -0
  167. data/lib/2019-11-09/generated/azure_mgmt_kusto/models/check_name_request.rb +61 -0
  168. data/lib/2019-11-09/generated/azure_mgmt_kusto/models/check_name_result.rb +82 -0
  169. data/lib/2019-11-09/generated/azure_mgmt_kusto/models/cluster.rb +275 -0
  170. data/lib/2019-11-09/generated/azure_mgmt_kusto/models/cluster_check_name_request.rb +60 -0
  171. data/lib/2019-11-09/generated/azure_mgmt_kusto/models/cluster_list_result.rb +55 -0
  172. data/lib/2019-11-09/generated/azure_mgmt_kusto/models/cluster_principal_assignment.rb +147 -0
  173. data/lib/2019-11-09/generated/azure_mgmt_kusto/models/cluster_principal_assignment_check_name_request.rb +62 -0
  174. data/lib/2019-11-09/generated/azure_mgmt_kusto/models/cluster_principal_assignment_list_result.rb +56 -0
  175. data/lib/2019-11-09/generated/azure_mgmt_kusto/models/cluster_principal_role.rb +16 -0
  176. data/lib/2019-11-09/generated/azure_mgmt_kusto/models/cluster_update.rb +262 -0
  177. data/lib/2019-11-09/generated/azure_mgmt_kusto/models/compression.rb +16 -0
  178. data/lib/2019-11-09/generated/azure_mgmt_kusto/models/data_connection.rb +82 -0
  179. data/lib/2019-11-09/generated/azure_mgmt_kusto/models/data_connection_check_name_request.rb +61 -0
  180. data/lib/2019-11-09/generated/azure_mgmt_kusto/models/data_connection_list_result.rb +57 -0
  181. data/lib/2019-11-09/generated/azure_mgmt_kusto/models/data_connection_validation.rb +60 -0
  182. data/lib/2019-11-09/generated/azure_mgmt_kusto/models/data_connection_validation_list_result.rb +56 -0
  183. data/lib/2019-11-09/generated/azure_mgmt_kusto/models/data_connection_validation_result.rb +47 -0
  184. data/lib/2019-11-09/generated/azure_mgmt_kusto/models/database.rb +82 -0
  185. data/lib/2019-11-09/generated/azure_mgmt_kusto/models/database_list_result.rb +57 -0
  186. data/lib/2019-11-09/generated/azure_mgmt_kusto/models/database_principal.rb +117 -0
  187. data/lib/2019-11-09/generated/azure_mgmt_kusto/models/database_principal_assignment.rb +148 -0
  188. data/lib/2019-11-09/generated/azure_mgmt_kusto/models/database_principal_assignment_check_name_request.rb +62 -0
  189. data/lib/2019-11-09/generated/azure_mgmt_kusto/models/database_principal_assignment_list_result.rb +56 -0
  190. data/lib/2019-11-09/generated/azure_mgmt_kusto/models/database_principal_list_request.rb +56 -0
  191. data/lib/2019-11-09/generated/azure_mgmt_kusto/models/database_principal_list_result.rb +56 -0
  192. data/lib/2019-11-09/generated/azure_mgmt_kusto/models/database_principal_role.rb +20 -0
  193. data/lib/2019-11-09/generated/azure_mgmt_kusto/models/database_principal_type.rb +17 -0
  194. data/lib/2019-11-09/generated/azure_mgmt_kusto/models/database_statistics.rb +47 -0
  195. data/lib/2019-11-09/generated/azure_mgmt_kusto/models/default_principals_modification_kind.rb +17 -0
  196. data/lib/2019-11-09/generated/azure_mgmt_kusto/models/diagnose_virtual_network_result.rb +56 -0
  197. data/lib/2019-11-09/generated/azure_mgmt_kusto/models/event_grid_data_connection.rb +158 -0
  198. data/lib/2019-11-09/generated/azure_mgmt_kusto/models/event_grid_data_format.rb +28 -0
  199. data/lib/2019-11-09/generated/azure_mgmt_kusto/models/event_hub_data_connection.rb +177 -0
  200. data/lib/2019-11-09/generated/azure_mgmt_kusto/models/event_hub_data_format.rb +28 -0
  201. data/lib/2019-11-09/generated/azure_mgmt_kusto/models/follower_database_definition.rb +72 -0
  202. data/lib/2019-11-09/generated/azure_mgmt_kusto/models/follower_database_list_result.rb +56 -0
  203. data/lib/2019-11-09/generated/azure_mgmt_kusto/models/identity.rb +95 -0
  204. data/lib/2019-11-09/generated/azure_mgmt_kusto/models/identity_type.rb +16 -0
  205. data/lib/2019-11-09/generated/azure_mgmt_kusto/models/identity_user_assigned_identities_value.rb +60 -0
  206. data/lib/2019-11-09/generated/azure_mgmt_kusto/models/iot_hub_data_connection.rb +176 -0
  207. data/lib/2019-11-09/generated/azure_mgmt_kusto/models/iot_hub_data_format.rb +28 -0
  208. data/lib/2019-11-09/generated/azure_mgmt_kusto/models/key_vault_properties.rb +68 -0
  209. data/lib/2019-11-09/generated/azure_mgmt_kusto/models/list_resource_skus_result.rb +56 -0
  210. data/lib/2019-11-09/generated/azure_mgmt_kusto/models/operation.rb +82 -0
  211. data/lib/2019-11-09/generated/azure_mgmt_kusto/models/operation_display.rb +80 -0
  212. data/lib/2019-11-09/generated/azure_mgmt_kusto/models/operation_list_result.rb +98 -0
  213. data/lib/2019-11-09/generated/azure_mgmt_kusto/models/optimized_autoscale.rb +80 -0
  214. data/lib/2019-11-09/generated/azure_mgmt_kusto/models/principal_type.rb +17 -0
  215. data/lib/2019-11-09/generated/azure_mgmt_kusto/models/principals_modification_kind.rb +17 -0
  216. data/lib/2019-11-09/generated/azure_mgmt_kusto/models/provisioning_state.rb +20 -0
  217. data/lib/2019-11-09/generated/azure_mgmt_kusto/models/proxy_resource.rb +63 -0
  218. data/lib/2019-11-09/generated/azure_mgmt_kusto/models/read_only_following_database.rb +174 -0
  219. data/lib/2019-11-09/generated/azure_mgmt_kusto/models/read_write_database.rb +147 -0
  220. data/lib/2019-11-09/generated/azure_mgmt_kusto/models/reason.rb +16 -0
  221. data/lib/2019-11-09/generated/azure_mgmt_kusto/models/resource.rb +83 -0
  222. data/lib/2019-11-09/generated/azure_mgmt_kusto/models/sku_description.rb +132 -0
  223. data/lib/2019-11-09/generated/azure_mgmt_kusto/models/sku_description_list.rb +56 -0
  224. data/lib/2019-11-09/generated/azure_mgmt_kusto/models/sku_location_info_item.rb +65 -0
  225. data/lib/2019-11-09/generated/azure_mgmt_kusto/models/state.rb +23 -0
  226. data/lib/2019-11-09/generated/azure_mgmt_kusto/models/tracked_resource.rb +92 -0
  227. data/lib/2019-11-09/generated/azure_mgmt_kusto/models/trusted_external_tenant.rb +46 -0
  228. data/lib/2019-11-09/generated/azure_mgmt_kusto/models/type.rb +16 -0
  229. data/lib/2019-11-09/generated/azure_mgmt_kusto/models/virtual_network_configuration.rb +69 -0
  230. data/lib/2019-11-09/generated/azure_mgmt_kusto/module_definition.rb +9 -0
  231. data/lib/2019-11-09/generated/azure_mgmt_kusto/operations.rb +221 -0
  232. data/lib/2020-02-15/generated/azure_mgmt_kusto.rb +109 -0
  233. data/lib/2020-02-15/generated/azure_mgmt_kusto/attached_database_configurations.rb +558 -0
  234. data/lib/2020-02-15/generated/azure_mgmt_kusto/cluster_principal_assignments.rb +656 -0
  235. data/lib/2020-02-15/generated/azure_mgmt_kusto/clusters.rb +2087 -0
  236. data/lib/2020-02-15/generated/azure_mgmt_kusto/data_connections.rb +983 -0
  237. data/lib/2020-02-15/generated/azure_mgmt_kusto/database_principal_assignments.rb +683 -0
  238. data/lib/2020-02-15/generated/azure_mgmt_kusto/databases.rb +1169 -0
  239. data/lib/2020-02-15/generated/azure_mgmt_kusto/kusto_management_client.rb +157 -0
  240. data/lib/2020-02-15/generated/azure_mgmt_kusto/models/attached_database_configuration.rb +144 -0
  241. data/lib/2020-02-15/generated/azure_mgmt_kusto/models/attached_database_configuration_list_result.rb +56 -0
  242. data/lib/2020-02-15/generated/azure_mgmt_kusto/models/azure_capacity.rb +80 -0
  243. data/lib/2020-02-15/generated/azure_mgmt_kusto/models/azure_entity_resource.rb +75 -0
  244. data/lib/2020-02-15/generated/azure_mgmt_kusto/models/azure_resource_sku.rb +70 -0
  245. data/lib/2020-02-15/generated/azure_mgmt_kusto/models/azure_scale_type.rb +17 -0
  246. data/lib/2020-02-15/generated/azure_mgmt_kusto/models/azure_sku.rb +77 -0
  247. data/lib/2020-02-15/generated/azure_mgmt_kusto/models/azure_sku_name.rb +35 -0
  248. data/lib/2020-02-15/generated/azure_mgmt_kusto/models/azure_sku_tier.rb +16 -0
  249. data/lib/2020-02-15/generated/azure_mgmt_kusto/models/check_name_request.rb +61 -0
  250. data/lib/2020-02-15/generated/azure_mgmt_kusto/models/check_name_result.rb +82 -0
  251. data/lib/2020-02-15/generated/azure_mgmt_kusto/models/cluster.rb +301 -0
  252. data/lib/2020-02-15/generated/azure_mgmt_kusto/models/cluster_check_name_request.rb +60 -0
  253. data/lib/2020-02-15/generated/azure_mgmt_kusto/models/cluster_list_result.rb +55 -0
  254. data/lib/2020-02-15/generated/azure_mgmt_kusto/models/cluster_principal_assignment.rb +147 -0
  255. data/lib/2020-02-15/generated/azure_mgmt_kusto/models/cluster_principal_assignment_check_name_request.rb +62 -0
  256. data/lib/2020-02-15/generated/azure_mgmt_kusto/models/cluster_principal_assignment_list_result.rb +56 -0
  257. data/lib/2020-02-15/generated/azure_mgmt_kusto/models/cluster_principal_role.rb +16 -0
  258. data/lib/2020-02-15/generated/azure_mgmt_kusto/models/cluster_update.rb +288 -0
  259. data/lib/2020-02-15/generated/azure_mgmt_kusto/models/compression.rb +16 -0
  260. data/lib/2020-02-15/generated/azure_mgmt_kusto/models/data_connection.rb +82 -0
  261. data/lib/2020-02-15/generated/azure_mgmt_kusto/models/data_connection_check_name_request.rb +61 -0
  262. data/lib/2020-02-15/generated/azure_mgmt_kusto/models/data_connection_list_result.rb +57 -0
  263. data/lib/2020-02-15/generated/azure_mgmt_kusto/models/data_connection_validation.rb +60 -0
  264. data/lib/2020-02-15/generated/azure_mgmt_kusto/models/data_connection_validation_list_result.rb +56 -0
  265. data/lib/2020-02-15/generated/azure_mgmt_kusto/models/data_connection_validation_result.rb +47 -0
  266. data/lib/2020-02-15/generated/azure_mgmt_kusto/models/database.rb +82 -0
  267. data/lib/2020-02-15/generated/azure_mgmt_kusto/models/database_list_result.rb +57 -0
  268. data/lib/2020-02-15/generated/azure_mgmt_kusto/models/database_principal.rb +117 -0
  269. data/lib/2020-02-15/generated/azure_mgmt_kusto/models/database_principal_assignment.rb +148 -0
  270. data/lib/2020-02-15/generated/azure_mgmt_kusto/models/database_principal_assignment_check_name_request.rb +62 -0
  271. data/lib/2020-02-15/generated/azure_mgmt_kusto/models/database_principal_assignment_list_result.rb +56 -0
  272. data/lib/2020-02-15/generated/azure_mgmt_kusto/models/database_principal_list_request.rb +56 -0
  273. data/lib/2020-02-15/generated/azure_mgmt_kusto/models/database_principal_list_result.rb +56 -0
  274. data/lib/2020-02-15/generated/azure_mgmt_kusto/models/database_principal_role.rb +20 -0
  275. data/lib/2020-02-15/generated/azure_mgmt_kusto/models/database_principal_type.rb +17 -0
  276. data/lib/2020-02-15/generated/azure_mgmt_kusto/models/database_statistics.rb +47 -0
  277. data/lib/2020-02-15/generated/azure_mgmt_kusto/models/default_principals_modification_kind.rb +17 -0
  278. data/lib/2020-02-15/generated/azure_mgmt_kusto/models/diagnose_virtual_network_result.rb +56 -0
  279. data/lib/2020-02-15/generated/azure_mgmt_kusto/models/event_grid_data_connection.rb +158 -0
  280. data/lib/2020-02-15/generated/azure_mgmt_kusto/models/event_grid_data_format.rb +28 -0
  281. data/lib/2020-02-15/generated/azure_mgmt_kusto/models/event_hub_data_connection.rb +177 -0
  282. data/lib/2020-02-15/generated/azure_mgmt_kusto/models/event_hub_data_format.rb +28 -0
  283. data/lib/2020-02-15/generated/azure_mgmt_kusto/models/follower_database_definition.rb +72 -0
  284. data/lib/2020-02-15/generated/azure_mgmt_kusto/models/follower_database_list_result.rb +56 -0
  285. data/lib/2020-02-15/generated/azure_mgmt_kusto/models/identity.rb +95 -0
  286. data/lib/2020-02-15/generated/azure_mgmt_kusto/models/identity_type.rb +16 -0
  287. data/lib/2020-02-15/generated/azure_mgmt_kusto/models/identity_user_assigned_identities_value.rb +60 -0
  288. data/lib/2020-02-15/generated/azure_mgmt_kusto/models/iot_hub_data_connection.rb +176 -0
  289. data/lib/2020-02-15/generated/azure_mgmt_kusto/models/iot_hub_data_format.rb +28 -0
  290. data/lib/2020-02-15/generated/azure_mgmt_kusto/models/key_vault_properties.rb +68 -0
  291. data/lib/2020-02-15/generated/azure_mgmt_kusto/models/language_extension.rb +47 -0
  292. data/lib/2020-02-15/generated/azure_mgmt_kusto/models/language_extension_name.rb +16 -0
  293. data/lib/2020-02-15/generated/azure_mgmt_kusto/models/language_extensions_list.rb +55 -0
  294. data/lib/2020-02-15/generated/azure_mgmt_kusto/models/list_resource_skus_result.rb +56 -0
  295. data/lib/2020-02-15/generated/azure_mgmt_kusto/models/operation.rb +82 -0
  296. data/lib/2020-02-15/generated/azure_mgmt_kusto/models/operation_display.rb +80 -0
  297. data/lib/2020-02-15/generated/azure_mgmt_kusto/models/operation_list_result.rb +98 -0
  298. data/lib/2020-02-15/generated/azure_mgmt_kusto/models/optimized_autoscale.rb +80 -0
  299. data/lib/2020-02-15/generated/azure_mgmt_kusto/models/principal_type.rb +17 -0
  300. data/lib/2020-02-15/generated/azure_mgmt_kusto/models/principals_modification_kind.rb +17 -0
  301. data/lib/2020-02-15/generated/azure_mgmt_kusto/models/provisioning_state.rb +20 -0
  302. data/lib/2020-02-15/generated/azure_mgmt_kusto/models/proxy_resource.rb +63 -0
  303. data/lib/2020-02-15/generated/azure_mgmt_kusto/models/read_only_following_database.rb +174 -0
  304. data/lib/2020-02-15/generated/azure_mgmt_kusto/models/read_write_database.rb +147 -0
  305. data/lib/2020-02-15/generated/azure_mgmt_kusto/models/reason.rb +16 -0
  306. data/lib/2020-02-15/generated/azure_mgmt_kusto/models/resource.rb +83 -0
  307. data/lib/2020-02-15/generated/azure_mgmt_kusto/models/sku_description.rb +132 -0
  308. data/lib/2020-02-15/generated/azure_mgmt_kusto/models/sku_description_list.rb +56 -0
  309. data/lib/2020-02-15/generated/azure_mgmt_kusto/models/sku_location_info_item.rb +65 -0
  310. data/lib/2020-02-15/generated/azure_mgmt_kusto/models/state.rb +23 -0
  311. data/lib/2020-02-15/generated/azure_mgmt_kusto/models/tracked_resource.rb +92 -0
  312. data/lib/2020-02-15/generated/azure_mgmt_kusto/models/trusted_external_tenant.rb +46 -0
  313. data/lib/2020-02-15/generated/azure_mgmt_kusto/models/type.rb +16 -0
  314. data/lib/2020-02-15/generated/azure_mgmt_kusto/models/virtual_network_configuration.rb +69 -0
  315. data/lib/2020-02-15/generated/azure_mgmt_kusto/module_definition.rb +9 -0
  316. data/lib/2020-02-15/generated/azure_mgmt_kusto/operations.rb +221 -0
  317. data/lib/2020-06-14/generated/azure_mgmt_kusto.rb +110 -0
  318. data/lib/2020-06-14/generated/azure_mgmt_kusto/attached_database_configurations.rb +558 -0
  319. data/lib/2020-06-14/generated/azure_mgmt_kusto/cluster_principal_assignments.rb +656 -0
  320. data/lib/2020-06-14/generated/azure_mgmt_kusto/clusters.rb +2087 -0
  321. data/lib/2020-06-14/generated/azure_mgmt_kusto/data_connections.rb +1033 -0
  322. data/lib/2020-06-14/generated/azure_mgmt_kusto/database_principal_assignments.rb +683 -0
  323. data/lib/2020-06-14/generated/azure_mgmt_kusto/databases.rb +1169 -0
  324. data/lib/2020-06-14/generated/azure_mgmt_kusto/kusto_management_client.rb +157 -0
  325. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/attached_database_configuration.rb +144 -0
  326. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/attached_database_configuration_list_result.rb +56 -0
  327. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/azure_capacity.rb +80 -0
  328. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/azure_entity_resource.rb +75 -0
  329. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/azure_resource_sku.rb +70 -0
  330. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/azure_scale_type.rb +17 -0
  331. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/azure_sku.rb +77 -0
  332. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/azure_sku_name.rb +35 -0
  333. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/azure_sku_tier.rb +16 -0
  334. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/blob_storage_event_type.rb +16 -0
  335. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/check_name_request.rb +61 -0
  336. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/check_name_result.rb +82 -0
  337. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/cluster.rb +315 -0
  338. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/cluster_check_name_request.rb +60 -0
  339. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/cluster_list_result.rb +55 -0
  340. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/cluster_principal_assignment.rb +147 -0
  341. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/cluster_principal_assignment_check_name_request.rb +62 -0
  342. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/cluster_principal_assignment_list_result.rb +56 -0
  343. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/cluster_principal_role.rb +16 -0
  344. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/cluster_update.rb +302 -0
  345. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/compression.rb +16 -0
  346. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/data_connection.rb +82 -0
  347. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/data_connection_check_name_request.rb +61 -0
  348. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/data_connection_list_result.rb +57 -0
  349. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/data_connection_validation.rb +60 -0
  350. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/data_connection_validation_list_result.rb +56 -0
  351. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/data_connection_validation_result.rb +47 -0
  352. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/database.rb +82 -0
  353. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/database_list_result.rb +57 -0
  354. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/database_principal.rb +117 -0
  355. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/database_principal_assignment.rb +148 -0
  356. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/database_principal_assignment_check_name_request.rb +62 -0
  357. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/database_principal_assignment_list_result.rb +56 -0
  358. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/database_principal_list_request.rb +56 -0
  359. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/database_principal_list_result.rb +56 -0
  360. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/database_principal_role.rb +20 -0
  361. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/database_principal_type.rb +17 -0
  362. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/database_statistics.rb +47 -0
  363. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/default_principals_modification_kind.rb +17 -0
  364. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/diagnose_virtual_network_result.rb +56 -0
  365. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/event_grid_data_connection.rb +184 -0
  366. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/event_grid_data_format.rb +30 -0
  367. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/event_hub_data_connection.rb +178 -0
  368. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/event_hub_data_format.rb +30 -0
  369. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/follower_database_definition.rb +72 -0
  370. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/follower_database_list_result.rb +56 -0
  371. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/identity.rb +95 -0
  372. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/identity_type.rb +16 -0
  373. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/identity_user_assigned_identities_value.rb +60 -0
  374. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/iot_hub_data_connection.rb +177 -0
  375. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/iot_hub_data_format.rb +30 -0
  376. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/key_vault_properties.rb +68 -0
  377. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/language_extension.rb +47 -0
  378. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/language_extension_name.rb +16 -0
  379. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/language_extensions_list.rb +55 -0
  380. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/list_resource_skus_result.rb +56 -0
  381. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/operation.rb +82 -0
  382. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/operation_display.rb +80 -0
  383. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/operation_list_result.rb +98 -0
  384. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/optimized_autoscale.rb +80 -0
  385. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/principal_type.rb +17 -0
  386. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/principals_modification_kind.rb +17 -0
  387. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/provisioning_state.rb +20 -0
  388. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/proxy_resource.rb +63 -0
  389. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/read_only_following_database.rb +174 -0
  390. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/read_write_database.rb +147 -0
  391. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/reason.rb +16 -0
  392. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/resource.rb +83 -0
  393. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/sku_description.rb +132 -0
  394. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/sku_description_list.rb +56 -0
  395. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/sku_location_info_item.rb +65 -0
  396. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/state.rb +23 -0
  397. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/tracked_resource.rb +92 -0
  398. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/trusted_external_tenant.rb +46 -0
  399. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/type.rb +16 -0
  400. data/lib/2020-06-14/generated/azure_mgmt_kusto/models/virtual_network_configuration.rb +69 -0
  401. data/lib/2020-06-14/generated/azure_mgmt_kusto/module_definition.rb +9 -0
  402. data/lib/2020-06-14/generated/azure_mgmt_kusto/operations.rb +221 -0
  403. data/lib/azure_mgmt_kusto.rb +6 -1
  404. data/lib/profiles/latest/modules/kusto_profile_module.rb +259 -109
  405. data/lib/version.rb +1 -1
  406. metadata +384 -5
@@ -0,0 +1,145 @@
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
+ # A service client - single point of access to the REST API.
9
+ #
10
+ class KustoManagementClient < MsRestAzure::AzureServiceClient
11
+ include MsRestAzure
12
+ include MsRestAzure::Serialization
13
+
14
+ # @return [String] the base URI of the service.
15
+ attr_accessor :base_url
16
+
17
+ # @return Credentials needed for the client to connect to Azure.
18
+ attr_reader :credentials
19
+
20
+ # @return [String] Gets subscription credentials which uniquely identify
21
+ # Microsoft Azure subscription. The subscription ID forms part of the URI
22
+ # for every service call.
23
+ attr_accessor :subscription_id
24
+
25
+ # @return [String] Client API Version.
26
+ attr_reader :api_version
27
+
28
+ # @return [String] The preferred language for the response.
29
+ attr_accessor :accept_language
30
+
31
+ # @return [Integer] The retry timeout in seconds for Long Running
32
+ # Operations. Default value is 30.
33
+ attr_accessor :long_running_operation_retry_timeout
34
+
35
+ # @return [Boolean] Whether a unique x-ms-client-request-id should be
36
+ # generated. When set to true a unique x-ms-client-request-id value is
37
+ # generated and included in each request. Default is true.
38
+ attr_accessor :generate_client_request_id
39
+
40
+ # @return [Clusters] clusters
41
+ attr_reader :clusters
42
+
43
+ # @return [Databases] databases
44
+ attr_reader :databases
45
+
46
+ # @return [DataConnections] data_connections
47
+ attr_reader :data_connections
48
+
49
+ # @return [Operations] operations
50
+ attr_reader :operations
51
+
52
+ #
53
+ # Creates initializes a new instance of the KustoManagementClient class.
54
+ # @param credentials [MsRest::ServiceClientCredentials] credentials to authorize HTTP requests made by the service client.
55
+ # @param base_url [String] the base URI of the service.
56
+ # @param options [Array] filters to be applied to the HTTP requests.
57
+ #
58
+ def initialize(credentials = nil, base_url = nil, options = nil)
59
+ super(credentials, options)
60
+ @base_url = base_url || 'https://management.azure.com'
61
+
62
+ fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials) unless credentials.nil?
63
+ @credentials = credentials
64
+
65
+ @clusters = Clusters.new(self)
66
+ @databases = Databases.new(self)
67
+ @data_connections = DataConnections.new(self)
68
+ @operations = Operations.new(self)
69
+ @api_version = '2019-05-15'
70
+ @accept_language = 'en-US'
71
+ @long_running_operation_retry_timeout = 30
72
+ @generate_client_request_id = true
73
+ add_telemetry
74
+ end
75
+
76
+ #
77
+ # Makes a request and returns the body of the response.
78
+ # @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
79
+ # @param path [String] the path, relative to {base_url}.
80
+ # @param options [Hash{String=>String}] specifying any request options like :body.
81
+ # @return [Hash{String=>String}] containing the body of the response.
82
+ # Example:
83
+ #
84
+ # request_content = "{'location':'westus','tags':{'tag1':'val1','tag2':'val2'}}"
85
+ # path = "/path"
86
+ # options = {
87
+ # body: request_content,
88
+ # query_params: {'api-version' => '2016-02-01'}
89
+ # }
90
+ # result = @client.make_request(:put, path, options)
91
+ #
92
+ def make_request(method, path, options = {})
93
+ result = make_request_with_http_info(method, path, options)
94
+ result.body unless result.nil?
95
+ end
96
+
97
+ #
98
+ # Makes a request and returns the operation response.
99
+ # @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
100
+ # @param path [String] the path, relative to {base_url}.
101
+ # @param options [Hash{String=>String}] specifying any request options like :body.
102
+ # @return [MsRestAzure::AzureOperationResponse] Operation response containing the request, response and status.
103
+ #
104
+ def make_request_with_http_info(method, path, options = {})
105
+ result = make_request_async(method, path, options).value!
106
+ result.body = result.response.body.to_s.empty? ? nil : JSON.load(result.response.body)
107
+ result
108
+ end
109
+
110
+ #
111
+ # Makes a request asynchronously.
112
+ # @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
113
+ # @param path [String] the path, relative to {base_url}.
114
+ # @param options [Hash{String=>String}] specifying any request options like :body.
115
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
116
+ #
117
+ def make_request_async(method, path, options = {})
118
+ fail ArgumentError, 'method is nil' if method.nil?
119
+ fail ArgumentError, 'path is nil' if path.nil?
120
+
121
+ request_url = options[:base_url] || @base_url
122
+ if(!options[:headers].nil? && !options[:headers]['Content-Type'].nil?)
123
+ @request_headers['Content-Type'] = options[:headers]['Content-Type']
124
+ end
125
+
126
+ request_headers = @request_headers
127
+ request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil?
128
+ options.merge!({headers: request_headers.merge(options[:headers] || {})})
129
+ options.merge!({credentials: @credentials}) unless @credentials.nil?
130
+
131
+ super(request_url, method, path, options)
132
+ end
133
+
134
+
135
+ private
136
+ #
137
+ # Adds telemetry information.
138
+ #
139
+ def add_telemetry
140
+ sdk_information = 'azure_mgmt_kusto'
141
+ sdk_information = "#{sdk_information}/0.19.3"
142
+ add_user_agent_information(sdk_information)
143
+ end
144
+ end
145
+ end
@@ -0,0 +1,80 @@
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
+ module Models
8
+ #
9
+ # Azure capacity definition.
10
+ #
11
+ class AzureCapacity
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [AzureScaleType] Scale type. Possible values include:
16
+ # 'automatic', 'manual', 'none'
17
+ attr_accessor :scale_type
18
+
19
+ # @return [Integer] Minimum allowed capacity.
20
+ attr_accessor :minimum
21
+
22
+ # @return [Integer] Maximum allowed capacity.
23
+ attr_accessor :maximum
24
+
25
+ # @return [Integer] The default capacity that would be used.
26
+ attr_accessor :default
27
+
28
+
29
+ #
30
+ # Mapper for AzureCapacity class as Ruby Hash.
31
+ # This will be used for serialization/deserialization.
32
+ #
33
+ def self.mapper()
34
+ {
35
+ client_side_validation: true,
36
+ required: false,
37
+ serialized_name: 'AzureCapacity',
38
+ type: {
39
+ name: 'Composite',
40
+ class_name: 'AzureCapacity',
41
+ model_properties: {
42
+ scale_type: {
43
+ client_side_validation: true,
44
+ required: true,
45
+ serialized_name: 'scaleType',
46
+ type: {
47
+ name: 'String'
48
+ }
49
+ },
50
+ minimum: {
51
+ client_side_validation: true,
52
+ required: true,
53
+ serialized_name: 'minimum',
54
+ type: {
55
+ name: 'Number'
56
+ }
57
+ },
58
+ maximum: {
59
+ client_side_validation: true,
60
+ required: true,
61
+ serialized_name: 'maximum',
62
+ type: {
63
+ name: 'Number'
64
+ }
65
+ },
66
+ default: {
67
+ client_side_validation: true,
68
+ required: true,
69
+ serialized_name: 'default',
70
+ type: {
71
+ name: 'Number'
72
+ }
73
+ }
74
+ }
75
+ }
76
+ }
77
+ end
78
+ end
79
+ end
80
+ end
@@ -0,0 +1,75 @@
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
+ module Models
8
+ #
9
+ # The resource model definition for a Azure Resource Manager resource with
10
+ # an etag.
11
+ #
12
+ class AzureEntityResource < Resource
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [String] Resource Etag.
17
+ attr_accessor :etag
18
+
19
+
20
+ #
21
+ # Mapper for AzureEntityResource 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: 'AzureEntityResource',
29
+ type: {
30
+ name: 'Composite',
31
+ class_name: 'AzureEntityResource',
32
+ model_properties: {
33
+ id: {
34
+ client_side_validation: true,
35
+ required: false,
36
+ read_only: true,
37
+ serialized_name: 'id',
38
+ type: {
39
+ name: 'String'
40
+ }
41
+ },
42
+ name: {
43
+ client_side_validation: true,
44
+ required: false,
45
+ read_only: true,
46
+ serialized_name: 'name',
47
+ type: {
48
+ name: 'String'
49
+ }
50
+ },
51
+ type: {
52
+ client_side_validation: true,
53
+ required: false,
54
+ read_only: true,
55
+ serialized_name: 'type',
56
+ type: {
57
+ name: 'String'
58
+ }
59
+ },
60
+ etag: {
61
+ client_side_validation: true,
62
+ required: false,
63
+ read_only: true,
64
+ serialized_name: 'etag',
65
+ type: {
66
+ name: 'String'
67
+ }
68
+ }
69
+ }
70
+ }
71
+ }
72
+ end
73
+ end
74
+ end
75
+ end
@@ -0,0 +1,70 @@
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
+ module Models
8
+ #
9
+ # Azure resource SKU definition.
10
+ #
11
+ class AzureResourceSku
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Resource Namespace and Type.
16
+ attr_accessor :resource_type
17
+
18
+ # @return [AzureSku] The SKU details.
19
+ attr_accessor :sku
20
+
21
+ # @return [AzureCapacity] The number of instances of the cluster.
22
+ attr_accessor :capacity
23
+
24
+
25
+ #
26
+ # Mapper for AzureResourceSku class as Ruby Hash.
27
+ # This will be used for serialization/deserialization.
28
+ #
29
+ def self.mapper()
30
+ {
31
+ client_side_validation: true,
32
+ required: false,
33
+ serialized_name: 'AzureResourceSku',
34
+ type: {
35
+ name: 'Composite',
36
+ class_name: 'AzureResourceSku',
37
+ model_properties: {
38
+ resource_type: {
39
+ client_side_validation: true,
40
+ required: false,
41
+ serialized_name: 'resourceType',
42
+ type: {
43
+ name: 'String'
44
+ }
45
+ },
46
+ sku: {
47
+ client_side_validation: true,
48
+ required: false,
49
+ serialized_name: 'sku',
50
+ type: {
51
+ name: 'Composite',
52
+ class_name: 'AzureSku'
53
+ }
54
+ },
55
+ capacity: {
56
+ client_side_validation: true,
57
+ required: false,
58
+ serialized_name: 'capacity',
59
+ type: {
60
+ name: 'Composite',
61
+ class_name: 'AzureCapacity'
62
+ }
63
+ }
64
+ }
65
+ }
66
+ }
67
+ end
68
+ end
69
+ end
70
+ 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::V2019_05_15
7
+ module Models
8
+ #
9
+ # Defines values for AzureScaleType
10
+ #
11
+ module AzureScaleType
12
+ Automatic = "automatic"
13
+ Manual = "manual"
14
+ None = "none"
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,74 @@
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
+ module Models
8
+ #
9
+ # Azure SKU definition.
10
+ #
11
+ class AzureSku
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [AzureSkuName] SKU name. Possible values include:
16
+ # 'Standard_DS13_v2+1TB_PS', 'Standard_DS13_v2+2TB_PS',
17
+ # 'Standard_DS14_v2+3TB_PS', 'Standard_DS14_v2+4TB_PS',
18
+ # 'Standard_D13_v2', 'Standard_D14_v2', 'Standard_L8s', 'Standard_L16s',
19
+ # 'Standard_D11_v2', 'Standard_D12_v2', 'Standard_L4s', 'Dev(No
20
+ # SLA)_Standard_D11_v2'
21
+ attr_accessor :name
22
+
23
+ # @return [Integer] The number of instances of the cluster.
24
+ attr_accessor :capacity
25
+
26
+ # @return [AzureSkuTier] SKU tier. Possible values include: 'Basic',
27
+ # 'Standard'
28
+ attr_accessor :tier
29
+
30
+
31
+ #
32
+ # Mapper for AzureSku class as Ruby Hash.
33
+ # This will be used for serialization/deserialization.
34
+ #
35
+ def self.mapper()
36
+ {
37
+ client_side_validation: true,
38
+ required: false,
39
+ serialized_name: 'AzureSku',
40
+ type: {
41
+ name: 'Composite',
42
+ class_name: 'AzureSku',
43
+ model_properties: {
44
+ name: {
45
+ client_side_validation: true,
46
+ required: true,
47
+ serialized_name: 'name',
48
+ type: {
49
+ name: 'String'
50
+ }
51
+ },
52
+ capacity: {
53
+ client_side_validation: true,
54
+ required: false,
55
+ serialized_name: 'capacity',
56
+ type: {
57
+ name: 'Number'
58
+ }
59
+ },
60
+ tier: {
61
+ client_side_validation: true,
62
+ required: true,
63
+ serialized_name: 'tier',
64
+ type: {
65
+ name: 'String'
66
+ }
67
+ }
68
+ }
69
+ }
70
+ }
71
+ end
72
+ end
73
+ end
74
+ end