@volcengine/pulumi 0.0.31 → 0.0.32
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/dns/backup.d.ts +10 -1
- package/dns/backup.js +10 -1
- package/dns/backup.js.map +1 -1
- package/dns/zone.d.ts +1 -1
- package/dns/zone.js +1 -1
- package/ebs/getMaxExtraPerformances.d.ts +82 -0
- package/ebs/getMaxExtraPerformances.js +30 -0
- package/ebs/getMaxExtraPerformances.js.map +1 -0
- package/ebs/index.d.ts +6 -0
- package/ebs/index.js +7 -1
- package/ebs/index.js.map +1 -1
- package/ebs/maxExtraPerformances.d.ts +84 -0
- package/ebs/maxExtraPerformances.js +33 -0
- package/ebs/maxExtraPerformances.js.map +1 -0
- package/ebs/volume.d.ts +22 -14
- package/ebs/volume.js +7 -2
- package/ebs/volume.js.map +1 -1
- package/escloud_v2/escloudInstanceV2.d.ts +19 -3
- package/escloud_v2/escloudInstanceV2.js +19 -3
- package/escloud_v2/escloudInstanceV2.js.map +1 -1
- package/kafka/instance.d.ts +37 -0
- package/kafka/instance.js +37 -0
- package/kafka/instance.js.map +1 -1
- package/mongodb/instance.d.ts +66 -11
- package/mongodb/instance.js +40 -11
- package/mongodb/instance.js.map +1 -1
- package/package.json +1 -1
- package/rds_mysql/instance.d.ts +42 -8
- package/rds_mysql/instance.js +42 -8
- package/rds_mysql/instance.js.map +1 -1
- package/rds_postgresql/instance.d.ts +54 -3
- package/rds_postgresql/instance.js +54 -3
- package/rds_postgresql/instance.js.map +1 -1
- package/redis/instance.d.ts +8 -1
- package/redis/instance.js +8 -1
- package/redis/instance.js.map +1 -1
- package/types/output.d.ts +220 -0
- package/vke/getPermissions.d.ts +137 -0
- package/vke/getPermissions.js +55 -0
- package/vke/getPermissions.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/permission.d.ts +269 -0
- package/vke/permission.js +165 -0
- package/vke/permission.js.map +1 -0
- package/vke/permissions.d.ts +139 -0
- package/vke/permissions.js +58 -0
- package/vke/permissions.js.map +1 -0
- package/vpc/routeEntry.d.ts +27 -6
- package/vpc/routeEntry.js +27 -6
- package/vpc/routeEntry.js.map +1 -1
package/dns/backup.d.ts
CHANGED
|
@@ -7,7 +7,16 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
7
7
|
* import * as pulumi from "@pulumi/pulumi";
|
|
8
8
|
* import * as volcengine from "@volcengine/pulumi";
|
|
9
9
|
*
|
|
10
|
-
* const
|
|
10
|
+
* const fooZone = new volcengine.dns.Zone("fooZone", {
|
|
11
|
+
* zoneName: "xxxx.com",
|
|
12
|
+
* tags: [{
|
|
13
|
+
* key: "xx",
|
|
14
|
+
* value: "xx",
|
|
15
|
+
* }],
|
|
16
|
+
* projectName: "default",
|
|
17
|
+
* remark: "xxx",
|
|
18
|
+
* });
|
|
19
|
+
* const fooBackup = new volcengine.dns.Backup("fooBackup", {zid: fooZone.id});
|
|
11
20
|
* ```
|
|
12
21
|
*
|
|
13
22
|
* ## Import
|
package/dns/backup.js
CHANGED
|
@@ -13,7 +13,16 @@ const utilities = require("../utilities");
|
|
|
13
13
|
* import * as pulumi from "@pulumi/pulumi";
|
|
14
14
|
* import * as volcengine from "@volcengine/pulumi";
|
|
15
15
|
*
|
|
16
|
-
* const
|
|
16
|
+
* const fooZone = new volcengine.dns.Zone("fooZone", {
|
|
17
|
+
* zoneName: "xxxx.com",
|
|
18
|
+
* tags: [{
|
|
19
|
+
* key: "xx",
|
|
20
|
+
* value: "xx",
|
|
21
|
+
* }],
|
|
22
|
+
* projectName: "default",
|
|
23
|
+
* remark: "xxx",
|
|
24
|
+
* });
|
|
25
|
+
* const fooBackup = new volcengine.dns.Backup("fooBackup", {zid: fooZone.id});
|
|
17
26
|
* ```
|
|
18
27
|
*
|
|
19
28
|
* ## Import
|
package/dns/backup.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"backup.js","sourceRoot":"","sources":["../../dns/backup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"backup.js","sourceRoot":"","sources":["../../dns/backup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAC7C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmB,EAAE,IAAmC;QACjH,OAAO,IAAI,MAAM,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7D,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,MAAM,CAAC,YAAY,CAAC;IACvD,CAAC;IAuBD,YAAY,IAAY,EAAE,WAAsC,EAAE,IAAmC;QACjG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAsC,CAAC;YACrD,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;SACzD;aAAM;YACH,MAAM,IAAI,GAAG,WAAqC,CAAC;YACnD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,GAAG,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAChD,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;aACtD;YACD,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YACpD,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;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;;AApEL,wBAqEC;AAvDG,gBAAgB;AACO,mBAAY,GAAG,8BAA8B,CAAC"}
|
package/dns/zone.d.ts
CHANGED
package/dns/zone.js
CHANGED
|
@@ -0,0 +1,82 @@
|
|
|
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 ebs max extra performances
|
|
5
|
+
*/
|
|
6
|
+
export declare function getMaxExtraPerformances(args?: GetMaxExtraPerformancesArgs, opts?: pulumi.InvokeOptions): Promise<GetMaxExtraPerformancesResult>;
|
|
7
|
+
/**
|
|
8
|
+
* A collection of arguments for invoking getMaxExtraPerformances.
|
|
9
|
+
*/
|
|
10
|
+
export interface GetMaxExtraPerformancesArgs {
|
|
11
|
+
/**
|
|
12
|
+
* A Name Regex of Resource.
|
|
13
|
+
*/
|
|
14
|
+
nameRegex?: string;
|
|
15
|
+
/**
|
|
16
|
+
* File name where to save data source results.
|
|
17
|
+
*/
|
|
18
|
+
outputFile?: string;
|
|
19
|
+
/**
|
|
20
|
+
* The size of the volume. Unit: GiB.
|
|
21
|
+
*/
|
|
22
|
+
size?: number;
|
|
23
|
+
/**
|
|
24
|
+
* The id of the volume.
|
|
25
|
+
*/
|
|
26
|
+
volumeId?: string;
|
|
27
|
+
/**
|
|
28
|
+
* The type of the volume. Valid values: `TSSD_TL0`.
|
|
29
|
+
*/
|
|
30
|
+
volumeType?: string;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* A collection of values returned by getMaxExtraPerformances.
|
|
34
|
+
*/
|
|
35
|
+
export interface GetMaxExtraPerformancesResult {
|
|
36
|
+
/**
|
|
37
|
+
* The provider-assigned unique ID for this managed resource.
|
|
38
|
+
*/
|
|
39
|
+
readonly id: string;
|
|
40
|
+
readonly nameRegex?: string;
|
|
41
|
+
readonly outputFile?: string;
|
|
42
|
+
/**
|
|
43
|
+
* The collection of query.
|
|
44
|
+
*/
|
|
45
|
+
readonly performances: outputs.ebs.GetMaxExtraPerformancesPerformance[];
|
|
46
|
+
readonly size?: number;
|
|
47
|
+
/**
|
|
48
|
+
* The total count of query.
|
|
49
|
+
*/
|
|
50
|
+
readonly totalCount: number;
|
|
51
|
+
readonly volumeId?: string;
|
|
52
|
+
readonly volumeType?: string;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Use this data source to query detailed information of ebs max extra performances
|
|
56
|
+
*/
|
|
57
|
+
export declare function getMaxExtraPerformancesOutput(args?: GetMaxExtraPerformancesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetMaxExtraPerformancesResult>;
|
|
58
|
+
/**
|
|
59
|
+
* A collection of arguments for invoking getMaxExtraPerformances.
|
|
60
|
+
*/
|
|
61
|
+
export interface GetMaxExtraPerformancesOutputArgs {
|
|
62
|
+
/**
|
|
63
|
+
* A Name Regex of Resource.
|
|
64
|
+
*/
|
|
65
|
+
nameRegex?: pulumi.Input<string>;
|
|
66
|
+
/**
|
|
67
|
+
* File name where to save data source results.
|
|
68
|
+
*/
|
|
69
|
+
outputFile?: pulumi.Input<string>;
|
|
70
|
+
/**
|
|
71
|
+
* The size of the volume. Unit: GiB.
|
|
72
|
+
*/
|
|
73
|
+
size?: pulumi.Input<number>;
|
|
74
|
+
/**
|
|
75
|
+
* The id of the volume.
|
|
76
|
+
*/
|
|
77
|
+
volumeId?: pulumi.Input<string>;
|
|
78
|
+
/**
|
|
79
|
+
* The type of the volume. Valid values: `TSSD_TL0`.
|
|
80
|
+
*/
|
|
81
|
+
volumeType?: pulumi.Input<string>;
|
|
82
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
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.getMaxExtraPerformancesOutput = exports.getMaxExtraPerformances = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to query detailed information of ebs max extra performances
|
|
10
|
+
*/
|
|
11
|
+
function getMaxExtraPerformances(args, opts) {
|
|
12
|
+
args = args || {};
|
|
13
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
14
|
+
return pulumi.runtime.invoke("volcengine:ebs/getMaxExtraPerformances:getMaxExtraPerformances", {
|
|
15
|
+
"nameRegex": args.nameRegex,
|
|
16
|
+
"outputFile": args.outputFile,
|
|
17
|
+
"size": args.size,
|
|
18
|
+
"volumeId": args.volumeId,
|
|
19
|
+
"volumeType": args.volumeType,
|
|
20
|
+
}, opts);
|
|
21
|
+
}
|
|
22
|
+
exports.getMaxExtraPerformances = getMaxExtraPerformances;
|
|
23
|
+
/**
|
|
24
|
+
* Use this data source to query detailed information of ebs max extra performances
|
|
25
|
+
*/
|
|
26
|
+
function getMaxExtraPerformancesOutput(args, opts) {
|
|
27
|
+
return pulumi.output(args).apply((a) => getMaxExtraPerformances(a, opts));
|
|
28
|
+
}
|
|
29
|
+
exports.getMaxExtraPerformancesOutput = getMaxExtraPerformancesOutput;
|
|
30
|
+
//# sourceMappingURL=getMaxExtraPerformances.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getMaxExtraPerformances.js","sourceRoot":"","sources":["../../ebs/getMaxExtraPerformances.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,uBAAuB,CAAC,IAAkC,EAAE,IAA2B;IACnG,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,gEAAgE,EAAE;QAC3F,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,0DAWC;AAkDD;;GAEG;AACH,SAAgB,6BAA6B,CAAC,IAAwC,EAAE,IAA2B;IAC/G,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,uBAAuB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAClF,CAAC;AAFD,sEAEC"}
|
package/ebs/index.d.ts
CHANGED
|
@@ -10,6 +10,9 @@ export declare const AutoSnapshotPolicyAttachment: typeof import("./autoSnapshot
|
|
|
10
10
|
export { GetAutoSnapshotPoliciesArgs, GetAutoSnapshotPoliciesResult, GetAutoSnapshotPoliciesOutputArgs } from "./getAutoSnapshotPolicies";
|
|
11
11
|
export declare const getAutoSnapshotPolicies: typeof import("./getAutoSnapshotPolicies").getAutoSnapshotPolicies;
|
|
12
12
|
export declare const getAutoSnapshotPoliciesOutput: typeof import("./getAutoSnapshotPolicies").getAutoSnapshotPoliciesOutput;
|
|
13
|
+
export { GetMaxExtraPerformancesArgs, GetMaxExtraPerformancesResult, GetMaxExtraPerformancesOutputArgs } from "./getMaxExtraPerformances";
|
|
14
|
+
export declare const getMaxExtraPerformances: typeof import("./getMaxExtraPerformances").getMaxExtraPerformances;
|
|
15
|
+
export declare const getMaxExtraPerformancesOutput: typeof import("./getMaxExtraPerformances").getMaxExtraPerformancesOutput;
|
|
13
16
|
export { GetSnapshotGroupsArgs, GetSnapshotGroupsResult, GetSnapshotGroupsOutputArgs } from "./getSnapshotGroups";
|
|
14
17
|
export declare const getSnapshotGroups: typeof import("./getSnapshotGroups").getSnapshotGroups;
|
|
15
18
|
export declare const getSnapshotGroupsOutput: typeof import("./getSnapshotGroups").getSnapshotGroupsOutput;
|
|
@@ -19,6 +22,9 @@ export declare const getSnapshotsOutput: typeof import("./getSnapshots").getSnap
|
|
|
19
22
|
export { GetVolumesArgs, GetVolumesResult, GetVolumesOutputArgs } from "./getVolumes";
|
|
20
23
|
export declare const getVolumes: typeof import("./getVolumes").getVolumes;
|
|
21
24
|
export declare const getVolumesOutput: typeof import("./getVolumes").getVolumesOutput;
|
|
25
|
+
export { MaxExtraPerformancesArgs, MaxExtraPerformancesResult, MaxExtraPerformancesOutputArgs } from "./maxExtraPerformances";
|
|
26
|
+
export declare const maxExtraPerformances: typeof import("./maxExtraPerformances").maxExtraPerformances;
|
|
27
|
+
export declare const maxExtraPerformancesOutput: typeof import("./maxExtraPerformances").maxExtraPerformancesOutput;
|
|
22
28
|
export { SnapshotArgs, SnapshotState } from "./snapshot";
|
|
23
29
|
export type Snapshot = import("./snapshot").Snapshot;
|
|
24
30
|
export declare const Snapshot: typeof import("./snapshot").Snapshot;
|
package/ebs/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.volumesOutput = exports.volumes = exports.VolumeAttach = exports.Volume = exports.snapshotsOutput = exports.snapshots = exports.snapshotGroupsOutput = exports.snapshotGroups = exports.SnapshotGroup = exports.Snapshot = exports.getVolumesOutput = exports.getVolumes = exports.getSnapshotsOutput = exports.getSnapshots = exports.getSnapshotGroupsOutput = exports.getSnapshotGroups = exports.getAutoSnapshotPoliciesOutput = exports.getAutoSnapshotPolicies = exports.AutoSnapshotPolicyAttachment = exports.AutoSnapshotPolicy = exports.autoSnapshotPoliciesOutput = exports.autoSnapshotPolicies = void 0;
|
|
5
|
+
exports.volumesOutput = exports.volumes = exports.VolumeAttach = exports.Volume = exports.snapshotsOutput = exports.snapshots = exports.snapshotGroupsOutput = exports.snapshotGroups = exports.SnapshotGroup = exports.Snapshot = exports.maxExtraPerformancesOutput = exports.maxExtraPerformances = exports.getVolumesOutput = exports.getVolumes = exports.getSnapshotsOutput = exports.getSnapshots = exports.getSnapshotGroupsOutput = exports.getSnapshotGroups = exports.getMaxExtraPerformancesOutput = exports.getMaxExtraPerformances = exports.getAutoSnapshotPoliciesOutput = exports.getAutoSnapshotPolicies = exports.AutoSnapshotPolicyAttachment = exports.AutoSnapshotPolicy = exports.autoSnapshotPoliciesOutput = exports.autoSnapshotPolicies = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
exports.autoSnapshotPolicies = null;
|
|
@@ -15,6 +15,9 @@ utilities.lazyLoad(exports, ["AutoSnapshotPolicyAttachment"], () => require("./a
|
|
|
15
15
|
exports.getAutoSnapshotPolicies = null;
|
|
16
16
|
exports.getAutoSnapshotPoliciesOutput = null;
|
|
17
17
|
utilities.lazyLoad(exports, ["getAutoSnapshotPolicies", "getAutoSnapshotPoliciesOutput"], () => require("./getAutoSnapshotPolicies"));
|
|
18
|
+
exports.getMaxExtraPerformances = null;
|
|
19
|
+
exports.getMaxExtraPerformancesOutput = null;
|
|
20
|
+
utilities.lazyLoad(exports, ["getMaxExtraPerformances", "getMaxExtraPerformancesOutput"], () => require("./getMaxExtraPerformances"));
|
|
18
21
|
exports.getSnapshotGroups = null;
|
|
19
22
|
exports.getSnapshotGroupsOutput = null;
|
|
20
23
|
utilities.lazyLoad(exports, ["getSnapshotGroups", "getSnapshotGroupsOutput"], () => require("./getSnapshotGroups"));
|
|
@@ -24,6 +27,9 @@ utilities.lazyLoad(exports, ["getSnapshots", "getSnapshotsOutput"], () => requir
|
|
|
24
27
|
exports.getVolumes = null;
|
|
25
28
|
exports.getVolumesOutput = null;
|
|
26
29
|
utilities.lazyLoad(exports, ["getVolumes", "getVolumesOutput"], () => require("./getVolumes"));
|
|
30
|
+
exports.maxExtraPerformances = null;
|
|
31
|
+
exports.maxExtraPerformancesOutput = null;
|
|
32
|
+
utilities.lazyLoad(exports, ["maxExtraPerformances", "maxExtraPerformancesOutput"], () => require("./maxExtraPerformances"));
|
|
27
33
|
exports.Snapshot = null;
|
|
28
34
|
utilities.lazyLoad(exports, ["Snapshot"], () => require("./snapshot"));
|
|
29
35
|
exports.SnapshotGroup = null;
|
package/ebs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../ebs/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAI7B,QAAA,o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A"}
|
|
@@ -0,0 +1,84 @@
|
|
|
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 ebs max extra performances
|
|
5
|
+
*/
|
|
6
|
+
/** @deprecated volcengine.ebs.MaxExtraPerformances has been deprecated in favor of volcengine.ebs.getMaxExtraPerformances */
|
|
7
|
+
export declare function maxExtraPerformances(args?: MaxExtraPerformancesArgs, opts?: pulumi.InvokeOptions): Promise<MaxExtraPerformancesResult>;
|
|
8
|
+
/**
|
|
9
|
+
* A collection of arguments for invoking MaxExtraPerformances.
|
|
10
|
+
*/
|
|
11
|
+
export interface MaxExtraPerformancesArgs {
|
|
12
|
+
/**
|
|
13
|
+
* A Name Regex of Resource.
|
|
14
|
+
*/
|
|
15
|
+
nameRegex?: string;
|
|
16
|
+
/**
|
|
17
|
+
* File name where to save data source results.
|
|
18
|
+
*/
|
|
19
|
+
outputFile?: string;
|
|
20
|
+
/**
|
|
21
|
+
* The size of the volume. Unit: GiB.
|
|
22
|
+
*/
|
|
23
|
+
size?: number;
|
|
24
|
+
/**
|
|
25
|
+
* The id of the volume.
|
|
26
|
+
*/
|
|
27
|
+
volumeId?: string;
|
|
28
|
+
/**
|
|
29
|
+
* The type of the volume. Valid values: `TSSD_TL0`.
|
|
30
|
+
*/
|
|
31
|
+
volumeType?: string;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* A collection of values returned by MaxExtraPerformances.
|
|
35
|
+
*/
|
|
36
|
+
export interface MaxExtraPerformancesResult {
|
|
37
|
+
/**
|
|
38
|
+
* The provider-assigned unique ID for this managed resource.
|
|
39
|
+
*/
|
|
40
|
+
readonly id: string;
|
|
41
|
+
readonly nameRegex?: string;
|
|
42
|
+
readonly outputFile?: string;
|
|
43
|
+
/**
|
|
44
|
+
* The collection of query.
|
|
45
|
+
*/
|
|
46
|
+
readonly performances: outputs.ebs.MaxExtraPerformancesPerformance[];
|
|
47
|
+
readonly size?: number;
|
|
48
|
+
/**
|
|
49
|
+
* The total count of query.
|
|
50
|
+
*/
|
|
51
|
+
readonly totalCount: number;
|
|
52
|
+
readonly volumeId?: string;
|
|
53
|
+
readonly volumeType?: string;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Use this data source to query detailed information of ebs max extra performances
|
|
57
|
+
*/
|
|
58
|
+
/** @deprecated volcengine.ebs.MaxExtraPerformances has been deprecated in favor of volcengine.ebs.getMaxExtraPerformances */
|
|
59
|
+
export declare function maxExtraPerformancesOutput(args?: MaxExtraPerformancesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<MaxExtraPerformancesResult>;
|
|
60
|
+
/**
|
|
61
|
+
* A collection of arguments for invoking MaxExtraPerformances.
|
|
62
|
+
*/
|
|
63
|
+
export interface MaxExtraPerformancesOutputArgs {
|
|
64
|
+
/**
|
|
65
|
+
* A Name Regex of Resource.
|
|
66
|
+
*/
|
|
67
|
+
nameRegex?: pulumi.Input<string>;
|
|
68
|
+
/**
|
|
69
|
+
* File name where to save data source results.
|
|
70
|
+
*/
|
|
71
|
+
outputFile?: pulumi.Input<string>;
|
|
72
|
+
/**
|
|
73
|
+
* The size of the volume. Unit: GiB.
|
|
74
|
+
*/
|
|
75
|
+
size?: pulumi.Input<number>;
|
|
76
|
+
/**
|
|
77
|
+
* The id of the volume.
|
|
78
|
+
*/
|
|
79
|
+
volumeId?: pulumi.Input<string>;
|
|
80
|
+
/**
|
|
81
|
+
* The type of the volume. Valid values: `TSSD_TL0`.
|
|
82
|
+
*/
|
|
83
|
+
volumeType?: pulumi.Input<string>;
|
|
84
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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.maxExtraPerformancesOutput = exports.maxExtraPerformances = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to query detailed information of ebs max extra performances
|
|
10
|
+
*/
|
|
11
|
+
/** @deprecated volcengine.ebs.MaxExtraPerformances has been deprecated in favor of volcengine.ebs.getMaxExtraPerformances */
|
|
12
|
+
function maxExtraPerformances(args, opts) {
|
|
13
|
+
pulumi.log.warn("maxExtraPerformances is deprecated: volcengine.ebs.MaxExtraPerformances has been deprecated in favor of volcengine.ebs.getMaxExtraPerformances");
|
|
14
|
+
args = args || {};
|
|
15
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
16
|
+
return pulumi.runtime.invoke("volcengine:ebs/maxExtraPerformances:MaxExtraPerformances", {
|
|
17
|
+
"nameRegex": args.nameRegex,
|
|
18
|
+
"outputFile": args.outputFile,
|
|
19
|
+
"size": args.size,
|
|
20
|
+
"volumeId": args.volumeId,
|
|
21
|
+
"volumeType": args.volumeType,
|
|
22
|
+
}, opts);
|
|
23
|
+
}
|
|
24
|
+
exports.maxExtraPerformances = maxExtraPerformances;
|
|
25
|
+
/**
|
|
26
|
+
* Use this data source to query detailed information of ebs max extra performances
|
|
27
|
+
*/
|
|
28
|
+
/** @deprecated volcengine.ebs.MaxExtraPerformances has been deprecated in favor of volcengine.ebs.getMaxExtraPerformances */
|
|
29
|
+
function maxExtraPerformancesOutput(args, opts) {
|
|
30
|
+
return pulumi.output(args).apply((a) => maxExtraPerformances(a, opts));
|
|
31
|
+
}
|
|
32
|
+
exports.maxExtraPerformancesOutput = maxExtraPerformancesOutput;
|
|
33
|
+
//# sourceMappingURL=maxExtraPerformances.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"maxExtraPerformances.js","sourceRoot":"","sources":["../../ebs/maxExtraPerformances.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,6HAA6H;AAC7H,SAAgB,oBAAoB,CAAC,IAA+B,EAAE,IAA2B;IAC7F,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,gJAAgJ,CAAC,CAAA;IACjK,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,0DAA0D,EAAE;QACrF,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,oDAYC;AAkDD;;GAEG;AACH,6HAA6H;AAC7H,SAAgB,0BAA0B,CAAC,IAAqC,EAAE,IAA2B;IACzG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,oBAAoB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC/E,CAAC;AAFD,gEAEC"}
|
package/ebs/volume.d.ts
CHANGED
|
@@ -30,7 +30,7 @@ import * as outputs from "../types/output";
|
|
|
30
30
|
* const fooImages = volcengine.ecs.getImages({
|
|
31
31
|
* osType: "Linux",
|
|
32
32
|
* visibility: "public",
|
|
33
|
-
* instanceTypeId: "ecs.
|
|
33
|
+
* instanceTypeId: "ecs.g3il.large",
|
|
34
34
|
* });
|
|
35
35
|
* // create PrePaid ecs instance
|
|
36
36
|
* const fooInstance = new volcengine.ecs.Instance("fooInstance", {
|
|
@@ -38,7 +38,7 @@ import * as outputs from "../types/output";
|
|
|
38
38
|
* description: "acc-test",
|
|
39
39
|
* hostName: "tf-acc-test",
|
|
40
40
|
* imageId: fooImages.then(fooImages => fooImages.images?.[0]?.imageId),
|
|
41
|
-
* instanceType: "ecs.
|
|
41
|
+
* instanceType: "ecs.g3il.large",
|
|
42
42
|
* password: "93f0cb0614Aab12",
|
|
43
43
|
* instanceChargeType: "PrePaid",
|
|
44
44
|
* period: 1,
|
|
@@ -84,6 +84,11 @@ import * as outputs from "../types/output";
|
|
|
84
84
|
* value: "v1",
|
|
85
85
|
* }],
|
|
86
86
|
* });
|
|
87
|
+
* // attach PostPaid data volume to ecs instance
|
|
88
|
+
* const fooVolumeAttach = new volcengine.ebs.VolumeAttach("fooVolumeAttach", {
|
|
89
|
+
* instanceId: fooInstance.id,
|
|
90
|
+
* volumeId: postVolume.id,
|
|
91
|
+
* });
|
|
87
92
|
* ```
|
|
88
93
|
*
|
|
89
94
|
* ## Import
|
|
@@ -135,9 +140,10 @@ export declare class Volume extends pulumi.CustomResource {
|
|
|
135
140
|
*/
|
|
136
141
|
readonly extraPerformanceTypeId: pulumi.Output<string | undefined>;
|
|
137
142
|
/**
|
|
138
|
-
* The ID of the instance to which the created volume is automatically attached.
|
|
139
|
-
* instance
|
|
140
|
-
* volcengine_volume.resource_name` command to remove it
|
|
143
|
+
* The ID of the instance to which the created volume is automatically attached. It is recommended to attach the PostPaid
|
|
144
|
+
* volume to instance through resource `volume_attach`.When use this field to attach ecs instance, the attached volume
|
|
145
|
+
* cannot be deleted by terraform, please use `terraform state rm volcengine_volume.resource_name` command to remove it
|
|
146
|
+
* from terraform state file and management.
|
|
141
147
|
*/
|
|
142
148
|
readonly instanceId: pulumi.Output<string>;
|
|
143
149
|
/**
|
|
@@ -178,7 +184,7 @@ export declare class Volume extends pulumi.CustomResource {
|
|
|
178
184
|
*/
|
|
179
185
|
readonly volumeName: pulumi.Output<string>;
|
|
180
186
|
/**
|
|
181
|
-
* The type of Volume
|
|
187
|
+
* The type of Volume. Valid values: `ESSD_PL0`, `ESSD_FlexPL`, `TSSD_TL0`.
|
|
182
188
|
*/
|
|
183
189
|
readonly volumeType: pulumi.Output<string>;
|
|
184
190
|
/**
|
|
@@ -223,9 +229,10 @@ export interface VolumeState {
|
|
|
223
229
|
*/
|
|
224
230
|
extraPerformanceTypeId?: pulumi.Input<string>;
|
|
225
231
|
/**
|
|
226
|
-
* The ID of the instance to which the created volume is automatically attached.
|
|
227
|
-
* instance
|
|
228
|
-
* volcengine_volume.resource_name` command to remove it
|
|
232
|
+
* The ID of the instance to which the created volume is automatically attached. It is recommended to attach the PostPaid
|
|
233
|
+
* volume to instance through resource `volume_attach`.When use this field to attach ecs instance, the attached volume
|
|
234
|
+
* cannot be deleted by terraform, please use `terraform state rm volcengine_volume.resource_name` command to remove it
|
|
235
|
+
* from terraform state file and management.
|
|
229
236
|
*/
|
|
230
237
|
instanceId?: pulumi.Input<string>;
|
|
231
238
|
/**
|
|
@@ -266,7 +273,7 @@ export interface VolumeState {
|
|
|
266
273
|
*/
|
|
267
274
|
volumeName?: pulumi.Input<string>;
|
|
268
275
|
/**
|
|
269
|
-
* The type of Volume
|
|
276
|
+
* The type of Volume. Valid values: `ESSD_PL0`, `ESSD_FlexPL`, `TSSD_TL0`.
|
|
270
277
|
*/
|
|
271
278
|
volumeType?: pulumi.Input<string>;
|
|
272
279
|
/**
|
|
@@ -299,9 +306,10 @@ export interface VolumeArgs {
|
|
|
299
306
|
*/
|
|
300
307
|
extraPerformanceTypeId?: pulumi.Input<string>;
|
|
301
308
|
/**
|
|
302
|
-
* The ID of the instance to which the created volume is automatically attached.
|
|
303
|
-
* instance
|
|
304
|
-
* volcengine_volume.resource_name` command to remove it
|
|
309
|
+
* The ID of the instance to which the created volume is automatically attached. It is recommended to attach the PostPaid
|
|
310
|
+
* volume to instance through resource `volume_attach`.When use this field to attach ecs instance, the attached volume
|
|
311
|
+
* cannot be deleted by terraform, please use `terraform state rm volcengine_volume.resource_name` command to remove it
|
|
312
|
+
* from terraform state file and management.
|
|
305
313
|
*/
|
|
306
314
|
instanceId?: pulumi.Input<string>;
|
|
307
315
|
/**
|
|
@@ -334,7 +342,7 @@ export interface VolumeArgs {
|
|
|
334
342
|
*/
|
|
335
343
|
volumeName: pulumi.Input<string>;
|
|
336
344
|
/**
|
|
337
|
-
* The type of Volume
|
|
345
|
+
* The type of Volume. Valid values: `ESSD_PL0`, `ESSD_FlexPL`, `TSSD_TL0`.
|
|
338
346
|
*/
|
|
339
347
|
volumeType: pulumi.Input<string>;
|
|
340
348
|
/**
|
package/ebs/volume.js
CHANGED
|
@@ -34,7 +34,7 @@ const utilities = require("../utilities");
|
|
|
34
34
|
* const fooImages = volcengine.ecs.getImages({
|
|
35
35
|
* osType: "Linux",
|
|
36
36
|
* visibility: "public",
|
|
37
|
-
* instanceTypeId: "ecs.
|
|
37
|
+
* instanceTypeId: "ecs.g3il.large",
|
|
38
38
|
* });
|
|
39
39
|
* // create PrePaid ecs instance
|
|
40
40
|
* const fooInstance = new volcengine.ecs.Instance("fooInstance", {
|
|
@@ -42,7 +42,7 @@ const utilities = require("../utilities");
|
|
|
42
42
|
* description: "acc-test",
|
|
43
43
|
* hostName: "tf-acc-test",
|
|
44
44
|
* imageId: fooImages.then(fooImages => fooImages.images?.[0]?.imageId),
|
|
45
|
-
* instanceType: "ecs.
|
|
45
|
+
* instanceType: "ecs.g3il.large",
|
|
46
46
|
* password: "93f0cb0614Aab12",
|
|
47
47
|
* instanceChargeType: "PrePaid",
|
|
48
48
|
* period: 1,
|
|
@@ -88,6 +88,11 @@ const utilities = require("../utilities");
|
|
|
88
88
|
* value: "v1",
|
|
89
89
|
* }],
|
|
90
90
|
* });
|
|
91
|
+
* // attach PostPaid data volume to ecs instance
|
|
92
|
+
* const fooVolumeAttach = new volcengine.ebs.VolumeAttach("fooVolumeAttach", {
|
|
93
|
+
* instanceId: fooInstance.id,
|
|
94
|
+
* volumeId: postVolume.id,
|
|
95
|
+
* });
|
|
91
96
|
* ```
|
|
92
97
|
*
|
|
93
98
|
* ## Import
|
package/ebs/volume.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"volume.js","sourceRoot":"","sources":["../../ebs/volume.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"volume.js","sourceRoot":"","sources":["../../ebs/volume.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiGG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAC7C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmB,EAAE,IAAmC;QACjH,OAAO,IAAI,MAAM,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7D,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,MAAM,CAAC,YAAY,CAAC;IACvD,CAAC;IAuFD,YAAY,IAAY,EAAE,WAAsC,EAAE,IAAmC;QACjG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAsC,CAAC;YACrD,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SA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10
|
* import * as volcengine from "@volcengine/pulumi";
|
|
11
11
|
*
|
|
12
12
|
* const fooZones = volcengine.ecs.getZones({});
|
|
13
|
+
* // create vpc
|
|
13
14
|
* const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
|
|
14
15
|
* vpcName: "acc-test-vpc",
|
|
15
16
|
* cidrBlock: "172.16.0.0/16",
|
|
17
|
+
* dnsServers: [
|
|
18
|
+
* "8.8.8.8",
|
|
19
|
+
* "114.114.114.114",
|
|
20
|
+
* ],
|
|
21
|
+
* projectName: "default",
|
|
16
22
|
* });
|
|
23
|
+
* // create subnet
|
|
17
24
|
* const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
|
|
18
25
|
* subnetName: "acc-test-subnet",
|
|
19
|
-
* description: "tfdesc",
|
|
20
26
|
* cidrBlock: "172.16.0.0/24",
|
|
21
27
|
* zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
|
|
22
28
|
* vpcId: fooVpc.id,
|
|
23
29
|
* });
|
|
30
|
+
* // create escloud instance
|
|
24
31
|
* const fooEscloudInstanceV2 = new volcengine.escloud_v2.EscloudInstanceV2("fooEscloudInstanceV2", {
|
|
25
32
|
* instanceName: "acc-test-escloud-instance",
|
|
26
33
|
* version: "V7_10",
|
|
@@ -84,8 +91,17 @@ import * as outputs from "../types/output";
|
|
|
84
91
|
* value: "v1",
|
|
85
92
|
* }],
|
|
86
93
|
* });
|
|
87
|
-
* //
|
|
88
|
-
*
|
|
94
|
+
* // create escloud ip white list
|
|
95
|
+
* const fooEscloudIpWhiteList = new volcengine.escloud_v2.EscloudIpWhiteList("fooEscloudIpWhiteList", {
|
|
96
|
+
* instanceId: fooEscloudInstanceV2.id,
|
|
97
|
+
* type: "public",
|
|
98
|
+
* component: "es",
|
|
99
|
+
* ipLists: [
|
|
100
|
+
* "172.16.0.10",
|
|
101
|
+
* "172.16.0.11",
|
|
102
|
+
* "172.16.0.12",
|
|
103
|
+
* ],
|
|
104
|
+
* });
|
|
89
105
|
* ```
|
|
90
106
|
*
|
|
91
107
|
* ## Import
|
|
@@ -14,17 +14,24 @@ const utilities = require("../utilities");
|
|
|
14
14
|
* import * as volcengine from "@volcengine/pulumi";
|
|
15
15
|
*
|
|
16
16
|
* const fooZones = volcengine.ecs.getZones({});
|
|
17
|
+
* // create vpc
|
|
17
18
|
* const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
|
|
18
19
|
* vpcName: "acc-test-vpc",
|
|
19
20
|
* cidrBlock: "172.16.0.0/16",
|
|
21
|
+
* dnsServers: [
|
|
22
|
+
* "8.8.8.8",
|
|
23
|
+
* "114.114.114.114",
|
|
24
|
+
* ],
|
|
25
|
+
* projectName: "default",
|
|
20
26
|
* });
|
|
27
|
+
* // create subnet
|
|
21
28
|
* const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
|
|
22
29
|
* subnetName: "acc-test-subnet",
|
|
23
|
-
* description: "tfdesc",
|
|
24
30
|
* cidrBlock: "172.16.0.0/24",
|
|
25
31
|
* zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
|
|
26
32
|
* vpcId: fooVpc.id,
|
|
27
33
|
* });
|
|
34
|
+
* // create escloud instance
|
|
28
35
|
* const fooEscloudInstanceV2 = new volcengine.escloud_v2.EscloudInstanceV2("fooEscloudInstanceV2", {
|
|
29
36
|
* instanceName: "acc-test-escloud-instance",
|
|
30
37
|
* version: "V7_10",
|
|
@@ -88,8 +95,17 @@ const utilities = require("../utilities");
|
|
|
88
95
|
* value: "v1",
|
|
89
96
|
* }],
|
|
90
97
|
* });
|
|
91
|
-
* //
|
|
92
|
-
*
|
|
98
|
+
* // create escloud ip white list
|
|
99
|
+
* const fooEscloudIpWhiteList = new volcengine.escloud_v2.EscloudIpWhiteList("fooEscloudIpWhiteList", {
|
|
100
|
+
* instanceId: fooEscloudInstanceV2.id,
|
|
101
|
+
* type: "public",
|
|
102
|
+
* component: "es",
|
|
103
|
+
* ipLists: [
|
|
104
|
+
* "172.16.0.10",
|
|
105
|
+
* "172.16.0.11",
|
|
106
|
+
* "172.16.0.12",
|
|
107
|
+
* ],
|
|
108
|
+
* });
|
|
93
109
|
* ```
|
|
94
110
|
*
|
|
95
111
|
* ## Import
|