@volcengine/pulumi 0.0.42 → 0.0.44-alpha.1768546977

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.
Files changed (108) hide show
  1. package/alb/accessLog.d.ts +60 -0
  2. package/alb/accessLog.js +57 -0
  3. package/alb/accessLog.js.map +1 -0
  4. package/alb/acl.d.ts +28 -0
  5. package/alb/acl.js +6 -0
  6. package/alb/acl.js.map +1 -1
  7. package/alb/acls.d.ts +13 -0
  8. package/alb/acls.js +1 -0
  9. package/alb/acls.js.map +1 -1
  10. package/alb/alb.d.ts +151 -4
  11. package/alb/alb.js +51 -4
  12. package/alb/alb.js.map +1 -1
  13. package/alb/albs.d.ts +24 -0
  14. package/alb/albs.js +2 -0
  15. package/alb/albs.js.map +1 -1
  16. package/alb/allCertificates.d.ts +49 -0
  17. package/alb/allCertificates.js +29 -0
  18. package/alb/allCertificates.js.map +1 -0
  19. package/alb/cacertificate.d.ts +8 -0
  20. package/alb/cacertificate.js +2 -0
  21. package/alb/cacertificate.js.map +1 -1
  22. package/alb/certificate.d.ts +26 -0
  23. package/alb/certificate.js +8 -0
  24. package/alb/certificate.js.map +1 -1
  25. package/alb/certificates.d.ts +33 -0
  26. package/alb/certificates.js +10 -0
  27. package/alb/certificates.js.map +1 -1
  28. package/alb/customizedCfg.d.ts +14 -0
  29. package/alb/customizedCfg.js +2 -0
  30. package/alb/customizedCfg.js.map +1 -1
  31. package/alb/customizedCfgs.d.ts +13 -0
  32. package/alb/customizedCfgs.js +1 -0
  33. package/alb/customizedCfgs.js.map +1 -1
  34. package/alb/getAcls.d.ts +13 -0
  35. package/alb/getAcls.js +1 -0
  36. package/alb/getAcls.js.map +1 -1
  37. package/alb/getAlbs.d.ts +24 -0
  38. package/alb/getAlbs.js +2 -0
  39. package/alb/getAlbs.js.map +1 -1
  40. package/alb/getAllCertificates.d.ts +47 -0
  41. package/alb/getAllCertificates.js +26 -0
  42. package/alb/getAllCertificates.js.map +1 -0
  43. package/alb/getCertificates.d.ts +33 -0
  44. package/alb/getCertificates.js +10 -0
  45. package/alb/getCertificates.js.map +1 -1
  46. package/alb/getCustomizedCfgs.d.ts +13 -0
  47. package/alb/getCustomizedCfgs.js +1 -0
  48. package/alb/getCustomizedCfgs.js.map +1 -1
  49. package/alb/getHealthCheckTemplates.d.ts +33 -0
  50. package/alb/getHealthCheckTemplates.js +10 -0
  51. package/alb/getHealthCheckTemplates.js.map +1 -1
  52. package/alb/getListenerHealths.d.ts +37 -0
  53. package/alb/getListenerHealths.js +22 -0
  54. package/alb/getListenerHealths.js.map +1 -0
  55. package/alb/getListeners.d.ts +25 -0
  56. package/alb/getListeners.js +2 -0
  57. package/alb/getListeners.js.map +1 -1
  58. package/alb/getServerGroupServers.d.ts +20 -0
  59. package/alb/getServerGroupServers.js +4 -0
  60. package/alb/getServerGroupServers.js.map +1 -1
  61. package/alb/getServerGroups.d.ts +25 -0
  62. package/alb/getServerGroups.js +2 -0
  63. package/alb/getServerGroups.js.map +1 -1
  64. package/alb/healthCheckTemplate.d.ts +45 -3
  65. package/alb/healthCheckTemplate.js +10 -0
  66. package/alb/healthCheckTemplate.js.map +1 -1
  67. package/alb/healthCheckTemplates.d.ts +33 -0
  68. package/alb/healthCheckTemplates.js +10 -0
  69. package/alb/healthCheckTemplates.js.map +1 -1
  70. package/alb/healthLog.d.ts +72 -0
  71. package/alb/healthLog.js +62 -0
  72. package/alb/healthLog.js.map +1 -0
  73. package/alb/index.d.ts +24 -0
  74. package/alb/index.js +34 -2
  75. package/alb/index.js.map +1 -1
  76. package/alb/listener.d.ts +101 -3
  77. package/alb/listener.js +26 -0
  78. package/alb/listener.js.map +1 -1
  79. package/alb/listenerHealths.d.ts +39 -0
  80. package/alb/listenerHealths.js +25 -0
  81. package/alb/listenerHealths.js.map +1 -0
  82. package/alb/listeners.d.ts +25 -0
  83. package/alb/listeners.js +2 -0
  84. package/alb/listeners.js.map +1 -1
  85. package/alb/replaceCertificate.d.ts +183 -0
  86. package/alb/replaceCertificate.js +82 -0
  87. package/alb/replaceCertificate.js.map +1 -0
  88. package/alb/rule.d.ts +107 -0
  89. package/alb/rule.js +47 -0
  90. package/alb/rule.js.map +1 -1
  91. package/alb/serverGroup.d.ts +60 -0
  92. package/alb/serverGroup.js +20 -0
  93. package/alb/serverGroup.js.map +1 -1
  94. package/alb/serverGroupServer.d.ts +18 -6
  95. package/alb/serverGroupServer.js +2 -0
  96. package/alb/serverGroupServer.js.map +1 -1
  97. package/alb/serverGroupServers.d.ts +20 -0
  98. package/alb/serverGroupServers.js +4 -0
  99. package/alb/serverGroupServers.js.map +1 -1
  100. package/alb/serverGroups.d.ts +25 -0
  101. package/alb/serverGroups.js +2 -0
  102. package/alb/serverGroups.js.map +1 -1
  103. package/alb/tlsAccessLog.d.ts +72 -0
  104. package/alb/tlsAccessLog.js +62 -0
  105. package/alb/tlsAccessLog.js.map +1 -0
  106. package/package.json +1 -1
  107. package/types/input.d.ts +581 -1
  108. package/types/output.d.ts +1720 -168
