@volcengine/pulumi 0.0.31 → 0.0.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. package/dns/backup.d.ts +10 -1
  2. package/dns/backup.js +10 -1
  3. package/dns/backup.js.map +1 -1
  4. package/dns/zone.d.ts +1 -1
  5. package/dns/zone.js +1 -1
  6. package/ebs/getMaxExtraPerformances.d.ts +82 -0
  7. package/ebs/getMaxExtraPerformances.js +30 -0
  8. package/ebs/getMaxExtraPerformances.js.map +1 -0
  9. package/ebs/index.d.ts +6 -0
  10. package/ebs/index.js +7 -1
  11. package/ebs/index.js.map +1 -1
  12. package/ebs/maxExtraPerformances.d.ts +84 -0
  13. package/ebs/maxExtraPerformances.js +33 -0
  14. package/ebs/maxExtraPerformances.js.map +1 -0
  15. package/ebs/volume.d.ts +22 -14
  16. package/ebs/volume.js +7 -2
  17. package/ebs/volume.js.map +1 -1
  18. package/escloud_v2/escloudInstanceV2.d.ts +19 -3
  19. package/escloud_v2/escloudInstanceV2.js +19 -3
  20. package/escloud_v2/escloudInstanceV2.js.map +1 -1
  21. package/kafka/instance.d.ts +37 -0
  22. package/kafka/instance.js +37 -0
  23. package/kafka/instance.js.map +1 -1
  24. package/mongodb/instance.d.ts +66 -11
  25. package/mongodb/instance.js +40 -11
  26. package/mongodb/instance.js.map +1 -1
  27. package/package.json +1 -1
  28. package/rds_mysql/instance.d.ts +42 -8
  29. package/rds_mysql/instance.js +42 -8
  30. package/rds_mysql/instance.js.map +1 -1
  31. package/rds_postgresql/instance.d.ts +54 -3
  32. package/rds_postgresql/instance.js +54 -3
  33. package/rds_postgresql/instance.js.map +1 -1
  34. package/redis/instance.d.ts +8 -1
  35. package/redis/instance.js +8 -1
  36. package/redis/instance.js.map +1 -1
  37. package/types/output.d.ts +220 -0
  38. package/vke/getPermissions.d.ts +137 -0
  39. package/vke/getPermissions.js +55 -0
  40. package/vke/getPermissions.js.map +1 -0
  41. package/vke/index.d.ts +9 -0
  42. package/vke/index.js +12 -1
  43. package/vke/index.js.map +1 -1
  44. package/vke/permission.d.ts +269 -0
  45. package/vke/permission.js +165 -0
  46. package/vke/permission.js.map +1 -0
  47. package/vke/permissions.d.ts +139 -0
  48. package/vke/permissions.js +58 -0
  49. package/vke/permissions.js.map +1 -0
  50. package/vpc/routeEntry.d.ts +27 -6
  51. package/vpc/routeEntry.js +27 -6
  52. package/vpc/routeEntry.js.map +1 -1
