@pulumi/alicloud 3.66.0 → 3.67.0-alpha.1732274867
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/flowLog.d.ts +117 -25
- package/cen/flowLog.js +18 -6
- package/cen/flowLog.js.map +1 -1
- package/cen/transitRouterEcrAttachment.d.ts +2 -2
- package/cen/transitRouterEcrAttachment.js +2 -2
- package/cr/registryEnterpriseInstance.d.ts +173 -35
- package/cr/registryEnterpriseInstance.js +46 -2
- package/cr/registryEnterpriseInstance.js.map +1 -1
- package/ecs/ecsImageComponent.d.ts +87 -21
- package/ecs/ecsImageComponent.js +5 -3
- package/ecs/ecsImageComponent.js.map +1 -1
- package/ess/eciScalingConfiguration.d.ts +18 -6
- package/ess/eciScalingConfiguration.js.map +1 -1
- package/ess/scalingConfiguration.d.ts +12 -0
- package/ess/scalingConfiguration.js +2 -0
- package/ess/scalingConfiguration.js.map +1 -1
- package/expressconnect/routerVbrChildInstance.d.ts +29 -11
- package/expressconnect/routerVbrChildInstance.js +3 -1
- package/expressconnect/routerVbrChildInstance.js.map +1 -1
- package/kms/key.d.ts +1 -1
- package/kvstore/account.d.ts +11 -11
- package/kvstore/account.js +3 -3
- package/kvstore/auditLogConfig.d.ts +2 -2
- package/kvstore/auditLogConfig.js +2 -2
- package/kvstore/backupPolicy.d.ts +1 -1
- package/kvstore/backupPolicy.js +1 -1
- package/kvstore/connection.d.ts +4 -4
- package/kvstore/connection.js +2 -2
- package/kvstore/getAccounts.d.ts +4 -4
- package/kvstore/getAccounts.js +2 -2
- package/kvstore/getConnections.d.ts +5 -5
- package/kvstore/getConnections.js +2 -2
- package/kvstore/getInstanceClasses.d.ts +12 -12
- package/kvstore/getInstanceClasses.js +2 -2
- package/kvstore/getInstanceEngines.d.ts +7 -7
- package/kvstore/getInstanceEngines.js +2 -2
- package/kvstore/getPermission.d.ts +10 -10
- package/kvstore/getPermission.js +8 -8
- package/kvstore/getZones.d.ts +4 -4
- package/kvstore/getZones.js +2 -2
- package/mongodb/instance.d.ts +12 -0
- package/mongodb/instance.js +2 -0
- package/mongodb/instance.js.map +1 -1
- package/mongodb/shardingInstance.d.ts +12 -0
- package/mongodb/shardingInstance.js +2 -0
- package/mongodb/shardingInstance.js.map +1 -1
- package/package.json +2 -2
- package/polardb/cluster.d.ts +3 -3
- package/privatelink/vpcEndpointService.d.ts +14 -39
- package/privatelink/vpcEndpointService.js +2 -0
- package/privatelink/vpcEndpointService.js.map +1 -1
- package/privatelink/vpcEndpointServiceConnection.d.ts +12 -10
- package/privatelink/vpcEndpointServiceConnection.js +3 -1
- package/privatelink/vpcEndpointServiceConnection.js.map +1 -1
- package/privatelink/vpcEndpointServiceResource.d.ts +11 -16
- package/privatelink/vpcEndpointServiceResource.js +5 -1
- package/privatelink/vpcEndpointServiceResource.js.map +1 -1
- package/privatelink/vpcEndpointZone.d.ts +8 -0
- package/privatelink/vpcEndpointZone.js +2 -0
- package/privatelink/vpcEndpointZone.js.map +1 -1
- package/rds/custom.d.ts +453 -0
- package/rds/custom.js +135 -0
- package/rds/custom.js.map +1 -0
- package/rds/customDeploymentSet.d.ts +179 -0
- package/rds/customDeploymentSet.js +95 -0
- package/rds/customDeploymentSet.js.map +1 -0
- package/rds/index.d.ts +6 -0
- package/rds/index.js +12 -1
- package/rds/index.js.map +1 -1
- package/redis/tairInstance.d.ts +21 -1
- package/redis/tairInstance.js +4 -0
- package/redis/tairInstance.js.map +1 -1
- package/types/input.d.ts +58 -0
- package/types/output.d.ts +59 -1
- package/vpc/natGateway.d.ts +56 -6
- package/vpc/natGateway.js +6 -0
- package/vpc/natGateway.js.map +1 -1
- package/vpn/gatewayVcoRoute.d.ts +22 -10
- package/vpn/gatewayVcoRoute.js +12 -10
- package/vpn/gatewayVcoRoute.js.map +1 -1
package/cen/flowLog.d.ts
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
* By using the flow log function, you can capture the traffic data of the network instances in different regions of a CEN.
|
|
5
|
-
* You can also use the data aggregated in flow logs to analyze cross-region traffic flows, minimize traffic costs, and troubleshoot network faults.
|
|
3
|
+
* Provides a CEN Flow Log resource.
|
|
6
4
|
*
|
|
7
|
-
* For information about CEN
|
|
5
|
+
* For information about CEN Flow Log and how to use it, see [What is Flow Log](https://www.alibabacloud.com/help/en/cen/developer-reference/api-cbn-2017-09-12-createflowlog).
|
|
8
6
|
*
|
|
9
7
|
* > **NOTE:** Available since v1.73.0.
|
|
10
8
|
*
|
|
@@ -41,10 +39,10 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
41
39
|
*
|
|
42
40
|
* ## Import
|
|
43
41
|
*
|
|
44
|
-
* CEN
|
|
42
|
+
* CEN Flow Log can be imported using the id, e.g.
|
|
45
43
|
*
|
|
46
44
|
* ```sh
|
|
47
|
-
* $ pulumi import alicloud:cen/flowLog:FlowLog
|
|
45
|
+
* $ pulumi import alicloud:cen/flowLog:FlowLog example <id>
|
|
48
46
|
* ```
|
|
49
47
|
*/
|
|
50
48
|
export declare class FlowLog extends pulumi.CustomResource {
|
|
@@ -64,29 +62,63 @@ export declare class FlowLog extends pulumi.CustomResource {
|
|
|
64
62
|
*/
|
|
65
63
|
static isInstance(obj: any): obj is FlowLog;
|
|
66
64
|
/**
|
|
67
|
-
*
|
|
65
|
+
* cen id
|
|
68
66
|
*/
|
|
69
67
|
readonly cenId: pulumi.Output<string>;
|
|
70
68
|
/**
|
|
71
|
-
*
|
|
69
|
+
* CreateTime
|
|
70
|
+
*/
|
|
71
|
+
readonly createTime: pulumi.Output<string>;
|
|
72
|
+
/**
|
|
73
|
+
* The description of the flowlog.
|
|
72
74
|
*/
|
|
73
75
|
readonly description: pulumi.Output<string | undefined>;
|
|
74
76
|
/**
|
|
75
|
-
* The name of flowlog.
|
|
77
|
+
* The name of the flowlog.
|
|
76
78
|
*/
|
|
77
79
|
readonly flowLogName: pulumi.Output<string | undefined>;
|
|
78
80
|
/**
|
|
79
|
-
* The
|
|
81
|
+
* The duration of the capture window for the flow log to capture traffic. Unit: seconds. Valid values: `60` or **600 * *. Default value: **600 * *.
|
|
82
|
+
*/
|
|
83
|
+
readonly interval: pulumi.Output<number | undefined>;
|
|
84
|
+
/**
|
|
85
|
+
* Log Format
|
|
86
|
+
*/
|
|
87
|
+
readonly logFormatString: pulumi.Output<string | undefined>;
|
|
88
|
+
/**
|
|
89
|
+
* The LogStore that stores the flowlog.
|
|
80
90
|
*/
|
|
81
91
|
readonly logStoreName: pulumi.Output<string>;
|
|
82
92
|
/**
|
|
83
|
-
* The
|
|
93
|
+
* The Project that stores the flowlog.
|
|
84
94
|
*/
|
|
85
95
|
readonly projectName: pulumi.Output<string>;
|
|
86
96
|
/**
|
|
87
|
-
*
|
|
97
|
+
* region id
|
|
88
98
|
*/
|
|
89
|
-
readonly
|
|
99
|
+
readonly regionId: pulumi.Output<string>;
|
|
100
|
+
/**
|
|
101
|
+
* The status of the flow log. Valid values:
|
|
102
|
+
* - `Active`: started.
|
|
103
|
+
* - `InActive`: not started.
|
|
104
|
+
*/
|
|
105
|
+
readonly status: pulumi.Output<string>;
|
|
106
|
+
/**
|
|
107
|
+
* The tag of the resource
|
|
108
|
+
*/
|
|
109
|
+
readonly tags: pulumi.Output<{
|
|
110
|
+
[key: string]: string;
|
|
111
|
+
} | undefined>;
|
|
112
|
+
/**
|
|
113
|
+
* Cross-region Connection ID or VBR connection ID.
|
|
114
|
+
*
|
|
115
|
+
* > **NOTE:** This parameter is required.
|
|
116
|
+
*/
|
|
117
|
+
readonly transitRouterAttachmentId: pulumi.Output<string | undefined>;
|
|
118
|
+
/**
|
|
119
|
+
* Transit Router ID
|
|
120
|
+
*/
|
|
121
|
+
readonly transitRouterId: pulumi.Output<string | undefined>;
|
|
90
122
|
/**
|
|
91
123
|
* Create a FlowLog resource with the given unique name, arguments, and options.
|
|
92
124
|
*
|
|
@@ -101,56 +133,116 @@ export declare class FlowLog extends pulumi.CustomResource {
|
|
|
101
133
|
*/
|
|
102
134
|
export interface FlowLogState {
|
|
103
135
|
/**
|
|
104
|
-
*
|
|
136
|
+
* cen id
|
|
105
137
|
*/
|
|
106
138
|
cenId?: pulumi.Input<string>;
|
|
107
139
|
/**
|
|
108
|
-
*
|
|
140
|
+
* CreateTime
|
|
141
|
+
*/
|
|
142
|
+
createTime?: pulumi.Input<string>;
|
|
143
|
+
/**
|
|
144
|
+
* The description of the flowlog.
|
|
109
145
|
*/
|
|
110
146
|
description?: pulumi.Input<string>;
|
|
111
147
|
/**
|
|
112
|
-
* The name of flowlog.
|
|
148
|
+
* The name of the flowlog.
|
|
113
149
|
*/
|
|
114
150
|
flowLogName?: pulumi.Input<string>;
|
|
115
151
|
/**
|
|
116
|
-
* The
|
|
152
|
+
* The duration of the capture window for the flow log to capture traffic. Unit: seconds. Valid values: `60` or **600 * *. Default value: **600 * *.
|
|
153
|
+
*/
|
|
154
|
+
interval?: pulumi.Input<number>;
|
|
155
|
+
/**
|
|
156
|
+
* Log Format
|
|
157
|
+
*/
|
|
158
|
+
logFormatString?: pulumi.Input<string>;
|
|
159
|
+
/**
|
|
160
|
+
* The LogStore that stores the flowlog.
|
|
117
161
|
*/
|
|
118
162
|
logStoreName?: pulumi.Input<string>;
|
|
119
163
|
/**
|
|
120
|
-
* The
|
|
164
|
+
* The Project that stores the flowlog.
|
|
121
165
|
*/
|
|
122
166
|
projectName?: pulumi.Input<string>;
|
|
123
167
|
/**
|
|
124
|
-
*
|
|
168
|
+
* region id
|
|
169
|
+
*/
|
|
170
|
+
regionId?: pulumi.Input<string>;
|
|
171
|
+
/**
|
|
172
|
+
* The status of the flow log. Valid values:
|
|
173
|
+
* - `Active`: started.
|
|
174
|
+
* - `InActive`: not started.
|
|
125
175
|
*/
|
|
126
176
|
status?: pulumi.Input<string>;
|
|
177
|
+
/**
|
|
178
|
+
* The tag of the resource
|
|
179
|
+
*/
|
|
180
|
+
tags?: pulumi.Input<{
|
|
181
|
+
[key: string]: pulumi.Input<string>;
|
|
182
|
+
}>;
|
|
183
|
+
/**
|
|
184
|
+
* Cross-region Connection ID or VBR connection ID.
|
|
185
|
+
*
|
|
186
|
+
* > **NOTE:** This parameter is required.
|
|
187
|
+
*/
|
|
188
|
+
transitRouterAttachmentId?: pulumi.Input<string>;
|
|
189
|
+
/**
|
|
190
|
+
* Transit Router ID
|
|
191
|
+
*/
|
|
192
|
+
transitRouterId?: pulumi.Input<string>;
|
|
127
193
|
}
|
|
128
194
|
/**
|
|
129
195
|
* The set of arguments for constructing a FlowLog resource.
|
|
130
196
|
*/
|
|
131
197
|
export interface FlowLogArgs {
|
|
132
198
|
/**
|
|
133
|
-
*
|
|
199
|
+
* cen id
|
|
134
200
|
*/
|
|
135
201
|
cenId: pulumi.Input<string>;
|
|
136
202
|
/**
|
|
137
|
-
* The description of flowlog.
|
|
203
|
+
* The description of the flowlog.
|
|
138
204
|
*/
|
|
139
205
|
description?: pulumi.Input<string>;
|
|
140
206
|
/**
|
|
141
|
-
* The name of flowlog.
|
|
207
|
+
* The name of the flowlog.
|
|
142
208
|
*/
|
|
143
209
|
flowLogName?: pulumi.Input<string>;
|
|
144
210
|
/**
|
|
145
|
-
* The
|
|
211
|
+
* The duration of the capture window for the flow log to capture traffic. Unit: seconds. Valid values: `60` or **600 * *. Default value: **600 * *.
|
|
212
|
+
*/
|
|
213
|
+
interval?: pulumi.Input<number>;
|
|
214
|
+
/**
|
|
215
|
+
* Log Format
|
|
216
|
+
*/
|
|
217
|
+
logFormatString?: pulumi.Input<string>;
|
|
218
|
+
/**
|
|
219
|
+
* The LogStore that stores the flowlog.
|
|
146
220
|
*/
|
|
147
221
|
logStoreName: pulumi.Input<string>;
|
|
148
222
|
/**
|
|
149
|
-
* The
|
|
223
|
+
* The Project that stores the flowlog.
|
|
150
224
|
*/
|
|
151
225
|
projectName: pulumi.Input<string>;
|
|
152
226
|
/**
|
|
153
|
-
* The status of
|
|
227
|
+
* The status of the flow log. Valid values:
|
|
228
|
+
* - `Active`: started.
|
|
229
|
+
* - `InActive`: not started.
|
|
154
230
|
*/
|
|
155
231
|
status?: pulumi.Input<string>;
|
|
232
|
+
/**
|
|
233
|
+
* The tag of the resource
|
|
234
|
+
*/
|
|
235
|
+
tags?: pulumi.Input<{
|
|
236
|
+
[key: string]: pulumi.Input<string>;
|
|
237
|
+
}>;
|
|
238
|
+
/**
|
|
239
|
+
* Cross-region Connection ID or VBR connection ID.
|
|
240
|
+
*
|
|
241
|
+
* > **NOTE:** This parameter is required.
|
|
242
|
+
*/
|
|
243
|
+
transitRouterAttachmentId?: pulumi.Input<string>;
|
|
244
|
+
/**
|
|
245
|
+
* Transit Router ID
|
|
246
|
+
*/
|
|
247
|
+
transitRouterId?: pulumi.Input<string>;
|
|
156
248
|
}
|
package/cen/flowLog.js
CHANGED
|
@@ -6,11 +6,9 @@ exports.FlowLog = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
10
|
-
* By using the flow log function, you can capture the traffic data of the network instances in different regions of a CEN.
|
|
11
|
-
* You can also use the data aggregated in flow logs to analyze cross-region traffic flows, minimize traffic costs, and troubleshoot network faults.
|
|
9
|
+
* Provides a CEN Flow Log resource.
|
|
12
10
|
*
|
|
13
|
-
* For information about CEN
|
|
11
|
+
* For information about CEN Flow Log and how to use it, see [What is Flow Log](https://www.alibabacloud.com/help/en/cen/developer-reference/api-cbn-2017-09-12-createflowlog).
|
|
14
12
|
*
|
|
15
13
|
* > **NOTE:** Available since v1.73.0.
|
|
16
14
|
*
|
|
@@ -47,10 +45,10 @@ const utilities = require("../utilities");
|
|
|
47
45
|
*
|
|
48
46
|
* ## Import
|
|
49
47
|
*
|
|
50
|
-
* CEN
|
|
48
|
+
* CEN Flow Log can be imported using the id, e.g.
|
|
51
49
|
*
|
|
52
50
|
* ```sh
|
|
53
|
-
* $ pulumi import alicloud:cen/flowLog:FlowLog
|
|
51
|
+
* $ pulumi import alicloud:cen/flowLog:FlowLog example <id>
|
|
54
52
|
* ```
|
|
55
53
|
*/
|
|
56
54
|
class FlowLog extends pulumi.CustomResource {
|
|
@@ -82,11 +80,18 @@ class FlowLog extends pulumi.CustomResource {
|
|
|
82
80
|
if (opts.id) {
|
|
83
81
|
const state = argsOrState;
|
|
84
82
|
resourceInputs["cenId"] = state ? state.cenId : undefined;
|
|
83
|
+
resourceInputs["createTime"] = state ? state.createTime : undefined;
|
|
85
84
|
resourceInputs["description"] = state ? state.description : undefined;
|
|
86
85
|
resourceInputs["flowLogName"] = state ? state.flowLogName : undefined;
|
|
86
|
+
resourceInputs["interval"] = state ? state.interval : undefined;
|
|
87
|
+
resourceInputs["logFormatString"] = state ? state.logFormatString : undefined;
|
|
87
88
|
resourceInputs["logStoreName"] = state ? state.logStoreName : undefined;
|
|
88
89
|
resourceInputs["projectName"] = state ? state.projectName : undefined;
|
|
90
|
+
resourceInputs["regionId"] = state ? state.regionId : undefined;
|
|
89
91
|
resourceInputs["status"] = state ? state.status : undefined;
|
|
92
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
93
|
+
resourceInputs["transitRouterAttachmentId"] = state ? state.transitRouterAttachmentId : undefined;
|
|
94
|
+
resourceInputs["transitRouterId"] = state ? state.transitRouterId : undefined;
|
|
90
95
|
}
|
|
91
96
|
else {
|
|
92
97
|
const args = argsOrState;
|
|
@@ -102,9 +107,16 @@ class FlowLog extends pulumi.CustomResource {
|
|
|
102
107
|
resourceInputs["cenId"] = args ? args.cenId : undefined;
|
|
103
108
|
resourceInputs["description"] = args ? args.description : undefined;
|
|
104
109
|
resourceInputs["flowLogName"] = args ? args.flowLogName : undefined;
|
|
110
|
+
resourceInputs["interval"] = args ? args.interval : undefined;
|
|
111
|
+
resourceInputs["logFormatString"] = args ? args.logFormatString : undefined;
|
|
105
112
|
resourceInputs["logStoreName"] = args ? args.logStoreName : undefined;
|
|
106
113
|
resourceInputs["projectName"] = args ? args.projectName : undefined;
|
|
107
114
|
resourceInputs["status"] = args ? args.status : undefined;
|
|
115
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
116
|
+
resourceInputs["transitRouterAttachmentId"] = args ? args.transitRouterAttachmentId : undefined;
|
|
117
|
+
resourceInputs["transitRouterId"] = args ? args.transitRouterId : undefined;
|
|
118
|
+
resourceInputs["createTime"] = undefined /*out*/;
|
|
119
|
+
resourceInputs["regionId"] = undefined /*out*/;
|
|
108
120
|
}
|
|
109
121
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
110
122
|
super(FlowLog.__pulumiType, name, resourceInputs, opts);
|
package/cen/flowLog.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flowLog.js","sourceRoot":"","sources":["../../cen/flowLog.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"flowLog.js","sourceRoot":"","sources":["../../cen/flowLog.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9D,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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AAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AA1IL,0BA2IC;AA7HG,gBAAgB;AACO,oBAAY,GAAG,8BAA8B,CAAC"}
|
|
@@ -4,7 +4,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
4
4
|
*
|
|
5
5
|
* For information about CEN Transit Router Ecr Attachment and how to use it, see [What is Transit Router Ecr Attachment](https://www.alibabacloud.com/help/en/).
|
|
6
6
|
*
|
|
7
|
-
* > **NOTE:** Available since v1.
|
|
7
|
+
* > **NOTE:** Available since v1.235.0.
|
|
8
8
|
*
|
|
9
9
|
* ## Example Usage
|
|
10
10
|
*
|
|
@@ -16,7 +16,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
16
16
|
*
|
|
17
17
|
* const config = new pulumi.Config();
|
|
18
18
|
* const name = config.get("name") || "terraform-example";
|
|
19
|
-
* const asn = config.get("asn") || "
|
|
19
|
+
* const asn = config.get("asn") || "4200000667";
|
|
20
20
|
* const defaultO8Hcfx = new alicloud.expressconnect.RouterExpressConnectRouter("defaultO8Hcfx", {
|
|
21
21
|
* alibabaSideAsn: asn,
|
|
22
22
|
* ecrName: name,
|
|
@@ -10,7 +10,7 @@ const utilities = require("../utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* For information about CEN Transit Router Ecr Attachment and how to use it, see [What is Transit Router Ecr Attachment](https://www.alibabacloud.com/help/en/).
|
|
12
12
|
*
|
|
13
|
-
* > **NOTE:** Available since v1.
|
|
13
|
+
* > **NOTE:** Available since v1.235.0.
|
|
14
14
|
*
|
|
15
15
|
* ## Example Usage
|
|
16
16
|
*
|
|
@@ -22,7 +22,7 @@ const utilities = require("../utilities");
|
|
|
22
22
|
*
|
|
23
23
|
* const config = new pulumi.Config();
|
|
24
24
|
* const name = config.get("name") || "terraform-example";
|
|
25
|
-
* const asn = config.get("asn") || "
|
|
25
|
+
* const asn = config.get("asn") || "4200000667";
|
|
26
26
|
* const defaultO8Hcfx = new alicloud.expressconnect.RouterExpressConnectRouter("defaultO8Hcfx", {
|
|
27
27
|
* alibabaSideAsn: asn,
|
|
28
28
|
* ecrName: name,
|
|
@@ -1,11 +1,42 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
+
* Provides a CR Instance resource.
|
|
4
|
+
*
|
|
5
|
+
* For information about Container Registry Enterprise Edition instances and how to use it, see [Create a Instance](https://www.alibabacloud.com/help/en/doc-detail/208144.htm)
|
|
6
|
+
*
|
|
7
|
+
* > **NOTE:** Available since v1.124.0.
|
|
8
|
+
*
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* Basic Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as alicloud from "@pulumi/alicloud";
|
|
16
|
+
* import * as random from "@pulumi/random";
|
|
17
|
+
*
|
|
18
|
+
* const config = new pulumi.Config();
|
|
19
|
+
* const name = config.get("name") || "terraform-example";
|
|
20
|
+
* const _default = new random.index.Integer("default", {
|
|
21
|
+
* min: 10000000,
|
|
22
|
+
* max: 99999999,
|
|
23
|
+
* });
|
|
24
|
+
* const defaultRegistryEnterpriseInstance = new alicloud.cr.RegistryEnterpriseInstance("default", {
|
|
25
|
+
* paymentType: "Subscription",
|
|
26
|
+
* period: 1,
|
|
27
|
+
* renewPeriod: 0,
|
|
28
|
+
* renewalStatus: "ManualRenewal",
|
|
29
|
+
* instanceType: "Advanced",
|
|
30
|
+
* instanceName: `${name}-${_default.result}`,
|
|
31
|
+
* });
|
|
32
|
+
* ```
|
|
33
|
+
*
|
|
3
34
|
* ## Import
|
|
4
35
|
*
|
|
5
|
-
*
|
|
36
|
+
* CR Instance can be imported using the id, e.g.
|
|
6
37
|
*
|
|
7
38
|
* ```sh
|
|
8
|
-
* $ pulumi import alicloud:cr/registryEnterpriseInstance:RegistryEnterpriseInstance
|
|
39
|
+
* $ pulumi import alicloud:cr/registryEnterpriseInstance:RegistryEnterpriseInstance example <id>
|
|
9
40
|
* ```
|
|
10
41
|
*/
|
|
11
42
|
export declare class RegistryEnterpriseInstance extends pulumi.CustomResource {
|
|
@@ -25,23 +56,43 @@ export declare class RegistryEnterpriseInstance extends pulumi.CustomResource {
|
|
|
25
56
|
*/
|
|
26
57
|
static isInstance(obj: any): obj is RegistryEnterpriseInstance;
|
|
27
58
|
/**
|
|
28
|
-
*
|
|
59
|
+
* The creation time of the resource
|
|
60
|
+
*/
|
|
61
|
+
readonly createTime: pulumi.Output<string>;
|
|
62
|
+
/**
|
|
63
|
+
* . Field 'created_time' has been deprecated from provider version 1.235.0. New field 'create_time' instead.
|
|
64
|
+
*
|
|
65
|
+
* @deprecated Field 'created_time' has been deprecated since provider version 1.235.0. New field 'create_time' instead.
|
|
29
66
|
*/
|
|
30
67
|
readonly createdTime: pulumi.Output<string>;
|
|
31
68
|
/**
|
|
32
|
-
*
|
|
69
|
+
* Custom OSS Bucket name
|
|
33
70
|
*/
|
|
34
71
|
readonly customOssBucket: pulumi.Output<string | undefined>;
|
|
35
72
|
/**
|
|
36
|
-
*
|
|
73
|
+
* Whether to use the default OSS Bucket
|
|
74
|
+
*/
|
|
75
|
+
readonly defaultOssBucket: pulumi.Output<string | undefined>;
|
|
76
|
+
/**
|
|
77
|
+
* Expiration Time
|
|
37
78
|
*/
|
|
38
79
|
readonly endTime: pulumi.Output<string>;
|
|
39
80
|
/**
|
|
40
|
-
*
|
|
81
|
+
* Security scan engine
|
|
82
|
+
*/
|
|
83
|
+
readonly imageScanner: pulumi.Output<string | undefined>;
|
|
84
|
+
/**
|
|
85
|
+
* InstanceName
|
|
41
86
|
*/
|
|
42
87
|
readonly instanceName: pulumi.Output<string>;
|
|
43
88
|
/**
|
|
44
|
-
*
|
|
89
|
+
* The Value configuration of the Group 1 attribute of Container Mirror Service Enterprise Edition. Valid values:
|
|
90
|
+
*
|
|
91
|
+
* Basic: Basic instance
|
|
92
|
+
*
|
|
93
|
+
* Standard: Standard instance
|
|
94
|
+
*
|
|
95
|
+
* Advanced: Advanced Edition Instance
|
|
45
96
|
*/
|
|
46
97
|
readonly instanceType: pulumi.Output<string>;
|
|
47
98
|
/**
|
|
@@ -55,27 +106,46 @@ export declare class RegistryEnterpriseInstance extends pulumi.CustomResource {
|
|
|
55
106
|
[key: string]: string;
|
|
56
107
|
} | undefined>;
|
|
57
108
|
/**
|
|
58
|
-
*
|
|
109
|
+
* Permanent access credentials of the instance
|
|
59
110
|
*/
|
|
60
111
|
readonly password: pulumi.Output<string | undefined>;
|
|
61
112
|
/**
|
|
62
|
-
*
|
|
113
|
+
* Payment type, value:
|
|
114
|
+
* - Subscription: Prepaid.
|
|
63
115
|
*/
|
|
64
|
-
readonly paymentType: pulumi.Output<string
|
|
116
|
+
readonly paymentType: pulumi.Output<string>;
|
|
65
117
|
/**
|
|
66
|
-
*
|
|
118
|
+
* Prepaid cycle. The unit is Monthly, please enter an integer multiple of 12 for annual paid products.
|
|
119
|
+
*
|
|
120
|
+
* > **NOTE:** must be set when creating a prepaid instance.
|
|
67
121
|
*/
|
|
68
122
|
readonly period: pulumi.Output<number | undefined>;
|
|
69
123
|
/**
|
|
70
|
-
*
|
|
124
|
+
* RegionId
|
|
125
|
+
*/
|
|
126
|
+
readonly regionId: pulumi.Output<string>;
|
|
127
|
+
/**
|
|
128
|
+
* Automatic renewal cycle, in months.
|
|
129
|
+
*
|
|
130
|
+
* > **NOTE:** When `RenewalStatus` is set to `AutoRenewal`, it must be set.
|
|
71
131
|
*/
|
|
72
132
|
readonly renewPeriod: pulumi.Output<number | undefined>;
|
|
73
133
|
/**
|
|
74
|
-
*
|
|
134
|
+
* Automatic renewal status, value:
|
|
135
|
+
* - AutoRenewal: automatic renewal.
|
|
136
|
+
* - ManualRenewal: manual renewal.
|
|
137
|
+
*
|
|
138
|
+
* Default ManualRenewal.
|
|
139
|
+
*/
|
|
140
|
+
readonly renewalStatus: pulumi.Output<string>;
|
|
141
|
+
/**
|
|
142
|
+
* The ID of the resource group
|
|
143
|
+
*
|
|
144
|
+
* The following arguments will be discarded. Please use new fields as soon as possible:
|
|
75
145
|
*/
|
|
76
|
-
readonly
|
|
146
|
+
readonly resourceGroupId: pulumi.Output<string>;
|
|
77
147
|
/**
|
|
78
|
-
* Status
|
|
148
|
+
* Instance Status
|
|
79
149
|
*/
|
|
80
150
|
readonly status: pulumi.Output<string>;
|
|
81
151
|
/**
|
|
@@ -92,23 +162,43 @@ export declare class RegistryEnterpriseInstance extends pulumi.CustomResource {
|
|
|
92
162
|
*/
|
|
93
163
|
export interface RegistryEnterpriseInstanceState {
|
|
94
164
|
/**
|
|
95
|
-
*
|
|
165
|
+
* The creation time of the resource
|
|
166
|
+
*/
|
|
167
|
+
createTime?: pulumi.Input<string>;
|
|
168
|
+
/**
|
|
169
|
+
* . Field 'created_time' has been deprecated from provider version 1.235.0. New field 'create_time' instead.
|
|
170
|
+
*
|
|
171
|
+
* @deprecated Field 'created_time' has been deprecated since provider version 1.235.0. New field 'create_time' instead.
|
|
96
172
|
*/
|
|
97
173
|
createdTime?: pulumi.Input<string>;
|
|
98
174
|
/**
|
|
99
|
-
*
|
|
175
|
+
* Custom OSS Bucket name
|
|
100
176
|
*/
|
|
101
177
|
customOssBucket?: pulumi.Input<string>;
|
|
102
178
|
/**
|
|
103
|
-
*
|
|
179
|
+
* Whether to use the default OSS Bucket
|
|
180
|
+
*/
|
|
181
|
+
defaultOssBucket?: pulumi.Input<string>;
|
|
182
|
+
/**
|
|
183
|
+
* Expiration Time
|
|
104
184
|
*/
|
|
105
185
|
endTime?: pulumi.Input<string>;
|
|
106
186
|
/**
|
|
107
|
-
*
|
|
187
|
+
* Security scan engine
|
|
188
|
+
*/
|
|
189
|
+
imageScanner?: pulumi.Input<string>;
|
|
190
|
+
/**
|
|
191
|
+
* InstanceName
|
|
108
192
|
*/
|
|
109
193
|
instanceName?: pulumi.Input<string>;
|
|
110
194
|
/**
|
|
111
|
-
*
|
|
195
|
+
* The Value configuration of the Group 1 attribute of Container Mirror Service Enterprise Edition. Valid values:
|
|
196
|
+
*
|
|
197
|
+
* Basic: Basic instance
|
|
198
|
+
*
|
|
199
|
+
* Standard: Standard instance
|
|
200
|
+
*
|
|
201
|
+
* Advanced: Advanced Edition Instance
|
|
112
202
|
*/
|
|
113
203
|
instanceType?: pulumi.Input<string>;
|
|
114
204
|
/**
|
|
@@ -122,27 +212,46 @@ export interface RegistryEnterpriseInstanceState {
|
|
|
122
212
|
[key: string]: pulumi.Input<string>;
|
|
123
213
|
}>;
|
|
124
214
|
/**
|
|
125
|
-
*
|
|
215
|
+
* Permanent access credentials of the instance
|
|
126
216
|
*/
|
|
127
217
|
password?: pulumi.Input<string>;
|
|
128
218
|
/**
|
|
129
|
-
*
|
|
219
|
+
* Payment type, value:
|
|
220
|
+
* - Subscription: Prepaid.
|
|
130
221
|
*/
|
|
131
222
|
paymentType?: pulumi.Input<string>;
|
|
132
223
|
/**
|
|
133
|
-
*
|
|
224
|
+
* Prepaid cycle. The unit is Monthly, please enter an integer multiple of 12 for annual paid products.
|
|
225
|
+
*
|
|
226
|
+
* > **NOTE:** must be set when creating a prepaid instance.
|
|
134
227
|
*/
|
|
135
228
|
period?: pulumi.Input<number>;
|
|
136
229
|
/**
|
|
137
|
-
*
|
|
230
|
+
* RegionId
|
|
231
|
+
*/
|
|
232
|
+
regionId?: pulumi.Input<string>;
|
|
233
|
+
/**
|
|
234
|
+
* Automatic renewal cycle, in months.
|
|
235
|
+
*
|
|
236
|
+
* > **NOTE:** When `RenewalStatus` is set to `AutoRenewal`, it must be set.
|
|
138
237
|
*/
|
|
139
238
|
renewPeriod?: pulumi.Input<number>;
|
|
140
239
|
/**
|
|
141
|
-
*
|
|
240
|
+
* Automatic renewal status, value:
|
|
241
|
+
* - AutoRenewal: automatic renewal.
|
|
242
|
+
* - ManualRenewal: manual renewal.
|
|
243
|
+
*
|
|
244
|
+
* Default ManualRenewal.
|
|
142
245
|
*/
|
|
143
246
|
renewalStatus?: pulumi.Input<string>;
|
|
144
247
|
/**
|
|
145
|
-
*
|
|
248
|
+
* The ID of the resource group
|
|
249
|
+
*
|
|
250
|
+
* The following arguments will be discarded. Please use new fields as soon as possible:
|
|
251
|
+
*/
|
|
252
|
+
resourceGroupId?: pulumi.Input<string>;
|
|
253
|
+
/**
|
|
254
|
+
* Instance Status
|
|
146
255
|
*/
|
|
147
256
|
status?: pulumi.Input<string>;
|
|
148
257
|
}
|
|
@@ -151,15 +260,29 @@ export interface RegistryEnterpriseInstanceState {
|
|
|
151
260
|
*/
|
|
152
261
|
export interface RegistryEnterpriseInstanceArgs {
|
|
153
262
|
/**
|
|
154
|
-
*
|
|
263
|
+
* Custom OSS Bucket name
|
|
155
264
|
*/
|
|
156
265
|
customOssBucket?: pulumi.Input<string>;
|
|
157
266
|
/**
|
|
158
|
-
*
|
|
267
|
+
* Whether to use the default OSS Bucket
|
|
268
|
+
*/
|
|
269
|
+
defaultOssBucket?: pulumi.Input<string>;
|
|
270
|
+
/**
|
|
271
|
+
* Security scan engine
|
|
272
|
+
*/
|
|
273
|
+
imageScanner?: pulumi.Input<string>;
|
|
274
|
+
/**
|
|
275
|
+
* InstanceName
|
|
159
276
|
*/
|
|
160
277
|
instanceName: pulumi.Input<string>;
|
|
161
278
|
/**
|
|
162
|
-
*
|
|
279
|
+
* The Value configuration of the Group 1 attribute of Container Mirror Service Enterprise Edition. Valid values:
|
|
280
|
+
*
|
|
281
|
+
* Basic: Basic instance
|
|
282
|
+
*
|
|
283
|
+
* Standard: Standard instance
|
|
284
|
+
*
|
|
285
|
+
* Advanced: Advanced Edition Instance
|
|
163
286
|
*/
|
|
164
287
|
instanceType: pulumi.Input<string>;
|
|
165
288
|
/**
|
|
@@ -173,23 +296,38 @@ export interface RegistryEnterpriseInstanceArgs {
|
|
|
173
296
|
[key: string]: pulumi.Input<string>;
|
|
174
297
|
}>;
|
|
175
298
|
/**
|
|
176
|
-
*
|
|
299
|
+
* Permanent access credentials of the instance
|
|
177
300
|
*/
|
|
178
301
|
password?: pulumi.Input<string>;
|
|
179
302
|
/**
|
|
180
|
-
*
|
|
303
|
+
* Payment type, value:
|
|
304
|
+
* - Subscription: Prepaid.
|
|
181
305
|
*/
|
|
182
|
-
paymentType
|
|
306
|
+
paymentType: pulumi.Input<string>;
|
|
183
307
|
/**
|
|
184
|
-
*
|
|
308
|
+
* Prepaid cycle. The unit is Monthly, please enter an integer multiple of 12 for annual paid products.
|
|
309
|
+
*
|
|
310
|
+
* > **NOTE:** must be set when creating a prepaid instance.
|
|
185
311
|
*/
|
|
186
312
|
period?: pulumi.Input<number>;
|
|
187
313
|
/**
|
|
188
|
-
*
|
|
314
|
+
* Automatic renewal cycle, in months.
|
|
315
|
+
*
|
|
316
|
+
* > **NOTE:** When `RenewalStatus` is set to `AutoRenewal`, it must be set.
|
|
189
317
|
*/
|
|
190
318
|
renewPeriod?: pulumi.Input<number>;
|
|
191
319
|
/**
|
|
192
|
-
*
|
|
320
|
+
* Automatic renewal status, value:
|
|
321
|
+
* - AutoRenewal: automatic renewal.
|
|
322
|
+
* - ManualRenewal: manual renewal.
|
|
323
|
+
*
|
|
324
|
+
* Default ManualRenewal.
|
|
193
325
|
*/
|
|
194
326
|
renewalStatus?: pulumi.Input<string>;
|
|
327
|
+
/**
|
|
328
|
+
* The ID of the resource group
|
|
329
|
+
*
|
|
330
|
+
* The following arguments will be discarded. Please use new fields as soon as possible:
|
|
331
|
+
*/
|
|
332
|
+
resourceGroupId?: pulumi.Input<string>;
|
|
195
333
|
}
|