@@ -0,0 +1,60 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ export declare class AccessLog extends pulumi.CustomResource {
3
+ /**
4
+ * Get an existing AccessLog resource's state with the given name, ID, and optional extra
5
+ * properties used to qualify the lookup.
6
+ *
7
+ * @param name The _unique_ name of the resulting resource.
8
+ * @param id The _unique_ provider ID of the resource to lookup.
9
+ * @param state Any extra arguments used during the lookup.
10
+ * @param opts Optional settings to control the behavior of the CustomResource.
11
+ */
12
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AccessLogState, opts?: pulumi.CustomResourceOptions): AccessLog;
13
+ /**
14
+ * Returns true if the given object is an instance of AccessLog. This is designed to work even
15
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
16
+ */
17
+ static isInstance(obj: any): obj is AccessLog;
18
+ /**
19
+ * The name of the TOS bucket for storing access logs.
20
+ */
21
+ readonly bucketName: pulumi.Output<string>;
22
+ /**
23
+ * The ID of the LoadBalancer.
24
+ */
25
+ readonly loadBalancerId: pulumi.Output<string>;
26
+ /**
27
+ * Create a AccessLog resource with the given unique name, arguments, and options.
28
+ *
29
+ * @param name The _unique_ name of the resource.
30
+ * @param args The arguments to use to populate this resource's properties.
31
+ * @param opts A bag of options that control this resource's behavior.
32
+ */
33
+ constructor(name: string, args: AccessLogArgs, opts?: pulumi.CustomResourceOptions);
34
+ }
35
+ /**
36
+ * Input properties used for looking up and filtering AccessLog resources.
37
+ */
38
+ export interface AccessLogState {
39
+ /**
40
+ * The name of the TOS bucket for storing access logs.
41
+ */
42
+ bucketName?: pulumi.Input<string>;
43
+ /**
44
+ * The ID of the LoadBalancer.
45
+ */
46
+ loadBalancerId?: pulumi.Input<string>;
47
+ }
48
+ /**
49
+ * The set of arguments for constructing a AccessLog resource.
50
+ */
51
+ export interface AccessLogArgs {
52
+ /**
53
+ * The name of the TOS bucket for storing access logs.
54
+ */
55
+ bucketName: pulumi.Input<string>;
56
+ /**
57
+ * The ID of the LoadBalancer.
58
+ */
59
+ loadBalancerId: pulumi.Input<string>;
60
+ }
@@ -0,0 +1,57 @@
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.AccessLog = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ class AccessLog extends pulumi.CustomResource {
9
+ /**
10
+ * Get an existing AccessLog resource's state with the given name, ID, and optional extra
11
+ * properties used to qualify the lookup.
12
+ *
13
+ * @param name The _unique_ name of the resulting resource.
14
+ * @param id The _unique_ provider ID of the resource to lookup.
15
+ * @param state Any extra arguments used during the lookup.
16
+ * @param opts Optional settings to control the behavior of the CustomResource.
17
+ */
18
+ static get(name, id, state, opts) {
19
+ return new AccessLog(name, state, Object.assign(Object.assign({}, opts), { id: id }));
20
+ }
21
+ /**
22
+ * Returns true if the given object is an instance of AccessLog. This is designed to work even
23
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
24
+ */
25
+ static isInstance(obj) {
26
+ if (obj === undefined || obj === null) {
27
+ return false;
28
+ }
29
+ return obj['__pulumiType'] === AccessLog.__pulumiType;
30
+ }
31
+ constructor(name, argsOrState, opts) {
32
+ let resourceInputs = {};
33
+ opts = opts || {};
34
+ if (opts.id) {
35
+ const state = argsOrState;
36
+ resourceInputs["bucketName"] = state ? state.bucketName : undefined;
37
+ resourceInputs["loadBalancerId"] = state ? state.loadBalancerId : undefined;
38
+ }
39
+ else {
40
+ const args = argsOrState;
41
+ if ((!args || args.bucketName === undefined) && !opts.urn) {
42
+ throw new Error("Missing required property 'bucketName'");
43
+ }
44
+ if ((!args || args.loadBalancerId === undefined) && !opts.urn) {
45
+ throw new Error("Missing required property 'loadBalancerId'");
46
+ }
47
+ resourceInputs["bucketName"] = args ? args.bucketName : undefined;
48
+ resourceInputs["loadBalancerId"] = args ? args.loadBalancerId : undefined;
49
+ }
50
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
51
+ super(AccessLog.__pulumiType, name, resourceInputs, opts);
52
+ }
53
+ }
54
+ exports.AccessLog = AccessLog;
55
+ /** @internal */
56
+ AccessLog.__pulumiType = 'volcengine:alb/accessLog:AccessLog';
57
+ //# sourceMappingURL=accessLog.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accessLog.js","sourceRoot":"","sources":["../../alb/accessLog.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,EAAE,IAAmC;QACpH,OAAO,IAAI,SAAS,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChE,CA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S,CAAC;SAC7E;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;;AAjEL,8BAkEC;AApDG,gBAAgB;AACO,sBAAY,GAAG,oCAAoC,CAAC"}
package/alb/acl.d.ts CHANGED
@@ -69,6 +69,18 @@ export declare class Acl extends pulumi.CustomResource {
69
69
  * The project name of the Acl.
70
70
  */
71
71
  readonly projectName: pulumi.Output<string>;
72
+ /**
73
+ * The status of the Acl.
74
+ */
75
+ readonly status: pulumi.Output<string>;
76
+ /**
77
+ * Tags.
78
+ */
79
+ readonly tags: pulumi.Output<outputs.alb.AclTag[] | undefined>;
80
+ /**
81
+ * Update time of Acl.
82
+ */
83
+ readonly updateTime: pulumi.Output<string>;
72
84
  /**
73
85
  * Create a Acl resource with the given unique name, arguments, and options.
74
86
  *
@@ -102,6 +114,18 @@ export interface AclState {
102
114
  * The project name of the Acl.
103
115
  */
104
116
  projectName?: pulumi.Input<string>;
117
+ /**
118
+ * The status of the Acl.
119
+ */
120
+ status?: pulumi.Input<string>;
121
+ /**
122
+ * Tags.
123
+ */
124
+ tags?: pulumi.Input<pulumi.Input<inputs.alb.AclTag>[]>;
125
+ /**
126
+ * Update time of Acl.
127
+ */
128
+ updateTime?: pulumi.Input<string>;
105
129
  }
