@volcengine/pulumi 0.0.25 → 0.0.26

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 (88) hide show
  1. package/ebs/volume.d.ts +3 -3
  2. package/ecs/instances.d.ts +12 -0
  3. package/ecs/instances.js +1 -0
  4. package/ecs/instances.js.map +1 -1
  5. package/ecs/launchTemplate.d.ts +1 -1
  6. package/index.d.ts +3 -1
  7. package/index.js +5 -1
  8. package/index.js.map +1 -1
  9. package/package.json +2 -2
  10. package/private_zone/index.d.ts +33 -0
  11. package/private_zone/index.js +62 -0
  12. package/private_zone/index.js.map +1 -0
  13. package/private_zone/privateZone.d.ts +144 -0
  14. package/private_zone/privateZone.js +99 -0
  15. package/private_zone/privateZone.js.map +1 -0
  16. package/private_zone/privateZones.d.ts +133 -0
  17. package/private_zone/privateZones.js +34 -0
  18. package/private_zone/privateZones.js.map +1 -0
  19. package/private_zone/record.d.ts +143 -0
  20. package/private_zone/record.js +86 -0
  21. package/private_zone/record.js.map +1 -0
  22. package/private_zone/recordSets.d.ts +88 -0
  23. package/private_zone/recordSets.js +29 -0
  24. package/private_zone/recordSets.js.map +1 -0
  25. package/private_zone/recordWeightEnabler.d.ts +83 -0
  26. package/private_zone/recordWeightEnabler.js +73 -0
  27. package/private_zone/recordWeightEnabler.js.map +1 -0
  28. package/private_zone/records.d.ts +148 -0
  29. package/private_zone/records.js +35 -0
  30. package/private_zone/records.js.map +1 -0
  31. package/private_zone/resolverEndpoint.d.ts +155 -0
  32. package/private_zone/resolverEndpoint.js +116 -0
  33. package/private_zone/resolverEndpoint.js.map +1 -0
  34. package/private_zone/resolverEndpoints.d.ts +119 -0
  35. package/private_zone/resolverEndpoints.js +47 -0
  36. package/private_zone/resolverEndpoints.js.map +1 -0
  37. package/private_zone/resolverRule.d.ts +153 -0
  38. package/private_zone/resolverRule.js +98 -0
  39. package/private_zone/resolverRule.js.map +1 -0
  40. package/private_zone/resolverRules.d.ts +107 -0
  41. package/private_zone/resolverRules.js +46 -0
  42. package/private_zone/resolverRules.js.map +1 -0
  43. package/private_zone/userVpcAuthorization.d.ts +67 -0
  44. package/private_zone/userVpcAuthorization.js +71 -0
  45. package/private_zone/userVpcAuthorization.js.map +1 -0
  46. package/rds_postgresql/allowlist.d.ts +129 -0
  47. package/rds_postgresql/allowlist.js +92 -0
  48. package/rds_postgresql/allowlist.js.map +1 -0
  49. package/rds_postgresql/allowlistAssociate.d.ts +130 -0
  50. package/rds_postgresql/allowlistAssociate.js +127 -0
  51. package/rds_postgresql/allowlistAssociate.js.map +1 -0
  52. package/rds_postgresql/allowlists.d.ts +83 -0
  53. package/rds_postgresql/allowlists.js +44 -0
  54. package/rds_postgresql/allowlists.js.map +1 -0
  55. package/rds_postgresql/index.d.ts +9 -0
  56. package/rds_postgresql/index.js +14 -1
  57. package/rds_postgresql/index.js.map +1 -1
  58. package/types/input.d.ts +106 -0
  59. package/types/output.d.ts +699 -1
  60. package/vepfs/fileSystem.d.ts +311 -0
  61. package/vepfs/fileSystem.js +150 -0
  62. package/vepfs/fileSystem.js.map +1 -0
  63. package/vepfs/fileSystems.d.ts +192 -0
  64. package/vepfs/fileSystems.js +101 -0
  65. package/vepfs/fileSystems.js.map +1 -0
  66. package/vepfs/fileset.d.ts +210 -0
  67. package/vepfs/fileset.js +130 -0
  68. package/vepfs/fileset.js.map +1 -0
  69. package/vepfs/filesets.d.ts +200 -0
  70. package/vepfs/filesets.js +119 -0
  71. package/vepfs/filesets.js.map +1 -0
  72. package/vepfs/index.d.ts +21 -0
  73. package/vepfs/index.js +46 -0
  74. package/vepfs/index.js.map +1 -0
  75. package/vepfs/mountService.d.ts +192 -0
  76. package/vepfs/mountService.js +116 -0
  77. package/vepfs/mountService.js.map +1 -0
  78. package/vepfs/mountServiceAttachment.d.ts +131 -0
  79. package/vepfs/mountServiceAttachment.js +112 -0
  80. package/vepfs/mountServiceAttachment.js.map +1 -0
  81. package/vepfs/mountServices.d.ts +157 -0
  82. package/vepfs/mountServices.js +85 -0
  83. package/vepfs/mountServices.js.map +1 -0
  84. package/vke/cluster.d.ts +3 -3
  85. package/vke/node.d.ts +18 -18
  86. package/vke/nodePool.d.ts +109 -0
  87. package/vke/nodePool.js +80 -0
  88. package/vke/nodePool.js.map +1 -1
