azure_mgmt_cosmosdb 0.20.0 → 0.21.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (60) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/cosmos_db.rb +1 -1
  3. data/lib/2019-08-01-preview/generated/azure_mgmt_cosmosdb.rb +1 -1
  4. data/lib/2019-08-01-preview/generated/azure_mgmt_cosmosdb/{cosmos_db.rb → cosmos_dbmanagement_client.rb} +3 -3
  5. data/lib/2019-08-01-preview/generated/azure_mgmt_cosmosdb/private_endpoint_connections.rb +1 -1
  6. data/lib/2019-08-01-preview/generated/azure_mgmt_cosmosdb/private_link_resources.rb +1 -1
  7. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb.rb +72 -55
  8. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/cassandra_resources.rb +1 -1
  9. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/collection.rb +1 -1
  10. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/collection_partition.rb +1 -1
  11. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/collection_partition_region.rb +1 -1
  12. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/collection_region.rb +1 -1
  13. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/{cosmos_db.rb → cosmos_dbmanagement_client.rb} +3 -3
  14. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/database.rb +1 -1
  15. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/database_account_region.rb +1 -1
  16. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/database_accounts.rb +1 -1
  17. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/gremlin_resources.rb +1 -1
  18. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/cassandra_keyspace_get_properties_resource.rb +85 -0
  19. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/cassandra_keyspace_get_results.rb +6 -43
  20. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/cassandra_table_get_properties_resource.rb +108 -0
  21. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/cassandra_table_get_results.rb +5 -65
  22. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/composite_path.rb +60 -0
  23. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/composite_path_sort_order.rb +16 -0
  24. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/gremlin_database_get_properties_resource.rb +85 -0
  25. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/gremlin_database_get_results.rb +6 -43
  26. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/gremlin_graph_get_properties_resource.rb +150 -0
  27. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/gremlin_graph_get_results.rb +5 -107
  28. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/indexing_policy.rb +48 -0
  29. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/mongo_dbcollection_get_properties_resource.rb +125 -0
  30. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/mongo_dbcollection_get_results.rb +6 -83
  31. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/mongo_dbdatabase_get_properties_resource.rb +85 -0
  32. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/mongo_dbdatabase_get_results.rb +6 -43
  33. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/spatial_spec.rb +67 -0
  34. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/spatial_type.rb +18 -0
  35. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_container_get_properties_resource.rb +150 -0
  36. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_container_get_results.rb +5 -107
  37. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_database_get_properties_resource.rb +109 -0
  38. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_database_get_results.rb +6 -67
  39. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_stored_procedure_get_properties_resource.rb +96 -0
  40. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_stored_procedure_get_results.rb +6 -54
  41. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_trigger_get_properties_resource.rb +121 -0
  42. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_trigger_get_results.rb +6 -79
  43. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_user_defined_function_get_properties_resource.rb +97 -0
  44. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_user_defined_function_get_results.rb +6 -54
  45. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/table_get_properties_resource.rb +85 -0
  46. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/table_get_results.rb +6 -43
  47. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/throughput_settings_get_properties_resource.rb +109 -0
  48. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/throughput_settings_get_results.rb +6 -29
  49. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/mongo_dbresources.rb +1 -1
  50. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/operations.rb +1 -1
  51. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/partition_key_range_id.rb +1 -1
  52. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/partition_key_range_id_region.rb +1 -1
  53. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/percentile.rb +1 -1
  54. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/percentile_source_target.rb +1 -1
  55. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/percentile_target.rb +1 -1
  56. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/sql_resources.rb +1 -1
  57. data/lib/2019-08-01/generated/azure_mgmt_cosmosdb/table_resources.rb +1 -1
  58. data/lib/profiles/latest/modules/cosmosdb_profile_module.rb +691 -571
  59. data/lib/version.rb +1 -1
  60. metadata +21 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e5aeafa57b98a8ae46c1ac2941717604732cf67e
4
- data.tar.gz: 5ad8189d292ed3dd4ddac3be67f8465d3568bf50
3
+ metadata.gz: e60ca39def54d358ef1cfaca461126cce3fde684
4
+ data.tar.gz: 3538f8d714ffbba024316f4ee9bf6d7a4efe77a6
5
5
  SHA512:
6
- metadata.gz: ddd8eaa5865084ee4ee2ca595f027ed08abfb23a78ccb61e34033a97f8280024219c800c32bbea97014f2c7a5766b2c47134ca44becf630357f3773d2a2bbd78
7
- data.tar.gz: '088a976903c3d054fffdffcf08b6d851e56a7cf18321f4f96eaa4b5dcb2dd1c4d5d5064f8fd397ad8992f5b0f9ad986e5b2c98a5be0f1102560f0ff04179d3a3'
6
+ metadata.gz: 4b7fc71c50c72f96135c1bdd9f5f86bb273490b01694b2084ea2dcc9263a8017df50e586a94f0951d33c4c0acb56b7e7009c239ff4c79d12faf8eac772efd842
7
+ data.tar.gz: dc87f40e48dcb3257510ad611ec2ceb83c9bd38d99f8608465769109793719ddd908595564af7015c4ef4934a292507ad69094e10688aeed9bafe99631cdcf6a
@@ -173,7 +173,7 @@ module Azure::Cosmosdb::Mgmt::V2015_04_08
173
173
  #