106
130
  /**
107
131
  * The set of arguments for constructing a Acl resource.
@@ -123,4 +147,8 @@ export interface AclArgs {
123
147
  * The project name of the Acl.
124
148
  */
125
149
  projectName?: pulumi.Input<string>;
150
+ /**
151
+ * Tags.
152
+ */
153
+ tags?: pulumi.Input<pulumi.Input<inputs.alb.AclTag>[]>;
126
154
  }
package/alb/acl.js CHANGED
@@ -70,6 +70,9 @@ class Acl extends pulumi.CustomResource {
70
70
  resourceInputs["createTime"] = state ? state.createTime : undefined;
71
71
  resourceInputs["description"] = state ? state.description : undefined;
72
72
  resourceInputs["projectName"] = state ? state.projectName : undefined;
73
+ resourceInputs["status"] = state ? state.status : undefined;
74
+ resourceInputs["tags"] = state ? state.tags : undefined;
75
+ resourceInputs["updateTime"] = state ? state.updateTime : undefined;
73
76
  }
74
77
  else {
75
78
  const args = argsOrState;
@@ -77,7 +80,10 @@ class Acl extends pulumi.CustomResource {
77
80
  resourceInputs["aclName"] = args ? args.aclName : undefined;
78
81
  resourceInputs["description"] = args ? args.description : undefined;
79
82
  resourceInputs["projectName"] = args ? args.projectName : undefined;
83
+ resourceInputs["tags"] = args ? args.tags : undefined;
80
84
  resourceInputs["createTime"] = undefined /*out*/;
85
+ resourceInputs["status"] = undefined /*out*/;
86
+ resourceInputs["updateTime"] = undefined /*out*/;
81
87
  }
82
88
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
83
89
  super(Acl.__pulumiType, name, resourceInputs, opts);
package/alb/acl.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"acl.js","sourceRoot":"","sources":["../../alb/acl.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,MAAa,GAAI,SAAQ,MAAM,CAAC,cAAc;IAC1C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgB,EAAE,IAAmC;QAC9G,OAAO,IAAI,GAAG,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC1D,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,KA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Aa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,GAAG,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxD,CAAC;;AA/FL,kBAgGC;AAlFG,gBAAgB;AACO,gBAAY,GAAG,wBAAwB,CAAC"}
package/alb/acls.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
2
3
  import * as outputs from "../types/output";
3
4
  /**
4
5
  * Use this data source to query detailed information of alb acls
@@ -36,6 +37,10 @@ export interface AclsArgs {
36
37
  * The name of project.
37
38
  */
38
39
  projectName?: string;
40
+ /**
41
+ * Tags.
42
+ */
43
+ tags?: inputs.alb.AclsTag[];
39
44
  }
