@volcengine/pulumi-volcenginecc 0.0.32 → 0.0.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/alb/acl.d.ts +20 -21
- package/alb/acl.js +2 -2
- package/alb/acl.js.map +1 -1
- package/alb/getAcl.d.ts +11 -11
- package/alb/getListener.d.ts +20 -20
- package/alb/getServerGroup.d.ts +9 -9
- package/alb/listener.d.ts +52 -52
- package/alb/listener.js +1 -1
- package/alb/serverGroup.d.ts +24 -24
- package/alb/serverGroup.js +1 -1
- package/cr/endpointAclPolicy.d.ts +107 -0
- package/cr/endpointAclPolicy.js +84 -0
- package/cr/endpointAclPolicy.js.map +1 -0
- package/cr/getEndpointAclPolicies.d.ts +22 -0
- package/cr/getEndpointAclPolicies.js +24 -0
- package/cr/getEndpointAclPolicies.js.map +1 -0
- package/cr/getEndpointAclPolicy.d.ts +52 -0
- package/cr/getEndpointAclPolicy.js +28 -0
- package/cr/getEndpointAclPolicy.js.map +1 -0
- package/cr/getRegistry.d.ts +14 -10
- package/cr/getRegistry.js.map +1 -1
- package/cr/index.d.ts +9 -0
- package/cr/index.js +12 -1
- package/cr/index.js.map +1 -1
- package/cr/registry.d.ts +40 -25
- package/cr/registry.js +6 -1
- package/cr/registry.js.map +1 -1
- package/iam/accesskey.d.ts +23 -27
- package/iam/accesskey.js +2 -2
- package/iam/accesskey.js.map +1 -1
- package/iam/getAccesskey.d.ts +10 -10
- package/organization/getServiceControlPolicies.d.ts +22 -0
- package/organization/getServiceControlPolicies.js +24 -0
- package/organization/getServiceControlPolicies.js.map +1 -0
- package/organization/getServiceControlPolicy.d.ts +69 -0
- package/organization/getServiceControlPolicy.js +28 -0
- package/organization/getServiceControlPolicy.js.map +1 -0
- package/organization/index.d.ts +9 -0
- package/organization/index.js +12 -1
- package/organization/index.js.map +1 -1
- package/organization/serviceControlPolicy.d.ts +118 -0
- package/organization/serviceControlPolicy.js +78 -0
- package/organization/serviceControlPolicy.js.map +1 -0
- package/package.json +1 -1
- package/privatezone/getRecord.d.ts +5 -0
- package/privatezone/getRecord.js.map +1 -1
- package/privatezone/record.d.ts +4 -0
- package/privatezone/record.js +2 -0
- package/privatezone/record.js.map +1 -1
- package/rdsmysql/getParameterTemplate.d.ts +97 -0
- package/rdsmysql/getParameterTemplate.js +28 -0
- package/rdsmysql/getParameterTemplate.js.map +1 -0
- package/rdsmysql/getParameterTemplates.d.ts +22 -0
- package/rdsmysql/getParameterTemplates.js +24 -0
- package/rdsmysql/getParameterTemplates.js.map +1 -0
- package/rdsmysql/index.d.ts +9 -0
- package/rdsmysql/index.js +12 -1
- package/rdsmysql/index.js.map +1 -1
- package/rdsmysql/parameterTemplate.d.ts +186 -0
- package/rdsmysql/parameterTemplate.js +92 -0
- package/rdsmysql/parameterTemplate.js.map +1 -0
- package/redis/getInstance.d.ts +8 -0
- package/redis/getInstance.js.map +1 -1
- package/redis/instance.d.ts +47 -18
- package/redis/instance.js +27 -18
- package/redis/instance.js.map +1 -1
- package/tos/bucketCors.d.ts +69 -0
- package/tos/bucketCors.js +73 -0
- package/tos/bucketCors.js.map +1 -0
- package/tos/bucketNotification.d.ts +69 -0
- package/tos/bucketNotification.js +70 -0
- package/tos/bucketNotification.js.map +1 -0
- package/tos/bucketRealtimeLog.d.ts +78 -0
- package/tos/bucketRealtimeLog.js +73 -0
- package/tos/bucketRealtimeLog.js.map +1 -0
- package/tos/getBucketCors.d.ts +45 -0
- package/tos/getBucketCors.js +28 -0
- package/tos/getBucketCors.js.map +1 -0
- package/tos/getBucketNotification.d.ts +45 -0
- package/tos/getBucketNotification.js +28 -0
- package/tos/getBucketNotification.js.map +1 -0
- package/tos/getBucketNotifications.d.ts +22 -0
- package/tos/getBucketNotifications.js +24 -0
- package/tos/getBucketNotifications.js.map +1 -0
- package/tos/getBucketRealtimeLog.d.ts +45 -0
- package/tos/getBucketRealtimeLog.js +28 -0
- package/tos/getBucketRealtimeLog.js.map +1 -0
- package/tos/getBucketRealtimeLogs.d.ts +22 -0
- package/tos/getBucketRealtimeLogs.js +24 -0
- package/tos/getBucketRealtimeLogs.js.map +1 -0
- package/tos/index.d.ts +24 -0
- package/tos/index.js +31 -1
- package/tos/index.js.map +1 -1
- package/transitrouter/getPeerAttachment.d.ts +109 -0
- package/transitrouter/getPeerAttachment.js +28 -0
- package/transitrouter/getPeerAttachment.js.map +1 -0
- package/transitrouter/getPeerAttachments.d.ts +22 -0
- package/transitrouter/getPeerAttachments.js +24 -0
- package/transitrouter/getPeerAttachments.js.map +1 -0
- package/transitrouter/index.d.ts +9 -0
- package/transitrouter/index.js +12 -1
- package/transitrouter/index.js.map +1 -1
- package/transitrouter/peerAttachment.d.ts +235 -0
- package/transitrouter/peerAttachment.js +122 -0
- package/transitrouter/peerAttachment.js.map +1 -0
- package/types/input.d.ts +283 -50
- package/types/output.d.ts +595 -102
- package/vpn/getSslVpnClientCert.d.ts +93 -0
- package/vpn/getSslVpnClientCert.js +28 -0
- package/vpn/getSslVpnClientCert.js.map +1 -0
- package/vpn/getSslVpnClientCerts.d.ts +22 -0
- package/vpn/getSslVpnClientCerts.js +24 -0
- package/vpn/getSslVpnClientCerts.js.map +1 -0
- package/vpn/index.d.ts +9 -0
- package/vpn/index.js +12 -1
- package/vpn/index.js.map +1 -1
- package/vpn/sslVpnClientCert.d.ts +183 -0
- package/vpn/sslVpnClientCert.js +104 -0
- package/vpn/sslVpnClientCert.js.map +1 -0
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Data Source schema for Volcengine::VPN::SslVpnClientCert
|
|
5
|
+
*/
|
|
6
|
+
export declare function getSslVpnClientCert(args: GetSslVpnClientCertArgs, opts?: pulumi.InvokeOptions): Promise<GetSslVpnClientCertResult>;
|
|
7
|
+
/**
|
|
8
|
+
* A collection of arguments for invoking getSslVpnClientCert.
|
|
9
|
+
*/
|
|
10
|
+
export interface GetSslVpnClientCertArgs {
|
|
11
|
+
/**
|
|
12
|
+
* Uniquely identifies the resource.
|
|
13
|
+
*/
|
|
14
|
+
id: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* A collection of values returned by getSslVpnClientCert.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetSslVpnClientCertResult {
|
|
20
|
+
/**
|
|
21
|
+
* CA certificate information.
|
|
22
|
+
*/
|
|
23
|
+
readonly caCertificate: string;
|
|
24
|
+
/**
|
|
25
|
+
* SSL client certificate status. Available: available; Expiring: expiring, displays this status when the expiration time is less than or equal to one week; Expired: expired.
|
|
26
|
+
*/
|
|
27
|
+
readonly certificateStatus: string;
|
|
28
|
+
/**
|
|
29
|
+
* Client certificate information.
|
|
30
|
+
*/
|
|
31
|
+
readonly clientCertificate: string;
|
|
32
|
+
/**
|
|
33
|
+
* Client key information.
|
|
34
|
+
*/
|
|
35
|
+
readonly clientKey: string;
|
|
36
|
+
/**
|
|
37
|
+
* Creation time of the SSL client certificate.
|
|
38
|
+
*/
|
|
39
|
+
readonly creationTime: string;
|
|
40
|
+
/**
|
|
41
|
+
* Description of the SSL client certificate. Must start with a Chinese character, letter, or number, and can only contain Chinese characters, letters, numbers, period (.), space ( ), underscore (_), hyphen (-), equals sign (=), English comma (,), Chinese comma (,), and Chinese period (。). Length must be between 0–255 characters. If not specified, defaults to an empty string.
|
|
42
|
+
*/
|
|
43
|
+
readonly description: string;
|
|
44
|
+
/**
|
|
45
|
+
* Expiration time of the SSL client certificate.
|
|
46
|
+
*/
|
|
47
|
+
readonly expiredTime: string;
|
|
48
|
+
/**
|
|
49
|
+
* Uniquely identifies the resource.
|
|
50
|
+
*/
|
|
51
|
+
readonly id: string;
|
|
52
|
+
/**
|
|
53
|
+
* OpenVPN client configuration.
|
|
54
|
+
*/
|
|
55
|
+
readonly openVpnClientConfig: string;
|
|
56
|
+
/**
|
|
57
|
+
* SSL client certificate ID.
|
|
58
|
+
*/
|
|
59
|
+
readonly sslVpnClientCertId: string;
|
|
60
|
+
/**
|
|
61
|
+
* Name of the SSL client certificate. Must start with a Chinese character, letter, or number, and can only contain Chinese characters, letters, numbers, period (.), underscore (_), and hyphen (-). Length must be between 1–128 characters. If not specified, defaults to the SSL client certificate ID.
|
|
62
|
+
*/
|
|
63
|
+
readonly sslVpnClientCertName: string;
|
|
64
|
+
/**
|
|
65
|
+
* ID of the SSL server used to create the SSL client certificate. You can call DescribeSslVpnServers to query the SSL server ID information.
|
|
66
|
+
*/
|
|
67
|
+
readonly sslVpnServerId: string;
|
|
68
|
+
/**
|
|
69
|
+
* SSL client status. Creating: being created; Deleting: being deleted; Pending: being configured; Available: available.
|
|
70
|
+
*/
|
|
71
|
+
readonly status: string;
|
|
72
|
+
/**
|
|
73
|
+
* SSL client certificate tags.
|
|
74
|
+
*/
|
|
75
|
+
readonly tags: outputs.vpn.GetSslVpnClientCertTag[];
|
|
76
|
+
/**
|
|
77
|
+
* Modification time of the SSL client certificate.
|
|
78
|
+
*/
|
|
79
|
+
readonly updateTime: string;
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Data Source schema for Volcengine::VPN::SslVpnClientCert
|
|
83
|
+
*/
|
|
84
|
+
export declare function getSslVpnClientCertOutput(args: GetSslVpnClientCertOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSslVpnClientCertResult>;
|
|
85
|
+
/**
|
|
86
|
+
* A collection of arguments for invoking getSslVpnClientCert.
|
|
87
|
+
*/
|
|
88
|
+
export interface GetSslVpnClientCertOutputArgs {
|
|
89
|
+
/**
|
|
90
|
+
* Uniquely identifies the resource.
|
|
91
|
+
*/
|
|
92
|
+
id: pulumi.Input<string>;
|
|
93
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
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.getSslVpnClientCertOutput = exports.getSslVpnClientCert = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Data Source schema for Volcengine::VPN::SslVpnClientCert
|
|
10
|
+
*/
|
|
11
|
+
function getSslVpnClientCert(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("volcenginecc:vpn/getSslVpnClientCert:getSslVpnClientCert", {
|
|
14
|
+
"id": args.id,
|
|
15
|
+
}, opts);
|
|
16
|
+
}
|
|
17
|
+
exports.getSslVpnClientCert = getSslVpnClientCert;
|
|
18
|
+
/**
|
|
19
|
+
* Data Source schema for Volcengine::VPN::SslVpnClientCert
|
|
20
|
+
*/
|
|
21
|
+
function getSslVpnClientCertOutput(args, opts) {
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invokeOutput("volcenginecc:vpn/getSslVpnClientCert:getSslVpnClientCert", {
|
|
24
|
+
"id": args.id,
|
|
25
|
+
}, opts);
|
|
26
|
+
}
|
|
27
|
+
exports.getSslVpnClientCertOutput = getSslVpnClientCertOutput;
|
|
28
|
+
//# sourceMappingURL=getSslVpnClientCert.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getSslVpnClientCert.js","sourceRoot":"","sources":["../../vpn/getSslVpnClientCert.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0DAA0D,EAAE;QACrF,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kDAKC;AA6ED;;GAEG;AACH,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAAiC;IAC5G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,0DAA0D,EAAE;QAC3F,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8DAKC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Plural Data Source schema for Volcengine::VPN::SslVpnClientCert
|
|
4
|
+
*/
|
|
5
|
+
export declare function getSslVpnClientCerts(opts?: pulumi.InvokeOptions): Promise<GetSslVpnClientCertsResult>;
|
|
6
|
+
/**
|
|
7
|
+
* A collection of values returned by getSslVpnClientCerts.
|
|
8
|
+
*/
|
|
9
|
+
export interface GetSslVpnClientCertsResult {
|
|
10
|
+
/**
|
|
11
|
+
* Uniquely identifies the data source.
|
|
12
|
+
*/
|
|
13
|
+
readonly id: string;
|
|
14
|
+
/**
|
|
15
|
+
* Set of Resource Identifiers.
|
|
16
|
+
*/
|
|
17
|
+
readonly ids: string[];
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Plural Data Source schema for Volcengine::VPN::SslVpnClientCert
|
|
21
|
+
*/
|
|
22
|
+
export declare function getSslVpnClientCertsOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSslVpnClientCertsResult>;
|
|
@@ -0,0 +1,24 @@
|
|
|
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.getSslVpnClientCertsOutput = exports.getSslVpnClientCerts = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Plural Data Source schema for Volcengine::VPN::SslVpnClientCert
|
|
10
|
+
*/
|
|
11
|
+
function getSslVpnClientCerts(opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("volcenginecc:vpn/getSslVpnClientCerts:getSslVpnClientCerts", {}, opts);
|
|
14
|
+
}
|
|
15
|
+
exports.getSslVpnClientCerts = getSslVpnClientCerts;
|
|
16
|
+
/**
|
|
17
|
+
* Plural Data Source schema for Volcengine::VPN::SslVpnClientCert
|
|
18
|
+
*/
|
|
19
|
+
function getSslVpnClientCertsOutput(opts) {
|
|
20
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
21
|
+
return pulumi.runtime.invokeOutput("volcenginecc:vpn/getSslVpnClientCerts:getSslVpnClientCerts", {}, opts);
|
|
22
|
+
}
|
|
23
|
+
exports.getSslVpnClientCertsOutput = getSslVpnClientCertsOutput;
|
|
24
|
+
//# sourceMappingURL=getSslVpnClientCerts.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getSslVpnClientCerts.js","sourceRoot":"","sources":["../../vpn/getSslVpnClientCerts.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,oBAAoB,CAAC,IAA2B;IAC5D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4DAA4D,EAAE,EAC1F,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,oDAIC;AAeD;;GAEG;AACH,SAAgB,0BAA0B,CAAC,IAAiC;IACxE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4DAA4D,EAAE,EAChG,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,gEAIC"}
|
package/vpn/index.d.ts
CHANGED
|
@@ -7,6 +7,12 @@ export declare const getCustomerGatewayOutput: typeof import("./getCustomerGatew
|
|
|
7
7
|
export { GetCustomerGatewaysResult } from "./getCustomerGateways";
|
|
8
8
|
export declare const getCustomerGateways: typeof import("./getCustomerGateways").getCustomerGateways;
|
|
9
9
|
export declare const getCustomerGatewaysOutput: typeof import("./getCustomerGateways").getCustomerGatewaysOutput;
|
|
10
|
+
export { GetSslVpnClientCertArgs, GetSslVpnClientCertResult, GetSslVpnClientCertOutputArgs } from "./getSslVpnClientCert";
|
|
11
|
+
export declare const getSslVpnClientCert: typeof import("./getSslVpnClientCert").getSslVpnClientCert;
|
|
12
|
+
export declare const getSslVpnClientCertOutput: typeof import("./getSslVpnClientCert").getSslVpnClientCertOutput;
|
|
13
|
+
export { GetSslVpnClientCertsResult } from "./getSslVpnClientCerts";
|
|
14
|
+
export declare const getSslVpnClientCerts: typeof import("./getSslVpnClientCerts").getSslVpnClientCerts;
|
|
15
|
+
export declare const getSslVpnClientCertsOutput: typeof import("./getSslVpnClientCerts").getSslVpnClientCertsOutput;
|
|
10
16
|
export { GetVpnConnectionArgs, GetVpnConnectionResult, GetVpnConnectionOutputArgs } from "./getVpnConnection";
|
|
11
17
|
export declare const getVpnConnection: typeof import("./getVpnConnection").getVpnConnection;
|
|
12
18
|
export declare const getVpnConnectionOutput: typeof import("./getVpnConnection").getVpnConnectionOutput;
|
|
@@ -19,6 +25,9 @@ export declare const getVpnGatewayOutput: typeof import("./getVpnGateway").getVp
|
|
|
19
25
|
export { GetVpnGatewaysResult } from "./getVpnGateways";
|
|
20
26
|
export declare const getVpnGateways: typeof import("./getVpnGateways").getVpnGateways;
|
|
21
27
|
export declare const getVpnGatewaysOutput: typeof import("./getVpnGateways").getVpnGatewaysOutput;
|
|
28
|
+
export { SslVpnClientCertArgs, SslVpnClientCertState } from "./sslVpnClientCert";
|
|
29
|
+
export type SslVpnClientCert = import("./sslVpnClientCert").SslVpnClientCert;
|
|
30
|
+
export declare const SslVpnClientCert: typeof import("./sslVpnClientCert").SslVpnClientCert;
|
|
22
31
|
export { VpnConnectionArgs, VpnConnectionState } from "./vpnConnection";
|
|
23
32
|
export type VpnConnection = import("./vpnConnection").VpnConnection;
|
|
24
33
|
export declare const VpnConnection: typeof import("./vpnConnection").VpnConnection;
|
package/vpn/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.VpnGateway = exports.VpnConnection = exports.getVpnGatewaysOutput = exports.getVpnGateways = exports.getVpnGatewayOutput = exports.getVpnGateway = exports.getVpnConnectionsOutput = exports.getVpnConnections = exports.getVpnConnectionOutput = exports.getVpnConnection = exports.getCustomerGatewaysOutput = exports.getCustomerGateways = exports.getCustomerGatewayOutput = exports.getCustomerGateway = exports.CustomerGateway = void 0;
|
|
5
|
+
exports.VpnGateway = exports.VpnConnection = exports.SslVpnClientCert = exports.getVpnGatewaysOutput = exports.getVpnGateways = exports.getVpnGatewayOutput = exports.getVpnGateway = exports.getVpnConnectionsOutput = exports.getVpnConnections = exports.getVpnConnectionOutput = exports.getVpnConnection = exports.getSslVpnClientCertsOutput = exports.getSslVpnClientCerts = exports.getSslVpnClientCertOutput = exports.getSslVpnClientCert = exports.getCustomerGatewaysOutput = exports.getCustomerGateways = exports.getCustomerGatewayOutput = exports.getCustomerGateway = exports.CustomerGateway = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
exports.CustomerGateway = null;
|
|
@@ -13,6 +13,12 @@ utilities.lazyLoad(exports, ["getCustomerGateway", "getCustomerGatewayOutput"],
|
|
|
13
13
|
exports.getCustomerGateways = null;
|
|
14
14
|
exports.getCustomerGatewaysOutput = null;
|
|
15
15
|
utilities.lazyLoad(exports, ["getCustomerGateways", "getCustomerGatewaysOutput"], () => require("./getCustomerGateways"));
|
|
16
|
+
exports.getSslVpnClientCert = null;
|
|
17
|
+
exports.getSslVpnClientCertOutput = null;
|
|
18
|
+
utilities.lazyLoad(exports, ["getSslVpnClientCert", "getSslVpnClientCertOutput"], () => require("./getSslVpnClientCert"));
|
|
19
|
+
exports.getSslVpnClientCerts = null;
|
|
20
|
+
exports.getSslVpnClientCertsOutput = null;
|
|
21
|
+
utilities.lazyLoad(exports, ["getSslVpnClientCerts", "getSslVpnClientCertsOutput"], () => require("./getSslVpnClientCerts"));
|
|
16
22
|
exports.getVpnConnection = null;
|
|
17
23
|
exports.getVpnConnectionOutput = null;
|
|
18
24
|
utilities.lazyLoad(exports, ["getVpnConnection", "getVpnConnectionOutput"], () => require("./getVpnConnection"));
|
|
@@ -25,6 +31,8 @@ utilities.lazyLoad(exports, ["getVpnGateway", "getVpnGatewayOutput"], () => requ
|
|
|
25
31
|
exports.getVpnGateways = null;
|
|
26
32
|
exports.getVpnGatewaysOutput = null;
|
|
27
33
|
utilities.lazyLoad(exports, ["getVpnGateways", "getVpnGatewaysOutput"], () => require("./getVpnGateways"));
|
|
34
|
+
exports.SslVpnClientCert = null;
|
|
35
|
+
utilities.lazyLoad(exports, ["SslVpnClientCert"], () => require("./sslVpnClientCert"));
|
|
28
36
|
exports.VpnConnection = null;
|
|
29
37
|
utilities.lazyLoad(exports, ["VpnConnection"], () => require("./vpnConnection"));
|
|
30
38
|
exports.VpnGateway = null;
|
|
@@ -35,6 +43,8 @@ const _module = {
|
|
|
35
43
|
switch (type) {
|
|
36
44
|
case "volcenginecc:vpn/customerGateway:CustomerGateway":
|
|
37
45
|
return new exports.CustomerGateway(name, undefined, { urn });
|
|
46
|
+
case "volcenginecc:vpn/sslVpnClientCert:SslVpnClientCert":
|
|
47
|
+
return new exports.SslVpnClientCert(name, undefined, { urn });
|
|
38
48
|
case "volcenginecc:vpn/vpnConnection:VpnConnection":
|
|
39
49
|
return new exports.VpnConnection(name, undefined, { urn });
|
|
40
50
|
case "volcenginecc:vpn/vpnGateway:VpnGateway":
|
|
@@ -45,6 +55,7 @@ const _module = {
|
|
|
45
55
|
},
|
|
46
56
|
};
|
|
47
57
|
pulumi.runtime.registerResourceModule("volcenginecc", "vpn/customerGateway", _module);
|
|
58
|
+
pulumi.runtime.registerResourceModule("volcenginecc", "vpn/sslVpnClientCert", _module);
|
|
48
59
|
pulumi.runtime.registerResourceModule("volcenginecc", "vpn/vpnConnection", _module);
|
|
49
60
|
pulumi.runtime.registerResourceModule("volcenginecc", "vpn/vpnGateway", _module);
|
|
50
61
|
//# sourceMappingURL=index.js.map
|
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;AAK7B,QAAA,eAAe,GAAuD,IAAW,CAAC;AAC/F,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,iBAAiB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,mBAAmB,CAAC,CAAC,CAAC;AAGxE,QAAA,kBAAkB,GAA6D,IAAW,CAAC;AAC3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|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* SSL client certificate is a sub-resource of the SSL server.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
|
|
12
|
+
*
|
|
13
|
+
* const vPNSslVpnClientCertDemo = new volcenginecc.vpn.SslVpnClientCert("VPNSslVpnClientCertDemo", {
|
|
14
|
+
* sslVpnServerId: "vss-xxxx",
|
|
15
|
+
* sslVpnClientCertName: "ccapi-test-client-cert",
|
|
16
|
+
* description: "ccapi-test",
|
|
17
|
+
* tags: [{
|
|
18
|
+
* key: "env",
|
|
19
|
+
* value: "test",
|
|
20
|
+
* }],
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* ## Import
|
|
25
|
+
*
|
|
26
|
+
* ```sh
|
|
27
|
+
* $ pulumi import volcenginecc:vpn/sslVpnClientCert:SslVpnClientCert example "ssl_vpn_client_cert_id"
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
export declare class SslVpnClientCert extends pulumi.CustomResource {
|
|
31
|
+
/**
|
|
32
|
+
* Get an existing SslVpnClientCert resource's state with the given name, ID, and optional extra
|
|
33
|
+
* properties used to qualify the lookup.
|
|
34
|
+
*
|
|
35
|
+
* @param name The _unique_ name of the resulting resource.
|
|
36
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
37
|
+
* @param state Any extra arguments used during the lookup.
|
|
38
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
39
|
+
*/
|
|
40
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SslVpnClientCertState, opts?: pulumi.CustomResourceOptions): SslVpnClientCert;
|
|
41
|
+
/**
|
|
42
|
+
* Returns true if the given object is an instance of SslVpnClientCert. This is designed to work even
|
|
43
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
44
|
+
*/
|
|
45
|
+
static isInstance(obj: any): obj is SslVpnClientCert;
|
|
46
|
+
/**
|
|
47
|
+
* CA certificate information.
|
|
48
|
+
*/
|
|
49
|
+
readonly caCertificate: pulumi.Output<string>;
|
|
50
|
+
/**
|
|
51
|
+
* SSL client certificate status. Available: available; Expiring: expiring, displays this status when the expiration time is less than or equal to one week; Expired: expired.
|
|
52
|
+
*/
|
|
53
|
+
readonly certificateStatus: pulumi.Output<string>;
|
|
54
|
+
/**
|
|
55
|
+
* Client certificate information.
|
|
56
|
+
*/
|
|
57
|
+
readonly clientCertificate: pulumi.Output<string>;
|
|
58
|
+
/**
|
|
59
|
+
* Client key information.
|
|
60
|
+
*/
|
|
61
|
+
readonly clientKey: pulumi.Output<string>;
|
|
62
|
+
/**
|
|
63
|
+
* Creation time of the SSL client certificate.
|
|
64
|
+
*/
|
|
65
|
+
readonly creationTime: pulumi.Output<string>;
|
|
66
|
+
/**
|
|
67
|
+
* Description of the SSL client certificate. Must start with a Chinese character, letter, or number, and can only contain Chinese characters, letters, numbers, period (.), space ( ), underscore (_), hyphen (-), equals sign (=), English comma (,), Chinese comma (,), and Chinese period (。). Length must be between 0–255 characters. If not specified, defaults to an empty string.
|
|
68
|
+
*/
|
|
69
|
+
readonly description: pulumi.Output<string>;
|
|
70
|
+
/**
|
|
71
|
+
* Expiration time of the SSL client certificate.
|
|
72
|
+
*/
|
|
73
|
+
readonly expiredTime: pulumi.Output<string>;
|
|
74
|
+
/**
|
|
75
|
+
* OpenVPN client configuration.
|
|
76
|
+
*/
|
|
77
|
+
readonly openVpnClientConfig: pulumi.Output<string>;
|
|
78
|
+
/**
|
|
79
|
+
* SSL client certificate ID.
|
|
80
|
+
*/
|
|
81
|
+
readonly sslVpnClientCertId: pulumi.Output<string>;
|
|
82
|
+
/**
|
|
83
|
+
* Name of the SSL client certificate. Must start with a Chinese character, letter, or number, and can only contain Chinese characters, letters, numbers, period (.), underscore (_), and hyphen (-). Length must be between 1–128 characters. If not specified, defaults to the SSL client certificate ID.
|
|
84
|
+
*/
|
|
85
|
+
readonly sslVpnClientCertName: pulumi.Output<string>;
|
|
86
|
+
/**
|
|
87
|
+
* ID of the SSL server used to create the SSL client certificate. You can call DescribeSslVpnServers to query the SSL server ID information.
|
|
88
|
+
*/
|
|
89
|
+
readonly sslVpnServerId: pulumi.Output<string>;
|
|
90
|
+
/**
|
|
91
|
+
* SSL client status. Creating: being created; Deleting: being deleted; Pending: being configured; Available: available.
|
|
92
|
+
*/
|
|
93
|
+
readonly status: pulumi.Output<string>;
|
|
94
|
+
readonly tags: pulumi.Output<outputs.vpn.SslVpnClientCertTag[]>;
|
|
95
|
+
/**
|
|
96
|
+
* Modification time of the SSL client certificate.
|
|
97
|
+
*/
|
|
98
|
+
readonly updateTime: pulumi.Output<string>;
|
|
99
|
+
/**
|
|
100
|
+
* Create a SslVpnClientCert resource with the given unique name, arguments, and options.
|
|
101
|
+
*
|
|
102
|
+
* @param name The _unique_ name of the resource.
|
|
103
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
104
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
105
|
+
*/
|
|
106
|
+
constructor(name: string, args: SslVpnClientCertArgs, opts?: pulumi.CustomResourceOptions);
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* Input properties used for looking up and filtering SslVpnClientCert resources.
|
|
110
|
+
*/
|
|
111
|
+
export interface SslVpnClientCertState {
|
|
112
|
+
/**
|
|
113
|
+
* CA certificate information.
|
|
114
|
+
*/
|
|
115
|
+
caCertificate?: pulumi.Input<string>;
|
|
116
|
+
/**
|
|
117
|
+
* SSL client certificate status. Available: available; Expiring: expiring, displays this status when the expiration time is less than or equal to one week; Expired: expired.
|
|
118
|
+
*/
|
|
119
|
+
certificateStatus?: pulumi.Input<string>;
|
|
120
|
+
/**
|
|
121
|
+
* Client certificate information.
|
|
122
|
+
*/
|
|
123
|
+
clientCertificate?: pulumi.Input<string>;
|
|
124
|
+
/**
|
|
125
|
+
* Client key information.
|
|
126
|
+
*/
|
|
127
|
+
clientKey?: pulumi.Input<string>;
|
|
128
|
+
/**
|
|
129
|
+
* Creation time of the SSL client certificate.
|
|
130
|
+
*/
|
|
131
|
+
creationTime?: pulumi.Input<string>;
|
|
132
|
+
/**
|
|
133
|
+
* Description of the SSL client certificate. Must start with a Chinese character, letter, or number, and can only contain Chinese characters, letters, numbers, period (.), space ( ), underscore (_), hyphen (-), equals sign (=), English comma (,), Chinese comma (,), and Chinese period (。). Length must be between 0–255 characters. If not specified, defaults to an empty string.
|
|
134
|
+
*/
|
|
135
|
+
description?: pulumi.Input<string>;
|
|
136
|
+
/**
|
|
137
|
+
* Expiration time of the SSL client certificate.
|
|
138
|
+
*/
|
|
139
|
+
expiredTime?: pulumi.Input<string>;
|
|
140
|
+
/**
|
|
141
|
+
* OpenVPN client configuration.
|
|
142
|
+
*/
|
|
143
|
+
openVpnClientConfig?: pulumi.Input<string>;
|
|
144
|
+
/**
|
|
145
|
+
* SSL client certificate ID.
|
|
146
|
+
*/
|
|
147
|
+
sslVpnClientCertId?: pulumi.Input<string>;
|
|
148
|
+
/**
|
|
149
|
+
* Name of the SSL client certificate. Must start with a Chinese character, letter, or number, and can only contain Chinese characters, letters, numbers, period (.), underscore (_), and hyphen (-). Length must be between 1–128 characters. If not specified, defaults to the SSL client certificate ID.
|
|
150
|
+
*/
|
|
151
|
+
sslVpnClientCertName?: pulumi.Input<string>;
|
|
152
|
+
/**
|
|
153
|
+
* ID of the SSL server used to create the SSL client certificate. You can call DescribeSslVpnServers to query the SSL server ID information.
|
|
154
|
+
*/
|
|
155
|
+
sslVpnServerId?: pulumi.Input<string>;
|
|
156
|
+
/**
|
|
157
|
+
* SSL client status. Creating: being created; Deleting: being deleted; Pending: being configured; Available: available.
|
|
158
|
+
*/
|
|
159
|
+
status?: pulumi.Input<string>;
|
|
160
|
+
tags?: pulumi.Input<pulumi.Input<inputs.vpn.SslVpnClientCertTag>[]>;
|
|
161
|
+
/**
|
|
162
|
+
* Modification time of the SSL client certificate.
|
|
163
|
+
*/
|
|
164
|
+
updateTime?: pulumi.Input<string>;
|
|
165
|
+
}
|
|
166
|
+
/**
|
|
167
|
+
* The set of arguments for constructing a SslVpnClientCert resource.
|
|
168
|
+
*/
|
|
169
|
+
export interface SslVpnClientCertArgs {
|
|
170
|
+
/**
|
|
171
|
+
* Description of the SSL client certificate. Must start with a Chinese character, letter, or number, and can only contain Chinese characters, letters, numbers, period (.), space ( ), underscore (_), hyphen (-), equals sign (=), English comma (,), Chinese comma (,), and Chinese period (。). Length must be between 0–255 characters. If not specified, defaults to an empty string.
|
|
172
|
+
*/
|
|
173
|
+
description?: pulumi.Input<string>;
|
|
174
|
+
/**
|
|
175
|
+
* Name of the SSL client certificate. Must start with a Chinese character, letter, or number, and can only contain Chinese characters, letters, numbers, period (.), underscore (_), and hyphen (-). Length must be between 1–128 characters. If not specified, defaults to the SSL client certificate ID.
|
|
176
|
+
*/
|
|
177
|
+
sslVpnClientCertName?: pulumi.Input<string>;
|
|
178
|
+
/**
|
|
179
|
+
* ID of the SSL server used to create the SSL client certificate. You can call DescribeSslVpnServers to query the SSL server ID information.
|
|
180
|
+
*/
|
|
181
|
+
sslVpnServerId: pulumi.Input<string>;
|
|
182
|
+
tags?: pulumi.Input<pulumi.Input<inputs.vpn.SslVpnClientCertTag>[]>;
|
|
183
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
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.SslVpnClientCert = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* SSL client certificate is a sub-resource of the SSL server.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
|
|
16
|
+
*
|
|
17
|
+
* const vPNSslVpnClientCertDemo = new volcenginecc.vpn.SslVpnClientCert("VPNSslVpnClientCertDemo", {
|
|
18
|
+
* sslVpnServerId: "vss-xxxx",
|
|
19
|
+
* sslVpnClientCertName: "ccapi-test-client-cert",
|
|
20
|
+
* description: "ccapi-test",
|
|
21
|
+
* tags: [{
|
|
22
|
+
* key: "env",
|
|
23
|
+
* value: "test",
|
|
24
|
+
* }],
|
|
25
|
+
* });
|
|
26
|
+
* ```
|
|
27
|
+
*
|
|
28
|
+
* ## Import
|
|
29
|
+
*
|
|
30
|
+
* ```sh
|
|
31
|
+
* $ pulumi import volcenginecc:vpn/sslVpnClientCert:SslVpnClientCert example "ssl_vpn_client_cert_id"
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
class SslVpnClientCert extends pulumi.CustomResource {
|
|
35
|
+
/**
|
|
36
|
+
* Get an existing SslVpnClientCert resource's state with the given name, ID, and optional extra
|
|
37
|
+
* properties used to qualify the lookup.
|
|
38
|
+
*
|
|
39
|
+
* @param name The _unique_ name of the resulting resource.
|
|
40
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
41
|
+
* @param state Any extra arguments used during the lookup.
|
|
42
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
43
|
+
*/
|
|
44
|
+
static get(name, id, state, opts) {
|
|
45
|
+
return new SslVpnClientCert(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Returns true if the given object is an instance of SslVpnClientCert. This is designed to work even
|
|
49
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
50
|
+
*/
|
|
51
|
+
static isInstance(obj) {
|
|
52
|
+
if (obj === undefined || obj === null) {
|
|
53
|
+
return false;
|
|
54
|
+
}
|
|
55
|
+
return obj['__pulumiType'] === SslVpnClientCert.__pulumiType;
|
|
56
|
+
}
|
|
57
|
+
constructor(name, argsOrState, opts) {
|
|
58
|
+
let resourceInputs = {};
|
|
59
|
+
opts = opts || {};
|
|
60
|
+
if (opts.id) {
|
|
61
|
+
const state = argsOrState;
|
|
62
|
+
resourceInputs["caCertificate"] = state ? state.caCertificate : undefined;
|
|
63
|
+
resourceInputs["certificateStatus"] = state ? state.certificateStatus : undefined;
|
|
64
|
+
resourceInputs["clientCertificate"] = state ? state.clientCertificate : undefined;
|
|
65
|
+
resourceInputs["clientKey"] = state ? state.clientKey : undefined;
|
|
66
|
+
resourceInputs["creationTime"] = state ? state.creationTime : undefined;
|
|
67
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
68
|
+
resourceInputs["expiredTime"] = state ? state.expiredTime : undefined;
|
|
69
|
+
resourceInputs["openVpnClientConfig"] = state ? state.openVpnClientConfig : undefined;
|
|
70
|
+
resourceInputs["sslVpnClientCertId"] = state ? state.sslVpnClientCertId : undefined;
|
|
71
|
+
resourceInputs["sslVpnClientCertName"] = state ? state.sslVpnClientCertName : undefined;
|
|
72
|
+
resourceInputs["sslVpnServerId"] = state ? state.sslVpnServerId : undefined;
|
|
73
|
+
resourceInputs["status"] = state ? state.status : undefined;
|
|
74
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
75
|
+
resourceInputs["updateTime"] = state ? state.updateTime : undefined;
|
|
76
|
+
}
|
|
77
|
+
else {
|
|
78
|
+
const args = argsOrState;
|
|
79
|
+
if ((!args || args.sslVpnServerId === undefined) && !opts.urn) {
|
|
80
|
+
throw new Error("Missing required property 'sslVpnServerId'");
|
|
81
|
+
}
|
|
82
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
83
|
+
resourceInputs["sslVpnClientCertName"] = args ? args.sslVpnClientCertName : undefined;
|
|
84
|
+
resourceInputs["sslVpnServerId"] = args ? args.sslVpnServerId : undefined;
|
|
85
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
86
|
+
resourceInputs["caCertificate"] = undefined /*out*/;
|
|
87
|
+
resourceInputs["certificateStatus"] = undefined /*out*/;
|
|
88
|
+
resourceInputs["clientCertificate"] = undefined /*out*/;
|
|
89
|
+
resourceInputs["clientKey"] = undefined /*out*/;
|
|
90
|
+
resourceInputs["creationTime"] = undefined /*out*/;
|
|
91
|
+
resourceInputs["expiredTime"] = undefined /*out*/;
|
|
92
|
+
resourceInputs["openVpnClientConfig"] = undefined /*out*/;
|
|
93
|
+
resourceInputs["sslVpnClientCertId"] = undefined /*out*/;
|
|
94
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
95
|
+
resourceInputs["updateTime"] = undefined /*out*/;
|
|
96
|
+
}
|
|
97
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
98
|
+
super(SslVpnClientCert.__pulumiType, name, resourceInputs, opts);
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
exports.SslVpnClientCert = SslVpnClientCert;
|
|
102
|
+
/** @internal */
|
|
103
|
+
SslVpnClientCert.__pulumiType = 'volcenginecc:vpn/sslVpnClientCert:SslVpnClientCert';
|
|
104
|
+
//# sourceMappingURL=sslVpnClientCert.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sslVpnClientCert.js","sourceRoot":"","sources":["../../vpn/sslVpnClientCert.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI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