pulumi-alicloud 3.78.0a1747367664__py3-none-any.whl → 3.79.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 pulumi-alicloud might be problematic. Click here for more details.
- pulumi_alicloud/__init__.py +40 -0
- pulumi_alicloud/alb/_inputs.py +21 -105
- pulumi_alicloud/alb/get_load_balancers.py +169 -18
- pulumi_alicloud/alb/listener.py +28 -56
- pulumi_alicloud/alb/outputs.py +150 -105
- pulumi_alicloud/cs/_inputs.py +54 -0
- pulumi_alicloud/cs/get_kubernetes_version.py +4 -4
- pulumi_alicloud/cs/managed_kubernetes.py +129 -7
- pulumi_alicloud/cs/outputs.py +49 -0
- pulumi_alicloud/ecs/__init__.py +1 -0
- pulumi_alicloud/ecs/_inputs.py +40 -0
- pulumi_alicloud/ecs/get_dedicated_hosts.py +49 -22
- pulumi_alicloud/ecs/get_instances.py +4 -3
- pulumi_alicloud/ecs/instance.py +94 -0
- pulumi_alicloud/ecs/outputs.py +129 -39
- pulumi_alicloud/ecs/ram_role_attachment.py +406 -0
- pulumi_alicloud/eflo/__init__.py +1 -0
- pulumi_alicloud/eflo/vsc.py +433 -0
- pulumi_alicloud/elasticsearch/instance.py +7 -7
- pulumi_alicloud/ess/outputs.py +226 -4
- pulumi_alicloud/expressconnect/router_vpc_association.py +56 -49
- pulumi_alicloud/fc/__init__.py +1 -0
- pulumi_alicloud/fc/get_v3_triggers.py +277 -0
- pulumi_alicloud/fc/outputs.py +192 -0
- pulumi_alicloud/lindorm/__init__.py +1 -0
- pulumi_alicloud/lindorm/public_network.py +288 -0
- pulumi_alicloud/maxcompute/project.py +2 -4
- pulumi_alicloud/oos/get_parameters.py +72 -28
- pulumi_alicloud/oos/outputs.py +10 -10
- pulumi_alicloud/pai/__init__.py +1 -0
- pulumi_alicloud/pai/workspace_user_config.py +356 -0
- pulumi_alicloud/polardb/cluster.py +155 -0
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/pvtz/get_zone_records.py +66 -35
- pulumi_alicloud/pvtz/get_zones.py +49 -32
- pulumi_alicloud/pvtz/outputs.py +60 -56
- pulumi_alicloud/ram/policy.py +21 -35
- pulumi_alicloud/ram/role_attachment.py +6 -2
- pulumi_alicloud/rds/__init__.py +1 -0
- pulumi_alicloud/rds/db_proxy_public.py +512 -0
- pulumi_alicloud/rds/instance.py +35 -35
- pulumi_alicloud/sls/__init__.py +1 -0
- pulumi_alicloud/sls/get_alerts.py +463 -0
- pulumi_alicloud/sls/outputs.py +975 -0
- {pulumi_alicloud-3.78.0a1747367664.dist-info → pulumi_alicloud-3.79.0.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.78.0a1747367664.dist-info → pulumi_alicloud-3.79.0.dist-info}/RECORD +48 -41
- {pulumi_alicloud-3.78.0a1747367664.dist-info → pulumi_alicloud-3.79.0.dist-info}/WHEEL +1 -1
- {pulumi_alicloud-3.78.0a1747367664.dist-info → pulumi_alicloud-3.79.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,277 @@
|
|
|
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 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
|
+
from . import outputs
|
|
18
|
+
|
|
19
|
+
__all__ = [
|
|
20
|
+
'GetV3TriggersResult',
|
|
21
|
+
'AwaitableGetV3TriggersResult',
|
|
22
|
+
'get_v3_triggers',
|
|
23
|
+
'get_v3_triggers_output',
|
|
24
|
+
]
|
|
25
|
+
|
|
26
|
+
@pulumi.output_type
|
|
27
|
+
class GetV3TriggersResult:
|
|
28
|
+
"""
|
|
29
|
+
A collection of values returned by getV3Triggers.
|
|
30
|
+
"""
|
|
31
|
+
def __init__(__self__, function_name=None, id=None, ids=None, name_regex=None, names=None, output_file=None, triggers=None):
|
|
32
|
+
if function_name and not isinstance(function_name, str):
|
|
33
|
+
raise TypeError("Expected argument 'function_name' to be a str")
|
|
34
|
+
pulumi.set(__self__, "function_name", function_name)
|
|
35
|
+
if id and not isinstance(id, str):
|
|
36
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
37
|
+
pulumi.set(__self__, "id", id)
|
|
38
|
+
if ids and not isinstance(ids, list):
|
|
39
|
+
raise TypeError("Expected argument 'ids' to be a list")
|
|
40
|
+
pulumi.set(__self__, "ids", ids)
|
|
41
|
+
if name_regex and not isinstance(name_regex, str):
|
|
42
|
+
raise TypeError("Expected argument 'name_regex' to be a str")
|
|
43
|
+
pulumi.set(__self__, "name_regex", name_regex)
|
|
44
|
+
if names and not isinstance(names, list):
|
|
45
|
+
raise TypeError("Expected argument 'names' to be a list")
|
|
46
|
+
pulumi.set(__self__, "names", names)
|
|
47
|
+
if output_file and not isinstance(output_file, str):
|
|
48
|
+
raise TypeError("Expected argument 'output_file' to be a str")
|
|
49
|
+
pulumi.set(__self__, "output_file", output_file)
|
|
50
|
+
if triggers and not isinstance(triggers, list):
|
|
51
|
+
raise TypeError("Expected argument 'triggers' to be a list")
|
|
52
|
+
pulumi.set(__self__, "triggers", triggers)
|
|
53
|
+
|
|
54
|
+
@property
|
|
55
|
+
@pulumi.getter(name="functionName")
|
|
56
|
+
def function_name(self) -> builtins.str:
|
|
57
|
+
return pulumi.get(self, "function_name")
|
|
58
|
+
|
|
59
|
+
@property
|
|
60
|
+
@pulumi.getter
|
|
61
|
+
def id(self) -> builtins.str:
|
|
62
|
+
"""
|
|
63
|
+
The provider-assigned unique ID for this managed resource.
|
|
64
|
+
"""
|
|
65
|
+
return pulumi.get(self, "id")
|
|
66
|
+
|
|
67
|
+
@property
|
|
68
|
+
@pulumi.getter
|
|
69
|
+
def ids(self) -> Sequence[builtins.str]:
|
|
70
|
+
"""
|
|
71
|
+
A list of Trigger IDs.
|
|
72
|
+
"""
|
|
73
|
+
return pulumi.get(self, "ids")
|
|
74
|
+
|
|
75
|
+
@property
|
|
76
|
+
@pulumi.getter(name="nameRegex")
|
|
77
|
+
def name_regex(self) -> Optional[builtins.str]:
|
|
78
|
+
return pulumi.get(self, "name_regex")
|
|
79
|
+
|
|
80
|
+
@property
|
|
81
|
+
@pulumi.getter
|
|
82
|
+
def names(self) -> Sequence[builtins.str]:
|
|
83
|
+
"""
|
|
84
|
+
A list of name of Triggers.
|
|
85
|
+
"""
|
|
86
|
+
return pulumi.get(self, "names")
|
|
87
|
+
|
|
88
|
+
@property
|
|
89
|
+
@pulumi.getter(name="outputFile")
|
|
90
|
+
def output_file(self) -> Optional[builtins.str]:
|
|
91
|
+
return pulumi.get(self, "output_file")
|
|
92
|
+
|
|
93
|
+
@property
|
|
94
|
+
@pulumi.getter
|
|
95
|
+
def triggers(self) -> Sequence['outputs.GetV3TriggersTriggerResult']:
|
|
96
|
+
"""
|
|
97
|
+
A list of Trigger Entries. Each element contains the following attributes:
|
|
98
|
+
"""
|
|
99
|
+
return pulumi.get(self, "triggers")
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
class AwaitableGetV3TriggersResult(GetV3TriggersResult):
|
|
103
|
+
# pylint: disable=using-constant-test
|
|
104
|
+
def __await__(self):
|
|
105
|
+
if False:
|
|
106
|
+
yield self
|
|
107
|
+
return GetV3TriggersResult(
|
|
108
|
+
function_name=self.function_name,
|
|
109
|
+
id=self.id,
|
|
110
|
+
ids=self.ids,
|
|
111
|
+
name_regex=self.name_regex,
|
|
112
|
+
names=self.names,
|
|
113
|
+
output_file=self.output_file,
|
|
114
|
+
triggers=self.triggers)
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
def get_v3_triggers(function_name: Optional[builtins.str] = None,
|
|
118
|
+
ids: Optional[Sequence[builtins.str]] = None,
|
|
119
|
+
name_regex: Optional[builtins.str] = None,
|
|
120
|
+
output_file: Optional[builtins.str] = None,
|
|
121
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetV3TriggersResult:
|
|
122
|
+
"""
|
|
123
|
+
This data source provides Fcv3 Trigger available to the user.[What is Trigger](https://next.api.alibabacloud.com/document/FC/2023-03-30/CreateTrigger)
|
|
124
|
+
|
|
125
|
+
> **NOTE:** Available since v1.250.0.
|
|
126
|
+
|
|
127
|
+
## Example Usage
|
|
128
|
+
|
|
129
|
+
```python
|
|
130
|
+
import pulumi
|
|
131
|
+
import json
|
|
132
|
+
import pulumi_alicloud as alicloud
|
|
133
|
+
|
|
134
|
+
config = pulumi.Config()
|
|
135
|
+
name = config.get("name")
|
|
136
|
+
if name is None:
|
|
137
|
+
name = "terraform-exampleTriggerResourceAPI"
|
|
138
|
+
function_name = config.get("functionName")
|
|
139
|
+
if function_name is None:
|
|
140
|
+
function_name = "terraform-exampleTriggerResourceAPI"
|
|
141
|
+
trigger_name = config.get("triggerName")
|
|
142
|
+
if trigger_name is None:
|
|
143
|
+
trigger_name = "exampleTrigger_HTTP"
|
|
144
|
+
function = alicloud.fc.V3Function("function",
|
|
145
|
+
memory_size=512,
|
|
146
|
+
cpu=0.5,
|
|
147
|
+
handler="index.Handler",
|
|
148
|
+
code={
|
|
149
|
+
"zip_file": "UEsDBBQACAAIAAAAAAAAAAAAAAAAAAAAAAAIAAAAaW5kZXgucHmEkEFKxEAQRfd9ig9ZTCJOooIwDMwNXLqXnnQlaalUhU5lRj2KZ/FOXkESGR114bJ/P/7jV4b1xRq1hijtFpM1682cuNgPmgysbRulPT0fRxXnMtwrSPyeCdYRokSLnuMLJTTkbUqEvDMbxm1VdcRD6Tk+T1LW2ldB66knsYdA5iNX17ebm6tN2VnPhcswMPmREPuBacb+CiapLarAj9gT6/H97dVlCNScY3mtYvRkxdZlwDKDEnanPWVLdrdkeXEGlFEazVdfPVHaVeHc3N15CUwppwOJXeK7HshAB8NuOU7J6sP4SRXuH/EvbUfMiqMmDqv5M5FNSfAj/wgAAP//UEsHCPl//NYAAQAArwEAAFBLAQIUABQACAAIAAAAAAD5f/zWAAEAAK8BAAAIAAAAAAAAAAAAAAAAAAAAAABpbmRleC5weVBLBQYAAAAAAQABADYAAAA2AQAAAAA=",
|
|
150
|
+
},
|
|
151
|
+
function_name=name,
|
|
152
|
+
runtime="python3.9",
|
|
153
|
+
disk_size=512,
|
|
154
|
+
log_config={
|
|
155
|
+
"log_begin_rule": "None",
|
|
156
|
+
})
|
|
157
|
+
default_v3_trigger = alicloud.fc.V3Trigger("default",
|
|
158
|
+
function_name=function.function_name,
|
|
159
|
+
trigger_type="http",
|
|
160
|
+
trigger_name="tf-exampleacceu-central-1fcv3trigger28547",
|
|
161
|
+
description="create",
|
|
162
|
+
qualifier="LATEST",
|
|
163
|
+
trigger_config=json.dumps({
|
|
164
|
+
"authType": "anonymous",
|
|
165
|
+
"methods": [
|
|
166
|
+
"GET",
|
|
167
|
+
"POST",
|
|
168
|
+
],
|
|
169
|
+
}))
|
|
170
|
+
default = alicloud.fc.get_v3_triggers_output(ids=[default_v3_trigger.id],
|
|
171
|
+
name_regex=default_v3_trigger.trigger_name,
|
|
172
|
+
function_name=function_name)
|
|
173
|
+
pulumi.export("alicloudFcv3TriggerExampleId", default.triggers[0].id)
|
|
174
|
+
```
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
:param builtins.str function_name: Function Name
|
|
178
|
+
:param Sequence[builtins.str] ids: A list of Trigger IDs. The value is formulated as `<function_name>:<trigger_name>`.
|
|
179
|
+
:param builtins.str name_regex: A regex string to filter results by Group Metric Rule name.
|
|
180
|
+
:param builtins.str output_file: File name where to save data source results (after running `pulumi preview`).
|
|
181
|
+
"""
|
|
182
|
+
__args__ = dict()
|
|
183
|
+
__args__['functionName'] = function_name
|
|
184
|
+
__args__['ids'] = ids
|
|
185
|
+
__args__['nameRegex'] = name_regex
|
|
186
|
+
__args__['outputFile'] = output_file
|
|
187
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
188
|
+
__ret__ = pulumi.runtime.invoke('alicloud:fc/getV3Triggers:getV3Triggers', __args__, opts=opts, typ=GetV3TriggersResult).value
|
|
189
|
+
|
|
190
|
+
return AwaitableGetV3TriggersResult(
|
|
191
|
+
function_name=pulumi.get(__ret__, 'function_name'),
|
|
192
|
+
id=pulumi.get(__ret__, 'id'),
|
|
193
|
+
ids=pulumi.get(__ret__, 'ids'),
|
|
194
|
+
name_regex=pulumi.get(__ret__, 'name_regex'),
|
|
195
|
+
names=pulumi.get(__ret__, 'names'),
|
|
196
|
+
output_file=pulumi.get(__ret__, 'output_file'),
|
|
197
|
+
triggers=pulumi.get(__ret__, 'triggers'))
|
|
198
|
+
def get_v3_triggers_output(function_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
199
|
+
ids: Optional[pulumi.Input[Optional[Sequence[builtins.str]]]] = None,
|
|
200
|
+
name_regex: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
201
|
+
output_file: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
202
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetV3TriggersResult]:
|
|
203
|
+
"""
|
|
204
|
+
This data source provides Fcv3 Trigger available to the user.[What is Trigger](https://next.api.alibabacloud.com/document/FC/2023-03-30/CreateTrigger)
|
|
205
|
+
|
|
206
|
+
> **NOTE:** Available since v1.250.0.
|
|
207
|
+
|
|
208
|
+
## Example Usage
|
|
209
|
+
|
|
210
|
+
```python
|
|
211
|
+
import pulumi
|
|
212
|
+
import json
|
|
213
|
+
import pulumi_alicloud as alicloud
|
|
214
|
+
|
|
215
|
+
config = pulumi.Config()
|
|
216
|
+
name = config.get("name")
|
|
217
|
+
if name is None:
|
|
218
|
+
name = "terraform-exampleTriggerResourceAPI"
|
|
219
|
+
function_name = config.get("functionName")
|
|
220
|
+
if function_name is None:
|
|
221
|
+
function_name = "terraform-exampleTriggerResourceAPI"
|
|
222
|
+
trigger_name = config.get("triggerName")
|
|
223
|
+
if trigger_name is None:
|
|
224
|
+
trigger_name = "exampleTrigger_HTTP"
|
|
225
|
+
function = alicloud.fc.V3Function("function",
|
|
226
|
+
memory_size=512,
|
|
227
|
+
cpu=0.5,
|
|
228
|
+
handler="index.Handler",
|
|
229
|
+
code={
|
|
230
|
+
"zip_file": "UEsDBBQACAAIAAAAAAAAAAAAAAAAAAAAAAAIAAAAaW5kZXgucHmEkEFKxEAQRfd9ig9ZTCJOooIwDMwNXLqXnnQlaalUhU5lRj2KZ/FOXkESGR114bJ/P/7jV4b1xRq1hijtFpM1682cuNgPmgysbRulPT0fRxXnMtwrSPyeCdYRokSLnuMLJTTkbUqEvDMbxm1VdcRD6Tk+T1LW2ldB66knsYdA5iNX17ebm6tN2VnPhcswMPmREPuBacb+CiapLarAj9gT6/H97dVlCNScY3mtYvRkxdZlwDKDEnanPWVLdrdkeXEGlFEazVdfPVHaVeHc3N15CUwppwOJXeK7HshAB8NuOU7J6sP4SRXuH/EvbUfMiqMmDqv5M5FNSfAj/wgAAP//UEsHCPl//NYAAQAArwEAAFBLAQIUABQACAAIAAAAAAD5f/zWAAEAAK8BAAAIAAAAAAAAAAAAAAAAAAAAAABpbmRleC5weVBLBQYAAAAAAQABADYAAAA2AQAAAAA=",
|
|
231
|
+
},
|
|
232
|
+
function_name=name,
|
|
233
|
+
runtime="python3.9",
|
|
234
|
+
disk_size=512,
|
|
235
|
+
log_config={
|
|
236
|
+
"log_begin_rule": "None",
|
|
237
|
+
})
|
|
238
|
+
default_v3_trigger = alicloud.fc.V3Trigger("default",
|
|
239
|
+
function_name=function.function_name,
|
|
240
|
+
trigger_type="http",
|
|
241
|
+
trigger_name="tf-exampleacceu-central-1fcv3trigger28547",
|
|
242
|
+
description="create",
|
|
243
|
+
qualifier="LATEST",
|
|
244
|
+
trigger_config=json.dumps({
|
|
245
|
+
"authType": "anonymous",
|
|
246
|
+
"methods": [
|
|
247
|
+
"GET",
|
|
248
|
+
"POST",
|
|
249
|
+
],
|
|
250
|
+
}))
|
|
251
|
+
default = alicloud.fc.get_v3_triggers_output(ids=[default_v3_trigger.id],
|
|
252
|
+
name_regex=default_v3_trigger.trigger_name,
|
|
253
|
+
function_name=function_name)
|
|
254
|
+
pulumi.export("alicloudFcv3TriggerExampleId", default.triggers[0].id)
|
|
255
|
+
```
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
:param builtins.str function_name: Function Name
|
|
259
|
+
:param Sequence[builtins.str] ids: A list of Trigger IDs. The value is formulated as `<function_name>:<trigger_name>`.
|
|
260
|
+
:param builtins.str name_regex: A regex string to filter results by Group Metric Rule name.
|
|
261
|
+
:param builtins.str output_file: File name where to save data source results (after running `pulumi preview`).
|
|
262
|
+
"""
|
|
263
|
+
__args__ = dict()
|
|
264
|
+
__args__['functionName'] = function_name
|
|
265
|
+
__args__['ids'] = ids
|
|
266
|
+
__args__['nameRegex'] = name_regex
|
|
267
|
+
__args__['outputFile'] = output_file
|
|
268
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
269
|
+
__ret__ = pulumi.runtime.invoke_output('alicloud:fc/getV3Triggers:getV3Triggers', __args__, opts=opts, typ=GetV3TriggersResult)
|
|
270
|
+
return __ret__.apply(lambda __response__: GetV3TriggersResult(
|
|
271
|
+
function_name=pulumi.get(__response__, 'function_name'),
|
|
272
|
+
id=pulumi.get(__response__, 'id'),
|
|
273
|
+
ids=pulumi.get(__response__, 'ids'),
|
|
274
|
+
name_regex=pulumi.get(__response__, 'name_regex'),
|
|
275
|
+
names=pulumi.get(__response__, 'names'),
|
|
276
|
+
output_file=pulumi.get(__response__, 'output_file'),
|
|
277
|
+
triggers=pulumi.get(__response__, 'triggers')))
|
pulumi_alicloud/fc/outputs.py
CHANGED
|
@@ -85,6 +85,8 @@ __all__ = [
|
|
|
85
85
|
'GetServicesServiceNasConfigMountPointResult',
|
|
86
86
|
'GetServicesServiceVpcConfigResult',
|
|
87
87
|
'GetTriggersTriggerResult',
|
|
88
|
+
'GetV3TriggersTriggerResult',
|
|
89
|
+
'GetV3TriggersTriggerHttpTriggerResult',
|
|
88
90
|
'GetZonesZoneResult',
|
|
89
91
|
]
|
|
90
92
|
|
|
@@ -4032,6 +4034,196 @@ class GetTriggersTriggerResult(dict):
|
|
|
4032
4034
|
return pulumi.get(self, "type")
|
|
4033
4035
|
|
|
4034
4036
|
|
|
4037
|
+
@pulumi.output_type
|
|
4038
|
+
class GetV3TriggersTriggerResult(dict):
|
|
4039
|
+
def __init__(__self__, *,
|
|
4040
|
+
create_time: builtins.str,
|
|
4041
|
+
description: builtins.str,
|
|
4042
|
+
http_trigger: 'outputs.GetV3TriggersTriggerHttpTriggerResult',
|
|
4043
|
+
id: builtins.str,
|
|
4044
|
+
invocation_role: builtins.str,
|
|
4045
|
+
last_modified_time: builtins.str,
|
|
4046
|
+
qualifier: builtins.str,
|
|
4047
|
+
source_arn: builtins.str,
|
|
4048
|
+
status: builtins.str,
|
|
4049
|
+
target_arn: builtins.str,
|
|
4050
|
+
trigger_config: builtins.str,
|
|
4051
|
+
trigger_id: builtins.str,
|
|
4052
|
+
trigger_name: builtins.str,
|
|
4053
|
+
trigger_type: builtins.str):
|
|
4054
|
+
"""
|
|
4055
|
+
:param builtins.str create_time: Creation time
|
|
4056
|
+
:param builtins.str description: Description of the trigger
|
|
4057
|
+
:param 'GetV3TriggersTriggerHttpTriggerArgs' http_trigger: HTTP trigger information
|
|
4058
|
+
:param builtins.str id: The ID of the resource supplied above.
|
|
4059
|
+
:param builtins.str invocation_role: The role required by the event source (such as OSS) to call the function.
|
|
4060
|
+
:param builtins.str last_modified_time: The last modified time of the trigger
|
|
4061
|
+
:param builtins.str qualifier: The version or alias of the function
|
|
4062
|
+
:param builtins.str source_arn: Trigger Event source ARN
|
|
4063
|
+
:param builtins.str status: The state of the trigger
|
|
4064
|
+
:param builtins.str target_arn: Resource identity of the function
|
|
4065
|
+
:param builtins.str trigger_config: Trigger configuration. The configuration varies for different types of triggers.
|
|
4066
|
+
:param builtins.str trigger_id: Trigger ID
|
|
4067
|
+
:param builtins.str trigger_name: Trigger Name
|
|
4068
|
+
:param builtins.str trigger_type: The type of the trigger. Currently, the supported types include oss, log, http, timer, tablestore, cdn_events, mns_topic and eventbridge.
|
|
4069
|
+
"""
|
|
4070
|
+
pulumi.set(__self__, "create_time", create_time)
|
|
4071
|
+
pulumi.set(__self__, "description", description)
|
|
4072
|
+
pulumi.set(__self__, "http_trigger", http_trigger)
|
|
4073
|
+
pulumi.set(__self__, "id", id)
|
|
4074
|
+
pulumi.set(__self__, "invocation_role", invocation_role)
|
|
4075
|
+
pulumi.set(__self__, "last_modified_time", last_modified_time)
|
|
4076
|
+
pulumi.set(__self__, "qualifier", qualifier)
|
|
4077
|
+
pulumi.set(__self__, "source_arn", source_arn)
|
|
4078
|
+
pulumi.set(__self__, "status", status)
|
|
4079
|
+
pulumi.set(__self__, "target_arn", target_arn)
|
|
4080
|
+
pulumi.set(__self__, "trigger_config", trigger_config)
|
|
4081
|
+
pulumi.set(__self__, "trigger_id", trigger_id)
|
|
4082
|
+
pulumi.set(__self__, "trigger_name", trigger_name)
|
|
4083
|
+
pulumi.set(__self__, "trigger_type", trigger_type)
|
|
4084
|
+
|
|
4085
|
+
@property
|
|
4086
|
+
@pulumi.getter(name="createTime")
|
|
4087
|
+
def create_time(self) -> builtins.str:
|
|
4088
|
+
"""
|
|
4089
|
+
Creation time
|
|
4090
|
+
"""
|
|
4091
|
+
return pulumi.get(self, "create_time")
|
|
4092
|
+
|
|
4093
|
+
@property
|
|
4094
|
+
@pulumi.getter
|
|
4095
|
+
def description(self) -> builtins.str:
|
|
4096
|
+
"""
|
|
4097
|
+
Description of the trigger
|
|
4098
|
+
"""
|
|
4099
|
+
return pulumi.get(self, "description")
|
|
4100
|
+
|
|
4101
|
+
@property
|
|
4102
|
+
@pulumi.getter(name="httpTrigger")
|
|
4103
|
+
def http_trigger(self) -> 'outputs.GetV3TriggersTriggerHttpTriggerResult':
|
|
4104
|
+
"""
|
|
4105
|
+
HTTP trigger information
|
|
4106
|
+
"""
|
|
4107
|
+
return pulumi.get(self, "http_trigger")
|
|
4108
|
+
|
|
4109
|
+
@property
|
|
4110
|
+
@pulumi.getter
|
|
4111
|
+
def id(self) -> builtins.str:
|
|
4112
|
+
"""
|
|
4113
|
+
The ID of the resource supplied above.
|
|
4114
|
+
"""
|
|
4115
|
+
return pulumi.get(self, "id")
|
|
4116
|
+
|
|
4117
|
+
@property
|
|
4118
|
+
@pulumi.getter(name="invocationRole")
|
|
4119
|
+
def invocation_role(self) -> builtins.str:
|
|
4120
|
+
"""
|
|
4121
|
+
The role required by the event source (such as OSS) to call the function.
|
|
4122
|
+
"""
|
|
4123
|
+
return pulumi.get(self, "invocation_role")
|
|
4124
|
+
|
|
4125
|
+
@property
|
|
4126
|
+
@pulumi.getter(name="lastModifiedTime")
|
|
4127
|
+
def last_modified_time(self) -> builtins.str:
|
|
4128
|
+
"""
|
|
4129
|
+
The last modified time of the trigger
|
|
4130
|
+
"""
|
|
4131
|
+
return pulumi.get(self, "last_modified_time")
|
|
4132
|
+
|
|
4133
|
+
@property
|
|
4134
|
+
@pulumi.getter
|
|
4135
|
+
def qualifier(self) -> builtins.str:
|
|
4136
|
+
"""
|
|
4137
|
+
The version or alias of the function
|
|
4138
|
+
"""
|
|
4139
|
+
return pulumi.get(self, "qualifier")
|
|
4140
|
+
|
|
4141
|
+
@property
|
|
4142
|
+
@pulumi.getter(name="sourceArn")
|
|
4143
|
+
def source_arn(self) -> builtins.str:
|
|
4144
|
+
"""
|
|
4145
|
+
Trigger Event source ARN
|
|
4146
|
+
"""
|
|
4147
|
+
return pulumi.get(self, "source_arn")
|
|
4148
|
+
|
|
4149
|
+
@property
|
|
4150
|
+
@pulumi.getter
|
|
4151
|
+
def status(self) -> builtins.str:
|
|
4152
|
+
"""
|
|
4153
|
+
The state of the trigger
|
|
4154
|
+
"""
|
|
4155
|
+
return pulumi.get(self, "status")
|
|
4156
|
+
|
|
4157
|
+
@property
|
|
4158
|
+
@pulumi.getter(name="targetArn")
|
|
4159
|
+
def target_arn(self) -> builtins.str:
|
|
4160
|
+
"""
|
|
4161
|
+
Resource identity of the function
|
|
4162
|
+
"""
|
|
4163
|
+
return pulumi.get(self, "target_arn")
|
|
4164
|
+
|
|
4165
|
+
@property
|
|
4166
|
+
@pulumi.getter(name="triggerConfig")
|
|
4167
|
+
def trigger_config(self) -> builtins.str:
|
|
4168
|
+
"""
|
|
4169
|
+
Trigger configuration. The configuration varies for different types of triggers.
|
|
4170
|
+
"""
|
|
4171
|
+
return pulumi.get(self, "trigger_config")
|
|
4172
|
+
|
|
4173
|
+
@property
|
|
4174
|
+
@pulumi.getter(name="triggerId")
|
|
4175
|
+
def trigger_id(self) -> builtins.str:
|
|
4176
|
+
"""
|
|
4177
|
+
Trigger ID
|
|
4178
|
+
"""
|
|
4179
|
+
return pulumi.get(self, "trigger_id")
|
|
4180
|
+
|
|
4181
|
+
@property
|
|
4182
|
+
@pulumi.getter(name="triggerName")
|
|
4183
|
+
def trigger_name(self) -> builtins.str:
|
|
4184
|
+
"""
|
|
4185
|
+
Trigger Name
|
|
4186
|
+
"""
|
|
4187
|
+
return pulumi.get(self, "trigger_name")
|
|
4188
|
+
|
|
4189
|
+
@property
|
|
4190
|
+
@pulumi.getter(name="triggerType")
|
|
4191
|
+
def trigger_type(self) -> builtins.str:
|
|
4192
|
+
"""
|
|
4193
|
+
The type of the trigger. Currently, the supported types include oss, log, http, timer, tablestore, cdn_events, mns_topic and eventbridge.
|
|
4194
|
+
"""
|
|
4195
|
+
return pulumi.get(self, "trigger_type")
|
|
4196
|
+
|
|
4197
|
+
|
|
4198
|
+
@pulumi.output_type
|
|
4199
|
+
class GetV3TriggersTriggerHttpTriggerResult(dict):
|
|
4200
|
+
def __init__(__self__, *,
|
|
4201
|
+
url_internet: builtins.str,
|
|
4202
|
+
url_intranet: builtins.str):
|
|
4203
|
+
"""
|
|
4204
|
+
:param builtins.str url_internet: The public domain name address. On the Internet, you can access the HTTP Trigger through the HTTP protocol or HTTPS protocol.
|
|
4205
|
+
:param builtins.str url_intranet: The private domain name address. In a VPC, you can access the HTTP Trigger through HTTP or HTTPS.
|
|
4206
|
+
"""
|
|
4207
|
+
pulumi.set(__self__, "url_internet", url_internet)
|
|
4208
|
+
pulumi.set(__self__, "url_intranet", url_intranet)
|
|
4209
|
+
|
|
4210
|
+
@property
|
|
4211
|
+
@pulumi.getter(name="urlInternet")
|
|
4212
|
+
def url_internet(self) -> builtins.str:
|
|
4213
|
+
"""
|
|
4214
|
+
The public domain name address. On the Internet, you can access the HTTP Trigger through the HTTP protocol or HTTPS protocol.
|
|
4215
|
+
"""
|
|
4216
|
+
return pulumi.get(self, "url_internet")
|
|
4217
|
+
|
|
4218
|
+
@property
|
|
4219
|
+
@pulumi.getter(name="urlIntranet")
|
|
4220
|
+
def url_intranet(self) -> builtins.str:
|
|
4221
|
+
"""
|
|
4222
|
+
The private domain name address. In a VPC, you can access the HTTP Trigger through HTTP or HTTPS.
|
|
4223
|
+
"""
|
|
4224
|
+
return pulumi.get(self, "url_intranet")
|
|
4225
|
+
|
|
4226
|
+
|
|
4035
4227
|
@pulumi.output_type
|
|
4036
4228
|
class GetZonesZoneResult(dict):
|
|
4037
4229
|
def __init__(__self__, *,
|