@volcengine/pulumi-volcenginecc 0.0.25 → 0.0.26
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/autoscaling/getScalingLifecycleHook.d.ts +65 -0
- package/autoscaling/getScalingLifecycleHook.js +28 -0
- package/autoscaling/getScalingLifecycleHook.js.map +1 -0
- package/autoscaling/getScalingLifecycleHooks.d.ts +22 -0
- package/autoscaling/getScalingLifecycleHooks.js +24 -0
- package/autoscaling/getScalingLifecycleHooks.js.map +1 -0
- package/autoscaling/index.d.ts +9 -0
- package/autoscaling/index.js +12 -1
- package/autoscaling/index.js.map +1 -1
- package/autoscaling/scalingLifecycleHook.d.ts +127 -0
- package/autoscaling/scalingLifecycleHook.js +85 -0
- package/autoscaling/scalingLifecycleHook.js.map +1 -0
- package/cdn/domain.d.ts +644 -0
- package/cdn/domain.js +185 -0
- package/cdn/domain.js.map +1 -0
- package/cdn/getDomain.d.ts +278 -0
- package/cdn/getDomain.js +28 -0
- package/cdn/getDomain.js.map +1 -0
- package/cdn/getDomains.d.ts +22 -0
- package/cdn/getDomains.js +24 -0
- package/cdn/getDomains.js.map +1 -0
- package/cdn/index.d.ts +9 -0
- package/cdn/index.js +12 -1
- package/cdn/index.js.map +1 -1
- package/cr/registry.d.ts +4 -0
- package/cr/registry.js +1 -1
- package/cr/registry.js.map +1 -1
- package/emr/cluster.d.ts +313 -0
- package/emr/cluster.js +137 -0
- package/emr/cluster.js.map +1 -0
- package/emr/clusterUser.d.ts +159 -0
- package/emr/clusterUser.js +101 -0
- package/emr/clusterUser.js.map +1 -0
- package/emr/clusterUserGroup.d.ts +110 -0
- package/emr/clusterUserGroup.js +87 -0
- package/emr/clusterUserGroup.js.map +1 -0
- package/emr/getCluster.d.ts +157 -0
- package/emr/getCluster.js +28 -0
- package/emr/getCluster.js.map +1 -0
- package/emr/getClusterUser.d.ts +72 -0
- package/emr/getClusterUser.js +28 -0
- package/emr/getClusterUser.js.map +1 -0
- package/emr/getClusterUserGroup.d.ts +52 -0
- package/emr/getClusterUserGroup.js +28 -0
- package/emr/getClusterUserGroup.js.map +1 -0
- package/emr/getClusterUserGroups.d.ts +22 -0
- package/emr/getClusterUserGroups.js +24 -0
- package/emr/getClusterUserGroups.js.map +1 -0
- package/emr/getClusterUsers.d.ts +22 -0
- package/emr/getClusterUsers.js +24 -0
- package/emr/getClusterUsers.js.map +1 -0
- package/emr/getClusters.d.ts +22 -0
- package/emr/getClusters.js +24 -0
- package/emr/getClusters.js.map +1 -0
- package/emr/index.d.ts +27 -0
- package/emr/index.js +50 -0
- package/emr/index.js.map +1 -0
- package/index.d.ts +2 -1
- package/index.js +3 -1
- package/index.js.map +1 -1
- package/organization/getOrganization.d.ts +49 -0
- package/organization/getOrganization.js +28 -0
- package/organization/getOrganization.js.map +1 -0
- package/organization/getOrganizations.d.ts +22 -0
- package/organization/getOrganizations.js +24 -0
- package/organization/getOrganizations.js.map +1 -0
- package/organization/index.d.ts +9 -0
- package/organization/index.js +12 -1
- package/organization/index.js.map +1 -1
- package/organization/organization.d.ts +88 -0
- package/organization/organization.js +71 -0
- package/organization/organization.js.map +1 -0
- package/package.json +1 -1
- package/tls/getIndex.d.ts +69 -0
- package/tls/getIndex.js +28 -0
- package/tls/getIndex.js.map +1 -0
- package/tls/getIndices.d.ts +22 -0
- package/tls/getIndices.js +24 -0
- package/tls/getIndices.js.map +1 -0
- package/tls/getScheduleSqlTask.d.ts +121 -0
- package/tls/getScheduleSqlTask.js +28 -0
- package/tls/getScheduleSqlTask.js.map +1 -0
- package/tls/getScheduleSqlTasks.d.ts +22 -0
- package/tls/getScheduleSqlTasks.js +24 -0
- package/tls/getScheduleSqlTasks.js.map +1 -0
- package/tls/getTopic.d.ts +8 -0
- package/tls/getTopic.js.map +1 -1
- package/tls/index.d.ts +18 -0
- package/tls/index.js +23 -1
- package/tls/index.js.map +1 -1
- package/tls/index_.d.ts +117 -0
- package/tls/index_.js +75 -0
- package/tls/index_.js.map +1 -0
- package/tls/scheduleSqlTask.d.ts +267 -0
- package/tls/scheduleSqlTask.js +125 -0
- package/tls/scheduleSqlTask.js.map +1 -0
- package/tls/topic.d.ts +25 -4
- package/tls/topic.js +9 -4
- package/tls/topic.js.map +1 -1
- package/types/input.d.ts +2661 -92
- package/types/output.d.ts +6894 -1583
- package/vedbm/backup.d.ts +197 -0
- package/vedbm/backup.js +103 -0
- package/vedbm/backup.js.map +1 -0
- package/vedbm/database.d.ts +98 -0
- package/vedbm/database.js +69 -0
- package/vedbm/database.js.map +1 -0
- package/vedbm/getBackup.d.ts +92 -0
- package/vedbm/getBackup.js +28 -0
- package/vedbm/getBackup.js.map +1 -0
- package/vedbm/getBackups.d.ts +22 -0
- package/vedbm/getBackups.js +24 -0
- package/vedbm/getBackups.js.map +1 -0
- package/vedbm/getDatabase.d.ts +57 -0
- package/vedbm/getDatabase.js +28 -0
- package/vedbm/getDatabase.js.map +1 -0
- package/vedbm/getDatabases.d.ts +22 -0
- package/vedbm/getDatabases.js +24 -0
- package/vedbm/getDatabases.js.map +1 -0
- package/vedbm/index.d.ts +18 -0
- package/vedbm/index.js +23 -1
- package/vedbm/index.js.map +1 -1
|
@@ -0,0 +1,101 @@
|
|
|
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.ClusterUser = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* E-MapReduce(EMR)集群中的用户分为普通用户和系统用户两类。其中:普通用户是您在用户管理模块手动通过导入、创建操作向集群中添加的用户;系统用户则是集群在初始化过程中为每个组件内置的管理用户,不支持编辑和删除操作。
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
|
|
16
|
+
*
|
|
17
|
+
* const eMRClusterUserDemo = new volcenginecc.emr.ClusterUser("EMRClusterUserDemo", {
|
|
18
|
+
* clusterId: "emr-xxxxxxxxxx",
|
|
19
|
+
* userName: "emrclusteruserdemo",
|
|
20
|
+
* password: "UserDemo1234",
|
|
21
|
+
* userGroupNames: [
|
|
22
|
+
* "users",
|
|
23
|
+
* "ccapi",
|
|
24
|
+
* ],
|
|
25
|
+
* description: "EMRClusterUserDemo",
|
|
26
|
+
* });
|
|
27
|
+
* ```
|
|
28
|
+
*
|
|
29
|
+
* ## Import
|
|
30
|
+
*
|
|
31
|
+
* ```sh
|
|
32
|
+
* $ pulumi import volcenginecc:emr/clusterUser:ClusterUser example "cluster_id|user_name"
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
class ClusterUser extends pulumi.CustomResource {
|
|
36
|
+
/**
|
|
37
|
+
* Get an existing ClusterUser resource's state with the given name, ID, and optional extra
|
|
38
|
+
* properties used to qualify the lookup.
|
|
39
|
+
*
|
|
40
|
+
* @param name The _unique_ name of the resulting resource.
|
|
41
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
42
|
+
* @param state Any extra arguments used during the lookup.
|
|
43
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
44
|
+
*/
|
|
45
|
+
static get(name, id, state, opts) {
|
|
46
|
+
return new ClusterUser(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Returns true if the given object is an instance of ClusterUser. This is designed to work even
|
|
50
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
51
|
+
*/
|
|
52
|
+
static isInstance(obj) {
|
|
53
|
+
if (obj === undefined || obj === null) {
|
|
54
|
+
return false;
|
|
55
|
+
}
|
|
56
|
+
return obj['__pulumiType'] === ClusterUser.__pulumiType;
|
|
57
|
+
}
|
|
58
|
+
constructor(name, argsOrState, opts) {
|
|
59
|
+
let resourceInputs = {};
|
|
60
|
+
opts = opts || {};
|
|
61
|
+
if (opts.id) {
|
|
62
|
+
const state = argsOrState;
|
|
63
|
+
resourceInputs["clusterId"] = state ? state.clusterId : undefined;
|
|
64
|
+
resourceInputs["createdTime"] = state ? state.createdTime : undefined;
|
|
65
|
+
resourceInputs["creatorName"] = state ? state.creatorName : undefined;
|
|
66
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
67
|
+
resourceInputs["oldPassword"] = state ? state.oldPassword : undefined;
|
|
68
|
+
resourceInputs["password"] = state ? state.password : undefined;
|
|
69
|
+
resourceInputs["updatedTime"] = state ? state.updatedTime : undefined;
|
|
70
|
+
resourceInputs["userGroupNames"] = state ? state.userGroupNames : undefined;
|
|
71
|
+
resourceInputs["userName"] = state ? state.userName : undefined;
|
|
72
|
+
}
|
|
73
|
+
else {
|
|
74
|
+
const args = argsOrState;
|
|
75
|
+
if ((!args || args.clusterId === undefined) && !opts.urn) {
|
|
76
|
+
throw new Error("Missing required property 'clusterId'");
|
|
77
|
+
}
|
|
78
|
+
if ((!args || args.password === undefined) && !opts.urn) {
|
|
79
|
+
throw new Error("Missing required property 'password'");
|
|
80
|
+
}
|
|
81
|
+
if ((!args || args.userName === undefined) && !opts.urn) {
|
|
82
|
+
throw new Error("Missing required property 'userName'");
|
|
83
|
+
}
|
|
84
|
+
resourceInputs["clusterId"] = args ? args.clusterId : undefined;
|
|
85
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
86
|
+
resourceInputs["oldPassword"] = args ? args.oldPassword : undefined;
|
|
87
|
+
resourceInputs["password"] = args ? args.password : undefined;
|
|
88
|
+
resourceInputs["userGroupNames"] = args ? args.userGroupNames : undefined;
|
|
89
|
+
resourceInputs["userName"] = args ? args.userName : undefined;
|
|
90
|
+
resourceInputs["createdTime"] = undefined /*out*/;
|
|
91
|
+
resourceInputs["creatorName"] = undefined /*out*/;
|
|
92
|
+
resourceInputs["updatedTime"] = undefined /*out*/;
|
|
93
|
+
}
|
|
94
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
95
|
+
super(ClusterUser.__pulumiType, name, resourceInputs, opts);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
exports.ClusterUser = ClusterUser;
|
|
99
|
+
/** @internal */
|
|
100
|
+
ClusterUser.__pulumiType = 'volcenginecc:emr/clusterUser:ClusterUser';
|
|
101
|
+
//# sourceMappingURL=clusterUser.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clusterUser.js","sourceRoot":"","sources":["../../emr/clusterUser.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,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,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;IA+CD,YAAY,IAAY,EAAE,WAAgD,EAAE,IAAmC;QAC3G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAA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IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AA9GL,kCA+GC;AAjGG,gBAAgB;AACO,wBAAY,GAAG,0CAA0C,CAAC"}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* E-MapReduce(EMR)集群中支持对用户进行组管理,允许您创建、编辑和删除用户组。
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
|
|
10
|
+
*
|
|
11
|
+
* const eMRClusterUserGroupDemo = new volcenginecc.emr.ClusterUserGroup("EMRClusterUserGroupDemo", {
|
|
12
|
+
* clusterId: "emr-xxxxxxxxxx",
|
|
13
|
+
* userGroupName: "ccapi-tf-users-2",
|
|
14
|
+
* description: "EMRClusterUserGroupDemo",
|
|
15
|
+
* members: [
|
|
16
|
+
* "emrclusteruserdemo1",
|
|
17
|
+
* "emrclusteruserdemo3",
|
|
18
|
+
* ],
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* ## Import
|
|
23
|
+
*
|
|
24
|
+
* ```sh
|
|
25
|
+
* $ pulumi import volcenginecc:emr/clusterUserGroup:ClusterUserGroup example "cluster_id|user_group_name"
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
export declare class ClusterUserGroup extends pulumi.CustomResource {
|
|
29
|
+
/**
|
|
30
|
+
* Get an existing ClusterUserGroup 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?: ClusterUserGroupState, opts?: pulumi.CustomResourceOptions): ClusterUserGroup;
|
|
39
|
+
/**
|
|
40
|
+
* Returns true if the given object is an instance of ClusterUserGroup. 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 ClusterUserGroup;
|
|
44
|
+
/**
|
|
45
|
+
* 集群ID。
|
|
46
|
+
*/
|
|
47
|
+
readonly clusterId: pulumi.Output<string>;
|
|
48
|
+
/**
|
|
49
|
+
* 用户组描述。
|
|
50
|
+
*/
|
|
51
|
+
readonly description: pulumi.Output<string>;
|
|
52
|
+
/**
|
|
53
|
+
* 用户组成员。不支持操作特殊用户,如admin等。
|
|
54
|
+
*/
|
|
55
|
+
readonly members: pulumi.Output<string[]>;
|
|
56
|
+
/**
|
|
57
|
+
* 用户组名称。
|
|
58
|
+
*/
|
|
59
|
+
readonly userGroupName: pulumi.Output<string>;
|
|
60
|
+
/**
|
|
61
|
+
* Create a ClusterUserGroup resource with the given unique name, arguments, and options.
|
|
62
|
+
*
|
|
63
|
+
* @param name The _unique_ name of the resource.
|
|
64
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
65
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
66
|
+
*/
|
|
67
|
+
constructor(name: string, args: ClusterUserGroupArgs, opts?: pulumi.CustomResourceOptions);
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Input properties used for looking up and filtering ClusterUserGroup resources.
|
|
71
|
+
*/
|
|
72
|
+
export interface ClusterUserGroupState {
|
|
73
|
+
/**
|
|
74
|
+
* 集群ID。
|
|
75
|
+
*/
|
|
76
|
+
clusterId?: pulumi.Input<string>;
|
|
77
|
+
/**
|
|
78
|
+
* 用户组描述。
|
|
79
|
+
*/
|
|
80
|
+
description?: pulumi.Input<string>;
|
|
81
|
+
/**
|
|
82
|
+
* 用户组成员。不支持操作特殊用户,如admin等。
|
|
83
|
+
*/
|
|
84
|
+
members?: pulumi.Input<pulumi.Input<string>[]>;
|
|
85
|
+
/**
|
|
86
|
+
* 用户组名称。
|
|
87
|
+
*/
|
|
88
|
+
userGroupName?: pulumi.Input<string>;
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* The set of arguments for constructing a ClusterUserGroup resource.
|
|
92
|
+
*/
|
|
93
|
+
export interface ClusterUserGroupArgs {
|
|
94
|
+
/**
|
|
95
|
+
* 集群ID。
|
|
96
|
+
*/
|
|
97
|
+
clusterId: pulumi.Input<string>;
|
|
98
|
+
/**
|
|
99
|
+
* 用户组描述。
|
|
100
|
+
*/
|
|
101
|
+
description?: pulumi.Input<string>;
|
|
102
|
+
/**
|
|
103
|
+
* 用户组成员。不支持操作特殊用户,如admin等。
|
|
104
|
+
*/
|
|
105
|
+
members?: pulumi.Input<pulumi.Input<string>[]>;
|
|
106
|
+
/**
|
|
107
|
+
* 用户组名称。
|
|
108
|
+
*/
|
|
109
|
+
userGroupName: pulumi.Input<string>;
|
|
110
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
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.ClusterUserGroup = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* E-MapReduce(EMR)集群中支持对用户进行组管理,允许您创建、编辑和删除用户组。
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
|
|
16
|
+
*
|
|
17
|
+
* const eMRClusterUserGroupDemo = new volcenginecc.emr.ClusterUserGroup("EMRClusterUserGroupDemo", {
|
|
18
|
+
* clusterId: "emr-xxxxxxxxxx",
|
|
19
|
+
* userGroupName: "ccapi-tf-users-2",
|
|
20
|
+
* description: "EMRClusterUserGroupDemo",
|
|
21
|
+
* members: [
|
|
22
|
+
* "emrclusteruserdemo1",
|
|
23
|
+
* "emrclusteruserdemo3",
|
|
24
|
+
* ],
|
|
25
|
+
* });
|
|
26
|
+
* ```
|
|
27
|
+
*
|
|
28
|
+
* ## Import
|
|
29
|
+
*
|
|
30
|
+
* ```sh
|
|
31
|
+
* $ pulumi import volcenginecc:emr/clusterUserGroup:ClusterUserGroup example "cluster_id|user_group_name"
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
class ClusterUserGroup extends pulumi.CustomResource {
|
|
35
|
+
/**
|
|
36
|
+
* Get an existing ClusterUserGroup resource's state with the given name, ID, and optional extra
|
|
37
|
+
* properties used to qualify the lookup.
|
|
38
|
+
*
|
|
39
|
+
* @param name The _unique_ name of the resulting resource.
|
|
40
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
41
|
+
* @param state Any extra arguments used during the lookup.
|
|
42
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
43
|
+
*/
|
|
44
|
+
static get(name, id, state, opts) {
|
|
45
|
+
return new ClusterUserGroup(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Returns true if the given object is an instance of ClusterUserGroup. This is designed to work even
|
|
49
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
50
|
+
*/
|
|
51
|
+
static isInstance(obj) {
|
|
52
|
+
if (obj === undefined || obj === null) {
|
|
53
|
+
return false;
|
|
54
|
+
}
|
|
55
|
+
return obj['__pulumiType'] === ClusterUserGroup.__pulumiType;
|
|
56
|
+
}
|
|
57
|
+
constructor(name, argsOrState, opts) {
|
|
58
|
+
let resourceInputs = {};
|
|
59
|
+
opts = opts || {};
|
|
60
|
+
if (opts.id) {
|
|
61
|
+
const state = argsOrState;
|
|
62
|
+
resourceInputs["clusterId"] = state ? state.clusterId : undefined;
|
|
63
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
64
|
+
resourceInputs["members"] = state ? state.members : undefined;
|
|
65
|
+
resourceInputs["userGroupName"] = state ? state.userGroupName : undefined;
|
|
66
|
+
}
|
|
67
|
+
else {
|
|
68
|
+
const args = argsOrState;
|
|
69
|
+
if ((!args || args.clusterId === undefined) && !opts.urn) {
|
|
70
|
+
throw new Error("Missing required property 'clusterId'");
|
|
71
|
+
}
|
|
72
|
+
if ((!args || args.userGroupName === undefined) && !opts.urn) {
|
|
73
|
+
throw new Error("Missing required property 'userGroupName'");
|
|
74
|
+
}
|
|
75
|
+
resourceInputs["clusterId"] = args ? args.clusterId : undefined;
|
|
76
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
77
|
+
resourceInputs["members"] = args ? args.members : undefined;
|
|
78
|
+
resourceInputs["userGroupName"] = args ? args.userGroupName : undefined;
|
|
79
|
+
}
|
|
80
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
81
|
+
super(ClusterUserGroup.__pulumiType, name, resourceInputs, opts);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
exports.ClusterUserGroup = ClusterUserGroup;
|
|
85
|
+
/** @internal */
|
|
86
|
+
ClusterUserGroup.__pulumiType = 'volcenginecc:emr/clusterUserGroup:ClusterUserGroup';
|
|
87
|
+
//# sourceMappingURL=clusterUserGroup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clusterUserGroup.js","sourceRoot":"","sources":["../../emr/clusterUserGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;A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7D,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,SAAS,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACtD,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;aAC5D;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,aAAa,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC1D,MAAM,IAAI,KAAK,CAAC,2CAA2C,CAAC,CAAC;aAChE;YACD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3E;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AA7EL,4CA8EC;AAhEG,gBAAgB;AACO,6BAAY,GAAG,oDAAoD,CAAC"}
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Data Source schema for Volcengine::EMR::Cluster
|
|
5
|
+
*/
|
|
6
|
+
export declare function getCluster(args: GetClusterArgs, opts?: pulumi.InvokeOptions): Promise<GetClusterResult>;
|
|
7
|
+
/**
|
|
8
|
+
* A collection of arguments for invoking getCluster.
|
|
9
|
+
*/
|
|
10
|
+
export interface GetClusterArgs {
|
|
11
|
+
/**
|
|
12
|
+
* Uniquely identifies the resource.
|
|
13
|
+
*/
|
|
14
|
+
id: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* A collection of values returned by getCluster.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetClusterResult {
|
|
20
|
+
/**
|
|
21
|
+
* 账号ID。
|
|
22
|
+
*/
|
|
23
|
+
readonly accountId: number;
|
|
24
|
+
/**
|
|
25
|
+
* 集群服务的扩展信息列表,包括服务的自定义配置项、服务组件的自定义部署拓扑设置,以及服务的元数据连接配置信息。
|
|
26
|
+
*/
|
|
27
|
+
readonly applicationExtras: outputs.emr.GetClusterApplicationExtra[];
|
|
28
|
+
/**
|
|
29
|
+
* 集群安装的服务名称列表。创建字段。
|
|
30
|
+
*/
|
|
31
|
+
readonly applicationNames: string[];
|
|
32
|
+
/**
|
|
33
|
+
* 集群安装的服务列表。只读字段。
|
|
34
|
+
*/
|
|
35
|
+
readonly applications: outputs.emr.GetClusterApplication[];
|
|
36
|
+
/**
|
|
37
|
+
* 集群的引导脚本列表。
|
|
38
|
+
*/
|
|
39
|
+
readonly bootstrapScripts: outputs.emr.GetClusterBootstrapScript[];
|
|
40
|
+
/**
|
|
41
|
+
* 包月的配置参数,当chargeType=PRE时,必选。
|
|
42
|
+
*/
|
|
43
|
+
readonly chargePreConfig: outputs.emr.GetClusterChargePreConfig;
|
|
44
|
+
/**
|
|
45
|
+
* 付费类型,PRE表示包月,POST表示按量计费。
|
|
46
|
+
*/
|
|
47
|
+
readonly chargeType: string;
|
|
48
|
+
/**
|
|
49
|
+
* 集群dns域名后缀列表。
|
|
50
|
+
*/
|
|
51
|
+
readonly clusterDomainNames: string[];
|
|
52
|
+
/**
|
|
53
|
+
* 集群ID。
|
|
54
|
+
*/
|
|
55
|
+
readonly clusterId: string;
|
|
56
|
+
/**
|
|
57
|
+
* 集群名称。
|
|
58
|
+
*/
|
|
59
|
+
readonly clusterName: string;
|
|
60
|
+
/**
|
|
61
|
+
* 集群状态。
|
|
62
|
+
*/
|
|
63
|
+
readonly clusterState: string;
|
|
64
|
+
/**
|
|
65
|
+
* 集群类型。
|
|
66
|
+
*/
|
|
67
|
+
readonly clusterType: string;
|
|
68
|
+
/**
|
|
69
|
+
* 集群创建时间。
|
|
70
|
+
*/
|
|
71
|
+
readonly createdTime: number;
|
|
72
|
+
/**
|
|
73
|
+
* 创建者ID。
|
|
74
|
+
*/
|
|
75
|
+
readonly creatorId: number;
|
|
76
|
+
/**
|
|
77
|
+
* 创建者名称。
|
|
78
|
+
*/
|
|
79
|
+
readonly creatorName: string;
|
|
80
|
+
/**
|
|
81
|
+
* 部署模式。SIMPLE表示简单模式,HIGH_AVAILABLE表示高可用模式。
|
|
82
|
+
*/
|
|
83
|
+
readonly deployMode: string;
|
|
84
|
+
/**
|
|
85
|
+
* ECS镜像ID。
|
|
86
|
+
*/
|
|
87
|
+
readonly ecsImageId: string;
|
|
88
|
+
/**
|
|
89
|
+
* 集群过期时间。
|
|
90
|
+
*/
|
|
91
|
+
readonly expireTime: number;
|
|
92
|
+
/**
|
|
93
|
+
* HistoryServer模式,LOCAL将活动数据存储于集群内,PHS将活动数据存储于集群外。
|
|
94
|
+
*/
|
|
95
|
+
readonly historyServerMode: string;
|
|
96
|
+
/**
|
|
97
|
+
* Uniquely identifies the resource.
|
|
98
|
+
*/
|
|
99
|
+
readonly id: string;
|
|
100
|
+
/**
|
|
101
|
+
* 集群全局的节点信息。
|
|
102
|
+
*/
|
|
103
|
+
readonly nodeAttribute: outputs.emr.GetClusterNodeAttribute;
|
|
104
|
+
/**
|
|
105
|
+
* 节点组属性列表。
|
|
106
|
+
*/
|
|
107
|
+
readonly nodeGroupAttributes: outputs.emr.GetClusterNodeGroupAttribute[];
|
|
108
|
+
/**
|
|
109
|
+
* 资源所属项目,默认为default。一个资源只能归属于一个项目。只能包含字母、数字、下划线“_”、点“.”和中划线“-”。长度限制在64个字符以内。
|
|
110
|
+
*/
|
|
111
|
+
readonly projectName: string;
|
|
112
|
+
/**
|
|
113
|
+
* 集群创建完成时间。
|
|
114
|
+
*/
|
|
115
|
+
readonly readyTime: number;
|
|
116
|
+
/**
|
|
117
|
+
* 集群版本。
|
|
118
|
+
*/
|
|
119
|
+
readonly releaseVersion: string;
|
|
120
|
+
/**
|
|
121
|
+
* 集群全局安全组ID,所有节点组下的ecs都会加入该安全组。
|
|
122
|
+
*/
|
|
123
|
+
readonly securityGroupId: string;
|
|
124
|
+
/**
|
|
125
|
+
* 安全模式。
|
|
126
|
+
*/
|
|
127
|
+
readonly securityMode: string;
|
|
128
|
+
/**
|
|
129
|
+
* 状态变更原因。
|
|
130
|
+
*/
|
|
131
|
+
readonly stateChangeReason: outputs.emr.GetClusterStateChangeReason;
|
|
132
|
+
/**
|
|
133
|
+
* 标签列表。
|
|
134
|
+
*/
|
|
135
|
+
readonly tags: outputs.emr.GetClusterTag[];
|
|
136
|
+
/**
|
|
137
|
+
* 集群终止时间。
|
|
138
|
+
*/
|
|
139
|
+
readonly terminateTime: number;
|
|
140
|
+
/**
|
|
141
|
+
* Vpc ID。
|
|
142
|
+
*/
|
|
143
|
+
readonly vpcId: string;
|
|
144
|
+
}
|
|
145
|
+
/**
|
|
146
|
+
* Data Source schema for Volcengine::EMR::Cluster
|
|
147
|
+
*/
|
|
148
|
+
export declare function getClusterOutput(args: GetClusterOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetClusterResult>;
|
|
149
|
+
/**
|
|
150
|
+
* A collection of arguments for invoking getCluster.
|
|
151
|
+
*/
|
|
152
|
+
export interface GetClusterOutputArgs {
|
|
153
|
+
/**
|
|
154
|
+
* Uniquely identifies the resource.
|
|
155
|
+
*/
|
|
156
|
+
id: pulumi.Input<string>;
|
|
157
|
+
}
|
|
@@ -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.getClusterOutput = exports.getCluster = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Data Source schema for Volcengine::EMR::Cluster
|
|
10
|
+
*/
|
|
11
|
+
function getCluster(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("volcenginecc:emr/getCluster:getCluster", {
|
|
14
|
+
"id": args.id,
|
|
15
|
+
}, opts);
|
|
16
|
+
}
|
|
17
|
+
exports.getCluster = getCluster;
|
|
18
|
+
/**
|
|
19
|
+
* Data Source schema for Volcengine::EMR::Cluster
|
|
20
|
+
*/
|
|
21
|
+
function getClusterOutput(args, opts) {
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invokeOutput("volcenginecc:emr/getCluster:getCluster", {
|
|
24
|
+
"id": args.id,
|
|
25
|
+
}, opts);
|
|
26
|
+
}
|
|
27
|
+
exports.getClusterOutput = getClusterOutput;
|
|
28
|
+
//# sourceMappingURL=getCluster.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getCluster.js","sourceRoot":"","sources":["../../emr/getCluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IACxE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wCAAwC,EAAE;QACnE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,gCAKC;AA6ID;;GAEG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAAiC;IAC1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,wCAAwC,EAAE;QACzE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,4CAKC"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Data Source schema for Volcengine::EMR::ClusterUser
|
|
4
|
+
*/
|
|
5
|
+
export declare function getClusterUser(args: GetClusterUserArgs, opts?: pulumi.InvokeOptions): Promise<GetClusterUserResult>;
|
|
6
|
+
/**
|
|
7
|
+
* A collection of arguments for invoking getClusterUser.
|
|
8
|
+
*/
|
|
9
|
+
export interface GetClusterUserArgs {
|
|
10
|
+
/**
|
|
11
|
+
* Uniquely identifies the resource.
|
|
12
|
+
*/
|
|
13
|
+
id: string;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* A collection of values returned by getClusterUser.
|
|
17
|
+
*/
|
|
18
|
+
export interface GetClusterUserResult {
|
|
19
|
+
/**
|
|
20
|
+
* 集群ID。
|
|
21
|
+
*/
|
|
22
|
+
readonly clusterId: string;
|
|
23
|
+
/**
|
|
24
|
+
* 创建时间。
|
|
25
|
+
*/
|
|
26
|
+
readonly createdTime: number;
|
|
27
|
+
/**
|
|
28
|
+
* 创建者用户名。
|
|
29
|
+
*/
|
|
30
|
+
readonly creatorName: string;
|
|
31
|
+
/**
|
|
32
|
+
* 用户组描述。
|
|
33
|
+
*/
|
|
34
|
+
readonly description: string;
|
|
35
|
+
/**
|
|
36
|
+
* Uniquely identifies the resource.
|
|
37
|
+
*/
|
|
38
|
+
readonly id: string;
|
|
39
|
+
/**
|
|
40
|
+
* 旧的用户的登录密码。修改密码时必填。
|
|
41
|
+
*/
|
|
42
|
+
readonly oldPassword: string;
|
|
43
|
+
/**
|
|
44
|
+
* 新的用户的登录密码。密码的长度需在8-20个字符之间,支持数字,字母,-,_ 且 至少包含1个数字和1个字母。
|
|
45
|
+
*/
|
|
46
|
+
readonly password: string;
|
|
47
|
+
/**
|
|
48
|
+
* 更新时间。
|
|
49
|
+
*/
|
|
50
|
+
readonly updatedTime: number;
|
|
51
|
+
/**
|
|
52
|
+
* 所属用户组名称。
|
|
53
|
+
*/
|
|
54
|
+
readonly userGroupNames: string[];
|
|
55
|
+
/**
|
|
56
|
+
* 集群用户名。仅支持小写字母。
|
|
57
|
+
*/
|
|
58
|
+
readonly userName: string;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Data Source schema for Volcengine::EMR::ClusterUser
|
|
62
|
+
*/
|
|
63
|
+
export declare function getClusterUserOutput(args: GetClusterUserOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetClusterUserResult>;
|
|
64
|
+
/**
|
|
65
|
+
* A collection of arguments for invoking getClusterUser.
|
|
66
|
+
*/
|
|
67
|
+
export interface GetClusterUserOutputArgs {
|
|
68
|
+
/**
|
|
69
|
+
* Uniquely identifies the resource.
|
|
70
|
+
*/
|
|
71
|
+
id: pulumi.Input<string>;
|
|
72
|
+
}
|
|
@@ -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.getClusterUserOutput = exports.getClusterUser = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Data Source schema for Volcengine::EMR::ClusterUser
|
|
10
|
+
*/
|
|
11
|
+
function getClusterUser(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("volcenginecc:emr/getClusterUser:getClusterUser", {
|
|
14
|
+
"id": args.id,
|
|
15
|
+
}, opts);
|
|
16
|
+
}
|
|
17
|
+
exports.getClusterUser = getClusterUser;
|
|
18
|
+
/**
|
|
19
|
+
* Data Source schema for Volcengine::EMR::ClusterUser
|
|
20
|
+
*/
|
|
21
|
+
function getClusterUserOutput(args, opts) {
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invokeOutput("volcenginecc:emr/getClusterUser:getClusterUser", {
|
|
24
|
+
"id": args.id,
|
|
25
|
+
}, opts);
|
|
26
|
+
}
|
|
27
|
+
exports.getClusterUserOutput = getClusterUserOutput;
|
|
28
|
+
//# sourceMappingURL=getClusterUser.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getClusterUser.js","sourceRoot":"","sources":["../../emr/getClusterUser.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,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,wCAKC;AAyDD;;GAEG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAAiC;IAClG,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,oDAKC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Data Source schema for Volcengine::EMR::ClusterUserGroup
|
|
4
|
+
*/
|
|
5
|
+
export declare function getClusterUserGroup(args: GetClusterUserGroupArgs, opts?: pulumi.InvokeOptions): Promise<GetClusterUserGroupResult>;
|
|
6
|
+
/**
|
|
7
|
+
* A collection of arguments for invoking getClusterUserGroup.
|
|
8
|
+
*/
|
|
9
|
+
export interface GetClusterUserGroupArgs {
|
|
10
|
+
/**
|
|
11
|
+
* Uniquely identifies the resource.
|
|
12
|
+
*/
|
|
13
|
+
id: string;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* A collection of values returned by getClusterUserGroup.
|
|
17
|
+
*/
|
|
18
|
+
export interface GetClusterUserGroupResult {
|
|
19
|
+
/**
|
|
20
|
+
* 集群ID。
|
|
21
|
+
*/
|
|
22
|
+
readonly clusterId: string;
|
|
23
|
+
/**
|
|
24
|
+
* 用户组描述。
|
|
25
|
+
*/
|
|
26
|
+
readonly description: string;
|
|
27
|
+
/**
|
|
28
|
+
* Uniquely identifies the resource.
|
|
29
|
+
*/
|
|
30
|
+
readonly id: string;
|
|
31
|
+
/**
|
|
32
|
+
* 用户组成员。不支持操作特殊用户,如admin等。
|
|
33
|
+
*/
|
|
34
|
+
readonly members: string[];
|
|
35
|
+
/**
|
|
36
|
+
* 用户组名称。
|
|
37
|
+
*/
|
|
38
|
+
readonly userGroupName: string;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Data Source schema for Volcengine::EMR::ClusterUserGroup
|
|
42
|
+
*/
|
|
43
|
+
export declare function getClusterUserGroupOutput(args: GetClusterUserGroupOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetClusterUserGroupResult>;
|
|
44
|
+
/**
|
|
45
|
+
* A collection of arguments for invoking getClusterUserGroup.
|
|
46
|
+
*/
|
|
47
|
+
export interface GetClusterUserGroupOutputArgs {
|
|
48
|
+
/**
|
|
49
|
+
* Uniquely identifies the resource.
|
|
50
|
+
*/
|
|
51
|
+
id: pulumi.Input<string>;
|
|
52
|
+
}
|