pulumi-digitalocean 4.40.0a1739511652__py3-none-any.whl → 4.56.0a1766428645__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.
- pulumi_digitalocean/__init__.py +224 -1
- pulumi_digitalocean/_enums.py +19 -9
- pulumi_digitalocean/_inputs.py +17037 -4771
- pulumi_digitalocean/_utilities.py +1 -1
- pulumi_digitalocean/app.py +238 -88
- pulumi_digitalocean/byoip_prefix.py +452 -0
- pulumi_digitalocean/cdn.py +106 -105
- pulumi_digitalocean/certificate.py +139 -138
- pulumi_digitalocean/config/__init__.py +2 -1
- pulumi_digitalocean/config/__init__.pyi +2 -2
- pulumi_digitalocean/config/vars.py +11 -11
- pulumi_digitalocean/container_registries.py +285 -0
- pulumi_digitalocean/container_registry.py +90 -89
- pulumi_digitalocean/container_registry_docker_credentials.py +84 -83
- pulumi_digitalocean/custom_image.py +180 -179
- pulumi_digitalocean/database_cluster.py +402 -373
- pulumi_digitalocean/database_connection_pool.py +159 -158
- pulumi_digitalocean/database_db.py +37 -36
- pulumi_digitalocean/database_firewall.py +23 -22
- pulumi_digitalocean/database_kafka_config.py +309 -308
- pulumi_digitalocean/database_kafka_schema_registry.py +360 -0
- pulumi_digitalocean/database_kafka_topic.py +83 -82
- pulumi_digitalocean/database_logsink_opensearch.py +680 -0
- pulumi_digitalocean/database_logsink_rsyslog.py +842 -0
- pulumi_digitalocean/database_mongodb_config.py +105 -104
- pulumi_digitalocean/database_mysql_config.py +479 -478
- pulumi_digitalocean/database_online_migration.py +460 -0
- pulumi_digitalocean/database_opensearch_config.py +666 -665
- pulumi_digitalocean/database_postgresql_config.py +859 -858
- pulumi_digitalocean/database_redis_config.py +211 -206
- pulumi_digitalocean/database_replica.py +199 -198
- pulumi_digitalocean/database_user.py +93 -92
- pulumi_digitalocean/database_valkey_config.py +776 -0
- pulumi_digitalocean/dns_record.py +184 -183
- pulumi_digitalocean/domain.py +55 -54
- pulumi_digitalocean/droplet.py +403 -402
- pulumi_digitalocean/droplet_autoscale.py +55 -54
- pulumi_digitalocean/droplet_snapshot.py +73 -72
- pulumi_digitalocean/firewall.py +80 -79
- pulumi_digitalocean/floating_ip.py +63 -62
- pulumi_digitalocean/floating_ip_assignment.py +37 -36
- pulumi_digitalocean/genai_agent.py +1903 -0
- pulumi_digitalocean/genai_agent_knowledge_base_attachment.py +198 -0
- pulumi_digitalocean/genai_agent_route.py +354 -0
- pulumi_digitalocean/genai_function.py +464 -0
- pulumi_digitalocean/genai_indexing_job_cancel.py +542 -0
- pulumi_digitalocean/genai_knowledge_base.py +627 -0
- pulumi_digitalocean/genai_knowledge_base_data_source.py +220 -0
- pulumi_digitalocean/genai_openai_api_key.py +386 -0
- pulumi_digitalocean/get_account.py +18 -18
- pulumi_digitalocean/get_app.py +28 -28
- pulumi_digitalocean/get_byoip_prefix.py +214 -0
- pulumi_digitalocean/get_byoip_prefix_resources.py +150 -0
- pulumi_digitalocean/get_certificate.py +22 -22
- pulumi_digitalocean/get_container_registries.py +151 -0
- pulumi_digitalocean/get_container_registry.py +22 -22
- pulumi_digitalocean/get_database_ca.py +12 -12
- pulumi_digitalocean/get_database_cluster.py +76 -62
- pulumi_digitalocean/get_database_connection_pool.py +36 -36
- pulumi_digitalocean/get_database_metrics_credentials.py +120 -0
- pulumi_digitalocean/get_database_replica.py +46 -46
- pulumi_digitalocean/get_database_user.py +27 -27
- pulumi_digitalocean/get_domain.py +16 -16
- pulumi_digitalocean/get_domains.py +7 -7
- pulumi_digitalocean/get_droplet.py +72 -72
- pulumi_digitalocean/get_droplet_autoscale.py +23 -23
- pulumi_digitalocean/get_droplet_snapshot.py +38 -38
- pulumi_digitalocean/get_droplets.py +13 -13
- pulumi_digitalocean/get_firewall.py +31 -31
- pulumi_digitalocean/get_floating_ip.py +16 -16
- pulumi_digitalocean/get_genai_agent.py +572 -0
- pulumi_digitalocean/get_genai_agent_versions.py +128 -0
- pulumi_digitalocean/get_genai_agents.py +128 -0
- pulumi_digitalocean/get_genai_agents_by_openai_api_key.py +97 -0
- pulumi_digitalocean/get_genai_indexing_job.py +239 -0
- pulumi_digitalocean/get_genai_indexing_job_data_sources.py +97 -0
- pulumi_digitalocean/get_genai_knowledge_base.py +259 -0
- pulumi_digitalocean/get_genai_knowledge_base_data_sources.py +97 -0
- pulumi_digitalocean/get_genai_knowledge_base_indexing_jobs.py +108 -0
- pulumi_digitalocean/get_genai_knowledge_bases.py +113 -0
- pulumi_digitalocean/get_genai_models.py +113 -0
- pulumi_digitalocean/get_genai_openai_api_key.py +152 -0
- pulumi_digitalocean/get_genai_openai_api_keys.py +113 -0
- pulumi_digitalocean/get_genai_regions.py +113 -0
- pulumi_digitalocean/get_image.py +50 -50
- pulumi_digitalocean/get_images.py +7 -7
- pulumi_digitalocean/get_kubernetes_cluster.py +144 -53
- pulumi_digitalocean/get_kubernetes_versions.py +14 -14
- pulumi_digitalocean/get_load_balancer.py +70 -59
- pulumi_digitalocean/get_nfs.py +205 -0
- pulumi_digitalocean/get_nfs_snapshot.py +188 -0
- pulumi_digitalocean/get_partner_attachment.py +206 -0
- pulumi_digitalocean/get_partner_attachment_service_key.py +118 -0
- pulumi_digitalocean/get_project.py +32 -32
- pulumi_digitalocean/get_projects.py +7 -7
- pulumi_digitalocean/get_record.py +32 -32
- pulumi_digitalocean/get_records.py +13 -13
- pulumi_digitalocean/get_region.py +18 -18
- pulumi_digitalocean/get_regions.py +7 -7
- pulumi_digitalocean/get_reserved_ip.py +16 -16
- pulumi_digitalocean/get_reserved_ipv6.py +51 -16
- pulumi_digitalocean/get_sizes.py +141 -7
- pulumi_digitalocean/get_spaces_bucket.py +22 -22
- pulumi_digitalocean/get_spaces_bucket_object.py +58 -58
- pulumi_digitalocean/get_spaces_bucket_objects.py +46 -46
- pulumi_digitalocean/get_spaces_buckets.py +7 -7
- pulumi_digitalocean/get_spaces_key.py +157 -0
- pulumi_digitalocean/get_ssh_key.py +14 -14
- pulumi_digitalocean/get_ssh_keys.py +7 -7
- pulumi_digitalocean/get_tag.py +22 -22
- pulumi_digitalocean/get_tags.py +7 -7
- pulumi_digitalocean/get_volume.py +34 -34
- pulumi_digitalocean/get_volume_snapshot.py +40 -40
- pulumi_digitalocean/get_vpc.py +30 -30
- pulumi_digitalocean/get_vpc_nat_gateway.py +263 -0
- pulumi_digitalocean/get_vpc_peering.py +24 -24
- pulumi_digitalocean/kubernetes_cluster.py +572 -303
- pulumi_digitalocean/kubernetes_node_pool.py +170 -169
- pulumi_digitalocean/load_balancer.py +406 -372
- pulumi_digitalocean/monitor_alert.py +153 -156
- pulumi_digitalocean/nfs.py +481 -0
- pulumi_digitalocean/nfs_attachment.py +289 -0
- pulumi_digitalocean/nfs_snapshot.py +379 -0
- pulumi_digitalocean/outputs.py +26759 -7592
- pulumi_digitalocean/partner_attachment.py +555 -0
- pulumi_digitalocean/project.py +141 -140
- pulumi_digitalocean/project_resources.py +37 -36
- pulumi_digitalocean/provider.py +105 -84
- pulumi_digitalocean/pulumi-plugin.json +1 -1
- pulumi_digitalocean/reserved_ip.py +63 -62
- pulumi_digitalocean/reserved_ip_assignment.py +37 -36
- pulumi_digitalocean/reserved_ipv6.py +122 -62
- pulumi_digitalocean/reserved_ipv6_assignment.py +81 -30
- pulumi_digitalocean/spaces_bucket.py +107 -106
- pulumi_digitalocean/spaces_bucket_cors_configuration.py +40 -39
- pulumi_digitalocean/spaces_bucket_logging.py +346 -0
- pulumi_digitalocean/spaces_bucket_object.py +284 -283
- pulumi_digitalocean/spaces_bucket_policy.py +54 -53
- pulumi_digitalocean/spaces_key.py +388 -0
- pulumi_digitalocean/ssh_key.py +46 -45
- pulumi_digitalocean/tag.py +74 -73
- pulumi_digitalocean/uptime_alert.py +112 -111
- pulumi_digitalocean/uptime_check.py +90 -89
- pulumi_digitalocean/volume.py +183 -182
- pulumi_digitalocean/volume_attachment.py +37 -36
- pulumi_digitalocean/volume_snapshot.py +90 -89
- pulumi_digitalocean/vpc.py +100 -99
- pulumi_digitalocean/vpc_nat_gateway.py +722 -0
- pulumi_digitalocean/vpc_peering.py +55 -58
- {pulumi_digitalocean-4.40.0a1739511652.dist-info → pulumi_digitalocean-4.56.0a1766428645.dist-info}/METADATA +4 -4
- pulumi_digitalocean-4.56.0a1766428645.dist-info/RECORD +154 -0
- {pulumi_digitalocean-4.40.0a1739511652.dist-info → pulumi_digitalocean-4.56.0a1766428645.dist-info}/WHEEL +1 -1
- pulumi_digitalocean-4.40.0a1739511652.dist-info/RECORD +0 -108
- {pulumi_digitalocean-4.40.0a1739511652.dist-info → pulumi_digitalocean-4.56.0a1766428645.dist-info}/top_level.txt +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import
|
|
5
|
+
import builtins as _builtins
|
|
6
6
|
import warnings
|
|
7
7
|
import sys
|
|
8
8
|
import pulumi
|
|
@@ -19,20 +19,20 @@ __all__ = ['DatabaseMongodbConfigArgs', 'DatabaseMongodbConfig']
|
|
|
19
19
|
@pulumi.input_type
|
|
20
20
|
class DatabaseMongodbConfigArgs:
|
|
21
21
|
def __init__(__self__, *,
|
|
22
|
-
cluster_id: pulumi.Input[str],
|
|
23
|
-
default_read_concern: Optional[pulumi.Input[str]] = None,
|
|
24
|
-
default_write_concern: Optional[pulumi.Input[str]] = None,
|
|
25
|
-
slow_op_threshold_ms: Optional[pulumi.Input[int]] = None,
|
|
26
|
-
transaction_lifetime_limit_seconds: Optional[pulumi.Input[int]] = None,
|
|
27
|
-
verbosity: Optional[pulumi.Input[int]] = None):
|
|
22
|
+
cluster_id: pulumi.Input[_builtins.str],
|
|
23
|
+
default_read_concern: Optional[pulumi.Input[_builtins.str]] = None,
|
|
24
|
+
default_write_concern: Optional[pulumi.Input[_builtins.str]] = None,
|
|
25
|
+
slow_op_threshold_ms: Optional[pulumi.Input[_builtins.int]] = None,
|
|
26
|
+
transaction_lifetime_limit_seconds: Optional[pulumi.Input[_builtins.int]] = None,
|
|
27
|
+
verbosity: Optional[pulumi.Input[_builtins.int]] = None):
|
|
28
28
|
"""
|
|
29
29
|
The set of arguments for constructing a DatabaseMongodbConfig resource.
|
|
30
|
-
:param pulumi.Input[str] cluster_id: The ID of the target MongoDB cluster.
|
|
31
|
-
:param pulumi.Input[str] default_read_concern: Specifies the default consistency behavior of reads from the database. Data that is returned from the query with may or may not have been acknowledged by all nodes in the replicaset depending on this value. Learn more [here](https://www.mongodb.com/docs/manual/reference/read-concern/).
|
|
32
|
-
:param pulumi.Input[str] default_write_concern: Describes the level of acknowledgment requested from MongoDB for write operations clusters. This field can set to either `majority` or a number`0...n` which will describe the number of nodes that must acknowledge the write operation before it is fully accepted. Setting to `0` will request no acknowledgement of the write operation. Learn more [here](https://www.mongodb.com/docs/manual/reference/write-concern/).
|
|
33
|
-
:param pulumi.Input[int] slow_op_threshold_ms: Operations that run for longer than this threshold are considered slow which are then recorded to the diagnostic logs. Higher log levels (verbosity) will record all operations regardless of this threshold on the primary node. <em>Changing this parameter will lead to a restart of the MongoDB service.</em> Learn more [here](https://www.mongodb.com/docs/manual/reference/configuration-options/#mongodb-setting-operationProfiling.slowOpThresholdMs).
|
|
34
|
-
:param pulumi.Input[int] transaction_lifetime_limit_seconds: Specifies the lifetime of multi-document transactions. Transactions that exceed this limit are considered expired and will be aborted by a periodic cleanup process. The cleanup process runs every `transactionLifetimeLimitSeconds/2 seconds` or at least once every 60 seconds. <em>Changing this parameter will lead to a restart of the MongoDB service.</em> Learn more [here](https://www.mongodb.com/docs/manual/reference/parameters/#mongodb-parameter-param.transactionLifetimeLimitSeconds).
|
|
35
|
-
:param pulumi.Input[int] verbosity: The log message verbosity level. The verbosity level determines the amount of Informational and Debug messages MongoDB outputs. 0 includes informational messages while 1...5 increases the level to include debug messages. <em>Changing this parameter will lead to a restart of the MongoDB service.</em> Learn more [here](https://www.mongodb.com/docs/manual/reference/configuration-options/#mongodb-setting-systemLog.verbosity).
|
|
30
|
+
:param pulumi.Input[_builtins.str] cluster_id: The ID of the target MongoDB cluster.
|
|
31
|
+
:param pulumi.Input[_builtins.str] default_read_concern: Specifies the default consistency behavior of reads from the database. Data that is returned from the query with may or may not have been acknowledged by all nodes in the replicaset depending on this value. Learn more [here](https://www.mongodb.com/docs/manual/reference/read-concern/).
|
|
32
|
+
:param pulumi.Input[_builtins.str] default_write_concern: Describes the level of acknowledgment requested from MongoDB for write operations clusters. This field can set to either `majority` or a number`0...n` which will describe the number of nodes that must acknowledge the write operation before it is fully accepted. Setting to `0` will request no acknowledgement of the write operation. Learn more [here](https://www.mongodb.com/docs/manual/reference/write-concern/).
|
|
33
|
+
:param pulumi.Input[_builtins.int] slow_op_threshold_ms: Operations that run for longer than this threshold are considered slow which are then recorded to the diagnostic logs. Higher log levels (verbosity) will record all operations regardless of this threshold on the primary node. <em>Changing this parameter will lead to a restart of the MongoDB service.</em> Learn more [here](https://www.mongodb.com/docs/manual/reference/configuration-options/#mongodb-setting-operationProfiling.slowOpThresholdMs).
|
|
34
|
+
:param pulumi.Input[_builtins.int] transaction_lifetime_limit_seconds: Specifies the lifetime of multi-document transactions. Transactions that exceed this limit are considered expired and will be aborted by a periodic cleanup process. The cleanup process runs every `transactionLifetimeLimitSeconds/2 seconds` or at least once every 60 seconds. <em>Changing this parameter will lead to a restart of the MongoDB service.</em> Learn more [here](https://www.mongodb.com/docs/manual/reference/parameters/#mongodb-parameter-param.transactionLifetimeLimitSeconds).
|
|
35
|
+
:param pulumi.Input[_builtins.int] verbosity: The log message verbosity level. The verbosity level determines the amount of Informational and Debug messages MongoDB outputs. 0 includes informational messages while 1...5 increases the level to include debug messages. <em>Changing this parameter will lead to a restart of the MongoDB service.</em> Learn more [here](https://www.mongodb.com/docs/manual/reference/configuration-options/#mongodb-setting-systemLog.verbosity).
|
|
36
36
|
"""
|
|
37
37
|
pulumi.set(__self__, "cluster_id", cluster_id)
|
|
38
38
|
if default_read_concern is not None:
|
|
@@ -46,96 +46,96 @@ class DatabaseMongodbConfigArgs:
|
|
|
46
46
|
if verbosity is not None:
|
|
47
47
|
pulumi.set(__self__, "verbosity", verbosity)
|
|
48
48
|
|
|
49
|
-
@property
|
|
49
|
+
@_builtins.property
|
|
50
50
|
@pulumi.getter(name="clusterId")
|
|
51
|
-
def cluster_id(self) -> pulumi.Input[str]:
|
|
51
|
+
def cluster_id(self) -> pulumi.Input[_builtins.str]:
|
|
52
52
|
"""
|
|
53
53
|
The ID of the target MongoDB cluster.
|
|
54
54
|
"""
|
|
55
55
|
return pulumi.get(self, "cluster_id")
|
|
56
56
|
|
|
57
57
|
@cluster_id.setter
|
|
58
|
-
def cluster_id(self, value: pulumi.Input[str]):
|
|
58
|
+
def cluster_id(self, value: pulumi.Input[_builtins.str]):
|
|
59
59
|
pulumi.set(self, "cluster_id", value)
|
|
60
60
|
|
|
61
|
-
@property
|
|
61
|
+
@_builtins.property
|
|
62
62
|
@pulumi.getter(name="defaultReadConcern")
|
|
63
|
-
def default_read_concern(self) -> Optional[pulumi.Input[str]]:
|
|
63
|
+
def default_read_concern(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
64
64
|
"""
|
|
65
65
|
Specifies the default consistency behavior of reads from the database. Data that is returned from the query with may or may not have been acknowledged by all nodes in the replicaset depending on this value. Learn more [here](https://www.mongodb.com/docs/manual/reference/read-concern/).
|
|
66
66
|
"""
|
|
67
67
|
return pulumi.get(self, "default_read_concern")
|
|
68
68
|
|
|
69
69
|
@default_read_concern.setter
|
|
70
|
-
def default_read_concern(self, value: Optional[pulumi.Input[str]]):
|
|
70
|
+
def default_read_concern(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
71
71
|
pulumi.set(self, "default_read_concern", value)
|
|
72
72
|
|
|
73
|
-
@property
|
|
73
|
+
@_builtins.property
|
|
74
74
|
@pulumi.getter(name="defaultWriteConcern")
|
|
75
|
-
def default_write_concern(self) -> Optional[pulumi.Input[str]]:
|
|
75
|
+
def default_write_concern(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
76
76
|
"""
|
|
77
77
|
Describes the level of acknowledgment requested from MongoDB for write operations clusters. This field can set to either `majority` or a number`0...n` which will describe the number of nodes that must acknowledge the write operation before it is fully accepted. Setting to `0` will request no acknowledgement of the write operation. Learn more [here](https://www.mongodb.com/docs/manual/reference/write-concern/).
|
|
78
78
|
"""
|
|
79
79
|
return pulumi.get(self, "default_write_concern")
|
|
80
80
|
|
|
81
81
|
@default_write_concern.setter
|
|
82
|
-
def default_write_concern(self, value: Optional[pulumi.Input[str]]):
|
|
82
|
+
def default_write_concern(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
83
83
|
pulumi.set(self, "default_write_concern", value)
|
|
84
84
|
|
|
85
|
-
@property
|
|
85
|
+
@_builtins.property
|
|
86
86
|
@pulumi.getter(name="slowOpThresholdMs")
|
|
87
|
-
def slow_op_threshold_ms(self) -> Optional[pulumi.Input[int]]:
|
|
87
|
+
def slow_op_threshold_ms(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
88
88
|
"""
|
|
89
89
|
Operations that run for longer than this threshold are considered slow which are then recorded to the diagnostic logs. Higher log levels (verbosity) will record all operations regardless of this threshold on the primary node. <em>Changing this parameter will lead to a restart of the MongoDB service.</em> Learn more [here](https://www.mongodb.com/docs/manual/reference/configuration-options/#mongodb-setting-operationProfiling.slowOpThresholdMs).
|
|
90
90
|
"""
|
|
91
91
|
return pulumi.get(self, "slow_op_threshold_ms")
|
|
92
92
|
|
|
93
93
|
@slow_op_threshold_ms.setter
|
|
94
|
-
def slow_op_threshold_ms(self, value: Optional[pulumi.Input[int]]):
|
|
94
|
+
def slow_op_threshold_ms(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
95
95
|
pulumi.set(self, "slow_op_threshold_ms", value)
|
|
96
96
|
|
|
97
|
-
@property
|
|
97
|
+
@_builtins.property
|
|
98
98
|
@pulumi.getter(name="transactionLifetimeLimitSeconds")
|
|
99
|
-
def transaction_lifetime_limit_seconds(self) -> Optional[pulumi.Input[int]]:
|
|
99
|
+
def transaction_lifetime_limit_seconds(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
100
100
|
"""
|
|
101
101
|
Specifies the lifetime of multi-document transactions. Transactions that exceed this limit are considered expired and will be aborted by a periodic cleanup process. The cleanup process runs every `transactionLifetimeLimitSeconds/2 seconds` or at least once every 60 seconds. <em>Changing this parameter will lead to a restart of the MongoDB service.</em> Learn more [here](https://www.mongodb.com/docs/manual/reference/parameters/#mongodb-parameter-param.transactionLifetimeLimitSeconds).
|
|
102
102
|
"""
|
|
103
103
|
return pulumi.get(self, "transaction_lifetime_limit_seconds")
|
|
104
104
|
|
|
105
105
|
@transaction_lifetime_limit_seconds.setter
|
|
106
|
-
def transaction_lifetime_limit_seconds(self, value: Optional[pulumi.Input[int]]):
|
|
106
|
+
def transaction_lifetime_limit_seconds(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
107
107
|
pulumi.set(self, "transaction_lifetime_limit_seconds", value)
|
|
108
108
|
|
|
109
|
-
@property
|
|
109
|
+
@_builtins.property
|
|
110
110
|
@pulumi.getter
|
|
111
|
-
def verbosity(self) -> Optional[pulumi.Input[int]]:
|
|
111
|
+
def verbosity(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
112
112
|
"""
|
|
113
113
|
The log message verbosity level. The verbosity level determines the amount of Informational and Debug messages MongoDB outputs. 0 includes informational messages while 1...5 increases the level to include debug messages. <em>Changing this parameter will lead to a restart of the MongoDB service.</em> Learn more [here](https://www.mongodb.com/docs/manual/reference/configuration-options/#mongodb-setting-systemLog.verbosity).
|
|
114
114
|
"""
|
|
115
115
|
return pulumi.get(self, "verbosity")
|
|
116
116
|
|
|
117
117
|
@verbosity.setter
|
|
118
|
-
def verbosity(self, value: Optional[pulumi.Input[int]]):
|
|
118
|
+
def verbosity(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
119
119
|
pulumi.set(self, "verbosity", value)
|
|
120
120
|
|
|
121
121
|
|
|
122
122
|
@pulumi.input_type
|
|
123
123
|
class _DatabaseMongodbConfigState:
|
|
124
124
|
def __init__(__self__, *,
|
|
125
|
-
cluster_id: Optional[pulumi.Input[str]] = None,
|
|
126
|
-
default_read_concern: Optional[pulumi.Input[str]] = None,
|
|
127
|
-
default_write_concern: Optional[pulumi.Input[str]] = None,
|
|
128
|
-
slow_op_threshold_ms: Optional[pulumi.Input[int]] = None,
|
|
129
|
-
transaction_lifetime_limit_seconds: Optional[pulumi.Input[int]] = None,
|
|
130
|
-
verbosity: Optional[pulumi.Input[int]] = None):
|
|
125
|
+
cluster_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
126
|
+
default_read_concern: Optional[pulumi.Input[_builtins.str]] = None,
|
|
127
|
+
default_write_concern: Optional[pulumi.Input[_builtins.str]] = None,
|
|
128
|
+
slow_op_threshold_ms: Optional[pulumi.Input[_builtins.int]] = None,
|
|
129
|
+
transaction_lifetime_limit_seconds: Optional[pulumi.Input[_builtins.int]] = None,
|
|
130
|
+
verbosity: Optional[pulumi.Input[_builtins.int]] = None):
|
|
131
131
|
"""
|
|
132
132
|
Input properties used for looking up and filtering DatabaseMongodbConfig resources.
|
|
133
|
-
:param pulumi.Input[str] cluster_id: The ID of the target MongoDB cluster.
|
|
134
|
-
:param pulumi.Input[str] default_read_concern: Specifies the default consistency behavior of reads from the database. Data that is returned from the query with may or may not have been acknowledged by all nodes in the replicaset depending on this value. Learn more [here](https://www.mongodb.com/docs/manual/reference/read-concern/).
|
|
135
|
-
:param pulumi.Input[str] default_write_concern: Describes the level of acknowledgment requested from MongoDB for write operations clusters. This field can set to either `majority` or a number`0...n` which will describe the number of nodes that must acknowledge the write operation before it is fully accepted. Setting to `0` will request no acknowledgement of the write operation. Learn more [here](https://www.mongodb.com/docs/manual/reference/write-concern/).
|
|
136
|
-
:param pulumi.Input[int] slow_op_threshold_ms: Operations that run for longer than this threshold are considered slow which are then recorded to the diagnostic logs. Higher log levels (verbosity) will record all operations regardless of this threshold on the primary node. <em>Changing this parameter will lead to a restart of the MongoDB service.</em> Learn more [here](https://www.mongodb.com/docs/manual/reference/configuration-options/#mongodb-setting-operationProfiling.slowOpThresholdMs).
|
|
137
|
-
:param pulumi.Input[int] transaction_lifetime_limit_seconds: Specifies the lifetime of multi-document transactions. Transactions that exceed this limit are considered expired and will be aborted by a periodic cleanup process. The cleanup process runs every `transactionLifetimeLimitSeconds/2 seconds` or at least once every 60 seconds. <em>Changing this parameter will lead to a restart of the MongoDB service.</em> Learn more [here](https://www.mongodb.com/docs/manual/reference/parameters/#mongodb-parameter-param.transactionLifetimeLimitSeconds).
|
|
138
|
-
:param pulumi.Input[int] verbosity: The log message verbosity level. The verbosity level determines the amount of Informational and Debug messages MongoDB outputs. 0 includes informational messages while 1...5 increases the level to include debug messages. <em>Changing this parameter will lead to a restart of the MongoDB service.</em> Learn more [here](https://www.mongodb.com/docs/manual/reference/configuration-options/#mongodb-setting-systemLog.verbosity).
|
|
133
|
+
:param pulumi.Input[_builtins.str] cluster_id: The ID of the target MongoDB cluster.
|
|
134
|
+
:param pulumi.Input[_builtins.str] default_read_concern: Specifies the default consistency behavior of reads from the database. Data that is returned from the query with may or may not have been acknowledged by all nodes in the replicaset depending on this value. Learn more [here](https://www.mongodb.com/docs/manual/reference/read-concern/).
|
|
135
|
+
:param pulumi.Input[_builtins.str] default_write_concern: Describes the level of acknowledgment requested from MongoDB for write operations clusters. This field can set to either `majority` or a number`0...n` which will describe the number of nodes that must acknowledge the write operation before it is fully accepted. Setting to `0` will request no acknowledgement of the write operation. Learn more [here](https://www.mongodb.com/docs/manual/reference/write-concern/).
|
|
136
|
+
:param pulumi.Input[_builtins.int] slow_op_threshold_ms: Operations that run for longer than this threshold are considered slow which are then recorded to the diagnostic logs. Higher log levels (verbosity) will record all operations regardless of this threshold on the primary node. <em>Changing this parameter will lead to a restart of the MongoDB service.</em> Learn more [here](https://www.mongodb.com/docs/manual/reference/configuration-options/#mongodb-setting-operationProfiling.slowOpThresholdMs).
|
|
137
|
+
:param pulumi.Input[_builtins.int] transaction_lifetime_limit_seconds: Specifies the lifetime of multi-document transactions. Transactions that exceed this limit are considered expired and will be aborted by a periodic cleanup process. The cleanup process runs every `transactionLifetimeLimitSeconds/2 seconds` or at least once every 60 seconds. <em>Changing this parameter will lead to a restart of the MongoDB service.</em> Learn more [here](https://www.mongodb.com/docs/manual/reference/parameters/#mongodb-parameter-param.transactionLifetimeLimitSeconds).
|
|
138
|
+
:param pulumi.Input[_builtins.int] verbosity: The log message verbosity level. The verbosity level determines the amount of Informational and Debug messages MongoDB outputs. 0 includes informational messages while 1...5 increases the level to include debug messages. <em>Changing this parameter will lead to a restart of the MongoDB service.</em> Learn more [here](https://www.mongodb.com/docs/manual/reference/configuration-options/#mongodb-setting-systemLog.verbosity).
|
|
139
139
|
"""
|
|
140
140
|
if cluster_id is not None:
|
|
141
141
|
pulumi.set(__self__, "cluster_id", cluster_id)
|
|
@@ -150,90 +150,91 @@ class _DatabaseMongodbConfigState:
|
|
|
150
150
|
if verbosity is not None:
|
|
151
151
|
pulumi.set(__self__, "verbosity", verbosity)
|
|
152
152
|
|
|
153
|
-
@property
|
|
153
|
+
@_builtins.property
|
|
154
154
|
@pulumi.getter(name="clusterId")
|
|
155
|
-
def cluster_id(self) -> Optional[pulumi.Input[str]]:
|
|
155
|
+
def cluster_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
156
156
|
"""
|
|
157
157
|
The ID of the target MongoDB cluster.
|
|
158
158
|
"""
|
|
159
159
|
return pulumi.get(self, "cluster_id")
|
|
160
160
|
|
|
161
161
|
@cluster_id.setter
|
|
162
|
-
def cluster_id(self, value: Optional[pulumi.Input[str]]):
|
|
162
|
+
def cluster_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
163
163
|
pulumi.set(self, "cluster_id", value)
|
|
164
164
|
|
|
165
|
-
@property
|
|
165
|
+
@_builtins.property
|
|
166
166
|
@pulumi.getter(name="defaultReadConcern")
|
|
167
|
-
def default_read_concern(self) -> Optional[pulumi.Input[str]]:
|
|
167
|
+
def default_read_concern(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
168
168
|
"""
|
|
169
169
|
Specifies the default consistency behavior of reads from the database. Data that is returned from the query with may or may not have been acknowledged by all nodes in the replicaset depending on this value. Learn more [here](https://www.mongodb.com/docs/manual/reference/read-concern/).
|
|
170
170
|
"""
|
|
171
171
|
return pulumi.get(self, "default_read_concern")
|
|
172
172
|
|
|
173
173
|
@default_read_concern.setter
|
|
174
|
-
def default_read_concern(self, value: Optional[pulumi.Input[str]]):
|
|
174
|
+
def default_read_concern(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
175
175
|
pulumi.set(self, "default_read_concern", value)
|
|
176
176
|
|
|
177
|
-
@property
|
|
177
|
+
@_builtins.property
|
|
178
178
|
@pulumi.getter(name="defaultWriteConcern")
|
|
179
|
-
def default_write_concern(self) -> Optional[pulumi.Input[str]]:
|
|
179
|
+
def default_write_concern(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
180
180
|
"""
|
|
181
181
|
Describes the level of acknowledgment requested from MongoDB for write operations clusters. This field can set to either `majority` or a number`0...n` which will describe the number of nodes that must acknowledge the write operation before it is fully accepted. Setting to `0` will request no acknowledgement of the write operation. Learn more [here](https://www.mongodb.com/docs/manual/reference/write-concern/).
|
|
182
182
|
"""
|
|
183
183
|
return pulumi.get(self, "default_write_concern")
|
|
184
184
|
|
|
185
185
|
@default_write_concern.setter
|
|
186
|
-
def default_write_concern(self, value: Optional[pulumi.Input[str]]):
|
|
186
|
+
def default_write_concern(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
187
187
|
pulumi.set(self, "default_write_concern", value)
|
|
188
188
|
|
|
189
|
-
@property
|
|
189
|
+
@_builtins.property
|
|
190
190
|
@pulumi.getter(name="slowOpThresholdMs")
|
|
191
|
-
def slow_op_threshold_ms(self) -> Optional[pulumi.Input[int]]:
|
|
191
|
+
def slow_op_threshold_ms(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
192
192
|
"""
|
|
193
193
|
Operations that run for longer than this threshold are considered slow which are then recorded to the diagnostic logs. Higher log levels (verbosity) will record all operations regardless of this threshold on the primary node. <em>Changing this parameter will lead to a restart of the MongoDB service.</em> Learn more [here](https://www.mongodb.com/docs/manual/reference/configuration-options/#mongodb-setting-operationProfiling.slowOpThresholdMs).
|
|
194
194
|
"""
|
|
195
195
|
return pulumi.get(self, "slow_op_threshold_ms")
|
|
196
196
|
|
|
197
197
|
@slow_op_threshold_ms.setter
|
|
198
|
-
def slow_op_threshold_ms(self, value: Optional[pulumi.Input[int]]):
|
|
198
|
+
def slow_op_threshold_ms(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
199
199
|
pulumi.set(self, "slow_op_threshold_ms", value)
|
|
200
200
|
|
|
201
|
-
@property
|
|
201
|
+
@_builtins.property
|
|
202
202
|
@pulumi.getter(name="transactionLifetimeLimitSeconds")
|
|
203
|
-
def transaction_lifetime_limit_seconds(self) -> Optional[pulumi.Input[int]]:
|
|
203
|
+
def transaction_lifetime_limit_seconds(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
204
204
|
"""
|
|
205
205
|
Specifies the lifetime of multi-document transactions. Transactions that exceed this limit are considered expired and will be aborted by a periodic cleanup process. The cleanup process runs every `transactionLifetimeLimitSeconds/2 seconds` or at least once every 60 seconds. <em>Changing this parameter will lead to a restart of the MongoDB service.</em> Learn more [here](https://www.mongodb.com/docs/manual/reference/parameters/#mongodb-parameter-param.transactionLifetimeLimitSeconds).
|
|
206
206
|
"""
|
|
207
207
|
return pulumi.get(self, "transaction_lifetime_limit_seconds")
|
|
208
208
|
|
|
209
209
|
@transaction_lifetime_limit_seconds.setter
|
|
210
|
-
def transaction_lifetime_limit_seconds(self, value: Optional[pulumi.Input[int]]):
|
|
210
|
+
def transaction_lifetime_limit_seconds(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
211
211
|
pulumi.set(self, "transaction_lifetime_limit_seconds", value)
|
|
212
212
|
|
|
213
|
-
@property
|
|
213
|
+
@_builtins.property
|
|
214
214
|
@pulumi.getter
|
|
215
|
-
def verbosity(self) -> Optional[pulumi.Input[int]]:
|
|
215
|
+
def verbosity(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
216
216
|
"""
|
|
217
217
|
The log message verbosity level. The verbosity level determines the amount of Informational and Debug messages MongoDB outputs. 0 includes informational messages while 1...5 increases the level to include debug messages. <em>Changing this parameter will lead to a restart of the MongoDB service.</em> Learn more [here](https://www.mongodb.com/docs/manual/reference/configuration-options/#mongodb-setting-systemLog.verbosity).
|
|
218
218
|
"""
|
|
219
219
|
return pulumi.get(self, "verbosity")
|
|
220
220
|
|
|
221
221
|
@verbosity.setter
|
|
222
|
-
def verbosity(self, value: Optional[pulumi.Input[int]]):
|
|
222
|
+
def verbosity(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
223
223
|
pulumi.set(self, "verbosity", value)
|
|
224
224
|
|
|
225
225
|
|
|
226
|
+
@pulumi.type_token("digitalocean:index/databaseMongodbConfig:DatabaseMongodbConfig")
|
|
226
227
|
class DatabaseMongodbConfig(pulumi.CustomResource):
|
|
227
228
|
@overload
|
|
228
229
|
def __init__(__self__,
|
|
229
230
|
resource_name: str,
|
|
230
231
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
231
|
-
cluster_id: Optional[pulumi.Input[str]] = None,
|
|
232
|
-
default_read_concern: Optional[pulumi.Input[str]] = None,
|
|
233
|
-
default_write_concern: Optional[pulumi.Input[str]] = None,
|
|
234
|
-
slow_op_threshold_ms: Optional[pulumi.Input[int]] = None,
|
|
235
|
-
transaction_lifetime_limit_seconds: Optional[pulumi.Input[int]] = None,
|
|
236
|
-
verbosity: Optional[pulumi.Input[int]] = None,
|
|
232
|
+
cluster_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
233
|
+
default_read_concern: Optional[pulumi.Input[_builtins.str]] = None,
|
|
234
|
+
default_write_concern: Optional[pulumi.Input[_builtins.str]] = None,
|
|
235
|
+
slow_op_threshold_ms: Optional[pulumi.Input[_builtins.int]] = None,
|
|
236
|
+
transaction_lifetime_limit_seconds: Optional[pulumi.Input[_builtins.int]] = None,
|
|
237
|
+
verbosity: Optional[pulumi.Input[_builtins.int]] = None,
|
|
237
238
|
__props__=None):
|
|
238
239
|
"""
|
|
239
240
|
Provides a virtual resource that can be used to change advanced configuration
|
|
@@ -273,12 +274,12 @@ class DatabaseMongodbConfig(pulumi.CustomResource):
|
|
|
273
274
|
|
|
274
275
|
:param str resource_name: The name of the resource.
|
|
275
276
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
276
|
-
:param pulumi.Input[str] cluster_id: The ID of the target MongoDB cluster.
|
|
277
|
-
:param pulumi.Input[str] default_read_concern: Specifies the default consistency behavior of reads from the database. Data that is returned from the query with may or may not have been acknowledged by all nodes in the replicaset depending on this value. Learn more [here](https://www.mongodb.com/docs/manual/reference/read-concern/).
|
|
278
|
-
:param pulumi.Input[str] default_write_concern: Describes the level of acknowledgment requested from MongoDB for write operations clusters. This field can set to either `majority` or a number`0...n` which will describe the number of nodes that must acknowledge the write operation before it is fully accepted. Setting to `0` will request no acknowledgement of the write operation. Learn more [here](https://www.mongodb.com/docs/manual/reference/write-concern/).
|
|
279
|
-
:param pulumi.Input[int] slow_op_threshold_ms: Operations that run for longer than this threshold are considered slow which are then recorded to the diagnostic logs. Higher log levels (verbosity) will record all operations regardless of this threshold on the primary node. <em>Changing this parameter will lead to a restart of the MongoDB service.</em> Learn more [here](https://www.mongodb.com/docs/manual/reference/configuration-options/#mongodb-setting-operationProfiling.slowOpThresholdMs).
|
|
280
|
-
:param pulumi.Input[int] transaction_lifetime_limit_seconds: Specifies the lifetime of multi-document transactions. Transactions that exceed this limit are considered expired and will be aborted by a periodic cleanup process. The cleanup process runs every `transactionLifetimeLimitSeconds/2 seconds` or at least once every 60 seconds. <em>Changing this parameter will lead to a restart of the MongoDB service.</em> Learn more [here](https://www.mongodb.com/docs/manual/reference/parameters/#mongodb-parameter-param.transactionLifetimeLimitSeconds).
|
|
281
|
-
:param pulumi.Input[int] verbosity: The log message verbosity level. The verbosity level determines the amount of Informational and Debug messages MongoDB outputs. 0 includes informational messages while 1...5 increases the level to include debug messages. <em>Changing this parameter will lead to a restart of the MongoDB service.</em> Learn more [here](https://www.mongodb.com/docs/manual/reference/configuration-options/#mongodb-setting-systemLog.verbosity).
|
|
277
|
+
:param pulumi.Input[_builtins.str] cluster_id: The ID of the target MongoDB cluster.
|
|
278
|
+
:param pulumi.Input[_builtins.str] default_read_concern: Specifies the default consistency behavior of reads from the database. Data that is returned from the query with may or may not have been acknowledged by all nodes in the replicaset depending on this value. Learn more [here](https://www.mongodb.com/docs/manual/reference/read-concern/).
|
|
279
|
+
:param pulumi.Input[_builtins.str] default_write_concern: Describes the level of acknowledgment requested from MongoDB for write operations clusters. This field can set to either `majority` or a number`0...n` which will describe the number of nodes that must acknowledge the write operation before it is fully accepted. Setting to `0` will request no acknowledgement of the write operation. Learn more [here](https://www.mongodb.com/docs/manual/reference/write-concern/).
|
|
280
|
+
:param pulumi.Input[_builtins.int] slow_op_threshold_ms: Operations that run for longer than this threshold are considered slow which are then recorded to the diagnostic logs. Higher log levels (verbosity) will record all operations regardless of this threshold on the primary node. <em>Changing this parameter will lead to a restart of the MongoDB service.</em> Learn more [here](https://www.mongodb.com/docs/manual/reference/configuration-options/#mongodb-setting-operationProfiling.slowOpThresholdMs).
|
|
281
|
+
:param pulumi.Input[_builtins.int] transaction_lifetime_limit_seconds: Specifies the lifetime of multi-document transactions. Transactions that exceed this limit are considered expired and will be aborted by a periodic cleanup process. The cleanup process runs every `transactionLifetimeLimitSeconds/2 seconds` or at least once every 60 seconds. <em>Changing this parameter will lead to a restart of the MongoDB service.</em> Learn more [here](https://www.mongodb.com/docs/manual/reference/parameters/#mongodb-parameter-param.transactionLifetimeLimitSeconds).
|
|
282
|
+
:param pulumi.Input[_builtins.int] verbosity: The log message verbosity level. The verbosity level determines the amount of Informational and Debug messages MongoDB outputs. 0 includes informational messages while 1...5 increases the level to include debug messages. <em>Changing this parameter will lead to a restart of the MongoDB service.</em> Learn more [here](https://www.mongodb.com/docs/manual/reference/configuration-options/#mongodb-setting-systemLog.verbosity).
|
|
282
283
|
"""
|
|
283
284
|
...
|
|
284
285
|
@overload
|
|
@@ -337,12 +338,12 @@ class DatabaseMongodbConfig(pulumi.CustomResource):
|
|
|
337
338
|
def _internal_init(__self__,
|
|
338
339
|
resource_name: str,
|
|
339
340
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
340
|
-
cluster_id: Optional[pulumi.Input[str]] = None,
|
|
341
|
-
default_read_concern: Optional[pulumi.Input[str]] = None,
|
|
342
|
-
default_write_concern: Optional[pulumi.Input[str]] = None,
|
|
343
|
-
slow_op_threshold_ms: Optional[pulumi.Input[int]] = None,
|
|
344
|
-
transaction_lifetime_limit_seconds: Optional[pulumi.Input[int]] = None,
|
|
345
|
-
verbosity: Optional[pulumi.Input[int]] = None,
|
|
341
|
+
cluster_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
342
|
+
default_read_concern: Optional[pulumi.Input[_builtins.str]] = None,
|
|
343
|
+
default_write_concern: Optional[pulumi.Input[_builtins.str]] = None,
|
|
344
|
+
slow_op_threshold_ms: Optional[pulumi.Input[_builtins.int]] = None,
|
|
345
|
+
transaction_lifetime_limit_seconds: Optional[pulumi.Input[_builtins.int]] = None,
|
|
346
|
+
verbosity: Optional[pulumi.Input[_builtins.int]] = None,
|
|
346
347
|
__props__=None):
|
|
347
348
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
348
349
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -370,12 +371,12 @@ class DatabaseMongodbConfig(pulumi.CustomResource):
|
|
|
370
371
|
def get(resource_name: str,
|
|
371
372
|
id: pulumi.Input[str],
|
|
372
373
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
373
|
-
cluster_id: Optional[pulumi.Input[str]] = None,
|
|
374
|
-
default_read_concern: Optional[pulumi.Input[str]] = None,
|
|
375
|
-
default_write_concern: Optional[pulumi.Input[str]] = None,
|
|
376
|
-
slow_op_threshold_ms: Optional[pulumi.Input[int]] = None,
|
|
377
|
-
transaction_lifetime_limit_seconds: Optional[pulumi.Input[int]] = None,
|
|
378
|
-
verbosity: Optional[pulumi.Input[int]] = None) -> 'DatabaseMongodbConfig':
|
|
374
|
+
cluster_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
375
|
+
default_read_concern: Optional[pulumi.Input[_builtins.str]] = None,
|
|
376
|
+
default_write_concern: Optional[pulumi.Input[_builtins.str]] = None,
|
|
377
|
+
slow_op_threshold_ms: Optional[pulumi.Input[_builtins.int]] = None,
|
|
378
|
+
transaction_lifetime_limit_seconds: Optional[pulumi.Input[_builtins.int]] = None,
|
|
379
|
+
verbosity: Optional[pulumi.Input[_builtins.int]] = None) -> 'DatabaseMongodbConfig':
|
|
379
380
|
"""
|
|
380
381
|
Get an existing DatabaseMongodbConfig resource's state with the given name, id, and optional extra
|
|
381
382
|
properties used to qualify the lookup.
|
|
@@ -383,12 +384,12 @@ class DatabaseMongodbConfig(pulumi.CustomResource):
|
|
|
383
384
|
:param str resource_name: The unique name of the resulting resource.
|
|
384
385
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
385
386
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
386
|
-
:param pulumi.Input[str] cluster_id: The ID of the target MongoDB cluster.
|
|
387
|
-
:param pulumi.Input[str] default_read_concern: Specifies the default consistency behavior of reads from the database. Data that is returned from the query with may or may not have been acknowledged by all nodes in the replicaset depending on this value. Learn more [here](https://www.mongodb.com/docs/manual/reference/read-concern/).
|
|
388
|
-
:param pulumi.Input[str] default_write_concern: Describes the level of acknowledgment requested from MongoDB for write operations clusters. This field can set to either `majority` or a number`0...n` which will describe the number of nodes that must acknowledge the write operation before it is fully accepted. Setting to `0` will request no acknowledgement of the write operation. Learn more [here](https://www.mongodb.com/docs/manual/reference/write-concern/).
|
|
389
|
-
:param pulumi.Input[int] slow_op_threshold_ms: Operations that run for longer than this threshold are considered slow which are then recorded to the diagnostic logs. Higher log levels (verbosity) will record all operations regardless of this threshold on the primary node. <em>Changing this parameter will lead to a restart of the MongoDB service.</em> Learn more [here](https://www.mongodb.com/docs/manual/reference/configuration-options/#mongodb-setting-operationProfiling.slowOpThresholdMs).
|
|
390
|
-
:param pulumi.Input[int] transaction_lifetime_limit_seconds: Specifies the lifetime of multi-document transactions. Transactions that exceed this limit are considered expired and will be aborted by a periodic cleanup process. The cleanup process runs every `transactionLifetimeLimitSeconds/2 seconds` or at least once every 60 seconds. <em>Changing this parameter will lead to a restart of the MongoDB service.</em> Learn more [here](https://www.mongodb.com/docs/manual/reference/parameters/#mongodb-parameter-param.transactionLifetimeLimitSeconds).
|
|
391
|
-
:param pulumi.Input[int] verbosity: The log message verbosity level. The verbosity level determines the amount of Informational and Debug messages MongoDB outputs. 0 includes informational messages while 1...5 increases the level to include debug messages. <em>Changing this parameter will lead to a restart of the MongoDB service.</em> Learn more [here](https://www.mongodb.com/docs/manual/reference/configuration-options/#mongodb-setting-systemLog.verbosity).
|
|
387
|
+
:param pulumi.Input[_builtins.str] cluster_id: The ID of the target MongoDB cluster.
|
|
388
|
+
:param pulumi.Input[_builtins.str] default_read_concern: Specifies the default consistency behavior of reads from the database. Data that is returned from the query with may or may not have been acknowledged by all nodes in the replicaset depending on this value. Learn more [here](https://www.mongodb.com/docs/manual/reference/read-concern/).
|
|
389
|
+
:param pulumi.Input[_builtins.str] default_write_concern: Describes the level of acknowledgment requested from MongoDB for write operations clusters. This field can set to either `majority` or a number`0...n` which will describe the number of nodes that must acknowledge the write operation before it is fully accepted. Setting to `0` will request no acknowledgement of the write operation. Learn more [here](https://www.mongodb.com/docs/manual/reference/write-concern/).
|
|
390
|
+
:param pulumi.Input[_builtins.int] slow_op_threshold_ms: Operations that run for longer than this threshold are considered slow which are then recorded to the diagnostic logs. Higher log levels (verbosity) will record all operations regardless of this threshold on the primary node. <em>Changing this parameter will lead to a restart of the MongoDB service.</em> Learn more [here](https://www.mongodb.com/docs/manual/reference/configuration-options/#mongodb-setting-operationProfiling.slowOpThresholdMs).
|
|
391
|
+
:param pulumi.Input[_builtins.int] transaction_lifetime_limit_seconds: Specifies the lifetime of multi-document transactions. Transactions that exceed this limit are considered expired and will be aborted by a periodic cleanup process. The cleanup process runs every `transactionLifetimeLimitSeconds/2 seconds` or at least once every 60 seconds. <em>Changing this parameter will lead to a restart of the MongoDB service.</em> Learn more [here](https://www.mongodb.com/docs/manual/reference/parameters/#mongodb-parameter-param.transactionLifetimeLimitSeconds).
|
|
392
|
+
:param pulumi.Input[_builtins.int] verbosity: The log message verbosity level. The verbosity level determines the amount of Informational and Debug messages MongoDB outputs. 0 includes informational messages while 1...5 increases the level to include debug messages. <em>Changing this parameter will lead to a restart of the MongoDB service.</em> Learn more [here](https://www.mongodb.com/docs/manual/reference/configuration-options/#mongodb-setting-systemLog.verbosity).
|
|
392
393
|
"""
|
|
393
394
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
394
395
|
|
|
@@ -402,49 +403,49 @@ class DatabaseMongodbConfig(pulumi.CustomResource):
|
|
|
402
403
|
__props__.__dict__["verbosity"] = verbosity
|
|
403
404
|
return DatabaseMongodbConfig(resource_name, opts=opts, __props__=__props__)
|
|
404
405
|
|
|
405
|
-
@property
|
|
406
|
+
@_builtins.property
|
|
406
407
|
@pulumi.getter(name="clusterId")
|
|
407
|
-
def cluster_id(self) -> pulumi.Output[str]:
|
|
408
|
+
def cluster_id(self) -> pulumi.Output[_builtins.str]:
|
|
408
409
|
"""
|
|
409
410
|
The ID of the target MongoDB cluster.
|
|
410
411
|
"""
|
|
411
412
|
return pulumi.get(self, "cluster_id")
|
|
412
413
|
|
|
413
|
-
@property
|
|
414
|
+
@_builtins.property
|
|
414
415
|
@pulumi.getter(name="defaultReadConcern")
|
|
415
|
-
def default_read_concern(self) -> pulumi.Output[str]:
|
|
416
|
+
def default_read_concern(self) -> pulumi.Output[_builtins.str]:
|
|
416
417
|
"""
|
|
417
418
|
Specifies the default consistency behavior of reads from the database. Data that is returned from the query with may or may not have been acknowledged by all nodes in the replicaset depending on this value. Learn more [here](https://www.mongodb.com/docs/manual/reference/read-concern/).
|
|
418
419
|
"""
|
|
419
420
|
return pulumi.get(self, "default_read_concern")
|
|
420
421
|
|
|
421
|
-
@property
|
|
422
|
+
@_builtins.property
|
|
422
423
|
@pulumi.getter(name="defaultWriteConcern")
|
|
423
|
-
def default_write_concern(self) -> pulumi.Output[str]:
|
|
424
|
+
def default_write_concern(self) -> pulumi.Output[_builtins.str]:
|
|
424
425
|
"""
|
|
425
426
|
Describes the level of acknowledgment requested from MongoDB for write operations clusters. This field can set to either `majority` or a number`0...n` which will describe the number of nodes that must acknowledge the write operation before it is fully accepted. Setting to `0` will request no acknowledgement of the write operation. Learn more [here](https://www.mongodb.com/docs/manual/reference/write-concern/).
|
|
426
427
|
"""
|
|
427
428
|
return pulumi.get(self, "default_write_concern")
|
|
428
429
|
|
|
429
|
-
@property
|
|
430
|
+
@_builtins.property
|
|
430
431
|
@pulumi.getter(name="slowOpThresholdMs")
|
|
431
|
-
def slow_op_threshold_ms(self) -> pulumi.Output[int]:
|
|
432
|
+
def slow_op_threshold_ms(self) -> pulumi.Output[_builtins.int]:
|
|
432
433
|
"""
|
|
433
434
|
Operations that run for longer than this threshold are considered slow which are then recorded to the diagnostic logs. Higher log levels (verbosity) will record all operations regardless of this threshold on the primary node. <em>Changing this parameter will lead to a restart of the MongoDB service.</em> Learn more [here](https://www.mongodb.com/docs/manual/reference/configuration-options/#mongodb-setting-operationProfiling.slowOpThresholdMs).
|
|
434
435
|
"""
|
|
435
436
|
return pulumi.get(self, "slow_op_threshold_ms")
|
|
436
437
|
|
|
437
|
-
@property
|
|
438
|
+
@_builtins.property
|
|
438
439
|
@pulumi.getter(name="transactionLifetimeLimitSeconds")
|
|
439
|
-
def transaction_lifetime_limit_seconds(self) -> pulumi.Output[int]:
|
|
440
|
+
def transaction_lifetime_limit_seconds(self) -> pulumi.Output[_builtins.int]:
|
|
440
441
|
"""
|
|
441
442
|
Specifies the lifetime of multi-document transactions. Transactions that exceed this limit are considered expired and will be aborted by a periodic cleanup process. The cleanup process runs every `transactionLifetimeLimitSeconds/2 seconds` or at least once every 60 seconds. <em>Changing this parameter will lead to a restart of the MongoDB service.</em> Learn more [here](https://www.mongodb.com/docs/manual/reference/parameters/#mongodb-parameter-param.transactionLifetimeLimitSeconds).
|
|
442
443
|
"""
|
|
443
444
|
return pulumi.get(self, "transaction_lifetime_limit_seconds")
|
|
444
445
|
|
|
445
|
-
@property
|
|
446
|
+
@_builtins.property
|
|
446
447
|
@pulumi.getter
|
|
447
|
-
def verbosity(self) -> pulumi.Output[int]:
|
|
448
|
+
def verbosity(self) -> pulumi.Output[_builtins.int]:
|
|
448
449
|
"""
|
|
449
450
|
The log message verbosity level. The verbosity level determines the amount of Informational and Debug messages MongoDB outputs. 0 includes informational messages while 1...5 increases the level to include debug messages. <em>Changing this parameter will lead to a restart of the MongoDB service.</em> Learn more [here](https://www.mongodb.com/docs/manual/reference/configuration-options/#mongodb-setting-systemLog.verbosity).
|
|
450
451
|
"""
|