azure_mgmt_cosmosdb 0.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (125) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb.rb +140 -0
  4. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/collection.rb +371 -0
  5. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/collection_partition.rb +267 -0
  6. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/collection_partition_region.rb +155 -0
  7. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/collection_region.rb +155 -0
  8. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/cosmos_db.rb +180 -0
  9. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/database.rb +359 -0
  10. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/database_account_region.rb +147 -0
  11. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/database_accounts.rb +6805 -0
  12. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/capability.rb +48 -0
  13. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/cassandra_keyspace.rb +97 -0
  14. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/cassandra_keyspace_create_update_parameters.rb +69 -0
  15. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/cassandra_keyspace_list_result.rb +58 -0
  16. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/cassandra_keyspace_resource.rb +46 -0
  17. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/cassandra_partition_key.rb +46 -0
  18. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/cassandra_schema.rb +95 -0
  19. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/cassandra_table.rb +120 -0
  20. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/cassandra_table_create_update_parameters.rb +69 -0
  21. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/cassandra_table_list_result.rb +58 -0
  22. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/cassandra_table_resource.rb +69 -0
  23. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/cluster_key.rb +58 -0
  24. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/column.rb +57 -0
  25. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/conflict_resolution_mode.rb +16 -0
  26. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/conflict_resolution_policy.rb +73 -0
  27. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/consistency_policy.rb +86 -0
  28. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/container_partition_key.rb +70 -0
  29. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/data_type.rb +20 -0
  30. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/database_account.rb +313 -0
  31. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/database_account_connection_string.rb +59 -0
  32. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/database_account_create_update_parameters.rb +243 -0
  33. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/database_account_kind.rb +17 -0
  34. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/database_account_list_connection_strings_result.rb +57 -0
  35. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/database_account_list_keys_result.rb +83 -0
  36. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/database_account_list_read_only_keys_result.rb +59 -0
  37. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/database_account_offer_type.rb +15 -0
  38. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/database_account_patch_parameters.rb +75 -0
  39. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/database_account_regenerate_key_parameters.rb +47 -0
  40. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/database_accounts_list_result.rb +58 -0
  41. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/default_consistency_level.rb +19 -0
  42. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/error_response.rb +57 -0
  43. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/excluded_path.rb +48 -0
  44. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/extended_resource_properties.rb +71 -0
  45. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/failover_policies.rb +55 -0
  46. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/failover_policy.rb +79 -0
  47. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/gremlin_database.rb +132 -0
  48. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/gremlin_database_create_update_parameters.rb +69 -0
  49. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/gremlin_database_list_result.rb +58 -0
  50. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/gremlin_database_resource.rb +46 -0
  51. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/gremlin_graph.rb +197 -0
  52. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/gremlin_graph_create_update_parameters.rb +69 -0
  53. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/gremlin_graph_list_result.rb +57 -0
  54. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/gremlin_graph_resource.rb +111 -0
  55. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/included_path.rb +67 -0
  56. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/index_kind.rb +17 -0
  57. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/indexes.rb +73 -0
  58. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/indexing_mode.rb +17 -0
  59. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/indexing_policy.rb +99 -0
  60. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/key_kind.rb +18 -0
  61. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/location.rb +102 -0
  62. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/metric.rb +120 -0
  63. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/metric_availability.rb +60 -0
  64. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/metric_definition.rb +109 -0
  65. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/metric_definitions_list_result.rb +57 -0
  66. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/metric_list_result.rb +56 -0
  67. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/metric_name.rb +59 -0
  68. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/metric_value.rb +107 -0
  69. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/mongo_dbcollection.rb +137 -0
  70. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/mongo_dbcollection_create_update_parameters.rb +69 -0
  71. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/mongo_dbcollection_list_result.rb +58 -0
  72. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/mongo_dbcollection_resource.rb +86 -0
  73. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/mongo_dbdatabase.rb +97 -0
  74. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/mongo_dbdatabase_create_update_parameters.rb +69 -0
  75. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/mongo_dbdatabase_list_result.rb +58 -0
  76. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/mongo_dbdatabase_resource.rb +46 -0
  77. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/mongo_index.rb +60 -0
  78. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/mongo_index_keys.rb +55 -0
  79. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/mongo_index_options.rb +57 -0
  80. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/operation.rb +58 -0
  81. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/operation_display.rb +80 -0
  82. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/operation_list_result.rb +101 -0
  83. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/partition_kind.rb +16 -0
  84. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/partition_metric.rb +124 -0
  85. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/partition_metric_list_result.rb +57 -0
  86. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/partition_usage.rb +105 -0
  87. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/partition_usages_result.rb +57 -0
  88. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/percentile_metric.rb +120 -0
  89. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/percentile_metric_list_result.rb +57 -0
  90. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/percentile_metric_value.rb +173 -0
  91. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/primary_aggregation_type.rb +20 -0
  92. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/region_for_online_offline.rb +47 -0
  93. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/resource.rb +112 -0
  94. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/sql_container.rb +197 -0
  95. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/sql_container_create_update_parameters.rb +68 -0
  96. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/sql_container_list_result.rb +57 -0
  97. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/sql_container_resource.rb +111 -0
  98. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/sql_database.rb +156 -0
  99. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/sql_database_create_update_parameters.rb +69 -0
  100. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/sql_database_list_result.rb +58 -0
  101. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/sql_database_resource.rb +46 -0
  102. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/table.rb +97 -0
  103. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/table_create_update_parameters.rb +68 -0
  104. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/table_list_result.rb +57 -0
  105. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/table_resource.rb +46 -0
  106. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/unique_key.rb +56 -0
  107. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/unique_key_policy.rb +58 -0
  108. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/unit_type.rb +21 -0
  109. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/usage.rb +97 -0
  110. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/usages_result.rb +57 -0
  111. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/virtual_network_rule.rb +59 -0
  112. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/module_definition.rb +9 -0
  113. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/operations.rb +219 -0
  114. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/partition_key_range_id.rb +155 -0
  115. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/partition_key_range_id_region.rb +162 -0
  116. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/percentile.rb +140 -0
  117. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/percentile_source_target.rb +157 -0
  118. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/percentile_target.rb +147 -0
  119. data/lib/azure_mgmt_cosmosdb.rb +6 -0
  120. data/lib/module_definition.rb +7 -0
  121. data/lib/profiles/latest/cosmosdb_latest_profile_client.rb +40 -0
  122. data/lib/profiles/latest/cosmosdb_module_definition.rb +8 -0
  123. data/lib/profiles/latest/modules/cosmosdb_profile_module.rb +485 -0
  124. data/lib/version.rb +7 -0
  125. metadata +240 -0
