azure_mgmt_cosmosdb 0.21.0 → 0.23.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1280) hide show
  1. checksums.yaml +5 -5
  2. data/LICENSE.txt +20 -20
  3. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb.rb +0 -0
  4. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/collection.rb +0 -0
  5. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/collection_partition.rb +0 -0
  6. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/collection_partition_region.rb +0 -0
  7. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/collection_region.rb +0 -0
  8. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/cosmos_db.rb +1 -1
  9. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/database.rb +0 -0
  10. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/database_account_region.rb +0 -0
  11. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/database_accounts.rb +0 -0
  12. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/capability.rb +0 -0
  13. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/cassandra_keyspace.rb +0 -0
  14. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/cassandra_keyspace_create_update_parameters.rb +0 -0
  15. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/cassandra_keyspace_list_result.rb +0 -0
  16. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/cassandra_keyspace_resource.rb +0 -0
  17. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/cassandra_partition_key.rb +0 -0
  18. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/cassandra_schema.rb +0 -0
  19. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/cassandra_table.rb +0 -0
  20. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/cassandra_table_create_update_parameters.rb +0 -0
  21. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/cassandra_table_list_result.rb +0 -0
  22. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/cassandra_table_resource.rb +0 -0
  23. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/cluster_key.rb +0 -0
  24. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/column.rb +0 -0
  25. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/conflict_resolution_mode.rb +0 -0
  26. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/conflict_resolution_policy.rb +0 -0
  27. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/connector_offer.rb +0 -0
  28. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/consistency_policy.rb +0 -0
  29. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/container_partition_key.rb +0 -0
  30. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/data_type.rb +0 -0
  31. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/database_account.rb +0 -0
  32. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/database_account_connection_string.rb +0 -0
  33. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/database_account_create_update_parameters.rb +0 -0
  34. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/database_account_kind.rb +0 -0
  35. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/database_account_list_connection_strings_result.rb +0 -0
  36. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/database_account_list_keys_result.rb +0 -0
  37. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/database_account_list_read_only_keys_result.rb +0 -0
  38. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/database_account_offer_type.rb +0 -0
  39. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/database_account_patch_parameters.rb +0 -0
  40. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/database_account_regenerate_key_parameters.rb +0 -0
  41. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/database_accounts_list_result.rb +0 -0
  42. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/default_consistency_level.rb +0 -0
  43. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/error_response.rb +0 -0
  44. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/excluded_path.rb +0 -0
  45. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/extended_resource_properties.rb +0 -0
  46. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/failover_policies.rb +0 -0
  47. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/failover_policy.rb +0 -0
  48. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/gremlin_database.rb +0 -0
  49. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/gremlin_database_create_update_parameters.rb +0 -0
  50. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/gremlin_database_list_result.rb +0 -0
  51. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/gremlin_database_resource.rb +0 -0
  52. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/gremlin_graph.rb +0 -0
  53. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/gremlin_graph_create_update_parameters.rb +0 -0
  54. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/gremlin_graph_list_result.rb +0 -0
  55. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/gremlin_graph_resource.rb +0 -0
  56. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/included_path.rb +0 -0
  57. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/index_kind.rb +0 -0
  58. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/indexes.rb +0 -0
  59. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/indexing_mode.rb +0 -0
  60. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/indexing_policy.rb +0 -0
  61. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/key_kind.rb +0 -0
  62. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/location.rb +0 -0
  63. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/metric.rb +0 -0
  64. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/metric_availability.rb +0 -0
  65. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/metric_definition.rb +0 -0
  66. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/metric_definitions_list_result.rb +0 -0
  67. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/metric_list_result.rb +0 -0
  68. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/metric_name.rb +0 -0
  69. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/metric_value.rb +0 -0
  70. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/mongo_dbcollection.rb +0 -0
  71. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/mongo_dbcollection_create_update_parameters.rb +0 -0
  72. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/mongo_dbcollection_list_result.rb +0 -0
  73. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/mongo_dbcollection_resource.rb +0 -0
  74. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/mongo_dbdatabase.rb +0 -0
  75. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/mongo_dbdatabase_create_update_parameters.rb +0 -0
  76. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/mongo_dbdatabase_list_result.rb +0 -0
  77. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/mongo_dbdatabase_resource.rb +0 -0
  78. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/mongo_index.rb +0 -0
  79. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/mongo_index_keys.rb +0 -0
  80. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/mongo_index_options.rb +0 -0
  81. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/operation.rb +0 -0
  82. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/operation_display.rb +0 -0
  83. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/operation_list_result.rb +0 -0
  84. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/partition_kind.rb +0 -0
  85. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/partition_metric.rb +0 -0
  86. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/partition_metric_list_result.rb +0 -0
  87. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/partition_usage.rb +0 -0
  88. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/partition_usages_result.rb +0 -0
  89. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/percentile_metric.rb +0 -0
  90. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/percentile_metric_list_result.rb +0 -0
  91. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/percentile_metric_value.rb +0 -0
  92. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/primary_aggregation_type.rb +0 -0
  93. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/region_for_online_offline.rb +0 -0
  94. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/resource.rb +0 -0
  95. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/sql_container.rb +0 -0
  96. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/sql_container_create_update_parameters.rb +0 -0
  97. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/sql_container_list_result.rb +0 -0
  98. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/sql_container_resource.rb +0 -0
  99. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/sql_database.rb +0 -0
  100. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/sql_database_create_update_parameters.rb +0 -0
  101. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/sql_database_list_result.rb +0 -0
  102. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/sql_database_resource.rb +0 -0
  103. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/table.rb +0 -0
  104. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/table_create_update_parameters.rb +0 -0
  105. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/table_list_result.rb +0 -0
  106. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/table_resource.rb +0 -0
  107. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/throughput.rb +0 -0
  108. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/throughput_resource.rb +0 -0
  109. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/throughput_update_parameters.rb +0 -0
  110. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/unique_key.rb +0 -0
  111. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/unique_key_policy.rb +0 -0
  112. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/unit_type.rb +0 -0
  113. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/usage.rb +0 -0
  114. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/usages_result.rb +0 -0
  115. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/virtual_network_rule.rb +0 -0
  116. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/module_definition.rb +0 -0
  117. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/operations.rb +0 -0
  118. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/partition_key_range_id.rb +0 -0
  119. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/partition_key_range_id_region.rb +0 -0
  120. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/percentile.rb +0 -0
  121. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/percentile_source_target.rb +0 -0
  122. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/percentile_target.rb +0 -0
  123. data/lib/2019-08-01-preview/generated/azure_mgmt_cosmosdb.rb +0 -0
  124. data/lib/2019-08-01-preview/generated/azure_mgmt_cosmosdb/cosmos_dbmanagement_client.rb +3 -10
  125. data/lib/2019-08-01-preview/generated/azure_mgmt_cosmosdb/models/armproxy_resource.rb +0 -0
  126. data/lib/2019-08-01-preview/generated/azure_mgmt_cosmosdb/models/azure_entity_resource.rb +3 -1
  127. data/lib/2019-08-01-preview/generated/azure_mgmt_cosmosdb/models/error_response.rb +0 -0
  128. data/lib/2019-08-01-preview/generated/azure_mgmt_cosmosdb/models/private_endpoint_connection.rb +22 -0
  129. data/lib/2019-08-01-preview/generated/azure_mgmt_cosmosdb/models/private_endpoint_connection_list_result.rb +0 -0
  130. data/lib/2019-08-01-preview/generated/azure_mgmt_cosmosdb/models/private_endpoint_property.rb +0 -0
  131. data/lib/2019-08-01-preview/generated/azure_mgmt_cosmosdb/models/private_link_resource.rb +20 -0
  132. data/lib/2019-08-01-preview/generated/azure_mgmt_cosmosdb/models/private_link_resource_list_result.rb +0 -0
  133. data/lib/2019-08-01-preview/generated/azure_mgmt_cosmosdb/models/private_link_service_connection_state_property.rb +0 -0
  134. data/lib/2019-08-01-preview/generated/azure_mgmt_cosmosdb/models/proxy_resource.rb +4 -2
  135. data/lib/2019-08-01-preview/generated/azure_mgmt_cosmosdb/models/resource.rb +8 -5
  136. data/lib/2019-08-01-preview/generated/azure_mgmt_cosmosdb/models/tracked_resource.rb +4 -1
  137. data/lib/2019-08-01-preview/generated/azure_mgmt_cosmosdb/module_definition.rb +0 -0
  138. data/lib/2019-08-01-preview/generated/azure_mgmt_cosmosdb/private_endpoint_connections.rb +0 -0
  139. data/lib/2019-08-01-preview/generated/azure_mgmt_cosmosdb/private_link_resources.rb +16 -6
  140. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb.rb +0 -0
  141. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/cassandra_resources.rb +0 -0
  142. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/collection.rb +0 -0
  143. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/collection_partition.rb +0 -0
  144. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/collection_partition_region.rb +0 -0
  145. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/collection_region.rb +0 -0
  146. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/cosmos_dbmanagement_client.rb +1 -1
  147. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/database.rb +0 -0
  148. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/database_account_region.rb +0 -0
  149. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/database_accounts.rb +0 -0
  150. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/gremlin_resources.rb +0 -0
  151. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/armproxy_resource.rb +0 -0
  152. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/armresource_properties.rb +0 -0
  153. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/capability.rb +0 -0
  154. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/cassandra_keyspace_create_update_parameters.rb +0 -0
  155. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/cassandra_keyspace_get_properties_resource.rb +0 -0
  156. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/cassandra_keyspace_get_results.rb +0 -0
  157. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/cassandra_keyspace_list_result.rb +0 -0
  158. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/cassandra_keyspace_resource.rb +0 -0
  159. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/cassandra_partition_key.rb +0 -0
  160. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/cassandra_schema.rb +0 -0
  161. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/cassandra_table_create_update_parameters.rb +0 -0
  162. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/cassandra_table_get_properties_resource.rb +0 -0
  163. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/cassandra_table_get_results.rb +0 -0
  164. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/cassandra_table_list_result.rb +0 -0
  165. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/cassandra_table_resource.rb +0 -0
  166. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/cluster_key.rb +0 -0
  167. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/column.rb +0 -0
  168. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/composite_path.rb +0 -0
  169. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/composite_path_sort_order.rb +0 -0
  170. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/conflict_resolution_mode.rb +0 -0
  171. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/conflict_resolution_policy.rb +0 -0
  172. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/connector_offer.rb +0 -0
  173. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/consistency_policy.rb +0 -0
  174. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/container_partition_key.rb +0 -0
  175. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/data_type.rb +0 -0
  176. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/database_account_connection_string.rb +0 -0
  177. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/database_account_create_update_parameters.rb +0 -0
  178. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/database_account_get_results.rb +0 -0
  179. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/database_account_kind.rb +0 -0
  180. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/database_account_list_connection_strings_result.rb +0 -0
  181. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/database_account_list_keys_result.rb +0 -0
  182. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/database_account_list_read_only_keys_result.rb +0 -0
  183. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/database_account_offer_type.rb +0 -0
  184. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/database_account_regenerate_key_parameters.rb +0 -0
  185. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/database_account_update_parameters.rb +0 -0
  186. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/database_accounts_list_result.rb +0 -0
  187. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/default_consistency_level.rb +0 -0
  188. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/error_response.rb +0 -0
  189. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/excluded_path.rb +0 -0
  190. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/extended_resource_properties.rb +0 -0
  191. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/failover_policies.rb +0 -0
  192. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/failover_policy.rb +0 -0
  193. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/gremlin_database_create_update_parameters.rb +0 -0
  194. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/gremlin_database_get_properties_resource.rb +0 -0
  195. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/gremlin_database_get_results.rb +0 -0
  196. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/gremlin_database_list_result.rb +0 -0
  197. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/gremlin_database_resource.rb +0 -0
  198. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/gremlin_graph_create_update_parameters.rb +0 -0
  199. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/gremlin_graph_get_properties_resource.rb +0 -0
  200. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/gremlin_graph_get_results.rb +0 -0
  201. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/gremlin_graph_list_result.rb +0 -0
  202. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/gremlin_graph_resource.rb +0 -0
  203. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/included_path.rb +0 -0
  204. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/index_kind.rb +0 -0
  205. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/indexes.rb +0 -0
  206. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/indexing_mode.rb +0 -0
  207. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/indexing_policy.rb +0 -0
  208. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/key_kind.rb +0 -0
  209. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/location.rb +0 -0
  210. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/metric.rb +0 -0
  211. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/metric_availability.rb +0 -0
  212. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/metric_definition.rb +0 -0
  213. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/metric_definitions_list_result.rb +0 -0
  214. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/metric_list_result.rb +0 -0
  215. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/metric_name.rb +0 -0
  216. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/metric_value.rb +0 -0
  217. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/mongo_dbcollection_create_update_parameters.rb +0 -0
  218. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/mongo_dbcollection_get_properties_resource.rb +0 -0
  219. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/mongo_dbcollection_get_results.rb +0 -0
  220. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/mongo_dbcollection_list_result.rb +0 -0
  221. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/mongo_dbcollection_resource.rb +0 -0
  222. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/mongo_dbdatabase_create_update_parameters.rb +0 -0
  223. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/mongo_dbdatabase_get_properties_resource.rb +0 -0
  224. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/mongo_dbdatabase_get_results.rb +0 -0
  225. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/mongo_dbdatabase_list_result.rb +0 -0
  226. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/mongo_dbdatabase_resource.rb +0 -0
  227. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/mongo_index.rb +0 -0
  228. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/mongo_index_keys.rb +0 -0
  229. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/mongo_index_options.rb +0 -0
  230. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/operation.rb +0 -0
  231. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/operation_display.rb +0 -0
  232. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/operation_list_result.rb +0 -0
  233. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/partition_kind.rb +0 -0
  234. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/partition_metric.rb +0 -0
  235. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/partition_metric_list_result.rb +0 -0
  236. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/partition_usage.rb +0 -0
  237. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/partition_usages_result.rb +0 -0
  238. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/percentile_metric.rb +0 -0
  239. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/percentile_metric_list_result.rb +0 -0
  240. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/percentile_metric_value.rb +0 -0
  241. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/primary_aggregation_type.rb +0 -0
  242. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/region_for_online_offline.rb +0 -0
  243. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/spatial_spec.rb +0 -0
  244. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/spatial_type.rb +0 -0
  245. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_container_create_update_parameters.rb +0 -0
  246. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_container_get_properties_resource.rb +0 -0
  247. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_container_get_results.rb +0 -0
  248. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_container_list_result.rb +0 -0
  249. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_container_resource.rb +0 -0
  250. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_database_create_update_parameters.rb +0 -0
  251. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_database_get_properties_resource.rb +0 -0
  252. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_database_get_results.rb +0 -0
  253. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_database_list_result.rb +0 -0
  254. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_database_resource.rb +0 -0
  255. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_stored_procedure_create_update_parameters.rb +0 -0
  256. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_stored_procedure_get_properties_resource.rb +0 -0
  257. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_stored_procedure_get_results.rb +0 -0
  258. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_stored_procedure_list_result.rb +0 -0
  259. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_stored_procedure_resource.rb +0 -0
  260. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_trigger_create_update_parameters.rb +0 -0
  261. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_trigger_get_properties_resource.rb +0 -0
  262. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_trigger_get_results.rb +0 -0
  263. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_trigger_list_result.rb +0 -0
  264. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_trigger_resource.rb +0 -0
  265. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_user_defined_function_create_update_parameters.rb +0 -0
  266. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_user_defined_function_get_properties_resource.rb +0 -0
  267. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_user_defined_function_get_results.rb +0 -0
  268. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_user_defined_function_list_result.rb +0 -0
  269. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_user_defined_function_resource.rb +0 -0
  270. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/table_create_update_parameters.rb +0 -0
  271. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/table_get_properties_resource.rb +0 -0
  272. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/table_get_results.rb +0 -0
  273. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/table_list_result.rb +0 -0
  274. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/table_resource.rb +0 -0
  275. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/throughput_settings_get_properties_resource.rb +0 -0
  276. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/throughput_settings_get_results.rb +0 -0
  277. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/throughput_settings_resource.rb +0 -0
  278. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/throughput_settings_update_parameters.rb +0 -0
  279. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/trigger_operation.rb +0 -0
  280. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/trigger_type.rb +0 -0
  281. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/unique_key.rb +0 -0
  282. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/unique_key_policy.rb +0 -0
  283. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/unit_type.rb +0 -0
  284. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/usage.rb +0 -0
  285. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/usages_result.rb +0 -0
  286. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/virtual_network_rule.rb +0 -0
  287. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/module_definition.rb +0 -0
  288. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/mongo_dbresources.rb +0 -0
  289. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/operations.rb +0 -0
  290. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/partition_key_range_id.rb +0 -0
  291. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/partition_key_range_id_region.rb +0 -0
  292. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/percentile.rb +0 -0
  293. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/percentile_source_target.rb +0 -0
  294. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/percentile_target.rb +0 -0
  295. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/sql_resources.rb +0 -0
  296. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/table_resources.rb +0 -0
  297. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb.rb +190 -0
  298. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/cassandra_resources.rb +1628 -0
  299. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/collection.rb +374 -0
  300. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/collection_partition.rb +269 -0
  301. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/collection_partition_region.rb +156 -0
  302. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/collection_region.rb +156 -0
  303. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/cosmos_dbmanagement_client.rb +210 -0
  304. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/database.rb +362 -0
  305. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/database_account_region.rb +148 -0
  306. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/database_accounts.rb +2184 -0
  307. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/gremlin_resources.rb +1623 -0
  308. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/armproxy_resource.rb +73 -0
  309. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/armresource_properties.rb +102 -0
  310. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/auto_upgrade_policy_resource.rb +48 -0
  311. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/capability.rb +48 -0
  312. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/cassandra_keyspace_create_update_parameters.rb +112 -0
  313. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/cassandra_keyspace_get_properties_resource.rb +85 -0
  314. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/cassandra_keyspace_get_results.rb +98 -0
  315. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/cassandra_keyspace_list_result.rb +58 -0
  316. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/cassandra_keyspace_resource.rb +46 -0
  317. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/cassandra_partition_key.rb +46 -0
  318. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/cassandra_schema.rb +95 -0
  319. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/cassandra_table_create_update_parameters.rb +112 -0
  320. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/cassandra_table_get_properties_resource.rb +108 -0
  321. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/cassandra_table_get_results.rb +98 -0
  322. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/cassandra_table_list_result.rb +58 -0
  323. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/cassandra_table_resource.rb +69 -0
  324. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/cluster_key.rb +58 -0
  325. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/column.rb +57 -0
  326. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/composite_path.rb +60 -0
  327. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/composite_path_sort_order.rb +16 -0
  328. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/conflict_resolution_mode.rb +16 -0
  329. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/conflict_resolution_policy.rb +73 -0
  330. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/connector_offer.rb +15 -0
  331. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/consistency_policy.rb +86 -0
  332. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/container_partition_key.rb +85 -0
  333. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/create_update_options.rb +68 -0
  334. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/data_type.rb +20 -0
  335. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/database_account_connection_string.rb +59 -0
  336. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/database_account_create_update_parameters.rb +290 -0
  337. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/database_account_get_results.rb +382 -0
  338. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/database_account_kind.rb +17 -0
  339. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/database_account_list_connection_strings_result.rb +57 -0
  340. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/database_account_list_keys_result.rb +77 -0
  341. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/database_account_list_read_only_keys_result.rb +59 -0
  342. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/database_account_offer_type.rb +15 -0
  343. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/database_account_regenerate_key_parameters.rb +47 -0
  344. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/database_account_update_parameters.rb +241 -0
  345. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/database_accounts_list_result.rb +58 -0
  346. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/default_consistency_level.rb +19 -0
  347. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/error_response.rb +57 -0
  348. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/excluded_path.rb +48 -0
  349. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/extended_resource_properties.rb +74 -0
  350. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/failover_policies.rb +55 -0
  351. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/failover_policy.rb +79 -0
  352. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/gremlin_database_create_update_parameters.rb +112 -0
  353. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/gremlin_database_get_properties_resource.rb +85 -0
  354. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/gremlin_database_get_results.rb +98 -0
  355. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/gremlin_database_list_result.rb +58 -0
  356. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/gremlin_database_resource.rb +46 -0
  357. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/gremlin_graph_create_update_parameters.rb +112 -0
  358. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/gremlin_graph_get_properties_resource.rb +150 -0
  359. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/gremlin_graph_get_results.rb +98 -0
  360. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/gremlin_graph_list_result.rb +58 -0
  361. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/gremlin_graph_resource.rb +111 -0
  362. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/included_path.rb +67 -0
  363. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/index_kind.rb +17 -0
  364. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/indexes.rb +73 -0
  365. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/indexing_mode.rb +17 -0
  366. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/indexing_policy.rb +147 -0
  367. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/key_kind.rb +18 -0
  368. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/location.rb +114 -0
  369. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/metric.rb +120 -0
  370. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/metric_availability.rb +60 -0
  371. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/metric_definition.rb +109 -0
  372. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/metric_definitions_list_result.rb +57 -0
  373. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/metric_list_result.rb +56 -0
  374. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/metric_name.rb +59 -0
  375. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/metric_value.rb +107 -0
  376. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/mongo_dbcollection_create_update_parameters.rb +112 -0
  377. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/mongo_dbcollection_get_properties_resource.rb +125 -0
  378. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/mongo_dbcollection_get_results.rb +98 -0
  379. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/mongo_dbcollection_list_result.rb +58 -0
  380. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/mongo_dbcollection_resource.rb +86 -0
  381. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/mongo_dbdatabase_create_update_parameters.rb +112 -0
  382. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/mongo_dbdatabase_get_properties_resource.rb +85 -0
  383. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/mongo_dbdatabase_get_results.rb +98 -0
  384. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/mongo_dbdatabase_list_result.rb +58 -0
  385. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/mongo_dbdatabase_resource.rb +46 -0
  386. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/mongo_index.rb +60 -0
  387. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/mongo_index_keys.rb +55 -0
  388. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/mongo_index_options.rb +57 -0
  389. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/notebook_workspace.rb +87 -0
  390. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/notebook_workspace_connection_info_result.rb +60 -0
  391. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/notebook_workspace_create_update_parameters.rb +62 -0
  392. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/notebook_workspace_list_result.rb +56 -0
  393. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/operation.rb +58 -0
  394. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/operation_display.rb +80 -0
  395. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/operation_list_result.rb +101 -0
  396. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/partition_kind.rb +16 -0
  397. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/partition_metric.rb +124 -0
  398. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/partition_metric_list_result.rb +57 -0
  399. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/partition_usage.rb +105 -0
  400. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/partition_usages_result.rb +57 -0
  401. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/percentile_metric.rb +120 -0
  402. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/percentile_metric_list_result.rb +57 -0
  403. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/percentile_metric_value.rb +173 -0
  404. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/primary_aggregation_type.rb +20 -0
  405. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/provisioned_throughput_settings_resource.rb +73 -0
  406. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/region_for_online_offline.rb +47 -0
  407. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/spatial_spec.rb +67 -0
  408. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/spatial_type.rb +18 -0
  409. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/sql_container_create_update_parameters.rb +111 -0
  410. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/sql_container_get_properties_resource.rb +150 -0
  411. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/sql_container_get_results.rb +98 -0
  412. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/sql_container_list_result.rb +58 -0
  413. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/sql_container_resource.rb +111 -0
  414. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/sql_database_create_update_parameters.rb +112 -0
  415. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/sql_database_get_properties_resource.rb +109 -0
  416. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/sql_database_get_results.rb +98 -0
  417. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/sql_database_list_result.rb +58 -0
  418. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/sql_database_resource.rb +46 -0
  419. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/sql_stored_procedure_create_update_parameters.rb +112 -0
  420. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/sql_stored_procedure_get_properties_resource.rb +96 -0
  421. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/sql_stored_procedure_get_results.rb +98 -0
  422. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/sql_stored_procedure_list_result.rb +58 -0
  423. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/sql_stored_procedure_resource.rb +57 -0
  424. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/sql_trigger_create_update_parameters.rb +111 -0
  425. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/sql_trigger_get_properties_resource.rb +121 -0
  426. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/sql_trigger_get_results.rb +98 -0
  427. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/sql_trigger_list_result.rb +58 -0
  428. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/sql_trigger_resource.rb +82 -0
  429. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/sql_user_defined_function_create_update_parameters.rb +113 -0
  430. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/sql_user_defined_function_get_properties_resource.rb +97 -0
  431. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/sql_user_defined_function_get_results.rb +98 -0
  432. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/sql_user_defined_function_list_result.rb +58 -0
  433. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/sql_user_defined_function_resource.rb +57 -0
  434. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/table_create_update_parameters.rb +111 -0
  435. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/table_get_properties_resource.rb +85 -0
  436. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/table_get_results.rb +98 -0
  437. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/table_list_result.rb +57 -0
  438. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/table_resource.rb +46 -0
  439. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/throughput_policy_resource.rb +59 -0
  440. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/throughput_settings_get_properties_resource.rb +125 -0
  441. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/throughput_settings_get_results.rb +98 -0
  442. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/throughput_settings_resource.rb +87 -0
  443. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/throughput_settings_update_parameters.rb +99 -0
  444. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/trigger_operation.rb +19 -0
  445. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/trigger_type.rb +16 -0
  446. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/unique_key.rb +56 -0
  447. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/unique_key_policy.rb +58 -0
  448. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/unit_type.rb +21 -0
  449. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/usage.rb +97 -0
  450. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/usages_result.rb +57 -0
  451. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/virtual_network_rule.rb +59 -0
  452. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/module_definition.rb +9 -0
  453. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/mongo_dbresources.rb +1634 -0
  454. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/notebook_workspaces.rb +905 -0
  455. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/operations.rb +219 -0
  456. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/partition_key_range_id.rb +156 -0
  457. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/partition_key_range_id_region.rb +163 -0
  458. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/percentile.rb +141 -0
  459. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/percentile_source_target.rb +158 -0
  460. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/percentile_target.rb +148 -0
  461. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/sql_resources.rb +3289 -0
  462. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/table_resources.rb +804 -0
  463. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb.rb +208 -0
  464. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/cassandra_resources.rb +1700 -0
  465. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/collection.rb +389 -0
  466. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/collection_partition.rb +279 -0
  467. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/collection_partition_region.rb +161 -0
  468. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/collection_region.rb +161 -0
  469. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/cosmos_dbmanagement_client.rb +203 -0
  470. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/database.rb +377 -0
  471. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/database_account_region.rb +153 -0
  472. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/database_accounts.rb +2281 -0
  473. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/gremlin_resources.rb +1695 -0
  474. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/armproxy_resource.rb +73 -0
  475. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/armresource_properties.rb +102 -0
  476. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/auto_upgrade_policy_resource.rb +48 -0
  477. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/azure_entity_resource.rb +75 -0
  478. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/capability.rb +48 -0
  479. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/cassandra_keyspace_create_update_parameters.rb +112 -0
  480. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/cassandra_keyspace_get_properties_options.rb +44 -0
  481. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/cassandra_keyspace_get_properties_resource.rb +85 -0
  482. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/cassandra_keyspace_get_results.rb +110 -0
  483. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/cassandra_keyspace_list_result.rb +58 -0
  484. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/cassandra_keyspace_resource.rb +46 -0
  485. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/cassandra_partition_key.rb +46 -0
  486. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/cassandra_schema.rb +95 -0
  487. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/cassandra_table_create_update_parameters.rb +112 -0
  488. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/cassandra_table_get_properties_options.rb +44 -0
  489. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/cassandra_table_get_properties_resource.rb +108 -0
  490. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/cassandra_table_get_results.rb +110 -0
  491. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/cassandra_table_list_result.rb +58 -0
  492. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/cassandra_table_resource.rb +69 -0
  493. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/cluster_key.rb +58 -0
  494. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/column.rb +57 -0
  495. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/composite_path.rb +60 -0
  496. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/composite_path_sort_order.rb +16 -0
  497. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/conflict_resolution_mode.rb +16 -0
  498. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/conflict_resolution_policy.rb +73 -0
  499. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/connector_offer.rb +15 -0
  500. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/consistency_policy.rb +86 -0
  501. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/container_partition_key.rb +85 -0
  502. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/create_update_options.rb +68 -0
  503. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/data_type.rb +20 -0
  504. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/database_account_connection_string.rb +59 -0
  505. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/database_account_create_update_parameters.rb +302 -0
  506. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/database_account_get_results.rb +416 -0
  507. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/database_account_kind.rb +17 -0
  508. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/database_account_list_connection_strings_result.rb +57 -0
  509. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/database_account_list_keys_result.rb +77 -0
  510. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/database_account_list_read_only_keys_result.rb +59 -0
  511. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/database_account_offer_type.rb +15 -0
  512. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/database_account_regenerate_key_parameters.rb +47 -0
  513. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/database_account_update_parameters.rb +253 -0
  514. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/database_accounts_list_result.rb +58 -0
  515. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/default_consistency_level.rb +19 -0
  516. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/error_response.rb +57 -0
  517. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/excluded_path.rb +48 -0
  518. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/extended_resource_properties.rb +74 -0
  519. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/failover_policies.rb +55 -0
  520. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/failover_policy.rb +79 -0
  521. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/gremlin_database_create_update_parameters.rb +112 -0
  522. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/gremlin_database_get_properties_options.rb +44 -0
  523. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/gremlin_database_get_properties_resource.rb +85 -0
  524. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/gremlin_database_get_results.rb +110 -0
  525. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/gremlin_database_list_result.rb +58 -0
  526. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/gremlin_database_resource.rb +46 -0
  527. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/gremlin_graph_create_update_parameters.rb +112 -0
  528. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/gremlin_graph_get_properties_options.rb +44 -0
  529. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/gremlin_graph_get_properties_resource.rb +150 -0
  530. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/gremlin_graph_get_results.rb +110 -0
  531. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/gremlin_graph_list_result.rb +58 -0
  532. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/gremlin_graph_resource.rb +111 -0
  533. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/included_path.rb +67 -0
  534. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/index_kind.rb +17 -0
  535. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/indexes.rb +73 -0
  536. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/indexing_mode.rb +17 -0
  537. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/indexing_policy.rb +147 -0
  538. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/key_kind.rb +18 -0
  539. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/location.rb +114 -0
  540. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/metric.rb +120 -0
  541. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/metric_availability.rb +60 -0
  542. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/metric_definition.rb +109 -0
  543. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/metric_definitions_list_result.rb +57 -0
  544. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/metric_list_result.rb +56 -0
  545. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/metric_name.rb +59 -0
  546. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/metric_value.rb +107 -0
  547. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/mongo_dbcollection_create_update_parameters.rb +112 -0
  548. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/mongo_dbcollection_get_properties_options.rb +44 -0
  549. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/mongo_dbcollection_get_properties_resource.rb +125 -0
  550. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/mongo_dbcollection_get_results.rb +110 -0
  551. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/mongo_dbcollection_list_result.rb +58 -0
  552. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/mongo_dbcollection_resource.rb +86 -0
  553. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/mongo_dbdatabase_create_update_parameters.rb +112 -0
  554. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/mongo_dbdatabase_get_properties_options.rb +44 -0
  555. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/mongo_dbdatabase_get_properties_resource.rb +85 -0
  556. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/mongo_dbdatabase_get_results.rb +110 -0
  557. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/mongo_dbdatabase_list_result.rb +58 -0
  558. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/mongo_dbdatabase_resource.rb +46 -0
  559. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/mongo_index.rb +60 -0
  560. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/mongo_index_keys.rb +55 -0
  561. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/mongo_index_options.rb +57 -0
  562. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/notebook_workspace.rb +87 -0
  563. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/notebook_workspace_connection_info_result.rb +60 -0
  564. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/notebook_workspace_create_update_parameters.rb +62 -0
  565. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/notebook_workspace_list_result.rb +56 -0
  566. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/operation.rb +58 -0
  567. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/operation_display.rb +80 -0
  568. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/operation_list_result.rb +101 -0
  569. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/options_resource.rb +47 -0
  570. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/partition_kind.rb +16 -0
  571. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/partition_metric.rb +124 -0
  572. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/partition_metric_list_result.rb +57 -0
  573. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/partition_usage.rb +105 -0
  574. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/partition_usages_result.rb +57 -0
  575. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/percentile_metric.rb +120 -0
  576. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/percentile_metric_list_result.rb +57 -0
  577. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/percentile_metric_value.rb +173 -0
  578. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/primary_aggregation_type.rb +20 -0
  579. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/private_endpoint_connection.rb +88 -0
  580. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/private_endpoint_property.rb +46 -0
  581. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/private_link_service_connection_state_property.rb +60 -0
  582. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/provisioned_throughput_settings_resource.rb +73 -0
  583. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/proxy_resource.rb +63 -0
  584. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/public_network_access.rb +16 -0
  585. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/region_for_online_offline.rb +47 -0
  586. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/resource.rb +83 -0
  587. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/spatial_spec.rb +67 -0
  588. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/spatial_type.rb +18 -0
  589. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/sql_container_create_update_parameters.rb +111 -0
  590. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/sql_container_get_properties_options.rb +44 -0
  591. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/sql_container_get_properties_resource.rb +150 -0
  592. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/sql_container_get_results.rb +110 -0
  593. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/sql_container_list_result.rb +58 -0
  594. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/sql_container_resource.rb +111 -0
  595. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/sql_database_create_update_parameters.rb +112 -0
  596. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/sql_database_get_properties_options.rb +44 -0
  597. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/sql_database_get_properties_resource.rb +109 -0
  598. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/sql_database_get_results.rb +110 -0
  599. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/sql_database_list_result.rb +58 -0
  600. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/sql_database_resource.rb +46 -0
  601. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/sql_stored_procedure_create_update_parameters.rb +112 -0
  602. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/sql_stored_procedure_get_properties_resource.rb +96 -0
  603. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/sql_stored_procedure_get_results.rb +98 -0
  604. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/sql_stored_procedure_list_result.rb +58 -0
  605. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/sql_stored_procedure_resource.rb +57 -0
  606. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/sql_trigger_create_update_parameters.rb +111 -0
  607. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/sql_trigger_get_properties_resource.rb +121 -0
  608. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/sql_trigger_get_results.rb +98 -0
  609. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/sql_trigger_list_result.rb +58 -0
  610. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/sql_trigger_resource.rb +82 -0
  611. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/sql_user_defined_function_create_update_parameters.rb +113 -0
  612. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/sql_user_defined_function_get_properties_resource.rb +97 -0
  613. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/sql_user_defined_function_get_results.rb +98 -0
  614. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/sql_user_defined_function_list_result.rb +58 -0
  615. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/sql_user_defined_function_resource.rb +57 -0
  616. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/table_create_update_parameters.rb +111 -0
  617. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/table_get_properties_options.rb +44 -0
  618. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/table_get_properties_resource.rb +85 -0
  619. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/table_get_results.rb +110 -0
  620. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/table_list_result.rb +57 -0
  621. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/table_resource.rb +46 -0
  622. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/throughput_policy_resource.rb +59 -0
  623. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/throughput_settings_get_properties_resource.rb +125 -0
  624. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/throughput_settings_get_results.rb +98 -0
  625. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/throughput_settings_resource.rb +87 -0
  626. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/throughput_settings_update_parameters.rb +99 -0
  627. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/tracked_resource.rb +92 -0
  628. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/trigger_operation.rb +19 -0
  629. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/trigger_type.rb +16 -0
  630. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/unique_key.rb +56 -0
  631. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/unique_key_policy.rb +58 -0
  632. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/unit_type.rb +21 -0
  633. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/usage.rb +97 -0
  634. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/usages_result.rb +57 -0
  635. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/models/virtual_network_rule.rb +59 -0
  636. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/module_definition.rb +9 -0
  637. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/mongo_dbresources.rb +1706 -0
  638. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/notebook_workspaces.rb +906 -0
  639. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/operations.rb +220 -0
  640. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/partition_key_range_id.rb +161 -0
  641. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/partition_key_range_id_region.rb +168 -0
  642. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/percentile.rb +146 -0
  643. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/percentile_source_target.rb +163 -0
  644. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/percentile_target.rb +153 -0
  645. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/sql_resources.rb +3433 -0
  646. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/table_resources.rb +840 -0
  647. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb.rb +213 -0
  648. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/cassandra_resources.rb +2348 -0
  649. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/collection.rb +389 -0
  650. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/collection_partition.rb +279 -0
  651. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/collection_partition_region.rb +161 -0
  652. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/collection_region.rb +161 -0
  653. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/cosmos_dbmanagement_client.rb +203 -0
  654. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/database.rb +377 -0
  655. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/database_account_region.rb +153 -0
  656. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/database_accounts.rb +2281 -0
  657. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/gremlin_resources.rb +2335 -0
  658. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/api_properties.rb +48 -0
  659. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/armproxy_resource.rb +73 -0
  660. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/armresource_properties.rb +102 -0
  661. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/auto_upgrade_policy_resource.rb +48 -0
  662. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/autoscale_settings.rb +48 -0
  663. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/autoscale_settings_resource.rb +73 -0
  664. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/azure_entity_resource.rb +75 -0
  665. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/capability.rb +48 -0
  666. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/cassandra_keyspace_create_update_parameters.rb +112 -0
  667. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/cassandra_keyspace_get_properties_options.rb +53 -0
  668. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/cassandra_keyspace_get_properties_resource.rb +85 -0
  669. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/cassandra_keyspace_get_results.rb +110 -0
  670. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/cassandra_keyspace_list_result.rb +58 -0
  671. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/cassandra_keyspace_resource.rb +46 -0
  672. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/cassandra_partition_key.rb +46 -0
  673. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/cassandra_schema.rb +95 -0
  674. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/cassandra_table_create_update_parameters.rb +112 -0
  675. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/cassandra_table_get_properties_options.rb +53 -0
  676. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/cassandra_table_get_properties_resource.rb +119 -0
  677. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/cassandra_table_get_results.rb +110 -0
  678. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/cassandra_table_list_result.rb +58 -0
  679. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/cassandra_table_resource.rb +80 -0
  680. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/cluster_key.rb +58 -0
  681. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/column.rb +57 -0
  682. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/composite_path.rb +60 -0
  683. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/composite_path_sort_order.rb +16 -0
  684. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/conflict_resolution_mode.rb +16 -0
  685. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/conflict_resolution_policy.rb +73 -0
  686. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/connector_offer.rb +15 -0
  687. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/consistency_policy.rb +86 -0
  688. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/container_partition_key.rb +85 -0
  689. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/cors_policy.rb +99 -0
  690. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/create_update_options.rb +61 -0
  691. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/data_type.rb +20 -0
  692. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/database_account_connection_string.rb +59 -0
  693. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/database_account_create_update_parameters.rb +363 -0
  694. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/database_account_get_results.rb +476 -0
  695. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/database_account_kind.rb +17 -0
  696. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/database_account_list_connection_strings_result.rb +57 -0
  697. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/database_account_list_keys_result.rb +77 -0
  698. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/database_account_list_read_only_keys_result.rb +59 -0
  699. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/database_account_offer_type.rb +15 -0
  700. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/database_account_regenerate_key_parameters.rb +47 -0
  701. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/database_account_update_parameters.rb +314 -0
  702. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/database_accounts_list_result.rb +58 -0
  703. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/default_consistency_level.rb +19 -0
  704. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/error_response.rb +57 -0
  705. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/excluded_path.rb +48 -0
  706. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/extended_resource_properties.rb +74 -0
  707. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/failover_policies.rb +55 -0
  708. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/failover_policy.rb +79 -0
  709. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/gremlin_database_create_update_parameters.rb +112 -0
  710. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/gremlin_database_get_properties_options.rb +53 -0
  711. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/gremlin_database_get_properties_resource.rb +85 -0
  712. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/gremlin_database_get_results.rb +110 -0
  713. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/gremlin_database_list_result.rb +58 -0
  714. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/gremlin_database_resource.rb +46 -0
  715. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/gremlin_graph_create_update_parameters.rb +112 -0
  716. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/gremlin_graph_get_properties_options.rb +53 -0
  717. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/gremlin_graph_get_properties_resource.rb +150 -0
  718. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/gremlin_graph_get_results.rb +110 -0
  719. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/gremlin_graph_list_result.rb +58 -0
  720. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/gremlin_graph_resource.rb +111 -0
  721. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/included_path.rb +67 -0
  722. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/index_kind.rb +17 -0
  723. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/indexes.rb +73 -0
  724. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/indexing_mode.rb +17 -0
  725. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/indexing_policy.rb +147 -0
  726. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/ip_address_or_range.rb +51 -0
  727. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/key_kind.rb +18 -0
  728. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/location.rb +114 -0
  729. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/metric.rb +120 -0
  730. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/metric_availability.rb +60 -0
  731. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/metric_definition.rb +109 -0
  732. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/metric_definitions_list_result.rb +57 -0
  733. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/metric_list_result.rb +56 -0
  734. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/metric_name.rb +59 -0
  735. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/metric_value.rb +107 -0
  736. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/mongo_dbcollection_create_update_parameters.rb +112 -0
  737. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/mongo_dbcollection_get_properties_options.rb +53 -0
  738. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/mongo_dbcollection_get_properties_resource.rb +136 -0
  739. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/mongo_dbcollection_get_results.rb +110 -0
  740. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/mongo_dbcollection_list_result.rb +58 -0
  741. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/mongo_dbcollection_resource.rb +97 -0
  742. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/mongo_dbdatabase_create_update_parameters.rb +112 -0
  743. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/mongo_dbdatabase_get_properties_options.rb +53 -0
  744. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/mongo_dbdatabase_get_properties_resource.rb +85 -0
  745. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/mongo_dbdatabase_get_results.rb +110 -0
  746. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/mongo_dbdatabase_list_result.rb +58 -0
  747. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/mongo_dbdatabase_resource.rb +46 -0
  748. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/mongo_index.rb +60 -0
  749. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/mongo_index_keys.rb +55 -0
  750. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/mongo_index_options.rb +57 -0
  751. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/notebook_workspace.rb +87 -0
  752. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/notebook_workspace_connection_info_result.rb +60 -0
  753. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/notebook_workspace_create_update_parameters.rb +62 -0
  754. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/notebook_workspace_list_result.rb +56 -0
  755. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/operation.rb +58 -0
  756. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/operation_display.rb +80 -0
  757. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/operation_list_result.rb +101 -0
  758. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/options_resource.rb +60 -0
  759. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/partition_kind.rb +16 -0
  760. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/partition_metric.rb +124 -0
  761. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/partition_metric_list_result.rb +57 -0
  762. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/partition_usage.rb +105 -0
  763. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/partition_usages_result.rb +57 -0
  764. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/percentile_metric.rb +120 -0
  765. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/percentile_metric_list_result.rb +57 -0
  766. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/percentile_metric_value.rb +173 -0
  767. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/primary_aggregation_type.rb +20 -0
  768. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/private_endpoint_connection.rb +88 -0
  769. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/private_endpoint_property.rb +46 -0
  770. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/private_link_service_connection_state_property.rb +60 -0
  771. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/proxy_resource.rb +63 -0
  772. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/public_network_access.rb +16 -0
  773. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/region_for_online_offline.rb +47 -0
  774. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/resource.rb +83 -0
  775. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/server_version.rb +16 -0
  776. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/spatial_spec.rb +67 -0
  777. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/spatial_type.rb +18 -0
  778. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/sql_container_create_update_parameters.rb +111 -0
  779. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/sql_container_get_properties_options.rb +53 -0
  780. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/sql_container_get_properties_resource.rb +161 -0
  781. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/sql_container_get_results.rb +110 -0
  782. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/sql_container_list_result.rb +58 -0
  783. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/sql_container_resource.rb +122 -0
  784. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/sql_database_create_update_parameters.rb +112 -0
  785. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/sql_database_get_properties_options.rb +53 -0
  786. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/sql_database_get_properties_resource.rb +109 -0
  787. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/sql_database_get_results.rb +110 -0
  788. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/sql_database_list_result.rb +58 -0
  789. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/sql_database_resource.rb +46 -0
  790. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/sql_stored_procedure_create_update_parameters.rb +112 -0
  791. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/sql_stored_procedure_get_properties_resource.rb +96 -0
  792. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/sql_stored_procedure_get_results.rb +98 -0
  793. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/sql_stored_procedure_list_result.rb +58 -0
  794. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/sql_stored_procedure_resource.rb +57 -0
  795. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/sql_trigger_create_update_parameters.rb +111 -0
  796. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/sql_trigger_get_properties_resource.rb +121 -0
  797. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/sql_trigger_get_results.rb +98 -0
  798. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/sql_trigger_list_result.rb +58 -0
  799. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/sql_trigger_resource.rb +82 -0
  800. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/sql_user_defined_function_create_update_parameters.rb +113 -0
  801. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/sql_user_defined_function_get_properties_resource.rb +97 -0
  802. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/sql_user_defined_function_get_results.rb +98 -0
  803. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/sql_user_defined_function_list_result.rb +58 -0
  804. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/sql_user_defined_function_resource.rb +57 -0
  805. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/table_create_update_parameters.rb +111 -0
  806. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/table_get_properties_options.rb +53 -0
  807. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/table_get_properties_resource.rb +85 -0
  808. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/table_get_results.rb +110 -0
  809. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/table_list_result.rb +57 -0
  810. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/table_resource.rb +46 -0
  811. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/throughput_policy_resource.rb +59 -0
  812. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/throughput_settings_get_properties_resource.rb +124 -0
  813. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/throughput_settings_get_results.rb +98 -0
  814. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/throughput_settings_resource.rb +86 -0
  815. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/throughput_settings_update_parameters.rb +99 -0
  816. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/tracked_resource.rb +92 -0
  817. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/trigger_operation.rb +19 -0
  818. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/trigger_type.rb +16 -0
  819. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/unique_key.rb +56 -0
  820. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/unique_key_policy.rb +58 -0
  821. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/unit_type.rb +21 -0
  822. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/usage.rb +97 -0
  823. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/usages_result.rb +57 -0
  824. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/virtual_network_rule.rb +59 -0
  825. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/module_definition.rb +9 -0
  826. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/mongo_dbresources.rb +2354 -0
  827. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/notebook_workspaces.rb +905 -0
  828. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/operations.rb +220 -0
  829. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/partition_key_range_id.rb +161 -0
  830. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/partition_key_range_id_region.rb +168 -0
  831. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/percentile.rb +146 -0
  832. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/percentile_source_target.rb +163 -0
  833. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/percentile_target.rb +153 -0
  834. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/sql_resources.rb +4065 -0
  835. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/table_resources.rb +1150 -0
  836. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb.rb +267 -0
  837. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/cassandra_resources.rb +1700 -0
  838. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/collection.rb +389 -0
  839. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/collection_partition.rb +279 -0
  840. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/collection_partition_region.rb +161 -0
  841. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/collection_region.rb +161 -0
  842. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/cosmos_dbmanagement_client.rb +231 -0
  843. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/database.rb +377 -0
  844. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/database_account_region.rb +153 -0
  845. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/database_accounts.rb +2281 -0
  846. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/gremlin_resources.rb +1695 -0
  847. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/api_properties.rb +48 -0
  848. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/api_type.rb +20 -0
  849. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/armproxy_resource.rb +73 -0
  850. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/armresource_properties.rb +114 -0
  851. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/auto_upgrade_policy_resource.rb +48 -0
  852. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/autoscale_settings.rb +48 -0
  853. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/autoscale_settings_resource.rb +73 -0
  854. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/azure_entity_resource.rb +77 -0
  855. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/backup_policy.rb +47 -0
  856. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/backup_storage_redundancy.rb +17 -0
  857. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/capability.rb +48 -0
  858. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/cassandra_keyspace_create_update_parameters.rb +121 -0
  859. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/cassandra_keyspace_get_properties_options.rb +53 -0
  860. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/cassandra_keyspace_get_properties_resource.rb +85 -0
  861. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/cassandra_keyspace_get_results.rb +119 -0
  862. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/cassandra_keyspace_list_result.rb +58 -0
  863. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/cassandra_keyspace_resource.rb +46 -0
  864. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/cassandra_partition_key.rb +46 -0
  865. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/cassandra_schema.rb +95 -0
  866. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/cassandra_table_create_update_parameters.rb +121 -0
  867. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/cassandra_table_get_properties_options.rb +53 -0
  868. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/cassandra_table_get_properties_resource.rb +119 -0
  869. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/cassandra_table_get_results.rb +119 -0
  870. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/cassandra_table_list_result.rb +58 -0
  871. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/cassandra_table_resource.rb +80 -0
  872. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/cluster_key.rb +58 -0
  873. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/column.rb +57 -0
  874. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/composite_path.rb +60 -0
  875. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/composite_path_sort_order.rb +16 -0
  876. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/conflict_resolution_mode.rb +16 -0
  877. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/conflict_resolution_policy.rb +73 -0
  878. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/connector_offer.rb +15 -0
  879. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/consistency_policy.rb +86 -0
  880. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/container_partition_key.rb +85 -0
  881. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/continuous_mode_backup_policy.rb +50 -0
  882. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/cors_policy.rb +99 -0
  883. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/create_mode.rb +16 -0
  884. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/create_update_options.rb +61 -0
  885. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/created_by_type.rb +18 -0
  886. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/data_type.rb +20 -0
  887. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/database_account_connection_string.rb +59 -0
  888. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/database_account_create_update_parameters.rb +125 -0
  889. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/database_account_create_update_properties.rb +324 -0
  890. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/database_account_get_results.rb +552 -0
  891. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/database_account_kind.rb +17 -0
  892. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/database_account_list_connection_strings_result.rb +57 -0
  893. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/database_account_list_keys_result.rb +77 -0
  894. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/database_account_list_read_only_keys_result.rb +59 -0
  895. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/database_account_offer_type.rb +15 -0
  896. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/database_account_regenerate_key_parameters.rb +47 -0
  897. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/database_account_update_parameters.rb +341 -0
  898. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/database_accounts_list_result.rb +58 -0
  899. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/database_restore_resource.rb +66 -0
  900. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/default_consistency_level.rb +19 -0
  901. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/default_error_response.rb +47 -0
  902. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/default_request_database_account_create_update_properties.rb +255 -0
  903. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/error_response.rb +57 -0
  904. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/excluded_path.rb +48 -0
  905. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/extended_resource_properties.rb +74 -0
  906. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/failover_policies.rb +55 -0
  907. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/failover_policy.rb +79 -0
  908. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/gremlin_database_create_update_parameters.rb +121 -0
  909. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/gremlin_database_get_properties_options.rb +53 -0
  910. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/gremlin_database_get_properties_resource.rb +85 -0
  911. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/gremlin_database_get_results.rb +119 -0
  912. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/gremlin_database_list_result.rb +58 -0
  913. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/gremlin_database_resource.rb +46 -0
  914. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/gremlin_graph_create_update_parameters.rb +121 -0
  915. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/gremlin_graph_get_properties_options.rb +53 -0
  916. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/gremlin_graph_get_properties_resource.rb +150 -0
  917. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/gremlin_graph_get_results.rb +119 -0
  918. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/gremlin_graph_list_result.rb +58 -0
  919. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/gremlin_graph_resource.rb +111 -0
  920. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/included_path.rb +67 -0
  921. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/index_kind.rb +17 -0
  922. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/indexes.rb +73 -0
  923. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/indexing_mode.rb +17 -0
  924. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/indexing_policy.rb +147 -0
  925. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/ip_address_or_range.rb +51 -0
  926. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/key_kind.rb +18 -0
  927. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/location.rb +114 -0
  928. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/managed_service_identity.rb +102 -0
  929. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/managed_service_identity_user_assigned_identities_value.rb +61 -0
  930. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/metric.rb +120 -0
  931. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/metric_availability.rb +60 -0
  932. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/metric_definition.rb +109 -0
  933. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/metric_definitions_list_result.rb +57 -0
  934. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/metric_list_result.rb +56 -0
  935. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/metric_name.rb +59 -0
  936. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/metric_value.rb +107 -0
  937. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/mongo_dbcollection_create_update_parameters.rb +121 -0
  938. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/mongo_dbcollection_get_properties_options.rb +53 -0
  939. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/mongo_dbcollection_get_properties_resource.rb +136 -0
  940. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/mongo_dbcollection_get_results.rb +119 -0
  941. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/mongo_dbcollection_list_result.rb +58 -0
  942. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/mongo_dbcollection_resource.rb +97 -0
  943. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/mongo_dbdatabase_create_update_parameters.rb +121 -0
  944. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/mongo_dbdatabase_get_properties_options.rb +53 -0
  945. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/mongo_dbdatabase_get_properties_resource.rb +85 -0
  946. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/mongo_dbdatabase_get_results.rb +119 -0
  947. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/mongo_dbdatabase_list_result.rb +58 -0
  948. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/mongo_dbdatabase_resource.rb +46 -0
  949. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/mongo_index.rb +60 -0
  950. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/mongo_index_keys.rb +55 -0
  951. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/mongo_index_options.rb +57 -0
  952. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/notebook_workspace.rb +87 -0
  953. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/notebook_workspace_connection_info_result.rb +60 -0
  954. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/notebook_workspace_create_update_parameters.rb +62 -0
  955. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/notebook_workspace_list_result.rb +56 -0
  956. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/operation.rb +58 -0
  957. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/operation_display.rb +80 -0
  958. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/operation_list_result.rb +101 -0
  959. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/operation_type.rb +18 -0
  960. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/options_resource.rb +60 -0
  961. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/partition_kind.rb +16 -0
  962. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/partition_metric.rb +124 -0
  963. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/partition_metric_list_result.rb +57 -0
  964. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/partition_usage.rb +105 -0
  965. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/partition_usages_result.rb +57 -0
  966. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/percentile_metric.rb +120 -0
  967. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/percentile_metric_list_result.rb +57 -0
  968. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/percentile_metric_value.rb +173 -0
  969. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/periodic_mode_backup_policy.rb +63 -0
  970. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/periodic_mode_properties.rb +77 -0
  971. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/permission.rb +73 -0
  972. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/primary_aggregation_type.rb +20 -0
  973. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/private_endpoint_connection.rb +88 -0
  974. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/private_endpoint_property.rb +46 -0
  975. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/private_link_service_connection_state_property.rb +60 -0
  976. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/proxy_resource.rb +65 -0
  977. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/public_network_access.rb +16 -0
  978. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/region_for_online_offline.rb +47 -0
  979. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/resource.rb +86 -0
  980. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/resource_identity_type.rb +18 -0
  981. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/restorable_database_account_get_result.rb +166 -0
  982. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/restorable_database_accounts_list_result.rb +58 -0
  983. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/restorable_location_resource.rb +85 -0
  984. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/restorable_mongodb_collection_get_result.rb +107 -0
  985. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/restorable_mongodb_collection_properties_resource.rb +99 -0
  986. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/restorable_mongodb_collections_list_result.rb +58 -0
  987. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/restorable_mongodb_database_get_result.rb +107 -0
  988. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/restorable_mongodb_database_properties_resource.rb +99 -0
  989. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/restorable_mongodb_databases_list_result.rb +58 -0
  990. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/restorable_mongodb_resources_list_result.rb +58 -0
  991. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/restorable_sql_container_get_result.rb +107 -0
  992. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/restorable_sql_container_properties_resource.rb +110 -0
  993. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/restorable_sql_container_properties_resource_container.rb +164 -0
  994. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/restorable_sql_containers_list_result.rb +58 -0
  995. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/restorable_sql_database_get_result.rb +107 -0
  996. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/restorable_sql_database_properties_resource.rb +110 -0
  997. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/restorable_sql_database_properties_resource_database.rb +125 -0
  998. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/restorable_sql_databases_list_result.rb +58 -0
  999. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/restorable_sql_resources_list_result.rb +57 -0
  1000. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/restore_mode.rb +15 -0
  1001. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/restore_parameters.rb +93 -0
  1002. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/restore_reqeust_database_account_create_update_properties.rb +268 -0
  1003. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/role_definition_type.rb +16 -0
  1004. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/server_version.rb +16 -0
  1005. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/spatial_spec.rb +67 -0
  1006. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/spatial_type.rb +18 -0
  1007. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/sql_container_create_update_parameters.rb +120 -0
  1008. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/sql_container_get_properties_options.rb +53 -0
  1009. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/sql_container_get_properties_resource.rb +150 -0
  1010. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/sql_container_get_results.rb +119 -0
  1011. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/sql_container_list_result.rb +58 -0
  1012. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/sql_container_resource.rb +111 -0
  1013. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/sql_database_create_update_parameters.rb +121 -0
  1014. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/sql_database_get_properties_options.rb +53 -0
  1015. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/sql_database_get_properties_resource.rb +109 -0
  1016. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/sql_database_get_results.rb +119 -0
  1017. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/sql_database_list_result.rb +58 -0
  1018. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/sql_database_resource.rb +46 -0
  1019. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/sql_role_assignment_create_update_parameters.rb +73 -0
  1020. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/sql_role_assignment_get_results.rb +100 -0
  1021. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/sql_role_assignment_list_result.rb +57 -0
  1022. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/sql_role_definition_create_update_parameters.rb +107 -0
  1023. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/sql_role_definition_get_results.rb +134 -0
  1024. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/sql_role_definition_list_result.rb +57 -0
  1025. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/sql_stored_procedure_create_update_parameters.rb +121 -0
  1026. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/sql_stored_procedure_get_properties_resource.rb +96 -0
  1027. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/sql_stored_procedure_get_results.rb +107 -0
  1028. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/sql_stored_procedure_list_result.rb +58 -0
  1029. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/sql_stored_procedure_resource.rb +57 -0
  1030. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/sql_trigger_create_update_parameters.rb +120 -0
  1031. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/sql_trigger_get_properties_resource.rb +121 -0
  1032. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/sql_trigger_get_results.rb +107 -0
  1033. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/sql_trigger_list_result.rb +58 -0
  1034. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/sql_trigger_resource.rb +82 -0
  1035. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/sql_user_defined_function_create_update_parameters.rb +122 -0
  1036. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/sql_user_defined_function_get_properties_resource.rb +97 -0
  1037. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/sql_user_defined_function_get_results.rb +107 -0
  1038. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/sql_user_defined_function_list_result.rb +58 -0
  1039. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/sql_user_defined_function_resource.rb +57 -0
  1040. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/system_data.rb +106 -0
  1041. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/table_create_update_parameters.rb +120 -0
  1042. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/table_get_properties_options.rb +53 -0
  1043. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/table_get_properties_resource.rb +85 -0
  1044. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/table_get_results.rb +119 -0
  1045. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/table_list_result.rb +57 -0
  1046. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/table_resource.rb +46 -0
  1047. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/throughput_policy_resource.rb +59 -0
  1048. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/throughput_settings_get_properties_resource.rb +124 -0
  1049. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/throughput_settings_get_results.rb +107 -0
  1050. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/throughput_settings_resource.rb +86 -0
  1051. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/throughput_settings_update_parameters.rb +108 -0
  1052. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/tracked_resource.rb +95 -0
  1053. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/trigger_operation.rb +19 -0
  1054. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/trigger_type.rb +16 -0
  1055. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/unique_key.rb +56 -0
  1056. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/unique_key_policy.rb +58 -0
  1057. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/unit_type.rb +21 -0
  1058. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/usage.rb +97 -0
  1059. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/usages_result.rb +57 -0
  1060. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/virtual_network_rule.rb +59 -0
  1061. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/module_definition.rb +9 -0
  1062. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/mongo_dbresources.rb +1706 -0
  1063. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/notebook_workspaces.rb +905 -0
  1064. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/operations.rb +220 -0
  1065. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/partition_key_range_id.rb +161 -0
  1066. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/partition_key_range_id_region.rb +168 -0
  1067. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/percentile.rb +146 -0
  1068. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/percentile_source_target.rb +163 -0
  1069. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/percentile_target.rb +153 -0
  1070. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/restorable_database_accounts.rb +319 -0
  1071. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/restorable_mongodb_collections.rb +136 -0
  1072. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/restorable_mongodb_databases.rb +130 -0
  1073. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/restorable_mongodb_resources.rb +142 -0
  1074. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/restorable_sql_containers.rb +136 -0
  1075. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/restorable_sql_databases.rb +130 -0
  1076. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/restorable_sql_resources.rb +142 -0
  1077. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/sql_resources.rb +4503 -0
  1078. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/table_resources.rb +840 -0
  1079. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb.rb +219 -0
  1080. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/cassandra_resources.rb +2348 -0
  1081. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/collection.rb +389 -0
  1082. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/collection_partition.rb +279 -0
  1083. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/collection_partition_region.rb +161 -0
  1084. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/collection_region.rb +161 -0
  1085. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/cosmos_dbmanagement_client.rb +203 -0
  1086. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/database.rb +377 -0
  1087. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/database_account_region.rb +153 -0
  1088. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/database_accounts.rb +2281 -0
  1089. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/gremlin_resources.rb +2335 -0
  1090. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/api_properties.rb +48 -0
  1091. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/armproxy_resource.rb +73 -0
  1092. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/armresource_properties.rb +102 -0
  1093. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/auto_upgrade_policy_resource.rb +48 -0
  1094. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/autoscale_settings.rb +48 -0
  1095. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/autoscale_settings_resource.rb +73 -0
  1096. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/azure_entity_resource.rb +77 -0
  1097. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/backup_policy.rb +47 -0
  1098. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/backup_policy_type.rb +16 -0
  1099. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/capability.rb +48 -0
  1100. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/cassandra_keyspace_create_update_parameters.rb +112 -0
  1101. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/cassandra_keyspace_get_properties_options.rb +53 -0
  1102. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/cassandra_keyspace_get_properties_resource.rb +85 -0
  1103. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/cassandra_keyspace_get_results.rb +110 -0
  1104. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/cassandra_keyspace_list_result.rb +58 -0
  1105. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/cassandra_keyspace_resource.rb +46 -0
  1106. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/cassandra_partition_key.rb +46 -0
  1107. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/cassandra_schema.rb +95 -0
  1108. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/cassandra_table_create_update_parameters.rb +112 -0
  1109. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/cassandra_table_get_properties_options.rb +53 -0
  1110. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/cassandra_table_get_properties_resource.rb +119 -0
  1111. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/cassandra_table_get_results.rb +110 -0
  1112. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/cassandra_table_list_result.rb +58 -0
  1113. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/cassandra_table_resource.rb +80 -0
  1114. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/cluster_key.rb +58 -0
  1115. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/column.rb +57 -0
  1116. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/composite_path.rb +60 -0
  1117. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/composite_path_sort_order.rb +16 -0
  1118. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/conflict_resolution_mode.rb +16 -0
  1119. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/conflict_resolution_policy.rb +73 -0
  1120. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/connector_offer.rb +15 -0
  1121. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/consistency_policy.rb +86 -0
  1122. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/container_partition_key.rb +85 -0
  1123. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/continuous_mode_backup_policy.rb +50 -0
  1124. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/cors_policy.rb +99 -0
  1125. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/create_update_options.rb +61 -0
  1126. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/data_type.rb +20 -0
  1127. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/database_account_connection_string.rb +59 -0
  1128. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/database_account_create_update_parameters.rb +378 -0
  1129. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/database_account_get_results.rb +491 -0
  1130. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/database_account_kind.rb +17 -0
  1131. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/database_account_list_connection_strings_result.rb +57 -0
  1132. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/database_account_list_keys_result.rb +77 -0
  1133. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/database_account_list_read_only_keys_result.rb +59 -0
  1134. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/database_account_offer_type.rb +15 -0
  1135. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/database_account_regenerate_key_parameters.rb +47 -0
  1136. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/database_account_update_parameters.rb +329 -0
  1137. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/database_accounts_list_result.rb +58 -0
  1138. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/default_consistency_level.rb +19 -0
  1139. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/error_response.rb +57 -0
  1140. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/error_response_updated_format.rb +47 -0
  1141. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/excluded_path.rb +48 -0
  1142. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/extended_resource_properties.rb +74 -0
  1143. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/failover_policies.rb +55 -0
  1144. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/failover_policy.rb +79 -0
  1145. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/gremlin_database_create_update_parameters.rb +112 -0
  1146. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/gremlin_database_get_properties_options.rb +53 -0
  1147. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/gremlin_database_get_properties_resource.rb +85 -0
  1148. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/gremlin_database_get_results.rb +110 -0
  1149. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/gremlin_database_list_result.rb +58 -0
  1150. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/gremlin_database_resource.rb +46 -0
  1151. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/gremlin_graph_create_update_parameters.rb +112 -0
  1152. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/gremlin_graph_get_properties_options.rb +53 -0
  1153. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/gremlin_graph_get_properties_resource.rb +150 -0
  1154. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/gremlin_graph_get_results.rb +110 -0
  1155. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/gremlin_graph_list_result.rb +58 -0
  1156. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/gremlin_graph_resource.rb +111 -0
  1157. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/included_path.rb +67 -0
  1158. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/index_kind.rb +17 -0
  1159. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/indexes.rb +73 -0
  1160. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/indexing_mode.rb +17 -0
  1161. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/indexing_policy.rb +147 -0
  1162. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/ip_address_or_range.rb +51 -0
  1163. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/key_kind.rb +18 -0
  1164. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/location.rb +114 -0
  1165. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/metric.rb +120 -0
  1166. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/metric_availability.rb +60 -0
  1167. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/metric_definition.rb +109 -0
  1168. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/metric_definitions_list_result.rb +57 -0
  1169. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/metric_list_result.rb +56 -0
  1170. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/metric_name.rb +59 -0
  1171. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/metric_value.rb +107 -0
  1172. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/mongo_dbcollection_create_update_parameters.rb +112 -0
  1173. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/mongo_dbcollection_get_properties_options.rb +53 -0
  1174. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/mongo_dbcollection_get_properties_resource.rb +136 -0
  1175. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/mongo_dbcollection_get_results.rb +110 -0
  1176. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/mongo_dbcollection_list_result.rb +58 -0
  1177. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/mongo_dbcollection_resource.rb +97 -0
  1178. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/mongo_dbdatabase_create_update_parameters.rb +112 -0
  1179. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/mongo_dbdatabase_get_properties_options.rb +53 -0
  1180. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/mongo_dbdatabase_get_properties_resource.rb +85 -0
  1181. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/mongo_dbdatabase_get_results.rb +110 -0
  1182. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/mongo_dbdatabase_list_result.rb +58 -0
  1183. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/mongo_dbdatabase_resource.rb +46 -0
  1184. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/mongo_index.rb +60 -0
  1185. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/mongo_index_keys.rb +55 -0
  1186. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/mongo_index_options.rb +57 -0
  1187. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/notebook_workspace.rb +87 -0
  1188. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/notebook_workspace_connection_info_result.rb +60 -0
  1189. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/notebook_workspace_create_update_parameters.rb +62 -0
  1190. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/notebook_workspace_list_result.rb +56 -0
  1191. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/operation.rb +58 -0
  1192. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/operation_display.rb +80 -0
  1193. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/operation_list_result.rb +101 -0
  1194. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/options_resource.rb +60 -0
  1195. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/partition_kind.rb +16 -0
  1196. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/partition_metric.rb +124 -0
  1197. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/partition_metric_list_result.rb +57 -0
  1198. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/partition_usage.rb +105 -0
  1199. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/partition_usages_result.rb +57 -0
  1200. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/percentile_metric.rb +120 -0
  1201. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/percentile_metric_list_result.rb +57 -0
  1202. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/percentile_metric_value.rb +173 -0
  1203. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/periodic_mode_backup_policy.rb +63 -0
  1204. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/periodic_mode_properties.rb +65 -0
  1205. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/primary_aggregation_type.rb +20 -0
  1206. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/private_endpoint_connection.rb +88 -0
  1207. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/private_endpoint_property.rb +46 -0
  1208. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/private_link_service_connection_state_property.rb +60 -0
  1209. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/proxy_resource.rb +65 -0
  1210. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/public_network_access.rb +16 -0
  1211. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/region_for_online_offline.rb +47 -0
  1212. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/resource.rb +86 -0
  1213. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/server_version.rb +16 -0
  1214. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/spatial_spec.rb +67 -0
  1215. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/spatial_type.rb +18 -0
  1216. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/sql_container_create_update_parameters.rb +111 -0
  1217. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/sql_container_get_properties_options.rb +53 -0
  1218. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/sql_container_get_properties_resource.rb +161 -0
  1219. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/sql_container_get_results.rb +110 -0
  1220. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/sql_container_list_result.rb +58 -0
  1221. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/sql_container_resource.rb +122 -0
  1222. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/sql_database_create_update_parameters.rb +112 -0
  1223. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/sql_database_get_properties_options.rb +53 -0
  1224. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/sql_database_get_properties_resource.rb +109 -0
  1225. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/sql_database_get_results.rb +110 -0
  1226. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/sql_database_list_result.rb +58 -0
  1227. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/sql_database_resource.rb +46 -0
  1228. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/sql_stored_procedure_create_update_parameters.rb +112 -0
  1229. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/sql_stored_procedure_get_properties_resource.rb +96 -0
  1230. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/sql_stored_procedure_get_results.rb +98 -0
  1231. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/sql_stored_procedure_list_result.rb +58 -0
  1232. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/sql_stored_procedure_resource.rb +57 -0
  1233. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/sql_trigger_create_update_parameters.rb +111 -0
  1234. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/sql_trigger_get_properties_resource.rb +121 -0
  1235. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/sql_trigger_get_results.rb +98 -0
  1236. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/sql_trigger_list_result.rb +58 -0
  1237. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/sql_trigger_resource.rb +82 -0
  1238. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/sql_user_defined_function_create_update_parameters.rb +113 -0
  1239. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/sql_user_defined_function_get_properties_resource.rb +97 -0
  1240. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/sql_user_defined_function_get_results.rb +98 -0
  1241. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/sql_user_defined_function_list_result.rb +58 -0
  1242. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/sql_user_defined_function_resource.rb +57 -0
  1243. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/table_create_update_parameters.rb +111 -0
  1244. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/table_get_properties_options.rb +53 -0
  1245. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/table_get_properties_resource.rb +85 -0
  1246. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/table_get_results.rb +110 -0
  1247. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/table_list_result.rb +57 -0
  1248. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/table_resource.rb +46 -0
  1249. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/throughput_policy_resource.rb +59 -0
  1250. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/throughput_settings_get_properties_resource.rb +124 -0
  1251. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/throughput_settings_get_results.rb +98 -0
  1252. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/throughput_settings_resource.rb +86 -0
  1253. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/throughput_settings_update_parameters.rb +99 -0
  1254. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/tracked_resource.rb +95 -0
  1255. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/trigger_operation.rb +19 -0
  1256. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/trigger_type.rb +16 -0
  1257. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/unique_key.rb +56 -0
  1258. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/unique_key_policy.rb +58 -0
  1259. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/unit_type.rb +21 -0
  1260. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/usage.rb +97 -0
  1261. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/usages_result.rb +57 -0
  1262. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/virtual_network_rule.rb +59 -0
  1263. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/module_definition.rb +9 -0
  1264. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/mongo_dbresources.rb +2354 -0
  1265. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/notebook_workspaces.rb +905 -0
  1266. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/operations.rb +220 -0
  1267. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/partition_key_range_id.rb +161 -0
  1268. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/partition_key_range_id_region.rb +168 -0
  1269. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/percentile.rb +146 -0
  1270. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/percentile_source_target.rb +163 -0
  1271. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/percentile_target.rb +153 -0
  1272. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/sql_resources.rb +4065 -0
  1273. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/table_resources.rb +1150 -0
  1274. data/lib/azure_mgmt_cosmosdb.rb +13 -8
  1275. data/lib/module_definition.rb +7 -7
  1276. data/lib/profiles/latest/cosmosdb_latest_profile_client.rb +40 -40
  1277. data/lib/profiles/latest/cosmosdb_module_definition.rb +8 -8
  1278. data/lib/profiles/latest/modules/cosmosdb_profile_module.rb +479 -357
  1279. data/lib/version.rb +1 -1
  1280. metadata +982 -5
