azure_mgmt_cosmosdb 0.23.1 → 0.24.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (218) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/cosmos_db.rb +1 -1
  3. data/lib/2019-08-01-preview/generated/azure_mgmt_cosmosdb/cosmos_dbmanagement_client.rb +1 -1
  4. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/cosmos_dbmanagement_client.rb +1 -1
  5. data/lib/2019-12-12/generated/azure_mgmt_cosmosdb/cosmos_dbmanagement_client.rb +1 -1
  6. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/cosmos_dbmanagement_client.rb +1 -1
  7. data/lib/2020-03-01/generated/azure_mgmt_cosmosdb/notebook_workspaces.rb +0 -1
  8. data/lib/2020-04-01/generated/azure_mgmt_cosmosdb/cosmos_dbmanagement_client.rb +1 -1
  9. data/lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/cosmos_dbmanagement_client.rb +1 -1
  10. data/lib/2020-09-01/generated/azure_mgmt_cosmosdb/cosmos_dbmanagement_client.rb +1 -1
  11. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb.rb +228 -0
  12. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/cassandra_resources.rb +2348 -0
  13. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/collection.rb +389 -0
  14. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/collection_partition.rb +279 -0
  15. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/collection_partition_region.rb +161 -0
  16. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/collection_region.rb +161 -0
  17. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/cosmos_dbmanagement_client.rb +211 -0
  18. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/database.rb +377 -0
  19. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/database_account_region.rb +153 -0
  20. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/database_accounts.rb +2281 -0
  21. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/gremlin_resources.rb +2335 -0
  22. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/api_properties.rb +48 -0
  23. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/armproxy_resource.rb +73 -0
  24. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/armresource_properties.rb +102 -0
  25. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/auto_upgrade_policy_resource.rb +48 -0
  26. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/autoscale_settings.rb +48 -0
  27. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/autoscale_settings_resource.rb +73 -0
  28. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/azure_entity_resource.rb +77 -0
  29. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/backup_policy.rb +47 -0
  30. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/backup_policy_type.rb +16 -0
  31. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/capability.rb +48 -0
  32. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/cassandra_keyspace_create_update_parameters.rb +112 -0
  33. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/cassandra_keyspace_get_properties_options.rb +53 -0
  34. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/cassandra_keyspace_get_properties_resource.rb +85 -0
  35. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/cassandra_keyspace_get_results.rb +110 -0
  36. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/cassandra_keyspace_list_result.rb +58 -0
  37. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/cassandra_keyspace_resource.rb +46 -0
  38. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/cassandra_partition_key.rb +46 -0
  39. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/cassandra_schema.rb +95 -0
  40. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/cassandra_table_create_update_parameters.rb +112 -0
  41. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/cassandra_table_get_properties_options.rb +53 -0
  42. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/cassandra_table_get_properties_resource.rb +119 -0
  43. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/cassandra_table_get_results.rb +110 -0
  44. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/cassandra_table_list_result.rb +58 -0
  45. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/cassandra_table_resource.rb +80 -0
  46. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/cluster_key.rb +58 -0
  47. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/column.rb +57 -0
  48. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/composite_path.rb +60 -0
  49. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/composite_path_sort_order.rb +16 -0
  50. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/conflict_resolution_mode.rb +16 -0
  51. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/conflict_resolution_policy.rb +73 -0
  52. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/connector_offer.rb +15 -0
  53. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/consistency_policy.rb +86 -0
  54. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/container_partition_key.rb +99 -0
  55. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/continuous_mode_backup_policy.rb +50 -0
  56. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/cors_policy.rb +99 -0
  57. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/create_update_options.rb +61 -0
  58. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/data_type.rb +20 -0
  59. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/database_account_connection_string.rb +59 -0
  60. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/database_account_create_update_parameters.rb +424 -0
  61. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/database_account_get_results.rb +537 -0
  62. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/database_account_kind.rb +17 -0
  63. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/database_account_list_connection_strings_result.rb +57 -0
  64. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/database_account_list_keys_result.rb +77 -0
  65. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/database_account_list_read_only_keys_result.rb +59 -0
  66. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/database_account_offer_type.rb +15 -0
  67. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/database_account_regenerate_key_parameters.rb +47 -0
  68. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/database_account_update_parameters.rb +375 -0
  69. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/database_accounts_list_result.rb +58 -0
  70. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/default_consistency_level.rb +19 -0
  71. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/error_response.rb +57 -0
  72. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/error_response_updated_format.rb +47 -0
  73. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/excluded_path.rb +48 -0
  74. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/extended_resource_properties.rb +74 -0
  75. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/failover_policies.rb +55 -0
  76. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/failover_policy.rb +79 -0
  77. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/gremlin_database_create_update_parameters.rb +112 -0
  78. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/gremlin_database_get_properties_options.rb +53 -0
  79. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/gremlin_database_get_properties_resource.rb +85 -0
  80. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/gremlin_database_get_results.rb +110 -0
  81. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/gremlin_database_list_result.rb +58 -0
  82. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/gremlin_database_resource.rb +46 -0
  83. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/gremlin_graph_create_update_parameters.rb +112 -0
  84. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/gremlin_graph_get_properties_options.rb +53 -0
  85. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/gremlin_graph_get_properties_resource.rb +150 -0
  86. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/gremlin_graph_get_results.rb +110 -0
  87. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/gremlin_graph_list_result.rb +58 -0
  88. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/gremlin_graph_resource.rb +111 -0
  89. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/included_path.rb +67 -0
  90. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/index_kind.rb +17 -0
  91. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/indexes.rb +73 -0
  92. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/indexing_mode.rb +17 -0
  93. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/indexing_policy.rb +147 -0
  94. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/ip_address_or_range.rb +51 -0
  95. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/key_kind.rb +18 -0
  96. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/location.rb +114 -0
  97. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/managed_service_identity.rb +102 -0
  98. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/managed_service_identity_user_assigned_identities_value.rb +61 -0
  99. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/metric.rb +120 -0
  100. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/metric_availability.rb +60 -0
  101. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/metric_definition.rb +109 -0
  102. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/metric_definitions_list_result.rb +57 -0
  103. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/metric_list_result.rb +56 -0
  104. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/metric_name.rb +59 -0
  105. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/metric_value.rb +107 -0
  106. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/mongo_dbcollection_create_update_parameters.rb +112 -0
  107. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/mongo_dbcollection_get_properties_options.rb +53 -0
  108. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/mongo_dbcollection_get_properties_resource.rb +136 -0
  109. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/mongo_dbcollection_get_results.rb +110 -0
  110. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/mongo_dbcollection_list_result.rb +58 -0
  111. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/mongo_dbcollection_resource.rb +97 -0
  112. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/mongo_dbdatabase_create_update_parameters.rb +112 -0
  113. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/mongo_dbdatabase_get_properties_options.rb +53 -0
  114. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/mongo_dbdatabase_get_properties_resource.rb +85 -0
  115. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/mongo_dbdatabase_get_results.rb +110 -0
  116. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/mongo_dbdatabase_list_result.rb +58 -0
  117. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/mongo_dbdatabase_resource.rb +46 -0
  118. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/mongo_index.rb +60 -0
  119. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/mongo_index_keys.rb +55 -0
  120. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/mongo_index_options.rb +57 -0
  121. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/network_acl_bypass.rb +16 -0
  122. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/notebook_workspace.rb +87 -0
  123. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/notebook_workspace_connection_info_result.rb +60 -0
  124. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/notebook_workspace_create_update_parameters.rb +62 -0
  125. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/notebook_workspace_list_result.rb +56 -0
  126. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/operation.rb +58 -0
  127. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/operation_display.rb +80 -0
  128. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/operation_list_result.rb +101 -0
  129. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/options_resource.rb +60 -0
  130. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/partition_kind.rb +17 -0
  131. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/partition_metric.rb +124 -0
  132. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/partition_metric_list_result.rb +57 -0
  133. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/partition_usage.rb +105 -0
  134. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/partition_usages_result.rb +57 -0
  135. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/percentile_metric.rb +120 -0
  136. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/percentile_metric_list_result.rb +57 -0
  137. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/percentile_metric_value.rb +173 -0
  138. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/periodic_mode_backup_policy.rb +63 -0
  139. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/periodic_mode_properties.rb +65 -0
  140. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/primary_aggregation_type.rb +20 -0
  141. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/private_endpoint_connection.rb +110 -0
  142. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/private_endpoint_connection_list_result.rb +56 -0
  143. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/private_endpoint_property.rb +46 -0
  144. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/private_link_resource.rb +115 -0
  145. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/private_link_resource_list_result.rb +55 -0
  146. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/private_link_service_connection_state_property.rb +71 -0
  147. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/proxy_resource.rb +65 -0
  148. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/public_network_access.rb +16 -0
  149. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/region_for_online_offline.rb +47 -0
  150. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/resource.rb +86 -0
  151. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/resource_identity_type.rb +18 -0
  152. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/server_version.rb +17 -0
  153. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/spatial_spec.rb +67 -0
  154. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/spatial_type.rb +18 -0
  155. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/sql_container_create_update_parameters.rb +111 -0
  156. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/sql_container_get_properties_options.rb +53 -0
  157. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/sql_container_get_properties_resource.rb +161 -0
  158. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/sql_container_get_results.rb +110 -0
  159. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/sql_container_list_result.rb +58 -0
  160. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/sql_container_resource.rb +122 -0
  161. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/sql_database_create_update_parameters.rb +112 -0
  162. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/sql_database_get_properties_options.rb +53 -0
  163. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/sql_database_get_properties_resource.rb +109 -0
  164. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/sql_database_get_results.rb +110 -0
  165. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/sql_database_list_result.rb +58 -0
  166. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/sql_database_resource.rb +46 -0
  167. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/sql_stored_procedure_create_update_parameters.rb +112 -0
  168. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/sql_stored_procedure_get_properties_resource.rb +96 -0
  169. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/sql_stored_procedure_get_results.rb +98 -0
  170. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/sql_stored_procedure_list_result.rb +58 -0
  171. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/sql_stored_procedure_resource.rb +57 -0
  172. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/sql_trigger_create_update_parameters.rb +111 -0
  173. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/sql_trigger_get_properties_resource.rb +121 -0
  174. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/sql_trigger_get_results.rb +98 -0
  175. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/sql_trigger_list_result.rb +58 -0
  176. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/sql_trigger_resource.rb +82 -0
  177. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/sql_user_defined_function_create_update_parameters.rb +113 -0
  178. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/sql_user_defined_function_get_properties_resource.rb +97 -0
  179. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/sql_user_defined_function_get_results.rb +98 -0
  180. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/sql_user_defined_function_list_result.rb +58 -0
  181. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/sql_user_defined_function_resource.rb +57 -0
  182. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/table_create_update_parameters.rb +111 -0
  183. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/table_get_properties_options.rb +53 -0
  184. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/table_get_properties_resource.rb +85 -0
  185. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/table_get_results.rb +110 -0
  186. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/table_list_result.rb +57 -0
  187. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/table_resource.rb +46 -0
  188. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/throughput_policy_resource.rb +59 -0
  189. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/throughput_settings_get_properties_resource.rb +124 -0
  190. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/throughput_settings_get_results.rb +98 -0
  191. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/throughput_settings_resource.rb +86 -0
  192. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/throughput_settings_update_parameters.rb +99 -0
  193. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/tracked_resource.rb +95 -0
  194. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/trigger_operation.rb +19 -0
  195. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/trigger_type.rb +16 -0
  196. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/unique_key.rb +56 -0
  197. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/unique_key_policy.rb +58 -0
  198. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/unit_type.rb +21 -0
  199. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/usage.rb +97 -0
  200. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/usages_result.rb +57 -0
  201. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/virtual_network_rule.rb +59 -0
  202. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/module_definition.rb +9 -0
  203. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/mongo_dbresources.rb +2354 -0
  204. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/notebook_workspaces.rb +905 -0
  205. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/operations.rb +220 -0
  206. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/partition_key_range_id.rb +161 -0
  207. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/partition_key_range_id_region.rb +168 -0
  208. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/percentile.rb +146 -0
  209. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/percentile_source_target.rb +163 -0
  210. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/percentile_target.rb +153 -0
  211. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/private_endpoint_connections.rb +560 -0
  212. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/private_link_resources.rb +245 -0
  213. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/sql_resources.rb +4065 -0
  214. data/lib/2021-01-15/generated/azure_mgmt_cosmosdb/table_resources.rb +1150 -0
  215. data/lib/azure_mgmt_cosmosdb.rb +1 -0
  216. data/lib/profiles/latest/modules/cosmosdb_profile_module.rb +497 -489
  217. data/lib/version.rb +1 -1
  218. metadata +206 -2