174
174
  def add_telemetry
175
175
  sdk_information = 'azure_mgmt_cosmosdb'
176
- sdk_information = "#{sdk_information}/0.20.0"
176
+ sdk_information = "#{sdk_information}/0.21.0"
177
177
  add_user_agent_information(sdk_information)
178
178
  end
179
179
  end
@@ -22,7 +22,7 @@ require 'ms_rest_azure'
22
22
  module Azure::Cosmosdb::Mgmt::V2019_08_01_preview
23
23
  autoload :PrivateLinkResources, '2019-08-01-preview/generated/azure_mgmt_cosmosdb/private_link_resources.rb'
24
24
  autoload :PrivateEndpointConnections, '2019-08-01-preview/generated/azure_mgmt_cosmosdb/private_endpoint_connections.rb'
25
- autoload :CosmosDB, '2019-08-01-preview/generated/azure_mgmt_cosmosdb/cosmos_db.rb'
25
+ autoload :CosmosDBManagementClient, '2019-08-01-preview/generated/azure_mgmt_cosmosdb/cosmos_dbmanagement_client.rb'
26
26
 
27
27
  module Models
28
28
  autoload :PrivateEndpointProperty, '2019-08-01-preview/generated/azure_mgmt_cosmosdb/models/private_endpoint_property.rb'
@@ -7,7 +7,7 @@ module Azure::Cosmosdb::Mgmt::V2019_08_01_preview
7
7
  #
8
8
  # A service client - single point of access to the REST API.
9
9
  #
10
- class CosmosDB < MsRestAzure::AzureServiceClient
10
+ class CosmosDBManagementClient < MsRestAzure::AzureServiceClient
11
11
  include MsRestAzure
12
12
  include MsRestAzure::Serialization
13
13
 
@@ -49,7 +49,7 @@ module Azure::Cosmosdb::Mgmt::V2019_08_01_preview
49
49
  attr_reader :private_endpoint_connections
50
50
 
51
51
  #
52
- # Creates initializes a new instance of the CosmosDB class.
52
+ # Creates initializes a new instance of the CosmosDBManagementClient class.
53
53
  # @param credentials [MsRest::ServiceClientCredentials] credentials to authorize HTTP requests made by the service client.
54
54
  # @param base_url [String] the base URI of the service.
55
55
  # @param options [Array] filters to be applied to the HTTP requests.
@@ -135,7 +135,7 @@ module Azure::Cosmosdb::Mgmt::V2019_08_01_preview
135
135
  #
136
136
  def add_telemetry
137
137
  sdk_information = 'azure_mgmt_cosmosdb'
138
- sdk_information = "#{sdk_information}/0.20.0"
138
+ sdk_information = "#{sdk_information}/0.21.0"
139
139
  add_user_agent_information(sdk_information)
140
140
  end
141
141
  end
@@ -18,7 +18,7 @@ module Azure::Cosmosdb::Mgmt::V2019_08_01_preview
18
18
  @client = client
19
19
  end
20
20
 
21
- # @return [CosmosDB] reference to the CosmosDB
21
+ # @return [CosmosDBManagementClient] reference to the CosmosDBManagementClient
22
22
  attr_reader :client
23
23
 
24
24
  #
@@ -18,7 +18,7 @@ module Azure::Cosmosdb::Mgmt::V2019_08_01_preview
18
18
  @client = client
19
19
  end
20
20
 
21
- # @return [CosmosDB] reference to the CosmosDB
21
+ # @return [CosmosDBManagementClient] reference to the CosmosDBManagementClient
22
22
  attr_reader :client
23
23
 
24
24
  #
@@ -38,82 +38,97 @@ module Azure::Cosmosdb::Mgmt::V2019_08_01
38
38
  autoload :TableResources, '2019-08-01/generated/azure_mgmt_cosmosdb/table_resources.rb'
39
39
  autoload :CassandraResources, '2019-08-01/generated/azure_mgmt_cosmosdb/cassandra_resources.rb'
40
40
  autoload :GremlinResources, '2019-08-01/generated/azure_mgmt_cosmosdb/gremlin_resources.rb'
41
- autoload :CosmosDB, '2019-08-01/generated/azure_mgmt_cosmosdb/cosmos_db.rb'
41
+ autoload :CosmosDBManagementClient, '2019-08-01/generated/azure_mgmt_cosmosdb/cosmos_dbmanagement_client.rb'
42
42
 
43
43
  module Models
