azure_sdk 0.25.5 → 0.26.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.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: a750865820da30c8b38d147434c733ae530f22199e34388493c8fa1aa4df45a6
|
4
|
+
data.tar.gz: 4b8df05cb63ed60145f2f6cba0f3c5de512d34478f6d099e43c84b80144234c3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7df298c77ba8ec75cec3dcbe57f62c9b88013ed9a023121d92ee91716233e952cab9137ea8af54cdc9fb75d8b32552ab8e40fc7831b232b1d876083b6861087f
|
7
|
+
data.tar.gz: 164b09bf90759a14c81bf7725c7e257cac6966ee3db92c32e6c604aaff8ca8e1bf6bbec31ce3c23b1f8f2e701ec0077429d118173935c3f3ed3c833fdc50e0c6
|
data/lib/azure_sdk/version.rb
CHANGED
@@ -18,6 +18,7 @@ require 'latest/modules/consumption_profile_module'
|
|
18
18
|
require 'latest/modules/containerinstance_profile_module'
|
19
19
|
require 'latest/modules/containerregistry_profile_module'
|
20
20
|
require 'latest/modules/containerservice_profile_module'
|
21
|
+
require 'latest/modules/cosmosdb_profile_module'
|
21
22
|
require 'latest/modules/customerinsights_profile_module'
|
22
23
|
require 'latest/modules/datalakeanalytics_profile_module'
|
23
24
|
require 'latest/modules/datalakestore_profile_module'
|
@@ -113,7 +114,7 @@ module Azure::Profiles::Latest
|
|
113
114
|
class Client
|
114
115
|
include MsRestAzure::Common::Configurable
|
115
116
|
|
116
|
-
attr_reader :advisor, :analysis_services, :api_management, :authorization, :automation, :batch, :billing, :cdn, :cognitive_services, :commerce, :compute, :consumption, :container_instance, :container_registry, :container_service, :customer_insights, :data_lake_analytics, :data_lake_store, :data_migration, :dev_spaces, :dev_test_labs, :dns, :edge_gateway, :event_grid, :event_hub, :features, :hanaonazure, :hdinsight, :graph_rbac, :iot_central, :iot_hub, :key_vault, :kusto, :labservices, :links, :locks, :logic, :machine_learning, :machine_learning_services, :managed_applications, :maria_db, :marketplace_ordering, :media_services, :mixed_reality, :monitor, :managed_service_identity, :net_app, :network, :notification_hubs, :operational_insights, :policy, :policy_insights, :postgresql, :power_bi_embedded, :private_dns, :recovery_services, :recovery_services_backup, :recovery_services_site_recovery, :redis, :relay, :reservations, :resource_graph, :resources, :resources_management, :scheduler, :search, :security, :serialconsole, :service_bus, :service_fabric, :signalr, :sql, :sqlvirtualmachine, :stor_simple8000_series, :storage, :storage_sync, :stream_analytics, :subscriptions, :traffic_manager, :web, :anomaly_detector, :autosuggest, :customimagesearch, :computer_vision, :content_moderator, :custom_search, :customvisiontraining, :customvisionprediction, :entity_search, :face, :form_recognizer, :image_search, :local_search, :luis_runtime, :luis_authoring, :news_search, :qnamaker, :spell_check, :text_analytics, :video_search, :web_search, :visual_search
|
117
|
+
attr_reader :advisor, :analysis_services, :api_management, :authorization, :automation, :batch, :billing, :cdn, :cognitive_services, :commerce, :compute, :consumption, :container_instance, :container_registry, :container_service, :cosmosdb, :customer_insights, :data_lake_analytics, :data_lake_store, :data_migration, :dev_spaces, :dev_test_labs, :dns, :edge_gateway, :event_grid, :event_hub, :features, :hanaonazure, :hdinsight, :graph_rbac, :iot_central, :iot_hub, :key_vault, :kusto, :labservices, :links, :locks, :logic, :machine_learning, :machine_learning_services, :managed_applications, :maria_db, :marketplace_ordering, :media_services, :mixed_reality, :monitor, :managed_service_identity, :net_app, :network, :notification_hubs, :operational_insights, :policy, :policy_insights, :postgresql, :power_bi_embedded, :private_dns, :recovery_services, :recovery_services_backup, :recovery_services_site_recovery, :redis, :relay, :reservations, :resource_graph, :resources, :resources_management, :scheduler, :search, :security, :serialconsole, :service_bus, :service_fabric, :signalr, :sql, :sqlvirtualmachine, :stor_simple8000_series, :storage, :storage_sync, :stream_analytics, :subscriptions, :traffic_manager, :web, :anomaly_detector, :autosuggest, :customimagesearch, :computer_vision, :content_moderator, :custom_search, :customvisiontraining, :customvisionprediction, :entity_search, :face, :form_recognizer, :image_search, :local_search, :luis_runtime, :luis_authoring, :news_search, :qnamaker, :spell_check, :text_analytics, :video_search, :web_search, :visual_search
|
117
118
|
|
118
119
|
#
|
119
120
|
# Initializes a new instance of the Client class.
|
@@ -160,6 +161,7 @@ module Azure::Profiles::Latest
|
|
160
161
|
@container_instance = ContainerInstanceAdapter.new(self, base_url, sdk_options)
|
161
162
|
@container_registry = ContainerRegistryAdapter.new(self, base_url, sdk_options)
|
162
163
|
@container_service = ContainerServiceAdapter.new(self, base_url, sdk_options)
|
164
|
+
@cosmosdb = CosmosdbAdapter.new(self, base_url, sdk_options)
|
163
165
|
@customer_insights = CustomerInsightsAdapter.new(self, base_url, sdk_options)
|
164
166
|
@data_lake_analytics = DataLakeAnalyticsAdapter.new(self, base_url, sdk_options)
|
165
167
|
@data_lake_store = DataLakeStoreAdapter.new(self, base_url, sdk_options)
|
@@ -369,6 +371,14 @@ module Azure::Profiles::Latest
|
|
369
371
|
end
|
370
372
|
end
|
371
373
|
|
374
|
+
class CosmosdbAdapter
|
375
|
+
attr_accessor :mgmt
|
376
|
+
|
377
|
+
def initialize(context, base_url, options)
|
378
|
+
@mgmt = Azure::Profiles::Latest::Cosmosdb::Mgmt::CosmosdbManagementClass.new(context, base_url, options)
|
379
|
+
end
|
380
|
+
end
|
381
|
+
|
372
382
|
class CustomerInsightsAdapter
|
373
383
|
attr_accessor :mgmt
|
374
384
|
|
@@ -0,0 +1,473 @@
|
|
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::Profiles::Latest
|
8
|
+
module Cosmosdb
|
9
|
+
module Mgmt
|
10
|
+
DatabaseAccounts = Azure::Cosmosdb::Mgmt::V2015_04_08::DatabaseAccounts
|
11
|
+
Operations = Azure::Cosmosdb::Mgmt::V2015_04_08::Operations
|
12
|
+
Database = Azure::Cosmosdb::Mgmt::V2015_04_08::Database
|
13
|
+
Collection = Azure::Cosmosdb::Mgmt::V2015_04_08::Collection
|
14
|
+
CollectionRegion = Azure::Cosmosdb::Mgmt::V2015_04_08::CollectionRegion
|
15
|
+
DatabaseAccountRegion = Azure::Cosmosdb::Mgmt::V2015_04_08::DatabaseAccountRegion
|
16
|
+
PercentileSourceTarget = Azure::Cosmosdb::Mgmt::V2015_04_08::PercentileSourceTarget
|
17
|
+
PercentileTarget = Azure::Cosmosdb::Mgmt::V2015_04_08::PercentileTarget
|
18
|
+
Percentile = Azure::Cosmosdb::Mgmt::V2015_04_08::Percentile
|
19
|
+
CollectionPartitionRegion = Azure::Cosmosdb::Mgmt::V2015_04_08::CollectionPartitionRegion
|
20
|
+
CollectionPartition = Azure::Cosmosdb::Mgmt::V2015_04_08::CollectionPartition
|
21
|
+
PartitionKeyRangeId = Azure::Cosmosdb::Mgmt::V2015_04_08::PartitionKeyRangeId
|
22
|
+
PartitionKeyRangeIdRegion = Azure::Cosmosdb::Mgmt::V2015_04_08::PartitionKeyRangeIdRegion
|
23
|
+
|
24
|
+
module Models
|
25
|
+
DatabaseAccountRegenerateKeyParameters = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::DatabaseAccountRegenerateKeyParameters
|
26
|
+
SqlDatabaseResource = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::SqlDatabaseResource
|
27
|
+
Capability = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::Capability
|
28
|
+
SqlDatabaseCreateUpdateParameters = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::SqlDatabaseCreateUpdateParameters
|
29
|
+
FailoverPolicy = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::FailoverPolicy
|
30
|
+
SqlContainerResource = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::SqlContainerResource
|
31
|
+
DatabaseAccountListReadOnlyKeysResult = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::DatabaseAccountListReadOnlyKeysResult
|
32
|
+
DatabaseAccountListKeysResult = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::DatabaseAccountListKeysResult
|
33
|
+
DatabaseAccountConnectionString = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::DatabaseAccountConnectionString
|
34
|
+
Indexes = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::Indexes
|
35
|
+
DatabaseAccountListConnectionStringsResult = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::DatabaseAccountListConnectionStringsResult
|
36
|
+
ExcludedPath = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::ExcludedPath
|
37
|
+
ConsistencyPolicy = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::ConsistencyPolicy
|
38
|
+
ContainerPartitionKey = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::ContainerPartitionKey
|
39
|
+
Location = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::Location
|
40
|
+
UniqueKeyPolicy = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::UniqueKeyPolicy
|
41
|
+
VirtualNetworkRule = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::VirtualNetworkRule
|
42
|
+
PartitionMetricListResult = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::PartitionMetricListResult
|
43
|
+
PartitionUsagesResult = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::PartitionUsagesResult
|
44
|
+
PercentileMetricListResult = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::PercentileMetricListResult
|
45
|
+
SqlContainerCreateUpdateParameters = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::SqlContainerCreateUpdateParameters
|
46
|
+
PercentileMetric = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::PercentileMetric
|
47
|
+
MongoDBDatabaseResource = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::MongoDBDatabaseResource
|
48
|
+
MetricListResult = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::MetricListResult
|
49
|
+
MongoDBDatabaseCreateUpdateParameters = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::MongoDBDatabaseCreateUpdateParameters
|
50
|
+
Metric = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::Metric
|
51
|
+
MongoIndexKeys = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::MongoIndexKeys
|
52
|
+
MetricValue = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::MetricValue
|
53
|
+
MongoIndexOptions = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::MongoIndexOptions
|
54
|
+
MetricDefinitionsListResult = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::MetricDefinitionsListResult
|
55
|
+
MongoIndex = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::MongoIndex
|
56
|
+
MetricDefinition = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::MetricDefinition
|
57
|
+
MongoDBCollectionResource = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::MongoDBCollectionResource
|
58
|
+
ErrorResponse = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::ErrorResponse
|
59
|
+
MongoDBCollectionCreateUpdateParameters = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::MongoDBCollectionCreateUpdateParameters
|
60
|
+
RegionForOnlineOffline = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::RegionForOnlineOffline
|
61
|
+
TableResource = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::TableResource
|
62
|
+
ExtendedResourceProperties = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::ExtendedResourceProperties
|
63
|
+
TableCreateUpdateParameters = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::TableCreateUpdateParameters
|
64
|
+
DatabaseAccountPatchParameters = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::DatabaseAccountPatchParameters
|
65
|
+
CassandraKeyspaceResource = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::CassandraKeyspaceResource
|
66
|
+
SqlDatabaseListResult = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::SqlDatabaseListResult
|
67
|
+
CassandraKeyspaceCreateUpdateParameters = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::CassandraKeyspaceCreateUpdateParameters
|
68
|
+
IndexingPolicy = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::IndexingPolicy
|
69
|
+
Column = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::Column
|
70
|
+
ConflictResolutionPolicy = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::ConflictResolutionPolicy
|
71
|
+
CassandraPartitionKey = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::CassandraPartitionKey
|
72
|
+
MongoDBDatabaseListResult = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::MongoDBDatabaseListResult
|
73
|
+
ClusterKey = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::ClusterKey
|
74
|
+
TableListResult = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::TableListResult
|
75
|
+
CassandraSchema = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::CassandraSchema
|
76
|
+
CassandraTableListResult = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::CassandraTableListResult
|
77
|
+
CassandraTableResource = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::CassandraTableResource
|
78
|
+
GremlinGraphListResult = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::GremlinGraphListResult
|
79
|
+
CassandraTableCreateUpdateParameters = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::CassandraTableCreateUpdateParameters
|
80
|
+
Resource = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::Resource
|
81
|
+
GremlinDatabaseResource = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::GremlinDatabaseResource
|
82
|
+
DatabaseAccountsListResult = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::DatabaseAccountsListResult
|
83
|
+
GremlinDatabaseCreateUpdateParameters = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::GremlinDatabaseCreateUpdateParameters
|
84
|
+
UniqueKey = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::UniqueKey
|
85
|
+
GremlinGraphResource = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::GremlinGraphResource
|
86
|
+
MongoDBCollectionListResult = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::MongoDBCollectionListResult
|
87
|
+
GremlinGraphCreateUpdateParameters = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::GremlinGraphCreateUpdateParameters
|
88
|
+
GremlinDatabaseListResult = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::GremlinDatabaseListResult
|
89
|
+
OperationDisplay = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::OperationDisplay
|
90
|
+
MetricAvailability = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::MetricAvailability
|
91
|
+
Operation = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::Operation
|
92
|
+
SqlContainerListResult = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::SqlContainerListResult
|
93
|
+
OperationListResult = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::OperationListResult
|
94
|
+
FailoverPolicies = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::FailoverPolicies
|
95
|
+
MetricName = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::MetricName
|
96
|
+
CassandraKeyspaceListResult = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::CassandraKeyspaceListResult
|
97
|
+
Usage = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::Usage
|
98
|
+
IncludedPath = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::IncludedPath
|
99
|
+
UsagesResult = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::UsagesResult
|
100
|
+
DatabaseAccount = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::DatabaseAccount
|
101
|
+
SqlDatabase = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::SqlDatabase
|
102
|
+
SqlContainer = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::SqlContainer
|
103
|
+
MongoDBDatabase = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::MongoDBDatabase
|
104
|
+
MongoDBCollection = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::MongoDBCollection
|
105
|
+
Table = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::Table
|
106
|
+
CassandraKeyspace = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::CassandraKeyspace
|
107
|
+
CassandraTable = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::CassandraTable
|
108
|
+
GremlinDatabase = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::GremlinDatabase
|
109
|
+
GremlinGraph = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::GremlinGraph
|
110
|
+
DatabaseAccountCreateUpdateParameters = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::DatabaseAccountCreateUpdateParameters
|
111
|
+
PartitionUsage = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::PartitionUsage
|
112
|
+
PercentileMetricValue = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::PercentileMetricValue
|
113
|
+
PartitionMetric = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::PartitionMetric
|
114
|
+
DatabaseAccountKind = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::DatabaseAccountKind
|
115
|
+
DatabaseAccountOfferType = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::DatabaseAccountOfferType
|
116
|
+
DefaultConsistencyLevel = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::DefaultConsistencyLevel
|
117
|
+
IndexingMode = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::IndexingMode
|
118
|
+
DataType = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::DataType
|
119
|
+
IndexKind = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::IndexKind
|
120
|
+
PartitionKind = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::PartitionKind
|
121
|
+
ConflictResolutionMode = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::ConflictResolutionMode
|
122
|
+
KeyKind = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::KeyKind
|
123
|
+
UnitType = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::UnitType
|
124
|
+
PrimaryAggregationType = Azure::Cosmosdb::Mgmt::V2015_04_08::Models::PrimaryAggregationType
|
125
|
+
end
|
126
|
+
|
127
|
+
class CosmosdbManagementClass
|
128
|
+
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
|
129
|
+
|
130
|
+
def initialize(configurable, base_url=nil, options=nil)
|
131
|
+
@configurable, @base_url, @options = configurable, base_url, options
|
132
|
+
|
133
|
+
@client_0 = Azure::Cosmosdb::Mgmt::V2015_04_08::CosmosDB.new(configurable.credentials, base_url, options)
|
134
|
+
if(@client_0.respond_to?(:subscription_id))
|
135
|
+
@client_0.subscription_id = configurable.subscription_id
|
136
|
+
end
|
137
|
+
add_telemetry(@client_0)
|
138
|
+
@database_accounts = @client_0.database_accounts
|
139
|
+
@operations = @client_0.operations
|
140
|
+
@database = @client_0.database
|
141
|
+
@collection = @client_0.collection
|
142
|
+
@collection_region = @client_0.collection_region
|
143
|
+
@database_account_region = @client_0.database_account_region
|
144
|
+
@percentile_source_target = @client_0.percentile_source_target
|
145
|
+
@percentile_target = @client_0.percentile_target
|
146
|
+
@percentile = @client_0.percentile
|
147
|
+
@collection_partition_region = @client_0.collection_partition_region
|
148
|
+
@collection_partition = @client_0.collection_partition
|
149
|
+
@partition_key_range_id = @client_0.partition_key_range_id
|
150
|
+
@partition_key_range_id_region = @client_0.partition_key_range_id_region
|
151
|
+
|
152
|
+
@model_classes = ModelClasses.new
|
153
|
+
end
|
154
|
+
|
155
|
+
def add_telemetry(client)
|
156
|
+
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/Cosmosdb/Mgmt"
|
157
|
+
client.add_user_agent_information(profile_information)
|
158
|
+
end
|
159
|
+
|
160
|
+
def method_missing(method, *args)
|
161
|
+
if @client_0.respond_to?method
|
162
|
+
@client_0.send(method, *args)
|
163
|
+
else
|
164
|
+
super
|
165
|
+
end
|
166
|
+
end
|
167
|
+
|
168
|
+
class ModelClasses
|
169
|
+
def database_account_regenerate_key_parameters
|
170
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::DatabaseAccountRegenerateKeyParameters
|
171
|
+
end
|
172
|
+
def sql_database_resource
|
173
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::SqlDatabaseResource
|
174
|
+
end
|
175
|
+
def capability
|
176
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::Capability
|
177
|
+
end
|
178
|
+
def sql_database_create_update_parameters
|
179
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::SqlDatabaseCreateUpdateParameters
|
180
|
+
end
|
181
|
+
def failover_policy
|
182
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::FailoverPolicy
|
183
|
+
end
|
184
|
+
def sql_container_resource
|
185
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::SqlContainerResource
|
186
|
+
end
|
187
|
+
def database_account_list_read_only_keys_result
|
188
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::DatabaseAccountListReadOnlyKeysResult
|
189
|
+
end
|
190
|
+
def database_account_list_keys_result
|
191
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::DatabaseAccountListKeysResult
|
192
|
+
end
|
193
|
+
def database_account_connection_string
|
194
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::DatabaseAccountConnectionString
|
195
|
+
end
|
196
|
+
def indexes
|
197
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::Indexes
|
198
|
+
end
|
199
|
+
def database_account_list_connection_strings_result
|
200
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::DatabaseAccountListConnectionStringsResult
|
201
|
+
end
|
202
|
+
def excluded_path
|
203
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::ExcludedPath
|
204
|
+
end
|
205
|
+
def consistency_policy
|
206
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::ConsistencyPolicy
|
207
|
+
end
|
208
|
+
def container_partition_key
|
209
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::ContainerPartitionKey
|
210
|
+
end
|
211
|
+
def location
|
212
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::Location
|
213
|
+
end
|
214
|
+
def unique_key_policy
|
215
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::UniqueKeyPolicy
|
216
|
+
end
|
217
|
+
def virtual_network_rule
|
218
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::VirtualNetworkRule
|
219
|
+
end
|
220
|
+
def partition_metric_list_result
|
221
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::PartitionMetricListResult
|
222
|
+
end
|
223
|
+
def partition_usages_result
|
224
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::PartitionUsagesResult
|
225
|
+
end
|
226
|
+
def percentile_metric_list_result
|
227
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::PercentileMetricListResult
|
228
|
+
end
|
229
|
+
def sql_container_create_update_parameters
|
230
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::SqlContainerCreateUpdateParameters
|
231
|
+
end
|
232
|
+
def percentile_metric
|
233
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::PercentileMetric
|
234
|
+
end
|
235
|
+
def mongo_dbdatabase_resource
|
236
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::MongoDBDatabaseResource
|
237
|
+
end
|
238
|
+
def metric_list_result
|
239
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::MetricListResult
|
240
|
+
end
|
241
|
+
def mongo_dbdatabase_create_update_parameters
|
242
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::MongoDBDatabaseCreateUpdateParameters
|
243
|
+
end
|
244
|
+
def metric
|
245
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::Metric
|
246
|
+
end
|
247
|
+
def mongo_index_keys
|
248
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::MongoIndexKeys
|
249
|
+
end
|
250
|
+
def metric_value
|
251
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::MetricValue
|
252
|
+
end
|
253
|
+
def mongo_index_options
|
254
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::MongoIndexOptions
|
255
|
+
end
|
256
|
+
def metric_definitions_list_result
|
257
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::MetricDefinitionsListResult
|
258
|
+
end
|
259
|
+
def mongo_index
|
260
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::MongoIndex
|
261
|
+
end
|
262
|
+
def metric_definition
|
263
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::MetricDefinition
|
264
|
+
end
|
265
|
+
def mongo_dbcollection_resource
|
266
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::MongoDBCollectionResource
|
267
|
+
end
|
268
|
+
def error_response
|
269
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::ErrorResponse
|
270
|
+
end
|
271
|
+
def mongo_dbcollection_create_update_parameters
|
272
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::MongoDBCollectionCreateUpdateParameters
|
273
|
+
end
|
274
|
+
def region_for_online_offline
|
275
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::RegionForOnlineOffline
|
276
|
+
end
|
277
|
+
def table_resource
|
278
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::TableResource
|
279
|
+
end
|
280
|
+
def extended_resource_properties
|
281
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::ExtendedResourceProperties
|
282
|
+
end
|
283
|
+
def table_create_update_parameters
|
284
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::TableCreateUpdateParameters
|
285
|
+
end
|
286
|
+
def database_account_patch_parameters
|
287
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::DatabaseAccountPatchParameters
|
288
|
+
end
|
289
|
+
def cassandra_keyspace_resource
|
290
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::CassandraKeyspaceResource
|
291
|
+
end
|
292
|
+
def sql_database_list_result
|
293
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::SqlDatabaseListResult
|
294
|
+
end
|
295
|
+
def cassandra_keyspace_create_update_parameters
|
296
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::CassandraKeyspaceCreateUpdateParameters
|
297
|
+
end
|
298
|
+
def indexing_policy
|
299
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::IndexingPolicy
|
300
|
+
end
|
301
|
+
def column
|
302
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::Column
|
303
|
+
end
|
304
|
+
def conflict_resolution_policy
|
305
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::ConflictResolutionPolicy
|
306
|
+
end
|
307
|
+
def cassandra_partition_key
|
308
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::CassandraPartitionKey
|
309
|
+
end
|
310
|
+
def mongo_dbdatabase_list_result
|
311
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::MongoDBDatabaseListResult
|
312
|
+
end
|
313
|
+
def cluster_key
|
314
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::ClusterKey
|
315
|
+
end
|
316
|
+
def table_list_result
|
317
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::TableListResult
|
318
|
+
end
|
319
|
+
def cassandra_schema
|
320
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::CassandraSchema
|
321
|
+
end
|
322
|
+
def cassandra_table_list_result
|
323
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::CassandraTableListResult
|
324
|
+
end
|
325
|
+
def cassandra_table_resource
|
326
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::CassandraTableResource
|
327
|
+
end
|
328
|
+
def gremlin_graph_list_result
|
329
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::GremlinGraphListResult
|
330
|
+
end
|
331
|
+
def cassandra_table_create_update_parameters
|
332
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::CassandraTableCreateUpdateParameters
|
333
|
+
end
|
334
|
+
def resource
|
335
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::Resource
|
336
|
+
end
|
337
|
+
def gremlin_database_resource
|
338
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::GremlinDatabaseResource
|
339
|
+
end
|
340
|
+
def database_accounts_list_result
|
341
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::DatabaseAccountsListResult
|
342
|
+
end
|
343
|
+
def gremlin_database_create_update_parameters
|
344
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::GremlinDatabaseCreateUpdateParameters
|
345
|
+
end
|
346
|
+
def unique_key
|
347
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::UniqueKey
|
348
|
+
end
|
349
|
+
def gremlin_graph_resource
|
350
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::GremlinGraphResource
|
351
|
+
end
|
352
|
+
def mongo_dbcollection_list_result
|
353
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::MongoDBCollectionListResult
|
354
|
+
end
|
355
|
+
def gremlin_graph_create_update_parameters
|
356
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::GremlinGraphCreateUpdateParameters
|
357
|
+
end
|
358
|
+
def gremlin_database_list_result
|
359
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::GremlinDatabaseListResult
|
360
|
+
end
|
361
|
+
def operation_display
|
362
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::OperationDisplay
|
363
|
+
end
|
364
|
+
def metric_availability
|
365
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::MetricAvailability
|
366
|
+
end
|
367
|
+
def operation
|
368
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::Operation
|
369
|
+
end
|
370
|
+
def sql_container_list_result
|
371
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::SqlContainerListResult
|
372
|
+
end
|
373
|
+
def operation_list_result
|
374
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::OperationListResult
|
375
|
+
end
|
376
|
+
def failover_policies
|
377
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::FailoverPolicies
|
378
|
+
end
|
379
|
+
def metric_name
|
380
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::MetricName
|
381
|
+
end
|
382
|
+
def cassandra_keyspace_list_result
|
383
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::CassandraKeyspaceListResult
|
384
|
+
end
|
385
|
+
def usage
|
386
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::Usage
|
387
|
+
end
|
388
|
+
def included_path
|
389
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::IncludedPath
|
390
|
+
end
|
391
|
+
def usages_result
|
392
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::UsagesResult
|
393
|
+
end
|
394
|
+
def database_account
|
395
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::DatabaseAccount
|
396
|
+
end
|
397
|
+
def sql_database
|
398
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::SqlDatabase
|
399
|
+
end
|
400
|
+
def sql_container
|
401
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::SqlContainer
|
402
|
+
end
|
403
|
+
def mongo_dbdatabase
|
404
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::MongoDBDatabase
|
405
|
+
end
|
406
|
+
def mongo_dbcollection
|
407
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::MongoDBCollection
|
408
|
+
end
|
409
|
+
def table
|
410
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::Table
|
411
|
+
end
|
412
|
+
def cassandra_keyspace
|
413
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::CassandraKeyspace
|
414
|
+
end
|
415
|
+
def cassandra_table
|
416
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::CassandraTable
|
417
|
+
end
|
418
|
+
def gremlin_database
|
419
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::GremlinDatabase
|
420
|
+
end
|
421
|
+
def gremlin_graph
|
422
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::GremlinGraph
|
423
|
+
end
|
424
|
+
def database_account_create_update_parameters
|
425
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::DatabaseAccountCreateUpdateParameters
|
426
|
+
end
|
427
|
+
def partition_usage
|
428
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::PartitionUsage
|
429
|
+
end
|
430
|
+
def percentile_metric_value
|
431
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::PercentileMetricValue
|
432
|
+
end
|
433
|
+
def partition_metric
|
434
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::PartitionMetric
|
435
|
+
end
|
436
|
+
def database_account_kind
|
437
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::DatabaseAccountKind
|
438
|
+
end
|
439
|
+
def database_account_offer_type
|
440
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::DatabaseAccountOfferType
|
441
|
+
end
|
442
|
+
def default_consistency_level
|
443
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::DefaultConsistencyLevel
|
444
|
+
end
|
445
|
+
def indexing_mode
|
446
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::IndexingMode
|
447
|
+
end
|
448
|
+
def data_type
|
449
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::DataType
|
450
|
+
end
|
451
|
+
def index_kind
|
452
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::IndexKind
|
453
|
+
end
|
454
|
+
def partition_kind
|
455
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::PartitionKind
|
456
|
+
end
|
457
|
+
def conflict_resolution_mode
|
458
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::ConflictResolutionMode
|
459
|
+
end
|
460
|
+
def key_kind
|
461
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::KeyKind
|
462
|
+
end
|
463
|
+
def unit_type
|
464
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::UnitType
|
465
|
+
end
|
466
|
+
def primary_aggregation_type
|
467
|
+
Azure::Cosmosdb::Mgmt::V2015_04_08::Models::PrimaryAggregationType
|
468
|
+
end
|
469
|
+
end
|
470
|
+
end
|
471
|
+
end
|
472
|
+
end
|
473
|
+
end
|