40
45
  /**
41
46
  * A collection of values returned by Acls.
@@ -59,6 +64,10 @@ export interface AclsResult {
59
64
  * The project name of Acl.
60
65
  */
61
66
  readonly projectName?: string;
67
+ /**
68
+ * Tags.
69
+ */
70
+ readonly tags?: outputs.alb.AclsTag[];
62
71
  /**
63
72
  * The total count of Acl query.
64
73
  */
@@ -100,4 +109,8 @@ export interface AclsOutputArgs {
100
109
  * The name of project.
101
110
  */
102
111
  projectName?: pulumi.Input<string>;
112
+ /**
113
+ * Tags.
114
+ */
115
+ tags?: pulumi.Input<pulumi.Input<inputs.alb.AclsTagArgs>[]>;
103
116
  }
package/alb/acls.js CHANGED
@@ -29,6 +29,7 @@ function acls(args, opts) {
29
29
  "ids": args.ids,
30
30
  "outputFile": args.outputFile,
31
31
  "projectName": args.projectName,
32
+ "tags": args.tags,
32
33
  }, opts);
33
34
  }
34
35
  exports.acls = acls;
package/alb/acls.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"acls.js","sourceRoot":"","sources":["../../alb/acls.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;GAaG;AACH,6FAA6F;AAC7F,SAAgB,IAAI,CAAC,IAAe,EAAE,IAA2B;IAC7D,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,gGAAgG,CAAC,CAAA;IACjH,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,0BAA0B,EAAE;QACrD,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,oBAWC;AAmDD;;;;;;;;;;;;;GAaG;AACH,6FAA6F;AAC7F,SAAgB,UAAU,CAAC,IAAqB,EAAE,IAA2B;IACzE,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,IAAI,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC/D,CAAC;AAFD,gCAEC"}
1
+ {"version":3,"file":"acls.js","sourceRoot":"","sources":["../../alb/acls.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;GAaG;AACH,6FAA6F;AAC7F,SAAgB,IAAI,CAAC,IAAe,EAAE,IAA2B;IAC7D,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,gGAAgG,CAAC,CAAA;IACjH,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,0BAA0B,EAAE;QACrD,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,oBAYC;AA2DD;;;;;;;;;;;;;GAaG;AACH,6FAA6F;AAC7F,SAAgB,UAAU,CAAC,IAAqB,EAAE,IAA2B;IACzE,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,IAAI,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC/D,CAAC;AAFD,gCAEC"}
package/alb/alb.d.ts CHANGED
@@ -43,8 +43,8 @@ import * as outputs from "../types/output";
43
43
  * projectName: "default",
44
44
  * deleteProtection: "off",
45
45
  * tags: [{
46
- * key: "k2",
47
- * value: "v2",
46
+ * key: "k1",
47
+ * value: "v1",
48
48
  * }],
49
49
  * });
50
50
  * const alb_public = new volcengine.alb.Alb("alb-public", {
@@ -58,6 +58,9 @@ import * as outputs from "../types/output";
58
58
  * ],
59
59
  * projectName: "default",
60
60
  * deleteProtection: "off",
61
+ * modificationProtectionStatus: "NonProtection",
62
+ * modificationProtectionReason: "Test modification protection",
63
+ * loadBalancerEdition: "Basic",
61
64
  * eipBillingConfig: {
62
65
  * isp: "BGP",
63
66
  * eipBillingType: "PostPaidByBandwidth",
@@ -69,12 +72,36 @@ import * as outputs from "../types/output";
69
72
  * bandwidth: 1,
70
73
  * },
71
74
  * tags: [{
72
- * key: "k2",
73
- * value: "v2",
75
+ * key: "k1",
76
+ * value: "v1",
74
77
  * }],
75
78
  * }, {
76
79
  * dependsOn: [ipv6Gateway],
77
80
  * });