44
- autoload :GremlinDatabaseListResult, '2019-08-01/generated/azure_mgmt_cosmosdb/models/gremlin_database_list_result.rb'
45
- autoload :ConsistencyPolicy, '2019-08-01/generated/azure_mgmt_cosmosdb/models/consistency_policy.rb'
46
- autoload :Capability, '2019-08-01/generated/azure_mgmt_cosmosdb/models/capability.rb'
47
- autoload :OperationDisplay, '2019-08-01/generated/azure_mgmt_cosmosdb/models/operation_display.rb'
48
- autoload :FailoverPolicy, '2019-08-01/generated/azure_mgmt_cosmosdb/models/failover_policy.rb'
49
- autoload :GremlinGraphListResult, '2019-08-01/generated/azure_mgmt_cosmosdb/models/gremlin_graph_list_result.rb'
50
- autoload :CassandraSchema, '2019-08-01/generated/azure_mgmt_cosmosdb/models/cassandra_schema.rb'
51
- autoload :TableResource, '2019-08-01/generated/azure_mgmt_cosmosdb/models/table_resource.rb'
52
- autoload :Operation, '2019-08-01/generated/azure_mgmt_cosmosdb/models/operation.rb'
53
- autoload :CassandraTableListResult, '2019-08-01/generated/azure_mgmt_cosmosdb/models/cassandra_table_list_result.rb'
54
- autoload :Indexes, '2019-08-01/generated/azure_mgmt_cosmosdb/models/indexes.rb'
55
- autoload :PartitionUsagesResult, '2019-08-01/generated/azure_mgmt_cosmosdb/models/partition_usages_result.rb'
56
- autoload :ExcludedPath, '2019-08-01/generated/azure_mgmt_cosmosdb/models/excluded_path.rb'
57
- autoload :Location, '2019-08-01/generated/azure_mgmt_cosmosdb/models/location.rb'
58
- autoload :ContainerPartitionKey, '2019-08-01/generated/azure_mgmt_cosmosdb/models/container_partition_key.rb'
59
- autoload :VirtualNetworkRule, '2019-08-01/generated/azure_mgmt_cosmosdb/models/virtual_network_rule.rb'
60
- autoload :UniqueKeyPolicy, '2019-08-01/generated/azure_mgmt_cosmosdb/models/unique_key_policy.rb'
61
- autoload :MongoDBCollectionResource, '2019-08-01/generated/azure_mgmt_cosmosdb/models/mongo_dbcollection_resource.rb'
62
- autoload :GremlinGraphResource, '2019-08-01/generated/azure_mgmt_cosmosdb/models/gremlin_graph_resource.rb'
63
44
  autoload :ErrorResponse, '2019-08-01/generated/azure_mgmt_cosmosdb/models/error_response.rb'
64
- autoload :OperationListResult, '2019-08-01/generated/azure_mgmt_cosmosdb/models/operation_list_result.rb'
45
+ autoload :ConsistencyPolicy, '2019-08-01/generated/azure_mgmt_cosmosdb/models/consistency_policy.rb'
65
46
  autoload :FailoverPolicies, '2019-08-01/generated/azure_mgmt_cosmosdb/models/failover_policies.rb'
66
- autoload :GremlinDatabaseResource, '2019-08-01/generated/azure_mgmt_cosmosdb/models/gremlin_database_resource.rb'
47
+ autoload :Location, '2019-08-01/generated/azure_mgmt_cosmosdb/models/location.rb'
67
48
  autoload :RegionForOnlineOffline, '2019-08-01/generated/azure_mgmt_cosmosdb/models/region_for_online_offline.rb'
68
- autoload :MetricName, '2019-08-01/generated/azure_mgmt_cosmosdb/models/metric_name.rb'
49
+ autoload :VirtualNetworkRule, '2019-08-01/generated/azure_mgmt_cosmosdb/models/virtual_network_rule.rb'
69
50
  autoload :ARMResourceProperties, '2019-08-01/generated/azure_mgmt_cosmosdb/models/armresource_properties.rb'
70
- autoload :CassandraTableResource, '2019-08-01/generated/azure_mgmt_cosmosdb/models/cassandra_table_resource.rb'
51
+ autoload :DatabaseAccountsListResult, '2019-08-01/generated/azure_mgmt_cosmosdb/models/database_accounts_list_result.rb'
71
52
  autoload :ARMProxyResource, '2019-08-01/generated/azure_mgmt_cosmosdb/models/armproxy_resource.rb'
