@volcengine/pulumi 0.0.28 → 0.0.29
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/listener.d.ts +80 -22
- package/alb/listener.js +57 -19
- package/alb/listener.js.map +1 -1
- package/cr/endpoint.d.ts +10 -0
- package/cr/endpoint.js +2 -0
- package/cr/endpoint.js.map +1 -1
- package/cr/endpointAclPolicy.d.ts +116 -0
- package/cr/endpointAclPolicy.js +99 -0
- package/cr/endpointAclPolicy.js.map +1 -0
- package/cr/index.d.ts +3 -0
- package/cr/index.js +6 -1
- package/cr/index.js.map +1 -1
- package/cr/namespace.d.ts +20 -2
- package/cr/namespace.js +10 -2
- package/cr/namespace.js.map +1 -1
- package/cr/registries.d.ts +12 -0
- package/cr/registries.js +1 -0
- package/cr/registries.js.map +1 -1
- package/cr/registry.d.ts +21 -0
- package/cr/registry.js +5 -0
- package/cr/registry.js.map +1 -1
- package/ecs/instance.d.ts +21 -12
- package/ecs/instance.js +2 -5
- package/ecs/instance.js.map +1 -1
- package/nas/mountPoints.d.ts +6 -3
- package/nas/mountPoints.js +1 -1
- package/nas/mountPoints.js.map +1 -1
- package/package.json +1 -1
- package/types/input.d.ts +111 -2
- package/types/output.d.ts +161 -2
- package/vke/cluster.d.ts +13 -0
- package/vke/cluster.js +3 -0
- package/vke/cluster.js.map +1 -1
- package/vke/clusters.d.ts +12 -0
- package/vke/clusters.js +1 -0
- package/vke/clusters.js.map +1 -1
- package/vke/kubeconfigs.d.ts +9 -0
- package/vke/kubeconfigs.js +1 -0
- package/vke/kubeconfigs.js.map +1 -1
- package/vke/nodePool.d.ts +6 -4
- package/vke/nodePool.js +6 -4
- package/vke/nodePool.js.map +1 -1
- package/vpc/haVip.d.ts +18 -1
- package/vpc/haVip.js +6 -1
- package/vpc/haVip.js.map +1 -1
- package/vpc/haVips.d.ts +13 -0
- package/vpc/haVips.js +1 -0
- package/vpc/haVips.js.map +1 -1
- package/vpc/routeTable.d.ts +28 -5
- package/vpc/routeTable.js +16 -5
- package/vpc/routeTable.js.map +1 -1
- package/vpc/routeTables.d.ts +13 -0
- package/vpc/routeTables.js +1 -0
- package/vpc/routeTables.js.map +1 -1
- package/vpc/vpc.d.ts +2 -2
- package/vpc/vpc.js +2 -2
package/alb/listener.d.ts
CHANGED
|
@@ -5,33 +5,67 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
5
5
|
*
|
|
6
6
|
* ```typescript
|
|
7
7
|
* import * as pulumi from "@pulumi/pulumi";
|
|
8
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
8
9
|
* import * as volcengine from "@volcengine/pulumi";
|
|
9
10
|
*
|
|
10
|
-
* const
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
11
|
+
* const fooZones = volcengine.ecs.Zones({});
|
|
12
|
+
* const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
|
|
13
|
+
* vpcName: "acc-test-vpc",
|
|
14
|
+
* cidrBlock: "172.16.0.0/16",
|
|
15
|
+
* });
|
|
16
|
+
* const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
|
|
17
|
+
* subnetName: "acc-test-subnet",
|
|
18
|
+
* cidrBlock: "172.16.0.0/24",
|
|
19
|
+
* zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
|
|
20
|
+
* vpcId: fooVpc.id,
|
|
21
|
+
* });
|
|
22
|
+
* const fooAlb = new volcengine.alb.Alb("fooAlb", {
|
|
23
|
+
* addressIpVersion: "IPv4",
|
|
24
|
+
* type: "private",
|
|
25
|
+
* loadBalancerName: "acc-test-alb-private",
|
|
26
|
+
* description: "acc-test",
|
|
27
|
+
* subnetIds: [fooSubnet.id],
|
|
14
28
|
* projectName: "default",
|
|
29
|
+
* deleteProtection: "off",
|
|
30
|
+
* tags: [{
|
|
31
|
+
* key: "k1",
|
|
32
|
+
* value: "v1",
|
|
33
|
+
* }],
|
|
34
|
+
* });
|
|
35
|
+
* const fooServerGroup = new volcengine.alb.ServerGroup("fooServerGroup", {
|
|
36
|
+
* vpcId: fooVpc.id,
|
|
37
|
+
* serverGroupName: "acc-test-server-group",
|
|
38
|
+
* description: "acc-test",
|
|
39
|
+
* serverGroupType: "instance",
|
|
40
|
+
* scheduler: "wlc",
|
|
41
|
+
* projectName: "default",
|
|
42
|
+
* healthCheck: {
|
|
43
|
+
* enabled: "on",
|
|
44
|
+
* interval: 3,
|
|
45
|
+
* timeout: 3,
|
|
46
|
+
* method: "GET",
|
|
47
|
+
* },
|
|
48
|
+
* stickySessionConfig: {
|
|
49
|
+
* stickySessionEnabled: "on",
|
|
50
|
+
* stickySessionType: "insert",
|
|
51
|
+
* cookieTimeout: 1100,
|
|
52
|
+
* },
|
|
53
|
+
* });
|
|
54
|
+
* const fooCertificate = new volcengine.alb.Certificate("fooCertificate", {
|
|
55
|
+
* description: "tf-test",
|
|
56
|
+
* publicKey: "public key",
|
|
57
|
+
* privateKey: "private key",
|
|
15
58
|
* });
|
|
16
59
|
* const fooListener = new volcengine.alb.Listener("fooListener", {
|
|
17
|
-
* loadBalancerId:
|
|
18
|
-
* listenerName: "acc-test-listener
|
|
60
|
+
* loadBalancerId: fooAlb.id,
|
|
61
|
+
* listenerName: "acc-test-listener",
|
|
19
62
|
* protocol: "HTTPS",
|
|
20
63
|
* port: 6666,
|
|
21
|
-
* enabled: "
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
* serverGroupId:
|
|
25
|
-
* enableHttp2: "on",
|
|
26
|
-
* enableQuic: "off",
|
|
27
|
-
* aclStatus: "on",
|
|
28
|
-
* aclType: "white",
|
|
29
|
-
* aclIds: [
|
|
30
|
-
* "acl-1g72w6z11ighs2zbhq4v3rvh4",
|
|
31
|
-
* "acl-1g72xvtt7kg002zbhq5diim3s",
|
|
32
|
-
* ],
|
|
64
|
+
* enabled: "off",
|
|
65
|
+
* certificateSource: "alb",
|
|
66
|
+
* certificateId: fooCertificate.id,
|
|
67
|
+
* serverGroupId: fooServerGroup.id,
|
|
33
68
|
* description: "acc test listener",
|
|
34
|
-
* customizedCfgId: fooCustomizedCfg.id,
|
|
35
69
|
* });
|
|
36
70
|
* ```
|
|
37
71
|
*
|
|
@@ -76,9 +110,17 @@ export declare class Listener extends pulumi.CustomResource {
|
|
|
76
110
|
*/
|
|
77
111
|
readonly caCertificateId: pulumi.Output<string | undefined>;
|
|
78
112
|
/**
|
|
79
|
-
* The certificate id associated with the listener.
|
|
113
|
+
* The certificate id associated with the listener. Source is `certCenter`.
|
|
114
|
+
*/
|
|
115
|
+
readonly certCenterCertificateId: pulumi.Output<string | undefined>;
|
|
116
|
+
/**
|
|
117
|
+
* The certificate id associated with the listener. Source is `alb`.
|
|
80
118
|
*/
|
|
81
119
|
readonly certificateId: pulumi.Output<string | undefined>;
|
|
120
|
+
/**
|
|
121
|
+
* The source of the certificate. Valid values: `alb`, `certCenter`. Default is `alb`.
|
|
122
|
+
*/
|
|
123
|
+
readonly certificateSource: pulumi.Output<string | undefined>;
|
|
82
124
|
/**
|
|
83
125
|
* Personalized configuration ID, with a value of " " when not bound.
|
|
84
126
|
*/
|
|
@@ -153,9 +195,17 @@ export interface ListenerState {
|
|
|
153
195
|
*/
|
|
154
196
|
caCertificateId?: pulumi.Input<string>;
|
|
155
197
|
/**
|
|
156
|
-
* The certificate id associated with the listener.
|
|
198
|
+
* The certificate id associated with the listener. Source is `certCenter`.
|
|
199
|
+
*/
|
|
200
|
+
certCenterCertificateId?: pulumi.Input<string>;
|
|
201
|
+
/**
|
|
202
|
+
* The certificate id associated with the listener. Source is `alb`.
|
|
157
203
|
*/
|
|
158
204
|
certificateId?: pulumi.Input<string>;
|
|
205
|
+
/**
|
|
206
|
+
* The source of the certificate. Valid values: `alb`, `certCenter`. Default is `alb`.
|
|
207
|
+
*/
|
|
208
|
+
certificateSource?: pulumi.Input<string>;
|
|
159
209
|
/**
|
|
160
210
|
* Personalized configuration ID, with a value of " " when not bound.
|
|
161
211
|
*/
|
|
@@ -222,9 +272,17 @@ export interface ListenerArgs {
|
|
|
222
272
|
*/
|
|
223
273
|
caCertificateId?: pulumi.Input<string>;
|
|
224
274
|
/**
|
|
225
|
-
* The certificate id associated with the listener.
|
|
275
|
+
* The certificate id associated with the listener. Source is `certCenter`.
|
|
276
|
+
*/
|
|
277
|
+
certCenterCertificateId?: pulumi.Input<string>;
|
|
278
|
+
/**
|
|
279
|
+
* The certificate id associated with the listener. Source is `alb`.
|
|
226
280
|
*/
|
|
227
281
|
certificateId?: pulumi.Input<string>;
|
|
282
|
+
/**
|
|
283
|
+
* The source of the certificate. Valid values: `alb`, `certCenter`. Default is `alb`.
|
|
284
|
+
*/
|
|
285
|
+
certificateSource?: pulumi.Input<string>;
|
|
228
286
|
/**
|
|
229
287
|
* Personalized configuration ID, with a value of " " when not bound.
|
|
230
288
|
*/
|
package/alb/listener.js
CHANGED
|
@@ -11,33 +11,67 @@ const utilities = require("../utilities");
|
|
|
11
11
|
*
|
|
12
12
|
* ```typescript
|
|
13
13
|
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
14
15
|
* import * as volcengine from "@volcengine/pulumi";
|
|
15
16
|
*
|
|
16
|
-
* const
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
17
|
+
* const fooZones = volcengine.ecs.Zones({});
|
|
18
|
+
* const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
|
|
19
|
+
* vpcName: "acc-test-vpc",
|
|
20
|
+
* cidrBlock: "172.16.0.0/16",
|
|
21
|
+
* });
|
|
22
|
+
* const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
|
|
23
|
+
* subnetName: "acc-test-subnet",
|
|
24
|
+
* cidrBlock: "172.16.0.0/24",
|
|
25
|
+
* zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
|
|
26
|
+
* vpcId: fooVpc.id,
|
|
27
|
+
* });
|
|
28
|
+
* const fooAlb = new volcengine.alb.Alb("fooAlb", {
|
|
29
|
+
* addressIpVersion: "IPv4",
|
|
30
|
+
* type: "private",
|
|
31
|
+
* loadBalancerName: "acc-test-alb-private",
|
|
32
|
+
* description: "acc-test",
|
|
33
|
+
* subnetIds: [fooSubnet.id],
|
|
20
34
|
* projectName: "default",
|
|
35
|
+
* deleteProtection: "off",
|
|
36
|
+
* tags: [{
|
|
37
|
+
* key: "k1",
|
|
38
|
+
* value: "v1",
|
|
39
|
+
* }],
|
|
40
|
+
* });
|
|
41
|
+
* const fooServerGroup = new volcengine.alb.ServerGroup("fooServerGroup", {
|
|
42
|
+
* vpcId: fooVpc.id,
|
|
43
|
+
* serverGroupName: "acc-test-server-group",
|
|
44
|
+
* description: "acc-test",
|
|
45
|
+
* serverGroupType: "instance",
|
|
46
|
+
* scheduler: "wlc",
|
|
47
|
+
* projectName: "default",
|
|
48
|
+
* healthCheck: {
|
|
49
|
+
* enabled: "on",
|
|
50
|
+
* interval: 3,
|
|
51
|
+
* timeout: 3,
|
|
52
|
+
* method: "GET",
|
|
53
|
+
* },
|
|
54
|
+
* stickySessionConfig: {
|
|
55
|
+
* stickySessionEnabled: "on",
|
|
56
|
+
* stickySessionType: "insert",
|
|
57
|
+
* cookieTimeout: 1100,
|
|
58
|
+
* },
|
|
59
|
+
* });
|
|
60
|
+
* const fooCertificate = new volcengine.alb.Certificate("fooCertificate", {
|
|
61
|
+
* description: "tf-test",
|
|
62
|
+
* publicKey: "public key",
|
|
63
|
+
* privateKey: "private key",
|
|
21
64
|
* });
|
|
22
65
|
* const fooListener = new volcengine.alb.Listener("fooListener", {
|
|
23
|
-
* loadBalancerId:
|
|
24
|
-
* listenerName: "acc-test-listener
|
|
66
|
+
* loadBalancerId: fooAlb.id,
|
|
67
|
+
* listenerName: "acc-test-listener",
|
|
25
68
|
* protocol: "HTTPS",
|
|
26
69
|
* port: 6666,
|
|
27
|
-
* enabled: "
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
* serverGroupId:
|
|
31
|
-
* enableHttp2: "on",
|
|
32
|
-
* enableQuic: "off",
|
|
33
|
-
* aclStatus: "on",
|
|
34
|
-
* aclType: "white",
|
|
35
|
-
* aclIds: [
|
|
36
|
-
* "acl-1g72w6z11ighs2zbhq4v3rvh4",
|
|
37
|
-
* "acl-1g72xvtt7kg002zbhq5diim3s",
|
|
38
|
-
* ],
|
|
70
|
+
* enabled: "off",
|
|
71
|
+
* certificateSource: "alb",
|
|
72
|
+
* certificateId: fooCertificate.id,
|
|
73
|
+
* serverGroupId: fooServerGroup.id,
|
|
39
74
|
* description: "acc test listener",
|
|
40
|
-
* customizedCfgId: fooCustomizedCfg.id,
|
|
41
75
|
* });
|
|
42
76
|
* ```
|
|
43
77
|
*
|
|
@@ -81,7 +115,9 @@ class Listener extends pulumi.CustomResource {
|
|
|
81
115
|
resourceInputs["aclStatus"] = state ? state.aclStatus : undefined;
|
|
82
116
|
resourceInputs["aclType"] = state ? state.aclType : undefined;
|
|
83
117
|
resourceInputs["caCertificateId"] = state ? state.caCertificateId : undefined;
|
|
118
|
+
resourceInputs["certCenterCertificateId"] = state ? state.certCenterCertificateId : undefined;
|
|
84
119
|
resourceInputs["certificateId"] = state ? state.certificateId : undefined;
|
|
120
|
+
resourceInputs["certificateSource"] = state ? state.certificateSource : undefined;
|
|
85
121
|
resourceInputs["customizedCfgId"] = state ? state.customizedCfgId : undefined;
|
|
86
122
|
resourceInputs["description"] = state ? state.description : undefined;
|
|
87
123
|
resourceInputs["enableHttp2"] = state ? state.enableHttp2 : undefined;
|
|
@@ -112,7 +148,9 @@ class Listener extends pulumi.CustomResource {
|
|
|
112
148
|
resourceInputs["aclStatus"] = args ? args.aclStatus : undefined;
|
|
113
149
|
resourceInputs["aclType"] = args ? args.aclType : undefined;
|
|
114
150
|
resourceInputs["caCertificateId"] = args ? args.caCertificateId : undefined;
|
|
151
|
+
resourceInputs["certCenterCertificateId"] = args ? args.certCenterCertificateId : undefined;
|
|
115
152
|
resourceInputs["certificateId"] = args ? args.certificateId : undefined;
|
|
153
|
+
resourceInputs["certificateSource"] = args ? args.certificateSource : undefined;
|
|
116
154
|
resourceInputs["customizedCfgId"] = args ? args.customizedCfgId : undefined;
|
|
117
155
|
resourceInputs["description"] = args ? args.description : undefined;
|
|
118
156
|
resourceInputs["enableHttp2"] = args ? args.enableHttp2 : undefined;
|
package/alb/listener.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listener.js","sourceRoot":"","sources":["../../alb/listener.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"listener.js","sourceRoot":"","sources":["../../alb/listener.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6EG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;QACnH,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/D,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,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;IAmFD,YAAY,IAAY,EAAE,WAA0C,EAAE,IAAmC;QACrG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAA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G,kCAAkC,CAAC"}
|
package/cr/endpoint.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
2
4
|
/**
|
|
3
5
|
* Provides a resource to manage cr endpoint
|
|
4
6
|
* ## Example Usage
|
|
@@ -37,6 +39,10 @@ export declare class Endpoint extends pulumi.CustomResource {
|
|
|
37
39
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
38
40
|
*/
|
|
39
41
|
static isInstance(obj: any): obj is Endpoint;
|
|
42
|
+
/**
|
|
43
|
+
* The list of acl policies.
|
|
44
|
+
*/
|
|
45
|
+
readonly aclPolicies: pulumi.Output<outputs.cr.EndpointAclPolicy[]>;
|
|
40
46
|
/**
|
|
41
47
|
* Whether enable public endpoint.
|
|
42
48
|
*/
|
|
@@ -62,6 +68,10 @@ export declare class Endpoint extends pulumi.CustomResource {
|
|
|
62
68
|
* Input properties used for looking up and filtering Endpoint resources.
|
|
63
69
|
*/
|
|
64
70
|
export interface EndpointState {
|
|
71
|
+
/**
|
|
72
|
+
* The list of acl policies.
|
|
73
|
+
*/
|
|
74
|
+
aclPolicies?: pulumi.Input<pulumi.Input<inputs.cr.EndpointAclPolicy>[]>;
|
|
65
75
|
/**
|
|
66
76
|
* Whether enable public endpoint.
|
|
67
77
|
*/
|
package/cr/endpoint.js
CHANGED
|
@@ -55,6 +55,7 @@ class Endpoint extends pulumi.CustomResource {
|
|
|
55
55
|
opts = opts || {};
|
|
56
56
|
if (opts.id) {
|
|
57
57
|
const state = argsOrState;
|
|
58
|
+
resourceInputs["aclPolicies"] = state ? state.aclPolicies : undefined;
|
|
58
59
|
resourceInputs["enabled"] = state ? state.enabled : undefined;
|
|
59
60
|
resourceInputs["registry"] = state ? state.registry : undefined;
|
|
60
61
|
resourceInputs["status"] = state ? state.status : undefined;
|
|
@@ -66,6 +67,7 @@ class Endpoint extends pulumi.CustomResource {
|
|
|
66
67
|
}
|
|
67
68
|
resourceInputs["enabled"] = args ? args.enabled : undefined;
|
|
68
69
|
resourceInputs["registry"] = args ? args.registry : undefined;
|
|
70
|
+
resourceInputs["aclPolicies"] = undefined /*out*/;
|
|
69
71
|
resourceInputs["status"] = undefined /*out*/;
|
|
70
72
|
}
|
|
71
73
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
package/cr/endpoint.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"endpoint.js","sourceRoot":"","sources":["../../cr/endpoint.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;
|
|
1
|
+
{"version":3,"file":"endpoint.js","sourceRoot":"","sources":["../../cr/endpoint.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;QACnH,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/D,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,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;IA2BD,YAAY,IAAY,EAAE,WAA0C,EAAE,IAAmC;QACrG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAA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C;IAC7D,CAAC;;AA1EL,4BA2EC;AA7DG,gBAAgB;AACO,qBAAY,GAAG,iCAAiC,CAAC"}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides a resource to manage cr endpoint acl policy
|
|
4
|
+
* ## Example Usage
|
|
5
|
+
*
|
|
6
|
+
* ```typescript
|
|
7
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
8
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
9
|
+
*
|
|
10
|
+
* const fooRegistry = new volcengine.cr.Registry("fooRegistry", {project: "default"});
|
|
11
|
+
* const fooEndpoint = new volcengine.cr.Endpoint("fooEndpoint", {
|
|
12
|
+
* registry: fooRegistry.id,
|
|
13
|
+
* enabled: true,
|
|
14
|
+
* });
|
|
15
|
+
* const fooEndpointAclPolicy: volcengine.cr.EndpointAclPolicy[] = [];
|
|
16
|
+
* for (const range = {value: 0}; range.value < 3; range.value++) {
|
|
17
|
+
* fooEndpointAclPolicy.push(new volcengine.cr.EndpointAclPolicy(`fooEndpointAclPolicy-${range.value}`, {
|
|
18
|
+
* registry: fooEndpoint.registry,
|
|
19
|
+
* type: "Public",
|
|
20
|
+
* entry: `192.168.0.${range.value}`,
|
|
21
|
+
* description: `test-${range.value}`,
|
|
22
|
+
* }));
|
|
23
|
+
* }
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* ## Import
|
|
27
|
+
*
|
|
28
|
+
* CrEndpointAclPolicy can be imported using the registry:entry, e.g.
|
|
29
|
+
*
|
|
30
|
+
* ```sh
|
|
31
|
+
* $ pulumi import volcengine:cr/endpointAclPolicy:EndpointAclPolicy default resource_id
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
export declare class EndpointAclPolicy extends pulumi.CustomResource {
|
|
35
|
+
/**
|
|
36
|
+
* Get an existing EndpointAclPolicy 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: string, id: pulumi.Input<pulumi.ID>, state?: EndpointAclPolicyState, opts?: pulumi.CustomResourceOptions): EndpointAclPolicy;
|
|
45
|
+
/**
|
|
46
|
+
* Returns true if the given object is an instance of EndpointAclPolicy. This is designed to work even
|
|
47
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
48
|
+
*/
|
|
49
|
+
static isInstance(obj: any): obj is EndpointAclPolicy;
|
|
50
|
+
/**
|
|
51
|
+
* The description of the acl policy.
|
|
52
|
+
*/
|
|
53
|
+
readonly description: pulumi.Output<string>;
|
|
54
|
+
/**
|
|
55
|
+
* The ip list of the acl policy.
|
|
56
|
+
*/
|
|
57
|
+
readonly entry: pulumi.Output<string>;
|
|
58
|
+
/**
|
|
59
|
+
* The registry name.
|
|
60
|
+
*/
|
|
61
|
+
readonly registry: pulumi.Output<string>;
|
|
62
|
+
/**
|
|
63
|
+
* The type of the acl policy. Valid values: `Public`.
|
|
64
|
+
*/
|
|
65
|
+
readonly type: pulumi.Output<string>;
|
|
66
|
+
/**
|
|
67
|
+
* Create a EndpointAclPolicy resource with the given unique name, arguments, and options.
|
|
68
|
+
*
|
|
69
|
+
* @param name The _unique_ name of the resource.
|
|
70
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
71
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
72
|
+
*/
|
|
73
|
+
constructor(name: string, args: EndpointAclPolicyArgs, opts?: pulumi.CustomResourceOptions);
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Input properties used for looking up and filtering EndpointAclPolicy resources.
|
|
77
|
+
*/
|
|
78
|
+
export interface EndpointAclPolicyState {
|
|
79
|
+
/**
|
|
80
|
+
* The description of the acl policy.
|
|
81
|
+
*/
|
|
82
|
+
description?: pulumi.Input<string>;
|
|
83
|
+
/**
|
|
84
|
+
* The ip list of the acl policy.
|
|
85
|
+
*/
|
|
86
|
+
entry?: pulumi.Input<string>;
|
|
87
|
+
/**
|
|
88
|
+
* The registry name.
|
|
89
|
+
*/
|
|
90
|
+
registry?: pulumi.Input<string>;
|
|
91
|
+
/**
|
|
92
|
+
* The type of the acl policy. Valid values: `Public`.
|
|
93
|
+
*/
|
|
94
|
+
type?: pulumi.Input<string>;
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* The set of arguments for constructing a EndpointAclPolicy resource.
|
|
98
|
+
*/
|
|
99
|
+
export interface EndpointAclPolicyArgs {
|
|
100
|
+
/**
|
|
101
|
+
* The description of the acl policy.
|
|
102
|
+
*/
|
|
103
|
+
description: pulumi.Input<string>;
|
|
104
|
+
/**
|
|
105
|
+
* The ip list of the acl policy.
|
|
106
|
+
*/
|
|
107
|
+
entry: pulumi.Input<string>;
|
|
108
|
+
/**
|
|
109
|
+
* The registry name.
|
|
110
|
+
*/
|
|
111
|
+
registry: pulumi.Input<string>;
|
|
112
|
+
/**
|
|
113
|
+
* The type of the acl policy. Valid values: `Public`.
|
|
114
|
+
*/
|
|
115
|
+
type: pulumi.Input<string>;
|
|
116
|
+
}
|
|
@@ -0,0 +1,99 @@
|
|
|
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.EndpointAclPolicy = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a resource to manage cr endpoint acl policy
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
15
|
+
*
|
|
16
|
+
* const fooRegistry = new volcengine.cr.Registry("fooRegistry", {project: "default"});
|
|
17
|
+
* const fooEndpoint = new volcengine.cr.Endpoint("fooEndpoint", {
|
|
18
|
+
* registry: fooRegistry.id,
|
|
19
|
+
* enabled: true,
|
|
20
|
+
* });
|
|
21
|
+
* const fooEndpointAclPolicy: volcengine.cr.EndpointAclPolicy[] = [];
|
|
22
|
+
* for (const range = {value: 0}; range.value < 3; range.value++) {
|
|
23
|
+
* fooEndpointAclPolicy.push(new volcengine.cr.EndpointAclPolicy(`fooEndpointAclPolicy-${range.value}`, {
|
|
24
|
+
* registry: fooEndpoint.registry,
|
|
25
|
+
* type: "Public",
|
|
26
|
+
* entry: `192.168.0.${range.value}`,
|
|
27
|
+
* description: `test-${range.value}`,
|
|
28
|
+
* }));
|
|
29
|
+
* }
|
|
30
|
+
* ```
|
|
31
|
+
*
|
|
32
|
+
* ## Import
|
|
33
|
+
*
|
|
34
|
+
* CrEndpointAclPolicy can be imported using the registry:entry, e.g.
|
|
35
|
+
*
|
|
36
|
+
* ```sh
|
|
37
|
+
* $ pulumi import volcengine:cr/endpointAclPolicy:EndpointAclPolicy default resource_id
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
class EndpointAclPolicy extends pulumi.CustomResource {
|
|
41
|
+
/**
|
|
42
|
+
* Get an existing EndpointAclPolicy resource's state with the given name, ID, and optional extra
|
|
43
|
+
* properties used to qualify the lookup.
|
|
44
|
+
*
|
|
45
|
+
* @param name The _unique_ name of the resulting resource.
|
|
46
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
47
|
+
* @param state Any extra arguments used during the lookup.
|
|
48
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
49
|
+
*/
|
|
50
|
+
static get(name, id, state, opts) {
|
|
51
|
+
return new EndpointAclPolicy(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Returns true if the given object is an instance of EndpointAclPolicy. This is designed to work even
|
|
55
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
56
|
+
*/
|
|
57
|
+
static isInstance(obj) {
|
|
58
|
+
if (obj === undefined || obj === null) {
|
|
59
|
+
return false;
|
|
60
|
+
}
|
|
61
|
+
return obj['__pulumiType'] === EndpointAclPolicy.__pulumiType;
|
|
62
|
+
}
|
|
63
|
+
constructor(name, argsOrState, opts) {
|
|
64
|
+
let resourceInputs = {};
|
|
65
|
+
opts = opts || {};
|
|
66
|
+
if (opts.id) {
|
|
67
|
+
const state = argsOrState;
|
|
68
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
69
|
+
resourceInputs["entry"] = state ? state.entry : undefined;
|
|
70
|
+
resourceInputs["registry"] = state ? state.registry : undefined;
|
|
71
|
+
resourceInputs["type"] = state ? state.type : undefined;
|
|
72
|
+
}
|
|
73
|
+
else {
|
|
74
|
+
const args = argsOrState;
|
|
75
|
+
if ((!args || args.description === undefined) && !opts.urn) {
|
|
76
|
+
throw new Error("Missing required property 'description'");
|
|
77
|
+
}
|
|
78
|
+
if ((!args || args.entry === undefined) && !opts.urn) {
|
|
79
|
+
throw new Error("Missing required property 'entry'");
|
|
80
|
+
}
|
|
81
|
+
if ((!args || args.registry === undefined) && !opts.urn) {
|
|
82
|
+
throw new Error("Missing required property 'registry'");
|
|
83
|
+
}
|
|
84
|
+
if ((!args || args.type === undefined) && !opts.urn) {
|
|
85
|
+
throw new Error("Missing required property 'type'");
|
|
86
|
+
}
|
|
87
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
88
|
+
resourceInputs["entry"] = args ? args.entry : undefined;
|
|
89
|
+
resourceInputs["registry"] = args ? args.registry : undefined;
|
|
90
|
+
resourceInputs["type"] = args ? args.type : undefined;
|
|
91
|
+
}
|
|
92
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
93
|
+
super(EndpointAclPolicy.__pulumiType, name, resourceInputs, opts);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
exports.EndpointAclPolicy = EndpointAclPolicy;
|
|
97
|
+
/** @internal */
|
|
98
|
+
EndpointAclPolicy.__pulumiType = 'volcengine:cr/endpointAclPolicy:EndpointAclPolicy';
|
|
99
|
+
//# sourceMappingURL=endpointAclPolicy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"endpointAclPolicy.js","sourceRoot":"","sources":["../../cr/endpointAclPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACxE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,iBAAiB,CAAC,YAAY,CAAC;IAClE,CAAC;IA2BD,YAAY,IAAY,EAAE,WAA4D,EAAE,IAAmC;QACvH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAiD,CAAC;YAChE,cAAc,CAAC,aAAa,CAAC,GAAG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c,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SACzD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;;AAnFL,8CAoFC;AAtEG,gBAAgB;AACO,8BAAY,GAAG,mDAAmD,CAAC"}
|
package/cr/index.d.ts
CHANGED
|
@@ -4,6 +4,9 @@ export declare const authorizationTokensOutput: typeof import("./authorizationTo
|
|
|
4
4
|
export { EndpointArgs, EndpointState } from "./endpoint";
|
|
5
5
|
export type Endpoint = import("./endpoint").Endpoint;
|
|
6
6
|
export declare const Endpoint: typeof import("./endpoint").Endpoint;
|
|
7
|
+
export { EndpointAclPolicyArgs, EndpointAclPolicyState } from "./endpointAclPolicy";
|
|
8
|
+
export type EndpointAclPolicy = import("./endpointAclPolicy").EndpointAclPolicy;
|
|
9
|
+
export declare const EndpointAclPolicy: typeof import("./endpointAclPolicy").EndpointAclPolicy;
|
|
7
10
|
export { EndpointsArgs, EndpointsResult, EndpointsOutputArgs } from "./endpoints";
|
|
8
11
|
export declare const endpoints: typeof import("./endpoints").endpoints;
|
|
9
12
|
export declare const endpointsOutput: typeof import("./endpoints").endpointsOutput;
|
package/cr/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.vpcEndpointsOutput = exports.vpcEndpoints = exports.VpcEndpoint = exports.tagsOutput = exports.tags = exports.Tag = exports.State = exports.Repository = exports.repositoriesOutput = exports.repositories = exports.Registry = exports.registriesOutput = exports.registries = exports.namespacesOutput = exports.namespaces = exports.Namespace = exports.endpointsOutput = exports.endpoints = exports.Endpoint = exports.authorizationTokensOutput = exports.authorizationTokens = void 0;
|
|
5
|
+
exports.vpcEndpointsOutput = exports.vpcEndpoints = exports.VpcEndpoint = exports.tagsOutput = exports.tags = exports.Tag = exports.State = exports.Repository = exports.repositoriesOutput = exports.repositories = exports.Registry = exports.registriesOutput = exports.registries = exports.namespacesOutput = exports.namespaces = exports.Namespace = exports.endpointsOutput = exports.endpoints = exports.EndpointAclPolicy = exports.Endpoint = exports.authorizationTokensOutput = exports.authorizationTokens = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
exports.authorizationTokens = null;
|
|
@@ -10,6 +10,8 @@ exports.authorizationTokensOutput = null;
|
|
|
10
10
|
utilities.lazyLoad(exports, ["authorizationTokens", "authorizationTokensOutput"], () => require("./authorizationTokens"));
|
|
11
11
|
exports.Endpoint = null;
|
|
12
12
|
utilities.lazyLoad(exports, ["Endpoint"], () => require("./endpoint"));
|
|
13
|
+
exports.EndpointAclPolicy = null;
|
|
14
|
+
utilities.lazyLoad(exports, ["EndpointAclPolicy"], () => require("./endpointAclPolicy"));
|
|
13
15
|
exports.endpoints = null;
|
|
14
16
|
exports.endpointsOutput = null;
|
|
15
17
|
utilities.lazyLoad(exports, ["endpoints", "endpointsOutput"], () => require("./endpoints"));
|
|
@@ -46,6 +48,8 @@ const _module = {
|
|
|
46
48
|
switch (type) {
|
|
47
49
|
case "volcengine:cr/endpoint:Endpoint":
|
|
48
50
|
return new exports.Endpoint(name, undefined, { urn });
|
|
51
|
+
case "volcengine:cr/endpointAclPolicy:EndpointAclPolicy":
|
|
52
|
+
return new exports.EndpointAclPolicy(name, undefined, { urn });
|
|
49
53
|
case "volcengine:cr/namespace:Namespace":
|
|
50
54
|
return new exports.Namespace(name, undefined, { urn });
|
|
51
55
|
case "volcengine:cr/registry:Registry":
|
|
@@ -64,6 +68,7 @@ const _module = {
|
|
|
64
68
|
},
|
|
65
69
|
};
|
|
66
70
|
pulumi.runtime.registerResourceModule("volcengine", "cr/endpoint", _module);
|
|
71
|
+
pulumi.runtime.registerResourceModule("volcengine", "cr/endpointAclPolicy", _module);
|
|
67
72
|
pulumi.runtime.registerResourceModule("volcengine", "cr/namespace", _module);
|
|
68
73
|
pulumi.runtime.registerResourceModule("volcengine", "cr/registry", _module);
|
|
69
74
|
pulumi.runtime.registerResourceModule("volcengine", "cr/repository", _module);
|
package/cr/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../cr/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAI7B,QAAA,mBAAmB,GAA+D,IAAW,CAAC;AAC9F,QAAA,yBAAyB,GAAqE,IAAW,CAAC;AACvH,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,qBAAqB,EAAC,2BAA2B,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,uBAAuB,CAAC,CAAC,CAAC;AAI5G,QAAA,QAAQ,GAAyC,IAAW,CAAC;AAC1E,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,UAAU,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../cr/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yC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