@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,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.getGroupOutput = exports.getGroup = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Data Source schema for Byteplus::CloudIdentity::Group
10
+ */
11
+ function getGroup(args, opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("bytepluscc:cloudidentity/getGroup:getGroup", {
14
+ "id": args.id,
15
+ }, opts);
16
+ }
17
+ exports.getGroup = getGroup;
18
+ /**
19
+ * Data Source schema for Byteplus::CloudIdentity::Group
20
+ */
21
+ function getGroupOutput(args, opts) {
22
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
23
+ return pulumi.runtime.invokeOutput("bytepluscc:cloudidentity/getGroup:getGroup", {
24
+ "id": args.id,
25
+ }, opts);
26
+ }
27
+ exports.getGroupOutput = getGroupOutput;
28
+ //# sourceMappingURL=getGroup.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getGroup.js","sourceRoot":"","sources":["../../cloudidentity/getGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IACpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4CAA4C,EAAE;QACvE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,4BAKC;AAyDD;;GAEG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAAiC;IACtF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4CAA4C,EAAE;QAC7E,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,wCAKC"}
@@ -0,0 +1,22 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Plural Data Source schema for Byteplus::CloudIdentity::Group
4
+ */
5
+ export declare function getGroups(opts?: pulumi.InvokeOptions): Promise<GetGroupsResult>;
6
+ /**
7
+ * A collection of values returned by getGroups.
8
+ */
9
+ export interface GetGroupsResult {
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::CloudIdentity::Group
21
+ */
22
+ export declare function getGroupsOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetGroupsResult>;
@@ -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.getGroupsOutput = exports.getGroups = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Plural Data Source schema for Byteplus::CloudIdentity::Group
10
+ */
11
+ function getGroups(opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("bytepluscc:cloudidentity/getGroups:getGroups", {}, opts);
14
+ }
15
+ exports.getGroups = getGroups;
16
+ /**
17
+ * Plural Data Source schema for Byteplus::CloudIdentity::Group
18
+ */
19
+ function getGroupsOutput(opts) {
20
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
21
+ return pulumi.runtime.invokeOutput("bytepluscc:cloudidentity/getGroups:getGroups", {}, opts);
22
+ }
23
+ exports.getGroupsOutput = getGroupsOutput;
24
+ //# sourceMappingURL=getGroups.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getGroups.js","sourceRoot":"","sources":["../../cloudidentity/getGroups.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,SAAS,CAAC,IAA2B;IACjD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8CAA8C,EAAE,EAC5E,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,8BAIC;AAeD;;GAEG;AACH,SAAgB,eAAe,CAAC,IAAiC;IAC7D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,8CAA8C,EAAE,EAClF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,0CAIC"}
@@ -0,0 +1,73 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ /**
4
+ * Data Source schema for Byteplus::CloudIdentity::PermissionSet
5
+ */
6
+ export declare function getPermissionSet(args: GetPermissionSetArgs, opts?: pulumi.InvokeOptions): Promise<GetPermissionSetResult>;
7
+ /**
8
+ * A collection of arguments for invoking getPermissionSet.
9
+ */
10
+ export interface GetPermissionSetArgs {
11
+ /**
12
+ * Uniquely identifies the resource.
13
+ */
14
+ id: string;
15
+ }
16
+ /**
17
+ * A collection of values returned by getPermissionSet.
18
+ */
19
+ export interface GetPermissionSetResult {
20
+ /**
21
+ * 创建时间。
22
+ */
23
+ readonly createdTime: string;
24
+ /**
25
+ * 权限集描述。
26
+ */
27
+ readonly description: string;
28
+ /**
29
+ * Uniquely identifies the resource.
30
+ */
31
+ readonly id: string;
32
+ /**
33
+ * 权限集名称。
34
+ */
35
+ readonly name: string;
36
+ /**
37
+ * 权限集下的策略列表。
38
+ */
39
+ readonly permissionPolicies: outputs.cloudidentity.GetPermissionSetPermissionPolicy[];
40
+ /**
41
+ * 权限集 ID。
42
+ */
43
+ readonly permissionSetId: string;
44
+ /**
45
+ * 跳转控制台 URL。
46
+ */
47
+ readonly relayState: string;
48
+ /**
49
+ * session 过期时间,单位秒。
50
+ */
51
+ readonly sessionDuration: number;
52
+ /**
53
+ * 状态通知配置。
54
+ */
55
+ readonly statusNotifications: string[];
56
+ /**
57
+ * 更新时间。
58
+ */
59
+ readonly updatedTime: string;
60
+ }
61
+ /**
62
+ * Data Source schema for Byteplus::CloudIdentity::PermissionSet
63
+ */
64
+ export declare function getPermissionSetOutput(args: GetPermissionSetOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPermissionSetResult>;
65
+ /**
66
+ * A collection of arguments for invoking getPermissionSet.
67
+ */
68
+ export interface GetPermissionSetOutputArgs {
69
+ /**
70
+ * Uniquely identifies the resource.
71
+ */
72
+ id: pulumi.Input<string>;
73
+ }
@@ -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.getPermissionSetOutput = exports.getPermissionSet = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Data Source schema for Byteplus::CloudIdentity::PermissionSet
10
+ */
11
+ function getPermissionSet(args, opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("bytepluscc:cloudidentity/getPermissionSet:getPermissionSet", {
14
+ "id": args.id,
15
+ }, opts);
16
+ }
17
+ exports.getPermissionSet = getPermissionSet;
18
+ /**
19
+ * Data Source schema for Byteplus::CloudIdentity::PermissionSet
20
+ */
21
+ function getPermissionSetOutput(args, opts) {
22
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
23
+ return pulumi.runtime.invokeOutput("bytepluscc:cloudidentity/getPermissionSet:getPermissionSet", {
24
+ "id": args.id,
25
+ }, opts);
26
+ }
27
+ exports.getPermissionSetOutput = getPermissionSetOutput;
28
+ //# sourceMappingURL=getPermissionSet.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getPermissionSet.js","sourceRoot":"","sources":["../../cloudidentity/getPermissionSet.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4DAA4D,EAAE;QACvF,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,4CAKC;AAyDD;;GAEG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAAiC;IACtG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4DAA4D,EAAE;QAC7F,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,wDAKC"}
@@ -0,0 +1,22 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Plural Data Source schema for Byteplus::CloudIdentity::PermissionSet
4
+ */
5
+ export declare function getPermissionSets(opts?: pulumi.InvokeOptions): Promise<GetPermissionSetsResult>;
6
+ /**
7
+ * A collection of values returned by getPermissionSets.
8
+ */
9
+ export interface GetPermissionSetsResult {
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::CloudIdentity::PermissionSet
21
+ */
22
+ export declare function getPermissionSetsOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPermissionSetsResult>;
@@ -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.getPermissionSetsOutput = exports.getPermissionSets = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Plural Data Source schema for Byteplus::CloudIdentity::PermissionSet
10
+ */
11
+ function getPermissionSets(opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("bytepluscc:cloudidentity/getPermissionSets:getPermissionSets", {}, opts);
14
+ }
15
+ exports.getPermissionSets = getPermissionSets;
16
+ /**
17
+ * Plural Data Source schema for Byteplus::CloudIdentity::PermissionSet
18
+ */
19
+ function getPermissionSetsOutput(opts) {
20
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
21
+ return pulumi.runtime.invokeOutput("bytepluscc:cloudidentity/getPermissionSets:getPermissionSets", {}, opts);
22
+ }
23
+ exports.getPermissionSetsOutput = getPermissionSetsOutput;
24
+ //# sourceMappingURL=getPermissionSets.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getPermissionSets.js","sourceRoot":"","sources":["../../cloudidentity/getPermissionSets.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,iBAAiB,CAAC,IAA2B;IACzD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8DAA8D,EAAE,EAC5F,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,8CAIC;AAeD;;GAEG;AACH,SAAgB,uBAAuB,CAAC,IAAiC;IACrE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,8DAA8D,EAAE,EAClG,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,0DAIC"}
@@ -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
+ * 当您需要批量为云身份中心用户进行SSO授权时,您可以先通过用户组进行批量的用户管理。
6
+ *
7
+ * ## Import
8
+ *
9
+ * ```sh
10
+ * $ pulumi import bytepluscc:cloudidentity/group:Group example "group_id"
11
+ * ```
12
+ */
13
+ export declare class Group extends pulumi.CustomResource {
14
+ /**
15
+ * Get an existing Group 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?: GroupState, opts?: pulumi.CustomResourceOptions): Group;
24
+ /**
25
+ * Returns true if the given object is an instance of Group. 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 Group;
29
+ /**
30
+ * 创建时间。
31
+ */
32
+ readonly createdTime: pulumi.Output<string>;
33
+ /**
34
+ * 描述。
35
+ */
36
+ readonly description: pulumi.Output<string>;
37
+ /**
38
+ * 显示名。
39
+ */
40
+ readonly displayName: pulumi.Output<string>;
41
+ /**
42
+ * 用户组id。
43
+ */
44
+ readonly groupId: pulumi.Output<string>;
45
+ /**
46
+ * 用户组名称。
47
+ */
48
+ readonly groupName: pulumi.Output<string>;
49
+ /**
50
+ * 用户组类型。
51
+ */
52
+ readonly joinType: pulumi.Output<string>;
53
+ readonly members: pulumi.Output<outputs.cloudidentity.GroupMember[]>;
54
+ /**
55
+ * 用户组来源。
56
+ */
57
+ readonly source: pulumi.Output<string>;
58
+ /**
59
+ * 更新时间。
60
+ */
61
+ readonly updatedTime: pulumi.Output<string>;
62
+ /**
63
+ * Create a Group 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: GroupArgs, opts?: pulumi.CustomResourceOptions);
70
+ }
71
+ /**
72
+ * Input properties used for looking up and filtering Group resources.
73
+ */
74
+ export interface GroupState {
75
+ /**
76
+ * 创建时间。
77
+ */
78
+ createdTime?: pulumi.Input<string>;
79
+ /**
80
+ * 描述。
81
+ */
82
+ description?: pulumi.Input<string>;
83
+ /**
84
+ * 显示名。
85
+ */
86
+ displayName?: pulumi.Input<string>;
87
+ /**
88
+ * 用户组id。
89
+ */
90
+ groupId?: pulumi.Input<string>;
91
+ /**
92
+ * 用户组名称。
93
+ */
94
+ groupName?: pulumi.Input<string>;
95
+ /**
96
+ * 用户组类型。
97
+ */
98
+ joinType?: pulumi.Input<string>;
99
+ members?: pulumi.Input<pulumi.Input<inputs.cloudidentity.GroupMember>[]>;
100
+ /**
101
+ * 用户组来源。
102
+ */
103
+ source?: pulumi.Input<string>;
104
+ /**
105
+ * 更新时间。
106
+ */
107
+ updatedTime?: pulumi.Input<string>;
108
+ }
109
+ /**
110
+ * The set of arguments for constructing a Group resource.
111
+ */
112
+ export interface GroupArgs {
113
+ /**
114
+ * 描述。
115
+ */
116
+ description?: pulumi.Input<string>;
117
+ /**
118
+ * 显示名。
119
+ */
120
+ displayName?: pulumi.Input<string>;
121
+ /**
122
+ * 用户组名称。
123
+ */
124
+ groupName: pulumi.Input<string>;
125
+ /**
126
+ * 用户组类型。
127
+ */
128
+ joinType: pulumi.Input<string>;
129
+ members?: pulumi.Input<pulumi.Input<inputs.cloudidentity.GroupMember>[]>;
130
+ }
@@ -0,0 +1,80 @@
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.Group = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * 当您需要批量为云身份中心用户进行SSO授权时,您可以先通过用户组进行批量的用户管理。
10
+ *
11
+ * ## Import
12
+ *
13
+ * ```sh
14
+ * $ pulumi import bytepluscc:cloudidentity/group:Group example "group_id"
15
+ * ```
16
+ */
17
+ class Group extends pulumi.CustomResource {
18
+ /**
19
+ * Get an existing Group 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 Group(name, state, Object.assign(Object.assign({}, opts), { id: id }));
29
+ }
30
+ /**
31
+ * Returns true if the given object is an instance of Group. 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'] === Group.__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["displayName"] = state ? state.displayName : undefined;
48
+ resourceInputs["groupId"] = state ? state.groupId : undefined;
49
+ resourceInputs["groupName"] = state ? state.groupName : undefined;
50
+ resourceInputs["joinType"] = state ? state.joinType : undefined;
51
+ resourceInputs["members"] = state ? state.members : undefined;
52
+ resourceInputs["source"] = state ? state.source : undefined;
53
+ resourceInputs["updatedTime"] = state ? state.updatedTime : undefined;
54
+ }
55
+ else {
56
+ const args = argsOrState;
57
+ if ((!args || args.groupName === undefined) && !opts.urn) {
58
+ throw new Error("Missing required property 'groupName'");
59
+ }
60
+ if ((!args || args.joinType === undefined) && !opts.urn) {
61
+ throw new Error("Missing required property 'joinType'");
62
+ }
63
+ resourceInputs["description"] = args ? args.description : undefined;
64
+ resourceInputs["displayName"] = args ? args.displayName : undefined;
65
+ resourceInputs["groupName"] = args ? args.groupName : undefined;
66
+ resourceInputs["joinType"] = args ? args.joinType : undefined;
67
+ resourceInputs["members"] = args ? args.members : undefined;
68
+ resourceInputs["createdTime"] = undefined /*out*/;
69
+ resourceInputs["groupId"] = undefined /*out*/;
70
+ resourceInputs["source"] = undefined /*out*/;
71
+ resourceInputs["updatedTime"] = undefined /*out*/;
72
+ }
73
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
74
+ super(Group.__pulumiType, name, resourceInputs, opts);
75
+ }
76
+ }
77
+ exports.Group = Group;
78
+ /** @internal */
79
+ Group.__pulumiType = 'bytepluscc:cloudidentity/group:Group';
80
+ //# sourceMappingURL=group.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"group.js","sourceRoot":"","sources":["../../cloudidentity/group.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;GAQG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAC5C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkB,EAAE,IAAmC;QAChH,OAAO,IAAI,KAAK,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,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SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACrD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,KAAK,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1D,CAAC;;AAxGL,sBAyGC;AA3FG,gBAAgB;AACO,kBAAY,GAAG,sCAAsC,CAAC"}
@@ -1,9 +1,27 @@
1
+ export { GetGroupArgs, GetGroupResult, GetGroupOutputArgs } from "./getGroup";
2
+ export declare const getGroup: typeof import("./getGroup").getGroup;
3
+ export declare const getGroupOutput: typeof import("./getGroup").getGroupOutput;
4
+ export { GetGroupsResult } from "./getGroups";
5
+ export declare const getGroups: typeof import("./getGroups").getGroups;
6
+ export declare const getGroupsOutput: typeof import("./getGroups").getGroupsOutput;
7
+ export { GetPermissionSetArgs, GetPermissionSetResult, GetPermissionSetOutputArgs } from "./getPermissionSet";
8
+ export declare const getPermissionSet: typeof import("./getPermissionSet").getPermissionSet;
9
+ export declare const getPermissionSetOutput: typeof import("./getPermissionSet").getPermissionSetOutput;
10
+ export { GetPermissionSetsResult } from "./getPermissionSets";
11
+ export declare const getPermissionSets: typeof import("./getPermissionSets").getPermissionSets;
12
+ export declare const getPermissionSetsOutput: typeof import("./getPermissionSets").getPermissionSetsOutput;
1
13
  export { GetUserArgs, GetUserResult, GetUserOutputArgs } from "./getUser";
2
14
  export declare const getUser: typeof import("./getUser").getUser;
3
15
  export declare const getUserOutput: typeof import("./getUser").getUserOutput;
4
16
  export { GetUsersResult } from "./getUsers";
5
17
  export declare const getUsers: typeof import("./getUsers").getUsers;
6
18
  export declare const getUsersOutput: typeof import("./getUsers").getUsersOutput;
19
+ export { GroupArgs, GroupState } from "./group";
20
+ export type Group = import("./group").Group;
21
+ export declare const Group: typeof import("./group").Group;
22
+ export { PermissionSetArgs, PermissionSetState } from "./permissionSet";
23
+ export type PermissionSet = import("./permissionSet").PermissionSet;
24
+ export declare const PermissionSet: typeof import("./permissionSet").PermissionSet;
7
25
  export { UserArgs, UserState } from "./user";
8
26
  export type User = import("./user").User;
9
27
  export declare const User: typeof import("./user").User;
@@ -2,21 +2,41 @@
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.User = exports.getUsersOutput = exports.getUsers = exports.getUserOutput = exports.getUser = void 0;
5
+ exports.User = exports.PermissionSet = exports.Group = exports.getUsersOutput = exports.getUsers = exports.getUserOutput = exports.getUser = exports.getPermissionSetsOutput = exports.getPermissionSets = exports.getPermissionSetOutput = exports.getPermissionSet = exports.getGroupsOutput = exports.getGroups = exports.getGroupOutput = exports.getGroup = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
+ exports.getGroup = null;
9
+ exports.getGroupOutput = null;
10
+ utilities.lazyLoad(exports, ["getGroup", "getGroupOutput"], () => require("./getGroup"));
11
+ exports.getGroups = null;
12
+ exports.getGroupsOutput = null;
13
+ utilities.lazyLoad(exports, ["getGroups", "getGroupsOutput"], () => require("./getGroups"));
14
+ exports.getPermissionSet = null;
15
+ exports.getPermissionSetOutput = null;
16
+ utilities.lazyLoad(exports, ["getPermissionSet", "getPermissionSetOutput"], () => require("./getPermissionSet"));
17
+ exports.getPermissionSets = null;
18
+ exports.getPermissionSetsOutput = null;
19
+ utilities.lazyLoad(exports, ["getPermissionSets", "getPermissionSetsOutput"], () => require("./getPermissionSets"));
8
20
  exports.getUser = null;
9
21
  exports.getUserOutput = null;
10
22
  utilities.lazyLoad(exports, ["getUser", "getUserOutput"], () => require("./getUser"));
11
23
  exports.getUsers = null;
12
24
  exports.getUsersOutput = null;
13
25
  utilities.lazyLoad(exports, ["getUsers", "getUsersOutput"], () => require("./getUsers"));
26
+ exports.Group = null;
27
+ utilities.lazyLoad(exports, ["Group"], () => require("./group"));
28
+ exports.PermissionSet = null;
29
+ utilities.lazyLoad(exports, ["PermissionSet"], () => require("./permissionSet"));
14
30
  exports.User = null;
15
31
  utilities.lazyLoad(exports, ["User"], () => require("./user"));
16
32
  const _module = {
17
33
  version: utilities.getVersion(),
18
34
  construct: (name, type, urn) => {
19
35
  switch (type) {
36
+ case "bytepluscc:cloudidentity/group:Group":
37
+ return new exports.Group(name, undefined, { urn });
38
+ case "bytepluscc:cloudidentity/permissionSet:PermissionSet":
39
+ return new exports.PermissionSet(name, undefined, { urn });
20
40
  case "bytepluscc:cloudidentity/user:User":
21
41
  return new exports.User(name, undefined, { urn });
22
42
  default:
@@ -24,5 +44,7 @@ const _module = {
24
44
  }
25
45
  },
26
46
  };
47
+ pulumi.runtime.registerResourceModule("bytepluscc", "cloudidentity/group", _module);
48
+ pulumi.runtime.registerResourceModule("bytepluscc", "cloudidentity/permissionSet", _module);
27
49
  pulumi.runtime.registerResourceModule("bytepluscc", "cloudidentity/user", _module);
28
50
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../cloudidentity/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAI7B,QAAA,OAAO,GAAuC,IAAW,CAAC;AAC1D,QAAA,aAAa,GAA6C,IAAW,CAAC;AACnF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,SAAS,EAAC,eAAe,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC;AAGxE,QAAA,QAAQ,GAAyC,IAAW,CAAC;AAC7D,QAAA,cAAc,GAA+C,IAAW,CAAC;AACtF,SAAS,CAAC,QA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