@byteplus/pulumi-bytepluscc 0.0.14 → 0.0.15
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/clb/getNlbSecurityPolicies.d.ts +22 -0
- package/clb/getNlbSecurityPolicies.js +24 -0
- package/clb/getNlbSecurityPolicies.js.map +1 -0
- package/clb/getNlbSecurityPolicy.d.ts +81 -0
- package/clb/getNlbSecurityPolicy.js +28 -0
- package/clb/getNlbSecurityPolicy.js.map +1 -0
- package/clb/index.d.ts +9 -0
- package/clb/index.js +12 -1
- package/clb/index.js.map +1 -1
- package/clb/nlbSecurityPolicy.d.ts +167 -0
- package/clb/nlbSecurityPolicy.js +105 -0
- package/clb/nlbSecurityPolicy.js.map +1 -0
- package/cloudidentity/getGroup.d.ts +73 -0
- package/cloudidentity/getGroup.js +28 -0
- package/cloudidentity/getGroup.js.map +1 -0
- package/cloudidentity/getGroups.d.ts +22 -0
- package/cloudidentity/getGroups.js +24 -0
- package/cloudidentity/getGroups.js.map +1 -0
- package/cloudidentity/getPermissionSet.d.ts +73 -0
- package/cloudidentity/getPermissionSet.js +28 -0
- package/cloudidentity/getPermissionSet.js.map +1 -0
- package/cloudidentity/getPermissionSets.d.ts +22 -0
- package/cloudidentity/getPermissionSets.js +24 -0
- package/cloudidentity/getPermissionSets.js.map +1 -0
- package/cloudidentity/group.d.ts +130 -0
- package/cloudidentity/group.js +80 -0
- package/cloudidentity/group.js.map +1 -0
- package/cloudidentity/index.d.ts +18 -0
- package/cloudidentity/index.js +23 -1
- package/cloudidentity/index.js.map +1 -1
- package/cloudidentity/permissionSet.d.ts +130 -0
- package/cloudidentity/permissionSet.js +77 -0
- package/cloudidentity/permissionSet.js.map +1 -0
- package/filenas/getMountPoint.d.ts +97 -0
- package/filenas/getMountPoint.js +28 -0
- package/filenas/getMountPoint.js.map +1 -0
- package/filenas/getMountPoints.d.ts +22 -0
- package/filenas/getMountPoints.js +24 -0
- package/filenas/getMountPoints.js.map +1 -0
- package/filenas/index.d.ts +9 -0
- package/filenas/index.js +12 -1
- package/filenas/index.js.map +1 -1
- package/filenas/mountPoint.d.ts +196 -0
- package/filenas/mountPoint.js +116 -0
- package/filenas/mountPoint.js.map +1 -0
- package/package.json +1 -1
- package/rdspostgresql/dbAccount.d.ts +133 -0
- package/rdspostgresql/dbAccount.js +93 -0
- package/rdspostgresql/dbAccount.js.map +1 -0
- package/rdspostgresql/getDbAccount.d.ts +60 -0
- package/rdspostgresql/getDbAccount.js +28 -0
- package/rdspostgresql/getDbAccount.js.map +1 -0
- package/rdspostgresql/getDbAccounts.d.ts +22 -0
- package/rdspostgresql/getDbAccounts.js +24 -0
- package/rdspostgresql/getDbAccounts.js.map +1 -0
- package/rdspostgresql/index.d.ts +9 -0
- package/rdspostgresql/index.js +12 -1
- package/rdspostgresql/index.js.map +1 -1
- package/types/input.d.ts +87 -0
- package/types/output.d.ts +211 -0
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* 当您创建好云身份中心用户后,需要授予用户访问到各账号的登录访问权限。当用户访问火山引擎云资源的权限访问具备可抽象的共性时,如:网络运维权限、安全管理权限等,您可以在云身份中心预置访问权限集作为权限模版,最终基于访问权限集来实现中心化授权。云身份中心将会为您同步分发访问权限集到各个账号,减少企业权限的运维成本。
|
|
6
|
+
*
|
|
7
|
+
* ## Import
|
|
8
|
+
*
|
|
9
|
+
* ```sh
|
|
10
|
+
* $ pulumi import bytepluscc:cloudidentity/permissionSet:PermissionSet example "permission_set_id"
|
|
11
|
+
* ```
|
|
12
|
+
*/
|
|
13
|
+
export declare class PermissionSet extends pulumi.CustomResource {
|
|
14
|
+
/**
|
|
15
|
+
* Get an existing PermissionSet resource's state with the given name, ID, and optional extra
|
|
16
|
+
* properties used to qualify the lookup.
|
|
17
|
+
*
|
|
18
|
+
* @param name The _unique_ name of the resulting resource.
|
|
19
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
20
|
+
* @param state Any extra arguments used during the lookup.
|
|
21
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
22
|
+
*/
|
|
23
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: PermissionSetState, opts?: pulumi.CustomResourceOptions): PermissionSet;
|
|
24
|
+
/**
|
|
25
|
+
* Returns true if the given object is an instance of PermissionSet. This is designed to work even
|
|
26
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
27
|
+
*/
|
|
28
|
+
static isInstance(obj: any): obj is PermissionSet;
|
|
29
|
+
/**
|
|
30
|
+
* 创建时间。
|
|
31
|
+
*/
|
|
32
|
+
readonly createdTime: pulumi.Output<string>;
|
|
33
|
+
/**
|
|
34
|
+
* 权限集描述。
|
|
35
|
+
*/
|
|
36
|
+
readonly description: pulumi.Output<string>;
|
|
37
|
+
/**
|
|
38
|
+
* 权限集名称。
|
|
39
|
+
*/
|
|
40
|
+
readonly name: pulumi.Output<string>;
|
|
41
|
+
readonly permissionPolicies: pulumi.Output<outputs.cloudidentity.PermissionSetPermissionPolicy[]>;
|
|
42
|
+
/**
|
|
43
|
+
* 权限集 ID。
|
|
44
|
+
*/
|
|
45
|
+
readonly permissionSetId: pulumi.Output<string>;
|
|
46
|
+
/**
|
|
47
|
+
* 跳转控制台 URL。
|
|
48
|
+
*/
|
|
49
|
+
readonly relayState: pulumi.Output<string>;
|
|
50
|
+
/**
|
|
51
|
+
* session 过期时间,单位秒。
|
|
52
|
+
*/
|
|
53
|
+
readonly sessionDuration: pulumi.Output<number>;
|
|
54
|
+
/**
|
|
55
|
+
* 状态通知配置。
|
|
56
|
+
*/
|
|
57
|
+
readonly statusNotifications: pulumi.Output<string[]>;
|
|
58
|
+
/**
|
|
59
|
+
* 更新时间。
|
|
60
|
+
*/
|
|
61
|
+
readonly updatedTime: pulumi.Output<string>;
|
|
62
|
+
/**
|
|
63
|
+
* Create a PermissionSet resource with the given unique name, arguments, and options.
|
|
64
|
+
*
|
|
65
|
+
* @param name The _unique_ name of the resource.
|
|
66
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
67
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
68
|
+
*/
|
|
69
|
+
constructor(name: string, args: PermissionSetArgs, opts?: pulumi.CustomResourceOptions);
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Input properties used for looking up and filtering PermissionSet resources.
|
|
73
|
+
*/
|
|
74
|
+
export interface PermissionSetState {
|
|
75
|
+
/**
|
|
76
|
+
* 创建时间。
|
|
77
|
+
*/
|
|
78
|
+
createdTime?: pulumi.Input<string>;
|
|
79
|
+
/**
|
|
80
|
+
* 权限集描述。
|
|
81
|
+
*/
|
|
82
|
+
description?: pulumi.Input<string>;
|
|
83
|
+
/**
|
|
84
|
+
* 权限集名称。
|
|
85
|
+
*/
|
|
86
|
+
name?: pulumi.Input<string>;
|
|
87
|
+
permissionPolicies?: pulumi.Input<pulumi.Input<inputs.cloudidentity.PermissionSetPermissionPolicy>[]>;
|
|
88
|
+
/**
|
|
89
|
+
* 权限集 ID。
|
|
90
|
+
*/
|
|
91
|
+
permissionSetId?: pulumi.Input<string>;
|
|
92
|
+
/**
|
|
93
|
+
* 跳转控制台 URL。
|
|
94
|
+
*/
|
|
95
|
+
relayState?: pulumi.Input<string>;
|
|
96
|
+
/**
|
|
97
|
+
* session 过期时间,单位秒。
|
|
98
|
+
*/
|
|
99
|
+
sessionDuration?: pulumi.Input<number>;
|
|
100
|
+
/**
|
|
101
|
+
* 状态通知配置。
|
|
102
|
+
*/
|
|
103
|
+
statusNotifications?: pulumi.Input<pulumi.Input<string>[]>;
|
|
104
|
+
/**
|
|
105
|
+
* 更新时间。
|
|
106
|
+
*/
|
|
107
|
+
updatedTime?: pulumi.Input<string>;
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* The set of arguments for constructing a PermissionSet resource.
|
|
111
|
+
*/
|
|
112
|
+
export interface PermissionSetArgs {
|
|
113
|
+
/**
|
|
114
|
+
* 权限集描述。
|
|
115
|
+
*/
|
|
116
|
+
description?: pulumi.Input<string>;
|
|
117
|
+
/**
|
|
118
|
+
* 权限集名称。
|
|
119
|
+
*/
|
|
120
|
+
name: pulumi.Input<string>;
|
|
121
|
+
permissionPolicies?: pulumi.Input<pulumi.Input<inputs.cloudidentity.PermissionSetPermissionPolicy>[]>;
|
|
122
|
+
/**
|
|
123
|
+
* 跳转控制台 URL。
|
|
124
|
+
*/
|
|
125
|
+
relayState?: pulumi.Input<string>;
|
|
126
|
+
/**
|
|
127
|
+
* session 过期时间,单位秒。
|
|
128
|
+
*/
|
|
129
|
+
sessionDuration?: pulumi.Input<number>;
|
|
130
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
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.PermissionSet = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* 当您创建好云身份中心用户后,需要授予用户访问到各账号的登录访问权限。当用户访问火山引擎云资源的权限访问具备可抽象的共性时,如:网络运维权限、安全管理权限等,您可以在云身份中心预置访问权限集作为权限模版,最终基于访问权限集来实现中心化授权。云身份中心将会为您同步分发访问权限集到各个账号,减少企业权限的运维成本。
|
|
10
|
+
*
|
|
11
|
+
* ## Import
|
|
12
|
+
*
|
|
13
|
+
* ```sh
|
|
14
|
+
* $ pulumi import bytepluscc:cloudidentity/permissionSet:PermissionSet example "permission_set_id"
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
class PermissionSet extends pulumi.CustomResource {
|
|
18
|
+
/**
|
|
19
|
+
* Get an existing PermissionSet resource's state with the given name, ID, and optional extra
|
|
20
|
+
* properties used to qualify the lookup.
|
|
21
|
+
*
|
|
22
|
+
* @param name The _unique_ name of the resulting resource.
|
|
23
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
24
|
+
* @param state Any extra arguments used during the lookup.
|
|
25
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
26
|
+
*/
|
|
27
|
+
static get(name, id, state, opts) {
|
|
28
|
+
return new PermissionSet(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Returns true if the given object is an instance of PermissionSet. This is designed to work even
|
|
32
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
33
|
+
*/
|
|
34
|
+
static isInstance(obj) {
|
|
35
|
+
if (obj === undefined || obj === null) {
|
|
36
|
+
return false;
|
|
37
|
+
}
|
|
38
|
+
return obj['__pulumiType'] === PermissionSet.__pulumiType;
|
|
39
|
+
}
|
|
40
|
+
constructor(name, argsOrState, opts) {
|
|
41
|
+
let resourceInputs = {};
|
|
42
|
+
opts = opts || {};
|
|
43
|
+
if (opts.id) {
|
|
44
|
+
const state = argsOrState;
|
|
45
|
+
resourceInputs["createdTime"] = state ? state.createdTime : undefined;
|
|
46
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
47
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
48
|
+
resourceInputs["permissionPolicies"] = state ? state.permissionPolicies : undefined;
|
|
49
|
+
resourceInputs["permissionSetId"] = state ? state.permissionSetId : undefined;
|
|
50
|
+
resourceInputs["relayState"] = state ? state.relayState : undefined;
|
|
51
|
+
resourceInputs["sessionDuration"] = state ? state.sessionDuration : undefined;
|
|
52
|
+
resourceInputs["statusNotifications"] = state ? state.statusNotifications : undefined;
|
|
53
|
+
resourceInputs["updatedTime"] = state ? state.updatedTime : undefined;
|
|
54
|
+
}
|
|
55
|
+
else {
|
|
56
|
+
const args = argsOrState;
|
|
57
|
+
if ((!args || args.name === undefined) && !opts.urn) {
|
|
58
|
+
throw new Error("Missing required property 'name'");
|
|
59
|
+
}
|
|
60
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
61
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
62
|
+
resourceInputs["permissionPolicies"] = args ? args.permissionPolicies : undefined;
|
|
63
|
+
resourceInputs["relayState"] = args ? args.relayState : undefined;
|
|
64
|
+
resourceInputs["sessionDuration"] = args ? args.sessionDuration : undefined;
|
|
65
|
+
resourceInputs["createdTime"] = undefined /*out*/;
|
|
66
|
+
resourceInputs["permissionSetId"] = undefined /*out*/;
|
|
67
|
+
resourceInputs["statusNotifications"] = undefined /*out*/;
|
|
68
|
+
resourceInputs["updatedTime"] = undefined /*out*/;
|
|
69
|
+
}
|
|
70
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
71
|
+
super(PermissionSet.__pulumiType, name, resourceInputs, opts);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
exports.PermissionSet = PermissionSet;
|
|
75
|
+
/** @internal */
|
|
76
|
+
PermissionSet.__pulumiType = 'bytepluscc:cloudidentity/permissionSet:PermissionSet';
|
|
77
|
+
//# sourceMappingURL=permissionSet.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"permissionSet.js","sourceRoot":"","sources":["../../cloudidentity/permissionSet.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;GAQG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACpE,CAAC;I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AC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AArGL,sCAsGC;AAxFG,gBAAgB;AACO,0BAAY,GAAG,sDAAsD,CAAC"}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Data Source schema for Byteplus::FileNAS::MountPoint
|
|
5
|
+
*/
|
|
6
|
+
export declare function getMountPoint(args: GetMountPointArgs, opts?: pulumi.InvokeOptions): Promise<GetMountPointResult>;
|
|
7
|
+
/**
|
|
8
|
+
* A collection of arguments for invoking getMountPoint.
|
|
9
|
+
*/
|
|
10
|
+
export interface GetMountPointArgs {
|
|
11
|
+
/**
|
|
12
|
+
* Uniquely identifies the resource.
|
|
13
|
+
*/
|
|
14
|
+
id: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* A collection of values returned by getMountPoint.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetMountPointResult {
|
|
20
|
+
/**
|
|
21
|
+
* 客户端信息。
|
|
22
|
+
*/
|
|
23
|
+
readonly clients: outputs.filenas.GetMountPointClient[];
|
|
24
|
+
/**
|
|
25
|
+
* 挂载点创建时间。
|
|
26
|
+
*/
|
|
27
|
+
readonly createdTime: string;
|
|
28
|
+
/**
|
|
29
|
+
* DNS 地址。
|
|
30
|
+
*/
|
|
31
|
+
readonly domain: string;
|
|
32
|
+
/**
|
|
33
|
+
* 文件系统 ID。
|
|
34
|
+
*/
|
|
35
|
+
readonly fileSystemId: string;
|
|
36
|
+
/**
|
|
37
|
+
* Uniquely identifies the resource.
|
|
38
|
+
*/
|
|
39
|
+
readonly id: string;
|
|
40
|
+
/**
|
|
41
|
+
* 挂载点地址。
|
|
42
|
+
*/
|
|
43
|
+
readonly ip: string;
|
|
44
|
+
/**
|
|
45
|
+
* 挂载点 ID。
|
|
46
|
+
*/
|
|
47
|
+
readonly mountPointId: string;
|
|
48
|
+
/**
|
|
49
|
+
* 挂载点名称。
|
|
50
|
+
*/
|
|
51
|
+
readonly mountPointName: string;
|
|
52
|
+
/**
|
|
53
|
+
* 挂载点绑定的权限组信息。
|
|
54
|
+
*/
|
|
55
|
+
readonly permissionGroup: outputs.filenas.GetMountPointPermissionGroup;
|
|
56
|
+
/**
|
|
57
|
+
* 权限组 ID。
|
|
58
|
+
*/
|
|
59
|
+
readonly permissionGroupId: string;
|
|
60
|
+
/**
|
|
61
|
+
* 挂载点状态。取值:Running:运行中。Creating:创建中。Updating:更新中。Error:异常。Deleting:删除中。DeleteError:删除异常。Deleted:已删除。Stopped:已停止。
|
|
62
|
+
*/
|
|
63
|
+
readonly status: string;
|
|
64
|
+
/**
|
|
65
|
+
* 子网 ID。
|
|
66
|
+
*/
|
|
67
|
+
readonly subnetId: string;
|
|
68
|
+
/**
|
|
69
|
+
* 子网名称。
|
|
70
|
+
*/
|
|
71
|
+
readonly subnetName: string;
|
|
72
|
+
/**
|
|
73
|
+
* 挂载点更新时间。
|
|
74
|
+
*/
|
|
75
|
+
readonly updatedTime: string;
|
|
76
|
+
/**
|
|
77
|
+
* 私有网络 ID。
|
|
78
|
+
*/
|
|
79
|
+
readonly vpcId: string;
|
|
80
|
+
/**
|
|
81
|
+
* 私有网络名称。
|
|
82
|
+
*/
|
|
83
|
+
readonly vpcName: string;
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Data Source schema for Byteplus::FileNAS::MountPoint
|
|
87
|
+
*/
|
|
88
|
+
export declare function getMountPointOutput(args: GetMountPointOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetMountPointResult>;
|
|
89
|
+
/**
|
|
90
|
+
* A collection of arguments for invoking getMountPoint.
|
|
91
|
+
*/
|
|
92
|
+
export interface GetMountPointOutputArgs {
|
|
93
|
+
/**
|
|
94
|
+
* Uniquely identifies the resource.
|
|
95
|
+
*/
|
|
96
|
+
id: pulumi.Input<string>;
|
|
97
|
+
}
|
|
@@ -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.getMountPointOutput = exports.getMountPoint = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Data Source schema for Byteplus::FileNAS::MountPoint
|
|
10
|
+
*/
|
|
11
|
+
function getMountPoint(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("bytepluscc:filenas/getMountPoint:getMountPoint", {
|
|
14
|
+
"id": args.id,
|
|
15
|
+
}, opts);
|
|
16
|
+
}
|
|
17
|
+
exports.getMountPoint = getMountPoint;
|
|
18
|
+
/**
|
|
19
|
+
* Data Source schema for Byteplus::FileNAS::MountPoint
|
|
20
|
+
*/
|
|
21
|
+
function getMountPointOutput(args, opts) {
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invokeOutput("bytepluscc:filenas/getMountPoint:getMountPoint", {
|
|
24
|
+
"id": args.id,
|
|
25
|
+
}, opts);
|
|
26
|
+
}
|
|
27
|
+
exports.getMountPointOutput = getMountPointOutput;
|
|
28
|
+
//# sourceMappingURL=getMountPoint.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getMountPoint.js","sourceRoot":"","sources":["../../filenas/getMountPoint.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gDAAgD,EAAE;QAC3E,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,sCAKC;AAiFD;;GAEG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAAiC;IAChG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,gDAAgD,EAAE;QACjF,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kDAKC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Plural Data Source schema for Byteplus::FileNAS::MountPoint
|
|
4
|
+
*/
|
|
5
|
+
export declare function getMountPoints(opts?: pulumi.InvokeOptions): Promise<GetMountPointsResult>;
|
|
6
|
+
/**
|
|
7
|
+
* A collection of values returned by getMountPoints.
|
|
8
|
+
*/
|
|
9
|
+
export interface GetMountPointsResult {
|
|
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 Byteplus::FileNAS::MountPoint
|
|
21
|
+
*/
|
|
22
|
+
export declare function getMountPointsOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetMountPointsResult>;
|
|
@@ -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.getMountPointsOutput = exports.getMountPoints = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Plural Data Source schema for Byteplus::FileNAS::MountPoint
|
|
10
|
+
*/
|
|
11
|
+
function getMountPoints(opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("bytepluscc:filenas/getMountPoints:getMountPoints", {}, opts);
|
|
14
|
+
}
|
|
15
|
+
exports.getMountPoints = getMountPoints;
|
|
16
|
+
/**
|
|
17
|
+
* Plural Data Source schema for Byteplus::FileNAS::MountPoint
|
|
18
|
+
*/
|
|
19
|
+
function getMountPointsOutput(opts) {
|
|
20
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
21
|
+
return pulumi.runtime.invokeOutput("bytepluscc:filenas/getMountPoints:getMountPoints", {}, opts);
|
|
22
|
+
}
|
|
23
|
+
exports.getMountPointsOutput = getMountPointsOutput;
|
|
24
|
+
//# sourceMappingURL=getMountPoints.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getMountPoints.js","sourceRoot":"","sources":["../../filenas/getMountPoints.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,cAAc,CAAC,IAA2B;IACtD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kDAAkD,EAAE,EAChF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,wCAIC;AAeD;;GAEG;AACH,SAAgB,oBAAoB,CAAC,IAAiC;IAClE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,kDAAkD,EAAE,EACtF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,oDAIC"}
|
package/filenas/index.d.ts
CHANGED
|
@@ -4,6 +4,12 @@ export declare const getInstanceOutput: typeof import("./getInstance").getInstan
|
|
|
4
4
|
export { GetInstancesResult } from "./getInstances";
|
|
5
5
|
export declare const getInstances: typeof import("./getInstances").getInstances;
|
|
6
6
|
export declare const getInstancesOutput: typeof import("./getInstances").getInstancesOutput;
|
|
7
|
+
export { GetMountPointArgs, GetMountPointResult, GetMountPointOutputArgs } from "./getMountPoint";
|
|
8
|
+
export declare const getMountPoint: typeof import("./getMountPoint").getMountPoint;
|
|
9
|
+
export declare const getMountPointOutput: typeof import("./getMountPoint").getMountPointOutput;
|
|
10
|
+
export { GetMountPointsResult } from "./getMountPoints";
|
|
11
|
+
export declare const getMountPoints: typeof import("./getMountPoints").getMountPoints;
|
|
12
|
+
export declare const getMountPointsOutput: typeof import("./getMountPoints").getMountPointsOutput;
|
|
7
13
|
export { GetSnapshotArgs, GetSnapshotResult, GetSnapshotOutputArgs } from "./getSnapshot";
|
|
8
14
|
export declare const getSnapshot: typeof import("./getSnapshot").getSnapshot;
|
|
9
15
|
export declare const getSnapshotOutput: typeof import("./getSnapshot").getSnapshotOutput;
|
|
@@ -13,6 +19,9 @@ export declare const getSnapshotsOutput: typeof import("./getSnapshots").getSnap
|
|
|
13
19
|
export { InstanceArgs, InstanceState } from "./instance";
|
|
14
20
|
export type Instance = import("./instance").Instance;
|
|
15
21
|
export declare const Instance: typeof import("./instance").Instance;
|
|
22
|
+
export { MountPointArgs, MountPointState } from "./mountPoint";
|
|
23
|
+
export type MountPoint = import("./mountPoint").MountPoint;
|
|
24
|
+
export declare const MountPoint: typeof import("./mountPoint").MountPoint;
|
|
16
25
|
export { SnapshotArgs, SnapshotState } from "./snapshot";
|
|
17
26
|
export type Snapshot = import("./snapshot").Snapshot;
|
|
18
27
|
export declare const Snapshot: typeof import("./snapshot").Snapshot;
|
package/filenas/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.Snapshot = exports.Instance = exports.getSnapshotsOutput = exports.getSnapshots = exports.getSnapshotOutput = exports.getSnapshot = exports.getInstancesOutput = exports.getInstances = exports.getInstanceOutput = exports.getInstance = void 0;
|
|
5
|
+
exports.Snapshot = exports.MountPoint = exports.Instance = exports.getSnapshotsOutput = exports.getSnapshots = exports.getSnapshotOutput = exports.getSnapshot = exports.getMountPointsOutput = exports.getMountPoints = exports.getMountPointOutput = exports.getMountPoint = exports.getInstancesOutput = exports.getInstances = exports.getInstanceOutput = exports.getInstance = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
exports.getInstance = null;
|
|
@@ -11,6 +11,12 @@ utilities.lazyLoad(exports, ["getInstance", "getInstanceOutput"], () => require(
|
|
|
11
11
|
exports.getInstances = null;
|
|
12
12
|
exports.getInstancesOutput = null;
|
|
13
13
|
utilities.lazyLoad(exports, ["getInstances", "getInstancesOutput"], () => require("./getInstances"));
|
|
14
|
+
exports.getMountPoint = null;
|
|
15
|
+
exports.getMountPointOutput = null;
|
|
16
|
+
utilities.lazyLoad(exports, ["getMountPoint", "getMountPointOutput"], () => require("./getMountPoint"));
|
|
17
|
+
exports.getMountPoints = null;
|
|
18
|
+
exports.getMountPointsOutput = null;
|
|
19
|
+
utilities.lazyLoad(exports, ["getMountPoints", "getMountPointsOutput"], () => require("./getMountPoints"));
|
|
14
20
|
exports.getSnapshot = null;
|
|
15
21
|
exports.getSnapshotOutput = null;
|
|
16
22
|
utilities.lazyLoad(exports, ["getSnapshot", "getSnapshotOutput"], () => require("./getSnapshot"));
|
|
@@ -19,6 +25,8 @@ exports.getSnapshotsOutput = null;
|
|
|
19
25
|
utilities.lazyLoad(exports, ["getSnapshots", "getSnapshotsOutput"], () => require("./getSnapshots"));
|
|
20
26
|
exports.Instance = null;
|
|
21
27
|
utilities.lazyLoad(exports, ["Instance"], () => require("./instance"));
|
|
28
|
+
exports.MountPoint = null;
|
|
29
|
+
utilities.lazyLoad(exports, ["MountPoint"], () => require("./mountPoint"));
|
|
22
30
|
exports.Snapshot = null;
|
|
23
31
|
utilities.lazyLoad(exports, ["Snapshot"], () => require("./snapshot"));
|
|
24
32
|
const _module = {
|
|
@@ -27,6 +35,8 @@ const _module = {
|
|
|
27
35
|
switch (type) {
|
|
28
36
|
case "bytepluscc:filenas/instance:Instance":
|
|
29
37
|
return new exports.Instance(name, undefined, { urn });
|
|
38
|
+
case "bytepluscc:filenas/mountPoint:MountPoint":
|
|
39
|
+
return new exports.MountPoint(name, undefined, { urn });
|
|
30
40
|
case "bytepluscc:filenas/snapshot:Snapshot":
|
|
31
41
|
return new exports.Snapshot(name, undefined, { urn });
|
|
32
42
|
default:
|
|
@@ -35,5 +45,6 @@ const _module = {
|
|
|
35
45
|
},
|
|
36
46
|
};
|
|
37
47
|
pulumi.runtime.registerResourceModule("bytepluscc", "filenas/instance", _module);
|
|
48
|
+
pulumi.runtime.registerResourceModule("bytepluscc", "filenas/mountPoint", _module);
|
|
38
49
|
pulumi.runtime.registerResourceModule("bytepluscc", "filenas/snapshot", _module);
|
|
39
50
|
//# sourceMappingURL=index.js.map
|
package/filenas/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../filenas/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;AAGvF,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,YAA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input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* 挂载点是 NAS 文件系统在网络环境中的连接点。NAS 文件系统需要挂载在计算节点中才能完成数据的访问与存储。挂载是将计算节点与 NAS 文件系统相连接的操作。
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as bytepluscc from "@byteplus/pulumi-bytepluscc";
|
|
12
|
+
*
|
|
13
|
+
* const fileNASMountPointDemo = new bytepluscc.filenas.MountPoint("FileNASMountPointDemo", {
|
|
14
|
+
* fileSystemId: "enas-cnbja0f8*****",
|
|
15
|
+
* mountPointName: "test-1",
|
|
16
|
+
* permissionGroupId: "pgroup-01bc1182",
|
|
17
|
+
* subnetId: "subnet-btepcsc5*****",
|
|
18
|
+
* vpcId: "vpc-3nr6adcn064u8931*****",
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* ## Import
|
|
23
|
+
*
|
|
24
|
+
* ```sh
|
|
25
|
+
* $ pulumi import bytepluscc:filenas/mountPoint:MountPoint example "file_system_id|mount_point_id"
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
export declare class MountPoint extends pulumi.CustomResource {
|
|
29
|
+
/**
|
|
30
|
+
* Get an existing MountPoint resource's state with the given name, ID, and optional extra
|
|
31
|
+
* properties used to qualify the lookup.
|
|
32
|
+
*
|
|
33
|
+
* @param name The _unique_ name of the resulting resource.
|
|
34
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
35
|
+
* @param state Any extra arguments used during the lookup.
|
|
36
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
37
|
+
*/
|
|
38
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: MountPointState, opts?: pulumi.CustomResourceOptions): MountPoint;
|
|
39
|
+
/**
|
|
40
|
+
* Returns true if the given object is an instance of MountPoint. This is designed to work even
|
|
41
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
42
|
+
*/
|
|
43
|
+
static isInstance(obj: any): obj is MountPoint;
|
|
44
|
+
readonly clients: pulumi.Output<outputs.filenas.MountPointClient[]>;
|
|
45
|
+
/**
|
|
46
|
+
* 挂载点创建时间。
|
|
47
|
+
*/
|
|
48
|
+
readonly createdTime: pulumi.Output<string>;
|
|
49
|
+
/**
|
|
50
|
+
* DNS 地址。
|
|
51
|
+
*/
|
|
52
|
+
readonly domain: pulumi.Output<string>;
|
|
53
|
+
/**
|
|
54
|
+
* 文件系统 ID。
|
|
55
|
+
*/
|
|
56
|
+
readonly fileSystemId: pulumi.Output<string>;
|
|
57
|
+
/**
|
|
58
|
+
* 挂载点地址。
|
|
59
|
+
*/
|
|
60
|
+
readonly ip: pulumi.Output<string>;
|
|
61
|
+
/**
|
|
62
|
+
* 挂载点 ID。
|
|
63
|
+
*/
|
|
64
|
+
readonly mountPointId: pulumi.Output<string>;
|
|
65
|
+
/**
|
|
66
|
+
* 挂载点名称。
|
|
67
|
+
*/
|
|
68
|
+
readonly mountPointName: pulumi.Output<string>;
|
|
69
|
+
/**
|
|
70
|
+
* 挂载点绑定的权限组信息。
|
|
71
|
+
*/
|
|
72
|
+
readonly permissionGroup: pulumi.Output<outputs.filenas.MountPointPermissionGroup>;
|
|
73
|
+
/**
|
|
74
|
+
* 权限组 ID。
|
|
75
|
+
*/
|
|
76
|
+
readonly permissionGroupId: pulumi.Output<string>;
|
|
77
|
+
/**
|
|
78
|
+
* 挂载点状态。取值:Running:运行中。Creating:创建中。Updating:更新中。Error:异常。Deleting:删除中。DeleteError:删除异常。Deleted:已删除。Stopped:已停止。
|
|
79
|
+
*/
|
|
80
|
+
readonly status: pulumi.Output<string>;
|
|
81
|
+
/**
|
|
82
|
+
* 子网 ID。
|
|
83
|
+
*/
|
|
84
|
+
readonly subnetId: pulumi.Output<string>;
|
|
85
|
+
/**
|
|
86
|
+
* 子网名称。
|
|
87
|
+
*/
|
|
88
|
+
readonly subnetName: pulumi.Output<string>;
|
|
89
|
+
/**
|
|
90
|
+
* 挂载点更新时间。
|
|
91
|
+
*/
|
|
92
|
+
readonly updatedTime: pulumi.Output<string>;
|
|
93
|
+
/**
|
|
94
|
+
* 私有网络 ID。
|
|
95
|
+
*/
|
|
96
|
+
readonly vpcId: pulumi.Output<string>;
|
|
97
|
+
/**
|
|
98
|
+
* 私有网络名称。
|
|
99
|
+
*/
|
|
100
|
+
readonly vpcName: pulumi.Output<string>;
|
|
101
|
+
/**
|
|
102
|
+
* Create a MountPoint resource with the given unique name, arguments, and options.
|
|
103
|
+
*
|
|
104
|
+
* @param name The _unique_ name of the resource.
|
|
105
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
106
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
107
|
+
*/
|
|
108
|
+
constructor(name: string, args: MountPointArgs, opts?: pulumi.CustomResourceOptions);
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* Input properties used for looking up and filtering MountPoint resources.
|
|
112
|
+
*/
|
|
113
|
+
export interface MountPointState {
|
|
114
|
+
clients?: pulumi.Input<pulumi.Input<inputs.filenas.MountPointClient>[]>;
|
|
115
|
+
/**
|
|
116
|
+
* 挂载点创建时间。
|
|
117
|
+
*/
|
|
118
|
+
createdTime?: pulumi.Input<string>;
|
|
119
|
+
/**
|
|
120
|
+
* DNS 地址。
|
|
121
|
+
*/
|
|
122
|
+
domain?: pulumi.Input<string>;
|
|
123
|
+
/**
|
|
124
|
+
* 文件系统 ID。
|
|
125
|
+
*/
|
|
126
|
+
fileSystemId?: pulumi.Input<string>;
|
|
127
|
+
/**
|
|
128
|
+
* 挂载点地址。
|
|
129
|
+
*/
|
|
130
|
+
ip?: pulumi.Input<string>;
|
|
131
|
+
/**
|
|
132
|
+
* 挂载点 ID。
|
|
133
|
+
*/
|
|
134
|
+
mountPointId?: pulumi.Input<string>;
|
|
135
|
+
/**
|
|
136
|
+
* 挂载点名称。
|
|
137
|
+
*/
|
|
138
|
+
mountPointName?: pulumi.Input<string>;
|
|
139
|
+
/**
|
|
140
|
+
* 挂载点绑定的权限组信息。
|
|
141
|
+
*/
|
|
142
|
+
permissionGroup?: pulumi.Input<inputs.filenas.MountPointPermissionGroup>;
|
|
143
|
+
/**
|
|
144
|
+
* 权限组 ID。
|
|
145
|
+
*/
|
|
146
|
+
permissionGroupId?: pulumi.Input<string>;
|
|
147
|
+
/**
|
|
148
|
+
* 挂载点状态。取值:Running:运行中。Creating:创建中。Updating:更新中。Error:异常。Deleting:删除中。DeleteError:删除异常。Deleted:已删除。Stopped:已停止。
|
|
149
|
+
*/
|
|
150
|
+
status?: pulumi.Input<string>;
|
|
151
|
+
/**
|
|
152
|
+
* 子网 ID。
|
|
153
|
+
*/
|
|
154
|
+
subnetId?: pulumi.Input<string>;
|
|
155
|
+
/**
|
|
156
|
+
* 子网名称。
|
|
157
|
+
*/
|
|
158
|
+
subnetName?: pulumi.Input<string>;
|
|
159
|
+
/**
|
|
160
|
+
* 挂载点更新时间。
|
|
161
|
+
*/
|
|
162
|
+
updatedTime?: pulumi.Input<string>;
|
|
163
|
+
/**
|
|
164
|
+
* 私有网络 ID。
|
|
165
|
+
*/
|
|
166
|
+
vpcId?: pulumi.Input<string>;
|
|
167
|
+
/**
|
|
168
|
+
* 私有网络名称。
|
|
169
|
+
*/
|
|
170
|
+
vpcName?: pulumi.Input<string>;
|
|
171
|
+
}
|
|
172
|
+
/**
|
|
173
|
+
* The set of arguments for constructing a MountPoint resource.
|
|
174
|
+
*/
|
|
175
|
+
export interface MountPointArgs {
|
|
176
|
+
/**
|
|
177
|
+
* 文件系统 ID。
|
|
178
|
+
*/
|
|
179
|
+
fileSystemId: pulumi.Input<string>;
|
|
180
|
+
/**
|
|
181
|
+
* 挂载点名称。
|
|
182
|
+
*/
|
|
183
|
+
mountPointName: pulumi.Input<string>;
|
|
184
|
+
/**
|
|
185
|
+
* 权限组 ID。
|
|
186
|
+
*/
|
|
187
|
+
permissionGroupId: pulumi.Input<string>;
|
|
188
|
+
/**
|
|
189
|
+
* 子网 ID。
|
|
190
|
+
*/
|
|
191
|
+
subnetId: pulumi.Input<string>;
|
|
192
|
+
/**
|
|
193
|
+
* 私有网络 ID。
|
|
194
|
+
*/
|
|
195
|
+
vpcId: pulumi.Input<string>;
|
|
196
|
+
}
|