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
@@ -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::V2019_08_01
7
+ module Models
8
+ #
9
+ # Model object.
10
+ #
11
+ #
12
+ class SqlUserDefinedFunctionGetPropertiesResource
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [String] Name of the Cosmos DB SQL userDefinedFunction
17
+ attr_accessor :id
18
+
19
+ # @return [String] Body of the User Defined Function
20
+ attr_accessor :body
21
+
22
+ # @return [String] A system generated property. A unique identifier.
23
+ attr_accessor :_rid
24
+
25
+ # @return A system generated property that denotes the last updated
26
+ # timestamp of the resource.
27
+ attr_accessor :_ts
28
+
29
+ # @return [String] A system generated property representing the resource
30
+ # etag required for optimistic concurrency control.
31
+ attr_accessor :_etag
32
+
33
+
34
+ #
35
+ # Mapper for SqlUserDefinedFunctionGetPropertiesResource class as Ruby
36
+ # Hash.
37
+ # This will be used for serialization/deserialization.
38
+ #
39
+ def self.mapper()
40
+ {
41
+ client_side_validation: true,
42
+ required: false,
43
+ serialized_name: 'SqlUserDefinedFunctionGetProperties_resource',
44
+ type: {
45
+ name: 'Composite',
46
+ class_name: 'SqlUserDefinedFunctionGetPropertiesResource',
47
+ model_properties: {
48
+ id: {
49
+ client_side_validation: true,
50
+ required: true,
51
+ serialized_name: 'id',
52
+ type: {
53
+ name: 'String'
54
+ }
55
+ },
56
+ body: {
57
+ client_side_validation: true,
58
+ required: false,
59
+ serialized_name: 'body',
60
+ type: {
61
+ name: 'String'
62
+ }
63
+ },
64
+ _rid: {
65
+ client_side_validation: true,
66
+ required: false,
67
+ read_only: true,
68
+ serialized_name: '_rid',
69
+ type: {
70
+ name: 'String'
71
+ }
72
+ },
73
+ _ts: {
74
+ client_side_validation: true,
75
+ required: false,
76
+ read_only: true,
77
+ serialized_name: '_ts',
78
+ type: {
79
+ name: 'Object'
80
+ }
81
+ },
82
+ _etag: {
83
+ client_side_validation: true,
84
+ required: false,
85
+ read_only: true,
86
+ serialized_name: '_etag',
87
+ type: {
88
+ name: 'String'
89
+ }
90
+ }
91
+ }
92
+ }
93
+ }
94
+ end
95
+ end
96
+ end
97
+ end
@@ -12,22 +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 SQL userDefinedFunction
16
- attr_accessor :sql_user_defined_function_get_results_id
17
-
18
- # @return [String] Body of the User Defined Function
19
- attr_accessor :body
20
-
21
- # @return [String] A system generated property. A unique identifier.
22
- attr_accessor :_rid
23
-
24
- # @return A system generated property that denotes the last updated
25
- # timestamp of the resource.
26
- attr_accessor :_ts
27
-
28
- # @return [String] A system generated property representing the resource
29
- # etag required for optimistic concurrency control.
30
- attr_accessor :_etag
15
+ # @return [SqlUserDefinedFunctionGetPropertiesResource]
16
+ attr_accessor :resource
31
17
 
32
18
 
33
19
  #
@@ -94,47 +80,13 @@ module Azure::Cosmosdb::Mgmt::V2019_08_01
94
80
  }
95
81
  }
96
82
  },
97
- sql_user_defined_function_get_results_id: {
98
- client_side_validation: true,
99
- required: true,
100
- serialized_name: 'properties.id',
101
- type: {
102
- name: 'String'
103
- }
104
- },
105
- body: {
106
- client_side_validation: true,
107
- required: false,
108
- serialized_name: 'properties.body',
109
- type: {
110
- name: 'String'
111
- }
112
- },
113
- _rid: {
83
+ resource: {
114
84
  client_side_validation: true,
115
85
  required: false,
116
- read_only: true,
117
- serialized_name: 'properties._rid',
118
- type: {
119
- name: 'String'
120
- }
121
- },
122
- _ts: {
123
- client_side_validation: true,
124
- required: false,
125
- read_only: true,
126
- serialized_name: 'properties._ts',
86
+ serialized_name: 'properties.resource',
127
87
  type: {
128
- name: 'Object'
129
- }
130
- },
131
- _etag: {
132
- client_side_validation: true,
133
- required: false,
134
- read_only: true,
135
- serialized_name: 'properties._etag',
136
- type: {
137
- name: 'String'
88
+ name: 'Composite',
89
+ class_name: 'SqlUserDefinedFunctionGetPropertiesResource'
138
90
  }
139
91
  }
140
92
  }
