@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,101 @@
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.fileSystemsOutput = exports.fileSystems = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Use this data source to query detailed information of vepfs file systems
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 fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
22
+ * subnetName: "acc-test-subnet",
23
+ * cidrBlock: "172.16.0.0/24",
24
+ * zoneId: "cn-beijing-a",
25
+ * vpcId: fooVpc.id,
26
+ * });
27
+ * const fooFileSystem = new volcengine.vepfs.FileSystem("fooFileSystem", {
28
+ * fileSystemName: "acc-test-file-system",
29
+ * subnetId: fooSubnet.id,
30
+ * storeType: "Advance_100",
31
+ * description: "tf-test",
32
+ * capacity: 12,
33
+ * project: "default",
34
+ * enableRestripe: false,
35
+ * tags: [{
36
+ * key: "k1",
37
+ * value: "v1",
38
+ * }],
39
+ * });
40
+ * const fooFileSystems = volcengine.vepfs.FileSystemsOutput({
41
+ * ids: [fooFileSystem.id],
42
+ * });
43
+ * ```
44
+ */
45
+ function fileSystems(args, opts) {
46
+ args = args || {};
47
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
48
+ return pulumi.runtime.invoke("volcengine:vepfs/fileSystems:FileSystems", {
49
+ "fileSystemName": args.fileSystemName,
50
+ "ids": args.ids,
51
+ "nameRegex": args.nameRegex,
52
+ "outputFile": args.outputFile,
53
+ "project": args.project,
54
+ "statuses": args.statuses,
55
+ "storeType": args.storeType,
56
+ "zoneId": args.zoneId,
57
+ }, opts);
58
+ }
59
+ exports.fileSystems = fileSystems;
60
+ /**
61
+ * Use this data source to query detailed information of vepfs file systems
62
+ * ## Example Usage
63
+ *
64
+ * ```typescript
65
+ * import * as pulumi from "@pulumi/pulumi";
66
+ * import * as volcengine from "@pulumi/volcengine";
67
+ * import * as volcengine from "@volcengine/pulumi";
68
+ *
69
+ * const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
70
+ * vpcName: "acc-test-vpc",
71
+ * cidrBlock: "172.16.0.0/16",
72
+ * });
73
+ * const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
74
+ * subnetName: "acc-test-subnet",
75
+ * cidrBlock: "172.16.0.0/24",
76
+ * zoneId: "cn-beijing-a",
77
+ * vpcId: fooVpc.id,
78
+ * });
79
+ * const fooFileSystem = new volcengine.vepfs.FileSystem("fooFileSystem", {
80
+ * fileSystemName: "acc-test-file-system",
81
+ * subnetId: fooSubnet.id,
82
+ * storeType: "Advance_100",
83
+ * description: "tf-test",
84
+ * capacity: 12,
85
+ * project: "default",
86
+ * enableRestripe: false,
87
+ * tags: [{
88
+ * key: "k1",
89
+ * value: "v1",
90
+ * }],
91
+ * });
92
+ * const fooFileSystems = volcengine.vepfs.FileSystemsOutput({
93
+ * ids: [fooFileSystem.id],
94
+ * });
95
+ * ```
96
+ */
97
+ function fileSystemsOutput(args, opts) {
98
+ return pulumi.output(args).apply((a) => fileSystems(a, opts));
99
+ }
100
+ exports.fileSystemsOutput = fileSystemsOutput;
101
+ //# sourceMappingURL=fileSystems.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fileSystems.js","sourceRoot":"","sources":["../../vepfs/fileSystems.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,SAAgB,WAAW,CAAC,IAAsB,EAAE,IAA2B;IAC3E,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,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAdD,kCAcC;AAgFD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAA2B;IACvF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACtE,CAAC;AAFD,8CAEC"}
@@ -0,0 +1,210 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Provides a resource to manage vepfs fileset
4
+ * ## Example Usage
5
+ *
6
+ * ```typescript
7
+ * import * as pulumi from "@pulumi/pulumi";
8
+ * import * as volcengine from "@volcengine/pulumi";
9
+ *
10
+ * const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
11
+ * vpcName: "acc-test-vpc",
12
+ * cidrBlock: "172.16.0.0/16",
13
+ * });
14
+ * const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
15
+ * subnetName: "acc-test-subnet",
16
+ * cidrBlock: "172.16.0.0/24",
17
+ * zoneId: "cn-beijing-a",
18
+ * vpcId: fooVpc.id,
19
+ * });
20
+ * const fooFileSystem = new volcengine.vepfs.FileSystem("fooFileSystem", {
21
+ * fileSystemName: "acc-test-file-system",
22
+ * subnetId: fooSubnet.id,
23
+ * storeType: "Advance_100",
24
+ * description: "tf-test",
25
+ * capacity: 12,
26
+ * project: "default",
27
+ * enableRestripe: false,
28
+ * tags: [{
29
+ * key: "k1",
30
+ * value: "v1",
31
+ * }],
32
+ * });
33
+ * const fooFileset = new volcengine.vepfs.Fileset("fooFileset", {
34
+ * fileSystemId: fooFileSystem.id,
35
+ * filesetName: "acc-test-fileset",
36
+ * filesetPath: "/tf-test/",
37
+ * maxIops: 100,
38
+ * maxBandwidth: 10,
39
+ * fileLimit: 20,
40
+ * capacityLimit: 30,
41
+ * });
42
+ * ```
43
+ *
44
+ * ## Import
45
+ *
46
+ * VepfsFileset can be imported using the file_system_id:fileset_id, e.g.
47
+ *
48
+ * ```sh
49
+ * $ pulumi import volcengine:vepfs/fileset:Fileset default file_system_id:fileset_id
50
+ * ```
51
+ */
52
+ export declare class Fileset extends pulumi.CustomResource {
53
+ /**
54
+ * Get an existing Fileset resource's state with the given name, ID, and optional extra
55
+ * properties used to qualify the lookup.
56
+ *
57
+ * @param name The _unique_ name of the resulting resource.
58
+ * @param id The _unique_ provider ID of the resource to lookup.
59
+ * @param state Any extra arguments used during the lookup.
60
+ * @param opts Optional settings to control the behavior of the CustomResource.
61
+ */
62
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: FilesetState, opts?: pulumi.CustomResourceOptions): Fileset;
63
+ /**
64
+ * Returns true if the given object is an instance of Fileset. This is designed to work even
65
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
66
+ */
67
+ static isInstance(obj: any): obj is Fileset;
68
+ /**
69
+ * The capacity limit of the vepfs fileset. Unit: Gib.
70
+ */
71
+ readonly capacityLimit: pulumi.Output<number | undefined>;
72
+ /**
73
+ * The used capacity of the vepfs fileset. Unit: GiB.
74
+ */
75
+ readonly capacityUsed: pulumi.Output<number>;
76
+ /**
77
+ * The create time of the vepfs fileset.
78
+ */
79
+ readonly createTime: pulumi.Output<string>;
80
+ /**
81
+ * The file number limit of the vepfs fileset.
82
+ */
83
+ readonly fileLimit: pulumi.Output<number | undefined>;
84
+ /**
85
+ * The id of the vepfs file system.
86
+ */
87
+ readonly fileSystemId: pulumi.Output<string>;
88
+ /**
89
+ * The used file number of the vepfs fileset.
90
+ */
91
+ readonly fileUsed: pulumi.Output<number>;
92
+ /**
93
+ * The name of the vepfs fileset.
94
+ */
95
+ readonly filesetName: pulumi.Output<string>;
96
+ /**
97
+ * The path of the vepfs fileset.
98
+ */
99
+ readonly filesetPath: pulumi.Output<string>;
100
+ /**
101
+ * The max bandwidth qos limit of the vepfs fileset. Unit: MB/s.
102
+ */
103
+ readonly maxBandwidth: pulumi.Output<number | undefined>;
104
+ /**
105
+ * The max number of inode in the vepfs fileset.
106
+ */
107
+ readonly maxInodeNum: pulumi.Output<number>;
108
+ /**
109
+ * The max IOPS qos limit of the vepfs fileset.
110
+ */
111
+ readonly maxIops: pulumi.Output<number | undefined>;
112
+ /**
113
+ * The status of the vepfs fileset.
114
+ */
115
+ readonly status: pulumi.Output<string>;
116
+ /**
117
+ * Create a Fileset resource with the given unique name, arguments, and options.
118
+ *
119
+ * @param name The _unique_ name of the resource.
120
+ * @param args The arguments to use to populate this resource's properties.
121
+ * @param opts A bag of options that control this resource's behavior.
122
+ */
123
+ constructor(name: string, args: FilesetArgs, opts?: pulumi.CustomResourceOptions);
124
+ }
125
+ /**
126
+ * Input properties used for looking up and filtering Fileset resources.
127
+ */
128
+ export interface FilesetState {
129
+ /**
130
+ * The capacity limit of the vepfs fileset. Unit: Gib.
131
+ */
132
+ capacityLimit?: pulumi.Input<number>;
133
+ /**
134
+ * The used capacity of the vepfs fileset. Unit: GiB.
135
+ */
136
+ capacityUsed?: pulumi.Input<number>;
137
+ /**
138
+ * The create time of the vepfs fileset.
139
+ */
140
+ createTime?: pulumi.Input<string>;
141
+ /**
142
+ * The file number limit of the vepfs fileset.
143
+ */
144
+ fileLimit?: pulumi.Input<number>;
145
+ /**
146
+ * The id of the vepfs file system.
147
+ */
148
+ fileSystemId?: pulumi.Input<string>;
149
+ /**
150
+ * The used file number of the vepfs fileset.
151
+ */
152
+ fileUsed?: pulumi.Input<number>;
153
+ /**
154
+ * The name of the vepfs fileset.
155
+ */
156
+ filesetName?: pulumi.Input<string>;
157
+ /**
158
+ * The path of the vepfs fileset.
159
+ */
160
+ filesetPath?: pulumi.Input<string>;
161
+ /**
162
+ * The max bandwidth qos limit of the vepfs fileset. Unit: MB/s.
163
+ */
164
+ maxBandwidth?: pulumi.Input<number>;
165
+ /**
166
+ * The max number of inode in the vepfs fileset.
167
+ */
168
+ maxInodeNum?: pulumi.Input<number>;
169
+ /**
170
+ * The max IOPS qos limit of the vepfs fileset.
171
+ */
172
+ maxIops?: pulumi.Input<number>;
173
+ /**
174
+ * The status of the vepfs fileset.
175
+ */
176
+ status?: pulumi.Input<string>;
177
+ }
178
+ /**
179
+ * The set of arguments for constructing a Fileset resource.
180
+ */
181
+ export interface FilesetArgs {
182
+ /**
183
+ * The capacity limit of the vepfs fileset. Unit: Gib.
184
+ */
185
+ capacityLimit?: pulumi.Input<number>;
186
+ /**
187
+ * The file number limit of the vepfs fileset.
188
+ */
189
+ fileLimit?: pulumi.Input<number>;
190
+ /**
191
+ * The id of the vepfs file system.
192
+ */
193
+ fileSystemId: pulumi.Input<string>;
194
+ /**
195
+ * The name of the vepfs fileset.
196
+ */
197
+ filesetName: pulumi.Input<string>;
198
+ /**
199
+ * The path of the vepfs fileset.
200
+ */
201
+ filesetPath: pulumi.Input<string>;
202
+ /**
203
+ * The max bandwidth qos limit of the vepfs fileset. Unit: MB/s.
204
+ */
205
+ maxBandwidth?: pulumi.Input<number>;
206
+ /**
207
+ * The max IOPS qos limit of the vepfs fileset.
208
+ */
209
+ maxIops?: pulumi.Input<number>;
210
+ }
@@ -0,0 +1,130 @@
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.Fileset = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Provides a resource to manage vepfs fileset
10
+ * ## Example Usage
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as volcengine from "@volcengine/pulumi";
15
+ *
16
+ * const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
17
+ * vpcName: "acc-test-vpc",
18
+ * cidrBlock: "172.16.0.0/16",
19
+ * });
20
+ * const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
21
+ * subnetName: "acc-test-subnet",
22
+ * cidrBlock: "172.16.0.0/24",
23
+ * zoneId: "cn-beijing-a",
24
+ * vpcId: fooVpc.id,
25
+ * });
26
+ * const fooFileSystem = new volcengine.vepfs.FileSystem("fooFileSystem", {
27
+ * fileSystemName: "acc-test-file-system",
28
+ * subnetId: fooSubnet.id,
29
+ * storeType: "Advance_100",
30
+ * description: "tf-test",
31
+ * capacity: 12,
32
+ * project: "default",
33
+ * enableRestripe: false,
34
+ * tags: [{
35
+ * key: "k1",
36
+ * value: "v1",
37
+ * }],
38
+ * });
39
+ * const fooFileset = new volcengine.vepfs.Fileset("fooFileset", {
40
+ * fileSystemId: fooFileSystem.id,
41
+ * filesetName: "acc-test-fileset",
42
+ * filesetPath: "/tf-test/",
43
+ * maxIops: 100,
44
+ * maxBandwidth: 10,
45
+ * fileLimit: 20,
46
+ * capacityLimit: 30,
47
+ * });
48
+ * ```
49
+ *
50
+ * ## Import
51
+ *
52
+ * VepfsFileset can be imported using the file_system_id:fileset_id, e.g.
53
+ *
54
+ * ```sh
55
+ * $ pulumi import volcengine:vepfs/fileset:Fileset default file_system_id:fileset_id
56
+ * ```
57
+ */
58
+ class Fileset extends pulumi.CustomResource {
59
+ /**
60
+ * Get an existing Fileset resource's state with the given name, ID, and optional extra
61
+ * properties used to qualify the lookup.
62
+ *
63
+ * @param name The _unique_ name of the resulting resource.
64
+ * @param id The _unique_ provider ID of the resource to lookup.
65
+ * @param state Any extra arguments used during the lookup.
66
+ * @param opts Optional settings to control the behavior of the CustomResource.
67
+ */
68
+ static get(name, id, state, opts) {
69
+ return new Fileset(name, state, Object.assign(Object.assign({}, opts), { id: id }));
70
+ }
71
+ /**
72
+ * Returns true if the given object is an instance of Fileset. This is designed to work even
73
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
74
+ */
75
+ static isInstance(obj) {
76
+ if (obj === undefined || obj === null) {
77
+ return false;
78
+ }
79
+ return obj['__pulumiType'] === Fileset.__pulumiType;
80
+ }
81
+ constructor(name, argsOrState, opts) {
82
+ let resourceInputs = {};
83
+ opts = opts || {};
84
+ if (opts.id) {
85
+ const state = argsOrState;
86
+ resourceInputs["capacityLimit"] = state ? state.capacityLimit : undefined;
87
+ resourceInputs["capacityUsed"] = state ? state.capacityUsed : undefined;
88
+ resourceInputs["createTime"] = state ? state.createTime : undefined;
89
+ resourceInputs["fileLimit"] = state ? state.fileLimit : undefined;
90
+ resourceInputs["fileSystemId"] = state ? state.fileSystemId : undefined;
91
+ resourceInputs["fileUsed"] = state ? state.fileUsed : undefined;
92
+ resourceInputs["filesetName"] = state ? state.filesetName : undefined;
93
+ resourceInputs["filesetPath"] = state ? state.filesetPath : undefined;
94
+ resourceInputs["maxBandwidth"] = state ? state.maxBandwidth : undefined;
95
+ resourceInputs["maxInodeNum"] = state ? state.maxInodeNum : undefined;
96
+ resourceInputs["maxIops"] = state ? state.maxIops : undefined;
97
+ resourceInputs["status"] = state ? state.status : undefined;
98
+ }
99
+ else {
100
+ const args = argsOrState;
101
+ if ((!args || args.fileSystemId === undefined) && !opts.urn) {
102
+ throw new Error("Missing required property 'fileSystemId'");
103
+ }
104
+ if ((!args || args.filesetName === undefined) && !opts.urn) {
105
+ throw new Error("Missing required property 'filesetName'");
106
+ }
107
+ if ((!args || args.filesetPath === undefined) && !opts.urn) {
108
+ throw new Error("Missing required property 'filesetPath'");
109
+ }
110
+ resourceInputs["capacityLimit"] = args ? args.capacityLimit : undefined;
111
+ resourceInputs["fileLimit"] = args ? args.fileLimit : undefined;
112
+ resourceInputs["fileSystemId"] = args ? args.fileSystemId : undefined;
113
+ resourceInputs["filesetName"] = args ? args.filesetName : undefined;
114
+ resourceInputs["filesetPath"] = args ? args.filesetPath : undefined;
115
+ resourceInputs["maxBandwidth"] = args ? args.maxBandwidth : undefined;
116
+ resourceInputs["maxIops"] = args ? args.maxIops : undefined;
117
+ resourceInputs["capacityUsed"] = undefined /*out*/;
118
+ resourceInputs["createTime"] = undefined /*out*/;
119
+ resourceInputs["fileUsed"] = undefined /*out*/;
120
+ resourceInputs["maxInodeNum"] = undefined /*out*/;
121
+ resourceInputs["status"] = undefined /*out*/;
122
+ }
123
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
124
+ super(Fileset.__pulumiType, name, resourceInputs, opts);
125
+ }
126
+ }
127
+ exports.Fileset = Fileset;
128
+ /** @internal */
129
+ Fileset.__pulumiType = 'volcengine:vepfs/fileset:Fileset';
130
+ //# sourceMappingURL=fileset.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fileset.js","sourceRoot":"","sources":["../../vepfs/fileset.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiDG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9D,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,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;IA2DD,YAAY,IAAY,EAAE,WAAwC,EAAE,IAAmC;QACnG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAuC,CAAC;YACtD,cAAc,CAAC,eAAe,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,aAA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AI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AAhIL,0BAiIC;AAnHG,gBAAgB;AACO,oBAAY,GAAG,kCAAkC,CAAC"}
@@ -0,0 +1,200 @@
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 vepfs filesets
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 fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
17
+ * subnetName: "acc-test-subnet",
18
+ * cidrBlock: "172.16.0.0/24",
19
+ * zoneId: "cn-beijing-a",
20
+ * vpcId: fooVpc.id,
21
+ * });
22
+ * const fooFileSystem = new volcengine.vepfs.FileSystem("fooFileSystem", {
23
+ * fileSystemName: "acc-test-file-system",
24
+ * subnetId: fooSubnet.id,
25
+ * storeType: "Advance_100",
26
+ * description: "tf-test",
27
+ * capacity: 12,
28
+ * project: "default",
29
+ * enableRestripe: false,
30
+ * tags: [{
31
+ * key: "k1",
32
+ * value: "v1",
33
+ * }],
34
+ * });
35
+ * const fooFileset = new volcengine.vepfs.Fileset("fooFileset", {
36
+ * fileSystemId: fooFileSystem.id,
37
+ * filesetName: "acc-test-fileset",
38
+ * filesetPath: "/tf-test/",
39
+ * maxIops: 100,
40
+ * maxBandwidth: 10,
41
+ * fileLimit: 20,
42
+ * capacityLimit: 30,
43
+ * });
44
+ * const fooFilesets = volcengine.vepfs.FilesetsOutput({
45
+ * fileSystemId: fooFileSystem.id,
46
+ * filesetId: fooFileset.id,
47
+ * });
48
+ * ```
49
+ */
50
+ export declare function filesets(args: FilesetsArgs, opts?: pulumi.InvokeOptions): Promise<FilesetsResult>;
51
+ /**
52
+ * A collection of arguments for invoking Filesets.
53
+ */
54
+ export interface FilesetsArgs {
55
+ /**
56
+ * The id of Vepfs File System.
57
+ */
58
+ fileSystemId: string;
59
+ /**
60
+ * The id of Vepfs Fileset.
61
+ */
62
+ filesetId?: string;
63
+ /**
64
+ * The name of Vepfs Fileset. This field support fuzzy query.
65
+ */
66
+ filesetName?: string;
67
+ /**
68
+ * The path of Vepfs Fileset. This field support fuzzy query.
69
+ */
70
+ filesetPath?: string;
71
+ /**
72
+ * A Name Regex of Resource.
73
+ */
74
+ nameRegex?: string;
75
+ /**
76
+ * File name where to save data source results.
77
+ */
78
+ outputFile?: string;
79
+ /**
80
+ * The query status list of Vepfs Fileset.
81
+ */
82
+ statuses?: string[];
83
+ }
84
+ /**
85
+ * A collection of values returned by Filesets.
86
+ */
87
+ export interface FilesetsResult {
88
+ readonly fileSystemId: string;
89
+ /**
90
+ * The id of the vepfs fileset.
91
+ */
92
+ readonly filesetId?: string;
93
+ /**
94
+ * The name of the vepfs fileset.
95
+ */
96
+ readonly filesetName?: string;
97
+ /**
98
+ * The path of the vepfs fileset.
99
+ */
100
+ readonly filesetPath?: string;
101
+ /**
102
+ * The collection of query.
103
+ */
104
+ readonly filesets: outputs.vepfs.FilesetsFileset[];
105
+ /**
106
+ * The provider-assigned unique ID for this managed resource.
107
+ */
108
+ readonly id: string;
109
+ readonly nameRegex?: string;
110
+ readonly outputFile?: string;
111
+ /**
112
+ * The status of the vepfs fileset.
113
+ */
114
+ readonly statuses?: string[];
115
+ /**
116
+ * The total count of query.
117
+ */
118
+ readonly totalCount: number;
119
+ }
120
+ /**
121
+ * Use this data source to query detailed information of vepfs filesets
122
+ * ## Example Usage
123
+ *
124
+ * ```typescript
125
+ * import * as pulumi from "@pulumi/pulumi";
126
+ * import * as volcengine from "@pulumi/volcengine";
127
+ * import * as volcengine from "@volcengine/pulumi";
128
+ *
129
+ * const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
130
+ * vpcName: "acc-test-vpc",
131
+ * cidrBlock: "172.16.0.0/16",
132
+ * });
133
+ * const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
134
+ * subnetName: "acc-test-subnet",
135
+ * cidrBlock: "172.16.0.0/24",
136
+ * zoneId: "cn-beijing-a",
137
+ * vpcId: fooVpc.id,
138
+ * });
139
+ * const fooFileSystem = new volcengine.vepfs.FileSystem("fooFileSystem", {
140
+ * fileSystemName: "acc-test-file-system",
141
+ * subnetId: fooSubnet.id,
142
+ * storeType: "Advance_100",
143
+ * description: "tf-test",
144
+ * capacity: 12,
145
+ * project: "default",
146
+ * enableRestripe: false,
147
+ * tags: [{
148
+ * key: "k1",
149
+ * value: "v1",
150
+ * }],
151
+ * });
152
+ * const fooFileset = new volcengine.vepfs.Fileset("fooFileset", {
153
+ * fileSystemId: fooFileSystem.id,
154
+ * filesetName: "acc-test-fileset",
155
+ * filesetPath: "/tf-test/",
156
+ * maxIops: 100,
157
+ * maxBandwidth: 10,
158
+ * fileLimit: 20,
159
+ * capacityLimit: 30,
160
+ * });
161
+ * const fooFilesets = volcengine.vepfs.FilesetsOutput({
162
+ * fileSystemId: fooFileSystem.id,
163
+ * filesetId: fooFileset.id,
164
+ * });
165
+ * ```
166
+ */
167
+ export declare function filesetsOutput(args: FilesetsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<FilesetsResult>;
168
+ /**
169
+ * A collection of arguments for invoking Filesets.
170
+ */
171
+ export interface FilesetsOutputArgs {
172
+ /**
173
+ * The id of Vepfs File System.
174
+ */
175
+ fileSystemId: pulumi.Input<string>;
176
+ /**
177
+ * The id of Vepfs Fileset.
178
+ */
179
+ filesetId?: pulumi.Input<string>;
180
+ /**
181
+ * The name of Vepfs Fileset. This field support fuzzy query.
182
+ */
183
+ filesetName?: pulumi.Input<string>;
184
+ /**
185
+ * The path of Vepfs Fileset. This field support fuzzy query.
186
+ */
187
+ filesetPath?: pulumi.Input<string>;
188
+ /**
189
+ * A Name Regex of Resource.
190
+ */
191
+ nameRegex?: pulumi.Input<string>;
192
+ /**
193
+ * File name where to save data source results.
194
+ */
195
+ outputFile?: pulumi.Input<string>;
196
+ /**
197
+ * The query status list of Vepfs Fileset.
198
+ */
199
+ statuses?: pulumi.Input<pulumi.Input<string>[]>;
200
+ }