package/ebs/volume.d.ts CHANGED
@@ -148,7 +148,7 @@ export declare class Volume extends pulumi.CustomResource {
148
148
  */
149
149
  readonly tradeStatus: pulumi.Output<number>;
150
150
  /**
151
- * The charge type of the Volume, the value is `PostPaid` or `PrePaid`. The `PrePaid` volume cannot be detached. Cannot convert `PrePaid` volume to `PostPaid`.Please note that `PrePaid` type needs to ask the system administrator to apply for a whitelist.
151
+ * The charge type of the Volume, the value is `PostPaid` or `PrePaid`. The `PrePaid` volume cannot be detached. Please note that `PrePaid` type needs to ask the system administrator to apply for a whitelist.
152
152
  */
153
153
  readonly volumeChargeType: pulumi.Output<string | undefined>;
154
154
  /**
@@ -220,7 +220,7 @@ export interface VolumeState {
220
220
  */
221
221
  tradeStatus?: pulumi.Input<number>;
222
222
  /**
223
- * The charge type of the Volume, the value is `PostPaid` or `PrePaid`. The `PrePaid` volume cannot be detached. Cannot convert `PrePaid` volume to `PostPaid`.Please note that `PrePaid` type needs to ask the system administrator to apply for a whitelist.
223
+ * The charge type of the Volume, the value is `PostPaid` or `PrePaid`. The `PrePaid` volume cannot be detached. Please note that `PrePaid` type needs to ask the system administrator to apply for a whitelist.
224
224
  */
225
225
  volumeChargeType?: pulumi.Input<string>;
226
226
  /**
@@ -272,7 +272,7 @@ export interface VolumeArgs {
272
272
  */
273
273
  tags?: pulumi.Input<pulumi.Input<inputs.ebs.VolumeTag>[]>;
274
274
  /**
275
- * The charge type of the Volume, the value is `PostPaid` or `PrePaid`. The `PrePaid` volume cannot be detached. Cannot convert `PrePaid` volume to `PostPaid`.Please note that `PrePaid` type needs to ask the system administrator to apply for a whitelist.
275
+ * The charge type of the Volume, the value is `PostPaid` or `PrePaid`. The `PrePaid` volume cannot be detached. Please note that `PrePaid` type needs to ask the system administrator to apply for a whitelist.
276
276
  */
277
277
  volumeChargeType?: pulumi.Input<string>;
278
278
  /**
@@ -82,6 +82,10 @@ export interface InstancesArgs {
82
82
  * The charge type of ECS instance.
83
83
  */
84
84
  instanceChargeType?: string;
85
+ /**
86
+ * The name of ECS instance. This field support fuzzy query.
87
+ */
88
+ instanceName?: string;
85
89
  /**
86
90
  * The key pair name of ECS instance.
87
91
  */
@@ -134,6 +138,10 @@ export interface InstancesResult {
134
138
  * The charge type of ECS instance.
135
139
  */
136
140
  readonly instanceChargeType?: string;
141
+ /**
142
+ * The name of ECS instance.
143
+ */
144
+ readonly instanceName?: string;
137
145
  /**
138
146
  * The collection of ECS instance query.
139
147
  */
@@ -254,6 +262,10 @@ export interface InstancesOutputArgs {
254
262
  * The charge type of ECS instance.
255
263
  */
256
264
  instanceChargeType?: pulumi.Input<string>;
265
+ /**
266
+ * The name of ECS instance. This field support fuzzy query.
267
+ */
268
+ instanceName?: pulumi.Input<string>;
257
269
  /**
258
270
  * The key pair name of ECS instance.
259
271
  */
package/ecs/instances.js CHANGED
@@ -73,6 +73,7 @@ function instances(args, opts) {
73
73
  "hpcClusterId": args.hpcClusterId,
74
74
  "ids": args.ids,
75
75
  "instanceChargeType": args.instanceChargeType,
76
+ "instanceName": args.instanceName,
76
77
  "keyPairName": args.keyPairName,
77
78
  "nameRegex": args.nameRegex,
78
79
  "outputFile": args.outputFile,
@@ -1 +1 @@
1
- {"version":3,"file":"instances.js","sourceRoot":"","sources":["../../ecs/instances.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2DG;AACH,SAAgB,SAAS,CAAC,IAAoB,EAAE,IAA2B;IACvE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG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CAAC,IAAoB,EAAE,IAA2B;IACvE,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,oCAAoC,EAAE;QAC/D,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;QACzC,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,oBAAoB,EAAE,IAAI,CAAC,kBAAkB;QAC7C,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;QACzC,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AApBD,8BAoBC;AA0HD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2DG;AACH,SAAgB,eAAe,CAAC,IAA0B,EAAE,IAA2B;IACnF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACpE,CAAC;AAFD,0CAEC"}
@@ -111,7 +111,7 @@ export declare class LaunchTemplate extends pulumi.CustomResource {
111
111
  /**
112
112
  * The index of the ordered suffix.
113
113
  */
114
- readonly suffixIndex: pulumi.Output<number | undefined>;
114
+ readonly suffixIndex: pulumi.Output<number>;
115
115
  /**
116
116
  * Indicates whether the ordered suffix is automatically added to Hostname and InstanceName when multiple instances are created.
117
117
  */
package/index.d.ts CHANGED
@@ -25,6 +25,7 @@ import * as mongodb from "./mongodb";
25
25
  import * as nas from "./nas";
26
26
  import * as nat from "./nat";
27
27
  import * as organization from "./organization";
28
+ import * as private_zone from "./private_zone";
28
29
  import * as privatelink from "./privatelink";
29
30
  import * as rds from "./rds";
30
31
  import * as rds_mssql from "./rds_mssql";
@@ -37,7 +38,8 @@ import * as tos from "./tos";
37
38
  import * as transit_router from "./transit_router";
38
39
  import * as types from "./types";
39
40
  import * as veenedge from "./veenedge";
41
+ import * as vepfs from "./vepfs";
40
42
  import * as vke from "./vke";
41
43
  import * as vpc from "./vpc";
42
44
  import * as vpn from "./vpn";
43
- export { alb, autoscaling, bandwidth_package, bioos, cdn, cen, clb, cloud_identity, cloud_monitor, cloudfs, config, cr, direct_connect, ebs, ecs, eip, escloud, financial_relation, iam, kafka, mongodb, nas, nat, organization, privatelink, rds, rds_mssql, rds_mysql, rds_postgresql, rds_v2, redis, tls, tos, transit_router, types, veenedge, vke, vpc, vpn, };
45
+ export { alb, autoscaling, bandwidth_package, bioos, cdn, cen, clb, cloud_identity, cloud_monitor, cloudfs, config, cr, direct_connect, ebs, ecs, eip, escloud, financial_relation, iam, kafka, mongodb, nas, nat, organization, private_zone, privatelink, rds, rds_mssql, rds_mysql, rds_postgresql, rds_v2, redis, tls, tos, transit_router, types, veenedge, vepfs, vke, vpc, vpn, };
package/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.vpn = exports.vpc = exports.vke = exports.veenedge = exports.types = exports.transit_router = exports.tos = exports.tls = exports.redis = exports.rds_v2 = exports.rds_postgresql = exports.rds_mysql = exports.rds_mssql = exports.rds = exports.privatelink = exports.organization = exports.nat = exports.nas = exports.mongodb = exports.kafka = exports.iam = exports.financial_relation = exports.escloud = exports.eip = exports.ecs = exports.ebs = exports.direct_connect = exports.cr = exports.config = exports.cloudfs = exports.cloud_monitor = exports.cloud_identity = exports.clb = exports.cen = exports.cdn = exports.bioos = exports.bandwidth_package = exports.autoscaling = exports.alb = exports.Provider = void 0;
5
+ exports.vpn = exports.vpc = exports.vke = exports.vepfs = exports.veenedge = exports.types = exports.transit_router = exports.tos = exports.tls = exports.redis = exports.rds_v2 = exports.rds_postgresql = exports.rds_mysql = exports.rds_mssql = exports.rds = exports.privatelink = exports.private_zone = exports.organization = exports.nat = exports.nas = exports.mongodb = exports.kafka = exports.iam = exports.financial_relation = exports.escloud = exports.eip = exports.ecs = exports.ebs = exports.direct_connect = exports.cr = exports.config = exports.cloudfs = exports.cloud_monitor = exports.cloud_identity = exports.clb = exports.cen = exports.cdn = exports.bioos = exports.bandwidth_package = exports.autoscaling = exports.alb = exports.Provider = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  exports.Provider = null;
@@ -56,6 +56,8 @@ const nat = require("./nat");
56
56
  exports.nat = nat;
57
57
  const organization = require("./organization");
58
58
  exports.organization = organization;
59
+ const private_zone = require("./private_zone");
60
+ exports.private_zone = private_zone;
59
61
  const privatelink = require("./privatelink");
60
62
  exports.privatelink = privatelink;
61
63
  const rds = require("./rds");
@@ -80,6 +82,8 @@ const types = require("./types");
80
82
  exports.types = types;
81
83
  const veenedge = require("./veenedge");
82
84
  exports.veenedge = veenedge;
85
+ const vepfs = require("./vepfs");
86
+ exports.vepfs = vepfs;
83
87
  const vke = require("./vke");
84
88
  exports.vke = vke;
85
89
  const vpc = require("./vpc");
package/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,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AE,CAAC,CAAC;SACpD;QACD,OAAO,IAAI,gBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;IACvD,CAAC;CACJ,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@volcengine/pulumi",
3
- "version": "v0.0.25",
3
+ "version": "v0.0.26",
4
4
  "description": "A Pulumi package for creating and managing volcengine cloud resources.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -12,7 +12,7 @@
12
12
  "license": "Apache-2.0",
13
13
  "scripts": {
14
14
  "build": "tsc",
15
- "install": "node scripts/install-pulumi-plugin.js resource volcengine v0.0.25"
15
+ "install": "node scripts/install-pulumi-plugin.js resource volcengine v0.0.26"
16
16
  },
17
17
  "dependencies": {
18
18
  "@pulumi/pulumi": "^3.0.0"
@@ -0,0 +1,33 @@
1
+ export { PrivateZoneArgs, PrivateZoneState } from "./privateZone";
2
+ export type PrivateZone = import("./privateZone").PrivateZone;
3
+ export declare const PrivateZone: typeof import("./privateZone").PrivateZone;
4
+ export { PrivateZonesArgs, PrivateZonesResult, PrivateZonesOutputArgs } from "./privateZones";
5
+ export declare const privateZones: typeof import("./privateZones").privateZones;
6
+ export declare const privateZonesOutput: typeof import("./privateZones").privateZonesOutput;
7
+ export { RecordArgs, RecordState } from "./record";
8
+ export type Record = import("./record").Record;
9
+ export declare const Record: typeof import("./record").Record;
10
+ export { RecordSetsArgs, RecordSetsResult, RecordSetsOutputArgs } from "./recordSets";
11
+ export declare const recordSets: typeof import("./recordSets").recordSets;
12
+ export declare const recordSetsOutput: typeof import("./recordSets").recordSetsOutput;
13
+ export { RecordWeightEnablerArgs, RecordWeightEnablerState } from "./recordWeightEnabler";
14
+ export type RecordWeightEnabler = import("./recordWeightEnabler").RecordWeightEnabler;
15
+ export declare const RecordWeightEnabler: typeof import("./recordWeightEnabler").RecordWeightEnabler;
16
+ export { RecordsArgs, RecordsResult, RecordsOutputArgs } from "./records";
17
+ export declare const records: typeof import("./records").records;
18
+ export declare const recordsOutput: typeof import("./records").recordsOutput;
19
+ export { ResolverEndpointArgs, ResolverEndpointState } from "./resolverEndpoint";
20
+ export type ResolverEndpoint = import("./resolverEndpoint").ResolverEndpoint;
21
+ export declare const ResolverEndpoint: typeof import("./resolverEndpoint").ResolverEndpoint;
22
+ export { ResolverEndpointsArgs, ResolverEndpointsResult, ResolverEndpointsOutputArgs } from "./resolverEndpoints";
23
+ export declare const resolverEndpoints: typeof import("./resolverEndpoints").resolverEndpoints;
24
+ export declare const resolverEndpointsOutput: typeof import("./resolverEndpoints").resolverEndpointsOutput;
25
+ export { ResolverRuleArgs, ResolverRuleState } from "./resolverRule";
26
+ export type ResolverRule = import("./resolverRule").ResolverRule;
27
+ export declare const ResolverRule: typeof import("./resolverRule").ResolverRule;
28
+ export { ResolverRulesArgs, ResolverRulesResult, ResolverRulesOutputArgs } from "./resolverRules";
29
+ export declare const resolverRules: typeof import("./resolverRules").resolverRules;
30
+ export declare const resolverRulesOutput: typeof import("./resolverRules").resolverRulesOutput;
31
+ export { UserVpcAuthorizationArgs, UserVpcAuthorizationState } from "./userVpcAuthorization";
32
+ export type UserVpcAuthorization = import("./userVpcAuthorization").UserVpcAuthorization;
33
+ export declare const UserVpcAuthorization: typeof import("./userVpcAuthorization").UserVpcAuthorization;
@@ -0,0 +1,62 @@
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.UserVpcAuthorization = exports.resolverRulesOutput = exports.resolverRules = exports.ResolverRule = exports.resolverEndpointsOutput = exports.resolverEndpoints = exports.ResolverEndpoint = exports.recordsOutput = exports.records = exports.RecordWeightEnabler = exports.recordSetsOutput = exports.recordSets = exports.Record = exports.privateZonesOutput = exports.privateZones = exports.PrivateZone = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ exports.PrivateZone = null;
9
+ utilities.lazyLoad(exports, ["PrivateZone"], () => require("./privateZone"));
10
+ exports.privateZones = null;
11
+ exports.privateZonesOutput = null;
12
+ utilities.lazyLoad(exports, ["privateZones", "privateZonesOutput"], () => require("./privateZones"));
13
+ exports.Record = null;
14
+ utilities.lazyLoad(exports, ["Record"], () => require("./record"));
15
+ exports.recordSets = null;
16
+ exports.recordSetsOutput = null;
17
+ utilities.lazyLoad(exports, ["recordSets", "recordSetsOutput"], () => require("./recordSets"));
18
+ exports.RecordWeightEnabler = null;
19
+ utilities.lazyLoad(exports, ["RecordWeightEnabler"], () => require("./recordWeightEnabler"));
20
+ exports.records = null;
21
+ exports.recordsOutput = null;
22
+ utilities.lazyLoad(exports, ["records", "recordsOutput"], () => require("./records"));
23
+ exports.ResolverEndpoint = null;
24
+ utilities.lazyLoad(exports, ["ResolverEndpoint"], () => require("./resolverEndpoint"));
25
+ exports.resolverEndpoints = null;
26
+ exports.resolverEndpointsOutput = null;
27
+ utilities.lazyLoad(exports, ["resolverEndpoints", "resolverEndpointsOutput"], () => require("./resolverEndpoints"));
28
+ exports.ResolverRule = null;
29
+ utilities.lazyLoad(exports, ["ResolverRule"], () => require("./resolverRule"));
30
+ exports.resolverRules = null;
31
+ exports.resolverRulesOutput = null;
32
+ utilities.lazyLoad(exports, ["resolverRules", "resolverRulesOutput"], () => require("./resolverRules"));
33
+ exports.UserVpcAuthorization = null;
34
+ utilities.lazyLoad(exports, ["UserVpcAuthorization"], () => require("./userVpcAuthorization"));
35
+ const _module = {
36
+ version: utilities.getVersion(),
37
+ construct: (name, type, urn) => {
38
+ switch (type) {
39
+ case "volcengine:private_zone/privateZone:PrivateZone":
40
+ return new exports.PrivateZone(name, undefined, { urn });
41
+ case "volcengine:private_zone/record:Record":
42
+ return new exports.Record(name, undefined, { urn });
43
+ case "volcengine:private_zone/recordWeightEnabler:RecordWeightEnabler":
44
+ return new exports.RecordWeightEnabler(name, undefined, { urn });
45
+ case "volcengine:private_zone/resolverEndpoint:ResolverEndpoint":
46
+ return new exports.ResolverEndpoint(name, undefined, { urn });
47
+ case "volcengine:private_zone/resolverRule:ResolverRule":
48
+ return new exports.ResolverRule(name, undefined, { urn });
49
+ case "volcengine:private_zone/userVpcAuthorization:UserVpcAuthorization":
50
+ return new exports.UserVpcAuthorization(name, undefined, { urn });
51
+ default:
52
+ throw new Error(`unknown resource type ${type}`);
53
+ }
54
+ },
55
+ };
56
+ pulumi.runtime.registerResourceModule("volcengine", "private_zone/privateZone", _module);
57
+ pulumi.runtime.registerResourceModule("volcengine", "private_zone/record", _module);
58
+ pulumi.runtime.registerResourceModule("volcengine", "private_zone/recordWeightEnabler", _module);
59
+ pulumi.runtime.registerResourceModule("volcengine", "private_zone/resolverEndpoint", _module);
60
+ pulumi.runtime.registerResourceModule("volcengine", "private_zone/resolverRule", _module);
61
+ pulumi.runtime.registerResourceModule("volcengine", "private_zone/userVpcAuthorization", _module);
62
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../private_zone/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,WAAW,GAA+C,IAAW,CAAC;AACnF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,aAAa,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC;AAGhE,QAAA,YAAY,GAAiD,IAAW,CAAC;AACzE,QAAA,kBAAkB,GAAuD,IAAW,CAAC;AAClG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,cAAc,EAAC,oBAAoB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC;AAIvF,QAAA,MAAM,GAAqC,IAAW,CAAC;AACpE,SAAS,CAAC,QAAQ,CAAC,OA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yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,0BAA0B,EAAE,OAAO,CAAC,CAAA;AACxF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,qBAAqB,EAAE,OAAO,CAAC,CAAA;AACnF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,kCAAkC,EAAE,OAAO,CAAC,CAAA;AAChG,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,+BAA+B,EAAE,OAAO,CAAC,CAAA;AAC7F,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,2BAA2B,EAAE,OAAO,CAAC,CAAA;AACzF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,mCAAmC,EAAE,OAAO,CAAC,CAAA"}
@@ -0,0 +1,144 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * Provides a resource to manage private zone
6
+ * ## Example Usage
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as volcengine from "@volcengine/pulumi";
11
+ *
12
+ * const foo = new volcengine.private_zone.PrivateZone("foo", {
13
+ * intelligentMode: true,
14
+ * loadBalanceMode: true,
15
+ * recursionMode: true,
16
+ * remark: "acc-test-new",
17
+ * vpcs: [
18
+ * {
19
+ * vpcId: "vpc-rs4mi0jedipsv0x57pf****",
20
+ * },
21
+ * {
22
+ * region: "cn-shanghai",
23
+ * vpcId: "vpc-3qdzk9xju6o747prml0jk****",
24
+ * },
25
+ * ],
26
+ * zoneName: "acc-test-pz.com",
27
+ * });
28
+ * ```
29
+ *
30
+ * ## Import
31
+ *
32
+ * PrivateZone can be imported using the id, e.g.
33
+ *
34
+ * ```sh
35
+ * $ pulumi import volcengine:private_zone/privateZone:PrivateZone default resource_id
36
+ * ```
37
+ */
38
+ export declare class PrivateZone extends pulumi.CustomResource {
39
+ /**
40
+ * Get an existing PrivateZone resource's state with the given name, ID, and optional extra
41
+ * properties used to qualify the lookup.
42
+ *
43
+ * @param name The _unique_ name of the resulting resource.
44
+ * @param id The _unique_ provider ID of the resource to lookup.
45
+ * @param state Any extra arguments used during the lookup.
46
+ * @param opts Optional settings to control the behavior of the CustomResource.
47
+ */
48
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: PrivateZoneState, opts?: pulumi.CustomResourceOptions): PrivateZone;
49
+ /**
50
+ * Returns true if the given object is an instance of PrivateZone. This is designed to work even
51
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
52
+ */
53
+ static isInstance(obj: any): obj is PrivateZone;
54
+ /**
55
+ * Whether to enable the intelligent mode of the private zone.
56
+ */
57
+ readonly intelligentMode: pulumi.Output<boolean | undefined>;
58
+ /**
59
+ * Whether to enable the load balance mode of the private zone.
60
+ */
61
+ readonly loadBalanceMode: pulumi.Output<boolean | undefined>;
62
+ /**
63
+ * Whether to enable the recursion mode of the private zone.
64
+ */
65
+ readonly recursionMode: pulumi.Output<boolean | undefined>;
66
+ /**
67
+ * The remark of the private zone.
68
+ */
69
+ readonly remark: pulumi.Output<string | undefined>;
70
+ /**
71
+ * The bind vpc object of the private zone. If you want to bind another account's VPC, you need to first use resource volcengine.private_zone.UserVpcAuthorization to complete the authorization.
72
+ */
73
+ readonly vpcs: pulumi.Output<outputs.private_zone.PrivateZoneVpc[]>;
74
+ /**
75
+ * The name of the private zone.
76
+ */
77
+ readonly zoneName: pulumi.Output<string>;
78
+ /**
79
+ * Create a PrivateZone resource with the given unique name, arguments, and options.
80
+ *
81
+ * @param name The _unique_ name of the resource.
82
+ * @param args The arguments to use to populate this resource's properties.
83
+ * @param opts A bag of options that control this resource's behavior.
84
+ */
85
+ constructor(name: string, args: PrivateZoneArgs, opts?: pulumi.CustomResourceOptions);
86
+ }
87
+ /**
88
+ * Input properties used for looking up and filtering PrivateZone resources.
89
+ */
90
+ export interface PrivateZoneState {
91
+ /**
92
+ * Whether to enable the intelligent mode of the private zone.
93
+ */
94
+ intelligentMode?: pulumi.Input<boolean>;
95
+ /**
96
+ * Whether to enable the load balance mode of the private zone.
97
+ */
98
+ loadBalanceMode?: pulumi.Input<boolean>;
99
+ /**
100
+ * Whether to enable the recursion mode of the private zone.
101
+ */
102
+ recursionMode?: pulumi.Input<boolean>;
103
+ /**
104
+ * The remark of the private zone.
105
+ */
106
+ remark?: pulumi.Input<string>;
107
+ /**
108
+ * The bind vpc object of the private zone. If you want to bind another account's VPC, you need to first use resource volcengine.private_zone.UserVpcAuthorization to complete the authorization.
109
+ */
110
+ vpcs?: pulumi.Input<pulumi.Input<inputs.private_zone.PrivateZoneVpc>[]>;
111
+ /**
112
+ * The name of the private zone.
113
+ */
114
+ zoneName?: pulumi.Input<string>;
115
+ }
116
+ /**
117
+ * The set of arguments for constructing a PrivateZone resource.
118
+ */
119
+ export interface PrivateZoneArgs {
120
+ /**
121
+ * Whether to enable the intelligent mode of the private zone.
122
+ */
123
+ intelligentMode?: pulumi.Input<boolean>;
124
+ /**
125
+ * Whether to enable the load balance mode of the private zone.
126
+ */
127
+ loadBalanceMode?: pulumi.Input<boolean>;
128
+ /**
129
+ * Whether to enable the recursion mode of the private zone.
130
+ */
131
+ recursionMode?: pulumi.Input<boolean>;
132
+ /**
133
+ * The remark of the private zone.
134
+ */
135
+ remark?: pulumi.Input<string>;
136
+ /**
137
+ * The bind vpc object of the private zone. If you want to bind another account's VPC, you need to first use resource volcengine.private_zone.UserVpcAuthorization to complete the authorization.
138
+ */
139
+ vpcs: pulumi.Input<pulumi.Input<inputs.private_zone.PrivateZoneVpc>[]>;
140
+ /**
141
+ * The name of the private zone.
142
+ */
143
+ zoneName: pulumi.Input<string>;
144
+ }
@@ -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.PrivateZone = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Provides a resource to manage private zone
10
+ * ## Example Usage
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as volcengine from "@volcengine/pulumi";
15
+ *
16
+ * const foo = new volcengine.private_zone.PrivateZone("foo", {
17
+ * intelligentMode: true,
18
+ * loadBalanceMode: true,
19
+ * recursionMode: true,
20
+ * remark: "acc-test-new",
21
+ * vpcs: [
22
+ * {
23
+ * vpcId: "vpc-rs4mi0jedipsv0x57pf****",
24
+ * },
25
+ * {
26
+ * region: "cn-shanghai",
27
+ * vpcId: "vpc-3qdzk9xju6o747prml0jk****",
28
+ * },
29
+ * ],
30
+ * zoneName: "acc-test-pz.com",
31
+ * });
32
+ * ```
33
+ *
34
+ * ## Import
35
+ *
36
+ * PrivateZone can be imported using the id, e.g.
37
+ *
38
+ * ```sh
39
+ * $ pulumi import volcengine:private_zone/privateZone:PrivateZone default resource_id
40
+ * ```
41
+ */
42
+ class PrivateZone extends pulumi.CustomResource {
43
+ /**
44
+ * Get an existing PrivateZone resource's state with the given name, ID, and optional extra
45
+ * properties used to qualify the lookup.
46
+ *
47
+ * @param name The _unique_ name of the resulting resource.
48
+ * @param id The _unique_ provider ID of the resource to lookup.
49
+ * @param state Any extra arguments used during the lookup.
50
+ * @param opts Optional settings to control the behavior of the CustomResource.
51
+ */
52
+ static get(name, id, state, opts) {
53
+ return new PrivateZone(name, state, Object.assign(Object.assign({}, opts), { id: id }));
54
+ }
55
+ /**
56
+ * Returns true if the given object is an instance of PrivateZone. This is designed to work even
57
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
58
+ */
59
+ static isInstance(obj) {
60
+ if (obj === undefined || obj === null) {
61
+ return false;
62
+ }
63
+ return obj['__pulumiType'] === PrivateZone.__pulumiType;
64
+ }
65
+ constructor(name, argsOrState, opts) {
66
+ let resourceInputs = {};
67
+ opts = opts || {};
68
+ if (opts.id) {
69
+ const state = argsOrState;
70
+ resourceInputs["intelligentMode"] = state ? state.intelligentMode : undefined;
71
+ resourceInputs["loadBalanceMode"] = state ? state.loadBalanceMode : undefined;
72
+ resourceInputs["recursionMode"] = state ? state.recursionMode : undefined;
73
+ resourceInputs["remark"] = state ? state.remark : undefined;
74
+ resourceInputs["vpcs"] = state ? state.vpcs : undefined;
75
+ resourceInputs["zoneName"] = state ? state.zoneName : undefined;
76
+ }
77
+ else {
78
+ const args = argsOrState;
79
+ if ((!args || args.vpcs === undefined) && !opts.urn) {
80
+ throw new Error("Missing required property 'vpcs'");
81
+ }
82
+ if ((!args || args.zoneName === undefined) && !opts.urn) {
83
+ throw new Error("Missing required property 'zoneName'");
84
+ }
85
+ resourceInputs["intelligentMode"] = args ? args.intelligentMode : undefined;
86
+ resourceInputs["loadBalanceMode"] = args ? args.loadBalanceMode : undefined;
87
+ resourceInputs["recursionMode"] = args ? args.recursionMode : undefined;
88
+ resourceInputs["remark"] = args ? args.remark : undefined;
89
+ resourceInputs["vpcs"] = args ? args.vpcs : undefined;
90
+ resourceInputs["zoneName"] = args ? args.zoneName : undefined;
91
+ }
92
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
93
+ super(PrivateZone.__pulumiType, name, resourceInputs, opts);
94
+ }
95
+ }
96
+ exports.PrivateZone = PrivateZone;
97
+ /** @internal */
98
+ PrivateZone.__pulumiType = 'volcengine:private_zone/privateZone:PrivateZone';
99
+ //# sourceMappingURL=privateZone.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"privateZone.js","sourceRoot":"","sources":["../../private_zone/privateZone.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;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IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AAzFL,kCA0FC;AA5EG,gBAAgB;AACO,wBAAY,GAAG,iDAAiD,CAAC"}
@@ -0,0 +1,133 @@
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 private zones
5
+ */
6
+ export declare function privateZones(args?: PrivateZonesArgs, opts?: pulumi.InvokeOptions): Promise<PrivateZonesResult>;
7
+ /**
8
+ * A collection of arguments for invoking PrivateZones.
9
+ */
10
+ export interface PrivateZonesArgs {
11
+ /**
12
+ * The line mode of Private Zone, specified whether the intelligent mode and the load balance function is enabled.
13
+ */
14
+ lineMode?: number;
15
+ /**
16
+ * A Name Regex of Resource.
17
+ */
18
+ nameRegex?: string;
19
+ /**
20
+ * File name where to save data source results.
21
+ */
22
+ outputFile?: string;
23
+ /**
24
+ * Whether the recursion mode of Private Zone is enabled.
25
+ */
26
+ recursionMode?: boolean;
27
+ /**
28
+ * The region of Private Zone.
29
+ */
30
+ region?: string;
31
+ /**
32
+ * The search mode of query. Valid values: `LIKE`, `EXACT`. Default is `LIKE`.
33
+ */
34
+ searchMode?: string;
35
+ /**
36
+ * The vpc id associated to Private Zone.
37
+ */
38
+ vpcId?: string;
39
+ /**
40
+ * The zid of Private Zone.
41
+ */
42
+ zid?: number;
43
+ /**
44
+ * The name of Private Zone.
45
+ */
46
+ zoneName?: string;
47
+ }
48
+ /**
49
+ * A collection of values returned by PrivateZones.
50
+ */
51
+ export interface PrivateZonesResult {
52
+ /**
53
+ * The provider-assigned unique ID for this managed resource.
54
+ */
55
+ readonly id: string;
56
+ /**
57
+ * The line mode of the private zone, specified whether the intelligent mode and the load balance function is enabled.
58
+ */
59
+ readonly lineMode?: number;
60
+ readonly nameRegex?: string;
61
+ readonly outputFile?: string;
62
+ /**
63
+ * The collection of query.
64
+ */
65
+ readonly privateZones: outputs.private_zone.PrivateZonesPrivateZone[];
66
+ /**
67
+ * Whether the recursion mode of the private zone is enabled.
68
+ */
69
+ readonly recursionMode?: boolean;
70
+ /**
71
+ * The region of the private zone.
72
+ */
73
+ readonly region?: string;
74
+ readonly searchMode?: string;
75
+ /**
76
+ * The total count of query.
77
+ */
78
+ readonly totalCount: number;
79
+ readonly vpcId?: string;
80
+ /**
81
+ * The id of the private zone.
82
+ */
83
+ readonly zid?: number;
84
+ /**
85
+ * The id of the private zone.
86
+ */
87
+ readonly zoneName?: string;
88
+ }
89
+ /**
90
+ * Use this data source to query detailed information of private zones
91
+ */
92
+ export declare function privateZonesOutput(args?: PrivateZonesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<PrivateZonesResult>;
93
+ /**
94
+ * A collection of arguments for invoking PrivateZones.
95
+ */
96
+ export interface PrivateZonesOutputArgs {
97
+ /**
98
+ * The line mode of Private Zone, specified whether the intelligent mode and the load balance function is enabled.
99
+ */
100
+ lineMode?: pulumi.Input<number>;
101
+ /**
102
+ * A Name Regex of Resource.
103
+ */
104
+ nameRegex?: pulumi.Input<string>;
105
+ /**
106
+ * File name where to save data source results.
107
+ */
108
+ outputFile?: pulumi.Input<string>;
109
+ /**
110
+ * Whether the recursion mode of Private Zone is enabled.
111
+ */
112
+ recursionMode?: pulumi.Input<boolean>;
113
+ /**
114
+ * The region of Private Zone.
115
+ */
116
+ region?: pulumi.Input<string>;
117
+ /**
118
+ * The search mode of query. Valid values: `LIKE`, `EXACT`. Default is `LIKE`.
119
+ */
120
+ searchMode?: pulumi.Input<string>;
121
+ /**
122
+ * The vpc id associated to Private Zone.
123
+ */
124
+ vpcId?: pulumi.Input<string>;
125
+ /**
126
+ * The zid of Private Zone.
127
+ */
128
+ zid?: pulumi.Input<number>;
129
+ /**
130
+ * The name of Private Zone.
131
+ */
132
+ zoneName?: pulumi.Input<string>;
133
+ }