72
- autoload :MongoIndexKeys, '2019-08-01/generated/azure_mgmt_cosmosdb/models/mongo_index_keys.rb'
73
- autoload :ExtendedResourceProperties, '2019-08-01/generated/azure_mgmt_cosmosdb/models/extended_resource_properties.rb'
74
- autoload :MongoIndex, '2019-08-01/generated/azure_mgmt_cosmosdb/models/mongo_index.rb'
53
+ autoload :ClusterKey, '2019-08-01/generated/azure_mgmt_cosmosdb/models/cluster_key.rb'
54
+ autoload :SqlDatabaseListResult, '2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_database_list_result.rb'
55
+ autoload :CassandraSchema, '2019-08-01/generated/azure_mgmt_cosmosdb/models/cassandra_schema.rb'
56
+ autoload :IncludedPath, '2019-08-01/generated/azure_mgmt_cosmosdb/models/included_path.rb'
57
+ autoload :CassandraTableGetPropertiesResource, '2019-08-01/generated/azure_mgmt_cosmosdb/models/cassandra_table_get_properties_resource.rb'
58
+ autoload :CompositePath, '2019-08-01/generated/azure_mgmt_cosmosdb/models/composite_path.rb'
59
+ autoload :MetricDefinition, '2019-08-01/generated/azure_mgmt_cosmosdb/models/metric_definition.rb'
60
+ autoload :IndexingPolicy, '2019-08-01/generated/azure_mgmt_cosmosdb/models/indexing_policy.rb'
61
+ autoload :CassandraTableListResult, '2019-08-01/generated/azure_mgmt_cosmosdb/models/cassandra_table_list_result.rb'
62
+ autoload :UniqueKey, '2019-08-01/generated/azure_mgmt_cosmosdb/models/unique_key.rb'
63
+ autoload :GremlinDatabaseGetPropertiesResource, '2019-08-01/generated/azure_mgmt_cosmosdb/models/gremlin_database_get_properties_resource.rb'
64
+ autoload :ConflictResolutionPolicy, '2019-08-01/generated/azure_mgmt_cosmosdb/models/conflict_resolution_policy.rb'
65
+ autoload :MetricAvailability, '2019-08-01/generated/azure_mgmt_cosmosdb/models/metric_availability.rb'
66
+ autoload :GremlinDatabaseListResult, '2019-08-01/generated/azure_mgmt_cosmosdb/models/gremlin_database_list_result.rb'
67
+ autoload :SqlStoredProcedureGetPropertiesResource, '2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_stored_procedure_get_properties_resource.rb'
68
+ autoload :GremlinGraphGetPropertiesResource, '2019-08-01/generated/azure_mgmt_cosmosdb/models/gremlin_graph_get_properties_resource.rb'
69
+ autoload :SqlStoredProcedureListResult, '2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_stored_procedure_list_result.rb'
70
+ autoload :PartitionUsagesResult, '2019-08-01/generated/azure_mgmt_cosmosdb/models/partition_usages_result.rb'
71
+ autoload :PercentileMetricListResult, '2019-08-01/generated/azure_mgmt_cosmosdb/models/percentile_metric_list_result.rb'
72
+ autoload :GremlinGraphListResult, '2019-08-01/generated/azure_mgmt_cosmosdb/models/gremlin_graph_list_result.rb'
73
+ autoload :SqlTriggerGetPropertiesResource, '2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_trigger_get_properties_resource.rb'
74
+ autoload :Capability, '2019-08-01/generated/azure_mgmt_cosmosdb/models/capability.rb'
75
+ autoload :SqlTriggerListResult, '2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_trigger_list_result.rb'
76
+ autoload :FailoverPolicy, '2019-08-01/generated/azure_mgmt_cosmosdb/models/failover_policy.rb'
77
+ autoload :MetricListResult, '2019-08-01/generated/azure_mgmt_cosmosdb/models/metric_list_result.rb'
78
+ autoload :MongoDBDatabaseListResult, '2019-08-01/generated/azure_mgmt_cosmosdb/models/mongo_dbdatabase_list_result.rb'
79
+ autoload :MongoDBCollectionResource, '2019-08-01/generated/azure_mgmt_cosmosdb/models/mongo_dbcollection_resource.rb'
80
+ autoload :MongoIndexOptions, '2019-08-01/generated/azure_mgmt_cosmosdb/models/mongo_index_options.rb'
81
+ autoload :SqlDatabaseGetPropertiesResource, '2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_database_get_properties_resource.rb'
82
+ autoload :MongoDBCollectionGetPropertiesResource, '2019-08-01/generated/azure_mgmt_cosmosdb/models/mongo_dbcollection_get_properties_resource.rb'
83
+ autoload :UsagesResult, '2019-08-01/generated/azure_mgmt_cosmosdb/models/usages_result.rb'
75
84
  autoload :MongoDBCollectionListResult, '2019-08-01/generated/azure_mgmt_cosmosdb/models/mongo_dbcollection_list_result.rb'
76
- autoload :PartitionMetricListResult, '2019-08-01/generated/azure_mgmt_cosmosdb/models/partition_metric_list_result.rb'
77
- autoload :TableListResult, '2019-08-01/generated/azure_mgmt_cosmosdb/models/table_list_result.rb'
78
- autoload :DatabaseAccountUpdateParameters, '2019-08-01/generated/azure_mgmt_cosmosdb/models/database_account_update_parameters.rb'
85
+ autoload :ExtendedResourceProperties, '2019-08-01/generated/azure_mgmt_cosmosdb/models/extended_resource_properties.rb'
86
+ autoload :MetricValue, '2019-08-01/generated/azure_mgmt_cosmosdb/models/metric_value.rb'
87
+ autoload :ThroughputSettingsGetPropertiesResource, '2019-08-01/generated/azure_mgmt_cosmosdb/models/throughput_settings_get_properties_resource.rb'
88
+ autoload :CassandraKeyspaceGetPropertiesResource, '2019-08-01/generated/azure_mgmt_cosmosdb/models/cassandra_keyspace_get_properties_resource.rb'
89
+ autoload :Usage, '2019-08-01/generated/azure_mgmt_cosmosdb/models/usage.rb'
79
90
  autoload :CassandraKeyspaceListResult, '2019-08-01/generated/azure_mgmt_cosmosdb/models/cassandra_keyspace_list_result.rb'
