@volcengine/pulumi 0.0.21 → 0.0.23
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 +126 -0
- package/alb/acl.js +89 -0
- package/alb/acl.js.map +1 -0
- package/alb/acls.d.ts +101 -0
- package/alb/acls.js +51 -0
- package/alb/acls.js.map +1 -0
- package/alb/alb.d.ts +282 -0
- package/alb/alb.js +167 -0
- package/alb/alb.js.map +1 -0
- package/alb/albs.d.ts +216 -0
- package/alb/albs.js +127 -0
- package/alb/albs.js.map +1 -0
- package/alb/caCertificates.d.ts +108 -0
- package/alb/caCertificates.js +50 -0
- package/alb/caCertificates.js.map +1 -0
- package/alb/cacertificate.d.ts +158 -0
- package/alb/cacertificate.js +96 -0
- package/alb/cacertificate.js.map +1 -0
- package/alb/certificate.d.ts +167 -0
- package/alb/certificate.js +98 -0
- package/alb/certificate.js.map +1 -0
- package/alb/certificates.d.ts +87 -0
- package/alb/certificates.js +48 -0
- package/alb/certificates.js.map +1 -0
- package/alb/customizedCfg.d.ts +108 -0
- package/alb/customizedCfg.js +85 -0
- package/alb/customizedCfg.js.map +1 -0
- package/alb/customizedCfgs.d.ts +116 -0
- package/alb/customizedCfgs.js +47 -0
- package/alb/customizedCfgs.js.map +1 -0
- package/alb/healthCheckTemplate.d.ts +212 -0
- package/alb/healthCheckTemplate.js +106 -0
- package/alb/healthCheckTemplate.js.map +1 -0
- package/alb/healthCheckTemplates.d.ts +96 -0
- package/alb/healthCheckTemplates.js +49 -0
- package/alb/healthCheckTemplates.js.map +1 -0
- package/alb/index.d.ts +69 -0
- package/alb/index.js +108 -0
- package/alb/index.js.map +1 -0
- package/alb/listener.d.ts +268 -0
- package/alb/listener.js +135 -0
- package/alb/listener.js.map +1 -0
- package/alb/listenerDomainExtension.d.ts +119 -0
- package/alb/listenerDomainExtension.js +103 -0
- package/alb/listenerDomainExtension.js.map +1 -0
- package/alb/listenerDomainExtensions.d.ts +78 -0
- package/alb/listenerDomainExtensions.js +46 -0
- package/alb/listenerDomainExtensions.js.map +1 -0
- package/alb/listeners.d.ts +100 -0
- package/alb/listeners.js +31 -0
- package/alb/listeners.js.map +1 -0
- package/alb/rule.d.ts +228 -0
- package/alb/rule.js +115 -0
- package/alb/rule.js.map +1 -0
- package/alb/rules.d.ts +75 -0
- package/alb/rules.js +46 -0
- package/alb/rules.js.map +1 -0
- package/alb/serverGroup.d.ts +215 -0
- package/alb/serverGroup.js +117 -0
- package/alb/serverGroup.js.map +1 -0
- package/alb/serverGroupServer.d.ts +155 -0
- package/alb/serverGroupServer.js +105 -0
- package/alb/serverGroupServer.js.map +1 -0
- package/alb/serverGroupServers.d.ts +75 -0
- package/alb/serverGroupServers.js +46 -0
- package/alb/serverGroupServers.js.map +1 -0
- package/alb/serverGroups.d.ts +171 -0
- package/alb/serverGroups.js +105 -0
- package/alb/serverGroups.js.map +1 -0
- package/alb/zones.d.ts +62 -0
- package/alb/zones.js +42 -0
- package/alb/zones.js.map +1 -0
- package/bandwidth_package/attachment.d.ts +103 -0
- package/bandwidth_package/attachment.js +100 -0
- package/bandwidth_package/attachment.js.map +1 -0
- package/bandwidth_package/bandwidthPackage.d.ts +188 -0
- package/bandwidth_package/bandwidthPackage.js +100 -0
- package/bandwidth_package/bandwidthPackage.js.map +1 -0
- package/bandwidth_package/bandwidthPackages.d.ts +151 -0
- package/bandwidth_package/bandwidthPackages.js +54 -0
- package/bandwidth_package/bandwidthPackages.js.map +1 -0
- package/bandwidth_package/index.d.ts +9 -0
- package/bandwidth_package/index.js +30 -0
- package/bandwidth_package/index.js.map +1 -0
- package/clb/listener.d.ts +21 -12
- package/clb/listener.js +2 -0
- package/clb/listener.js.map +1 -1
- package/cr/endpoint.d.ts +1 -1
- package/cr/endpoint.js +1 -1
- package/ecs/iamRoleAttachment.d.ts +133 -0
- package/ecs/iamRoleAttachment.js +130 -0
- package/ecs/iamRoleAttachment.js.map +1 -0
- package/ecs/index.d.ts +6 -0
- package/ecs/index.js +9 -1
- package/ecs/index.js.map +1 -1
- package/ecs/instance.d.ts +4 -0
- package/ecs/instance.js +1 -1
- package/ecs/instance.js.map +1 -1
- package/ecs/instanceTypes.d.ts +71 -0
- package/ecs/instanceTypes.js +43 -0
- package/ecs/instanceTypes.js.map +1 -0
- package/eip/address.d.ts +12 -0
- package/eip/address.js +2 -0
- package/eip/address.js.map +1 -1
- package/eip/addresses.d.ts +2 -2
- package/iam/user.d.ts +26 -2
- package/iam/user.js +6 -0
- package/iam/user.js.map +1 -1
- package/index.d.ts +3 -1
- package/index.js +5 -1
- package/index.js.map +1 -1
- package/mongodb/endpoint.d.ts +68 -3
- package/mongodb/endpoint.js +68 -3
- package/mongodb/endpoint.js.map +1 -1
- package/mongodb/endpoints.d.ts +116 -4
- package/mongodb/endpoints.js +116 -4
- package/mongodb/endpoints.js.map +1 -1
- package/mongodb/instance.d.ts +32 -0
- package/mongodb/instance.js +8 -0
- package/mongodb/instance.js.map +1 -1
- package/mongodb/instanceParameter.d.ts +41 -16
- package/mongodb/instanceParameter.js +35 -10
- package/mongodb/instanceParameter.js.map +1 -1
- package/mongodb/instanceParameters.d.ts +88 -8
- package/mongodb/instanceParameters.js +80 -6
- package/mongodb/instanceParameters.js.map +1 -1
- package/mongodb/mongoAllowList.d.ts +2 -2
- package/mongodb/mongoAllowList.js +2 -2
- package/mongodb/mongoAllowListAssociate.d.ts +40 -3
- package/mongodb/mongoAllowListAssociate.js +40 -3
- package/mongodb/mongoAllowListAssociate.js.map +1 -1
- package/mongodb/mongoAllowLists.d.ts +20 -6
- package/mongodb/mongoAllowLists.js +20 -6
- package/mongodb/mongoAllowLists.js.map +1 -1
- package/mongodb/sslState.d.ts +34 -9
- package/mongodb/sslState.js +31 -6
- package/mongodb/sslState.js.map +1 -1
- package/mongodb/sslStates.d.ts +68 -4
- package/mongodb/sslStates.js +68 -4
- package/mongodb/sslStates.js.map +1 -1
- package/nas/permissionGroup.d.ts +1 -1
- package/nas/permissionGroup.js +1 -1
- package/package.json +2 -2
- package/privatelink/vpcEndpointService.d.ts +5 -3
- package/privatelink/vpcEndpointService.js +2 -0
- package/privatelink/vpcEndpointService.js.map +1 -1
- package/privatelink/vpcEndpointServiceResource.d.ts +5 -3
- package/privatelink/vpcEndpointServiceResource.js +2 -0
- package/privatelink/vpcEndpointServiceResource.js.map +1 -1
- package/rds_mysql/instance.d.ts +29 -0
- package/rds_mysql/instance.js +9 -0
- package/rds_mysql/instance.js.map +1 -1
- package/rds_mysql/instances.d.ts +13 -0
- package/rds_mysql/instances.js +1 -0
- package/rds_mysql/instances.js.map +1 -1
- package/tls/alarmNotifyGroup.d.ts +6 -0
- package/tls/alarmNotifyGroup.js.map +1 -1
- package/tls/topic.d.ts +9 -3
- package/tls/topic.js.map +1 -1
- package/types/input.d.ts +345 -10
- package/types/output.d.ts +1643 -20
- package/vke/nodePool.d.ts +8 -0
- package/vke/nodePool.js +2 -0
- package/vke/nodePool.js.map +1 -1
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides a resource to manage alb ca certificate
|
|
4
|
+
* ## Example Usage
|
|
5
|
+
*
|
|
6
|
+
* ```typescript
|
|
7
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
8
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
9
|
+
*
|
|
10
|
+
* const foo = new volcengine.alb.CACertificate("foo", {
|
|
11
|
+
* caCertificate: `-----BEGIN CERTIFICATE-----
|
|
12
|
+
* -----END CERTIFICATE-----
|
|
13
|
+
* `,
|
|
14
|
+
* caCertificateName: "acc-test-1",
|
|
15
|
+
* description: "acc-test-1",
|
|
16
|
+
* projectName: "default",
|
|
17
|
+
* });
|
|
18
|
+
* ```
|
|
19
|
+
*
|
|
20
|
+
* ## Import
|
|
21
|
+
*
|
|
22
|
+
* AlbCaCertificate can be imported using the id, e.g.
|
|
23
|
+
*
|
|
24
|
+
* ```sh
|
|
25
|
+
* $ pulumi import volcengine:alb/cACertificate:CACertificate default cert-*****
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
export declare class CACertificate extends pulumi.CustomResource {
|
|
29
|
+
/**
|
|
30
|
+
* Get an existing CACertificate resource's state with the given name, ID, and optional extra
|
|
31
|
+
* properties used to qualify the lookup.
|
|
32
|
+
*
|
|
33
|
+
* @param name The _unique_ name of the resulting resource.
|
|
34
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
35
|
+
* @param state Any extra arguments used during the lookup.
|
|
36
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
37
|
+
*/
|
|
38
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: CACertificateState, opts?: pulumi.CustomResourceOptions): CACertificate;
|
|
39
|
+
/**
|
|
40
|
+
* Returns true if the given object is an instance of CACertificate. This is designed to work even
|
|
41
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
42
|
+
*/
|
|
43
|
+
static isInstance(obj: any): obj is CACertificate;
|
|
44
|
+
/**
|
|
45
|
+
* The content of the CA certificate.
|
|
46
|
+
*/
|
|
47
|
+
readonly caCertificate: pulumi.Output<string>;
|
|
48
|
+
/**
|
|
49
|
+
* The name of the CA certificate.
|
|
50
|
+
*/
|
|
51
|
+
readonly caCertificateName: pulumi.Output<string>;
|
|
52
|
+
/**
|
|
53
|
+
* The type of the CA Certificate.
|
|
54
|
+
*/
|
|
55
|
+
readonly certificateType: pulumi.Output<string>;
|
|
56
|
+
/**
|
|
57
|
+
* The create time of the CA Certificate.
|
|
58
|
+
*/
|
|
59
|
+
readonly createTime: pulumi.Output<string>;
|
|
60
|
+
/**
|
|
61
|
+
* The description of the CA certificate.
|
|
62
|
+
*/
|
|
63
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
64
|
+
/**
|
|
65
|
+
* The domain name of the CA Certificate.
|
|
66
|
+
*/
|
|
67
|
+
readonly domainName: pulumi.Output<string>;
|
|
68
|
+
/**
|
|
69
|
+
* The expire time of the CA Certificate.
|
|
70
|
+
*/
|
|
71
|
+
readonly expiredAt: pulumi.Output<string>;
|
|
72
|
+
/**
|
|
73
|
+
* The ID list of the Listener.
|
|
74
|
+
*/
|
|
75
|
+
readonly listeners: pulumi.Output<string[]>;
|
|
76
|
+
/**
|
|
77
|
+
* The project name of the CA certificate.
|
|
78
|
+
*/
|
|
79
|
+
readonly projectName: pulumi.Output<string>;
|
|
80
|
+
/**
|
|
81
|
+
* The status of the CA Certificate.
|
|
82
|
+
*/
|
|
83
|
+
readonly status: pulumi.Output<string>;
|
|
84
|
+
/**
|
|
85
|
+
* Create a CACertificate resource with the given unique name, arguments, and options.
|
|
86
|
+
*
|
|
87
|
+
* @param name The _unique_ name of the resource.
|
|
88
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
89
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
90
|
+
*/
|
|
91
|
+
constructor(name: string, args: CACertificateArgs, opts?: pulumi.CustomResourceOptions);
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Input properties used for looking up and filtering CACertificate resources.
|
|
95
|
+
*/
|
|
96
|
+
export interface CACertificateState {
|
|
97
|
+
/**
|
|
98
|
+
* The content of the CA certificate.
|
|
99
|
+
*/
|
|
100
|
+
caCertificate?: pulumi.Input<string>;
|
|
101
|
+
/**
|
|
102
|
+
* The name of the CA certificate.
|
|
103
|
+
*/
|
|
104
|
+
caCertificateName?: pulumi.Input<string>;
|
|
105
|
+
/**
|
|
106
|
+
* The type of the CA Certificate.
|
|
107
|
+
*/
|
|
108
|
+
certificateType?: pulumi.Input<string>;
|
|
109
|
+
/**
|
|
110
|
+
* The create time of the CA Certificate.
|
|
111
|
+
*/
|
|
112
|
+
createTime?: pulumi.Input<string>;
|
|
113
|
+
/**
|
|
114
|
+
* The description of the CA certificate.
|
|
115
|
+
*/
|
|
116
|
+
description?: pulumi.Input<string>;
|
|
117
|
+
/**
|
|
118
|
+
* The domain name of the CA Certificate.
|
|
119
|
+
*/
|
|
120
|
+
domainName?: pulumi.Input<string>;
|
|
121
|
+
/**
|
|
122
|
+
* The expire time of the CA Certificate.
|
|
123
|
+
*/
|
|
124
|
+
expiredAt?: pulumi.Input<string>;
|
|
125
|
+
/**
|
|
126
|
+
* The ID list of the Listener.
|
|
127
|
+
*/
|
|
128
|
+
listeners?: pulumi.Input<pulumi.Input<string>[]>;
|
|
129
|
+
/**
|
|
130
|
+
* The project name of the CA certificate.
|
|
131
|
+
*/
|
|
132
|
+
projectName?: pulumi.Input<string>;
|
|
133
|
+
/**
|
|
134
|
+
* The status of the CA Certificate.
|
|
135
|
+
*/
|
|
136
|
+
status?: pulumi.Input<string>;
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* The set of arguments for constructing a CACertificate resource.
|
|
140
|
+
*/
|
|
141
|
+
export interface CACertificateArgs {
|
|
142
|
+
/**
|
|
143
|
+
* The content of the CA certificate.
|
|
144
|
+
*/
|
|
145
|
+
caCertificate: pulumi.Input<string>;
|
|
146
|
+
/**
|
|
147
|
+
* The name of the CA certificate.
|
|
148
|
+
*/
|
|
149
|
+
caCertificateName?: pulumi.Input<string>;
|
|
150
|
+
/**
|
|
151
|
+
* The description of the CA certificate.
|
|
152
|
+
*/
|
|
153
|
+
description?: pulumi.Input<string>;
|
|
154
|
+
/**
|
|
155
|
+
* The project name of the CA certificate.
|
|
156
|
+
*/
|
|
157
|
+
projectName?: pulumi.Input<string>;
|
|
158
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
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.CACertificate = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a resource to manage alb ca certificate
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
15
|
+
*
|
|
16
|
+
* const foo = new volcengine.alb.CACertificate("foo", {
|
|
17
|
+
* caCertificate: `-----BEGIN CERTIFICATE-----
|
|
18
|
+
* -----END CERTIFICATE-----
|
|
19
|
+
* `,
|
|
20
|
+
* caCertificateName: "acc-test-1",
|
|
21
|
+
* description: "acc-test-1",
|
|
22
|
+
* projectName: "default",
|
|
23
|
+
* });
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* ## Import
|
|
27
|
+
*
|
|
28
|
+
* AlbCaCertificate can be imported using the id, e.g.
|
|
29
|
+
*
|
|
30
|
+
* ```sh
|
|
31
|
+
* $ pulumi import volcengine:alb/cACertificate:CACertificate default cert-*****
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
class CACertificate extends pulumi.CustomResource {
|
|
35
|
+
/**
|
|
36
|
+
* Get an existing CACertificate 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 CACertificate(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Returns true if the given object is an instance of CACertificate. 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'] === CACertificate.__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["caCertificateName"] = state ? state.caCertificateName : undefined;
|
|
64
|
+
resourceInputs["certificateType"] = state ? state.certificateType : undefined;
|
|
65
|
+
resourceInputs["createTime"] = state ? state.createTime : undefined;
|
|
66
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
67
|
+
resourceInputs["domainName"] = state ? state.domainName : undefined;
|
|
68
|
+
resourceInputs["expiredAt"] = state ? state.expiredAt : undefined;
|
|
69
|
+
resourceInputs["listeners"] = state ? state.listeners : undefined;
|
|
70
|
+
resourceInputs["projectName"] = state ? state.projectName : undefined;
|
|
71
|
+
resourceInputs["status"] = state ? state.status : undefined;
|
|
72
|
+
}
|
|
73
|
+
else {
|
|
74
|
+
const args = argsOrState;
|
|
75
|
+
if ((!args || args.caCertificate === undefined) && !opts.urn) {
|
|
76
|
+
throw new Error("Missing required property 'caCertificate'");
|
|
77
|
+
}
|
|
78
|
+
resourceInputs["caCertificate"] = args ? args.caCertificate : undefined;
|
|
79
|
+
resourceInputs["caCertificateName"] = args ? args.caCertificateName : undefined;
|
|
80
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
81
|
+
resourceInputs["projectName"] = args ? args.projectName : undefined;
|
|
82
|
+
resourceInputs["certificateType"] = undefined /*out*/;
|
|
83
|
+
resourceInputs["createTime"] = undefined /*out*/;
|
|
84
|
+
resourceInputs["domainName"] = undefined /*out*/;
|
|
85
|
+
resourceInputs["expiredAt"] = undefined /*out*/;
|
|
86
|
+
resourceInputs["listeners"] = undefined /*out*/;
|
|
87
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
88
|
+
}
|
|
89
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
90
|
+
super(CACertificate.__pulumiType, name, resourceInputs, opts);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
exports.CACertificate = CACertificate;
|
|
94
|
+
/** @internal */
|
|
95
|
+
CACertificate.__pulumiType = 'volcengine:alb/cACertificate:CACertificate';
|
|
96
|
+
//# sourceMappingURL=cacertificate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cacertificate.js","sourceRoot":"","sources":["../../alb/cacertificate.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACpE,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,aAAa,CAAC,YAAY,CAAC;IAC9D,CAAC;IAmDD,YAAY,IAAY,EAAE,WAAoD,EAAE,IAAmC;QAC/G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA6C,CAAC;YAC5D,cAAc,CAAC,eAAe,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,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
+
* ```typescript
|
|
7
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
8
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
9
|
+
*
|
|
10
|
+
* const foo = new volcengine.alb.Certificate("foo", {
|
|
11
|
+
* description: "test123",
|
|
12
|
+
* privateKey: "private key",
|
|
13
|
+
* publicKey: "public key",
|
|
14
|
+
* });
|
|
15
|
+
* ```
|
|
16
|
+
*
|
|
17
|
+
* ## Import
|
|
18
|
+
*
|
|
19
|
+
* Certificate can be imported using the id, e.g.
|
|
20
|
+
*
|
|
21
|
+
* ```sh
|
|
22
|
+
* $ pulumi import volcengine:alb/certificate:Certificate default cert-2fe5k****c16o5oxruvtk3qf5
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
export declare class Certificate extends pulumi.CustomResource {
|
|
26
|
+
/**
|
|
27
|
+
* Get an existing Certificate resource's state with the given name, ID, and optional extra
|
|
28
|
+
* properties used to qualify the lookup.
|
|
29
|
+
*
|
|
30
|
+
* @param name The _unique_ name of the resulting resource.
|
|
31
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
32
|
+
* @param state Any extra arguments used during the lookup.
|
|
33
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
34
|
+
*/
|
|
35
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: CertificateState, opts?: pulumi.CustomResourceOptions): Certificate;
|
|
36
|
+
/**
|
|
37
|
+
* Returns true if the given object is an instance of Certificate. This is designed to work even
|
|
38
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
39
|
+
*/
|
|
40
|
+
static isInstance(obj: any): obj is Certificate;
|
|
41
|
+
/**
|
|
42
|
+
* The name of the Certificate.
|
|
43
|
+
*/
|
|
44
|
+
readonly certificateName: pulumi.Output<string>;
|
|
45
|
+
/**
|
|
46
|
+
* The type of the Certificate.
|
|
47
|
+
*/
|
|
48
|
+
readonly certificateType: pulumi.Output<string>;
|
|
49
|
+
/**
|
|
50
|
+
* The create time of the Certificate.
|
|
51
|
+
*/
|
|
52
|
+
readonly createTime: pulumi.Output<string>;
|
|
53
|
+
/**
|
|
54
|
+
* The description of the Certificate.
|
|
55
|
+
*/
|
|
56
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
57
|
+
/**
|
|
58
|
+
* The domain name of the Certificate.
|
|
59
|
+
*/
|
|
60
|
+
readonly domainName: pulumi.Output<string>;
|
|
61
|
+
/**
|
|
62
|
+
* The expire time of the Certificate.
|
|
63
|
+
*/
|
|
64
|
+
readonly expiredAt: pulumi.Output<string>;
|
|
65
|
+
/**
|
|
66
|
+
* The ID list of the Listener.
|
|
67
|
+
*/
|
|
68
|
+
readonly listeners: pulumi.Output<string[]>;
|
|
69
|
+
/**
|
|
70
|
+
* The private key of the Certificate.
|
|
71
|
+
*/
|
|
72
|
+
readonly privateKey: pulumi.Output<string>;
|
|
73
|
+
/**
|
|
74
|
+
* The project name of the Certificate.
|
|
75
|
+
*/
|
|
76
|
+
readonly projectName: pulumi.Output<string>;
|
|
77
|
+
/**
|
|
78
|
+
* The public key of the Certificate.
|
|
79
|
+
*/
|
|
80
|
+
readonly publicKey: pulumi.Output<string>;
|
|
81
|
+
/**
|
|
82
|
+
* The status of the Certificate.
|
|
83
|
+
*/
|
|
84
|
+
readonly status: pulumi.Output<string>;
|
|
85
|
+
/**
|
|
86
|
+
* Create a Certificate resource with the given unique name, arguments, and options.
|
|
87
|
+
*
|
|
88
|
+
* @param name The _unique_ name of the resource.
|
|
89
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
90
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
91
|
+
*/
|
|
92
|
+
constructor(name: string, args: CertificateArgs, opts?: pulumi.CustomResourceOptions);
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* Input properties used for looking up and filtering Certificate resources.
|
|
96
|
+
*/
|
|
97
|
+
export interface CertificateState {
|
|
98
|
+
/**
|
|
99
|
+
* The name of the Certificate.
|
|
100
|
+
*/
|
|
101
|
+
certificateName?: pulumi.Input<string>;
|
|
102
|
+
/**
|
|
103
|
+
* The type of the Certificate.
|
|
104
|
+
*/
|
|
105
|
+
certificateType?: pulumi.Input<string>;
|
|
106
|
+
/**
|
|
107
|
+
* The create time of the Certificate.
|
|
108
|
+
*/
|
|
109
|
+
createTime?: pulumi.Input<string>;
|
|
110
|
+
/**
|
|
111
|
+
* The description of the Certificate.
|
|
112
|
+
*/
|
|
113
|
+
description?: pulumi.Input<string>;
|
|
114
|
+
/**
|
|
115
|
+
* The domain name of the Certificate.
|
|
116
|
+
*/
|
|
117
|
+
domainName?: pulumi.Input<string>;
|
|
118
|
+
/**
|
|
119
|
+
* The expire time of the Certificate.
|
|
120
|
+
*/
|
|
121
|
+
expiredAt?: pulumi.Input<string>;
|
|
122
|
+
/**
|
|
123
|
+
* The ID list of the Listener.
|
|
124
|
+
*/
|
|
125
|
+
listeners?: pulumi.Input<pulumi.Input<string>[]>;
|
|
126
|
+
/**
|
|
127
|
+
* The private key of the Certificate.
|
|
128
|
+
*/
|
|
129
|
+
privateKey?: pulumi.Input<string>;
|
|
130
|
+
/**
|
|
131
|
+
* The project name of the Certificate.
|
|
132
|
+
*/
|
|
133
|
+
projectName?: pulumi.Input<string>;
|
|
134
|
+
/**
|
|
135
|
+
* The public key of the Certificate.
|
|
136
|
+
*/
|
|
137
|
+
publicKey?: pulumi.Input<string>;
|
|
138
|
+
/**
|
|
139
|
+
* The status of the Certificate.
|
|
140
|
+
*/
|
|
141
|
+
status?: pulumi.Input<string>;
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* The set of arguments for constructing a Certificate resource.
|
|
145
|
+
*/
|
|
146
|
+
export interface CertificateArgs {
|
|
147
|
+
/**
|
|
148
|
+
* The name of the Certificate.
|
|
149
|
+
*/
|
|
150
|
+
certificateName?: pulumi.Input<string>;
|
|
151
|
+
/**
|
|
152
|
+
* The description of the Certificate.
|
|
153
|
+
*/
|
|
154
|
+
description?: pulumi.Input<string>;
|
|
155
|
+
/**
|
|
156
|
+
* The private key of the Certificate.
|
|
157
|
+
*/
|
|
158
|
+
privateKey: pulumi.Input<string>;
|
|
159
|
+
/**
|
|
160
|
+
* The project name of the Certificate.
|
|
161
|
+
*/
|
|
162
|
+
projectName?: pulumi.Input<string>;
|
|
163
|
+
/**
|
|
164
|
+
* The public key of the Certificate.
|
|
165
|
+
*/
|
|
166
|
+
publicKey: pulumi.Input<string>;
|
|
167
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
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.Certificate = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a resource to manage alb certificate
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
15
|
+
*
|
|
16
|
+
* const foo = new volcengine.alb.Certificate("foo", {
|
|
17
|
+
* description: "test123",
|
|
18
|
+
* privateKey: "private key",
|
|
19
|
+
* publicKey: "public key",
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* ## Import
|
|
24
|
+
*
|
|
25
|
+
* Certificate can be imported using the id, e.g.
|
|
26
|
+
*
|
|
27
|
+
* ```sh
|
|
28
|
+
* $ pulumi import volcengine:alb/certificate:Certificate default cert-2fe5k****c16o5oxruvtk3qf5
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
31
|
+
class Certificate extends pulumi.CustomResource {
|
|
32
|
+
/**
|
|
33
|
+
* Get an existing Certificate resource's state with the given name, ID, and optional extra
|
|
34
|
+
* properties used to qualify the lookup.
|
|
35
|
+
*
|
|
36
|
+
* @param name The _unique_ name of the resulting resource.
|
|
37
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
38
|
+
* @param state Any extra arguments used during the lookup.
|
|
39
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
40
|
+
*/
|
|
41
|
+
static get(name, id, state, opts) {
|
|
42
|
+
return new Certificate(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Returns true if the given object is an instance of Certificate. This is designed to work even
|
|
46
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
47
|
+
*/
|
|
48
|
+
static isInstance(obj) {
|
|
49
|
+
if (obj === undefined || obj === null) {
|
|
50
|
+
return false;
|
|
51
|
+
}
|
|
52
|
+
return obj['__pulumiType'] === Certificate.__pulumiType;
|
|
53
|
+
}
|
|
54
|
+
constructor(name, argsOrState, opts) {
|
|
55
|
+
let resourceInputs = {};
|
|
56
|
+
opts = opts || {};
|
|
57
|
+
if (opts.id) {
|
|
58
|
+
const state = argsOrState;
|
|
59
|
+
resourceInputs["certificateName"] = state ? state.certificateName : undefined;
|
|
60
|
+
resourceInputs["certificateType"] = state ? state.certificateType : undefined;
|
|
61
|
+
resourceInputs["createTime"] = state ? state.createTime : undefined;
|
|
62
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
63
|
+
resourceInputs["domainName"] = state ? state.domainName : undefined;
|
|
64
|
+
resourceInputs["expiredAt"] = state ? state.expiredAt : undefined;
|
|
65
|
+
resourceInputs["listeners"] = state ? state.listeners : undefined;
|
|
66
|
+
resourceInputs["privateKey"] = state ? state.privateKey : undefined;
|
|
67
|
+
resourceInputs["projectName"] = state ? state.projectName : undefined;
|
|
68
|
+
resourceInputs["publicKey"] = state ? state.publicKey : undefined;
|
|
69
|
+
resourceInputs["status"] = state ? state.status : undefined;
|
|
70
|
+
}
|
|
71
|
+
else {
|
|
72
|
+
const args = argsOrState;
|
|
73
|
+
if ((!args || args.privateKey === undefined) && !opts.urn) {
|
|
74
|
+
throw new Error("Missing required property 'privateKey'");
|
|
75
|
+
}
|
|
76
|
+
if ((!args || args.publicKey === undefined) && !opts.urn) {
|
|
77
|
+
throw new Error("Missing required property 'publicKey'");
|
|
78
|
+
}
|
|
79
|
+
resourceInputs["certificateName"] = args ? args.certificateName : undefined;
|
|
80
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
81
|
+
resourceInputs["privateKey"] = args ? args.privateKey : undefined;
|
|
82
|
+
resourceInputs["projectName"] = args ? args.projectName : undefined;
|
|
83
|
+
resourceInputs["publicKey"] = args ? args.publicKey : undefined;
|
|
84
|
+
resourceInputs["certificateType"] = undefined /*out*/;
|
|
85
|
+
resourceInputs["createTime"] = undefined /*out*/;
|
|
86
|
+
resourceInputs["domainName"] = undefined /*out*/;
|
|
87
|
+
resourceInputs["expiredAt"] = undefined /*out*/;
|
|
88
|
+
resourceInputs["listeners"] = undefined /*out*/;
|
|
89
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
90
|
+
}
|
|
91
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
92
|
+
super(Certificate.__pulumiType, name, resourceInputs, opts);
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
exports.Certificate = Certificate;
|
|
96
|
+
/** @internal */
|
|
97
|
+
Certificate.__pulumiType = 'volcengine:alb/certificate:Certificate';
|
|
98
|
+
//# sourceMappingURL=certificate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"certificate.js","sourceRoot":"","sources":["../../alb/certificate.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC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AU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACtD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,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,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AAvHL,kCAwHC;AA1GG,gBAAgB;AACO,wBAAY,GAAG,wCAAwC,CAAC"}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Use this data source to query detailed information of alb certificates
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
10
|
+
*
|
|
11
|
+
* const default = volcengine.alb.Certificates({
|
|
12
|
+
* certificateName: "tf-test",
|
|
13
|
+
* });
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
export declare function certificates(args?: CertificatesArgs, opts?: pulumi.InvokeOptions): Promise<CertificatesResult>;
|
|
17
|
+
/**
|
|
18
|
+
* A collection of arguments for invoking Certificates.
|
|
19
|
+
*/
|
|
20
|
+
export interface CertificatesArgs {
|
|
21
|
+
/**
|
|
22
|
+
* The Name of Certificate.
|
|
23
|
+
*/
|
|
24
|
+
certificateName?: string;
|
|
25
|
+
/**
|
|
26
|
+
* The list of Certificate IDs.
|
|
27
|
+
*/
|
|
28
|
+
ids?: string[];
|
|
29
|
+
/**
|
|
30
|
+
* File name where to save data source results.
|
|
31
|
+
*/
|
|
32
|
+
outputFile?: string;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* A collection of values returned by Certificates.
|
|
36
|
+
*/
|
|
37
|
+
export interface CertificatesResult {
|
|
38
|
+
/**
|
|
39
|
+
* The name of the Certificate.
|
|
40
|
+
*/
|
|
41
|
+
readonly certificateName?: string;
|
|
42
|
+
/**
|
|
43
|
+
* The collection of Certificate query.
|
|
44
|
+
*/
|
|
45
|
+
readonly certificates: outputs.alb.CertificatesCertificate[];
|
|
46
|
+
/**
|
|
47
|
+
* The provider-assigned unique ID for this managed resource.
|
|
48
|
+
*/
|
|
49
|
+
readonly id: string;
|
|
50
|
+
readonly ids?: string[];
|
|
51
|
+
readonly outputFile?: string;
|
|
52
|
+
/**
|
|
53
|
+
* The total count of Certificate query.
|
|
54
|
+
*/
|
|
55
|
+
readonly totalCount: number;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Use this data source to query detailed information of alb certificates
|
|
59
|
+
* ## Example Usage
|
|
60
|
+
*
|
|
61
|
+
* ```typescript
|
|
62
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
63
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
64
|
+
*
|
|
65
|
+
* const default = volcengine.alb.Certificates({
|
|
66
|
+
* certificateName: "tf-test",
|
|
67
|
+
* });
|
|
68
|
+
* ```
|
|
69
|
+
*/
|
|
70
|
+
export declare function certificatesOutput(args?: CertificatesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<CertificatesResult>;
|
|
71
|
+
/**
|
|
72
|
+
* A collection of arguments for invoking Certificates.
|
|
73
|
+
*/
|
|
74
|
+
export interface CertificatesOutputArgs {
|
|
75
|
+
/**
|
|
76
|
+
* The Name of Certificate.
|
|
77
|
+
*/
|
|
78
|
+
certificateName?: pulumi.Input<string>;
|
|
79
|
+
/**
|
|
80
|
+
* The list of Certificate IDs.
|
|
81
|
+
*/
|
|
82
|
+
ids?: pulumi.Input<pulumi.Input<string>[]>;
|
|
83
|
+
/**
|
|
84
|
+
* File name where to save data source results.
|
|
85
|
+
*/
|
|
86
|
+
outputFile?: pulumi.Input<string>;
|
|
87
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
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.certificatesOutput = exports.certificates = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to query detailed information of alb certificates
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
15
|
+
*
|
|
16
|
+
* const default = volcengine.alb.Certificates({
|
|
17
|
+
* certificateName: "tf-test",
|
|
18
|
+
* });
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
function certificates(args, opts) {
|
|
22
|
+
args = args || {};
|
|
23
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
24
|
+
return pulumi.runtime.invoke("volcengine:alb/certificates:Certificates", {
|
|
25
|
+
"certificateName": args.certificateName,
|
|
26
|
+
"ids": args.ids,
|
|
27
|
+
"outputFile": args.outputFile,
|
|
28
|
+
}, opts);
|
|
29
|
+
}
|
|
30
|
+
exports.certificates = certificates;
|
|
31
|
+
/**
|
|
32
|
+
* Use this data source to query detailed information of alb certificates
|
|
33
|
+
* ## Example Usage
|
|
34
|
+
*
|
|
35
|
+
* ```typescript
|
|
36
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
37
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
38
|
+
*
|
|
39
|
+
* const default = volcengine.alb.Certificates({
|
|
40
|
+
* certificateName: "tf-test",
|
|
41
|
+
* });
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
function certificatesOutput(args, opts) {
|
|
45
|
+
return pulumi.output(args).apply((a) => certificates(a, opts));
|
|
46
|
+
}
|
|
47
|
+
exports.certificatesOutput = certificatesOutput;
|
|
48
|
+
//# sourceMappingURL=certificates.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"certificates.js","sourceRoot":"","sources":["../../alb/certificates.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;GAYG;AACH,SAAgB,YAAY,CAAC,IAAuB,EAAE,IAA2B;IAC7E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE;QACrE,iBAAiB,EAAE,IAAI,CAAC,eAAe;QACvC,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,oCASC;AA2CD;;;;;;;;;;;;GAYG;AACH,SAAgB,kBAAkB,CAAC,IAA6B,EAAE,IAA2B;IACzF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,YAAY,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACvE,CAAC;AAFD,gDAEC"}
|