@volcengine/pulumi 0.0.21 → 0.0.22
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/alb/acl.d.ts +126 -0
- package/alb/acl.js +89 -0
- package/alb/acl.js.map +1 -0
- package/alb/acls.d.ts +101 -0
- package/alb/acls.js +51 -0
- package/alb/acls.js.map +1 -0
- package/alb/alb.d.ts +282 -0
- package/alb/alb.js +167 -0
- package/alb/alb.js.map +1 -0
- package/alb/albs.d.ts +216 -0
- package/alb/albs.js +127 -0
- package/alb/albs.js.map +1 -0
- package/alb/caCertificates.d.ts +108 -0
- package/alb/caCertificates.js +50 -0
- package/alb/caCertificates.js.map +1 -0
- package/alb/cacertificate.d.ts +158 -0
- package/alb/cacertificate.js +96 -0
- package/alb/cacertificate.js.map +1 -0
- package/alb/certificate.d.ts +167 -0
- package/alb/certificate.js +98 -0
- package/alb/certificate.js.map +1 -0
- package/alb/certificates.d.ts +87 -0
- package/alb/certificates.js +48 -0
- package/alb/certificates.js.map +1 -0
- package/alb/customizedCfg.d.ts +108 -0
- package/alb/customizedCfg.js +85 -0
- package/alb/customizedCfg.js.map +1 -0
- package/alb/customizedCfgs.d.ts +116 -0
- package/alb/customizedCfgs.js +47 -0
- package/alb/customizedCfgs.js.map +1 -0
- package/alb/healthCheckTemplate.d.ts +212 -0
- package/alb/healthCheckTemplate.js +106 -0
- package/alb/healthCheckTemplate.js.map +1 -0
- package/alb/healthCheckTemplates.d.ts +96 -0
- package/alb/healthCheckTemplates.js +49 -0
- package/alb/healthCheckTemplates.js.map +1 -0
- package/alb/index.d.ts +69 -0
- package/alb/index.js +108 -0
- package/alb/index.js.map +1 -0
- package/alb/listener.d.ts +268 -0
- package/alb/listener.js +135 -0
- package/alb/listener.js.map +1 -0
- package/alb/listenerDomainExtension.d.ts +119 -0
- package/alb/listenerDomainExtension.js +103 -0
- package/alb/listenerDomainExtension.js.map +1 -0
- package/alb/listenerDomainExtensions.d.ts +78 -0
- package/alb/listenerDomainExtensions.js +46 -0
- package/alb/listenerDomainExtensions.js.map +1 -0
- package/alb/listeners.d.ts +100 -0
- package/alb/listeners.js +31 -0
- package/alb/listeners.js.map +1 -0
- package/alb/rule.d.ts +228 -0
- package/alb/rule.js +115 -0
- package/alb/rule.js.map +1 -0
- package/alb/rules.d.ts +75 -0
- package/alb/rules.js +46 -0
- package/alb/rules.js.map +1 -0
- package/alb/serverGroup.d.ts +215 -0
- package/alb/serverGroup.js +117 -0
- package/alb/serverGroup.js.map +1 -0
- package/alb/serverGroupServer.d.ts +155 -0
- package/alb/serverGroupServer.js +105 -0
- package/alb/serverGroupServer.js.map +1 -0
- package/alb/serverGroupServers.d.ts +75 -0
- package/alb/serverGroupServers.js +46 -0
- package/alb/serverGroupServers.js.map +1 -0
- package/alb/serverGroups.d.ts +171 -0
- package/alb/serverGroups.js +105 -0
- package/alb/serverGroups.js.map +1 -0
- package/alb/zones.d.ts +62 -0
- package/alb/zones.js +42 -0
- package/alb/zones.js.map +1 -0
- package/bandwidth_package/attachment.d.ts +103 -0
- package/bandwidth_package/attachment.js +100 -0
- package/bandwidth_package/attachment.js.map +1 -0
- package/bandwidth_package/bandwidthPackage.d.ts +188 -0
- package/bandwidth_package/bandwidthPackage.js +100 -0
- package/bandwidth_package/bandwidthPackage.js.map +1 -0
- package/bandwidth_package/bandwidthPackages.d.ts +151 -0
- package/bandwidth_package/bandwidthPackages.js +54 -0
- package/bandwidth_package/bandwidthPackages.js.map +1 -0
- package/bandwidth_package/index.d.ts +9 -0
- package/bandwidth_package/index.js +30 -0
- package/bandwidth_package/index.js.map +1 -0
- package/clb/listener.d.ts +21 -12
- package/clb/listener.js +2 -0
- package/clb/listener.js.map +1 -1
- package/cr/endpoint.d.ts +1 -1
- package/cr/endpoint.js +1 -1
- package/ecs/iamRoleAttachment.d.ts +71 -0
- package/ecs/iamRoleAttachment.js +68 -0
- package/ecs/iamRoleAttachment.js.map +1 -0
- package/ecs/index.d.ts +6 -0
- package/ecs/index.js +9 -1
- package/ecs/index.js.map +1 -1
- package/ecs/instance.d.ts +4 -0
- package/ecs/instance.js +1 -1
- package/ecs/instance.js.map +1 -1
- package/ecs/instanceTypes.d.ts +71 -0
- package/ecs/instanceTypes.js +43 -0
- package/ecs/instanceTypes.js.map +1 -0
- package/eip/address.d.ts +12 -0
- package/eip/address.js +2 -0
- package/eip/address.js.map +1 -1
- package/eip/addresses.d.ts +2 -2
- package/iam/user.d.ts +26 -2
- package/iam/user.js +6 -0
- package/iam/user.js.map +1 -1
- package/index.d.ts +3 -1
- package/index.js +5 -1
- package/index.js.map +1 -1
- package/mongodb/endpoint.d.ts +68 -3
- package/mongodb/endpoint.js +68 -3
- package/mongodb/endpoint.js.map +1 -1
- package/mongodb/endpoints.d.ts +116 -4
- package/mongodb/endpoints.js +116 -4
- package/mongodb/endpoints.js.map +1 -1
- package/mongodb/instance.d.ts +32 -0
- package/mongodb/instance.js +8 -0
- package/mongodb/instance.js.map +1 -1
- package/mongodb/instanceParameter.d.ts +41 -16
- package/mongodb/instanceParameter.js +35 -10
- package/mongodb/instanceParameter.js.map +1 -1
- package/mongodb/instanceParameters.d.ts +88 -8
- package/mongodb/instanceParameters.js +80 -6
- package/mongodb/instanceParameters.js.map +1 -1
- package/mongodb/mongoAllowList.d.ts +2 -2
- package/mongodb/mongoAllowList.js +2 -2
- package/mongodb/mongoAllowListAssociate.d.ts +40 -3
- package/mongodb/mongoAllowListAssociate.js +40 -3
- package/mongodb/mongoAllowListAssociate.js.map +1 -1
- package/mongodb/mongoAllowLists.d.ts +20 -6
- package/mongodb/mongoAllowLists.js +20 -6
- package/mongodb/mongoAllowLists.js.map +1 -1
- package/mongodb/sslState.d.ts +34 -9
- package/mongodb/sslState.js +31 -6
- package/mongodb/sslState.js.map +1 -1
- package/mongodb/sslStates.d.ts +68 -4
- package/mongodb/sslStates.js +68 -4
- package/mongodb/sslStates.js.map +1 -1
- package/nas/permissionGroup.d.ts +1 -1
- package/nas/permissionGroup.js +1 -1
- package/package.json +2 -2
- package/tls/alarmNotifyGroup.d.ts +6 -0
- package/tls/alarmNotifyGroup.js.map +1 -1
- package/tls/topic.d.ts +9 -3
- package/tls/topic.js.map +1 -1
- package/types/input.d.ts +309 -8
- package/types/output.d.ts +1622 -41
- package/vke/nodePool.d.ts +8 -0
- package/vke/nodePool.js +2 -0
- package/vke/nodePool.js.map +1 -1
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides a resource to manage alb customized cfg
|
|
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.alb.CustomizedCfg("foo", {
|
|
11
|
+
* customizedCfgContent: "proxy_connect_timeout 4s;proxy_request_buffering on;",
|
|
12
|
+
* customizedCfgName: "acc-test-cfg1",
|
|
13
|
+
* description: "This is a test modify",
|
|
14
|
+
* projectName: "default",
|
|
15
|
+
* });
|
|
16
|
+
* ```
|
|
17
|
+
*
|
|
18
|
+
* ## Import
|
|
19
|
+
*
|
|
20
|
+
* AlbCustomizedCfg can be imported using the id, e.g.
|
|
21
|
+
*
|
|
22
|
+
* ```sh
|
|
23
|
+
* $ pulumi import volcengine:alb/customizedCfg:CustomizedCfg default ccfg-3cj44nv0jhhxc6c6rrtet****
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
export declare class CustomizedCfg extends pulumi.CustomResource {
|
|
27
|
+
/**
|
|
28
|
+
* Get an existing CustomizedCfg resource's state with the given name, ID, and optional extra
|
|
29
|
+
* properties used to qualify the lookup.
|
|
30
|
+
*
|
|
31
|
+
* @param name The _unique_ name of the resulting resource.
|
|
32
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
33
|
+
* @param state Any extra arguments used during the lookup.
|
|
34
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
35
|
+
*/
|
|
36
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: CustomizedCfgState, opts?: pulumi.CustomResourceOptions): CustomizedCfg;
|
|
37
|
+
/**
|
|
38
|
+
* Returns true if the given object is an instance of CustomizedCfg. This is designed to work even
|
|
39
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
40
|
+
*/
|
|
41
|
+
static isInstance(obj: any): obj is CustomizedCfg;
|
|
42
|
+
/**
|
|
43
|
+
* The content of CustomizedCfg. The length cannot exceed 4096 characters. Spaces and semicolons need to be escaped. Currently supported configuration items are `sslProtocols`, `sslCiphers`, `clientMaxBodySize`, `keepaliveTimeout`, `proxyRequestBuffering` and `proxyConnectTimeout`.
|
|
44
|
+
*/
|
|
45
|
+
readonly customizedCfgContent: pulumi.Output<string>;
|
|
46
|
+
/**
|
|
47
|
+
* The name of CustomizedCfg.
|
|
48
|
+
*/
|
|
49
|
+
readonly customizedCfgName: pulumi.Output<string>;
|
|
50
|
+
/**
|
|
51
|
+
* The description of CustomizedCfg.
|
|
52
|
+
*/
|
|
53
|
+
readonly description: pulumi.Output<string>;
|
|
54
|
+
/**
|
|
55
|
+
* The project name of the CustomizedCfg.
|
|
56
|
+
*/
|
|
57
|
+
readonly projectName: pulumi.Output<string>;
|
|
58
|
+
/**
|
|
59
|
+
* Create a CustomizedCfg resource with the given unique name, arguments, and options.
|
|
60
|
+
*
|
|
61
|
+
* @param name The _unique_ name of the resource.
|
|
62
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
63
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
64
|
+
*/
|
|
65
|
+
constructor(name: string, args: CustomizedCfgArgs, opts?: pulumi.CustomResourceOptions);
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Input properties used for looking up and filtering CustomizedCfg resources.
|
|
69
|
+
*/
|
|
70
|
+
export interface CustomizedCfgState {
|
|
71
|
+
/**
|
|
72
|
+
* The content of CustomizedCfg. The length cannot exceed 4096 characters. Spaces and semicolons need to be escaped. Currently supported configuration items are `sslProtocols`, `sslCiphers`, `clientMaxBodySize`, `keepaliveTimeout`, `proxyRequestBuffering` and `proxyConnectTimeout`.
|
|
73
|
+
*/
|
|
74
|
+
customizedCfgContent?: pulumi.Input<string>;
|
|
75
|
+
/**
|
|
76
|
+
* The name of CustomizedCfg.
|
|
77
|
+
*/
|
|
78
|
+
customizedCfgName?: pulumi.Input<string>;
|
|
79
|
+
/**
|
|
80
|
+
* The description of CustomizedCfg.
|
|
81
|
+
*/
|
|
82
|
+
description?: pulumi.Input<string>;
|
|
83
|
+
/**
|
|
84
|
+
* The project name of the CustomizedCfg.
|
|
85
|
+
*/
|
|
86
|
+
projectName?: pulumi.Input<string>;
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* The set of arguments for constructing a CustomizedCfg resource.
|
|
90
|
+
*/
|
|
91
|
+
export interface CustomizedCfgArgs {
|
|
92
|
+
/**
|
|
93
|
+
* The content of CustomizedCfg. The length cannot exceed 4096 characters. Spaces and semicolons need to be escaped. Currently supported configuration items are `sslProtocols`, `sslCiphers`, `clientMaxBodySize`, `keepaliveTimeout`, `proxyRequestBuffering` and `proxyConnectTimeout`.
|
|
94
|
+
*/
|
|
95
|
+
customizedCfgContent: pulumi.Input<string>;
|
|
96
|
+
/**
|
|
97
|
+
* The name of CustomizedCfg.
|
|
98
|
+
*/
|
|
99
|
+
customizedCfgName: pulumi.Input<string>;
|
|
100
|
+
/**
|
|
101
|
+
* The description of CustomizedCfg.
|
|
102
|
+
*/
|
|
103
|
+
description?: pulumi.Input<string>;
|
|
104
|
+
/**
|
|
105
|
+
* The project name of the CustomizedCfg.
|
|
106
|
+
*/
|
|
107
|
+
projectName?: pulumi.Input<string>;
|
|
108
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
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.CustomizedCfg = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a resource to manage alb customized cfg
|
|
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.alb.CustomizedCfg("foo", {
|
|
17
|
+
* customizedCfgContent: "proxy_connect_timeout 4s;proxy_request_buffering on;",
|
|
18
|
+
* customizedCfgName: "acc-test-cfg1",
|
|
19
|
+
* description: "This is a test modify",
|
|
20
|
+
* projectName: "default",
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* ## Import
|
|
25
|
+
*
|
|
26
|
+
* AlbCustomizedCfg can be imported using the id, e.g.
|
|
27
|
+
*
|
|
28
|
+
* ```sh
|
|
29
|
+
* $ pulumi import volcengine:alb/customizedCfg:CustomizedCfg default ccfg-3cj44nv0jhhxc6c6rrtet****
|
|
30
|
+
* ```
|
|
31
|
+
*/
|
|
32
|
+
class CustomizedCfg extends pulumi.CustomResource {
|
|
33
|
+
/**
|
|
34
|
+
* Get an existing CustomizedCfg resource's state with the given name, ID, and optional extra
|
|
35
|
+
* properties used to qualify the lookup.
|
|
36
|
+
*
|
|
37
|
+
* @param name The _unique_ name of the resulting resource.
|
|
38
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
39
|
+
* @param state Any extra arguments used during the lookup.
|
|
40
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
41
|
+
*/
|
|
42
|
+
static get(name, id, state, opts) {
|
|
43
|
+
return new CustomizedCfg(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Returns true if the given object is an instance of CustomizedCfg. This is designed to work even
|
|
47
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
48
|
+
*/
|
|
49
|
+
static isInstance(obj) {
|
|
50
|
+
if (obj === undefined || obj === null) {
|
|
51
|
+
return false;
|
|
52
|
+
}
|
|
53
|
+
return obj['__pulumiType'] === CustomizedCfg.__pulumiType;
|
|
54
|
+
}
|
|
55
|
+
constructor(name, argsOrState, opts) {
|
|
56
|
+
let resourceInputs = {};
|
|
57
|
+
opts = opts || {};
|
|
58
|
+
if (opts.id) {
|
|
59
|
+
const state = argsOrState;
|
|
60
|
+
resourceInputs["customizedCfgContent"] = state ? state.customizedCfgContent : undefined;
|
|
61
|
+
resourceInputs["customizedCfgName"] = state ? state.customizedCfgName : undefined;
|
|
62
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
63
|
+
resourceInputs["projectName"] = state ? state.projectName : undefined;
|
|
64
|
+
}
|
|
65
|
+
else {
|
|
66
|
+
const args = argsOrState;
|
|
67
|
+
if ((!args || args.customizedCfgContent === undefined) && !opts.urn) {
|
|
68
|
+
throw new Error("Missing required property 'customizedCfgContent'");
|
|
69
|
+
}
|
|
70
|
+
if ((!args || args.customizedCfgName === undefined) && !opts.urn) {
|
|
71
|
+
throw new Error("Missing required property 'customizedCfgName'");
|
|
72
|
+
}
|
|
73
|
+
resourceInputs["customizedCfgContent"] = args ? args.customizedCfgContent : undefined;
|
|
74
|
+
resourceInputs["customizedCfgName"] = args ? args.customizedCfgName : undefined;
|
|
75
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
76
|
+
resourceInputs["projectName"] = args ? args.projectName : undefined;
|
|
77
|
+
}
|
|
78
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
79
|
+
super(CustomizedCfg.__pulumiType, name, resourceInputs, opts);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
exports.CustomizedCfg = CustomizedCfg;
|
|
83
|
+
/** @internal */
|
|
84
|
+
CustomizedCfg.__pulumiType = 'volcengine:alb/customizedCfg:CustomizedCfg';
|
|
85
|
+
//# sourceMappingURL=customizedCfg.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customizedCfg.js","sourceRoot":"","sources":["../../alb/customizedCfg.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACpE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,aAAa,CAAC,YAAY,CAAC;IAC9D,CAAC;IA2BD,YAAY,IAAY,EAAE,WAAoD,EAAE,IAAmC;QAC/G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA6C,CAAC;YAC5D,cAAc,CAAC,sBAAsB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,CAAC,SAAS,CAAC;YACxF,cAAc,CAAC,mBAAmB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAClF,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;SACzE;aAAM;YACH,MAAM,IAAI,GAAG,WAA4C,CAAC;YAC1D,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,oBAAoB,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACjE,MAAM,IAAI,KAAK,CAAC,kDAAkD,CAAC,CAAC;aACvE;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,iBAAiB,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC9D,MAAM,IAAI,KAAK,CAAC,+CAA+C,CAAC,CAAC;aACpE;YACD,cAAc,CAAC,sBAAsB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC,CAAC,SAAS,CAAC;YACtF,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;SACvE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AA7EL,sCA8EC;AAhEG,gBAAgB;AACO,0BAAY,GAAG,4CAA4C,CAAC"}
|
|
@@ -0,0 +1,116 @@
|
|
|
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 alb customized cfgs
|
|
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.alb.CustomizedCfgs({});
|
|
12
|
+
* ```
|
|
13
|
+
*/
|
|
14
|
+
export declare function customizedCfgs(args?: CustomizedCfgsArgs, opts?: pulumi.InvokeOptions): Promise<CustomizedCfgsResult>;
|
|
15
|
+
/**
|
|
16
|
+
* A collection of arguments for invoking CustomizedCfgs.
|
|
17
|
+
*/
|
|
18
|
+
export interface CustomizedCfgsArgs {
|
|
19
|
+
/**
|
|
20
|
+
* The name of the CustomizedCfg.
|
|
21
|
+
*/
|
|
22
|
+
customizedCfgName?: string;
|
|
23
|
+
/**
|
|
24
|
+
* A list of CustomizedCfg IDs.
|
|
25
|
+
*/
|
|
26
|
+
ids?: string[];
|
|
27
|
+
/**
|
|
28
|
+
* The id of the listener.
|
|
29
|
+
*/
|
|
30
|
+
listenerId?: string;
|
|
31
|
+
/**
|
|
32
|
+
* A Name Regex of CustomizedCfg.
|
|
33
|
+
*/
|
|
34
|
+
nameRegex?: string;
|
|
35
|
+
/**
|
|
36
|
+
* File name where to save data source results.
|
|
37
|
+
*/
|
|
38
|
+
outputFile?: string;
|
|
39
|
+
/**
|
|
40
|
+
* The project name of the CustomizedCfg.
|
|
41
|
+
*/
|
|
42
|
+
projectName?: string;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* A collection of values returned by CustomizedCfgs.
|
|
46
|
+
*/
|
|
47
|
+
export interface CustomizedCfgsResult {
|
|
48
|
+
/**
|
|
49
|
+
* The collection of CustomizedCfg query.
|
|
50
|
+
*/
|
|
51
|
+
readonly cfgs: outputs.alb.CustomizedCfgsCfg[];
|
|
52
|
+
/**
|
|
53
|
+
* The name of CustomizedCfg.
|
|
54
|
+
*/
|
|
55
|
+
readonly customizedCfgName?: string;
|
|
56
|
+
/**
|
|
57
|
+
* The provider-assigned unique ID for this managed resource.
|
|
58
|
+
*/
|
|
59
|
+
readonly id: string;
|
|
60
|
+
readonly ids?: string[];
|
|
61
|
+
/**
|
|
62
|
+
* The ID of Listener.
|
|
63
|
+
*/
|
|
64
|
+
readonly listenerId?: string;
|
|
65
|
+
readonly nameRegex?: string;
|
|
66
|
+
readonly outputFile?: string;
|
|
67
|
+
/**
|
|
68
|
+
* The project name of CustomizedCfg.
|
|
69
|
+
*/
|
|
70
|
+
readonly projectName?: string;
|
|
71
|
+
/**
|
|
72
|
+
* The total count of CustomizedCfg query.
|
|
73
|
+
*/
|
|
74
|
+
readonly totalCount: number;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Use this data source to query detailed information of alb customized cfgs
|
|
78
|
+
* ## Example Usage
|
|
79
|
+
*
|
|
80
|
+
* ```typescript
|
|
81
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
82
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
83
|
+
*
|
|
84
|
+
* const foo = volcengine.alb.CustomizedCfgs({});
|
|
85
|
+
* ```
|
|
86
|
+
*/
|
|
87
|
+
export declare function customizedCfgsOutput(args?: CustomizedCfgsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<CustomizedCfgsResult>;
|
|
88
|
+
/**
|
|
89
|
+
* A collection of arguments for invoking CustomizedCfgs.
|
|
90
|
+
*/
|
|
91
|
+
export interface CustomizedCfgsOutputArgs {
|
|
92
|
+
/**
|
|
93
|
+
* The name of the CustomizedCfg.
|
|
94
|
+
*/
|
|
95
|
+
customizedCfgName?: pulumi.Input<string>;
|
|
96
|
+
/**
|
|
97
|
+
* A list of CustomizedCfg IDs.
|
|
98
|
+
*/
|
|
99
|
+
ids?: pulumi.Input<pulumi.Input<string>[]>;
|
|
100
|
+
/**
|
|
101
|
+
* The id of the listener.
|
|
102
|
+
*/
|
|
103
|
+
listenerId?: pulumi.Input<string>;
|
|
104
|
+
/**
|
|
105
|
+
* A Name Regex of CustomizedCfg.
|
|
106
|
+
*/
|
|
107
|
+
nameRegex?: pulumi.Input<string>;
|
|
108
|
+
/**
|
|
109
|
+
* File name where to save data source results.
|
|
110
|
+
*/
|
|
111
|
+
outputFile?: pulumi.Input<string>;
|
|
112
|
+
/**
|
|
113
|
+
* The project name of the CustomizedCfg.
|
|
114
|
+
*/
|
|
115
|
+
projectName?: pulumi.Input<string>;
|
|
116
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
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.customizedCfgsOutput = exports.customizedCfgs = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to query detailed information of alb customized cfgs
|
|
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.alb.CustomizedCfgs({});
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
function customizedCfgs(args, opts) {
|
|
20
|
+
args = args || {};
|
|
21
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
22
|
+
return pulumi.runtime.invoke("volcengine:alb/customizedCfgs:CustomizedCfgs", {
|
|
23
|
+
"customizedCfgName": args.customizedCfgName,
|
|
24
|
+
"ids": args.ids,
|
|
25
|
+
"listenerId": args.listenerId,
|
|
26
|
+
"nameRegex": args.nameRegex,
|
|
27
|
+
"outputFile": args.outputFile,
|
|
28
|
+
"projectName": args.projectName,
|
|
29
|
+
}, opts);
|
|
30
|
+
}
|
|
31
|
+
exports.customizedCfgs = customizedCfgs;
|
|
32
|
+
/**
|
|
33
|
+
* Use this data source to query detailed information of alb customized cfgs
|
|
34
|
+
* ## Example Usage
|
|
35
|
+
*
|
|
36
|
+
* ```typescript
|
|
37
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
38
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
39
|
+
*
|
|
40
|
+
* const foo = volcengine.alb.CustomizedCfgs({});
|
|
41
|
+
* ```
|
|
42
|
+
*/
|
|
43
|
+
function customizedCfgsOutput(args, opts) {
|
|
44
|
+
return pulumi.output(args).apply((a) => customizedCfgs(a, opts));
|
|
45
|
+
}
|
|
46
|
+
exports.customizedCfgsOutput = customizedCfgsOutput;
|
|
47
|
+
//# sourceMappingURL=customizedCfgs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customizedCfgs.js","sourceRoot":"","sources":["../../alb/customizedCfgs.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;GAUG;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,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;QAC3C,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,wCAYC;AAgED;;;;;;;;;;GAUG;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"}
|
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides a resource to manage alb health check template
|
|
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.alb.HealthCheckTemplate("foo", {
|
|
11
|
+
* description: "acc-test3",
|
|
12
|
+
* healthCheckDomain: "test.com",
|
|
13
|
+
* healthCheckHttpCode: "http_2xx",
|
|
14
|
+
* healthCheckHttpVersion: "HTTP1.1",
|
|
15
|
+
* healthCheckInterval: 8,
|
|
16
|
+
* healthCheckMethod: "HEAD",
|
|
17
|
+
* healthCheckProtocol: "HTTP",
|
|
18
|
+
* healthCheckTemplateName: "acc-test-template-1",
|
|
19
|
+
* healthCheckTimeout: 11,
|
|
20
|
+
* healthCheckUri: "/",
|
|
21
|
+
* healthyThreshold: 2,
|
|
22
|
+
* unhealthyThreshold: 3,
|
|
23
|
+
* });
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* ## Import
|
|
27
|
+
*
|
|
28
|
+
* AlbHealthCheckTemplate can be imported using the id, e.g.
|
|
29
|
+
*
|
|
30
|
+
* ```sh
|
|
31
|
+
* $ pulumi import volcengine:alb/healthCheckTemplate:HealthCheckTemplate default hctpl-123*****432
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
export declare class HealthCheckTemplate extends pulumi.CustomResource {
|
|
35
|
+
/**
|
|
36
|
+
* Get an existing HealthCheckTemplate resource's state with the given name, ID, and optional extra
|
|
37
|
+
* properties used to qualify the lookup.
|
|
38
|
+
*
|
|
39
|
+
* @param name The _unique_ name of the resulting resource.
|
|
40
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
41
|
+
* @param state Any extra arguments used during the lookup.
|
|
42
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
43
|
+
*/
|
|
44
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: HealthCheckTemplateState, opts?: pulumi.CustomResourceOptions): HealthCheckTemplate;
|
|
45
|
+
/**
|
|
46
|
+
* Returns true if the given object is an instance of HealthCheckTemplate. This is designed to work even
|
|
47
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
48
|
+
*/
|
|
49
|
+
static isInstance(obj: any): obj is HealthCheckTemplate;
|
|
50
|
+
/**
|
|
51
|
+
* The description of health check template.
|
|
52
|
+
*/
|
|
53
|
+
readonly description: pulumi.Output<string>;
|
|
54
|
+
/**
|
|
55
|
+
* The domain name to health check.
|
|
56
|
+
*/
|
|
57
|
+
readonly healthCheckDomain: pulumi.Output<string>;
|
|
58
|
+
/**
|
|
59
|
+
* The normal HTTP status code for health check, the default is http_2xx, http_3xx, separated by commas.
|
|
60
|
+
*/
|
|
61
|
+
readonly healthCheckHttpCode: pulumi.Output<string>;
|
|
62
|
+
/**
|
|
63
|
+
* The HTTP version of health check.
|
|
64
|
+
*/
|
|
65
|
+
readonly healthCheckHttpVersion: pulumi.Output<string>;
|
|
66
|
+
/**
|
|
67
|
+
* The interval for performing health checks, the default value is 2, and the value is 1-300.
|
|
68
|
+
*/
|
|
69
|
+
readonly healthCheckInterval: pulumi.Output<number>;
|
|
70
|
+
/**
|
|
71
|
+
* The health check method,default is `GET`, support `GET` and `HEAD`.
|
|
72
|
+
*/
|
|
73
|
+
readonly healthCheckMethod: pulumi.Output<string>;
|
|
74
|
+
/**
|
|
75
|
+
* THe protocol of health check,only support HTTP.
|
|
76
|
+
*/
|
|
77
|
+
readonly healthCheckProtocol: pulumi.Output<string>;
|
|
78
|
+
/**
|
|
79
|
+
* The health check template name.
|
|
80
|
+
*/
|
|
81
|
+
readonly healthCheckTemplateName: pulumi.Output<string>;
|
|
82
|
+
/**
|
|
83
|
+
* The timeout of health check response,the default value is 2, and the value is 1-60.
|
|
84
|
+
*/
|
|
85
|
+
readonly healthCheckTimeout: pulumi.Output<number>;
|
|
86
|
+
/**
|
|
87
|
+
* The uri to health check,default is `/`.
|
|
88
|
+
*/
|
|
89
|
+
readonly healthCheckUri: pulumi.Output<string>;
|
|
90
|
+
/**
|
|
91
|
+
* The healthy threshold of the health check, the default is 3, the value is 2-10.
|
|
92
|
+
*/
|
|
93
|
+
readonly healthyThreshold: pulumi.Output<number>;
|
|
94
|
+
/**
|
|
95
|
+
* The unhealthy threshold of the health check, the default is 3, the value is 2-10.
|
|
96
|
+
*/
|
|
97
|
+
readonly unhealthyThreshold: pulumi.Output<number>;
|
|
98
|
+
/**
|
|
99
|
+
* Create a HealthCheckTemplate resource with the given unique name, arguments, and options.
|
|
100
|
+
*
|
|
101
|
+
* @param name The _unique_ name of the resource.
|
|
102
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
103
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
104
|
+
*/
|
|
105
|
+
constructor(name: string, args: HealthCheckTemplateArgs, opts?: pulumi.CustomResourceOptions);
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* Input properties used for looking up and filtering HealthCheckTemplate resources.
|
|
109
|
+
*/
|
|
110
|
+
export interface HealthCheckTemplateState {
|
|
111
|
+
/**
|
|
112
|
+
* The description of health check template.
|
|
113
|
+
*/
|
|
114
|
+
description?: pulumi.Input<string>;
|
|
115
|
+
/**
|
|
116
|
+
* The domain name to health check.
|
|
117
|
+
*/
|
|
118
|
+
healthCheckDomain?: pulumi.Input<string>;
|
|
119
|
+
/**
|
|
120
|
+
* The normal HTTP status code for health check, the default is http_2xx, http_3xx, separated by commas.
|
|
121
|
+
*/
|
|
122
|
+
healthCheckHttpCode?: pulumi.Input<string>;
|
|
123
|
+
/**
|
|
124
|
+
* The HTTP version of health check.
|
|
125
|
+
*/
|
|
126
|
+
healthCheckHttpVersion?: pulumi.Input<string>;
|
|
127
|
+
/**
|
|
128
|
+
* The interval for performing health checks, the default value is 2, and the value is 1-300.
|
|
129
|
+
*/
|
|
130
|
+
healthCheckInterval?: pulumi.Input<number>;
|
|
131
|
+
/**
|
|
132
|
+
* The health check method,default is `GET`, support `GET` and `HEAD`.
|
|
133
|
+
*/
|
|
134
|
+
healthCheckMethod?: pulumi.Input<string>;
|
|
135
|
+
/**
|
|
136
|
+
* THe protocol of health check,only support HTTP.
|
|
137
|
+
*/
|
|
138
|
+
healthCheckProtocol?: pulumi.Input<string>;
|
|
139
|
+
/**
|
|
140
|
+
* The health check template name.
|
|
141
|
+
*/
|
|
142
|
+
healthCheckTemplateName?: pulumi.Input<string>;
|
|
143
|
+
/**
|
|
144
|
+
* The timeout of health check response,the default value is 2, and the value is 1-60.
|
|
145
|
+
*/
|
|
146
|
+
healthCheckTimeout?: pulumi.Input<number>;
|
|
147
|
+
/**
|
|
148
|
+
* The uri to health check,default is `/`.
|
|
149
|
+
*/
|
|
150
|
+
healthCheckUri?: pulumi.Input<string>;
|
|
151
|
+
/**
|
|
152
|
+
* The healthy threshold of the health check, the default is 3, the value is 2-10.
|
|
153
|
+
*/
|
|
154
|
+
healthyThreshold?: pulumi.Input<number>;
|
|
155
|
+
/**
|
|
156
|
+
* The unhealthy threshold of the health check, the default is 3, the value is 2-10.
|
|
157
|
+
*/
|
|
158
|
+
unhealthyThreshold?: pulumi.Input<number>;
|
|
159
|
+
}
|
|
160
|
+
/**
|
|
161
|
+
* The set of arguments for constructing a HealthCheckTemplate resource.
|
|
162
|
+
*/
|
|
163
|
+
export interface HealthCheckTemplateArgs {
|
|
164
|
+
/**
|
|
165
|
+
* The description of health check template.
|
|
166
|
+
*/
|
|
167
|
+
description?: pulumi.Input<string>;
|
|
168
|
+
/**
|
|
169
|
+
* The domain name to health check.
|
|
170
|
+
*/
|
|
171
|
+
healthCheckDomain?: pulumi.Input<string>;
|
|
172
|
+
/**
|
|
173
|
+
* The normal HTTP status code for health check, the default is http_2xx, http_3xx, separated by commas.
|
|
174
|
+
*/
|
|
175
|
+
healthCheckHttpCode?: pulumi.Input<string>;
|
|
176
|
+
/**
|
|
177
|
+
* The HTTP version of health check.
|
|
178
|
+
*/
|
|
179
|
+
healthCheckHttpVersion?: pulumi.Input<string>;
|
|
180
|
+
/**
|
|
181
|
+
* The interval for performing health checks, the default value is 2, and the value is 1-300.
|
|
182
|
+
*/
|
|
183
|
+
healthCheckInterval?: pulumi.Input<number>;
|
|
184
|
+
/**
|
|
185
|
+
* The health check method,default is `GET`, support `GET` and `HEAD`.
|
|
186
|
+
*/
|
|
187
|
+
healthCheckMethod?: pulumi.Input<string>;
|
|
188
|
+
/**
|
|
189
|
+
* THe protocol of health check,only support HTTP.
|
|
190
|
+
*/
|
|
191
|
+
healthCheckProtocol?: pulumi.Input<string>;
|
|
192
|
+
/**
|
|
193
|
+
* The health check template name.
|
|
194
|
+
*/
|
|
195
|
+
healthCheckTemplateName: pulumi.Input<string>;
|
|
196
|
+
/**
|
|
197
|
+
* The timeout of health check response,the default value is 2, and the value is 1-60.
|
|
198
|
+
*/
|
|
199
|
+
healthCheckTimeout?: pulumi.Input<number>;
|
|
200
|
+
/**
|
|
201
|
+
* The uri to health check,default is `/`.
|
|
202
|
+
*/
|
|
203
|
+
healthCheckUri?: pulumi.Input<string>;
|
|
204
|
+
/**
|
|
205
|
+
* The healthy threshold of the health check, the default is 3, the value is 2-10.
|
|
206
|
+
*/
|
|
207
|
+
healthyThreshold?: pulumi.Input<number>;
|
|
208
|
+
/**
|
|
209
|
+
* The unhealthy threshold of the health check, the default is 3, the value is 2-10.
|
|
210
|
+
*/
|
|
211
|
+
unhealthyThreshold?: pulumi.Input<number>;
|
|
212
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
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.HealthCheckTemplate = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a resource to manage alb health check template
|
|
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.alb.HealthCheckTemplate("foo", {
|
|
17
|
+
* description: "acc-test3",
|
|
18
|
+
* healthCheckDomain: "test.com",
|
|
19
|
+
* healthCheckHttpCode: "http_2xx",
|
|
20
|
+
* healthCheckHttpVersion: "HTTP1.1",
|
|
21
|
+
* healthCheckInterval: 8,
|
|
22
|
+
* healthCheckMethod: "HEAD",
|
|
23
|
+
* healthCheckProtocol: "HTTP",
|
|
24
|
+
* healthCheckTemplateName: "acc-test-template-1",
|
|
25
|
+
* healthCheckTimeout: 11,
|
|
26
|
+
* healthCheckUri: "/",
|
|
27
|
+
* healthyThreshold: 2,
|
|
28
|
+
* unhealthyThreshold: 3,
|
|
29
|
+
* });
|
|
30
|
+
* ```
|
|
31
|
+
*
|
|
32
|
+
* ## Import
|
|
33
|
+
*
|
|
34
|
+
* AlbHealthCheckTemplate can be imported using the id, e.g.
|
|
35
|
+
*
|
|
36
|
+
* ```sh
|
|
37
|
+
* $ pulumi import volcengine:alb/healthCheckTemplate:HealthCheckTemplate default hctpl-123*****432
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
class HealthCheckTemplate extends pulumi.CustomResource {
|
|
41
|
+
/**
|
|
42
|
+
* Get an existing HealthCheckTemplate resource's state with the given name, ID, and optional extra
|
|
43
|
+
* properties used to qualify the lookup.
|
|
44
|
+
*
|
|
45
|
+
* @param name The _unique_ name of the resulting resource.
|
|
46
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
47
|
+
* @param state Any extra arguments used during the lookup.
|
|
48
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
49
|
+
*/
|
|
50
|
+
static get(name, id, state, opts) {
|
|
51
|
+
return new HealthCheckTemplate(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Returns true if the given object is an instance of HealthCheckTemplate. This is designed to work even
|
|
55
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
56
|
+
*/
|
|
57
|
+
static isInstance(obj) {
|
|
58
|
+
if (obj === undefined || obj === null) {
|
|
59
|
+
return false;
|
|
60
|
+
}
|
|
61
|
+
return obj['__pulumiType'] === HealthCheckTemplate.__pulumiType;
|
|
62
|
+
}
|
|
63
|
+
constructor(name, argsOrState, opts) {
|
|
64
|
+
let resourceInputs = {};
|
|
65
|
+
opts = opts || {};
|
|
66
|
+
if (opts.id) {
|
|
67
|
+
const state = argsOrState;
|
|
68
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
69
|
+
resourceInputs["healthCheckDomain"] = state ? state.healthCheckDomain : undefined;
|
|
70
|
+
resourceInputs["healthCheckHttpCode"] = state ? state.healthCheckHttpCode : undefined;
|
|
71
|
+
resourceInputs["healthCheckHttpVersion"] = state ? state.healthCheckHttpVersion : undefined;
|
|
72
|
+
resourceInputs["healthCheckInterval"] = state ? state.healthCheckInterval : undefined;
|
|
73
|
+
resourceInputs["healthCheckMethod"] = state ? state.healthCheckMethod : undefined;
|
|
74
|
+
resourceInputs["healthCheckProtocol"] = state ? state.healthCheckProtocol : undefined;
|
|
75
|
+
resourceInputs["healthCheckTemplateName"] = state ? state.healthCheckTemplateName : undefined;
|
|
76
|
+
resourceInputs["healthCheckTimeout"] = state ? state.healthCheckTimeout : undefined;
|
|
77
|
+
resourceInputs["healthCheckUri"] = state ? state.healthCheckUri : undefined;
|
|
78
|
+
resourceInputs["healthyThreshold"] = state ? state.healthyThreshold : undefined;
|
|
79
|
+
resourceInputs["unhealthyThreshold"] = state ? state.unhealthyThreshold : undefined;
|
|
80
|
+
}
|
|
81
|
+
else {
|
|
82
|
+
const args = argsOrState;
|
|
83
|
+
if ((!args || args.healthCheckTemplateName === undefined) && !opts.urn) {
|
|
84
|
+
throw new Error("Missing required property 'healthCheckTemplateName'");
|
|
85
|
+
}
|
|
86
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
87
|
+
resourceInputs["healthCheckDomain"] = args ? args.healthCheckDomain : undefined;
|
|
88
|
+
resourceInputs["healthCheckHttpCode"] = args ? args.healthCheckHttpCode : undefined;
|
|
89
|
+
resourceInputs["healthCheckHttpVersion"] = args ? args.healthCheckHttpVersion : undefined;
|
|
90
|
+
resourceInputs["healthCheckInterval"] = args ? args.healthCheckInterval : undefined;
|
|
91
|
+
resourceInputs["healthCheckMethod"] = args ? args.healthCheckMethod : undefined;
|
|
92
|
+
resourceInputs["healthCheckProtocol"] = args ? args.healthCheckProtocol : undefined;
|
|
93
|
+
resourceInputs["healthCheckTemplateName"] = args ? args.healthCheckTemplateName : undefined;
|
|
94
|
+
resourceInputs["healthCheckTimeout"] = args ? args.healthCheckTimeout : undefined;
|
|
95
|
+
resourceInputs["healthCheckUri"] = args ? args.healthCheckUri : undefined;
|
|
96
|
+
resourceInputs["healthyThreshold"] = args ? args.healthyThreshold : undefined;
|
|
97
|
+
resourceInputs["unhealthyThreshold"] = args ? args.unhealthyThreshold : undefined;
|
|
98
|
+
}
|
|
99
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
100
|
+
super(HealthCheckTemplate.__pulumiType, name, resourceInputs, opts);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
exports.HealthCheckTemplate = HealthCheckTemplate;
|
|
104
|
+
/** @internal */
|
|
105
|
+
HealthCheckTemplate.__pulumiType = 'volcengine:alb/healthCheckTemplate:HealthCheckTemplate';
|
|
106
|
+
//# sourceMappingURL=healthCheckTemplate.js.map
|