@volcengine/pulumi 0.0.30 → 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/cloud_identity/permissionSetAssignment.d.ts +15 -0
- package/cloud_identity/permissionSetAssignment.js +2 -0
- package/cloud_identity/permissionSetAssignment.js.map +1 -1
- package/cloud_identity/permissionSetProvisioning.d.ts +5 -3
- package/cloud_identity/permissionSetProvisioning.js +5 -3
- package/cloud_identity/permissionSetProvisioning.js.map +1 -1
- 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/nas/fileSystem.d.ts +58 -0
- package/nas/fileSystem.js +58 -0
- package/nas/fileSystem.js.map +1 -1
- package/nas/getMountPoints.d.ts +112 -0
- package/nas/getMountPoints.js +112 -0
- package/nas/getMountPoints.js.map +1 -1
- package/nas/mountPoint.d.ts +53 -0
- package/nas/mountPoint.js +53 -0
- package/nas/mountPoint.js.map +1 -1
- package/nas/mountPoints.d.ts +112 -0
- package/nas/mountPoints.js +112 -0
- package/nas/mountPoints.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
|
@@ -66,6 +66,11 @@ export declare class PermissionSetAssignment extends pulumi.CustomResource {
|
|
|
66
66
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
67
67
|
*/
|
|
68
68
|
static isInstance(obj: any): obj is PermissionSetAssignment;
|
|
69
|
+
/**
|
|
70
|
+
* The deprovision strategy when deleting the cloud identity permission set assignment. Valid values: `DeprovisionForLastPermissionSetOnAccount`, `None`. Default is `DeprovisionForLastPermissionSetOnAccount`.
|
|
71
|
+
* When the `deprovisionStrategy` is `DeprovisionForLastPermissionSetOnAccount`, and the permission set assignment to be deleted is the last assignment for the same account, this option is used for the DeprovisionPermissionSet operation.
|
|
72
|
+
*/
|
|
73
|
+
readonly deprovisionStrategy: pulumi.Output<string | undefined>;
|
|
69
74
|
/**
|
|
70
75
|
* The id of the cloud identity permission set.
|
|
71
76
|
*/
|
|
@@ -95,6 +100,11 @@ export declare class PermissionSetAssignment extends pulumi.CustomResource {
|
|
|
95
100
|
* Input properties used for looking up and filtering PermissionSetAssignment resources.
|
|
96
101
|
*/
|
|
97
102
|
export interface PermissionSetAssignmentState {
|
|
103
|
+
/**
|
|
104
|
+
* The deprovision strategy when deleting the cloud identity permission set assignment. Valid values: `DeprovisionForLastPermissionSetOnAccount`, `None`. Default is `DeprovisionForLastPermissionSetOnAccount`.
|
|
105
|
+
* When the `deprovisionStrategy` is `DeprovisionForLastPermissionSetOnAccount`, and the permission set assignment to be deleted is the last assignment for the same account, this option is used for the DeprovisionPermissionSet operation.
|
|
106
|
+
*/
|
|
107
|
+
deprovisionStrategy?: pulumi.Input<string>;
|
|
98
108
|
/**
|
|
99
109
|
* The id of the cloud identity permission set.
|
|
100
110
|
*/
|
|
@@ -116,6 +126,11 @@ export interface PermissionSetAssignmentState {
|
|
|
116
126
|
* The set of arguments for constructing a PermissionSetAssignment resource.
|
|
117
127
|
*/
|
|
118
128
|
export interface PermissionSetAssignmentArgs {
|
|
129
|
+
/**
|
|
130
|
+
* The deprovision strategy when deleting the cloud identity permission set assignment. Valid values: `DeprovisionForLastPermissionSetOnAccount`, `None`. Default is `DeprovisionForLastPermissionSetOnAccount`.
|
|
131
|
+
* When the `deprovisionStrategy` is `DeprovisionForLastPermissionSetOnAccount`, and the permission set assignment to be deleted is the last assignment for the same account, this option is used for the DeprovisionPermissionSet operation.
|
|
132
|
+
*/
|
|
133
|
+
deprovisionStrategy?: pulumi.Input<string>;
|
|
119
134
|
/**
|
|
120
135
|
* The id of the cloud identity permission set.
|
|
121
136
|
*/
|
|
@@ -84,6 +84,7 @@ class PermissionSetAssignment extends pulumi.CustomResource {
|
|
|
84
84
|
opts = opts || {};
|
|
85
85
|
if (opts.id) {
|
|
86
86
|
const state = argsOrState;
|
|
87
|
+
resourceInputs["deprovisionStrategy"] = state ? state.deprovisionStrategy : undefined;
|
|
87
88
|
resourceInputs["permissionSetId"] = state ? state.permissionSetId : undefined;
|
|
88
89
|
resourceInputs["principalId"] = state ? state.principalId : undefined;
|
|
89
90
|
resourceInputs["principalType"] = state ? state.principalType : undefined;
|
|
@@ -103,6 +104,7 @@ class PermissionSetAssignment extends pulumi.CustomResource {
|
|
|
103
104
|
if ((!args || args.targetId === undefined) && !opts.urn) {
|
|
104
105
|
throw new Error("Missing required property 'targetId'");
|
|
105
106
|
}
|
|
107
|
+
resourceInputs["deprovisionStrategy"] = args ? args.deprovisionStrategy : undefined;
|
|
106
108
|
resourceInputs["permissionSetId"] = args ? args.permissionSetId : undefined;
|
|
107
109
|
resourceInputs["principalId"] = args ? args.principalId : undefined;
|
|
108
110
|
resourceInputs["principalType"] = args ? args.principalType : undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"permissionSetAssignment.js","sourceRoot":"","sources":["../../cloud_identity/permissionSetAssignment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkDG;AACH,MAAa,uBAAwB,SAAQ,MAAM,CAAC,cAAc;IAC9D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoC,EAAE,IAAmC;QAClI,OAAO,IAAI,uBAAuB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9E,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,uBAAuB,CAAC,YAAY,CAAC;IACxE,CAAC;
|
|
1
|
+
{"version":3,"file":"permissionSetAssignment.js","sourceRoot":"","sources":["../../cloud_identity/permissionSetAssignment.ts"],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AC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;SACjE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,uBAAuB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5E,CAAC;;AA1FL,0DA2FC;AA7EG,gBAAgB;AACO,oCAAY,GAAG,2EAA2E,CAAC"}
|
|
@@ -36,15 +36,17 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
36
36
|
* });
|
|
37
37
|
* const fooPermissionSetAssignment = new volcengine.cloud_identity.PermissionSetAssignment("fooPermissionSetAssignment", {
|
|
38
38
|
* permissionSetId: fooPermissionSet.id,
|
|
39
|
-
* targetId: "
|
|
39
|
+
* targetId: "210005****",
|
|
40
40
|
* principalType: "User",
|
|
41
41
|
* principalId: fooUser.id,
|
|
42
|
+
* deprovisionStrategy: "None",
|
|
42
43
|
* });
|
|
44
|
+
* // It is not recommended to use this resource to provision the permission_set.
|
|
43
45
|
* // When the `volcengine_cloud_identity_permission_set` is updated, you can use this resource to provision the permission set.
|
|
44
|
-
* // When deleting this resource, resource `volcengine_cloud_identity_permission_set_assignment` must be deleted first
|
|
46
|
+
* // When deleting this resource, resource `volcengine_cloud_identity_permission_set_assignment` must be deleted first, and the `deprovision_strategy` of `volcengine_cloud_identity_permission_set_assignment` should be set as `None`.
|
|
45
47
|
* const fooPermissionSetProvisioning = new volcengine.cloud_identity.PermissionSetProvisioning("fooPermissionSetProvisioning", {
|
|
46
48
|
* permissionSetId: fooPermissionSet.id,
|
|
47
|
-
* targetId: "
|
|
49
|
+
* targetId: "210005****",
|
|
48
50
|
* provisioningStatus: "Provisioned",
|
|
49
51
|
* });
|
|
50
52
|
* ```
|
|
@@ -42,15 +42,17 @@ const utilities = require("../utilities");
|
|
|
42
42
|
* });
|
|
43
43
|
* const fooPermissionSetAssignment = new volcengine.cloud_identity.PermissionSetAssignment("fooPermissionSetAssignment", {
|
|
44
44
|
* permissionSetId: fooPermissionSet.id,
|
|
45
|
-
* targetId: "
|
|
45
|
+
* targetId: "210005****",
|
|
46
46
|
* principalType: "User",
|
|
47
47
|
* principalId: fooUser.id,
|
|
48
|
+
* deprovisionStrategy: "None",
|
|
48
49
|
* });
|
|
50
|
+
* // It is not recommended to use this resource to provision the permission_set.
|
|
49
51
|
* // When the `volcengine_cloud_identity_permission_set` is updated, you can use this resource to provision the permission set.
|
|
50
|
-
* // When deleting this resource, resource `volcengine_cloud_identity_permission_set_assignment` must be deleted first
|
|
52
|
+
* // When deleting this resource, resource `volcengine_cloud_identity_permission_set_assignment` must be deleted first, and the `deprovision_strategy` of `volcengine_cloud_identity_permission_set_assignment` should be set as `None`.
|
|
51
53
|
* const fooPermissionSetProvisioning = new volcengine.cloud_identity.PermissionSetProvisioning("fooPermissionSetProvisioning", {
|
|
52
54
|
* permissionSetId: fooPermissionSet.id,
|
|
53
|
-
* targetId: "
|
|
55
|
+
* targetId: "210005****",
|
|
54
56
|
* provisioningStatus: "Provisioned",
|
|
55
57
|
* });
|
|
56
58
|
* ```
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"permissionSetProvisioning.js","sourceRoot":"","sources":["../../cloud_identity/permissionSetProvisioning.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"permissionSetProvisioning.js","sourceRoot":"","sources":["../../cloud_identity/permissionSetProvisioning.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;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AAK,CAAC,6CAA6C,CAAC,CAAC;aAClE;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,kBAAkB,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC/D,MAAM,IAAI,KAAK,CAAC,gDAAgD,CAAC,CAAC;aACrE;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,QAAQ,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACrD,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;aAC3D;YACD,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,oBAAoB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC;YAClF,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;SACjE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,yBAAyB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9E,CAAC;;AA3EL,8DA4EC;AA9DG,gBAAgB;AACO,sCAAY,GAAG,+EAA+E,CAAC"}
|
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,KAAm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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,oBAAoB,GAAiE,IAAW,CAAC;AACjG,QAAA,0BAA0B,GAAuE,IAAW,CAAC;AAC1H,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,sBAAsB,EAAC,4BAA4B,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,wBAAwB,CAAC,CAAC,CAAC;AAI/G,QAAA,kBAAkB,GAA6D,IAAW,CAAC;AACxG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,oBAAoB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,sBAAsB,CAAC,CAAC,CAAC;AAI9E,QAAA,4BAA4B,GAAiF,IAAW,CAA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C/B,OAAO,IAAI,cAAM,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACpD,KAAK,0CAA0C;gBAC3C,OAAO,IAAI,oBAAY,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC1D;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,wBAAwB,EAAE,OAAO,CAAC,CAAA;AACtF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,kCAAkC,EAAE,OAAO,CAAC,CAAA;AAChG,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,cAAc,EAAE,OAAO,CAAC,CAAA;AAC5E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,mBAAmB,EAAE,OAAO,CAAC,CAAA;AACjF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,YAAY,EAAE,OAAO,CAAC,CAAA;AAC1E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,kBAAkB,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -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
|