pulumi-digitalocean 4.41.0a1742960094__py3-none-any.whl → 4.42.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 pulumi-digitalocean might be problematic. Click here for more details.
- pulumi_digitalocean/__init__.py +11 -0
- pulumi_digitalocean/_enums.py +10 -8
- pulumi_digitalocean/_inputs.py +2829 -2713
- pulumi_digitalocean/app.py +64 -63
- pulumi_digitalocean/cdn.py +85 -84
- pulumi_digitalocean/certificate.py +111 -110
- pulumi_digitalocean/config/__init__.py +1 -0
- pulumi_digitalocean/config/__init__.pyi +1 -0
- pulumi_digitalocean/config/vars.py +1 -0
- pulumi_digitalocean/container_registry.py +71 -70
- pulumi_digitalocean/container_registry_docker_credentials.py +57 -56
- pulumi_digitalocean/custom_image.py +141 -140
- pulumi_digitalocean/database_cluster.py +274 -273
- pulumi_digitalocean/database_connection_pool.py +127 -126
- pulumi_digitalocean/database_db.py +29 -28
- pulumi_digitalocean/database_firewall.py +15 -14
- pulumi_digitalocean/database_kafka_config.py +253 -252
- pulumi_digitalocean/database_kafka_topic.py +64 -63
- pulumi_digitalocean/database_mongodb_config.py +85 -84
- pulumi_digitalocean/database_mysql_config.py +393 -392
- pulumi_digitalocean/database_opensearch_config.py +547 -546
- pulumi_digitalocean/database_postgresql_config.py +701 -700
- pulumi_digitalocean/database_redis_config.py +169 -168
- pulumi_digitalocean/database_replica.py +158 -157
- pulumi_digitalocean/database_user.py +71 -70
- pulumi_digitalocean/dns_record.py +148 -147
- pulumi_digitalocean/domain.py +43 -42
- pulumi_digitalocean/droplet.py +312 -311
- pulumi_digitalocean/droplet_autoscale.py +36 -35
- pulumi_digitalocean/droplet_snapshot.py +57 -56
- pulumi_digitalocean/firewall.py +57 -56
- pulumi_digitalocean/floating_ip.py +50 -49
- pulumi_digitalocean/floating_ip_assignment.py +29 -28
- pulumi_digitalocean/get_account.py +9 -8
- pulumi_digitalocean/get_app.py +15 -14
- pulumi_digitalocean/get_certificate.py +13 -12
- pulumi_digitalocean/get_container_registry.py +13 -12
- pulumi_digitalocean/get_database_ca.py +8 -7
- pulumi_digitalocean/get_database_cluster.py +33 -32
- pulumi_digitalocean/get_database_connection_pool.py +22 -21
- pulumi_digitalocean/get_database_replica.py +29 -28
- pulumi_digitalocean/get_database_user.py +17 -16
- pulumi_digitalocean/get_domain.py +10 -9
- pulumi_digitalocean/get_domains.py +2 -1
- pulumi_digitalocean/get_droplet.py +44 -43
- pulumi_digitalocean/get_droplet_autoscale.py +14 -13
- pulumi_digitalocean/get_droplet_snapshot.py +27 -26
- pulumi_digitalocean/get_droplets.py +7 -6
- pulumi_digitalocean/get_firewall.py +20 -19
- pulumi_digitalocean/get_floating_ip.py +10 -9
- pulumi_digitalocean/get_image.py +33 -32
- pulumi_digitalocean/get_images.py +2 -1
- pulumi_digitalocean/get_kubernetes_cluster.py +29 -28
- pulumi_digitalocean/get_kubernetes_versions.py +9 -8
- pulumi_digitalocean/get_load_balancer.py +31 -30
- pulumi_digitalocean/get_partner_attachment.py +170 -0
- pulumi_digitalocean/get_project.py +20 -19
- pulumi_digitalocean/get_projects.py +2 -1
- pulumi_digitalocean/get_record.py +20 -19
- pulumi_digitalocean/get_records.py +7 -6
- pulumi_digitalocean/get_region.py +11 -10
- pulumi_digitalocean/get_regions.py +2 -1
- pulumi_digitalocean/get_reserved_ip.py +10 -9
- pulumi_digitalocean/get_reserved_ipv6.py +10 -9
- pulumi_digitalocean/get_sizes.py +2 -1
- pulumi_digitalocean/get_spaces_bucket.py +15 -14
- pulumi_digitalocean/get_spaces_bucket_object.py +38 -37
- pulumi_digitalocean/get_spaces_bucket_objects.py +35 -34
- pulumi_digitalocean/get_spaces_buckets.py +2 -1
- pulumi_digitalocean/get_spaces_key.py +9 -8
- pulumi_digitalocean/get_ssh_key.py +9 -8
- pulumi_digitalocean/get_ssh_keys.py +2 -1
- pulumi_digitalocean/get_tag.py +13 -12
- pulumi_digitalocean/get_tags.py +2 -1
- pulumi_digitalocean/get_volume.py +23 -22
- pulumi_digitalocean/get_volume_snapshot.py +28 -27
- pulumi_digitalocean/get_vpc.py +21 -20
- pulumi_digitalocean/get_vpc_peering.py +18 -17
- pulumi_digitalocean/kubernetes_cluster.py +225 -224
- pulumi_digitalocean/kubernetes_node_pool.py +134 -133
- pulumi_digitalocean/load_balancer.py +277 -276
- pulumi_digitalocean/monitor_alert.py +120 -119
- pulumi_digitalocean/outputs.py +3099 -3007
- pulumi_digitalocean/partner_attachment.py +433 -0
- pulumi_digitalocean/project.py +113 -112
- pulumi_digitalocean/project_resources.py +29 -28
- pulumi_digitalocean/provider.py +69 -68
- pulumi_digitalocean/pulumi-plugin.json +1 -1
- pulumi_digitalocean/reserved_ip.py +50 -49
- pulumi_digitalocean/reserved_ip_assignment.py +29 -28
- pulumi_digitalocean/reserved_ipv6.py +44 -43
- pulumi_digitalocean/reserved_ipv6_assignment.py +29 -28
- pulumi_digitalocean/spaces_bucket.py +78 -77
- pulumi_digitalocean/spaces_bucket_cors_configuration.py +29 -28
- pulumi_digitalocean/spaces_bucket_object.py +232 -231
- pulumi_digitalocean/spaces_bucket_policy.py +43 -42
- pulumi_digitalocean/spaces_key.py +36 -35
- pulumi_digitalocean/ssh_key.py +36 -35
- pulumi_digitalocean/tag.py +57 -56
- pulumi_digitalocean/uptime_alert.py +85 -84
- pulumi_digitalocean/uptime_check.py +71 -70
- pulumi_digitalocean/volume.py +148 -147
- pulumi_digitalocean/volume_attachment.py +29 -28
- pulumi_digitalocean/volume_snapshot.py +71 -70
- pulumi_digitalocean/vpc.py +78 -77
- pulumi_digitalocean/vpc_peering.py +43 -42
- {pulumi_digitalocean-4.41.0a1742960094.dist-info → pulumi_digitalocean-4.42.0.dist-info}/METADATA +1 -1
- pulumi_digitalocean-4.42.0.dist-info/RECORD +112 -0
- pulumi_digitalocean-4.41.0a1742960094.dist-info/RECORD +0 -110
- {pulumi_digitalocean-4.41.0a1742960094.dist-info → pulumi_digitalocean-4.42.0.dist-info}/WHEEL +0 -0
- {pulumi_digitalocean-4.41.0a1742960094.dist-info → pulumi_digitalocean-4.42.0.dist-info}/top_level.txt +0 -0
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
+
import builtins
|
|
5
6
|
import copy
|
|
6
7
|
import warnings
|
|
7
8
|
import sys
|
|
@@ -19,20 +20,20 @@ __all__ = ['DatabaseMongodbConfigArgs', 'DatabaseMongodbConfig']
|
|
|
19
20
|
@pulumi.input_type
|
|
20
21
|
class DatabaseMongodbConfigArgs:
|
|
21
22
|
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):
|
|
23
|
+
cluster_id: pulumi.Input[builtins.str],
|
|
24
|
+
default_read_concern: Optional[pulumi.Input[builtins.str]] = None,
|
|
25
|
+
default_write_concern: Optional[pulumi.Input[builtins.str]] = None,
|
|
26
|
+
slow_op_threshold_ms: Optional[pulumi.Input[builtins.int]] = None,
|
|
27
|
+
transaction_lifetime_limit_seconds: Optional[pulumi.Input[builtins.int]] = None,
|
|
28
|
+
verbosity: Optional[pulumi.Input[builtins.int]] = None):
|
|
28
29
|
"""
|
|
29
30
|
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).
|
|
31
|
+
:param pulumi.Input[builtins.str] cluster_id: The ID of the target MongoDB cluster.
|
|
32
|
+
: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/).
|
|
33
|
+
: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/).
|
|
34
|
+
: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).
|
|
35
|
+
: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).
|
|
36
|
+
: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
37
|
"""
|
|
37
38
|
pulumi.set(__self__, "cluster_id", cluster_id)
|
|
38
39
|
if default_read_concern is not None:
|
|
@@ -48,94 +49,94 @@ class DatabaseMongodbConfigArgs:
|
|
|
48
49
|
|
|
49
50
|
@property
|
|
50
51
|
@pulumi.getter(name="clusterId")
|
|
51
|
-
def cluster_id(self) -> pulumi.Input[str]:
|
|
52
|
+
def cluster_id(self) -> pulumi.Input[builtins.str]:
|
|
52
53
|
"""
|
|
53
54
|
The ID of the target MongoDB cluster.
|
|
54
55
|
"""
|
|
55
56
|
return pulumi.get(self, "cluster_id")
|
|
56
57
|
|
|
57
58
|
@cluster_id.setter
|
|
58
|
-
def cluster_id(self, value: pulumi.Input[str]):
|
|
59
|
+
def cluster_id(self, value: pulumi.Input[builtins.str]):
|
|
59
60
|
pulumi.set(self, "cluster_id", value)
|
|
60
61
|
|
|
61
62
|
@property
|
|
62
63
|
@pulumi.getter(name="defaultReadConcern")
|
|
63
|
-
def default_read_concern(self) -> Optional[pulumi.Input[str]]:
|
|
64
|
+
def default_read_concern(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
64
65
|
"""
|
|
65
66
|
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
67
|
"""
|
|
67
68
|
return pulumi.get(self, "default_read_concern")
|
|
68
69
|
|
|
69
70
|
@default_read_concern.setter
|
|
70
|
-
def default_read_concern(self, value: Optional[pulumi.Input[str]]):
|
|
71
|
+
def default_read_concern(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
71
72
|
pulumi.set(self, "default_read_concern", value)
|
|
72
73
|
|
|
73
74
|
@property
|
|
74
75
|
@pulumi.getter(name="defaultWriteConcern")
|
|
75
|
-
def default_write_concern(self) -> Optional[pulumi.Input[str]]:
|
|
76
|
+
def default_write_concern(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
76
77
|
"""
|
|
77
78
|
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
79
|
"""
|
|
79
80
|
return pulumi.get(self, "default_write_concern")
|
|
80
81
|
|
|
81
82
|
@default_write_concern.setter
|
|
82
|
-
def default_write_concern(self, value: Optional[pulumi.Input[str]]):
|
|
83
|
+
def default_write_concern(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
83
84
|
pulumi.set(self, "default_write_concern", value)
|
|
84
85
|
|
|
85
86
|
@property
|
|
86
87
|
@pulumi.getter(name="slowOpThresholdMs")
|
|
87
|
-
def slow_op_threshold_ms(self) -> Optional[pulumi.Input[int]]:
|
|
88
|
+
def slow_op_threshold_ms(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
88
89
|
"""
|
|
89
90
|
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
91
|
"""
|
|
91
92
|
return pulumi.get(self, "slow_op_threshold_ms")
|
|
92
93
|
|
|
93
94
|
@slow_op_threshold_ms.setter
|
|
94
|
-
def slow_op_threshold_ms(self, value: Optional[pulumi.Input[int]]):
|
|
95
|
+
def slow_op_threshold_ms(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
95
96
|
pulumi.set(self, "slow_op_threshold_ms", value)
|
|
96
97
|
|
|
97
98
|
@property
|
|
98
99
|
@pulumi.getter(name="transactionLifetimeLimitSeconds")
|
|
99
|
-
def transaction_lifetime_limit_seconds(self) -> Optional[pulumi.Input[int]]:
|
|
100
|
+
def transaction_lifetime_limit_seconds(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
100
101
|
"""
|
|
101
102
|
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
103
|
"""
|
|
103
104
|
return pulumi.get(self, "transaction_lifetime_limit_seconds")
|
|
104
105
|
|
|
105
106
|
@transaction_lifetime_limit_seconds.setter
|
|
106
|
-
def transaction_lifetime_limit_seconds(self, value: Optional[pulumi.Input[int]]):
|
|
107
|
+
def transaction_lifetime_limit_seconds(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
107
108
|
pulumi.set(self, "transaction_lifetime_limit_seconds", value)
|
|
108
109
|
|
|
109
110
|
@property
|
|
110
111
|
@pulumi.getter
|
|
111
|
-
def verbosity(self) -> Optional[pulumi.Input[int]]:
|
|
112
|
+
def verbosity(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
112
113
|
"""
|
|
113
114
|
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
115
|
"""
|
|
115
116
|
return pulumi.get(self, "verbosity")
|
|
116
117
|
|
|
117
118
|
@verbosity.setter
|
|
118
|
-
def verbosity(self, value: Optional[pulumi.Input[int]]):
|
|
119
|
+
def verbosity(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
119
120
|
pulumi.set(self, "verbosity", value)
|
|
120
121
|
|
|
121
122
|
|
|
122
123
|
@pulumi.input_type
|
|
123
124
|
class _DatabaseMongodbConfigState:
|
|
124
125
|
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):
|
|
126
|
+
cluster_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
127
|
+
default_read_concern: Optional[pulumi.Input[builtins.str]] = None,
|
|
128
|
+
default_write_concern: Optional[pulumi.Input[builtins.str]] = None,
|
|
129
|
+
slow_op_threshold_ms: Optional[pulumi.Input[builtins.int]] = None,
|
|
130
|
+
transaction_lifetime_limit_seconds: Optional[pulumi.Input[builtins.int]] = None,
|
|
131
|
+
verbosity: Optional[pulumi.Input[builtins.int]] = None):
|
|
131
132
|
"""
|
|
132
133
|
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).
|
|
134
|
+
:param pulumi.Input[builtins.str] cluster_id: The ID of the target MongoDB cluster.
|
|
135
|
+
: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/).
|
|
136
|
+
: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/).
|
|
137
|
+
: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).
|
|
138
|
+
: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).
|
|
139
|
+
: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
140
|
"""
|
|
140
141
|
if cluster_id is not None:
|
|
141
142
|
pulumi.set(__self__, "cluster_id", cluster_id)
|
|
@@ -152,74 +153,74 @@ class _DatabaseMongodbConfigState:
|
|
|
152
153
|
|
|
153
154
|
@property
|
|
154
155
|
@pulumi.getter(name="clusterId")
|
|
155
|
-
def cluster_id(self) -> Optional[pulumi.Input[str]]:
|
|
156
|
+
def cluster_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
156
157
|
"""
|
|
157
158
|
The ID of the target MongoDB cluster.
|
|
158
159
|
"""
|
|
159
160
|
return pulumi.get(self, "cluster_id")
|
|
160
161
|
|
|
161
162
|
@cluster_id.setter
|
|
162
|
-
def cluster_id(self, value: Optional[pulumi.Input[str]]):
|
|
163
|
+
def cluster_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
163
164
|
pulumi.set(self, "cluster_id", value)
|
|
164
165
|
|
|
165
166
|
@property
|
|
166
167
|
@pulumi.getter(name="defaultReadConcern")
|
|
167
|
-
def default_read_concern(self) -> Optional[pulumi.Input[str]]:
|
|
168
|
+
def default_read_concern(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
168
169
|
"""
|
|
169
170
|
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
171
|
"""
|
|
171
172
|
return pulumi.get(self, "default_read_concern")
|
|
172
173
|
|
|
173
174
|
@default_read_concern.setter
|
|
174
|
-
def default_read_concern(self, value: Optional[pulumi.Input[str]]):
|
|
175
|
+
def default_read_concern(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
175
176
|
pulumi.set(self, "default_read_concern", value)
|
|
176
177
|
|
|
177
178
|
@property
|
|
178
179
|
@pulumi.getter(name="defaultWriteConcern")
|
|
179
|
-
def default_write_concern(self) -> Optional[pulumi.Input[str]]:
|
|
180
|
+
def default_write_concern(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
180
181
|
"""
|
|
181
182
|
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
183
|
"""
|
|
183
184
|
return pulumi.get(self, "default_write_concern")
|
|
184
185
|
|
|
185
186
|
@default_write_concern.setter
|
|
186
|
-
def default_write_concern(self, value: Optional[pulumi.Input[str]]):
|
|
187
|
+
def default_write_concern(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
187
188
|
pulumi.set(self, "default_write_concern", value)
|
|
188
189
|
|
|
189
190
|
@property
|
|
190
191
|
@pulumi.getter(name="slowOpThresholdMs")
|
|
191
|
-
def slow_op_threshold_ms(self) -> Optional[pulumi.Input[int]]:
|
|
192
|
+
def slow_op_threshold_ms(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
192
193
|
"""
|
|
193
194
|
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
195
|
"""
|
|
195
196
|
return pulumi.get(self, "slow_op_threshold_ms")
|
|
196
197
|
|
|
197
198
|
@slow_op_threshold_ms.setter
|
|
198
|
-
def slow_op_threshold_ms(self, value: Optional[pulumi.Input[int]]):
|
|
199
|
+
def slow_op_threshold_ms(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
199
200
|
pulumi.set(self, "slow_op_threshold_ms", value)
|
|
200
201
|
|
|
201
202
|
@property
|
|
202
203
|
@pulumi.getter(name="transactionLifetimeLimitSeconds")
|
|
203
|
-
def transaction_lifetime_limit_seconds(self) -> Optional[pulumi.Input[int]]:
|
|
204
|
+
def transaction_lifetime_limit_seconds(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
204
205
|
"""
|
|
205
206
|
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
207
|
"""
|
|
207
208
|
return pulumi.get(self, "transaction_lifetime_limit_seconds")
|
|
208
209
|
|
|
209
210
|
@transaction_lifetime_limit_seconds.setter
|
|
210
|
-
def transaction_lifetime_limit_seconds(self, value: Optional[pulumi.Input[int]]):
|
|
211
|
+
def transaction_lifetime_limit_seconds(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
211
212
|
pulumi.set(self, "transaction_lifetime_limit_seconds", value)
|
|
212
213
|
|
|
213
214
|
@property
|
|
214
215
|
@pulumi.getter
|
|
215
|
-
def verbosity(self) -> Optional[pulumi.Input[int]]:
|
|
216
|
+
def verbosity(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
216
217
|
"""
|
|
217
218
|
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
219
|
"""
|
|
219
220
|
return pulumi.get(self, "verbosity")
|
|
220
221
|
|
|
221
222
|
@verbosity.setter
|
|
222
|
-
def verbosity(self, value: Optional[pulumi.Input[int]]):
|
|
223
|
+
def verbosity(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
223
224
|
pulumi.set(self, "verbosity", value)
|
|
224
225
|
|
|
225
226
|
|
|
@@ -228,12 +229,12 @@ class DatabaseMongodbConfig(pulumi.CustomResource):
|
|
|
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
|
|
|
@@ -404,7 +405,7 @@ class DatabaseMongodbConfig(pulumi.CustomResource):
|
|
|
404
405
|
|
|
405
406
|
@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
|
"""
|
|
@@ -412,7 +413,7 @@ class DatabaseMongodbConfig(pulumi.CustomResource):
|
|
|
412
413
|
|
|
413
414
|
@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
|
"""
|
|
@@ -420,7 +421,7 @@ class DatabaseMongodbConfig(pulumi.CustomResource):
|
|
|
420
421
|
|
|
421
422
|
@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
|
"""
|
|
@@ -428,7 +429,7 @@ class DatabaseMongodbConfig(pulumi.CustomResource):
|
|
|
428
429
|
|
|
429
430
|
@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
|
"""
|
|
@@ -436,7 +437,7 @@ class DatabaseMongodbConfig(pulumi.CustomResource):
|
|
|
436
437
|
|
|
437
438
|
@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
|
"""
|
|
@@ -444,7 +445,7 @@ class DatabaseMongodbConfig(pulumi.CustomResource):
|
|
|
444
445
|
|
|
445
446
|
@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
|
"""
|