@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.
Files changed (164) hide show
  1. package/alb/acl.d.ts +126 -0
  2. package/alb/acl.js +89 -0
  3. package/alb/acl.js.map +1 -0
  4. package/alb/acls.d.ts +101 -0
  5. package/alb/acls.js +51 -0
  6. package/alb/acls.js.map +1 -0
  7. package/alb/alb.d.ts +282 -0
  8. package/alb/alb.js +167 -0
  9. package/alb/alb.js.map +1 -0
  10. package/alb/albs.d.ts +216 -0
  11. package/alb/albs.js +127 -0
  12. package/alb/albs.js.map +1 -0
  13. package/alb/caCertificates.d.ts +108 -0
  14. package/alb/caCertificates.js +50 -0
  15. package/alb/caCertificates.js.map +1 -0
  16. package/alb/cacertificate.d.ts +158 -0
  17. package/alb/cacertificate.js +96 -0
  18. package/alb/cacertificate.js.map +1 -0
  19. package/alb/certificate.d.ts +167 -0
  20. package/alb/certificate.js +98 -0
  21. package/alb/certificate.js.map +1 -0
  22. package/alb/certificates.d.ts +87 -0
  23. package/alb/certificates.js +48 -0
  24. package/alb/certificates.js.map +1 -0
  25. package/alb/customizedCfg.d.ts +108 -0
  26. package/alb/customizedCfg.js +85 -0
  27. package/alb/customizedCfg.js.map +1 -0
  28. package/alb/customizedCfgs.d.ts +116 -0
  29. package/alb/customizedCfgs.js +47 -0
  30. package/alb/customizedCfgs.js.map +1 -0
  31. package/alb/healthCheckTemplate.d.ts +212 -0
  32. package/alb/healthCheckTemplate.js +106 -0
  33. package/alb/healthCheckTemplate.js.map +1 -0
  34. package/alb/healthCheckTemplates.d.ts +96 -0
  35. package/alb/healthCheckTemplates.js +49 -0
  36. package/alb/healthCheckTemplates.js.map +1 -0
  37. package/alb/index.d.ts +69 -0
  38. package/alb/index.js +108 -0
  39. package/alb/index.js.map +1 -0
  40. package/alb/listener.d.ts +268 -0
  41. package/alb/listener.js +135 -0
  42. package/alb/listener.js.map +1 -0
  43. package/alb/listenerDomainExtension.d.ts +119 -0
  44. package/alb/listenerDomainExtension.js +103 -0
  45. package/alb/listenerDomainExtension.js.map +1 -0
  46. package/alb/listenerDomainExtensions.d.ts +78 -0
  47. package/alb/listenerDomainExtensions.js +46 -0
  48. package/alb/listenerDomainExtensions.js.map +1 -0
  49. package/alb/listeners.d.ts +100 -0
  50. package/alb/listeners.js +31 -0
  51. package/alb/listeners.js.map +1 -0
  52. package/alb/rule.d.ts +228 -0
  53. package/alb/rule.js +115 -0
  54. package/alb/rule.js.map +1 -0
  55. package/alb/rules.d.ts +75 -0
  56. package/alb/rules.js +46 -0
  57. package/alb/rules.js.map +1 -0
  58. package/alb/serverGroup.d.ts +215 -0
  59. package/alb/serverGroup.js +117 -0
  60. package/alb/serverGroup.js.map +1 -0
  61. package/alb/serverGroupServer.d.ts +155 -0
  62. package/alb/serverGroupServer.js +105 -0
  63. package/alb/serverGroupServer.js.map +1 -0
  64. package/alb/serverGroupServers.d.ts +75 -0
  65. package/alb/serverGroupServers.js +46 -0
  66. package/alb/serverGroupServers.js.map +1 -0
  67. package/alb/serverGroups.d.ts +171 -0
  68. package/alb/serverGroups.js +105 -0
  69. package/alb/serverGroups.js.map +1 -0
  70. package/alb/zones.d.ts +62 -0
  71. package/alb/zones.js +42 -0
  72. package/alb/zones.js.map +1 -0
  73. package/bandwidth_package/attachment.d.ts +103 -0
  74. package/bandwidth_package/attachment.js +100 -0
  75. package/bandwidth_package/attachment.js.map +1 -0
  76. package/bandwidth_package/bandwidthPackage.d.ts +188 -0
  77. package/bandwidth_package/bandwidthPackage.js +100 -0
  78. package/bandwidth_package/bandwidthPackage.js.map +1 -0
  79. package/bandwidth_package/bandwidthPackages.d.ts +151 -0
  80. package/bandwidth_package/bandwidthPackages.js +54 -0
  81. package/bandwidth_package/bandwidthPackages.js.map +1 -0
  82. package/bandwidth_package/index.d.ts +9 -0
  83. package/bandwidth_package/index.js +30 -0
  84. package/bandwidth_package/index.js.map +1 -0
  85. package/clb/listener.d.ts +21 -12
  86. package/clb/listener.js +2 -0
  87. package/clb/listener.js.map +1 -1
  88. package/cr/endpoint.d.ts +1 -1
  89. package/cr/endpoint.js +1 -1
  90. package/ecs/iamRoleAttachment.d.ts +133 -0
  91. package/ecs/iamRoleAttachment.js +130 -0
  92. package/ecs/iamRoleAttachment.js.map +1 -0
  93. package/ecs/index.d.ts +6 -0
  94. package/ecs/index.js +9 -1
  95. package/ecs/index.js.map +1 -1
  96. package/ecs/instance.d.ts +4 -0
  97. package/ecs/instance.js +1 -1
  98. package/ecs/instance.js.map +1 -1
  99. package/ecs/instanceTypes.d.ts +71 -0
  100. package/ecs/instanceTypes.js +43 -0
  101. package/ecs/instanceTypes.js.map +1 -0
  102. package/eip/address.d.ts +12 -0
  103. package/eip/address.js +2 -0
  104. package/eip/address.js.map +1 -1
  105. package/eip/addresses.d.ts +2 -2
  106. package/iam/user.d.ts +26 -2
  107. package/iam/user.js +6 -0
  108. package/iam/user.js.map +1 -1
  109. package/index.d.ts +3 -1
  110. package/index.js +5 -1
  111. package/index.js.map +1 -1
  112. package/mongodb/endpoint.d.ts +68 -3
  113. package/mongodb/endpoint.js +68 -3
  114. package/mongodb/endpoint.js.map +1 -1
  115. package/mongodb/endpoints.d.ts +116 -4
  116. package/mongodb/endpoints.js +116 -4
  117. package/mongodb/endpoints.js.map +1 -1
  118. package/mongodb/instance.d.ts +32 -0
  119. package/mongodb/instance.js +8 -0
  120. package/mongodb/instance.js.map +1 -1
  121. package/mongodb/instanceParameter.d.ts +41 -16
  122. package/mongodb/instanceParameter.js +35 -10
  123. package/mongodb/instanceParameter.js.map +1 -1
  124. package/mongodb/instanceParameters.d.ts +88 -8
  125. package/mongodb/instanceParameters.js +80 -6
  126. package/mongodb/instanceParameters.js.map +1 -1
  127. package/mongodb/mongoAllowList.d.ts +2 -2
  128. package/mongodb/mongoAllowList.js +2 -2
  129. package/mongodb/mongoAllowListAssociate.d.ts +40 -3
  130. package/mongodb/mongoAllowListAssociate.js +40 -3
  131. package/mongodb/mongoAllowListAssociate.js.map +1 -1
  132. package/mongodb/mongoAllowLists.d.ts +20 -6
  133. package/mongodb/mongoAllowLists.js +20 -6
  134. package/mongodb/mongoAllowLists.js.map +1 -1
  135. package/mongodb/sslState.d.ts +34 -9
  136. package/mongodb/sslState.js +31 -6
  137. package/mongodb/sslState.js.map +1 -1
  138. package/mongodb/sslStates.d.ts +68 -4
  139. package/mongodb/sslStates.js +68 -4
  140. package/mongodb/sslStates.js.map +1 -1
  141. package/nas/permissionGroup.d.ts +1 -1
  142. package/nas/permissionGroup.js +1 -1
  143. package/package.json +2 -2
  144. package/privatelink/vpcEndpointService.d.ts +5 -3
  145. package/privatelink/vpcEndpointService.js +2 -0
  146. package/privatelink/vpcEndpointService.js.map +1 -1
  147. package/privatelink/vpcEndpointServiceResource.d.ts +5 -3
  148. package/privatelink/vpcEndpointServiceResource.js +2 -0
  149. package/privatelink/vpcEndpointServiceResource.js.map +1 -1
  150. package/rds_mysql/instance.d.ts +29 -0
  151. package/rds_mysql/instance.js +9 -0
  152. package/rds_mysql/instance.js.map +1 -1
  153. package/rds_mysql/instances.d.ts +13 -0
  154. package/rds_mysql/instances.js +1 -0
  155. package/rds_mysql/instances.js.map +1 -1
  156. package/tls/alarmNotifyGroup.d.ts +6 -0
  157. package/tls/alarmNotifyGroup.js.map +1 -1
  158. package/tls/topic.d.ts +9 -3
  159. package/tls/topic.js.map +1 -1
  160. package/types/input.d.ts +345 -10
  161. package/types/output.d.ts +1643 -20
  162. package/vke/nodePool.d.ts +8 -0
  163. package/vke/nodePool.js +2 -0
  164. package/vke/nodePool.js.map +1 -1