80
- autoload :DatabaseAccountListReadOnlyKeysResult, '2019-08-01/generated/azure_mgmt_cosmosdb/models/database_account_list_read_only_keys_result.rb'
91
+ autoload :MetricName, '2019-08-01/generated/azure_mgmt_cosmosdb/models/metric_name.rb'
81
92
  autoload :CassandraPartitionKey, '2019-08-01/generated/azure_mgmt_cosmosdb/models/cassandra_partition_key.rb'
82
- autoload :PercentileMetricListResult, '2019-08-01/generated/azure_mgmt_cosmosdb/models/percentile_metric_list_result.rb'
83
- autoload :DatabaseAccountsListResult, '2019-08-01/generated/azure_mgmt_cosmosdb/models/database_accounts_list_result.rb'
93
+ autoload :DatabaseAccountUpdateParameters, '2019-08-01/generated/azure_mgmt_cosmosdb/models/database_account_update_parameters.rb'
94
+ autoload :ExcludedPath, '2019-08-01/generated/azure_mgmt_cosmosdb/models/excluded_path.rb'
95
+ autoload :DatabaseAccountListReadOnlyKeysResult, '2019-08-01/generated/azure_mgmt_cosmosdb/models/database_account_list_read_only_keys_result.rb'
96
+ autoload :ContainerPartitionKey, '2019-08-01/generated/azure_mgmt_cosmosdb/models/container_partition_key.rb'
97
+ autoload :OperationListResult, '2019-08-01/generated/azure_mgmt_cosmosdb/models/operation_list_result.rb'
98
+ autoload :SqlContainerGetPropertiesResource, '2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_container_get_properties_resource.rb'
84
99
  autoload :DatabaseAccountConnectionString, '2019-08-01/generated/azure_mgmt_cosmosdb/models/database_account_connection_string.rb'
85
- autoload :IncludedPath, '2019-08-01/generated/azure_mgmt_cosmosdb/models/included_path.rb'
100
+ autoload :PartitionMetricListResult, '2019-08-01/generated/azure_mgmt_cosmosdb/models/partition_metric_list_result.rb'
86
101
  autoload :DatabaseAccountListConnectionStringsResult, '2019-08-01/generated/azure_mgmt_cosmosdb/models/database_account_list_connection_strings_result.rb'
87
- autoload :UniqueKey, '2019-08-01/generated/azure_mgmt_cosmosdb/models/unique_key.rb'
102
+ autoload :SqlUserDefinedFunctionListResult, '2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_user_defined_function_list_result.rb'
88
103
  autoload :DatabaseAccountRegenerateKeyParameters, '2019-08-01/generated/azure_mgmt_cosmosdb/models/database_account_regenerate_key_parameters.rb'
89
- autoload :SqlContainerListResult, '2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_container_list_result.rb'
104
+ autoload :MongoDBDatabaseGetPropertiesResource, '2019-08-01/generated/azure_mgmt_cosmosdb/models/mongo_dbdatabase_get_properties_resource.rb'
90
105
  autoload :ThroughputSettingsResource, '2019-08-01/generated/azure_mgmt_cosmosdb/models/throughput_settings_resource.rb'
91
- autoload :SqlUserDefinedFunctionListResult, '2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_user_defined_function_list_result.rb'
92
- autoload :PercentileMetric, '2019-08-01/generated/azure_mgmt_cosmosdb/models/percentile_metric.rb'
93
- autoload :MongoDBDatabaseListResult, '2019-08-01/generated/azure_mgmt_cosmosdb/models/mongo_dbdatabase_list_result.rb'
106
+ autoload :MongoIndex, '2019-08-01/generated/azure_mgmt_cosmosdb/models/mongo_index.rb'
107
+ autoload :Operation, '2019-08-01/generated/azure_mgmt_cosmosdb/models/operation.rb'
108
+ autoload :TableGetPropertiesResource, '2019-08-01/generated/azure_mgmt_cosmosdb/models/table_get_properties_resource.rb'
94
109
  autoload :SqlDatabaseResource, '2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_database_resource.rb'
95
- autoload :Usage, '2019-08-01/generated/azure_mgmt_cosmosdb/models/usage.rb'
96
- autoload :MetricListResult, '2019-08-01/generated/azure_mgmt_cosmosdb/models/metric_list_result.rb'
97
- autoload :UsagesResult, '2019-08-01/generated/azure_mgmt_cosmosdb/models/usages_result.rb'
110
+ autoload :MetricDefinitionsListResult, '2019-08-01/generated/azure_mgmt_cosmosdb/models/metric_definitions_list_result.rb'
111
+ autoload :OperationDisplay, '2019-08-01/generated/azure_mgmt_cosmosdb/models/operation_display.rb'
112
+ autoload :Indexes, '2019-08-01/generated/azure_mgmt_cosmosdb/models/indexes.rb'
98
113
  autoload :SqlContainerResource, '2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_container_resource.rb'
