pulumi-alicloud 3.81.0a1750224117__py3-none-any.whl → 3.81.0a1750651450__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 +8 -0
- pulumi_alicloud/cdn/get_service.py +4 -4
- pulumi_alicloud/cen/get_transit_router_route_table_propagations.py +116 -21
- pulumi_alicloud/cen/get_transit_router_route_tables.py +35 -29
- pulumi_alicloud/cen/get_transit_router_vpn_attachments.py +178 -59
- pulumi_alicloud/cen/outputs.py +56 -41
- pulumi_alicloud/cs/_inputs.py +54 -0
- pulumi_alicloud/cs/node_pool.py +158 -45
- pulumi_alicloud/cs/outputs.py +51 -0
- pulumi_alicloud/dfs/vsc_mount_point.py +4 -4
- pulumi_alicloud/ecs/_inputs.py +66 -0
- pulumi_alicloud/ecs/ecs_network_interface.py +47 -0
- pulumi_alicloud/ecs/outputs.py +48 -0
- pulumi_alicloud/eflo/node_group.py +103 -7
- pulumi_alicloud/eventbridge/service_linked_role.py +25 -31
- pulumi_alicloud/ga/forwarding_rule.py +2 -2
- pulumi_alicloud/hbr/ots_backup_plan.py +2 -2
- pulumi_alicloud/hbr/replication_vault.py +167 -41
- pulumi_alicloud/hbr/vault.py +21 -7
- pulumi_alicloud/maxcompute/project.py +2 -2
- pulumi_alicloud/message/__init__.py +1 -0
- pulumi_alicloud/message/service_service.py +132 -0
- pulumi_alicloud/message/service_subscription.py +37 -23
- pulumi_alicloud/mns/get_service.py +8 -4
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/ram/role.py +306 -105
- pulumi_alicloud/rds/_inputs.py +0 -9
- pulumi_alicloud/rds/custom.py +360 -31
- pulumi_alicloud/rds/outputs.py +0 -6
- pulumi_alicloud/vpc/network_interface.py +34 -0
- {pulumi_alicloud-3.81.0a1750224117.dist-info → pulumi_alicloud-3.81.0a1750651450.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.81.0a1750224117.dist-info → pulumi_alicloud-3.81.0a1750651450.dist-info}/RECORD +34 -33
- {pulumi_alicloud-3.81.0a1750224117.dist-info → pulumi_alicloud-3.81.0a1750651450.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.81.0a1750224117.dist-info → pulumi_alicloud-3.81.0a1750651450.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import builtins
|
|
6
|
+
import copy
|
|
7
|
+
import warnings
|
|
8
|
+
import sys
|
|
9
|
+
import pulumi
|
|
10
|
+
import pulumi.runtime
|
|
11
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
12
|
+
if sys.version_info >= (3, 11):
|
|
13
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
14
|
+
else:
|
|
15
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
16
|
+
from .. import _utilities
|
|
17
|
+
|
|
18
|
+
__all__ = ['ServiceServiceArgs', 'ServiceService']
|
|
19
|
+
|
|
20
|
+
@pulumi.input_type
|
|
21
|
+
class ServiceServiceArgs:
|
|
22
|
+
def __init__(__self__):
|
|
23
|
+
"""
|
|
24
|
+
The set of arguments for constructing a ServiceService resource.
|
|
25
|
+
"""
|
|
26
|
+
pass
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
@pulumi.input_type
|
|
30
|
+
class _ServiceServiceState:
|
|
31
|
+
def __init__(__self__, *,
|
|
32
|
+
status: Optional[pulumi.Input[builtins.str]] = None):
|
|
33
|
+
"""
|
|
34
|
+
Input properties used for looking up and filtering ServiceService resources.
|
|
35
|
+
:param pulumi.Input[builtins.str] status: The status of the Service.
|
|
36
|
+
"""
|
|
37
|
+
if status is not None:
|
|
38
|
+
pulumi.set(__self__, "status", status)
|
|
39
|
+
|
|
40
|
+
@property
|
|
41
|
+
@pulumi.getter
|
|
42
|
+
def status(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
43
|
+
"""
|
|
44
|
+
The status of the Service.
|
|
45
|
+
"""
|
|
46
|
+
return pulumi.get(self, "status")
|
|
47
|
+
|
|
48
|
+
@status.setter
|
|
49
|
+
def status(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
50
|
+
pulumi.set(self, "status", value)
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
@pulumi.type_token("alicloud:message/serviceService:ServiceService")
|
|
54
|
+
class ServiceService(pulumi.CustomResource):
|
|
55
|
+
@overload
|
|
56
|
+
def __init__(__self__,
|
|
57
|
+
resource_name: str,
|
|
58
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
59
|
+
__props__=None):
|
|
60
|
+
"""
|
|
61
|
+
Create a ServiceService resource with the given unique name, props, and options.
|
|
62
|
+
:param str resource_name: The name of the resource.
|
|
63
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
64
|
+
"""
|
|
65
|
+
...
|
|
66
|
+
@overload
|
|
67
|
+
def __init__(__self__,
|
|
68
|
+
resource_name: str,
|
|
69
|
+
args: Optional[ServiceServiceArgs] = None,
|
|
70
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
|
71
|
+
"""
|
|
72
|
+
Create a ServiceService resource with the given unique name, props, and options.
|
|
73
|
+
:param str resource_name: The name of the resource.
|
|
74
|
+
:param ServiceServiceArgs args: The arguments to use to populate this resource's properties.
|
|
75
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
76
|
+
"""
|
|
77
|
+
...
|
|
78
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
79
|
+
resource_args, opts = _utilities.get_resource_args_opts(ServiceServiceArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
80
|
+
if resource_args is not None:
|
|
81
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
82
|
+
else:
|
|
83
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
|
84
|
+
|
|
85
|
+
def _internal_init(__self__,
|
|
86
|
+
resource_name: str,
|
|
87
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
88
|
+
__props__=None):
|
|
89
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
90
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
|
91
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
92
|
+
if opts.id is None:
|
|
93
|
+
if __props__ is not None:
|
|
94
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
95
|
+
__props__ = ServiceServiceArgs.__new__(ServiceServiceArgs)
|
|
96
|
+
|
|
97
|
+
__props__.__dict__["status"] = None
|
|
98
|
+
super(ServiceService, __self__).__init__(
|
|
99
|
+
'alicloud:message/serviceService:ServiceService',
|
|
100
|
+
resource_name,
|
|
101
|
+
__props__,
|
|
102
|
+
opts)
|
|
103
|
+
|
|
104
|
+
@staticmethod
|
|
105
|
+
def get(resource_name: str,
|
|
106
|
+
id: pulumi.Input[str],
|
|
107
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
108
|
+
status: Optional[pulumi.Input[builtins.str]] = None) -> 'ServiceService':
|
|
109
|
+
"""
|
|
110
|
+
Get an existing ServiceService resource's state with the given name, id, and optional extra
|
|
111
|
+
properties used to qualify the lookup.
|
|
112
|
+
|
|
113
|
+
:param str resource_name: The unique name of the resulting resource.
|
|
114
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
115
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
116
|
+
:param pulumi.Input[builtins.str] status: The status of the Service.
|
|
117
|
+
"""
|
|
118
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
119
|
+
|
|
120
|
+
__props__ = _ServiceServiceState.__new__(_ServiceServiceState)
|
|
121
|
+
|
|
122
|
+
__props__.__dict__["status"] = status
|
|
123
|
+
return ServiceService(resource_name, opts=opts, __props__=__props__)
|
|
124
|
+
|
|
125
|
+
@property
|
|
126
|
+
@pulumi.getter
|
|
127
|
+
def status(self) -> pulumi.Output[builtins.str]:
|
|
128
|
+
"""
|
|
129
|
+
The status of the Service.
|
|
130
|
+
"""
|
|
131
|
+
return pulumi.get(self, "status")
|
|
132
|
+
|
|
@@ -33,9 +33,11 @@ class ServiceSubscriptionArgs:
|
|
|
33
33
|
"""
|
|
34
34
|
The set of arguments for constructing a ServiceSubscription resource.
|
|
35
35
|
:param pulumi.Input[builtins.str] endpoint: The endpoint has three format. Available values format:
|
|
36
|
-
- `HTTP Format`: http://
|
|
37
|
-
- `Queue Format`:
|
|
38
|
-
- `
|
|
36
|
+
- `HTTP Format`: An HTTP URL that starts with http:// or https://.
|
|
37
|
+
- `Queue Format`: A queue name.
|
|
38
|
+
- `MPush Format`: An AppKey.
|
|
39
|
+
- `Sms Format`: A mobile number
|
|
40
|
+
- `Email Format`: An email address.
|
|
39
41
|
:param pulumi.Input[builtins.str] push_type: The Push type of Subscription. The Valid values: `http`, `queue`, `mpush`, `alisms` and `email`.
|
|
40
42
|
:param pulumi.Input[builtins.str] subscription_name: Two topics subscription on a single account in the same topic cannot have the same name. A topic subscription name must start with an English letter or a digit, and can contain English letters, digits, and hyphens, with the length not exceeding 255 characters.
|
|
41
43
|
:param pulumi.Input[builtins.str] topic_name: The topic which The subscription belongs to was named with the name. A topic name must start with an English letter or a digit, and can contain English letters, digits, and hyphens, with the length not exceeding 255 characters.
|
|
@@ -64,9 +66,11 @@ class ServiceSubscriptionArgs:
|
|
|
64
66
|
def endpoint(self) -> pulumi.Input[builtins.str]:
|
|
65
67
|
"""
|
|
66
68
|
The endpoint has three format. Available values format:
|
|
67
|
-
- `HTTP Format`: http://
|
|
68
|
-
- `Queue Format`:
|
|
69
|
-
- `
|
|
69
|
+
- `HTTP Format`: An HTTP URL that starts with http:// or https://.
|
|
70
|
+
- `Queue Format`: A queue name.
|
|
71
|
+
- `MPush Format`: An AppKey.
|
|
72
|
+
- `Sms Format`: A mobile number
|
|
73
|
+
- `Email Format`: An email address.
|
|
70
74
|
"""
|
|
71
75
|
return pulumi.get(self, "endpoint")
|
|
72
76
|
|
|
@@ -178,9 +182,11 @@ class _ServiceSubscriptionState:
|
|
|
178
182
|
:param pulumi.Input[builtins.int] create_time: (Available since v1.244.0) The time when the subscription was created.
|
|
179
183
|
:param pulumi.Input['ServiceSubscriptionDlqPolicyArgs'] dlq_policy: The dead-letter queue policy. See `dlq_policy` below.
|
|
180
184
|
:param pulumi.Input[builtins.str] endpoint: The endpoint has three format. Available values format:
|
|
181
|
-
- `HTTP Format`: http://
|
|
182
|
-
- `Queue Format`:
|
|
183
|
-
- `
|
|
185
|
+
- `HTTP Format`: An HTTP URL that starts with http:// or https://.
|
|
186
|
+
- `Queue Format`: A queue name.
|
|
187
|
+
- `MPush Format`: An AppKey.
|
|
188
|
+
- `Sms Format`: A mobile number
|
|
189
|
+
- `Email Format`: An email address.
|
|
184
190
|
:param pulumi.Input[builtins.str] filter_tag: The tag that is used to filter messages. Only the messages that have the same tag can be pushed. A tag is a string that can be up to 16 characters in length. By default, no tag is specified to filter messages.
|
|
185
191
|
:param pulumi.Input[builtins.str] notify_content_format: The NotifyContentFormat attribute of Subscription. This attribute specifies the content format of the messages pushed to users. Valid values: `XML`, `JSON` and `SIMPLIFIED`. Default value: `XML`.
|
|
186
192
|
:param pulumi.Input[builtins.str] notify_strategy: The NotifyStrategy attribute of Subscription. This attribute specifies the retry strategy when message sending fails. Default value: `BACKOFF_RETRY`. Valid values:
|
|
@@ -238,9 +244,11 @@ class _ServiceSubscriptionState:
|
|
|
238
244
|
def endpoint(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
239
245
|
"""
|
|
240
246
|
The endpoint has three format. Available values format:
|
|
241
|
-
- `HTTP Format`: http://
|
|
242
|
-
- `Queue Format`:
|
|
243
|
-
- `
|
|
247
|
+
- `HTTP Format`: An HTTP URL that starts with http:// or https://.
|
|
248
|
+
- `Queue Format`: A queue name.
|
|
249
|
+
- `MPush Format`: An AppKey.
|
|
250
|
+
- `Sms Format`: A mobile number
|
|
251
|
+
- `Email Format`: An email address.
|
|
244
252
|
"""
|
|
245
253
|
return pulumi.get(self, "endpoint")
|
|
246
254
|
|
|
@@ -341,7 +349,7 @@ class ServiceSubscription(pulumi.CustomResource):
|
|
|
341
349
|
"""
|
|
342
350
|
Provides a Message Service Subscription resource.
|
|
343
351
|
|
|
344
|
-
For information about Message Service Subscription and how to use it, see [What is Subscription](https://www.alibabacloud.com/help/en/
|
|
352
|
+
For information about Message Service Subscription and how to use it, see [What is Subscription](https://www.alibabacloud.com/help/en/mns/developer-reference/api-mns-open-2022-01-19-subscribe).
|
|
345
353
|
|
|
346
354
|
> **NOTE:** Available since v1.188.0.
|
|
347
355
|
|
|
@@ -383,9 +391,11 @@ class ServiceSubscription(pulumi.CustomResource):
|
|
|
383
391
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
384
392
|
:param pulumi.Input[Union['ServiceSubscriptionDlqPolicyArgs', 'ServiceSubscriptionDlqPolicyArgsDict']] dlq_policy: The dead-letter queue policy. See `dlq_policy` below.
|
|
385
393
|
:param pulumi.Input[builtins.str] endpoint: The endpoint has three format. Available values format:
|
|
386
|
-
- `HTTP Format`: http://
|
|
387
|
-
- `Queue Format`:
|
|
388
|
-
- `
|
|
394
|
+
- `HTTP Format`: An HTTP URL that starts with http:// or https://.
|
|
395
|
+
- `Queue Format`: A queue name.
|
|
396
|
+
- `MPush Format`: An AppKey.
|
|
397
|
+
- `Sms Format`: A mobile number
|
|
398
|
+
- `Email Format`: An email address.
|
|
389
399
|
:param pulumi.Input[builtins.str] filter_tag: The tag that is used to filter messages. Only the messages that have the same tag can be pushed. A tag is a string that can be up to 16 characters in length. By default, no tag is specified to filter messages.
|
|
390
400
|
:param pulumi.Input[builtins.str] notify_content_format: The NotifyContentFormat attribute of Subscription. This attribute specifies the content format of the messages pushed to users. Valid values: `XML`, `JSON` and `SIMPLIFIED`. Default value: `XML`.
|
|
391
401
|
:param pulumi.Input[builtins.str] notify_strategy: The NotifyStrategy attribute of Subscription. This attribute specifies the retry strategy when message sending fails. Default value: `BACKOFF_RETRY`. Valid values:
|
|
@@ -404,7 +414,7 @@ class ServiceSubscription(pulumi.CustomResource):
|
|
|
404
414
|
"""
|
|
405
415
|
Provides a Message Service Subscription resource.
|
|
406
416
|
|
|
407
|
-
For information about Message Service Subscription and how to use it, see [What is Subscription](https://www.alibabacloud.com/help/en/
|
|
417
|
+
For information about Message Service Subscription and how to use it, see [What is Subscription](https://www.alibabacloud.com/help/en/mns/developer-reference/api-mns-open-2022-01-19-subscribe).
|
|
408
418
|
|
|
409
419
|
> **NOTE:** Available since v1.188.0.
|
|
410
420
|
|
|
@@ -520,9 +530,11 @@ class ServiceSubscription(pulumi.CustomResource):
|
|
|
520
530
|
:param pulumi.Input[builtins.int] create_time: (Available since v1.244.0) The time when the subscription was created.
|
|
521
531
|
:param pulumi.Input[Union['ServiceSubscriptionDlqPolicyArgs', 'ServiceSubscriptionDlqPolicyArgsDict']] dlq_policy: The dead-letter queue policy. See `dlq_policy` below.
|
|
522
532
|
:param pulumi.Input[builtins.str] endpoint: The endpoint has three format. Available values format:
|
|
523
|
-
- `HTTP Format`: http://
|
|
524
|
-
- `Queue Format`:
|
|
525
|
-
- `
|
|
533
|
+
- `HTTP Format`: An HTTP URL that starts with http:// or https://.
|
|
534
|
+
- `Queue Format`: A queue name.
|
|
535
|
+
- `MPush Format`: An AppKey.
|
|
536
|
+
- `Sms Format`: A mobile number
|
|
537
|
+
- `Email Format`: An email address.
|
|
526
538
|
:param pulumi.Input[builtins.str] filter_tag: The tag that is used to filter messages. Only the messages that have the same tag can be pushed. A tag is a string that can be up to 16 characters in length. By default, no tag is specified to filter messages.
|
|
527
539
|
:param pulumi.Input[builtins.str] notify_content_format: The NotifyContentFormat attribute of Subscription. This attribute specifies the content format of the messages pushed to users. Valid values: `XML`, `JSON` and `SIMPLIFIED`. Default value: `XML`.
|
|
528
540
|
:param pulumi.Input[builtins.str] notify_strategy: The NotifyStrategy attribute of Subscription. This attribute specifies the retry strategy when message sending fails. Default value: `BACKOFF_RETRY`. Valid values:
|
|
@@ -568,9 +580,11 @@ class ServiceSubscription(pulumi.CustomResource):
|
|
|
568
580
|
def endpoint(self) -> pulumi.Output[builtins.str]:
|
|
569
581
|
"""
|
|
570
582
|
The endpoint has three format. Available values format:
|
|
571
|
-
- `HTTP Format`: http://
|
|
572
|
-
- `Queue Format`:
|
|
573
|
-
- `
|
|
583
|
+
- `HTTP Format`: An HTTP URL that starts with http:// or https://.
|
|
584
|
+
- `Queue Format`: A queue name.
|
|
585
|
+
- `MPush Format`: An AppKey.
|
|
586
|
+
- `Sms Format`: A mobile number
|
|
587
|
+
- `Email Format`: An email address.
|
|
574
588
|
"""
|
|
575
589
|
return pulumi.get(self, "endpoint")
|
|
576
590
|
|
|
@@ -78,7 +78,9 @@ def get_service(enable: Optional[builtins.str] = None,
|
|
|
78
78
|
|
|
79
79
|
For information about MNS and how to use it, see [What is MNS](https://www.alibabacloud.com/help/en/product/27412.htm).
|
|
80
80
|
|
|
81
|
-
> **NOTE:**
|
|
81
|
+
> **NOTE:** Deprecated since v1.252.0.
|
|
82
|
+
|
|
83
|
+
> **DEPRECATED:** This datasource has been deprecated from version `1.252.0`. Please use new resource alicloud_message_service_service.
|
|
82
84
|
|
|
83
85
|
> **NOTE:** The MNS service is not support in the international site.
|
|
84
86
|
|
|
@@ -92,7 +94,7 @@ def get_service(enable: Optional[builtins.str] = None,
|
|
|
92
94
|
```
|
|
93
95
|
|
|
94
96
|
|
|
95
|
-
:param builtins.str enable: Setting the value to `On` to enable the service. If has been enabled, return the result. Valid values:
|
|
97
|
+
:param builtins.str enable: Setting the value to `On` to enable the service. If has been enabled, return the result. Default value: `Off`. Valid values: `On` and `Off`.
|
|
96
98
|
|
|
97
99
|
> **NOTE:** Setting `enable = "On"` to open the MNS service that means you have read and agreed the [MNS Terms of Service](https://help.aliyun.com/document_detail/27418.html). The service can not closed once it is opened.
|
|
98
100
|
"""
|
|
@@ -112,7 +114,9 @@ def get_service_output(enable: Optional[pulumi.Input[Optional[builtins.str]]] =
|
|
|
112
114
|
|
|
113
115
|
For information about MNS and how to use it, see [What is MNS](https://www.alibabacloud.com/help/en/product/27412.htm).
|
|
114
116
|
|
|
115
|
-
> **NOTE:**
|
|
117
|
+
> **NOTE:** Deprecated since v1.252.0.
|
|
118
|
+
|
|
119
|
+
> **DEPRECATED:** This datasource has been deprecated from version `1.252.0`. Please use new resource alicloud_message_service_service.
|
|
116
120
|
|
|
117
121
|
> **NOTE:** The MNS service is not support in the international site.
|
|
118
122
|
|
|
@@ -126,7 +130,7 @@ def get_service_output(enable: Optional[pulumi.Input[Optional[builtins.str]]] =
|
|
|
126
130
|
```
|
|
127
131
|
|
|
128
132
|
|
|
129
|
-
:param builtins.str enable: Setting the value to `On` to enable the service. If has been enabled, return the result. Valid values:
|
|
133
|
+
:param builtins.str enable: Setting the value to `On` to enable the service. If has been enabled, return the result. Default value: `Off`. Valid values: `On` and `Off`.
|
|
130
134
|
|
|
131
135
|
> **NOTE:** Setting `enable = "On"` to open the MNS service that means you have read and agreed the [MNS Terms of Service](https://help.aliyun.com/document_detail/27418.html). The service can not closed once it is opened.
|
|
132
136
|
"""
|