@@ -0,0 +1,137 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ /**
4
+ * Use this data source to query detailed information of vke permissions
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as volcengine from "@pulumi/volcengine";
10
+ *
11
+ * const foo = volcengine.vke.getPermissions({
12
+ * granteeType: "User",
13
+ * ids: ["apd10o9jhqqno0ba25****"],
14
+ * });
15
+ * ```
16
+ */
17
+ export declare function getPermissions(args?: GetPermissionsArgs, opts?: pulumi.InvokeOptions): Promise<GetPermissionsResult>;
18
+ /**
19
+ * A collection of arguments for invoking getPermissions.
20
+ */
21
+ export interface GetPermissionsArgs {
22
+ /**
23
+ * A list of Cluster IDs.
24
+ */
25
+ clusterIds?: string[];
26
+ /**
27
+ * A list of Grantee IDs.
28
+ */
29
+ granteeIds?: number[];
30
+ /**
31
+ * The type of Grantee. Valid values: `User`, `Role`.
32
+ */
33
+ granteeType?: string;
34
+ /**
35
+ * A list of RBAC Permission IDs.
36
+ */
37
+ ids?: string[];
38
+ /**
39
+ * A list of Namespaces.
40
+ */
41
+ namespaces?: string[];
42
+ /**
43
+ * File name where to save data source results.
44
+ */
45
+ outputFile?: string;
46
+ /**
47
+ * A list of RBAC Role Names.
48
+ */
49
+ roleNames?: string[];
50
+ /**
51
+ * The status of RBAC Permission.
52
+ */
53
+ status?: string;
54
+ }
55
+ /**
56
+ * A collection of values returned by getPermissions.
57
+ */
58
+ export interface GetPermissionsResult {
59
+ /**
60
+ * The collection of query.
61
+ */
62
+ readonly accessPolicies: outputs.vke.GetPermissionsAccessPolicy[];
63
+ readonly clusterIds?: string[];
64
+ readonly granteeIds?: number[];
65
+ /**
66
+ * The type of the Grantee.
67
+ */
68
+ readonly granteeType?: string;
69
+ /**
70
+ * The provider-assigned unique ID for this managed resource.
71
+ */
72
+ readonly id: string;
73
+ readonly ids?: string[];
74
+ readonly namespaces?: string[];
75
+ readonly outputFile?: string;
76
+ readonly roleNames?: string[];
77
+ /**
78
+ * The status of the RBAC Permission.
79
+ */
80
+ readonly status?: string;
81
+ /**
82
+ * The total count of query.
83
+ */
84
+ readonly totalCount: number;
85
+ }
86
+ /**
87
+ * Use this data source to query detailed information of vke permissions
88
+ * ## Example Usage
89
+ *
90
+ * ```typescript
91
+ * import * as pulumi from "@pulumi/pulumi";
92
+ * import * as volcengine from "@pulumi/volcengine";
93
+ *
94
+ * const foo = volcengine.vke.getPermissions({
95
+ * granteeType: "User",
96
+ * ids: ["apd10o9jhqqno0ba25****"],
97
+ * });
98
+ * ```
99
+ */
100
+ export declare function getPermissionsOutput(args?: GetPermissionsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetPermissionsResult>;
101
+ /**
102
+ * A collection of arguments for invoking getPermissions.
103
+ */
104
+ export interface GetPermissionsOutputArgs {
105
+ /**
106
+ * A list of Cluster IDs.
107
+ */
108
+ clusterIds?: pulumi.Input<pulumi.Input<string>[]>;
109
+ /**
110
+ * A list of Grantee IDs.
111
+ */
112
+ granteeIds?: pulumi.Input<pulumi.Input<number>[]>;
113
+ /**
114
+ * The type of Grantee. Valid values: `User`, `Role`.
115
+ */
116
+ granteeType?: pulumi.Input<string>;
117
+ /**
118
+ * A list of RBAC Permission IDs.
119
+ */
120
+ ids?: pulumi.Input<pulumi.Input<string>[]>;
121
+ /**
122
+ * A list of Namespaces.
123
+ */
124
+ namespaces?: pulumi.Input<pulumi.Input<string>[]>;
125
+ /**
126
+ * File name where to save data source results.
127
+ */
128
+ outputFile?: pulumi.Input<string>;
129
+ /**
130
+ * A list of RBAC Role Names.
131
+ */
132
+ roleNames?: pulumi.Input<pulumi.Input<string>[]>;
133
+ /**
134
+ * The status of RBAC Permission.
135
+ */
136
+ status?: pulumi.Input<string>;
137
+ }
@@ -0,0 +1,55 @@
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.getPermissionsOutput = exports.getPermissions = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Use this data source to query detailed information of vke permissions
10
+ * ## Example Usage
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as volcengine from "@pulumi/volcengine";
15
+ *
16
+ * const foo = volcengine.vke.getPermissions({
17
+ * granteeType: "User",
18
+ * ids: ["apd10o9jhqqno0ba25****"],
19
+ * });
20
+ * ```
21
+ */
22
+ function getPermissions(args, opts) {
23
+ args = args || {};
24
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
25
+ return pulumi.runtime.invoke("volcengine:vke/getPermissions:getPermissions", {
26
+ "clusterIds": args.clusterIds,
27
+ "granteeIds": args.granteeIds,
28
+ "granteeType": args.granteeType,
29
+ "ids": args.ids,
30
+ "namespaces": args.namespaces,
31
+ "outputFile": args.outputFile,
32
+ "roleNames": args.roleNames,
33
+ "status": args.status,
34
+ }, opts);
35
+ }
36
+ exports.getPermissions = getPermissions;
37
+ /**
38
+ * Use this data source to query detailed information of vke permissions
39
+ * ## Example Usage
40
+ *
41
+ * ```typescript
42
+ * import * as pulumi from "@pulumi/pulumi";
43
+ * import * as volcengine from "@pulumi/volcengine";
44
+ *
45
+ * const foo = volcengine.vke.getPermissions({
46
+ * granteeType: "User",
47
+ * ids: ["apd10o9jhqqno0ba25****"],
48
+ * });
49
+ * ```
50
+ */
51
+ function getPermissionsOutput(args, opts) {
52
+ return pulumi.output(args).apply((a) => getPermissions(a, opts));
53
+ }
54
+ exports.getPermissionsOutput = getPermissionsOutput;
55
+ //# sourceMappingURL=getPermissions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getPermissions.js","sourceRoot":"","sources":["../../vke/getPermissions.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;GAaG;AACH,SAAgB,cAAc,CAAC,IAAyB,EAAE,IAA2B;IACjF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8CAA8C,EAAE;QACzE,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAdD,wCAcC;AAuED;;;;;;;;;;;;;GAaG;AACH,SAAgB,oBAAoB,CAAC,IAA+B,EAAE,IAA2B;IAC7F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,cAAc,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACzE,CAAC;AAFD,oDAEC"}
package/vke/index.d.ts CHANGED
@@ -31,6 +31,9 @@ export declare const getNodePoolsOutput: typeof import("./getNodePools").getNode
31
31
  export { GetNodesArgs, GetNodesResult, GetNodesOutputArgs } from "./getNodes";
32
32
  export declare const getNodes: typeof import("./getNodes").getNodes;
33
33
  export declare const getNodesOutput: typeof import("./getNodes").getNodesOutput;
34
+ export { GetPermissionsArgs, GetPermissionsResult, GetPermissionsOutputArgs } from "./getPermissions";
35
+ export declare const getPermissions: typeof import("./getPermissions").getPermissions;
36
+ export declare const getPermissionsOutput: typeof import("./getPermissions").getPermissionsOutput;
34
37
  export { GetSupportAddonsArgs, GetSupportAddonsResult, GetSupportAddonsOutputArgs } from "./getSupportAddons";
35
38
  export declare const getSupportAddons: typeof import("./getSupportAddons").getSupportAddons;
36
39
  export declare const getSupportAddonsOutput: typeof import("./getSupportAddons").getSupportAddonsOutput;
@@ -55,6 +58,12 @@ export declare const nodePoolsOutput: typeof import("./nodePools").nodePoolsOutp
55
58
  export { NodesArgs, NodesResult, NodesOutputArgs } from "./nodes";
56
59
  export declare const nodes: typeof import("./nodes").nodes;
57
60
  export declare const nodesOutput: typeof import("./nodes").nodesOutput;
61
+ export { PermissionArgs, PermissionState } from "./permission";
62
+ export type Permission = import("./permission").Permission;
63
+ export declare const Permission: typeof import("./permission").Permission;
64
+ export { PermissionsArgs, PermissionsResult, PermissionsOutputArgs } from "./permissions";
65
+ export declare const permissions: typeof import("./permissions").permissions;
66
+ export declare const permissionsOutput: typeof import("./permissions").permissionsOutput;
58
67
  export { SupportAddonsArgs, SupportAddonsResult, SupportAddonsOutputArgs } from "./supportAddons";
59
68
  export declare const supportAddons: typeof import("./supportAddons").supportAddons;
60
69
  export declare const supportAddonsOutput: typeof import("./supportAddons").supportAddonsOutput;
package/vke/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
  // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.supportResourceTypesOutput = exports.supportResourceTypes = exports.supportAddonsOutput = exports.supportAddons = exports.nodesOutput = exports.nodes = exports.nodePoolsOutput = exports.nodePools = exports.NodePool = exports.Node = exports.kubeconfigsOutput = exports.kubeconfigs = exports.Kubeconfig = exports.getSupportResourceTypesOutput = exports.getSupportResourceTypes = exports.getSupportAddonsOutput = exports.getSupportAddons = exports.getNodesOutput = exports.getNodes = exports.getNodePoolsOutput = exports.getNodePools = exports.getKubeconfigsOutput = exports.getKubeconfigs = exports.getClustersOutput = exports.getClusters = exports.getAddonsOutput = exports.getAddons = exports.DefaultNodePoolBatchAttach = exports.DefaultNodePool = exports.clustersOutput = exports.clusters = exports.Cluster = exports.addonsOutput = exports.addons = exports.Addon = void 0;
5
+ exports.supportResourceTypesOutput = exports.supportResourceTypes = exports.supportAddonsOutput = exports.supportAddons = exports.permissionsOutput = exports.permissions = exports.Permission = exports.nodesOutput = exports.nodes = exports.nodePoolsOutput = exports.nodePools = exports.NodePool = exports.Node = exports.kubeconfigsOutput = exports.kubeconfigs = exports.Kubeconfig = exports.getSupportResourceTypesOutput = exports.getSupportResourceTypes = exports.getSupportAddonsOutput = exports.getSupportAddons = exports.getPermissionsOutput = exports.getPermissions = exports.getNodesOutput = exports.getNodes = exports.getNodePoolsOutput = exports.getNodePools = exports.getKubeconfigsOutput = exports.getKubeconfigs = exports.getClustersOutput = exports.getClusters = exports.getAddonsOutput = exports.getAddons = exports.DefaultNodePoolBatchAttach = exports.DefaultNodePool = exports.clustersOutput = exports.clusters = exports.Cluster = exports.addonsOutput = exports.addons = exports.Addon = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  exports.Addon = null;
@@ -34,6 +34,9 @@ utilities.lazyLoad(exports, ["getNodePools", "getNodePoolsOutput"], () => requir
34
34
  exports.getNodes = null;
35
35
  exports.getNodesOutput = null;
36
36
  utilities.lazyLoad(exports, ["getNodes", "getNodesOutput"], () => require("./getNodes"));
37
+ exports.getPermissions = null;
38
+ exports.getPermissionsOutput = null;
39
+ utilities.lazyLoad(exports, ["getPermissions", "getPermissionsOutput"], () => require("./getPermissions"));
37
40
  exports.getSupportAddons = null;
38
41
  exports.getSupportAddonsOutput = null;
39
42
  utilities.lazyLoad(exports, ["getSupportAddons", "getSupportAddonsOutput"], () => require("./getSupportAddons"));
@@ -55,6 +58,11 @@ utilities.lazyLoad(exports, ["nodePools", "nodePoolsOutput"], () => require("./n
55
58
  exports.nodes = null;
56
59
  exports.nodesOutput = null;
57
60
  utilities.lazyLoad(exports, ["nodes", "nodesOutput"], () => require("./nodes"));
61
+ exports.Permission = null;
62
+ utilities.lazyLoad(exports, ["Permission"], () => require("./permission"));
63
+ exports.permissions = null;
64
+ exports.permissionsOutput = null;
65
+ utilities.lazyLoad(exports, ["permissions", "permissionsOutput"], () => require("./permissions"));
58
66
  exports.supportAddons = null;
59
67
  exports.supportAddonsOutput = null;
60
68
  utilities.lazyLoad(exports, ["supportAddons", "supportAddonsOutput"], () => require("./supportAddons"));
@@ -79,6 +87,8 @@ const _module = {
79
87
  return new exports.Node(name, undefined, { urn });
80
88
  case "volcengine:vke/nodePool:NodePool":
81
89
  return new exports.NodePool(name, undefined, { urn });
90
+ case "volcengine:vke/permission:Permission":
91
+ return new exports.Permission(name, undefined, { urn });
82
92
  default:
83
93
  throw new Error(`unknown resource type ${type}`);
84
94
  }
@@ -91,4 +101,5 @@ pulumi.runtime.registerResourceModule("volcengine", "vke/defaultNodePoolBatchAtt
91
101
  pulumi.runtime.registerResourceModule("volcengine", "vke/kubeconfig", _module);
92
102
  pulumi.runtime.registerResourceModule("volcengine", "vke/node", _module);
93
103
  pulumi.runtime.registerResourceModule("volcengine", "vke/nodePool", _module);
104
+ pulumi.runtime.registerResourceModule("volcengine", "vke/permission", _module);
94
105
  //# sourceMappingURL=index.js.map
package/vke/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../vke/index.ts"],"names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CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,UAAU,EAAE,OAAO,CAAC,CAAA;AACxE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,cAAc,EAAE,OAAO,CAAC,CAAA;AAC5E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,gBAAgB,EAAE,OAAO,CAAC,CAAA"}
@@ -0,0 +1,269 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Provides a resource to manage vke permission
4
+ * ## Example Usage
5
+ *
6
+ * ```typescript
7
+ * import * as pulumi from "@pulumi/pulumi";
8
+ * import * as volcengine from "@pulumi/volcengine";
9
+ * import * as volcengine from "@volcengine/pulumi";
10
+ *
11
+ * const fooZones = volcengine.ecs.getZones({});
12
+ * // create vpc
13
+ * const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
14
+ * vpcName: "acc-test-vpc",
15
+ * cidrBlock: "172.16.0.0/16",
16
+ * });
17
+ * // create subnet
18
+ * const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
19
+ * subnetName: "acc-test-subnet",
20
+ * cidrBlock: "172.16.0.0/24",
21
+ * zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
22
+ * vpcId: fooVpc.id,
23
+ * });
24
+ * // create security group
25
+ * const fooSecurityGroup = new volcengine.vpc.SecurityGroup("fooSecurityGroup", {
26
+ * securityGroupName: "acc-test-security-group",
27
+ * vpcId: fooVpc.id,
28
+ * });
29
+ * // create vke cluster
30
+ * const fooCluster = new volcengine.vke.Cluster("fooCluster", {
31
+ * description: "created by terraform",
32
+ * projectName: "default",
33
+ * deleteProtectionEnabled: false,
34
+ * clusterConfig: {
35
+ * subnetIds: [fooSubnet.id],
36
+ * apiServerPublicAccessEnabled: true,
37
+ * apiServerPublicAccessConfig: {
38
+ * publicAccessNetworkConfig: {
39
+ * billingType: "PostPaidByBandwidth",
40
+ * bandwidth: 1,
41
+ * },
42
+ * },
43
+ * resourcePublicAccessDefaultEnabled: true,
44
+ * },
45
+ * podsConfig: {
46
+ * podNetworkMode: "VpcCniShared",
47
+ * vpcCniConfig: {
48
+ * subnetIds: [fooSubnet.id],
49
+ * },
50
+ * },
51
+ * servicesConfig: {
52
+ * serviceCidrsv4s: ["172.30.0.0/18"],
53
+ * },
54
+ * tags: [{
55
+ * key: "tf-k1",
56
+ * value: "tf-v1",
57
+ * }],
58
+ * });
59
+ * const fooPermission = new volcengine.vke.Permission("fooPermission", {
60
+ * roleName: "vke:visitor",
61
+ * granteeId: 385500000,
62
+ * granteeType: "User",
63
+ * roleDomain: "cluster",
64
+ * clusterId: fooCluster.id,
65
+ * });
66
+ * ```
67
+ *
68
+ * ## Import
69
+ *
70
+ * VkePermission can be imported using the id, e.g.
71
+ *
72
+ * ```sh
73
+ * $ pulumi import volcengine:vke/permission:Permission default resource_id
74
+ * ```
75
+ */
76
+ export declare class Permission extends pulumi.CustomResource {
77
+ /**
78
+ * Get an existing Permission resource's state with the given name, ID, and optional extra
79
+ * properties used to qualify the lookup.
80
+ *
81
+ * @param name The _unique_ name of the resulting resource.
82
+ * @param id The _unique_ provider ID of the resource to lookup.
83
+ * @param state Any extra arguments used during the lookup.
84
+ * @param opts Optional settings to control the behavior of the CustomResource.
85
+ */
86
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: PermissionState, opts?: pulumi.CustomResourceOptions): Permission;
87
+ /**
88
+ * Returns true if the given object is an instance of Permission. This is designed to work even
89
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
90
+ */
91
+ static isInstance(obj: any): obj is Permission;
92
+ /**
93
+ * The authorized time of the RBAC Permission.
94
+ */
95
+ readonly authorizedAt: pulumi.Output<string>;
96
+ /**
97
+ * The ID of the Authorizer.
98
+ */
99
+ readonly authorizerId: pulumi.Output<number>;
100
+ /**
101
+ * The name of the Authorizer.
102
+ */
103
+ readonly authorizerName: pulumi.Output<string>;
104
+ /**
105
+ * The type of the Authorizer.
106
+ */
107
+ readonly authorizerType: pulumi.Output<string>;
108
+ /**
109
+ * The cluster ID that needs to be authorized to IAM users or roles.
110
+ */
111
+ readonly clusterId: pulumi.Output<string>;
112
+ /**
113
+ * The granted time of the RBAC Permission.
114
+ */
115
+ readonly grantedAt: pulumi.Output<string>;
116
+ /**
117
+ * The ID of the grantee.
118
+ */
119
+ readonly granteeId: pulumi.Output<number>;
120
+ /**
121
+ * The type of the grantee. Valid values: `User`.
122
+ */
123
+ readonly granteeType: pulumi.Output<string>;
124
+ /**
125
+ * Whether the RBAC role is a custom role. Default is false.
126
+ */
127
+ readonly isCustomRole: pulumi.Output<boolean>;
128
+ /**
129
+ * The name of the Kube Role Binding.
130
+ */
131
+ readonly kubeRoleBindingName: pulumi.Output<string>;
132
+ /**
133
+ * The message of the RBAC Permission.
134
+ */
135
+ readonly message: pulumi.Output<string>;
136
+ /**
137
+ * The namespace that needs to be authorized to IAM users or roles.
138
+ */
139
+ readonly namespace: pulumi.Output<string>;
140
+ /**
141
+ * The revoked time of the RBAC Permission.
142
+ */
143
+ readonly revokedAt: pulumi.Output<string>;
144
+ /**
145
+ * The types of permissions granted to IAM users or roles. Valid values: `namespace`, `cluster`, `allClusters`.
146
+ * When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.
147
+ */
148
+ readonly roleDomain: pulumi.Output<string>;
149
+ /**
150
+ * The name of RBAC role. The following RBAC permissions can be granted: custom role name, system preset role names.
151
+ */
152
+ readonly roleName: pulumi.Output<string>;
153
+ /**
154
+ * The status of the RBAC Permission.
155
+ */
156
+ readonly status: pulumi.Output<string>;
157
+ /**
158
+ * Create a Permission resource with the given unique name, arguments, and options.
159
+ *
160
+ * @param name The _unique_ name of the resource.
161
+ * @param args The arguments to use to populate this resource's properties.
162
+ * @param opts A bag of options that control this resource's behavior.
163
+ */
164
+ constructor(name: string, args: PermissionArgs, opts?: pulumi.CustomResourceOptions);
165
+ }
166
+ /**
167
+ * Input properties used for looking up and filtering Permission resources.
168
+ */
169
+ export interface PermissionState {
170
+ /**
171
+ * The authorized time of the RBAC Permission.
172
+ */
173
+ authorizedAt?: pulumi.Input<string>;
174
+ /**
175
+ * The ID of the Authorizer.
176
+ */
177
+ authorizerId?: pulumi.Input<number>;
178
+ /**
179
+ * The name of the Authorizer.
180
+ */
181
+ authorizerName?: pulumi.Input<string>;
182
+ /**
183
+ * The type of the Authorizer.
184
+ */
185
+ authorizerType?: pulumi.Input<string>;
186
+ /**
187
+ * The cluster ID that needs to be authorized to IAM users or roles.
188
+ */
189
+ clusterId?: pulumi.Input<string>;
190
+ /**
191
+ * The granted time of the RBAC Permission.
192
+ */
193
+ grantedAt?: pulumi.Input<string>;
194
+ /**
195
+ * The ID of the grantee.
196
+ */
197
+ granteeId?: pulumi.Input<number>;
198
+ /**
199
+ * The type of the grantee. Valid values: `User`.
200
+ */
201
+ granteeType?: pulumi.Input<string>;
202
+ /**
203
+ * Whether the RBAC role is a custom role. Default is false.
204
+ */
205
+ isCustomRole?: pulumi.Input<boolean>;
206
+ /**
207
+ * The name of the Kube Role Binding.
208
+ */
209
+ kubeRoleBindingName?: pulumi.Input<string>;
210
+ /**
211
+ * The message of the RBAC Permission.
212
+ */
213
+ message?: pulumi.Input<string>;
214
+ /**
215
+ * The namespace that needs to be authorized to IAM users or roles.
216
+ */
217
+ namespace?: pulumi.Input<string>;
218
+ /**
219
+ * The revoked time of the RBAC Permission.
220
+ */
221
+ revokedAt?: pulumi.Input<string>;
222
+ /**
223
+ * The types of permissions granted to IAM users or roles. Valid values: `namespace`, `cluster`, `allClusters`.
224
+ * When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.
225
+ */
226
+ roleDomain?: pulumi.Input<string>;
227
+ /**
228
+ * The name of RBAC role. The following RBAC permissions can be granted: custom role name, system preset role names.
229
+ */
230
+ roleName?: pulumi.Input<string>;
231
+ /**
232
+ * The status of the RBAC Permission.
233
+ */
234
+ status?: pulumi.Input<string>;
235
+ }
236
+ /**
237
+ * The set of arguments for constructing a Permission resource.
238
+ */
239
+ export interface PermissionArgs {
240
+ /**
241
+ * The cluster ID that needs to be authorized to IAM users or roles.
242
+ */
243
+ clusterId?: pulumi.Input<string>;
244
+ /**
245
+ * The ID of the grantee.
246
+ */
247
+ granteeId: pulumi.Input<number>;
248
+ /**
249
+ * The type of the grantee. Valid values: `User`.
250
+ */
251
+ granteeType: pulumi.Input<string>;
252
+ /**
253
+ * Whether the RBAC role is a custom role. Default is false.
254
+ */
255
+ isCustomRole?: pulumi.Input<boolean>;
256
+ /**
257
+ * The namespace that needs to be authorized to IAM users or roles.
258
+ */
259
+ namespace?: pulumi.Input<string>;
260
+ /**
261
+ * The types of permissions granted to IAM users or roles. Valid values: `namespace`, `cluster`, `allClusters`.
262
+ * When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.
263
+ */
264
+ roleDomain: pulumi.Input<string>;
265
+ /**
266
+ * The name of RBAC role. The following RBAC permissions can be granted: custom role name, system preset role names.
267
+ */
268
+ roleName: pulumi.Input<string>;
269
+ }