@@ -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 TableGetPropertiesResource
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [String] Name of the Cosmos DB table
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 TableGetPropertiesResource 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: 'TableGetProperties_resource',
40
+ type: {
41
+ name: 'Composite',
42
+ class_name: 'TableGetPropertiesResource',
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 table
16
- attr_accessor :table_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 [TableGetPropertiesResource]
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
- table_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: 'TableGetPropertiesResource'
127
90
  }
128
91
  }
129
92
  }
@@ -0,0 +1,109 @@
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 ThroughputSettingsGetPropertiesResource
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [Integer] Value of the Cosmos DB resource throughput
17
+ attr_accessor :throughput
18
+
19
+ # @return [String] The minimum throughput of the resource
20
+ attr_accessor :minimum_throughput
21
+
22
+ # @return [String] The throughput replace is pending
23
+ attr_accessor :offer_replace_pending
24
+
25
+ # @return [String] A system generated property. A unique identifier.
26
+ attr_accessor :_rid
27
+
28
+ # @return A system generated property that denotes the last updated
29
+ # timestamp of the resource.
30
+ attr_accessor :_ts
31
+
32
+ # @return [String] A system generated property representing the resource
33
+ # etag required for optimistic concurrency control.
34
+ attr_accessor :_etag
35
+
36
+
37
+ #
38
+ # Mapper for ThroughputSettingsGetPropertiesResource class as Ruby Hash.
39
+ # This will be used for serialization/deserialization.
40
+ #
41
+ def self.mapper()
42
+ {
43
+ client_side_validation: true,
44
+ required: false,
45
+ serialized_name: 'ThroughputSettingsGetProperties_resource',
46
+ type: {
47
+ name: 'Composite',
48
+ class_name: 'ThroughputSettingsGetPropertiesResource',
49
+ model_properties: {
50
+ throughput: {
51
+ client_side_validation: true,
52
+ required: true,
53
+ serialized_name: 'throughput',
54
+ type: {
55
+ name: 'Number'
56
+ }
57
+ },
58
+ minimum_throughput: {
59
+ client_side_validation: true,
60
+ required: false,
61
+ read_only: true,
62
+ serialized_name: 'minimumThroughput',
63
+ type: {
64
+ name: 'String'
65
+ }
66
+ },
67
+ offer_replace_pending: {
68
+ client_side_validation: true,
69
+ required: false,
70
+ read_only: true,
71
+ serialized_name: 'offerReplacePending',
72
+ type: {
73
+ name: 'String'
74
+ }
75
+ },
76
+ _rid: {
77
+ client_side_validation: true,
78
+ required: false,
79
+ read_only: true,
80
+ serialized_name: '_rid',
81
+ type: {
82
+ name: 'String'
83
+ }
84
+ },
85
+ _ts: {
86
+ client_side_validation: true,
87
+ required: false,
88
+ read_only: true,
89
+ serialized_name: '_ts',
90
+ type: {
91
+ name: 'Object'
92
+ }
93
+ },
94
+ _etag: {
95
+ client_side_validation: true,
96
+ required: false,
97
+ read_only: true,
98
+ serialized_name: '_etag',
99
+ type: {
100
+ name: 'String'
101
+ }
102
+ }
103
+ }
104
+ }
105
+ }
106
+ end
107
+ end
108
+ end
109
+ end
@@ -12,14 +12,8 @@ module Azure::Cosmosdb::Mgmt::V2019_08_01
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [Integer] Value of the Cosmos DB resource throughput
16
- attr_accessor :throughput
17
-
18
- # @return [String] The minimum throughput of the resource
19
- attr_accessor :minimum_throughput
20
-
21
- # @return [String] The throughput replace is pending
22
- attr_accessor :offer_replace_pending
15
+ # @return [ThroughputSettingsGetPropertiesResource]
16
+ attr_accessor :resource
23
17
 
24
18
 
25
19
  #
@@ -86,30 +80,13 @@ module Azure::Cosmosdb::Mgmt::V2019_08_01
86
80
  }
87
81
  }
88
82
  },
89
- throughput: {
90
- client_side_validation: true,
91
- required: true,
92
- serialized_name: 'properties.throughput',
93
- type: {
94
- name: 'Number'
95
- }
96
- },
97
- minimum_throughput: {
83
+ resource: {
98
84
  client_side_validation: true,
99
85
  required: false,
100
- read_only: true,
101
- serialized_name: 'properties.minimumThroughput',
86
+ serialized_name: 'properties.resource',
102
87
  type: {
103
- name: 'String'
104
- }
105
- },
106
- offer_replace_pending: {
107
- client_side_validation: true,
108
- required: false,
109
- read_only: true,
110
- serialized_name: 'properties.offerReplacePending',
111
- type: {
112
- name: 'String'
88
+ name: 'Composite',
89
+ class_name: 'ThroughputSettingsGetPropertiesResource'
113
90
  }
114
91
  }
115
92
  }