-
Notifications
You must be signed in to change notification settings - Fork 232
/
azure.mgmt.cosmosdb.models.DatabaseAccountCreateUpdateParameters.yml
491 lines (429 loc) · 16.9 KB
/
azure.mgmt.cosmosdb.models.DatabaseAccountCreateUpdateParameters.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
### YamlMime:PythonClass
uid: azure.mgmt.cosmosdb.models.DatabaseAccountCreateUpdateParameters
name: DatabaseAccountCreateUpdateParameters
fullName: azure.mgmt.cosmosdb.models.DatabaseAccountCreateUpdateParameters
module: azure.mgmt.cosmosdb.models
inheritances:
- azure.mgmt.cosmosdb.models._models_py3.ARMResourceProperties
summary: 'Parameters to create and update Cosmos DB database accounts.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to server.'
constructor:
syntax: 'DatabaseAccountCreateUpdateParameters(*, locations: List[_models.Location],
location: str | None = None, tags: Dict[str, str] | None = None, kind: str | _models.DatabaseAccountKind
| None = None, identity: _models.ManagedServiceIdentity | None = None, consistency_policy:
_models.ConsistencyPolicy | None = None, ip_rules: List[_models.IpAddressOrRange]
| None = None, is_virtual_network_filter_enabled: bool | None = None, enable_automatic_failover:
bool | None = None, capabilities: List[_models.Capability] | None = None, virtual_network_rules:
List[_models.VirtualNetworkRule] | None = None, enable_multiple_write_locations:
bool | None = None, enable_cassandra_connector: bool | None = None, connector_offer:
str | _models.ConnectorOffer | None = None, disable_key_based_metadata_write_access:
bool | None = None, key_vault_key_uri: str | None = None, default_identity: str
| None = None, public_network_access: str | _models.PublicNetworkAccess | None
= None, enable_free_tier: bool | None = None, api_properties: _models.ApiProperties
| None = None, enable_analytical_storage: bool | None = None, analytical_storage_configuration:
_models.AnalyticalStorageConfiguration | None = None, create_mode: str | _models.CreateMode
= ''Default'', backup_policy: _models.BackupPolicy | None = None, cors: List[_models.CorsPolicy]
| None = None, network_acl_bypass: str | _models.NetworkAclBypass | None = None,
network_acl_bypass_resource_ids: List[str] | None = None, disable_local_auth:
bool | None = None, restore_parameters: _models.RestoreParameters | None = None,
capacity: _models.Capacity | None = None, enable_partition_merge: bool | None
= None, minimal_tls_version: str | _models.MinimalTlsVersion | None = None, enable_burst_capacity:
bool | None = None, customer_managed_key_status: str | None = None, **kwargs:
Any)'
keywordOnlyParameters:
- name: location
description: The location of the resource group to which the resource belongs.
types:
- <xref:str>
- name: tags
description: 'Tags are a list of key-value pairs that describe the resource. These
tags can be
used in viewing and grouping this resource (across resource groups). A maximum
of 15 tags can
be provided for a resource. Each tag must have a key no greater than 128 characters
and value
no greater than 256 characters. For example, the default experience for a template
type is set
with "defaultExperience": "Cassandra". Current "defaultExperience" values also
include "Table",
"Graph", "DocumentDB", and "MongoDB".'
types:
- <xref:dict>[<xref:str>, <xref:str>]
- name: kind
description: 'Indicates the type of database account. This can only be set at
database account
creation. Known values are: "GlobalDocumentDB", "MongoDB", and "Parse".'
types:
- <xref:str>
- <xref:azure.mgmt.cosmosdb.models.DatabaseAccountKind>
- name: identity
description: Identity for the resource.
types:
- <xref:azure.mgmt.cosmosdb.models.ManagedServiceIdentity>
- name: consistency_policy
description: The consistency policy for the Cosmos DB account.
types:
- <xref:azure.mgmt.cosmosdb.models.ConsistencyPolicy>
- name: locations
description: 'An array that contains the georeplication locations enabled for
the Cosmos
DB account. Required.'
types:
- <xref:list>[<xref:azure.mgmt.cosmosdb.models.Location>]
- name: ip_rules
description: List of IpRules.
types:
- <xref:list>[<xref:azure.mgmt.cosmosdb.models.IpAddressOrRange>]
- name: is_virtual_network_filter_enabled
description: 'Flag to indicate whether to enable/disable Virtual
Network ACL rules.'
types:
- <xref:bool>
- name: enable_automatic_failover
description: 'Enables automatic failover of the write region in the rare
event that the region is unavailable due to an outage. Automatic failover will
result in a new
write region for the account and is chosen based on the failover priorities
configured for the
account.'
types:
- <xref:bool>
- name: capabilities
description: List of Cosmos DB capabilities for the account.
types:
- <xref:list>[<xref:azure.mgmt.cosmosdb.models.Capability>]
- name: virtual_network_rules
description: 'List of Virtual Network ACL rules configured for the Cosmos DB
account.'
types:
- <xref:list>[<xref:azure.mgmt.cosmosdb.models.VirtualNetworkRule>]
- name: enable_multiple_write_locations
description: Enables the account to write in multiple locations.
types:
- <xref:bool>
- name: enable_cassandra_connector
description: 'Enables the cassandra connector on the Cosmos DB C*
account.'
types:
- <xref:bool>
- name: connector_offer
description: 'The cassandra connector offer type for the Cosmos DB database C*
account. "Small"'
types:
- <xref:str>
- <xref:azure.mgmt.cosmosdb.models.ConnectorOffer>
- name: disable_key_based_metadata_write_access
description: 'Disable write operations on metadata
resources (databases, containers, throughput) via account keys.'
types:
- <xref:bool>
- name: key_vault_key_uri
description: The URI of the key vault.
types:
- <xref:str>
- name: default_identity
description: 'The default identity for accessing key vault used in features like
customer managed keys. The default identity needs to be explicitly set by the
users. It can be
"FirstPartyIdentity", "SystemAssignedIdentity" and more.'
types:
- <xref:str>
- name: public_network_access
description: 'Whether requests from Public Network are allowed. Known values
are: "Enabled", "Disabled", and "SecuredByPerimeter".'
types:
- <xref:str>
- <xref:azure.mgmt.cosmosdb.models.PublicNetworkAccess>
- name: enable_free_tier
description: Flag to indicate whether Free Tier is enabled.
types:
- <xref:bool>
- name: api_properties
description: API specific properties. Currently, supported only for MongoDB API.
types:
- <xref:azure.mgmt.cosmosdb.models.ApiProperties>
- name: enable_analytical_storage
description: Flag to indicate whether to enable storage analytics.
types:
- <xref:bool>
- name: analytical_storage_configuration
description: Analytical storage specific properties.
types:
- <xref:azure.mgmt.cosmosdb.models.AnalyticalStorageConfiguration>
- name: create_mode
description: 'Enum to indicate the mode of account creation. Known values are:
"Default" and "Restore".'
defaultValue: Default
types:
- <xref:str>
- <xref:azure.mgmt.cosmosdb.models.CreateMode>
- name: backup_policy
description: The object representing the policy for taking backups on an account.
types:
- <xref:azure.mgmt.cosmosdb.models.BackupPolicy>
- name: cors
description: The CORS policy for the Cosmos DB database account.
types:
- <xref:list>[<xref:azure.mgmt.cosmosdb.models.CorsPolicy>]
- name: network_acl_bypass
description: 'Indicates what services are allowed to bypass firewall checks.
Known values are: "None" and "AzureServices".'
types:
- <xref:str>
- <xref:azure.mgmt.cosmosdb.models.NetworkAclBypass>
- name: network_acl_bypass_resource_ids
description: 'An array that contains the Resource Ids for Network
Acl Bypass for the Cosmos DB account.'
types:
- <xref:list>[<xref:str>]
- name: disable_local_auth
description: 'Opt-out of local authentication and ensure only MSI and AAD can
be
used exclusively for authentication.'
types:
- <xref:bool>
- name: restore_parameters
description: Parameters to indicate the information about the restore.
types:
- <xref:azure.mgmt.cosmosdb.models.RestoreParameters>
- name: capacity
description: 'The object that represents all properties related to capacity enforcement
on
an account.'
types:
- <xref:azure.mgmt.cosmosdb.models.Capacity>
- name: enable_partition_merge
description: 'Flag to indicate enabling/disabling of Partition Merge feature
on the account.'
types:
- <xref:bool>
- name: minimal_tls_version
description: 'Indicates the minimum allowed Tls version. The default value is
Tls 1.2. Cassandra and Mongo APIs only work with Tls 1.2. Known values are:
"Tls", "Tls11", and
"Tls12".'
types:
- <xref:str>
- <xref:azure.mgmt.cosmosdb.models.MinimalTlsVersion>
- name: enable_burst_capacity
description: 'Flag to indicate enabling/disabling of Burst Capacity Preview
feature on the account.'
types:
- <xref:bool>
- name: customer_managed_key_status
description: 'Indicates the status of the Customer Managed Key feature
on the account. In case there are errors, the property provides troubleshooting
guidance.'
types:
- <xref:str>
variables:
- description: The unique resource identifier of the ARM resource.
name: id
types:
- <xref:str>
- description: The name of the ARM resource.
name: name
types:
- <xref:str>
- description: The type of Azure resource.
name: type
types:
- <xref:str>
- description: The location of the resource group to which the resource belongs.
name: location
types:
- <xref:str>
- description: 'Tags are a list of key-value pairs that describe the resource. These
tags can be
used in viewing and grouping this resource (across resource groups). A maximum
of 15 tags can
be provided for a resource. Each tag must have a key no greater than 128 characters
and value
no greater than 256 characters. For example, the default experience for a template
type is set
with "defaultExperience": "Cassandra". Current "defaultExperience" values also
include "Table",
"Graph", "DocumentDB", and "MongoDB".'
name: tags
types:
- <xref:dict>[<xref:str>, <xref:str>]
- description: 'Indicates the type of database account. This can only be set at database
account
creation. Known values are: "GlobalDocumentDB", "MongoDB", and "Parse".'
name: kind
types:
- <xref:str>
- <xref:azure.mgmt.cosmosdb.models.DatabaseAccountKind>
- description: Identity for the resource.
name: identity
types:
- <xref:azure.mgmt.cosmosdb.models.ManagedServiceIdentity>
- description: The consistency policy for the Cosmos DB account.
name: consistency_policy
types:
- <xref:azure.mgmt.cosmosdb.models.ConsistencyPolicy>
- description: 'An array that contains the georeplication locations enabled for the
Cosmos DB
account. Required.'
name: locations
types:
- <xref:list>[<xref:azure.mgmt.cosmosdb.models.Location>]
- description: 'The offer type for the database. Required. Default value is
"Standard".'
name: database_account_offer_type
types:
- <xref:str>
- description: List of IpRules.
name: ip_rules
types:
- <xref:list>[<xref:azure.mgmt.cosmosdb.models.IpAddressOrRange>]
- description: 'Flag to indicate whether to enable/disable Virtual
Network ACL rules.'
name: is_virtual_network_filter_enabled
types:
- <xref:bool>
- description: 'Enables automatic failover of the write region in the rare
event that the region is unavailable due to an outage. Automatic failover will
result in a new
write region for the account and is chosen based on the failover priorities configured
for the
account.'
name: enable_automatic_failover
types:
- <xref:bool>
- description: List of Cosmos DB capabilities for the account.
name: capabilities
types:
- <xref:list>[<xref:azure.mgmt.cosmosdb.models.Capability>]
- description: 'List of Virtual Network ACL rules configured for the Cosmos DB
account.'
name: virtual_network_rules
types:
- <xref:list>[<xref:azure.mgmt.cosmosdb.models.VirtualNetworkRule>]
- description: Enables the account to write in multiple locations.
name: enable_multiple_write_locations
types:
- <xref:bool>
- description: Enables the cassandra connector on the Cosmos DB C* account.
name: enable_cassandra_connector
types:
- <xref:bool>
- description: 'The cassandra connector offer type for the Cosmos DB database C*
account. "Small"'
name: connector_offer
types:
- <xref:str>
- <xref:azure.mgmt.cosmosdb.models.ConnectorOffer>
- description: 'Disable write operations on metadata resources
(databases, containers, throughput) via account keys.'
name: disable_key_based_metadata_write_access
types:
- <xref:bool>
- description: The URI of the key vault.
name: key_vault_key_uri
types:
- <xref:str>
- description: 'The default identity for accessing key vault used in features like
customer managed keys. The default identity needs to be explicitly set by the
users. It can be
"FirstPartyIdentity", "SystemAssignedIdentity" and more.'
name: default_identity
types:
- <xref:str>
- description: 'Whether requests from Public Network are allowed. Known values
are: "Enabled", "Disabled", and "SecuredByPerimeter".'
name: public_network_access
types:
- <xref:str>
- <xref:azure.mgmt.cosmosdb.models.PublicNetworkAccess>
- description: Flag to indicate whether Free Tier is enabled.
name: enable_free_tier
types:
- <xref:bool>
- description: API specific properties. Currently, supported only for MongoDB API.
name: api_properties
types:
- <xref:azure.mgmt.cosmosdb.models.ApiProperties>
- description: Flag to indicate whether to enable storage analytics.
name: enable_analytical_storage
types:
- <xref:bool>
- description: Analytical storage specific properties.
name: analytical_storage_configuration
types:
- <xref:azure.mgmt.cosmosdb.models.AnalyticalStorageConfiguration>
- description: 'Enum to indicate the mode of account creation. Known values are: "Default"
and "Restore".'
name: create_mode
types:
- <xref:str>
- <xref:azure.mgmt.cosmosdb.models.CreateMode>
- description: The object representing the policy for taking backups on an account.
name: backup_policy
types:
- <xref:azure.mgmt.cosmosdb.models.BackupPolicy>
- description: The CORS policy for the Cosmos DB database account.
name: cors
types:
- <xref:list>[<xref:azure.mgmt.cosmosdb.models.CorsPolicy>]
- description: 'Indicates what services are allowed to bypass firewall checks. Known
values are: "None" and "AzureServices".'
name: network_acl_bypass
types:
- <xref:str>
- <xref:azure.mgmt.cosmosdb.models.NetworkAclBypass>
- description: 'An array that contains the Resource Ids for Network Acl
Bypass for the Cosmos DB account.'
name: network_acl_bypass_resource_ids
types:
- <xref:list>[<xref:str>]
- description: 'Opt-out of local authentication and ensure only MSI and AAD can be
used exclusively for authentication.'
name: disable_local_auth
types:
- <xref:bool>
- description: Parameters to indicate the information about the restore.
name: restore_parameters
types:
- <xref:azure.mgmt.cosmosdb.models.RestoreParameters>
- description: 'The object that represents all properties related to capacity enforcement
on an
account.'
name: capacity
types:
- <xref:azure.mgmt.cosmosdb.models.Capacity>
- description: 'This property is ignored during the update/create operation, as the
metadata is read-only. The object represents the metadata for the Account Keys
of the Cosmos DB
account.'
name: keys_metadata
types:
- <xref:azure.mgmt.cosmosdb.models.DatabaseAccountKeysMetadata>
- description: 'Flag to indicate enabling/disabling of Partition Merge feature on
the account.'
name: enable_partition_merge
types:
- <xref:bool>
- description: 'Indicates the minimum allowed Tls version. The default value is Tls
1.2. Cassandra and Mongo APIs only work with Tls 1.2. Known values are: "Tls",
"Tls11", and
"Tls12".'
name: minimal_tls_version
types:
- <xref:str>
- <xref:azure.mgmt.cosmosdb.models.MinimalTlsVersion>
- description: 'Flag to indicate enabling/disabling of Burst Capacity Preview
feature on the account.'
name: enable_burst_capacity
types:
- <xref:bool>
- description: 'Indicates the status of the Customer Managed Key feature on
the account. In case there are errors, the property provides troubleshooting guidance.'
name: customer_managed_key_status
types:
- <xref:str>
attributes:
- uid: azure.mgmt.cosmosdb.models.DatabaseAccountCreateUpdateParameters.database_account_offer_type
name: database_account_offer_type
signature: database_account_offer_type = 'Standard'