pulumiverse-scaleway 1.18.0a1730280133__py3-none-any.whl → 1.19.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 pulumiverse-scaleway might be problematic. Click here for more details.

@@ -1,245 +0,0 @@
1
- # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
- # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
-
5
- import copy
6
- import warnings
7
- import sys
8
- import pulumi
9
- import pulumi.runtime
10
- from typing import Any, Mapping, Optional, Sequence, Union, overload
11
- if sys.version_info >= (3, 11):
12
- from typing import NotRequired, TypedDict, TypeAlias
13
- else:
14
- from typing_extensions import NotRequired, TypedDict, TypeAlias
15
- from . import _utilities
16
-
17
- __all__ = [
18
- 'GetDocumentdbInstanceResult',
19
- 'AwaitableGetDocumentdbInstanceResult',
20
- 'get_documentdb_instance',
21
- 'get_documentdb_instance_output',
22
- ]
23
-
24
- @pulumi.output_type
25
- class GetDocumentdbInstanceResult:
26
- """
27
- A collection of values returned by getDocumentdbInstance.
28
- """
29
- def __init__(__self__, engine=None, id=None, instance_id=None, is_ha_cluster=None, name=None, node_type=None, password=None, project_id=None, region=None, tags=None, telemetry_enabled=None, user_name=None, volume_size_in_gb=None, volume_type=None):
30
- if engine and not isinstance(engine, str):
31
- raise TypeError("Expected argument 'engine' to be a str")
32
- pulumi.set(__self__, "engine", engine)
33
- if id and not isinstance(id, str):
34
- raise TypeError("Expected argument 'id' to be a str")
35
- pulumi.set(__self__, "id", id)
36
- if instance_id and not isinstance(instance_id, str):
37
- raise TypeError("Expected argument 'instance_id' to be a str")
38
- pulumi.set(__self__, "instance_id", instance_id)
39
- if is_ha_cluster and not isinstance(is_ha_cluster, bool):
40
- raise TypeError("Expected argument 'is_ha_cluster' to be a bool")
41
- pulumi.set(__self__, "is_ha_cluster", is_ha_cluster)
42
- if name and not isinstance(name, str):
43
- raise TypeError("Expected argument 'name' to be a str")
44
- pulumi.set(__self__, "name", name)
45
- if node_type and not isinstance(node_type, str):
46
- raise TypeError("Expected argument 'node_type' to be a str")
47
- pulumi.set(__self__, "node_type", node_type)
48
- if password and not isinstance(password, str):
49
- raise TypeError("Expected argument 'password' to be a str")
50
- pulumi.set(__self__, "password", password)
51
- if project_id and not isinstance(project_id, str):
52
- raise TypeError("Expected argument 'project_id' to be a str")
53
- pulumi.set(__self__, "project_id", project_id)
54
- if region and not isinstance(region, str):
55
- raise TypeError("Expected argument 'region' to be a str")
56
- pulumi.set(__self__, "region", region)
57
- if tags and not isinstance(tags, list):
58
- raise TypeError("Expected argument 'tags' to be a list")
59
- pulumi.set(__self__, "tags", tags)
60
- if telemetry_enabled and not isinstance(telemetry_enabled, bool):
61
- raise TypeError("Expected argument 'telemetry_enabled' to be a bool")
62
- pulumi.set(__self__, "telemetry_enabled", telemetry_enabled)
63
- if user_name and not isinstance(user_name, str):
64
- raise TypeError("Expected argument 'user_name' to be a str")
65
- pulumi.set(__self__, "user_name", user_name)
66
- if volume_size_in_gb and not isinstance(volume_size_in_gb, int):
67
- raise TypeError("Expected argument 'volume_size_in_gb' to be a int")
68
- pulumi.set(__self__, "volume_size_in_gb", volume_size_in_gb)
69
- if volume_type and not isinstance(volume_type, str):
70
- raise TypeError("Expected argument 'volume_type' to be a str")
71
- pulumi.set(__self__, "volume_type", volume_type)
72
-
73
- @property
74
- @pulumi.getter
75
- def engine(self) -> str:
76
- return pulumi.get(self, "engine")
77
-
78
- @property
79
- @pulumi.getter
80
- def id(self) -> str:
81
- """
82
- The provider-assigned unique ID for this managed resource.
83
- """
84
- return pulumi.get(self, "id")
85
-
86
- @property
87
- @pulumi.getter(name="instanceId")
88
- def instance_id(self) -> Optional[str]:
89
- return pulumi.get(self, "instance_id")
90
-
91
- @property
92
- @pulumi.getter(name="isHaCluster")
93
- def is_ha_cluster(self) -> bool:
94
- return pulumi.get(self, "is_ha_cluster")
95
-
96
- @property
97
- @pulumi.getter
98
- def name(self) -> Optional[str]:
99
- return pulumi.get(self, "name")
100
-
101
- @property
102
- @pulumi.getter(name="nodeType")
103
- def node_type(self) -> str:
104
- return pulumi.get(self, "node_type")
105
-
106
- @property
107
- @pulumi.getter
108
- def password(self) -> str:
109
- return pulumi.get(self, "password")
110
-
111
- @property
112
- @pulumi.getter(name="projectId")
113
- def project_id(self) -> Optional[str]:
114
- return pulumi.get(self, "project_id")
115
-
116
- @property
117
- @pulumi.getter
118
- def region(self) -> Optional[str]:
119
- return pulumi.get(self, "region")
120
-
121
- @property
122
- @pulumi.getter
123
- def tags(self) -> Sequence[str]:
124
- return pulumi.get(self, "tags")
125
-
126
- @property
127
- @pulumi.getter(name="telemetryEnabled")
128
- def telemetry_enabled(self) -> bool:
129
- return pulumi.get(self, "telemetry_enabled")
130
-
131
- @property
132
- @pulumi.getter(name="userName")
133
- def user_name(self) -> str:
134
- return pulumi.get(self, "user_name")
135
-
136
- @property
137
- @pulumi.getter(name="volumeSizeInGb")
138
- def volume_size_in_gb(self) -> int:
139
- return pulumi.get(self, "volume_size_in_gb")
140
-
141
- @property
142
- @pulumi.getter(name="volumeType")
143
- def volume_type(self) -> str:
144
- return pulumi.get(self, "volume_type")
145
-
146
-
147
- class AwaitableGetDocumentdbInstanceResult(GetDocumentdbInstanceResult):
148
- # pylint: disable=using-constant-test
149
- def __await__(self):
150
- if False:
151
- yield self
152
- return GetDocumentdbInstanceResult(
153
- engine=self.engine,
154
- id=self.id,
155
- instance_id=self.instance_id,
156
- is_ha_cluster=self.is_ha_cluster,
157
- name=self.name,
158
- node_type=self.node_type,
159
- password=self.password,
160
- project_id=self.project_id,
161
- region=self.region,
162
- tags=self.tags,
163
- telemetry_enabled=self.telemetry_enabled,
164
- user_name=self.user_name,
165
- volume_size_in_gb=self.volume_size_in_gb,
166
- volume_type=self.volume_type)
167
-
168
-
169
- def get_documentdb_instance(instance_id: Optional[str] = None,
170
- name: Optional[str] = None,
171
- project_id: Optional[str] = None,
172
- region: Optional[str] = None,
173
- opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDocumentdbInstanceResult:
174
- """
175
- Gets information about an DocumentDB instance.
176
-
177
-
178
- :param str instance_id: The DocumentDB instance ID.
179
- Only one of `name` and `instance_id` should be specified.
180
- :param str name: The name of the DocumentDB instance.
181
- Only one of `name` and `instance_id` should be specified.
182
- :param str project_id: The ID of the project the DocumentDB instance is associated with.
183
- :param str region: `region`) The region in which the DocumentDB instance exists.
184
- """
185
- __args__ = dict()
186
- __args__['instanceId'] = instance_id
187
- __args__['name'] = name
188
- __args__['projectId'] = project_id
189
- __args__['region'] = region
190
- opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
191
- __ret__ = pulumi.runtime.invoke('scaleway:index/getDocumentdbInstance:getDocumentdbInstance', __args__, opts=opts, typ=GetDocumentdbInstanceResult).value
192
-
193
- return AwaitableGetDocumentdbInstanceResult(
194
- engine=pulumi.get(__ret__, 'engine'),
195
- id=pulumi.get(__ret__, 'id'),
196
- instance_id=pulumi.get(__ret__, 'instance_id'),
197
- is_ha_cluster=pulumi.get(__ret__, 'is_ha_cluster'),
198
- name=pulumi.get(__ret__, 'name'),
199
- node_type=pulumi.get(__ret__, 'node_type'),
200
- password=pulumi.get(__ret__, 'password'),
201
- project_id=pulumi.get(__ret__, 'project_id'),
202
- region=pulumi.get(__ret__, 'region'),
203
- tags=pulumi.get(__ret__, 'tags'),
204
- telemetry_enabled=pulumi.get(__ret__, 'telemetry_enabled'),
205
- user_name=pulumi.get(__ret__, 'user_name'),
206
- volume_size_in_gb=pulumi.get(__ret__, 'volume_size_in_gb'),
207
- volume_type=pulumi.get(__ret__, 'volume_type'))
208
- def get_documentdb_instance_output(instance_id: Optional[pulumi.Input[Optional[str]]] = None,
209
- name: Optional[pulumi.Input[Optional[str]]] = None,
210
- project_id: Optional[pulumi.Input[Optional[str]]] = None,
211
- region: Optional[pulumi.Input[Optional[str]]] = None,
212
- opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDocumentdbInstanceResult]:
213
- """
214
- Gets information about an DocumentDB instance.
215
-
216
-
217
- :param str instance_id: The DocumentDB instance ID.
218
- Only one of `name` and `instance_id` should be specified.
219
- :param str name: The name of the DocumentDB instance.
220
- Only one of `name` and `instance_id` should be specified.
221
- :param str project_id: The ID of the project the DocumentDB instance is associated with.
222
- :param str region: `region`) The region in which the DocumentDB instance exists.
223
- """
224
- __args__ = dict()
225
- __args__['instanceId'] = instance_id
226
- __args__['name'] = name
227
- __args__['projectId'] = project_id
228
- __args__['region'] = region
229
- opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
230
- __ret__ = pulumi.runtime.invoke_output('scaleway:index/getDocumentdbInstance:getDocumentdbInstance', __args__, opts=opts, typ=GetDocumentdbInstanceResult)
231
- return __ret__.apply(lambda __response__: GetDocumentdbInstanceResult(
232
- engine=pulumi.get(__response__, 'engine'),
233
- id=pulumi.get(__response__, 'id'),
234
- instance_id=pulumi.get(__response__, 'instance_id'),
235
- is_ha_cluster=pulumi.get(__response__, 'is_ha_cluster'),
236
- name=pulumi.get(__response__, 'name'),
237
- node_type=pulumi.get(__response__, 'node_type'),
238
- password=pulumi.get(__response__, 'password'),
239
- project_id=pulumi.get(__response__, 'project_id'),
240
- region=pulumi.get(__response__, 'region'),
241
- tags=pulumi.get(__response__, 'tags'),
242
- telemetry_enabled=pulumi.get(__response__, 'telemetry_enabled'),
243
- user_name=pulumi.get(__response__, 'user_name'),
244
- volume_size_in_gb=pulumi.get(__response__, 'volume_size_in_gb'),
245
- volume_type=pulumi.get(__response__, 'volume_type')))
@@ -1,198 +0,0 @@
1
- # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
- # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
-
5
- import copy
6
- import warnings
7
- import sys
8
- import pulumi
9
- import pulumi.runtime
10
- from typing import Any, Mapping, Optional, Sequence, Union, overload
11
- if sys.version_info >= (3, 11):
12
- from typing import NotRequired, TypedDict, TypeAlias
13
- else:
14
- from typing_extensions import NotRequired, TypedDict, TypeAlias
15
- from . import _utilities
16
-
17
- __all__ = [
18
- 'GetDocumentdbLoadBalancerEndpointResult',
19
- 'AwaitableGetDocumentdbLoadBalancerEndpointResult',
20
- 'get_documentdb_load_balancer_endpoint',
21
- 'get_documentdb_load_balancer_endpoint_output',
22
- ]
23
-
24
- @pulumi.output_type
25
- class GetDocumentdbLoadBalancerEndpointResult:
26
- """
27
- A collection of values returned by getDocumentdbLoadBalancerEndpoint.
28
- """
29
- def __init__(__self__, hostname=None, id=None, instance_id=None, instance_name=None, ip=None, name=None, port=None, project_id=None, region=None):
30
- if hostname and not isinstance(hostname, str):
31
- raise TypeError("Expected argument 'hostname' to be a str")
32
- pulumi.set(__self__, "hostname", hostname)
33
- if id and not isinstance(id, str):
34
- raise TypeError("Expected argument 'id' to be a str")
35
- pulumi.set(__self__, "id", id)
36
- if instance_id and not isinstance(instance_id, str):
37
- raise TypeError("Expected argument 'instance_id' to be a str")
38
- pulumi.set(__self__, "instance_id", instance_id)
39
- if instance_name and not isinstance(instance_name, str):
40
- raise TypeError("Expected argument 'instance_name' to be a str")
41
- pulumi.set(__self__, "instance_name", instance_name)
42
- if ip and not isinstance(ip, str):
43
- raise TypeError("Expected argument 'ip' to be a str")
44
- pulumi.set(__self__, "ip", ip)
45
- if name and not isinstance(name, str):
46
- raise TypeError("Expected argument 'name' to be a str")
47
- pulumi.set(__self__, "name", name)
48
- if port and not isinstance(port, int):
49
- raise TypeError("Expected argument 'port' to be a int")
50
- pulumi.set(__self__, "port", port)
51
- if project_id and not isinstance(project_id, str):
52
- raise TypeError("Expected argument 'project_id' to be a str")
53
- pulumi.set(__self__, "project_id", project_id)
54
- if region and not isinstance(region, str):
55
- raise TypeError("Expected argument 'region' to be a str")
56
- pulumi.set(__self__, "region", region)
57
-
58
- @property
59
- @pulumi.getter
60
- def hostname(self) -> str:
61
- """
62
- The hostname of your endpoint.
63
- """
64
- return pulumi.get(self, "hostname")
65
-
66
- @property
67
- @pulumi.getter
68
- def id(self) -> str:
69
- """
70
- The provider-assigned unique ID for this managed resource.
71
- """
72
- return pulumi.get(self, "id")
73
-
74
- @property
75
- @pulumi.getter(name="instanceId")
76
- def instance_id(self) -> str:
77
- return pulumi.get(self, "instance_id")
78
-
79
- @property
80
- @pulumi.getter(name="instanceName")
81
- def instance_name(self) -> str:
82
- return pulumi.get(self, "instance_name")
83
-
84
- @property
85
- @pulumi.getter
86
- def ip(self) -> str:
87
- """
88
- The IP of your load balancer service.
89
- """
90
- return pulumi.get(self, "ip")
91
-
92
- @property
93
- @pulumi.getter
94
- def name(self) -> str:
95
- """
96
- The name of your load balancer service.
97
- """
98
- return pulumi.get(self, "name")
99
-
100
- @property
101
- @pulumi.getter
102
- def port(self) -> int:
103
- """
104
- The port of your load balancer service.
105
- """
106
- return pulumi.get(self, "port")
107
-
108
- @property
109
- @pulumi.getter(name="projectId")
110
- def project_id(self) -> str:
111
- return pulumi.get(self, "project_id")
112
-
113
- @property
114
- @pulumi.getter
115
- def region(self) -> str:
116
- return pulumi.get(self, "region")
117
-
118
-
119
- class AwaitableGetDocumentdbLoadBalancerEndpointResult(GetDocumentdbLoadBalancerEndpointResult):
120
- # pylint: disable=using-constant-test
121
- def __await__(self):
122
- if False:
123
- yield self
124
- return GetDocumentdbLoadBalancerEndpointResult(
125
- hostname=self.hostname,
126
- id=self.id,
127
- instance_id=self.instance_id,
128
- instance_name=self.instance_name,
129
- ip=self.ip,
130
- name=self.name,
131
- port=self.port,
132
- project_id=self.project_id,
133
- region=self.region)
134
-
135
-
136
- def get_documentdb_load_balancer_endpoint(instance_id: Optional[str] = None,
137
- instance_name: Optional[str] = None,
138
- project_id: Optional[str] = None,
139
- region: Optional[str] = None,
140
- opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDocumentdbLoadBalancerEndpointResult:
141
- """
142
- Gets information about an DocumentDB load balancer endpoint.
143
-
144
-
145
- :param str instance_id: The DocumentDB Instance on which the endpoint is attached. Only one of `instance_name` and `instance_id` should be specified.
146
- :param str instance_name: The DocumentDB Instance Name on which the endpoint is attached. Only one of `instance_name` and `instance_id` should be specified.
147
- :param str project_id: The ID of the project the DocumentDB endpoint is associated with.
148
- :param str region: `region`) The region in which the DocumentDB endpoint exists.
149
- """
150
- __args__ = dict()
151
- __args__['instanceId'] = instance_id
152
- __args__['instanceName'] = instance_name
153
- __args__['projectId'] = project_id
154
- __args__['region'] = region
155
- opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
156
- __ret__ = pulumi.runtime.invoke('scaleway:index/getDocumentdbLoadBalancerEndpoint:getDocumentdbLoadBalancerEndpoint', __args__, opts=opts, typ=GetDocumentdbLoadBalancerEndpointResult).value
157
-
158
- return AwaitableGetDocumentdbLoadBalancerEndpointResult(
159
- hostname=pulumi.get(__ret__, 'hostname'),
160
- id=pulumi.get(__ret__, 'id'),
161
- instance_id=pulumi.get(__ret__, 'instance_id'),
162
- instance_name=pulumi.get(__ret__, 'instance_name'),
163
- ip=pulumi.get(__ret__, 'ip'),
164
- name=pulumi.get(__ret__, 'name'),
165
- port=pulumi.get(__ret__, 'port'),
166
- project_id=pulumi.get(__ret__, 'project_id'),
167
- region=pulumi.get(__ret__, 'region'))
168
- def get_documentdb_load_balancer_endpoint_output(instance_id: Optional[pulumi.Input[Optional[str]]] = None,
169
- instance_name: Optional[pulumi.Input[Optional[str]]] = None,
170
- project_id: Optional[pulumi.Input[Optional[str]]] = None,
171
- region: Optional[pulumi.Input[Optional[str]]] = None,
172
- opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDocumentdbLoadBalancerEndpointResult]:
173
- """
174
- Gets information about an DocumentDB load balancer endpoint.
175
-
176
-
177
- :param str instance_id: The DocumentDB Instance on which the endpoint is attached. Only one of `instance_name` and `instance_id` should be specified.
178
- :param str instance_name: The DocumentDB Instance Name on which the endpoint is attached. Only one of `instance_name` and `instance_id` should be specified.
179
- :param str project_id: The ID of the project the DocumentDB endpoint is associated with.
180
- :param str region: `region`) The region in which the DocumentDB endpoint exists.
181
- """
182
- __args__ = dict()
183
- __args__['instanceId'] = instance_id
184
- __args__['instanceName'] = instance_name
185
- __args__['projectId'] = project_id
186
- __args__['region'] = region
187
- opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
188
- __ret__ = pulumi.runtime.invoke_output('scaleway:index/getDocumentdbLoadBalancerEndpoint:getDocumentdbLoadBalancerEndpoint', __args__, opts=opts, typ=GetDocumentdbLoadBalancerEndpointResult)
189
- return __ret__.apply(lambda __response__: GetDocumentdbLoadBalancerEndpointResult(
190
- hostname=pulumi.get(__response__, 'hostname'),
191
- id=pulumi.get(__response__, 'id'),
192
- instance_id=pulumi.get(__response__, 'instance_id'),
193
- instance_name=pulumi.get(__response__, 'instance_name'),
194
- ip=pulumi.get(__response__, 'ip'),
195
- name=pulumi.get(__response__, 'name'),
196
- port=pulumi.get(__response__, 'port'),
197
- project_id=pulumi.get(__response__, 'project_id'),
198
- region=pulumi.get(__response__, 'region')))