@pulumi/alicloud 3.27.0 → 3.28.0

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.
Files changed (94) hide show
  1. package/adb/dbcluster.d.ts +1 -1
  2. package/adb/dbcluster.js +1 -1
  3. package/alikafka/instance.d.ts +37 -9
  4. package/alikafka/instance.js +4 -0
  5. package/alikafka/instance.js.map +1 -1
  6. package/apigateway/backend.d.ts +116 -0
  7. package/apigateway/backend.js +93 -0
  8. package/apigateway/backend.js.map +1 -0
  9. package/apigateway/getBackends.d.ts +69 -0
  10. package/apigateway/getBackends.js +44 -0
  11. package/apigateway/getBackends.js.map +1 -0
  12. package/apigateway/index.d.ts +2 -0
  13. package/apigateway/index.js +6 -0
  14. package/apigateway/index.js.map +1 -1
  15. package/cloudstoragegateway/gatewayBlockVolume.d.ts +3 -3
  16. package/cloudstoragegateway/gatewayFileShare.d.ts +3 -3
  17. package/cms/alarm.d.ts +18 -0
  18. package/cms/alarm.js +2 -0
  19. package/cms/alarm.js.map +1 -1
  20. package/cs/nodePool.d.ts +76 -9
  21. package/cs/nodePool.js +47 -0
  22. package/cs/nodePool.js.map +1 -1
  23. package/ddos/bgpIp.d.ts +113 -0
  24. package/ddos/bgpIp.js +94 -0
  25. package/ddos/bgpIp.js.map +1 -0
  26. package/ddos/getDdosBgpIps.d.ts +92 -0
  27. package/ddos/getDdosBgpIps.js +51 -0
  28. package/ddos/getDdosBgpIps.js.map +1 -0
  29. package/ddos/index.d.ts +2 -0
  30. package/ddos/index.js +6 -0
  31. package/ddos/index.js.map +1 -1
  32. package/ecs/autoProvisioningGroup.d.ts +3 -3
  33. package/ecs/disk.d.ts +1 -1
  34. package/ecs/ecsDisk.d.ts +1 -1
  35. package/ecs/ecsInstanceSet.d.ts +3 -3
  36. package/ecs/instance.d.ts +36 -0
  37. package/ecs/instance.js +6 -0
  38. package/ecs/instance.js.map +1 -1
  39. package/fc/functionAsyncInvokeConfig.d.ts +3 -3
  40. package/fc/index.d.ts +1 -0
  41. package/fc/index.js +5 -0
  42. package/fc/index.js.map +1 -1
  43. package/fc/layerVersion.d.ts +177 -0
  44. package/fc/layerVersion.js +100 -0
  45. package/fc/layerVersion.js.map +1 -0
  46. package/package.json +2 -2
  47. package/package.json.dev +2 -2
  48. package/polardb/getGlobalDatabaseNetworks.d.ts +101 -0
  49. package/polardb/getGlobalDatabaseNetworks.js +53 -0
  50. package/polardb/getGlobalDatabaseNetworks.js.map +1 -0
  51. package/polardb/globalDatabaseNetwork.d.ts +117 -0
  52. package/polardb/globalDatabaseNetwork.js +105 -0
  53. package/polardb/globalDatabaseNetwork.js.map +1 -0
  54. package/polardb/index.d.ts +2 -0
  55. package/polardb/index.js +6 -0
  56. package/polardb/index.js.map +1 -1
  57. package/resourcemanager/account.d.ts +18 -0
  58. package/resourcemanager/account.js +2 -0
  59. package/resourcemanager/account.js.map +1 -1
  60. package/resourcemanager/delegatedAdministrator.d.ts +92 -0
  61. package/resourcemanager/delegatedAdministrator.js +89 -0
  62. package/resourcemanager/delegatedAdministrator.js.map +1 -0
  63. package/resourcemanager/getDelegatedAdministrators.d.ts +70 -0
  64. package/resourcemanager/getDelegatedAdministrators.js +46 -0
  65. package/resourcemanager/getDelegatedAdministrators.js.map +1 -0
  66. package/resourcemanager/index.d.ts +2 -0
  67. package/resourcemanager/index.js +6 -0
  68. package/resourcemanager/index.js.map +1 -1
  69. package/types/input.d.ts +221 -41
  70. package/types/output.d.ts +497 -1
  71. package/vod/domain.d.ts +2 -2
  72. package/vpc/getIpv4Gateways.d.ts +94 -0
  73. package/vpc/getIpv4Gateways.js +49 -0
  74. package/vpc/getIpv4Gateways.js.map +1 -0
  75. package/vpc/index.d.ts +2 -0
  76. package/vpc/index.js +6 -0
  77. package/vpc/index.js.map +1 -1
  78. package/vpc/ipv4Gateway.d.ts +124 -0
  79. package/vpc/ipv4Gateway.js +92 -0
  80. package/vpc/ipv4Gateway.js.map +1 -0
  81. package/vpc/natIp.d.ts +7 -1
  82. package/vpc/natIp.js.map +1 -1
  83. package/vpc/subnet.d.ts +4 -0
  84. package/vpc/subnet.js +6 -0
  85. package/vpc/subnet.js.map +1 -1
  86. package/vpn/gatewayVpnAttachment.d.ts +260 -0
  87. package/vpn/gatewayVpnAttachment.js +153 -0
  88. package/vpn/gatewayVpnAttachment.js.map +1 -0
  89. package/vpn/getGatewayVpnAttachments.d.ts +91 -0
  90. package/vpn/getGatewayVpnAttachments.js +50 -0
  91. package/vpn/getGatewayVpnAttachments.js.map +1 -0
  92. package/vpn/index.d.ts +2 -0
  93. package/vpn/index.js +6 -0
  94. package/vpn/index.js.map +1 -1