81
+ * // CLone ALB instance
82
+ * const alb_cloned = new volcengine.alb.Alb("alb-cloned", {
83
+ * sourceLoadBalancerId: alb_private.id,
84
+ * loadBalancerName: "acc-test-alb-cloned",
85
+ * description: "cloned from alb-private",
86
+ * subnetIds: [subnetIpv61.id],
87
+ * type: "private",
88
+ * projectName: "default",
89
+ * });
90
+ * // Example of ALB network type change, private -> public
91
+ * const alb_type_change = new volcengine.alb.Alb("alb-type-change", {
92
+ * loadBalancerName: "acc-test-alb-type-change",
93
+ * description: "will change to public type",
94
+ * subnetIds: [
95
+ * subnetIpv61.id,
96
+ * subnetIpv62.id,
97
+ * ],
98
+ * type: "public",
99
+ * projectName: "default",
100
+ * allocationIds: [
101
+ * "eip-iinpy4k1rytc74o8curgocd7",
102
+ * "eip-iinpy4k1rytc74o8curgocd8",
103
+ * ],
104
+ * });
78
105
  * ```
79
106
  *
80
107
  * ## Import
@@ -105,6 +132,10 @@ export declare class Alb extends pulumi.CustomResource {
105
132
  * The address ip version of the Alb. Valid values: `IPv4`, `DualStack`. Default is `ipv4`.
106
133
  */
107
134
  readonly addressIpVersion: pulumi.Output<string | undefined>;
135
+ /**
136
+ * The ID of the public IP. This field is only valid when the type field changes from private to public.
137
+ */
138
+ readonly allocationIds: pulumi.Output<string[] | undefined>;
108
139
  /**
109
140
  * Whether to enable the delete protection function of the Alb. Valid values: `on`, `off`. Default is `off`.
110
141
  */
@@ -121,10 +152,18 @@ export declare class Alb extends pulumi.CustomResource {
121
152
  * The billing configuration of the EIP which automatically associated to the Alb. This field is valid when the type of the Alb is `public`.When the type of the Alb is `private`, suggest using a combination of resource `volcengine.eip.Address` and `volcengine.eip.Associate` to achieve public network access function.
122
153
  */
123
154
  readonly eipBillingConfig: pulumi.Output<outputs.alb.AlbEipBillingConfig>;
155
+ /**
156
+ * The global accelerator configuration.
157
+ */
158
+ readonly globalAccelerator: pulumi.Output<outputs.alb.AlbGlobalAccelerator>;
124
159
  /**
125
160
  * The billing configuration of the Ipv6 EIP which automatically associated to the Alb. This field is required when the type of the Alb is `public`.When the type of the Alb is `private`, suggest using a combination of resource `volcengine.vpc.Ipv6Gateway` and `volcengine.vpc.Ipv6AddressBandwidth` to achieve ipv6 public network access function.
126
161
  */
127
162
  readonly ipv6EipBillingConfig: pulumi.Output<outputs.alb.AlbIpv6EipBillingConfig>;
163
+ /**
164
+ * The version of the ALB instance. Basic: Basic Edition. Standard: Standard Edition. Default is `Basic`.
165
+ */
166
+ readonly loadBalancerEdition: pulumi.Output<string>;
128
167
  /**
129
168
  * The name of the Alb.
130
169
  */
@@ -133,10 +172,26 @@ export declare class Alb extends pulumi.CustomResource {
133
172
  * The local addresses of the Alb.
134
173
  */
135
174
  readonly localAddresses: pulumi.Output<string[]>;
175
+ /**
176
+ * The reason for enabling instance modification protection. This parameter is valid when the modificationProtectionStatus is `ConsoleProtection`.
177
+ */
178
+ readonly modificationProtectionReason: pulumi.Output<string>;
179
+ /**
180
+ * Whether to enable the modification protection function of the Alb. Valid values: `NonProtection`, `ConsoleProtection`. Default is `NonProtection`. NonProtection: Instance modification protection is not enabled. ConsoleProtection: Instance modification protection is enabled; you cannot modify the instance configuration through the ALB console, and can only modify the instance configuration by calling the API.
181
+ */
182
+ readonly modificationProtectionStatus: pulumi.Output<string>;
136
183
  /**
137
184
  * The ProjectName of the Alb.
138
185
  */
139
186
  readonly projectName: pulumi.Output<string>;
187
+ /**
188
+ * ALB can support the Proxy Protocol and record the real IP of the client.
189
+ */
190
+ readonly proxyProtocolEnabled: pulumi.Output<string>;
191
+ /**
192
+ * The source ALB instance ID for cloning. If specified, the ALB instance will be cloned from this source.
193
+ */
194
+ readonly sourceLoadBalancerId: pulumi.Output<string | undefined>;
140
195
  /**
141
196
  * The status of the Alb.
142
197
  */
@@ -157,6 +212,18 @@ export declare class Alb extends pulumi.CustomResource {
157
212
  * The vpc id of the Alb.
158
213
  */
159
214
  readonly vpcId: pulumi.Output<string>;
215
+ /**
216
+ * The ID of the WAF instance to be associated with the Alb. This field is valid when the value of the `wafProtectionEnabled` is `on`.
217
+ */
218
+ readonly wafInstanceId: pulumi.Output<string>;
219
+ /**
220
+ * The domain name of the WAF protected Alb. This field is valid when the value of the `wafProtectionEnabled` is `on`.
221
+ */
222
+ readonly wafProtectedDomain: pulumi.Output<string | undefined>;
223
+ /**
224
+ * Whether to enable the WAF protection function of the Alb. Valid values: `off`, `on`. Default is `off`.
225
+ */
226
+ readonly wafProtectionEnabled: pulumi.Output<string>;
160
227
  /**
161
228
  * Configuration information of the Alb instance in different Availability Zones.
162
229
  */
@@ -178,6 +245,10 @@ export interface AlbState {
178
245
  * The address ip version of the Alb. Valid values: `IPv4`, `DualStack`. Default is `ipv4`.
179
246
  */
180
247
  addressIpVersion?: pulumi.Input<string>;
248
+ /**
249
+ * The ID of the public IP. This field is only valid when the type field changes from private to public.
250
+ */
251
+ allocationIds?: pulumi.Input<pulumi.Input<string>[]>;
181
252
  /**
182
253
  * Whether to enable the delete protection function of the Alb. Valid values: `on`, `off`. Default is `off`.
183
254
  */
@@ -194,10 +265,18 @@ export interface AlbState {
194
265
  * The billing configuration of the EIP which automatically associated to the Alb. This field is valid when the type of the Alb is `public`.When the type of the Alb is `private`, suggest using a combination of resource `volcengine.eip.Address` and `volcengine.eip.Associate` to achieve public network access function.
195
266
  */
196
267
  eipBillingConfig?: pulumi.Input<inputs.alb.AlbEipBillingConfig>;
268
+ /**
269
+ * The global accelerator configuration.
270
+ */
271
+ globalAccelerator?: pulumi.Input<inputs.alb.AlbGlobalAccelerator>;
197
272
  /**
198
273
  * The billing configuration of the Ipv6 EIP which automatically associated to the Alb. This field is required when the type of the Alb is `public`.When the type of the Alb is `private`, suggest using a combination of resource `volcengine.vpc.Ipv6Gateway` and `volcengine.vpc.Ipv6AddressBandwidth` to achieve ipv6 public network access function.
199
274
  */
200
275
  ipv6EipBillingConfig?: pulumi.Input<inputs.alb.AlbIpv6EipBillingConfig>;
276
+ /**
277
+ * The version of the ALB instance. Basic: Basic Edition. Standard: Standard Edition. Default is `Basic`.
278
+ */
279
+ loadBalancerEdition?: pulumi.Input<string>;
201
280
  /**
202
281
  * The name of the Alb.
203
282
  */
@@ -206,10 +285,26 @@ export interface AlbState {
206
285
  * The local addresses of the Alb.
207
286
  */
208
287
  localAddresses?: pulumi.Input<pulumi.Input<string>[]>;
288
+ /**
289
+ * The reason for enabling instance modification protection. This parameter is valid when the modificationProtectionStatus is `ConsoleProtection`.
290
+ */
291
+ modificationProtectionReason?: pulumi.Input<string>;
292
+ /**
293
+ * Whether to enable the modification protection function of the Alb. Valid values: `NonProtection`, `ConsoleProtection`. Default is `NonProtection`. NonProtection: Instance modification protection is not enabled. ConsoleProtection: Instance modification protection is enabled; you cannot modify the instance configuration through the ALB console, and can only modify the instance configuration by calling the API.
294
+ */
295
+ modificationProtectionStatus?: pulumi.Input<string>;
209
296
  /**
210
297
  * The ProjectName of the Alb.
211
298
  */
212
299
  projectName?: pulumi.Input<string>;
300
+ /**
301
+ * ALB can support the Proxy Protocol and record the real IP of the client.
302
+ */
303
+ proxyProtocolEnabled?: pulumi.Input<string>;
304
+ /**
305
+ * The source ALB instance ID for cloning. If specified, the ALB instance will be cloned from this source.
306
+ */
307
+ sourceLoadBalancerId?: pulumi.Input<string>;
213
308
  /**
214
309
  * The status of the Alb.
215
310
  */
@@ -230,6 +325,18 @@ export interface AlbState {
230
325
  * The vpc id of the Alb.
231
326
  */
232
327
  vpcId?: pulumi.Input<string>;
328
+ /**
329
+ * The ID of the WAF instance to be associated with the Alb. This field is valid when the value of the `wafProtectionEnabled` is `on`.
330
+ */
331
+ wafInstanceId?: pulumi.Input<string>;
332
+ /**
333
+ * The domain name of the WAF protected Alb. This field is valid when the value of the `wafProtectionEnabled` is `on`.
334
+ */
335
+ wafProtectedDomain?: pulumi.Input<string>;
336
+ /**
337
+ * Whether to enable the WAF protection function of the Alb. Valid values: `off`, `on`. Default is `off`.
338
+ */
339
+ wafProtectionEnabled?: pulumi.Input<string>;
233
340
  /**
234
341
  * Configuration information of the Alb instance in different Availability Zones.
235
342
  */
@@ -243,6 +350,10 @@ export interface AlbArgs {
243
350
  * The address ip version of the Alb. Valid values: `IPv4`, `DualStack`. Default is `ipv4`.
244
351
  */
245
352
  addressIpVersion?: pulumi.Input<string>;
353
+ /**
354
+ * The ID of the public IP. This field is only valid when the type field changes from private to public.
355
+ */
356
+ allocationIds?: pulumi.Input<pulumi.Input<string>[]>;
246
357
  /**
247
358
  * Whether to enable the delete protection function of the Alb. Valid values: `on`, `off`. Default is `off`.
248
359
  */
@@ -255,18 +366,42 @@ export interface AlbArgs {
255
366
  * The billing configuration of the EIP which automatically associated to the Alb. This field is valid when the type of the Alb is `public`.When the type of the Alb is `private`, suggest using a combination of resource `volcengine.eip.Address` and `volcengine.eip.Associate` to achieve public network access function.
256
367
  */
257
368
  eipBillingConfig?: pulumi.Input<inputs.alb.AlbEipBillingConfig>;
369
+ /**
370
+ * The global accelerator configuration.
371
+ */
372
+ globalAccelerator?: pulumi.Input<inputs.alb.AlbGlobalAccelerator>;
258
373
  /**
259
374
  * The billing configuration of the Ipv6 EIP which automatically associated to the Alb. This field is required when the type of the Alb is `public`.When the type of the Alb is `private`, suggest using a combination of resource `volcengine.vpc.Ipv6Gateway` and `volcengine.vpc.Ipv6AddressBandwidth` to achieve ipv6 public network access function.
260
375
  */
261
376
  ipv6EipBillingConfig?: pulumi.Input<inputs.alb.AlbIpv6EipBillingConfig>;
377
+ /**
378
+ * The version of the ALB instance. Basic: Basic Edition. Standard: Standard Edition. Default is `Basic`.
379
+ */
380
+ loadBalancerEdition?: pulumi.Input<string>;
262
381
  /**
263
382
  * The name of the Alb.
264
383
  */
265
384
  loadBalancerName?: pulumi.Input<string>;
385
+ /**
386
+ * The reason for enabling instance modification protection. This parameter is valid when the modificationProtectionStatus is `ConsoleProtection`.
387
+ */
388
+ modificationProtectionReason?: pulumi.Input<string>;
389
+ /**
390
+ * Whether to enable the modification protection function of the Alb. Valid values: `NonProtection`, `ConsoleProtection`. Default is `NonProtection`. NonProtection: Instance modification protection is not enabled. ConsoleProtection: Instance modification protection is enabled; you cannot modify the instance configuration through the ALB console, and can only modify the instance configuration by calling the API.
391
+ */
392
+ modificationProtectionStatus?: pulumi.Input<string>;
266
393
  /**
267
394
  * The ProjectName of the Alb.
268
395
  */
269
396
  projectName?: pulumi.Input<string>;
397
+ /**
398
+ * ALB can support the Proxy Protocol and record the real IP of the client.
399
+ */
400
+ proxyProtocolEnabled?: pulumi.Input<string>;
401
+ /**
402
+ * The source ALB instance ID for cloning. If specified, the ALB instance will be cloned from this source.
403
+ */
404
+ sourceLoadBalancerId?: pulumi.Input<string>;
270
405
  /**
271
406
  * The id of the Subnet.
272
407
  */
@@ -279,4 +414,16 @@ export interface AlbArgs {
279
414
  * The type of the Alb. Valid values: `public`, `private`.
280
415
  */
281
416
  type: pulumi.Input<string>;
417
+ /**
418
+ * The ID of the WAF instance to be associated with the Alb. This field is valid when the value of the `wafProtectionEnabled` is `on`.
419
+ */
420
+ wafInstanceId?: pulumi.Input<string>;
421
+ /**
422
+ * The domain name of the WAF protected Alb. This field is valid when the value of the `wafProtectionEnabled` is `on`.
423
+ */
424
+ wafProtectedDomain?: pulumi.Input<string>;
425
+ /**
426
+ * Whether to enable the WAF protection function of the Alb. Valid values: `off`, `on`. Default is `off`.
427
+ */
428
+ wafProtectionEnabled?: pulumi.Input<string>;
282
429
  }
package/alb/alb.js CHANGED
@@ -47,8 +47,8 @@ const utilities = require("../utilities");
47
47
  * projectName: "default",
48
48
  * deleteProtection: "off",
49
49
  * tags: [{
50
- * key: "k2",
51
- * value: "v2",
50
+ * key: "k1",
51
+ * value: "v1",
52
52
  * }],
53
53
  * });
54
54
  * const alb_public = new volcengine.alb.Alb("alb-public", {
@@ -62,6 +62,9 @@ const utilities = require("../utilities");
62
62
  * ],
63
63
  * projectName: "default",
64
64
  * deleteProtection: "off",
65
+ * modificationProtectionStatus: "NonProtection",
66
+ * modificationProtectionReason: "Test modification protection",
67
+ * loadBalancerEdition: "Basic",
65
68
  * eipBillingConfig: {
66
69
  * isp: "BGP",
67
70
  * eipBillingType: "PostPaidByBandwidth",
@@ -73,12 +76,36 @@ const utilities = require("../utilities");
73
76
  * bandwidth: 1,
74
77
  * },
75
78
  * tags: [{
76
- * key: "k2",
77
- * value: "v2",
79
+ * key: "k1",
80
+ * value: "v1",
78
81
  * }],
79
82
  * }, {
80
83
  * dependsOn: [ipv6Gateway],
81
84
  * });
85
+ * // CLone ALB instance
86
+ * const alb_cloned = new volcengine.alb.Alb("alb-cloned", {
87
+ * sourceLoadBalancerId: alb_private.id,
88
+ * loadBalancerName: "acc-test-alb-cloned",
89
+ * description: "cloned from alb-private",
90
+ * subnetIds: [subnetIpv61.id],
91
+ * type: "private",
92
+ * projectName: "default",
93
+ * });
94
+ * // Example of ALB network type change, private -> public
95
+ * const alb_type_change = new volcengine.alb.Alb("alb-type-change", {
96
+ * loadBalancerName: "acc-test-alb-type-change",
97
+ * description: "will change to public type",
98
+ * subnetIds: [
99
+ * subnetIpv61.id,
100
+ * subnetIpv62.id,
101
+ * ],
102
+ * type: "public",
103
+ * projectName: "default",
104
+ * allocationIds: [
105
+ * "eip-iinpy4k1rytc74o8curgocd7",
106
+ * "eip-iinpy4k1rytc74o8curgocd8",
107
+ * ],
108
+ * });
82
109
  * ```
