@volcengine/pulumi 0.0.35 → 0.0.37
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/config/vars.d.ts +1 -0
- package/config/vars.js +6 -0
- package/config/vars.js.map +1 -1
- package/iam/getOidcProviders.d.ts +62 -0
- package/iam/getOidcProviders.js +42 -0
- package/iam/getOidcProviders.js.map +1 -0
- package/iam/index.d.ts +12 -0
- package/iam/index.js +17 -1
- package/iam/index.js.map +1 -1
- package/iam/oidcProvider.d.ts +164 -0
- package/iam/oidcProvider.js +109 -0
- package/iam/oidcProvider.js.map +1 -0
- package/iam/oidcProviders.d.ts +64 -0
- package/iam/oidcProviders.js +45 -0
- package/iam/oidcProviders.js.map +1 -0
- package/iam/serviceLinkedRole.d.ts +91 -0
- package/iam/serviceLinkedRole.js +77 -0
- package/iam/serviceLinkedRole.js.map +1 -0
- package/package.json +1 -1
- package/provider.d.ts +5 -0
- package/provider.js +1 -0
- package/provider.js.map +1 -1
- package/redis/getPitrTimeWindows.d.ts +50 -0
- package/redis/getPitrTimeWindows.js +32 -0
- package/redis/getPitrTimeWindows.js.map +1 -1
- package/redis/pitrTimeWindows.d.ts +50 -0
- package/redis/pitrTimeWindows.js +32 -0
- package/redis/pitrTimeWindows.js.map +1 -1
- package/types/input.d.ts +68 -0
- package/types/output.d.ts +256 -4
- package/vke/cluster.d.ts +24 -0
- package/vke/cluster.js +8 -0
- package/vke/cluster.js.map +1 -1
- package/vke/nodePool.d.ts +12 -0
- package/vke/nodePool.js +2 -0
- package/vke/nodePool.js.map +1 -1
|
@@ -0,0 +1,45 @@
|
|
|
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.oidcProvidersOutput = exports.oidcProviders = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to query detailed information of iam oidc providers
|
|
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.iam.getOidcProviders({});
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
/** @deprecated volcengine.iam.OidcProviders has been deprecated in favor of volcengine.iam.getOidcProviders */
|
|
20
|
+
function oidcProviders(args, opts) {
|
|
21
|
+
pulumi.log.warn("oidcProviders is deprecated: volcengine.iam.OidcProviders has been deprecated in favor of volcengine.iam.getOidcProviders");
|
|
22
|
+
args = args || {};
|
|
23
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
24
|
+
return pulumi.runtime.invoke("volcengine:iam/oidcProviders:OidcProviders", {
|
|
25
|
+
"outputFile": args.outputFile,
|
|
26
|
+
}, opts);
|
|
27
|
+
}
|
|
28
|
+
exports.oidcProviders = oidcProviders;
|
|
29
|
+
/**
|
|
30
|
+
* Use this data source to query detailed information of iam oidc providers
|
|
31
|
+
* ## Example Usage
|
|
32
|
+
*
|
|
33
|
+
* ```typescript
|
|
34
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
35
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
36
|
+
*
|
|
37
|
+
* const foo = volcengine.iam.getOidcProviders({});
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
/** @deprecated volcengine.iam.OidcProviders has been deprecated in favor of volcengine.iam.getOidcProviders */
|
|
41
|
+
function oidcProvidersOutput(args, opts) {
|
|
42
|
+
return pulumi.output(args).apply((a) => oidcProviders(a, opts));
|
|
43
|
+
}
|
|
44
|
+
exports.oidcProvidersOutput = oidcProvidersOutput;
|
|
45
|
+
//# sourceMappingURL=oidcProviders.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"oidcProviders.js","sourceRoot":"","sources":["../../iam/oidcProviders.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;GAUG;AACH,+GAA+G;AAC/G,SAAgB,aAAa,CAAC,IAAwB,EAAE,IAA2B;IAC/E,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,2HAA2H,CAAC,CAAA;IAC5I,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,4CAA4C,EAAE;QACvE,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,sCAQC;AA8BD;;;;;;;;;;GAUG;AACH,+GAA+G;AAC/G,SAAgB,mBAAmB,CAAC,IAA8B,EAAE,IAA2B;IAC3F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,aAAa,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACxE,CAAC;AAFD,kDAEC"}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides a resource to manage iam service linked role
|
|
4
|
+
* ## Example Usage
|
|
5
|
+
*
|
|
6
|
+
* ```typescript
|
|
7
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
8
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
9
|
+
*
|
|
10
|
+
* const foo = new volcengine.iam.ServiceLinkedRole("foo", {serviceName: "ecs"});
|
|
11
|
+
* ```
|
|
12
|
+
*
|
|
13
|
+
* ## Import
|
|
14
|
+
*
|
|
15
|
+
* IamServiceLinkedRole can be imported using the id, e.g.
|
|
16
|
+
*
|
|
17
|
+
* ```sh
|
|
18
|
+
* $ pulumi import volcengine:iam/serviceLinkedRole:ServiceLinkedRole default resource_id
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
export declare class ServiceLinkedRole extends pulumi.CustomResource {
|
|
22
|
+
/**
|
|
23
|
+
* Get an existing ServiceLinkedRole resource's state with the given name, ID, and optional extra
|
|
24
|
+
* properties used to qualify the lookup.
|
|
25
|
+
*
|
|
26
|
+
* @param name The _unique_ name of the resulting resource.
|
|
27
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
28
|
+
* @param state Any extra arguments used during the lookup.
|
|
29
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
30
|
+
*/
|
|
31
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ServiceLinkedRoleState, opts?: pulumi.CustomResourceOptions): ServiceLinkedRole;
|
|
32
|
+
/**
|
|
33
|
+
* Returns true if the given object is an instance of ServiceLinkedRole. This is designed to work even
|
|
34
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
35
|
+
*/
|
|
36
|
+
static isInstance(obj: any): obj is ServiceLinkedRole;
|
|
37
|
+
/**
|
|
38
|
+
* The id of the role.
|
|
39
|
+
*/
|
|
40
|
+
readonly roleId: pulumi.Output<number>;
|
|
41
|
+
/**
|
|
42
|
+
* The name of the role.
|
|
43
|
+
*/
|
|
44
|
+
readonly roleName: pulumi.Output<string>;
|
|
45
|
+
/**
|
|
46
|
+
* The name of the service.
|
|
47
|
+
*/
|
|
48
|
+
readonly serviceName: pulumi.Output<string>;
|
|
49
|
+
/**
|
|
50
|
+
* The status of the role.
|
|
51
|
+
*/
|
|
52
|
+
readonly status: pulumi.Output<string>;
|
|
53
|
+
/**
|
|
54
|
+
* Create a ServiceLinkedRole resource with the given unique name, arguments, and options.
|
|
55
|
+
*
|
|
56
|
+
* @param name The _unique_ name of the resource.
|
|
57
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
58
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
59
|
+
*/
|
|
60
|
+
constructor(name: string, args: ServiceLinkedRoleArgs, opts?: pulumi.CustomResourceOptions);
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Input properties used for looking up and filtering ServiceLinkedRole resources.
|
|
64
|
+
*/
|
|
65
|
+
export interface ServiceLinkedRoleState {
|
|
66
|
+
/**
|
|
67
|
+
* The id of the role.
|
|
68
|
+
*/
|
|
69
|
+
roleId?: pulumi.Input<number>;
|
|
70
|
+
/**
|
|
71
|
+
* The name of the role.
|
|
72
|
+
*/
|
|
73
|
+
roleName?: pulumi.Input<string>;
|
|
74
|
+
/**
|
|
75
|
+
* The name of the service.
|
|
76
|
+
*/
|
|
77
|
+
serviceName?: pulumi.Input<string>;
|
|
78
|
+
/**
|
|
79
|
+
* The status of the role.
|
|
80
|
+
*/
|
|
81
|
+
status?: pulumi.Input<string>;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* The set of arguments for constructing a ServiceLinkedRole resource.
|
|
85
|
+
*/
|
|
86
|
+
export interface ServiceLinkedRoleArgs {
|
|
87
|
+
/**
|
|
88
|
+
* The name of the service.
|
|
89
|
+
*/
|
|
90
|
+
serviceName: pulumi.Input<string>;
|
|
91
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.ServiceLinkedRole = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a resource to manage iam service linked role
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
15
|
+
*
|
|
16
|
+
* const foo = new volcengine.iam.ServiceLinkedRole("foo", {serviceName: "ecs"});
|
|
17
|
+
* ```
|
|
18
|
+
*
|
|
19
|
+
* ## Import
|
|
20
|
+
*
|
|
21
|
+
* IamServiceLinkedRole can be imported using the id, e.g.
|
|
22
|
+
*
|
|
23
|
+
* ```sh
|
|
24
|
+
* $ pulumi import volcengine:iam/serviceLinkedRole:ServiceLinkedRole default resource_id
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
class ServiceLinkedRole extends pulumi.CustomResource {
|
|
28
|
+
/**
|
|
29
|
+
* Get an existing ServiceLinkedRole 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, id, state, opts) {
|
|
38
|
+
return new ServiceLinkedRole(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Returns true if the given object is an instance of ServiceLinkedRole. This is designed to work even
|
|
42
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
43
|
+
*/
|
|
44
|
+
static isInstance(obj) {
|
|
45
|
+
if (obj === undefined || obj === null) {
|
|
46
|
+
return false;
|
|
47
|
+
}
|
|
48
|
+
return obj['__pulumiType'] === ServiceLinkedRole.__pulumiType;
|
|
49
|
+
}
|
|
50
|
+
constructor(name, argsOrState, opts) {
|
|
51
|
+
let resourceInputs = {};
|
|
52
|
+
opts = opts || {};
|
|
53
|
+
if (opts.id) {
|
|
54
|
+
const state = argsOrState;
|
|
55
|
+
resourceInputs["roleId"] = state ? state.roleId : undefined;
|
|
56
|
+
resourceInputs["roleName"] = state ? state.roleName : undefined;
|
|
57
|
+
resourceInputs["serviceName"] = state ? state.serviceName : undefined;
|
|
58
|
+
resourceInputs["status"] = state ? state.status : undefined;
|
|
59
|
+
}
|
|
60
|
+
else {
|
|
61
|
+
const args = argsOrState;
|
|
62
|
+
if ((!args || args.serviceName === undefined) && !opts.urn) {
|
|
63
|
+
throw new Error("Missing required property 'serviceName'");
|
|
64
|
+
}
|
|
65
|
+
resourceInputs["serviceName"] = args ? args.serviceName : undefined;
|
|
66
|
+
resourceInputs["roleId"] = undefined /*out*/;
|
|
67
|
+
resourceInputs["roleName"] = undefined /*out*/;
|
|
68
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
69
|
+
}
|
|
70
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
71
|
+
super(ServiceLinkedRole.__pulumiType, name, resourceInputs, opts);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
exports.ServiceLinkedRole = ServiceLinkedRole;
|
|
75
|
+
/** @internal */
|
|
76
|
+
ServiceLinkedRole.__pulumiType = 'volcengine:iam/serviceLinkedRole:ServiceLinkedRole';
|
|
77
|
+
//# sourceMappingURL=serviceLinkedRole.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"serviceLinkedRole.js","sourceRoot":"","sources":["../../iam/serviceLinkedRole.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,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AG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;;AA1EL,8CA2EC;AA7DG,gBAAgB;AACO,8BAAY,GAAG,oDAAoD,CAAC"}
|
package/package.json
CHANGED
package/provider.d.ts
CHANGED
|
@@ -70,6 +70,11 @@ export interface ProviderArgs {
|
|
|
70
70
|
* supplied credentials.
|
|
71
71
|
*/
|
|
72
72
|
assumeRole?: pulumi.Input<inputs.ProviderAssumeRole>;
|
|
73
|
+
/**
|
|
74
|
+
* The ASSUME ROLE WITH OIDC block for Volcengine Provider. If provided, terraform will attempt to assume this role using
|
|
75
|
+
* the supplied credentials.
|
|
76
|
+
*/
|
|
77
|
+
assumeRoleWithOidc?: pulumi.Input<inputs.ProviderAssumeRoleWithOidc>;
|
|
73
78
|
/**
|
|
74
79
|
* CUSTOMER ENDPOINT SUFFIX for Volcengine Provider
|
|
75
80
|
*/
|
package/provider.js
CHANGED
|
@@ -36,6 +36,7 @@ class Provider extends pulumi.ProviderResource {
|
|
|
36
36
|
{
|
|
37
37
|
resourceInputs["accessKey"] = (_a = (args ? args.accessKey : undefined)) !== null && _a !== void 0 ? _a : utilities.getEnv("VOLCENGINE_ACCESS_KEY");
|
|
38
38
|
resourceInputs["assumeRole"] = pulumi.output(args ? args.assumeRole : undefined).apply(JSON.stringify);
|
|
39
|
+
resourceInputs["assumeRoleWithOidc"] = pulumi.output(args ? args.assumeRoleWithOidc : undefined).apply(JSON.stringify);
|
|
39
40
|
resourceInputs["customerEndpointSuffix"] = args ? args.customerEndpointSuffix : undefined;
|
|
40
41
|
resourceInputs["customerEndpoints"] = args ? args.customerEndpoints : undefined;
|
|
41
42
|
resourceInputs["customerHeaders"] = args ? args.customerHeaders : undefined;
|
package/provider.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;GAKG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,gBAAgB;IAIjD;;;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,mBAAmB,GAAG,QAAQ,CAAC,YAAY,CAAC;IAC/E,CAAC;IAuCD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAmB,EAAE,IAA6B;;QACxE,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB;YACI,cAAc,CAAC,WAAW,CAAC,GAAG,MAAA,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,mCAAI,SAAS,CAAC,MAAM,CAAC,uBAAuB,CAAC,CAAC;YAC/G,cAAc,CAAC,YAAY,CAAC,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;YACvG,cAAc,CAAC,wBAA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Q,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,QAAQ,CAAC,GAAG,MAAA,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC,mCAAI,SAAS,CAAC,MAAM,CAAC,mBAAmB,CAAC,CAAC;YACrG,cAAc,CAAC,WAAW,CAAC,GAAG,MAAA,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,mCAAI,SAAS,CAAC,MAAM,CAAC,uBAAuB,CAAC,CAAC;YAC/G,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;SACzE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;;AA/EL,4BAgFC;AA/EG,gBAAgB;AACO,qBAAY,GAAG,YAAY,CAAC"}
|
|
@@ -1,11 +1,33 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Use this data source to query detailed information of redis pitr time periods
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
10
|
+
*
|
|
11
|
+
* const default = volcengine.redis.getPitrTimeWindows({
|
|
12
|
+
* ids: [
|
|
13
|
+
* "redis-cnlficlt4974swtbz",
|
|
14
|
+
* "redis-cnlfq69d1y1tnguxz",
|
|
15
|
+
* ],
|
|
16
|
+
* });
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
3
19
|
export declare function getPitrTimeWindows(args: GetPitrTimeWindowsArgs, opts?: pulumi.InvokeOptions): Promise<GetPitrTimeWindowsResult>;
|
|
4
20
|
/**
|
|
5
21
|
* A collection of arguments for invoking getPitrTimeWindows.
|
|
6
22
|
*/
|
|
7
23
|
export interface GetPitrTimeWindowsArgs {
|
|
24
|
+
/**
|
|
25
|
+
* The ids of the instances.
|
|
26
|
+
*/
|
|
8
27
|
ids: string[];
|
|
28
|
+
/**
|
|
29
|
+
* File name where to save data source results.
|
|
30
|
+
*/
|
|
9
31
|
outputFile?: string;
|
|
10
32
|
}
|
|
11
33
|
/**
|
|
@@ -18,14 +40,42 @@ export interface GetPitrTimeWindowsResult {
|
|
|
18
40
|
readonly id: string;
|
|
19
41
|
readonly ids: string[];
|
|
20
42
|
readonly outputFile?: string;
|
|
43
|
+
/**
|
|
44
|
+
* The list of time windows.
|
|
45
|
+
*/
|
|
21
46
|
readonly periods: outputs.redis.GetPitrTimeWindowsPeriod[];
|
|
47
|
+
/**
|
|
48
|
+
* The total count of redis instances time window query.
|
|
49
|
+
*/
|
|
22
50
|
readonly totalCount: number;
|
|
23
51
|
}
|
|
52
|
+
/**
|
|
53
|
+
* Use this data source to query detailed information of redis pitr time periods
|
|
54
|
+
* ## Example Usage
|
|
55
|
+
*
|
|
56
|
+
* ```typescript
|
|
57
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
58
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
59
|
+
*
|
|
60
|
+
* const default = volcengine.redis.getPitrTimeWindows({
|
|
61
|
+
* ids: [
|
|
62
|
+
* "redis-cnlficlt4974swtbz",
|
|
63
|
+
* "redis-cnlfq69d1y1tnguxz",
|
|
64
|
+
* ],
|
|
65
|
+
* });
|
|
66
|
+
* ```
|
|
67
|
+
*/
|
|
24
68
|
export declare function getPitrTimeWindowsOutput(args: GetPitrTimeWindowsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetPitrTimeWindowsResult>;
|
|
25
69
|
/**
|
|
26
70
|
* A collection of arguments for invoking getPitrTimeWindows.
|
|
27
71
|
*/
|
|
28
72
|
export interface GetPitrTimeWindowsOutputArgs {
|
|
73
|
+
/**
|
|
74
|
+
* The ids of the instances.
|
|
75
|
+
*/
|
|
29
76
|
ids: pulumi.Input<pulumi.Input<string>[]>;
|
|
77
|
+
/**
|
|
78
|
+
* File name where to save data source results.
|
|
79
|
+
*/
|
|
30
80
|
outputFile?: pulumi.Input<string>;
|
|
31
81
|
}
|
|
@@ -5,6 +5,22 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.getPitrTimeWindowsOutput = exports.getPitrTimeWindows = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to query detailed information of redis pitr time periods
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
15
|
+
*
|
|
16
|
+
* const default = volcengine.redis.getPitrTimeWindows({
|
|
17
|
+
* ids: [
|
|
18
|
+
* "redis-cnlficlt4974swtbz",
|
|
19
|
+
* "redis-cnlfq69d1y1tnguxz",
|
|
20
|
+
* ],
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
8
24
|
function getPitrTimeWindows(args, opts) {
|
|
9
25
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
10
26
|
return pulumi.runtime.invoke("volcengine:redis/getPitrTimeWindows:getPitrTimeWindows", {
|
|
@@ -13,6 +29,22 @@ function getPitrTimeWindows(args, opts) {
|
|
|
13
29
|
}, opts);
|
|
14
30
|
}
|
|
15
31
|
exports.getPitrTimeWindows = getPitrTimeWindows;
|
|
32
|
+
/**
|
|
33
|
+
* Use this data source to query detailed information of redis pitr time periods
|
|
34
|
+
* ## Example Usage
|
|
35
|
+
*
|
|
36
|
+
* ```typescript
|
|
37
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
38
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
39
|
+
*
|
|
40
|
+
* const default = volcengine.redis.getPitrTimeWindows({
|
|
41
|
+
* ids: [
|
|
42
|
+
* "redis-cnlficlt4974swtbz",
|
|
43
|
+
* "redis-cnlfq69d1y1tnguxz",
|
|
44
|
+
* ],
|
|
45
|
+
* });
|
|
46
|
+
* ```
|
|
47
|
+
*/
|
|
16
48
|
function getPitrTimeWindowsOutput(args, opts) {
|
|
17
49
|
return pulumi.output(args).apply((a) => getPitrTimeWindows(a, opts));
|
|
18
50
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getPitrTimeWindows.js","sourceRoot":"","sources":["../../redis/getPitrTimeWindows.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IAExF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wDAAwD,EAAE;QACnF,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,gDAOC;
|
|
1
|
+
{"version":3,"file":"getPitrTimeWindows.js","sourceRoot":"","sources":["../../redis/getPitrTimeWindows.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IAExF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wDAAwD,EAAE;QACnF,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,gDAOC;AAmCD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAA2B;IACpG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,kBAAkB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC7E,CAAC;AAFD,4DAEC"}
|
|
@@ -1,12 +1,34 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Use this data source to query detailed information of redis pitr time periods
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
10
|
+
*
|
|
11
|
+
* const default = volcengine.redis.getPitrTimeWindows({
|
|
12
|
+
* ids: [
|
|
13
|
+
* "redis-cnlficlt4974swtbz",
|
|
14
|
+
* "redis-cnlfq69d1y1tnguxz",
|
|
15
|
+
* ],
|
|
16
|
+
* });
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
3
19
|
/** @deprecated volcengine.redis.PitrTimeWindows has been deprecated in favor of volcengine.redis.getPitrTimeWindows */
|
|
4
20
|
export declare function pitrTimeWindows(args: PitrTimeWindowsArgs, opts?: pulumi.InvokeOptions): Promise<PitrTimeWindowsResult>;
|
|
5
21
|
/**
|
|
6
22
|
* A collection of arguments for invoking PitrTimeWindows.
|
|
7
23
|
*/
|
|
8
24
|
export interface PitrTimeWindowsArgs {
|
|
25
|
+
/**
|
|
26
|
+
* The ids of the instances.
|
|
27
|
+
*/
|
|
9
28
|
ids: string[];
|
|
29
|
+
/**
|
|
30
|
+
* File name where to save data source results.
|
|
31
|
+
*/
|
|
10
32
|
outputFile?: string;
|
|
11
33
|
}
|
|
12
34
|
/**
|
|
@@ -19,15 +41,43 @@ export interface PitrTimeWindowsResult {
|
|
|
19
41
|
readonly id: string;
|
|
20
42
|
readonly ids: string[];
|
|
21
43
|
readonly outputFile?: string;
|
|
44
|
+
/**
|
|
45
|
+
* The list of time windows.
|
|
46
|
+
*/
|
|
22
47
|
readonly periods: outputs.redis.PitrTimeWindowsPeriod[];
|
|
48
|
+
/**
|
|
49
|
+
* The total count of redis instances time window query.
|
|
50
|
+
*/
|
|
23
51
|
readonly totalCount: number;
|
|
24
52
|
}
|
|
53
|
+
/**
|
|
54
|
+
* Use this data source to query detailed information of redis pitr time periods
|
|
55
|
+
* ## Example Usage
|
|
56
|
+
*
|
|
57
|
+
* ```typescript
|
|
58
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
59
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
60
|
+
*
|
|
61
|
+
* const default = volcengine.redis.getPitrTimeWindows({
|
|
62
|
+
* ids: [
|
|
63
|
+
* "redis-cnlficlt4974swtbz",
|
|
64
|
+
* "redis-cnlfq69d1y1tnguxz",
|
|
65
|
+
* ],
|
|
66
|
+
* });
|
|
67
|
+
* ```
|
|
68
|
+
*/
|
|
25
69
|
/** @deprecated volcengine.redis.PitrTimeWindows has been deprecated in favor of volcengine.redis.getPitrTimeWindows */
|
|
26
70
|
export declare function pitrTimeWindowsOutput(args: PitrTimeWindowsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<PitrTimeWindowsResult>;
|
|
27
71
|
/**
|
|
28
72
|
* A collection of arguments for invoking PitrTimeWindows.
|
|
29
73
|
*/
|
|
30
74
|
export interface PitrTimeWindowsOutputArgs {
|
|
75
|
+
/**
|
|
76
|
+
* The ids of the instances.
|
|
77
|
+
*/
|
|
31
78
|
ids: pulumi.Input<pulumi.Input<string>[]>;
|
|
79
|
+
/**
|
|
80
|
+
* File name where to save data source results.
|
|
81
|
+
*/
|
|
32
82
|
outputFile?: pulumi.Input<string>;
|
|
33
83
|
}
|
package/redis/pitrTimeWindows.js
CHANGED
|
@@ -5,6 +5,22 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.pitrTimeWindowsOutput = exports.pitrTimeWindows = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to query detailed information of redis pitr time periods
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
15
|
+
*
|
|
16
|
+
* const default = volcengine.redis.getPitrTimeWindows({
|
|
17
|
+
* ids: [
|
|
18
|
+
* "redis-cnlficlt4974swtbz",
|
|
19
|
+
* "redis-cnlfq69d1y1tnguxz",
|
|
20
|
+
* ],
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
8
24
|
/** @deprecated volcengine.redis.PitrTimeWindows has been deprecated in favor of volcengine.redis.getPitrTimeWindows */
|
|
9
25
|
function pitrTimeWindows(args, opts) {
|
|
10
26
|
pulumi.log.warn("pitrTimeWindows is deprecated: volcengine.redis.PitrTimeWindows has been deprecated in favor of volcengine.redis.getPitrTimeWindows");
|
|
@@ -15,6 +31,22 @@ function pitrTimeWindows(args, opts) {
|
|
|
15
31
|
}, opts);
|
|
16
32
|
}
|
|
17
33
|
exports.pitrTimeWindows = pitrTimeWindows;
|
|
34
|
+
/**
|
|
35
|
+
* Use this data source to query detailed information of redis pitr time periods
|
|
36
|
+
* ## Example Usage
|
|
37
|
+
*
|
|
38
|
+
* ```typescript
|
|
39
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
40
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
41
|
+
*
|
|
42
|
+
* const default = volcengine.redis.getPitrTimeWindows({
|
|
43
|
+
* ids: [
|
|
44
|
+
* "redis-cnlficlt4974swtbz",
|
|
45
|
+
* "redis-cnlfq69d1y1tnguxz",
|
|
46
|
+
* ],
|
|
47
|
+
* });
|
|
48
|
+
* ```
|
|
49
|
+
*/
|
|
18
50
|
/** @deprecated volcengine.redis.PitrTimeWindows has been deprecated in favor of volcengine.redis.getPitrTimeWindows */
|
|
19
51
|
function pitrTimeWindowsOutput(args, opts) {
|
|
20
52
|
return pulumi.output(args).apply((a) => pitrTimeWindows(a, opts));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pitrTimeWindows.js","sourceRoot":"","sources":["../../redis/pitrTimeWindows.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C,uHAAuH;AACvH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,qIAAqI,CAAC,CAAA;IAEtJ,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kDAAkD,EAAE;QAC7E,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,0CAQC;
|
|
1
|
+
{"version":3,"file":"pitrTimeWindows.js","sourceRoot":"","sources":["../../redis/pitrTimeWindows.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;GAeG;AACH,uHAAuH;AACvH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,qIAAqI,CAAC,CAAA;IAEtJ,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kDAAkD,EAAE;QAC7E,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,0CAQC;AAmCD;;;;;;;;;;;;;;;GAeG;AACH,uHAAuH;AACvH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,eAAe,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC1E,CAAC;AAFD,sDAEC"}
|
package/types/input.d.ts
CHANGED
|
@@ -18,6 +18,28 @@ export interface ProviderAssumeRole {
|
|
|
18
18
|
*/
|
|
19
19
|
policy?: pulumi.Input<string>;
|
|
20
20
|
}
|
|
21
|
+
export interface ProviderAssumeRoleWithOidc {
|
|
22
|
+
/**
|
|
23
|
+
* The duration of the session when making the AssumeRole call. Its value ranges from 900 to 43200(seconds), and default is 3600 seconds.
|
|
24
|
+
*/
|
|
25
|
+
durationSeconds: pulumi.Input<number>;
|
|
26
|
+
/**
|
|
27
|
+
* The OIDC token to use when making the AssumeRole call.
|
|
28
|
+
*/
|
|
29
|
+
oidcToken: pulumi.Input<string>;
|
|
30
|
+
/**
|
|
31
|
+
* A more restrictive policy when making the AssumeRole call.
|
|
32
|
+
*/
|
|
33
|
+
policy?: pulumi.Input<string>;
|
|
34
|
+
/**
|
|
35
|
+
* The session name to use when making the AssumeRole call.
|
|
36
|
+
*/
|
|
37
|
+
roleSessionName: pulumi.Input<string>;
|
|
38
|
+
/**
|
|
39
|
+
* The TRN of the role to assume, in the format `trn:iam:${AccountId}:role/${RoleName}`.
|
|
40
|
+
*/
|
|
41
|
+
roleTrn: pulumi.Input<string>;
|
|
42
|
+
}
|
|
21
43
|
export declare namespace alb {
|
|
22
44
|
interface AclAclEntry {
|
|
23
45
|
/**
|
|
@@ -7719,6 +7741,32 @@ export declare namespace vke {
|
|
|
7719
7741
|
*/
|
|
7720
7742
|
billingType?: pulumi.Input<string>;
|
|
7721
7743
|
}
|
|
7744
|
+
interface ClusterIrsaConfig {
|
|
7745
|
+
/**
|
|
7746
|
+
* The audience of the IRSA.
|
|
7747
|
+
*/
|
|
7748
|
+
audience?: pulumi.Input<string>;
|
|
7749
|
+
/**
|
|
7750
|
+
* Whether to enable IRSA for the cluster.
|
|
7751
|
+
*/
|
|
7752
|
+
enabled?: pulumi.Input<boolean>;
|
|
7753
|
+
/**
|
|
7754
|
+
* The issuer of the IRSA.
|
|
7755
|
+
*/
|
|
7756
|
+
issuer?: pulumi.Input<string>;
|
|
7757
|
+
/**
|
|
7758
|
+
* The JWKS URL of the IRSA.
|
|
7759
|
+
*/
|
|
7760
|
+
jwksUrl?: pulumi.Input<string>;
|
|
7761
|
+
/**
|
|
7762
|
+
* The OIDC trn of the IRSA.
|
|
7763
|
+
*/
|
|
7764
|
+
oidcTrn?: pulumi.Input<string>;
|
|
7765
|
+
/**
|
|
7766
|
+
* The OpenID Connect configuration URL of the IRSA.
|
|
7767
|
+
*/
|
|
7768
|
+
openIdConfigUrl?: pulumi.Input<string>;
|
|
7769
|
+
}
|
|
7722
7770
|
interface ClusterLoggingConfig {
|
|
7723
7771
|
/**
|
|
7724
7772
|
* The TLS log item ID of the collection target.
|
|
@@ -8363,6 +8411,26 @@ export declare namespace vke {
|
|
|
8363
8411
|
*/
|
|
8364
8412
|
value?: pulumi.Input<string>;
|
|
8365
8413
|
}
|
|
8414
|
+
interface NodePoolManagement {
|
|
8415
|
+
/**
|
|
8416
|
+
* Whether to enable the management function of the node pool. Default is `false`.
|
|
8417
|
+
*/
|
|
8418
|
+
enabled?: pulumi.Input<boolean>;
|
|
8419
|
+
/**
|
|
8420
|
+
* The Remedy Config of NodePool. This field is valid when the value of `enabled` is `true`.
|
|
8421
|
+
*/
|
|
8422
|
+
remedyConfig?: pulumi.Input<inputs.vke.NodePoolManagementRemedyConfig>;
|
|
8423
|
+
}
|
|
8424
|
+
interface NodePoolManagementRemedyConfig {
|
|
8425
|
+
/**
|
|
8426
|
+
* Whether to enable the remedy function of the node pool. Default is `false`.
|
|
8427
|
+
*/
|
|
8428
|
+
enabled?: pulumi.Input<boolean>;
|
|
8429
|
+
/**
|
|
8430
|
+
* The ID of the remedy policy. This field is valid when the value of `enabled` is `true`.
|
|
8431
|
+
*/
|
|
8432
|
+
id?: pulumi.Input<string>;
|
|
8433
|
+
}
|
|
8366
8434
|
interface NodePoolNodeConfig {
|
|
8367
8435
|
/**
|
|
8368
8436
|
* The AdditionalContainerStorageEnabled of NodeConfig.
|