@volcengine/pulumi-volcenginecc 0.0.37 → 0.0.38
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/directconnect/gatewayRoute.d.ts +142 -0
- package/directconnect/gatewayRoute.js +96 -0
- package/directconnect/gatewayRoute.js.map +1 -0
- package/directconnect/getGatewayRoute.d.ts +72 -0
- package/directconnect/getGatewayRoute.js +28 -0
- package/directconnect/getGatewayRoute.js.map +1 -0
- package/directconnect/getGatewayRoutes.d.ts +22 -0
- package/directconnect/getGatewayRoutes.js +24 -0
- package/directconnect/getGatewayRoutes.js.map +1 -0
- package/directconnect/getVirtualInterface.d.ts +133 -0
- package/directconnect/getVirtualInterface.js +28 -0
- package/directconnect/getVirtualInterface.js.map +1 -0
- package/directconnect/getVirtualInterfaces.d.ts +22 -0
- package/directconnect/getVirtualInterfaces.js +24 -0
- package/directconnect/getVirtualInterfaces.js.map +1 -0
- package/directconnect/index.d.ts +18 -0
- package/directconnect/index.js +23 -1
- package/directconnect/index.js.map +1 -1
- package/directconnect/virtualInterface.d.ts +336 -0
- package/directconnect/virtualInterface.js +149 -0
- package/directconnect/virtualInterface.js.map +1 -0
- package/gtm/getPool.d.ts +81 -0
- package/gtm/getPool.js +28 -0
- package/gtm/getPool.js.map +1 -0
- package/gtm/getPools.d.ts +22 -0
- package/gtm/getPools.js +24 -0
- package/gtm/getPools.js.map +1 -0
- package/gtm/index.d.ts +9 -0
- package/gtm/index.js +28 -0
- package/gtm/index.js.map +1 -0
- package/gtm/pool.d.ts +154 -0
- package/gtm/pool.js +87 -0
- package/gtm/pool.js.map +1 -0
- package/index.d.ts +2 -1
- package/index.js +3 -1
- package/index.js.map +1 -1
- package/kms/getSecret.d.ts +128 -0
- package/kms/getSecret.js +28 -0
- package/kms/getSecret.js.map +1 -0
- package/kms/getSecrets.d.ts +22 -0
- package/kms/getSecrets.js +24 -0
- package/kms/getSecrets.js.map +1 -0
- package/kms/index.d.ts +9 -0
- package/kms/index.js +12 -1
- package/kms/index.js.map +1 -1
- package/kms/secret.d.ts +289 -0
- package/kms/secret.js +131 -0
- package/kms/secret.js.map +1 -0
- package/package.json +1 -1
- package/tls/alarm.d.ts +215 -0
- package/tls/alarm.js +110 -0
- package/tls/alarm.js.map +1 -0
- package/tls/getAlarm.d.ts +109 -0
- package/tls/getAlarm.js +28 -0
- package/tls/getAlarm.js.map +1 -0
- package/tls/getAlarms.d.ts +22 -0
- package/tls/getAlarms.js +24 -0
- package/tls/getAlarms.js.map +1 -0
- package/tls/index.d.ts +9 -0
- package/tls/index.js +12 -1
- package/tls/index.js.map +1 -1
- package/types/input.d.ts +163 -1
- package/types/output.d.ts +522 -2
- package/vpn/getSslVpnServer.d.ts +109 -0
- package/vpn/getSslVpnServer.js +28 -0
- package/vpn/getSslVpnServer.js.map +1 -0
- package/vpn/getSslVpnServers.d.ts +22 -0
- package/vpn/getSslVpnServers.js +24 -0
- package/vpn/getSslVpnServers.js.map +1 -0
- package/vpn/getVpnGatewayRoute.d.ts +77 -0
- package/vpn/getVpnGatewayRoute.js +28 -0
- package/vpn/getVpnGatewayRoute.js.map +1 -0
- package/vpn/getVpnGatewayRoutes.d.ts +22 -0
- package/vpn/getVpnGatewayRoutes.js +24 -0
- package/vpn/getVpnGatewayRoutes.js.map +1 -0
- package/vpn/index.d.ts +18 -0
- package/vpn/index.js +23 -1
- package/vpn/index.js.map +1 -1
- package/vpn/sslVpnServer.d.ts +263 -0
- package/vpn/sslVpnServer.js +130 -0
- package/vpn/sslVpnServer.js.map +1 -0
- package/vpn/vpnGatewayRoute.d.ts +146 -0
- package/vpn/vpnGatewayRoute.js +98 -0
- package/vpn/vpnGatewayRoute.js.map +1 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Plural Data Source schema for Volcengine::GTM::Pool
|
|
4
|
+
*/
|
|
5
|
+
export declare function getPools(opts?: pulumi.InvokeOptions): Promise<GetPoolsResult>;
|
|
6
|
+
/**
|
|
7
|
+
* A collection of values returned by getPools.
|
|
8
|
+
*/
|
|
9
|
+
export interface GetPoolsResult {
|
|
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 Volcengine::GTM::Pool
|
|
21
|
+
*/
|
|
22
|
+
export declare function getPoolsOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPoolsResult>;
|
package/gtm/getPools.js
ADDED
|
@@ -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.getPoolsOutput = exports.getPools = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Plural Data Source schema for Volcengine::GTM::Pool
|
|
10
|
+
*/
|
|
11
|
+
function getPools(opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("volcenginecc:gtm/getPools:getPools", {}, opts);
|
|
14
|
+
}
|
|
15
|
+
exports.getPools = getPools;
|
|
16
|
+
/**
|
|
17
|
+
* Plural Data Source schema for Volcengine::GTM::Pool
|
|
18
|
+
*/
|
|
19
|
+
function getPoolsOutput(opts) {
|
|
20
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
21
|
+
return pulumi.runtime.invokeOutput("volcenginecc:gtm/getPools:getPools", {}, opts);
|
|
22
|
+
}
|
|
23
|
+
exports.getPoolsOutput = getPoolsOutput;
|
|
24
|
+
//# sourceMappingURL=getPools.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getPools.js","sourceRoot":"","sources":["../../gtm/getPools.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,QAAQ,CAAC,IAA2B;IAChD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oCAAoC,EAAE,EAClE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,4BAIC;AAeD;;GAEG;AACH,SAAgB,cAAc,CAAC,IAAiC;IAC5D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,oCAAoC,EAAE,EACxE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,wCAIC"}
|
package/gtm/index.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { GetPoolArgs, GetPoolResult, GetPoolOutputArgs } from "./getPool";
|
|
2
|
+
export declare const getPool: typeof import("./getPool").getPool;
|
|
3
|
+
export declare const getPoolOutput: typeof import("./getPool").getPoolOutput;
|
|
4
|
+
export { GetPoolsResult } from "./getPools";
|
|
5
|
+
export declare const getPools: typeof import("./getPools").getPools;
|
|
6
|
+
export declare const getPoolsOutput: typeof import("./getPools").getPoolsOutput;
|
|
7
|
+
export { PoolArgs, PoolState } from "./pool";
|
|
8
|
+
export type Pool = import("./pool").Pool;
|
|
9
|
+
export declare const Pool: typeof import("./pool").Pool;
|
package/gtm/index.js
ADDED
|
@@ -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.Pool = exports.getPoolsOutput = exports.getPools = exports.getPoolOutput = exports.getPool = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
exports.getPool = null;
|
|
9
|
+
exports.getPoolOutput = null;
|
|
10
|
+
utilities.lazyLoad(exports, ["getPool", "getPoolOutput"], () => require("./getPool"));
|
|
11
|
+
exports.getPools = null;
|
|
12
|
+
exports.getPoolsOutput = null;
|
|
13
|
+
utilities.lazyLoad(exports, ["getPools", "getPoolsOutput"], () => require("./getPools"));
|
|
14
|
+
exports.Pool = null;
|
|
15
|
+
utilities.lazyLoad(exports, ["Pool"], () => require("./pool"));
|
|
16
|
+
const _module = {
|
|
17
|
+
version: utilities.getVersion(),
|
|
18
|
+
construct: (name, type, urn) => {
|
|
19
|
+
switch (type) {
|
|
20
|
+
case "volcenginecc:gtm/pool:Pool":
|
|
21
|
+
return new exports.Pool(name, undefined, { urn });
|
|
22
|
+
default:
|
|
23
|
+
throw new Error(`unknown resource type ${type}`);
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
};
|
|
27
|
+
pulumi.runtime.registerResourceModule("volcenginecc", "gtm/pool", _module);
|
|
28
|
+
//# sourceMappingURL=index.js.map
|
package/gtm/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../gtm/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,QAAQ,CAAC,OAAO,EAAE,CAAC,UAAU,EAAC,gBAAgB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC;AAI3E,QAAA,IAAI,GAAiC,IAAW,CAAC;AAC9D,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC;AAG/D,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,4BAA4B;gBAC7B,OAAO,IAAI,YAAI,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAClD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,UAAU,EAAE,OAAO,CAAC,CAAA"}
|
package/gtm/pool.d.ts
ADDED
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* GTM address pool resource, belongs to a GTM instance and is used to carry the target address set and routing capacity configuration
|
|
6
|
+
*
|
|
7
|
+
* ## Import
|
|
8
|
+
*
|
|
9
|
+
* ```sh
|
|
10
|
+
* $ pulumi import volcenginecc:gtm/pool:Pool example "gtm_id|pool_id"
|
|
11
|
+
* ```
|
|
12
|
+
*/
|
|
13
|
+
export declare class Pool extends pulumi.CustomResource {
|
|
14
|
+
/**
|
|
15
|
+
* Get an existing Pool 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?: PoolState, opts?: pulumi.CustomResourceOptions): Pool;
|
|
24
|
+
/**
|
|
25
|
+
* Returns true if the given object is an instance of Pool. 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 Pool;
|
|
29
|
+
/**
|
|
30
|
+
* Target address type of the address pool. If you do not set this parameter, Cloud Scheduling GTM will automatically determine the target address type. ipv4: IPv4 address. ipv6: IPv6 address. cname: Domain name
|
|
31
|
+
*/
|
|
32
|
+
readonly addrType: pulumi.Output<string>;
|
|
33
|
+
readonly addresses: pulumi.Output<outputs.gtm.PoolAddress[]>;
|
|
34
|
+
/**
|
|
35
|
+
* Address pool capacity
|
|
36
|
+
*/
|
|
37
|
+
readonly capacity: pulumi.Output<number>;
|
|
38
|
+
/**
|
|
39
|
+
* Capacity mode, indicates whether to configure address pool capacity or address capacity
|
|
40
|
+
*/
|
|
41
|
+
readonly capacityMode: pulumi.Output<string>;
|
|
42
|
+
/**
|
|
43
|
+
* Creation time
|
|
44
|
+
*/
|
|
45
|
+
readonly createTime: pulumi.Output<string>;
|
|
46
|
+
/**
|
|
47
|
+
* Whether the address pool can be deleted. true: The address pool is not referenced by any routing rule and can be deleted. false: The address pool is referenced by one or more routing rules and cannot be deleted
|
|
48
|
+
*/
|
|
49
|
+
readonly deletable: pulumi.Output<boolean>;
|
|
50
|
+
/**
|
|
51
|
+
* UUID of the associated GTM instance
|
|
52
|
+
*/
|
|
53
|
+
readonly gtmId: pulumi.Output<string>;
|
|
54
|
+
/**
|
|
55
|
+
* Address pool name. UTF-8 format. Maximum length is 64 UTF-8 characters
|
|
56
|
+
*/
|
|
57
|
+
readonly name: pulumi.Output<string>;
|
|
58
|
+
/**
|
|
59
|
+
* Address pool ID
|
|
60
|
+
*/
|
|
61
|
+
readonly poolId: pulumi.Output<string>;
|
|
62
|
+
/**
|
|
63
|
+
* Address pool remarks. Default is an empty string. UTF-8 format. Maximum length is 128 UTF-8 characters
|
|
64
|
+
*/
|
|
65
|
+
readonly remark: pulumi.Output<string>;
|
|
66
|
+
/**
|
|
67
|
+
* Update time
|
|
68
|
+
*/
|
|
69
|
+
readonly updateTime: pulumi.Output<string>;
|
|
70
|
+
/**
|
|
71
|
+
* Create a Pool resource with the given unique name, arguments, and options.
|
|
72
|
+
*
|
|
73
|
+
* @param name The _unique_ name of the resource.
|
|
74
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
75
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
76
|
+
*/
|
|
77
|
+
constructor(name: string, args: PoolArgs, opts?: pulumi.CustomResourceOptions);
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Input properties used for looking up and filtering Pool resources.
|
|
81
|
+
*/
|
|
82
|
+
export interface PoolState {
|
|
83
|
+
/**
|
|
84
|
+
* Target address type of the address pool. If you do not set this parameter, Cloud Scheduling GTM will automatically determine the target address type. ipv4: IPv4 address. ipv6: IPv6 address. cname: Domain name
|
|
85
|
+
*/
|
|
86
|
+
addrType?: pulumi.Input<string>;
|
|
87
|
+
addresses?: pulumi.Input<pulumi.Input<inputs.gtm.PoolAddress>[]>;
|
|
88
|
+
/**
|
|
89
|
+
* Address pool capacity
|
|
90
|
+
*/
|
|
91
|
+
capacity?: pulumi.Input<number>;
|
|
92
|
+
/**
|
|
93
|
+
* Capacity mode, indicates whether to configure address pool capacity or address capacity
|
|
94
|
+
*/
|
|
95
|
+
capacityMode?: pulumi.Input<string>;
|
|
96
|
+
/**
|
|
97
|
+
* Creation time
|
|
98
|
+
*/
|
|
99
|
+
createTime?: pulumi.Input<string>;
|
|
100
|
+
/**
|
|
101
|
+
* Whether the address pool can be deleted. true: The address pool is not referenced by any routing rule and can be deleted. false: The address pool is referenced by one or more routing rules and cannot be deleted
|
|
102
|
+
*/
|
|
103
|
+
deletable?: pulumi.Input<boolean>;
|
|
104
|
+
/**
|
|
105
|
+
* UUID of the associated GTM instance
|
|
106
|
+
*/
|
|
107
|
+
gtmId?: pulumi.Input<string>;
|
|
108
|
+
/**
|
|
109
|
+
* Address pool name. UTF-8 format. Maximum length is 64 UTF-8 characters
|
|
110
|
+
*/
|
|
111
|
+
name?: pulumi.Input<string>;
|
|
112
|
+
/**
|
|
113
|
+
* Address pool ID
|
|
114
|
+
*/
|
|
115
|
+
poolId?: pulumi.Input<string>;
|
|
116
|
+
/**
|
|
117
|
+
* Address pool remarks. Default is an empty string. UTF-8 format. Maximum length is 128 UTF-8 characters
|
|
118
|
+
*/
|
|
119
|
+
remark?: pulumi.Input<string>;
|
|
120
|
+
/**
|
|
121
|
+
* Update time
|
|
122
|
+
*/
|
|
123
|
+
updateTime?: pulumi.Input<string>;
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* The set of arguments for constructing a Pool resource.
|
|
127
|
+
*/
|
|
128
|
+
export interface PoolArgs {
|
|
129
|
+
/**
|
|
130
|
+
* Target address type of the address pool. If you do not set this parameter, Cloud Scheduling GTM will automatically determine the target address type. ipv4: IPv4 address. ipv6: IPv6 address. cname: Domain name
|
|
131
|
+
*/
|
|
132
|
+
addrType?: pulumi.Input<string>;
|
|
133
|
+
addresses: pulumi.Input<pulumi.Input<inputs.gtm.PoolAddress>[]>;
|
|
134
|
+
/**
|
|
135
|
+
* Address pool capacity
|
|
136
|
+
*/
|
|
137
|
+
capacity?: pulumi.Input<number>;
|
|
138
|
+
/**
|
|
139
|
+
* Capacity mode, indicates whether to configure address pool capacity or address capacity
|
|
140
|
+
*/
|
|
141
|
+
capacityMode?: pulumi.Input<string>;
|
|
142
|
+
/**
|
|
143
|
+
* UUID of the associated GTM instance
|
|
144
|
+
*/
|
|
145
|
+
gtmId: pulumi.Input<string>;
|
|
146
|
+
/**
|
|
147
|
+
* Address pool name. UTF-8 format. Maximum length is 64 UTF-8 characters
|
|
148
|
+
*/
|
|
149
|
+
name: pulumi.Input<string>;
|
|
150
|
+
/**
|
|
151
|
+
* Address pool remarks. Default is an empty string. UTF-8 format. Maximum length is 128 UTF-8 characters
|
|
152
|
+
*/
|
|
153
|
+
remark?: pulumi.Input<string>;
|
|
154
|
+
}
|
package/gtm/pool.js
ADDED
|
@@ -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.Pool = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* GTM address pool resource, belongs to a GTM instance and is used to carry the target address set and routing capacity configuration
|
|
10
|
+
*
|
|
11
|
+
* ## Import
|
|
12
|
+
*
|
|
13
|
+
* ```sh
|
|
14
|
+
* $ pulumi import volcenginecc:gtm/pool:Pool example "gtm_id|pool_id"
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
class Pool extends pulumi.CustomResource {
|
|
18
|
+
/**
|
|
19
|
+
* Get an existing Pool 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 Pool(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Returns true if the given object is an instance of Pool. 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'] === Pool.__pulumiType;
|
|
39
|
+
}
|
|
40
|
+
constructor(name, argsOrState, opts) {
|
|
41
|
+
let resourceInputs = {};
|
|
42
|
+
opts = opts || {};
|
|
43
|
+
if (opts.id) {
|
|
44
|
+
const state = argsOrState;
|
|
45
|
+
resourceInputs["addrType"] = state ? state.addrType : undefined;
|
|
46
|
+
resourceInputs["addresses"] = state ? state.addresses : undefined;
|
|
47
|
+
resourceInputs["capacity"] = state ? state.capacity : undefined;
|
|
48
|
+
resourceInputs["capacityMode"] = state ? state.capacityMode : undefined;
|
|
49
|
+
resourceInputs["createTime"] = state ? state.createTime : undefined;
|
|
50
|
+
resourceInputs["deletable"] = state ? state.deletable : undefined;
|
|
51
|
+
resourceInputs["gtmId"] = state ? state.gtmId : undefined;
|
|
52
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
53
|
+
resourceInputs["poolId"] = state ? state.poolId : undefined;
|
|
54
|
+
resourceInputs["remark"] = state ? state.remark : undefined;
|
|
55
|
+
resourceInputs["updateTime"] = state ? state.updateTime : undefined;
|
|
56
|
+
}
|
|
57
|
+
else {
|
|
58
|
+
const args = argsOrState;
|
|
59
|
+
if ((!args || args.addresses === undefined) && !opts.urn) {
|
|
60
|
+
throw new Error("Missing required property 'addresses'");
|
|
61
|
+
}
|
|
62
|
+
if ((!args || args.gtmId === undefined) && !opts.urn) {
|
|
63
|
+
throw new Error("Missing required property 'gtmId'");
|
|
64
|
+
}
|
|
65
|
+
if ((!args || args.name === undefined) && !opts.urn) {
|
|
66
|
+
throw new Error("Missing required property 'name'");
|
|
67
|
+
}
|
|
68
|
+
resourceInputs["addrType"] = args ? args.addrType : undefined;
|
|
69
|
+
resourceInputs["addresses"] = args ? args.addresses : undefined;
|
|
70
|
+
resourceInputs["capacity"] = args ? args.capacity : undefined;
|
|
71
|
+
resourceInputs["capacityMode"] = args ? args.capacityMode : undefined;
|
|
72
|
+
resourceInputs["gtmId"] = args ? args.gtmId : undefined;
|
|
73
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
74
|
+
resourceInputs["remark"] = args ? args.remark : undefined;
|
|
75
|
+
resourceInputs["createTime"] = undefined /*out*/;
|
|
76
|
+
resourceInputs["deletable"] = undefined /*out*/;
|
|
77
|
+
resourceInputs["poolId"] = undefined /*out*/;
|
|
78
|
+
resourceInputs["updateTime"] = undefined /*out*/;
|
|
79
|
+
}
|
|
80
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
81
|
+
super(Pool.__pulumiType, name, resourceInputs, opts);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
exports.Pool = Pool;
|
|
85
|
+
/** @internal */
|
|
86
|
+
Pool.__pulumiType = 'volcenginecc:gtm/pool:Pool';
|
|
87
|
+
//# sourceMappingURL=pool.js.map
|
package/gtm/pool.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pool.js","sourceRoot":"","sources":["../../gtm/pool.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;GAQG;AACH,MAAa,IAAK,SAAQ,M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 import * as emr from "./emr";
|
|
|
20
20
|
import * as escloud from "./escloud";
|
|
21
21
|
import * as filenas from "./filenas";
|
|
22
22
|
import * as fwcenter from "./fwcenter";
|
|
23
|
+
import * as gtm from "./gtm";
|
|
23
24
|
import * as hbase from "./hbase";
|
|
24
25
|
import * as iam from "./iam";
|
|
25
26
|
import * as kafka from "./kafka";
|
|
@@ -48,4 +49,4 @@ import * as vmp from "./vmp";
|
|
|
48
49
|
import * as vpc from "./vpc";
|
|
49
50
|
import * as vpn from "./vpn";
|
|
50
51
|
import * as waf from "./waf";
|
|
51
|
-
export { alb, apig, ark, autoscaling, bmq, cbr, cdn, cen, clb, cloudidentity, cloudmonitor, config, cr, directconnect, dns, ecs, efs, emr, escloud, filenas, fwcenter, hbase, iam, kafka, kms, mongodb, natgateway, organization, privatelink, privatezone, rabbitmq, rdsmssql, rdsmysql, rdspostgresql, redis, rocketmq, storageebs, tls, tos, transitrouter, types, vedbm, vefaas, vepfs, vke, vmp, vpc, vpn, waf, };
|
|
52
|
+
export { alb, apig, ark, autoscaling, bmq, cbr, cdn, cen, clb, cloudidentity, cloudmonitor, config, cr, directconnect, dns, ecs, efs, emr, escloud, filenas, fwcenter, gtm, hbase, iam, kafka, kms, mongodb, natgateway, organization, privatelink, privatezone, rabbitmq, rdsmssql, rdsmysql, rdspostgresql, redis, rocketmq, storageebs, tls, tos, transitrouter, types, vedbm, vefaas, vepfs, vke, vmp, vpc, vpn, waf, };
|
package/index.js
CHANGED
|
@@ -16,7 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
17
17
|
};
|
|
18
18
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
-
exports.waf = exports.vpn = exports.vpc = exports.vmp = exports.vke = exports.vepfs = exports.vefaas = exports.vedbm = exports.types = exports.transitrouter = exports.tos = exports.tls = exports.storageebs = exports.rocketmq = exports.redis = exports.rdspostgresql = exports.rdsmysql = exports.rdsmssql = exports.rabbitmq = exports.privatezone = exports.privatelink = exports.organization = exports.natgateway = exports.mongodb = exports.kms = exports.kafka = exports.iam = exports.hbase = exports.fwcenter = exports.filenas = exports.escloud = exports.emr = exports.efs = exports.ecs = exports.dns = exports.directconnect = exports.cr = exports.config = exports.cloudmonitor = exports.cloudidentity = exports.clb = exports.cen = exports.cdn = exports.cbr = exports.bmq = exports.autoscaling = exports.ark = exports.apig = exports.alb = void 0;
|
|
19
|
+
exports.waf = exports.vpn = exports.vpc = exports.vmp = exports.vke = exports.vepfs = exports.vefaas = exports.vedbm = exports.types = exports.transitrouter = exports.tos = exports.tls = exports.storageebs = exports.rocketmq = exports.redis = exports.rdspostgresql = exports.rdsmysql = exports.rdsmssql = exports.rabbitmq = exports.privatezone = exports.privatelink = exports.organization = exports.natgateway = exports.mongodb = exports.kms = exports.kafka = exports.iam = exports.hbase = exports.gtm = exports.fwcenter = exports.filenas = exports.escloud = exports.emr = exports.efs = exports.ecs = exports.dns = exports.directconnect = exports.cr = exports.config = exports.cloudmonitor = exports.cloudidentity = exports.clb = exports.cen = exports.cdn = exports.cbr = exports.bmq = exports.autoscaling = exports.ark = exports.apig = exports.alb = void 0;
|
|
20
20
|
const pulumi = require("@pulumi/pulumi");
|
|
21
21
|
const utilities = require("./utilities");
|
|
22
22
|
// Export members:
|
|
@@ -65,6 +65,8 @@ const filenas = require("./filenas");
|
|
|
65
65
|
exports.filenas = filenas;
|
|
66
66
|
const fwcenter = require("./fwcenter");
|
|
67
67
|
exports.fwcenter = fwcenter;
|
|
68
|
+
const gtm = require("./gtm");
|
|
69
|
+
exports.gtm = gtm;
|
|
68
70
|
const hbase = require("./hbase");
|
|
69
71
|
exports.hbase = hbase;
|
|
70
72
|
const iam = require("./iam");
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"m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|
4
|
+
*/
|
|
5
|
+
export declare function getSecret(args: GetSecretArgs, opts?: pulumi.InvokeOptions): Promise<GetSecretResult>;
|
|
6
|
+
/**
|
|
7
|
+
* A collection of arguments for invoking getSecret.
|
|
8
|
+
*/
|
|
9
|
+
export interface GetSecretArgs {
|
|
10
|
+
/**
|
|
11
|
+
* Uniquely identifies the resource.
|
|
12
|
+
*/
|
|
13
|
+
id: string;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* A collection of values returned by getSecret.
|
|
17
|
+
*/
|
|
18
|
+
export interface GetSecretResult {
|
|
19
|
+
/**
|
|
20
|
+
* Whether to enable automatic rotation. Applies only to credentials of type IAM|RDS|Redis|ECS
|
|
21
|
+
*/
|
|
22
|
+
readonly automaticRotation: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Credential creation time
|
|
25
|
+
*/
|
|
26
|
+
readonly createdTime: number;
|
|
27
|
+
/**
|
|
28
|
+
* Credential description, length: 0 ~ 8192 characters
|
|
29
|
+
*/
|
|
30
|
+
readonly description: string;
|
|
31
|
+
/**
|
|
32
|
+
* KMS key TRN for encrypting credential value. If not specified, the default key of Credential Manager is used
|
|
33
|
+
*/
|
|
34
|
+
readonly encryptionKey: string;
|
|
35
|
+
/**
|
|
36
|
+
* Credential extension configuration, used to specify properties for non-Generic credentials
|
|
37
|
+
*/
|
|
38
|
+
readonly extendedConfig: string;
|
|
39
|
+
/**
|
|
40
|
+
* Uniquely identifies the resource.
|
|
41
|
+
*/
|
|
42
|
+
readonly id: string;
|
|
43
|
+
/**
|
|
44
|
+
* Credential last rotation time
|
|
45
|
+
*/
|
|
46
|
+
readonly lastRotationTime: string;
|
|
47
|
+
/**
|
|
48
|
+
* Is managed credential
|
|
49
|
+
*/
|
|
50
|
+
readonly managed: boolean;
|
|
51
|
+
/**
|
|
52
|
+
* Managed Cloud Service
|
|
53
|
+
*/
|
|
54
|
+
readonly owningService: string;
|
|
55
|
+
/**
|
|
56
|
+
* Credential project name. Default value: default
|
|
57
|
+
*/
|
|
58
|
+
readonly projectName: string;
|
|
59
|
+
/**
|
|
60
|
+
* Automatic rotation interval. Range: 1 ~ 365 days. Format: integer[unit], where integer is the duration and unit is the time unit. Unit value: d (days). For example: 7d means a 7-day interval
|
|
61
|
+
*/
|
|
62
|
+
readonly rotationInterval: string;
|
|
63
|
+
/**
|
|
64
|
+
* Automatic rotation interval, unit: seconds
|
|
65
|
+
*/
|
|
66
|
+
readonly rotationIntervalRead: number;
|
|
67
|
+
/**
|
|
68
|
+
* Rotation status: Enable: automatic rotation enabled, Disable: automatic rotation disabled, Rotating: automatic rotation in progress, None: automatic rotation not supported
|
|
69
|
+
*/
|
|
70
|
+
readonly rotationState: string;
|
|
71
|
+
/**
|
|
72
|
+
* Credential Scheduled Deletion Time
|
|
73
|
+
*/
|
|
74
|
+
readonly scheduleDeleteTime: string;
|
|
75
|
+
/**
|
|
76
|
+
* Credential next rotation time
|
|
77
|
+
*/
|
|
78
|
+
readonly scheduleRotationTime: string;
|
|
79
|
+
/**
|
|
80
|
+
* Credential unique identifier, UUID format
|
|
81
|
+
*/
|
|
82
|
+
readonly secretId: string;
|
|
83
|
+
/**
|
|
84
|
+
* Credential name. Valid characters: [a-zA-Z0-9/_+=.@-]
|
|
85
|
+
*/
|
|
86
|
+
readonly secretName: string;
|
|
87
|
+
/**
|
|
88
|
+
* Credential status. Enable: enabled, Disable: disabled, PendingDelete: scheduled for deletion
|
|
89
|
+
*/
|
|
90
|
+
readonly secretState: string;
|
|
91
|
+
/**
|
|
92
|
+
* Credential type. Currently supports Generic|IAM|RDS|Redis|ECS|PGSQL|SQLServer
|
|
93
|
+
*/
|
|
94
|
+
readonly secretType: string;
|
|
95
|
+
/**
|
|
96
|
+
* Credential value. When SecretType is Generic, users can customize it. It is recommended to use JSON key-value pairs
|
|
97
|
+
*/
|
|
98
|
+
readonly secretValue: string;
|
|
99
|
+
/**
|
|
100
|
+
* Credential resource name. Format: trn:kms:${Region}:${AccountID}:secrets/${secret}
|
|
101
|
+
*/
|
|
102
|
+
readonly trn: string;
|
|
103
|
+
/**
|
|
104
|
+
* Credential tenant ID
|
|
105
|
+
*/
|
|
106
|
+
readonly uid: string;
|
|
107
|
+
/**
|
|
108
|
+
* Credential update date
|
|
109
|
+
*/
|
|
110
|
+
readonly updatedTime: number;
|
|
111
|
+
/**
|
|
112
|
+
* Version alias. Valid characters: [a-zA-Z0-9/_+=.@-]
|
|
113
|
+
*/
|
|
114
|
+
readonly versionName: string;
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* Data Source schema for Volcengine::KMS::Secret
|
|
118
|
+
*/
|
|
119
|
+
export declare function getSecretOutput(args: GetSecretOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSecretResult>;
|
|
120
|
+
/**
|
|
121
|
+
* A collection of arguments for invoking getSecret.
|
|
122
|
+
*/
|
|
123
|
+
export interface GetSecretOutputArgs {
|
|
124
|
+
/**
|
|
125
|
+
* Uniquely identifies the resource.
|
|
126
|
+
*/
|
|
127
|
+
id: pulumi.Input<string>;
|
|
128
|
+
}
|
package/kms/getSecret.js
ADDED
|
@@ -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.getSecretOutput = exports.getSecret = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Data Source schema for Volcengine::KMS::Secret
|
|
10
|
+
*/
|
|
11
|
+
function getSecret(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("volcenginecc:kms/getSecret:getSecret", {
|
|
14
|
+
"id": args.id,
|
|
15
|
+
}, opts);
|
|
16
|
+
}
|
|
17
|
+
exports.getSecret = getSecret;
|
|
18
|
+
/**
|
|
19
|
+
* Data Source schema for Volcengine::KMS::Secret
|
|
20
|
+
*/
|
|
21
|
+
function getSecretOutput(args, opts) {
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invokeOutput("volcenginecc:kms/getSecret:getSecret", {
|
|
24
|
+
"id": args.id,
|
|
25
|
+
}, opts);
|
|
26
|
+
}
|
|
27
|
+
exports.getSecretOutput = getSecretOutput;
|
|
28
|
+
//# sourceMappingURL=getSecret.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getSecret.js","sourceRoot":"","sources":["../../kms/getSecret.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IACtE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sCAAsC,EAAE;QACjE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8BAKC;AAiHD;;GAEG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAAiC;IACxF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,sCAAsC,EAAE;QACvE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,0CAKC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Plural Data Source schema for Volcengine::KMS::Secret
|
|
4
|
+
*/
|
|
5
|
+
export declare function getSecrets(opts?: pulumi.InvokeOptions): Promise<GetSecretsResult>;
|
|
6
|
+
/**
|
|
7
|
+
* A collection of values returned by getSecrets.
|
|
8
|
+
*/
|
|
9
|
+
export interface GetSecretsResult {
|
|
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 Volcengine::KMS::Secret
|
|
21
|
+
*/
|
|
22
|
+
export declare function getSecretsOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSecretsResult>;
|
|
@@ -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.getSecretsOutput = exports.getSecrets = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Plural Data Source schema for Volcengine::KMS::Secret
|
|
10
|
+
*/
|
|
11
|
+
function getSecrets(opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("volcenginecc:kms/getSecrets:getSecrets", {}, opts);
|
|
14
|
+
}
|
|
15
|
+
exports.getSecrets = getSecrets;
|
|
16
|
+
/**
|
|
17
|
+
* Plural Data Source schema for Volcengine::KMS::Secret
|
|
18
|
+
*/
|
|
19
|
+
function getSecretsOutput(opts) {
|
|
20
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
21
|
+
return pulumi.runtime.invokeOutput("volcenginecc:kms/getSecrets:getSecrets", {}, opts);
|
|
22
|
+
}
|
|
23
|
+
exports.getSecretsOutput = getSecretsOutput;
|
|
24
|
+
//# sourceMappingURL=getSecrets.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getSecrets.js","sourceRoot":"","sources":["../../kms/getSecrets.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,UAAU,CAAC,IAA2B;IAClD,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,EACtE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,gCAIC;AAeD;;GAEG;AACH,SAAgB,gBAAgB,CAAC,IAAiC;IAC9D,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,EAC5E,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,4CAIC"}
|
package/kms/index.d.ts
CHANGED
|
@@ -10,9 +10,18 @@ export declare const getKeyRingsOutput: typeof import("./getKeyRings").getKeyRin
|
|
|
10
10
|
export { GetKeysResult } from "./getKeys";
|
|
11
11
|
export declare const getKeys: typeof import("./getKeys").getKeys;
|
|
12
12
|
export declare const getKeysOutput: typeof import("./getKeys").getKeysOutput;
|
|
13
|
+
export { GetSecretArgs, GetSecretResult, GetSecretOutputArgs } from "./getSecret";
|
|
14
|
+
export declare const getSecret: typeof import("./getSecret").getSecret;
|
|
15
|
+
export declare const getSecretOutput: typeof import("./getSecret").getSecretOutput;
|
|
16
|
+
export { GetSecretsResult } from "./getSecrets";
|
|
17
|
+
export declare const getSecrets: typeof import("./getSecrets").getSecrets;
|
|
18
|
+
export declare const getSecretsOutput: typeof import("./getSecrets").getSecretsOutput;
|
|
13
19
|
export { KeyArgs, KeyState } from "./key";
|
|
14
20
|
export type Key = import("./key").Key;
|
|
15
21
|
export declare const Key: typeof import("./key").Key;
|
|
16
22
|
export { KeyRingArgs, KeyRingState } from "./keyRing";
|
|
17
23
|
export type KeyRing = import("./keyRing").KeyRing;
|
|
18
24
|
export declare const KeyRing: typeof import("./keyRing").KeyRing;
|
|
25
|
+
export { SecretArgs, SecretState } from "./secret";
|
|
26
|
+
export type Secret = import("./secret").Secret;
|
|
27
|
+
export declare const Secret: typeof import("./secret").Secret;
|