@volcengine/pulumi 0.0.21 → 0.0.23
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 +133 -0
- package/ecs/iamRoleAttachment.js +130 -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/privatelink/vpcEndpointService.d.ts +5 -3
- package/privatelink/vpcEndpointService.js +2 -0
- package/privatelink/vpcEndpointService.js.map +1 -1
- package/privatelink/vpcEndpointServiceResource.d.ts +5 -3
- package/privatelink/vpcEndpointServiceResource.js +2 -0
- package/privatelink/vpcEndpointServiceResource.js.map +1 -1
- package/rds_mysql/instance.d.ts +29 -0
- package/rds_mysql/instance.js +9 -0
- package/rds_mysql/instance.js.map +1 -1
- package/rds_mysql/instances.d.ts +13 -0
- package/rds_mysql/instances.js +1 -0
- package/rds_mysql/instances.js.map +1 -1
- 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 +345 -10
- package/types/output.d.ts +1643 -20
- package/vke/nodePool.d.ts +8 -0
- package/vke/nodePool.js +2 -0
- package/vke/nodePool.js.map +1 -1
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
10
|
+
*
|
|
11
|
+
* const foo = new volcengine.bandwidth_package.BandwidthPackage("foo", {
|
|
12
|
+
* bandwidth: 10,
|
|
13
|
+
* bandwidthPackageName: "tf-test",
|
|
14
|
+
* billingType: "PostPaidByBandwidth",
|
|
15
|
+
* description: "tftest-description",
|
|
16
|
+
* isp: "BGP",
|
|
17
|
+
* protocol: "IPv4",
|
|
18
|
+
* securityProtectionTypes: ["AntiDDoS_Enhanced"],
|
|
19
|
+
* tags: [{
|
|
20
|
+
* key: "tftest",
|
|
21
|
+
* value: "tftest",
|
|
22
|
+
* }],
|
|
23
|
+
* });
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* ## Import
|
|
27
|
+
*
|
|
28
|
+
* BandwidthPackage can be imported using the id, e.g.
|
|
29
|
+
*
|
|
30
|
+
* ```sh
|
|
31
|
+
* $ pulumi import volcengine:bandwidth_package/bandwidthPackage:BandwidthPackage default bwp-2zeo05qre24nhrqpy****
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
export declare class BandwidthPackage extends pulumi.CustomResource {
|
|
35
|
+
/**
|
|
36
|
+
* Get an existing BandwidthPackage 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?: BandwidthPackageState, opts?: pulumi.CustomResourceOptions): BandwidthPackage;
|
|
45
|
+
/**
|
|
46
|
+
* Returns true if the given object is an instance of BandwidthPackage. 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 BandwidthPackage;
|
|
50
|
+
/**
|
|
51
|
+
* Bandwidth upper limit of shared bandwidth package, unit: Mbps. When BillingType is set to PrePaid: the value range is 5 to 5000. When BillingType is set to PostPaidByBandwidth: the value range is 2 to 5000. When BillingType is set to PostPaidByTraffic: the value range is 2 to 2000. When BillingType is set to PayBy95Peak: the value range is 2 to 5000.
|
|
52
|
+
*/
|
|
53
|
+
readonly bandwidth: pulumi.Output<number>;
|
|
54
|
+
/**
|
|
55
|
+
* The name of the bandwidth package.
|
|
56
|
+
*/
|
|
57
|
+
readonly bandwidthPackageName: pulumi.Output<string>;
|
|
58
|
+
/**
|
|
59
|
+
* BillingType of the bandwidth package. Valid values: `PrePaid`, `PostPaidByBandwidth`(Default), `PostPaidByTraffic`, `PayBy95Peak`. The billing method of IPv6 does not include `PrePaid`, and the billing method is only based on the `PostPaidByBandwidth`.
|
|
60
|
+
*/
|
|
61
|
+
readonly billingType: pulumi.Output<string | undefined>;
|
|
62
|
+
/**
|
|
63
|
+
* The description of the bandwidth package.
|
|
64
|
+
*/
|
|
65
|
+
readonly description: pulumi.Output<string>;
|
|
66
|
+
/**
|
|
67
|
+
* Route type, default to BGP.
|
|
68
|
+
*/
|
|
69
|
+
readonly isp: pulumi.Output<string | undefined>;
|
|
70
|
+
/**
|
|
71
|
+
* Duration of purchasing shared bandwidth package on an annual or monthly basis. The valid value range in 1~9 or 12, 24 or 36. Default value is 1. The period unit defaults to `Month`.
|
|
72
|
+
*/
|
|
73
|
+
readonly period: pulumi.Output<number | undefined>;
|
|
74
|
+
/**
|
|
75
|
+
* The project name of the bandwidth package.
|
|
76
|
+
*/
|
|
77
|
+
readonly projectName: pulumi.Output<string>;
|
|
78
|
+
/**
|
|
79
|
+
* The IP protocol values for shared bandwidth packages are as follows: `IPv4`: IPv4 protocol. `IPv6`: IPv6 protocol.
|
|
80
|
+
*/
|
|
81
|
+
readonly protocol: pulumi.Output<string>;
|
|
82
|
+
/**
|
|
83
|
+
* Security protection types for shared bandwidth packages. Parameter - N: Indicates the number of security protection types, currently only supports taking 1. Value: `AntiDDoS_Enhanced` or left blank.If the value is `AntiDDoS_Enhanced`, then will create a shared bandwidth package with enhanced protection, which supports adding basic protection type public IP addresses.If left blank, it indicates a shared bandwidth package with basic protection, which supports the addition of public IP addresses with enhanced protection.
|
|
84
|
+
*/
|
|
85
|
+
readonly securityProtectionTypes: pulumi.Output<string[] | undefined>;
|
|
86
|
+
/**
|
|
87
|
+
* Tags.
|
|
88
|
+
*/
|
|
89
|
+
readonly tags: pulumi.Output<outputs.bandwidth_package.BandwidthPackageTag[] | undefined>;
|
|
90
|
+
/**
|
|
91
|
+
* Create a BandwidthPackage resource with the given unique name, arguments, and options.
|
|
92
|
+
*
|
|
93
|
+
* @param name The _unique_ name of the resource.
|
|
94
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
95
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
96
|
+
*/
|
|
97
|
+
constructor(name: string, args: BandwidthPackageArgs, opts?: pulumi.CustomResourceOptions);
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* Input properties used for looking up and filtering BandwidthPackage resources.
|
|
101
|
+
*/
|
|
102
|
+
export interface BandwidthPackageState {
|
|
103
|
+
/**
|
|
104
|
+
* Bandwidth upper limit of shared bandwidth package, unit: Mbps. When BillingType is set to PrePaid: the value range is 5 to 5000. When BillingType is set to PostPaidByBandwidth: the value range is 2 to 5000. When BillingType is set to PostPaidByTraffic: the value range is 2 to 2000. When BillingType is set to PayBy95Peak: the value range is 2 to 5000.
|
|
105
|
+
*/
|
|
106
|
+
bandwidth?: pulumi.Input<number>;
|
|
107
|
+
/**
|
|
108
|
+
* The name of the bandwidth package.
|
|
109
|
+
*/
|
|
110
|
+
bandwidthPackageName?: pulumi.Input<string>;
|
|
111
|
+
/**
|
|
112
|
+
* BillingType of the bandwidth package. Valid values: `PrePaid`, `PostPaidByBandwidth`(Default), `PostPaidByTraffic`, `PayBy95Peak`. The billing method of IPv6 does not include `PrePaid`, and the billing method is only based on the `PostPaidByBandwidth`.
|
|
113
|
+
*/
|
|
114
|
+
billingType?: pulumi.Input<string>;
|
|
115
|
+
/**
|
|
116
|
+
* The description of the bandwidth package.
|
|
117
|
+
*/
|
|
118
|
+
description?: pulumi.Input<string>;
|
|
119
|
+
/**
|
|
120
|
+
* Route type, default to BGP.
|
|
121
|
+
*/
|
|
122
|
+
isp?: pulumi.Input<string>;
|
|
123
|
+
/**
|
|
124
|
+
* Duration of purchasing shared bandwidth package on an annual or monthly basis. The valid value range in 1~9 or 12, 24 or 36. Default value is 1. The period unit defaults to `Month`.
|
|
125
|
+
*/
|
|
126
|
+
period?: pulumi.Input<number>;
|
|
127
|
+
/**
|
|
128
|
+
* The project name of the bandwidth package.
|
|
129
|
+
*/
|
|
130
|
+
projectName?: pulumi.Input<string>;
|
|
131
|
+
/**
|
|
132
|
+
* The IP protocol values for shared bandwidth packages are as follows: `IPv4`: IPv4 protocol. `IPv6`: IPv6 protocol.
|
|
133
|
+
*/
|
|
134
|
+
protocol?: pulumi.Input<string>;
|
|
135
|
+
/**
|
|
136
|
+
* Security protection types for shared bandwidth packages. Parameter - N: Indicates the number of security protection types, currently only supports taking 1. Value: `AntiDDoS_Enhanced` or left blank.If the value is `AntiDDoS_Enhanced`, then will create a shared bandwidth package with enhanced protection, which supports adding basic protection type public IP addresses.If left blank, it indicates a shared bandwidth package with basic protection, which supports the addition of public IP addresses with enhanced protection.
|
|
137
|
+
*/
|
|
138
|
+
securityProtectionTypes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
139
|
+
/**
|
|
140
|
+
* Tags.
|
|
141
|
+
*/
|
|
142
|
+
tags?: pulumi.Input<pulumi.Input<inputs.bandwidth_package.BandwidthPackageTag>[]>;
|
|
143
|
+
}
|
|
144
|
+
/**
|
|
145
|
+
* The set of arguments for constructing a BandwidthPackage resource.
|
|
146
|
+
*/
|
|
147
|
+
export interface BandwidthPackageArgs {
|
|
148
|
+
/**
|
|
149
|
+
* Bandwidth upper limit of shared bandwidth package, unit: Mbps. When BillingType is set to PrePaid: the value range is 5 to 5000. When BillingType is set to PostPaidByBandwidth: the value range is 2 to 5000. When BillingType is set to PostPaidByTraffic: the value range is 2 to 2000. When BillingType is set to PayBy95Peak: the value range is 2 to 5000.
|
|
150
|
+
*/
|
|
151
|
+
bandwidth: pulumi.Input<number>;
|
|
152
|
+
/**
|
|
153
|
+
* The name of the bandwidth package.
|
|
154
|
+
*/
|
|
155
|
+
bandwidthPackageName?: pulumi.Input<string>;
|
|
156
|
+
/**
|
|
157
|
+
* BillingType of the bandwidth package. Valid values: `PrePaid`, `PostPaidByBandwidth`(Default), `PostPaidByTraffic`, `PayBy95Peak`. The billing method of IPv6 does not include `PrePaid`, and the billing method is only based on the `PostPaidByBandwidth`.
|
|
158
|
+
*/
|
|
159
|
+
billingType?: pulumi.Input<string>;
|
|
160
|
+
/**
|
|
161
|
+
* The description of the bandwidth package.
|
|
162
|
+
*/
|
|
163
|
+
description?: pulumi.Input<string>;
|
|
164
|
+
/**
|
|
165
|
+
* Route type, default to BGP.
|
|
166
|
+
*/
|
|
167
|
+
isp?: pulumi.Input<string>;
|
|
168
|
+
/**
|
|
169
|
+
* Duration of purchasing shared bandwidth package on an annual or monthly basis. The valid value range in 1~9 or 12, 24 or 36. Default value is 1. The period unit defaults to `Month`.
|
|
170
|
+
*/
|
|
171
|
+
period?: pulumi.Input<number>;
|
|
172
|
+
/**
|
|
173
|
+
* The project name of the bandwidth package.
|
|
174
|
+
*/
|
|
175
|
+
projectName?: pulumi.Input<string>;
|
|
176
|
+
/**
|
|
177
|
+
* The IP protocol values for shared bandwidth packages are as follows: `IPv4`: IPv4 protocol. `IPv6`: IPv6 protocol.
|
|
178
|
+
*/
|
|
179
|
+
protocol?: pulumi.Input<string>;
|
|
180
|
+
/**
|
|
181
|
+
* Security protection types for shared bandwidth packages. Parameter - N: Indicates the number of security protection types, currently only supports taking 1. Value: `AntiDDoS_Enhanced` or left blank.If the value is `AntiDDoS_Enhanced`, then will create a shared bandwidth package with enhanced protection, which supports adding basic protection type public IP addresses.If left blank, it indicates a shared bandwidth package with basic protection, which supports the addition of public IP addresses with enhanced protection.
|
|
182
|
+
*/
|
|
183
|
+
securityProtectionTypes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
184
|
+
/**
|
|
185
|
+
* Tags.
|
|
186
|
+
*/
|
|
187
|
+
tags?: pulumi.Input<pulumi.Input<inputs.bandwidth_package.BandwidthPackageTag>[]>;
|
|
188
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
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.BandwidthPackage = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
14
|
+
*
|
|
15
|
+
* const foo = new volcengine.bandwidth_package.BandwidthPackage("foo", {
|
|
16
|
+
* bandwidth: 10,
|
|
17
|
+
* bandwidthPackageName: "tf-test",
|
|
18
|
+
* billingType: "PostPaidByBandwidth",
|
|
19
|
+
* description: "tftest-description",
|
|
20
|
+
* isp: "BGP",
|
|
21
|
+
* protocol: "IPv4",
|
|
22
|
+
* securityProtectionTypes: ["AntiDDoS_Enhanced"],
|
|
23
|
+
* tags: [{
|
|
24
|
+
* key: "tftest",
|
|
25
|
+
* value: "tftest",
|
|
26
|
+
* }],
|
|
27
|
+
* });
|
|
28
|
+
* ```
|
|
29
|
+
*
|
|
30
|
+
* ## Import
|
|
31
|
+
*
|
|
32
|
+
* BandwidthPackage can be imported using the id, e.g.
|
|
33
|
+
*
|
|
34
|
+
* ```sh
|
|
35
|
+
* $ pulumi import volcengine:bandwidth_package/bandwidthPackage:BandwidthPackage default bwp-2zeo05qre24nhrqpy****
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
class BandwidthPackage extends pulumi.CustomResource {
|
|
39
|
+
/**
|
|
40
|
+
* Get an existing BandwidthPackage resource's state with the given name, ID, and optional extra
|
|
41
|
+
* properties used to qualify the lookup.
|
|
42
|
+
*
|
|
43
|
+
* @param name The _unique_ name of the resulting resource.
|
|
44
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
45
|
+
* @param state Any extra arguments used during the lookup.
|
|
46
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
47
|
+
*/
|
|
48
|
+
static get(name, id, state, opts) {
|
|
49
|
+
return new BandwidthPackage(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Returns true if the given object is an instance of BandwidthPackage. This is designed to work even
|
|
53
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
54
|
+
*/
|
|
55
|
+
static isInstance(obj) {
|
|
56
|
+
if (obj === undefined || obj === null) {
|
|
57
|
+
return false;
|
|
58
|
+
}
|
|
59
|
+
return obj['__pulumiType'] === BandwidthPackage.__pulumiType;
|
|
60
|
+
}
|
|
61
|
+
constructor(name, argsOrState, opts) {
|
|
62
|
+
let resourceInputs = {};
|
|
63
|
+
opts = opts || {};
|
|
64
|
+
if (opts.id) {
|
|
65
|
+
const state = argsOrState;
|
|
66
|
+
resourceInputs["bandwidth"] = state ? state.bandwidth : undefined;
|
|
67
|
+
resourceInputs["bandwidthPackageName"] = state ? state.bandwidthPackageName : undefined;
|
|
68
|
+
resourceInputs["billingType"] = state ? state.billingType : undefined;
|
|
69
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
70
|
+
resourceInputs["isp"] = state ? state.isp : undefined;
|
|
71
|
+
resourceInputs["period"] = state ? state.period : undefined;
|
|
72
|
+
resourceInputs["projectName"] = state ? state.projectName : undefined;
|
|
73
|
+
resourceInputs["protocol"] = state ? state.protocol : undefined;
|
|
74
|
+
resourceInputs["securityProtectionTypes"] = state ? state.securityProtectionTypes : undefined;
|
|
75
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
76
|
+
}
|
|
77
|
+
else {
|
|
78
|
+
const args = argsOrState;
|
|
79
|
+
if ((!args || args.bandwidth === undefined) && !opts.urn) {
|
|
80
|
+
throw new Error("Missing required property 'bandwidth'");
|
|
81
|
+
}
|
|
82
|
+
resourceInputs["bandwidth"] = args ? args.bandwidth : undefined;
|
|
83
|
+
resourceInputs["bandwidthPackageName"] = args ? args.bandwidthPackageName : undefined;
|
|
84
|
+
resourceInputs["billingType"] = args ? args.billingType : undefined;
|
|
85
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
86
|
+
resourceInputs["isp"] = args ? args.isp : undefined;
|
|
87
|
+
resourceInputs["period"] = args ? args.period : undefined;
|
|
88
|
+
resourceInputs["projectName"] = args ? args.projectName : undefined;
|
|
89
|
+
resourceInputs["protocol"] = args ? args.protocol : undefined;
|
|
90
|
+
resourceInputs["securityProtectionTypes"] = args ? args.securityProtectionTypes : undefined;
|
|
91
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
92
|
+
}
|
|
93
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
94
|
+
super(BandwidthPackage.__pulumiType, name, resourceInputs, opts);
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
exports.BandwidthPackage = BandwidthPackage;
|
|
98
|
+
/** @internal */
|
|
99
|
+
BandwidthPackage.__pulumiType = 'volcengine:bandwidth_package/bandwidthPackage:BandwidthPackage';
|
|
100
|
+
//# sourceMappingURL=bandwidthPackage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bandwidthPackage.js","sourceRoot":"","sources":["../../bandwidth_package/bandwidthPackage.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Use this data source to query detailed information of bandwidth packages
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
11
|
+
*
|
|
12
|
+
* const foo = volcengine.bandwidth_package.BandwidthPackages({
|
|
13
|
+
* ids: ["bwp-rr0eev56j7y8v0x58ggbclr"],
|
|
14
|
+
* });
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
export declare function bandwidthPackages(args?: BandwidthPackagesArgs, opts?: pulumi.InvokeOptions): Promise<BandwidthPackagesResult>;
|
|
18
|
+
/**
|
|
19
|
+
* A collection of arguments for invoking BandwidthPackages.
|
|
20
|
+
*/
|
|
21
|
+
export interface BandwidthPackagesArgs {
|
|
22
|
+
/**
|
|
23
|
+
* Shared bandwidth package name to be queried.
|
|
24
|
+
*/
|
|
25
|
+
bandwidthPackageName?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Shared bandwidth package instance ID to be queried.
|
|
28
|
+
*/
|
|
29
|
+
ids?: string[];
|
|
30
|
+
/**
|
|
31
|
+
* Line types for shared bandwidth packages.
|
|
32
|
+
*/
|
|
33
|
+
isp?: string;
|
|
34
|
+
/**
|
|
35
|
+
* A Name Regex of Resource.
|
|
36
|
+
*/
|
|
37
|
+
nameRegex?: string;
|
|
38
|
+
/**
|
|
39
|
+
* File name where to save data source results.
|
|
40
|
+
*/
|
|
41
|
+
outputFile?: string;
|
|
42
|
+
/**
|
|
43
|
+
* The project name of the bandwidth package to be queried.
|
|
44
|
+
*/
|
|
45
|
+
projectName?: string;
|
|
46
|
+
/**
|
|
47
|
+
* The IP protocol values for shared bandwidth packages are as follows: `IPv4`: IPv4 protocol. `IPv6`: IPv6 protocol.
|
|
48
|
+
*/
|
|
49
|
+
protocol?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Security protection types for shared bandwidth packages.
|
|
52
|
+
*/
|
|
53
|
+
securityProtectionEnabled?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* A list of tags.
|
|
56
|
+
*/
|
|
57
|
+
tagFilters?: inputs.bandwidth_package.BandwidthPackagesTagFilter[];
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* A collection of values returned by BandwidthPackages.
|
|
61
|
+
*/
|
|
62
|
+
export interface BandwidthPackagesResult {
|
|
63
|
+
/**
|
|
64
|
+
* The name of the bandwidth package.
|
|
65
|
+
*/
|
|
66
|
+
readonly bandwidthPackageName?: string;
|
|
67
|
+
/**
|
|
68
|
+
* The provider-assigned unique ID for this managed resource.
|
|
69
|
+
*/
|
|
70
|
+
readonly id: string;
|
|
71
|
+
readonly ids?: string[];
|
|
72
|
+
/**
|
|
73
|
+
* The line type.
|
|
74
|
+
*/
|
|
75
|
+
readonly isp?: string;
|
|
76
|
+
readonly nameRegex?: string;
|
|
77
|
+
readonly outputFile?: string;
|
|
78
|
+
/**
|
|
79
|
+
* The collection of query.
|
|
80
|
+
*/
|
|
81
|
+
readonly packages: outputs.bandwidth_package.BandwidthPackagesPackage[];
|
|
82
|
+
/**
|
|
83
|
+
* The project name of the bandwidth package.
|
|
84
|
+
*/
|
|
85
|
+
readonly projectName?: string;
|
|
86
|
+
/**
|
|
87
|
+
* The protocol of the bandwidth package.
|
|
88
|
+
*/
|
|
89
|
+
readonly protocol?: string;
|
|
90
|
+
readonly securityProtectionEnabled?: boolean;
|
|
91
|
+
readonly tagFilters?: outputs.bandwidth_package.BandwidthPackagesTagFilter[];
|
|
92
|
+
/**
|
|
93
|
+
* The total count of query.
|
|
94
|
+
*/
|
|
95
|
+
readonly totalCount: number;
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* Use this data source to query detailed information of bandwidth packages
|
|
99
|
+
* ## Example Usage
|
|
100
|
+
*
|
|
101
|
+
* ```typescript
|
|
102
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
103
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
104
|
+
*
|
|
105
|
+
* const foo = volcengine.bandwidth_package.BandwidthPackages({
|
|
106
|
+
* ids: ["bwp-rr0eev56j7y8v0x58ggbclr"],
|
|
107
|
+
* });
|
|
108
|
+
* ```
|
|
109
|
+
*/
|
|
110
|
+
export declare function bandwidthPackagesOutput(args?: BandwidthPackagesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<BandwidthPackagesResult>;
|
|
111
|
+
/**
|
|
112
|
+
* A collection of arguments for invoking BandwidthPackages.
|
|
113
|
+
*/
|
|
114
|
+
export interface BandwidthPackagesOutputArgs {
|
|
115
|
+
/**
|
|
116
|
+
* Shared bandwidth package name to be queried.
|
|
117
|
+
*/
|
|
118
|
+
bandwidthPackageName?: pulumi.Input<string>;
|
|
119
|
+
/**
|
|
120
|
+
* Shared bandwidth package instance ID to be queried.
|
|
121
|
+
*/
|
|
122
|
+
ids?: pulumi.Input<pulumi.Input<string>[]>;
|
|
123
|
+
/**
|
|
124
|
+
* Line types for shared bandwidth packages.
|
|
125
|
+
*/
|
|
126
|
+
isp?: pulumi.Input<string>;
|
|
127
|
+
/**
|
|
128
|
+
* A Name Regex of Resource.
|
|
129
|
+
*/
|
|
130
|
+
nameRegex?: pulumi.Input<string>;
|
|
131
|
+
/**
|
|
132
|
+
* File name where to save data source results.
|
|
133
|
+
*/
|
|
134
|
+
outputFile?: pulumi.Input<string>;
|
|
135
|
+
/**
|
|
136
|
+
* The project name of the bandwidth package to be queried.
|
|
137
|
+
*/
|
|
138
|
+
projectName?: pulumi.Input<string>;
|
|
139
|
+
/**
|
|
140
|
+
* The IP protocol values for shared bandwidth packages are as follows: `IPv4`: IPv4 protocol. `IPv6`: IPv6 protocol.
|
|
141
|
+
*/
|
|
142
|
+
protocol?: pulumi.Input<string>;
|
|
143
|
+
/**
|
|
144
|
+
* Security protection types for shared bandwidth packages.
|
|
145
|
+
*/
|
|
146
|
+
securityProtectionEnabled?: pulumi.Input<boolean>;
|
|
147
|
+
/**
|
|
148
|
+
* A list of tags.
|
|
149
|
+
*/
|
|
150
|
+
tagFilters?: pulumi.Input<pulumi.Input<inputs.bandwidth_package.BandwidthPackagesTagFilterArgs>[]>;
|
|
151
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
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.bandwidthPackagesOutput = exports.bandwidthPackages = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to query detailed information of bandwidth packages
|
|
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.bandwidth_package.BandwidthPackages({
|
|
17
|
+
* ids: ["bwp-rr0eev56j7y8v0x58ggbclr"],
|
|
18
|
+
* });
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
function bandwidthPackages(args, opts) {
|
|
22
|
+
args = args || {};
|
|
23
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
24
|
+
return pulumi.runtime.invoke("volcengine:bandwidth_package/bandwidthPackages:BandwidthPackages", {
|
|
25
|
+
"bandwidthPackageName": args.bandwidthPackageName,
|
|
26
|
+
"ids": args.ids,
|
|
27
|
+
"isp": args.isp,
|
|
28
|
+
"nameRegex": args.nameRegex,
|
|
29
|
+
"outputFile": args.outputFile,
|
|
30
|
+
"projectName": args.projectName,
|
|
31
|
+
"protocol": args.protocol,
|
|
32
|
+
"securityProtectionEnabled": args.securityProtectionEnabled,
|
|
33
|
+
"tagFilters": args.tagFilters,
|
|
34
|
+
}, opts);
|
|
35
|
+
}
|
|
36
|
+
exports.bandwidthPackages = bandwidthPackages;
|
|
37
|
+
/**
|
|
38
|
+
* Use this data source to query detailed information of bandwidth packages
|
|
39
|
+
* ## Example Usage
|
|
40
|
+
*
|
|
41
|
+
* ```typescript
|
|
42
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
43
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
44
|
+
*
|
|
45
|
+
* const foo = volcengine.bandwidth_package.BandwidthPackages({
|
|
46
|
+
* ids: ["bwp-rr0eev56j7y8v0x58ggbclr"],
|
|
47
|
+
* });
|
|
48
|
+
* ```
|
|
49
|
+
*/
|
|
50
|
+
function bandwidthPackagesOutput(args, opts) {
|
|
51
|
+
return pulumi.output(args).apply((a) => bandwidthPackages(a, opts));
|
|
52
|
+
}
|
|
53
|
+
exports.bandwidthPackagesOutput = bandwidthPackagesOutput;
|
|
54
|
+
//# sourceMappingURL=bandwidthPackages.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bandwidthPackages.js","sourceRoot":"","sources":["../../bandwidth_package/bandwidthPackages.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;GAYG;AACH,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAA2B;IACvF,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,kEAAkE,EAAE;QAC7F,sBAAsB,EAAE,IAAI,CAAC,oBAAoB;QACjD,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,2BAA2B,EAAE,IAAI,CAAC,yBAAyB;QAC3D,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAfD,8CAeC;AAkFD;;;;;;;;;;;;GAYG;AACH,SAAgB,uBAAuB,CAAC,IAAkC,EAAE,IAA2B;IACnG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,iBAAiB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC5E,CAAC;AAFD,0DAEC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { AttachmentArgs, AttachmentState } from "./attachment";
|
|
2
|
+
export type Attachment = import("./attachment").Attachment;
|
|
3
|
+
export declare const Attachment: typeof import("./attachment").Attachment;
|
|
4
|
+
export { BandwidthPackageArgs, BandwidthPackageState } from "./bandwidthPackage";
|
|
5
|
+
export type BandwidthPackage = import("./bandwidthPackage").BandwidthPackage;
|
|
6
|
+
export declare const BandwidthPackage: typeof import("./bandwidthPackage").BandwidthPackage;
|
|
7
|
+
export { BandwidthPackagesArgs, BandwidthPackagesResult, BandwidthPackagesOutputArgs } from "./bandwidthPackages";
|
|
8
|
+
export declare const bandwidthPackages: typeof import("./bandwidthPackages").bandwidthPackages;
|
|
9
|
+
export declare const bandwidthPackagesOutput: typeof import("./bandwidthPackages").bandwidthPackagesOutput;
|
|
@@ -0,0 +1,30 @@
|
|
|
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.bandwidthPackagesOutput = exports.bandwidthPackages = exports.BandwidthPackage = exports.Attachment = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
exports.Attachment = null;
|
|
9
|
+
utilities.lazyLoad(exports, ["Attachment"], () => require("./attachment"));
|
|
10
|
+
exports.BandwidthPackage = null;
|
|
11
|
+
utilities.lazyLoad(exports, ["BandwidthPackage"], () => require("./bandwidthPackage"));
|
|
12
|
+
exports.bandwidthPackages = null;
|
|
13
|
+
exports.bandwidthPackagesOutput = null;
|
|
14
|
+
utilities.lazyLoad(exports, ["bandwidthPackages", "bandwidthPackagesOutput"], () => require("./bandwidthPackages"));
|
|
15
|
+
const _module = {
|
|
16
|
+
version: utilities.getVersion(),
|
|
17
|
+
construct: (name, type, urn) => {
|
|
18
|
+
switch (type) {
|
|
19
|
+
case "volcengine:bandwidth_package/attachment:Attachment":
|
|
20
|
+
return new exports.Attachment(name, undefined, { urn });
|
|
21
|
+
case "volcengine:bandwidth_package/bandwidthPackage:BandwidthPackage":
|
|
22
|
+
return new exports.BandwidthPackage(name, undefined, { urn });
|
|
23
|
+
default:
|
|
24
|
+
throw new Error(`unknown resource type ${type}`);
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
};
|
|
28
|
+
pulumi.runtime.registerResourceModule("volcengine", "bandwidth_package/attachment", _module);
|
|
29
|
+
pulumi.runtime.registerResourceModule("volcengine", "bandwidth_package/bandwidthPackage", _module);
|
|
30
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../bandwidth_package/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,UAAU,GAA6C,IAAW,CAAC;AAChF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,YAAY,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC;AAI9D,QAAA,gBAAgB,GAAyD,IAAW,CAAC;AAClG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,kBAAkB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,oBAAoB,CAAC,CAAC,CAAC;AAG1E,QAAA,iBAAiB,GAA2D,IAAW,CAAC;AACxF,QAAA,uBAAuB,GAAiE,IAAW,CAAC;AACjH,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,mBAAmB,EAAC,yBAAyB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,qBAAqB,CAAC,CAAC,CAAC;AAGnH,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,oDAAoD;gBACrD,OAAO,IAAI,kBAAU,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACxD,KAAK,gEAAgE;gBACjE,OAAO,IAAI,wBAAgB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC9D;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,8BAA8B,EAAE,OAAO,CAAC,CAAA;AAC5F,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,oCAAoC,EAAE,OAAO,CAAC,CAAA"}
|
package/clb/listener.d.ts
CHANGED
|
@@ -127,6 +127,10 @@ export declare class Listener extends pulumi.CustomResource {
|
|
|
127
127
|
* This filed is required when the value of field `connectionDrainEnabled` is `on`.
|
|
128
128
|
*/
|
|
129
129
|
readonly connectionDrainTimeout: pulumi.Output<number>;
|
|
130
|
+
/**
|
|
131
|
+
* The name of the cookie for session persistence configured on the backend server. When PersistenceType is configured as `server`, this parameter is required. When PersistenceType is configured as any other value, this parameter is not effective.
|
|
132
|
+
*/
|
|
133
|
+
readonly cookie: pulumi.Output<string | undefined>;
|
|
130
134
|
/**
|
|
131
135
|
* The description of the Listener.
|
|
132
136
|
*/
|
|
@@ -156,13 +160,12 @@ export declare class Listener extends pulumi.CustomResource {
|
|
|
156
160
|
*/
|
|
157
161
|
readonly loadBalancerId: pulumi.Output<string>;
|
|
158
162
|
/**
|
|
159
|
-
* The persistence timeout of the Listener. Unit: second.
|
|
160
|
-
* This filed is valid only when the value of field `persistenceType` is `sourceIp`.
|
|
163
|
+
* The persistence timeout of the Listener. Unit: second. Default is `1000`. When PersistenceType is configured as source_ip, the value range is 1-3600. When PersistenceType is configured as insert, the value range is 1-86400. This filed is valid only when the value of field `persistenceType` is `sourceIp` or `insert`.
|
|
161
164
|
*/
|
|
162
165
|
readonly persistenceTimeout: pulumi.Output<number | undefined>;
|
|
163
166
|
/**
|
|
164
|
-
* The persistence type of the Listener. Valid values: `off`, `sourceIp`. Default is `off`.
|
|
165
|
-
*
|
|
167
|
+
* The persistence type of the Listener. Valid values: `off`, `sourceIp`, `insert`, `server`. Default is `off`.
|
|
168
|
+
* `sourceIp`: Represents the source IP address, only effective for TCP/UDP protocols. `insert`: means implanting a cookie, only effective for HTTP/HTTPS protocol and when the scheduler is `wrr`. `server`: Indicates rewriting cookies, only effective for HTTP/HTTPS protocols and when the scheduler is `wrr`.
|
|
166
169
|
*/
|
|
167
170
|
readonly persistenceType: pulumi.Output<string | undefined>;
|
|
168
171
|
/**
|
|
@@ -229,6 +232,10 @@ export interface ListenerState {
|
|
|
229
232
|
* This filed is required when the value of field `connectionDrainEnabled` is `on`.
|
|
230
233
|
*/
|
|
231
234
|
connectionDrainTimeout?: pulumi.Input<number>;
|
|
235
|
+
/**
|
|
236
|
+
* The name of the cookie for session persistence configured on the backend server. When PersistenceType is configured as `server`, this parameter is required. When PersistenceType is configured as any other value, this parameter is not effective.
|
|
237
|
+
*/
|
|
238
|
+
cookie?: pulumi.Input<string>;
|
|
232
239
|
/**
|
|
233
240
|
* The description of the Listener.
|
|
234
241
|
*/
|
|
@@ -258,13 +265,12 @@ export interface ListenerState {
|
|
|
258
265
|
*/
|
|
259
266
|
loadBalancerId?: pulumi.Input<string>;
|
|
260
267
|
/**
|
|
261
|
-
* The persistence timeout of the Listener. Unit: second.
|
|
262
|
-
* This filed is valid only when the value of field `persistenceType` is `sourceIp`.
|
|
268
|
+
* The persistence timeout of the Listener. Unit: second. Default is `1000`. When PersistenceType is configured as source_ip, the value range is 1-3600. When PersistenceType is configured as insert, the value range is 1-86400. This filed is valid only when the value of field `persistenceType` is `sourceIp` or `insert`.
|
|
263
269
|
*/
|
|
264
270
|
persistenceTimeout?: pulumi.Input<number>;
|
|
265
271
|
/**
|
|
266
|
-
* The persistence type of the Listener. Valid values: `off`, `sourceIp`. Default is `off`.
|
|
267
|
-
*
|
|
272
|
+
* The persistence type of the Listener. Valid values: `off`, `sourceIp`, `insert`, `server`. Default is `off`.
|
|
273
|
+
* `sourceIp`: Represents the source IP address, only effective for TCP/UDP protocols. `insert`: means implanting a cookie, only effective for HTTP/HTTPS protocol and when the scheduler is `wrr`. `server`: Indicates rewriting cookies, only effective for HTTP/HTTPS protocols and when the scheduler is `wrr`.
|
|
268
274
|
*/
|
|
269
275
|
persistenceType?: pulumi.Input<string>;
|
|
270
276
|
/**
|
|
@@ -323,6 +329,10 @@ export interface ListenerArgs {
|
|
|
323
329
|
* This filed is required when the value of field `connectionDrainEnabled` is `on`.
|
|
324
330
|
*/
|
|
325
331
|
connectionDrainTimeout?: pulumi.Input<number>;
|
|
332
|
+
/**
|
|
333
|
+
* The name of the cookie for session persistence configured on the backend server. When PersistenceType is configured as `server`, this parameter is required. When PersistenceType is configured as any other value, this parameter is not effective.
|
|
334
|
+
*/
|
|
335
|
+
cookie?: pulumi.Input<string>;
|
|
326
336
|
/**
|
|
327
337
|
* The description of the Listener.
|
|
328
338
|
*/
|
|
@@ -348,13 +358,12 @@ export interface ListenerArgs {
|
|
|
348
358
|
*/
|
|
349
359
|
loadBalancerId: pulumi.Input<string>;
|
|
350
360
|
/**
|
|
351
|
-
* The persistence timeout of the Listener. Unit: second.
|
|
352
|
-
* This filed is valid only when the value of field `persistenceType` is `sourceIp`.
|
|
361
|
+
* The persistence timeout of the Listener. Unit: second. Default is `1000`. When PersistenceType is configured as source_ip, the value range is 1-3600. When PersistenceType is configured as insert, the value range is 1-86400. This filed is valid only when the value of field `persistenceType` is `sourceIp` or `insert`.
|
|
353
362
|
*/
|
|
354
363
|
persistenceTimeout?: pulumi.Input<number>;
|
|
355
364
|
/**
|
|
356
|
-
* The persistence type of the Listener. Valid values: `off`, `sourceIp`. Default is `off`.
|
|
357
|
-
*
|
|
365
|
+
* The persistence type of the Listener. Valid values: `off`, `sourceIp`, `insert`, `server`. Default is `off`.
|
|
366
|
+
* `sourceIp`: Represents the source IP address, only effective for TCP/UDP protocols. `insert`: means implanting a cookie, only effective for HTTP/HTTPS protocol and when the scheduler is `wrr`. `server`: Indicates rewriting cookies, only effective for HTTP/HTTPS protocols and when the scheduler is `wrr`.
|
|
358
367
|
*/
|
|
359
368
|
persistenceType?: pulumi.Input<string>;
|
|
360
369
|
/**
|
package/clb/listener.js
CHANGED
|
@@ -120,6 +120,7 @@ class Listener extends pulumi.CustomResource {
|
|
|
120
120
|
resourceInputs["certificateId"] = state ? state.certificateId : undefined;
|
|
121
121
|
resourceInputs["connectionDrainEnabled"] = state ? state.connectionDrainEnabled : undefined;
|
|
122
122
|
resourceInputs["connectionDrainTimeout"] = state ? state.connectionDrainTimeout : undefined;
|
|
123
|
+
resourceInputs["cookie"] = state ? state.cookie : undefined;
|
|
123
124
|
resourceInputs["description"] = state ? state.description : undefined;
|
|
124
125
|
resourceInputs["enabled"] = state ? state.enabled : undefined;
|
|
125
126
|
resourceInputs["establishedTimeout"] = state ? state.establishedTimeout : undefined;
|
|
@@ -156,6 +157,7 @@ class Listener extends pulumi.CustomResource {
|
|
|
156
157
|
resourceInputs["certificateId"] = args ? args.certificateId : undefined;
|
|
157
158
|
resourceInputs["connectionDrainEnabled"] = args ? args.connectionDrainEnabled : undefined;
|
|
158
159
|
resourceInputs["connectionDrainTimeout"] = args ? args.connectionDrainTimeout : undefined;
|
|
160
|
+
resourceInputs["cookie"] = args ? args.cookie : undefined;
|
|
159
161
|
resourceInputs["description"] = args ? args.description : undefined;
|
|
160
162
|
resourceInputs["enabled"] = args ? args.enabled : undefined;
|
|
161
163
|
resourceInputs["establishedTimeout"] = args ? args.establishedTimeout : undefined;
|