@@ -0,0 +1,17 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::Cosmosdb::Mgmt::V2021_01_15
7
+ module Models
8
+ #
9
+ # Defines values for DatabaseAccountKind
10
+ #
11
+ module DatabaseAccountKind
12
+ GlobalDocumentDB = "GlobalDocumentDB"
13
+ MongoDB = "MongoDB"
14
+ Parse = "Parse"
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,57 @@
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::V2021_01_15
7
+ module Models
8
+ #
9
+ # The connection strings for the given database account.
10
+ #
11
+ class DatabaseAccountListConnectionStringsResult
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<DatabaseAccountConnectionString>] An array that contains
16
+ # the connection strings for the Cosmos DB account.
17
+ attr_accessor :connection_strings
18
+
19
+
20
+ #
21
+ # Mapper for DatabaseAccountListConnectionStringsResult class as Ruby
22
+ # Hash.
23
+ # This will be used for serialization/deserialization.
24
+ #
25
+ def self.mapper()
26
+ {
27
+ client_side_validation: true,
28
+ required: false,
29
+ serialized_name: 'DatabaseAccountListConnectionStringsResult',
30
+ type: {
31
+ name: 'Composite',
32
+ class_name: 'DatabaseAccountListConnectionStringsResult',
33
+ model_properties: {
34
+ connection_strings: {
35
+ client_side_validation: true,
36
+ required: false,
37
+ serialized_name: 'connectionStrings',
38
+ type: {
39
+ name: 'Sequence',
40
+ element: {
41
+ client_side_validation: true,
42
+ required: false,
43
+ serialized_name: 'DatabaseAccountConnectionStringElementType',
44
+ type: {
45
+ name: 'Composite',
46
+ class_name: 'DatabaseAccountConnectionString'
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
52
+ }
53
+ }
54
+ end
55
+ end
56
+ end
57
+ end
@@ -0,0 +1,77 @@
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::V2021_01_15
7
+ module Models
8
+ #
9
+ # The access keys for the given database account.
10
+ #
11
+ class DatabaseAccountListKeysResult < DatabaseAccountListReadOnlyKeysResult
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Base 64 encoded value of the primary read-write key.
16
+ attr_accessor :primary_master_key
17
+
18
+ # @return [String] Base 64 encoded value of the secondary read-write key.
19
+ attr_accessor :secondary_master_key
20
+
21
+
22
+ #
23
+ # Mapper for DatabaseAccountListKeysResult class as Ruby Hash.
24
+ # This will be used for serialization/deserialization.
25
+ #
26
+ def self.mapper()
27
+ {
28
+ client_side_validation: true,
29
+ required: false,
30
+ serialized_name: 'DatabaseAccountListKeysResult',
31
+ type: {
32
+ name: 'Composite',
33
+ class_name: 'DatabaseAccountListKeysResult',
34
+ model_properties: {
35
+ primary_readonly_master_key: {
36
+ client_side_validation: true,
37
+ required: false,
38
+ read_only: true,
39
+ serialized_name: 'primaryReadonlyMasterKey',
40
+ type: {
41
+ name: 'String'
42
+ }
43
+ },
44
+ secondary_readonly_master_key: {
45
+ client_side_validation: true,
46
+ required: false,
47
+ read_only: true,
48
+ serialized_name: 'secondaryReadonlyMasterKey',
49
+ type: {
50
+ name: 'String'
51
+ }
52
+ },
53
+ primary_master_key: {
54
+ client_side_validation: true,
55
+ required: false,
56
+ read_only: true,
57
+ serialized_name: 'primaryMasterKey',
58
+ type: {
59
+ name: 'String'
60
+ }
61
+ },
62
+ secondary_master_key: {
63
+ client_side_validation: true,
64
+ required: false,
65
+ read_only: true,
66
+ serialized_name: 'secondaryMasterKey',
67
+ type: {
68
+ name: 'String'
69
+ }
70
+ }
71
+ }
72
+ }
73
+ }
74
+ end
75
+ end
76
+ end
77
+ end
@@ -0,0 +1,59 @@
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::V2021_01_15
7
+ module Models
8
+ #
9
+ # The read-only access keys for the given database account.
10
+ #
11
+ class DatabaseAccountListReadOnlyKeysResult
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Base 64 encoded value of the primary read-only key.
16
+ attr_accessor :primary_readonly_master_key
17
+
18
+ # @return [String] Base 64 encoded value of the secondary read-only key.
19
+ attr_accessor :secondary_readonly_master_key
20
+
21
+
22
+ #
23
+ # Mapper for DatabaseAccountListReadOnlyKeysResult class as Ruby Hash.
24
+ # This will be used for serialization/deserialization.
25
+ #
26
+ def self.mapper()
27
+ {
28
+ client_side_validation: true,
29
+ required: false,
30
+ serialized_name: 'DatabaseAccountListReadOnlyKeysResult',
31
+ type: {
32
+ name: 'Composite',
33
+ class_name: 'DatabaseAccountListReadOnlyKeysResult',
34
+ model_properties: {
35
+ primary_readonly_master_key: {
36
+ client_side_validation: true,
37
+ required: false,
38
+ read_only: true,
39
+ serialized_name: 'primaryReadonlyMasterKey',
40
+ type: {
41
+ name: 'String'
42
+ }
43
+ },
44
+ secondary_readonly_master_key: {
45
+ client_side_validation: true,
46
+ required: false,
47
+ read_only: true,
48
+ serialized_name: 'secondaryReadonlyMasterKey',
49
+ type: {
50
+ name: 'String'
51
+ }
52
+ }
53
+ }
54
+ }
55
+ }
56
+ end
57
+ end
58
+ end
59
+ end
@@ -0,0 +1,15 @@
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::V2021_01_15
7
+ module Models
8
+ #
9
+ # Defines values for DatabaseAccountOfferType
10
+ #
11
+ module DatabaseAccountOfferType
12
+ Standard = "Standard"
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,47 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::Cosmosdb::Mgmt::V2021_01_15
7
+ module Models
8
+ #
9
+ # Parameters to regenerate the keys within the database account.
10
+ #
11
+ class DatabaseAccountRegenerateKeyParameters
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [KeyKind] The access key to regenerate. Possible values
16
+ # include: 'primary', 'secondary', 'primaryReadonly', 'secondaryReadonly'
17
+ attr_accessor :key_kind
18
+
19
+
20
+ #
21
+ # Mapper for DatabaseAccountRegenerateKeyParameters class as Ruby Hash.
22
+ # This will be used for serialization/deserialization.
23
+ #
24
+ def self.mapper()
25
+ {
26
+ client_side_validation: true,
27
+ required: false,
28
+ serialized_name: 'DatabaseAccountRegenerateKeyParameters',
29
+ type: {
30
+ name: 'Composite',
31
+ class_name: 'DatabaseAccountRegenerateKeyParameters',
32
+ model_properties: {
33
+ key_kind: {
34
+ client_side_validation: true,
35
+ required: true,
36
+ serialized_name: 'keyKind',
37
+ type: {
38
+ name: 'String'
39
+ }
40
+ }
41
+ }
42
+ }
43
+ }
44
+ end
45
+ end
46
+ end
47
+ end
@@ -0,0 +1,375 @@
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::V2021_01_15
7
+ module Models
8
+ #
9
+ # Parameters for patching Azure Cosmos DB database account properties.
10
+ #
11
+ class DatabaseAccountUpdateParameters
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Hash{String => String}]
16
+ attr_accessor :tags
17
+
18
+ # @return [String] The location of the resource group to which the
19
+ # resource belongs.
20
+ attr_accessor :location
21
+
22
+ # @return [ManagedServiceIdentity]
23
+ attr_accessor :identity
24
+
25
+ # @return [ConsistencyPolicy] The consistency policy for the Cosmos DB
26
+ # account.
27
+ attr_accessor :consistency_policy
28
+
29
+ # @return [Array<Location>] An array that contains the georeplication
30
+ # locations enabled for the Cosmos DB account.
31
+ attr_accessor :locations
32
+
33
+ # @return [Array<IpAddressOrRange>] List of IpRules.
34
+ attr_accessor :ip_rules
35
+
36
+ # @return [Boolean] Flag to indicate whether to enable/disable Virtual
37
+ # Network ACL rules.
38
+ attr_accessor :is_virtual_network_filter_enabled
39
+
40
+ # @return [Boolean] Enables automatic failover of the write region in the
41
+ # rare event that the region is unavailable due to an outage. Automatic
42
+ # failover will result in a new write region for the account and is
43
+ # chosen based on the failover priorities configured for the account.
44
+ attr_accessor :enable_automatic_failover
45
+
46
+ # @return [Array<Capability>] List of Cosmos DB capabilities for the
47
+ # account
48
+ attr_accessor :capabilities
49
+
50
+ # @return [Array<VirtualNetworkRule>] List of Virtual Network ACL rules
51
+ # configured for the Cosmos DB account.
52
+ attr_accessor :virtual_network_rules
53
+
54
+ # @return [Boolean] Enables the account to write in multiple locations
55
+ attr_accessor :enable_multiple_write_locations
56
+
57
+ # @return [Boolean] Enables the cassandra connector on the Cosmos DB C*
58
+ # account
59
+ attr_accessor :enable_cassandra_connector
60
+
61
+ # @return [ConnectorOffer] The cassandra connector offer type for the
62
+ # Cosmos DB database C* account. Possible values include: 'Small'
63
+ attr_accessor :connector_offer
64
+
65
+ # @return [Boolean] Disable write operations on metadata resources
66
+ # (databases, containers, throughput) via account keys
67
+ attr_accessor :disable_key_based_metadata_write_access
68
+
69
+ # @return [String] The URI of the key vault
70
+ attr_accessor :key_vault_key_uri
71
+
72
+ # @return [PublicNetworkAccess] Whether requests from Public Network are
73
+ # allowed. Possible values include: 'Enabled', 'Disabled'
74
+ attr_accessor :public_network_access
75
+
76
+ # @return [Boolean] Flag to indicate whether Free Tier is enabled.
77
+ attr_accessor :enable_free_tier
78
+
79
+ # @return [ApiProperties] API specific properties. Currently, supported
80
+ # only for MongoDB API.
81
+ attr_accessor :api_properties
82
+
83
+ # @return [Boolean] Flag to indicate whether to enable storage analytics.
84
+ attr_accessor :enable_analytical_storage
85
+
86
+ # @return [BackupPolicy] The object representing the policy for taking
87
+ # backups on an account.
88
+ attr_accessor :backup_policy
89
+
90
+ # @return [Array<CorsPolicy>] The CORS policy for the Cosmos DB database
91
+ # account.
92
+ attr_accessor :cors
93
+
94
+ # @return [NetworkAclBypass] Indicates what services are allowed to
95
+ # bypass firewall checks. Possible values include: 'None',
96
+ # 'AzureServices'
97
+ attr_accessor :network_acl_bypass
98
+
99
+ # @return [Array<String>] An array that contains the Resource Ids for
100
+ # Network Acl Bypass for the Cosmos DB account.
101
+ attr_accessor :network_acl_bypass_resource_ids
102
+
103
+
104
+ #
105
+ # Mapper for DatabaseAccountUpdateParameters class as Ruby Hash.
106
+ # This will be used for serialization/deserialization.
107
+ #
108
+ def self.mapper()
109
+ {
110
+ client_side_validation: true,
111
+ required: false,
112
+ serialized_name: 'DatabaseAccountUpdateParameters',
113
+ type: {
114
+ name: 'Composite',
115
+ class_name: 'DatabaseAccountUpdateParameters',
116
+ model_properties: {
117
+ tags: {
118
+ client_side_validation: true,
119
+ required: false,
120
+ serialized_name: 'tags',
121
+ type: {
122
+ name: 'Dictionary',
123
+ value: {
124
+ client_side_validation: true,
125
+ required: false,
126
+ serialized_name: 'StringElementType',
127
+ type: {
128
+ name: 'String'
129
+ }
130
+ }
131
+ }
132
+ },
133
+ location: {
134
+ client_side_validation: true,
135
+ required: false,
136
+ serialized_name: 'location',
137
+ type: {
138
+ name: 'String'
139
+ }
140
+ },
141
+ identity: {
142
+ client_side_validation: true,
143
+ required: false,
144
+ serialized_name: 'identity',
145
+ type: {
146
+ name: 'Composite',
147
+ class_name: 'ManagedServiceIdentity'
148
+ }
149
+ },
150
+ consistency_policy: {
151
+ client_side_validation: true,
152
+ required: false,
153
+ serialized_name: 'properties.consistencyPolicy',
154
+ type: {
155
+ name: 'Composite',
156
+ class_name: 'ConsistencyPolicy'
157
+ }
158
+ },
159
+ locations: {
160
+ client_side_validation: true,
161
+ required: false,
162
+ serialized_name: 'properties.locations',
163
+ type: {
164
+ name: 'Sequence',
165
+ element: {
166
+ client_side_validation: true,
167
+ required: false,
168
+ serialized_name: 'LocationElementType',
169
+ type: {
170
+ name: 'Composite',
171
+ class_name: 'Location'
172
+ }
173
+ }
174
+ }
175
+ },
176
+ ip_rules: {
177
+ client_side_validation: true,
178
+ required: false,
179
+ serialized_name: 'properties.ipRules',
180
+ type: {
181
+ name: 'Sequence',
182
+ element: {
183
+ client_side_validation: true,
184
+ required: false,
185
+ serialized_name: 'IpAddressOrRangeElementType',
186
+ type: {
187
+ name: 'Composite',
188
+ class_name: 'IpAddressOrRange'
189
+ }
190
+ }
191
+ }
192
+ },
193
+ is_virtual_network_filter_enabled: {
194
+ client_side_validation: true,
195
+ required: false,
196
+ serialized_name: 'properties.isVirtualNetworkFilterEnabled',
197
+ type: {
198
+ name: 'Boolean'
199
+ }
200
+ },
201
+ enable_automatic_failover: {
202
+ client_side_validation: true,
203
+ required: false,
204
+ serialized_name: 'properties.enableAutomaticFailover',
205
+ type: {
206
+ name: 'Boolean'
207
+ }
208
+ },
209
+ capabilities: {
210
+ client_side_validation: true,
211
+ required: false,
212
+ serialized_name: 'properties.capabilities',
213
+ type: {
214
+ name: 'Sequence',
215
+ element: {
216
+ client_side_validation: true,
217
+ required: false,
218
+ serialized_name: 'CapabilityElementType',
219
+ type: {
220
+ name: 'Composite',
221
+ class_name: 'Capability'
222
+ }
223
+ }
224
+ }
225
+ },
226
+ virtual_network_rules: {
227
+ client_side_validation: true,
228
+ required: false,
229
+ serialized_name: 'properties.virtualNetworkRules',
230
+ type: {
231
+ name: 'Sequence',
232
+ element: {
233
+ client_side_validation: true,
234
+ required: false,
235
+ serialized_name: 'VirtualNetworkRuleElementType',
236
+ type: {
237
+ name: 'Composite',
238
+ class_name: 'VirtualNetworkRule'
239
+ }
240
+ }
241
+ }
242
+ },
243
+ enable_multiple_write_locations: {
244
+ client_side_validation: true,
245
+ required: false,
246
+ serialized_name: 'properties.enableMultipleWriteLocations',
247
+ type: {
248
+ name: 'Boolean'
249
+ }
250
+ },
251
+ enable_cassandra_connector: {
252
+ client_side_validation: true,
253
+ required: false,
254
+ serialized_name: 'properties.enableCassandraConnector',
255
+ type: {
256
+ name: 'Boolean'
257
+ }
258
+ },
259
+ connector_offer: {
260
+ client_side_validation: true,
261
+ required: false,
262
+ serialized_name: 'properties.connectorOffer',
263
+ type: {
264
+ name: 'String'
265
+ }
266
+ },
267
+ disable_key_based_metadata_write_access: {
268
+ client_side_validation: true,
269
+ required: false,
270
+ serialized_name: 'properties.disableKeyBasedMetadataWriteAccess',
271
+ type: {
272
+ name: 'Boolean'
273
+ }
274
+ },
275
+ key_vault_key_uri: {
276
+ client_side_validation: true,
277
+ required: false,
278
+ serialized_name: 'properties.keyVaultKeyUri',
279
+ type: {
280
+ name: 'String'
281
+ }
282
+ },
283
+ public_network_access: {
284
+ client_side_validation: true,
285
+ required: false,
286
+ serialized_name: 'properties.publicNetworkAccess',
287
+ type: {
288
+ name: 'String'
289
+ }
290
+ },
291
+ enable_free_tier: {
292
+ client_side_validation: true,
293
+ required: false,
294
+ serialized_name: 'properties.enableFreeTier',
295
+ type: {
296
+ name: 'Boolean'
297
+ }
298
+ },
299
+ api_properties: {
300
+ client_side_validation: true,
301
+ required: false,
302
+ serialized_name: 'properties.apiProperties',
303
+ type: {
304
+ name: 'Composite',
305
+ class_name: 'ApiProperties'
306
+ }
307
+ },
308
+ enable_analytical_storage: {
309
+ client_side_validation: true,
310
+ required: false,
311
+ serialized_name: 'properties.enableAnalyticalStorage',
312
+ type: {
313
+ name: 'Boolean'
314
+ }
315
+ },
316
+ backup_policy: {
317
+ client_side_validation: true,
318
+ required: false,
319
+ serialized_name: 'properties.backupPolicy',
320
+ type: {
321
+ name: 'Composite',
322
+ polymorphic_discriminator: 'type',
323
+ uber_parent: 'BackupPolicy',
324
+ class_name: 'BackupPolicy'
325
+ }
326
+ },
327
+ cors: {
328
+ client_side_validation: true,
329
+ required: false,
330
+ serialized_name: 'properties.cors',
331
+ type: {
332
+ name: 'Sequence',
333
+ element: {
334
+ client_side_validation: true,
335
+ required: false,
336
+ serialized_name: 'CorsPolicyElementType',
337
+ type: {
338
+ name: 'Composite',
339
+ class_name: 'CorsPolicy'
340
+ }
341
+ }
342
+ }
343
+ },
344
+ network_acl_bypass: {
345
+ client_side_validation: true,
346
+ required: false,
347
+ serialized_name: 'properties.networkAclBypass',
348
+ type: {
349
+ name: 'Enum',
350
+ module: 'NetworkAclBypass'
351
+ }
352
+ },
353
+ network_acl_bypass_resource_ids: {
354
+ client_side_validation: true,
355
+ required: false,
356
+ serialized_name: 'properties.networkAclBypassResourceIds',
357
+ type: {
358
+ name: 'Sequence',
359
+ element: {
360
+ client_side_validation: true,
361
+ required: false,
362
+ serialized_name: 'StringElementType',
363
+ type: {
364
+ name: 'String'
365
+ }
366
+ }
367
+ }
368
+ }
369
+ }
370
+ }
371
+ }
372
+ end
373
+ end
374
+ end
375
+ end