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.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb.rb +140 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/collection.rb +371 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/collection_partition.rb +267 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/collection_partition_region.rb +155 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/collection_region.rb +155 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/cosmos_db.rb +180 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/database.rb +359 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/database_account_region.rb +147 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/database_accounts.rb +6805 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/capability.rb +48 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/cassandra_keyspace.rb +97 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/cassandra_keyspace_create_update_parameters.rb +69 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/cassandra_keyspace_list_result.rb +58 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/cassandra_keyspace_resource.rb +46 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/cassandra_partition_key.rb +46 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/cassandra_schema.rb +95 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/cassandra_table.rb +120 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/cassandra_table_create_update_parameters.rb +69 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/cassandra_table_list_result.rb +58 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/cassandra_table_resource.rb +69 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/cluster_key.rb +58 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/column.rb +57 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/conflict_resolution_mode.rb +16 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/conflict_resolution_policy.rb +73 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/consistency_policy.rb +86 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/container_partition_key.rb +70 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/data_type.rb +20 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/database_account.rb +313 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/database_account_connection_string.rb +59 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/database_account_create_update_parameters.rb +243 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/database_account_kind.rb +17 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/database_account_list_connection_strings_result.rb +57 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/database_account_list_keys_result.rb +83 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/database_account_list_read_only_keys_result.rb +59 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/database_account_offer_type.rb +15 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/database_account_patch_parameters.rb +75 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/database_account_regenerate_key_parameters.rb +47 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/database_accounts_list_result.rb +58 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/default_consistency_level.rb +19 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/error_response.rb +57 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/excluded_path.rb +48 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/extended_resource_properties.rb +71 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/failover_policies.rb +55 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/failover_policy.rb +79 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/gremlin_database.rb +132 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/gremlin_database_create_update_parameters.rb +69 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/gremlin_database_list_result.rb +58 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/gremlin_database_resource.rb +46 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/gremlin_graph.rb +197 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/gremlin_graph_create_update_parameters.rb +69 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/gremlin_graph_list_result.rb +57 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/gremlin_graph_resource.rb +111 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/included_path.rb +67 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/index_kind.rb +17 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/indexes.rb +73 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/indexing_mode.rb +17 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/indexing_policy.rb +99 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/key_kind.rb +18 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/location.rb +102 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/metric.rb +120 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/metric_availability.rb +60 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/metric_definition.rb +109 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/metric_definitions_list_result.rb +57 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/metric_list_result.rb +56 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/metric_name.rb +59 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/metric_value.rb +107 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/mongo_dbcollection.rb +137 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/mongo_dbcollection_create_update_parameters.rb +69 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/mongo_dbcollection_list_result.rb +58 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/mongo_dbcollection_resource.rb +86 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/mongo_dbdatabase.rb +97 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/mongo_dbdatabase_create_update_parameters.rb +69 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/mongo_dbdatabase_list_result.rb +58 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/mongo_dbdatabase_resource.rb +46 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/mongo_index.rb +60 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/mongo_index_keys.rb +55 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/mongo_index_options.rb +57 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/operation.rb +58 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/operation_display.rb +80 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/operation_list_result.rb +101 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/partition_kind.rb +16 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/partition_metric.rb +124 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/partition_metric_list_result.rb +57 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/partition_usage.rb +105 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/partition_usages_result.rb +57 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/percentile_metric.rb +120 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/percentile_metric_list_result.rb +57 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/percentile_metric_value.rb +173 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/primary_aggregation_type.rb +20 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/region_for_online_offline.rb +47 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/resource.rb +112 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/sql_container.rb +197 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/sql_container_create_update_parameters.rb +68 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/sql_container_list_result.rb +57 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/sql_container_resource.rb +111 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/sql_database.rb +156 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/sql_database_create_update_parameters.rb +69 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/sql_database_list_result.rb +58 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/sql_database_resource.rb +46 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/table.rb +97 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/table_create_update_parameters.rb +68 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/table_list_result.rb +57 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/table_resource.rb +46 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/unique_key.rb +56 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/unique_key_policy.rb +58 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/unit_type.rb +21 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/usage.rb +97 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/usages_result.rb +57 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/virtual_network_rule.rb +59 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/module_definition.rb +9 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/operations.rb +219 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/partition_key_range_id.rb +155 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/partition_key_range_id_region.rb +162 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/percentile.rb +140 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/percentile_source_target.rb +157 -0
- data/lib/2015-04-08/generated/azure_mgmt_cosmosdb/percentile_target.rb +147 -0
- data/lib/azure_mgmt_cosmosdb.rb +6 -0
- data/lib/module_definition.rb +7 -0
- data/lib/profiles/latest/cosmosdb_latest_profile_client.rb +40 -0
- data/lib/profiles/latest/cosmosdb_module_definition.rb +8 -0
- data/lib/profiles/latest/modules/cosmosdb_profile_module.rb +485 -0
- data/lib/version.rb +7 -0
- metadata +240 -0
|
@@ -0,0 +1,46 @@
|
|
|
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
|
+
module Models
|
|
8
|
+
#
|
|
9
|
+
# Cosmos DB SQL database id object
|
|
10
|
+
#
|
|
11
|
+
class SqlDatabaseResource
|
|
12
|
+
|
|
13
|
+
include MsRestAzure
|
|
14
|
+
|
|
15
|
+
# @return [String] Name of the Cosmos DB SQL database
|
|
16
|
+
attr_accessor :id
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
#
|
|
20
|
+
# Mapper for SqlDatabaseResource class as Ruby Hash.
|
|
21
|
+
# This will be used for serialization/deserialization.
|
|
22
|
+
#
|
|
23
|
+
def self.mapper()
|
|
24
|
+
{
|
|
25
|
+
client_side_validation: true,
|
|
26
|
+
required: false,
|
|
27
|
+
serialized_name: 'SqlDatabaseResource',
|
|
28
|
+
type: {
|
|
29
|
+
name: 'Composite',
|
|
30
|
+
class_name: 'SqlDatabaseResource',
|
|
31
|
+
model_properties: {
|
|
32
|
+
id: {
|
|
33
|
+
client_side_validation: true,
|
|
34
|
+
required: true,
|
|
35
|
+
serialized_name: 'id',
|
|
36
|
+
type: {
|
|
37
|
+
name: 'String'
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
end
|
|
@@ -0,0 +1,97 @@
|
|
|
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
|
+
module Models
|
|
8
|
+
#
|
|
9
|
+
# An Azure Cosmos DB Table.
|
|
10
|
+
#
|
|
11
|
+
class Table < Resource
|
|
12
|
+
|
|
13
|
+
include MsRestAzure
|
|
14
|
+
|
|
15
|
+
# @return [String] Name of the Cosmos DB table
|
|
16
|
+
attr_accessor :table_id
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
#
|
|
20
|
+
# Mapper for Table class as Ruby Hash.
|
|
21
|
+
# This will be used for serialization/deserialization.
|
|
22
|
+
#
|
|
23
|
+
def self.mapper()
|
|
24
|
+
{
|
|
25
|
+
client_side_validation: true,
|
|
26
|
+
required: false,
|
|
27
|
+
serialized_name: 'Table',
|
|
28
|
+
type: {
|
|
29
|
+
name: 'Composite',
|
|
30
|
+
class_name: 'Table',
|
|
31
|
+
model_properties: {
|
|
32
|
+
id: {
|
|
33
|
+
client_side_validation: true,
|
|
34
|
+
required: false,
|
|
35
|
+
read_only: true,
|
|
36
|
+
serialized_name: 'id',
|
|
37
|
+
type: {
|
|
38
|
+
name: 'String'
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
name: {
|
|
42
|
+
client_side_validation: true,
|
|
43
|
+
required: false,
|
|
44
|
+
read_only: true,
|
|
45
|
+
serialized_name: 'name',
|
|
46
|
+
type: {
|
|
47
|
+
name: 'String'
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
type: {
|
|
51
|
+
client_side_validation: true,
|
|
52
|
+
required: false,
|
|
53
|
+
read_only: true,
|
|
54
|
+
serialized_name: 'type',
|
|
55
|
+
type: {
|
|
56
|
+
name: 'String'
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
location: {
|
|
60
|
+
client_side_validation: true,
|
|
61
|
+
required: false,
|
|
62
|
+
serialized_name: 'location',
|
|
63
|
+
type: {
|
|
64
|
+
name: 'String'
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
tags: {
|
|
68
|
+
client_side_validation: true,
|
|
69
|
+
required: false,
|
|
70
|
+
serialized_name: 'tags',
|
|
71
|
+
type: {
|
|
72
|
+
name: 'Dictionary',
|
|
73
|
+
value: {
|
|
74
|
+
client_side_validation: true,
|
|
75
|
+
required: false,
|
|
76
|
+
serialized_name: 'StringElementType',
|
|
77
|
+
type: {
|
|
78
|
+
name: 'String'
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
table_id: {
|
|
84
|
+
client_side_validation: true,
|
|
85
|
+
required: true,
|
|
86
|
+
serialized_name: 'properties.id',
|
|
87
|
+
type: {
|
|
88
|
+
name: 'String'
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
end
|
|
95
|
+
end
|
|
96
|
+
end
|
|
97
|
+
end
|
|
@@ -0,0 +1,68 @@
|
|
|
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
|
+
module Models
|
|
8
|
+
#
|
|
9
|
+
# Parameters to create and update Cosmos DB Table.
|
|
10
|
+
#
|
|
11
|
+
class TableCreateUpdateParameters
|
|
12
|
+
|
|
13
|
+
include MsRestAzure
|
|
14
|
+
|
|
15
|
+
# @return [TableResource] The standard JSON format of a Table
|
|
16
|
+
attr_accessor :resource
|
|
17
|
+
|
|
18
|
+
# @return [Hash{String => String}] A key-value pair of options to be
|
|
19
|
+
# applied for the request. This corresponds to the headers sent with the
|
|
20
|
+
# request.
|
|
21
|
+
attr_accessor :options
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
#
|
|
25
|
+
# Mapper for TableCreateUpdateParameters class as Ruby Hash.
|
|
26
|
+
# This will be used for serialization/deserialization.
|
|
27
|
+
#
|
|
28
|
+
def self.mapper()
|
|
29
|
+
{
|
|
30
|
+
client_side_validation: true,
|
|
31
|
+
required: false,
|
|
32
|
+
serialized_name: 'TableCreateUpdateParameters',
|
|
33
|
+
type: {
|
|
34
|
+
name: 'Composite',
|
|
35
|
+
class_name: 'TableCreateUpdateParameters',
|
|
36
|
+
model_properties: {
|
|
37
|
+
resource: {
|
|
38
|
+
client_side_validation: true,
|
|
39
|
+
required: true,
|
|
40
|
+
serialized_name: 'properties.resource',
|
|
41
|
+
type: {
|
|
42
|
+
name: 'Composite',
|
|
43
|
+
class_name: 'TableResource'
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
options: {
|
|
47
|
+
client_side_validation: true,
|
|
48
|
+
required: true,
|
|
49
|
+
serialized_name: 'properties.options',
|
|
50
|
+
type: {
|
|
51
|
+
name: 'Dictionary',
|
|
52
|
+
value: {
|
|
53
|
+
client_side_validation: true,
|
|
54
|
+
required: false,
|
|
55
|
+
serialized_name: 'StringElementType',
|
|
56
|
+
type: {
|
|
57
|
+
name: 'String'
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
end
|
|
66
|
+
end
|
|
67
|
+
end
|
|
68
|
+
end
|
|
@@ -0,0 +1,57 @@
|
|
|
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
|
+
module Models
|
|
8
|
+
#
|
|
9
|
+
# The List operation response, that contains the Table and their
|
|
10
|
+
# properties.
|
|
11
|
+
#
|
|
12
|
+
class TableListResult
|
|
13
|
+
|
|
14
|
+
include MsRestAzure
|
|
15
|
+
|
|
16
|
+
# @return [Array<Table>] List of Table and their properties.
|
|
17
|
+
attr_accessor :value
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
#
|
|
21
|
+
# Mapper for TableListResult class as Ruby Hash.
|
|
22
|
+
# This will be used for serialization/deserialization.
|
|
23
|
+
#
|
|
24
|
+
def self.mapper()
|
|
25
|
+
{
|
|
26
|
+
client_side_validation: true,
|
|
27
|
+
required: false,
|
|
28
|
+
serialized_name: 'TableListResult',
|
|
29
|
+
type: {
|
|
30
|
+
name: 'Composite',
|
|
31
|
+
class_name: 'TableListResult',
|
|
32
|
+
model_properties: {
|
|
33
|
+
value: {
|
|
34
|
+
client_side_validation: true,
|
|
35
|
+
required: false,
|
|
36
|
+
read_only: true,
|
|
37
|
+
serialized_name: 'value',
|
|
38
|
+
type: {
|
|
39
|
+
name: 'Sequence',
|
|
40
|
+
element: {
|
|
41
|
+
client_side_validation: true,
|
|
42
|
+
required: false,
|
|
43
|
+
serialized_name: 'TableElementType',
|
|
44
|
+
type: {
|
|
45
|
+
name: 'Composite',
|
|
46
|
+
class_name: 'Table'
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
end
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
end
|
|
@@ -0,0 +1,46 @@
|
|
|
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
|
+
module Models
|
|
8
|
+
#
|
|
9
|
+
# Cosmos DB table id object
|
|
10
|
+
#
|
|
11
|
+
class TableResource
|
|
12
|
+
|
|
13
|
+
include MsRestAzure
|
|
14
|
+
|
|
15
|
+
# @return [String] Name of the Cosmos DB table
|
|
16
|
+
attr_accessor :id
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
#
|
|
20
|
+
# Mapper for TableResource class as Ruby Hash.
|
|
21
|
+
# This will be used for serialization/deserialization.
|
|
22
|
+
#
|
|
23
|
+
def self.mapper()
|
|
24
|
+
{
|
|
25
|
+
client_side_validation: true,
|
|
26
|
+
required: false,
|
|
27
|
+
serialized_name: 'TableResource',
|
|
28
|
+
type: {
|
|
29
|
+
name: 'Composite',
|
|
30
|
+
class_name: 'TableResource',
|
|
31
|
+
model_properties: {
|
|
32
|
+
id: {
|
|
33
|
+
client_side_validation: true,
|
|
34
|
+
required: true,
|
|
35
|
+
serialized_name: 'id',
|
|
36
|
+
type: {
|
|
37
|
+
name: 'String'
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
end
|
|
@@ -0,0 +1,56 @@
|
|
|
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
|
+
module Models
|
|
8
|
+
#
|
|
9
|
+
# The unique key on that enforces uniqueness constraint on documents in the
|
|
10
|
+
# collection in the Azure Cosmos DB service.
|
|
11
|
+
#
|
|
12
|
+
class UniqueKey
|
|
13
|
+
|
|
14
|
+
include MsRestAzure
|
|
15
|
+
|
|
16
|
+
# @return [Array<String>] List of paths must be unique for each document
|
|
17
|
+
# in the Azure Cosmos DB service
|
|
18
|
+
attr_accessor :paths
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
#
|
|
22
|
+
# Mapper for UniqueKey class as Ruby Hash.
|
|
23
|
+
# This will be used for serialization/deserialization.
|
|
24
|
+
#
|
|
25
|
+
def self.mapper()
|
|
26
|
+
{
|
|
27
|
+
client_side_validation: true,
|
|
28
|
+
required: false,
|
|
29
|
+
serialized_name: 'UniqueKey',
|
|
30
|
+
type: {
|
|
31
|
+
name: 'Composite',
|
|
32
|
+
class_name: 'UniqueKey',
|
|
33
|
+
model_properties: {
|
|
34
|
+
paths: {
|
|
35
|
+
client_side_validation: true,
|
|
36
|
+
required: false,
|
|
37
|
+
serialized_name: 'paths',
|
|
38
|
+
type: {
|
|
39
|
+
name: 'Sequence',
|
|
40
|
+
element: {
|
|
41
|
+
client_side_validation: true,
|
|
42
|
+
required: false,
|
|
43
|
+
serialized_name: 'StringElementType',
|
|
44
|
+
type: {
|
|
45
|
+
name: 'String'
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
end
|
|
54
|
+
end
|
|
55
|
+
end
|
|
56
|
+
end
|
|
@@ -0,0 +1,58 @@
|
|
|
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
|
+
module Models
|
|
8
|
+
#
|
|
9
|
+
# The unique key policy configuration for specifying uniqueness constraints
|
|
10
|
+
# on documents in the collection in the Azure Cosmos DB service.
|
|
11
|
+
#
|
|
12
|
+
class UniqueKeyPolicy
|
|
13
|
+
|
|
14
|
+
include MsRestAzure
|
|
15
|
+
|
|
16
|
+
# @return [Array<UniqueKey>] List of unique keys on that enforces
|
|
17
|
+
# uniqueness constraint on documents in the collection in the Azure
|
|
18
|
+
# Cosmos DB service.
|
|
19
|
+
attr_accessor :unique_keys
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
#
|
|
23
|
+
# Mapper for UniqueKeyPolicy class as Ruby Hash.
|
|
24
|
+
# This will be used for serialization/deserialization.
|
|
25
|
+
#
|
|
26
|
+
def self.mapper()
|
|
27
|
+
{
|
|
28
|
+
client_side_validation: true,
|
|
29
|
+
required: false,
|
|
30
|
+
serialized_name: 'UniqueKeyPolicy',
|
|
31
|
+
type: {
|
|
32
|
+
name: 'Composite',
|
|
33
|
+
class_name: 'UniqueKeyPolicy',
|
|
34
|
+
model_properties: {
|
|
35
|
+
unique_keys: {
|
|
36
|
+
client_side_validation: true,
|
|
37
|
+
required: false,
|
|
38
|
+
serialized_name: 'uniqueKeys',
|
|
39
|
+
type: {
|
|
40
|
+
name: 'Sequence',
|
|
41
|
+
element: {
|
|
42
|
+
client_side_validation: true,
|
|
43
|
+
required: false,
|
|
44
|
+
serialized_name: 'UniqueKeyElementType',
|
|
45
|
+
type: {
|
|
46
|
+
name: 'Composite',
|
|
47
|
+
class_name: 'UniqueKey'
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
end
|
|
58
|
+
end
|
|
@@ -0,0 +1,21 @@
|
|
|
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
|
+
module Models
|
|
8
|
+
#
|
|
9
|
+
# Defines values for UnitType
|
|
10
|
+
#
|
|
11
|
+
module UnitType
|
|
12
|
+
Count = "Count"
|
|
13
|
+
Bytes = "Bytes"
|
|
14
|
+
Seconds = "Seconds"
|
|
15
|
+
Percent = "Percent"
|
|
16
|
+
CountPerSecond = "CountPerSecond"
|
|
17
|
+
BytesPerSecond = "BytesPerSecond"
|
|
18
|
+
Milliseconds = "Milliseconds"
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|