99
- autoload :ClusterKey, '2019-08-01/generated/azure_mgmt_cosmosdb/models/cluster_key.rb'
100
- autoload :Metric, '2019-08-01/generated/azure_mgmt_cosmosdb/models/metric.rb'
101
- autoload :IndexingPolicy, '2019-08-01/generated/azure_mgmt_cosmosdb/models/indexing_policy.rb'
114
+ autoload :UniqueKeyPolicy, '2019-08-01/generated/azure_mgmt_cosmosdb/models/unique_key_policy.rb'
115
+ autoload :GremlinGraphResource, '2019-08-01/generated/azure_mgmt_cosmosdb/models/gremlin_graph_resource.rb'
116
+ autoload :SqlUserDefinedFunctionGetPropertiesResource, '2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_user_defined_function_get_properties_resource.rb'
102
117
  autoload :SqlStoredProcedureResource, '2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_stored_procedure_resource.rb'
103
- autoload :SqlStoredProcedureListResult, '2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_stored_procedure_list_result.rb'
104
- autoload :MetricValue, '2019-08-01/generated/azure_mgmt_cosmosdb/models/metric_value.rb'
105
- autoload :MongoIndexOptions, '2019-08-01/generated/azure_mgmt_cosmosdb/models/mongo_index_options.rb'
118
+ autoload :MongoIndexKeys, '2019-08-01/generated/azure_mgmt_cosmosdb/models/mongo_index_keys.rb'
119
+ autoload :GremlinDatabaseResource, '2019-08-01/generated/azure_mgmt_cosmosdb/models/gremlin_database_resource.rb'
120
+ autoload :TableListResult, '2019-08-01/generated/azure_mgmt_cosmosdb/models/table_list_result.rb'
106
121
  autoload :SqlUserDefinedFunctionResource, '2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_user_defined_function_resource.rb'
107
- autoload :Column, '2019-08-01/generated/azure_mgmt_cosmosdb/models/column.rb'
108
- autoload :MetricDefinitionsListResult, '2019-08-01/generated/azure_mgmt_cosmosdb/models/metric_definitions_list_result.rb'
109
- autoload :ConflictResolutionPolicy, '2019-08-01/generated/azure_mgmt_cosmosdb/models/conflict_resolution_policy.rb'
122
+ autoload :SpatialSpec, '2019-08-01/generated/azure_mgmt_cosmosdb/models/spatial_spec.rb'
123
+ autoload :CassandraTableResource, '2019-08-01/generated/azure_mgmt_cosmosdb/models/cassandra_table_resource.rb'
124
+ autoload :PercentileMetric, '2019-08-01/generated/azure_mgmt_cosmosdb/models/percentile_metric.rb'
110
125
  autoload :SqlTriggerResource, '2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_trigger_resource.rb'
126
+ autoload :Column, '2019-08-01/generated/azure_mgmt_cosmosdb/models/column.rb'
111
127
  autoload :CassandraKeyspaceResource, '2019-08-01/generated/azure_mgmt_cosmosdb/models/cassandra_keyspace_resource.rb'
112
- autoload :MetricDefinition, '2019-08-01/generated/azure_mgmt_cosmosdb/models/metric_definition.rb'
113
- autoload :SqlTriggerListResult, '2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_trigger_list_result.rb'
128
+ autoload :Metric, '2019-08-01/generated/azure_mgmt_cosmosdb/models/metric.rb'
114
129
  autoload :MongoDBDatabaseResource, '2019-08-01/generated/azure_mgmt_cosmosdb/models/mongo_dbdatabase_resource.rb'
115
- autoload :SqlDatabaseListResult, '2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_database_list_result.rb'
116
- autoload :MetricAvailability, '2019-08-01/generated/azure_mgmt_cosmosdb/models/metric_availability.rb'
130
+ autoload :SqlContainerListResult, '2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_container_list_result.rb'
131
+ autoload :TableResource, '2019-08-01/generated/azure_mgmt_cosmosdb/models/table_resource.rb'
117
132
  autoload :DatabaseAccountGetResults, '2019-08-01/generated/azure_mgmt_cosmosdb/models/database_account_get_results.rb'
118
133
  autoload :SqlDatabaseGetResults, '2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_database_get_results.rb'
119
134
  autoload :SqlContainerGetResults, '2019-08-01/generated/azure_mgmt_cosmosdb/models/sql_container_get_results.rb'
@@ -153,6 +168,8 @@ module Azure::Cosmosdb::Mgmt::V2019_08_01
153
168
  autoload :IndexingMode, '2019-08-01/generated/azure_mgmt_cosmosdb/models/indexing_mode.rb'
154
169
  autoload :DataType, '2019-08-01/generated/azure_mgmt_cosmosdb/models/data_type.rb'
