@pulumi/alicloud 3.65.0 → 3.65.1
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.
- package/alb/loadBalancer.d.ts +1 -1
- package/arms/environment.d.ts +3 -3
- package/arms/getRemoteWrites.d.ts +4 -4
- package/arms/getRemoteWrites.js +4 -4
- package/arms/prometheusAlertRule.d.ts +30 -0
- package/arms/prometheusAlertRule.js +30 -0
- package/arms/prometheusAlertRule.js.map +1 -1
- package/arms/remoteWrite.d.ts +1 -1
- package/arms/remoteWrite.js +1 -1
- package/cen/transitRouterVbrAttachment.d.ts +54 -40
- package/cen/transitRouterVbrAttachment.js +12 -10
- package/cen/transitRouterVbrAttachment.js.map +1 -1
- package/cms/hybridMonitorFcTask.d.ts +14 -13
- package/cms/hybridMonitorFcTask.js +14 -13
- package/cms/hybridMonitorFcTask.js.map +1 -1
- package/cr/chain.d.ts +12 -7
- package/cr/chain.js +12 -7
- package/cr/chain.js.map +1 -1
- package/cr/chartRepository.d.ts +8 -3
- package/cr/chartRepository.js +8 -3
- package/cr/chartRepository.js.map +1 -1
- package/cr/repo.d.ts +4 -4
- package/cr/repo.js +2 -2
- package/cr/vpcEndpointLinkedVpc.d.ts +8 -3
- package/cr/vpcEndpointLinkedVpc.js +8 -3
- package/cr/vpcEndpointLinkedVpc.js.map +1 -1
- package/databasefilesystem/instanceAttachment.d.ts +30 -33
- package/databasefilesystem/instanceAttachment.js +25 -28
- package/databasefilesystem/instanceAttachment.js.map +1 -1
- package/databasefilesystem/snapshot.d.ts +24 -64
- package/databasefilesystem/snapshot.js +9 -49
- package/databasefilesystem/snapshot.js.map +1 -1
- package/ecs/instance.d.ts +3 -3
- package/ess/scalingConfiguration.d.ts +3 -3
- package/fc/trigger.d.ts +109 -68
- package/fc/trigger.js +109 -68
- package/fc/trigger.js.map +1 -1
- package/ga/customRoutingEndpointTrafficPolicy.d.ts +26 -25
- package/ga/customRoutingEndpointTrafficPolicy.js +26 -25
- package/ga/customRoutingEndpointTrafficPolicy.js.map +1 -1
- package/governance/account.d.ts +14 -6
- package/governance/account.js +2 -0
- package/governance/account.js.map +1 -1
- package/gpdb/instance.d.ts +52 -7
- package/gpdb/instance.js +8 -0
- package/gpdb/instance.js.map +1 -1
- package/kms/instance.d.ts +8 -0
- package/kms/instance.js +2 -0
- package/kms/instance.js.map +1 -1
- package/nas/dataFlow.d.ts +3 -3
- package/nas/dataFlow.js +3 -3
- package/nas/fileset.d.ts +3 -3
- package/nas/fileset.js +3 -3
- package/nas/lifecyclePolicy.d.ts +3 -3
- package/nas/lifecyclePolicy.js +3 -3
- package/nas/recycleBin.d.ts +3 -3
- package/nas/recycleBin.js +3 -3
- package/nas/snapshot.d.ts +3 -3
- package/nas/snapshot.js +3 -3
- package/package.json +2 -2
- package/redis/tairInstance.d.ts +346 -30
- package/redis/tairInstance.js +36 -0
- package/redis/tairInstance.js.map +1 -1
- package/threatdetection/honeypotPreset.d.ts +1 -0
- package/threatdetection/honeypotPreset.js +1 -0
- package/threatdetection/honeypotPreset.js.map +1 -1
- package/types/input.d.ts +10 -0
- package/types/output.d.ts +10 -0
- package/vpn/gatewayVcoRoute.d.ts +13 -4
- package/vpn/gatewayVcoRoute.js +13 -4
- package/vpn/gatewayVcoRoute.js.map +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* Provides a DBFS Snapshot resource.
|
|
3
|
+
* Provides a Database File System (DBFS) Snapshot resource.
|
|
4
4
|
*
|
|
5
|
-
* For information about DBFS Snapshot and how to use it.
|
|
5
|
+
* For information about Database File System (DBFS) Snapshot and how to use it, see [What is Snapshot](https://help.aliyun.com/zh/dbfs/developer-reference/api-dbfs-2020-04-18-createsnapshot).
|
|
6
6
|
*
|
|
7
7
|
* > **NOTE:** Available since v1.156.0.
|
|
8
8
|
*
|
|
@@ -15,59 +15,19 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
15
15
|
* import * as alicloud from "@pulumi/alicloud";
|
|
16
16
|
*
|
|
17
17
|
* const config = new pulumi.Config();
|
|
18
|
-
* const name = config.get("name") || "
|
|
19
|
-
* const
|
|
20
|
-
* const example = alicloud.
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
* });
|
|
24
|
-
* const exampleGetImages = Promise.all([example, example.then(example => example.instanceTypes).length]).then(([example, length]) => alicloud.ecs.getImages({
|
|
25
|
-
* instanceType: example.instanceTypes[length - 1].id,
|
|
26
|
-
* nameRegex: "^aliyun_2_1903_x64_20G_alibase_20240628.vhd",
|
|
27
|
-
* owners: "system",
|
|
28
|
-
* }));
|
|
29
|
-
* const default = alicloud.vpc.getNetworks({
|
|
30
|
-
* nameRegex: "^default-NODELETING$",
|
|
31
|
-
* });
|
|
32
|
-
* const defaultGetSwitches = _default.then(_default => alicloud.vpc.getSwitches({
|
|
33
|
-
* vpcId: _default.ids?.[0],
|
|
34
|
-
* zoneId: zoneId,
|
|
35
|
-
* }));
|
|
36
|
-
* const exampleSecurityGroup = new alicloud.ecs.SecurityGroup("example", {
|
|
37
|
-
* name: name,
|
|
38
|
-
* vpcId: _default.then(_default => _default.ids?.[0]),
|
|
39
|
-
* });
|
|
40
|
-
* const defaultInstance = new alicloud.ecs.Instance("default", {
|
|
41
|
-
* availabilityZone: zoneId,
|
|
42
|
-
* instanceName: name,
|
|
43
|
-
* imageId: exampleGetImages.then(exampleGetImages => exampleGetImages.images?.[0]?.id),
|
|
44
|
-
* instanceType: Promise.all([example, example.then(example => example.instanceTypes).length]).then(([example, length]) => example.instanceTypes[length - 1].id),
|
|
45
|
-
* securityGroups: [exampleSecurityGroup.id],
|
|
46
|
-
* vswitchId: defaultGetSwitches.then(defaultGetSwitches => defaultGetSwitches.ids?.[0]),
|
|
47
|
-
* systemDiskCategory: "cloud_essd",
|
|
48
|
-
* });
|
|
49
|
-
* const defaultInstance2 = new alicloud.databasefilesystem.Instance("default", {
|
|
50
|
-
* category: "enterprise",
|
|
51
|
-
* zoneId: defaultInstance.availabilityZone,
|
|
52
|
-
* performanceLevel: "PL1",
|
|
53
|
-
* fsName: name,
|
|
54
|
-
* size: 100,
|
|
55
|
-
* });
|
|
56
|
-
* const defaultInstanceAttachment = new alicloud.databasefilesystem.InstanceAttachment("default", {
|
|
57
|
-
* ecsId: defaultInstance.id,
|
|
58
|
-
* instanceId: defaultInstance2.id,
|
|
59
|
-
* });
|
|
60
|
-
* const exampleSnapshot = new alicloud.databasefilesystem.Snapshot("example", {
|
|
61
|
-
* instanceId: defaultInstanceAttachment.instanceId,
|
|
18
|
+
* const name = config.get("name") || "terraform-example";
|
|
19
|
+
* const default = alicloud.databasefilesystem.getInstances({});
|
|
20
|
+
* const example = new alicloud.databasefilesystem.Snapshot("example", {
|
|
21
|
+
* instanceId: _default.then(_default => _default.instances?.[0]?.id),
|
|
22
|
+
* retentionDays: 50,
|
|
62
23
|
* snapshotName: name,
|
|
63
|
-
* description:
|
|
64
|
-
* retentionDays: 30,
|
|
24
|
+
* description: "DbfsSnapshot",
|
|
65
25
|
* });
|
|
66
26
|
* ```
|
|
67
27
|
*
|
|
68
28
|
* ## Import
|
|
69
29
|
*
|
|
70
|
-
* DBFS Snapshot can be imported using the id, e.g.
|
|
30
|
+
* Database File System (DBFS) Snapshot can be imported using the id, e.g.
|
|
71
31
|
*
|
|
72
32
|
* ```sh
|
|
73
33
|
* $ pulumi import alicloud:databasefilesystem/snapshot:Snapshot example <id>
|
|
@@ -90,23 +50,23 @@ export declare class Snapshot extends pulumi.CustomResource {
|
|
|
90
50
|
*/
|
|
91
51
|
static isInstance(obj: any): obj is Snapshot;
|
|
92
52
|
/**
|
|
93
|
-
*
|
|
53
|
+
* The description of the snapshot. The `description` must be `2` to `256` characters in length. It cannot start with `http://` or `https://`. **NOTE:** From version 1.233.1, `description` can be modified.
|
|
94
54
|
*/
|
|
95
55
|
readonly description: pulumi.Output<string | undefined>;
|
|
96
56
|
/**
|
|
97
|
-
*
|
|
57
|
+
* Specifies whether to force delete the snapshot. Valid values:
|
|
98
58
|
*/
|
|
99
59
|
readonly force: pulumi.Output<boolean | undefined>;
|
|
100
60
|
/**
|
|
101
|
-
* The ID of the
|
|
61
|
+
* The ID of the Database File System.
|
|
102
62
|
*/
|
|
103
63
|
readonly instanceId: pulumi.Output<string>;
|
|
104
64
|
/**
|
|
105
|
-
* The retention
|
|
65
|
+
* The retention period of the snapshot. Valid values: `1` to `65536`.
|
|
106
66
|
*/
|
|
107
67
|
readonly retentionDays: pulumi.Output<number | undefined>;
|
|
108
68
|
/**
|
|
109
|
-
* The
|
|
69
|
+
* The name of the snapshot. The `snapshotName` must be `2` to `128` characters in length. It must start with a large or small letter or Chinese, and cannot start with `http://`, `https://`, `auto` or `dbfs-auto`. It can contain numbers, colons (:), underscores (_), or hyphens (-). **NOTE:** From version 1.233.1, `snapshotName` can be modified.
|
|
110
70
|
*/
|
|
111
71
|
readonly snapshotName: pulumi.Output<string | undefined>;
|
|
112
72
|
/**
|
|
@@ -127,23 +87,23 @@ export declare class Snapshot extends pulumi.CustomResource {
|
|
|
127
87
|
*/
|
|
128
88
|
export interface SnapshotState {
|
|
129
89
|
/**
|
|
130
|
-
*
|
|
90
|
+
* The description of the snapshot. The `description` must be `2` to `256` characters in length. It cannot start with `http://` or `https://`. **NOTE:** From version 1.233.1, `description` can be modified.
|
|
131
91
|
*/
|
|
132
92
|
description?: pulumi.Input<string>;
|
|
133
93
|
/**
|
|
134
|
-
*
|
|
94
|
+
* Specifies whether to force delete the snapshot. Valid values:
|
|
135
95
|
*/
|
|
136
96
|
force?: pulumi.Input<boolean>;
|
|
137
97
|
/**
|
|
138
|
-
* The ID of the
|
|
98
|
+
* The ID of the Database File System.
|
|
139
99
|
*/
|
|
140
100
|
instanceId?: pulumi.Input<string>;
|
|
141
101
|
/**
|
|
142
|
-
* The retention
|
|
102
|
+
* The retention period of the snapshot. Valid values: `1` to `65536`.
|
|
143
103
|
*/
|
|
144
104
|
retentionDays?: pulumi.Input<number>;
|
|
145
105
|
/**
|
|
146
|
-
* The
|
|
106
|
+
* The name of the snapshot. The `snapshotName` must be `2` to `128` characters in length. It must start with a large or small letter or Chinese, and cannot start with `http://`, `https://`, `auto` or `dbfs-auto`. It can contain numbers, colons (:), underscores (_), or hyphens (-). **NOTE:** From version 1.233.1, `snapshotName` can be modified.
|
|
147
107
|
*/
|
|
148
108
|
snapshotName?: pulumi.Input<string>;
|
|
149
109
|
/**
|
|
@@ -156,23 +116,23 @@ export interface SnapshotState {
|
|
|
156
116
|
*/
|
|
157
117
|
export interface SnapshotArgs {
|
|
158
118
|
/**
|
|
159
|
-
*
|
|
119
|
+
* The description of the snapshot. The `description` must be `2` to `256` characters in length. It cannot start with `http://` or `https://`. **NOTE:** From version 1.233.1, `description` can be modified.
|
|
160
120
|
*/
|
|
161
121
|
description?: pulumi.Input<string>;
|
|
162
122
|
/**
|
|
163
|
-
*
|
|
123
|
+
* Specifies whether to force delete the snapshot. Valid values:
|
|
164
124
|
*/
|
|
165
125
|
force?: pulumi.Input<boolean>;
|
|
166
126
|
/**
|
|
167
|
-
* The ID of the
|
|
127
|
+
* The ID of the Database File System.
|
|
168
128
|
*/
|
|
169
129
|
instanceId: pulumi.Input<string>;
|
|
170
130
|
/**
|
|
171
|
-
* The retention
|
|
131
|
+
* The retention period of the snapshot. Valid values: `1` to `65536`.
|
|
172
132
|
*/
|
|
173
133
|
retentionDays?: pulumi.Input<number>;
|
|
174
134
|
/**
|
|
175
|
-
* The
|
|
135
|
+
* The name of the snapshot. The `snapshotName` must be `2` to `128` characters in length. It must start with a large or small letter or Chinese, and cannot start with `http://`, `https://`, `auto` or `dbfs-auto`. It can contain numbers, colons (:), underscores (_), or hyphens (-). **NOTE:** From version 1.233.1, `snapshotName` can be modified.
|
|
176
136
|
*/
|
|
177
137
|
snapshotName?: pulumi.Input<string>;
|
|
178
138
|
}
|
|
@@ -6,9 +6,9 @@ exports.Snapshot = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
* Provides a DBFS Snapshot resource.
|
|
9
|
+
* Provides a Database File System (DBFS) Snapshot resource.
|
|
10
10
|
*
|
|
11
|
-
* For information about DBFS Snapshot and how to use it.
|
|
11
|
+
* For information about Database File System (DBFS) Snapshot and how to use it, see [What is Snapshot](https://help.aliyun.com/zh/dbfs/developer-reference/api-dbfs-2020-04-18-createsnapshot).
|
|
12
12
|
*
|
|
13
13
|
* > **NOTE:** Available since v1.156.0.
|
|
14
14
|
*
|
|
@@ -21,59 +21,19 @@ const utilities = require("../utilities");
|
|
|
21
21
|
* import * as alicloud from "@pulumi/alicloud";
|
|
22
22
|
*
|
|
23
23
|
* const config = new pulumi.Config();
|
|
24
|
-
* const name = config.get("name") || "
|
|
25
|
-
* const
|
|
26
|
-
* const example = alicloud.
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
* });
|
|
30
|
-
* const exampleGetImages = Promise.all([example, example.then(example => example.instanceTypes).length]).then(([example, length]) => alicloud.ecs.getImages({
|
|
31
|
-
* instanceType: example.instanceTypes[length - 1].id,
|
|
32
|
-
* nameRegex: "^aliyun_2_1903_x64_20G_alibase_20240628.vhd",
|
|
33
|
-
* owners: "system",
|
|
34
|
-
* }));
|
|
35
|
-
* const default = alicloud.vpc.getNetworks({
|
|
36
|
-
* nameRegex: "^default-NODELETING$",
|
|
37
|
-
* });
|
|
38
|
-
* const defaultGetSwitches = _default.then(_default => alicloud.vpc.getSwitches({
|
|
39
|
-
* vpcId: _default.ids?.[0],
|
|
40
|
-
* zoneId: zoneId,
|
|
41
|
-
* }));
|
|
42
|
-
* const exampleSecurityGroup = new alicloud.ecs.SecurityGroup("example", {
|
|
43
|
-
* name: name,
|
|
44
|
-
* vpcId: _default.then(_default => _default.ids?.[0]),
|
|
45
|
-
* });
|
|
46
|
-
* const defaultInstance = new alicloud.ecs.Instance("default", {
|
|
47
|
-
* availabilityZone: zoneId,
|
|
48
|
-
* instanceName: name,
|
|
49
|
-
* imageId: exampleGetImages.then(exampleGetImages => exampleGetImages.images?.[0]?.id),
|
|
50
|
-
* instanceType: Promise.all([example, example.then(example => example.instanceTypes).length]).then(([example, length]) => example.instanceTypes[length - 1].id),
|
|
51
|
-
* securityGroups: [exampleSecurityGroup.id],
|
|
52
|
-
* vswitchId: defaultGetSwitches.then(defaultGetSwitches => defaultGetSwitches.ids?.[0]),
|
|
53
|
-
* systemDiskCategory: "cloud_essd",
|
|
54
|
-
* });
|
|
55
|
-
* const defaultInstance2 = new alicloud.databasefilesystem.Instance("default", {
|
|
56
|
-
* category: "enterprise",
|
|
57
|
-
* zoneId: defaultInstance.availabilityZone,
|
|
58
|
-
* performanceLevel: "PL1",
|
|
59
|
-
* fsName: name,
|
|
60
|
-
* size: 100,
|
|
61
|
-
* });
|
|
62
|
-
* const defaultInstanceAttachment = new alicloud.databasefilesystem.InstanceAttachment("default", {
|
|
63
|
-
* ecsId: defaultInstance.id,
|
|
64
|
-
* instanceId: defaultInstance2.id,
|
|
65
|
-
* });
|
|
66
|
-
* const exampleSnapshot = new alicloud.databasefilesystem.Snapshot("example", {
|
|
67
|
-
* instanceId: defaultInstanceAttachment.instanceId,
|
|
24
|
+
* const name = config.get("name") || "terraform-example";
|
|
25
|
+
* const default = alicloud.databasefilesystem.getInstances({});
|
|
26
|
+
* const example = new alicloud.databasefilesystem.Snapshot("example", {
|
|
27
|
+
* instanceId: _default.then(_default => _default.instances?.[0]?.id),
|
|
28
|
+
* retentionDays: 50,
|
|
68
29
|
* snapshotName: name,
|
|
69
|
-
* description:
|
|
70
|
-
* retentionDays: 30,
|
|
30
|
+
* description: "DbfsSnapshot",
|
|
71
31
|
* });
|
|
72
32
|
* ```
|
|
73
33
|
*
|
|
74
34
|
* ## Import
|
|
75
35
|
*
|
|
76
|
-
* DBFS Snapshot can be imported using the id, e.g.
|
|
36
|
+
* Database File System (DBFS) Snapshot can be imported using the id, e.g.
|
|
77
37
|
*
|
|
78
38
|
* ```sh
|
|
79
39
|
* $ pulumi import alicloud:databasefilesystem/snapshot:Snapshot example <id>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"snapshot.js","sourceRoot":"","sources":["../../databasefilesystem/snapshot.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"snapshot.js","sourceRoot":"","sources":["../../databasefilesystem/snapshot.ts"],"names":[],"mappings":"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"}
|
package/ecs/instance.d.ts
CHANGED
|
@@ -189,7 +189,7 @@ export declare class Instance extends pulumi.CustomResource {
|
|
|
189
189
|
*/
|
|
190
190
|
readonly httpEndpoint: pulumi.Output<string>;
|
|
191
191
|
/**
|
|
192
|
-
* The HTTP PUT response hop limit for accessing instance metadata. Valid values: 1 to 64. Default value: 1.
|
|
192
|
+
* **NOTE:**: This parameter is not available for use yet. The HTTP PUT response hop limit for accessing instance metadata. Valid values: 1 to 64. Default value: 1.
|
|
193
193
|
*/
|
|
194
194
|
readonly httpPutResponseHopLimit: pulumi.Output<number>;
|
|
195
195
|
/**
|
|
@@ -600,7 +600,7 @@ export interface InstanceState {
|
|
|
600
600
|
*/
|
|
601
601
|
httpEndpoint?: pulumi.Input<string>;
|
|
602
602
|
/**
|
|
603
|
-
* The HTTP PUT response hop limit for accessing instance metadata. Valid values: 1 to 64. Default value: 1.
|
|
603
|
+
* **NOTE:**: This parameter is not available for use yet. The HTTP PUT response hop limit for accessing instance metadata. Valid values: 1 to 64. Default value: 1.
|
|
604
604
|
*/
|
|
605
605
|
httpPutResponseHopLimit?: pulumi.Input<number>;
|
|
606
606
|
/**
|
|
@@ -987,7 +987,7 @@ export interface InstanceArgs {
|
|
|
987
987
|
*/
|
|
988
988
|
httpEndpoint?: pulumi.Input<string>;
|
|
989
989
|
/**
|
|
990
|
-
* The HTTP PUT response hop limit for accessing instance metadata. Valid values: 1 to 64. Default value: 1.
|
|
990
|
+
* **NOTE:**: This parameter is not available for use yet. The HTTP PUT response hop limit for accessing instance metadata. Valid values: 1 to 64. Default value: 1.
|
|
991
991
|
*/
|
|
992
992
|
httpPutResponseHopLimit?: pulumi.Input<number>;
|
|
993
993
|
/**
|
|
@@ -184,7 +184,7 @@ export declare class ScalingConfiguration extends pulumi.CustomResource {
|
|
|
184
184
|
*/
|
|
185
185
|
readonly internetChargeType: pulumi.Output<string | undefined>;
|
|
186
186
|
/**
|
|
187
|
-
* Maximum incoming bandwidth from the public network, measured in Mbps (Mega bit per second).
|
|
187
|
+
* Maximum incoming bandwidth from the public network, measured in Mbps (Mega bit per second).
|
|
188
188
|
*/
|
|
189
189
|
readonly internetMaxBandwidthIn: pulumi.Output<number | undefined>;
|
|
190
190
|
/**
|
|
@@ -425,7 +425,7 @@ export interface ScalingConfigurationState {
|
|
|
425
425
|
*/
|
|
426
426
|
internetChargeType?: pulumi.Input<string>;
|
|
427
427
|
/**
|
|
428
|
-
* Maximum incoming bandwidth from the public network, measured in Mbps (Mega bit per second).
|
|
428
|
+
* Maximum incoming bandwidth from the public network, measured in Mbps (Mega bit per second).
|
|
429
429
|
*/
|
|
430
430
|
internetMaxBandwidthIn?: pulumi.Input<number>;
|
|
431
431
|
/**
|
|
@@ -658,7 +658,7 @@ export interface ScalingConfigurationArgs {
|
|
|
658
658
|
*/
|
|
659
659
|
internetChargeType?: pulumi.Input<string>;
|
|
660
660
|
/**
|
|
661
|
-
* Maximum incoming bandwidth from the public network, measured in Mbps (Mega bit per second).
|
|
661
|
+
* Maximum incoming bandwidth from the public network, measured in Mbps (Mega bit per second).
|
|
662
662
|
*/
|
|
663
663
|
internetMaxBandwidthIn?: pulumi.Input<number>;
|
|
664
664
|
/**
|
package/fc/trigger.d.ts
CHANGED
|
@@ -365,44 +365,61 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
365
365
|
* "function": defaultFunction.name,
|
|
366
366
|
* name: "terraform-example-oss",
|
|
367
367
|
* type: "eventbridge",
|
|
368
|
-
* config:
|
|
369
|
-
*
|
|
370
|
-
*
|
|
371
|
-
*
|
|
372
|
-
*
|
|
373
|
-
* "acs.oss"
|
|
374
|
-
* ],
|
|
375
|
-
* "type":[
|
|
376
|
-
* "oss:BucketCreated:PutBucket"
|
|
377
|
-
* ]
|
|
368
|
+
* config: JSON.stringify({
|
|
369
|
+
* triggerEnable: false,
|
|
370
|
+
* asyncInvocationType: false,
|
|
371
|
+
* eventSourceConfig: {
|
|
372
|
+
* eventSourceType: "Default",
|
|
378
373
|
* },
|
|
379
|
-
* "
|
|
380
|
-
*
|
|
381
|
-
*
|
|
382
|
-
*
|
|
383
|
-
*
|
|
374
|
+
* eventRuleFilterPattern: "{\"source\":[\"acs.oss\"],\"type\":[\"oss:BucketCreated:PutBucket\"]}",
|
|
375
|
+
* eventSinkConfig: {
|
|
376
|
+
* deliveryOption: {
|
|
377
|
+
* mode: "event-driven",
|
|
378
|
+
* eventSchema: "CloudEvents",
|
|
379
|
+
* },
|
|
380
|
+
* },
|
|
381
|
+
* runOptions: {
|
|
382
|
+
* retryStrategy: {
|
|
383
|
+
* PushRetryStrategy: "BACKOFF_RETRY",
|
|
384
|
+
* },
|
|
385
|
+
* errorsTolerance: "ALL",
|
|
386
|
+
* mode: "event-driven",
|
|
387
|
+
* },
|
|
388
|
+
* }),
|
|
384
389
|
* });
|
|
385
390
|
* const mnsTrigger = new alicloud.fc.Trigger("mns_trigger", {
|
|
386
391
|
* service: defaultService.name,
|
|
387
392
|
* "function": defaultFunction.name,
|
|
388
393
|
* name: "terraform-example-mns",
|
|
389
394
|
* type: "eventbridge",
|
|
390
|
-
* config:
|
|
391
|
-
*
|
|
392
|
-
*
|
|
393
|
-
*
|
|
394
|
-
*
|
|
395
|
-
*
|
|
396
|
-
*
|
|
397
|
-
*
|
|
398
|
-
*
|
|
399
|
-
*
|
|
400
|
-
*
|
|
401
|
-
*
|
|
402
|
-
*
|
|
403
|
-
* }
|
|
404
|
-
*
|
|
405
|
-
*
|
|
395
|
+
* config: JSON.stringify({
|
|
396
|
+
* triggerEnable: false,
|
|
397
|
+
* asyncInvocationType: false,
|
|
398
|
+
* eventSourceConfig: {
|
|
399
|
+
* eventSourceType: "MNS",
|
|
400
|
+
* eventSourceParameters: {
|
|
401
|
+
* sourceMNSParameters: {
|
|
402
|
+
* RegionId: defaultGetRegions.then(defaultGetRegions => defaultGetRegions.regions?.[0]?.id),
|
|
403
|
+
* QueueName: "mns-queue",
|
|
404
|
+
* IsBase64Decode: true,
|
|
405
|
+
* },
|
|
406
|
+
* },
|
|
407
|
+
* },
|
|
408
|
+
* eventRuleFilterPattern: "{}",
|
|
409
|
+
* eventSinkConfig: {
|
|
410
|
+
* deliveryOption: {
|
|
411
|
+
* mode: "event-driven",
|
|
412
|
+
* eventSchema: "CloudEvents",
|
|
413
|
+
* },
|
|
414
|
+
* },
|
|
415
|
+
* runOptions: {
|
|
416
|
+
* retryStrategy: {
|
|
417
|
+
* PushRetryStrategy: "BACKOFF_RETRY",
|
|
418
|
+
* },
|
|
419
|
+
* errorsTolerance: "ALL",
|
|
420
|
+
* mode: "event-driven",
|
|
421
|
+
* },
|
|
422
|
+
* }),
|
|
406
423
|
* });
|
|
407
424
|
* const defaultInstance = new alicloud.rocketmq.Instance("default", {
|
|
408
425
|
* instanceName: `terraform-example-${defaultInteger.result}`,
|
|
@@ -424,26 +441,38 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
424
441
|
* "function": defaultFunction.name,
|
|
425
442
|
* name: "terraform-example-rocketmq",
|
|
426
443
|
* type: "eventbridge",
|
|
427
|
-
* config: pulumi.
|
|
428
|
-
*
|
|
429
|
-
*
|
|
430
|
-
*
|
|
431
|
-
*
|
|
432
|
-
*
|
|
433
|
-
*
|
|
434
|
-
* "
|
|
435
|
-
*
|
|
436
|
-
*
|
|
437
|
-
*
|
|
438
|
-
*
|
|
439
|
-
*
|
|
440
|
-
*
|
|
441
|
-
*
|
|
442
|
-
*
|
|
443
|
-
*
|
|
444
|
-
*
|
|
445
|
-
*
|
|
446
|
-
*
|
|
444
|
+
* config: pulumi.jsonStringify({
|
|
445
|
+
* triggerEnable: false,
|
|
446
|
+
* asyncInvocationType: false,
|
|
447
|
+
* eventRuleFilterPattern: "{}",
|
|
448
|
+
* eventSinkConfig: {
|
|
449
|
+
* deliveryOption: {
|
|
450
|
+
* mode: "event-driven",
|
|
451
|
+
* eventSchema: "CloudEvents",
|
|
452
|
+
* },
|
|
453
|
+
* },
|
|
454
|
+
* eventSourceConfig: {
|
|
455
|
+
* eventSourceType: "RocketMQ",
|
|
456
|
+
* eventSourceParameters: {
|
|
457
|
+
* sourceRocketMQParameters: {
|
|
458
|
+
* RegionId: defaultGetRegions.then(defaultGetRegions => defaultGetRegions.regions?.[0]?.id),
|
|
459
|
+
* InstanceId: defaultInstance.id,
|
|
460
|
+
* GroupID: defaultGroup.groupName,
|
|
461
|
+
* Topic: defaultTopic.topicName,
|
|
462
|
+
* Timestamp: 1686296162,
|
|
463
|
+
* Tag: "example-tag",
|
|
464
|
+
* Offset: "CONSUME_FROM_LAST_OFFSET",
|
|
465
|
+
* },
|
|
466
|
+
* },
|
|
467
|
+
* },
|
|
468
|
+
* runOptions: {
|
|
469
|
+
* retryStrategy: {
|
|
470
|
+
* PushRetryStrategy: "BACKOFF_RETRY",
|
|
471
|
+
* },
|
|
472
|
+
* errorsTolerance: "ALL",
|
|
473
|
+
* mode: "event-driven",
|
|
474
|
+
* },
|
|
475
|
+
* }),
|
|
447
476
|
* });
|
|
448
477
|
* const defaultInstance2 = new alicloud.amqp.Instance("default", {
|
|
449
478
|
* instanceName: `terraform-example-${defaultInteger.result}`,
|
|
@@ -469,23 +498,35 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
469
498
|
* "function": defaultFunction.name,
|
|
470
499
|
* name: "terraform-example-rabbitmq",
|
|
471
500
|
* type: "eventbridge",
|
|
472
|
-
* config: pulumi.
|
|
473
|
-
*
|
|
474
|
-
*
|
|
475
|
-
*
|
|
476
|
-
*
|
|
477
|
-
*
|
|
478
|
-
*
|
|
479
|
-
*
|
|
480
|
-
*
|
|
481
|
-
*
|
|
482
|
-
*
|
|
483
|
-
*
|
|
484
|
-
* }
|
|
485
|
-
* }
|
|
486
|
-
* }
|
|
487
|
-
*
|
|
488
|
-
*
|
|
501
|
+
* config: pulumi.jsonStringify({
|
|
502
|
+
* triggerEnable: false,
|
|
503
|
+
* asyncInvocationType: false,
|
|
504
|
+
* eventRuleFilterPattern: "{}",
|
|
505
|
+
* eventSourceConfig: {
|
|
506
|
+
* eventSourceType: "RabbitMQ",
|
|
507
|
+
* eventSourceParameters: {
|
|
508
|
+
* sourceRabbitMQParameters: {
|
|
509
|
+
* RegionId: defaultGetRegions.then(defaultGetRegions => defaultGetRegions.regions?.[0]?.id),
|
|
510
|
+
* InstanceId: defaultInstance2.id,
|
|
511
|
+
* VirtualHostName: defaultVirtualHost.virtualHostName,
|
|
512
|
+
* QueueName: defaultQueue.queueName,
|
|
513
|
+
* },
|
|
514
|
+
* },
|
|
515
|
+
* },
|
|
516
|
+
* eventSinkConfig: {
|
|
517
|
+
* deliveryOption: {
|
|
518
|
+
* mode: "event-driven",
|
|
519
|
+
* eventSchema: "CloudEvents",
|
|
520
|
+
* },
|
|
521
|
+
* },
|
|
522
|
+
* runOptions: {
|
|
523
|
+
* retryStrategy: {
|
|
524
|
+
* PushRetryStrategy: "BACKOFF_RETRY",
|
|
525
|
+
* },
|
|
526
|
+
* errorsTolerance: "ALL",
|
|
527
|
+
* mode: "event-driven",
|
|
528
|
+
* },
|
|
529
|
+
* }),
|
|
489
530
|
* });
|
|
490
531
|
* ```
|
|
491
532
|
*
|