@@ -0,0 +1,905 @@
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::Cosmosdb::Mgmt::V2019_12_12
7
+ #
8
+ # Azure Cosmos DB Database Service Resource Provider REST API
9
+ #
10
+ class NotebookWorkspaces
11
+ include MsRestAzure
12
+
13
+ #
14
+ # Creates and initializes a new instance of the NotebookWorkspaces class.
15
+ # @param client service class for accessing basic functionality.
16
+ #
17
+ def initialize(client)
18
+ @client = client
19
+ end
20
+
21
+ # @return [CosmosDBManagementClient] reference to the CosmosDBManagementClient
22
+ attr_reader :client
23
+
24
+ #
25
+ # Gets the notebook workspace resources of an existing Cosmos DB account.
26
+ #
27
+ # @param resource_group_name [String] The name of the resource group. The name
28
+ # is case insensitive.
29
+ # @param account_name [String] Cosmos DB database account name.
30
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
31
+ # will be added to the HTTP request.
32
+ #
33
+ # @return [NotebookWorkspaceListResult] operation results.
34
+ #
35
+ def list_by_database_account(resource_group_name, account_name, custom_headers:nil)
36
+ response = list_by_database_account_async(resource_group_name, account_name, custom_headers:custom_headers).value!
37
+ response.body unless response.nil?
38
+ end
39
+
40
+ #
41
+ # Gets the notebook workspace resources of an existing Cosmos DB account.
42
+ #
43
+ # @param resource_group_name [String] The name of the resource group. The name
44
+ # is case insensitive.
45
+ # @param account_name [String] Cosmos DB database account name.
46
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
47
+ # will be added to the HTTP request.
48
+ #
49
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
50
+ #
51
+ def list_by_database_account_with_http_info(resource_group_name, account_name, custom_headers:nil)
52
+ list_by_database_account_async(resource_group_name, account_name, custom_headers:custom_headers).value!
53
+ end
54
+
55
+ #
56
+ # Gets the notebook workspace resources of an existing Cosmos DB account.
57
+ #
58
+ # @param resource_group_name [String] The name of the resource group. The name
59
+ # is case insensitive.
60
+ # @param account_name [String] Cosmos DB database account name.
61
+ # @param [Hash{String => String}] A hash of custom headers that will be added
62
+ # to the HTTP request.
63
+ #
64
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
65
+ #
66
+ def list_by_database_account_async(resource_group_name, account_name, custom_headers:nil)
67
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
68
+ fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1
69
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
70
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
71
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
72
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
73
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
74
+ fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1
75
+ fail ArgumentError, 'account_name is nil' if account_name.nil?
76
+ fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '50'" if !account_name.nil? && account_name.length > 50
77
+ fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3
78
+ fail ArgumentError, "'account_name' should satisfy the constraint - 'Pattern': '^[a-z0-9]+(-[a-z0-9]+)*'" if !account_name.nil? && account_name.match(Regexp.new('^^[a-z0-9]+(-[a-z0-9]+)*$')).nil?
79
+
80
+
81
+ request_headers = {}
82
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
83
+
84
+ # Set Headers
85
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
86
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
87
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/notebookWorkspaces'
88
+
89
+ request_url = @base_url || @client.base_url
90
+
91
+ options = {
92
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
93
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'accountName' => account_name},
94
+ query_params: {'api-version' => @client.api_version},
95
+ headers: request_headers.merge(custom_headers || {}),
96
+ base_url: request_url
97
+ }
98
+ promise = @client.make_request_async(:get, path_template, options)
99
+
100
+ promise = promise.then do |result|
101
+ http_response = result.response
102
+ status_code = http_response.status
103
+ response_content = http_response.body
104
+ unless status_code == 200
105
+ error_model = JSON.load(response_content)
106
+ fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
107
+ end
108
+
109
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
110
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
111
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
112
+ # Deserialize Response
113
+ if status_code == 200
114
+ begin
115
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
116
+ result_mapper = Azure::Cosmosdb::Mgmt::V2019_12_12::Models::NotebookWorkspaceListResult.mapper()
117
+ result.body = @client.deserialize(result_mapper, parsed_response)
118
+ rescue Exception => e
119
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
120
+ end
121
+ end
122
+
123
+ result
124
+ end
125
+
126
+ promise.execute
127
+ end
128
+
129
+ #
130
+ # Gets the notebook workspace for a Cosmos DB account.
131
+ #
132
+ # @param resource_group_name [String] The name of the resource group. The name
133
+ # is case insensitive.
134
+ # @param account_name [String] Cosmos DB database account name.
135
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
136
+ # will be added to the HTTP request.
137
+ #
138
+ # @return [NotebookWorkspace] operation results.
139
+ #
140
+ def get(resource_group_name, account_name, custom_headers:nil)
141
+ response = get_async(resource_group_name, account_name, custom_headers:custom_headers).value!
142
+ response.body unless response.nil?
143
+ end
144
+
145
+ #
146
+ # Gets the notebook workspace for a Cosmos DB account.
147
+ #
148
+ # @param resource_group_name [String] The name of the resource group. The name
149
+ # is case insensitive.
150
+ # @param account_name [String] Cosmos DB database account name.
151
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
152
+ # will be added to the HTTP request.
153
+ #
154
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
155
+ #
156
+ def get_with_http_info(resource_group_name, account_name, custom_headers:nil)
157
+ get_async(resource_group_name, account_name, custom_headers:custom_headers).value!
158
+ end
159
+
160
+ #
161
+ # Gets the notebook workspace for a Cosmos DB account.
162
+ #
163
+ # @param resource_group_name [String] The name of the resource group. The name
164
+ # is case insensitive.
165
+ # @param account_name [String] Cosmos DB database account name.
166
+ # @param [Hash{String => String}] A hash of custom headers that will be added
167
+ # to the HTTP request.
168
+ #
169
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
170
+ #
171
+ def get_async(resource_group_name, account_name, custom_headers:nil)
172
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
173
+ fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1
174
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
175
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
176
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
177
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
178
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
179
+ fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1
180
+ fail ArgumentError, 'account_name is nil' if account_name.nil?
181
+ fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '50'" if !account_name.nil? && account_name.length > 50
182
+ fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3
183
+ fail ArgumentError, "'account_name' should satisfy the constraint - 'Pattern': '^[a-z0-9]+(-[a-z0-9]+)*'" if !account_name.nil? && account_name.match(Regexp.new('^^[a-z0-9]+(-[a-z0-9]+)*$')).nil?
184
+ notebook_workspace_name = 'default'
185
+
186
+
187
+ request_headers = {}
188
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
189
+
190
+ # Set Headers
191
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
192
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
193
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/notebookWorkspaces/{notebookWorkspaceName}'
194
+
195
+ request_url = @base_url || @client.base_url
196
+
197
+ options = {
198
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
199
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'accountName' => account_name,'notebookWorkspaceName' => notebook_workspace_name},
200
+ query_params: {'api-version' => @client.api_version},
201
+ headers: request_headers.merge(custom_headers || {}),
202
+ base_url: request_url
203
+ }
204
+ promise = @client.make_request_async(:get, path_template, options)
205
+
206
+ promise = promise.then do |result|
207
+ http_response = result.response
208
+ status_code = http_response.status
209
+ response_content = http_response.body
210
+ unless status_code == 200
211
+ error_model = JSON.load(response_content)
212
+ fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
213
+ end
214
+
215
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
216
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
217
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
218
+ # Deserialize Response
219
+ if status_code == 200
220
+ begin
221
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
222
+ result_mapper = Azure::Cosmosdb::Mgmt::V2019_12_12::Models::NotebookWorkspace.mapper()
223
+ result.body = @client.deserialize(result_mapper, parsed_response)
224
+ rescue Exception => e
225
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
226
+ end
227
+ end
228
+
229
+ result
230
+ end
231
+
232
+ promise.execute
233
+ end
234
+
235
+ #
236
+ # Creates the notebook workspace for a Cosmos DB account.
237
+ #
238
+ # @param resource_group_name [String] The name of the resource group. The name
239
+ # is case insensitive.
240
+ # @param account_name [String] Cosmos DB database account name.
241
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
242
+ # will be added to the HTTP request.
243
+ #
244
+ # @return [NotebookWorkspace] operation results.
245
+ #
246
+ def create_or_update(resource_group_name, account_name, custom_headers:nil)
247
+ response = create_or_update_async(resource_group_name, account_name, custom_headers:custom_headers).value!
248
+ response.body unless response.nil?
249
+ end
250
+
251
+ #
252
+ # @param resource_group_name [String] The name of the resource group. The name
253
+ # is case insensitive.
254
+ # @param account_name [String] Cosmos DB database account name.
255
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
256
+ # will be added to the HTTP request.
257
+ #
258
+ # @return [Concurrent::Promise] promise which provides async access to http
259
+ # response.
260
+ #
261
+ def create_or_update_async(resource_group_name, account_name, custom_headers:nil)
262
+ # Send request
263
+ promise = begin_create_or_update_async(resource_group_name, account_name, custom_headers:custom_headers)
264
+
265
+ promise = promise.then do |response|
266
+ # Defining deserialization method.
267
+ deserialize_method = lambda do |parsed_response|
268
+ result_mapper = Azure::Cosmosdb::Mgmt::V2019_12_12::Models::NotebookWorkspace.mapper()
269
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
270
+ end
271
+
272
+ # Waiting for response.
273
+ @client.get_long_running_operation_result(response, deserialize_method)
274
+ end
275
+
276
+ promise
277
+ end
278
+
279
+ #
280
+ # Deletes the notebook workspace for a Cosmos DB account.
281
+ #
282
+ # @param resource_group_name [String] The name of the resource group. The name
283
+ # is case insensitive.
284
+ # @param account_name [String] Cosmos DB database account name.
285
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
286
+ # will be added to the HTTP request.
287
+ #
288
+ def delete(resource_group_name, account_name, custom_headers:nil)
289
+ response = delete_async(resource_group_name, account_name, custom_headers:custom_headers).value!
290
+ nil
291
+ end
292
+
293
+ #
294
+ # @param resource_group_name [String] The name of the resource group. The name
295
+ # is case insensitive.
296
+ # @param account_name [String] Cosmos DB database account name.
297
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
298
+ # will be added to the HTTP request.
299
+ #
300
+ # @return [Concurrent::Promise] promise which provides async access to http
301
+ # response.
302
+ #
303
+ def delete_async(resource_group_name, account_name, custom_headers:nil)
304
+ # Send request
305
+ promise = begin_delete_async(resource_group_name, account_name, custom_headers:custom_headers)
306
+
307
+ promise = promise.then do |response|
308
+ # Defining deserialization method.
309
+ deserialize_method = lambda do |parsed_response|
310
+ end
311
+
312
+ # Waiting for response.
313
+ @client.get_long_running_operation_result(response, deserialize_method)
314
+ end
315
+
316
+ promise
317
+ end
318
+
319
+ #
320
+ # Retrieves the connection info for the notebook workspace
321
+ #
322
+ # @param resource_group_name [String] The name of the resource group. The name
323
+ # is case insensitive.
324
+ # @param account_name [String] Cosmos DB database account name.
325
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
326
+ # will be added to the HTTP request.
327
+ #
328
+ # @return [NotebookWorkspaceConnectionInfoResult] operation results.
329
+ #
330
+ def list_connection_info(resource_group_name, account_name, custom_headers:nil)
331
+ response = list_connection_info_async(resource_group_name, account_name, custom_headers:custom_headers).value!
332
+ response.body unless response.nil?
333
+ end
334
+
335
+ #
336
+ # Retrieves the connection info for the notebook workspace
337
+ #
338
+ # @param resource_group_name [String] The name of the resource group. The name
339
+ # is case insensitive.
340
+ # @param account_name [String] Cosmos DB database account name.
341
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
342
+ # will be added to the HTTP request.
343
+ #
344
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
345
+ #
346
+ def list_connection_info_with_http_info(resource_group_name, account_name, custom_headers:nil)
347
+ list_connection_info_async(resource_group_name, account_name, custom_headers:custom_headers).value!
348
+ end
349
+
350
+ #
351
+ # Retrieves the connection info for the notebook workspace
352
+ #
353
+ # @param resource_group_name [String] The name of the resource group. The name
354
+ # is case insensitive.
355
+ # @param account_name [String] Cosmos DB database account name.
356
+ # @param [Hash{String => String}] A hash of custom headers that will be added
357
+ # to the HTTP request.
358
+ #
359
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
360
+ #
361
+ def list_connection_info_async(resource_group_name, account_name, custom_headers:nil)
362
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
363
+ fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1
364
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
365
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
366
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
367
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
368
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
369
+ fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1
370
+ fail ArgumentError, 'account_name is nil' if account_name.nil?
371
+ fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '50'" if !account_name.nil? && account_name.length > 50
372
+ fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3
373
+ fail ArgumentError, "'account_name' should satisfy the constraint - 'Pattern': '^[a-z0-9]+(-[a-z0-9]+)*'" if !account_name.nil? && account_name.match(Regexp.new('^^[a-z0-9]+(-[a-z0-9]+)*$')).nil?
374
+ notebook_workspace_name = 'default'
375
+
376
+
377
+ request_headers = {}
378
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
379
+
380
+ # Set Headers
381
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
382
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
383
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/notebookWorkspaces/{notebookWorkspaceName}/listConnectionInfo'
384
+
385
+ request_url = @base_url || @client.base_url
386
+
387
+ options = {
388
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
389
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'accountName' => account_name,'notebookWorkspaceName' => notebook_workspace_name},
390
+ query_params: {'api-version' => @client.api_version},
391
+ headers: request_headers.merge(custom_headers || {}),
392
+ base_url: request_url
393
+ }
394
+ promise = @client.make_request_async(:post, path_template, options)
395
+
396
+ promise = promise.then do |result|
397
+ http_response = result.response
398
+ status_code = http_response.status
399
+ response_content = http_response.body
400
+ unless status_code == 200
401
+ error_model = JSON.load(response_content)
402
+ fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
403
+ end
404
+
405
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
406
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
407
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
408
+ # Deserialize Response
409
+ if status_code == 200
410
+ begin
411
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
412
+ result_mapper = Azure::Cosmosdb::Mgmt::V2019_12_12::Models::NotebookWorkspaceConnectionInfoResult.mapper()
413
+ result.body = @client.deserialize(result_mapper, parsed_response)
414
+ rescue Exception => e
415
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
416
+ end
417
+ end
418
+
419
+ result
420
+ end
421
+
422
+ promise.execute
423
+ end
424
+
425
+ #
426
+ # Regenerates the auth token for the notebook workspace
427
+ #
428
+ # @param resource_group_name [String] The name of the resource group. The name
429
+ # is case insensitive.
430
+ # @param account_name [String] Cosmos DB database account name.
431
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
432
+ # will be added to the HTTP request.
433
+ #
434
+ def regenerate_auth_token(resource_group_name, account_name, custom_headers:nil)
435
+ response = regenerate_auth_token_async(resource_group_name, account_name, custom_headers:custom_headers).value!
436
+ nil
437
+ end
438
+
439
+ #
440
+ # @param resource_group_name [String] The name of the resource group. The name
441
+ # is case insensitive.
442
+ # @param account_name [String] Cosmos DB database account name.
443
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
444
+ # will be added to the HTTP request.
445
+ #
446
+ # @return [Concurrent::Promise] promise which provides async access to http
447
+ # response.
448
+ #
449
+ def regenerate_auth_token_async(resource_group_name, account_name, custom_headers:nil)
450
+ # Send request
451
+ promise = begin_regenerate_auth_token_async(resource_group_name, account_name, custom_headers:custom_headers)
452
+
453
+ promise = promise.then do |response|
454
+ # Defining deserialization method.
455
+ deserialize_method = lambda do |parsed_response|
456
+ end
457
+
458
+ # Waiting for response.
459
+ @client.get_long_running_operation_result(response, deserialize_method)
460
+ end
461
+
462
+ promise
463
+ end
464
+
465
+ #
466
+ # Starts the notebook workspace
467
+ #
468
+ # @param resource_group_name [String] The name of the resource group. The name
469
+ # is case insensitive.
470
+ # @param account_name [String] Cosmos DB database account name.
471
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
472
+ # will be added to the HTTP request.
473
+ #
474
+ def start(resource_group_name, account_name, custom_headers:nil)
475
+ response = start_async(resource_group_name, account_name, custom_headers:custom_headers).value!
476
+ nil
477
+ end
478
+
479
+ #
480
+ # @param resource_group_name [String] The name of the resource group. The name
481
+ # is case insensitive.
482
+ # @param account_name [String] Cosmos DB database account name.
483
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
484
+ # will be added to the HTTP request.
485
+ #
486
+ # @return [Concurrent::Promise] promise which provides async access to http
487
+ # response.
488
+ #
489
+ def start_async(resource_group_name, account_name, custom_headers:nil)
490
+ # Send request
491
+ promise = begin_start_async(resource_group_name, account_name, custom_headers:custom_headers)
492
+
493
+ promise = promise.then do |response|
494
+ # Defining deserialization method.
495
+ deserialize_method = lambda do |parsed_response|
496
+ end
497
+
498
+ # Waiting for response.
499
+ @client.get_long_running_operation_result(response, deserialize_method)
500
+ end
501
+
502
+ promise
503
+ end
504
+
505
+ #
506
+ # Creates the notebook workspace for a Cosmos DB account.
507
+ #
508
+ # @param resource_group_name [String] The name of the resource group. The name
509
+ # is case insensitive.
510
+ # @param account_name [String] Cosmos DB database account name.
511
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
512
+ # will be added to the HTTP request.
513
+ #
514
+ # @return [NotebookWorkspace] operation results.
515
+ #
516
+ def begin_create_or_update(resource_group_name, account_name, custom_headers:nil)
517
+ response = begin_create_or_update_async(resource_group_name, account_name, custom_headers:custom_headers).value!
518
+ response.body unless response.nil?
519
+ end
520
+
521
+ #
522
+ # Creates the notebook workspace for a Cosmos DB account.
523
+ #
524
+ # @param resource_group_name [String] The name of the resource group. The name
525
+ # is case insensitive.
526
+ # @param account_name [String] Cosmos DB database account name.
527
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
528
+ # will be added to the HTTP request.
529
+ #
530
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
531
+ #
532
+ def begin_create_or_update_with_http_info(resource_group_name, account_name, custom_headers:nil)
533
+ begin_create_or_update_async(resource_group_name, account_name, custom_headers:custom_headers).value!
534
+ end
535
+
536
+ #
537
+ # Creates the notebook workspace for a Cosmos DB account.
538
+ #
539
+ # @param resource_group_name [String] The name of the resource group. The name
540
+ # is case insensitive.
541
+ # @param account_name [String] Cosmos DB database account name.
542
+ # @param [Hash{String => String}] A hash of custom headers that will be added
543
+ # to the HTTP request.
544
+ #
545
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
546
+ #
547
+ def begin_create_or_update_async(resource_group_name, account_name, custom_headers:nil)
548
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
549
+ fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1
550
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
551
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
552
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
553
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
554
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
555
+ fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1
556
+ fail ArgumentError, 'account_name is nil' if account_name.nil?
557
+ fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '50'" if !account_name.nil? && account_name.length > 50
558
+ fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3
559
+ fail ArgumentError, "'account_name' should satisfy the constraint - 'Pattern': '^[a-z0-9]+(-[a-z0-9]+)*'" if !account_name.nil? && account_name.match(Regexp.new('^^[a-z0-9]+(-[a-z0-9]+)*$')).nil?
560
+ notebook_workspace_name = 'default'
561
+
562
+ notebook_create_update_parameters = NotebookWorkspaceCreateUpdateParameters.new
563
+
564
+ request_headers = {}
565
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
566
+
567
+ # Set Headers
568
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
569
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
570
+
571
+ # Serialize Request
572
+ request_mapper = Azure::Cosmosdb::Mgmt::V2019_12_12::Models::NotebookWorkspaceCreateUpdateParameters.mapper()
573
+ request_content = @client.serialize(request_mapper, notebook_create_update_parameters)
574
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
575
+
576
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/notebookWorkspaces/{notebookWorkspaceName}'
577
+
578
+ request_url = @base_url || @client.base_url
579
+
580
+ options = {
581
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
582
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'accountName' => account_name,'notebookWorkspaceName' => notebook_workspace_name},
583
+ query_params: {'api-version' => @client.api_version},
584
+ body: request_content,
585
+ headers: request_headers.merge(custom_headers || {}),
586
+ base_url: request_url
587
+ }
588
+ promise = @client.make_request_async(:put, path_template, options)
589
+
590
+ promise = promise.then do |result|
591
+ http_response = result.response
592
+ status_code = http_response.status
593
+ response_content = http_response.body
594
+ unless status_code == 200
595
+ error_model = JSON.load(response_content)
596
+ fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
597
+ end
598
+
599
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
600
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
601
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
602
+ # Deserialize Response
603
+ if status_code == 200
604
+ begin
605
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
606
+ result_mapper = Azure::Cosmosdb::Mgmt::V2019_12_12::Models::NotebookWorkspace.mapper()
607
+ result.body = @client.deserialize(result_mapper, parsed_response)
608
+ rescue Exception => e
609
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
610
+ end
611
+ end
612
+
613
+ result
614
+ end
615
+
616
+ promise.execute
617
+ end
618
+
619
+ #
620
+ # Deletes the notebook workspace for a Cosmos DB account.
621
+ #
622
+ # @param resource_group_name [String] The name of the resource group. The name
623
+ # is case insensitive.
624
+ # @param account_name [String] Cosmos DB database account name.
625
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
626
+ # will be added to the HTTP request.
627
+ #
628
+ #
629
+ def begin_delete(resource_group_name, account_name, custom_headers:nil)
630
+ response = begin_delete_async(resource_group_name, account_name, custom_headers:custom_headers).value!
631
+ nil
632
+ end
633
+
634
+ #
635
+ # Deletes the notebook workspace for a Cosmos DB account.
636
+ #
637
+ # @param resource_group_name [String] The name of the resource group. The name
638
+ # is case insensitive.
639
+ # @param account_name [String] Cosmos DB database account name.
640
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
641
+ # will be added to the HTTP request.
642
+ #
643
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
644
+ #
645
+ def begin_delete_with_http_info(resource_group_name, account_name, custom_headers:nil)
646
+ begin_delete_async(resource_group_name, account_name, custom_headers:custom_headers).value!
647
+ end
648
+
649
+ #
650
+ # Deletes the notebook workspace for a Cosmos DB account.
651
+ #
652
+ # @param resource_group_name [String] The name of the resource group. The name
653
+ # is case insensitive.
654
+ # @param account_name [String] Cosmos DB database account name.
655
+ # @param [Hash{String => String}] A hash of custom headers that will be added
656
+ # to the HTTP request.
657
+ #
658
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
659
+ #
660
+ def begin_delete_async(resource_group_name, account_name, custom_headers:nil)
661
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
662
+ fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1
663
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
664
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
665
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
666
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
667
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
668
+ fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1
669
+ fail ArgumentError, 'account_name is nil' if account_name.nil?
670
+ fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '50'" if !account_name.nil? && account_name.length > 50
671
+ fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3
672
+ fail ArgumentError, "'account_name' should satisfy the constraint - 'Pattern': '^[a-z0-9]+(-[a-z0-9]+)*'" if !account_name.nil? && account_name.match(Regexp.new('^^[a-z0-9]+(-[a-z0-9]+)*$')).nil?
673
+ notebook_workspace_name = 'default'
674
+
675
+
676
+ request_headers = {}
677
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
678
+
679
+ # Set Headers
680
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
681
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
682
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/notebookWorkspaces/{notebookWorkspaceName}'
683
+
684
+ request_url = @base_url || @client.base_url
685
+
686
+ options = {
687
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
688
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'accountName' => account_name,'notebookWorkspaceName' => notebook_workspace_name},
689
+ query_params: {'api-version' => @client.api_version},
690
+ headers: request_headers.merge(custom_headers || {}),
691
+ base_url: request_url
692
+ }
693
+ promise = @client.make_request_async(:delete, path_template, options)
694
+
695
+ promise = promise.then do |result|
696
+ http_response = result.response
697
+ status_code = http_response.status
698
+ response_content = http_response.body
699
+ unless status_code == 202 || status_code == 204
700
+ error_model = JSON.load(response_content)
701
+ fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
702
+ end
703
+
704
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
705
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
706
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
707
+
708
+ result
709
+ end
710
+
711
+ promise.execute
712
+ end
713
+
714
+ #
715
+ # Regenerates the auth token for the notebook workspace
716
+ #
717
+ # @param resource_group_name [String] The name of the resource group. The name
718
+ # is case insensitive.
719
+ # @param account_name [String] Cosmos DB database account name.
720
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
721
+ # will be added to the HTTP request.
722
+ #
723
+ #
724
+ def begin_regenerate_auth_token(resource_group_name, account_name, custom_headers:nil)
725
+ response = begin_regenerate_auth_token_async(resource_group_name, account_name, custom_headers:custom_headers).value!
726
+ nil
727
+ end
728
+
729
+ #
730
+ # Regenerates the auth token for the notebook workspace
731
+ #
732
+ # @param resource_group_name [String] The name of the resource group. The name
733
+ # is case insensitive.
734
+ # @param account_name [String] Cosmos DB database account name.
735
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
736
+ # will be added to the HTTP request.
737
+ #
738
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
739
+ #
740
+ def begin_regenerate_auth_token_with_http_info(resource_group_name, account_name, custom_headers:nil)
741
+ begin_regenerate_auth_token_async(resource_group_name, account_name, custom_headers:custom_headers).value!
742
+ end
743
+
744
+ #
745
+ # Regenerates the auth token for the notebook workspace
746
+ #
747
+ # @param resource_group_name [String] The name of the resource group. The name
748
+ # is case insensitive.
749
+ # @param account_name [String] Cosmos DB database account name.
750
+ # @param [Hash{String => String}] A hash of custom headers that will be added
751
+ # to the HTTP request.
752
+ #
753
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
754
+ #
755
+ def begin_regenerate_auth_token_async(resource_group_name, account_name, custom_headers:nil)
756
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
757
+ fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1
758
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
759
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
760
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
761
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
762
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
763
+ fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1
764
+ fail ArgumentError, 'account_name is nil' if account_name.nil?
765
+ fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '50'" if !account_name.nil? && account_name.length > 50
766
+ fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3
767
+ fail ArgumentError, "'account_name' should satisfy the constraint - 'Pattern': '^[a-z0-9]+(-[a-z0-9]+)*'" if !account_name.nil? && account_name.match(Regexp.new('^^[a-z0-9]+(-[a-z0-9]+)*$')).nil?
768
+ notebook_workspace_name = 'default'
769
+
770
+
771
+ request_headers = {}
772
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
773
+
774
+ # Set Headers
775
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
776
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
777
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/notebookWorkspaces/{notebookWorkspaceName}/regenerateAuthToken'
778
+
779
+ request_url = @base_url || @client.base_url
780
+
781
+ options = {
782
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
783
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'accountName' => account_name,'notebookWorkspaceName' => notebook_workspace_name},
784
+ query_params: {'api-version' => @client.api_version},
785
+ headers: request_headers.merge(custom_headers || {}),
786
+ base_url: request_url
787
+ }
788
+ promise = @client.make_request_async(:post, path_template, options)
789
+
790
+ promise = promise.then do |result|
791
+ http_response = result.response
792
+ status_code = http_response.status
793
+ response_content = http_response.body
794
+ unless status_code == 200 || status_code == 202
795
+ error_model = JSON.load(response_content)
796
+ fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
797
+ end
798
+
799
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
800
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
801
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
802
+
803
+ result
804
+ end
805
+
806
+ promise.execute
807
+ end
808
+
809
+ #
810
+ # Starts the notebook workspace
811
+ #
812
+ # @param resource_group_name [String] The name of the resource group. The name
813
+ # is case insensitive.
814
+ # @param account_name [String] Cosmos DB database account name.
815
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
816
+ # will be added to the HTTP request.
817
+ #
818
+ #
819
+ def begin_start(resource_group_name, account_name, custom_headers:nil)
820
+ response = begin_start_async(resource_group_name, account_name, custom_headers:custom_headers).value!
821
+ nil
822
+ end
823
+
824
+ #
825
+ # Starts the notebook workspace
826
+ #
827
+ # @param resource_group_name [String] The name of the resource group. The name
828
+ # is case insensitive.
829
+ # @param account_name [String] Cosmos DB database account name.
830
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
831
+ # will be added to the HTTP request.
832
+ #
833
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
834
+ #
835
+ def begin_start_with_http_info(resource_group_name, account_name, custom_headers:nil)
836
+ begin_start_async(resource_group_name, account_name, custom_headers:custom_headers).value!
837
+ end
838
+
839
+ #
840
+ # Starts the notebook workspace
841
+ #
842
+ # @param resource_group_name [String] The name of the resource group. The name
843
+ # is case insensitive.
844
+ # @param account_name [String] Cosmos DB database account name.
845
+ # @param [Hash{String => String}] A hash of custom headers that will be added
846
+ # to the HTTP request.
847
+ #
848
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
849
+ #
850
+ def begin_start_async(resource_group_name, account_name, custom_headers:nil)
851
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
852
+ fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1
853
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
854
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
855
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
856
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
857
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
858
+ fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1
859
+ fail ArgumentError, 'account_name is nil' if account_name.nil?
860
+ fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '50'" if !account_name.nil? && account_name.length > 50
861
+ fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3
862
+ fail ArgumentError, "'account_name' should satisfy the constraint - 'Pattern': '^[a-z0-9]+(-[a-z0-9]+)*'" if !account_name.nil? && account_name.match(Regexp.new('^^[a-z0-9]+(-[a-z0-9]+)*$')).nil?
863
+ notebook_workspace_name = 'default'
864
+
865
+
866
+ request_headers = {}
867
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
868
+
869
+ # Set Headers
870
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
871
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
872
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/notebookWorkspaces/{notebookWorkspaceName}/start'
873
+
874
+ request_url = @base_url || @client.base_url
875
+
876
+ options = {
877
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
878
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'accountName' => account_name,'notebookWorkspaceName' => notebook_workspace_name},
879
+ query_params: {'api-version' => @client.api_version},
880
+ headers: request_headers.merge(custom_headers || {}),
881
+ base_url: request_url
882
+ }
883
+ promise = @client.make_request_async(:post, path_template, options)
884
+
885
+ promise = promise.then do |result|
886
+ http_response = result.response
887
+ status_code = http_response.status
888
+ response_content = http_response.body
889
+ unless status_code == 200 || status_code == 202
890
+ error_model = JSON.load(response_content)
891
+ fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
892
+ end
893
+
894
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
895
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
896
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
897
+
898
+ result
899
+ end
900
+
901
+ promise.execute
902
+ end
903
+
904
+ end
905
+ end