@volcengine/pulumi 0.0.24 → 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 (103) hide show
  1. package/autoscaling/scalingConfiguration.d.ts +1 -1
  2. package/cen/bandwidthPackage.d.ts +1 -1
  3. package/cen/cen.d.ts +1 -1
  4. package/ebs/volume.d.ts +3 -3
  5. package/ecs/instances.d.ts +12 -0
  6. package/ecs/instances.js +1 -0
  7. package/ecs/instances.js.map +1 -1
  8. package/ecs/launchTemplate.d.ts +1 -1
  9. package/ecs/state.d.ts +3 -0
  10. package/ecs/state.js.map +1 -1
  11. package/index.d.ts +3 -1
  12. package/index.js +5 -1
  13. package/index.js.map +1 -1
  14. package/nat/snatEntries.d.ts +4 -4
  15. package/nat/snatEntries.js +4 -4
  16. package/nat/snatEntry.d.ts +1 -1
  17. package/nat/snatEntry.js +1 -1
  18. package/package.json +2 -2
  19. package/private_zone/index.d.ts +33 -0
  20. package/private_zone/index.js +62 -0
  21. package/private_zone/index.js.map +1 -0
  22. package/private_zone/privateZone.d.ts +144 -0
  23. package/private_zone/privateZone.js +99 -0
  24. package/private_zone/privateZone.js.map +1 -0
  25. package/private_zone/privateZones.d.ts +133 -0
  26. package/private_zone/privateZones.js +34 -0
  27. package/private_zone/privateZones.js.map +1 -0
  28. package/private_zone/record.d.ts +143 -0
  29. package/private_zone/record.js +86 -0
  30. package/private_zone/record.js.map +1 -0
  31. package/private_zone/recordSets.d.ts +88 -0
  32. package/private_zone/recordSets.js +29 -0
  33. package/private_zone/recordSets.js.map +1 -0
  34. package/private_zone/recordWeightEnabler.d.ts +83 -0
  35. package/private_zone/recordWeightEnabler.js +73 -0
  36. package/private_zone/recordWeightEnabler.js.map +1 -0
  37. package/private_zone/records.d.ts +148 -0
  38. package/private_zone/records.js +35 -0
  39. package/private_zone/records.js.map +1 -0
  40. package/private_zone/resolverEndpoint.d.ts +155 -0
  41. package/private_zone/resolverEndpoint.js +116 -0
  42. package/private_zone/resolverEndpoint.js.map +1 -0
  43. package/private_zone/resolverEndpoints.d.ts +119 -0
  44. package/private_zone/resolverEndpoints.js +47 -0
  45. package/private_zone/resolverEndpoints.js.map +1 -0
  46. package/private_zone/resolverRule.d.ts +153 -0
  47. package/private_zone/resolverRule.js +98 -0
  48. package/private_zone/resolverRule.js.map +1 -0
  49. package/private_zone/resolverRules.d.ts +107 -0
  50. package/private_zone/resolverRules.js +46 -0
  51. package/private_zone/resolverRules.js.map +1 -0
  52. package/private_zone/userVpcAuthorization.d.ts +67 -0
  53. package/private_zone/userVpcAuthorization.js +71 -0
  54. package/private_zone/userVpcAuthorization.js.map +1 -0
  55. package/rds_postgresql/allowlist.d.ts +129 -0
  56. package/rds_postgresql/allowlist.js +92 -0
  57. package/rds_postgresql/allowlist.js.map +1 -0
  58. package/rds_postgresql/allowlistAssociate.d.ts +130 -0
  59. package/rds_postgresql/allowlistAssociate.js +127 -0
  60. package/rds_postgresql/allowlistAssociate.js.map +1 -0
  61. package/rds_postgresql/allowlists.d.ts +83 -0
  62. package/rds_postgresql/allowlists.js +44 -0
  63. package/rds_postgresql/allowlists.js.map +1 -0
  64. package/rds_postgresql/index.d.ts +9 -0
  65. package/rds_postgresql/index.js +14 -1
  66. package/rds_postgresql/index.js.map +1 -1
  67. package/transit_router/transitRouter.d.ts +13 -0
  68. package/transit_router/transitRouter.js +3 -0
  69. package/transit_router/transitRouter.js.map +1 -1
  70. package/transit_router/vpcAttachment.d.ts +15 -1
  71. package/transit_router/vpcAttachment.js +5 -1
  72. package/transit_router/vpcAttachment.js.map +1 -1
  73. package/types/input.d.ts +106 -0
  74. package/types/output.d.ts +707 -1
  75. package/vepfs/fileSystem.d.ts +311 -0
  76. package/vepfs/fileSystem.js +150 -0
  77. package/vepfs/fileSystem.js.map +1 -0
  78. package/vepfs/fileSystems.d.ts +192 -0
  79. package/vepfs/fileSystems.js +101 -0
  80. package/vepfs/fileSystems.js.map +1 -0
  81. package/vepfs/fileset.d.ts +210 -0
  82. package/vepfs/fileset.js +130 -0
  83. package/vepfs/fileset.js.map +1 -0
  84. package/vepfs/filesets.d.ts +200 -0
  85. package/vepfs/filesets.js +119 -0
  86. package/vepfs/filesets.js.map +1 -0
  87. package/vepfs/index.d.ts +21 -0
  88. package/vepfs/index.js +46 -0
  89. package/vepfs/index.js.map +1 -0
  90. package/vepfs/mountService.d.ts +192 -0
  91. package/vepfs/mountService.js +116 -0
  92. package/vepfs/mountService.js.map +1 -0
  93. package/vepfs/mountServiceAttachment.d.ts +131 -0
  94. package/vepfs/mountServiceAttachment.js +112 -0
  95. package/vepfs/mountServiceAttachment.js.map +1 -0
  96. package/vepfs/mountServices.d.ts +157 -0
  97. package/vepfs/mountServices.js +85 -0
  98. package/vepfs/mountServices.js.map +1 -0
  99. package/vke/cluster.d.ts +3 -3
  100. package/vke/node.d.ts +18 -18
  101. package/vke/nodePool.d.ts +109 -0
  102. package/vke/nodePool.js +80 -0
  103. package/vke/nodePool.js.map +1 -1
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,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,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;IAmCD,YAAY,IAAY,EAAE,WAAgD,EAAE,IAAmC;QAC3G,IAAI,cAAc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C,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;SACjE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;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
+ }
@@ -0,0 +1,34 @@
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.privateZonesOutput = exports.privateZones = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Use this data source to query detailed information of private zones
10
+ */
11
+ function privateZones(args, opts) {
12
+ args = args || {};
13
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
14
+ return pulumi.runtime.invoke("volcengine:private_zone/privateZones:PrivateZones", {
15
+ "lineMode": args.lineMode,
16
+ "nameRegex": args.nameRegex,
17
+ "outputFile": args.outputFile,
18
+ "recursionMode": args.recursionMode,
19
+ "region": args.region,
20
+ "searchMode": args.searchMode,
21
+ "vpcId": args.vpcId,
22
+ "zid": args.zid,
23
+ "zoneName": args.zoneName,
24
+ }, opts);
25
+ }
26
+ exports.privateZones = privateZones;
27
+ /**
28
+ * Use this data source to query detailed information of private zones
29
+ */
30
+ function privateZonesOutput(args, opts) {
31
+ return pulumi.output(args).apply((a) => privateZones(a, opts));
32
+ }
33
+ exports.privateZonesOutput = privateZonesOutput;
34
+ //# sourceMappingURL=privateZones.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"privateZones.js","sourceRoot":"","sources":["../../private_zone/privateZones.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;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,mDAAmD,EAAE;QAC9E,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAfD,oCAeC;AAqFD;;GAEG;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"}
@@ -0,0 +1,143 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Provides a resource to manage private zone record
4
+ *
5
+ * ## Import
6
+ *
7
+ * PrivateZoneRecord can be imported using the id, e.g.
8
+ *
9
+ * ```sh
10
+ * $ pulumi import volcengine:private_zone/record:Record default resource_id
11
+ * ```
12
+ */
13
+ export declare class Record extends pulumi.CustomResource {
14
+ /**
15
+ * Get an existing Record resource's state with the given name, ID, and optional extra
16
+ * properties used to qualify the lookup.
17
+ *
18
+ * @param name The _unique_ name of the resulting resource.
19
+ * @param id The _unique_ provider ID of the resource to lookup.
20
+ * @param state Any extra arguments used during the lookup.
21
+ * @param opts Optional settings to control the behavior of the CustomResource.
22
+ */
23
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RecordState, opts?: pulumi.CustomResourceOptions): Record;
24
+ /**
25
+ * Returns true if the given object is an instance of Record. This is designed to work even
26
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
27
+ */
28
+ static isInstance(obj: any): obj is Record;
29
+ /**
30
+ * Whether to enable the private zone record. This field is only effected when modify this resource.
31
+ */
32
+ readonly enable: pulumi.Output<boolean>;
33
+ /**
34
+ * The host of the private zone record.
35
+ */
36
+ readonly host: pulumi.Output<string>;
37
+ /**
38
+ * The remark of the private zone record.
39
+ */
40
+ readonly remark: pulumi.Output<string | undefined>;
41
+ /**
42
+ * The ttl of the private zone record. Unit: second. Default is 600.
43
+ */
44
+ readonly ttl: pulumi.Output<number>;
45
+ /**
46
+ * The type of the private zone record. Valid values: `A`, `AAAA`, `CNAME`, `MX`, `PTR`.
47
+ */
48
+ readonly type: pulumi.Output<string>;
49
+ /**
50
+ * The value of the private zone record. Record values need to be set based on the value of the `type`.
51
+ */
52
+ readonly value: pulumi.Output<string>;
53
+ /**
54
+ * The weight of the private zone record. This field is only effected when the `loadBalanceMode` of the private zone is true and the `weightEnabled` of the recordSet is true. Default is 1.
55
+ */
56
+ readonly weight: pulumi.Output<number>;
57
+ /**
58
+ * The zid of the private zone record.
59
+ */
60
+ readonly zid: pulumi.Output<number>;
61
+ /**
62
+ * Create a Record resource with the given unique name, arguments, and options.
63
+ *
64
+ * @param name The _unique_ name of the resource.
65
+ * @param args The arguments to use to populate this resource's properties.
66
+ * @param opts A bag of options that control this resource's behavior.
67
+ */
68
+ constructor(name: string, args: RecordArgs, opts?: pulumi.CustomResourceOptions);
69
+ }
70
+ /**
71
+ * Input properties used for looking up and filtering Record resources.
72
+ */
73
+ export interface RecordState {
74
+ /**
75
+ * Whether to enable the private zone record. This field is only effected when modify this resource.
76
+ */
77
+ enable?: pulumi.Input<boolean>;
78
+ /**
79
+ * The host of the private zone record.
80
+ */
81
+ host?: pulumi.Input<string>;
82
+ /**
83
+ * The remark of the private zone record.
84
+ */
85
+ remark?: pulumi.Input<string>;
86
+ /**
87
+ * The ttl of the private zone record. Unit: second. Default is 600.
88
+ */
89
+ ttl?: pulumi.Input<number>;
90
+ /**
91
+ * The type of the private zone record. Valid values: `A`, `AAAA`, `CNAME`, `MX`, `PTR`.
92
+ */
93
+ type?: pulumi.Input<string>;
94
+ /**
95
+ * The value of the private zone record. Record values need to be set based on the value of the `type`.
96
+ */
97
+ value?: pulumi.Input<string>;
98
+ /**
99
+ * The weight of the private zone record. This field is only effected when the `loadBalanceMode` of the private zone is true and the `weightEnabled` of the recordSet is true. Default is 1.
100
+ */
101
+ weight?: pulumi.Input<number>;
102
+ /**
103
+ * The zid of the private zone record.
104
+ */
105
+ zid?: pulumi.Input<number>;
106
+ }
107
+ /**
108
+ * The set of arguments for constructing a Record resource.
109
+ */
110
+ export interface RecordArgs {
111
+ /**
112
+ * Whether to enable the private zone record. This field is only effected when modify this resource.
113
+ */
114
+ enable?: pulumi.Input<boolean>;
115
+ /**
116
+ * The host of the private zone record.
117
+ */
118
+ host: pulumi.Input<string>;
119
+ /**
120
+ * The remark of the private zone record.
121
+ */
122
+ remark?: pulumi.Input<string>;
123
+ /**
124
+ * The ttl of the private zone record. Unit: second. Default is 600.
125
+ */
126
+ ttl?: pulumi.Input<number>;
127
+ /**
128
+ * The type of the private zone record. Valid values: `A`, `AAAA`, `CNAME`, `MX`, `PTR`.
129
+ */
130
+ type: pulumi.Input<string>;
131
+ /**
132
+ * The value of the private zone record. Record values need to be set based on the value of the `type`.
133
+ */
134
+ value: pulumi.Input<string>;
135
+ /**
136
+ * The weight of the private zone record. This field is only effected when the `loadBalanceMode` of the private zone is true and the `weightEnabled` of the recordSet is true. Default is 1.
137
+ */
138
+ weight?: pulumi.Input<number>;
139
+ /**
140
+ * The zid of the private zone record.
141
+ */
142
+ zid: pulumi.Input<number>;
143
+ }
@@ -0,0 +1,86 @@
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.Record = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Provides a resource to manage private zone record
10
+ *
11
+ * ## Import
12
+ *
13
+ * PrivateZoneRecord can be imported using the id, e.g.
14
+ *
15
+ * ```sh
16
+ * $ pulumi import volcengine:private_zone/record:Record default resource_id
17
+ * ```
18
+ */
19
+ class Record extends pulumi.CustomResource {
20
+ /**
21
+ * Get an existing Record resource's state with the given name, ID, and optional extra
22
+ * properties used to qualify the lookup.
23
+ *
24
+ * @param name The _unique_ name of the resulting resource.
25
+ * @param id The _unique_ provider ID of the resource to lookup.
26
+ * @param state Any extra arguments used during the lookup.
27
+ * @param opts Optional settings to control the behavior of the CustomResource.
28
+ */
29
+ static get(name, id, state, opts) {
30
+ return new Record(name, state, Object.assign(Object.assign({}, opts), { id: id }));
31
+ }
32
+ /**
33
+ * Returns true if the given object is an instance of Record. This is designed to work even
34
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
35
+ */
36
+ static isInstance(obj) {
37
+ if (obj === undefined || obj === null) {
38
+ return false;
39
+ }
40
+ return obj['__pulumiType'] === Record.__pulumiType;
41
+ }
42
+ constructor(name, argsOrState, opts) {
43
+ let resourceInputs = {};
44
+ opts = opts || {};
45
+ if (opts.id) {
46
+ const state = argsOrState;
47
+ resourceInputs["enable"] = state ? state.enable : undefined;
48
+ resourceInputs["host"] = state ? state.host : undefined;
49
+ resourceInputs["remark"] = state ? state.remark : undefined;
50
+ resourceInputs["ttl"] = state ? state.ttl : undefined;
51
+ resourceInputs["type"] = state ? state.type : undefined;
52
+ resourceInputs["value"] = state ? state.value : undefined;
53
+ resourceInputs["weight"] = state ? state.weight : undefined;
54
+ resourceInputs["zid"] = state ? state.zid : undefined;
55
+ }
56
+ else {
57
+ const args = argsOrState;
58
+ if ((!args || args.host === undefined) && !opts.urn) {
59
+ throw new Error("Missing required property 'host'");
60
+ }
61
+ if ((!args || args.type === undefined) && !opts.urn) {
62
+ throw new Error("Missing required property 'type'");
63
+ }
64
+ if ((!args || args.value === undefined) && !opts.urn) {
65
+ throw new Error("Missing required property 'value'");
66
+ }
67
+ if ((!args || args.zid === undefined) && !opts.urn) {
68
+ throw new Error("Missing required property 'zid'");
69
+ }
70
+ resourceInputs["enable"] = args ? args.enable : undefined;
71
+ resourceInputs["host"] = args ? args.host : undefined;
72
+ resourceInputs["remark"] = args ? args.remark : undefined;
73
+ resourceInputs["ttl"] = args ? args.ttl : undefined;
74
+ resourceInputs["type"] = args ? args.type : undefined;
75
+ resourceInputs["value"] = args ? args.value : undefined;
76
+ resourceInputs["weight"] = args ? args.weight : undefined;
77
+ resourceInputs["zid"] = args ? args.zid : undefined;
78
+ }
79
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
80
+ super(Record.__pulumiType, name, resourceInputs, opts);
81
+ }
82
+ }
83
+ exports.Record = Record;
84
+ /** @internal */
85
+ Record.__pulumiType = 'volcengine:private_zone/record:Record';
86
+ //# sourceMappingURL=record.js.map
@@ -0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,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YACpD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;SACvD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;;AA3GL,wBA4GC;AA9FG,gBAAgB;AACO,mBAAY,GAAG,uCAAuC,CAAC"}
@@ -0,0 +1,88 @@
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 zone record sets
5
+ */
6
+ export declare function recordSets(args: RecordSetsArgs, opts?: pulumi.InvokeOptions): Promise<RecordSetsResult>;
7
+ /**
8
+ * A collection of arguments for invoking RecordSets.
9
+ */
10
+ export interface RecordSetsArgs {
11
+ /**
12
+ * The host of Private Zone Record Set.
13
+ */
14
+ host?: string;
15
+ /**
16
+ * File name where to save data source results.
17
+ */
18
+ outputFile?: string;
19
+ /**
20
+ * The id of Private Zone Record Set.
21
+ */
22
+ recordSetId?: string;
23
+ /**
24
+ * The search mode of query `host`. Valid values: `LIKE`, `EXACT`. Default is `LIKE`.
25
+ */
26
+ searchMode?: string;
27
+ /**
28
+ * The zid of Private Zone.
29
+ */
30
+ zid: number;
31
+ }
32
+ /**
33
+ * A collection of values returned by RecordSets.
34
+ */
35
+ export interface RecordSetsResult {
36
+ /**
37
+ * The host of the private zone record.
38
+ */
39
+ readonly host?: string;
40
+ /**
41
+ * The provider-assigned unique ID for this managed resource.
42
+ */
43
+ readonly id: string;
44
+ readonly outputFile?: string;
45
+ /**
46
+ * The id of the private zone record set.
47
+ */
48
+ readonly recordSetId?: string;
49
+ /**
50
+ * The collection of query.
51
+ */
52
+ readonly recordSets: outputs.private_zone.RecordSetsRecordSet[];
53
+ readonly searchMode?: string;
54
+ /**
55
+ * The total count of query.
56
+ */
57
+ readonly totalCount: number;
58
+ readonly zid: number;
59
+ }
60
+ /**
61
+ * Use this data source to query detailed information of private zone record sets
62
+ */
63
+ export declare function recordSetsOutput(args: RecordSetsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<RecordSetsResult>;
64
+ /**
65
+ * A collection of arguments for invoking RecordSets.
66
+ */
67
+ export interface RecordSetsOutputArgs {
68
+ /**
69
+ * The host of Private Zone Record Set.
70
+ */
71
+ host?: pulumi.Input<string>;
72
+ /**
73
+ * File name where to save data source results.
74
+ */
75
+ outputFile?: pulumi.Input<string>;
76
+ /**
77
+ * The id of Private Zone Record Set.
78
+ */
79
+ recordSetId?: pulumi.Input<string>;
80
+ /**
81
+ * The search mode of query `host`. Valid values: `LIKE`, `EXACT`. Default is `LIKE`.
82
+ */
83
+ searchMode?: pulumi.Input<string>;
84
+ /**
85
+ * The zid of Private Zone.
86
+ */
87
+ zid: pulumi.Input<number>;
88
+ }
@@ -0,0 +1,29 @@
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.recordSetsOutput = exports.recordSets = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Use this data source to query detailed information of private zone record sets
10
+ */
11
+ function recordSets(args, opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("volcengine:private_zone/recordSets:RecordSets", {
14
+ "host": args.host,
15
+ "outputFile": args.outputFile,
16
+ "recordSetId": args.recordSetId,
17
+ "searchMode": args.searchMode,
18
+ "zid": args.zid,
19
+ }, opts);
20
+ }
21
+ exports.recordSets = recordSets;
22
+ /**
23
+ * Use this data source to query detailed information of private zone record sets
24
+ */
25
+ function recordSetsOutput(args, opts) {
26
+ return pulumi.output(args).apply((a) => recordSets(a, opts));
27
+ }
28
+ exports.recordSetsOutput = recordSetsOutput;
29
+ //# sourceMappingURL=recordSets.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recordSets.js","sourceRoot":"","sources":["../../private_zone/recordSets.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IAExE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,+CAA+C,EAAE;QAC1E,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,KAAK,EAAE,IAAI,CAAC,GAAG;KAClB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,gCAUC;AAwDD;;GAEG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrE,CAAC;AAFD,4CAEC"}