pulumi-alicloud 3.59.0__py3-none-any.whl → 3.59.0a1720502311__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-alicloud might be problematic. Click here for more details.
- pulumi_alicloud/__init__.py +0 -48
- pulumi_alicloud/adb/resource_group.py +119 -115
- pulumi_alicloud/clickhouse/get_regions.py +2 -2
- pulumi_alicloud/cloudstoragegateway/gateway_cache_disk.py +27 -150
- pulumi_alicloud/dfs/file_system.py +19 -52
- pulumi_alicloud/ecs/_inputs.py +8 -132
- pulumi_alicloud/ecs/image.py +121 -607
- pulumi_alicloud/ecs/outputs.py +8 -131
- pulumi_alicloud/emrv2/_inputs.py +0 -490
- pulumi_alicloud/emrv2/cluster.py +14 -14
- pulumi_alicloud/emrv2/outputs.py +0 -500
- pulumi_alicloud/ens/__init__.py +0 -2
- pulumi_alicloud/ens/instance.py +17 -16
- pulumi_alicloud/ess/eci_scaling_configuration.py +0 -94
- pulumi_alicloud/ess/scaling_group.py +0 -94
- pulumi_alicloud/ga/bandwidth_package_attachment.py +34 -34
- pulumi_alicloud/ga/listener.py +0 -122
- pulumi_alicloud/gpdb/__init__.py +0 -4
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/redis/tair_instance.py +67 -161
- {pulumi_alicloud-3.59.0.dist-info → pulumi_alicloud-3.59.0a1720502311.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.59.0.dist-info → pulumi_alicloud-3.59.0a1720502311.dist-info}/RECORD +24 -30
- {pulumi_alicloud-3.59.0.dist-info → pulumi_alicloud-3.59.0a1720502311.dist-info}/WHEEL +1 -1
- pulumi_alicloud/ens/eip_instance_attachment.py +0 -480
- pulumi_alicloud/ens/nat_gateway.py +0 -458
- pulumi_alicloud/gpdb/external_data_service.py +0 -485
- pulumi_alicloud/gpdb/remote_adb_data_source.py +0 -763
- pulumi_alicloud/gpdb/streaming_data_service.py +0 -481
- pulumi_alicloud/gpdb/streaming_data_source.py +0 -645
- {pulumi_alicloud-3.59.0.dist-info → pulumi_alicloud-3.59.0a1720502311.dist-info}/top_level.txt +0 -0
|
@@ -1,485 +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 pulumi
|
|
8
|
-
import pulumi.runtime
|
|
9
|
-
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
10
|
-
from .. import _utilities
|
|
11
|
-
|
|
12
|
-
__all__ = ['ExternalDataServiceArgs', 'ExternalDataService']
|
|
13
|
-
|
|
14
|
-
@pulumi.input_type
|
|
15
|
-
class ExternalDataServiceArgs:
|
|
16
|
-
def __init__(__self__, *,
|
|
17
|
-
db_instance_id: pulumi.Input[str],
|
|
18
|
-
service_name: pulumi.Input[str],
|
|
19
|
-
service_spec: pulumi.Input[str],
|
|
20
|
-
service_description: Optional[pulumi.Input[str]] = None):
|
|
21
|
-
"""
|
|
22
|
-
The set of arguments for constructing a ExternalDataService resource.
|
|
23
|
-
:param pulumi.Input[str] db_instance_id: Instance ID
|
|
24
|
-
:param pulumi.Input[str] service_name: Service Name
|
|
25
|
-
:param pulumi.Input[str] service_spec: Service Specifications
|
|
26
|
-
:param pulumi.Input[str] service_description: Service Description
|
|
27
|
-
"""
|
|
28
|
-
pulumi.set(__self__, "db_instance_id", db_instance_id)
|
|
29
|
-
pulumi.set(__self__, "service_name", service_name)
|
|
30
|
-
pulumi.set(__self__, "service_spec", service_spec)
|
|
31
|
-
if service_description is not None:
|
|
32
|
-
pulumi.set(__self__, "service_description", service_description)
|
|
33
|
-
|
|
34
|
-
@property
|
|
35
|
-
@pulumi.getter(name="dbInstanceId")
|
|
36
|
-
def db_instance_id(self) -> pulumi.Input[str]:
|
|
37
|
-
"""
|
|
38
|
-
Instance ID
|
|
39
|
-
"""
|
|
40
|
-
return pulumi.get(self, "db_instance_id")
|
|
41
|
-
|
|
42
|
-
@db_instance_id.setter
|
|
43
|
-
def db_instance_id(self, value: pulumi.Input[str]):
|
|
44
|
-
pulumi.set(self, "db_instance_id", value)
|
|
45
|
-
|
|
46
|
-
@property
|
|
47
|
-
@pulumi.getter(name="serviceName")
|
|
48
|
-
def service_name(self) -> pulumi.Input[str]:
|
|
49
|
-
"""
|
|
50
|
-
Service Name
|
|
51
|
-
"""
|
|
52
|
-
return pulumi.get(self, "service_name")
|
|
53
|
-
|
|
54
|
-
@service_name.setter
|
|
55
|
-
def service_name(self, value: pulumi.Input[str]):
|
|
56
|
-
pulumi.set(self, "service_name", value)
|
|
57
|
-
|
|
58
|
-
@property
|
|
59
|
-
@pulumi.getter(name="serviceSpec")
|
|
60
|
-
def service_spec(self) -> pulumi.Input[str]:
|
|
61
|
-
"""
|
|
62
|
-
Service Specifications
|
|
63
|
-
"""
|
|
64
|
-
return pulumi.get(self, "service_spec")
|
|
65
|
-
|
|
66
|
-
@service_spec.setter
|
|
67
|
-
def service_spec(self, value: pulumi.Input[str]):
|
|
68
|
-
pulumi.set(self, "service_spec", value)
|
|
69
|
-
|
|
70
|
-
@property
|
|
71
|
-
@pulumi.getter(name="serviceDescription")
|
|
72
|
-
def service_description(self) -> Optional[pulumi.Input[str]]:
|
|
73
|
-
"""
|
|
74
|
-
Service Description
|
|
75
|
-
"""
|
|
76
|
-
return pulumi.get(self, "service_description")
|
|
77
|
-
|
|
78
|
-
@service_description.setter
|
|
79
|
-
def service_description(self, value: Optional[pulumi.Input[str]]):
|
|
80
|
-
pulumi.set(self, "service_description", value)
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
@pulumi.input_type
|
|
84
|
-
class _ExternalDataServiceState:
|
|
85
|
-
def __init__(__self__, *,
|
|
86
|
-
create_time: Optional[pulumi.Input[str]] = None,
|
|
87
|
-
db_instance_id: Optional[pulumi.Input[str]] = None,
|
|
88
|
-
service_description: Optional[pulumi.Input[str]] = None,
|
|
89
|
-
service_id: Optional[pulumi.Input[int]] = None,
|
|
90
|
-
service_name: Optional[pulumi.Input[str]] = None,
|
|
91
|
-
service_spec: Optional[pulumi.Input[str]] = None,
|
|
92
|
-
status: Optional[pulumi.Input[str]] = None):
|
|
93
|
-
"""
|
|
94
|
-
Input properties used for looking up and filtering ExternalDataService resources.
|
|
95
|
-
:param pulumi.Input[str] create_time: The creation time of the resource
|
|
96
|
-
:param pulumi.Input[str] db_instance_id: Instance ID
|
|
97
|
-
:param pulumi.Input[str] service_description: Service Description
|
|
98
|
-
:param pulumi.Input[int] service_id: Service ID
|
|
99
|
-
:param pulumi.Input[str] service_name: Service Name
|
|
100
|
-
:param pulumi.Input[str] service_spec: Service Specifications
|
|
101
|
-
:param pulumi.Input[str] status: The status of the resource
|
|
102
|
-
"""
|
|
103
|
-
if create_time is not None:
|
|
104
|
-
pulumi.set(__self__, "create_time", create_time)
|
|
105
|
-
if db_instance_id is not None:
|
|
106
|
-
pulumi.set(__self__, "db_instance_id", db_instance_id)
|
|
107
|
-
if service_description is not None:
|
|
108
|
-
pulumi.set(__self__, "service_description", service_description)
|
|
109
|
-
if service_id is not None:
|
|
110
|
-
pulumi.set(__self__, "service_id", service_id)
|
|
111
|
-
if service_name is not None:
|
|
112
|
-
pulumi.set(__self__, "service_name", service_name)
|
|
113
|
-
if service_spec is not None:
|
|
114
|
-
pulumi.set(__self__, "service_spec", service_spec)
|
|
115
|
-
if status is not None:
|
|
116
|
-
pulumi.set(__self__, "status", status)
|
|
117
|
-
|
|
118
|
-
@property
|
|
119
|
-
@pulumi.getter(name="createTime")
|
|
120
|
-
def create_time(self) -> Optional[pulumi.Input[str]]:
|
|
121
|
-
"""
|
|
122
|
-
The creation time of the resource
|
|
123
|
-
"""
|
|
124
|
-
return pulumi.get(self, "create_time")
|
|
125
|
-
|
|
126
|
-
@create_time.setter
|
|
127
|
-
def create_time(self, value: Optional[pulumi.Input[str]]):
|
|
128
|
-
pulumi.set(self, "create_time", value)
|
|
129
|
-
|
|
130
|
-
@property
|
|
131
|
-
@pulumi.getter(name="dbInstanceId")
|
|
132
|
-
def db_instance_id(self) -> Optional[pulumi.Input[str]]:
|
|
133
|
-
"""
|
|
134
|
-
Instance ID
|
|
135
|
-
"""
|
|
136
|
-
return pulumi.get(self, "db_instance_id")
|
|
137
|
-
|
|
138
|
-
@db_instance_id.setter
|
|
139
|
-
def db_instance_id(self, value: Optional[pulumi.Input[str]]):
|
|
140
|
-
pulumi.set(self, "db_instance_id", value)
|
|
141
|
-
|
|
142
|
-
@property
|
|
143
|
-
@pulumi.getter(name="serviceDescription")
|
|
144
|
-
def service_description(self) -> Optional[pulumi.Input[str]]:
|
|
145
|
-
"""
|
|
146
|
-
Service Description
|
|
147
|
-
"""
|
|
148
|
-
return pulumi.get(self, "service_description")
|
|
149
|
-
|
|
150
|
-
@service_description.setter
|
|
151
|
-
def service_description(self, value: Optional[pulumi.Input[str]]):
|
|
152
|
-
pulumi.set(self, "service_description", value)
|
|
153
|
-
|
|
154
|
-
@property
|
|
155
|
-
@pulumi.getter(name="serviceId")
|
|
156
|
-
def service_id(self) -> Optional[pulumi.Input[int]]:
|
|
157
|
-
"""
|
|
158
|
-
Service ID
|
|
159
|
-
"""
|
|
160
|
-
return pulumi.get(self, "service_id")
|
|
161
|
-
|
|
162
|
-
@service_id.setter
|
|
163
|
-
def service_id(self, value: Optional[pulumi.Input[int]]):
|
|
164
|
-
pulumi.set(self, "service_id", value)
|
|
165
|
-
|
|
166
|
-
@property
|
|
167
|
-
@pulumi.getter(name="serviceName")
|
|
168
|
-
def service_name(self) -> Optional[pulumi.Input[str]]:
|
|
169
|
-
"""
|
|
170
|
-
Service Name
|
|
171
|
-
"""
|
|
172
|
-
return pulumi.get(self, "service_name")
|
|
173
|
-
|
|
174
|
-
@service_name.setter
|
|
175
|
-
def service_name(self, value: Optional[pulumi.Input[str]]):
|
|
176
|
-
pulumi.set(self, "service_name", value)
|
|
177
|
-
|
|
178
|
-
@property
|
|
179
|
-
@pulumi.getter(name="serviceSpec")
|
|
180
|
-
def service_spec(self) -> Optional[pulumi.Input[str]]:
|
|
181
|
-
"""
|
|
182
|
-
Service Specifications
|
|
183
|
-
"""
|
|
184
|
-
return pulumi.get(self, "service_spec")
|
|
185
|
-
|
|
186
|
-
@service_spec.setter
|
|
187
|
-
def service_spec(self, value: Optional[pulumi.Input[str]]):
|
|
188
|
-
pulumi.set(self, "service_spec", value)
|
|
189
|
-
|
|
190
|
-
@property
|
|
191
|
-
@pulumi.getter
|
|
192
|
-
def status(self) -> Optional[pulumi.Input[str]]:
|
|
193
|
-
"""
|
|
194
|
-
The status of the resource
|
|
195
|
-
"""
|
|
196
|
-
return pulumi.get(self, "status")
|
|
197
|
-
|
|
198
|
-
@status.setter
|
|
199
|
-
def status(self, value: Optional[pulumi.Input[str]]):
|
|
200
|
-
pulumi.set(self, "status", value)
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
class ExternalDataService(pulumi.CustomResource):
|
|
204
|
-
@overload
|
|
205
|
-
def __init__(__self__,
|
|
206
|
-
resource_name: str,
|
|
207
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
|
208
|
-
db_instance_id: Optional[pulumi.Input[str]] = None,
|
|
209
|
-
service_description: Optional[pulumi.Input[str]] = None,
|
|
210
|
-
service_name: Optional[pulumi.Input[str]] = None,
|
|
211
|
-
service_spec: Optional[pulumi.Input[str]] = None,
|
|
212
|
-
__props__=None):
|
|
213
|
-
"""
|
|
214
|
-
Provides a GPDB External Data Service resource.
|
|
215
|
-
|
|
216
|
-
External Data Services.
|
|
217
|
-
|
|
218
|
-
For information about GPDB External Data Service and how to use it, see [What is External Data Service](https://www.alibabacloud.com/help/en/).
|
|
219
|
-
|
|
220
|
-
> **NOTE:** Available since v1.227.0.
|
|
221
|
-
|
|
222
|
-
## Example Usage
|
|
223
|
-
|
|
224
|
-
Basic Usage
|
|
225
|
-
|
|
226
|
-
```python
|
|
227
|
-
import pulumi
|
|
228
|
-
import pulumi_alicloud as alicloud
|
|
229
|
-
|
|
230
|
-
config = pulumi.Config()
|
|
231
|
-
name = config.get("name")
|
|
232
|
-
if name is None:
|
|
233
|
-
name = "terraform-example"
|
|
234
|
-
default = alicloud.get_zones(available_resource_creation="VSwitch")
|
|
235
|
-
defaultrple4a = alicloud.vpc.Network("defaultrple4a", cidr_block="192.168.0.0/16")
|
|
236
|
-
defaultn_yw_skl = alicloud.vpc.Switch("defaultnYWSkl",
|
|
237
|
-
vpc_id=defaultrple4a.id,
|
|
238
|
-
zone_id="cn-beijing-h",
|
|
239
|
-
cidr_block="192.168.1.0/24")
|
|
240
|
-
default_z7_d_pg_b = alicloud.gpdb.Instance("defaultZ7DPgB",
|
|
241
|
-
instance_spec="2C8G",
|
|
242
|
-
description=name,
|
|
243
|
-
seg_node_num=2,
|
|
244
|
-
seg_storage_type="cloud_essd",
|
|
245
|
-
instance_network_type="VPC",
|
|
246
|
-
db_instance_category="Basic",
|
|
247
|
-
payment_type="PayAsYouGo",
|
|
248
|
-
ssl_enabled=0,
|
|
249
|
-
engine_version="6.0",
|
|
250
|
-
zone_id="cn-beijing-h",
|
|
251
|
-
vswitch_id=defaultn_yw_skl.id,
|
|
252
|
-
storage_size=50,
|
|
253
|
-
master_cu=4,
|
|
254
|
-
vpc_id=defaultrple4a.id,
|
|
255
|
-
db_instance_mode="StorageElastic",
|
|
256
|
-
engine="gpdb")
|
|
257
|
-
default_external_data_service = alicloud.gpdb.ExternalDataService("default",
|
|
258
|
-
service_name="example6",
|
|
259
|
-
db_instance_id=default_z7_d_pg_b.id,
|
|
260
|
-
service_description="example",
|
|
261
|
-
service_spec="8")
|
|
262
|
-
```
|
|
263
|
-
|
|
264
|
-
## Import
|
|
265
|
-
|
|
266
|
-
GPDB External Data Service can be imported using the id, e.g.
|
|
267
|
-
|
|
268
|
-
```sh
|
|
269
|
-
$ pulumi import alicloud:gpdb/externalDataService:ExternalDataService example <db_instance_id>:<service_id>
|
|
270
|
-
```
|
|
271
|
-
|
|
272
|
-
:param str resource_name: The name of the resource.
|
|
273
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
274
|
-
:param pulumi.Input[str] db_instance_id: Instance ID
|
|
275
|
-
:param pulumi.Input[str] service_description: Service Description
|
|
276
|
-
:param pulumi.Input[str] service_name: Service Name
|
|
277
|
-
:param pulumi.Input[str] service_spec: Service Specifications
|
|
278
|
-
"""
|
|
279
|
-
...
|
|
280
|
-
@overload
|
|
281
|
-
def __init__(__self__,
|
|
282
|
-
resource_name: str,
|
|
283
|
-
args: ExternalDataServiceArgs,
|
|
284
|
-
opts: Optional[pulumi.ResourceOptions] = None):
|
|
285
|
-
"""
|
|
286
|
-
Provides a GPDB External Data Service resource.
|
|
287
|
-
|
|
288
|
-
External Data Services.
|
|
289
|
-
|
|
290
|
-
For information about GPDB External Data Service and how to use it, see [What is External Data Service](https://www.alibabacloud.com/help/en/).
|
|
291
|
-
|
|
292
|
-
> **NOTE:** Available since v1.227.0.
|
|
293
|
-
|
|
294
|
-
## Example Usage
|
|
295
|
-
|
|
296
|
-
Basic Usage
|
|
297
|
-
|
|
298
|
-
```python
|
|
299
|
-
import pulumi
|
|
300
|
-
import pulumi_alicloud as alicloud
|
|
301
|
-
|
|
302
|
-
config = pulumi.Config()
|
|
303
|
-
name = config.get("name")
|
|
304
|
-
if name is None:
|
|
305
|
-
name = "terraform-example"
|
|
306
|
-
default = alicloud.get_zones(available_resource_creation="VSwitch")
|
|
307
|
-
defaultrple4a = alicloud.vpc.Network("defaultrple4a", cidr_block="192.168.0.0/16")
|
|
308
|
-
defaultn_yw_skl = alicloud.vpc.Switch("defaultnYWSkl",
|
|
309
|
-
vpc_id=defaultrple4a.id,
|
|
310
|
-
zone_id="cn-beijing-h",
|
|
311
|
-
cidr_block="192.168.1.0/24")
|
|
312
|
-
default_z7_d_pg_b = alicloud.gpdb.Instance("defaultZ7DPgB",
|
|
313
|
-
instance_spec="2C8G",
|
|
314
|
-
description=name,
|
|
315
|
-
seg_node_num=2,
|
|
316
|
-
seg_storage_type="cloud_essd",
|
|
317
|
-
instance_network_type="VPC",
|
|
318
|
-
db_instance_category="Basic",
|
|
319
|
-
payment_type="PayAsYouGo",
|
|
320
|
-
ssl_enabled=0,
|
|
321
|
-
engine_version="6.0",
|
|
322
|
-
zone_id="cn-beijing-h",
|
|
323
|
-
vswitch_id=defaultn_yw_skl.id,
|
|
324
|
-
storage_size=50,
|
|
325
|
-
master_cu=4,
|
|
326
|
-
vpc_id=defaultrple4a.id,
|
|
327
|
-
db_instance_mode="StorageElastic",
|
|
328
|
-
engine="gpdb")
|
|
329
|
-
default_external_data_service = alicloud.gpdb.ExternalDataService("default",
|
|
330
|
-
service_name="example6",
|
|
331
|
-
db_instance_id=default_z7_d_pg_b.id,
|
|
332
|
-
service_description="example",
|
|
333
|
-
service_spec="8")
|
|
334
|
-
```
|
|
335
|
-
|
|
336
|
-
## Import
|
|
337
|
-
|
|
338
|
-
GPDB External Data Service can be imported using the id, e.g.
|
|
339
|
-
|
|
340
|
-
```sh
|
|
341
|
-
$ pulumi import alicloud:gpdb/externalDataService:ExternalDataService example <db_instance_id>:<service_id>
|
|
342
|
-
```
|
|
343
|
-
|
|
344
|
-
:param str resource_name: The name of the resource.
|
|
345
|
-
:param ExternalDataServiceArgs args: The arguments to use to populate this resource's properties.
|
|
346
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
347
|
-
"""
|
|
348
|
-
...
|
|
349
|
-
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
350
|
-
resource_args, opts = _utilities.get_resource_args_opts(ExternalDataServiceArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
351
|
-
if resource_args is not None:
|
|
352
|
-
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
353
|
-
else:
|
|
354
|
-
__self__._internal_init(resource_name, *args, **kwargs)
|
|
355
|
-
|
|
356
|
-
def _internal_init(__self__,
|
|
357
|
-
resource_name: str,
|
|
358
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
|
359
|
-
db_instance_id: Optional[pulumi.Input[str]] = None,
|
|
360
|
-
service_description: Optional[pulumi.Input[str]] = None,
|
|
361
|
-
service_name: Optional[pulumi.Input[str]] = None,
|
|
362
|
-
service_spec: Optional[pulumi.Input[str]] = None,
|
|
363
|
-
__props__=None):
|
|
364
|
-
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
365
|
-
if not isinstance(opts, pulumi.ResourceOptions):
|
|
366
|
-
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
367
|
-
if opts.id is None:
|
|
368
|
-
if __props__ is not None:
|
|
369
|
-
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
370
|
-
__props__ = ExternalDataServiceArgs.__new__(ExternalDataServiceArgs)
|
|
371
|
-
|
|
372
|
-
if db_instance_id is None and not opts.urn:
|
|
373
|
-
raise TypeError("Missing required property 'db_instance_id'")
|
|
374
|
-
__props__.__dict__["db_instance_id"] = db_instance_id
|
|
375
|
-
__props__.__dict__["service_description"] = service_description
|
|
376
|
-
if service_name is None and not opts.urn:
|
|
377
|
-
raise TypeError("Missing required property 'service_name'")
|
|
378
|
-
__props__.__dict__["service_name"] = service_name
|
|
379
|
-
if service_spec is None and not opts.urn:
|
|
380
|
-
raise TypeError("Missing required property 'service_spec'")
|
|
381
|
-
__props__.__dict__["service_spec"] = service_spec
|
|
382
|
-
__props__.__dict__["create_time"] = None
|
|
383
|
-
__props__.__dict__["service_id"] = None
|
|
384
|
-
__props__.__dict__["status"] = None
|
|
385
|
-
super(ExternalDataService, __self__).__init__(
|
|
386
|
-
'alicloud:gpdb/externalDataService:ExternalDataService',
|
|
387
|
-
resource_name,
|
|
388
|
-
__props__,
|
|
389
|
-
opts)
|
|
390
|
-
|
|
391
|
-
@staticmethod
|
|
392
|
-
def get(resource_name: str,
|
|
393
|
-
id: pulumi.Input[str],
|
|
394
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
|
395
|
-
create_time: Optional[pulumi.Input[str]] = None,
|
|
396
|
-
db_instance_id: Optional[pulumi.Input[str]] = None,
|
|
397
|
-
service_description: Optional[pulumi.Input[str]] = None,
|
|
398
|
-
service_id: Optional[pulumi.Input[int]] = None,
|
|
399
|
-
service_name: Optional[pulumi.Input[str]] = None,
|
|
400
|
-
service_spec: Optional[pulumi.Input[str]] = None,
|
|
401
|
-
status: Optional[pulumi.Input[str]] = None) -> 'ExternalDataService':
|
|
402
|
-
"""
|
|
403
|
-
Get an existing ExternalDataService resource's state with the given name, id, and optional extra
|
|
404
|
-
properties used to qualify the lookup.
|
|
405
|
-
|
|
406
|
-
:param str resource_name: The unique name of the resulting resource.
|
|
407
|
-
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
408
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
409
|
-
:param pulumi.Input[str] create_time: The creation time of the resource
|
|
410
|
-
:param pulumi.Input[str] db_instance_id: Instance ID
|
|
411
|
-
:param pulumi.Input[str] service_description: Service Description
|
|
412
|
-
:param pulumi.Input[int] service_id: Service ID
|
|
413
|
-
:param pulumi.Input[str] service_name: Service Name
|
|
414
|
-
:param pulumi.Input[str] service_spec: Service Specifications
|
|
415
|
-
:param pulumi.Input[str] status: The status of the resource
|
|
416
|
-
"""
|
|
417
|
-
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
418
|
-
|
|
419
|
-
__props__ = _ExternalDataServiceState.__new__(_ExternalDataServiceState)
|
|
420
|
-
|
|
421
|
-
__props__.__dict__["create_time"] = create_time
|
|
422
|
-
__props__.__dict__["db_instance_id"] = db_instance_id
|
|
423
|
-
__props__.__dict__["service_description"] = service_description
|
|
424
|
-
__props__.__dict__["service_id"] = service_id
|
|
425
|
-
__props__.__dict__["service_name"] = service_name
|
|
426
|
-
__props__.__dict__["service_spec"] = service_spec
|
|
427
|
-
__props__.__dict__["status"] = status
|
|
428
|
-
return ExternalDataService(resource_name, opts=opts, __props__=__props__)
|
|
429
|
-
|
|
430
|
-
@property
|
|
431
|
-
@pulumi.getter(name="createTime")
|
|
432
|
-
def create_time(self) -> pulumi.Output[str]:
|
|
433
|
-
"""
|
|
434
|
-
The creation time of the resource
|
|
435
|
-
"""
|
|
436
|
-
return pulumi.get(self, "create_time")
|
|
437
|
-
|
|
438
|
-
@property
|
|
439
|
-
@pulumi.getter(name="dbInstanceId")
|
|
440
|
-
def db_instance_id(self) -> pulumi.Output[str]:
|
|
441
|
-
"""
|
|
442
|
-
Instance ID
|
|
443
|
-
"""
|
|
444
|
-
return pulumi.get(self, "db_instance_id")
|
|
445
|
-
|
|
446
|
-
@property
|
|
447
|
-
@pulumi.getter(name="serviceDescription")
|
|
448
|
-
def service_description(self) -> pulumi.Output[Optional[str]]:
|
|
449
|
-
"""
|
|
450
|
-
Service Description
|
|
451
|
-
"""
|
|
452
|
-
return pulumi.get(self, "service_description")
|
|
453
|
-
|
|
454
|
-
@property
|
|
455
|
-
@pulumi.getter(name="serviceId")
|
|
456
|
-
def service_id(self) -> pulumi.Output[int]:
|
|
457
|
-
"""
|
|
458
|
-
Service ID
|
|
459
|
-
"""
|
|
460
|
-
return pulumi.get(self, "service_id")
|
|
461
|
-
|
|
462
|
-
@property
|
|
463
|
-
@pulumi.getter(name="serviceName")
|
|
464
|
-
def service_name(self) -> pulumi.Output[str]:
|
|
465
|
-
"""
|
|
466
|
-
Service Name
|
|
467
|
-
"""
|
|
468
|
-
return pulumi.get(self, "service_name")
|
|
469
|
-
|
|
470
|
-
@property
|
|
471
|
-
@pulumi.getter(name="serviceSpec")
|
|
472
|
-
def service_spec(self) -> pulumi.Output[str]:
|
|
473
|
-
"""
|
|
474
|
-
Service Specifications
|
|
475
|
-
"""
|
|
476
|
-
return pulumi.get(self, "service_spec")
|
|
477
|
-
|
|
478
|
-
@property
|
|
479
|
-
@pulumi.getter
|
|
480
|
-
def status(self) -> pulumi.Output[str]:
|
|
481
|
-
"""
|
|
482
|
-
The status of the resource
|
|
483
|
-
"""
|
|
484
|
-
return pulumi.get(self, "status")
|
|
485
|
-
|