pulumi-digitalocean 4.50.0a1753335988__py3-none-any.whl → 4.50.0a1753508712__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 +1 -1
- pulumi_digitalocean/_enums.py +9 -9
- pulumi_digitalocean/_inputs.py +5705 -5706
- pulumi_digitalocean/app.py +87 -88
- pulumi_digitalocean/cdn.py +104 -105
- pulumi_digitalocean/certificate.py +137 -138
- pulumi_digitalocean/config/__init__.py +1 -1
- pulumi_digitalocean/config/__init__.pyi +1 -2
- pulumi_digitalocean/config/vars.py +10 -11
- pulumi_digitalocean/container_registry.py +88 -89
- pulumi_digitalocean/container_registry_docker_credentials.py +70 -71
- pulumi_digitalocean/custom_image.py +175 -176
- pulumi_digitalocean/database_cluster.py +346 -347
- pulumi_digitalocean/database_connection_pool.py +157 -158
- pulumi_digitalocean/database_db.py +35 -36
- pulumi_digitalocean/database_firewall.py +21 -22
- pulumi_digitalocean/database_kafka_config.py +307 -308
- pulumi_digitalocean/database_kafka_topic.py +81 -82
- pulumi_digitalocean/database_mongodb_config.py +103 -104
- pulumi_digitalocean/database_mysql_config.py +477 -478
- pulumi_digitalocean/database_opensearch_config.py +664 -665
- pulumi_digitalocean/database_postgresql_config.py +857 -858
- pulumi_digitalocean/database_redis_config.py +205 -206
- pulumi_digitalocean/database_replica.py +197 -198
- pulumi_digitalocean/database_user.py +91 -92
- pulumi_digitalocean/dns_record.py +180 -181
- pulumi_digitalocean/domain.py +53 -54
- pulumi_digitalocean/droplet.py +388 -389
- pulumi_digitalocean/droplet_autoscale.py +53 -54
- pulumi_digitalocean/droplet_snapshot.py +71 -72
- pulumi_digitalocean/firewall.py +78 -79
- pulumi_digitalocean/floating_ip.py +61 -62
- pulumi_digitalocean/floating_ip_assignment.py +35 -36
- pulumi_digitalocean/genai_agent.py +452 -453
- pulumi_digitalocean/get_account.py +17 -18
- pulumi_digitalocean/get_app.py +27 -28
- pulumi_digitalocean/get_certificate.py +21 -22
- pulumi_digitalocean/get_container_registry.py +21 -22
- pulumi_digitalocean/get_database_ca.py +11 -12
- pulumi_digitalocean/get_database_cluster.py +60 -61
- pulumi_digitalocean/get_database_connection_pool.py +35 -36
- pulumi_digitalocean/get_database_replica.py +45 -46
- pulumi_digitalocean/get_database_user.py +26 -27
- pulumi_digitalocean/get_domain.py +15 -16
- pulumi_digitalocean/get_domains.py +6 -7
- pulumi_digitalocean/get_droplet.py +71 -72
- pulumi_digitalocean/get_droplet_autoscale.py +22 -23
- pulumi_digitalocean/get_droplet_snapshot.py +37 -38
- pulumi_digitalocean/get_droplets.py +12 -13
- pulumi_digitalocean/get_firewall.py +30 -31
- pulumi_digitalocean/get_floating_ip.py +15 -16
- pulumi_digitalocean/get_genai_agent.py +89 -90
- pulumi_digitalocean/get_genai_agents.py +10 -11
- pulumi_digitalocean/get_image.py +49 -50
- pulumi_digitalocean/get_images.py +6 -7
- pulumi_digitalocean/get_kubernetes_cluster.py +53 -54
- pulumi_digitalocean/get_kubernetes_versions.py +13 -14
- pulumi_digitalocean/get_load_balancer.py +59 -60
- pulumi_digitalocean/get_partner_attachment.py +30 -31
- pulumi_digitalocean/get_partner_attachment_service_key.py +13 -14
- pulumi_digitalocean/get_project.py +31 -32
- pulumi_digitalocean/get_projects.py +6 -7
- pulumi_digitalocean/get_record.py +31 -32
- pulumi_digitalocean/get_records.py +12 -13
- pulumi_digitalocean/get_region.py +17 -18
- pulumi_digitalocean/get_regions.py +6 -7
- pulumi_digitalocean/get_reserved_ip.py +15 -16
- pulumi_digitalocean/get_reserved_ipv6.py +15 -16
- pulumi_digitalocean/get_sizes.py +6 -7
- pulumi_digitalocean/get_spaces_bucket.py +21 -22
- pulumi_digitalocean/get_spaces_bucket_object.py +57 -58
- pulumi_digitalocean/get_spaces_bucket_objects.py +45 -46
- pulumi_digitalocean/get_spaces_buckets.py +6 -7
- pulumi_digitalocean/get_spaces_key.py +14 -15
- pulumi_digitalocean/get_ssh_key.py +13 -14
- pulumi_digitalocean/get_ssh_keys.py +6 -7
- pulumi_digitalocean/get_tag.py +21 -22
- pulumi_digitalocean/get_tags.py +6 -7
- pulumi_digitalocean/get_volume.py +33 -34
- pulumi_digitalocean/get_volume_snapshot.py +39 -40
- pulumi_digitalocean/get_vpc.py +29 -30
- pulumi_digitalocean/get_vpc_nat_gateway.py +33 -34
- pulumi_digitalocean/get_vpc_peering.py +23 -24
- pulumi_digitalocean/kubernetes_cluster.py +293 -294
- pulumi_digitalocean/kubernetes_node_pool.py +168 -169
- pulumi_digitalocean/load_balancer.py +374 -375
- pulumi_digitalocean/monitor_alert.py +149 -150
- pulumi_digitalocean/outputs.py +7064 -7065
- pulumi_digitalocean/partner_attachment.py +150 -151
- pulumi_digitalocean/project.py +139 -140
- pulumi_digitalocean/project_resources.py +35 -36
- pulumi_digitalocean/provider.py +84 -85
- pulumi_digitalocean/pulumi-plugin.json +1 -1
- pulumi_digitalocean/reserved_ip.py +61 -62
- pulumi_digitalocean/reserved_ip_assignment.py +35 -36
- pulumi_digitalocean/reserved_ipv6.py +53 -54
- pulumi_digitalocean/reserved_ipv6_assignment.py +35 -36
- pulumi_digitalocean/spaces_bucket.py +105 -106
- pulumi_digitalocean/spaces_bucket_cors_configuration.py +38 -39
- pulumi_digitalocean/spaces_bucket_logging.py +69 -70
- pulumi_digitalocean/spaces_bucket_object.py +282 -283
- pulumi_digitalocean/spaces_bucket_policy.py +52 -53
- pulumi_digitalocean/spaces_key.py +48 -49
- pulumi_digitalocean/ssh_key.py +44 -45
- pulumi_digitalocean/tag.py +72 -73
- pulumi_digitalocean/uptime_alert.py +106 -107
- pulumi_digitalocean/uptime_check.py +86 -87
- pulumi_digitalocean/volume.py +181 -182
- pulumi_digitalocean/volume_attachment.py +35 -36
- pulumi_digitalocean/volume_snapshot.py +88 -89
- pulumi_digitalocean/vpc.py +96 -97
- pulumi_digitalocean/vpc_nat_gateway.py +152 -153
- pulumi_digitalocean/vpc_peering.py +53 -54
- {pulumi_digitalocean-4.50.0a1753335988.dist-info → pulumi_digitalocean-4.50.0a1753508712.dist-info}/METADATA +1 -1
- pulumi_digitalocean-4.50.0a1753508712.dist-info/RECORD +119 -0
- pulumi_digitalocean-4.50.0a1753335988.dist-info/RECORD +0 -119
- {pulumi_digitalocean-4.50.0a1753335988.dist-info → pulumi_digitalocean-4.50.0a1753508712.dist-info}/WHEEL +0 -0
- {pulumi_digitalocean-4.50.0a1753335988.dist-info → pulumi_digitalocean-4.50.0a1753508712.dist-info}/top_level.txt +0 -0
|
@@ -2,8 +2,7 @@
|
|
|
2
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 builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -20,20 +19,20 @@ __all__ = ['DatabaseMongodbConfigArgs', 'DatabaseMongodbConfig']
|
|
|
20
19
|
@pulumi.input_type
|
|
21
20
|
class DatabaseMongodbConfigArgs:
|
|
22
21
|
def __init__(__self__, *,
|
|
23
|
-
cluster_id: pulumi.Input[
|
|
24
|
-
default_read_concern: Optional[pulumi.Input[
|
|
25
|
-
default_write_concern: Optional[pulumi.Input[
|
|
26
|
-
slow_op_threshold_ms: Optional[pulumi.Input[
|
|
27
|
-
transaction_lifetime_limit_seconds: Optional[pulumi.Input[
|
|
28
|
-
verbosity: Optional[pulumi.Input[
|
|
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):
|
|
29
28
|
"""
|
|
30
29
|
The set of arguments for constructing a DatabaseMongodbConfig resource.
|
|
31
|
-
:param pulumi.Input[
|
|
32
|
-
:param pulumi.Input[
|
|
33
|
-
:param pulumi.Input[
|
|
34
|
-
:param pulumi.Input[
|
|
35
|
-
:param pulumi.Input[
|
|
36
|
-
:param pulumi.Input[
|
|
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).
|
|
37
36
|
"""
|
|
38
37
|
pulumi.set(__self__, "cluster_id", cluster_id)
|
|
39
38
|
if default_read_concern is not None:
|
|
@@ -47,96 +46,96 @@ class DatabaseMongodbConfigArgs:
|
|
|
47
46
|
if verbosity is not None:
|
|
48
47
|
pulumi.set(__self__, "verbosity", verbosity)
|
|
49
48
|
|
|
50
|
-
@property
|
|
49
|
+
@_builtins.property
|
|
51
50
|
@pulumi.getter(name="clusterId")
|
|
52
|
-
def cluster_id(self) -> pulumi.Input[
|
|
51
|
+
def cluster_id(self) -> pulumi.Input[_builtins.str]:
|
|
53
52
|
"""
|
|
54
53
|
The ID of the target MongoDB cluster.
|
|
55
54
|
"""
|
|
56
55
|
return pulumi.get(self, "cluster_id")
|
|
57
56
|
|
|
58
57
|
@cluster_id.setter
|
|
59
|
-
def cluster_id(self, value: pulumi.Input[
|
|
58
|
+
def cluster_id(self, value: pulumi.Input[_builtins.str]):
|
|
60
59
|
pulumi.set(self, "cluster_id", value)
|
|
61
60
|
|
|
62
|
-
@property
|
|
61
|
+
@_builtins.property
|
|
63
62
|
@pulumi.getter(name="defaultReadConcern")
|
|
64
|
-
def default_read_concern(self) -> Optional[pulumi.Input[
|
|
63
|
+
def default_read_concern(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
65
64
|
"""
|
|
66
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/).
|
|
67
66
|
"""
|
|
68
67
|
return pulumi.get(self, "default_read_concern")
|
|
69
68
|
|
|
70
69
|
@default_read_concern.setter
|
|
71
|
-
def default_read_concern(self, value: Optional[pulumi.Input[
|
|
70
|
+
def default_read_concern(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
72
71
|
pulumi.set(self, "default_read_concern", value)
|
|
73
72
|
|
|
74
|
-
@property
|
|
73
|
+
@_builtins.property
|
|
75
74
|
@pulumi.getter(name="defaultWriteConcern")
|
|
76
|
-
def default_write_concern(self) -> Optional[pulumi.Input[
|
|
75
|
+
def default_write_concern(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
77
76
|
"""
|
|
78
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/).
|
|
79
78
|
"""
|
|
80
79
|
return pulumi.get(self, "default_write_concern")
|
|
81
80
|
|
|
82
81
|
@default_write_concern.setter
|
|
83
|
-
def default_write_concern(self, value: Optional[pulumi.Input[
|
|
82
|
+
def default_write_concern(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
84
83
|
pulumi.set(self, "default_write_concern", value)
|
|
85
84
|
|
|
86
|
-
@property
|
|
85
|
+
@_builtins.property
|
|
87
86
|
@pulumi.getter(name="slowOpThresholdMs")
|
|
88
|
-
def slow_op_threshold_ms(self) -> Optional[pulumi.Input[
|
|
87
|
+
def slow_op_threshold_ms(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
89
88
|
"""
|
|
90
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).
|
|
91
90
|
"""
|
|
92
91
|
return pulumi.get(self, "slow_op_threshold_ms")
|
|
93
92
|
|
|
94
93
|
@slow_op_threshold_ms.setter
|
|
95
|
-
def slow_op_threshold_ms(self, value: Optional[pulumi.Input[
|
|
94
|
+
def slow_op_threshold_ms(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
96
95
|
pulumi.set(self, "slow_op_threshold_ms", value)
|
|
97
96
|
|
|
98
|
-
@property
|
|
97
|
+
@_builtins.property
|
|
99
98
|
@pulumi.getter(name="transactionLifetimeLimitSeconds")
|
|
100
|
-
def transaction_lifetime_limit_seconds(self) -> Optional[pulumi.Input[
|
|
99
|
+
def transaction_lifetime_limit_seconds(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
101
100
|
"""
|
|
102
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).
|
|
103
102
|
"""
|
|
104
103
|
return pulumi.get(self, "transaction_lifetime_limit_seconds")
|
|
105
104
|
|
|
106
105
|
@transaction_lifetime_limit_seconds.setter
|
|
107
|
-
def transaction_lifetime_limit_seconds(self, value: Optional[pulumi.Input[
|
|
106
|
+
def transaction_lifetime_limit_seconds(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
108
107
|
pulumi.set(self, "transaction_lifetime_limit_seconds", value)
|
|
109
108
|
|
|
110
|
-
@property
|
|
109
|
+
@_builtins.property
|
|
111
110
|
@pulumi.getter
|
|
112
|
-
def verbosity(self) -> Optional[pulumi.Input[
|
|
111
|
+
def verbosity(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
113
112
|
"""
|
|
114
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).
|
|
115
114
|
"""
|
|
116
115
|
return pulumi.get(self, "verbosity")
|
|
117
116
|
|
|
118
117
|
@verbosity.setter
|
|
119
|
-
def verbosity(self, value: Optional[pulumi.Input[
|
|
118
|
+
def verbosity(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
120
119
|
pulumi.set(self, "verbosity", value)
|
|
121
120
|
|
|
122
121
|
|
|
123
122
|
@pulumi.input_type
|
|
124
123
|
class _DatabaseMongodbConfigState:
|
|
125
124
|
def __init__(__self__, *,
|
|
126
|
-
cluster_id: Optional[pulumi.Input[
|
|
127
|
-
default_read_concern: Optional[pulumi.Input[
|
|
128
|
-
default_write_concern: Optional[pulumi.Input[
|
|
129
|
-
slow_op_threshold_ms: Optional[pulumi.Input[
|
|
130
|
-
transaction_lifetime_limit_seconds: Optional[pulumi.Input[
|
|
131
|
-
verbosity: Optional[pulumi.Input[
|
|
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):
|
|
132
131
|
"""
|
|
133
132
|
Input properties used for looking up and filtering DatabaseMongodbConfig resources.
|
|
134
|
-
:param pulumi.Input[
|
|
135
|
-
:param pulumi.Input[
|
|
136
|
-
:param pulumi.Input[
|
|
137
|
-
:param pulumi.Input[
|
|
138
|
-
:param pulumi.Input[
|
|
139
|
-
:param pulumi.Input[
|
|
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).
|
|
140
139
|
"""
|
|
141
140
|
if cluster_id is not None:
|
|
142
141
|
pulumi.set(__self__, "cluster_id", cluster_id)
|
|
@@ -151,76 +150,76 @@ class _DatabaseMongodbConfigState:
|
|
|
151
150
|
if verbosity is not None:
|
|
152
151
|
pulumi.set(__self__, "verbosity", verbosity)
|
|
153
152
|
|
|
154
|
-
@property
|
|
153
|
+
@_builtins.property
|
|
155
154
|
@pulumi.getter(name="clusterId")
|
|
156
|
-
def cluster_id(self) -> Optional[pulumi.Input[
|
|
155
|
+
def cluster_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
157
156
|
"""
|
|
158
157
|
The ID of the target MongoDB cluster.
|
|
159
158
|
"""
|
|
160
159
|
return pulumi.get(self, "cluster_id")
|
|
161
160
|
|
|
162
161
|
@cluster_id.setter
|
|
163
|
-
def cluster_id(self, value: Optional[pulumi.Input[
|
|
162
|
+
def cluster_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
164
163
|
pulumi.set(self, "cluster_id", value)
|
|
165
164
|
|
|
166
|
-
@property
|
|
165
|
+
@_builtins.property
|
|
167
166
|
@pulumi.getter(name="defaultReadConcern")
|
|
168
|
-
def default_read_concern(self) -> Optional[pulumi.Input[
|
|
167
|
+
def default_read_concern(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
169
168
|
"""
|
|
170
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/).
|
|
171
170
|
"""
|
|
172
171
|
return pulumi.get(self, "default_read_concern")
|
|
173
172
|
|
|
174
173
|
@default_read_concern.setter
|
|
175
|
-
def default_read_concern(self, value: Optional[pulumi.Input[
|
|
174
|
+
def default_read_concern(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
176
175
|
pulumi.set(self, "default_read_concern", value)
|
|
177
176
|
|
|
178
|
-
@property
|
|
177
|
+
@_builtins.property
|
|
179
178
|
@pulumi.getter(name="defaultWriteConcern")
|
|
180
|
-
def default_write_concern(self) -> Optional[pulumi.Input[
|
|
179
|
+
def default_write_concern(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
181
180
|
"""
|
|
182
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/).
|
|
183
182
|
"""
|
|
184
183
|
return pulumi.get(self, "default_write_concern")
|
|
185
184
|
|
|
186
185
|
@default_write_concern.setter
|
|
187
|
-
def default_write_concern(self, value: Optional[pulumi.Input[
|
|
186
|
+
def default_write_concern(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
188
187
|
pulumi.set(self, "default_write_concern", value)
|
|
189
188
|
|
|
190
|
-
@property
|
|
189
|
+
@_builtins.property
|
|
191
190
|
@pulumi.getter(name="slowOpThresholdMs")
|
|
192
|
-
def slow_op_threshold_ms(self) -> Optional[pulumi.Input[
|
|
191
|
+
def slow_op_threshold_ms(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
193
192
|
"""
|
|
194
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).
|
|
195
194
|
"""
|
|
196
195
|
return pulumi.get(self, "slow_op_threshold_ms")
|
|
197
196
|
|
|
198
197
|
@slow_op_threshold_ms.setter
|
|
199
|
-
def slow_op_threshold_ms(self, value: Optional[pulumi.Input[
|
|
198
|
+
def slow_op_threshold_ms(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
200
199
|
pulumi.set(self, "slow_op_threshold_ms", value)
|
|
201
200
|
|
|
202
|
-
@property
|
|
201
|
+
@_builtins.property
|
|
203
202
|
@pulumi.getter(name="transactionLifetimeLimitSeconds")
|
|
204
|
-
def transaction_lifetime_limit_seconds(self) -> Optional[pulumi.Input[
|
|
203
|
+
def transaction_lifetime_limit_seconds(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
205
204
|
"""
|
|
206
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).
|
|
207
206
|
"""
|
|
208
207
|
return pulumi.get(self, "transaction_lifetime_limit_seconds")
|
|
209
208
|
|
|
210
209
|
@transaction_lifetime_limit_seconds.setter
|
|
211
|
-
def transaction_lifetime_limit_seconds(self, value: Optional[pulumi.Input[
|
|
210
|
+
def transaction_lifetime_limit_seconds(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
212
211
|
pulumi.set(self, "transaction_lifetime_limit_seconds", value)
|
|
213
212
|
|
|
214
|
-
@property
|
|
213
|
+
@_builtins.property
|
|
215
214
|
@pulumi.getter
|
|
216
|
-
def verbosity(self) -> Optional[pulumi.Input[
|
|
215
|
+
def verbosity(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
217
216
|
"""
|
|
218
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).
|
|
219
218
|
"""
|
|
220
219
|
return pulumi.get(self, "verbosity")
|
|
221
220
|
|
|
222
221
|
@verbosity.setter
|
|
223
|
-
def verbosity(self, value: Optional[pulumi.Input[
|
|
222
|
+
def verbosity(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
224
223
|
pulumi.set(self, "verbosity", value)
|
|
225
224
|
|
|
226
225
|
|
|
@@ -230,12 +229,12 @@ class DatabaseMongodbConfig(pulumi.CustomResource):
|
|
|
230
229
|
def __init__(__self__,
|
|
231
230
|
resource_name: str,
|
|
232
231
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
233
|
-
cluster_id: Optional[pulumi.Input[
|
|
234
|
-
default_read_concern: Optional[pulumi.Input[
|
|
235
|
-
default_write_concern: Optional[pulumi.Input[
|
|
236
|
-
slow_op_threshold_ms: Optional[pulumi.Input[
|
|
237
|
-
transaction_lifetime_limit_seconds: Optional[pulumi.Input[
|
|
238
|
-
verbosity: Optional[pulumi.Input[
|
|
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,
|
|
239
238
|
__props__=None):
|
|
240
239
|
"""
|
|
241
240
|
Provides a virtual resource that can be used to change advanced configuration
|
|
@@ -275,12 +274,12 @@ class DatabaseMongodbConfig(pulumi.CustomResource):
|
|
|
275
274
|
|
|
276
275
|
:param str resource_name: The name of the resource.
|
|
277
276
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
278
|
-
:param pulumi.Input[
|
|
279
|
-
:param pulumi.Input[
|
|
280
|
-
:param pulumi.Input[
|
|
281
|
-
:param pulumi.Input[
|
|
282
|
-
:param pulumi.Input[
|
|
283
|
-
:param pulumi.Input[
|
|
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).
|
|
284
283
|
"""
|
|
285
284
|
...
|
|
286
285
|
@overload
|
|
@@ -339,12 +338,12 @@ class DatabaseMongodbConfig(pulumi.CustomResource):
|
|
|
339
338
|
def _internal_init(__self__,
|
|
340
339
|
resource_name: str,
|
|
341
340
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
342
|
-
cluster_id: Optional[pulumi.Input[
|
|
343
|
-
default_read_concern: Optional[pulumi.Input[
|
|
344
|
-
default_write_concern: Optional[pulumi.Input[
|
|
345
|
-
slow_op_threshold_ms: Optional[pulumi.Input[
|
|
346
|
-
transaction_lifetime_limit_seconds: Optional[pulumi.Input[
|
|
347
|
-
verbosity: Optional[pulumi.Input[
|
|
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,
|
|
348
347
|
__props__=None):
|
|
349
348
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
350
349
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -372,12 +371,12 @@ class DatabaseMongodbConfig(pulumi.CustomResource):
|
|
|
372
371
|
def get(resource_name: str,
|
|
373
372
|
id: pulumi.Input[str],
|
|
374
373
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
375
|
-
cluster_id: Optional[pulumi.Input[
|
|
376
|
-
default_read_concern: Optional[pulumi.Input[
|
|
377
|
-
default_write_concern: Optional[pulumi.Input[
|
|
378
|
-
slow_op_threshold_ms: Optional[pulumi.Input[
|
|
379
|
-
transaction_lifetime_limit_seconds: Optional[pulumi.Input[
|
|
380
|
-
verbosity: Optional[pulumi.Input[
|
|
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':
|
|
381
380
|
"""
|
|
382
381
|
Get an existing DatabaseMongodbConfig resource's state with the given name, id, and optional extra
|
|
383
382
|
properties used to qualify the lookup.
|
|
@@ -385,12 +384,12 @@ class DatabaseMongodbConfig(pulumi.CustomResource):
|
|
|
385
384
|
:param str resource_name: The unique name of the resulting resource.
|
|
386
385
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
387
386
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
388
|
-
:param pulumi.Input[
|
|
389
|
-
:param pulumi.Input[
|
|
390
|
-
:param pulumi.Input[
|
|
391
|
-
:param pulumi.Input[
|
|
392
|
-
:param pulumi.Input[
|
|
393
|
-
:param pulumi.Input[
|
|
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).
|
|
394
393
|
"""
|
|
395
394
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
396
395
|
|
|
@@ -404,49 +403,49 @@ class DatabaseMongodbConfig(pulumi.CustomResource):
|
|
|
404
403
|
__props__.__dict__["verbosity"] = verbosity
|
|
405
404
|
return DatabaseMongodbConfig(resource_name, opts=opts, __props__=__props__)
|
|
406
405
|
|
|
407
|
-
@property
|
|
406
|
+
@_builtins.property
|
|
408
407
|
@pulumi.getter(name="clusterId")
|
|
409
|
-
def cluster_id(self) -> pulumi.Output[
|
|
408
|
+
def cluster_id(self) -> pulumi.Output[_builtins.str]:
|
|
410
409
|
"""
|
|
411
410
|
The ID of the target MongoDB cluster.
|
|
412
411
|
"""
|
|
413
412
|
return pulumi.get(self, "cluster_id")
|
|
414
413
|
|
|
415
|
-
@property
|
|
414
|
+
@_builtins.property
|
|
416
415
|
@pulumi.getter(name="defaultReadConcern")
|
|
417
|
-
def default_read_concern(self) -> pulumi.Output[
|
|
416
|
+
def default_read_concern(self) -> pulumi.Output[_builtins.str]:
|
|
418
417
|
"""
|
|
419
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/).
|
|
420
419
|
"""
|
|
421
420
|
return pulumi.get(self, "default_read_concern")
|
|
422
421
|
|
|
423
|
-
@property
|
|
422
|
+
@_builtins.property
|
|
424
423
|
@pulumi.getter(name="defaultWriteConcern")
|
|
425
|
-
def default_write_concern(self) -> pulumi.Output[
|
|
424
|
+
def default_write_concern(self) -> pulumi.Output[_builtins.str]:
|
|
426
425
|
"""
|
|
427
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/).
|
|
428
427
|
"""
|
|
429
428
|
return pulumi.get(self, "default_write_concern")
|
|
430
429
|
|
|
431
|
-
@property
|
|
430
|
+
@_builtins.property
|
|
432
431
|
@pulumi.getter(name="slowOpThresholdMs")
|
|
433
|
-
def slow_op_threshold_ms(self) -> pulumi.Output[
|
|
432
|
+
def slow_op_threshold_ms(self) -> pulumi.Output[_builtins.int]:
|
|
434
433
|
"""
|
|
435
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).
|
|
436
435
|
"""
|
|
437
436
|
return pulumi.get(self, "slow_op_threshold_ms")
|
|
438
437
|
|
|
439
|
-
@property
|
|
438
|
+
@_builtins.property
|
|
440
439
|
@pulumi.getter(name="transactionLifetimeLimitSeconds")
|
|
441
|
-
def transaction_lifetime_limit_seconds(self) -> pulumi.Output[
|
|
440
|
+
def transaction_lifetime_limit_seconds(self) -> pulumi.Output[_builtins.int]:
|
|
442
441
|
"""
|
|
443
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).
|
|
444
443
|
"""
|
|
445
444
|
return pulumi.get(self, "transaction_lifetime_limit_seconds")
|
|
446
445
|
|
|
447
|
-
@property
|
|
446
|
+
@_builtins.property
|
|
448
447
|
@pulumi.getter
|
|
449
|
-
def verbosity(self) -> pulumi.Output[
|
|
448
|
+
def verbosity(self) -> pulumi.Output[_builtins.int]:
|
|
450
449
|
"""
|
|
451
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).
|
|
452
451
|
"""
|