# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. require 'uri' require 'cgi' require 'date' require 'json' require 'base64' require 'erb' require 'securerandom' require 'time' require 'timeliness' require 'faraday' require 'faraday-cookie_jar' require 'concurrent' require 'ms_rest' require '2019-08-01/generated/azure_mgmt_cosmosdb/module_definition' require 'ms_rest_azure' module Azure::Cosmosdb::Mgmt::V2019_08_01 autoload :DatabaseAccounts, '2019-08-01/generated/azure_mgmt_cosmosdb/database_accounts.rb' autoload :Operations, '2019-08-01/generated/azure_mgmt_cosmosdb/operations.rb' autoload :Database, '2019-08-01/generated/azure_mgmt_cosmosdb/database.rb' autoload :Collection, '2019-08-01/generated/azure_mgmt_cosmosdb/collection.rb' autoload :CollectionRegion, '2019-08-01/generated/azure_mgmt_cosmosdb/collection_region.rb' autoload :DatabaseAccountRegion, '2019-08-01/generated/azure_mgmt_cosmosdb/database_account_region.rb' autoload :PercentileSourceTarget, '2019-08-01/generated/azure_mgmt_cosmosdb/percentile_source_target.rb' autoload :PercentileTarget, '2019-08-01/generated/azure_mgmt_cosmosdb/percentile_target.rb' autoload :Percentile, '2019-08-01/generated/azure_mgmt_cosmosdb/percentile.rb' autoload :CollectionPartitionRegion, '2019-08-01/generated/azure_mgmt_cosmosdb/collection_partition_region.rb' autoload :CollectionPartition, '2019-08-01/generated/azure_mgmt_cosmosdb/collection_partition.rb' autoload :PartitionKeyRangeId, '2019-08-01/generated/azure_mgmt_cosmosdb/partition_key_range_id.rb' autoload :PartitionKeyRangeIdRegion, '2019-08-01/generated/azure_mgmt_cosmosdb/partition_key_range_id_region.rb' autoload :SqlResources, '2019-08-01/generated/azure_mgmt_cosmosdb/sql_resources.rb' autoload :MongoDBResources, '2019-08-01/generated/azure_mgmt_cosmosdb/mongo_dbresources.rb' autoload :TableResources, '2019-08-01/generated/azure_mgmt_cosmosdb/table_resources.rb' autoload :CassandraResources, '2019-08-01/generated/azure_mgmt_cosmosdb/cassandra_resources.rb' autoload :GremlinResources, '2019-08-01/generated/azure_mgmt_cosmosdb/gremlin_resources.rb' autoload :CosmosDB, '2019-08-01/generated/azure_mgmt_cosmosdb/cosmos_db.rb' module Models autoload :GremlinDatabaseListResult, '2019-08-01/generated/azure_mgmt_cosmosdb/models/gremlin_database_list_result.rb' autoload :ConsistencyPolicy, '2019-08-01/generated/azure_mgmt_cosmosdb/models/consistency_policy.rb' autoload :Capability, '2019-08-01/generated/azure_mgmt_cosmosdb/models/capability.rb' autoload :OperationDisplay, '2019-08-01/generated/azure_mgmt_cosmosdb/models/operation_display.rb' autoload :FailoverPolicy, '2019-08-01/generated/azure_mgmt_cosmosdb/models/failover_policy.rb' autoload :GremlinGraphListResult, '2019-08-01/generated/azure_mgmt_cosmosdb/models/gremlin_graph_list_result.rb' autoload :CassandraSchema, '2019-08-01/generated/azure_mgmt_cosmosdb/models/cassandra_schema.rb' autoload :TableResource, '2019-08-01/generated/azure_mgmt_cosmosdb/models/table_resource.rb' autoload :Operation, '2019-08-01/generated/azure_mgmt_cosmosdb/models/operation.rb' autoload :CassandraTableListResult, '2019-08-01/generated/azure_mgmt_cosmosdb/models/cassandra_table_list_result.rb' autoload :Indexes, '2019-08-01/generated/azure_mgmt_cosmosdb/models/indexes.rb' autoload :PartitionUsagesResult, '2019-08-01/generated/azure_mgmt_cosmosdb/models/partition_usages_result.rb' autoload :ExcludedPath, '2019-08-01/generated/azure_mgmt_cosmosdb/models/excluded_path.rb' autoload :Location, '2019-08-01/generated/azure_mgmt_cosmosdb/models/location.rb' autoload :ContainerPartitionKey, '2019-08-01/generated/azure_mgmt_cosmosdb/models/container_partition_key.rb' autoload :VirtualNetworkRule, '2019-08-01/generated/azure_mgmt_cosmosdb/models/virtual_network_rule.rb' autoload :UniqueKeyPolicy, '2019-08-01/generated/azure_mgmt_cosmosdb/models/unique_key_policy.rb' autoload :MongoDBCollectionResource, '2019-08-01/generated/azure_mgmt_cosmosdb/models/mongo_dbcollection_resource.rb' autoload :GremlinGraphResource, '2019-08-01/generated/azure_mgmt_cosmosdb/models/gremlin_graph_resource.rb' autoload :ErrorResponse, '2019-08-01/generated/azure_mgmt_cosmosdb/models/error_response.rb' autoload :OperationListResult, '2019-08-01/generated/azure_mgmt_cosmosdb/models/operation_list_result.rb' autoload :FailoverPolicies, '2019-08-01/generated/azure_mgmt_cosmosdb/models/failover_policies.rb' autoload :GremlinDatabaseResource, '2019-08-01/generated/azure_mgmt_cosmosdb/models/gremlin_database_resource.rb' autoload :RegionForOnlineOffline, '2019-08-01/generated/azure_mgmt_cosmosdb/models/region_for_online_offline.rb' autoload :MetricName, '2019-08-01/generated/azure_mgmt_cosmosdb/models/metric_name.rb' autoload :ARMResourceProperties, '2019-08-01/generated/azure_mgmt_cosmosdb/models/armresource_properties.rb' autoload :CassandraTableResource, '2019-08-01/generated/azure_mgmt_cosmosdb/models/cassandra_table_resource.rb' autoload :ARMProxyResource, '2019-08-01/generated/azure_mgmt_cosmosdb/models/armproxy_resource.rb' autoload :MongoIndexKeys, '2019-08-01/generated/azure_mgmt_cosmosdb/models/mongo_index_keys.rb' autoload :ExtendedResourceProperties, '2019-08-01/generated/azure_mgmt_cosmosdb/models/extended_resource_properties.rb' autoload :MongoIndex, '2019-08-01/generated/azure_mgmt_cosmosdb/models/mongo_index.rb' autoload :MongoDBCollectionListResult, '2019-08-01/generated/azure_mgmt_cosmosdb/models/mongo_dbcollection_list_result.rb' autoload :PartitionMetricListResult, '2019-08-01/generated/azure_mgmt_cosmosdb/models/partition_metric_list_result.rb' autoload :TableListResult, '2019-08-01/generated/azure_mgmt_cosmosdb/models/table_list_result.rb' autoload :DatabaseAccountUpdateParameters, '2019-08-01/generated/azure_mgmt_cosmosdb/models/database_account_update_parameters.rb' autoload :CassandraKeyspaceListResult, '2019-08-01/generated/azure_mgmt_cosmosdb/models/cassandra_keyspace_list_result.rb' autoload :DatabaseAccountListReadOnlyKeysResult, '2019-08-01/generated/azure_mgmt_cosmosdb/models/database_account_list_read_only_keys_result.rb' autoload :CassandraPartitionKey, '2019-08-01/generated/azure_mgmt_cosmosdb/models/cassandra_partition_key.rb' autoload :PercentileMetricListResult, '2019-08-01/generated/azure_mgmt_cosmosdb/models/percentile_metric_list_result.rb' autoload :DatabaseAccountsListResult, '2019-08-01/generated/azure_mgmt_cosmosdb/models/database_accounts_list_result.rb' autoload :DatabaseAccountConnectionString, '2019-08-01/generated/azure_mgmt_cosmosdb/models/database_account_connection_string.rb' autoload :IncludedPath, '2019-08-01/generated/azure_mgmt_cosmosdb/models/included_path.rb' autoload :DatabaseAccountListConnectionStringsResult, '2019-08-01/generated/azure_mgmt_cosmosdb/models/database_account_list_connection_strings_result.rb' autoload :UniqueKey, '2019-08-01/generated/azure_mgmt_cosmosdb/models/unique_key.rb' autoload :DatabaseAccountRegenerateKeyParameters, '2019-08-01/generated/azure_mgmt_cosmosdb/models/database_account_regenerate_key_parameters.rb' autoload :SqlContainerListResult, '2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_container_list_result.rb' autoload :ThroughputSettingsResource, '2019-08-01/generated/azure_mgmt_cosmosdb/models/throughput_settings_resource.rb' autoload :SqlUserDefinedFunctionListResult, '2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_user_defined_function_list_result.rb' autoload :PercentileMetric, '2019-08-01/generated/azure_mgmt_cosmosdb/models/percentile_metric.rb' autoload :MongoDBDatabaseListResult, '2019-08-01/generated/azure_mgmt_cosmosdb/models/mongo_dbdatabase_list_result.rb' autoload :SqlDatabaseResource, '2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_database_resource.rb' autoload :Usage, '2019-08-01/generated/azure_mgmt_cosmosdb/models/usage.rb' autoload :MetricListResult, '2019-08-01/generated/azure_mgmt_cosmosdb/models/metric_list_result.rb' autoload :UsagesResult, '2019-08-01/generated/azure_mgmt_cosmosdb/models/usages_result.rb' autoload :SqlContainerResource, '2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_container_resource.rb' autoload :ClusterKey, '2019-08-01/generated/azure_mgmt_cosmosdb/models/cluster_key.rb' autoload :Metric, '2019-08-01/generated/azure_mgmt_cosmosdb/models/metric.rb' autoload :IndexingPolicy, '2019-08-01/generated/azure_mgmt_cosmosdb/models/indexing_policy.rb' autoload :SqlStoredProcedureResource, '2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_stored_procedure_resource.rb' autoload :SqlStoredProcedureListResult, '2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_stored_procedure_list_result.rb' autoload :MetricValue, '2019-08-01/generated/azure_mgmt_cosmosdb/models/metric_value.rb' autoload :MongoIndexOptions, '2019-08-01/generated/azure_mgmt_cosmosdb/models/mongo_index_options.rb' autoload :SqlUserDefinedFunctionResource, '2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_user_defined_function_resource.rb' autoload :Column, '2019-08-01/generated/azure_mgmt_cosmosdb/models/column.rb' autoload :MetricDefinitionsListResult, '2019-08-01/generated/azure_mgmt_cosmosdb/models/metric_definitions_list_result.rb' autoload :ConflictResolutionPolicy, '2019-08-01/generated/azure_mgmt_cosmosdb/models/conflict_resolution_policy.rb' autoload :SqlTriggerResource, '2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_trigger_resource.rb' autoload :CassandraKeyspaceResource, '2019-08-01/generated/azure_mgmt_cosmosdb/models/cassandra_keyspace_resource.rb' autoload :MetricDefinition, '2019-08-01/generated/azure_mgmt_cosmosdb/models/metric_definition.rb' autoload :SqlTriggerListResult, '2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_trigger_list_result.rb' autoload :MongoDBDatabaseResource, '2019-08-01/generated/azure_mgmt_cosmosdb/models/mongo_dbdatabase_resource.rb' autoload :SqlDatabaseListResult, '2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_database_list_result.rb' autoload :MetricAvailability, '2019-08-01/generated/azure_mgmt_cosmosdb/models/metric_availability.rb' autoload :DatabaseAccountGetResults, '2019-08-01/generated/azure_mgmt_cosmosdb/models/database_account_get_results.rb' autoload :SqlDatabaseGetResults, '2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_database_get_results.rb' autoload :SqlContainerGetResults, '2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_container_get_results.rb' autoload :SqlStoredProcedureGetResults, '2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_stored_procedure_get_results.rb' autoload :SqlUserDefinedFunctionGetResults, '2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_user_defined_function_get_results.rb' autoload :SqlTriggerGetResults, '2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_trigger_get_results.rb' autoload :MongoDBDatabaseGetResults, '2019-08-01/generated/azure_mgmt_cosmosdb/models/mongo_dbdatabase_get_results.rb' autoload :MongoDBCollectionGetResults, '2019-08-01/generated/azure_mgmt_cosmosdb/models/mongo_dbcollection_get_results.rb' autoload :TableGetResults, '2019-08-01/generated/azure_mgmt_cosmosdb/models/table_get_results.rb' autoload :CassandraKeyspaceGetResults, '2019-08-01/generated/azure_mgmt_cosmosdb/models/cassandra_keyspace_get_results.rb' autoload :CassandraTableGetResults, '2019-08-01/generated/azure_mgmt_cosmosdb/models/cassandra_table_get_results.rb' autoload :GremlinDatabaseGetResults, '2019-08-01/generated/azure_mgmt_cosmosdb/models/gremlin_database_get_results.rb' autoload :GremlinGraphGetResults, '2019-08-01/generated/azure_mgmt_cosmosdb/models/gremlin_graph_get_results.rb' autoload :ThroughputSettingsGetResults, '2019-08-01/generated/azure_mgmt_cosmosdb/models/throughput_settings_get_results.rb' autoload :DatabaseAccountCreateUpdateParameters, '2019-08-01/generated/azure_mgmt_cosmosdb/models/database_account_create_update_parameters.rb' autoload :DatabaseAccountListKeysResult, '2019-08-01/generated/azure_mgmt_cosmosdb/models/database_account_list_keys_result.rb' autoload :ThroughputSettingsUpdateParameters, '2019-08-01/generated/azure_mgmt_cosmosdb/models/throughput_settings_update_parameters.rb' autoload :SqlDatabaseCreateUpdateParameters, '2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_database_create_update_parameters.rb' autoload :SqlContainerCreateUpdateParameters, '2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_container_create_update_parameters.rb' autoload :SqlStoredProcedureCreateUpdateParameters, '2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_stored_procedure_create_update_parameters.rb' autoload :SqlUserDefinedFunctionCreateUpdateParameters, '2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_user_defined_function_create_update_parameters.rb' autoload :SqlTriggerCreateUpdateParameters, '2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_trigger_create_update_parameters.rb' autoload :MongoDBDatabaseCreateUpdateParameters, '2019-08-01/generated/azure_mgmt_cosmosdb/models/mongo_dbdatabase_create_update_parameters.rb' autoload :MongoDBCollectionCreateUpdateParameters, '2019-08-01/generated/azure_mgmt_cosmosdb/models/mongo_dbcollection_create_update_parameters.rb' autoload :TableCreateUpdateParameters, '2019-08-01/generated/azure_mgmt_cosmosdb/models/table_create_update_parameters.rb' autoload :CassandraKeyspaceCreateUpdateParameters, '2019-08-01/generated/azure_mgmt_cosmosdb/models/cassandra_keyspace_create_update_parameters.rb' autoload :CassandraTableCreateUpdateParameters, '2019-08-01/generated/azure_mgmt_cosmosdb/models/cassandra_table_create_update_parameters.rb' autoload :GremlinDatabaseCreateUpdateParameters, '2019-08-01/generated/azure_mgmt_cosmosdb/models/gremlin_database_create_update_parameters.rb' autoload :GremlinGraphCreateUpdateParameters, '2019-08-01/generated/azure_mgmt_cosmosdb/models/gremlin_graph_create_update_parameters.rb' autoload :PartitionUsage, '2019-08-01/generated/azure_mgmt_cosmosdb/models/partition_usage.rb' autoload :PercentileMetricValue, '2019-08-01/generated/azure_mgmt_cosmosdb/models/percentile_metric_value.rb' autoload :PartitionMetric, '2019-08-01/generated/azure_mgmt_cosmosdb/models/partition_metric.rb' autoload :DatabaseAccountKind, '2019-08-01/generated/azure_mgmt_cosmosdb/models/database_account_kind.rb' autoload :DatabaseAccountOfferType, '2019-08-01/generated/azure_mgmt_cosmosdb/models/database_account_offer_type.rb' autoload :DefaultConsistencyLevel, '2019-08-01/generated/azure_mgmt_cosmosdb/models/default_consistency_level.rb' autoload :ConnectorOffer, '2019-08-01/generated/azure_mgmt_cosmosdb/models/connector_offer.rb' autoload :IndexingMode, '2019-08-01/generated/azure_mgmt_cosmosdb/models/indexing_mode.rb' autoload :DataType, '2019-08-01/generated/azure_mgmt_cosmosdb/models/data_type.rb' autoload :IndexKind, '2019-08-01/generated/azure_mgmt_cosmosdb/models/index_kind.rb' autoload :PartitionKind, '2019-08-01/generated/azure_mgmt_cosmosdb/models/partition_kind.rb' autoload :ConflictResolutionMode, '2019-08-01/generated/azure_mgmt_cosmosdb/models/conflict_resolution_mode.rb' autoload :TriggerType, '2019-08-01/generated/azure_mgmt_cosmosdb/models/trigger_type.rb' autoload :TriggerOperation, '2019-08-01/generated/azure_mgmt_cosmosdb/models/trigger_operation.rb' autoload :KeyKind, '2019-08-01/generated/azure_mgmt_cosmosdb/models/key_kind.rb' autoload :UnitType, '2019-08-01/generated/azure_mgmt_cosmosdb/models/unit_type.rb' autoload :PrimaryAggregationType, '2019-08-01/generated/azure_mgmt_cosmosdb/models/primary_aggregation_type.rb' end end