@pulumi/openstack 3.16.0-alpha.1715927024 → 4.0.1-alpha.1721241521
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/README.md +1 -1
- package/blockstorage/getVolumeV3.d.ts +0 -4
- package/blockstorage/getVolumeV3.js.map +1 -1
- package/blockstorage/volume.d.ts +0 -18
- package/blockstorage/volume.js +0 -2
- package/blockstorage/volume.js.map +1 -1
- package/blockstorage/volumeAttachV2.d.ts +0 -12
- package/blockstorage/volumeAttachV2.js +0 -2
- package/blockstorage/volumeAttachV2.js.map +1 -1
- package/blockstorage/volumeTypeV3.d.ts +17 -0
- package/blockstorage/volumeTypeV3.js +17 -0
- package/blockstorage/volumeTypeV3.js.map +1 -1
- package/compute/instance.d.ts +0 -24
- package/compute/instance.js +0 -4
- package/compute/instance.js.map +1 -1
- package/compute/serverGroup.d.ts +22 -0
- package/compute/serverGroup.js +22 -0
- package/compute/serverGroup.js.map +1 -1
- package/compute/volumeAttach.d.ts +20 -2
- package/compute/volumeAttach.js +4 -2
- package/compute/volumeAttach.js.map +1 -1
- package/config/vars.d.ts +0 -4
- package/config/vars.js +0 -7
- package/config/vars.js.map +1 -1
- package/images/getImage.d.ts +13 -14
- package/images/getImage.js +1 -2
- package/images/getImage.js.map +1 -1
- package/images/getImageIds.d.ts +2 -44
- package/images/getImageIds.js +0 -2
- package/images/getImageIds.js.map +1 -1
- package/images/image.d.ts +0 -12
- package/images/image.js +0 -2
- package/images/image.js.map +1 -1
- package/index.d.ts +3 -0
- package/index.js +15 -1
- package/index.js.map +1 -1
- package/keymanager/containerV1.d.ts +1 -1
- package/keymanager/containerV1.js +1 -1
- package/lbLoadbalancerV2.d.ts +299 -0
- package/lbLoadbalancerV2.js +100 -0
- package/lbLoadbalancerV2.js.map +1 -0
- package/loadbalancer/getFlavorV2.d.ts +34 -0
- package/loadbalancer/getFlavorV2.js +22 -0
- package/loadbalancer/getFlavorV2.js.map +1 -0
- package/loadbalancer/index.d.ts +3 -0
- package/loadbalancer/index.js +4 -1
- package/loadbalancer/index.js.map +1 -1
- package/loadbalancer/l7policyV2.d.ts +1 -1
- package/loadbalancer/l7policyV2.js +1 -1
- package/loadbalancer/l7ruleV2.d.ts +1 -1
- package/loadbalancer/l7ruleV2.js +1 -1
- package/loadbalancer/listener.d.ts +6 -6
- package/loadbalancer/loadBalancer.d.ts +2 -219
- package/loadbalancer/loadBalancer.js +4 -21
- package/loadbalancer/loadBalancer.js.map +1 -1
- package/loadbalancer/members.d.ts +0 -4
- package/loadbalancer/members.js +0 -4
- package/loadbalancer/members.js.map +1 -1
- package/loadbalancer/pool.d.ts +9 -12
- package/loadbalancer/pool.js.map +1 -1
- package/loadbalancer/poolV1.d.ts +0 -31
- package/loadbalancer/poolV1.js +0 -6
- package/loadbalancer/poolV1.js.map +1 -1
- package/loadbalancer/quota.d.ts +0 -2
- package/loadbalancer/quota.js +0 -2
- package/loadbalancer/quota.js.map +1 -1
- package/networking/getFloatingIp.d.ts +2 -2
- package/networking/getSubnet.d.ts +0 -12
- package/networking/getSubnet.js +0 -1
- package/networking/getSubnet.js.map +1 -1
- package/networking/router.d.ts +0 -30
- package/networking/router.js +0 -2
- package/networking/router.js.map +1 -1
- package/networking/subnet.d.ts +0 -54
- package/networking/subnet.js +0 -4
- package/networking/subnet.js.map +1 -1
- package/package.json +2 -2
- package/provider.d.ts +0 -6
- package/provider.js +1 -2
- package/provider.js.map +1 -1
- package/types/input.d.ts +24 -30
- package/types/output.d.ts +24 -30
- package/vpnaas/ikePolicy.d.ts +3 -3
|
@@ -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.LbLoadbalancerV2 = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Manages a V2 loadbalancer resource within OpenStack.
|
|
10
|
+
*
|
|
11
|
+
* > **Note:** This resource has attributes that depend on octavia minor versions.
|
|
12
|
+
* Please ensure your Openstack cloud supports the required minor version.
|
|
13
|
+
*
|
|
14
|
+
* ## Example Usage
|
|
15
|
+
*
|
|
16
|
+
* ```typescript
|
|
17
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
18
|
+
* import * as openstack from "@pulumi/openstack";
|
|
19
|
+
*
|
|
20
|
+
* const lb1 = new openstack.LbLoadbalancerV2("lb_1", {vipSubnetId: "d9415786-5f1a-428b-b35f-2f1523e146d2"});
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* ## Import
|
|
24
|
+
*
|
|
25
|
+
* Load Balancer can be imported using the Load Balancer ID, e.g.:
|
|
26
|
+
*
|
|
27
|
+
* ```sh
|
|
28
|
+
* $ pulumi import openstack:index/lbLoadbalancerV2:LbLoadbalancerV2 loadbalancer_1 19bcfdc7-c521-4a7e-9459-6750bd16df76
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
31
|
+
class LbLoadbalancerV2 extends pulumi.CustomResource {
|
|
32
|
+
/**
|
|
33
|
+
* Get an existing LbLoadbalancerV2 resource's state with the given name, ID, and optional extra
|
|
34
|
+
* properties used to qualify the lookup.
|
|
35
|
+
*
|
|
36
|
+
* @param name The _unique_ name of the resulting resource.
|
|
37
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
38
|
+
* @param state Any extra arguments used during the lookup.
|
|
39
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
40
|
+
*/
|
|
41
|
+
static get(name, id, state, opts) {
|
|
42
|
+
return new LbLoadbalancerV2(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Returns true if the given object is an instance of LbLoadbalancerV2. This is designed to work even
|
|
46
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
47
|
+
*/
|
|
48
|
+
static isInstance(obj) {
|
|
49
|
+
if (obj === undefined || obj === null) {
|
|
50
|
+
return false;
|
|
51
|
+
}
|
|
52
|
+
return obj['__pulumiType'] === LbLoadbalancerV2.__pulumiType;
|
|
53
|
+
}
|
|
54
|
+
constructor(name, argsOrState, opts) {
|
|
55
|
+
let resourceInputs = {};
|
|
56
|
+
opts = opts || {};
|
|
57
|
+
if (opts.id) {
|
|
58
|
+
const state = argsOrState;
|
|
59
|
+
resourceInputs["adminStateUp"] = state ? state.adminStateUp : undefined;
|
|
60
|
+
resourceInputs["availabilityZone"] = state ? state.availabilityZone : undefined;
|
|
61
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
62
|
+
resourceInputs["flavorId"] = state ? state.flavorId : undefined;
|
|
63
|
+
resourceInputs["loadbalancerProvider"] = state ? state.loadbalancerProvider : undefined;
|
|
64
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
65
|
+
resourceInputs["region"] = state ? state.region : undefined;
|
|
66
|
+
resourceInputs["securityGroupIds"] = state ? state.securityGroupIds : undefined;
|
|
67
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
68
|
+
resourceInputs["tenantId"] = state ? state.tenantId : undefined;
|
|
69
|
+
resourceInputs["vipAddress"] = state ? state.vipAddress : undefined;
|
|
70
|
+
resourceInputs["vipNetworkId"] = state ? state.vipNetworkId : undefined;
|
|
71
|
+
resourceInputs["vipPortId"] = state ? state.vipPortId : undefined;
|
|
72
|
+
resourceInputs["vipSubnetId"] = state ? state.vipSubnetId : undefined;
|
|
73
|
+
}
|
|
74
|
+
else {
|
|
75
|
+
const args = argsOrState;
|
|
76
|
+
resourceInputs["adminStateUp"] = args ? args.adminStateUp : undefined;
|
|
77
|
+
resourceInputs["availabilityZone"] = args ? args.availabilityZone : undefined;
|
|
78
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
79
|
+
resourceInputs["flavorId"] = args ? args.flavorId : undefined;
|
|
80
|
+
resourceInputs["loadbalancerProvider"] = args ? args.loadbalancerProvider : undefined;
|
|
81
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
82
|
+
resourceInputs["region"] = args ? args.region : undefined;
|
|
83
|
+
resourceInputs["securityGroupIds"] = args ? args.securityGroupIds : undefined;
|
|
84
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
85
|
+
resourceInputs["tenantId"] = args ? args.tenantId : undefined;
|
|
86
|
+
resourceInputs["vipAddress"] = args ? args.vipAddress : undefined;
|
|
87
|
+
resourceInputs["vipNetworkId"] = args ? args.vipNetworkId : undefined;
|
|
88
|
+
resourceInputs["vipPortId"] = args ? args.vipPortId : undefined;
|
|
89
|
+
resourceInputs["vipSubnetId"] = args ? args.vipSubnetId : undefined;
|
|
90
|
+
}
|
|
91
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
92
|
+
const aliasOpts = { aliases: [{ type: "openstack:loadbalancer/loadBalancer:LoadBalancer" }] };
|
|
93
|
+
opts = pulumi.mergeOptions(opts, aliasOpts);
|
|
94
|
+
super(LbLoadbalancerV2.__pulumiType, name, resourceInputs, opts);
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
exports.LbLoadbalancerV2 = LbLoadbalancerV2;
|
|
98
|
+
/** @internal */
|
|
99
|
+
LbLoadbalancerV2.__pulumiType = 'openstack:index/lbLoadbalancerV2:LbLoadbalancerV2';
|
|
100
|
+
//# sourceMappingURL=lbLoadbalancerV2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lbLoadbalancerV2.js","sourceRoot":"","sources":["../lbLoadbalancerV2.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;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C,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,MAAM,SAAS,GAAG,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,kDAAkD,EAAE,CAAC,EAAE,CAAC;QAC9F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;QAC5C,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AA7JL,4CA8JC;AAhJG,gBAAgB;AACO,6BAAY,GAAG,mDAAmD,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
export declare function getFlavorV2(args?: GetFlavorV2Args, opts?: pulumi.InvokeOptions): Promise<GetFlavorV2Result>;
|
|
3
|
+
/**
|
|
4
|
+
* A collection of arguments for invoking getFlavorV2.
|
|
5
|
+
*/
|
|
6
|
+
export interface GetFlavorV2Args {
|
|
7
|
+
flavorId?: string;
|
|
8
|
+
name?: string;
|
|
9
|
+
region?: string;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* A collection of values returned by getFlavorV2.
|
|
13
|
+
*/
|
|
14
|
+
export interface GetFlavorV2Result {
|
|
15
|
+
readonly description: string;
|
|
16
|
+
readonly enabled: boolean;
|
|
17
|
+
readonly flavorId: string;
|
|
18
|
+
readonly flavorProfileId: string;
|
|
19
|
+
/**
|
|
20
|
+
* The provider-assigned unique ID for this managed resource.
|
|
21
|
+
*/
|
|
22
|
+
readonly id: string;
|
|
23
|
+
readonly name: string;
|
|
24
|
+
readonly region?: string;
|
|
25
|
+
}
|
|
26
|
+
export declare function getFlavorV2Output(args?: GetFlavorV2OutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetFlavorV2Result>;
|
|
27
|
+
/**
|
|
28
|
+
* A collection of arguments for invoking getFlavorV2.
|
|
29
|
+
*/
|
|
30
|
+
export interface GetFlavorV2OutputArgs {
|
|
31
|
+
flavorId?: pulumi.Input<string>;
|
|
32
|
+
name?: pulumi.Input<string>;
|
|
33
|
+
region?: pulumi.Input<string>;
|
|
34
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
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.getFlavorV2Output = exports.getFlavorV2 = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
function getFlavorV2(args, opts) {
|
|
9
|
+
args = args || {};
|
|
10
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
11
|
+
return pulumi.runtime.invoke("openstack:loadbalancer/getFlavorV2:getFlavorV2", {
|
|
12
|
+
"flavorId": args.flavorId,
|
|
13
|
+
"name": args.name,
|
|
14
|
+
"region": args.region,
|
|
15
|
+
}, opts);
|
|
16
|
+
}
|
|
17
|
+
exports.getFlavorV2 = getFlavorV2;
|
|
18
|
+
function getFlavorV2Output(args, opts) {
|
|
19
|
+
return pulumi.output(args).apply((a) => getFlavorV2(a, opts));
|
|
20
|
+
}
|
|
21
|
+
exports.getFlavorV2Output = getFlavorV2Output;
|
|
22
|
+
//# sourceMappingURL=getFlavorV2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getFlavorV2.js","sourceRoot":"","sources":["../../loadbalancer/getFlavorV2.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,SAAgB,WAAW,CAAC,IAAsB,EAAE,IAA2B;IAC3E,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,gDAAgD,EAAE;QAC3E,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,kCASC;AA0BD,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAA2B;IACvF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACtE,CAAC;AAFD,8CAEC"}
|
package/loadbalancer/index.d.ts
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
export { GetFlavorV2Args, GetFlavorV2Result, GetFlavorV2OutputArgs } from "./getFlavorV2";
|
|
2
|
+
export declare const getFlavorV2: typeof import("./getFlavorV2").getFlavorV2;
|
|
3
|
+
export declare const getFlavorV2Output: typeof import("./getFlavorV2").getFlavorV2Output;
|
|
1
4
|
export { L7PolicyV2Args, L7PolicyV2State } from "./l7policyV2";
|
|
2
5
|
export type L7PolicyV2 = import("./l7policyV2").L7PolicyV2;
|
|
3
6
|
export declare const L7PolicyV2: typeof import("./l7policyV2").L7PolicyV2;
|
package/loadbalancer/index.js
CHANGED
|
@@ -2,9 +2,12 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.Vip = exports.Quota = exports.PoolV1 = exports.Pool = exports.MonitorV1 = exports.Monitor = exports.Members = exports.MemberV1 = exports.Member = exports.LoadBalancer = exports.Listener = exports.L7RuleV2 = exports.L7PolicyV2 = void 0;
|
|
5
|
+
exports.Vip = exports.Quota = exports.PoolV1 = exports.Pool = exports.MonitorV1 = exports.Monitor = exports.Members = exports.MemberV1 = exports.Member = exports.LoadBalancer = exports.Listener = exports.L7RuleV2 = exports.L7PolicyV2 = exports.getFlavorV2Output = exports.getFlavorV2 = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
|
+
exports.getFlavorV2 = null;
|
|
9
|
+
exports.getFlavorV2Output = null;
|
|
10
|
+
utilities.lazyLoad(exports, ["getFlavorV2", "getFlavorV2Output"], () => require("./getFlavorV2"));
|
|
8
11
|
exports.L7PolicyV2 = null;
|
|
9
12
|
utilities.lazyLoad(exports, ["L7PolicyV2"], () => require("./l7policyV2"));
|
|
10
13
|
exports.L7RuleV2 = null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../loadbalancer/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../loadbalancer/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAI7B,QAAA,WAAW,GAA+C,IAAW,CAAC;AACtE,QAAA,iBAAiB,GAAqD,IAAW,CAAC;AAC/F,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,aAAa,EAAC,mBAAmB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC;AAIpF,QAAA,UAAU,GAA6C,IAAW,CAAC;AAChF,SAAS,CAAC,QAAQ,CAAC,OA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network1.id,
|
|
20
20
|
* });
|
|
21
|
-
* const loadbalancer1 = new openstack.
|
|
21
|
+
* const loadbalancer1 = new openstack.LbLoadbalancerV2("loadbalancer_1", {
|
|
22
22
|
* name: "loadbalancer_1",
|
|
23
23
|
* vipSubnetId: subnet1.id,
|
|
24
24
|
* });
|
|
@@ -24,7 +24,7 @@ const utilities = require("../utilities");
|
|
|
24
24
|
* ipVersion: 4,
|
|
25
25
|
* networkId: network1.id,
|
|
26
26
|
* });
|
|
27
|
-
* const loadbalancer1 = new openstack.
|
|
27
|
+
* const loadbalancer1 = new openstack.LbLoadbalancerV2("loadbalancer_1", {
|
|
28
28
|
* name: "loadbalancer_1",
|
|
29
29
|
* vipSubnetId: subnet1.id,
|
|
30
30
|
* });
|
|
@@ -18,7 +18,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
18
18
|
* ipVersion: 4,
|
|
19
19
|
* networkId: network1.id,
|
|
20
20
|
* });
|
|
21
|
-
* const loadbalancer1 = new openstack.
|
|
21
|
+
* const loadbalancer1 = new openstack.LbLoadbalancerV2("loadbalancer_1", {
|
|
22
22
|
* name: "loadbalancer_1",
|
|
23
23
|
* vipSubnetId: subnet1.id,
|
|
24
24
|
* });
|
package/loadbalancer/l7ruleV2.js
CHANGED
|
@@ -24,7 +24,7 @@ const utilities = require("../utilities");
|
|
|
24
24
|
* ipVersion: 4,
|
|
25
25
|
* networkId: network1.id,
|
|
26
26
|
* });
|
|
27
|
-
* const loadbalancer1 = new openstack.
|
|
27
|
+
* const loadbalancer1 = new openstack.LbLoadbalancerV2("loadbalancer_1", {
|
|
28
28
|
* name: "loadbalancer_1",
|
|
29
29
|
* vipSubnetId: subnet1.id,
|
|
30
30
|
* });
|
|
@@ -97,8 +97,8 @@ export declare class Listener extends pulumi.CustomResource {
|
|
|
97
97
|
readonly name: pulumi.Output<string>;
|
|
98
98
|
/**
|
|
99
99
|
* The protocol - can either be TCP, HTTP, HTTPS,
|
|
100
|
-
* TERMINATED_HTTPS, UDP
|
|
101
|
-
*
|
|
100
|
+
* TERMINATED_HTTPS, UDP, SCTP (supported only in
|
|
101
|
+
* **Octavia minor version >= 2.23**) or PROMETHEUS (supported only in
|
|
102
102
|
* **Octavia minor version >=2.25**). Changing this creates a new Listener.
|
|
103
103
|
*/
|
|
104
104
|
readonly protocol: pulumi.Output<string>;
|
|
@@ -210,8 +210,8 @@ export interface ListenerState {
|
|
|
210
210
|
name?: pulumi.Input<string>;
|
|
211
211
|
/**
|
|
212
212
|
* The protocol - can either be TCP, HTTP, HTTPS,
|
|
213
|
-
* TERMINATED_HTTPS, UDP
|
|
214
|
-
*
|
|
213
|
+
* TERMINATED_HTTPS, UDP, SCTP (supported only in
|
|
214
|
+
* **Octavia minor version >= 2.23**) or PROMETHEUS (supported only in
|
|
215
215
|
* **Octavia minor version >=2.25**). Changing this creates a new Listener.
|
|
216
216
|
*/
|
|
217
217
|
protocol?: pulumi.Input<string>;
|
|
@@ -315,8 +315,8 @@ export interface ListenerArgs {
|
|
|
315
315
|
name?: pulumi.Input<string>;
|
|
316
316
|
/**
|
|
317
317
|
* The protocol - can either be TCP, HTTP, HTTPS,
|
|
318
|
-
* TERMINATED_HTTPS, UDP
|
|
319
|
-
*
|
|
318
|
+
* TERMINATED_HTTPS, UDP, SCTP (supported only in
|
|
319
|
+
* **Octavia minor version >= 2.23**) or PROMETHEUS (supported only in
|
|
320
320
|
* **Octavia minor version >=2.25**). Changing this creates a new Listener.
|
|
321
321
|
*/
|
|
322
322
|
protocol: pulumi.Input<string>;
|
|
@@ -1,26 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
* > **Note:** This resource has attributes that depend on octavia minor versions.
|
|
6
|
-
* Please ensure your Openstack cloud supports the required minor version.
|
|
7
|
-
*
|
|
8
|
-
* ## Example Usage
|
|
9
|
-
*
|
|
10
|
-
* ```typescript
|
|
11
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
-
* import * as openstack from "@pulumi/openstack";
|
|
13
|
-
*
|
|
14
|
-
* const lb1 = new openstack.loadbalancer.LoadBalancer("lb_1", {vipSubnetId: "d9415786-5f1a-428b-b35f-2f1523e146d2"});
|
|
15
|
-
* ```
|
|
16
|
-
*
|
|
17
|
-
* ## Import
|
|
18
|
-
*
|
|
19
|
-
* Load Balancer can be imported using the Load Balancer ID, e.g.:
|
|
20
|
-
*
|
|
21
|
-
* ```sh
|
|
22
|
-
* $ pulumi import openstack:loadbalancer/loadBalancer:LoadBalancer loadbalancer_1 19bcfdc7-c521-4a7e-9459-6750bd16df76
|
|
23
|
-
* ```
|
|
3
|
+
* @deprecated openstack.loadbalancer/loadbalancer.LoadBalancer has been deprecated in favor of openstack.index/lbloadbalancerv2.LbLoadbalancerV2
|
|
24
4
|
*/
|
|
25
5
|
export declare class LoadBalancer extends pulumi.CustomResource {
|
|
26
6
|
/**
|
|
@@ -38,85 +18,19 @@ export declare class LoadBalancer extends pulumi.CustomResource {
|
|
|
38
18
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
39
19
|
*/
|
|
40
20
|
static isInstance(obj: any): obj is LoadBalancer;
|
|
41
|
-
/**
|
|
42
|
-
* The administrative state of the Loadbalancer.
|
|
43
|
-
* A valid value is true (UP) or false (DOWN).
|
|
44
|
-
*/
|
|
45
21
|
readonly adminStateUp: pulumi.Output<boolean | undefined>;
|
|
46
|
-
/**
|
|
47
|
-
* The availability zone of the Loadbalancer.
|
|
48
|
-
* Changing this creates a new loadbalancer. Available only for Octavia
|
|
49
|
-
* **minor version 2.14 or later**.
|
|
50
|
-
*/
|
|
51
22
|
readonly availabilityZone: pulumi.Output<string | undefined>;
|
|
52
|
-
/**
|
|
53
|
-
* Human-readable description for the Loadbalancer.
|
|
54
|
-
*/
|
|
55
23
|
readonly description: pulumi.Output<string | undefined>;
|
|
56
|
-
/**
|
|
57
|
-
* The UUID of a flavor. Changing this creates a new
|
|
58
|
-
* loadbalancer.
|
|
59
|
-
*/
|
|
60
24
|
readonly flavorId: pulumi.Output<string>;
|
|
61
|
-
/**
|
|
62
|
-
* The name of the provider. Changing this
|
|
63
|
-
* creates a new loadbalancer.
|
|
64
|
-
*/
|
|
65
25
|
readonly loadbalancerProvider: pulumi.Output<string>;
|
|
66
|
-
/**
|
|
67
|
-
* Human-readable name for the Loadbalancer. Does not have
|
|
68
|
-
* to be unique.
|
|
69
|
-
*/
|
|
70
26
|
readonly name: pulumi.Output<string>;
|
|
71
|
-
/**
|
|
72
|
-
* The region in which to obtain the V2 Networking client.
|
|
73
|
-
* A Networking client is needed to create an LB member. If omitted, the
|
|
74
|
-
* `region` argument of the provider is used. Changing this creates a new
|
|
75
|
-
* LB member.
|
|
76
|
-
*/
|
|
77
27
|
readonly region: pulumi.Output<string>;
|
|
78
|
-
/**
|
|
79
|
-
* A list of security group IDs to apply to the
|
|
80
|
-
* loadbalancer. The security groups must be specified by ID and not name (as
|
|
81
|
-
* opposed to how they are configured with the Compute Instance).
|
|
82
|
-
*/
|
|
83
28
|
readonly securityGroupIds: pulumi.Output<string[]>;
|
|
84
|
-
/**
|
|
85
|
-
* A list of simple strings assigned to the loadbalancer.
|
|
86
|
-
* Available only for Octavia **minor version 2.5 or later**.
|
|
87
|
-
*/
|
|
88
29
|
readonly tags: pulumi.Output<string[] | undefined>;
|
|
89
|
-
/**
|
|
90
|
-
* Required for admins. The UUID of the tenant who owns
|
|
91
|
-
* the Loadbalancer. Only administrative users can specify a tenant UUID
|
|
92
|
-
* other than their own. Changing this creates a new loadbalancer.
|
|
93
|
-
*/
|
|
94
30
|
readonly tenantId: pulumi.Output<string>;
|
|
95
|
-
/**
|
|
96
|
-
* The ip address of the load balancer.
|
|
97
|
-
* Changing this creates a new loadbalancer.
|
|
98
|
-
*/
|
|
99
31
|
readonly vipAddress: pulumi.Output<string>;
|
|
100
|
-
/**
|
|
101
|
-
* The network on which to allocate the
|
|
102
|
-
* Loadbalancer's address. A tenant can only create Loadbalancers on networks
|
|
103
|
-
* authorized by policy (e.g. networks that belong to them or networks that
|
|
104
|
-
* are shared). Changing this creates a new loadbalancer.
|
|
105
|
-
* It is available only for Octavia.
|
|
106
|
-
*/
|
|
107
32
|
readonly vipNetworkId: pulumi.Output<string>;
|
|
108
|
-
/**
|
|
109
|
-
* The port UUID that the loadbalancer will use.
|
|
110
|
-
* Changing this creates a new loadbalancer. It is available only for Octavia.
|
|
111
|
-
*/
|
|
112
33
|
readonly vipPortId: pulumi.Output<string>;
|
|
113
|
-
/**
|
|
114
|
-
* The subnet on which to allocate the
|
|
115
|
-
* Loadbalancer's address. A tenant can only create Loadbalancers on networks
|
|
116
|
-
* authorized by policy (e.g. networks that belong to them or networks that
|
|
117
|
-
* are shared). Changing this creates a new loadbalancer.
|
|
118
|
-
* It is required to Neutron LBaaS but optional for Octavia.
|
|
119
|
-
*/
|
|
120
34
|
readonly vipSubnetId: pulumi.Output<string>;
|
|
121
35
|
/**
|
|
122
36
|
* Create a LoadBalancer resource with the given unique name, arguments, and options.
|
|
@@ -125,175 +39,44 @@ export declare class LoadBalancer extends pulumi.CustomResource {
|
|
|
125
39
|
* @param args The arguments to use to populate this resource's properties.
|
|
126
40
|
* @param opts A bag of options that control this resource's behavior.
|
|
127
41
|
*/
|
|
42
|
+
/** @deprecated openstack.loadbalancer/loadbalancer.LoadBalancer has been deprecated in favor of openstack.index/lbloadbalancerv2.LbLoadbalancerV2 */
|
|
128
43
|
constructor(name: string, args?: LoadBalancerArgs, opts?: pulumi.CustomResourceOptions);
|
|
129
44
|
}
|
|
130
45
|
/**
|
|
131
46
|
* Input properties used for looking up and filtering LoadBalancer resources.
|
|
132
47
|
*/
|
|
133
48
|
export interface LoadBalancerState {
|
|
134
|
-
/**
|
|
135
|
-
* The administrative state of the Loadbalancer.
|
|
136
|
-
* A valid value is true (UP) or false (DOWN).
|
|
137
|
-
*/
|
|
138
49
|
adminStateUp?: pulumi.Input<boolean>;
|
|
139
|
-
/**
|
|
140
|
-
* The availability zone of the Loadbalancer.
|
|
141
|
-
* Changing this creates a new loadbalancer. Available only for Octavia
|
|
142
|
-
* **minor version 2.14 or later**.
|
|
143
|
-
*/
|
|
144
50
|
availabilityZone?: pulumi.Input<string>;
|
|
145
|
-
/**
|
|
146
|
-
* Human-readable description for the Loadbalancer.
|
|
147
|
-
*/
|
|
148
51
|
description?: pulumi.Input<string>;
|
|
149
|
-
/**
|
|
150
|
-
* The UUID of a flavor. Changing this creates a new
|
|
151
|
-
* loadbalancer.
|
|
152
|
-
*/
|
|
153
52
|
flavorId?: pulumi.Input<string>;
|
|
154
|
-
/**
|
|
155
|
-
* The name of the provider. Changing this
|
|
156
|
-
* creates a new loadbalancer.
|
|
157
|
-
*/
|
|
158
53
|
loadbalancerProvider?: pulumi.Input<string>;
|
|
159
|
-
/**
|
|
160
|
-
* Human-readable name for the Loadbalancer. Does not have
|
|
161
|
-
* to be unique.
|
|
162
|
-
*/
|
|
163
54
|
name?: pulumi.Input<string>;
|
|
164
|
-
/**
|
|
165
|
-
* The region in which to obtain the V2 Networking client.
|
|
166
|
-
* A Networking client is needed to create an LB member. If omitted, the
|
|
167
|
-
* `region` argument of the provider is used. Changing this creates a new
|
|
168
|
-
* LB member.
|
|
169
|
-
*/
|
|
170
55
|
region?: pulumi.Input<string>;
|
|
171
|
-
/**
|
|
172
|
-
* A list of security group IDs to apply to the
|
|
173
|
-
* loadbalancer. The security groups must be specified by ID and not name (as
|
|
174
|
-
* opposed to how they are configured with the Compute Instance).
|
|
175
|
-
*/
|
|
176
56
|
securityGroupIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
177
|
-
/**
|
|
178
|
-
* A list of simple strings assigned to the loadbalancer.
|
|
179
|
-
* Available only for Octavia **minor version 2.5 or later**.
|
|
180
|
-
*/
|
|
181
57
|
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
182
|
-
/**
|
|
183
|
-
* Required for admins. The UUID of the tenant who owns
|
|
184
|
-
* the Loadbalancer. Only administrative users can specify a tenant UUID
|
|
185
|
-
* other than their own. Changing this creates a new loadbalancer.
|
|
186
|
-
*/
|
|
187
58
|
tenantId?: pulumi.Input<string>;
|
|
188
|
-
/**
|
|
189
|
-
* The ip address of the load balancer.
|
|
190
|
-
* Changing this creates a new loadbalancer.
|
|
191
|
-
*/
|
|
192
59
|
vipAddress?: pulumi.Input<string>;
|
|
193
|
-
/**
|
|
194
|
-
* The network on which to allocate the
|
|
195
|
-
* Loadbalancer's address. A tenant can only create Loadbalancers on networks
|
|
196
|
-
* authorized by policy (e.g. networks that belong to them or networks that
|
|
197
|
-
* are shared). Changing this creates a new loadbalancer.
|
|
198
|
-
* It is available only for Octavia.
|
|
199
|
-
*/
|
|
200
60
|
vipNetworkId?: pulumi.Input<string>;
|
|
201
|
-
/**
|
|
202
|
-
* The port UUID that the loadbalancer will use.
|
|
203
|
-
* Changing this creates a new loadbalancer. It is available only for Octavia.
|
|
204
|
-
*/
|
|
205
61
|
vipPortId?: pulumi.Input<string>;
|
|
206
|
-
/**
|
|
207
|
-
* The subnet on which to allocate the
|
|
208
|
-
* Loadbalancer's address. A tenant can only create Loadbalancers on networks
|
|
209
|
-
* authorized by policy (e.g. networks that belong to them or networks that
|
|
210
|
-
* are shared). Changing this creates a new loadbalancer.
|
|
211
|
-
* It is required to Neutron LBaaS but optional for Octavia.
|
|
212
|
-
*/
|
|
213
62
|
vipSubnetId?: pulumi.Input<string>;
|
|
214
63
|
}
|
|
215
64
|
/**
|
|
216
65
|
* The set of arguments for constructing a LoadBalancer resource.
|
|
217
66
|
*/
|
|
218
67
|
export interface LoadBalancerArgs {
|
|
219
|
-
/**
|
|
220
|
-
* The administrative state of the Loadbalancer.
|
|
221
|
-
* A valid value is true (UP) or false (DOWN).
|
|
222
|
-
*/
|
|
223
68
|
adminStateUp?: pulumi.Input<boolean>;
|
|
224
|
-
/**
|
|
225
|
-
* The availability zone of the Loadbalancer.
|
|
226
|
-
* Changing this creates a new loadbalancer. Available only for Octavia
|
|
227
|
-
* **minor version 2.14 or later**.
|
|
228
|
-
*/
|
|
229
69
|
availabilityZone?: pulumi.Input<string>;
|
|
230
|
-
/**
|
|
231
|
-
* Human-readable description for the Loadbalancer.
|
|
232
|
-
*/
|
|
233
70
|
description?: pulumi.Input<string>;
|
|
234
|
-
/**
|
|
235
|
-
* The UUID of a flavor. Changing this creates a new
|
|
236
|
-
* loadbalancer.
|
|
237
|
-
*/
|
|
238
71
|
flavorId?: pulumi.Input<string>;
|
|
239
|
-
/**
|
|
240
|
-
* The name of the provider. Changing this
|
|
241
|
-
* creates a new loadbalancer.
|
|
242
|
-
*/
|
|
243
72
|
loadbalancerProvider?: pulumi.Input<string>;
|
|
244
|
-
/**
|
|
245
|
-
* Human-readable name for the Loadbalancer. Does not have
|
|
246
|
-
* to be unique.
|
|
247
|
-
*/
|
|
248
73
|
name?: pulumi.Input<string>;
|
|
249
|
-
/**
|
|
250
|
-
* The region in which to obtain the V2 Networking client.
|
|
251
|
-
* A Networking client is needed to create an LB member. If omitted, the
|
|
252
|
-
* `region` argument of the provider is used. Changing this creates a new
|
|
253
|
-
* LB member.
|
|
254
|
-
*/
|
|
255
74
|
region?: pulumi.Input<string>;
|
|
256
|
-
/**
|
|
257
|
-
* A list of security group IDs to apply to the
|
|
258
|
-
* loadbalancer. The security groups must be specified by ID and not name (as
|
|
259
|
-
* opposed to how they are configured with the Compute Instance).
|
|
260
|
-
*/
|
|
261
75
|
securityGroupIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
262
|
-
/**
|
|
263
|
-
* A list of simple strings assigned to the loadbalancer.
|
|
264
|
-
* Available only for Octavia **minor version 2.5 or later**.
|
|
265
|
-
*/
|
|
266
76
|
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
267
|
-
/**
|
|
268
|
-
* Required for admins. The UUID of the tenant who owns
|
|
269
|
-
* the Loadbalancer. Only administrative users can specify a tenant UUID
|
|
270
|
-
* other than their own. Changing this creates a new loadbalancer.
|
|
271
|
-
*/
|
|
272
77
|
tenantId?: pulumi.Input<string>;
|
|
273
|
-
/**
|
|
274
|
-
* The ip address of the load balancer.
|
|
275
|
-
* Changing this creates a new loadbalancer.
|
|
276
|
-
*/
|
|
277
78
|
vipAddress?: pulumi.Input<string>;
|
|
278
|
-
/**
|
|
279
|
-
* The network on which to allocate the
|
|
280
|
-
* Loadbalancer's address. A tenant can only create Loadbalancers on networks
|
|
281
|
-
* authorized by policy (e.g. networks that belong to them or networks that
|
|
282
|
-
* are shared). Changing this creates a new loadbalancer.
|
|
283
|
-
* It is available only for Octavia.
|
|
284
|
-
*/
|
|
285
79
|
vipNetworkId?: pulumi.Input<string>;
|
|
286
|
-
/**
|
|
287
|
-
* The port UUID that the loadbalancer will use.
|
|
288
|
-
* Changing this creates a new loadbalancer. It is available only for Octavia.
|
|
289
|
-
*/
|
|
290
80
|
vipPortId?: pulumi.Input<string>;
|
|
291
|
-
/**
|
|
292
|
-
* The subnet on which to allocate the
|
|
293
|
-
* Loadbalancer's address. A tenant can only create Loadbalancers on networks
|
|
294
|
-
* authorized by policy (e.g. networks that belong to them or networks that
|
|
295
|
-
* are shared). Changing this creates a new loadbalancer.
|
|
296
|
-
* It is required to Neutron LBaaS but optional for Octavia.
|
|
297
|
-
*/
|
|
298
81
|
vipSubnetId?: pulumi.Input<string>;
|
|
299
82
|
}
|
|
@@ -6,27 +6,7 @@ exports.LoadBalancer = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* > **Note:** This resource has attributes that depend on octavia minor versions.
|
|
12
|
-
* Please ensure your Openstack cloud supports the required minor version.
|
|
13
|
-
*
|
|
14
|
-
* ## Example Usage
|
|
15
|
-
*
|
|
16
|
-
* ```typescript
|
|
17
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
18
|
-
* import * as openstack from "@pulumi/openstack";
|
|
19
|
-
*
|
|
20
|
-
* const lb1 = new openstack.loadbalancer.LoadBalancer("lb_1", {vipSubnetId: "d9415786-5f1a-428b-b35f-2f1523e146d2"});
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* ## Import
|
|
24
|
-
*
|
|
25
|
-
* Load Balancer can be imported using the Load Balancer ID, e.g.:
|
|
26
|
-
*
|
|
27
|
-
* ```sh
|
|
28
|
-
* $ pulumi import openstack:loadbalancer/loadBalancer:LoadBalancer loadbalancer_1 19bcfdc7-c521-4a7e-9459-6750bd16df76
|
|
29
|
-
* ```
|
|
9
|
+
* @deprecated openstack.loadbalancer/loadbalancer.LoadBalancer has been deprecated in favor of openstack.index/lbloadbalancerv2.LbLoadbalancerV2
|
|
30
10
|
*/
|
|
31
11
|
class LoadBalancer extends pulumi.CustomResource {
|
|
32
12
|
/**
|
|
@@ -39,6 +19,7 @@ class LoadBalancer extends pulumi.CustomResource {
|
|
|
39
19
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
40
20
|
*/
|
|
41
21
|
static get(name, id, state, opts) {
|
|
22
|
+
pulumi.log.warn("LoadBalancer is deprecated: openstack.loadbalancer/loadbalancer.LoadBalancer has been deprecated in favor of openstack.index/lbloadbalancerv2.LbLoadbalancerV2");
|
|
42
23
|
return new LoadBalancer(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
43
24
|
}
|
|
44
25
|
/**
|
|
@@ -51,7 +32,9 @@ class LoadBalancer extends pulumi.CustomResource {
|
|
|
51
32
|
}
|
|
52
33
|
return obj['__pulumiType'] === LoadBalancer.__pulumiType;
|
|
53
34
|
}
|
|
35
|
+
/** @deprecated openstack.loadbalancer/loadbalancer.LoadBalancer has been deprecated in favor of openstack.index/lbloadbalancerv2.LbLoadbalancerV2 */
|
|
54
36
|
constructor(name, argsOrState, opts) {
|
|
37
|
+
pulumi.log.warn("LoadBalancer is deprecated: openstack.loadbalancer/loadbalancer.LoadBalancer has been deprecated in favor of openstack.index/lbloadbalancerv2.LbLoadbalancerV2");
|
|
55
38
|
let resourceInputs = {};
|
|
56
39
|
opts = opts || {};
|
|
57
40
|
if (opts.id) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"loadBalancer.js","sourceRoot":"","sources":["../../loadbalancer/loadBalancer.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"loadBalancer.js","sourceRoot":"","sources":["../../loadbalancer/loadBalancer.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,gKAAgK,CAAC,CAAA;QACjL,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnE,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,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;IA0BD,qJAAqJ;IACrJ,YAAY,IAAY,EAAE,WAAkD,EAAE,IAAmC;QAC7G,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,gKAAgK,CAAC,CAAA;QACjL,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA4C,CAAC;YAC3D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