pulumi-alicloud 3.71.0__py3-none-any.whl → 3.71.0a1735017309__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 -8
- pulumi_alicloud/ecs/ecs_snapshot.py +9 -65
- pulumi_alicloud/ecs/get_instance_types.py +1 -1
- pulumi_alicloud/ecs/outputs.py +1 -78
- pulumi_alicloud/ecs/security_group.py +81 -161
- pulumi_alicloud/ecs/snapshot.py +0 -40
- pulumi_alicloud/eds/ram_directory.py +0 -4
- pulumi_alicloud/expressconnect/__init__.py +0 -1
- pulumi_alicloud/kvstore/backup_policy.py +24 -32
- pulumi_alicloud/polardb/cluster.py +0 -47
- pulumi_alicloud/privatelink/vpc_endpoint.py +69 -143
- pulumi_alicloud/privatelink/vpc_endpoint_service.py +0 -47
- pulumi_alicloud/privatelink/vpc_endpoint_service_resource.py +2 -2
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/redis/tair_instance.py +0 -47
- {pulumi_alicloud-3.71.0.dist-info → pulumi_alicloud-3.71.0a1735017309.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.71.0.dist-info → pulumi_alicloud-3.71.0a1735017309.dist-info}/RECORD +19 -20
- pulumi_alicloud/expressconnect/router_grant_association.py +0 -477
- {pulumi_alicloud-3.71.0.dist-info → pulumi_alicloud-3.71.0a1735017309.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.71.0.dist-info → pulumi_alicloud-3.71.0a1735017309.dist-info}/top_level.txt +0 -0
|
@@ -1,477 +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__ = ['RouterGrantAssociationArgs', 'RouterGrantAssociation']
|
|
18
|
-
|
|
19
|
-
@pulumi.input_type
|
|
20
|
-
class RouterGrantAssociationArgs:
|
|
21
|
-
def __init__(__self__, *,
|
|
22
|
-
ecr_id: pulumi.Input[str],
|
|
23
|
-
ecr_owner_ali_uid: pulumi.Input[int],
|
|
24
|
-
instance_id: pulumi.Input[str],
|
|
25
|
-
instance_region_id: pulumi.Input[str],
|
|
26
|
-
instance_type: pulumi.Input[str]):
|
|
27
|
-
"""
|
|
28
|
-
The set of arguments for constructing a RouterGrantAssociation resource.
|
|
29
|
-
:param pulumi.Input[str] ecr_id: The ID of the associated Leased Line Gateway instance.
|
|
30
|
-
:param pulumi.Input[int] ecr_owner_ali_uid: The ID of the Alibaba Cloud account (primary account) to which the leased line gateway instance is authorized.
|
|
31
|
-
:param pulumi.Input[str] instance_id: The ID of the network instance.
|
|
32
|
-
:param pulumi.Input[str] instance_region_id: The ID of the region where the authorized network instance is located.
|
|
33
|
-
:param pulumi.Input[str] instance_type: The type of the network instance. Value:
|
|
34
|
-
- `VBR`: the VBR instance.
|
|
35
|
-
- `VPC`: VPC instance.
|
|
36
|
-
"""
|
|
37
|
-
pulumi.set(__self__, "ecr_id", ecr_id)
|
|
38
|
-
pulumi.set(__self__, "ecr_owner_ali_uid", ecr_owner_ali_uid)
|
|
39
|
-
pulumi.set(__self__, "instance_id", instance_id)
|
|
40
|
-
pulumi.set(__self__, "instance_region_id", instance_region_id)
|
|
41
|
-
pulumi.set(__self__, "instance_type", instance_type)
|
|
42
|
-
|
|
43
|
-
@property
|
|
44
|
-
@pulumi.getter(name="ecrId")
|
|
45
|
-
def ecr_id(self) -> pulumi.Input[str]:
|
|
46
|
-
"""
|
|
47
|
-
The ID of the associated Leased Line Gateway instance.
|
|
48
|
-
"""
|
|
49
|
-
return pulumi.get(self, "ecr_id")
|
|
50
|
-
|
|
51
|
-
@ecr_id.setter
|
|
52
|
-
def ecr_id(self, value: pulumi.Input[str]):
|
|
53
|
-
pulumi.set(self, "ecr_id", value)
|
|
54
|
-
|
|
55
|
-
@property
|
|
56
|
-
@pulumi.getter(name="ecrOwnerAliUid")
|
|
57
|
-
def ecr_owner_ali_uid(self) -> pulumi.Input[int]:
|
|
58
|
-
"""
|
|
59
|
-
The ID of the Alibaba Cloud account (primary account) to which the leased line gateway instance is authorized.
|
|
60
|
-
"""
|
|
61
|
-
return pulumi.get(self, "ecr_owner_ali_uid")
|
|
62
|
-
|
|
63
|
-
@ecr_owner_ali_uid.setter
|
|
64
|
-
def ecr_owner_ali_uid(self, value: pulumi.Input[int]):
|
|
65
|
-
pulumi.set(self, "ecr_owner_ali_uid", value)
|
|
66
|
-
|
|
67
|
-
@property
|
|
68
|
-
@pulumi.getter(name="instanceId")
|
|
69
|
-
def instance_id(self) -> pulumi.Input[str]:
|
|
70
|
-
"""
|
|
71
|
-
The ID of the network instance.
|
|
72
|
-
"""
|
|
73
|
-
return pulumi.get(self, "instance_id")
|
|
74
|
-
|
|
75
|
-
@instance_id.setter
|
|
76
|
-
def instance_id(self, value: pulumi.Input[str]):
|
|
77
|
-
pulumi.set(self, "instance_id", value)
|
|
78
|
-
|
|
79
|
-
@property
|
|
80
|
-
@pulumi.getter(name="instanceRegionId")
|
|
81
|
-
def instance_region_id(self) -> pulumi.Input[str]:
|
|
82
|
-
"""
|
|
83
|
-
The ID of the region where the authorized network instance is located.
|
|
84
|
-
"""
|
|
85
|
-
return pulumi.get(self, "instance_region_id")
|
|
86
|
-
|
|
87
|
-
@instance_region_id.setter
|
|
88
|
-
def instance_region_id(self, value: pulumi.Input[str]):
|
|
89
|
-
pulumi.set(self, "instance_region_id", value)
|
|
90
|
-
|
|
91
|
-
@property
|
|
92
|
-
@pulumi.getter(name="instanceType")
|
|
93
|
-
def instance_type(self) -> pulumi.Input[str]:
|
|
94
|
-
"""
|
|
95
|
-
The type of the network instance. Value:
|
|
96
|
-
- `VBR`: the VBR instance.
|
|
97
|
-
- `VPC`: VPC instance.
|
|
98
|
-
"""
|
|
99
|
-
return pulumi.get(self, "instance_type")
|
|
100
|
-
|
|
101
|
-
@instance_type.setter
|
|
102
|
-
def instance_type(self, value: pulumi.Input[str]):
|
|
103
|
-
pulumi.set(self, "instance_type", value)
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
@pulumi.input_type
|
|
107
|
-
class _RouterGrantAssociationState:
|
|
108
|
-
def __init__(__self__, *,
|
|
109
|
-
ecr_id: Optional[pulumi.Input[str]] = None,
|
|
110
|
-
ecr_owner_ali_uid: Optional[pulumi.Input[int]] = None,
|
|
111
|
-
instance_id: Optional[pulumi.Input[str]] = None,
|
|
112
|
-
instance_region_id: Optional[pulumi.Input[str]] = None,
|
|
113
|
-
instance_type: Optional[pulumi.Input[str]] = None,
|
|
114
|
-
status: Optional[pulumi.Input[str]] = None):
|
|
115
|
-
"""
|
|
116
|
-
Input properties used for looking up and filtering RouterGrantAssociation resources.
|
|
117
|
-
:param pulumi.Input[str] ecr_id: The ID of the associated Leased Line Gateway instance.
|
|
118
|
-
:param pulumi.Input[int] ecr_owner_ali_uid: The ID of the Alibaba Cloud account (primary account) to which the leased line gateway instance is authorized.
|
|
119
|
-
:param pulumi.Input[str] instance_id: The ID of the network instance.
|
|
120
|
-
:param pulumi.Input[str] instance_region_id: The ID of the region where the authorized network instance is located.
|
|
121
|
-
:param pulumi.Input[str] instance_type: The type of the network instance. Value:
|
|
122
|
-
- `VBR`: the VBR instance.
|
|
123
|
-
- `VPC`: VPC instance.
|
|
124
|
-
:param pulumi.Input[str] status: The status of the resource
|
|
125
|
-
"""
|
|
126
|
-
if ecr_id is not None:
|
|
127
|
-
pulumi.set(__self__, "ecr_id", ecr_id)
|
|
128
|
-
if ecr_owner_ali_uid is not None:
|
|
129
|
-
pulumi.set(__self__, "ecr_owner_ali_uid", ecr_owner_ali_uid)
|
|
130
|
-
if instance_id is not None:
|
|
131
|
-
pulumi.set(__self__, "instance_id", instance_id)
|
|
132
|
-
if instance_region_id is not None:
|
|
133
|
-
pulumi.set(__self__, "instance_region_id", instance_region_id)
|
|
134
|
-
if instance_type is not None:
|
|
135
|
-
pulumi.set(__self__, "instance_type", instance_type)
|
|
136
|
-
if status is not None:
|
|
137
|
-
pulumi.set(__self__, "status", status)
|
|
138
|
-
|
|
139
|
-
@property
|
|
140
|
-
@pulumi.getter(name="ecrId")
|
|
141
|
-
def ecr_id(self) -> Optional[pulumi.Input[str]]:
|
|
142
|
-
"""
|
|
143
|
-
The ID of the associated Leased Line Gateway instance.
|
|
144
|
-
"""
|
|
145
|
-
return pulumi.get(self, "ecr_id")
|
|
146
|
-
|
|
147
|
-
@ecr_id.setter
|
|
148
|
-
def ecr_id(self, value: Optional[pulumi.Input[str]]):
|
|
149
|
-
pulumi.set(self, "ecr_id", value)
|
|
150
|
-
|
|
151
|
-
@property
|
|
152
|
-
@pulumi.getter(name="ecrOwnerAliUid")
|
|
153
|
-
def ecr_owner_ali_uid(self) -> Optional[pulumi.Input[int]]:
|
|
154
|
-
"""
|
|
155
|
-
The ID of the Alibaba Cloud account (primary account) to which the leased line gateway instance is authorized.
|
|
156
|
-
"""
|
|
157
|
-
return pulumi.get(self, "ecr_owner_ali_uid")
|
|
158
|
-
|
|
159
|
-
@ecr_owner_ali_uid.setter
|
|
160
|
-
def ecr_owner_ali_uid(self, value: Optional[pulumi.Input[int]]):
|
|
161
|
-
pulumi.set(self, "ecr_owner_ali_uid", value)
|
|
162
|
-
|
|
163
|
-
@property
|
|
164
|
-
@pulumi.getter(name="instanceId")
|
|
165
|
-
def instance_id(self) -> Optional[pulumi.Input[str]]:
|
|
166
|
-
"""
|
|
167
|
-
The ID of the network instance.
|
|
168
|
-
"""
|
|
169
|
-
return pulumi.get(self, "instance_id")
|
|
170
|
-
|
|
171
|
-
@instance_id.setter
|
|
172
|
-
def instance_id(self, value: Optional[pulumi.Input[str]]):
|
|
173
|
-
pulumi.set(self, "instance_id", value)
|
|
174
|
-
|
|
175
|
-
@property
|
|
176
|
-
@pulumi.getter(name="instanceRegionId")
|
|
177
|
-
def instance_region_id(self) -> Optional[pulumi.Input[str]]:
|
|
178
|
-
"""
|
|
179
|
-
The ID of the region where the authorized network instance is located.
|
|
180
|
-
"""
|
|
181
|
-
return pulumi.get(self, "instance_region_id")
|
|
182
|
-
|
|
183
|
-
@instance_region_id.setter
|
|
184
|
-
def instance_region_id(self, value: Optional[pulumi.Input[str]]):
|
|
185
|
-
pulumi.set(self, "instance_region_id", value)
|
|
186
|
-
|
|
187
|
-
@property
|
|
188
|
-
@pulumi.getter(name="instanceType")
|
|
189
|
-
def instance_type(self) -> Optional[pulumi.Input[str]]:
|
|
190
|
-
"""
|
|
191
|
-
The type of the network instance. Value:
|
|
192
|
-
- `VBR`: the VBR instance.
|
|
193
|
-
- `VPC`: VPC instance.
|
|
194
|
-
"""
|
|
195
|
-
return pulumi.get(self, "instance_type")
|
|
196
|
-
|
|
197
|
-
@instance_type.setter
|
|
198
|
-
def instance_type(self, value: Optional[pulumi.Input[str]]):
|
|
199
|
-
pulumi.set(self, "instance_type", value)
|
|
200
|
-
|
|
201
|
-
@property
|
|
202
|
-
@pulumi.getter
|
|
203
|
-
def status(self) -> Optional[pulumi.Input[str]]:
|
|
204
|
-
"""
|
|
205
|
-
The status of the resource
|
|
206
|
-
"""
|
|
207
|
-
return pulumi.get(self, "status")
|
|
208
|
-
|
|
209
|
-
@status.setter
|
|
210
|
-
def status(self, value: Optional[pulumi.Input[str]]):
|
|
211
|
-
pulumi.set(self, "status", value)
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
class RouterGrantAssociation(pulumi.CustomResource):
|
|
215
|
-
@overload
|
|
216
|
-
def __init__(__self__,
|
|
217
|
-
resource_name: str,
|
|
218
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
|
219
|
-
ecr_id: Optional[pulumi.Input[str]] = None,
|
|
220
|
-
ecr_owner_ali_uid: Optional[pulumi.Input[int]] = None,
|
|
221
|
-
instance_id: Optional[pulumi.Input[str]] = None,
|
|
222
|
-
instance_region_id: Optional[pulumi.Input[str]] = None,
|
|
223
|
-
instance_type: Optional[pulumi.Input[str]] = None,
|
|
224
|
-
__props__=None):
|
|
225
|
-
"""
|
|
226
|
-
Provides a Express Connect Router Grant Association resource.
|
|
227
|
-
|
|
228
|
-
Network instances authorized to the leased line Gateway.
|
|
229
|
-
|
|
230
|
-
For information about Express Connect Router Grant Association and how to use it, see [What is Grant Association](https://www.alibabacloud.com/help/en/).
|
|
231
|
-
|
|
232
|
-
> **NOTE:** Available since v1.239.0.
|
|
233
|
-
|
|
234
|
-
## Example Usage
|
|
235
|
-
|
|
236
|
-
Basic Usage
|
|
237
|
-
|
|
238
|
-
```python
|
|
239
|
-
import pulumi
|
|
240
|
-
import pulumi_alicloud as alicloud
|
|
241
|
-
|
|
242
|
-
config = pulumi.Config()
|
|
243
|
-
name = config.get("name")
|
|
244
|
-
if name is None:
|
|
245
|
-
name = "terraform-example"
|
|
246
|
-
vpc_id = config.get("vpcId")
|
|
247
|
-
if vpc_id is None:
|
|
248
|
-
vpc_id = "vpc-xxx"
|
|
249
|
-
ecr_owner_uid = config.get("ecrOwnerUid")
|
|
250
|
-
if ecr_owner_uid is None:
|
|
251
|
-
ecr_owner_uid = "18xxx"
|
|
252
|
-
ecr_id = config.get("ecrId")
|
|
253
|
-
if ecr_id is None:
|
|
254
|
-
ecr_id = "ecr-xxx"
|
|
255
|
-
region = config.get("region")
|
|
256
|
-
if region is None:
|
|
257
|
-
region = "cn-hangzhou"
|
|
258
|
-
default = alicloud.expressconnect.RouterGrantAssociation("default",
|
|
259
|
-
ecr_id=ecr_id,
|
|
260
|
-
instance_region_id=region,
|
|
261
|
-
instance_id=vpc_id,
|
|
262
|
-
ecr_owner_ali_uid=ecr_owner_uid,
|
|
263
|
-
instance_type="VPC")
|
|
264
|
-
```
|
|
265
|
-
|
|
266
|
-
## Import
|
|
267
|
-
|
|
268
|
-
Express Connect Router Grant Association can be imported using the id, e.g.
|
|
269
|
-
|
|
270
|
-
```sh
|
|
271
|
-
$ pulumi import alicloud:expressconnect/routerGrantAssociation:RouterGrantAssociation example <ecr_id>:<instance_id>:<instance_region_id>:<ecr_owner_ali_uid>:<instance_type>
|
|
272
|
-
```
|
|
273
|
-
|
|
274
|
-
:param str resource_name: The name of the resource.
|
|
275
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
276
|
-
:param pulumi.Input[str] ecr_id: The ID of the associated Leased Line Gateway instance.
|
|
277
|
-
:param pulumi.Input[int] ecr_owner_ali_uid: The ID of the Alibaba Cloud account (primary account) to which the leased line gateway instance is authorized.
|
|
278
|
-
:param pulumi.Input[str] instance_id: The ID of the network instance.
|
|
279
|
-
:param pulumi.Input[str] instance_region_id: The ID of the region where the authorized network instance is located.
|
|
280
|
-
:param pulumi.Input[str] instance_type: The type of the network instance. Value:
|
|
281
|
-
- `VBR`: the VBR instance.
|
|
282
|
-
- `VPC`: VPC instance.
|
|
283
|
-
"""
|
|
284
|
-
...
|
|
285
|
-
@overload
|
|
286
|
-
def __init__(__self__,
|
|
287
|
-
resource_name: str,
|
|
288
|
-
args: RouterGrantAssociationArgs,
|
|
289
|
-
opts: Optional[pulumi.ResourceOptions] = None):
|
|
290
|
-
"""
|
|
291
|
-
Provides a Express Connect Router Grant Association resource.
|
|
292
|
-
|
|
293
|
-
Network instances authorized to the leased line Gateway.
|
|
294
|
-
|
|
295
|
-
For information about Express Connect Router Grant Association and how to use it, see [What is Grant Association](https://www.alibabacloud.com/help/en/).
|
|
296
|
-
|
|
297
|
-
> **NOTE:** Available since v1.239.0.
|
|
298
|
-
|
|
299
|
-
## Example Usage
|
|
300
|
-
|
|
301
|
-
Basic Usage
|
|
302
|
-
|
|
303
|
-
```python
|
|
304
|
-
import pulumi
|
|
305
|
-
import pulumi_alicloud as alicloud
|
|
306
|
-
|
|
307
|
-
config = pulumi.Config()
|
|
308
|
-
name = config.get("name")
|
|
309
|
-
if name is None:
|
|
310
|
-
name = "terraform-example"
|
|
311
|
-
vpc_id = config.get("vpcId")
|
|
312
|
-
if vpc_id is None:
|
|
313
|
-
vpc_id = "vpc-xxx"
|
|
314
|
-
ecr_owner_uid = config.get("ecrOwnerUid")
|
|
315
|
-
if ecr_owner_uid is None:
|
|
316
|
-
ecr_owner_uid = "18xxx"
|
|
317
|
-
ecr_id = config.get("ecrId")
|
|
318
|
-
if ecr_id is None:
|
|
319
|
-
ecr_id = "ecr-xxx"
|
|
320
|
-
region = config.get("region")
|
|
321
|
-
if region is None:
|
|
322
|
-
region = "cn-hangzhou"
|
|
323
|
-
default = alicloud.expressconnect.RouterGrantAssociation("default",
|
|
324
|
-
ecr_id=ecr_id,
|
|
325
|
-
instance_region_id=region,
|
|
326
|
-
instance_id=vpc_id,
|
|
327
|
-
ecr_owner_ali_uid=ecr_owner_uid,
|
|
328
|
-
instance_type="VPC")
|
|
329
|
-
```
|
|
330
|
-
|
|
331
|
-
## Import
|
|
332
|
-
|
|
333
|
-
Express Connect Router Grant Association can be imported using the id, e.g.
|
|
334
|
-
|
|
335
|
-
```sh
|
|
336
|
-
$ pulumi import alicloud:expressconnect/routerGrantAssociation:RouterGrantAssociation example <ecr_id>:<instance_id>:<instance_region_id>:<ecr_owner_ali_uid>:<instance_type>
|
|
337
|
-
```
|
|
338
|
-
|
|
339
|
-
:param str resource_name: The name of the resource.
|
|
340
|
-
:param RouterGrantAssociationArgs args: The arguments to use to populate this resource's properties.
|
|
341
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
342
|
-
"""
|
|
343
|
-
...
|
|
344
|
-
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
345
|
-
resource_args, opts = _utilities.get_resource_args_opts(RouterGrantAssociationArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
346
|
-
if resource_args is not None:
|
|
347
|
-
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
348
|
-
else:
|
|
349
|
-
__self__._internal_init(resource_name, *args, **kwargs)
|
|
350
|
-
|
|
351
|
-
def _internal_init(__self__,
|
|
352
|
-
resource_name: str,
|
|
353
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
|
354
|
-
ecr_id: Optional[pulumi.Input[str]] = None,
|
|
355
|
-
ecr_owner_ali_uid: Optional[pulumi.Input[int]] = None,
|
|
356
|
-
instance_id: Optional[pulumi.Input[str]] = None,
|
|
357
|
-
instance_region_id: Optional[pulumi.Input[str]] = None,
|
|
358
|
-
instance_type: Optional[pulumi.Input[str]] = None,
|
|
359
|
-
__props__=None):
|
|
360
|
-
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
361
|
-
if not isinstance(opts, pulumi.ResourceOptions):
|
|
362
|
-
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
363
|
-
if opts.id is None:
|
|
364
|
-
if __props__ is not None:
|
|
365
|
-
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
366
|
-
__props__ = RouterGrantAssociationArgs.__new__(RouterGrantAssociationArgs)
|
|
367
|
-
|
|
368
|
-
if ecr_id is None and not opts.urn:
|
|
369
|
-
raise TypeError("Missing required property 'ecr_id'")
|
|
370
|
-
__props__.__dict__["ecr_id"] = ecr_id
|
|
371
|
-
if ecr_owner_ali_uid is None and not opts.urn:
|
|
372
|
-
raise TypeError("Missing required property 'ecr_owner_ali_uid'")
|
|
373
|
-
__props__.__dict__["ecr_owner_ali_uid"] = ecr_owner_ali_uid
|
|
374
|
-
if instance_id is None and not opts.urn:
|
|
375
|
-
raise TypeError("Missing required property 'instance_id'")
|
|
376
|
-
__props__.__dict__["instance_id"] = instance_id
|
|
377
|
-
if instance_region_id is None and not opts.urn:
|
|
378
|
-
raise TypeError("Missing required property 'instance_region_id'")
|
|
379
|
-
__props__.__dict__["instance_region_id"] = instance_region_id
|
|
380
|
-
if instance_type is None and not opts.urn:
|
|
381
|
-
raise TypeError("Missing required property 'instance_type'")
|
|
382
|
-
__props__.__dict__["instance_type"] = instance_type
|
|
383
|
-
__props__.__dict__["status"] = None
|
|
384
|
-
super(RouterGrantAssociation, __self__).__init__(
|
|
385
|
-
'alicloud:expressconnect/routerGrantAssociation:RouterGrantAssociation',
|
|
386
|
-
resource_name,
|
|
387
|
-
__props__,
|
|
388
|
-
opts)
|
|
389
|
-
|
|
390
|
-
@staticmethod
|
|
391
|
-
def get(resource_name: str,
|
|
392
|
-
id: pulumi.Input[str],
|
|
393
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
|
394
|
-
ecr_id: Optional[pulumi.Input[str]] = None,
|
|
395
|
-
ecr_owner_ali_uid: Optional[pulumi.Input[int]] = None,
|
|
396
|
-
instance_id: Optional[pulumi.Input[str]] = None,
|
|
397
|
-
instance_region_id: Optional[pulumi.Input[str]] = None,
|
|
398
|
-
instance_type: Optional[pulumi.Input[str]] = None,
|
|
399
|
-
status: Optional[pulumi.Input[str]] = None) -> 'RouterGrantAssociation':
|
|
400
|
-
"""
|
|
401
|
-
Get an existing RouterGrantAssociation resource's state with the given name, id, and optional extra
|
|
402
|
-
properties used to qualify the lookup.
|
|
403
|
-
|
|
404
|
-
:param str resource_name: The unique name of the resulting resource.
|
|
405
|
-
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
406
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
407
|
-
:param pulumi.Input[str] ecr_id: The ID of the associated Leased Line Gateway instance.
|
|
408
|
-
:param pulumi.Input[int] ecr_owner_ali_uid: The ID of the Alibaba Cloud account (primary account) to which the leased line gateway instance is authorized.
|
|
409
|
-
:param pulumi.Input[str] instance_id: The ID of the network instance.
|
|
410
|
-
:param pulumi.Input[str] instance_region_id: The ID of the region where the authorized network instance is located.
|
|
411
|
-
:param pulumi.Input[str] instance_type: The type of the network instance. Value:
|
|
412
|
-
- `VBR`: the VBR instance.
|
|
413
|
-
- `VPC`: VPC instance.
|
|
414
|
-
:param pulumi.Input[str] status: The status of the resource
|
|
415
|
-
"""
|
|
416
|
-
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
417
|
-
|
|
418
|
-
__props__ = _RouterGrantAssociationState.__new__(_RouterGrantAssociationState)
|
|
419
|
-
|
|
420
|
-
__props__.__dict__["ecr_id"] = ecr_id
|
|
421
|
-
__props__.__dict__["ecr_owner_ali_uid"] = ecr_owner_ali_uid
|
|
422
|
-
__props__.__dict__["instance_id"] = instance_id
|
|
423
|
-
__props__.__dict__["instance_region_id"] = instance_region_id
|
|
424
|
-
__props__.__dict__["instance_type"] = instance_type
|
|
425
|
-
__props__.__dict__["status"] = status
|
|
426
|
-
return RouterGrantAssociation(resource_name, opts=opts, __props__=__props__)
|
|
427
|
-
|
|
428
|
-
@property
|
|
429
|
-
@pulumi.getter(name="ecrId")
|
|
430
|
-
def ecr_id(self) -> pulumi.Output[str]:
|
|
431
|
-
"""
|
|
432
|
-
The ID of the associated Leased Line Gateway instance.
|
|
433
|
-
"""
|
|
434
|
-
return pulumi.get(self, "ecr_id")
|
|
435
|
-
|
|
436
|
-
@property
|
|
437
|
-
@pulumi.getter(name="ecrOwnerAliUid")
|
|
438
|
-
def ecr_owner_ali_uid(self) -> pulumi.Output[int]:
|
|
439
|
-
"""
|
|
440
|
-
The ID of the Alibaba Cloud account (primary account) to which the leased line gateway instance is authorized.
|
|
441
|
-
"""
|
|
442
|
-
return pulumi.get(self, "ecr_owner_ali_uid")
|
|
443
|
-
|
|
444
|
-
@property
|
|
445
|
-
@pulumi.getter(name="instanceId")
|
|
446
|
-
def instance_id(self) -> pulumi.Output[str]:
|
|
447
|
-
"""
|
|
448
|
-
The ID of the network instance.
|
|
449
|
-
"""
|
|
450
|
-
return pulumi.get(self, "instance_id")
|
|
451
|
-
|
|
452
|
-
@property
|
|
453
|
-
@pulumi.getter(name="instanceRegionId")
|
|
454
|
-
def instance_region_id(self) -> pulumi.Output[str]:
|
|
455
|
-
"""
|
|
456
|
-
The ID of the region where the authorized network instance is located.
|
|
457
|
-
"""
|
|
458
|
-
return pulumi.get(self, "instance_region_id")
|
|
459
|
-
|
|
460
|
-
@property
|
|
461
|
-
@pulumi.getter(name="instanceType")
|
|
462
|
-
def instance_type(self) -> pulumi.Output[str]:
|
|
463
|
-
"""
|
|
464
|
-
The type of the network instance. Value:
|
|
465
|
-
- `VBR`: the VBR instance.
|
|
466
|
-
- `VPC`: VPC instance.
|
|
467
|
-
"""
|
|
468
|
-
return pulumi.get(self, "instance_type")
|
|
469
|
-
|
|
470
|
-
@property
|
|
471
|
-
@pulumi.getter
|
|
472
|
-
def status(self) -> pulumi.Output[str]:
|
|
473
|
-
"""
|
|
474
|
-
The status of the resource
|
|
475
|
-
"""
|
|
476
|
-
return pulumi.get(self, "status")
|
|
477
|
-
|
|
File without changes
|
{pulumi_alicloud-3.71.0.dist-info → pulumi_alicloud-3.71.0a1735017309.dist-info}/top_level.txt
RENAMED
|
File without changes
|