@@ -0,0 +1,260 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { input as inputs, output as outputs } from "../types";
3
+ /**
4
+ * Provides a VPN Gateway Vpn Attachment resource.
5
+ *
6
+ * For information about VPN Gateway Vpn Attachment and how to use it, see [What is Vpn Attachment](https://www.alibabacloud.com/help/zh/virtual-private-cloud/latest/createvpnattachment).
7
+ *
8
+ * > **NOTE:** Available in v1.181.0+.
9
+ *
10
+ * ## Example Usage
11
+ *
12
+ * Basic Usage
13
+ *
14
+ * ```typescript
15
+ * import * as pulumi from "@pulumi/pulumi";
16
+ * import * as alicloud from "@pulumi/alicloud";
17
+ *
18
+ * const defaultCustomerGateway = new alicloud.vpn.CustomerGateway("defaultCustomerGateway", {
19
+ * ipAddress: "42.104.22.210",
20
+ * asn: "45014",
21
+ * description: "testAccVpnConnectionDesc",
22
+ * });
23
+ * const defaultGatewayVpnAttachment = new alicloud.vpn.GatewayVpnAttachment("defaultGatewayVpnAttachment", {
24
+ * customerGatewayId: defaultCustomerGateway.id,
25
+ * networkType: "public",
26
+ * localSubnet: "0.0.0.0/0",
27
+ * remoteSubnet: "0.0.0.0/0",
28
+ * effectImmediately: false,
29
+ * ikeConfig: {
30
+ * ikeAuthAlg: "md5",
31
+ * ikeEncAlg: "des",
32
+ * ikeVersion: "ikev2",
33
+ * ikeMode: "main",
34
+ * ikeLifetime: 86400,
35
+ * psk: "tf-testvpn2",
36
+ * ikePfs: "group1",
37
+ * remoteId: "testbob2",
38
+ * localId: "testalice2",
39
+ * },
40
+ * ipsecConfig: {
41
+ * ipsecPfs: "group5",
42
+ * ipsecEncAlg: "des",
43
+ * ipsecAuthAlg: "md5",
44
+ * ipsecLifetime: 86400,
45
+ * },
46
+ * bgpConfig: {
47
+ * enable: true,
48
+ * localAsn: 45014,
49
+ * tunnelCidr: "169.254.11.0/30",
50
+ * localBgpIp: "169.254.11.1",
51
+ * },
52
+ * healthCheckConfig: {
53
+ * enable: true,
54
+ * sip: "192.168.1.1",
55
+ * dip: "10.0.0.1",
56
+ * interval: 10,
57
+ * retry: 10,
58
+ * policy: "revoke_route",
59
+ * },
60
+ * enableDpd: true,
61
+ * enableNatTraversal: true,
62
+ * vpnAttachmentName: _var.name,
63
+ * });
64
+ * ```
65
+ *
66
+ * ## Import
67
+ *
68
+ * VPN Gateway Vpn Attachment can be imported using the id, e.g.
69
+ *
70
+ * ```sh
71
+ * $ pulumi import alicloud:vpn/gatewayVpnAttachment:GatewayVpnAttachment example <id>
72
+ * ```
73
+ */
74
+ export declare class GatewayVpnAttachment extends pulumi.CustomResource {
75
+ /**
76
+ * Get an existing GatewayVpnAttachment resource's state with the given name, ID, and optional extra
77
+ * properties used to qualify the lookup.
78
+ *
79
+ * @param name The _unique_ name of the resulting resource.
80
+ * @param id The _unique_ provider ID of the resource to lookup.
81
+ * @param state Any extra arguments used during the lookup.
82
+ * @param opts Optional settings to control the behavior of the CustomResource.
83
+ */
84
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: GatewayVpnAttachmentState, opts?: pulumi.CustomResourceOptions): GatewayVpnAttachment;
85
+ /**
86
+ * Returns true if the given object is an instance of GatewayVpnAttachment. This is designed to work even
87
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
88
+ */
89
+ static isInstance(obj: any): obj is GatewayVpnAttachment;
90
+ /**
91
+ * Bgp configuration information. See the following `Block bgpConfig`.
92
+ */
93
+ readonly bgpConfig: pulumi.Output<outputs.vpn.GatewayVpnAttachmentBgpConfig>;
94
+ /**
95
+ * The ID of the customer gateway.
96
+ */
97
+ readonly customerGatewayId: pulumi.Output<string>;
98
+ /**
99
+ * Indicates whether IPsec-VPN negotiations are initiated immediately. Valid values.
100
+ */
101
+ readonly effectImmediately: pulumi.Output<boolean | undefined>;
102
+ /**
103
+ * Whether to enable the DPD (peer survival detection) function.
104
+ */
105
+ readonly enableDpd: pulumi.Output<boolean>;
106
+ /**
107
+ * Allow NAT penetration.
108
+ */
109
+ readonly enableNatTraversal: pulumi.Output<boolean>;
110
+ /**
111
+ * Health check configuration information. See the following `Block healthCheckConfig`.
112
+ */
113
+ readonly healthCheckConfig: pulumi.Output<outputs.vpn.GatewayVpnAttachmentHealthCheckConfig>;
114
+ /**
115
+ * Configuration negotiated in the second stage. See the following `Block ikeConfig`.
116
+ */
117
+ readonly ikeConfig: pulumi.Output<outputs.vpn.GatewayVpnAttachmentIkeConfig>;
118
+ /**
119
+ * Configuration negotiated in the second stage. See the following `Block ipsecConfig`.
120
+ */
121
+ readonly ipsecConfig: pulumi.Output<outputs.vpn.GatewayVpnAttachmentIpsecConfig>;
122
+ /**
123
+ * The CIDR block of the virtual private cloud (VPC).
124
+ */
125
+ readonly localSubnet: pulumi.Output<string>;
126
+ /**
127
+ * The network type of the IPsec connection. Valid values: `public`, `private`.
128
+ */
129
+ readonly networkType: pulumi.Output<string>;
130
+ /**
131
+ * The CIDR block of the on-premises data center.
132
+ */
133
+ readonly remoteSubnet: pulumi.Output<string>;
134
+ /**
135
+ * The status of the resource.
136
+ */
137
+ readonly status: pulumi.Output<string>;
138
+ /**
139
+ * The name of the vpn attachment.
140
+ */
141
+ readonly vpnAttachmentName: pulumi.Output<string | undefined>;
142
+ /**
143
+ * Create a GatewayVpnAttachment resource with the given unique name, arguments, and options.
144
+ *
145
+ * @param name The _unique_ name of the resource.
146
+ * @param args The arguments to use to populate this resource's properties.
147
+ * @param opts A bag of options that control this resource's behavior.
148
+ */
149
+ constructor(name: string, args: GatewayVpnAttachmentArgs, opts?: pulumi.CustomResourceOptions);
150
+ }
151
+ /**
152
+ * Input properties used for looking up and filtering GatewayVpnAttachment resources.
153
+ */
154
+ export interface GatewayVpnAttachmentState {
155
+ /**
156
+ * Bgp configuration information. See the following `Block bgpConfig`.
157
+ */
158
+ bgpConfig?: pulumi.Input<inputs.vpn.GatewayVpnAttachmentBgpConfig>;
159
+ /**
160
+ * The ID of the customer gateway.
161
+ */
162
+ customerGatewayId?: pulumi.Input<string>;
163
+ /**
164
+ * Indicates whether IPsec-VPN negotiations are initiated immediately. Valid values.
165
+ */
166
+ effectImmediately?: pulumi.Input<boolean>;
167
+ /**
168
+ * Whether to enable the DPD (peer survival detection) function.
169
+ */
170
+ enableDpd?: pulumi.Input<boolean>;
171
+ /**
172
+ * Allow NAT penetration.
173
+ */
174
+ enableNatTraversal?: pulumi.Input<boolean>;
175
+ /**
176
+ * Health check configuration information. See the following `Block healthCheckConfig`.
177
+ */
178
+ healthCheckConfig?: pulumi.Input<inputs.vpn.GatewayVpnAttachmentHealthCheckConfig>;
179
+ /**
180
+ * Configuration negotiated in the second stage. See the following `Block ikeConfig`.
181
+ */
182
+ ikeConfig?: pulumi.Input<inputs.vpn.GatewayVpnAttachmentIkeConfig>;
183
+ /**
184
+ * Configuration negotiated in the second stage. See the following `Block ipsecConfig`.
185
+ */
186
+ ipsecConfig?: pulumi.Input<inputs.vpn.GatewayVpnAttachmentIpsecConfig>;
187
+ /**
188
+ * The CIDR block of the virtual private cloud (VPC).
189
+ */
190
+ localSubnet?: pulumi.Input<string>;
191
+ /**
192
+ * The network type of the IPsec connection. Valid values: `public`, `private`.
193
+ */
194
+ networkType?: pulumi.Input<string>;
195
+ /**
196
+ * The CIDR block of the on-premises data center.
197
+ */
198
+ remoteSubnet?: pulumi.Input<string>;
199
+ /**
200
+ * The status of the resource.
201
+ */
202
+ status?: pulumi.Input<string>;
203
+ /**
204
+ * The name of the vpn attachment.
205
+ */
206
+ vpnAttachmentName?: pulumi.Input<string>;
207
+ }
208
+ /**
209
+ * The set of arguments for constructing a GatewayVpnAttachment resource.
210
+ */
211
+ export interface GatewayVpnAttachmentArgs {
212
+ /**
213
+ * Bgp configuration information. See the following `Block bgpConfig`.
214
+ */
215
+ bgpConfig?: pulumi.Input<inputs.vpn.GatewayVpnAttachmentBgpConfig>;
216
+ /**
217
+ * The ID of the customer gateway.
218
+ */
219
+ customerGatewayId: pulumi.Input<string>;
220
+ /**
221
+ * Indicates whether IPsec-VPN negotiations are initiated immediately. Valid values.
222
+ */
223
+ effectImmediately?: pulumi.Input<boolean>;
224
+ /**
225
+ * Whether to enable the DPD (peer survival detection) function.
226
+ */
227
+ enableDpd?: pulumi.Input<boolean>;
228
+ /**
229
+ * Allow NAT penetration.
230
+ */
231
+ enableNatTraversal?: pulumi.Input<boolean>;
232
+ /**
233
+ * Health check configuration information. See the following `Block healthCheckConfig`.
234
+ */
235
+ healthCheckConfig?: pulumi.Input<inputs.vpn.GatewayVpnAttachmentHealthCheckConfig>;
236
+ /**
237
+ * Configuration negotiated in the second stage. See the following `Block ikeConfig`.
238
+ */
239
+ ikeConfig?: pulumi.Input<inputs.vpn.GatewayVpnAttachmentIkeConfig>;
240
+ /**
241
+ * Configuration negotiated in the second stage. See the following `Block ipsecConfig`.
242
+ */
243
+ ipsecConfig?: pulumi.Input<inputs.vpn.GatewayVpnAttachmentIpsecConfig>;
244
+ /**
245
+ * The CIDR block of the virtual private cloud (VPC).
246
+ */
247
+ localSubnet: pulumi.Input<string>;
248
+ /**
249
+ * The network type of the IPsec connection. Valid values: `public`, `private`.
250
+ */
251
+ networkType?: pulumi.Input<string>;
252
+ /**
253
+ * The CIDR block of the on-premises data center.
254
+ */
255
+ remoteSubnet: pulumi.Input<string>;
256
+ /**
257
+ * The name of the vpn attachment.
258
+ */
259
+ vpnAttachmentName?: pulumi.Input<string>;
260
+ }
@@ -0,0 +1,153 @@
1
+ "use strict";
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
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.GatewayVpnAttachment = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Provides a VPN Gateway Vpn Attachment resource.
10
+ *
11
+ * For information about VPN Gateway Vpn Attachment and how to use it, see [What is Vpn Attachment](https://www.alibabacloud.com/help/zh/virtual-private-cloud/latest/createvpnattachment).
12
+ *
13
+ * > **NOTE:** Available in v1.181.0+.
14
+ *
15
+ * ## Example Usage
16
+ *
17
+ * Basic Usage
18
+ *
19
+ * ```typescript
20
+ * import * as pulumi from "@pulumi/pulumi";
21
+ * import * as alicloud from "@pulumi/alicloud";
22
+ *
23
+ * const defaultCustomerGateway = new alicloud.vpn.CustomerGateway("defaultCustomerGateway", {
24
+ * ipAddress: "42.104.22.210",
25
+ * asn: "45014",
26
+ * description: "testAccVpnConnectionDesc",
27
+ * });
28
+ * const defaultGatewayVpnAttachment = new alicloud.vpn.GatewayVpnAttachment("defaultGatewayVpnAttachment", {
29
+ * customerGatewayId: defaultCustomerGateway.id,
30
+ * networkType: "public",
31
+ * localSubnet: "0.0.0.0/0",
32
+ * remoteSubnet: "0.0.0.0/0",
33
+ * effectImmediately: false,
34
+ * ikeConfig: {
35
+ * ikeAuthAlg: "md5",
36
+ * ikeEncAlg: "des",
37
+ * ikeVersion: "ikev2",
38
+ * ikeMode: "main",
39
+ * ikeLifetime: 86400,
40
+ * psk: "tf-testvpn2",
41
+ * ikePfs: "group1",
42
+ * remoteId: "testbob2",
43
+ * localId: "testalice2",
44
+ * },
45
+ * ipsecConfig: {
46
+ * ipsecPfs: "group5",
47
+ * ipsecEncAlg: "des",
48
+ * ipsecAuthAlg: "md5",
49
+ * ipsecLifetime: 86400,
50
+ * },
51
+ * bgpConfig: {
52
+ * enable: true,
53
+ * localAsn: 45014,
54
+ * tunnelCidr: "169.254.11.0/30",
55
+ * localBgpIp: "169.254.11.1",
56
+ * },
57
+ * healthCheckConfig: {
58
+ * enable: true,
59
+ * sip: "192.168.1.1",
60
+ * dip: "10.0.0.1",
61
+ * interval: 10,
62
+ * retry: 10,
63
+ * policy: "revoke_route",
64
+ * },
65
+ * enableDpd: true,
66
+ * enableNatTraversal: true,
67
+ * vpnAttachmentName: _var.name,
68
+ * });
69
+ * ```
70
+ *
71
+ * ## Import
72
+ *
73
+ * VPN Gateway Vpn Attachment can be imported using the id, e.g.
74
+ *
75
+ * ```sh
76
+ * $ pulumi import alicloud:vpn/gatewayVpnAttachment:GatewayVpnAttachment example <id>
77
+ * ```
78
+ */
79
+ class GatewayVpnAttachment extends pulumi.CustomResource {
80
+ constructor(name, argsOrState, opts) {
81
+ let resourceInputs = {};
82
+ opts = opts || {};
83
+ if (opts.id) {
84
+ const state = argsOrState;
85
+ resourceInputs["bgpConfig"] = state ? state.bgpConfig : undefined;
86
+ resourceInputs["customerGatewayId"] = state ? state.customerGatewayId : undefined;
87
+ resourceInputs["effectImmediately"] = state ? state.effectImmediately : undefined;
88
+ resourceInputs["enableDpd"] = state ? state.enableDpd : undefined;
89
+ resourceInputs["enableNatTraversal"] = state ? state.enableNatTraversal : undefined;
90
+ resourceInputs["healthCheckConfig"] = state ? state.healthCheckConfig : undefined;
91
+ resourceInputs["ikeConfig"] = state ? state.ikeConfig : undefined;
92
+ resourceInputs["ipsecConfig"] = state ? state.ipsecConfig : undefined;
93
+ resourceInputs["localSubnet"] = state ? state.localSubnet : undefined;
94
+ resourceInputs["networkType"] = state ? state.networkType : undefined;
95
+ resourceInputs["remoteSubnet"] = state ? state.remoteSubnet : undefined;
96
+ resourceInputs["status"] = state ? state.status : undefined;
97
+ resourceInputs["vpnAttachmentName"] = state ? state.vpnAttachmentName : undefined;
98
+ }
99
+ else {
100
+ const args = argsOrState;
101
+ if ((!args || args.customerGatewayId === undefined) && !opts.urn) {
102
+ throw new Error("Missing required property 'customerGatewayId'");
103
+ }
104
+ if ((!args || args.localSubnet === undefined) && !opts.urn) {
105
+ throw new Error("Missing required property 'localSubnet'");
106
+ }
107
+ if ((!args || args.remoteSubnet === undefined) && !opts.urn) {
108
+ throw new Error("Missing required property 'remoteSubnet'");
109
+ }
110
+ resourceInputs["bgpConfig"] = args ? args.bgpConfig : undefined;
111
+ resourceInputs["customerGatewayId"] = args ? args.customerGatewayId : undefined;
112
+ resourceInputs["effectImmediately"] = args ? args.effectImmediately : undefined;
113
+ resourceInputs["enableDpd"] = args ? args.enableDpd : undefined;
114
+ resourceInputs["enableNatTraversal"] = args ? args.enableNatTraversal : undefined;
115
+ resourceInputs["healthCheckConfig"] = args ? args.healthCheckConfig : undefined;
116
+ resourceInputs["ikeConfig"] = args ? args.ikeConfig : undefined;
117
+ resourceInputs["ipsecConfig"] = args ? args.ipsecConfig : undefined;
118
+ resourceInputs["localSubnet"] = args ? args.localSubnet : undefined;
119
+ resourceInputs["networkType"] = args ? args.networkType : undefined;
120
+ resourceInputs["remoteSubnet"] = args ? args.remoteSubnet : undefined;
121
+ resourceInputs["vpnAttachmentName"] = args ? args.vpnAttachmentName : undefined;
122
+ resourceInputs["status"] = undefined /*out*/;
123
+ }
124
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
125
+ super(GatewayVpnAttachment.__pulumiType, name, resourceInputs, opts);
126
+ }
127
+ /**
128
+ * Get an existing GatewayVpnAttachment resource's state with the given name, ID, and optional extra
129
+ * properties used to qualify the lookup.
130
+ *
131
+ * @param name The _unique_ name of the resulting resource.
132
+ * @param id The _unique_ provider ID of the resource to lookup.
133
+ * @param state Any extra arguments used during the lookup.
134
+ * @param opts Optional settings to control the behavior of the CustomResource.
135
+ */
136
+ static get(name, id, state, opts) {
137
+ return new GatewayVpnAttachment(name, state, Object.assign(Object.assign({}, opts), { id: id }));
138
+ }
139
+ /**
140
+ * Returns true if the given object is an instance of GatewayVpnAttachment. This is designed to work even
141
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
142
+ */
143
+ static isInstance(obj) {
144
+ if (obj === undefined || obj === null) {
145
+ return false;
146
+ }
147
+ return obj['__pulumiType'] === GatewayVpnAttachment.__pulumiType;
148
+ }
149
+ }
150
+ exports.GatewayVpnAttachment = GatewayVpnAttachment;
151
+ /** @internal */
152
+ GatewayVpnAttachment.__pulumiType = 'alicloud:vpn/gatewayVpnAttachment:GatewayVpnAttachment';
153
+ //# sourceMappingURL=gatewayVpnAttachment.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gatewayVpnAttachment.js","sourceRoot":"","sources":["../../vpn/gatewayVpnAttachment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsEG;AACH,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAyF3D,YAAY,IAAY,EAAE,WAAkE,EAAE,IAAmC;QAC7H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAoD,CAAC;YACnE,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,mBAAmB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAClF,cAAc,CAAC,mBAAmB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAClF,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC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@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { output as outputs } from "../types";
3
+ /**
4
+ * This data source provides the Vpn Gateway Vpn Attachments of the current Alibaba Cloud user.
5
+ *
6
+ * > **NOTE:** Available in v1.181.0+.
7
+ *
8
+ * ## Example Usage
9
+ *
10
+ * Basic Usage
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as alicloud from "@pulumi/alicloud";
15
+ *
16
+ * const ids = alicloud.vpn.getGatewayVpnAttachments({});
17
+ * export const vpnGatewayVpnAttachmentId1 = ids.then(ids => ids.attachments?[0]?.id);
18
+ * const nameRegex = alicloud.vpn.getGatewayVpnAttachments({
19
+ * nameRegex: "^my-VpnAttachment",
20
+ * });
21
+ * export const vpnGatewayVpnAttachmentId2 = nameRegex.then(nameRegex => nameRegex.attachments?[0]?.id);
22
+ * ```
23
+ */
24
+ export declare function getGatewayVpnAttachments(args?: GetGatewayVpnAttachmentsArgs, opts?: pulumi.InvokeOptions): Promise<GetGatewayVpnAttachmentsResult>;
25
+ /**
26
+ * A collection of arguments for invoking getGatewayVpnAttachments.
27
+ */
28
+ export interface GetGatewayVpnAttachmentsArgs {
29
+ /**
30
+ * A list of Vpn Attachment IDs.
31
+ */
32
+ ids?: string[];
33
+ /**
34
+ * A regex string to filter results by Vpn Attachment name.
35
+ */
36
+ nameRegex?: string;
37
+ outputFile?: string;
38
+ pageNumber?: number;
39
+ pageSize?: number;
40
+ /**
41
+ * The status of the resource.
42
+ */
43
+ status?: string;
44
+ /**
45
+ * The ID of the VPN gateway.
46
+ */
47
+ vpnGatewayId?: string;
48
+ }
49
+ /**
50
+ * A collection of values returned by getGatewayVpnAttachments.
51
+ */
52
+ export interface GetGatewayVpnAttachmentsResult {
53
+ readonly attachments: outputs.vpn.GetGatewayVpnAttachmentsAttachment[];
54
+ /**
55
+ * The provider-assigned unique ID for this managed resource.
56
+ */
57
+ readonly id: string;
58
+ readonly ids: string[];
59
+ readonly nameRegex?: string;
60
+ readonly names: string[];
61
+ readonly outputFile?: string;
62
+ readonly pageNumber?: number;
63
+ readonly pageSize?: number;
64
+ readonly status?: string;
65
+ readonly vpnGatewayId?: string;
66
+ }
67
+ export declare function getGatewayVpnAttachmentsOutput(args?: GetGatewayVpnAttachmentsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetGatewayVpnAttachmentsResult>;
68
+ /**
69
+ * A collection of arguments for invoking getGatewayVpnAttachments.
70
+ */
71
+ export interface GetGatewayVpnAttachmentsOutputArgs {
72
+ /**
73
+ * A list of Vpn Attachment IDs.
74
+ */
75
+ ids?: pulumi.Input<pulumi.Input<string>[]>;
76
+ /**
77
+ * A regex string to filter results by Vpn Attachment name.
78
+ */
79
+ nameRegex?: pulumi.Input<string>;
80
+ outputFile?: pulumi.Input<string>;
81
+ pageNumber?: pulumi.Input<number>;
82
+ pageSize?: pulumi.Input<number>;
83
+ /**
84
+ * The status of the resource.
85
+ */
86
+ status?: pulumi.Input<string>;
87
+ /**
88
+ * The ID of the VPN gateway.
89
+ */
90
+ vpnGatewayId?: pulumi.Input<string>;
91
+ }
@@ -0,0 +1,50 @@
1
+ "use strict";
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
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getGatewayVpnAttachmentsOutput = exports.getGatewayVpnAttachments = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * This data source provides the Vpn Gateway Vpn Attachments of the current Alibaba Cloud user.
10
+ *
11
+ * > **NOTE:** Available in v1.181.0+.
12
+ *
13
+ * ## Example Usage
14
+ *
15
+ * Basic Usage
16
+ *
17
+ * ```typescript
18
+ * import * as pulumi from "@pulumi/pulumi";
19
+ * import * as alicloud from "@pulumi/alicloud";
20
+ *
21
+ * const ids = alicloud.vpn.getGatewayVpnAttachments({});
22
+ * export const vpnGatewayVpnAttachmentId1 = ids.then(ids => ids.attachments?[0]?.id);
23
+ * const nameRegex = alicloud.vpn.getGatewayVpnAttachments({
24
+ * nameRegex: "^my-VpnAttachment",
25
+ * });
26
+ * export const vpnGatewayVpnAttachmentId2 = nameRegex.then(nameRegex => nameRegex.attachments?[0]?.id);
27
+ * ```
28
+ */
29
+ function getGatewayVpnAttachments(args, opts) {
30
+ args = args || {};
31
+ if (!opts) {
32
+ opts = {};
33
+ }
34
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
35
+ return pulumi.runtime.invoke("alicloud:vpn/getGatewayVpnAttachments:getGatewayVpnAttachments", {
36
+ "ids": args.ids,
37
+ "nameRegex": args.nameRegex,
38
+ "outputFile": args.outputFile,
39
+ "pageNumber": args.pageNumber,
40
+ "pageSize": args.pageSize,
41
+ "status": args.status,
42
+ "vpnGatewayId": args.vpnGatewayId,
43
+ }, opts);
44
+ }
45
+ exports.getGatewayVpnAttachments = getGatewayVpnAttachments;
46
+ function getGatewayVpnAttachmentsOutput(args, opts) {
47
+ return pulumi.output(args).apply(a => getGatewayVpnAttachments(a, opts));
48
+ }
49
+ exports.getGatewayVpnAttachmentsOutput = getGatewayVpnAttachmentsOutput;
50
+ //# sourceMappingURL=getGatewayVpnAttachments.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getGatewayVpnAttachments.js","sourceRoot":"","sources":["../../vpn/getGatewayVpnAttachments.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,wBAAwB,CAAC,IAAmC,EAAE,IAA2B;IACrG,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gEAAgE,EAAE;QAC3F,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAhBD,4DAgBC;AA8CD,SAAgB,8BAA8B,CAAC,IAAyC,EAAE,IAA2B;IACjH,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,wBAAwB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC5E,CAAC;AAFD,wEAEC"}
package/vpn/index.d.ts CHANGED
@@ -1,8 +1,10 @@
1
1
  export * from "./connection";
2
2
  export * from "./customerGateway";
3
3
  export * from "./gateway";
4
+ export * from "./gatewayVpnAttachment";
4
5
  export * from "./getConnections";
5
6
  export * from "./getCustomerGateways";
7
+ export * from "./getGatewayVpnAttachments";
6
8
  export * from "./getGateways";
7
9
  export * from "./ipsecServer";
8
10
  export * from "./pbrRouteEntry";
package/vpn/index.js CHANGED
@@ -22,8 +22,10 @@ const utilities = require("../utilities");
22
22
  __exportStar(require("./connection"), exports);
23
23
  __exportStar(require("./customerGateway"), exports);
24
24
  __exportStar(require("./gateway"), exports);
25
+ __exportStar(require("./gatewayVpnAttachment"), exports);
25
26
  __exportStar(require("./getConnections"), exports);
26
27
  __exportStar(require("./getCustomerGateways"), exports);
28
+ __exportStar(require("./getGatewayVpnAttachments"), exports);
27
29
  __exportStar(require("./getGateways"), exports);
28
30
  __exportStar(require("./ipsecServer"), exports);
29
31
  __exportStar(require("./pbrRouteEntry"), exports);
@@ -34,6 +36,7 @@ __exportStar(require("./sslVpnServer"), exports);
34
36
  const connection_1 = require("./connection");
35
37
  const customerGateway_1 = require("./customerGateway");
36
38
  const gateway_1 = require("./gateway");
39
+ const gatewayVpnAttachment_1 = require("./gatewayVpnAttachment");
37
40
  const ipsecServer_1 = require("./ipsecServer");
38
41
  const pbrRouteEntry_1 = require("./pbrRouteEntry");
39
42
  const routeEntry_1 = require("./routeEntry");
@@ -49,6 +52,8 @@ const _module = {
49
52
  return new customerGateway_1.CustomerGateway(name, undefined, { urn });
50
53
  case "alicloud:vpn/gateway:Gateway":
51
54
  return new gateway_1.Gateway(name, undefined, { urn });
55
+ case "alicloud:vpn/gatewayVpnAttachment:GatewayVpnAttachment":
56
+ return new gatewayVpnAttachment_1.GatewayVpnAttachment(name, undefined, { urn });
52
57
  case "alicloud:vpn/ipsecServer:IpsecServer":
53
58
  return new ipsecServer_1.IpsecServer(name, undefined, { urn });
54
59
  case "alicloud:vpn/pbrRouteEntry:PbrRouteEntry":
@@ -67,6 +72,7 @@ const _module = {
67
72
  pulumi.runtime.registerResourceModule("alicloud", "vpn/connection", _module);
68
73
  pulumi.runtime.registerResourceModule("alicloud", "vpn/customerGateway", _module);
69
74
  pulumi.runtime.registerResourceModule("alicloud", "vpn/gateway", _module);
75
+ pulumi.runtime.registerResourceModule("alicloud", "vpn/gatewayVpnAttachment", _module);
70
76
  pulumi.runtime.registerResourceModule("alicloud", "vpn/ipsecServer", _module);
71
77
  pulumi.runtime.registerResourceModule("alicloud", "vpn/pbrRouteEntry", _module);
72
78
  pulumi.runtime.registerResourceModule("alicloud", "vpn/routeEntry", _module);
package/vpn/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../vpn/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,kBAAkB;AAClB,+CAA6B;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