@volcengine/pulumi-volcenginecc 0.0.9 → 0.0.10
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.
- package/apig/gateway.d.ts +237 -0
- package/apig/gateway.js +97 -0
- package/apig/gateway.js.map +1 -0
- package/apig/getGateway.d.ts +113 -0
- package/apig/getGateway.js +28 -0
- package/apig/getGateway.js.map +1 -0
- package/apig/getGateways.d.ts +22 -0
- package/apig/getGateways.js +24 -0
- package/apig/getGateways.js.map +1 -0
- package/apig/index.d.ts +9 -0
- package/apig/index.js +12 -1
- package/apig/index.js.map +1 -1
- package/escloud/getInstance.d.ts +213 -0
- package/escloud/getInstance.js +28 -0
- package/escloud/getInstance.js.map +1 -0
- package/escloud/getInstances.d.ts +22 -0
- package/escloud/getInstances.js +24 -0
- package/escloud/getInstances.js.map +1 -0
- package/escloud/index.d.ts +9 -0
- package/escloud/index.js +28 -0
- package/escloud/index.js.map +1 -0
- package/escloud/instance.d.ts +405 -0
- package/escloud/instance.js +147 -0
- package/escloud/instance.js.map +1 -0
- package/iam/getGroup.d.ts +1 -1
- package/iam/group.d.ts +3 -3
- package/iam/group.js +2 -2
- package/iam/group.js.map +1 -1
- package/index.d.ts +3 -1
- package/index.js +5 -1
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/rdsmysql/getInstance.d.ts +317 -0
- package/rdsmysql/getInstance.js +28 -0
- package/rdsmysql/getInstance.js.map +1 -0
- package/rdsmysql/getInstances.d.ts +22 -0
- package/rdsmysql/getInstances.js +24 -0
- package/rdsmysql/getInstances.js.map +1 -0
- package/rdsmysql/index.d.ts +9 -0
- package/rdsmysql/index.js +12 -1
- package/rdsmysql/index.js.map +1 -1
- package/rdsmysql/instance.d.ts +675 -0
- package/rdsmysql/instance.js +217 -0
- package/rdsmysql/instance.js.map +1 -0
- package/types/input.d.ts +2239 -736
- package/types/output.d.ts +4620 -1537
- package/vepfs/getInstance.d.ts +161 -0
- package/vepfs/getInstance.js +28 -0
- package/vepfs/getInstance.js.map +1 -0
- package/vepfs/getInstances.d.ts +22 -0
- package/vepfs/getInstances.js +24 -0
- package/vepfs/getInstances.js.map +1 -0
- package/vepfs/index.d.ts +9 -0
- package/vepfs/index.js +28 -0
- package/vepfs/index.js.map +1 -0
- package/vepfs/instance.d.ts +368 -0
- package/vepfs/instance.js +156 -0
- package/vepfs/instance.js.map +1 -0
- package/vke/getNodePool.d.ts +89 -0
- package/vke/getNodePool.js +28 -0
- package/vke/getNodePool.js.map +1 -0
- package/vke/getNodePools.d.ts +22 -0
- package/vke/getNodePools.js +24 -0
- package/vke/getNodePools.js.map +1 -0
- package/vke/index.d.ts +9 -0
- package/vke/index.js +12 -1
- package/vke/index.js.map +1 -1
- package/vke/nodePool.d.ts +174 -0
- package/vke/nodePool.js +85 -0
- package/vke/nodePool.js.map +1 -0
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Data Source schema for Volcengine::VEPFS::Instance
|
|
5
|
+
*/
|
|
6
|
+
export declare function getInstance(args: GetInstanceArgs, opts?: pulumi.InvokeOptions): Promise<GetInstanceResult>;
|
|
7
|
+
/**
|
|
8
|
+
* A collection of arguments for invoking getInstance.
|
|
9
|
+
*/
|
|
10
|
+
export interface GetInstanceArgs {
|
|
11
|
+
/**
|
|
12
|
+
* Uniquely identifies the resource.
|
|
13
|
+
*/
|
|
14
|
+
id: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* A collection of values returned by getInstance.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetInstanceResult {
|
|
20
|
+
/**
|
|
21
|
+
* 账户ID。
|
|
22
|
+
*/
|
|
23
|
+
readonly accountId: string;
|
|
24
|
+
/**
|
|
25
|
+
* vePFS 文件系统吞吐上限。
|
|
26
|
+
*/
|
|
27
|
+
readonly bandwidth: number;
|
|
28
|
+
/**
|
|
29
|
+
* 文件系统容量,单位为 TiB。
|
|
30
|
+
*/
|
|
31
|
+
readonly capacity: number;
|
|
32
|
+
/**
|
|
33
|
+
* 容量信息。
|
|
34
|
+
*/
|
|
35
|
+
readonly capacityInfo: outputs.vepfs.GetInstanceCapacityInfo;
|
|
36
|
+
/**
|
|
37
|
+
* 计费状态,默认为 Normal,表示正常计费。
|
|
38
|
+
*/
|
|
39
|
+
readonly chargeStatus: string;
|
|
40
|
+
/**
|
|
41
|
+
* 计费类型。取值说明如下:PayAsYouGo:按量计费。
|
|
42
|
+
*/
|
|
43
|
+
readonly chargeType: string;
|
|
44
|
+
/**
|
|
45
|
+
* 创建时间。
|
|
46
|
+
*/
|
|
47
|
+
readonly createdTime: string;
|
|
48
|
+
/**
|
|
49
|
+
* 文件系统描述信息。
|
|
50
|
+
*/
|
|
51
|
+
readonly description: string;
|
|
52
|
+
/**
|
|
53
|
+
* 扩容后是否开启数据均衡,取值说明如下:true:扩容后立即开启数据均衡。false:扩容后不开启数据均衡。注意:仅 100MB/s/TiB 规格的文件系统支持数据均衡功能。由于数据均衡过程会消耗存储节点的网络和磁盘带宽,导致文件系统的性能下降,建议您评估业务需求,谨慎开启。数据均衡的时间主要受存量数据量的影响,如果您的存量数据较多,均衡的时间可能会较长,根据扩容容量大小和文件系统状态,此过程可能需要花费数小时至 2 天的时间,建议您在业务低峰期开启并耐心等待。
|
|
54
|
+
*/
|
|
55
|
+
readonly enableRestripe: boolean;
|
|
56
|
+
/**
|
|
57
|
+
* 过期时间。
|
|
58
|
+
*/
|
|
59
|
+
readonly expireTime: string;
|
|
60
|
+
/**
|
|
61
|
+
* 文件系统 ID。
|
|
62
|
+
*/
|
|
63
|
+
readonly fileSystemId: string;
|
|
64
|
+
/**
|
|
65
|
+
* 文件系统名称。命名规范如下:只能以中文或英文开头。只能包含中文、字母、数字、半角句号(.)、下划线(_)或中划线(-)。长度需要在 1~128 个字符内。
|
|
66
|
+
*/
|
|
67
|
+
readonly fileSystemName: string;
|
|
68
|
+
/**
|
|
69
|
+
* 文件系统类型,默认为 VePFS。
|
|
70
|
+
*/
|
|
71
|
+
readonly fileSystemType: string;
|
|
72
|
+
/**
|
|
73
|
+
* 文件系统释放时间。
|
|
74
|
+
*/
|
|
75
|
+
readonly freeTime: string;
|
|
76
|
+
/**
|
|
77
|
+
* Uniquely identifies the resource.
|
|
78
|
+
*/
|
|
79
|
+
readonly id: string;
|
|
80
|
+
/**
|
|
81
|
+
* 文件系统所属项目,默认为 default。
|
|
82
|
+
*/
|
|
83
|
+
readonly projectName: string;
|
|
84
|
+
/**
|
|
85
|
+
* 协议类型,默认为 VePFS。
|
|
86
|
+
*/
|
|
87
|
+
readonly protocolType: string;
|
|
88
|
+
/**
|
|
89
|
+
* 读带宽值, 单位MB/s。
|
|
90
|
+
*/
|
|
91
|
+
readonly readBandwidth: number;
|
|
92
|
+
/**
|
|
93
|
+
* 生成的辅助网卡所在的安全组ID。
|
|
94
|
+
*/
|
|
95
|
+
readonly securityGroupId: string;
|
|
96
|
+
/**
|
|
97
|
+
* 文件系统状态。取值说明如下:Running:实例运行中。Creating:实例创建中。CreateError:实例创建失败。Updating:实例更新中。UpdateError:实例更新失败。Expanding:实例扩容中。ExpandError:实例扩容失败。Deleting:实例删除中。DeleteError:实例删除失败。Stopped:实例已关停。Error:实例处于错误状态。
|
|
98
|
+
*/
|
|
99
|
+
readonly status: string;
|
|
100
|
+
/**
|
|
101
|
+
* 文件系统关停时间。
|
|
102
|
+
*/
|
|
103
|
+
readonly stopServiceTime: string;
|
|
104
|
+
/**
|
|
105
|
+
* 文件系统规格,取值说明如下:Advance*100:100MB/s/TiB。Performance:性能版。Intelligent*Computing:智算版。
|
|
106
|
+
*/
|
|
107
|
+
readonly storeType: string;
|
|
108
|
+
/**
|
|
109
|
+
* 文件系统规格中文名称,支持如下:100MB/s/TiB。性能版。智算版。
|
|
110
|
+
*/
|
|
111
|
+
readonly storeTypeCn: string;
|
|
112
|
+
/**
|
|
113
|
+
* 存储类型英文名。
|
|
114
|
+
*/
|
|
115
|
+
readonly storeTypeEn: string;
|
|
116
|
+
/**
|
|
117
|
+
* 子网 ID。子网必须属于所选的可用区。
|
|
118
|
+
*/
|
|
119
|
+
readonly subnetId: string;
|
|
120
|
+
/**
|
|
121
|
+
* 标签列表。
|
|
122
|
+
*/
|
|
123
|
+
readonly tags: outputs.vepfs.GetInstanceTag[];
|
|
124
|
+
/**
|
|
125
|
+
* 文件系统更新时间。
|
|
126
|
+
*/
|
|
127
|
+
readonly updatedTime: string;
|
|
128
|
+
/**
|
|
129
|
+
* 文件系统版本号。
|
|
130
|
+
*/
|
|
131
|
+
readonly versionNumber: string;
|
|
132
|
+
/**
|
|
133
|
+
* 私有网络 ID。
|
|
134
|
+
*/
|
|
135
|
+
readonly vpcId: string;
|
|
136
|
+
/**
|
|
137
|
+
* 写带宽值, 单位MB/s。
|
|
138
|
+
*/
|
|
139
|
+
readonly writeBandwidth: number;
|
|
140
|
+
/**
|
|
141
|
+
* 可用区 ID。
|
|
142
|
+
*/
|
|
143
|
+
readonly zoneId: string;
|
|
144
|
+
/**
|
|
145
|
+
* 可用区名称。
|
|
146
|
+
*/
|
|
147
|
+
readonly zoneName: string;
|
|
148
|
+
}
|
|
149
|
+
/**
|
|
150
|
+
* Data Source schema for Volcengine::VEPFS::Instance
|
|
151
|
+
*/
|
|
152
|
+
export declare function getInstanceOutput(args: GetInstanceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetInstanceResult>;
|
|
153
|
+
/**
|
|
154
|
+
* A collection of arguments for invoking getInstance.
|
|
155
|
+
*/
|
|
156
|
+
export interface GetInstanceOutputArgs {
|
|
157
|
+
/**
|
|
158
|
+
* Uniquely identifies the resource.
|
|
159
|
+
*/
|
|
160
|
+
id: pulumi.Input<string>;
|
|
161
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
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.getInstanceOutput = exports.getInstance = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Data Source schema for Volcengine::VEPFS::Instance
|
|
10
|
+
*/
|
|
11
|
+
function getInstance(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("volcenginecc:vepfs/getInstance:getInstance", {
|
|
14
|
+
"id": args.id,
|
|
15
|
+
}, opts);
|
|
16
|
+
}
|
|
17
|
+
exports.getInstance = getInstance;
|
|
18
|
+
/**
|
|
19
|
+
* Data Source schema for Volcengine::VEPFS::Instance
|
|
20
|
+
*/
|
|
21
|
+
function getInstanceOutput(args, opts) {
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invokeOutput("volcenginecc:vepfs/getInstance:getInstance", {
|
|
24
|
+
"id": args.id,
|
|
25
|
+
}, opts);
|
|
26
|
+
}
|
|
27
|
+
exports.getInstanceOutput = getInstanceOutput;
|
|
28
|
+
//# sourceMappingURL=getInstance.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getInstance.js","sourceRoot":"","sources":["../../vepfs/getInstance.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAC1E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4CAA4C,EAAE;QACvE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kCAKC;AAiJD;;GAEG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAAiC;IAC5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4CAA4C,EAAE;QAC7E,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8CAKC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Plural Data Source schema for Volcengine::VEPFS::Instance
|
|
4
|
+
*/
|
|
5
|
+
export declare function getInstances(opts?: pulumi.InvokeOptions): Promise<GetInstancesResult>;
|
|
6
|
+
/**
|
|
7
|
+
* A collection of values returned by getInstances.
|
|
8
|
+
*/
|
|
9
|
+
export interface GetInstancesResult {
|
|
10
|
+
/**
|
|
11
|
+
* Uniquely identifies the data source.
|
|
12
|
+
*/
|
|
13
|
+
readonly id: string;
|
|
14
|
+
/**
|
|
15
|
+
* Set of Resource Identifiers.
|
|
16
|
+
*/
|
|
17
|
+
readonly ids: string[];
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Plural Data Source schema for Volcengine::VEPFS::Instance
|
|
21
|
+
*/
|
|
22
|
+
export declare function getInstancesOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetInstancesResult>;
|
|
@@ -0,0 +1,24 @@
|
|
|
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.getInstancesOutput = exports.getInstances = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Plural Data Source schema for Volcengine::VEPFS::Instance
|
|
10
|
+
*/
|
|
11
|
+
function getInstances(opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("volcenginecc:vepfs/getInstances:getInstances", {}, opts);
|
|
14
|
+
}
|
|
15
|
+
exports.getInstances = getInstances;
|
|
16
|
+
/**
|
|
17
|
+
* Plural Data Source schema for Volcengine::VEPFS::Instance
|
|
18
|
+
*/
|
|
19
|
+
function getInstancesOutput(opts) {
|
|
20
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
21
|
+
return pulumi.runtime.invokeOutput("volcenginecc:vepfs/getInstances:getInstances", {}, opts);
|
|
22
|
+
}
|
|
23
|
+
exports.getInstancesOutput = getInstancesOutput;
|
|
24
|
+
//# sourceMappingURL=getInstances.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getInstances.js","sourceRoot":"","sources":["../../vepfs/getInstances.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,YAAY,CAAC,IAA2B;IACpD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8CAA8C,EAAE,EAC5E,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,oCAIC;AAeD;;GAEG;AACH,SAAgB,kBAAkB,CAAC,IAAiC;IAChE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,8CAA8C,EAAE,EAClF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,gDAIC"}
|
package/vepfs/index.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { GetInstanceArgs, GetInstanceResult, GetInstanceOutputArgs } from "./getInstance";
|
|
2
|
+
export declare const getInstance: typeof import("./getInstance").getInstance;
|
|
3
|
+
export declare const getInstanceOutput: typeof import("./getInstance").getInstanceOutput;
|
|
4
|
+
export { GetInstancesResult } from "./getInstances";
|
|
5
|
+
export declare const getInstances: typeof import("./getInstances").getInstances;
|
|
6
|
+
export declare const getInstancesOutput: typeof import("./getInstances").getInstancesOutput;
|
|
7
|
+
export { InstanceArgs, InstanceState } from "./instance";
|
|
8
|
+
export type Instance = import("./instance").Instance;
|
|
9
|
+
export declare const Instance: typeof import("./instance").Instance;
|
package/vepfs/index.js
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
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.Instance = exports.getInstancesOutput = exports.getInstances = exports.getInstanceOutput = exports.getInstance = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
exports.getInstance = null;
|
|
9
|
+
exports.getInstanceOutput = null;
|
|
10
|
+
utilities.lazyLoad(exports, ["getInstance", "getInstanceOutput"], () => require("./getInstance"));
|
|
11
|
+
exports.getInstances = null;
|
|
12
|
+
exports.getInstancesOutput = null;
|
|
13
|
+
utilities.lazyLoad(exports, ["getInstances", "getInstancesOutput"], () => require("./getInstances"));
|
|
14
|
+
exports.Instance = null;
|
|
15
|
+
utilities.lazyLoad(exports, ["Instance"], () => require("./instance"));
|
|
16
|
+
const _module = {
|
|
17
|
+
version: utilities.getVersion(),
|
|
18
|
+
construct: (name, type, urn) => {
|
|
19
|
+
switch (type) {
|
|
20
|
+
case "volcenginecc:vepfs/instance:Instance":
|
|
21
|
+
return new exports.Instance(name, undefined, { urn });
|
|
22
|
+
default:
|
|
23
|
+
throw new Error(`unknown resource type ${type}`);
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
};
|
|
27
|
+
pulumi.runtime.registerResourceModule("volcenginecc", "vepfs/instance", _module);
|
|
28
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../vepfs/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAI7B,QAAA,WAAW,GAA+C,IAAW,CAAC;AACtE,QAAA,iBAAiB,GAAqD,IAAW,CAAC;AAC/F,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,aAAa,EAAC,mBAAmB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC;AAGpF,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,QAAQ,GAAyC,IAAW,CAAC;AAC1E,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,UAAU,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC;AAGvE,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,sCAAsC;gBACvC,OAAO,IAAI,gBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACtD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,gBAAgB,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,368 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* 文件存储 vePFS 是推出的一种高吞吐、低延时、可扩展并行的文件系统服务,满足高性能计算场景下高吞吐低延时的数据读写需求,可广泛应用于 HPC 高性能计算、AI 人工智能训练或推理、能源勘探、工业仿真、影视渲染、生命科学、气象分析等场景。同时,vePFS 提供一键化部署及配套监控报警能力,免去部署、维护费用的同时,最大化提升您的业务效率。
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
|
|
12
|
+
*
|
|
13
|
+
* const vEPFSInstanceDemo = new volcenginecc.vepfs.Instance("VEPFSInstanceDemo", {
|
|
14
|
+
* fileSystemName: "VEPFSInstanceDemo",
|
|
15
|
+
* zoneId: "cn-beijing-a",
|
|
16
|
+
* chargeType: "PayAsYouGo",
|
|
17
|
+
* fileSystemType: "VePFS",
|
|
18
|
+
* storeType: "Advance_100",
|
|
19
|
+
* protocolType: "VePFS",
|
|
20
|
+
* projectName: "default",
|
|
21
|
+
* capacity: 8,
|
|
22
|
+
* vpcId: "vpc-3nqt4kq87xn28931eclxxxxx",
|
|
23
|
+
* subnetId: "subnet-1a0zgr5e7hslc8nvepkxxxxxx",
|
|
24
|
+
* versionNumber: "1.4.0",
|
|
25
|
+
* enableRestripe: true,
|
|
26
|
+
* tags: [{
|
|
27
|
+
* key: "env",
|
|
28
|
+
* value: "test",
|
|
29
|
+
* }],
|
|
30
|
+
* });
|
|
31
|
+
* ```
|
|
32
|
+
*
|
|
33
|
+
* ## Import
|
|
34
|
+
*
|
|
35
|
+
* ```sh
|
|
36
|
+
* $ pulumi import volcenginecc:vepfs/instance:Instance example "file_system_id"
|
|
37
|
+
* ```
|
|
38
|
+
*/
|
|
39
|
+
export declare class Instance extends pulumi.CustomResource {
|
|
40
|
+
/**
|
|
41
|
+
* Get an existing Instance resource's state with the given name, ID, and optional extra
|
|
42
|
+
* properties used to qualify the lookup.
|
|
43
|
+
*
|
|
44
|
+
* @param name The _unique_ name of the resulting resource.
|
|
45
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
46
|
+
* @param state Any extra arguments used during the lookup.
|
|
47
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
48
|
+
*/
|
|
49
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: InstanceState, opts?: pulumi.CustomResourceOptions): Instance;
|
|
50
|
+
/**
|
|
51
|
+
* Returns true if the given object is an instance of Instance. This is designed to work even
|
|
52
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
53
|
+
*/
|
|
54
|
+
static isInstance(obj: any): obj is Instance;
|
|
55
|
+
/**
|
|
56
|
+
* 账户ID。
|
|
57
|
+
*/
|
|
58
|
+
readonly accountId: pulumi.Output<string>;
|
|
59
|
+
/**
|
|
60
|
+
* vePFS 文件系统吞吐上限。
|
|
61
|
+
*/
|
|
62
|
+
readonly bandwidth: pulumi.Output<number>;
|
|
63
|
+
/**
|
|
64
|
+
* 文件系统容量,单位为 TiB。
|
|
65
|
+
*/
|
|
66
|
+
readonly capacity: pulumi.Output<number>;
|
|
67
|
+
/**
|
|
68
|
+
* 容量信息。
|
|
69
|
+
*/
|
|
70
|
+
readonly capacityInfo: pulumi.Output<outputs.vepfs.InstanceCapacityInfo>;
|
|
71
|
+
/**
|
|
72
|
+
* 计费状态,默认为 Normal,表示正常计费。
|
|
73
|
+
*/
|
|
74
|
+
readonly chargeStatus: pulumi.Output<string>;
|
|
75
|
+
/**
|
|
76
|
+
* 计费类型。取值说明如下:PayAsYouGo:按量计费。
|
|
77
|
+
*/
|
|
78
|
+
readonly chargeType: pulumi.Output<string>;
|
|
79
|
+
/**
|
|
80
|
+
* 创建时间。
|
|
81
|
+
*/
|
|
82
|
+
readonly createdTime: pulumi.Output<string>;
|
|
83
|
+
/**
|
|
84
|
+
* 文件系统描述信息。
|
|
85
|
+
*/
|
|
86
|
+
readonly description: pulumi.Output<string>;
|
|
87
|
+
/**
|
|
88
|
+
* 扩容后是否开启数据均衡,取值说明如下:true:扩容后立即开启数据均衡。false:扩容后不开启数据均衡。注意:仅 100MB/s/TiB 规格的文件系统支持数据均衡功能。由于数据均衡过程会消耗存储节点的网络和磁盘带宽,导致文件系统的性能下降,建议您评估业务需求,谨慎开启。数据均衡的时间主要受存量数据量的影响,如果您的存量数据较多,均衡的时间可能会较长,根据扩容容量大小和文件系统状态,此过程可能需要花费数小时至 2 天的时间,建议您在业务低峰期开启并耐心等待。
|
|
89
|
+
*/
|
|
90
|
+
readonly enableRestripe: pulumi.Output<boolean>;
|
|
91
|
+
/**
|
|
92
|
+
* 过期时间。
|
|
93
|
+
*/
|
|
94
|
+
readonly expireTime: pulumi.Output<string>;
|
|
95
|
+
/**
|
|
96
|
+
* 文件系统 ID。
|
|
97
|
+
*/
|
|
98
|
+
readonly fileSystemId: pulumi.Output<string>;
|
|
99
|
+
/**
|
|
100
|
+
* 文件系统名称。命名规范如下:只能以中文或英文开头。只能包含中文、字母、数字、半角句号(.)、下划线(_)或中划线(-)。长度需要在 1~128 个字符内。
|
|
101
|
+
*/
|
|
102
|
+
readonly fileSystemName: pulumi.Output<string>;
|
|
103
|
+
/**
|
|
104
|
+
* 文件系统类型,默认为 VePFS。
|
|
105
|
+
*/
|
|
106
|
+
readonly fileSystemType: pulumi.Output<string>;
|
|
107
|
+
/**
|
|
108
|
+
* 文件系统释放时间。
|
|
109
|
+
*/
|
|
110
|
+
readonly freeTime: pulumi.Output<string>;
|
|
111
|
+
/**
|
|
112
|
+
* 文件系统所属项目,默认为 default。
|
|
113
|
+
*/
|
|
114
|
+
readonly projectName: pulumi.Output<string>;
|
|
115
|
+
/**
|
|
116
|
+
* 协议类型,默认为 VePFS。
|
|
117
|
+
*/
|
|
118
|
+
readonly protocolType: pulumi.Output<string>;
|
|
119
|
+
/**
|
|
120
|
+
* 读带宽值, 单位MB/s。
|
|
121
|
+
*/
|
|
122
|
+
readonly readBandwidth: pulumi.Output<number>;
|
|
123
|
+
/**
|
|
124
|
+
* 生成的辅助网卡所在的安全组ID。
|
|
125
|
+
*/
|
|
126
|
+
readonly securityGroupId: pulumi.Output<string>;
|
|
127
|
+
/**
|
|
128
|
+
* 文件系统状态。取值说明如下:Running:实例运行中。Creating:实例创建中。CreateError:实例创建失败。Updating:实例更新中。UpdateError:实例更新失败。Expanding:实例扩容中。ExpandError:实例扩容失败。Deleting:实例删除中。DeleteError:实例删除失败。Stopped:实例已关停。Error:实例处于错误状态。
|
|
129
|
+
*/
|
|
130
|
+
readonly status: pulumi.Output<string>;
|
|
131
|
+
/**
|
|
132
|
+
* 文件系统关停时间。
|
|
133
|
+
*/
|
|
134
|
+
readonly stopServiceTime: pulumi.Output<string>;
|
|
135
|
+
/**
|
|
136
|
+
* 文件系统规格,取值说明如下:Advance*100:100MB/s/TiB。Performance:性能版。Intelligent*Computing:智算版。
|
|
137
|
+
*/
|
|
138
|
+
readonly storeType: pulumi.Output<string>;
|
|
139
|
+
/**
|
|
140
|
+
* 文件系统规格中文名称,支持如下:100MB/s/TiB。性能版。智算版。
|
|
141
|
+
*/
|
|
142
|
+
readonly storeTypeCn: pulumi.Output<string>;
|
|
143
|
+
/**
|
|
144
|
+
* 存储类型英文名。
|
|
145
|
+
*/
|
|
146
|
+
readonly storeTypeEn: pulumi.Output<string>;
|
|
147
|
+
/**
|
|
148
|
+
* 子网 ID。子网必须属于所选的可用区。
|
|
149
|
+
*/
|
|
150
|
+
readonly subnetId: pulumi.Output<string>;
|
|
151
|
+
readonly tags: pulumi.Output<outputs.vepfs.InstanceTag[]>;
|
|
152
|
+
/**
|
|
153
|
+
* 文件系统更新时间。
|
|
154
|
+
*/
|
|
155
|
+
readonly updatedTime: pulumi.Output<string>;
|
|
156
|
+
/**
|
|
157
|
+
* 文件系统版本号。
|
|
158
|
+
*/
|
|
159
|
+
readonly versionNumber: pulumi.Output<string>;
|
|
160
|
+
/**
|
|
161
|
+
* 私有网络 ID。
|
|
162
|
+
*/
|
|
163
|
+
readonly vpcId: pulumi.Output<string>;
|
|
164
|
+
/**
|
|
165
|
+
* 写带宽值, 单位MB/s。
|
|
166
|
+
*/
|
|
167
|
+
readonly writeBandwidth: pulumi.Output<number>;
|
|
168
|
+
/**
|
|
169
|
+
* 可用区 ID。
|
|
170
|
+
*/
|
|
171
|
+
readonly zoneId: pulumi.Output<string>;
|
|
172
|
+
/**
|
|
173
|
+
* 可用区名称。
|
|
174
|
+
*/
|
|
175
|
+
readonly zoneName: pulumi.Output<string>;
|
|
176
|
+
/**
|
|
177
|
+
* Create a Instance resource with the given unique name, arguments, and options.
|
|
178
|
+
*
|
|
179
|
+
* @param name The _unique_ name of the resource.
|
|
180
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
181
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
182
|
+
*/
|
|
183
|
+
constructor(name: string, args: InstanceArgs, opts?: pulumi.CustomResourceOptions);
|
|
184
|
+
}
|
|
185
|
+
/**
|
|
186
|
+
* Input properties used for looking up and filtering Instance resources.
|
|
187
|
+
*/
|
|
188
|
+
export interface InstanceState {
|
|
189
|
+
/**
|
|
190
|
+
* 账户ID。
|
|
191
|
+
*/
|
|
192
|
+
accountId?: pulumi.Input<string>;
|
|
193
|
+
/**
|
|
194
|
+
* vePFS 文件系统吞吐上限。
|
|
195
|
+
*/
|
|
196
|
+
bandwidth?: pulumi.Input<number>;
|
|
197
|
+
/**
|
|
198
|
+
* 文件系统容量,单位为 TiB。
|
|
199
|
+
*/
|
|
200
|
+
capacity?: pulumi.Input<number>;
|
|
201
|
+
/**
|
|
202
|
+
* 容量信息。
|
|
203
|
+
*/
|
|
204
|
+
capacityInfo?: pulumi.Input<inputs.vepfs.InstanceCapacityInfo>;
|
|
205
|
+
/**
|
|
206
|
+
* 计费状态,默认为 Normal,表示正常计费。
|
|
207
|
+
*/
|
|
208
|
+
chargeStatus?: pulumi.Input<string>;
|
|
209
|
+
/**
|
|
210
|
+
* 计费类型。取值说明如下:PayAsYouGo:按量计费。
|
|
211
|
+
*/
|
|
212
|
+
chargeType?: pulumi.Input<string>;
|
|
213
|
+
/**
|
|
214
|
+
* 创建时间。
|
|
215
|
+
*/
|
|
216
|
+
createdTime?: pulumi.Input<string>;
|
|
217
|
+
/**
|
|
218
|
+
* 文件系统描述信息。
|
|
219
|
+
*/
|
|
220
|
+
description?: pulumi.Input<string>;
|
|
221
|
+
/**
|
|
222
|
+
* 扩容后是否开启数据均衡,取值说明如下:true:扩容后立即开启数据均衡。false:扩容后不开启数据均衡。注意:仅 100MB/s/TiB 规格的文件系统支持数据均衡功能。由于数据均衡过程会消耗存储节点的网络和磁盘带宽,导致文件系统的性能下降,建议您评估业务需求,谨慎开启。数据均衡的时间主要受存量数据量的影响,如果您的存量数据较多,均衡的时间可能会较长,根据扩容容量大小和文件系统状态,此过程可能需要花费数小时至 2 天的时间,建议您在业务低峰期开启并耐心等待。
|
|
223
|
+
*/
|
|
224
|
+
enableRestripe?: pulumi.Input<boolean>;
|
|
225
|
+
/**
|
|
226
|
+
* 过期时间。
|
|
227
|
+
*/
|
|
228
|
+
expireTime?: pulumi.Input<string>;
|
|
229
|
+
/**
|
|
230
|
+
* 文件系统 ID。
|
|
231
|
+
*/
|
|
232
|
+
fileSystemId?: pulumi.Input<string>;
|
|
233
|
+
/**
|
|
234
|
+
* 文件系统名称。命名规范如下:只能以中文或英文开头。只能包含中文、字母、数字、半角句号(.)、下划线(_)或中划线(-)。长度需要在 1~128 个字符内。
|
|
235
|
+
*/
|
|
236
|
+
fileSystemName?: pulumi.Input<string>;
|
|
237
|
+
/**
|
|
238
|
+
* 文件系统类型,默认为 VePFS。
|
|
239
|
+
*/
|
|
240
|
+
fileSystemType?: pulumi.Input<string>;
|
|
241
|
+
/**
|
|
242
|
+
* 文件系统释放时间。
|
|
243
|
+
*/
|
|
244
|
+
freeTime?: pulumi.Input<string>;
|
|
245
|
+
/**
|
|
246
|
+
* 文件系统所属项目,默认为 default。
|
|
247
|
+
*/
|
|
248
|
+
projectName?: pulumi.Input<string>;
|
|
249
|
+
/**
|
|
250
|
+
* 协议类型,默认为 VePFS。
|
|
251
|
+
*/
|
|
252
|
+
protocolType?: pulumi.Input<string>;
|
|
253
|
+
/**
|
|
254
|
+
* 读带宽值, 单位MB/s。
|
|
255
|
+
*/
|
|
256
|
+
readBandwidth?: pulumi.Input<number>;
|
|
257
|
+
/**
|
|
258
|
+
* 生成的辅助网卡所在的安全组ID。
|
|
259
|
+
*/
|
|
260
|
+
securityGroupId?: pulumi.Input<string>;
|
|
261
|
+
/**
|
|
262
|
+
* 文件系统状态。取值说明如下:Running:实例运行中。Creating:实例创建中。CreateError:实例创建失败。Updating:实例更新中。UpdateError:实例更新失败。Expanding:实例扩容中。ExpandError:实例扩容失败。Deleting:实例删除中。DeleteError:实例删除失败。Stopped:实例已关停。Error:实例处于错误状态。
|
|
263
|
+
*/
|
|
264
|
+
status?: pulumi.Input<string>;
|
|
265
|
+
/**
|
|
266
|
+
* 文件系统关停时间。
|
|
267
|
+
*/
|
|
268
|
+
stopServiceTime?: pulumi.Input<string>;
|
|
269
|
+
/**
|
|
270
|
+
* 文件系统规格,取值说明如下:Advance*100:100MB/s/TiB。Performance:性能版。Intelligent*Computing:智算版。
|
|
271
|
+
*/
|
|
272
|
+
storeType?: pulumi.Input<string>;
|
|
273
|
+
/**
|
|
274
|
+
* 文件系统规格中文名称,支持如下:100MB/s/TiB。性能版。智算版。
|
|
275
|
+
*/
|
|
276
|
+
storeTypeCn?: pulumi.Input<string>;
|
|
277
|
+
/**
|
|
278
|
+
* 存储类型英文名。
|
|
279
|
+
*/
|
|
280
|
+
storeTypeEn?: pulumi.Input<string>;
|
|
281
|
+
/**
|
|
282
|
+
* 子网 ID。子网必须属于所选的可用区。
|
|
283
|
+
*/
|
|
284
|
+
subnetId?: pulumi.Input<string>;
|
|
285
|
+
tags?: pulumi.Input<pulumi.Input<inputs.vepfs.InstanceTag>[]>;
|
|
286
|
+
/**
|
|
287
|
+
* 文件系统更新时间。
|
|
288
|
+
*/
|
|
289
|
+
updatedTime?: pulumi.Input<string>;
|
|
290
|
+
/**
|
|
291
|
+
* 文件系统版本号。
|
|
292
|
+
*/
|
|
293
|
+
versionNumber?: pulumi.Input<string>;
|
|
294
|
+
/**
|
|
295
|
+
* 私有网络 ID。
|
|
296
|
+
*/
|
|
297
|
+
vpcId?: pulumi.Input<string>;
|
|
298
|
+
/**
|
|
299
|
+
* 写带宽值, 单位MB/s。
|
|
300
|
+
*/
|
|
301
|
+
writeBandwidth?: pulumi.Input<number>;
|
|
302
|
+
/**
|
|
303
|
+
* 可用区 ID。
|
|
304
|
+
*/
|
|
305
|
+
zoneId?: pulumi.Input<string>;
|
|
306
|
+
/**
|
|
307
|
+
* 可用区名称。
|
|
308
|
+
*/
|
|
309
|
+
zoneName?: pulumi.Input<string>;
|
|
310
|
+
}
|
|
311
|
+
/**
|
|
312
|
+
* The set of arguments for constructing a Instance resource.
|
|
313
|
+
*/
|
|
314
|
+
export interface InstanceArgs {
|
|
315
|
+
/**
|
|
316
|
+
* 文件系统容量,单位为 TiB。
|
|
317
|
+
*/
|
|
318
|
+
capacity: pulumi.Input<number>;
|
|
319
|
+
/**
|
|
320
|
+
* 计费类型。取值说明如下:PayAsYouGo:按量计费。
|
|
321
|
+
*/
|
|
322
|
+
chargeType?: pulumi.Input<string>;
|
|
323
|
+
/**
|
|
324
|
+
* 文件系统描述信息。
|
|
325
|
+
*/
|
|
326
|
+
description?: pulumi.Input<string>;
|
|
327
|
+
/**
|
|
328
|
+
* 扩容后是否开启数据均衡,取值说明如下:true:扩容后立即开启数据均衡。false:扩容后不开启数据均衡。注意:仅 100MB/s/TiB 规格的文件系统支持数据均衡功能。由于数据均衡过程会消耗存储节点的网络和磁盘带宽,导致文件系统的性能下降,建议您评估业务需求,谨慎开启。数据均衡的时间主要受存量数据量的影响,如果您的存量数据较多,均衡的时间可能会较长,根据扩容容量大小和文件系统状态,此过程可能需要花费数小时至 2 天的时间,建议您在业务低峰期开启并耐心等待。
|
|
329
|
+
*/
|
|
330
|
+
enableRestripe?: pulumi.Input<boolean>;
|
|
331
|
+
/**
|
|
332
|
+
* 文件系统名称。命名规范如下:只能以中文或英文开头。只能包含中文、字母、数字、半角句号(.)、下划线(_)或中划线(-)。长度需要在 1~128 个字符内。
|
|
333
|
+
*/
|
|
334
|
+
fileSystemName: pulumi.Input<string>;
|
|
335
|
+
/**
|
|
336
|
+
* 文件系统类型,默认为 VePFS。
|
|
337
|
+
*/
|
|
338
|
+
fileSystemType?: pulumi.Input<string>;
|
|
339
|
+
/**
|
|
340
|
+
* 文件系统所属项目,默认为 default。
|
|
341
|
+
*/
|
|
342
|
+
projectName?: pulumi.Input<string>;
|
|
343
|
+
/**
|
|
344
|
+
* 协议类型,默认为 VePFS。
|
|
345
|
+
*/
|
|
346
|
+
protocolType?: pulumi.Input<string>;
|
|
347
|
+
/**
|
|
348
|
+
* 文件系统规格,取值说明如下:Advance*100:100MB/s/TiB。Performance:性能版。Intelligent*Computing:智算版。
|
|
349
|
+
*/
|
|
350
|
+
storeType: pulumi.Input<string>;
|
|
351
|
+
/**
|
|
352
|
+
* 子网 ID。子网必须属于所选的可用区。
|
|
353
|
+
*/
|
|
354
|
+
subnetId?: pulumi.Input<string>;
|
|
355
|
+
tags?: pulumi.Input<pulumi.Input<inputs.vepfs.InstanceTag>[]>;
|
|
356
|
+
/**
|
|
357
|
+
* 文件系统版本号。
|
|
358
|
+
*/
|
|
359
|
+
versionNumber?: pulumi.Input<string>;
|
|
360
|
+
/**
|
|
361
|
+
* 私有网络 ID。
|
|
362
|
+
*/
|
|
363
|
+
vpcId?: pulumi.Input<string>;
|
|
364
|
+
/**
|
|
365
|
+
* 可用区 ID。
|
|
366
|
+
*/
|
|
367
|
+
zoneId: pulumi.Input<string>;
|
|
368
|
+
}
|