155
170
  autoload :IndexKind, '2019-08-01/generated/azure_mgmt_cosmosdb/models/index_kind.rb'
171
+ autoload :CompositePathSortOrder, '2019-08-01/generated/azure_mgmt_cosmosdb/models/composite_path_sort_order.rb'
172
+ autoload :SpatialType, '2019-08-01/generated/azure_mgmt_cosmosdb/models/spatial_type.rb'
156
173
  autoload :PartitionKind, '2019-08-01/generated/azure_mgmt_cosmosdb/models/partition_kind.rb'
157
174
  autoload :ConflictResolutionMode, '2019-08-01/generated/azure_mgmt_cosmosdb/models/conflict_resolution_mode.rb'
158
175
  autoload :TriggerType, '2019-08-01/generated/azure_mgmt_cosmosdb/models/trigger_type.rb'
@@ -18,7 +18,7 @@ module Azure::Cosmosdb::Mgmt::V2019_08_01
18
18
  @client = client
19
19
  end
20
20
 
21
- # @return [CosmosDB] reference to the CosmosDB
21
+ # @return [CosmosDBManagementClient] reference to the CosmosDBManagementClient
22
22
  attr_reader :client
23
23
 
24
24
  #
@@ -18,7 +18,7 @@ module Azure::Cosmosdb::Mgmt::V2019_08_01
18
18
  @client = client
19
19
  end
20
20
 
21
- # @return [CosmosDB] reference to the CosmosDB
21
+ # @return [CosmosDBManagementClient] reference to the CosmosDBManagementClient
22
22
  attr_reader :client
23
23
 
24
24
  #
@@ -18,7 +18,7 @@ module Azure::Cosmosdb::Mgmt::V2019_08_01
18
18
  @client = client
19
19
  end
20
20
 
21
- # @return [CosmosDB] reference to the CosmosDB
21
+ # @return [CosmosDBManagementClient] reference to the CosmosDBManagementClient
22
22
  attr_reader :client
23
23
 
24
24
  #
@@ -18,7 +18,7 @@ module Azure::Cosmosdb::Mgmt::V2019_08_01
18
18
  @client = client
19
19
  end
20
20
 
21
- # @return [CosmosDB] reference to the CosmosDB
21
+ # @return [CosmosDBManagementClient] reference to the CosmosDBManagementClient
22
22
  attr_reader :client
23
23
 
24
24
  #
@@ -18,7 +18,7 @@ module Azure::Cosmosdb::Mgmt::V2019_08_01
18
18
  @client = client
19
19
  end
20
20
 
21
- # @return [CosmosDB] reference to the CosmosDB
21
+ # @return [CosmosDBManagementClient] reference to the CosmosDBManagementClient
22
22
  attr_reader :client
23
23
 
24
24
  #
@@ -7,7 +7,7 @@ module Azure::Cosmosdb::Mgmt::V2019_08_01
7
7
  #
8
8
  # A service client - single point of access to the REST API.
9
9
  #
10
- class CosmosDB < MsRestAzure::AzureServiceClient
10
+ class CosmosDBManagementClient < MsRestAzure::AzureServiceClient
11
11
  include MsRestAzure
12
12
  include MsRestAzure::Serialization
13
13
 
@@ -91,7 +91,7 @@ module Azure::Cosmosdb::Mgmt::V2019_08_01
91
91
  attr_reader :gremlin_resources
92
92
 
93
93
  #
94
- # Creates initializes a new instance of the CosmosDB class.
94
+ # Creates initializes a new instance of the CosmosDBManagementClient class.
95
95
  # @param credentials [MsRest::ServiceClientCredentials] credentials to authorize HTTP requests made by the service client.
96
96
  # @param base_url [String] the base URI of the service.
97
97
  # @param options [Array] filters to be applied to the HTTP requests.
@@ -193,7 +193,7 @@ module Azure::Cosmosdb::Mgmt::V2019_08_01
193
193
  #
194
194
  def add_telemetry
195
195
  sdk_information = 'azure_mgmt_cosmosdb'
196
- sdk_information = "#{sdk_information}/0.20.0"
196
+ sdk_information = "#{sdk_information}/0.21.0"
197
197
  add_user_agent_information(sdk_information)
198
198
  end
199
199
  end
@@ -18,7 +18,7 @@ module Azure::Cosmosdb::Mgmt::V2019_08_01
18
18
  @client = client
19
19
  end
20
20
 
21
- # @return [CosmosDB] reference to the CosmosDB
21
+ # @return [CosmosDBManagementClient] reference to the CosmosDBManagementClient
22
22
  attr_reader :client
23
23
 
24
24
  #
@@ -18,7 +18,7 @@ module Azure::Cosmosdb::Mgmt::V2019_08_01
18
18
  @client = client
19
19
  end
20
20
 
21
- # @return [CosmosDB] reference to the CosmosDB
21
+ # @return [CosmosDBManagementClient] reference to the CosmosDBManagementClient
22
22
  attr_reader :client
23
23
 
