@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.
Files changed (60) hide show
  1. package/clb/getNlbSecurityPolicies.d.ts +22 -0
  2. package/clb/getNlbSecurityPolicies.js +24 -0
  3. package/clb/getNlbSecurityPolicies.js.map +1 -0
  4. package/clb/getNlbSecurityPolicy.d.ts +81 -0
  5. package/clb/getNlbSecurityPolicy.js +28 -0
  6. package/clb/getNlbSecurityPolicy.js.map +1 -0
  7. package/clb/index.d.ts +9 -0
  8. package/clb/index.js +12 -1
  9. package/clb/index.js.map +1 -1
  10. package/clb/nlbSecurityPolicy.d.ts +167 -0
  11. package/clb/nlbSecurityPolicy.js +105 -0
  12. package/clb/nlbSecurityPolicy.js.map +1 -0
  13. package/cloudidentity/getGroup.d.ts +73 -0
  14. package/cloudidentity/getGroup.js +28 -0
  15. package/cloudidentity/getGroup.js.map +1 -0
  16. package/cloudidentity/getGroups.d.ts +22 -0
  17. package/cloudidentity/getGroups.js +24 -0
  18. package/cloudidentity/getGroups.js.map +1 -0
  19. package/cloudidentity/getPermissionSet.d.ts +73 -0
  20. package/cloudidentity/getPermissionSet.js +28 -0
  21. package/cloudidentity/getPermissionSet.js.map +1 -0
  22. package/cloudidentity/getPermissionSets.d.ts +22 -0
  23. package/cloudidentity/getPermissionSets.js +24 -0
  24. package/cloudidentity/getPermissionSets.js.map +1 -0
  25. package/cloudidentity/group.d.ts +130 -0
  26. package/cloudidentity/group.js +80 -0
  27. package/cloudidentity/group.js.map +1 -0
  28. package/cloudidentity/index.d.ts +18 -0
  29. package/cloudidentity/index.js +23 -1
  30. package/cloudidentity/index.js.map +1 -1
  31. package/cloudidentity/permissionSet.d.ts +130 -0
  32. package/cloudidentity/permissionSet.js +77 -0
  33. package/cloudidentity/permissionSet.js.map +1 -0
  34. package/filenas/getMountPoint.d.ts +97 -0
  35. package/filenas/getMountPoint.js +28 -0
  36. package/filenas/getMountPoint.js.map +1 -0
  37. package/filenas/getMountPoints.d.ts +22 -0
  38. package/filenas/getMountPoints.js +24 -0
  39. package/filenas/getMountPoints.js.map +1 -0
  40. package/filenas/index.d.ts +9 -0
  41. package/filenas/index.js +12 -1
  42. package/filenas/index.js.map +1 -1
  43. package/filenas/mountPoint.d.ts +196 -0
  44. package/filenas/mountPoint.js +116 -0
  45. package/filenas/mountPoint.js.map +1 -0
  46. package/package.json +1 -1
  47. package/rdspostgresql/dbAccount.d.ts +133 -0
  48. package/rdspostgresql/dbAccount.js +93 -0
  49. package/rdspostgresql/dbAccount.js.map +1 -0
  50. package/rdspostgresql/getDbAccount.d.ts +60 -0
  51. package/rdspostgresql/getDbAccount.js +28 -0
  52. package/rdspostgresql/getDbAccount.js.map +1 -0
  53. package/rdspostgresql/getDbAccounts.d.ts +22 -0
  54. package/rdspostgresql/getDbAccounts.js +24 -0
  55. package/rdspostgresql/getDbAccounts.js.map +1 -0
  56. package/rdspostgresql/index.d.ts +9 -0
  57. package/rdspostgresql/index.js +12 -1
  58. package/rdspostgresql/index.js.map +1 -1
  59. package/types/input.d.ts +87 -0
  60. package/types/output.d.ts +211 -0