83
110
  *
84
111
  * ## Import
@@ -118,19 +145,29 @@ class Alb extends pulumi.CustomResource {
118
145
  if (opts.id) {
119
146
  const state = argsOrState;
120
147
  resourceInputs["addressIpVersion"] = state ? state.addressIpVersion : undefined;
148
+ resourceInputs["allocationIds"] = state ? state.allocationIds : undefined;
121
149
  resourceInputs["deleteProtection"] = state ? state.deleteProtection : undefined;
122
150
  resourceInputs["description"] = state ? state.description : undefined;
123
151
  resourceInputs["dnsName"] = state ? state.dnsName : undefined;
124
152
  resourceInputs["eipBillingConfig"] = state ? state.eipBillingConfig : undefined;
153
+ resourceInputs["globalAccelerator"] = state ? state.globalAccelerator : undefined;
125
154
  resourceInputs["ipv6EipBillingConfig"] = state ? state.ipv6EipBillingConfig : undefined;
155
+ resourceInputs["loadBalancerEdition"] = state ? state.loadBalancerEdition : undefined;
126
156
  resourceInputs["loadBalancerName"] = state ? state.loadBalancerName : undefined;
127
157
  resourceInputs["localAddresses"] = state ? state.localAddresses : undefined;
158
+ resourceInputs["modificationProtectionReason"] = state ? state.modificationProtectionReason : undefined;
159
+ resourceInputs["modificationProtectionStatus"] = state ? state.modificationProtectionStatus : undefined;
128
160
  resourceInputs["projectName"] = state ? state.projectName : undefined;
161
+ resourceInputs["proxyProtocolEnabled"] = state ? state.proxyProtocolEnabled : undefined;
162
+ resourceInputs["sourceLoadBalancerId"] = state ? state.sourceLoadBalancerId : undefined;
129
163
  resourceInputs["status"] = state ? state.status : undefined;
130
164
  resourceInputs["subnetIds"] = state ? state.subnetIds : undefined;
131
165
  resourceInputs["tags"] = state ? state.tags : undefined;
132
166
  resourceInputs["type"] = state ? state.type : undefined;
133
167
  resourceInputs["vpcId"] = state ? state.vpcId : undefined;
168
+ resourceInputs["wafInstanceId"] = state ? state.wafInstanceId : undefined;
169
+ resourceInputs["wafProtectedDomain"] = state ? state.wafProtectedDomain : undefined;
170
+ resourceInputs["wafProtectionEnabled"] = state ? state.wafProtectionEnabled : undefined;
134
171
  resourceInputs["zoneMappings"] = state ? state.zoneMappings : undefined;
135
172
  }
136
173
  else {
@@ -142,15 +179,25 @@ class Alb extends pulumi.CustomResource {
142
179
  throw new Error("Missing required property 'type'");
143
180
  }
144
181
  resourceInputs["addressIpVersion"] = args ? args.addressIpVersion : undefined;
182
+ resourceInputs["allocationIds"] = args ? args.allocationIds : undefined;
145
183
  resourceInputs["deleteProtection"] = args ? args.deleteProtection : undefined;
146
184
  resourceInputs["description"] = args ? args.description : undefined;
147
185
  resourceInputs["eipBillingConfig"] = args ? args.eipBillingConfig : undefined;
186
+ resourceInputs["globalAccelerator"] = args ? args.globalAccelerator : undefined;
148
187
  resourceInputs["ipv6EipBillingConfig"] = args ? args.ipv6EipBillingConfig : undefined;
188
+ resourceInputs["loadBalancerEdition"] = args ? args.loadBalancerEdition : undefined;
149
189
  resourceInputs["loadBalancerName"] = args ? args.loadBalancerName : undefined;
190
+ resourceInputs["modificationProtectionReason"] = args ? args.modificationProtectionReason : undefined;
191
+ resourceInputs["modificationProtectionStatus"] = args ? args.modificationProtectionStatus : undefined;
150
192
  resourceInputs["projectName"] = args ? args.projectName : undefined;
193
+ resourceInputs["proxyProtocolEnabled"] = args ? args.proxyProtocolEnabled : undefined;
194
+ resourceInputs["sourceLoadBalancerId"] = args ? args.sourceLoadBalancerId : undefined;
151
195
  resourceInputs["subnetIds"] = args ? args.subnetIds : undefined;
152
196
  resourceInputs["tags"] = args ? args.tags : undefined;
153
197
  resourceInputs["type"] = args ? args.type : undefined;
198
+ resourceInputs["wafInstanceId"] = args ? args.wafInstanceId : undefined;
199
+ resourceInputs["wafProtectedDomain"] = args ? args.wafProtectedDomain : undefined;
200
+ resourceInputs["wafProtectionEnabled"] = args ? args.wafProtectionEnabled : undefined;
154
201
  resourceInputs["dnsName"] = undefined /*out*/;
155
202
  resourceInputs["localAddresses"] = undefined /*out*/;
156
203
  resourceInputs["status"] = undefined /*out*/;