@pulumi/alicloud 3.59.0 → 3.59.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/cen/getTransitRouterService.d.ts +2 -2
- package/cen/getTransitRouterService.js +2 -2
- package/cloudfirewall/controlPolicyOrder.d.ts +24 -19
- package/cloudfirewall/controlPolicyOrder.js +16 -11
- package/cloudfirewall/controlPolicyOrder.js.map +1 -1
- package/cs/nodePool.d.ts +3 -3
- package/dcdn/domain.d.ts +111 -76
- package/dcdn/domain.js +21 -14
- package/dcdn/domain.js.map +1 -1
- package/directmail/getDomains.d.ts +29 -34
- package/directmail/getDomains.js +14 -28
- package/directmail/getDomains.js.map +1 -1
- package/ecs/ecsDisk.d.ts +3 -0
- package/ecs/ecsDisk.js.map +1 -1
- package/ecs/instance.d.ts +98 -44
- package/ecs/instance.js +8 -0
- package/ecs/instance.js.map +1 -1
- package/maxcompute/project.d.ts +77 -23
- package/maxcompute/project.js +20 -5
- package/maxcompute/project.js.map +1 -1
- package/package.json +2 -2
- package/polardb/cluster.d.ts +12 -12
- package/rdc/organization.d.ts +1 -1
- package/rdc/organization.js +1 -1
- package/slb/serverGroup.d.ts +58 -36
- package/slb/serverGroup.js +24 -21
- package/slb/serverGroup.js.map +1 -1
- package/types/input.d.ts +2415 -37
- package/types/output.d.ts +2641 -74
- package/vpc/network.d.ts +119 -59
- package/vpc/network.js +13 -5
- package/vpc/network.js.map +1 -1
- package/vpc/publicIpAddressPool.d.ts +35 -5
- package/vpc/publicIpAddressPool.js +7 -3
- package/vpc/publicIpAddressPool.js.map +1 -1
package/slb/serverGroup.d.ts
CHANGED
|
@@ -2,8 +2,9 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "../types/input";
|
|
3
3
|
import * as outputs from "../types/output";
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
6
|
-
*
|
|
5
|
+
* Provides a Load Balancer Virtual Backend Server Group resource.
|
|
6
|
+
*
|
|
7
|
+
* For information about Load Balancer Virtual Backend Server Group and how to use it, see [What is Virtual Backend Server Group](https://www.alibabacloud.com/help/en/doc-detail/35215.html).
|
|
7
8
|
*
|
|
8
9
|
* > **NOTE:** Available since v1.6.0.
|
|
9
10
|
*
|
|
@@ -17,46 +18,46 @@ import * as outputs from "../types/output";
|
|
|
17
18
|
*
|
|
18
19
|
* > **NOTE:** One VPC load balancer, its virtual server group can only add the same VPC ECS instances.
|
|
19
20
|
*
|
|
20
|
-
* For information about server group and how to use it, see [Configure a server group](https://www.alibabacloud.com/help/en/doc-detail/35215.html).
|
|
21
|
-
*
|
|
22
21
|
* ## Example Usage
|
|
23
22
|
*
|
|
23
|
+
* Basic Usage
|
|
24
|
+
*
|
|
24
25
|
* ```typescript
|
|
25
26
|
* import * as pulumi from "@pulumi/pulumi";
|
|
26
27
|
* import * as alicloud from "@pulumi/alicloud";
|
|
27
28
|
*
|
|
28
29
|
* const config = new pulumi.Config();
|
|
29
|
-
* const
|
|
30
|
-
* const
|
|
30
|
+
* const name = config.get("name") || "tf-example";
|
|
31
|
+
* const default = alicloud.getZones({
|
|
31
32
|
* availableResourceCreation: "VSwitch",
|
|
32
33
|
* });
|
|
33
|
-
* const
|
|
34
|
-
* vpcName:
|
|
34
|
+
* const defaultNetwork = new alicloud.vpc.Network("default", {
|
|
35
|
+
* vpcName: name,
|
|
35
36
|
* cidrBlock: "172.16.0.0/16",
|
|
36
37
|
* });
|
|
37
|
-
* const
|
|
38
|
-
* vpcId:
|
|
38
|
+
* const defaultSwitch = new alicloud.vpc.Switch("default", {
|
|
39
|
+
* vpcId: defaultNetwork.id,
|
|
39
40
|
* cidrBlock: "172.16.0.0/16",
|
|
40
|
-
* zoneId:
|
|
41
|
-
* vswitchName:
|
|
41
|
+
* zoneId: _default.then(_default => _default.zones?.[0]?.id),
|
|
42
|
+
* vswitchName: name,
|
|
42
43
|
* });
|
|
43
|
-
* const
|
|
44
|
-
* loadBalancerName:
|
|
45
|
-
* vswitchId:
|
|
46
|
-
*
|
|
44
|
+
* const defaultApplicationLoadBalancer = new alicloud.slb.ApplicationLoadBalancer("default", {
|
|
45
|
+
* loadBalancerName: name,
|
|
46
|
+
* vswitchId: defaultSwitch.id,
|
|
47
|
+
* loadBalancerSpec: "slb.s2.small",
|
|
47
48
|
* });
|
|
48
|
-
* const
|
|
49
|
-
* loadBalancerId:
|
|
50
|
-
* name:
|
|
49
|
+
* const defaultServerGroup = new alicloud.slb.ServerGroup("default", {
|
|
50
|
+
* loadBalancerId: defaultApplicationLoadBalancer.id,
|
|
51
|
+
* name: name,
|
|
51
52
|
* });
|
|
52
53
|
* ```
|
|
53
54
|
*
|
|
54
55
|
* ## Import
|
|
55
56
|
*
|
|
56
|
-
* Load
|
|
57
|
+
* Load Balancer Virtual Backend Server Group can be imported using the id, e.g.
|
|
57
58
|
*
|
|
58
59
|
* ```sh
|
|
59
|
-
* $ pulumi import alicloud:slb/serverGroup:ServerGroup example
|
|
60
|
+
* $ pulumi import alicloud:slb/serverGroup:ServerGroup example <id>
|
|
60
61
|
* ```
|
|
61
62
|
*/
|
|
62
63
|
export declare class ServerGroup extends pulumi.CustomResource {
|
|
@@ -76,23 +77,30 @@ export declare class ServerGroup extends pulumi.CustomResource {
|
|
|
76
77
|
*/
|
|
77
78
|
static isInstance(obj: any): obj is ServerGroup;
|
|
78
79
|
/**
|
|
79
|
-
* Checking DeleteProtection of SLB instance before deleting. If true
|
|
80
|
+
* Checking DeleteProtection of SLB instance before deleting. Default value: `false`. If `deleteProtectionValidation` is set to `true`, this resource will not be deleted when its SLB instance enabled DeleteProtection.
|
|
80
81
|
*/
|
|
81
82
|
readonly deleteProtectionValidation: pulumi.Output<boolean | undefined>;
|
|
82
83
|
/**
|
|
83
|
-
* The
|
|
84
|
+
* The ID of the Server Load Balancer (SLB) instance.
|
|
84
85
|
*/
|
|
85
86
|
readonly loadBalancerId: pulumi.Output<string>;
|
|
86
87
|
/**
|
|
87
|
-
*
|
|
88
|
+
* The name of the vServer group. Default value: `tf-server-group`.
|
|
88
89
|
*/
|
|
89
90
|
readonly name: pulumi.Output<string>;
|
|
90
91
|
/**
|
|
91
|
-
*
|
|
92
|
+
* The list of backend servers to be added. See `servers` below.
|
|
93
|
+
* > **NOTE:** Field `servers` has been deprecated from provider version 1.163.0, and it will be removed in the future version. Please use the new resource `alicloud.slb.ServerGroupServerAttachment`.
|
|
92
94
|
*
|
|
93
|
-
* @deprecated Field
|
|
95
|
+
* @deprecated Field `servers` has been deprecated from provider version 1.163.0 and it will be removed in the future version. Please use the new resource `alicloud.slb.ServerGroupServerAttachment`.
|
|
94
96
|
*/
|
|
95
97
|
readonly servers: pulumi.Output<outputs.slb.ServerGroupServer[]>;
|
|
98
|
+
/**
|
|
99
|
+
* A mapping of tags to assign to the resource.
|
|
100
|
+
*/
|
|
101
|
+
readonly tags: pulumi.Output<{
|
|
102
|
+
[key: string]: any;
|
|
103
|
+
} | undefined>;
|
|
96
104
|
/**
|
|
97
105
|
* Create a ServerGroup resource with the given unique name, arguments, and options.
|
|
98
106
|
*
|
|
@@ -107,44 +115,58 @@ export declare class ServerGroup extends pulumi.CustomResource {
|
|
|
107
115
|
*/
|
|
108
116
|
export interface ServerGroupState {
|
|
109
117
|
/**
|
|
110
|
-
* Checking DeleteProtection of SLB instance before deleting. If true
|
|
118
|
+
* Checking DeleteProtection of SLB instance before deleting. Default value: `false`. If `deleteProtectionValidation` is set to `true`, this resource will not be deleted when its SLB instance enabled DeleteProtection.
|
|
111
119
|
*/
|
|
112
120
|
deleteProtectionValidation?: pulumi.Input<boolean>;
|
|
113
121
|
/**
|
|
114
|
-
* The
|
|
122
|
+
* The ID of the Server Load Balancer (SLB) instance.
|
|
115
123
|
*/
|
|
116
124
|
loadBalancerId?: pulumi.Input<string>;
|
|
117
125
|
/**
|
|
118
|
-
*
|
|
126
|
+
* The name of the vServer group. Default value: `tf-server-group`.
|
|
119
127
|
*/
|
|
120
128
|
name?: pulumi.Input<string>;
|
|
121
129
|
/**
|
|
122
|
-
*
|
|
130
|
+
* The list of backend servers to be added. See `servers` below.
|
|
131
|
+
* > **NOTE:** Field `servers` has been deprecated from provider version 1.163.0, and it will be removed in the future version. Please use the new resource `alicloud.slb.ServerGroupServerAttachment`.
|
|
123
132
|
*
|
|
124
|
-
* @deprecated Field
|
|
133
|
+
* @deprecated Field `servers` has been deprecated from provider version 1.163.0 and it will be removed in the future version. Please use the new resource `alicloud.slb.ServerGroupServerAttachment`.
|
|
125
134
|
*/
|
|
126
135
|
servers?: pulumi.Input<pulumi.Input<inputs.slb.ServerGroupServer>[]>;
|
|
136
|
+
/**
|
|
137
|
+
* A mapping of tags to assign to the resource.
|
|
138
|
+
*/
|
|
139
|
+
tags?: pulumi.Input<{
|
|
140
|
+
[key: string]: any;
|
|
141
|
+
}>;
|
|
127
142
|
}
|
|
128
143
|
/**
|
|
129
144
|
* The set of arguments for constructing a ServerGroup resource.
|
|
130
145
|
*/
|
|
131
146
|
export interface ServerGroupArgs {
|
|
132
147
|
/**
|
|
133
|
-
* Checking DeleteProtection of SLB instance before deleting. If true
|
|
148
|
+
* Checking DeleteProtection of SLB instance before deleting. Default value: `false`. If `deleteProtectionValidation` is set to `true`, this resource will not be deleted when its SLB instance enabled DeleteProtection.
|
|
134
149
|
*/
|
|
135
150
|
deleteProtectionValidation?: pulumi.Input<boolean>;
|
|
136
151
|
/**
|
|
137
|
-
* The
|
|
152
|
+
* The ID of the Server Load Balancer (SLB) instance.
|
|
138
153
|
*/
|
|
139
154
|
loadBalancerId: pulumi.Input<string>;
|
|
140
155
|
/**
|
|
141
|
-
*
|
|
156
|
+
* The name of the vServer group. Default value: `tf-server-group`.
|
|
142
157
|
*/
|
|
143
158
|
name?: pulumi.Input<string>;
|
|
144
159
|
/**
|
|
145
|
-
*
|
|
160
|
+
* The list of backend servers to be added. See `servers` below.
|
|
161
|
+
* > **NOTE:** Field `servers` has been deprecated from provider version 1.163.0, and it will be removed in the future version. Please use the new resource `alicloud.slb.ServerGroupServerAttachment`.
|
|
146
162
|
*
|
|
147
|
-
* @deprecated Field
|
|
163
|
+
* @deprecated Field `servers` has been deprecated from provider version 1.163.0 and it will be removed in the future version. Please use the new resource `alicloud.slb.ServerGroupServerAttachment`.
|
|
148
164
|
*/
|
|
149
165
|
servers?: pulumi.Input<pulumi.Input<inputs.slb.ServerGroupServer>[]>;
|
|
166
|
+
/**
|
|
167
|
+
* A mapping of tags to assign to the resource.
|
|
168
|
+
*/
|
|
169
|
+
tags?: pulumi.Input<{
|
|
170
|
+
[key: string]: any;
|
|
171
|
+
}>;
|
|
150
172
|
}
|
package/slb/serverGroup.js
CHANGED
|
@@ -6,8 +6,9 @@ exports.ServerGroup = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
10
|
-
*
|
|
9
|
+
* Provides a Load Balancer Virtual Backend Server Group resource.
|
|
10
|
+
*
|
|
11
|
+
* For information about Load Balancer Virtual Backend Server Group and how to use it, see [What is Virtual Backend Server Group](https://www.alibabacloud.com/help/en/doc-detail/35215.html).
|
|
11
12
|
*
|
|
12
13
|
* > **NOTE:** Available since v1.6.0.
|
|
13
14
|
*
|
|
@@ -21,46 +22,46 @@ const utilities = require("../utilities");
|
|
|
21
22
|
*
|
|
22
23
|
* > **NOTE:** One VPC load balancer, its virtual server group can only add the same VPC ECS instances.
|
|
23
24
|
*
|
|
24
|
-
* For information about server group and how to use it, see [Configure a server group](https://www.alibabacloud.com/help/en/doc-detail/35215.html).
|
|
25
|
-
*
|
|
26
25
|
* ## Example Usage
|
|
27
26
|
*
|
|
27
|
+
* Basic Usage
|
|
28
|
+
*
|
|
28
29
|
* ```typescript
|
|
29
30
|
* import * as pulumi from "@pulumi/pulumi";
|
|
30
31
|
* import * as alicloud from "@pulumi/alicloud";
|
|
31
32
|
*
|
|
32
33
|
* const config = new pulumi.Config();
|
|
33
|
-
* const
|
|
34
|
-
* const
|
|
34
|
+
* const name = config.get("name") || "tf-example";
|
|
35
|
+
* const default = alicloud.getZones({
|
|
35
36
|
* availableResourceCreation: "VSwitch",
|
|
36
37
|
* });
|
|
37
|
-
* const
|
|
38
|
-
* vpcName:
|
|
38
|
+
* const defaultNetwork = new alicloud.vpc.Network("default", {
|
|
39
|
+
* vpcName: name,
|
|
39
40
|
* cidrBlock: "172.16.0.0/16",
|
|
40
41
|
* });
|
|
41
|
-
* const
|
|
42
|
-
* vpcId:
|
|
42
|
+
* const defaultSwitch = new alicloud.vpc.Switch("default", {
|
|
43
|
+
* vpcId: defaultNetwork.id,
|
|
43
44
|
* cidrBlock: "172.16.0.0/16",
|
|
44
|
-
* zoneId:
|
|
45
|
-
* vswitchName:
|
|
45
|
+
* zoneId: _default.then(_default => _default.zones?.[0]?.id),
|
|
46
|
+
* vswitchName: name,
|
|
46
47
|
* });
|
|
47
|
-
* const
|
|
48
|
-
* loadBalancerName:
|
|
49
|
-
* vswitchId:
|
|
50
|
-
*
|
|
48
|
+
* const defaultApplicationLoadBalancer = new alicloud.slb.ApplicationLoadBalancer("default", {
|
|
49
|
+
* loadBalancerName: name,
|
|
50
|
+
* vswitchId: defaultSwitch.id,
|
|
51
|
+
* loadBalancerSpec: "slb.s2.small",
|
|
51
52
|
* });
|
|
52
|
-
* const
|
|
53
|
-
* loadBalancerId:
|
|
54
|
-
* name:
|
|
53
|
+
* const defaultServerGroup = new alicloud.slb.ServerGroup("default", {
|
|
54
|
+
* loadBalancerId: defaultApplicationLoadBalancer.id,
|
|
55
|
+
* name: name,
|
|
55
56
|
* });
|
|
56
57
|
* ```
|
|
57
58
|
*
|
|
58
59
|
* ## Import
|
|
59
60
|
*
|
|
60
|
-
* Load
|
|
61
|
+
* Load Balancer Virtual Backend Server Group can be imported using the id, e.g.
|
|
61
62
|
*
|
|
62
63
|
* ```sh
|
|
63
|
-
* $ pulumi import alicloud:slb/serverGroup:ServerGroup example
|
|
64
|
+
* $ pulumi import alicloud:slb/serverGroup:ServerGroup example <id>
|
|
64
65
|
* ```
|
|
65
66
|
*/
|
|
66
67
|
class ServerGroup extends pulumi.CustomResource {
|
|
@@ -95,6 +96,7 @@ class ServerGroup extends pulumi.CustomResource {
|
|
|
95
96
|
resourceInputs["loadBalancerId"] = state ? state.loadBalancerId : undefined;
|
|
96
97
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
97
98
|
resourceInputs["servers"] = state ? state.servers : undefined;
|
|
99
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
98
100
|
}
|
|
99
101
|
else {
|
|
100
102
|
const args = argsOrState;
|
|
@@ -105,6 +107,7 @@ class ServerGroup extends pulumi.CustomResource {
|
|
|
105
107
|
resourceInputs["loadBalancerId"] = args ? args.loadBalancerId : undefined;
|
|
106
108
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
107
109
|
resourceInputs["servers"] = args ? args.servers : undefined;
|
|
110
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
108
111
|
}
|
|
109
112
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
110
113
|
super(ServerGroup.__pulumiType, name, resourceInputs, opts);
|
package/slb/serverGroup.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serverGroup.js","sourceRoot":"","sources":["../../slb/serverGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"serverGroup.js","sourceRoot":"","sources":["../../slb/serverGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0DG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,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