yandexcloud 0.365.0__py3-none-any.whl → 0.367.0__py3-none-any.whl
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.
Potentially problematic release.
This version of yandexcloud might be problematic. Click here for more details.
- yandex/cloud/access/access_pb2.py +5 -3
- yandex/cloud/access/access_pb2.pyi +24 -0
- yandex/cloud/apploadbalancer/v1/backend_group_pb2.py +34 -32
- yandex/cloud/apploadbalancer/v1/backend_group_pb2.pyi +9 -1
- yandex/cloud/audittrails/v1/trail_pb2.py +9 -11
- yandex/cloud/audittrails/v1/trail_pb2.pyi +1 -5
- yandex/cloud/backup/v1/policy_pb2.py +9 -9
- yandex/cloud/backup/v1/policy_pb2.pyi +8 -0
- yandex/cloud/baremetal/v1alpha/standard_image_pb2.py +37 -0
- yandex/cloud/baremetal/v1alpha/standard_image_pb2.pyi +37 -0
- yandex/cloud/baremetal/v1alpha/standard_image_pb2_grpc.py +24 -0
- yandex/cloud/baremetal/v1alpha/standard_image_pb2_grpc.pyi +17 -0
- yandex/cloud/baremetal/v1alpha/standard_image_service_pb2.py +56 -0
- yandex/cloud/baremetal/v1alpha/standard_image_service_pb2.pyi +118 -0
- yandex/cloud/baremetal/v1alpha/standard_image_service_pb2_grpc.py +148 -0
- yandex/cloud/baremetal/v1alpha/standard_image_service_pb2_grpc.pyi +80 -0
- yandex/cloud/cloudregistry/v1/lifecycle_policy_pb2.py +60 -0
- yandex/cloud/cloudregistry/v1/lifecycle_policy_pb2.pyi +353 -0
- yandex/cloud/cloudregistry/v1/lifecycle_policy_pb2_grpc.py +24 -0
- yandex/cloud/cloudregistry/v1/lifecycle_policy_pb2_grpc.pyi +17 -0
- yandex/cloud/cloudregistry/v1/lifecycle_policy_service_pb2.py +106 -0
- yandex/cloud/cloudregistry/v1/lifecycle_policy_service_pb2.pyi +238 -0
- yandex/cloud/cloudregistry/v1/lifecycle_policy_service_pb2_grpc.py +324 -0
- yandex/cloud/cloudregistry/v1/lifecycle_policy_service_pb2_grpc.pyi +153 -0
- yandex/cloud/compute/v1/instance_service_pb2.pyi +8 -1
- yandex/cloud/connectionmanager/v1/connection_pb2.py +12 -11
- yandex/cloud/connectionmanager/v1/connection_pb2.pyi +10 -3
- yandex/cloud/connectionmanager/v1/storedoc_pb2.py +50 -0
- yandex/cloud/connectionmanager/v1/storedoc_pb2.pyi +172 -0
- yandex/cloud/connectionmanager/v1/storedoc_pb2_grpc.py +24 -0
- yandex/cloud/connectionmanager/v1/storedoc_pb2_grpc.pyi +17 -0
- yandex/cloud/iam/v1/access_policy_template_service_pb2.py +50 -0
- yandex/cloud/iam/v1/access_policy_template_service_pb2.pyi +67 -0
- yandex/cloud/iam/v1/access_policy_template_service_pb2_grpc.py +98 -0
- yandex/cloud/iam/v1/access_policy_template_service_pb2_grpc.pyi +44 -0
- yandex/cloud/kms/v1/symmetric_key_pb2.py +3 -3
- yandex/cloud/kms/v1/symmetric_key_pb2.pyi +4 -0
- yandex/cloud/mdb/greenplum/v1/cluster_pb2.py +16 -16
- yandex/cloud/mdb/greenplum/v1/cluster_pb2.pyi +3 -15
- yandex/cloud/mdb/greenplum/v1/cluster_service_pb2.py +76 -76
- yandex/cloud/mdb/greenplum/v1/cluster_service_pb2.pyi +3 -15
- yandex/cloud/mdb/greenplum/v1/config_pb2.py +11 -29
- yandex/cloud/mdb/greenplum/v1/config_pb2.pyi +0 -399
- yandex/cloud/mdb/kafka/v1/cluster_pb2.py +28 -28
- yandex/cloud/mdb/kafka/v1/cluster_pb2.pyi +5 -1
- yandex/cloud/mdb/mongodb/v1/config/mongodb3_6_pb2.py +4 -4
- yandex/cloud/mdb/mongodb/v1/config/mongodb4_0_pb2.py +4 -4
- yandex/cloud/mdb/mongodb/v1/config/mongodb4_2_pb2.py +4 -4
- yandex/cloud/mdb/mongodb/v1/config/mongodb4_4_enterprise_pb2.py +4 -4
- yandex/cloud/mdb/mongodb/v1/config/mongodb4_4_pb2.py +4 -4
- yandex/cloud/mdb/mongodb/v1/config/mongodb5_0_enterprise_pb2.py +4 -4
- yandex/cloud/mdb/mongodb/v1/config/mongodb5_0_pb2.py +4 -4
- yandex/cloud/mdb/mongodb/v1/config/mongodb6_0_enterprise_pb2.py +4 -4
- yandex/cloud/mdb/mongodb/v1/config/mongodb6_0_pb2.py +4 -4
- yandex/cloud/mdb/mongodb/v1/config/mongodb_pb2.py +65 -99
- yandex/cloud/mdb/mongodb/v1/config/mongodb_pb2.pyi +21 -426
- yandex/cloud/organizationmanager/v1/idp/application/saml/__init__.py +0 -0
- yandex/cloud/organizationmanager/v1/idp/application/saml/application_pb2.py +100 -0
- yandex/cloud/organizationmanager/v1/idp/application/saml/application_pb2.pyi +487 -0
- yandex/cloud/organizationmanager/v1/idp/application/saml/application_pb2_grpc.py +24 -0
- yandex/cloud/organizationmanager/v1/idp/application/saml/application_pb2_grpc.pyi +17 -0
- yandex/cloud/organizationmanager/v1/idp/application/saml/application_service_pb2.py +198 -0
- yandex/cloud/organizationmanager/v1/idp/application/saml/application_service_pb2.pyi +733 -0
- yandex/cloud/organizationmanager/v1/idp/application/saml/application_service_pb2_grpc.py +678 -0
- yandex/cloud/organizationmanager/v1/idp/application/saml/application_service_pb2_grpc.pyi +322 -0
- yandex/cloud/organizationmanager/v1/idp/application/saml/signature_certificate_pb2.py +40 -0
- yandex/cloud/organizationmanager/v1/idp/application/saml/signature_certificate_pb2.pyi +103 -0
- yandex/cloud/organizationmanager/v1/idp/application/saml/signature_certificate_pb2_grpc.py +24 -0
- yandex/cloud/organizationmanager/v1/idp/application/saml/signature_certificate_pb2_grpc.pyi +17 -0
- yandex/cloud/organizationmanager/v1/idp/application/saml/signature_certificate_service_pb2.py +95 -0
- yandex/cloud/organizationmanager/v1/idp/application/saml/signature_certificate_service_pb2.pyi +220 -0
- yandex/cloud/organizationmanager/v1/idp/application/saml/signature_certificate_service_pb2_grpc.py +281 -0
- yandex/cloud/organizationmanager/v1/idp/application/saml/signature_certificate_service_pb2_grpc.pyi +141 -0
- yandex/cloud/organizationmanager/v1/saml/federation_service_pb2.py +29 -3
- yandex/cloud/organizationmanager/v1/saml/federation_service_pb2.pyi +132 -0
- yandex/cloud/organizationmanager/v1/saml/federation_service_pb2_grpc.py +90 -0
- yandex/cloud/organizationmanager/v1/saml/federation_service_pb2_grpc.pyi +52 -0
- yandex/cloud/searchapi/v2/gen_search_service_pb2.py +10 -10
- yandex/cloud/searchapi/v2/gen_search_service_pb2.pyi +5 -1
- yandex/cloud/searchapi/v2/wordstat_service_pb2.py +96 -0
- yandex/cloud/searchapi/v2/wordstat_service_pb2.pyi +344 -0
- yandex/cloud/searchapi/v2/wordstat_service_pb2_grpc.py +189 -0
- yandex/cloud/searchapi/v2/wordstat_service_pb2_grpc.pyi +90 -0
- yandex/cloud/serverless/mcpgateway/__init__.py +0 -0
- yandex/cloud/serverless/mcpgateway/v1/__init__.py +0 -0
- yandex/cloud/serverless/mcpgateway/v1/mcp_gateway_pb2.py +152 -0
- yandex/cloud/serverless/mcpgateway/v1/mcp_gateway_pb2.pyi +780 -0
- yandex/cloud/serverless/mcpgateway/v1/mcp_gateway_pb2_grpc.py +24 -0
- yandex/cloud/serverless/mcpgateway/v1/mcp_gateway_pb2_grpc.pyi +17 -0
- yandex/cloud/serverless/mcpgateway/v1/mcp_gateway_service_pb2.py +134 -0
- yandex/cloud/serverless/mcpgateway/v1/mcp_gateway_service_pb2.pyi +390 -0
- yandex/cloud/serverless/mcpgateway/v1/mcp_gateway_service_pb2_grpc.py +456 -0
- yandex/cloud/serverless/mcpgateway/v1/mcp_gateway_service_pb2_grpc.pyi +213 -0
- yandex/cloud/serverless/mcpgateway/v1/package_options_pb2.py +35 -0
- yandex/cloud/serverless/mcpgateway/v1/package_options_pb2.pyi +8 -0
- yandex/cloud/serverless/mcpgateway/v1/package_options_pb2_grpc.py +24 -0
- yandex/cloud/serverless/mcpgateway/v1/package_options_pb2_grpc.pyi +17 -0
- yandex/cloud/serverless/workflows/v1/execution_service_pb2.py +3 -3
- yandex/cloud/serverless/workflows/v1/workflow_service_pb2.py +38 -31
- yandex/cloud/serverless/workflows/v1/workflow_service_pb2_grpc.py +133 -0
- yandex/cloud/serverless/workflows/v1/workflow_service_pb2_grpc.pyi +61 -0
- yandex/cloud/trino/v1/cluster_pb2.py +46 -45
- yandex/cloud/trino/v1/cluster_pb2.pyi +9 -2
- yandex/cloud/trino/v1/cluster_service_pb2.py +50 -49
- yandex/cloud/trino/v1/cluster_service_pb2.pyi +17 -4
- yandex/cloud/trino/v1/resource_management_pb2.py +66 -0
- yandex/cloud/trino/v1/resource_management_pb2.pyi +257 -0
- yandex/cloud/trino/v1/resource_management_pb2_grpc.py +24 -0
- yandex/cloud/trino/v1/resource_management_pb2_grpc.pyi +17 -0
- yandex/cloud/video/v1/style_preset_service_pb2.py +20 -20
- yandexcloud/__init__.py +1 -1
- {yandexcloud-0.365.0.dist-info → yandexcloud-0.367.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.365.0.dist-info → yandexcloud-0.367.0.dist-info}/RECORD +117 -54
- {yandexcloud-0.365.0.dist-info → yandexcloud-0.367.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.365.0.dist-info → yandexcloud-0.367.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.365.0.dist-info → yandexcloud-0.367.0.dist-info}/WHEEL +0 -0
- {yandexcloud-0.365.0.dist-info → yandexcloud-0.367.0.dist-info}/top_level.txt +0 -0
|
@@ -43,23 +43,17 @@ class MongodConfig(google.protobuf.message.Message):
|
|
|
43
43
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
44
44
|
|
|
45
45
|
CACHE_SIZE_GB_FIELD_NUMBER: builtins.int
|
|
46
|
-
CACHE_SIZE_FIELD_NUMBER: builtins.int
|
|
47
46
|
@property
|
|
48
47
|
def cache_size_gb(self) -> google.protobuf.wrappers_pb2.DoubleValue:
|
|
49
48
|
"""The maximum size of the internal cache that WiredTiger will use for all data."""
|
|
50
49
|
|
|
51
|
-
@property
|
|
52
|
-
def cache_size(self) -> google.protobuf.wrappers_pb2.DoubleValue:
|
|
53
|
-
"""The maximum size of the internal cache that WiredTiger will use for all data in percents."""
|
|
54
|
-
|
|
55
50
|
def __init__(
|
|
56
51
|
self,
|
|
57
52
|
*,
|
|
58
53
|
cache_size_gb: google.protobuf.wrappers_pb2.DoubleValue | None = ...,
|
|
59
|
-
cache_size: google.protobuf.wrappers_pb2.DoubleValue | None = ...,
|
|
60
54
|
) -> None: ...
|
|
61
|
-
def HasField(self, field_name: typing.Literal["
|
|
62
|
-
def ClearField(self, field_name: typing.Literal["
|
|
55
|
+
def HasField(self, field_name: typing.Literal["cache_size_gb", b"cache_size_gb"]) -> builtins.bool: ...
|
|
56
|
+
def ClearField(self, field_name: typing.Literal["cache_size_gb", b"cache_size_gb"]) -> None: ...
|
|
63
57
|
|
|
64
58
|
@typing.final
|
|
65
59
|
class CollectionConfig(google.protobuf.message.Message):
|
|
@@ -349,11 +343,11 @@ class MongodConfig(google.protobuf.message.Message):
|
|
|
349
343
|
KMIP_FIELD_NUMBER: builtins.int
|
|
350
344
|
@property
|
|
351
345
|
def enable_encryption(self) -> google.protobuf.wrappers_pb2.BoolValue:
|
|
352
|
-
"""If encryption at rest should be enabled or not
|
|
346
|
+
"""If encryption at rest should be enabled or not"""
|
|
353
347
|
|
|
354
348
|
@property
|
|
355
349
|
def kmip(self) -> global___MongodConfig.Security.KMIP:
|
|
356
|
-
"""`kmip` section of mongod security config
|
|
350
|
+
"""`kmip` section of mongod security config"""
|
|
357
351
|
|
|
358
352
|
def __init__(
|
|
359
353
|
self,
|
|
@@ -371,12 +365,10 @@ class MongodConfig(google.protobuf.message.Message):
|
|
|
371
365
|
FILTER_FIELD_NUMBER: builtins.int
|
|
372
366
|
RUNTIME_CONFIGURATION_FIELD_NUMBER: builtins.int
|
|
373
367
|
filter: builtins.str
|
|
374
|
-
"""Audit filter
|
|
368
|
+
"""Audit filter"""
|
|
375
369
|
@property
|
|
376
370
|
def runtime_configuration(self) -> google.protobuf.wrappers_pb2.BoolValue:
|
|
377
|
-
"""Allows runtime configuration of audit filter and auditAuthorizationSuccess
|
|
378
|
-
!! Available for MongoDB Enterprise only !!
|
|
379
|
-
"""
|
|
371
|
+
"""Allows runtime configuration of audit filter and auditAuthorizationSuccess"""
|
|
380
372
|
|
|
381
373
|
def __init__(
|
|
382
374
|
self,
|
|
@@ -391,46 +383,12 @@ class MongodConfig(google.protobuf.message.Message):
|
|
|
391
383
|
class SetParameter(google.protobuf.message.Message):
|
|
392
384
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
393
385
|
|
|
394
|
-
@typing.final
|
|
395
|
-
class MirrorReads(google.protobuf.message.Message):
|
|
396
|
-
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
397
|
-
|
|
398
|
-
SAMPLING_RATE_FIELD_NUMBER: builtins.int
|
|
399
|
-
MAX_TIME_MS_FIELD_NUMBER: builtins.int
|
|
400
|
-
@property
|
|
401
|
-
def sampling_rate(self) -> google.protobuf.wrappers_pb2.DoubleValue:
|
|
402
|
-
"""The sampling rate used to mirror a subset of operations that support mirroring to a subset of electable secondaries"""
|
|
403
|
-
|
|
404
|
-
@property
|
|
405
|
-
def max_time_ms(self) -> google.protobuf.wrappers_pb2.Int64Value:
|
|
406
|
-
"""The maximum time in milliseconds for the mirrored reads"""
|
|
407
|
-
|
|
408
|
-
def __init__(
|
|
409
|
-
self,
|
|
410
|
-
*,
|
|
411
|
-
sampling_rate: google.protobuf.wrappers_pb2.DoubleValue | None = ...,
|
|
412
|
-
max_time_ms: google.protobuf.wrappers_pb2.Int64Value | None = ...,
|
|
413
|
-
) -> None: ...
|
|
414
|
-
def HasField(self, field_name: typing.Literal["max_time_ms", b"max_time_ms", "sampling_rate", b"sampling_rate"]) -> builtins.bool: ...
|
|
415
|
-
def ClearField(self, field_name: typing.Literal["max_time_ms", b"max_time_ms", "sampling_rate", b"sampling_rate"]) -> None: ...
|
|
416
|
-
|
|
417
386
|
AUDIT_AUTHORIZATION_SUCCESS_FIELD_NUMBER: builtins.int
|
|
418
387
|
ENABLE_FLOW_CONTROL_FIELD_NUMBER: builtins.int
|
|
419
388
|
MIN_SNAPSHOT_HISTORY_WINDOW_IN_SECONDS_FIELD_NUMBER: builtins.int
|
|
420
|
-
FLOW_CONTROL_TARGET_LAG_SECONDS_FIELD_NUMBER: builtins.int
|
|
421
|
-
FLOW_CONTROL_WARN_THRESHOLD_SECONDS_FIELD_NUMBER: builtins.int
|
|
422
|
-
MIGRATE_CLONE_INSERTION_BATCH_DELAY_MS_FIELD_NUMBER: builtins.int
|
|
423
|
-
MIGRATE_CLONE_INSERTION_BATCH_SIZE_FIELD_NUMBER: builtins.int
|
|
424
|
-
ORPHAN_CLEANUP_DELAY_SECS_FIELD_NUMBER: builtins.int
|
|
425
|
-
PERSISTED_CHUNK_CACHE_UPDATE_MAX_BATCH_SIZE_FIELD_NUMBER: builtins.int
|
|
426
|
-
RANGE_DELETER_BATCH_DELAY_MS_FIELD_NUMBER: builtins.int
|
|
427
|
-
RANGE_DELETER_BATCH_SIZE_FIELD_NUMBER: builtins.int
|
|
428
|
-
MIRROR_READS_FIELD_NUMBER: builtins.int
|
|
429
389
|
@property
|
|
430
390
|
def audit_authorization_success(self) -> google.protobuf.wrappers_pb2.BoolValue:
|
|
431
|
-
"""Enables the auditing of authorization successes
|
|
432
|
-
https://www.mongodb.com/docs/manual/reference/parameters/#mongodb-parameter-param.auditAuthorizationSuccess
|
|
433
|
-
"""
|
|
391
|
+
"""Enables the auditing of authorization successes"""
|
|
434
392
|
|
|
435
393
|
@property
|
|
436
394
|
def enable_flow_control(self) -> google.protobuf.wrappers_pb2.BoolValue:
|
|
@@ -443,83 +401,15 @@ class MongodConfig(google.protobuf.message.Message):
|
|
|
443
401
|
def min_snapshot_history_window_in_seconds(self) -> google.protobuf.wrappers_pb2.Int64Value:
|
|
444
402
|
"""The minimum time window in seconds for which the storage engine keeps the snapshot history."""
|
|
445
403
|
|
|
446
|
-
@property
|
|
447
|
-
def flow_control_target_lag_seconds(self) -> google.protobuf.wrappers_pb2.Int64Value:
|
|
448
|
-
"""The target maximum majority committed lag when running with flow control"""
|
|
449
|
-
|
|
450
|
-
@property
|
|
451
|
-
def flow_control_warn_threshold_seconds(self) -> google.protobuf.wrappers_pb2.Int64Value:
|
|
452
|
-
"""The amount of time to wait to log a warning once the flow control mechanism detects the majority commit point has not moved."""
|
|
453
|
-
|
|
454
|
-
@property
|
|
455
|
-
def migrate_clone_insertion_batch_delay_ms(self) -> google.protobuf.wrappers_pb2.Int64Value:
|
|
456
|
-
"""Time in milliseconds to wait between batches of insertions during cloning step of the migration process."""
|
|
457
|
-
|
|
458
|
-
@property
|
|
459
|
-
def migrate_clone_insertion_batch_size(self) -> google.protobuf.wrappers_pb2.Int64Value:
|
|
460
|
-
"""The maximum number of documents to insert in a single batch during the cloning step of the migration process."""
|
|
461
|
-
|
|
462
|
-
@property
|
|
463
|
-
def orphan_cleanup_delay_secs(self) -> google.protobuf.wrappers_pb2.Int64Value:
|
|
464
|
-
"""Minimum delay before a migrated chunk is deleted from the source shard."""
|
|
465
|
-
|
|
466
|
-
@property
|
|
467
|
-
def persisted_chunk_cache_update_max_batch_size(self) -> google.protobuf.wrappers_pb2.Int64Value:
|
|
468
|
-
"""Specifies the maximum batch size used for updating the persisted chunk cache."""
|
|
469
|
-
|
|
470
|
-
@property
|
|
471
|
-
def range_deleter_batch_delay_ms(self) -> google.protobuf.wrappers_pb2.Int64Value:
|
|
472
|
-
"""The amount of time in milliseconds to wait before the next batch of deletion during the cleanup stage of chunk migration (or the cleanupOrphaned command)."""
|
|
473
|
-
|
|
474
|
-
@property
|
|
475
|
-
def range_deleter_batch_size(self) -> google.protobuf.wrappers_pb2.Int64Value:
|
|
476
|
-
"""The maximum number of documents in each batch to delete during the cleanup stage of chunk migration (or the cleanupOrphaned command)."""
|
|
477
|
-
|
|
478
|
-
@property
|
|
479
|
-
def mirror_reads(self) -> global___MongodConfig.SetParameter.MirrorReads:
|
|
480
|
-
"""Specifies the settings for mirrored reads for the mongod instance"""
|
|
481
|
-
|
|
482
404
|
def __init__(
|
|
483
405
|
self,
|
|
484
406
|
*,
|
|
485
407
|
audit_authorization_success: google.protobuf.wrappers_pb2.BoolValue | None = ...,
|
|
486
408
|
enable_flow_control: google.protobuf.wrappers_pb2.BoolValue | None = ...,
|
|
487
409
|
min_snapshot_history_window_in_seconds: google.protobuf.wrappers_pb2.Int64Value | None = ...,
|
|
488
|
-
flow_control_target_lag_seconds: google.protobuf.wrappers_pb2.Int64Value | None = ...,
|
|
489
|
-
flow_control_warn_threshold_seconds: google.protobuf.wrappers_pb2.Int64Value | None = ...,
|
|
490
|
-
migrate_clone_insertion_batch_delay_ms: google.protobuf.wrappers_pb2.Int64Value | None = ...,
|
|
491
|
-
migrate_clone_insertion_batch_size: google.protobuf.wrappers_pb2.Int64Value | None = ...,
|
|
492
|
-
orphan_cleanup_delay_secs: google.protobuf.wrappers_pb2.Int64Value | None = ...,
|
|
493
|
-
persisted_chunk_cache_update_max_batch_size: google.protobuf.wrappers_pb2.Int64Value | None = ...,
|
|
494
|
-
range_deleter_batch_delay_ms: google.protobuf.wrappers_pb2.Int64Value | None = ...,
|
|
495
|
-
range_deleter_batch_size: google.protobuf.wrappers_pb2.Int64Value | None = ...,
|
|
496
|
-
mirror_reads: global___MongodConfig.SetParameter.MirrorReads | None = ...,
|
|
497
|
-
) -> None: ...
|
|
498
|
-
def HasField(self, field_name: typing.Literal["audit_authorization_success", b"audit_authorization_success", "enable_flow_control", b"enable_flow_control", "flow_control_target_lag_seconds", b"flow_control_target_lag_seconds", "flow_control_warn_threshold_seconds", b"flow_control_warn_threshold_seconds", "migrate_clone_insertion_batch_delay_ms", b"migrate_clone_insertion_batch_delay_ms", "migrate_clone_insertion_batch_size", b"migrate_clone_insertion_batch_size", "min_snapshot_history_window_in_seconds", b"min_snapshot_history_window_in_seconds", "mirror_reads", b"mirror_reads", "orphan_cleanup_delay_secs", b"orphan_cleanup_delay_secs", "persisted_chunk_cache_update_max_batch_size", b"persisted_chunk_cache_update_max_batch_size", "range_deleter_batch_delay_ms", b"range_deleter_batch_delay_ms", "range_deleter_batch_size", b"range_deleter_batch_size"]) -> builtins.bool: ...
|
|
499
|
-
def ClearField(self, field_name: typing.Literal["audit_authorization_success", b"audit_authorization_success", "enable_flow_control", b"enable_flow_control", "flow_control_target_lag_seconds", b"flow_control_target_lag_seconds", "flow_control_warn_threshold_seconds", b"flow_control_warn_threshold_seconds", "migrate_clone_insertion_batch_delay_ms", b"migrate_clone_insertion_batch_delay_ms", "migrate_clone_insertion_batch_size", b"migrate_clone_insertion_batch_size", "min_snapshot_history_window_in_seconds", b"min_snapshot_history_window_in_seconds", "mirror_reads", b"mirror_reads", "orphan_cleanup_delay_secs", b"orphan_cleanup_delay_secs", "persisted_chunk_cache_update_max_batch_size", b"persisted_chunk_cache_update_max_batch_size", "range_deleter_batch_delay_ms", b"range_deleter_batch_delay_ms", "range_deleter_batch_size", b"range_deleter_batch_size"]) -> None: ...
|
|
500
|
-
|
|
501
|
-
@typing.final
|
|
502
|
-
class Oplog(google.protobuf.message.Message):
|
|
503
|
-
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
504
|
-
|
|
505
|
-
MAX_SIZE_PERCENT_FIELD_NUMBER: builtins.int
|
|
506
|
-
MIN_RETENTION_HOURS_FIELD_NUMBER: builtins.int
|
|
507
|
-
@property
|
|
508
|
-
def max_size_percent(self) -> google.protobuf.wrappers_pb2.Int64Value:
|
|
509
|
-
"""Oplog maxsize in percents."""
|
|
510
|
-
|
|
511
|
-
@property
|
|
512
|
-
def min_retention_hours(self) -> google.protobuf.wrappers_pb2.DoubleValue:
|
|
513
|
-
"""The minimum number of hours to preserve an oplog entry, where decimal values represent the fractions of an hour."""
|
|
514
|
-
|
|
515
|
-
def __init__(
|
|
516
|
-
self,
|
|
517
|
-
*,
|
|
518
|
-
max_size_percent: google.protobuf.wrappers_pb2.Int64Value | None = ...,
|
|
519
|
-
min_retention_hours: google.protobuf.wrappers_pb2.DoubleValue | None = ...,
|
|
520
410
|
) -> None: ...
|
|
521
|
-
def HasField(self, field_name: typing.Literal["
|
|
522
|
-
def ClearField(self, field_name: typing.Literal["
|
|
411
|
+
def HasField(self, field_name: typing.Literal["audit_authorization_success", b"audit_authorization_success", "enable_flow_control", b"enable_flow_control", "min_snapshot_history_window_in_seconds", b"min_snapshot_history_window_in_seconds"]) -> builtins.bool: ...
|
|
412
|
+
def ClearField(self, field_name: typing.Literal["audit_authorization_success", b"audit_authorization_success", "enable_flow_control", b"enable_flow_control", "min_snapshot_history_window_in_seconds", b"min_snapshot_history_window_in_seconds"]) -> None: ...
|
|
523
413
|
|
|
524
414
|
STORAGE_FIELD_NUMBER: builtins.int
|
|
525
415
|
OPERATION_PROFILING_FIELD_NUMBER: builtins.int
|
|
@@ -527,7 +417,6 @@ class MongodConfig(google.protobuf.message.Message):
|
|
|
527
417
|
SECURITY_FIELD_NUMBER: builtins.int
|
|
528
418
|
AUDIT_LOG_FIELD_NUMBER: builtins.int
|
|
529
419
|
SET_PARAMETER_FIELD_NUMBER: builtins.int
|
|
530
|
-
OPLOG_FIELD_NUMBER: builtins.int
|
|
531
420
|
@property
|
|
532
421
|
def storage(self) -> global___MongodConfig.Storage:
|
|
533
422
|
"""`storage` section of mongod configuration."""
|
|
@@ -552,10 +441,6 @@ class MongodConfig(google.protobuf.message.Message):
|
|
|
552
441
|
def set_parameter(self) -> global___MongodConfig.SetParameter:
|
|
553
442
|
"""`SetParameter` section of mongod configuration."""
|
|
554
443
|
|
|
555
|
-
@property
|
|
556
|
-
def oplog(self) -> global___MongodConfig.Oplog:
|
|
557
|
-
"""`Oplog` section of mongod configuration."""
|
|
558
|
-
|
|
559
444
|
def __init__(
|
|
560
445
|
self,
|
|
561
446
|
*,
|
|
@@ -565,10 +450,9 @@ class MongodConfig(google.protobuf.message.Message):
|
|
|
565
450
|
security: global___MongodConfig.Security | None = ...,
|
|
566
451
|
audit_log: global___MongodConfig.AuditLog | None = ...,
|
|
567
452
|
set_parameter: global___MongodConfig.SetParameter | None = ...,
|
|
568
|
-
oplog: global___MongodConfig.Oplog | None = ...,
|
|
569
453
|
) -> None: ...
|
|
570
|
-
def HasField(self, field_name: typing.Literal["audit_log", b"audit_log", "net", b"net", "operation_profiling", b"operation_profiling", "
|
|
571
|
-
def ClearField(self, field_name: typing.Literal["audit_log", b"audit_log", "net", b"net", "operation_profiling", b"operation_profiling", "
|
|
454
|
+
def HasField(self, field_name: typing.Literal["audit_log", b"audit_log", "net", b"net", "operation_profiling", b"operation_profiling", "security", b"security", "set_parameter", b"set_parameter", "storage", b"storage"]) -> builtins.bool: ...
|
|
455
|
+
def ClearField(self, field_name: typing.Literal["audit_log", b"audit_log", "net", b"net", "operation_profiling", b"operation_profiling", "security", b"security", "set_parameter", b"set_parameter", "storage", b"storage"]) -> None: ...
|
|
572
456
|
|
|
573
457
|
global___MongodConfig = MongodConfig
|
|
574
458
|
|
|
@@ -591,59 +475,30 @@ class MongoCfgConfig(google.protobuf.message.Message):
|
|
|
591
475
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
592
476
|
|
|
593
477
|
CACHE_SIZE_GB_FIELD_NUMBER: builtins.int
|
|
594
|
-
CACHE_SIZE_FIELD_NUMBER: builtins.int
|
|
595
478
|
@property
|
|
596
479
|
def cache_size_gb(self) -> google.protobuf.wrappers_pb2.DoubleValue:
|
|
597
480
|
"""The maximum size of the internal cache that WiredTiger will use for all data."""
|
|
598
481
|
|
|
599
|
-
@property
|
|
600
|
-
def cache_size(self) -> google.protobuf.wrappers_pb2.DoubleValue:
|
|
601
|
-
"""The maximum size of the internal cache that WiredTiger will use for all data in percents."""
|
|
602
|
-
|
|
603
482
|
def __init__(
|
|
604
483
|
self,
|
|
605
484
|
*,
|
|
606
485
|
cache_size_gb: google.protobuf.wrappers_pb2.DoubleValue | None = ...,
|
|
607
|
-
cache_size: google.protobuf.wrappers_pb2.DoubleValue | None = ...,
|
|
608
486
|
) -> None: ...
|
|
609
|
-
def HasField(self, field_name: typing.Literal["
|
|
610
|
-
def ClearField(self, field_name: typing.Literal["
|
|
611
|
-
|
|
612
|
-
@typing.final
|
|
613
|
-
class IndexConfig(google.protobuf.message.Message):
|
|
614
|
-
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
615
|
-
|
|
616
|
-
PREFIX_COMPRESSION_FIELD_NUMBER: builtins.int
|
|
617
|
-
@property
|
|
618
|
-
def prefix_compression(self) -> google.protobuf.wrappers_pb2.BoolValue:
|
|
619
|
-
"""Enables or disables [prefix compression](https://www.mongodb.com/docs/manual/reference/glossary/#std-term-prefix-compression)"""
|
|
620
|
-
|
|
621
|
-
def __init__(
|
|
622
|
-
self,
|
|
623
|
-
*,
|
|
624
|
-
prefix_compression: google.protobuf.wrappers_pb2.BoolValue | None = ...,
|
|
625
|
-
) -> None: ...
|
|
626
|
-
def HasField(self, field_name: typing.Literal["prefix_compression", b"prefix_compression"]) -> builtins.bool: ...
|
|
627
|
-
def ClearField(self, field_name: typing.Literal["prefix_compression", b"prefix_compression"]) -> None: ...
|
|
487
|
+
def HasField(self, field_name: typing.Literal["cache_size_gb", b"cache_size_gb"]) -> builtins.bool: ...
|
|
488
|
+
def ClearField(self, field_name: typing.Literal["cache_size_gb", b"cache_size_gb"]) -> None: ...
|
|
628
489
|
|
|
629
490
|
ENGINE_CONFIG_FIELD_NUMBER: builtins.int
|
|
630
|
-
INDEX_CONFIG_FIELD_NUMBER: builtins.int
|
|
631
491
|
@property
|
|
632
492
|
def engine_config(self) -> global___MongoCfgConfig.Storage.WiredTiger.EngineConfig:
|
|
633
493
|
"""Engine configuration for WiredTiger."""
|
|
634
494
|
|
|
635
|
-
@property
|
|
636
|
-
def index_config(self) -> global___MongoCfgConfig.Storage.WiredTiger.IndexConfig:
|
|
637
|
-
"""Index configuration for WiredTiger."""
|
|
638
|
-
|
|
639
495
|
def __init__(
|
|
640
496
|
self,
|
|
641
497
|
*,
|
|
642
498
|
engine_config: global___MongoCfgConfig.Storage.WiredTiger.EngineConfig | None = ...,
|
|
643
|
-
index_config: global___MongoCfgConfig.Storage.WiredTiger.IndexConfig | None = ...,
|
|
644
499
|
) -> None: ...
|
|
645
|
-
def HasField(self, field_name: typing.Literal["engine_config", b"engine_config"
|
|
646
|
-
def ClearField(self, field_name: typing.Literal["engine_config", b"engine_config"
|
|
500
|
+
def HasField(self, field_name: typing.Literal["engine_config", b"engine_config"]) -> builtins.bool: ...
|
|
501
|
+
def ClearField(self, field_name: typing.Literal["engine_config", b"engine_config"]) -> None: ...
|
|
647
502
|
|
|
648
503
|
WIRED_TIGER_FIELD_NUMBER: builtins.int
|
|
649
504
|
@property
|
|
@@ -709,144 +564,22 @@ class MongoCfgConfig(google.protobuf.message.Message):
|
|
|
709
564
|
class Network(google.protobuf.message.Message):
|
|
710
565
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
711
566
|
|
|
712
|
-
@typing.final
|
|
713
|
-
class Compression(google.protobuf.message.Message):
|
|
714
|
-
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
715
|
-
|
|
716
|
-
class _Compressor:
|
|
717
|
-
ValueType = typing.NewType("ValueType", builtins.int)
|
|
718
|
-
V: typing_extensions.TypeAlias = ValueType
|
|
719
|
-
|
|
720
|
-
class _CompressorEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[MongoCfgConfig.Network.Compression._Compressor.ValueType], builtins.type):
|
|
721
|
-
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
722
|
-
COMPRESSOR_UNSPECIFIED: MongoCfgConfig.Network.Compression._Compressor.ValueType # 0
|
|
723
|
-
SNAPPY: MongoCfgConfig.Network.Compression._Compressor.ValueType # 1
|
|
724
|
-
"""The [Snappy](https://docs.mongodb.com/v4.2/reference/glossary/#term-snappy) compression."""
|
|
725
|
-
ZLIB: MongoCfgConfig.Network.Compression._Compressor.ValueType # 2
|
|
726
|
-
"""The [zlib](https://docs.mongodb.com/v4.2/reference/glossary/#term-zlib) compression."""
|
|
727
|
-
ZSTD: MongoCfgConfig.Network.Compression._Compressor.ValueType # 3
|
|
728
|
-
"""The [zstd](https://docs.mongodb.com/v4.2/reference/glossary/#term-zstd) compression."""
|
|
729
|
-
DISABLED: MongoCfgConfig.Network.Compression._Compressor.ValueType # 4
|
|
730
|
-
"""No compression"""
|
|
731
|
-
|
|
732
|
-
class Compressor(_Compressor, metaclass=_CompressorEnumTypeWrapper): ...
|
|
733
|
-
COMPRESSOR_UNSPECIFIED: MongoCfgConfig.Network.Compression.Compressor.ValueType # 0
|
|
734
|
-
SNAPPY: MongoCfgConfig.Network.Compression.Compressor.ValueType # 1
|
|
735
|
-
"""The [Snappy](https://docs.mongodb.com/v4.2/reference/glossary/#term-snappy) compression."""
|
|
736
|
-
ZLIB: MongoCfgConfig.Network.Compression.Compressor.ValueType # 2
|
|
737
|
-
"""The [zlib](https://docs.mongodb.com/v4.2/reference/glossary/#term-zlib) compression."""
|
|
738
|
-
ZSTD: MongoCfgConfig.Network.Compression.Compressor.ValueType # 3
|
|
739
|
-
"""The [zstd](https://docs.mongodb.com/v4.2/reference/glossary/#term-zstd) compression."""
|
|
740
|
-
DISABLED: MongoCfgConfig.Network.Compression.Compressor.ValueType # 4
|
|
741
|
-
"""No compression"""
|
|
742
|
-
|
|
743
|
-
COMPRESSORS_FIELD_NUMBER: builtins.int
|
|
744
|
-
@property
|
|
745
|
-
def compressors(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[global___MongoCfgConfig.Network.Compression.Compressor.ValueType]:
|
|
746
|
-
"""Specifies the default compressor(s) to use for communication between this mongod or mongos instance and:
|
|
747
|
-
- other members of the deployment if the instance is part of a replica set or a sharded cluster
|
|
748
|
-
- mongosh
|
|
749
|
-
- drivers that support the OP_COMPRESSED message format.
|
|
750
|
-
MongoDB supports the following compressors:
|
|
751
|
-
"""
|
|
752
|
-
|
|
753
|
-
def __init__(
|
|
754
|
-
self,
|
|
755
|
-
*,
|
|
756
|
-
compressors: collections.abc.Iterable[global___MongoCfgConfig.Network.Compression.Compressor.ValueType] | None = ...,
|
|
757
|
-
) -> None: ...
|
|
758
|
-
def ClearField(self, field_name: typing.Literal["compressors", b"compressors"]) -> None: ...
|
|
759
|
-
|
|
760
567
|
MAX_INCOMING_CONNECTIONS_FIELD_NUMBER: builtins.int
|
|
761
|
-
COMPRESSION_FIELD_NUMBER: builtins.int
|
|
762
568
|
@property
|
|
763
569
|
def max_incoming_connections(self) -> google.protobuf.wrappers_pb2.Int64Value:
|
|
764
570
|
"""The maximum number of simultaneous connections that mongocfg will accept."""
|
|
765
571
|
|
|
766
|
-
@property
|
|
767
|
-
def compression(self) -> global___MongoCfgConfig.Network.Compression:
|
|
768
|
-
"""Compression settings"""
|
|
769
|
-
|
|
770
572
|
def __init__(
|
|
771
573
|
self,
|
|
772
574
|
*,
|
|
773
575
|
max_incoming_connections: google.protobuf.wrappers_pb2.Int64Value | None = ...,
|
|
774
|
-
compression: global___MongoCfgConfig.Network.Compression | None = ...,
|
|
775
576
|
) -> None: ...
|
|
776
|
-
def HasField(self, field_name: typing.Literal["
|
|
777
|
-
def ClearField(self, field_name: typing.Literal["
|
|
778
|
-
|
|
779
|
-
@typing.final
|
|
780
|
-
class SetParameter(google.protobuf.message.Message):
|
|
781
|
-
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
782
|
-
|
|
783
|
-
ENABLE_FLOW_CONTROL_FIELD_NUMBER: builtins.int
|
|
784
|
-
AUDIT_AUTHORIZATION_SUCCESS_FIELD_NUMBER: builtins.int
|
|
785
|
-
@property
|
|
786
|
-
def enable_flow_control(self) -> google.protobuf.wrappers_pb2.BoolValue:
|
|
787
|
-
"""Enables or disables the mechanism that controls the rate at which the primary applies its writes with the
|
|
788
|
-
goal of keeping the secondary members [majority committed](https://www.mongodb.com/docs/v4.2/reference/command/replSetGetStatus/#replSetGetStatus.optimes.lastCommittedOpTime)
|
|
789
|
-
lag under a configurable maximum value.
|
|
790
|
-
"""
|
|
791
|
-
|
|
792
|
-
@property
|
|
793
|
-
def audit_authorization_success(self) -> google.protobuf.wrappers_pb2.BoolValue:
|
|
794
|
-
"""Enables the auditing of authorization successes
|
|
795
|
-
https://www.mongodb.com/docs/manual/reference/parameters/#mongodb-parameter-param.auditAuthorizationSuccess
|
|
796
|
-
"""
|
|
797
|
-
|
|
798
|
-
def __init__(
|
|
799
|
-
self,
|
|
800
|
-
*,
|
|
801
|
-
enable_flow_control: google.protobuf.wrappers_pb2.BoolValue | None = ...,
|
|
802
|
-
audit_authorization_success: google.protobuf.wrappers_pb2.BoolValue | None = ...,
|
|
803
|
-
) -> None: ...
|
|
804
|
-
def HasField(self, field_name: typing.Literal["audit_authorization_success", b"audit_authorization_success", "enable_flow_control", b"enable_flow_control"]) -> builtins.bool: ...
|
|
805
|
-
def ClearField(self, field_name: typing.Literal["audit_authorization_success", b"audit_authorization_success", "enable_flow_control", b"enable_flow_control"]) -> None: ...
|
|
806
|
-
|
|
807
|
-
@typing.final
|
|
808
|
-
class AuditLog(google.protobuf.message.Message):
|
|
809
|
-
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
810
|
-
|
|
811
|
-
FILTER_FIELD_NUMBER: builtins.int
|
|
812
|
-
filter: builtins.str
|
|
813
|
-
"""Audit filter, should be valid JSON object string"""
|
|
814
|
-
def __init__(
|
|
815
|
-
self,
|
|
816
|
-
*,
|
|
817
|
-
filter: builtins.str = ...,
|
|
818
|
-
) -> None: ...
|
|
819
|
-
def ClearField(self, field_name: typing.Literal["filter", b"filter"]) -> None: ...
|
|
820
|
-
|
|
821
|
-
@typing.final
|
|
822
|
-
class Oplog(google.protobuf.message.Message):
|
|
823
|
-
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
824
|
-
|
|
825
|
-
MAX_SIZE_PERCENT_FIELD_NUMBER: builtins.int
|
|
826
|
-
MIN_RETENTION_HOURS_FIELD_NUMBER: builtins.int
|
|
827
|
-
@property
|
|
828
|
-
def max_size_percent(self) -> google.protobuf.wrappers_pb2.Int64Value:
|
|
829
|
-
"""Oplog maxsize in percents."""
|
|
830
|
-
|
|
831
|
-
@property
|
|
832
|
-
def min_retention_hours(self) -> google.protobuf.wrappers_pb2.DoubleValue:
|
|
833
|
-
"""The minimum number of hours to preserve an oplog entry, where decimal values represent the fractions of an hour."""
|
|
834
|
-
|
|
835
|
-
def __init__(
|
|
836
|
-
self,
|
|
837
|
-
*,
|
|
838
|
-
max_size_percent: google.protobuf.wrappers_pb2.Int64Value | None = ...,
|
|
839
|
-
min_retention_hours: google.protobuf.wrappers_pb2.DoubleValue | None = ...,
|
|
840
|
-
) -> None: ...
|
|
841
|
-
def HasField(self, field_name: typing.Literal["max_size_percent", b"max_size_percent", "min_retention_hours", b"min_retention_hours"]) -> builtins.bool: ...
|
|
842
|
-
def ClearField(self, field_name: typing.Literal["max_size_percent", b"max_size_percent", "min_retention_hours", b"min_retention_hours"]) -> None: ...
|
|
577
|
+
def HasField(self, field_name: typing.Literal["max_incoming_connections", b"max_incoming_connections"]) -> builtins.bool: ...
|
|
578
|
+
def ClearField(self, field_name: typing.Literal["max_incoming_connections", b"max_incoming_connections"]) -> None: ...
|
|
843
579
|
|
|
844
580
|
STORAGE_FIELD_NUMBER: builtins.int
|
|
845
581
|
OPERATION_PROFILING_FIELD_NUMBER: builtins.int
|
|
846
582
|
NET_FIELD_NUMBER: builtins.int
|
|
847
|
-
SET_PARAMETER_FIELD_NUMBER: builtins.int
|
|
848
|
-
AUDIT_LOG_FIELD_NUMBER: builtins.int
|
|
849
|
-
OPLOG_FIELD_NUMBER: builtins.int
|
|
850
583
|
@property
|
|
851
584
|
def storage(self) -> global___MongoCfgConfig.Storage:
|
|
852
585
|
"""`storage` section of mongocfg configuration."""
|
|
@@ -859,30 +592,15 @@ class MongoCfgConfig(google.protobuf.message.Message):
|
|
|
859
592
|
def net(self) -> global___MongoCfgConfig.Network:
|
|
860
593
|
"""`net` section of mongocfg configuration."""
|
|
861
594
|
|
|
862
|
-
@property
|
|
863
|
-
def set_parameter(self) -> global___MongoCfgConfig.SetParameter:
|
|
864
|
-
"""`setParameter` section of mongocfg configuration."""
|
|
865
|
-
|
|
866
|
-
@property
|
|
867
|
-
def audit_log(self) -> global___MongoCfgConfig.AuditLog:
|
|
868
|
-
"""`AuditLog` section of mongocfg configuration."""
|
|
869
|
-
|
|
870
|
-
@property
|
|
871
|
-
def oplog(self) -> global___MongoCfgConfig.Oplog:
|
|
872
|
-
"""`Oplog` section of mongod configuration."""
|
|
873
|
-
|
|
874
595
|
def __init__(
|
|
875
596
|
self,
|
|
876
597
|
*,
|
|
877
598
|
storage: global___MongoCfgConfig.Storage | None = ...,
|
|
878
599
|
operation_profiling: global___MongoCfgConfig.OperationProfiling | None = ...,
|
|
879
600
|
net: global___MongoCfgConfig.Network | None = ...,
|
|
880
|
-
set_parameter: global___MongoCfgConfig.SetParameter | None = ...,
|
|
881
|
-
audit_log: global___MongoCfgConfig.AuditLog | None = ...,
|
|
882
|
-
oplog: global___MongoCfgConfig.Oplog | None = ...,
|
|
883
601
|
) -> None: ...
|
|
884
|
-
def HasField(self, field_name: typing.Literal["
|
|
885
|
-
def ClearField(self, field_name: typing.Literal["
|
|
602
|
+
def HasField(self, field_name: typing.Literal["net", b"net", "operation_profiling", b"operation_profiling", "storage", b"storage"]) -> builtins.bool: ...
|
|
603
|
+
def ClearField(self, field_name: typing.Literal["net", b"net", "operation_profiling", b"operation_profiling", "storage", b"storage"]) -> None: ...
|
|
886
604
|
|
|
887
605
|
global___MongoCfgConfig = MongoCfgConfig
|
|
888
606
|
|
|
@@ -961,141 +679,18 @@ class MongosConfig(google.protobuf.message.Message):
|
|
|
961
679
|
def HasField(self, field_name: typing.Literal["compression", b"compression", "max_incoming_connections", b"max_incoming_connections"]) -> builtins.bool: ...
|
|
962
680
|
def ClearField(self, field_name: typing.Literal["compression", b"compression", "max_incoming_connections", b"max_incoming_connections"]) -> None: ...
|
|
963
681
|
|
|
964
|
-
@typing.final
|
|
965
|
-
class SetParameter(google.protobuf.message.Message):
|
|
966
|
-
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
967
|
-
|
|
968
|
-
AUDIT_AUTHORIZATION_SUCCESS_FIELD_NUMBER: builtins.int
|
|
969
|
-
READ_HEDGING_MODE_FIELD_NUMBER: builtins.int
|
|
970
|
-
SHARDING_TASK_EXECUTOR_POOL_MAX_SIZE_FIELD_NUMBER: builtins.int
|
|
971
|
-
SHARDING_TASK_EXECUTOR_POOL_MAX_CONNECTING_FIELD_NUMBER: builtins.int
|
|
972
|
-
SHARDING_TASK_EXECUTOR_POOL_MIN_SIZE_FIELD_NUMBER: builtins.int
|
|
973
|
-
SHARDING_TASK_EXECUTOR_POOL_REPLICA_SET_MATCHING_FIELD_NUMBER: builtins.int
|
|
974
|
-
SHARDING_TASK_EXECUTOR_POOL_HOST_TIMEOUT_MS_FIELD_NUMBER: builtins.int
|
|
975
|
-
SHARDING_TASK_EXECUTOR_POOL_REFRESH_REQUIREMENT_MS_FIELD_NUMBER: builtins.int
|
|
976
|
-
SHARDING_TASK_EXECUTOR_POOL_REFRESH_TIMEOUT_MS_FIELD_NUMBER: builtins.int
|
|
977
|
-
WARM_MIN_CONNECTIONS_IN_SHARDING_TASK_EXECUTOR_POOL_ON_STARTUP_FIELD_NUMBER: builtins.int
|
|
978
|
-
WARM_MIN_CONNECTIONS_IN_SHARDING_TASK_EXECUTOR_POOL_ON_STARTUP_WAIT_MS_FIELD_NUMBER: builtins.int
|
|
979
|
-
SHARDING_TASK_EXECUTOR_POOL_MAX_SIZE_FOR_CONFIG_SERVERS_FIELD_NUMBER: builtins.int
|
|
980
|
-
SHARDING_TASK_EXECUTOR_POOL_MIN_SIZE_FOR_CONFIG_SERVERS_FIELD_NUMBER: builtins.int
|
|
981
|
-
@property
|
|
982
|
-
def audit_authorization_success(self) -> google.protobuf.wrappers_pb2.BoolValue:
|
|
983
|
-
"""Enables the auditing of authorization successes
|
|
984
|
-
https://www.mongodb.com/docs/manual/reference/parameters/#mongodb-parameter-param.auditAuthorizationSuccess
|
|
985
|
-
"""
|
|
986
|
-
|
|
987
|
-
@property
|
|
988
|
-
def read_hedging_mode(self) -> google.protobuf.wrappers_pb2.StringValue:
|
|
989
|
-
"""Specifies whether mongos supports hedged reads for those read operations whose read preference have enabled the hedged read option."""
|
|
990
|
-
|
|
991
|
-
@property
|
|
992
|
-
def sharding_task_executor_pool_max_size(self) -> google.protobuf.wrappers_pb2.Int64Value:
|
|
993
|
-
"""Maximum number of outbound connections each TaskExecutor connection pool can open to any given mongod instance."""
|
|
994
|
-
|
|
995
|
-
@property
|
|
996
|
-
def sharding_task_executor_pool_max_connecting(self) -> google.protobuf.wrappers_pb2.Int64Value:
|
|
997
|
-
"""Maximum number of simultaneous initiating connections (including pending connections in setup/refresh state) each TaskExecutor connection pool can have to a mongod instance."""
|
|
998
|
-
|
|
999
|
-
@property
|
|
1000
|
-
def sharding_task_executor_pool_min_size(self) -> google.protobuf.wrappers_pb2.Int64Value:
|
|
1001
|
-
"""Minimum number of outbound connections each TaskExecutor connection pool can open to any given mongod instance."""
|
|
1002
|
-
|
|
1003
|
-
@property
|
|
1004
|
-
def sharding_task_executor_pool_replica_set_matching(self) -> google.protobuf.wrappers_pb2.StringValue:
|
|
1005
|
-
"""On a mongos instance, this parameter sets the policy that determines the minimum size limit of its connection pools to nodes within replica sets."""
|
|
1006
|
-
|
|
1007
|
-
@property
|
|
1008
|
-
def sharding_task_executor_pool_host_timeout_ms(self) -> google.protobuf.wrappers_pb2.Int64Value:
|
|
1009
|
-
"""Maximum time that mongos goes without communication to a host before mongos drops all connections to the host."""
|
|
1010
|
-
|
|
1011
|
-
@property
|
|
1012
|
-
def sharding_task_executor_pool_refresh_requirement_ms(self) -> google.protobuf.wrappers_pb2.Int64Value:
|
|
1013
|
-
"""Maximum time the mongos waits before attempting to heartbeat an idle connection in the pool."""
|
|
1014
|
-
|
|
1015
|
-
@property
|
|
1016
|
-
def sharding_task_executor_pool_refresh_timeout_ms(self) -> google.protobuf.wrappers_pb2.Int64Value:
|
|
1017
|
-
"""Maximum time the mongos waits for a heartbeat before timing out the heartbeat."""
|
|
1018
|
-
|
|
1019
|
-
@property
|
|
1020
|
-
def warm_min_connections_in_sharding_task_executor_pool_on_startup(self) -> google.protobuf.wrappers_pb2.BoolValue:
|
|
1021
|
-
"""Configures a mongos instance to prewarm its connection pool on startup."""
|
|
1022
|
-
|
|
1023
|
-
@property
|
|
1024
|
-
def warm_min_connections_in_sharding_task_executor_pool_on_startup_wait_ms(self) -> google.protobuf.wrappers_pb2.Int64Value:
|
|
1025
|
-
"""Sets the timeout threshold in milliseconds for a mongos to wait for ShardingTaskExecutorPoolMinSize connections to be established per shard host when using the warmMinConnectionsInShardingTaskExecutorPoolOnStartup parameter."""
|
|
1026
|
-
|
|
1027
|
-
@property
|
|
1028
|
-
def sharding_task_executor_pool_max_size_for_config_servers(self) -> google.protobuf.wrappers_pb2.Int64Value:
|
|
1029
|
-
"""Optional override for ShardingTaskExecutorPoolMaxSize to set the maximum number of outbound connections each TaskExecutor connection pool can open to a configuration server."""
|
|
1030
|
-
|
|
1031
|
-
@property
|
|
1032
|
-
def sharding_task_executor_pool_min_size_for_config_servers(self) -> google.protobuf.wrappers_pb2.Int64Value:
|
|
1033
|
-
"""Optional override for ShardingTaskExecutorPoolMinSize to set the minimum number of outbound connections each TaskExecutor connection pool can open to a configuration server."""
|
|
1034
|
-
|
|
1035
|
-
def __init__(
|
|
1036
|
-
self,
|
|
1037
|
-
*,
|
|
1038
|
-
audit_authorization_success: google.protobuf.wrappers_pb2.BoolValue | None = ...,
|
|
1039
|
-
read_hedging_mode: google.protobuf.wrappers_pb2.StringValue | None = ...,
|
|
1040
|
-
sharding_task_executor_pool_max_size: google.protobuf.wrappers_pb2.Int64Value | None = ...,
|
|
1041
|
-
sharding_task_executor_pool_max_connecting: google.protobuf.wrappers_pb2.Int64Value | None = ...,
|
|
1042
|
-
sharding_task_executor_pool_min_size: google.protobuf.wrappers_pb2.Int64Value | None = ...,
|
|
1043
|
-
sharding_task_executor_pool_replica_set_matching: google.protobuf.wrappers_pb2.StringValue | None = ...,
|
|
1044
|
-
sharding_task_executor_pool_host_timeout_ms: google.protobuf.wrappers_pb2.Int64Value | None = ...,
|
|
1045
|
-
sharding_task_executor_pool_refresh_requirement_ms: google.protobuf.wrappers_pb2.Int64Value | None = ...,
|
|
1046
|
-
sharding_task_executor_pool_refresh_timeout_ms: google.protobuf.wrappers_pb2.Int64Value | None = ...,
|
|
1047
|
-
warm_min_connections_in_sharding_task_executor_pool_on_startup: google.protobuf.wrappers_pb2.BoolValue | None = ...,
|
|
1048
|
-
warm_min_connections_in_sharding_task_executor_pool_on_startup_wait_ms: google.protobuf.wrappers_pb2.Int64Value | None = ...,
|
|
1049
|
-
sharding_task_executor_pool_max_size_for_config_servers: google.protobuf.wrappers_pb2.Int64Value | None = ...,
|
|
1050
|
-
sharding_task_executor_pool_min_size_for_config_servers: google.protobuf.wrappers_pb2.Int64Value | None = ...,
|
|
1051
|
-
) -> None: ...
|
|
1052
|
-
def HasField(self, field_name: typing.Literal["audit_authorization_success", b"audit_authorization_success", "read_hedging_mode", b"read_hedging_mode", "sharding_task_executor_pool_host_timeout_ms", b"sharding_task_executor_pool_host_timeout_ms", "sharding_task_executor_pool_max_connecting", b"sharding_task_executor_pool_max_connecting", "sharding_task_executor_pool_max_size", b"sharding_task_executor_pool_max_size", "sharding_task_executor_pool_max_size_for_config_servers", b"sharding_task_executor_pool_max_size_for_config_servers", "sharding_task_executor_pool_min_size", b"sharding_task_executor_pool_min_size", "sharding_task_executor_pool_min_size_for_config_servers", b"sharding_task_executor_pool_min_size_for_config_servers", "sharding_task_executor_pool_refresh_requirement_ms", b"sharding_task_executor_pool_refresh_requirement_ms", "sharding_task_executor_pool_refresh_timeout_ms", b"sharding_task_executor_pool_refresh_timeout_ms", "sharding_task_executor_pool_replica_set_matching", b"sharding_task_executor_pool_replica_set_matching", "warm_min_connections_in_sharding_task_executor_pool_on_startup", b"warm_min_connections_in_sharding_task_executor_pool_on_startup", "warm_min_connections_in_sharding_task_executor_pool_on_startup_wait_ms", b"warm_min_connections_in_sharding_task_executor_pool_on_startup_wait_ms"]) -> builtins.bool: ...
|
|
1053
|
-
def ClearField(self, field_name: typing.Literal["audit_authorization_success", b"audit_authorization_success", "read_hedging_mode", b"read_hedging_mode", "sharding_task_executor_pool_host_timeout_ms", b"sharding_task_executor_pool_host_timeout_ms", "sharding_task_executor_pool_max_connecting", b"sharding_task_executor_pool_max_connecting", "sharding_task_executor_pool_max_size", b"sharding_task_executor_pool_max_size", "sharding_task_executor_pool_max_size_for_config_servers", b"sharding_task_executor_pool_max_size_for_config_servers", "sharding_task_executor_pool_min_size", b"sharding_task_executor_pool_min_size", "sharding_task_executor_pool_min_size_for_config_servers", b"sharding_task_executor_pool_min_size_for_config_servers", "sharding_task_executor_pool_refresh_requirement_ms", b"sharding_task_executor_pool_refresh_requirement_ms", "sharding_task_executor_pool_refresh_timeout_ms", b"sharding_task_executor_pool_refresh_timeout_ms", "sharding_task_executor_pool_replica_set_matching", b"sharding_task_executor_pool_replica_set_matching", "warm_min_connections_in_sharding_task_executor_pool_on_startup", b"warm_min_connections_in_sharding_task_executor_pool_on_startup", "warm_min_connections_in_sharding_task_executor_pool_on_startup_wait_ms", b"warm_min_connections_in_sharding_task_executor_pool_on_startup_wait_ms"]) -> None: ...
|
|
1054
|
-
|
|
1055
|
-
@typing.final
|
|
1056
|
-
class AuditLog(google.protobuf.message.Message):
|
|
1057
|
-
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1058
|
-
|
|
1059
|
-
FILTER_FIELD_NUMBER: builtins.int
|
|
1060
|
-
filter: builtins.str
|
|
1061
|
-
"""Audit filter, should be valid JSON object string"""
|
|
1062
|
-
def __init__(
|
|
1063
|
-
self,
|
|
1064
|
-
*,
|
|
1065
|
-
filter: builtins.str = ...,
|
|
1066
|
-
) -> None: ...
|
|
1067
|
-
def ClearField(self, field_name: typing.Literal["filter", b"filter"]) -> None: ...
|
|
1068
|
-
|
|
1069
682
|
NET_FIELD_NUMBER: builtins.int
|
|
1070
|
-
SET_PARAMETER_FIELD_NUMBER: builtins.int
|
|
1071
|
-
AUDIT_LOG_FIELD_NUMBER: builtins.int
|
|
1072
|
-
CHUNK_SIZE_FIELD_NUMBER: builtins.int
|
|
1073
683
|
@property
|
|
1074
684
|
def net(self) -> global___MongosConfig.Network:
|
|
1075
685
|
"""Network settings for mongos."""
|
|
1076
686
|
|
|
1077
|
-
@property
|
|
1078
|
-
def set_parameter(self) -> global___MongosConfig.SetParameter:
|
|
1079
|
-
"""`setParameter` section of mongos configuration."""
|
|
1080
|
-
|
|
1081
|
-
@property
|
|
1082
|
-
def audit_log(self) -> global___MongosConfig.AuditLog:
|
|
1083
|
-
"""`AuditLog` section of mongos configuration."""
|
|
1084
|
-
|
|
1085
|
-
@property
|
|
1086
|
-
def chunk_size(self) -> google.protobuf.wrappers_pb2.Int64Value:
|
|
1087
|
-
"""`ChunkSize` parameter of mongos configuration."""
|
|
1088
|
-
|
|
1089
687
|
def __init__(
|
|
1090
688
|
self,
|
|
1091
689
|
*,
|
|
1092
690
|
net: global___MongosConfig.Network | None = ...,
|
|
1093
|
-
set_parameter: global___MongosConfig.SetParameter | None = ...,
|
|
1094
|
-
audit_log: global___MongosConfig.AuditLog | None = ...,
|
|
1095
|
-
chunk_size: google.protobuf.wrappers_pb2.Int64Value | None = ...,
|
|
1096
691
|
) -> None: ...
|
|
1097
|
-
def HasField(self, field_name: typing.Literal["
|
|
1098
|
-
def ClearField(self, field_name: typing.Literal["
|
|
692
|
+
def HasField(self, field_name: typing.Literal["net", b"net"]) -> builtins.bool: ...
|
|
693
|
+
def ClearField(self, field_name: typing.Literal["net", b"net"]) -> None: ...
|
|
1099
694
|
|
|
1100
695
|
global___MongosConfig = MongosConfig
|
|
1101
696
|
|
|
File without changes
|