@@ -0,0 +1,116 @@
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.MountPoint = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * 挂载点是 NAS 文件系统在网络环境中的连接点。NAS 文件系统需要挂载在计算节点中才能完成数据的访问与存储。挂载是将计算节点与 NAS 文件系统相连接的操作。
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as bytepluscc from "@byteplus/pulumi-bytepluscc";
16
+ *
17
+ * const fileNASMountPointDemo = new bytepluscc.filenas.MountPoint("FileNASMountPointDemo", {
18
+ * fileSystemId: "enas-cnbja0f8*****",
19
+ * mountPointName: "test-1",
20
+ * permissionGroupId: "pgroup-01bc1182",
21
+ * subnetId: "subnet-btepcsc5*****",
22
+ * vpcId: "vpc-3nr6adcn064u8931*****",
23
+ * });
24
+ * ```
25
+ *
26
+ * ## Import
27
+ *
28
+ * ```sh
29
+ * $ pulumi import bytepluscc:filenas/mountPoint:MountPoint example "file_system_id|mount_point_id"
30
+ * ```
31
+ */
32
+ class MountPoint extends pulumi.CustomResource {
33
+ /**
34
+ * Get an existing MountPoint resource's state with the given name, ID, and optional extra
35
+ * properties used to qualify the lookup.
36
+ *
37
+ * @param name The _unique_ name of the resulting resource.
38
+ * @param id The _unique_ provider ID of the resource to lookup.
39
+ * @param state Any extra arguments used during the lookup.
40
+ * @param opts Optional settings to control the behavior of the CustomResource.
41
+ */
42
+ static get(name, id, state, opts) {
43
+ return new MountPoint(name, state, Object.assign(Object.assign({}, opts), { id: id }));
44
+ }
45
+ /**
46
+ * Returns true if the given object is an instance of MountPoint. This is designed to work even
47
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
48
+ */
49
+ static isInstance(obj) {
50
+ if (obj === undefined || obj === null) {
51
+ return false;
52
+ }
53
+ return obj['__pulumiType'] === MountPoint.__pulumiType;
54
+ }
55
+ constructor(name, argsOrState, opts) {
56
+ let resourceInputs = {};
57
+ opts = opts || {};
58
+ if (opts.id) {
59
+ const state = argsOrState;
60
+ resourceInputs["clients"] = state ? state.clients : undefined;
61
+ resourceInputs["createdTime"] = state ? state.createdTime : undefined;
62
+ resourceInputs["domain"] = state ? state.domain : undefined;
63
+ resourceInputs["fileSystemId"] = state ? state.fileSystemId : undefined;
64
+ resourceInputs["ip"] = state ? state.ip : undefined;
65
+ resourceInputs["mountPointId"] = state ? state.mountPointId : undefined;
66
+ resourceInputs["mountPointName"] = state ? state.mountPointName : undefined;
67
+ resourceInputs["permissionGroup"] = state ? state.permissionGroup : undefined;
68
+ resourceInputs["permissionGroupId"] = state ? state.permissionGroupId : undefined;
69
+ resourceInputs["status"] = state ? state.status : undefined;
70
+ resourceInputs["subnetId"] = state ? state.subnetId : undefined;
71
+ resourceInputs["subnetName"] = state ? state.subnetName : undefined;
72
+ resourceInputs["updatedTime"] = state ? state.updatedTime : undefined;
73
+ resourceInputs["vpcId"] = state ? state.vpcId : undefined;
74
+ resourceInputs["vpcName"] = state ? state.vpcName : undefined;
75
+ }
76
+ else {
77
+ const args = argsOrState;
78
+ if ((!args || args.fileSystemId === undefined) && !opts.urn) {
79
+ throw new Error("Missing required property 'fileSystemId'");
80
+ }
81
+ if ((!args || args.mountPointName === undefined) && !opts.urn) {
82
+ throw new Error("Missing required property 'mountPointName'");
83
+ }
84
+ if ((!args || args.permissionGroupId === undefined) && !opts.urn) {
85
+ throw new Error("Missing required property 'permissionGroupId'");
86
+ }
87
+ if ((!args || args.subnetId === undefined) && !opts.urn) {
88
+ throw new Error("Missing required property 'subnetId'");
89
+ }
90
+ if ((!args || args.vpcId === undefined) && !opts.urn) {
91
+ throw new Error("Missing required property 'vpcId'");
92
+ }
93
+ resourceInputs["fileSystemId"] = args ? args.fileSystemId : undefined;
94
+ resourceInputs["mountPointName"] = args ? args.mountPointName : undefined;
95
+ resourceInputs["permissionGroupId"] = args ? args.permissionGroupId : undefined;
96
+ resourceInputs["subnetId"] = args ? args.subnetId : undefined;
97
+ resourceInputs["vpcId"] = args ? args.vpcId : undefined;
98
+ resourceInputs["clients"] = undefined /*out*/;
99
+ resourceInputs["createdTime"] = undefined /*out*/;
100
+ resourceInputs["domain"] = undefined /*out*/;
101
+ resourceInputs["ip"] = undefined /*out*/;
102
+ resourceInputs["mountPointId"] = undefined /*out*/;
103
+ resourceInputs["permissionGroup"] = undefined /*out*/;
104
+ resourceInputs["status"] = undefined /*out*/;
105
+ resourceInputs["subnetName"] = undefined /*out*/;
106
+ resourceInputs["updatedTime"] = undefined /*out*/;
107
+ resourceInputs["vpcName"] = undefined /*out*/;
108
+ }
109
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
110
+ super(MountPoint.__pulumiType, name, resourceInputs, opts);
111
+ }
112
+ }
113
+ exports.MountPoint = MountPoint;
114
+ /** @internal */
115
+ MountPoint.__pulumiType = 'bytepluscc:filenas/mountPoint:MountPoint';
116
+ //# sourceMappingURL=mountPoint.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mountPoint.js","sourceRoot":"","sources":["../../filenas/mountPoint.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,OAAO,IAAI,UAAU,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACjE,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,UAAU,CAAC,YAAY,CAAC;IAC3D,CAAC;IAoED,YAAY,IAAY,EAAE,WAA8C,EAAE,IAAmC;QACzG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA0C,CAAC;YACzD,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,aAAa,CAAC,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AE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AArJL,gCAsJC;AAxIG,gBAAgB;AACO,uBAAY,GAAG,0CAA0C,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@byteplus/pulumi-bytepluscc",
3
- "version": "0.0.14",
3
+ "version": "0.0.15",
4
4
  "description": "A Pulumi package to safely use byteplus Resource in Pulumi programs.",
5
5
  "keywords": [
6
6
  "byteplus",
@@ -0,0 +1,133 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * RDS PostgreSQL 数据库账号
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as bytepluscc from "@byteplus/pulumi-bytepluscc";
10
+ *
11
+ * const rDSPostgreSQLDBAccountNormalDemo = new bytepluscc.rdspostgresql.DbAccount("RDSPostgreSQLDBAccountNormalDemo", {
12
+ * instanceId: "postgres-xxxxxxx",
13
+ * accountName: "ccapi-test-Normal",
14
+ * accountPassword: "**********",
15
+ * accountType: "Normal",
16
+ * accountPrivileges: "Inherit,Login,CreateRole,CreateDB",
17
+ * notAllowPrivileges: ["DDL"],
18
+ * });
19
+ * ```
20
+ *
21
+ * ## Import
22
+ *
23
+ * ```sh
24
+ * $ pulumi import bytepluscc:rdspostgresql/dbAccount:DbAccount example "instance_id|account_name"
25
+ * ```
26
+ */
27
+ export declare class DbAccount extends pulumi.CustomResource {
28
+ /**
29
+ * Get an existing DbAccount resource's state with the given name, ID, and optional extra
30
+ * properties used to qualify the lookup.
31
+ *
32
+ * @param name The _unique_ name of the resulting resource.
33
+ * @param id The _unique_ provider ID of the resource to lookup.
34
+ * @param state Any extra arguments used during the lookup.
35
+ * @param opts Optional settings to control the behavior of the CustomResource.
36
+ */
37
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DbAccountState, opts?: pulumi.CustomResourceOptions): DbAccount;
38
+ /**
39
+ * Returns true if the given object is an instance of DbAccount. This is designed to work even
40
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
41
+ */
42
+ static isInstance(obj: any): obj is DbAccount;
43
+ /**
44
+ * 数据库账号名称。账号名称的设置规则如下:长度 2~63 个字符。由字母、数字、下划线(*)或中划线(-)组成。以字母开头,字母或数字结尾。不能以 pg* 开头。不能使用保留关键字,所有被禁用的关键词请参见禁用关键词。
45
+ */
46
+ readonly accountName: pulumi.Output<string>;
47
+ /**
48
+ * 数据库账号的密码。数据库账号密码的设置规则如下:长度为 8~32 个字符。由大写字母、小写字母、数字、特殊字符中的任意三种组成。特殊字符为 !@#$%^*()&_+-=。
49
+ */
50
+ readonly accountPassword: pulumi.Output<string>;
51
+ /**
52
+ * 账号权限信息。多个权限中间以英文逗号(,)分隔。取值:Login:登录权限。Inherit:继承权限。CreateRole:创建角色权限。CreateDB:创建数据库权限。说明当账号类型为高权限账号时,无需传入该参数,默认支持全部权限。当账号类型为普通账号时,支持传入该参数,默认值为 Login 和 Inherit。账号类型为实例只读账号时,即 AccountType 取值为 InstanceReadOnly 时,不支持传入该参数
53
+ */
54
+ readonly accountPrivileges: pulumi.Output<string>;
55
+ /**
56
+ * 数据库账号类型,取值范围如下:Super:高权限账号。Normal:普通账号。InstanceReadOnly:实例只读账号。
57
+ */
58
+ readonly accountType: pulumi.Output<string>;
59
+ /**
60
+ * 实例 ID
61
+ */
62
+ readonly instanceId: pulumi.Output<string>;
63
+ /**
64
+ * 为账号禁用的权限。当前仅支持取值为 DDL。说明仅支持为高权限账号或普通账号传入此字段,即 AccountType 取值为 Super 或 Normal 时。
65
+ */
66
+ readonly notAllowPrivileges: pulumi.Output<string[]>;
67
+ /**
68
+ * Create a DbAccount resource with the given unique name, arguments, and options.
69
+ *
70
+ * @param name The _unique_ name of the resource.
71
+ * @param args The arguments to use to populate this resource's properties.
72
+ * @param opts A bag of options that control this resource's behavior.
73
+ */
74
+ constructor(name: string, args: DbAccountArgs, opts?: pulumi.CustomResourceOptions);
75
+ }
76
+ /**
77
+ * Input properties used for looking up and filtering DbAccount resources.
78
+ */
79
+ export interface DbAccountState {
80
+ /**
81
+ * 数据库账号名称。账号名称的设置规则如下:长度 2~63 个字符。由字母、数字、下划线(*)或中划线(-)组成。以字母开头,字母或数字结尾。不能以 pg* 开头。不能使用保留关键字,所有被禁用的关键词请参见禁用关键词。
82
+ */
83
+ accountName?: pulumi.Input<string>;
84
+ /**
85
+ * 数据库账号的密码。数据库账号密码的设置规则如下:长度为 8~32 个字符。由大写字母、小写字母、数字、特殊字符中的任意三种组成。特殊字符为 !@#$%^*()&_+-=。
86
+ */
87
+ accountPassword?: pulumi.Input<string>;
88
+ /**
89
+ * 账号权限信息。多个权限中间以英文逗号(,)分隔。取值:Login:登录权限。Inherit:继承权限。CreateRole:创建角色权限。CreateDB:创建数据库权限。说明当账号类型为高权限账号时,无需传入该参数,默认支持全部权限。当账号类型为普通账号时,支持传入该参数,默认值为 Login 和 Inherit。账号类型为实例只读账号时,即 AccountType 取值为 InstanceReadOnly 时,不支持传入该参数
90
+ */
91
+ accountPrivileges?: pulumi.Input<string>;
92
+ /**
93
+ * 数据库账号类型,取值范围如下:Super:高权限账号。Normal:普通账号。InstanceReadOnly:实例只读账号。
94
+ */
95
+ accountType?: pulumi.Input<string>;
96
+ /**
97
+ * 实例 ID
98
+ */
99
+ instanceId?: pulumi.Input<string>;
100
+ /**
101
+ * 为账号禁用的权限。当前仅支持取值为 DDL。说明仅支持为高权限账号或普通账号传入此字段,即 AccountType 取值为 Super 或 Normal 时。
102
+ */
103
+ notAllowPrivileges?: pulumi.Input<pulumi.Input<string>[]>;
104
+ }
105
+ /**
106
+ * The set of arguments for constructing a DbAccount resource.
107
+ */
108
+ export interface DbAccountArgs {
109
+ /**
110
+ * 数据库账号名称。账号名称的设置规则如下:长度 2~63 个字符。由字母、数字、下划线(*)或中划线(-)组成。以字母开头,字母或数字结尾。不能以 pg* 开头。不能使用保留关键字,所有被禁用的关键词请参见禁用关键词。
111
+ */
112
+ accountName: pulumi.Input<string>;
113
+ /**
114
+ * 数据库账号的密码。数据库账号密码的设置规则如下:长度为 8~32 个字符。由大写字母、小写字母、数字、特殊字符中的任意三种组成。特殊字符为 !@#$%^*()&_+-=。
115
+ */
116
+ accountPassword: pulumi.Input<string>;
117
+ /**
118
+ * 账号权限信息。多个权限中间以英文逗号(,)分隔。取值:Login:登录权限。Inherit:继承权限。CreateRole:创建角色权限。CreateDB:创建数据库权限。说明当账号类型为高权限账号时,无需传入该参数,默认支持全部权限。当账号类型为普通账号时,支持传入该参数,默认值为 Login 和 Inherit。账号类型为实例只读账号时,即 AccountType 取值为 InstanceReadOnly 时,不支持传入该参数
119
+ */
120
+ accountPrivileges?: pulumi.Input<string>;
121
+ /**
122
+ * 数据库账号类型,取值范围如下:Super:高权限账号。Normal:普通账号。InstanceReadOnly:实例只读账号。
123
+ */
124
+ accountType: pulumi.Input<string>;
125
+ /**
126
+ * 实例 ID
127
+ */
128
+ instanceId?: pulumi.Input<string>;
129
+ /**
130
+ * 为账号禁用的权限。当前仅支持取值为 DDL。说明仅支持为高权限账号或普通账号传入此字段,即 AccountType 取值为 Super 或 Normal 时。
131
+ */
132
+ notAllowPrivileges?: pulumi.Input<pulumi.Input<string>[]>;
133
+ }
@@ -0,0 +1,93 @@
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.DbAccount = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * RDS PostgreSQL 数据库账号
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as bytepluscc from "@byteplus/pulumi-bytepluscc";
16
+ *
17
+ * const rDSPostgreSQLDBAccountNormalDemo = new bytepluscc.rdspostgresql.DbAccount("RDSPostgreSQLDBAccountNormalDemo", {
18
+ * instanceId: "postgres-xxxxxxx",
19
+ * accountName: "ccapi-test-Normal",
20
+ * accountPassword: "**********",
21
+ * accountType: "Normal",
22
+ * accountPrivileges: "Inherit,Login,CreateRole,CreateDB",
23
+ * notAllowPrivileges: ["DDL"],
24
+ * });
25
+ * ```
26
+ *
27
+ * ## Import
28
+ *
29
+ * ```sh
30
+ * $ pulumi import bytepluscc:rdspostgresql/dbAccount:DbAccount example "instance_id|account_name"
31
+ * ```
32
+ */
33
+ class DbAccount extends pulumi.CustomResource {
34
+ /**
35
+ * Get an existing DbAccount resource's state with the given name, ID, and optional extra
36
+ * properties used to qualify the lookup.
37
+ *
38
+ * @param name The _unique_ name of the resulting resource.
39
+ * @param id The _unique_ provider ID of the resource to lookup.
40
+ * @param state Any extra arguments used during the lookup.
41
+ * @param opts Optional settings to control the behavior of the CustomResource.
42
+ */
43
+ static get(name, id, state, opts) {
44
+ return new DbAccount(name, state, Object.assign(Object.assign({}, opts), { id: id }));
45
+ }
46
+ /**
47
+ * Returns true if the given object is an instance of DbAccount. This is designed to work even
48
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
49
+ */
50
+ static isInstance(obj) {
51
+ if (obj === undefined || obj === null) {
52
+ return false;
53
+ }
54
+ return obj['__pulumiType'] === DbAccount.__pulumiType;
55
+ }
56
+ constructor(name, argsOrState, opts) {
57
+ let resourceInputs = {};
58
+ opts = opts || {};
59
+ if (opts.id) {
60
+ const state = argsOrState;
61
+ resourceInputs["accountName"] = state ? state.accountName : undefined;
62
+ resourceInputs["accountPassword"] = state ? state.accountPassword : undefined;
63
+ resourceInputs["accountPrivileges"] = state ? state.accountPrivileges : undefined;
64
+ resourceInputs["accountType"] = state ? state.accountType : undefined;
65
+ resourceInputs["instanceId"] = state ? state.instanceId : undefined;
66
+ resourceInputs["notAllowPrivileges"] = state ? state.notAllowPrivileges : undefined;
67
+ }
68
+ else {
69
+ const args = argsOrState;
70
+ if ((!args || args.accountName === undefined) && !opts.urn) {
71
+ throw new Error("Missing required property 'accountName'");
72
+ }
73
+ if ((!args || args.accountPassword === undefined) && !opts.urn) {
74
+ throw new Error("Missing required property 'accountPassword'");
75
+ }
76
+ if ((!args || args.accountType === undefined) && !opts.urn) {
77
+ throw new Error("Missing required property 'accountType'");
78
+ }
79
+ resourceInputs["accountName"] = args ? args.accountName : undefined;
80
+ resourceInputs["accountPassword"] = args ? args.accountPassword : undefined;
81
+ resourceInputs["accountPrivileges"] = args ? args.accountPrivileges : undefined;
82
+ resourceInputs["accountType"] = args ? args.accountType : undefined;
83
+ resourceInputs["instanceId"] = args ? args.instanceId : undefined;
84
+ resourceInputs["notAllowPrivileges"] = args ? args.notAllowPrivileges : undefined;
85
+ }
86
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
87
+ super(DbAccount.__pulumiType, name, resourceInputs, opts);
88
+ }
89
+ }
90
+ exports.DbAccount = DbAccount;
91
+ /** @internal */
92
+ DbAccount.__pulumiType = 'bytepluscc:rdspostgresql/dbAccount:DbAccount';
93
+ //# sourceMappingURL=dbAccount.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dbAccount.js","sourceRoot":"","sources":["../../rdspostgresql/dbAccount.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,EAAE,IAAmC;QACpH,OAAO,IAAI,SAAS,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,I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60 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Data Source schema for Byteplus::RDSPostgreSQL::DBAccount
4
+ */
5
+ export declare function getDbAccount(args: GetDbAccountArgs, opts?: pulumi.InvokeOptions): Promise<GetDbAccountResult>;
6
+ /**
7
+ * A collection of arguments for invoking getDbAccount.
8
+ */
9
+ export interface GetDbAccountArgs {
10
+ /**
11
+ * Uniquely identifies the resource.
12
+ */
13
+ id: string;
14
+ }
15
+ /**
16
+ * A collection of values returned by getDbAccount.
17
+ */
18
+ export interface GetDbAccountResult {
19
+ /**
20
+ * 数据库账号名称。账号名称的设置规则如下:长度 2~63 个字符。由字母、数字、下划线(*)或中划线(-)组成。以字母开头,字母或数字结尾。不能以 pg* 开头。不能使用保留关键字,所有被禁用的关键词请参见禁用关键词。
21
+ */
22
+ readonly accountName: string;
23
+ /**
24
+ * 数据库账号的密码。数据库账号密码的设置规则如下:长度为 8~32 个字符。由大写字母、小写字母、数字、特殊字符中的任意三种组成。特殊字符为 !@#$%^*()&_+-=。
25
+ */
26
+ readonly accountPassword: string;
27
+ /**
28
+ * 账号权限信息。多个权限中间以英文逗号(,)分隔。取值:Login:登录权限。Inherit:继承权限。CreateRole:创建角色权限。CreateDB:创建数据库权限。说明当账号类型为高权限账号时,无需传入该参数,默认支持全部权限。当账号类型为普通账号时,支持传入该参数,默认值为 Login 和 Inherit。账号类型为实例只读账号时,即 AccountType 取值为 InstanceReadOnly 时,不支持传入该参数
29
+ */
30
+ readonly accountPrivileges: string;
31
+ /**
32
+ * 数据库账号类型,取值范围如下:Super:高权限账号。Normal:普通账号。InstanceReadOnly:实例只读账号。
33
+ */
34
+ readonly accountType: string;
35
+ /**
36
+ * Uniquely identifies the resource.
37
+ */
38
+ readonly id: string;
39
+ /**
40
+ * 实例 ID
41
+ */
42
+ readonly instanceId: string;
43
+ /**
44
+ * 为账号禁用的权限。当前仅支持取值为 DDL。说明仅支持为高权限账号或普通账号传入此字段,即 AccountType 取值为 Super 或 Normal 时。
45
+ */
46
+ readonly notAllowPrivileges: string[];
47
+ }
48
+ /**
49
+ * Data Source schema for Byteplus::RDSPostgreSQL::DBAccount
50
+ */
51
+ export declare function getDbAccountOutput(args: GetDbAccountOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDbAccountResult>;
52
+ /**
53
+ * A collection of arguments for invoking getDbAccount.
54
+ */
55
+ export interface GetDbAccountOutputArgs {
56
+ /**
57
+ * Uniquely identifies the resource.
58
+ */
59
+ id: pulumi.Input<string>;
60
+ }
@@ -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.getDbAccountOutput = exports.getDbAccount = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Data Source schema for Byteplus::RDSPostgreSQL::DBAccount
10
+ */
11
+ function getDbAccount(args, opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("bytepluscc:rdspostgresql/getDbAccount:getDbAccount", {
14
+ "id": args.id,
15
+ }, opts);
16
+ }
17
+ exports.getDbAccount = getDbAccount;
18
+ /**
19
+ * Data Source schema for Byteplus::RDSPostgreSQL::DBAccount
20
+ */
21
+ function getDbAccountOutput(args, opts) {
22
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
23
+ return pulumi.runtime.invokeOutput("bytepluscc:rdspostgresql/getDbAccount:getDbAccount", {
24
+ "id": args.id,
25
+ }, opts);
26
+ }
27
+ exports.getDbAccountOutput = getDbAccountOutput;
28
+ //# sourceMappingURL=getDbAccount.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getDbAccount.js","sourceRoot":"","sources":["../../rdspostgresql/getDbAccount.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAC5E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oDAAoD,EAAE;QAC/E,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,oCAKC;AA6CD;;GAEG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAAiC;IAC9F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,oDAAoD,EAAE;QACrF,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,gDAKC"}
@@ -0,0 +1,22 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Plural Data Source schema for Byteplus::RDSPostgreSQL::DBAccount
4
+ */
5
+ export declare function getDbAccounts(opts?: pulumi.InvokeOptions): Promise<GetDbAccountsResult>;
6
+ /**
7
+ * A collection of values returned by getDbAccounts.
8
+ */
9
+ export interface GetDbAccountsResult {
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::RDSPostgreSQL::DBAccount
21
+ */
22
+ export declare function getDbAccountsOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDbAccountsResult>;
@@ -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.getDbAccountsOutput = exports.getDbAccounts = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Plural Data Source schema for Byteplus::RDSPostgreSQL::DBAccount
10
+ */
11
+ function getDbAccounts(opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("bytepluscc:rdspostgresql/getDbAccounts:getDbAccounts", {}, opts);
14
+ }
15
+ exports.getDbAccounts = getDbAccounts;
16
+ /**
17
+ * Plural Data Source schema for Byteplus::RDSPostgreSQL::DBAccount
18
+ */
19
+ function getDbAccountsOutput(opts) {
20
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
21
+ return pulumi.runtime.invokeOutput("bytepluscc:rdspostgresql/getDbAccounts:getDbAccounts", {}, opts);
22
+ }
23
+ exports.getDbAccountsOutput = getDbAccountsOutput;
24
+ //# sourceMappingURL=getDbAccounts.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getDbAccounts.js","sourceRoot":"","sources":["../../rdspostgresql/getDbAccounts.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,aAAa,CAAC,IAA2B;IACrD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sDAAsD,EAAE,EACpF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,sCAIC;AAeD;;GAEG;AACH,SAAgB,mBAAmB,CAAC,IAAiC;IACjE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,sDAAsD,EAAE,EAC1F,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,kDAIC"}
@@ -1,9 +1,18 @@
1
1
  export { AllowListArgs, AllowListState } from "./allowList";
2
2
  export type AllowList = import("./allowList").AllowList;
3
3
  export declare const AllowList: typeof import("./allowList").AllowList;
4
+ export { DbAccountArgs, DbAccountState } from "./dbAccount";
5
+ export type DbAccount = import("./dbAccount").DbAccount;
6
+ export declare const DbAccount: typeof import("./dbAccount").DbAccount;
4
7
  export { GetAllowListArgs, GetAllowListResult, GetAllowListOutputArgs } from "./getAllowList";
5
8
  export declare const getAllowList: typeof import("./getAllowList").getAllowList;
6
9
  export declare const getAllowListOutput: typeof import("./getAllowList").getAllowListOutput;
7
10
  export { GetAllowListsResult } from "./getAllowLists";
8
11
  export declare const getAllowLists: typeof import("./getAllowLists").getAllowLists;
9
12
  export declare const getAllowListsOutput: typeof import("./getAllowLists").getAllowListsOutput;
13
+ export { GetDbAccountArgs, GetDbAccountResult, GetDbAccountOutputArgs } from "./getDbAccount";
14
+ export declare const getDbAccount: typeof import("./getDbAccount").getDbAccount;
15
+ export declare const getDbAccountOutput: typeof import("./getDbAccount").getDbAccountOutput;
16
+ export { GetDbAccountsResult } from "./getDbAccounts";
17
+ export declare const getDbAccounts: typeof import("./getDbAccounts").getDbAccounts;
18
+ export declare const getDbAccountsOutput: typeof import("./getDbAccounts").getDbAccountsOutput;
@@ -2,27 +2,38 @@
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.getAllowListsOutput = exports.getAllowLists = exports.getAllowListOutput = exports.getAllowList = exports.AllowList = void 0;
5
+ exports.getDbAccountsOutput = exports.getDbAccounts = exports.getDbAccountOutput = exports.getDbAccount = exports.getAllowListsOutput = exports.getAllowLists = exports.getAllowListOutput = exports.getAllowList = exports.DbAccount = exports.AllowList = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  exports.AllowList = null;
9
9
  utilities.lazyLoad(exports, ["AllowList"], () => require("./allowList"));
10
+ exports.DbAccount = null;
11
+ utilities.lazyLoad(exports, ["DbAccount"], () => require("./dbAccount"));
10
12
  exports.getAllowList = null;
11
13
  exports.getAllowListOutput = null;
12
14
  utilities.lazyLoad(exports, ["getAllowList", "getAllowListOutput"], () => require("./getAllowList"));
13
15
  exports.getAllowLists = null;
14
16
  exports.getAllowListsOutput = null;
15
17
  utilities.lazyLoad(exports, ["getAllowLists", "getAllowListsOutput"], () => require("./getAllowLists"));
18
+ exports.getDbAccount = null;
19
+ exports.getDbAccountOutput = null;
20
+ utilities.lazyLoad(exports, ["getDbAccount", "getDbAccountOutput"], () => require("./getDbAccount"));
21
+ exports.getDbAccounts = null;
22
+ exports.getDbAccountsOutput = null;
23
+ utilities.lazyLoad(exports, ["getDbAccounts", "getDbAccountsOutput"], () => require("./getDbAccounts"));
16
24
  const _module = {
17
25
  version: utilities.getVersion(),
18
26
  construct: (name, type, urn) => {
19
27
  switch (type) {
20
28
  case "bytepluscc:rdspostgresql/allowList:AllowList":
21
29
  return new exports.AllowList(name, undefined, { urn });
30
+ case "bytepluscc:rdspostgresql/dbAccount:DbAccount":
31
+ return new exports.DbAccount(name, undefined, { urn });
22
32
  default:
23
33
  throw new Error(`unknown resource type ${type}`);
24
34
  }
25
35
  },
26
36
  };
27
37
  pulumi.runtime.registerResourceModule("bytepluscc", "rdspostgresql/allowList", _module);
38
+ pulumi.runtime.registerResourceModule("bytepluscc", "rdspostgresql/dbAccount", _module);
28
39
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../rdspostgresql/index.ts"],"names":[],"mappings":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