pulumi-alicloud 3.73.0__py3-none-any.whl → 3.73.0a1736313335__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.

Files changed (78) hide show
  1. pulumi_alicloud/__init__.py +0 -59
  2. pulumi_alicloud/alb/__init__.py +0 -1
  3. pulumi_alicloud/alb/_inputs.py +6 -6
  4. pulumi_alicloud/alb/a_script.py +98 -116
  5. pulumi_alicloud/alb/outputs.py +4 -4
  6. pulumi_alicloud/alikafka/instance.py +70 -188
  7. pulumi_alicloud/amqp/instance.py +28 -77
  8. pulumi_alicloud/bastionhost/_inputs.py +38 -40
  9. pulumi_alicloud/bastionhost/get_instances.py +22 -6
  10. pulumi_alicloud/bastionhost/outputs.py +49 -60
  11. pulumi_alicloud/cen/instance_grant.py +0 -4
  12. pulumi_alicloud/cms/_inputs.py +15 -21
  13. pulumi_alicloud/cms/alarm.py +7 -7
  14. pulumi_alicloud/cms/outputs.py +10 -14
  15. pulumi_alicloud/cs/get_edge_kubernetes_clusters.py +2 -4
  16. pulumi_alicloud/cs/get_managed_kubernetes_clusters.py +0 -2
  17. pulumi_alicloud/cs/kubernetes.py +14 -14
  18. pulumi_alicloud/cs/managed_kubernetes.py +47 -137
  19. pulumi_alicloud/dataworks/__init__.py +0 -4
  20. pulumi_alicloud/dataworks/_inputs.py +0 -1534
  21. pulumi_alicloud/dataworks/outputs.py +0 -1247
  22. pulumi_alicloud/dcdn/waf_rule.py +14 -14
  23. pulumi_alicloud/dns/get_alidns_domains.py +2 -7
  24. pulumi_alicloud/dns/outputs.py +0 -8
  25. pulumi_alicloud/ecs/ecs_launch_template.py +0 -122
  26. pulumi_alicloud/ecs/ecs_network_interface.py +14 -14
  27. pulumi_alicloud/ecs/ecs_session_manager_status.py +18 -18
  28. pulumi_alicloud/ecs/instance.py +7 -7
  29. pulumi_alicloud/ecs/launch_template.py +0 -88
  30. pulumi_alicloud/fc/custom_domain.py +2 -2
  31. pulumi_alicloud/fc/function.py +4 -32
  32. pulumi_alicloud/fc/v2_function.py +0 -20
  33. pulumi_alicloud/hbr/__init__.py +0 -1
  34. pulumi_alicloud/ims/oidc_provider.py +0 -28
  35. pulumi_alicloud/log/resource_record.py +26 -42
  36. pulumi_alicloud/message/service_queue.py +59 -106
  37. pulumi_alicloud/message/service_topic.py +37 -182
  38. pulumi_alicloud/mongodb/account.py +163 -138
  39. pulumi_alicloud/oos/secret_parameter.py +9 -84
  40. pulumi_alicloud/oss/bucket.py +1 -1
  41. pulumi_alicloud/oss/bucket_policy.py +4 -2
  42. pulumi_alicloud/oss/bucket_referer.py +4 -2
  43. pulumi_alicloud/oss/get_buckets.py +2 -16
  44. pulumi_alicloud/oss/outputs.py +17 -18
  45. pulumi_alicloud/pulumi-plugin.json +1 -1
  46. pulumi_alicloud/sae/application.py +7 -84
  47. pulumi_alicloud/sls/collection_policy.py +2 -2
  48. pulumi_alicloud/vpc/__init__.py +0 -5
  49. pulumi_alicloud/vpc/get_networks.py +0 -3
  50. pulumi_alicloud/vpc/nat_gateway.py +7 -145
  51. pulumi_alicloud/vpc/outputs.py +0 -777
  52. pulumi_alicloud/vpc/snat_entry.py +48 -107
  53. pulumi_alicloud/vpn/_inputs.py +72 -96
  54. pulumi_alicloud/vpn/connection.py +28 -24
  55. pulumi_alicloud/vpn/outputs.py +48 -64
  56. pulumi_alicloud/yundun/_inputs.py +24 -26
  57. pulumi_alicloud/yundun/outputs.py +22 -37
  58. {pulumi_alicloud-3.73.0.dist-info → pulumi_alicloud-3.73.0a1736313335.dist-info}/METADATA +2 -2
  59. {pulumi_alicloud-3.73.0.dist-info → pulumi_alicloud-3.73.0a1736313335.dist-info}/RECORD +61 -78
  60. {pulumi_alicloud-3.73.0.dist-info → pulumi_alicloud-3.73.0a1736313335.dist-info}/WHEEL +1 -1
  61. pulumi_alicloud/alb/load_balancer_access_log_config_attachment.py +0 -303
  62. pulumi_alicloud/cloudcontrol/__init__.py +0 -12
  63. pulumi_alicloud/cloudcontrol/get_prices.py +0 -199
  64. pulumi_alicloud/cloudcontrol/get_products.py +0 -187
  65. pulumi_alicloud/cloudcontrol/get_resource_types.py +0 -178
  66. pulumi_alicloud/cloudcontrol/outputs.py +0 -688
  67. pulumi_alicloud/cloudcontrol/resource.py +0 -407
  68. pulumi_alicloud/dataworks/di_alarm_rule.py +0 -708
  69. pulumi_alicloud/dataworks/di_job.py +0 -1005
  70. pulumi_alicloud/dataworks/dw_resource_group.py +0 -703
  71. pulumi_alicloud/dataworks/network.py +0 -331
  72. pulumi_alicloud/hbr/cross_account.py +0 -338
  73. pulumi_alicloud/vpc/get_ipam_ipam_pool_allocations.py +0 -295
  74. pulumi_alicloud/vpc/get_ipam_ipam_pool_cidrs.py +0 -196
  75. pulumi_alicloud/vpc/get_ipam_ipam_pools.py +0 -353
  76. pulumi_alicloud/vpc/get_ipam_ipam_scopes.py +0 -333
  77. pulumi_alicloud/vpc/get_ipam_ipams.py +0 -291
  78. {pulumi_alicloud-3.73.0.dist-info → pulumi_alicloud-3.73.0a1736313335.dist-info}/top_level.txt +0 -0