24
24
  #
@@ -18,7 +18,7 @@ module Azure::Cosmosdb::Mgmt::V2019_08_01
18
18
  @client = client
19
19
  end
20
20
 
21
- # @return [CosmosDB] reference to the CosmosDB
21
+ # @return [CosmosDBManagementClient] reference to the CosmosDBManagementClient
22
22
  attr_reader :client
23
23
 
24
24
  #
@@ -18,7 +18,7 @@ module Azure::Cosmosdb::Mgmt::V2019_08_01
18
18
  @client = client
19
19
  end
20
20
 
21
- # @return [CosmosDB] reference to the CosmosDB
21
+ # @return [CosmosDBManagementClient] reference to the CosmosDBManagementClient
22
22
  attr_reader :client
23
23
 
24
24
  #
@@ -0,0 +1,85 @@
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::V2019_08_01
7
+ module Models
8
+ #
9
+ # Model object.
10
+ #
11
+ #
12
+ class CassandraKeyspaceGetPropertiesResource
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [String] Name of the Cosmos DB Cassandra keyspace
17
+ attr_accessor :id
18
+
19
+ # @return [String] A system generated property. A unique identifier.
20
+ attr_accessor :_rid
21
+
22
+ # @return A system generated property that denotes the last updated
23
+ # timestamp of the resource.
24
+ attr_accessor :_ts
25
+
26
+ # @return [String] A system generated property representing the resource
27
+ # etag required for optimistic concurrency control.
28
+ attr_accessor :_etag
29
+
30
+
31
+ #
32
+ # Mapper for CassandraKeyspaceGetPropertiesResource class as Ruby Hash.
33
+ # This will be used for serialization/deserialization.
34
+ #
35
+ def self.mapper()
36
+ {
37
+ client_side_validation: true,
38
+ required: false,
39
+ serialized_name: 'CassandraKeyspaceGetProperties_resource',
40
+ type: {
41
+ name: 'Composite',
42
+ class_name: 'CassandraKeyspaceGetPropertiesResource',
43
+ model_properties: {
44
+ id: {
45
+ client_side_validation: true,
46
+ required: true,
47
+ serialized_name: 'id',
48
+ type: {
49
+ name: 'String'
50
+ }
51
+ },
52
+ _rid: {
53
+ client_side_validation: true,
54
+ required: false,
55
+ read_only: true,
56
+ serialized_name: '_rid',
57
+ type: {
58
+ name: 'String'
59
+ }
60
+ },
61
+ _ts: {
62
+ client_side_validation: true,
63
+ required: false,
64
+ read_only: true,
65
+ serialized_name: '_ts',
66
+ type: {
67
+ name: 'Object'
68
+ }
69
+ },
70
+ _etag: {
71
+ client_side_validation: true,
72
+ required: false,
73
+ read_only: true,
74
+ serialized_name: '_etag',
75
+ type: {
76
+ name: 'String'
77
+ }
78
+ }
79
+ }
80
+ }
81
+ }
82
+ end
83
+ end
84
+ end
85
+ end
@@ -12,19 +12,8 @@ module Azure::Cosmosdb::Mgmt::V2019_08_01
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [String] Name of the Cosmos DB Cassandra keyspace
16
- attr_accessor :cassandra_keyspace_get_results_id
17
-
18
- # @return [String] A system generated property. A unique identifier.
19
- attr_accessor :_rid
20
-
21
- # @return A system generated property that denotes the last updated
22
- # timestamp of the resource.
23
- attr_accessor :_ts
24
-
25
- # @return [String] A system generated property representing the resource
26
- # etag required for optimistic concurrency control.
27
- attr_accessor :_etag
15
+ # @return [CassandraKeyspaceGetPropertiesResource]
16
+ attr_accessor :resource
28
17
 
29
18
 
30
19
  #
@@ -91,39 +80,13 @@ module Azure::Cosmosdb::Mgmt::V2019_08_01
91
80
  }
92
81
  }
93
82
  },
94
- cassandra_keyspace_get_results_id: {
95
- client_side_validation: true,
96
- required: true,
97
- serialized_name: 'properties.id',
98
- type: {
99
- name: 'String'
100
- }
101
- },
102
- _rid: {
83
+ resource: {
103
84
  client_side_validation: true,
104
85
  required: false,
105
- read_only: true,
106
- serialized_name: 'properties._rid',
86
+ serialized_name: 'properties.resource',
107
87
  type: {
108
- name: 'String'
109
- }
110
- },
111
- _ts: {
112
- client_side_validation: true,
113
- required: false,
114
- read_only: true,
115
- serialized_name: 'properties._ts',
116
- type: {
117
- name: 'Object'
118
- }
119
- },
120
- _etag: {
121
- client_side_validation: true,
122
- required: false,
123
- read_only: true,
124
- serialized_name: 'properties._etag',
125
- type: {
126
- name: 'String'
88
+ name: 'Composite',
89
+ class_name: 'CassandraKeyspaceGetPropertiesResource'
127
90
  }
128
91
  }
129
92
  }