@pulumi/openstack 4.0.0 → 4.0.1
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/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/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/loadBalancer.d.ts +2 -219
- package/loadbalancer/loadBalancer.js +4 -21
- package/loadbalancer/loadBalancer.js.map +1 -1
- package/package.json +2 -2
- package/types/input.d.ts +22 -0
- package/types/output.d.ts +22 -0
package/index.d.ts
CHANGED
|
@@ -7,6 +7,9 @@ export declare const getFwPolicyV2Output: typeof import("./getFwPolicyV2").getFw
|
|
|
7
7
|
export { GetFwRuleV2Args, GetFwRuleV2Result, GetFwRuleV2OutputArgs } from "./getFwRuleV2";
|
|
8
8
|
export declare const getFwRuleV2: typeof import("./getFwRuleV2").getFwRuleV2;
|
|
9
9
|
export declare const getFwRuleV2Output: typeof import("./getFwRuleV2").getFwRuleV2Output;
|
|
10
|
+
export { LbLoadbalancerV2Args, LbLoadbalancerV2State } from "./lbLoadbalancerV2";
|
|
11
|
+
export type LbLoadbalancerV2 = import("./lbLoadbalancerV2").LbLoadbalancerV2;
|
|
12
|
+
export declare const LbLoadbalancerV2: typeof import("./lbLoadbalancerV2").LbLoadbalancerV2;
|
|
10
13
|
export { ProviderArgs } from "./provider";
|
|
11
14
|
export type Provider = import("./provider").Provider;
|
|
12
15
|
export declare const Provider: typeof import("./provider").Provider;
|
package/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
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.vpnaas = exports.types = exports.sharedfilesystem = exports.orchestration = exports.objectstorage = exports.networking = exports.loadbalancer = exports.keymanager = exports.images = exports.identity = exports.firewall = exports.dns = exports.database = exports.containerinfra = exports.config = exports.compute = exports.blockstorage = exports.Provider = exports.getFwRuleV2Output = exports.getFwRuleV2 = exports.getFwPolicyV2Output = exports.getFwPolicyV2 = exports.getFwGroupV2Output = exports.getFwGroupV2 = void 0;
|
|
5
|
+
exports.vpnaas = exports.types = exports.sharedfilesystem = exports.orchestration = exports.objectstorage = exports.networking = exports.loadbalancer = exports.keymanager = exports.images = exports.identity = exports.firewall = exports.dns = exports.database = exports.containerinfra = exports.config = exports.compute = exports.blockstorage = exports.Provider = exports.LbLoadbalancerV2 = exports.getFwRuleV2Output = exports.getFwRuleV2 = exports.getFwPolicyV2Output = exports.getFwPolicyV2 = exports.getFwGroupV2Output = exports.getFwGroupV2 = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
exports.getFwGroupV2 = null;
|
|
@@ -14,6 +14,8 @@ utilities.lazyLoad(exports, ["getFwPolicyV2", "getFwPolicyV2Output"], () => requ
|
|
|
14
14
|
exports.getFwRuleV2 = null;
|
|
15
15
|
exports.getFwRuleV2Output = null;
|
|
16
16
|
utilities.lazyLoad(exports, ["getFwRuleV2", "getFwRuleV2Output"], () => require("./getFwRuleV2"));
|
|
17
|
+
exports.LbLoadbalancerV2 = null;
|
|
18
|
+
utilities.lazyLoad(exports, ["LbLoadbalancerV2"], () => require("./lbLoadbalancerV2"));
|
|
17
19
|
exports.Provider = null;
|
|
18
20
|
utilities.lazyLoad(exports, ["Provider"], () => require("./provider"));
|
|
19
21
|
// Export sub-modules:
|
|
@@ -51,6 +53,18 @@ const types = require("./types");
|
|
|
51
53
|
exports.types = types;
|
|
52
54
|
const vpnaas = require("./vpnaas");
|
|
53
55
|
exports.vpnaas = vpnaas;
|
|
56
|
+
const _module = {
|
|
57
|
+
version: utilities.getVersion(),
|
|
58
|
+
construct: (name, type, urn) => {
|
|
59
|
+
switch (type) {
|
|
60
|
+
case "openstack:index/lbLoadbalancerV2:LbLoadbalancerV2":
|
|
61
|
+
return new exports.LbLoadbalancerV2(name, undefined, { urn });
|
|
62
|
+
default:
|
|
63
|
+
throw new Error(`unknown resource type ${type}`);
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
};
|
|
67
|
+
pulumi.runtime.registerResourceModule("openstack", "index/lbLoadbalancerV2", _module);
|
|
54
68
|
pulumi.runtime.registerResourcePackage("openstack", {
|
|
55
69
|
version: utilities.getVersion(),
|
|
56
70
|
constructProvider: (name, type, urn) => {
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAI5B,QAAA,YAAY,GAAiD,IAAW,CAAC;AACzE,QAAA,kBAAkB,GAAuD,IAAW,CAAC;AAClG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,cAAc,EAAC,oBAAoB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC;AAGvF,QAAA,aAAa,GAAmD,IAAW,CAAC;AAC5E,QAAA,mBAAmB,GAAyD,IAAW,CAAC;AACrG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,eAAe,EAAC,qBAAqB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC,CAAC;AAG1F,QAAA,WAAW,GAA+C,IAAW,CAAC;AACtE,QAAA,iBAAiB,GAAqD,IAAW,CAAC;AAC/F,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BpB,iCAAiC;AAmB7B,sBAAK;AAlBT,mCAAmC;AAmB/B,wBAAM;AAGV,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,mDAAmD;gBACpD,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,WAAW,EAAE,wBAAwB,EAAE,OAAO,CAAC,CAAA;AACrF,MAAM,CAAC,OAAO,CAAC,uBAAuB,CAAC,WAAW,EAAE;IAChD,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,iBAAiB,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAA2B,EAAE;QACpF,IAAI,IAAI,KAAK,4BAA4B,EAAE;YACvC,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACpD;QACD,OAAO,IAAI,gBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;IACvD,CAAC;CACJ,CAAC,CAAC"}
|
|
@@ -60,7 +60,7 @@ import * as outputs from "../types/output";
|
|
|
60
60
|
* const subnet1 = openstack.networking.getSubnet({
|
|
61
61
|
* name: "my-subnet",
|
|
62
62
|
* });
|
|
63
|
-
* const lb1 = new openstack.
|
|
63
|
+
* const lb1 = new openstack.LbLoadbalancerV2("lb_1", {
|
|
64
64
|
* name: "loadbalancer",
|
|
65
65
|
* vipSubnetId: subnet1.then(subnet1 => subnet1.id),
|
|
66
66
|
* });
|
|
@@ -64,7 +64,7 @@ const utilities = require("../utilities");
|
|
|
64
64
|
* const subnet1 = openstack.networking.getSubnet({
|
|
65
65
|
* name: "my-subnet",
|
|
66
66
|
* });
|
|
67
|
-
* const lb1 = new openstack.
|
|
67
|
+
* const lb1 = new openstack.LbLoadbalancerV2("lb_1", {
|
|
68
68
|
* name: "loadbalancer",
|
|
69
69
|
* vipSubnetId: subnet1.then(subnet1 => subnet1.id),
|
|
70
70
|
* });
|
|
@@ -0,0 +1,299 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Manages a V2 loadbalancer resource within OpenStack.
|
|
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.LbLoadbalancerV2("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:index/lbLoadbalancerV2:LbLoadbalancerV2 loadbalancer_1 19bcfdc7-c521-4a7e-9459-6750bd16df76
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
export declare class LbLoadbalancerV2 extends pulumi.CustomResource {
|
|
26
|
+
/**
|
|
27
|
+
* Get an existing LbLoadbalancerV2 resource's state with the given name, ID, and optional extra
|
|
28
|
+
* properties used to qualify the lookup.
|
|
29
|
+
*
|
|
30
|
+
* @param name The _unique_ name of the resulting resource.
|
|
31
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
32
|
+
* @param state Any extra arguments used during the lookup.
|
|
33
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
34
|
+
*/
|
|
35
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: LbLoadbalancerV2State, opts?: pulumi.CustomResourceOptions): LbLoadbalancerV2;
|
|
36
|
+
/**
|
|
37
|
+
* Returns true if the given object is an instance of LbLoadbalancerV2. This is designed to work even
|
|
38
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
39
|
+
*/
|
|
40
|
+
static isInstance(obj: any): obj is LbLoadbalancerV2;
|
|
41
|
+
/**
|
|
42
|
+
* The administrative state of the Loadbalancer.
|
|
43
|
+
* A valid value is true (UP) or false (DOWN).
|
|
44
|
+
*/
|
|
45
|
+
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
|
+
readonly availabilityZone: pulumi.Output<string | undefined>;
|
|
52
|
+
/**
|
|
53
|
+
* Human-readable description for the Loadbalancer.
|
|
54
|
+
*/
|
|
55
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
56
|
+
/**
|
|
57
|
+
* The UUID of a flavor. Changing this creates a new
|
|
58
|
+
* loadbalancer.
|
|
59
|
+
*/
|
|
60
|
+
readonly flavorId: pulumi.Output<string>;
|
|
61
|
+
/**
|
|
62
|
+
* The name of the provider. Changing this
|
|
63
|
+
* creates a new loadbalancer.
|
|
64
|
+
*/
|
|
65
|
+
readonly loadbalancerProvider: pulumi.Output<string>;
|
|
66
|
+
/**
|
|
67
|
+
* Human-readable name for the Loadbalancer. Does not have
|
|
68
|
+
* to be unique.
|
|
69
|
+
*/
|
|
70
|
+
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
|
+
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
|
+
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
|
+
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
|
+
readonly tenantId: pulumi.Output<string>;
|
|
95
|
+
/**
|
|
96
|
+
* The ip address of the load balancer.
|
|
97
|
+
* Changing this creates a new loadbalancer.
|
|
98
|
+
*/
|
|
99
|
+
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
|
+
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
|
+
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
|
+
readonly vipSubnetId: pulumi.Output<string>;
|
|
121
|
+
/**
|
|
122
|
+
* Create a LbLoadbalancerV2 resource with the given unique name, arguments, and options.
|
|
123
|
+
*
|
|
124
|
+
* @param name The _unique_ name of the resource.
|
|
125
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
126
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
127
|
+
*/
|
|
128
|
+
constructor(name: string, args?: LbLoadbalancerV2Args, opts?: pulumi.CustomResourceOptions);
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* Input properties used for looking up and filtering LbLoadbalancerV2 resources.
|
|
132
|
+
*/
|
|
133
|
+
export interface LbLoadbalancerV2State {
|
|
134
|
+
/**
|
|
135
|
+
* The administrative state of the Loadbalancer.
|
|
136
|
+
* A valid value is true (UP) or false (DOWN).
|
|
137
|
+
*/
|
|
138
|
+
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
|
+
availabilityZone?: pulumi.Input<string>;
|
|
145
|
+
/**
|
|
146
|
+
* Human-readable description for the Loadbalancer.
|
|
147
|
+
*/
|
|
148
|
+
description?: pulumi.Input<string>;
|
|
149
|
+
/**
|
|
150
|
+
* The UUID of a flavor. Changing this creates a new
|
|
151
|
+
* loadbalancer.
|
|
152
|
+
*/
|
|
153
|
+
flavorId?: pulumi.Input<string>;
|
|
154
|
+
/**
|
|
155
|
+
* The name of the provider. Changing this
|
|
156
|
+
* creates a new loadbalancer.
|
|
157
|
+
*/
|
|
158
|
+
loadbalancerProvider?: pulumi.Input<string>;
|
|
159
|
+
/**
|
|
160
|
+
* Human-readable name for the Loadbalancer. Does not have
|
|
161
|
+
* to be unique.
|
|
162
|
+
*/
|
|
163
|
+
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
|
+
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
|
+
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
|
+
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
|
+
tenantId?: pulumi.Input<string>;
|
|
188
|
+
/**
|
|
189
|
+
* The ip address of the load balancer.
|
|
190
|
+
* Changing this creates a new loadbalancer.
|
|
191
|
+
*/
|
|
192
|
+
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
|
+
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
|
+
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
|
+
vipSubnetId?: pulumi.Input<string>;
|
|
214
|
+
}
|
|
215
|
+
/**
|
|
216
|
+
* The set of arguments for constructing a LbLoadbalancerV2 resource.
|
|
217
|
+
*/
|
|
218
|
+
export interface LbLoadbalancerV2Args {
|
|
219
|
+
/**
|
|
220
|
+
* The administrative state of the Loadbalancer.
|
|
221
|
+
* A valid value is true (UP) or false (DOWN).
|
|
222
|
+
*/
|
|
223
|
+
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
|
+
availabilityZone?: pulumi.Input<string>;
|
|
230
|
+
/**
|
|
231
|
+
* Human-readable description for the Loadbalancer.
|
|
232
|
+
*/
|
|
233
|
+
description?: pulumi.Input<string>;
|
|
234
|
+
/**
|
|
235
|
+
* The UUID of a flavor. Changing this creates a new
|
|
236
|
+
* loadbalancer.
|
|
237
|
+
*/
|
|
238
|
+
flavorId?: pulumi.Input<string>;
|
|
239
|
+
/**
|
|
240
|
+
* The name of the provider. Changing this
|
|
241
|
+
* creates a new loadbalancer.
|
|
242
|
+
*/
|
|
243
|
+
loadbalancerProvider?: pulumi.Input<string>;
|
|
244
|
+
/**
|
|
245
|
+
* Human-readable name for the Loadbalancer. Does not have
|
|
246
|
+
* to be unique.
|
|
247
|
+
*/
|
|
248
|
+
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
|
+
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
|
+
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
|
+
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
|
+
tenantId?: pulumi.Input<string>;
|
|
273
|
+
/**
|
|
274
|
+
* The ip address of the load balancer.
|
|
275
|
+
* Changing this creates a new loadbalancer.
|
|
276
|
+
*/
|
|
277
|
+
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
|
+
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
|
+
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
|
+
vipSubnetId?: pulumi.Input<string>;
|
|
299
|
+
}
|
|
@@ -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;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvE,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,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;IA2FD,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;QACrH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,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|
|
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
|
* });
|
|
@@ -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,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D,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,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,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AA7FL,oCA8FC;AA/EG,gBAAgB;AACO,yBAAY,GAAG,kDAAkD,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/openstack",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.1",
|
|
4
4
|
"description": "A Pulumi package for creating and managing OpenStack cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -22,6 +22,6 @@
|
|
|
22
22
|
"pulumi": {
|
|
23
23
|
"resource": true,
|
|
24
24
|
"name": "openstack",
|
|
25
|
-
"version": "4.0.
|
|
25
|
+
"version": "4.0.1"
|
|
26
26
|
}
|
|
27
27
|
}
|
package/types/input.d.ts
CHANGED
|
@@ -509,11 +509,19 @@ export declare namespace keymanager {
|
|
|
509
509
|
* The date the container was created.
|
|
510
510
|
*/
|
|
511
511
|
createdAt?: pulumi.Input<string>;
|
|
512
|
+
/**
|
|
513
|
+
* Whether the container is accessible project wide.
|
|
514
|
+
* Defaults to `true`.
|
|
515
|
+
*/
|
|
512
516
|
projectAccess?: pulumi.Input<boolean>;
|
|
513
517
|
/**
|
|
514
518
|
* The date the container was last updated.
|
|
515
519
|
*/
|
|
516
520
|
updatedAt?: pulumi.Input<string>;
|
|
521
|
+
/**
|
|
522
|
+
* The list of user IDs, which are allowed to access the
|
|
523
|
+
* container, when `projectAccess` is set to `false`.
|
|
524
|
+
*/
|
|
517
525
|
users?: pulumi.Input<pulumi.Input<string>[]>;
|
|
518
526
|
}
|
|
519
527
|
interface ContainerV1Consumer {
|
|
@@ -571,11 +579,19 @@ export declare namespace keymanager {
|
|
|
571
579
|
* The date the secret was created.
|
|
572
580
|
*/
|
|
573
581
|
createdAt?: pulumi.Input<string>;
|
|
582
|
+
/**
|
|
583
|
+
* Whether the secret is accessible project wide.
|
|
584
|
+
* Defaults to `true`.
|
|
585
|
+
*/
|
|
574
586
|
projectAccess?: pulumi.Input<boolean>;
|
|
575
587
|
/**
|
|
576
588
|
* The date the secret was last updated.
|
|
577
589
|
*/
|
|
578
590
|
updatedAt?: pulumi.Input<string>;
|
|
591
|
+
/**
|
|
592
|
+
* The list of user IDs, which are allowed to access the
|
|
593
|
+
* secret, when `projectAccess` is set to `false`.
|
|
594
|
+
*/
|
|
579
595
|
users?: pulumi.Input<pulumi.Input<string>[]>;
|
|
580
596
|
}
|
|
581
597
|
}
|
|
@@ -769,7 +785,13 @@ export declare namespace networking {
|
|
|
769
785
|
}
|
|
770
786
|
export declare namespace objectstorage {
|
|
771
787
|
interface ContainerVersioningLegacy {
|
|
788
|
+
/**
|
|
789
|
+
* Container in which versions will be stored.
|
|
790
|
+
*/
|
|
772
791
|
location: pulumi.Input<string>;
|
|
792
|
+
/**
|
|
793
|
+
* Versioning type which can be `versions` or `history` according to [Openstack documentation](https://docs.openstack.org/swift/latest/api/object_versioning.html).
|
|
794
|
+
*/
|
|
773
795
|
type: pulumi.Input<string>;
|
|
774
796
|
}
|
|
775
797
|
}
|
package/types/output.d.ts
CHANGED
|
@@ -540,11 +540,19 @@ export declare namespace keymanager {
|
|
|
540
540
|
* The date the container was created.
|
|
541
541
|
*/
|
|
542
542
|
createdAt: string;
|
|
543
|
+
/**
|
|
544
|
+
* Whether the container is accessible project wide.
|
|
545
|
+
* Defaults to `true`.
|
|
546
|
+
*/
|
|
543
547
|
projectAccess?: boolean;
|
|
544
548
|
/**
|
|
545
549
|
* The date the container was last updated.
|
|
546
550
|
*/
|
|
547
551
|
updatedAt: string;
|
|
552
|
+
/**
|
|
553
|
+
* The list of user IDs, which are allowed to access the
|
|
554
|
+
* container, when `projectAccess` is set to `false`.
|
|
555
|
+
*/
|
|
548
556
|
users?: string[];
|
|
549
557
|
}
|
|
550
558
|
interface ContainerV1Consumer {
|
|
@@ -666,11 +674,19 @@ export declare namespace keymanager {
|
|
|
666
674
|
* The date the secret was created.
|
|
667
675
|
*/
|
|
668
676
|
createdAt: string;
|
|
677
|
+
/**
|
|
678
|
+
* Whether the secret is accessible project wide.
|
|
679
|
+
* Defaults to `true`.
|
|
680
|
+
*/
|
|
669
681
|
projectAccess?: boolean;
|
|
670
682
|
/**
|
|
671
683
|
* The date the secret was last updated.
|
|
672
684
|
*/
|
|
673
685
|
updatedAt: string;
|
|
686
|
+
/**
|
|
687
|
+
* The list of user IDs, which are allowed to access the
|
|
688
|
+
* secret, when `projectAccess` is set to `false`.
|
|
689
|
+
*/
|
|
674
690
|
users?: string[];
|
|
675
691
|
}
|
|
676
692
|
}
|
|
@@ -950,7 +966,13 @@ export declare namespace networking {
|
|
|
950
966
|
}
|
|
951
967
|
export declare namespace objectstorage {
|
|
952
968
|
interface ContainerVersioningLegacy {
|
|
969
|
+
/**
|
|
970
|
+
* Container in which versions will be stored.
|
|
971
|
+
*/
|
|
953
972
|
location: string;
|
|
973
|
+
/**
|
|
974
|
+
* Versioning type which can be `versions` or `history` according to [Openstack documentation](https://docs.openstack.org/swift/latest/api/object_versioning.html).
|
|
975
|
+
*/
|
|
954
976
|
type: string;
|
|
955
977
|
}
|
|
956
978
|
}
|