@@ -0,0 +1,147 @@
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::V2015_04_08
7
+ #
8
+ # Azure Cosmos DB Database Service Resource Provider REST API
9
+ #
10
+ class PercentileTarget
11
+ include MsRestAzure
12
+
13
+ #
14
+ # Creates and initializes a new instance of the PercentileTarget class.
15
+ # @param client service class for accessing basic functionality.
16
+ #
17
+ def initialize(client)
18
+ @client = client
19
+ end
20
+
21
+ # @return [CosmosDB] reference to the CosmosDB
22
+ attr_reader :client
23
+
24
+ #
25
+ # Retrieves the metrics determined by the given filter for the given account
26
+ # target region. This url is only for PBS and Replication Latency data
27
+ #
28
+ # @param resource_group_name [String] Name of an Azure resource group.
29
+ # @param account_name [String] Cosmos DB database account name.
30
+ # @param target_region [String] Target region to which data is written. Cosmos
31
+ # DB region, with spaces between words and each word capitalized.
32
+ # @param filter [String] An OData filter expression that describes a subset of
33
+ # metrics to return. The parameters that can be filtered are name.value (name
34
+ # of the metric, can have an or of multiple names), startTime, endTime, and
35
+ # timeGrain. The supported operator is eq.
36
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
37
+ # will be added to the HTTP request.
38
+ #
39
+ # @return [PercentileMetricListResult] operation results.
40
+ #
41
+ def list_metrics(resource_group_name, account_name, target_region, filter, custom_headers:nil)
42
+ response = list_metrics_async(resource_group_name, account_name, target_region, filter, custom_headers:custom_headers).value!
43
+ response.body unless response.nil?
44
+ end
45
+
46
+ #
47
+ # Retrieves the metrics determined by the given filter for the given account
48
+ # target region. This url is only for PBS and Replication Latency data
49
+ #
50
+ # @param resource_group_name [String] Name of an Azure resource group.
51
+ # @param account_name [String] Cosmos DB database account name.
52
+ # @param target_region [String] Target region to which data is written. Cosmos
53
+ # DB region, with spaces between words and each word capitalized.
54
+ # @param filter [String] An OData filter expression that describes a subset of
55
+ # metrics to return. The parameters that can be filtered are name.value (name
56
+ # of the metric, can have an or of multiple names), startTime, endTime, and
57
+ # timeGrain. The supported operator is eq.
58
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
59
+ # will be added to the HTTP request.
60
+ #
61
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
62
+ #
63
+ def list_metrics_with_http_info(resource_group_name, account_name, target_region, filter, custom_headers:nil)
64
+ list_metrics_async(resource_group_name, account_name, target_region, filter, custom_headers:custom_headers).value!
65
+ end
66
+
67
+ #
68
+ # Retrieves the metrics determined by the given filter for the given account
69
+ # target region. This url is only for PBS and Replication Latency data
70
+ #
71
+ # @param resource_group_name [String] Name of an Azure resource group.
72
+ # @param account_name [String] Cosmos DB database account name.
73
+ # @param target_region [String] Target region to which data is written. Cosmos
74
+ # DB region, with spaces between words and each word capitalized.
75
+ # @param filter [String] An OData filter expression that describes a subset of
76
+ # metrics to return. The parameters that can be filtered are name.value (name
77
+ # of the metric, can have an or of multiple names), startTime, endTime, and
78
+ # timeGrain. The supported operator is eq.
79
+ # @param [Hash{String => String}] A hash of custom headers that will be added
80
+ # to the HTTP request.
81
+ #
82
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
83
+ #
84
+ def list_metrics_async(resource_group_name, account_name, target_region, filter, custom_headers:nil)
85
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
86
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
87
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
88
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
89
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
90
+ fail ArgumentError, 'account_name is nil' if account_name.nil?
91
+ fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '50'" if !account_name.nil? && account_name.length > 50
92
+ fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3
93
+ fail ArgumentError, 'target_region is nil' if target_region.nil?
94
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
95
+ fail ArgumentError, 'filter is nil' if filter.nil?
96
+
97
+
98
+ request_headers = {}
99
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
100
+
101
+ # Set Headers
102
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
103
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
104
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/targetRegion/{targetRegion}/percentile/metrics'
105
+
106
+ request_url = @base_url || @client.base_url
107
+
108
+ options = {
109
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
110
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'accountName' => account_name,'targetRegion' => target_region},
111
+ query_params: {'api-version' => @client.api_version,'$filter' => filter},
112
+ headers: request_headers.merge(custom_headers || {}),
113
+ base_url: request_url
114
+ }
115
+ promise = @client.make_request_async(:get, path_template, options)
116
+
117
+ promise = promise.then do |result|
118
+ http_response = result.response
119
+ status_code = http_response.status
120
+ response_content = http_response.body
121
+ unless status_code == 200
122
+ error_model = JSON.load(response_content)
123
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
124
+ end
125
+
126
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
127
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
128
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
129
+ # Deserialize Response
130
+ if status_code == 200
131
+ begin
132
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
133
+ result_mapper = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::PercentileMetricListResult.mapper()
134
+ result.body = @client.deserialize(result_mapper, parsed_response)
135
+ rescue Exception => e
136
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
137
+ end
138
+ end
139
+
140
+ result
141
+ end
142
+
143
+ promise.execute
144
+ end
145
+
146
+ end
147
+ end
@@ -0,0 +1,6 @@
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ require '2015-04-08/generated/azure_mgmt_cosmosdb'
6
+ require 'profiles/latest/cosmosdb_latest_profile_client'
@@ -0,0 +1,7 @@
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ module Azure end
6
+ module Azure::Cosmosdb end
7
+ module Azure::Cosmosdb::Mgmt end
@@ -0,0 +1,40 @@
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ require 'profiles/latest/cosmosdb_module_definition'
6
+ require 'profiles/latest/modules/cosmosdb_profile_module'
7
+
8
+ module Azure::Cosmosdb::Profiles::Latest
9
+ module Mgmt
10
+ #
11
+ # Client class for the Latest profile SDK.
12
+ #
13
+ class Client < CosmosdbManagementClass
14
+ include MsRestAzure::Common::Configurable
15
+
16
+ #
17
+ # Initializes a new instance of the Client class.
18
+ # @param options [Hash] hash of client options.
19
+ # options = {
20
+ # tenant_id: 'YOUR TENANT ID',
21
+ # client_id: 'YOUR CLIENT ID',
22
+ # client_secret: 'YOUR CLIENT SECRET',
23
+ # subscription_id: 'YOUR SUBSCRIPTION ID',
24
+ # credentials: credentials,
25
+ # active_directory_settings: active_directory_settings,
26
+ # base_url: 'YOUR BASE URL',
27
+ # options: options
28
+ # }
29
+ # 'credentials' are optional and if not passed in the hash, will be obtained
30
+ # from MsRest::TokenCredentials using MsRestAzure::ApplicationTokenProvider.
31
+ #
32
+ # Also, base_url, active_directory_settings & options are optional.
33
+ #
34
+ def initialize(options = {})
35
+ super(options)
36
+ end
37
+
38
+ end
39
+ end
40
+ end
@@ -0,0 +1,8 @@
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ module Azure end
6
+ module Azure::Cosmosdb end
7
+ module Azure::Cosmosdb::Profiles end
8
+ module Azure::Cosmosdb::Profiles::Latest end
@@ -0,0 +1,485 @@
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ require 'azure_mgmt_cosmosdb'
6
+
7
+ module Azure::Cosmosdb::Profiles::Latest
8
+ module Mgmt
9
+ DatabaseAccounts = Azure::Cosmosdb::Mgmt::V2015_04_08::DatabaseAccounts
10
+ Operations = Azure::Cosmosdb::Mgmt::V2015_04_08::Operations
11
+ Database = Azure::Cosmosdb::Mgmt::V2015_04_08::Database
12
+ Collection = Azure::Cosmosdb::Mgmt::V2015_04_08::Collection
13
+ CollectionRegion = Azure::Cosmosdb::Mgmt::V2015_04_08::CollectionRegion
14
+ DatabaseAccountRegion = Azure::Cosmosdb::Mgmt::V2015_04_08::DatabaseAccountRegion
15
+ PercentileSourceTarget = Azure::Cosmosdb::Mgmt::V2015_04_08::PercentileSourceTarget
16
+ PercentileTarget = Azure::Cosmosdb::Mgmt::V2015_04_08::PercentileTarget
17
+ Percentile = Azure::Cosmosdb::Mgmt::V2015_04_08::Percentile
18
+ CollectionPartitionRegion = Azure::Cosmosdb::Mgmt::V2015_04_08::CollectionPartitionRegion
19
+ CollectionPartition = Azure::Cosmosdb::Mgmt::V2015_04_08::CollectionPartition
20
+ PartitionKeyRangeId = Azure::Cosmosdb::Mgmt::V2015_04_08::PartitionKeyRangeId
21
+ PartitionKeyRangeIdRegion = Azure::Cosmosdb::Mgmt::V2015_04_08::PartitionKeyRangeIdRegion
22
+
23
+ module Models
24
+ DatabaseAccountRegenerateKeyParameters = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::DatabaseAccountRegenerateKeyParameters
25
+ SqlDatabaseResource = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::SqlDatabaseResource
26
+ Capability = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::Capability
27
+ SqlDatabaseCreateUpdateParameters = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::SqlDatabaseCreateUpdateParameters
28
+ FailoverPolicy = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::FailoverPolicy
29
+ SqlContainerResource = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::SqlContainerResource
30
+ DatabaseAccountListReadOnlyKeysResult = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::DatabaseAccountListReadOnlyKeysResult
31
+ DatabaseAccountListKeysResult = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::DatabaseAccountListKeysResult
32
+ DatabaseAccountConnectionString = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::DatabaseAccountConnectionString
33
+ Indexes = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::Indexes
34
+ DatabaseAccountListConnectionStringsResult = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::DatabaseAccountListConnectionStringsResult
35
+ ExcludedPath = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::ExcludedPath
36
+ ConsistencyPolicy = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::ConsistencyPolicy
37
+ ContainerPartitionKey = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::ContainerPartitionKey
38
+ Location = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::Location
39
+ UniqueKeyPolicy = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::UniqueKeyPolicy
40
+ VirtualNetworkRule = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::VirtualNetworkRule
41
+ PartitionMetricListResult = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::PartitionMetricListResult
42
+ PartitionUsagesResult = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::PartitionUsagesResult
43
+ PercentileMetricListResult = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::PercentileMetricListResult
44
+ SqlContainerCreateUpdateParameters = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::SqlContainerCreateUpdateParameters
45
+ PercentileMetric = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::PercentileMetric
46
+ MongoDBDatabaseResource = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::MongoDBDatabaseResource
47
+ MetricListResult = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::MetricListResult
48
+ MongoDBDatabaseCreateUpdateParameters = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::MongoDBDatabaseCreateUpdateParameters
49
+ Metric = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::Metric
50
+ MongoIndexKeys = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::MongoIndexKeys
51
+ MetricValue = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::MetricValue
52
+ MongoIndexOptions = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::MongoIndexOptions
53
+ MetricDefinitionsListResult = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::MetricDefinitionsListResult
54
+ MongoIndex = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::MongoIndex
55
+ MetricDefinition = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::MetricDefinition
56
+ MongoDBCollectionResource = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::MongoDBCollectionResource
57
+ ErrorResponse = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::ErrorResponse
58
+ MongoDBCollectionCreateUpdateParameters = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::MongoDBCollectionCreateUpdateParameters
59
+ RegionForOnlineOffline = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::RegionForOnlineOffline
60
+ TableResource = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::TableResource
61
+ ExtendedResourceProperties = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::ExtendedResourceProperties
62
+ TableCreateUpdateParameters = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::TableCreateUpdateParameters
63
+ DatabaseAccountPatchParameters = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::DatabaseAccountPatchParameters
64
+ CassandraKeyspaceResource = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::CassandraKeyspaceResource
65
+ SqlDatabaseListResult = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::SqlDatabaseListResult
66
+ CassandraKeyspaceCreateUpdateParameters = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::CassandraKeyspaceCreateUpdateParameters
67
+ IndexingPolicy = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::IndexingPolicy
68
+ Column = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::Column
69
+ ConflictResolutionPolicy = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::ConflictResolutionPolicy
70
+ CassandraPartitionKey = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::CassandraPartitionKey
71
+ MongoDBDatabaseListResult = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::MongoDBDatabaseListResult
72
+ ClusterKey = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::ClusterKey
73
+ TableListResult = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::TableListResult
74
+ CassandraSchema = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::CassandraSchema
75
+ CassandraTableListResult = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::CassandraTableListResult
76
+ CassandraTableResource = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::CassandraTableResource
77
+ GremlinGraphListResult = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::GremlinGraphListResult
78
+ CassandraTableCreateUpdateParameters = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::CassandraTableCreateUpdateParameters
79
+ Resource = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::Resource
80
+ GremlinDatabaseResource = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::GremlinDatabaseResource
81
+ DatabaseAccountsListResult = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::DatabaseAccountsListResult
82
+ GremlinDatabaseCreateUpdateParameters = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::GremlinDatabaseCreateUpdateParameters
83
+ UniqueKey = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::UniqueKey
84
+ GremlinGraphResource = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::GremlinGraphResource
85
+ MongoDBCollectionListResult = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::MongoDBCollectionListResult
86
+ GremlinGraphCreateUpdateParameters = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::GremlinGraphCreateUpdateParameters
87
+ GremlinDatabaseListResult = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::GremlinDatabaseListResult
88
+ OperationDisplay = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::OperationDisplay
89
+ MetricAvailability = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::MetricAvailability
90
+ Operation = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::Operation
91
+ SqlContainerListResult = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::SqlContainerListResult
92
+ OperationListResult = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::OperationListResult
93
+ FailoverPolicies = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::FailoverPolicies
94
+ MetricName = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::MetricName
95
+ CassandraKeyspaceListResult = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::CassandraKeyspaceListResult
96
+ Usage = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::Usage
97
+ IncludedPath = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::IncludedPath
98
+ UsagesResult = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::UsagesResult
99
+ DatabaseAccount = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::DatabaseAccount
100
+ SqlDatabase = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::SqlDatabase
101
+ SqlContainer = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::SqlContainer
102
+ MongoDBDatabase = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::MongoDBDatabase
103
+ MongoDBCollection = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::MongoDBCollection
104
+ Table = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::Table
105
+ CassandraKeyspace = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::CassandraKeyspace
106
+ CassandraTable = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::CassandraTable
107
+ GremlinDatabase = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::GremlinDatabase
108
+ GremlinGraph = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::GremlinGraph
109
+ DatabaseAccountCreateUpdateParameters = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::DatabaseAccountCreateUpdateParameters
110
+ PartitionUsage = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::PartitionUsage
111
+ PercentileMetricValue = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::PercentileMetricValue
112
+ PartitionMetric = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::PartitionMetric
113
+ DatabaseAccountKind = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::DatabaseAccountKind
114
+ DatabaseAccountOfferType = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::DatabaseAccountOfferType
115
+ DefaultConsistencyLevel = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::DefaultConsistencyLevel
116
+ IndexingMode = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::IndexingMode
117
+ DataType = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::DataType
118
+ IndexKind = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::IndexKind
119
+ PartitionKind = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::PartitionKind
120
+ ConflictResolutionMode = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::ConflictResolutionMode
121
+ KeyKind = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::KeyKind
122
+ UnitType = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::UnitType
123
+ PrimaryAggregationType = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::PrimaryAggregationType
124
+ end
125
+
126
+ #
127
+ # CosmosdbManagementClass
128
+ #
129
+ class CosmosdbManagementClass
130
+ attr_reader :database_accounts, :operations, :database, :collection, :collection_region, :database_account_region, :percentile_source_target, :percentile_target, :percentile, :collection_partition_region, :collection_partition, :partition_key_range_id, :partition_key_range_id_region, :configurable, :base_url, :options, :model_classes
131
+
132
+ def initialize(options = {})
133
+ if options.is_a?(Hash) && options.length == 0
134
+ @options = setup_default_options
135
+ else
136
+ @options = options
137
+ end
138
+
139
+ reset!(options)
140
+
141
+ @configurable = self
142
+ @base_url = options[:base_url].nil? ? nil:options[:base_url]
143
+ @options = options[:options].nil? ? nil:options[:options]
144
+
145
+ @client_0 = Azure::Cosmosdb::Mgmt::V2015_04_08::CosmosDB.new(configurable.credentials, base_url, options)
146
+ if(@client_0.respond_to?(:subscription_id))
147
+ @client_0.subscription_id = configurable.subscription_id
148
+ end
149
+ add_telemetry(@client_0)
150
+ @database_accounts = @client_0.database_accounts
151
+ @operations = @client_0.operations
152
+ @database = @client_0.database
153
+ @collection = @client_0.collection
154
+ @collection_region = @client_0.collection_region
155
+ @database_account_region = @client_0.database_account_region
156
+ @percentile_source_target = @client_0.percentile_source_target
157
+ @percentile_target = @client_0.percentile_target
158
+ @percentile = @client_0.percentile
159
+ @collection_partition_region = @client_0.collection_partition_region
160
+ @collection_partition = @client_0.collection_partition
161
+ @partition_key_range_id = @client_0.partition_key_range_id
162
+ @partition_key_range_id_region = @client_0.partition_key_range_id_region
163
+
164
+ @model_classes = ModelClasses.new
165
+ end
166
+
167
+ def add_telemetry(client)
168
+ profile_information = 'Profiles/Latest/Cosmosdb/Mgmt'
169
+ client.add_user_agent_information(profile_information)
170
+ end
171
+
172
+ def method_missing(method, *args)
173
+ if @client_0.respond_to?method
174
+ @client_0.send(method, *args)
175
+ else
176
+ super
177
+ end
178
+ end
179
+
180
+ end
181
+
182
+ class ModelClasses
183
+ def database_account_regenerate_key_parameters
184
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::DatabaseAccountRegenerateKeyParameters
185
+ end
186
+ def sql_database_resource
187
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::SqlDatabaseResource
188
+ end
189
+ def capability
190
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::Capability
191
+ end
192
+ def sql_database_create_update_parameters
193
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::SqlDatabaseCreateUpdateParameters
194
+ end
195
+ def failover_policy
196
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::FailoverPolicy
197
+ end
198
+ def sql_container_resource
199
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::SqlContainerResource
200
+ end
201
+ def database_account_list_read_only_keys_result
202
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::DatabaseAccountListReadOnlyKeysResult
203
+ end
204
+ def database_account_list_keys_result
205
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::DatabaseAccountListKeysResult
206
+ end
207
+ def database_account_connection_string
208
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::DatabaseAccountConnectionString
209
+ end
210
+ def indexes
211
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::Indexes
212
+ end
213
+ def database_account_list_connection_strings_result
214
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::DatabaseAccountListConnectionStringsResult
215
+ end
216
+ def excluded_path
217
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::ExcludedPath
218
+ end
219
+ def consistency_policy
220
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::ConsistencyPolicy
221
+ end
222
+ def container_partition_key
223
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::ContainerPartitionKey
224
+ end
225
+ def location
226
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::Location
227
+ end
228
+ def unique_key_policy
229
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::UniqueKeyPolicy
230
+ end
231
+ def virtual_network_rule
232
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::VirtualNetworkRule
233
+ end
234
+ def partition_metric_list_result
235
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::PartitionMetricListResult
236
+ end
237
+ def partition_usages_result
238
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::PartitionUsagesResult
239
+ end
240
+ def percentile_metric_list_result
241
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::PercentileMetricListResult
242
+ end
243
+ def sql_container_create_update_parameters
244
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::SqlContainerCreateUpdateParameters
245
+ end
246
+ def percentile_metric
247
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::PercentileMetric
248
+ end
249
+ def mongo_dbdatabase_resource
250
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::MongoDBDatabaseResource
251
+ end
252
+ def metric_list_result
253
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::MetricListResult
254
+ end
255
+ def mongo_dbdatabase_create_update_parameters
256
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::MongoDBDatabaseCreateUpdateParameters
257
+ end
258
+ def metric
259
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::Metric
260
+ end
261
+ def mongo_index_keys
262
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::MongoIndexKeys
263
+ end
264
+ def metric_value
265
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::MetricValue
266
+ end
267
+ def mongo_index_options
268
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::MongoIndexOptions
269
+ end
270
+ def metric_definitions_list_result
271
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::MetricDefinitionsListResult
272
+ end
273
+ def mongo_index
274
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::MongoIndex
275
+ end
276
+ def metric_definition
277
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::MetricDefinition
278
+ end
279
+ def mongo_dbcollection_resource
280
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::MongoDBCollectionResource
281
+ end
282
+ def error_response
283
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::ErrorResponse
284
+ end
285
+ def mongo_dbcollection_create_update_parameters
286
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::MongoDBCollectionCreateUpdateParameters
287
+ end
288
+ def region_for_online_offline
289
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::RegionForOnlineOffline
290
+ end
291
+ def table_resource
292
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::TableResource
293
+ end
294
+ def extended_resource_properties
295
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::ExtendedResourceProperties
296
+ end
297
+ def table_create_update_parameters
298
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::TableCreateUpdateParameters
299
+ end
300
+ def database_account_patch_parameters
301
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::DatabaseAccountPatchParameters
302
+ end
303
+ def cassandra_keyspace_resource
304
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::CassandraKeyspaceResource
305
+ end
306
+ def sql_database_list_result
307
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::SqlDatabaseListResult
308
+ end
309
+ def cassandra_keyspace_create_update_parameters
310
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::CassandraKeyspaceCreateUpdateParameters
311
+ end
312
+ def indexing_policy
313
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::IndexingPolicy
314
+ end
315
+ def column
316
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::Column
317
+ end
318
+ def conflict_resolution_policy
319
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::ConflictResolutionPolicy
320
+ end
321
+ def cassandra_partition_key
322
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::CassandraPartitionKey
323
+ end
324
+ def mongo_dbdatabase_list_result
325
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::MongoDBDatabaseListResult
326
+ end
327
+ def cluster_key
328
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::ClusterKey
329
+ end
330
+ def table_list_result
331
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::TableListResult
332
+ end
333
+ def cassandra_schema
334
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::CassandraSchema
335
+ end
336
+ def cassandra_table_list_result
337
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::CassandraTableListResult
338
+ end
339
+ def cassandra_table_resource
340
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::CassandraTableResource
341
+ end
342
+ def gremlin_graph_list_result
343
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::GremlinGraphListResult
344
+ end
345
+ def cassandra_table_create_update_parameters
346
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::CassandraTableCreateUpdateParameters
347
+ end
348
+ def resource
349
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::Resource
350
+ end
351
+ def gremlin_database_resource
352
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::GremlinDatabaseResource
353
+ end
354
+ def database_accounts_list_result
355
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::DatabaseAccountsListResult
356
+ end
357
+ def gremlin_database_create_update_parameters
358
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::GremlinDatabaseCreateUpdateParameters
359
+ end
360
+ def unique_key
361
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::UniqueKey
362
+ end
363
+ def gremlin_graph_resource
364
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::GremlinGraphResource
365
+ end
366
+ def mongo_dbcollection_list_result
367
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::MongoDBCollectionListResult
368
+ end
369
+ def gremlin_graph_create_update_parameters
370
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::GremlinGraphCreateUpdateParameters
371
+ end
372
+ def gremlin_database_list_result
373
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::GremlinDatabaseListResult
374
+ end
375
+ def operation_display
376
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::OperationDisplay
377
+ end
378
+ def metric_availability
379
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::MetricAvailability
380
+ end
381
+ def operation
382
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::Operation
383
+ end
384
+ def sql_container_list_result
385
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::SqlContainerListResult
386
+ end
387
+ def operation_list_result
388
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::OperationListResult
389
+ end
390
+ def failover_policies
391
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::FailoverPolicies
392
+ end
393
+ def metric_name
394
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::MetricName
395
+ end
396
+ def cassandra_keyspace_list_result
397
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::CassandraKeyspaceListResult
398
+ end
399
+ def usage
400
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::Usage
401
+ end
402
+ def included_path
403
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::IncludedPath
404
+ end
405
+ def usages_result
406
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::UsagesResult
407
+ end
408
+ def database_account
409
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::DatabaseAccount
410
+ end
411
+ def sql_database
412
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::SqlDatabase
413
+ end
414
+ def sql_container
415
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::SqlContainer
416
+ end
417
+ def mongo_dbdatabase
418
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::MongoDBDatabase
419
+ end
420
+ def mongo_dbcollection
421
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::MongoDBCollection
422
+ end
423
+ def table
424
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::Table
425
+ end
426
+ def cassandra_keyspace
427
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::CassandraKeyspace
428
+ end
429
+ def cassandra_table
430
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::CassandraTable
431
+ end
432
+ def gremlin_database
433
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::GremlinDatabase
434
+ end
435
+ def gremlin_graph
436
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::GremlinGraph
437
+ end
438
+ def database_account_create_update_parameters
439
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::DatabaseAccountCreateUpdateParameters
440
+ end
441
+ def partition_usage
442
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::PartitionUsage
443
+ end
444
+ def percentile_metric_value
445
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::PercentileMetricValue
446
+ end
447
+ def partition_metric
448
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::PartitionMetric
449
+ end
450
+ def database_account_kind
451
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::DatabaseAccountKind
452
+ end
453
+ def database_account_offer_type
454
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::DatabaseAccountOfferType
455
+ end
456
+ def default_consistency_level
457
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::DefaultConsistencyLevel
458
+ end
459
+ def indexing_mode
460
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::IndexingMode
461
+ end
462
+ def data_type
463
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::DataType
464
+ end
465
+ def index_kind
466
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::IndexKind
467
+ end
468
+ def partition_kind
469
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::PartitionKind
470
+ end
471
+ def conflict_resolution_mode
472
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::ConflictResolutionMode
473
+ end
474
+ def key_kind
475
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::KeyKind
476
+ end
477
+ def unit_type
478
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::UnitType
479
+ end
480
+ def primary_aggregation_type
481
+ Azure::Cosmosdb::Mgmt::V2015_04_08::Models::PrimaryAggregationType
482
+ end
483
+ end
484
+ end
485
+ end