@@ -1,407 +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__ = ['ResourceArgs', 'Resource']
18
-
19
- @pulumi.input_type
20
- class ResourceArgs:
21
- def __init__(__self__, *,
22
- product: pulumi.Input[str],
23
- resource_code: pulumi.Input[str],
24
- desire_attributes: Optional[pulumi.Input[str]] = None,
25
- resource_id: Optional[pulumi.Input[str]] = None):
26
- """
27
- The set of arguments for constructing a Resource resource.
28
- :param pulumi.Input[str] product: The product Code represents the product to be operated. Currently supported products and resources can be queried at the following link: [supported-services-and-resource-types](https://help.aliyun.com/zh/cloud-control-api/product-overview/supported-services-and-resource-types).
29
- :param pulumi.Input[str] resource_code: Resource Code, if there is a parent resource, split with `::`, such as VPC::VSwitch. The supported resource Code can be obtained from the following link: [supported-services-and-resource-types](https://help.aliyun.com/zh/cloud-control-api/product-overview/supported-services-and-resource-types).
30
- :param pulumi.Input[str] desire_attributes: Resource attributes specified when a user creates or updates a resource.
31
- :param pulumi.Input[str] resource_id: If there is a parent resource, you need to enter the id of the parent resource, for example, in the VPC::VSwtich resource, you need to enter the id of the VPC: vpc-dexadfe3r4ad. If there are more than one level of parent resources, you need to use `:` to split.
32
- """
33
- pulumi.set(__self__, "product", product)
34
- pulumi.set(__self__, "resource_code", resource_code)
35
- if desire_attributes is not None:
36
- pulumi.set(__self__, "desire_attributes", desire_attributes)
37
- if resource_id is not None:
38
- pulumi.set(__self__, "resource_id", resource_id)
39
-
40
- @property
41
- @pulumi.getter
42
- def product(self) -> pulumi.Input[str]:
43
- """
44
- The product Code represents the product to be operated. Currently supported products and resources can be queried at the following link: [supported-services-and-resource-types](https://help.aliyun.com/zh/cloud-control-api/product-overview/supported-services-and-resource-types).
45
- """
46
- return pulumi.get(self, "product")
47
-
48
- @product.setter
49
- def product(self, value: pulumi.Input[str]):
50
- pulumi.set(self, "product", value)
51
-
52
- @property
53
- @pulumi.getter(name="resourceCode")
54
- def resource_code(self) -> pulumi.Input[str]:
55
- """
56
- Resource Code, if there is a parent resource, split with `::`, such as VPC::VSwitch. The supported resource Code can be obtained from the following link: [supported-services-and-resource-types](https://help.aliyun.com/zh/cloud-control-api/product-overview/supported-services-and-resource-types).
57
- """
58
- return pulumi.get(self, "resource_code")
59
-
60
- @resource_code.setter
61
- def resource_code(self, value: pulumi.Input[str]):
62
- pulumi.set(self, "resource_code", value)
63
-
64
- @property
65
- @pulumi.getter(name="desireAttributes")
66
- def desire_attributes(self) -> Optional[pulumi.Input[str]]:
67
- """
68
- Resource attributes specified when a user creates or updates a resource.
69
- """
70
- return pulumi.get(self, "desire_attributes")
71
-
72
- @desire_attributes.setter
73
- def desire_attributes(self, value: Optional[pulumi.Input[str]]):
74
- pulumi.set(self, "desire_attributes", value)
75
-
76
- @property
77
- @pulumi.getter(name="resourceId")
78
- def resource_id(self) -> Optional[pulumi.Input[str]]:
79
- """
80
- If there is a parent resource, you need to enter the id of the parent resource, for example, in the VPC::VSwtich resource, you need to enter the id of the VPC: vpc-dexadfe3r4ad. If there are more than one level of parent resources, you need to use `:` to split.
81
- """
82
- return pulumi.get(self, "resource_id")
83
-
84
- @resource_id.setter
85
- def resource_id(self, value: Optional[pulumi.Input[str]]):
86
- pulumi.set(self, "resource_id", value)
87
-
88
-
89
- @pulumi.input_type
90
- class _ResourceState:
91
- def __init__(__self__, *,
92
- desire_attributes: Optional[pulumi.Input[str]] = None,
93
- product: Optional[pulumi.Input[str]] = None,
94
- resource_attributes: Optional[pulumi.Input[str]] = None,
95
- resource_code: Optional[pulumi.Input[str]] = None,
96
- resource_id: Optional[pulumi.Input[str]] = None):
97
- """
98
- Input properties used for looking up and filtering Resource resources.
99
- :param pulumi.Input[str] desire_attributes: Resource attributes specified when a user creates or updates a resource.
100
- :param pulumi.Input[str] product: The product Code represents the product to be operated. Currently supported products and resources can be queried at the following link: [supported-services-and-resource-types](https://help.aliyun.com/zh/cloud-control-api/product-overview/supported-services-and-resource-types).
101
- :param pulumi.Input[str] resource_attributes: The collection of properties for the resource.
102
- :param pulumi.Input[str] resource_code: Resource Code, if there is a parent resource, split with `::`, such as VPC::VSwitch. The supported resource Code can be obtained from the following link: [supported-services-and-resource-types](https://help.aliyun.com/zh/cloud-control-api/product-overview/supported-services-and-resource-types).
103
- :param pulumi.Input[str] resource_id: If there is a parent resource, you need to enter the id of the parent resource, for example, in the VPC::VSwtich resource, you need to enter the id of the VPC: vpc-dexadfe3r4ad. If there are more than one level of parent resources, you need to use `:` to split.
104
- """
105
- if desire_attributes is not None:
106
- pulumi.set(__self__, "desire_attributes", desire_attributes)
107
- if product is not None:
108
- pulumi.set(__self__, "product", product)
109
- if resource_attributes is not None:
110
- pulumi.set(__self__, "resource_attributes", resource_attributes)
111
- if resource_code is not None:
112
- pulumi.set(__self__, "resource_code", resource_code)
113
- if resource_id is not None:
114
- pulumi.set(__self__, "resource_id", resource_id)
115
-
116
- @property
117
- @pulumi.getter(name="desireAttributes")
118
- def desire_attributes(self) -> Optional[pulumi.Input[str]]:
119
- """
120
- Resource attributes specified when a user creates or updates a resource.
121
- """
122
- return pulumi.get(self, "desire_attributes")
123
-
124
- @desire_attributes.setter
125
- def desire_attributes(self, value: Optional[pulumi.Input[str]]):
126
- pulumi.set(self, "desire_attributes", value)
127
-
128
- @property
129
- @pulumi.getter
130
- def product(self) -> Optional[pulumi.Input[str]]:
131
- """
132
- The product Code represents the product to be operated. Currently supported products and resources can be queried at the following link: [supported-services-and-resource-types](https://help.aliyun.com/zh/cloud-control-api/product-overview/supported-services-and-resource-types).
133
- """
134
- return pulumi.get(self, "product")
135
-
136
- @product.setter
137
- def product(self, value: Optional[pulumi.Input[str]]):
138
- pulumi.set(self, "product", value)
139
-
140
- @property
141
- @pulumi.getter(name="resourceAttributes")
142
- def resource_attributes(self) -> Optional[pulumi.Input[str]]:
143
- """
144
- The collection of properties for the resource.
145
- """
146
- return pulumi.get(self, "resource_attributes")
147
-
148
- @resource_attributes.setter
149
- def resource_attributes(self, value: Optional[pulumi.Input[str]]):
150
- pulumi.set(self, "resource_attributes", value)
151
-
152
- @property
153
- @pulumi.getter(name="resourceCode")
154
- def resource_code(self) -> Optional[pulumi.Input[str]]:
155
- """
156
- Resource Code, if there is a parent resource, split with `::`, such as VPC::VSwitch. The supported resource Code can be obtained from the following link: [supported-services-and-resource-types](https://help.aliyun.com/zh/cloud-control-api/product-overview/supported-services-and-resource-types).
157
- """
158
- return pulumi.get(self, "resource_code")
159
-
160
- @resource_code.setter
161
- def resource_code(self, value: Optional[pulumi.Input[str]]):
162
- pulumi.set(self, "resource_code", value)
163
-
164
- @property
165
- @pulumi.getter(name="resourceId")
166
- def resource_id(self) -> Optional[pulumi.Input[str]]:
167
- """
168
- If there is a parent resource, you need to enter the id of the parent resource, for example, in the VPC::VSwtich resource, you need to enter the id of the VPC: vpc-dexadfe3r4ad. If there are more than one level of parent resources, you need to use `:` to split.
169
- """
170
- return pulumi.get(self, "resource_id")
171
-
172
- @resource_id.setter
173
- def resource_id(self, value: Optional[pulumi.Input[str]]):
174
- pulumi.set(self, "resource_id", value)
175
-
176
-
177
- class Resource(pulumi.CustomResource):
178
- @overload
179
- def __init__(__self__,
180
- resource_name: str,
181
- opts: Optional[pulumi.ResourceOptions] = None,
182
- desire_attributes: Optional[pulumi.Input[str]] = None,
183
- product: Optional[pulumi.Input[str]] = None,
184
- resource_code: Optional[pulumi.Input[str]] = None,
185
- resource_id: Optional[pulumi.Input[str]] = None,
186
- __props__=None):
187
- """
188
- Provides a Cloud Control Resource resource.
189
-
190
- For information about Cloud Control Resource and how to use it, see [What is Resource](https://www.alibabacloud.com/help/en/).
191
-
192
- > **NOTE:** Available since v1.241.0.
193
-
194
- ## Example Usage
195
-
196
- Basic Usage
197
-
198
- ```python
199
- import pulumi
200
- import json
201
- import pulumi_alicloud as alicloud
202
-
203
- config = pulumi.Config()
204
- name = config.get("name")
205
- if name is None:
206
- name = "terraform-example"
207
- mq_instance = alicloud.cloudcontrol.Resource("mq_instance",
208
- desire_attributes=json.dumps({
209
- "InstanceName": "terraform-example-ons-instance",
210
- }),
211
- product="Ons",
212
- resource_code="Instance")
213
- default = alicloud.cloudcontrol.Resource("default",
214
- product="Ons",
215
- resource_code="Instance::Topic",
216
- resource_id=mq_instance.resource_id,
217
- desire_attributes=pulumi.Output.json_dumps({
218
- "InstanceId": mq_instance.resource_id,
219
- "TopicName": "terraform-example-ons-topic",
220
- "MessageType": "1",
221
- }))
222
- ```
223
-
224
- ## Import
225
-
226
- Cloud Control Resource can be imported using the id, e.g.
227
-
228
- ```sh
229
- $ pulumi import alicloud:cloudcontrol/resource:Resource example <provider>:<product>:<resource_code>:<resource_id>
230
- ```
231
-
232
- :param str resource_name: The name of the resource.
233
- :param pulumi.ResourceOptions opts: Options for the resource.
234
- :param pulumi.Input[str] desire_attributes: Resource attributes specified when a user creates or updates a resource.
235
- :param pulumi.Input[str] product: The product Code represents the product to be operated. Currently supported products and resources can be queried at the following link: [supported-services-and-resource-types](https://help.aliyun.com/zh/cloud-control-api/product-overview/supported-services-and-resource-types).
236
- :param pulumi.Input[str] resource_code: Resource Code, if there is a parent resource, split with `::`, such as VPC::VSwitch. The supported resource Code can be obtained from the following link: [supported-services-and-resource-types](https://help.aliyun.com/zh/cloud-control-api/product-overview/supported-services-and-resource-types).
237
- :param pulumi.Input[str] resource_id: If there is a parent resource, you need to enter the id of the parent resource, for example, in the VPC::VSwtich resource, you need to enter the id of the VPC: vpc-dexadfe3r4ad. If there are more than one level of parent resources, you need to use `:` to split.
238
- """
239
- ...
240
- @overload
241
- def __init__(__self__,
242
- resource_name: str,
243
- args: ResourceArgs,
244
- opts: Optional[pulumi.ResourceOptions] = None):
245
- """
246
- Provides a Cloud Control Resource resource.
247
-
248
- For information about Cloud Control Resource and how to use it, see [What is Resource](https://www.alibabacloud.com/help/en/).
249
-
250
- > **NOTE:** Available since v1.241.0.
251
-
252
- ## Example Usage
253
-
254
- Basic Usage
255
-
256
- ```python
257
- import pulumi
258
- import json
259
- import pulumi_alicloud as alicloud
260
-
261
- config = pulumi.Config()
262
- name = config.get("name")
263
- if name is None:
264
- name = "terraform-example"
265
- mq_instance = alicloud.cloudcontrol.Resource("mq_instance",
266
- desire_attributes=json.dumps({
267
- "InstanceName": "terraform-example-ons-instance",
268
- }),
269
- product="Ons",
270
- resource_code="Instance")
271
- default = alicloud.cloudcontrol.Resource("default",
272
- product="Ons",
273
- resource_code="Instance::Topic",
274
- resource_id=mq_instance.resource_id,
275
- desire_attributes=pulumi.Output.json_dumps({
276
- "InstanceId": mq_instance.resource_id,
277
- "TopicName": "terraform-example-ons-topic",
278
- "MessageType": "1",
279
- }))
280
- ```
281
-
282
- ## Import
283
-
284
- Cloud Control Resource can be imported using the id, e.g.
285
-
286
- ```sh
287
- $ pulumi import alicloud:cloudcontrol/resource:Resource example <provider>:<product>:<resource_code>:<resource_id>
288
- ```
289
-
290
- :param str resource_name: The name of the resource.
291
- :param ResourceArgs args: The arguments to use to populate this resource's properties.
292
- :param pulumi.ResourceOptions opts: Options for the resource.
293
- """
294
- ...
295
- def __init__(__self__, resource_name: str, *args, **kwargs):
296
- resource_args, opts = _utilities.get_resource_args_opts(ResourceArgs, pulumi.ResourceOptions, *args, **kwargs)
297
- if resource_args is not None:
298
- __self__._internal_init(resource_name, opts, **resource_args.__dict__)
299
- else:
300
- __self__._internal_init(resource_name, *args, **kwargs)
301
-
302
- def _internal_init(__self__,
303
- resource_name: str,
304
- opts: Optional[pulumi.ResourceOptions] = None,
305
- desire_attributes: Optional[pulumi.Input[str]] = None,
306
- product: Optional[pulumi.Input[str]] = None,
307
- resource_code: Optional[pulumi.Input[str]] = None,
308
- resource_id: Optional[pulumi.Input[str]] = None,
309
- __props__=None):
310
- opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
311
- if not isinstance(opts, pulumi.ResourceOptions):
312
- raise TypeError('Expected resource options to be a ResourceOptions instance')
313
- if opts.id is None:
314
- if __props__ is not None:
315
- raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
316
- __props__ = ResourceArgs.__new__(ResourceArgs)
317
-
318
- __props__.__dict__["desire_attributes"] = None if desire_attributes is None else pulumi.Output.secret(desire_attributes)
319
- if product is None and not opts.urn:
320
- raise TypeError("Missing required property 'product'")
321
- __props__.__dict__["product"] = product
322
- if resource_code is None and not opts.urn:
323
- raise TypeError("Missing required property 'resource_code'")
324
- __props__.__dict__["resource_code"] = resource_code
325
- __props__.__dict__["resource_id"] = resource_id
326
- __props__.__dict__["resource_attributes"] = None
327
- secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["desireAttributes"])
328
- opts = pulumi.ResourceOptions.merge(opts, secret_opts)
329
- super(Resource, __self__).__init__(
330
- 'alicloud:cloudcontrol/resource:Resource',
331
- resource_name,
332
- __props__,
333
- opts)
334
-
335
- @staticmethod
336
- def get(resource_name: str,
337
- id: pulumi.Input[str],
338
- opts: Optional[pulumi.ResourceOptions] = None,
339
- desire_attributes: Optional[pulumi.Input[str]] = None,
340
- product: Optional[pulumi.Input[str]] = None,
341
- resource_attributes: Optional[pulumi.Input[str]] = None,
342
- resource_code: Optional[pulumi.Input[str]] = None,
343
- resource_id: Optional[pulumi.Input[str]] = None) -> 'Resource':
344
- """
345
- Get an existing Resource resource's state with the given name, id, and optional extra
346
- properties used to qualify the lookup.
347
-
348
- :param str resource_name: The unique name of the resulting resource.
349
- :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
350
- :param pulumi.ResourceOptions opts: Options for the resource.
351
- :param pulumi.Input[str] desire_attributes: Resource attributes specified when a user creates or updates a resource.
352
- :param pulumi.Input[str] product: The product Code represents the product to be operated. Currently supported products and resources can be queried at the following link: [supported-services-and-resource-types](https://help.aliyun.com/zh/cloud-control-api/product-overview/supported-services-and-resource-types).
353
- :param pulumi.Input[str] resource_attributes: The collection of properties for the resource.
354
- :param pulumi.Input[str] resource_code: Resource Code, if there is a parent resource, split with `::`, such as VPC::VSwitch. The supported resource Code can be obtained from the following link: [supported-services-and-resource-types](https://help.aliyun.com/zh/cloud-control-api/product-overview/supported-services-and-resource-types).
355
- :param pulumi.Input[str] resource_id: If there is a parent resource, you need to enter the id of the parent resource, for example, in the VPC::VSwtich resource, you need to enter the id of the VPC: vpc-dexadfe3r4ad. If there are more than one level of parent resources, you need to use `:` to split.
356
- """
357
- opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
358
-
359
- __props__ = _ResourceState.__new__(_ResourceState)
360
-
361
- __props__.__dict__["desire_attributes"] = desire_attributes
362
- __props__.__dict__["product"] = product
363
- __props__.__dict__["resource_attributes"] = resource_attributes
364
- __props__.__dict__["resource_code"] = resource_code
365
- __props__.__dict__["resource_id"] = resource_id
366
- return Resource(resource_name, opts=opts, __props__=__props__)
367
-
368
- @property
369
- @pulumi.getter(name="desireAttributes")
370
- def desire_attributes(self) -> pulumi.Output[Optional[str]]:
371
- """
372
- Resource attributes specified when a user creates or updates a resource.
373
- """
374
- return pulumi.get(self, "desire_attributes")
375
-
376
- @property
377
- @pulumi.getter
378
- def product(self) -> pulumi.Output[str]:
379
- """
380
- The product Code represents the product to be operated. Currently supported products and resources can be queried at the following link: [supported-services-and-resource-types](https://help.aliyun.com/zh/cloud-control-api/product-overview/supported-services-and-resource-types).
381
- """
382
- return pulumi.get(self, "product")
383
-
384
- @property
385
- @pulumi.getter(name="resourceAttributes")
386
- def resource_attributes(self) -> pulumi.Output[str]:
387
- """
388
- The collection of properties for the resource.
389
- """
390
- return pulumi.get(self, "resource_attributes")
391
-
392
- @property
393
- @pulumi.getter(name="resourceCode")
394
- def resource_code(self) -> pulumi.Output[str]:
395
- """
396
- Resource Code, if there is a parent resource, split with `::`, such as VPC::VSwitch. The supported resource Code can be obtained from the following link: [supported-services-and-resource-types](https://help.aliyun.com/zh/cloud-control-api/product-overview/supported-services-and-resource-types).
397
- """
398
- return pulumi.get(self, "resource_code")
399
-
400
- @property
401
- @pulumi.getter(name="resourceId")
402
- def resource_id(self) -> pulumi.Output[str]:
403
- """
404
- If there is a parent resource, you need to enter the id of the parent resource, for example, in the VPC::VSwtich resource, you need to enter the id of the VPC: vpc-dexadfe3r4ad. If there are more than one level of parent resources, you need to use `:` to split.
405
- """
406
- return pulumi.get(self, "resource_id")
407
-