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,61 @@
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
+ # CreateUpdateOptions are a list of key-value pairs that describe the
10
+ # resource. Supported keys are "If-Match", "If-None-Match", "Session-Token"
11
+ # and "Throughput"
12
+ #
13
+ class CreateUpdateOptions
14
+
15
+ include MsRestAzure
16
+
17
+ # @return [Integer] Request Units per second. For example, "throughput":
18
+ # 10000.
19
+ attr_accessor :throughput
20
+
21
+ # @return [AutoscaleSettings] Specifies the Autoscale settings.
22
+ attr_accessor :autoscale_settings
23
+
24
+
25
+ #
26
+ # Mapper for CreateUpdateOptions class as Ruby Hash.
27
+ # This will be used for serialization/deserialization.
28
+ #
29
+ def self.mapper()
30
+ {
31
+ client_side_validation: true,
32
+ required: false,
33
+ serialized_name: 'CreateUpdateOptions',
34
+ type: {
35
+ name: 'Composite',
36
+ class_name: 'CreateUpdateOptions',
37
+ model_properties: {
38
+ throughput: {
39
+ client_side_validation: true,
40
+ required: false,
41
+ serialized_name: 'throughput',
42
+ type: {
43
+ name: 'Number'
44
+ }
45
+ },
46
+ autoscale_settings: {
47
+ client_side_validation: true,
48
+ required: false,
49
+ serialized_name: 'autoscaleSettings',
50
+ type: {
51
+ name: 'Composite',
52
+ class_name: 'AutoscaleSettings'
53
+ }
54
+ }
55
+ }
56
+ }
57
+ }
58
+ end
59
+ end
60
+ end
61
+ end
@@ -0,0 +1,20 @@
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 DataType
10
+ #
11
+ module DataType
12
+ String = "String"
13
+ Number = "Number"
14
+ Point = "Point"
15
+ Polygon = "Polygon"
16
+ LineString = "LineString"
17
+ MultiPolygon = "MultiPolygon"
18
+ end
19
+ end
20
+ 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
+ # Connection string for the Cosmos DB account
10
+ #
11
+ class DatabaseAccountConnectionString
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Value of the connection string
16
+ attr_accessor :connection_string
17
+
18
+ # @return [String] Description of the connection string
19
+ attr_accessor :description
20
+
21
+
22
+ #
23
+ # Mapper for DatabaseAccountConnectionString 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: 'DatabaseAccountConnectionString',
31
+ type: {
32
+ name: 'Composite',
33
+ class_name: 'DatabaseAccountConnectionString',
34
+ model_properties: {
35
+ connection_string: {
36
+ client_side_validation: true,
37
+ required: false,
38
+ read_only: true,
39
+ serialized_name: 'connectionString',
40
+ type: {
41
+ name: 'String'
42
+ }
43
+ },
44
+ description: {
45
+ client_side_validation: true,
46
+ required: false,
47
+ read_only: true,
48
+ serialized_name: 'description',
49
+ type: {
50
+ name: 'String'
51
+ }
52
+ }
53
+ }
54
+ }
55
+ }
56
+ end
57
+ end
58
+ end
59
+ end
@@ -0,0 +1,424 @@
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 create and update Cosmos DB database accounts.
10
+ #
11
+ class DatabaseAccountCreateUpdateParameters < ARMResourceProperties
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [DatabaseAccountKind] Indicates the type of database account.
16
+ # This can only be set at database account creation. Possible values
17
+ # include: 'GlobalDocumentDB', 'MongoDB', 'Parse'. Default value:
18
+ # 'GlobalDocumentDB' .
19
+ attr_accessor :kind
20
+
21
+ # @return [ManagedServiceIdentity]
22
+ attr_accessor :identity
23
+
24
+ # @return [ConsistencyPolicy] The consistency policy for the Cosmos DB
25
+ # account.
26
+ attr_accessor :consistency_policy
27
+
28
+ # @return [Array<Location>] An array that contains the georeplication
29
+ # locations enabled for the Cosmos DB account.
30
+ attr_accessor :locations
31
+
32
+ # @return [String] The offer type for the database. Default value:
33
+ # 'Standard' .
34
+ attr_accessor :database_account_offer_type
35
+
36
+ # @return [Array<IpAddressOrRange>] List of IpRules.
37
+ attr_accessor :ip_rules
38
+
39
+ # @return [Boolean] Flag to indicate whether to enable/disable Virtual
40
+ # Network ACL rules.
41
+ attr_accessor :is_virtual_network_filter_enabled
42
+
43
+ # @return [Boolean] Enables automatic failover of the write region in the
44
+ # rare event that the region is unavailable due to an outage. Automatic
45
+ # failover will result in a new write region for the account and is
46
+ # chosen based on the failover priorities configured for the account.
47
+ attr_accessor :enable_automatic_failover
48
+
49
+ # @return [Array<Capability>] List of Cosmos DB capabilities for the
50
+ # account
51
+ attr_accessor :capabilities
52
+
53
+ # @return [Array<VirtualNetworkRule>] List of Virtual Network ACL rules
54
+ # configured for the Cosmos DB account.
55
+ attr_accessor :virtual_network_rules
56
+
57
+ # @return [Boolean] Enables the account to write in multiple locations
58
+ attr_accessor :enable_multiple_write_locations
59
+
60
+ # @return [Boolean] Enables the cassandra connector on the Cosmos DB C*
61
+ # account
62
+ attr_accessor :enable_cassandra_connector
63
+
64
+ # @return [ConnectorOffer] The cassandra connector offer type for the
65
+ # Cosmos DB database C* account. Possible values include: 'Small'
66
+ attr_accessor :connector_offer
67
+
68
+ # @return [Boolean] Disable write operations on metadata resources
69
+ # (databases, containers, throughput) via account keys
70
+ attr_accessor :disable_key_based_metadata_write_access
71
+
72
+ # @return [String] The URI of the key vault
73
+ attr_accessor :key_vault_key_uri
74
+
75
+ # @return [PublicNetworkAccess] Whether requests from Public Network are
76
+ # allowed. Possible values include: 'Enabled', 'Disabled'
77
+ attr_accessor :public_network_access
78
+
79
+ # @return [Boolean] Flag to indicate whether Free Tier is enabled.
80
+ attr_accessor :enable_free_tier
81
+
82
+ # @return [ApiProperties] API specific properties. Currently, supported
83
+ # only for MongoDB API.
84
+ attr_accessor :api_properties
85
+
86
+ # @return [Boolean] Flag to indicate whether to enable storage analytics.
87
+ attr_accessor :enable_analytical_storage
88
+
89
+ # @return [BackupPolicy] The object representing the policy for taking
90
+ # backups on an account.
91
+ attr_accessor :backup_policy
92
+
93
+ # @return [Array<CorsPolicy>] The CORS policy for the Cosmos DB database
94
+ # account.
95
+ attr_accessor :cors
96
+
97
+ # @return [NetworkAclBypass] Indicates what services are allowed to
98
+ # bypass firewall checks. Possible values include: 'None',
99
+ # 'AzureServices'
100
+ attr_accessor :network_acl_bypass
101
+
102
+ # @return [Array<String>] An array that contains the Resource Ids for
103
+ # Network Acl Bypass for the Cosmos DB account.
104
+ attr_accessor :network_acl_bypass_resource_ids
105
+
106
+
107
+ #
108
+ # Mapper for DatabaseAccountCreateUpdateParameters class as Ruby Hash.
109
+ # This will be used for serialization/deserialization.
110
+ #
111
+ def self.mapper()
112
+ {
113
+ client_side_validation: true,
114
+ required: false,
115
+ serialized_name: 'DatabaseAccountCreateUpdateParameters',
116
+ type: {
117
+ name: 'Composite',
118
+ class_name: 'DatabaseAccountCreateUpdateParameters',
119
+ model_properties: {
120
+ id: {
121
+ client_side_validation: true,
122
+ required: false,
123
+ read_only: true,
124
+ serialized_name: 'id',
125
+ type: {
126
+ name: 'String'
127
+ }
128
+ },
129
+ name: {
130
+ client_side_validation: true,
131
+ required: false,
132
+ read_only: true,
133
+ serialized_name: 'name',
134
+ type: {
135
+ name: 'String'
136
+ }
137
+ },
138
+ type: {
139
+ client_side_validation: true,
140
+ required: false,
141
+ read_only: true,
142
+ serialized_name: 'type',
143
+ type: {
144
+ name: 'String'
145
+ }
146
+ },
147
+ location: {
148
+ client_side_validation: true,
149
+ required: false,
150
+ serialized_name: 'location',
151
+ type: {
152
+ name: 'String'
153
+ }
154
+ },
155
+ tags: {
156
+ client_side_validation: true,
157
+ required: false,
158
+ serialized_name: 'tags',
159
+ type: {
160
+ name: 'Dictionary',
161
+ value: {
162
+ client_side_validation: true,
163
+ required: false,
164
+ serialized_name: 'StringElementType',
165
+ type: {
166
+ name: 'String'
167
+ }
168
+ }
169
+ }
170
+ },
171
+ kind: {
172
+ client_side_validation: true,
173
+ required: false,
174
+ serialized_name: 'kind',
175
+ default_value: 'GlobalDocumentDB',
176
+ type: {
177
+ name: 'String'
178
+ }
179
+ },
180
+ identity: {
181
+ client_side_validation: true,
182
+ required: false,
183
+ serialized_name: 'identity',
184
+ type: {
185
+ name: 'Composite',
186
+ class_name: 'ManagedServiceIdentity'
187
+ }
188
+ },
189
+ consistency_policy: {
190
+ client_side_validation: true,
191
+ required: false,
192
+ serialized_name: 'properties.consistencyPolicy',
193
+ type: {
194
+ name: 'Composite',
195
+ class_name: 'ConsistencyPolicy'
196
+ }
197
+ },
198
+ locations: {
199
+ client_side_validation: true,
200
+ required: true,
201
+ serialized_name: 'properties.locations',
202
+ type: {
203
+ name: 'Sequence',
204
+ element: {
205
+ client_side_validation: true,
206
+ required: false,
207
+ serialized_name: 'LocationElementType',
208
+ type: {
209
+ name: 'Composite',
210
+ class_name: 'Location'
211
+ }
212
+ }
213
+ }
214
+ },
215
+ database_account_offer_type: {
216
+ client_side_validation: true,
217
+ required: true,
218
+ is_constant: true,
219
+ serialized_name: 'properties.databaseAccountOfferType',
220
+ default_value: 'Standard',
221
+ type: {
222
+ name: 'String'
223
+ }
224
+ },
225
+ ip_rules: {
226
+ client_side_validation: true,
227
+ required: false,
228
+ serialized_name: 'properties.ipRules',
229
+ type: {
230
+ name: 'Sequence',
231
+ element: {
232
+ client_side_validation: true,
233
+ required: false,
234
+ serialized_name: 'IpAddressOrRangeElementType',
235
+ type: {
236
+ name: 'Composite',
237
+ class_name: 'IpAddressOrRange'
238
+ }
239
+ }
240
+ }
241
+ },
242
+ is_virtual_network_filter_enabled: {
243
+ client_side_validation: true,
244
+ required: false,
245
+ serialized_name: 'properties.isVirtualNetworkFilterEnabled',
246
+ type: {
247
+ name: 'Boolean'
248
+ }
249
+ },
250
+ enable_automatic_failover: {
251
+ client_side_validation: true,
252
+ required: false,
253
+ serialized_name: 'properties.enableAutomaticFailover',
254
+ type: {
255
+ name: 'Boolean'
256
+ }
257
+ },
258
+ capabilities: {
259
+ client_side_validation: true,
260
+ required: false,
261
+ serialized_name: 'properties.capabilities',
262
+ type: {
263
+ name: 'Sequence',
264
+ element: {
265
+ client_side_validation: true,
266
+ required: false,
267
+ serialized_name: 'CapabilityElementType',
268
+ type: {
269
+ name: 'Composite',
270
+ class_name: 'Capability'
271
+ }
272
+ }
273
+ }
274
+ },
275
+ virtual_network_rules: {
276
+ client_side_validation: true,
277
+ required: false,
278
+ serialized_name: 'properties.virtualNetworkRules',
279
+ type: {
280
+ name: 'Sequence',
281
+ element: {
282
+ client_side_validation: true,
283
+ required: false,
284
+ serialized_name: 'VirtualNetworkRuleElementType',
285
+ type: {
286
+ name: 'Composite',
287
+ class_name: 'VirtualNetworkRule'
288
+ }
289
+ }
290
+ }
291
+ },
292
+ enable_multiple_write_locations: {
293
+ client_side_validation: true,
294
+ required: false,
295
+ serialized_name: 'properties.enableMultipleWriteLocations',
296
+ type: {
297
+ name: 'Boolean'
298
+ }
299
+ },
300
+ enable_cassandra_connector: {
301
+ client_side_validation: true,
302
+ required: false,
303
+ serialized_name: 'properties.enableCassandraConnector',
304
+ type: {
305
+ name: 'Boolean'
306
+ }
307
+ },
308
+ connector_offer: {
309
+ client_side_validation: true,
310
+ required: false,
311
+ serialized_name: 'properties.connectorOffer',
312
+ type: {
313
+ name: 'String'
314
+ }
315
+ },
316
+ disable_key_based_metadata_write_access: {
317
+ client_side_validation: true,
318
+ required: false,
319
+ serialized_name: 'properties.disableKeyBasedMetadataWriteAccess',
320
+ type: {
321
+ name: 'Boolean'
322
+ }
323
+ },
324
+ key_vault_key_uri: {
325
+ client_side_validation: true,
326
+ required: false,
327
+ serialized_name: 'properties.keyVaultKeyUri',
328
+ type: {
329
+ name: 'String'
330
+ }
331
+ },
332
+ public_network_access: {
333
+ client_side_validation: true,
334
+ required: false,
335
+ serialized_name: 'properties.publicNetworkAccess',
336
+ type: {
337
+ name: 'String'
338
+ }
339
+ },
340
+ enable_free_tier: {
341
+ client_side_validation: true,
342
+ required: false,
343
+ serialized_name: 'properties.enableFreeTier',
344
+ type: {
345
+ name: 'Boolean'
346
+ }
347
+ },
348
+ api_properties: {
349
+ client_side_validation: true,
350
+ required: false,
351
+ serialized_name: 'properties.apiProperties',
352
+ type: {
353
+ name: 'Composite',
354
+ class_name: 'ApiProperties'
355
+ }
356
+ },
357
+ enable_analytical_storage: {
358
+ client_side_validation: true,
359
+ required: false,
360
+ serialized_name: 'properties.enableAnalyticalStorage',
361
+ type: {
362
+ name: 'Boolean'
363
+ }
364
+ },
365
+ backup_policy: {
366
+ client_side_validation: true,
367
+ required: false,
368
+ serialized_name: 'properties.backupPolicy',
369
+ type: {
370
+ name: 'Composite',
371
+ polymorphic_discriminator: 'type',
372
+ uber_parent: 'BackupPolicy',
373
+ class_name: 'BackupPolicy'
374
+ }
375
+ },
376
+ cors: {
377
+ client_side_validation: true,
378
+ required: false,
379
+ serialized_name: 'properties.cors',
380
+ type: {
381
+ name: 'Sequence',
382
+ element: {
383
+ client_side_validation: true,
384
+ required: false,
385
+ serialized_name: 'CorsPolicyElementType',
386
+ type: {
387
+ name: 'Composite',
388
+ class_name: 'CorsPolicy'
389
+ }
390
+ }
391
+ }
392
+ },
393
+ network_acl_bypass: {
394
+ client_side_validation: true,
395
+ required: false,
396
+ serialized_name: 'properties.networkAclBypass',
397
+ type: {
398
+ name: 'Enum',
399
+ module: 'NetworkAclBypass'
400
+ }
401
+ },
402
+ network_acl_bypass_resource_ids: {
403
+ client_side_validation: true,
404
+ required: false,
405
+ serialized_name: 'properties.networkAclBypassResourceIds',
406
+ type: {
407
+ name: 'Sequence',
408
+ element: {
409
+ client_side_validation: true,
410
+ required: false,
411
+ serialized_name: 'StringElementType',
412
+ type: {
413
+ name: 'String'
414
+ }
415
+ }
416
+ }
417
+ }
418
+ }
419
+ }
420
+ }
421
+ end
422
+ end
423
+ end
424
+ end