@pulumi/alicloud 3.57.0 → 3.57.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/cddc/dedicatedHostAccount.d.ts +2 -0
- package/cddc/dedicatedHostAccount.js +2 -0
- package/cddc/dedicatedHostAccount.js.map +1 -1
- package/cddc/dedicatedHostGroup.d.ts +2 -0
- package/cddc/dedicatedHostGroup.js +2 -0
- package/cddc/dedicatedHostGroup.js.map +1 -1
- package/cs/kubernetesAddon.d.ts +1 -1
- package/cs/kubernetesAddon.js +1 -1
- package/cs/nodePool.d.ts +3 -3
- package/ddos/bgpIp.d.ts +14 -0
- package/ddos/bgpIp.js +4 -0
- package/ddos/bgpIp.js.map +1 -1
- package/ecs/ecsDisk.d.ts +3 -3
- package/ecs/eip.d.ts +1 -1
- package/ecs/eipAddress.d.ts +213 -129
- package/ecs/eipAddress.js.map +1 -1
- package/ecs/eipAssociation.d.ts +90 -27
- package/ecs/eipAssociation.js +9 -9
- package/ecs/eipAssociation.js.map +1 -1
- package/ecs/eipSegmentAddress.d.ts +112 -56
- package/ecs/eipSegmentAddress.js +6 -0
- package/ecs/eipSegmentAddress.js.map +1 -1
- package/ecs/instance.d.ts +5 -2
- package/ecs/instance.js +5 -2
- package/ecs/instance.js.map +1 -1
- package/ess/alarm.d.ts +31 -5
- package/ess/alarm.js +4 -6
- package/ess/alarm.js.map +1 -1
- package/ess/scalingGroup.d.ts +39 -3
- package/ess/scalingGroup.js +6 -0
- package/ess/scalingGroup.js.map +1 -1
- package/log/ossShipper.d.ts +2 -0
- package/log/ossShipper.js +2 -0
- package/log/ossShipper.js.map +1 -1
- package/mongodb/shardingInstance.d.ts +15 -3
- package/mongodb/shardingInstance.js +2 -0
- package/mongodb/shardingInstance.js.map +1 -1
- package/package.json +2 -2
- package/rds/instance.d.ts +9 -0
- package/rds/instance.js.map +1 -1
- package/types/input.d.ts +24 -1
- package/types/output.d.ts +24 -1
- package/vpc/commonBandwithPackage.d.ts +85 -52
- package/vpc/commonBandwithPackage.js.map +1 -1
- package/vpc/commonBandwithPackageAttachment.d.ts +25 -13
- package/vpc/commonBandwithPackageAttachment.js +1 -1
- package/vpc/commonBandwithPackageAttachment.js.map +1 -1
package/ecs/eipAddress.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eipAddress.js","sourceRoot":"","sources":["../../ecs/eipAddress.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;GAQG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,OAAO,IAAI,UAAU,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACjE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,UAAU,CAAC,YAAY,CAAC;IAC3D,CAAC;
|
|
1
|
+
{"version":3,"file":"eipAddress.js","sourceRoot":"","sources":["../../ecs/eipAddress.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;GAQG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,OAAO,IAAI,UAAU,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC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,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AAzQL,gCA0QC;AA5PG,gBAAgB;AACO,uBAAY,GAAG,oCAAoC,CAAC"}
|
package/ecs/eipAssociation.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* Provides
|
|
3
|
+
* Provides a EIP Association resource.
|
|
4
4
|
*
|
|
5
5
|
* > **NOTE:** `alicloud.ecs.EipAssociation` is useful in scenarios where EIPs are either
|
|
6
6
|
* pre-existing or distributed to customers or users and therefore cannot be changed.
|
|
@@ -9,10 +9,14 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
9
9
|
*
|
|
10
10
|
* > **NOTE:** One EIP can only be associated with ECS or SLB instance which in the VPC.
|
|
11
11
|
*
|
|
12
|
+
* For information about EIP Association and how to use it, see [What is Association](https://www.alibabacloud.com/help/en/vpc/developer-reference/api-vpc-2016-04-28-associateeipaddress).
|
|
13
|
+
*
|
|
12
14
|
* > **NOTE:** Available since v1.117.0.
|
|
13
15
|
*
|
|
14
16
|
* ## Example Usage
|
|
15
17
|
*
|
|
18
|
+
* Basic Usage
|
|
19
|
+
*
|
|
16
20
|
* ```typescript
|
|
17
21
|
* import * as pulumi from "@pulumi/pulumi";
|
|
18
22
|
* import * as alicloud from "@pulumi/alicloud";
|
|
@@ -27,10 +31,11 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
27
31
|
* cpuCoreCount: 1,
|
|
28
32
|
* memorySize: 2,
|
|
29
33
|
* }));
|
|
30
|
-
* const exampleGetImages = alicloud.ecs.getImages({
|
|
34
|
+
* const exampleGetImages = exampleGetInstanceTypes.then(exampleGetInstanceTypes => alicloud.ecs.getImages({
|
|
31
35
|
* nameRegex: "^ubuntu_[0-9]+_[0-9]+_x64*",
|
|
32
36
|
* owners: "system",
|
|
33
|
-
*
|
|
37
|
+
* instanceType: exampleGetInstanceTypes.instanceTypes?.[0]?.id,
|
|
38
|
+
* }));
|
|
34
39
|
* const exampleNetwork = new alicloud.vpc.Network("example", {
|
|
35
40
|
* vpcName: name,
|
|
36
41
|
* cidrBlock: "10.4.0.0/16",
|
|
@@ -64,14 +69,9 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
64
69
|
* });
|
|
65
70
|
* ```
|
|
66
71
|
*
|
|
67
|
-
* ## Module Support
|
|
68
|
-
*
|
|
69
|
-
* You can use the existing eip module
|
|
70
|
-
* to create several EIP instances and associate them with other resources one-click, like ECS instances, SLB, Nat Gateway and so on.
|
|
71
|
-
*
|
|
72
72
|
* ## Import
|
|
73
73
|
*
|
|
74
|
-
*
|
|
74
|
+
* EIP Association can be imported using the id, e.g.
|
|
75
75
|
*
|
|
76
76
|
* ```sh
|
|
77
77
|
* $ pulumi import alicloud:ecs/eipAssociation:EipAssociation example <allocation_id>:<instance_id>
|
|
@@ -94,31 +94,52 @@ export declare class EipAssociation extends pulumi.CustomResource {
|
|
|
94
94
|
*/
|
|
95
95
|
static isInstance(obj: any): obj is EipAssociation;
|
|
96
96
|
/**
|
|
97
|
-
* The ID of the EIP
|
|
97
|
+
* The ID of the EIP instance.
|
|
98
98
|
*/
|
|
99
99
|
readonly allocationId: pulumi.Output<string>;
|
|
100
100
|
/**
|
|
101
|
-
*
|
|
101
|
+
* Specifies whether to disassociate the EIP from a NAT gateway if a DNAT or SNAT entry is added to the NAT gateway. Valid values:
|
|
102
102
|
*/
|
|
103
103
|
readonly force: pulumi.Output<boolean | undefined>;
|
|
104
104
|
/**
|
|
105
|
-
* The ID of the
|
|
105
|
+
* The ID of the instance with which you want to associate the EIP. You can enter the ID of a NAT gateway, CLB instance, ECS instance, secondary ENI, HAVIP, or IP address.
|
|
106
106
|
*/
|
|
107
107
|
readonly instanceId: pulumi.Output<string>;
|
|
108
108
|
/**
|
|
109
|
-
* The type of the instance with which you want to associate the EIP. Valid values:
|
|
109
|
+
* The type of the instance with which you want to associate the EIP. Valid values:
|
|
110
|
+
* - `Nat`: NAT gateway
|
|
111
|
+
* - `SlbInstance`: CLB instance
|
|
112
|
+
* - `EcsInstance` (default): ECS instance
|
|
113
|
+
* - `NetworkInterface`: secondary ENI
|
|
114
|
+
* - `HaVip`: HAVIP
|
|
115
|
+
* - `IpAddress`: IP address
|
|
116
|
+
*
|
|
117
|
+
* > **NOTE:** The default value is `EcsInstance`. If the instance with which you want to associate the EIP is not an ECS instance, this parameter is required.
|
|
110
118
|
*/
|
|
111
119
|
readonly instanceType: pulumi.Output<string>;
|
|
112
120
|
/**
|
|
113
|
-
* The association mode.
|
|
121
|
+
* The association mode. Valid values:
|
|
122
|
+
* - `NAT` (default): NAT mode
|
|
123
|
+
* - `MULTI_BINDED`: multi-EIP-to-ENI mode
|
|
124
|
+
* - `BINDED`: cut-network interface controller mode
|
|
125
|
+
*
|
|
126
|
+
* > **NOTE:** This parameter is required only when `instanceType` is set to `NetworkInterface`.
|
|
114
127
|
*/
|
|
115
128
|
readonly mode: pulumi.Output<string>;
|
|
116
129
|
/**
|
|
117
130
|
* The IP address in the CIDR block of the vSwitch.
|
|
131
|
+
*
|
|
132
|
+
* If you leave this parameter empty, the system allocates a private IP address based on the VPC ID and vSwitch ID.
|
|
133
|
+
*
|
|
134
|
+
* > **NOTE:** This parameter is required if `instanceType` is set to `IpAddress`, which indicates that the EIP is to be associated with an IP address.
|
|
118
135
|
*/
|
|
119
136
|
readonly privateIpAddress: pulumi.Output<string | undefined>;
|
|
120
137
|
/**
|
|
121
|
-
* The ID of the VPC
|
|
138
|
+
* The ID of the VPC in which an IPv4 gateway is created. The VPC and the EIP must be in the same region.
|
|
139
|
+
*
|
|
140
|
+
* When you associate an EIP with an IP address, the system can enable the IP address to access the Internet based on VPC route configurations.
|
|
141
|
+
*
|
|
142
|
+
* > **NOTE:** This parameter is required if `instanceType` is set to `IpAddress`, which indicates that the EIP is to be associated with an IP address.
|
|
122
143
|
*/
|
|
123
144
|
readonly vpcId: pulumi.Output<string | undefined>;
|
|
124
145
|
/**
|
|
@@ -135,31 +156,52 @@ export declare class EipAssociation extends pulumi.CustomResource {
|
|
|
135
156
|
*/
|
|
136
157
|
export interface EipAssociationState {
|
|
137
158
|
/**
|
|
138
|
-
* The ID of the EIP
|
|
159
|
+
* The ID of the EIP instance.
|
|
139
160
|
*/
|
|
140
161
|
allocationId?: pulumi.Input<string>;
|
|
141
162
|
/**
|
|
142
|
-
*
|
|
163
|
+
* Specifies whether to disassociate the EIP from a NAT gateway if a DNAT or SNAT entry is added to the NAT gateway. Valid values:
|
|
143
164
|
*/
|
|
144
165
|
force?: pulumi.Input<boolean>;
|
|
145
166
|
/**
|
|
146
|
-
* The ID of the
|
|
167
|
+
* The ID of the instance with which you want to associate the EIP. You can enter the ID of a NAT gateway, CLB instance, ECS instance, secondary ENI, HAVIP, or IP address.
|
|
147
168
|
*/
|
|
148
169
|
instanceId?: pulumi.Input<string>;
|
|
149
170
|
/**
|
|
150
|
-
* The type of the instance with which you want to associate the EIP. Valid values:
|
|
171
|
+
* The type of the instance with which you want to associate the EIP. Valid values:
|
|
172
|
+
* - `Nat`: NAT gateway
|
|
173
|
+
* - `SlbInstance`: CLB instance
|
|
174
|
+
* - `EcsInstance` (default): ECS instance
|
|
175
|
+
* - `NetworkInterface`: secondary ENI
|
|
176
|
+
* - `HaVip`: HAVIP
|
|
177
|
+
* - `IpAddress`: IP address
|
|
178
|
+
*
|
|
179
|
+
* > **NOTE:** The default value is `EcsInstance`. If the instance with which you want to associate the EIP is not an ECS instance, this parameter is required.
|
|
151
180
|
*/
|
|
152
181
|
instanceType?: pulumi.Input<string>;
|
|
153
182
|
/**
|
|
154
|
-
* The association mode.
|
|
183
|
+
* The association mode. Valid values:
|
|
184
|
+
* - `NAT` (default): NAT mode
|
|
185
|
+
* - `MULTI_BINDED`: multi-EIP-to-ENI mode
|
|
186
|
+
* - `BINDED`: cut-network interface controller mode
|
|
187
|
+
*
|
|
188
|
+
* > **NOTE:** This parameter is required only when `instanceType` is set to `NetworkInterface`.
|
|
155
189
|
*/
|
|
156
190
|
mode?: pulumi.Input<string>;
|
|
157
191
|
/**
|
|
158
192
|
* The IP address in the CIDR block of the vSwitch.
|
|
193
|
+
*
|
|
194
|
+
* If you leave this parameter empty, the system allocates a private IP address based on the VPC ID and vSwitch ID.
|
|
195
|
+
*
|
|
196
|
+
* > **NOTE:** This parameter is required if `instanceType` is set to `IpAddress`, which indicates that the EIP is to be associated with an IP address.
|
|
159
197
|
*/
|
|
160
198
|
privateIpAddress?: pulumi.Input<string>;
|
|
161
199
|
/**
|
|
162
|
-
* The ID of the VPC
|
|
200
|
+
* The ID of the VPC in which an IPv4 gateway is created. The VPC and the EIP must be in the same region.
|
|
201
|
+
*
|
|
202
|
+
* When you associate an EIP with an IP address, the system can enable the IP address to access the Internet based on VPC route configurations.
|
|
203
|
+
*
|
|
204
|
+
* > **NOTE:** This parameter is required if `instanceType` is set to `IpAddress`, which indicates that the EIP is to be associated with an IP address.
|
|
163
205
|
*/
|
|
164
206
|
vpcId?: pulumi.Input<string>;
|
|
165
207
|
}
|
|
@@ -168,31 +210,52 @@ export interface EipAssociationState {
|
|
|
168
210
|
*/
|
|
169
211
|
export interface EipAssociationArgs {
|
|
170
212
|
/**
|
|
171
|
-
* The ID of the EIP
|
|
213
|
+
* The ID of the EIP instance.
|
|
172
214
|
*/
|
|
173
215
|
allocationId: pulumi.Input<string>;
|
|
174
216
|
/**
|
|
175
|
-
*
|
|
217
|
+
* Specifies whether to disassociate the EIP from a NAT gateway if a DNAT or SNAT entry is added to the NAT gateway. Valid values:
|
|
176
218
|
*/
|
|
177
219
|
force?: pulumi.Input<boolean>;
|
|
178
220
|
/**
|
|
179
|
-
* The ID of the
|
|
221
|
+
* The ID of the instance with which you want to associate the EIP. You can enter the ID of a NAT gateway, CLB instance, ECS instance, secondary ENI, HAVIP, or IP address.
|
|
180
222
|
*/
|
|
181
223
|
instanceId: pulumi.Input<string>;
|
|
182
224
|
/**
|
|
183
|
-
* The type of the instance with which you want to associate the EIP. Valid values:
|
|
225
|
+
* The type of the instance with which you want to associate the EIP. Valid values:
|
|
226
|
+
* - `Nat`: NAT gateway
|
|
227
|
+
* - `SlbInstance`: CLB instance
|
|
228
|
+
* - `EcsInstance` (default): ECS instance
|
|
229
|
+
* - `NetworkInterface`: secondary ENI
|
|
230
|
+
* - `HaVip`: HAVIP
|
|
231
|
+
* - `IpAddress`: IP address
|
|
232
|
+
*
|
|
233
|
+
* > **NOTE:** The default value is `EcsInstance`. If the instance with which you want to associate the EIP is not an ECS instance, this parameter is required.
|
|
184
234
|
*/
|
|
185
235
|
instanceType?: pulumi.Input<string>;
|
|
186
236
|
/**
|
|
187
|
-
* The association mode.
|
|
237
|
+
* The association mode. Valid values:
|
|
238
|
+
* - `NAT` (default): NAT mode
|
|
239
|
+
* - `MULTI_BINDED`: multi-EIP-to-ENI mode
|
|
240
|
+
* - `BINDED`: cut-network interface controller mode
|
|
241
|
+
*
|
|
242
|
+
* > **NOTE:** This parameter is required only when `instanceType` is set to `NetworkInterface`.
|
|
188
243
|
*/
|
|
189
244
|
mode?: pulumi.Input<string>;
|
|
190
245
|
/**
|
|
191
246
|
* The IP address in the CIDR block of the vSwitch.
|
|
247
|
+
*
|
|
248
|
+
* If you leave this parameter empty, the system allocates a private IP address based on the VPC ID and vSwitch ID.
|
|
249
|
+
*
|
|
250
|
+
* > **NOTE:** This parameter is required if `instanceType` is set to `IpAddress`, which indicates that the EIP is to be associated with an IP address.
|
|
192
251
|
*/
|
|
193
252
|
privateIpAddress?: pulumi.Input<string>;
|
|
194
253
|
/**
|
|
195
|
-
* The ID of the VPC
|
|
254
|
+
* The ID of the VPC in which an IPv4 gateway is created. The VPC and the EIP must be in the same region.
|
|
255
|
+
*
|
|
256
|
+
* When you associate an EIP with an IP address, the system can enable the IP address to access the Internet based on VPC route configurations.
|
|
257
|
+
*
|
|
258
|
+
* > **NOTE:** This parameter is required if `instanceType` is set to `IpAddress`, which indicates that the EIP is to be associated with an IP address.
|
|
196
259
|
*/
|
|
197
260
|
vpcId?: pulumi.Input<string>;
|
|
198
261
|
}
|
package/ecs/eipAssociation.js
CHANGED
|
@@ -6,7 +6,7 @@ exports.EipAssociation = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
* Provides
|
|
9
|
+
* Provides a EIP Association resource.
|
|
10
10
|
*
|
|
11
11
|
* > **NOTE:** `alicloud.ecs.EipAssociation` is useful in scenarios where EIPs are either
|
|
12
12
|
* pre-existing or distributed to customers or users and therefore cannot be changed.
|
|
@@ -15,10 +15,14 @@ const utilities = require("../utilities");
|
|
|
15
15
|
*
|
|
16
16
|
* > **NOTE:** One EIP can only be associated with ECS or SLB instance which in the VPC.
|
|
17
17
|
*
|
|
18
|
+
* For information about EIP Association and how to use it, see [What is Association](https://www.alibabacloud.com/help/en/vpc/developer-reference/api-vpc-2016-04-28-associateeipaddress).
|
|
19
|
+
*
|
|
18
20
|
* > **NOTE:** Available since v1.117.0.
|
|
19
21
|
*
|
|
20
22
|
* ## Example Usage
|
|
21
23
|
*
|
|
24
|
+
* Basic Usage
|
|
25
|
+
*
|
|
22
26
|
* ```typescript
|
|
23
27
|
* import * as pulumi from "@pulumi/pulumi";
|
|
24
28
|
* import * as alicloud from "@pulumi/alicloud";
|
|
@@ -33,10 +37,11 @@ const utilities = require("../utilities");
|
|
|
33
37
|
* cpuCoreCount: 1,
|
|
34
38
|
* memorySize: 2,
|
|
35
39
|
* }));
|
|
36
|
-
* const exampleGetImages = alicloud.ecs.getImages({
|
|
40
|
+
* const exampleGetImages = exampleGetInstanceTypes.then(exampleGetInstanceTypes => alicloud.ecs.getImages({
|
|
37
41
|
* nameRegex: "^ubuntu_[0-9]+_[0-9]+_x64*",
|
|
38
42
|
* owners: "system",
|
|
39
|
-
*
|
|
43
|
+
* instanceType: exampleGetInstanceTypes.instanceTypes?.[0]?.id,
|
|
44
|
+
* }));
|
|
40
45
|
* const exampleNetwork = new alicloud.vpc.Network("example", {
|
|
41
46
|
* vpcName: name,
|
|
42
47
|
* cidrBlock: "10.4.0.0/16",
|
|
@@ -70,14 +75,9 @@ const utilities = require("../utilities");
|
|
|
70
75
|
* });
|
|
71
76
|
* ```
|
|
72
77
|
*
|
|
73
|
-
* ## Module Support
|
|
74
|
-
*
|
|
75
|
-
* You can use the existing eip module
|
|
76
|
-
* to create several EIP instances and associate them with other resources one-click, like ECS instances, SLB, Nat Gateway and so on.
|
|
77
|
-
*
|
|
78
78
|
* ## Import
|
|
79
79
|
*
|
|
80
|
-
*
|
|
80
|
+
* EIP Association can be imported using the id, e.g.
|
|
81
81
|
*
|
|
82
82
|
* ```sh
|
|
83
83
|
* $ pulumi import alicloud:ecs/eipAssociation:EipAssociation example <allocation_id>:<instance_id>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eipAssociation.js","sourceRoot":"","sources":["../../ecs/eipAssociation.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6EG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,EAAE,IAAmC;QACzH,OAAO,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C,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AApHL,wCAqHC;AAvGG,gBAAgB;AACO,2BAAY,GAAG,4CAA4C,CAAC"}
|
|
@@ -50,7 +50,12 @@ export declare class EipSegmentAddress extends pulumi.CustomResource {
|
|
|
50
50
|
*/
|
|
51
51
|
static isInstance(obj: any): obj is EipSegmentAddress;
|
|
52
52
|
/**
|
|
53
|
-
* The
|
|
53
|
+
* The maximum bandwidth of the contiguous EIP group. Unit: Mbit/s.
|
|
54
|
+
* - Valid values when `InstanceChargeType` is set to `PostPaid` and `InternetChargeType` is set to `PayByBandwidth`: `1` to `500`.****
|
|
55
|
+
* - Valid values when `InstanceChargeType` is set to `PostPaid` and `InternetChargeType` is set to `PayByTraffic`: `1` to `200`.****
|
|
56
|
+
* - Valid values when `InstanceChargeType` is set to `PrePaid`: `1` to `1000`.****
|
|
57
|
+
*
|
|
58
|
+
* Default value: `5`. Unit: Mbit/s.
|
|
54
59
|
*/
|
|
55
60
|
readonly bandwidth: pulumi.Output<string | undefined>;
|
|
56
61
|
/**
|
|
@@ -58,38 +63,53 @@ export declare class EipSegmentAddress extends pulumi.CustomResource {
|
|
|
58
63
|
*/
|
|
59
64
|
readonly createTime: pulumi.Output<string>;
|
|
60
65
|
/**
|
|
61
|
-
*
|
|
66
|
+
* The subnet mask of the contiguous EIP group. Valid values:
|
|
62
67
|
*/
|
|
63
68
|
readonly eipMask: pulumi.Output<string>;
|
|
64
69
|
/**
|
|
65
|
-
*
|
|
66
|
-
* -
|
|
67
|
-
* -
|
|
70
|
+
* The metering method of the contiguous EIP group. Valid values:
|
|
71
|
+
* - `PayByBandwidth` (default)
|
|
72
|
+
* - `PayByTraffic`
|
|
68
73
|
*/
|
|
69
74
|
readonly internetChargeType: pulumi.Output<string | undefined>;
|
|
70
75
|
/**
|
|
71
|
-
*
|
|
72
|
-
* -
|
|
73
|
-
* -
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
*
|
|
77
|
-
* -
|
|
78
|
-
* -
|
|
79
|
-
* -
|
|
80
|
-
* -
|
|
81
|
-
* -
|
|
82
|
-
*
|
|
76
|
+
* The line type. Valid values:
|
|
77
|
+
* - `BGP` (default): BGP (Multi-ISP) line The BGP (Multi-ISP) line is supported in all regions.
|
|
78
|
+
* - `BGP_PRO`: BGP (Multi-ISP) Pro line BGP (Multi-ISP) Pro line is supported only in the China (Hong Kong), Singapore, Japan (Tokyo), Malaysia (Kuala Lumpur), Philippines (Manila), Indonesia (Jakarta), and Thailand (Bangkok) regions.
|
|
79
|
+
*
|
|
80
|
+
* For more information about the BGP (Multi-ISP) line and BGP (Multi-ISP) Pro line, see [EIP line types](https://www.alibabacloud.com/help/en/doc-detail/32321.html).
|
|
81
|
+
*
|
|
82
|
+
* If you are allowed to use single-ISP bandwidth, you can also use one of the following values:
|
|
83
|
+
* - `ChinaTelecom`
|
|
84
|
+
* - `ChinaUnicom`
|
|
85
|
+
* - `ChinaMobile`
|
|
86
|
+
* - `ChinaTelecom_L2`
|
|
87
|
+
* - `ChinaUnicom_L2`
|
|
88
|
+
* - `ChinaMobile_L2`
|
|
89
|
+
*
|
|
90
|
+
* If your services are deployed in China East 1 Finance, this parameter is required and you must set the parameter to `BGP_FinanceCloud`.
|
|
83
91
|
*/
|
|
84
92
|
readonly isp: pulumi.Output<string | undefined>;
|
|
85
93
|
/**
|
|
86
|
-
* The network type. Set the value to
|
|
94
|
+
* The network type. Set the value to `public`, which specifies the public network type.
|
|
87
95
|
*/
|
|
88
96
|
readonly netmode: pulumi.Output<string | undefined>;
|
|
89
97
|
/**
|
|
90
|
-
* The
|
|
98
|
+
* The resource group ID.
|
|
99
|
+
*/
|
|
100
|
+
readonly resourceGroupId: pulumi.Output<string | undefined>;
|
|
101
|
+
/**
|
|
102
|
+
* The name of the contiguous Elastic IP address group.
|
|
103
|
+
*/
|
|
104
|
+
readonly segmentAddressName: pulumi.Output<string>;
|
|
105
|
+
/**
|
|
106
|
+
* The status of the resource
|
|
91
107
|
*/
|
|
92
108
|
readonly status: pulumi.Output<string>;
|
|
109
|
+
/**
|
|
110
|
+
* The zone of the contiguous EIP group.
|
|
111
|
+
*/
|
|
112
|
+
readonly zone: pulumi.Output<string>;
|
|
93
113
|
/**
|
|
94
114
|
* Create a EipSegmentAddress resource with the given unique name, arguments, and options.
|
|
95
115
|
*
|
|
@@ -104,7 +124,12 @@ export declare class EipSegmentAddress extends pulumi.CustomResource {
|
|
|
104
124
|
*/
|
|
105
125
|
export interface EipSegmentAddressState {
|
|
106
126
|
/**
|
|
107
|
-
* The
|
|
127
|
+
* The maximum bandwidth of the contiguous EIP group. Unit: Mbit/s.
|
|
128
|
+
* - Valid values when `InstanceChargeType` is set to `PostPaid` and `InternetChargeType` is set to `PayByBandwidth`: `1` to `500`.****
|
|
129
|
+
* - Valid values when `InstanceChargeType` is set to `PostPaid` and `InternetChargeType` is set to `PayByTraffic`: `1` to `200`.****
|
|
130
|
+
* - Valid values when `InstanceChargeType` is set to `PrePaid`: `1` to `1000`.****
|
|
131
|
+
*
|
|
132
|
+
* Default value: `5`. Unit: Mbit/s.
|
|
108
133
|
*/
|
|
109
134
|
bandwidth?: pulumi.Input<string>;
|
|
110
135
|
/**
|
|
@@ -112,74 +137,105 @@ export interface EipSegmentAddressState {
|
|
|
112
137
|
*/
|
|
113
138
|
createTime?: pulumi.Input<string>;
|
|
114
139
|
/**
|
|
115
|
-
*
|
|
140
|
+
* The subnet mask of the contiguous EIP group. Valid values:
|
|
116
141
|
*/
|
|
117
142
|
eipMask?: pulumi.Input<string>;
|
|
118
143
|
/**
|
|
119
|
-
*
|
|
120
|
-
* -
|
|
121
|
-
* -
|
|
144
|
+
* The metering method of the contiguous EIP group. Valid values:
|
|
145
|
+
* - `PayByBandwidth` (default)
|
|
146
|
+
* - `PayByTraffic`
|
|
122
147
|
*/
|
|
123
148
|
internetChargeType?: pulumi.Input<string>;
|
|
124
149
|
/**
|
|
125
|
-
*
|
|
126
|
-
* -
|
|
127
|
-
* -
|
|
128
|
-
*
|
|
129
|
-
*
|
|
130
|
-
*
|
|
131
|
-
* -
|
|
132
|
-
* -
|
|
133
|
-
* -
|
|
134
|
-
* -
|
|
135
|
-
* -
|
|
136
|
-
*
|
|
150
|
+
* The line type. Valid values:
|
|
151
|
+
* - `BGP` (default): BGP (Multi-ISP) line The BGP (Multi-ISP) line is supported in all regions.
|
|
152
|
+
* - `BGP_PRO`: BGP (Multi-ISP) Pro line BGP (Multi-ISP) Pro line is supported only in the China (Hong Kong), Singapore, Japan (Tokyo), Malaysia (Kuala Lumpur), Philippines (Manila), Indonesia (Jakarta), and Thailand (Bangkok) regions.
|
|
153
|
+
*
|
|
154
|
+
* For more information about the BGP (Multi-ISP) line and BGP (Multi-ISP) Pro line, see [EIP line types](https://www.alibabacloud.com/help/en/doc-detail/32321.html).
|
|
155
|
+
*
|
|
156
|
+
* If you are allowed to use single-ISP bandwidth, you can also use one of the following values:
|
|
157
|
+
* - `ChinaTelecom`
|
|
158
|
+
* - `ChinaUnicom`
|
|
159
|
+
* - `ChinaMobile`
|
|
160
|
+
* - `ChinaTelecom_L2`
|
|
161
|
+
* - `ChinaUnicom_L2`
|
|
162
|
+
* - `ChinaMobile_L2`
|
|
163
|
+
*
|
|
164
|
+
* If your services are deployed in China East 1 Finance, this parameter is required and you must set the parameter to `BGP_FinanceCloud`.
|
|
137
165
|
*/
|
|
138
166
|
isp?: pulumi.Input<string>;
|
|
139
167
|
/**
|
|
140
|
-
* The network type. Set the value to
|
|
168
|
+
* The network type. Set the value to `public`, which specifies the public network type.
|
|
141
169
|
*/
|
|
142
170
|
netmode?: pulumi.Input<string>;
|
|
143
171
|
/**
|
|
144
|
-
* The
|
|
172
|
+
* The resource group ID.
|
|
173
|
+
*/
|
|
174
|
+
resourceGroupId?: pulumi.Input<string>;
|
|
175
|
+
/**
|
|
176
|
+
* The name of the contiguous Elastic IP address group.
|
|
177
|
+
*/
|
|
178
|
+
segmentAddressName?: pulumi.Input<string>;
|
|
179
|
+
/**
|
|
180
|
+
* The status of the resource
|
|
145
181
|
*/
|
|
146
182
|
status?: pulumi.Input<string>;
|
|
183
|
+
/**
|
|
184
|
+
* The zone of the contiguous EIP group.
|
|
185
|
+
*/
|
|
186
|
+
zone?: pulumi.Input<string>;
|
|
147
187
|
}
|
|
148
188
|
/**
|
|
149
189
|
* The set of arguments for constructing a EipSegmentAddress resource.
|
|
150
190
|
*/
|
|
151
191
|
export interface EipSegmentAddressArgs {
|
|
152
192
|
/**
|
|
153
|
-
* The
|
|
193
|
+
* The maximum bandwidth of the contiguous EIP group. Unit: Mbit/s.
|
|
194
|
+
* - Valid values when `InstanceChargeType` is set to `PostPaid` and `InternetChargeType` is set to `PayByBandwidth`: `1` to `500`.****
|
|
195
|
+
* - Valid values when `InstanceChargeType` is set to `PostPaid` and `InternetChargeType` is set to `PayByTraffic`: `1` to `200`.****
|
|
196
|
+
* - Valid values when `InstanceChargeType` is set to `PrePaid`: `1` to `1000`.****
|
|
197
|
+
*
|
|
198
|
+
* Default value: `5`. Unit: Mbit/s.
|
|
154
199
|
*/
|
|
155
200
|
bandwidth?: pulumi.Input<string>;
|
|
156
201
|
/**
|
|
157
|
-
*
|
|
202
|
+
* The subnet mask of the contiguous EIP group. Valid values:
|
|
158
203
|
*/
|
|
159
204
|
eipMask: pulumi.Input<string>;
|
|
160
205
|
/**
|
|
161
|
-
*
|
|
162
|
-
* -
|
|
163
|
-
* -
|
|
206
|
+
* The metering method of the contiguous EIP group. Valid values:
|
|
207
|
+
* - `PayByBandwidth` (default)
|
|
208
|
+
* - `PayByTraffic`
|
|
164
209
|
*/
|
|
165
210
|
internetChargeType?: pulumi.Input<string>;
|
|
166
211
|
/**
|
|
167
|
-
*
|
|
168
|
-
* -
|
|
169
|
-
* -
|
|
170
|
-
*
|
|
171
|
-
*
|
|
172
|
-
*
|
|
173
|
-
* -
|
|
174
|
-
* -
|
|
175
|
-
* -
|
|
176
|
-
* -
|
|
177
|
-
* -
|
|
178
|
-
*
|
|
212
|
+
* The line type. Valid values:
|
|
213
|
+
* - `BGP` (default): BGP (Multi-ISP) line The BGP (Multi-ISP) line is supported in all regions.
|
|
214
|
+
* - `BGP_PRO`: BGP (Multi-ISP) Pro line BGP (Multi-ISP) Pro line is supported only in the China (Hong Kong), Singapore, Japan (Tokyo), Malaysia (Kuala Lumpur), Philippines (Manila), Indonesia (Jakarta), and Thailand (Bangkok) regions.
|
|
215
|
+
*
|
|
216
|
+
* For more information about the BGP (Multi-ISP) line and BGP (Multi-ISP) Pro line, see [EIP line types](https://www.alibabacloud.com/help/en/doc-detail/32321.html).
|
|
217
|
+
*
|
|
218
|
+
* If you are allowed to use single-ISP bandwidth, you can also use one of the following values:
|
|
219
|
+
* - `ChinaTelecom`
|
|
220
|
+
* - `ChinaUnicom`
|
|
221
|
+
* - `ChinaMobile`
|
|
222
|
+
* - `ChinaTelecom_L2`
|
|
223
|
+
* - `ChinaUnicom_L2`
|
|
224
|
+
* - `ChinaMobile_L2`
|
|
225
|
+
*
|
|
226
|
+
* If your services are deployed in China East 1 Finance, this parameter is required and you must set the parameter to `BGP_FinanceCloud`.
|
|
179
227
|
*/
|
|
180
228
|
isp?: pulumi.Input<string>;
|
|
181
229
|
/**
|
|
182
|
-
* The network type. Set the value to
|
|
230
|
+
* The network type. Set the value to `public`, which specifies the public network type.
|
|
183
231
|
*/
|
|
184
232
|
netmode?: pulumi.Input<string>;
|
|
233
|
+
/**
|
|
234
|
+
* The resource group ID.
|
|
235
|
+
*/
|
|
236
|
+
resourceGroupId?: pulumi.Input<string>;
|
|
237
|
+
/**
|
|
238
|
+
* The zone of the contiguous EIP group.
|
|
239
|
+
*/
|
|
240
|
+
zone?: pulumi.Input<string>;
|
|
185
241
|
}
|
package/ecs/eipSegmentAddress.js
CHANGED
|
@@ -73,7 +73,10 @@ class EipSegmentAddress extends pulumi.CustomResource {
|
|
|
73
73
|
resourceInputs["internetChargeType"] = state ? state.internetChargeType : undefined;
|
|
74
74
|
resourceInputs["isp"] = state ? state.isp : undefined;
|
|
75
75
|
resourceInputs["netmode"] = state ? state.netmode : undefined;
|
|
76
|
+
resourceInputs["resourceGroupId"] = state ? state.resourceGroupId : undefined;
|
|
77
|
+
resourceInputs["segmentAddressName"] = state ? state.segmentAddressName : undefined;
|
|
76
78
|
resourceInputs["status"] = state ? state.status : undefined;
|
|
79
|
+
resourceInputs["zone"] = state ? state.zone : undefined;
|
|
77
80
|
}
|
|
78
81
|
else {
|
|
79
82
|
const args = argsOrState;
|
|
@@ -85,7 +88,10 @@ class EipSegmentAddress extends pulumi.CustomResource {
|
|
|
85
88
|
resourceInputs["internetChargeType"] = args ? args.internetChargeType : undefined;
|
|
86
89
|
resourceInputs["isp"] = args ? args.isp : undefined;
|
|
87
90
|
resourceInputs["netmode"] = args ? args.netmode : undefined;
|
|
91
|
+
resourceInputs["resourceGroupId"] = args ? args.resourceGroupId : undefined;
|
|
92
|
+
resourceInputs["zone"] = args ? args.zone : undefined;
|
|
88
93
|
resourceInputs["createTime"] = undefined /*out*/;
|
|
94
|
+
resourceInputs["segmentAddressName"] = undefined /*out*/;
|
|
89
95
|
resourceInputs["status"] = undefined /*out*/;
|
|
90
96
|
}
|
|
91
97
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eipSegmentAddress.js","sourceRoot":"","sources":["../../ecs/eipSegmentAddress.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACxE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,iBAAiB,CAAC,YAAY,CAAC;IAClE,CAAC;
|
|
1
|
+
{"version":3,"file":"eipSegmentAddress.js","sourceRoot":"","sources":["../../ecs/eipSegmentAddress.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C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