@@ -0,0 +1,171 @@
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 server groups
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as volcengine from "@pulumi/volcengine";
10
+ * import * as volcengine from "@volcengine/pulumi";
11
+ *
12
+ * const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
13
+ * vpcName: "acc-test-vpc",
14
+ * cidrBlock: "172.16.0.0/16",
15
+ * });
16
+ * const fooServerGroup: volcengine.alb.ServerGroup[] = [];
17
+ * for (const range = {value: 0}; range.value < 3; range.value++) {
18
+ * fooServerGroup.push(new volcengine.alb.ServerGroup(`fooServerGroup-${range.value}`, {
19
+ * vpcId: fooVpc.id,
20
+ * serverGroupName: `acc-test-server-group-${range.value}`,
21
+ * description: "acc-test",
22
+ * serverGroupType: "instance",
23
+ * scheduler: "sh",
24
+ * projectName: "default",
25
+ * healthCheck: {
26
+ * enabled: "on",
27
+ * interval: 3,
28
+ * timeout: 3,
29
+ * method: "GET",
30
+ * },
31
+ * stickySessionConfig: {
32
+ * stickySessionEnabled: "on",
33
+ * stickySessionType: "insert",
34
+ * cookieTimeout: 1100,
35
+ * },
36
+ * }));
37
+ * }
38
+ * const fooServerGroups = volcengine.alb.ServerGroupsOutput({
39
+ * ids: fooServerGroup.map(__item => __item.id),
40
+ * });
41
+ * ```
42
+ */
43
+ export declare function serverGroups(args?: ServerGroupsArgs, opts?: pulumi.InvokeOptions): Promise<ServerGroupsResult>;
44
+ /**
45
+ * A collection of arguments for invoking ServerGroups.
46
+ */
47
+ export interface ServerGroupsArgs {
48
+ /**
49
+ * A list of Alb server group IDs.
50
+ */
51
+ ids?: string[];
52
+ /**
53
+ * A Name Regex of Resource.
54
+ */
55
+ nameRegex?: string;
56
+ /**
57
+ * File name where to save data source results.
58
+ */
59
+ outputFile?: string;
60
+ /**
61
+ * The project name of Alb server group.
62
+ */
63
+ projectName?: string;
64
+ /**
65
+ * A list of Alb server group name.
66
+ */
67
+ serverGroupNames?: string[];
68
+ /**
69
+ * The type of Alb server group. Valid values: `instance`, `ip`.
70
+ */
71
+ serverGroupType?: string;
72
+ }
73
+ /**
74
+ * A collection of values returned by ServerGroups.
75
+ */
76
+ export interface ServerGroupsResult {
77
+ /**
78
+ * The provider-assigned unique ID for this managed resource.
79
+ */
80
+ readonly id: string;
81
+ readonly ids?: string[];
82
+ readonly nameRegex?: string;
83
+ readonly outputFile?: string;
84
+ /**
85
+ * The project name of the Alb server group.
86
+ */
87
+ readonly projectName?: string;
88
+ readonly serverGroupNames?: string[];
89
+ /**
90
+ * The type of the Alb server group.
91
+ */
92
+ readonly serverGroupType?: string;
93
+ /**
94
+ * The collection of query.
95
+ */
96
+ readonly serverGroups: outputs.alb.ServerGroupsServerGroup[];
97
+ /**
98
+ * The total count of query.
99
+ */
100
+ readonly totalCount: number;
101
+ }
102
+ /**
103
+ * Use this data source to query detailed information of alb server groups
104
+ * ## Example Usage
105
+ *
106
+ * ```typescript
107
+ * import * as pulumi from "@pulumi/pulumi";
108
+ * import * as volcengine from "@pulumi/volcengine";
109
+ * import * as volcengine from "@volcengine/pulumi";
110
+ *
111
+ * const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
112
+ * vpcName: "acc-test-vpc",
113
+ * cidrBlock: "172.16.0.0/16",
114
+ * });
115
+ * const fooServerGroup: volcengine.alb.ServerGroup[] = [];
116
+ * for (const range = {value: 0}; range.value < 3; range.value++) {
117
+ * fooServerGroup.push(new volcengine.alb.ServerGroup(`fooServerGroup-${range.value}`, {
118
+ * vpcId: fooVpc.id,
119
+ * serverGroupName: `acc-test-server-group-${range.value}`,
120
+ * description: "acc-test",
121
+ * serverGroupType: "instance",
122
+ * scheduler: "sh",
123
+ * projectName: "default",
124
+ * healthCheck: {
125
+ * enabled: "on",
126
+ * interval: 3,
127
+ * timeout: 3,
128
+ * method: "GET",
129
+ * },
130
+ * stickySessionConfig: {
131
+ * stickySessionEnabled: "on",
132
+ * stickySessionType: "insert",
133
+ * cookieTimeout: 1100,
134
+ * },
135
+ * }));
136
+ * }
137
+ * const fooServerGroups = volcengine.alb.ServerGroupsOutput({
138
+ * ids: fooServerGroup.map(__item => __item.id),
139
+ * });
140
+ * ```
141
+ */
142
+ export declare function serverGroupsOutput(args?: ServerGroupsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<ServerGroupsResult>;
143
+ /**
144
+ * A collection of arguments for invoking ServerGroups.
145
+ */
146
+ export interface ServerGroupsOutputArgs {
147
+ /**
148
+ * A list of Alb server group IDs.
149
+ */
150
+ ids?: pulumi.Input<pulumi.Input<string>[]>;
151
+ /**
152
+ * A Name Regex of Resource.
153
+ */
154
+ nameRegex?: pulumi.Input<string>;
155
+ /**
156
+ * File name where to save data source results.
157
+ */
158
+ outputFile?: pulumi.Input<string>;
159
+ /**
160
+ * The project name of Alb server group.
161
+ */
162
+ projectName?: pulumi.Input<string>;
163
+ /**
164
+ * A list of Alb server group name.
165
+ */
166
+ serverGroupNames?: pulumi.Input<pulumi.Input<string>[]>;
167
+ /**
168
+ * The type of Alb server group. Valid values: `instance`, `ip`.
169
+ */
170
+ serverGroupType?: pulumi.Input<string>;
171
+ }
@@ -0,0 +1,105 @@
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.serverGroupsOutput = exports.serverGroups = 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 server groups
10
+ * ## Example Usage
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as volcengine from "@pulumi/volcengine";
15
+ * import * as volcengine from "@volcengine/pulumi";
16
+ *
17
+ * const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
18
+ * vpcName: "acc-test-vpc",
19
+ * cidrBlock: "172.16.0.0/16",
20
+ * });
21
+ * const fooServerGroup: volcengine.alb.ServerGroup[] = [];
22
+ * for (const range = {value: 0}; range.value < 3; range.value++) {
23
+ * fooServerGroup.push(new volcengine.alb.ServerGroup(`fooServerGroup-${range.value}`, {
24
+ * vpcId: fooVpc.id,
25
+ * serverGroupName: `acc-test-server-group-${range.value}`,
26
+ * description: "acc-test",
27
+ * serverGroupType: "instance",
28
+ * scheduler: "sh",
29
+ * projectName: "default",
30
+ * healthCheck: {
31
+ * enabled: "on",
32
+ * interval: 3,
33
+ * timeout: 3,
34
+ * method: "GET",
35
+ * },
36
+ * stickySessionConfig: {
37
+ * stickySessionEnabled: "on",
38
+ * stickySessionType: "insert",
39
+ * cookieTimeout: 1100,
40
+ * },
41
+ * }));
42
+ * }
43
+ * const fooServerGroups = volcengine.alb.ServerGroupsOutput({
44
+ * ids: fooServerGroup.map(__item => __item.id),
45
+ * });
46
+ * ```
47
+ */
48
+ function serverGroups(args, opts) {
49
+ args = args || {};
50
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
51
+ return pulumi.runtime.invoke("volcengine:alb/serverGroups:ServerGroups", {
52
+ "ids": args.ids,
53
+ "nameRegex": args.nameRegex,
54
+ "outputFile": args.outputFile,
55
+ "projectName": args.projectName,
56
+ "serverGroupNames": args.serverGroupNames,
57
+ "serverGroupType": args.serverGroupType,
58
+ }, opts);
59
+ }
60
+ exports.serverGroups = serverGroups;
61
+ /**
62
+ * Use this data source to query detailed information of alb server groups
63
+ * ## Example Usage
64
+ *
65
+ * ```typescript
66
+ * import * as pulumi from "@pulumi/pulumi";
67
+ * import * as volcengine from "@pulumi/volcengine";
68
+ * import * as volcengine from "@volcengine/pulumi";
69
+ *
70
+ * const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
71
+ * vpcName: "acc-test-vpc",
72
+ * cidrBlock: "172.16.0.0/16",
73
+ * });
74
+ * const fooServerGroup: volcengine.alb.ServerGroup[] = [];
75
+ * for (const range = {value: 0}; range.value < 3; range.value++) {
76
+ * fooServerGroup.push(new volcengine.alb.ServerGroup(`fooServerGroup-${range.value}`, {
77
+ * vpcId: fooVpc.id,
78
+ * serverGroupName: `acc-test-server-group-${range.value}`,
79
+ * description: "acc-test",
80
+ * serverGroupType: "instance",
81
+ * scheduler: "sh",
82
+ * projectName: "default",
83
+ * healthCheck: {
84
+ * enabled: "on",
85
+ * interval: 3,
86
+ * timeout: 3,
87
+ * method: "GET",
88
+ * },
89
+ * stickySessionConfig: {
90
+ * stickySessionEnabled: "on",
91
+ * stickySessionType: "insert",
92
+ * cookieTimeout: 1100,
93
+ * },
94
+ * }));
95
+ * }
96
+ * const fooServerGroups = volcengine.alb.ServerGroupsOutput({
97
+ * ids: fooServerGroup.map(__item => __item.id),
98
+ * });
99
+ * ```
100
+ */
101
+ function serverGroupsOutput(args, opts) {
102
+ return pulumi.output(args).apply((a) => serverGroups(a, opts));
103
+ }
104
+ exports.serverGroupsOutput = serverGroupsOutput;
105
+ //# sourceMappingURL=serverGroups.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"serverGroups.js","sourceRoot":"","sources":["../../alb/serverGroups.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;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,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;QACzC,iBAAiB,EAAE,IAAI,CAAC,eAAe;KAC1C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,oCAYC;AA6DD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;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"}
package/alb/zones.d.ts ADDED
@@ -0,0 +1,62 @@
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 zones
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.Zones({});
12
+ * ```
13
+ */
14
+ export declare function zones(args?: ZonesArgs, opts?: pulumi.InvokeOptions): Promise<ZonesResult>;
15
+ /**
16
+ * A collection of arguments for invoking Zones.
17
+ */
18
+ export interface ZonesArgs {
19
+ /**
20
+ * File name where to save data source results.
21
+ */
22
+ outputFile?: string;
23
+ }
24
+ /**
25
+ * A collection of values returned by Zones.
26
+ */
27
+ export interface ZonesResult {
28
+ /**
29
+ * The provider-assigned unique ID for this managed resource.
30
+ */
31
+ readonly id: string;
32
+ readonly outputFile?: string;
33
+ /**
34
+ * The total count of zone query.
35
+ */
36
+ readonly totalCount: number;
37
+ /**
38
+ * The collection of zone query.
39
+ */
40
+ readonly zones: outputs.alb.ZonesZone[];
41
+ }
42
+ /**
43
+ * Use this data source to query detailed information of alb zones
44
+ * ## Example Usage
45
+ *
46
+ * ```typescript
47
+ * import * as pulumi from "@pulumi/pulumi";
48
+ * import * as volcengine from "@pulumi/volcengine";
49
+ *
50
+ * const default = volcengine.alb.Zones({});
51
+ * ```
52
+ */
53
+ export declare function zonesOutput(args?: ZonesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<ZonesResult>;
54
+ /**
55
+ * A collection of arguments for invoking Zones.
56
+ */
57
+ export interface ZonesOutputArgs {
58
+ /**
59
+ * File name where to save data source results.
60
+ */
61
+ outputFile?: pulumi.Input<string>;
62
+ }
package/alb/zones.js ADDED
@@ -0,0 +1,42 @@
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.zonesOutput = exports.zones = 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 zones
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.Zones({});
17
+ * ```
18
+ */
19
+ function zones(args, opts) {
20
+ args = args || {};
21
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
22
+ return pulumi.runtime.invoke("volcengine:alb/zones:Zones", {
23
+ "outputFile": args.outputFile,
24
+ }, opts);
25
+ }
26
+ exports.zones = zones;
27
+ /**
28
+ * Use this data source to query detailed information of alb zones
29
+ * ## Example Usage
30
+ *
31
+ * ```typescript
32
+ * import * as pulumi from "@pulumi/pulumi";
33
+ * import * as volcengine from "@pulumi/volcengine";
34
+ *
35
+ * const default = volcengine.alb.Zones({});
36
+ * ```
37
+ */
38
+ function zonesOutput(args, opts) {
39
+ return pulumi.output(args).apply((a) => zones(a, opts));
40
+ }
41
+ exports.zonesOutput = zonesOutput;
42
+ //# sourceMappingURL=zones.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"zones.js","sourceRoot":"","sources":["../../alb/zones.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;GAUG;AACH,SAAgB,KAAK,CAAC,IAAgB,EAAE,IAA2B;IAC/D,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,4BAA4B,EAAE;QACvD,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,sBAOC;AA8BD;;;;;;;;;;GAUG;AACH,SAAgB,WAAW,CAAC,IAAsB,EAAE,IAA2B;IAC3E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,KAAK,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAChE,CAAC;AAFD,kCAEC"}
@@ -0,0 +1,103 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Provides a resource to manage bandwidth package attachment
4
+ * ## Example Usage
5
+ *
6
+ * ```typescript
7
+ * import * as pulumi from "@pulumi/pulumi";
8
+ * import * as volcengine from "@volcengine/pulumi";
9
+ *
10
+ * const fooAddress = new volcengine.eip.Address("fooAddress", {
11
+ * billingType: "PostPaidByBandwidth",
12
+ * bandwidth: 1,
13
+ * isp: "BGP",
14
+ * description: "acc-test",
15
+ * projectName: "default",
16
+ * securityProtectionTypes: ["AntiDDoS_Enhanced"],
17
+ * });
18
+ * const fooBandwidthPackage = new volcengine.bandwidth_package.BandwidthPackage("fooBandwidthPackage", {
19
+ * bandwidthPackageName: "acc-test",
20
+ * billingType: "PostPaidByBandwidth",
21
+ * isp: "BGP",
22
+ * description: "tftest-description",
23
+ * bandwidth: 10,
24
+ * protocol: "IPv4",
25
+ * tags: [{
26
+ * key: "tftest",
27
+ * value: "tftest",
28
+ * }],
29
+ * securityProtectionTypes: ["AntiDDoS_Enhanced"],
30
+ * });
31
+ * const fooAttachment = new volcengine.bandwidth_package.Attachment("fooAttachment", {
32
+ * allocationId: fooAddress.id,
33
+ * bandwidthPackageId: fooBandwidthPackage.id,
34
+ * });
35
+ * ```
36
+ *
37
+ * ## Import
38
+ *
39
+ * BandwidthPackageAttachment can be imported using the bandwidth package id and eip id, e.g.
40
+ *
41
+ * ```sh
42
+ * $ pulumi import volcengine:bandwidth_package/attachment:Attachment default BandwidthPackageId:EipId
43
+ * ```
44
+ */
45
+ export declare class Attachment extends pulumi.CustomResource {
46
+ /**
47
+ * Get an existing Attachment resource's state with the given name, ID, and optional extra
48
+ * properties used to qualify the lookup.
49
+ *
50
+ * @param name The _unique_ name of the resulting resource.
51
+ * @param id The _unique_ provider ID of the resource to lookup.
52
+ * @param state Any extra arguments used during the lookup.
53
+ * @param opts Optional settings to control the behavior of the CustomResource.
54
+ */
55
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AttachmentState, opts?: pulumi.CustomResourceOptions): Attachment;
56
+ /**
57
+ * Returns true if the given object is an instance of Attachment. This is designed to work even
58
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
59
+ */
60
+ static isInstance(obj: any): obj is Attachment;
61
+ /**
62
+ * The ID of the public IP or IPv6 public bandwidth to be added to the shared bandwidth package instance.
63
+ */
64
+ readonly allocationId: pulumi.Output<string>;
65
+ /**
66
+ * The bandwidth package id.
67
+ */
68
+ readonly bandwidthPackageId: pulumi.Output<string>;
69
+ /**
70
+ * Create a Attachment resource with the given unique name, arguments, and options.
71
+ *
72
+ * @param name The _unique_ name of the resource.
73
+ * @param args The arguments to use to populate this resource's properties.
74
+ * @param opts A bag of options that control this resource's behavior.
75
+ */
76
+ constructor(name: string, args: AttachmentArgs, opts?: pulumi.CustomResourceOptions);
77
+ }
78
+ /**
79
+ * Input properties used for looking up and filtering Attachment resources.
80
+ */
81
+ export interface AttachmentState {
82
+ /**
83
+ * The ID of the public IP or IPv6 public bandwidth to be added to the shared bandwidth package instance.
84
+ */
85
+ allocationId?: pulumi.Input<string>;
86
+ /**
87
+ * The bandwidth package id.
88
+ */
89
+ bandwidthPackageId?: pulumi.Input<string>;
90
+ }
91
+ /**
92
+ * The set of arguments for constructing a Attachment resource.
93
+ */
94
+ export interface AttachmentArgs {
95
+ /**
96
+ * The ID of the public IP or IPv6 public bandwidth to be added to the shared bandwidth package instance.
97
+ */
98
+ allocationId: pulumi.Input<string>;
99
+ /**
100
+ * The bandwidth package id.
101
+ */
102
+ bandwidthPackageId: pulumi.Input<string>;
103
+ }
@@ -0,0 +1,100 @@
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.Attachment = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Provides a resource to manage bandwidth package attachment
10
+ * ## Example Usage
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as volcengine from "@volcengine/pulumi";
15
+ *
16
+ * const fooAddress = new volcengine.eip.Address("fooAddress", {
17
+ * billingType: "PostPaidByBandwidth",
18
+ * bandwidth: 1,
19
+ * isp: "BGP",
20
+ * description: "acc-test",
21
+ * projectName: "default",
22
+ * securityProtectionTypes: ["AntiDDoS_Enhanced"],
23
+ * });
24
+ * const fooBandwidthPackage = new volcengine.bandwidth_package.BandwidthPackage("fooBandwidthPackage", {
25
+ * bandwidthPackageName: "acc-test",
26
+ * billingType: "PostPaidByBandwidth",
27
+ * isp: "BGP",
28
+ * description: "tftest-description",
29
+ * bandwidth: 10,
30
+ * protocol: "IPv4",
31
+ * tags: [{
32
+ * key: "tftest",
33
+ * value: "tftest",
34
+ * }],
35
+ * securityProtectionTypes: ["AntiDDoS_Enhanced"],
36
+ * });
37
+ * const fooAttachment = new volcengine.bandwidth_package.Attachment("fooAttachment", {
38
+ * allocationId: fooAddress.id,
39
+ * bandwidthPackageId: fooBandwidthPackage.id,
40
+ * });
41
+ * ```
42
+ *
43
+ * ## Import
44
+ *
45
+ * BandwidthPackageAttachment can be imported using the bandwidth package id and eip id, e.g.
46
+ *
47
+ * ```sh
48
+ * $ pulumi import volcengine:bandwidth_package/attachment:Attachment default BandwidthPackageId:EipId
49
+ * ```
50
+ */
51
+ class Attachment extends pulumi.CustomResource {
52
+ /**
53
+ * Get an existing Attachment resource's state with the given name, ID, and optional extra
54
+ * properties used to qualify the lookup.
55
+ *
56
+ * @param name The _unique_ name of the resulting resource.
57
+ * @param id The _unique_ provider ID of the resource to lookup.
58
+ * @param state Any extra arguments used during the lookup.
59
+ * @param opts Optional settings to control the behavior of the CustomResource.
60
+ */
61
+ static get(name, id, state, opts) {
62
+ return new Attachment(name, state, Object.assign(Object.assign({}, opts), { id: id }));
63
+ }
64
+ /**
65
+ * Returns true if the given object is an instance of Attachment. This is designed to work even
66
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
67
+ */
68
+ static isInstance(obj) {
69
+ if (obj === undefined || obj === null) {
70
+ return false;
71
+ }
72
+ return obj['__pulumiType'] === Attachment.__pulumiType;
73
+ }
74
+ constructor(name, argsOrState, opts) {
75
+ let resourceInputs = {};
76
+ opts = opts || {};
77
+ if (opts.id) {
78
+ const state = argsOrState;
79
+ resourceInputs["allocationId"] = state ? state.allocationId : undefined;
80
+ resourceInputs["bandwidthPackageId"] = state ? state.bandwidthPackageId : undefined;
81
+ }
82
+ else {
83
+ const args = argsOrState;
84
+ if ((!args || args.allocationId === undefined) && !opts.urn) {
85
+ throw new Error("Missing required property 'allocationId'");
86
+ }
87
+ if ((!args || args.bandwidthPackageId === undefined) && !opts.urn) {
88
+ throw new Error("Missing required property 'bandwidthPackageId'");
89
+ }
90
+ resourceInputs["allocationId"] = args ? args.allocationId : undefined;
91
+ resourceInputs["bandwidthPackageId"] = args ? args.bandwidthPackageId : undefined;
92
+ }
93
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
94
+ super(Attachment.__pulumiType, name, resourceInputs, opts);
95
+ }
96
+ }
97
+ exports.Attachment = Attachment;
98
+ /** @internal */
99
+ Attachment.__pulumiType = 'volcengine:bandwidth_package/attachment:Attachment';
100
+ //# sourceMappingURL=attachment.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"attachment.js","sourceRoot":"","sources":["../../bandwidth_package/attachment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,OAAO,IAAI,UAAU,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACjE,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,UAAU,CAAC,YAAY,CAAC;IAC3D,CAAC;IAmBD,YAAY,IAAY,EAAE,WAA8C,EAAE,IAAmC;QACzG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA0C,CAAC;YACzD,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,oBAAoB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC;SACvF;aAAM;YACH,MAAM,IAAI,GAAG,WAAyC,CAAC;YACvD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,YAAY,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACzD,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAC;aAC/D;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,kBAAkB,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC/D,MAAM,IAAI,KAAK,CAAC,gDAAgD,CAAC,CAAC;aACrE;YACD,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,oBAAoB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC;SACrF;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AAjEL,gCAkEC;AApDG,gBAAgB;AACO,uBAAY,GAAG,oDAAoD,CAAC"}