@pulumi/openstack 5.4.0-alpha.1762843455 → 5.4.0
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/compute/interfaceAttach.d.ts +76 -0
- package/compute/interfaceAttach.js +76 -0
- package/compute/interfaceAttach.js.map +1 -1
- package/compute/volumeAttach.d.ts +70 -0
- package/compute/volumeAttach.js +70 -0
- package/compute/volumeAttach.js.map +1 -1
- package/index.d.ts +3 -0
- package/index.js +6 -1
- package/index.js.map +1 -1
- package/keymanager/secretV1.d.ts +24 -0
- package/keymanager/secretV1.js +24 -0
- package/keymanager/secretV1.js.map +1 -1
- package/loadbalancer/getListenerV2.d.ts +258 -0
- package/loadbalancer/getListenerV2.js +64 -0
- package/loadbalancer/getListenerV2.js.map +1 -0
- package/loadbalancer/getLoadbalancerV2.d.ts +216 -0
- package/loadbalancer/getLoadbalancerV2.js +68 -0
- package/loadbalancer/getLoadbalancerV2.js.map +1 -0
- package/loadbalancer/getPoolV2.d.ts +214 -0
- package/loadbalancer/getPoolV2.js +64 -0
- package/loadbalancer/getPoolV2.js.map +1 -0
- package/loadbalancer/index.d.ts +9 -0
- package/loadbalancer/index.js +10 -1
- package/loadbalancer/index.js.map +1 -1
- package/networking/port.d.ts +8 -8
- package/networking/port.js +8 -8
- package/package.json +2 -2
- package/taasTapMirrorV2.d.ts +209 -0
- package/taasTapMirrorV2.js +105 -0
- package/taasTapMirrorV2.js.map +1 -0
- package/types/input.d.ts +14 -0
- package/types/output.d.ts +81 -0
|
@@ -0,0 +1,258 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Use this data source to get the ID of an OpenStack Load Balancer listener.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as openstack from "@pulumi/openstack";
|
|
11
|
+
*
|
|
12
|
+
* const listener1 = openstack.loadbalancer.getListenerV2({
|
|
13
|
+
* name: "listener_1",
|
|
14
|
+
* });
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
export declare function getListenerV2(args?: GetListenerV2Args, opts?: pulumi.InvokeOptions): Promise<GetListenerV2Result>;
|
|
18
|
+
/**
|
|
19
|
+
* A collection of arguments for invoking getListenerV2.
|
|
20
|
+
*/
|
|
21
|
+
export interface GetListenerV2Args {
|
|
22
|
+
/**
|
|
23
|
+
* The ID of the listener. Exactly one of `name`,
|
|
24
|
+
* `listenerId` is required to be set.
|
|
25
|
+
*/
|
|
26
|
+
listenerId?: string;
|
|
27
|
+
/**
|
|
28
|
+
* The ID of the load balancer associated with
|
|
29
|
+
* the requested listener.
|
|
30
|
+
*/
|
|
31
|
+
loadbalancerId?: string;
|
|
32
|
+
/**
|
|
33
|
+
* The name of the listener. Exactly one of `name`,
|
|
34
|
+
* `listenerId` is required to be set.
|
|
35
|
+
*/
|
|
36
|
+
name?: string;
|
|
37
|
+
/**
|
|
38
|
+
* The protocol of the requested listener.
|
|
39
|
+
*/
|
|
40
|
+
protocol?: string;
|
|
41
|
+
/**
|
|
42
|
+
* The port on which the requested listener accepts client traffic.
|
|
43
|
+
*/
|
|
44
|
+
protocolPort?: number;
|
|
45
|
+
/**
|
|
46
|
+
* The region in which to obtain the V2 Load Balancer client.
|
|
47
|
+
* If omitted, the `region` argument of the provider is used.
|
|
48
|
+
*/
|
|
49
|
+
region?: string;
|
|
50
|
+
/**
|
|
51
|
+
* A set of tags applied to the loadbalancer's listener.
|
|
52
|
+
* The loadbalancer' listener will be returned if it has all of the specified tags.
|
|
53
|
+
*/
|
|
54
|
+
tags?: string[];
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* A collection of values returned by getListenerV2.
|
|
58
|
+
*/
|
|
59
|
+
export interface GetListenerV2Result {
|
|
60
|
+
/**
|
|
61
|
+
* The administrative state of the Listener.
|
|
62
|
+
*/
|
|
63
|
+
readonly adminStateUp: boolean;
|
|
64
|
+
/**
|
|
65
|
+
* A list of IPv4, IPv6 or mix of both CIDRs.
|
|
66
|
+
*/
|
|
67
|
+
readonly allowedCidrs: string[];
|
|
68
|
+
/**
|
|
69
|
+
* A list of ALPN protocols.
|
|
70
|
+
*/
|
|
71
|
+
readonly alpnProtocols: string[];
|
|
72
|
+
/**
|
|
73
|
+
* The TLS client authentication mode.
|
|
74
|
+
*/
|
|
75
|
+
readonly clientAuthentication: string;
|
|
76
|
+
/**
|
|
77
|
+
* The ref of the key manager service secret
|
|
78
|
+
* containing a PEM format client CA certificate bundle for TERMINATED_HTTPS listeners.
|
|
79
|
+
*/
|
|
80
|
+
readonly clientCaTlsContainerRef: string;
|
|
81
|
+
/**
|
|
82
|
+
* The URI of the key manager service secret
|
|
83
|
+
* containing a PEM format CA revocation list file for TERMINATED_HTTPS listeners.
|
|
84
|
+
*/
|
|
85
|
+
readonly clientCrlContainerRef: string;
|
|
86
|
+
/**
|
|
87
|
+
* The maximum number of connections allowed for the Loadbalancer.
|
|
88
|
+
*/
|
|
89
|
+
readonly connectionLimit: number;
|
|
90
|
+
/**
|
|
91
|
+
* The default pool with which the Listener is associated.
|
|
92
|
+
*/
|
|
93
|
+
readonly defaultPool: string;
|
|
94
|
+
/**
|
|
95
|
+
* The UUID of default pool.
|
|
96
|
+
*/
|
|
97
|
+
readonly defaultPoolId: string;
|
|
98
|
+
/**
|
|
99
|
+
* A reference to a Barbican container of TLS secrets.
|
|
100
|
+
*/
|
|
101
|
+
readonly defaultTlsContainerRef: string;
|
|
102
|
+
/**
|
|
103
|
+
* The description of the listener.
|
|
104
|
+
*/
|
|
105
|
+
readonly description: string;
|
|
106
|
+
/**
|
|
107
|
+
* Defines whether the includeSubDomains directive
|
|
108
|
+
* should be added to the Strict-Transport-Security HTTP response header.
|
|
109
|
+
*/
|
|
110
|
+
readonly hstsIncludeSubdomains: boolean;
|
|
111
|
+
/**
|
|
112
|
+
* The value of the maxAge directive for the
|
|
113
|
+
* Strict-Transport-Security HTTP response header.
|
|
114
|
+
*/
|
|
115
|
+
readonly hstsMaxAge: number;
|
|
116
|
+
/**
|
|
117
|
+
* Defines whether the preload directive should be added to the
|
|
118
|
+
* Strict-Transport-Security HTTP response header.
|
|
119
|
+
*/
|
|
120
|
+
readonly hstsPreload: boolean;
|
|
121
|
+
/**
|
|
122
|
+
* The provider-assigned unique ID for this managed resource.
|
|
123
|
+
*/
|
|
124
|
+
readonly id: string;
|
|
125
|
+
/**
|
|
126
|
+
* A dictionary of optional headers to insert into the request
|
|
127
|
+
* before it is sent to the backend member.
|
|
128
|
+
*/
|
|
129
|
+
readonly insertHeaders: {
|
|
130
|
+
[key: string]: string;
|
|
131
|
+
};
|
|
132
|
+
/**
|
|
133
|
+
* L7policies are the L7 policies which are part of this listener.
|
|
134
|
+
*/
|
|
135
|
+
readonly l7policies: outputs.loadbalancer.GetListenerV2L7policy[];
|
|
136
|
+
readonly listenerId: string;
|
|
137
|
+
readonly loadbalancerId: string;
|
|
138
|
+
/**
|
|
139
|
+
* A list of load balancer IDs.
|
|
140
|
+
*/
|
|
141
|
+
readonly loadbalancers: outputs.loadbalancer.GetListenerV2Loadbalancer[];
|
|
142
|
+
/**
|
|
143
|
+
* The name of the listener.
|
|
144
|
+
*/
|
|
145
|
+
readonly name: string;
|
|
146
|
+
/**
|
|
147
|
+
* The operating status of the resource.
|
|
148
|
+
*/
|
|
149
|
+
readonly operatingStatus: string;
|
|
150
|
+
/**
|
|
151
|
+
* Pools are the pools which are part of this listener.
|
|
152
|
+
*/
|
|
153
|
+
readonly pools: outputs.loadbalancer.GetListenerV2Pool[];
|
|
154
|
+
/**
|
|
155
|
+
* The owner (project/tenant) ID of the listener.
|
|
156
|
+
*/
|
|
157
|
+
readonly projectId: string;
|
|
158
|
+
/**
|
|
159
|
+
* The protocol to loadbalance.
|
|
160
|
+
*/
|
|
161
|
+
readonly protocol: string;
|
|
162
|
+
/**
|
|
163
|
+
* The port on which to listen to client traffic that is
|
|
164
|
+
* associated with the Loadbalancer.
|
|
165
|
+
*/
|
|
166
|
+
readonly protocolPort: number;
|
|
167
|
+
/**
|
|
168
|
+
* The provisioning status of the Listener.
|
|
169
|
+
*/
|
|
170
|
+
readonly provisioningStatus: string;
|
|
171
|
+
readonly region: string;
|
|
172
|
+
/**
|
|
173
|
+
* The list of references to TLS secrets.
|
|
174
|
+
*/
|
|
175
|
+
readonly sniContainerRefs: string[];
|
|
176
|
+
/**
|
|
177
|
+
* Tags is a list of resource tags.
|
|
178
|
+
*/
|
|
179
|
+
readonly tags: string[];
|
|
180
|
+
/**
|
|
181
|
+
* Frontend client inactivity timeout in milliseconds.
|
|
182
|
+
*/
|
|
183
|
+
readonly timeoutClientData: number;
|
|
184
|
+
/**
|
|
185
|
+
* Backend member connection timeout in milliseconds.
|
|
186
|
+
*/
|
|
187
|
+
readonly timeoutMemberConnect: number;
|
|
188
|
+
/**
|
|
189
|
+
* Backend member inactivity timeout in milliseconds.
|
|
190
|
+
*/
|
|
191
|
+
readonly timeoutMemberData: number;
|
|
192
|
+
/**
|
|
193
|
+
* Time, in milliseconds, to wait for additional TCP
|
|
194
|
+
* packets for content inspection.
|
|
195
|
+
*/
|
|
196
|
+
readonly timeoutTcpInspect: number;
|
|
197
|
+
/**
|
|
198
|
+
* List of ciphers in OpenSSL format (colon-separated).
|
|
199
|
+
*/
|
|
200
|
+
readonly tlsCiphers: string;
|
|
201
|
+
/**
|
|
202
|
+
* A list of TLS protocol versions.
|
|
203
|
+
*/
|
|
204
|
+
readonly tlsVersions: string[];
|
|
205
|
+
}
|
|
206
|
+
/**
|
|
207
|
+
* Use this data source to get the ID of an OpenStack Load Balancer listener.
|
|
208
|
+
*
|
|
209
|
+
* ## Example Usage
|
|
210
|
+
*
|
|
211
|
+
* ```typescript
|
|
212
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
213
|
+
* import * as openstack from "@pulumi/openstack";
|
|
214
|
+
*
|
|
215
|
+
* const listener1 = openstack.loadbalancer.getListenerV2({
|
|
216
|
+
* name: "listener_1",
|
|
217
|
+
* });
|
|
218
|
+
* ```
|
|
219
|
+
*/
|
|
220
|
+
export declare function getListenerV2Output(args?: GetListenerV2OutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetListenerV2Result>;
|
|
221
|
+
/**
|
|
222
|
+
* A collection of arguments for invoking getListenerV2.
|
|
223
|
+
*/
|
|
224
|
+
export interface GetListenerV2OutputArgs {
|
|
225
|
+
/**
|
|
226
|
+
* The ID of the listener. Exactly one of `name`,
|
|
227
|
+
* `listenerId` is required to be set.
|
|
228
|
+
*/
|
|
229
|
+
listenerId?: pulumi.Input<string>;
|
|
230
|
+
/**
|
|
231
|
+
* The ID of the load balancer associated with
|
|
232
|
+
* the requested listener.
|
|
233
|
+
*/
|
|
234
|
+
loadbalancerId?: pulumi.Input<string>;
|
|
235
|
+
/**
|
|
236
|
+
* The name of the listener. Exactly one of `name`,
|
|
237
|
+
* `listenerId` is required to be set.
|
|
238
|
+
*/
|
|
239
|
+
name?: pulumi.Input<string>;
|
|
240
|
+
/**
|
|
241
|
+
* The protocol of the requested listener.
|
|
242
|
+
*/
|
|
243
|
+
protocol?: pulumi.Input<string>;
|
|
244
|
+
/**
|
|
245
|
+
* The port on which the requested listener accepts client traffic.
|
|
246
|
+
*/
|
|
247
|
+
protocolPort?: pulumi.Input<number>;
|
|
248
|
+
/**
|
|
249
|
+
* The region in which to obtain the V2 Load Balancer client.
|
|
250
|
+
* If omitted, the `region` argument of the provider is used.
|
|
251
|
+
*/
|
|
252
|
+
region?: pulumi.Input<string>;
|
|
253
|
+
/**
|
|
254
|
+
* A set of tags applied to the loadbalancer's listener.
|
|
255
|
+
* The loadbalancer' listener will be returned if it has all of the specified tags.
|
|
256
|
+
*/
|
|
257
|
+
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
258
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
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.getListenerV2Output = exports.getListenerV2 = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to get the ID of an OpenStack Load Balancer listener.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as openstack from "@pulumi/openstack";
|
|
16
|
+
*
|
|
17
|
+
* const listener1 = openstack.loadbalancer.getListenerV2({
|
|
18
|
+
* name: "listener_1",
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
function getListenerV2(args, opts) {
|
|
23
|
+
args = args || {};
|
|
24
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
25
|
+
return pulumi.runtime.invoke("openstack:loadbalancer/getListenerV2:getListenerV2", {
|
|
26
|
+
"listenerId": args.listenerId,
|
|
27
|
+
"loadbalancerId": args.loadbalancerId,
|
|
28
|
+
"name": args.name,
|
|
29
|
+
"protocol": args.protocol,
|
|
30
|
+
"protocolPort": args.protocolPort,
|
|
31
|
+
"region": args.region,
|
|
32
|
+
"tags": args.tags,
|
|
33
|
+
}, opts);
|
|
34
|
+
}
|
|
35
|
+
exports.getListenerV2 = getListenerV2;
|
|
36
|
+
/**
|
|
37
|
+
* Use this data source to get the ID of an OpenStack Load Balancer listener.
|
|
38
|
+
*
|
|
39
|
+
* ## Example Usage
|
|
40
|
+
*
|
|
41
|
+
* ```typescript
|
|
42
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
43
|
+
* import * as openstack from "@pulumi/openstack";
|
|
44
|
+
*
|
|
45
|
+
* const listener1 = openstack.loadbalancer.getListenerV2({
|
|
46
|
+
* name: "listener_1",
|
|
47
|
+
* });
|
|
48
|
+
* ```
|
|
49
|
+
*/
|
|
50
|
+
function getListenerV2Output(args, opts) {
|
|
51
|
+
args = args || {};
|
|
52
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
53
|
+
return pulumi.runtime.invokeOutput("openstack:loadbalancer/getListenerV2:getListenerV2", {
|
|
54
|
+
"listenerId": args.listenerId,
|
|
55
|
+
"loadbalancerId": args.loadbalancerId,
|
|
56
|
+
"name": args.name,
|
|
57
|
+
"protocol": args.protocol,
|
|
58
|
+
"protocolPort": args.protocolPort,
|
|
59
|
+
"region": args.region,
|
|
60
|
+
"tags": args.tags,
|
|
61
|
+
}, opts);
|
|
62
|
+
}
|
|
63
|
+
exports.getListenerV2Output = getListenerV2Output;
|
|
64
|
+
//# sourceMappingURL=getListenerV2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getListenerV2.js","sourceRoot":"","sources":["../../loadbalancer/getListenerV2.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;GAaG;AACH,SAAgB,aAAa,CAAC,IAAwB,EAAE,IAA2B;IAC/E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oDAAoD,EAAE;QAC/E,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,sCAYC;AA6LD;;;;;;;;;;;;;GAaG;AACH,SAAgB,mBAAmB,CAAC,IAA8B,EAAE,IAAiC;IACjG,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,oDAAoD,EAAE;QACrF,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,kDAYC"}
|
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Use this data source to get the ID of an OpenStack Load Balancer.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as openstack from "@pulumi/openstack";
|
|
11
|
+
*
|
|
12
|
+
* const loadbalancer1 = openstack.loadbalancer.getLoadbalancerV2({
|
|
13
|
+
* name: "loadbalancer_1",
|
|
14
|
+
* });
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
export declare function getLoadbalancerV2(args?: GetLoadbalancerV2Args, opts?: pulumi.InvokeOptions): Promise<GetLoadbalancerV2Result>;
|
|
18
|
+
/**
|
|
19
|
+
* A collection of arguments for invoking getLoadbalancerV2.
|
|
20
|
+
*/
|
|
21
|
+
export interface GetLoadbalancerV2Args {
|
|
22
|
+
/**
|
|
23
|
+
* The human-readable description for the loadbalancer.
|
|
24
|
+
*/
|
|
25
|
+
description?: string;
|
|
26
|
+
/**
|
|
27
|
+
* The ID of the loadbalancer. Exactly one of
|
|
28
|
+
* `name`, `loadbalancerId` is required to be set.
|
|
29
|
+
*/
|
|
30
|
+
loadbalancerId?: string;
|
|
31
|
+
/**
|
|
32
|
+
* The name of the loadbalancer. Exactly one of `name`,
|
|
33
|
+
* `loadbalancerId` is required to be set.
|
|
34
|
+
*/
|
|
35
|
+
name?: string;
|
|
36
|
+
/**
|
|
37
|
+
* The region in which to obtain the V2 Load Balancer client.
|
|
38
|
+
* If omitted, the `region` argument of the provider is used.
|
|
39
|
+
*/
|
|
40
|
+
region?: string;
|
|
41
|
+
/**
|
|
42
|
+
* A set of tags applied to the loadbalancer. The load balancer
|
|
43
|
+
* will be returned if it has all of the specified tags.
|
|
44
|
+
*/
|
|
45
|
+
tags?: string[];
|
|
46
|
+
/**
|
|
47
|
+
* A set of tags. The load balancer will be returned if
|
|
48
|
+
* it has at least one of the specified tags.
|
|
49
|
+
*/
|
|
50
|
+
tagsAnies?: string[];
|
|
51
|
+
/**
|
|
52
|
+
* A set of tags. The load balancer will be returned
|
|
53
|
+
* if it does not have any of the specified tags.
|
|
54
|
+
*/
|
|
55
|
+
tagsNotAnies?: string[];
|
|
56
|
+
/**
|
|
57
|
+
* A set of tags. The load balancer will be returned if
|
|
58
|
+
* it does not have all of the specified tags.
|
|
59
|
+
*/
|
|
60
|
+
tagsNots?: string[];
|
|
61
|
+
/**
|
|
62
|
+
* The IP address of the loadbalancer's virtual IP (VIP).
|
|
63
|
+
*/
|
|
64
|
+
vipAddress?: string;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* A collection of values returned by getLoadbalancerV2.
|
|
68
|
+
*/
|
|
69
|
+
export interface GetLoadbalancerV2Result {
|
|
70
|
+
/**
|
|
71
|
+
* A list of additional VIP IP addresses associated with
|
|
72
|
+
* the loadbalancer.
|
|
73
|
+
*/
|
|
74
|
+
readonly additionalVips: string[];
|
|
75
|
+
/**
|
|
76
|
+
* The administrative state of the loadbalancer (true/false).
|
|
77
|
+
*/
|
|
78
|
+
readonly adminStateUp: boolean;
|
|
79
|
+
/**
|
|
80
|
+
* The availability zone of the loadbalancer.
|
|
81
|
+
*/
|
|
82
|
+
readonly availabilityZone: string;
|
|
83
|
+
/**
|
|
84
|
+
* The description of the loadbalancer.
|
|
85
|
+
*/
|
|
86
|
+
readonly description: string;
|
|
87
|
+
/**
|
|
88
|
+
* The flavor ID used by the loadbalancer.
|
|
89
|
+
*/
|
|
90
|
+
readonly flavorId: string;
|
|
91
|
+
/**
|
|
92
|
+
* The provider-assigned unique ID for this managed resource.
|
|
93
|
+
*/
|
|
94
|
+
readonly id: string;
|
|
95
|
+
/**
|
|
96
|
+
* A list of listener IDs (UUIDs) associated with the loadbalancer.
|
|
97
|
+
*/
|
|
98
|
+
readonly listeners: outputs.loadbalancer.GetLoadbalancerV2Listener[];
|
|
99
|
+
readonly loadbalancerId: string;
|
|
100
|
+
/**
|
|
101
|
+
* The loadbalancer driver/provider used by Octavia
|
|
102
|
+
* (for example, `amphora`).
|
|
103
|
+
*/
|
|
104
|
+
readonly loadbalancerProvider: string;
|
|
105
|
+
/**
|
|
106
|
+
* The name of the loadbalancer.
|
|
107
|
+
*/
|
|
108
|
+
readonly name: string;
|
|
109
|
+
/**
|
|
110
|
+
* The operating status of the loadbalancer.
|
|
111
|
+
*/
|
|
112
|
+
readonly operatingStatus: string;
|
|
113
|
+
/**
|
|
114
|
+
* A list of pool IDs (UUIDs) associated with the loadbalancer.
|
|
115
|
+
*/
|
|
116
|
+
readonly pools: outputs.loadbalancer.GetLoadbalancerV2Pool[];
|
|
117
|
+
/**
|
|
118
|
+
* The owner (project/tenant) ID of the loadbalancer.
|
|
119
|
+
*/
|
|
120
|
+
readonly projectId: string;
|
|
121
|
+
/**
|
|
122
|
+
* The provisioning status of the loadbalancer.
|
|
123
|
+
*/
|
|
124
|
+
readonly provisioningStatus: string;
|
|
125
|
+
readonly region: string;
|
|
126
|
+
/**
|
|
127
|
+
* A set of tags applied to the loadbalancer.
|
|
128
|
+
*/
|
|
129
|
+
readonly tags: string[];
|
|
130
|
+
readonly tagsAnies?: string[];
|
|
131
|
+
readonly tagsNotAnies?: string[];
|
|
132
|
+
readonly tagsNots?: string[];
|
|
133
|
+
/**
|
|
134
|
+
* The IP address of the loadbalancer’s virtual IP (VIP).
|
|
135
|
+
*/
|
|
136
|
+
readonly vipAddress: string;
|
|
137
|
+
/**
|
|
138
|
+
* The network ID associated with the VIP.
|
|
139
|
+
*/
|
|
140
|
+
readonly vipNetworkId: string;
|
|
141
|
+
/**
|
|
142
|
+
* The port ID associated with the VIP.
|
|
143
|
+
*/
|
|
144
|
+
readonly vipPortId: string;
|
|
145
|
+
/**
|
|
146
|
+
* The QoS policy ID associated with the VIP, if any.
|
|
147
|
+
*/
|
|
148
|
+
readonly vipQosPolicyId: string;
|
|
149
|
+
/**
|
|
150
|
+
* The subnet ID associated with the VIP.
|
|
151
|
+
*/
|
|
152
|
+
readonly vipSubnetId: string;
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* Use this data source to get the ID of an OpenStack Load Balancer.
|
|
156
|
+
*
|
|
157
|
+
* ## Example Usage
|
|
158
|
+
*
|
|
159
|
+
* ```typescript
|
|
160
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
161
|
+
* import * as openstack from "@pulumi/openstack";
|
|
162
|
+
*
|
|
163
|
+
* const loadbalancer1 = openstack.loadbalancer.getLoadbalancerV2({
|
|
164
|
+
* name: "loadbalancer_1",
|
|
165
|
+
* });
|
|
166
|
+
* ```
|
|
167
|
+
*/
|
|
168
|
+
export declare function getLoadbalancerV2Output(args?: GetLoadbalancerV2OutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetLoadbalancerV2Result>;
|
|
169
|
+
/**
|
|
170
|
+
* A collection of arguments for invoking getLoadbalancerV2.
|
|
171
|
+
*/
|
|
172
|
+
export interface GetLoadbalancerV2OutputArgs {
|
|
173
|
+
/**
|
|
174
|
+
* The human-readable description for the loadbalancer.
|
|
175
|
+
*/
|
|
176
|
+
description?: pulumi.Input<string>;
|
|
177
|
+
/**
|
|
178
|
+
* The ID of the loadbalancer. Exactly one of
|
|
179
|
+
* `name`, `loadbalancerId` is required to be set.
|
|
180
|
+
*/
|
|
181
|
+
loadbalancerId?: pulumi.Input<string>;
|
|
182
|
+
/**
|
|
183
|
+
* The name of the loadbalancer. Exactly one of `name`,
|
|
184
|
+
* `loadbalancerId` is required to be set.
|
|
185
|
+
*/
|
|
186
|
+
name?: pulumi.Input<string>;
|
|
187
|
+
/**
|
|
188
|
+
* The region in which to obtain the V2 Load Balancer client.
|
|
189
|
+
* If omitted, the `region` argument of the provider is used.
|
|
190
|
+
*/
|
|
191
|
+
region?: pulumi.Input<string>;
|
|
192
|
+
/**
|
|
193
|
+
* A set of tags applied to the loadbalancer. The load balancer
|
|
194
|
+
* will be returned if it has all of the specified tags.
|
|
195
|
+
*/
|
|
196
|
+
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
197
|
+
/**
|
|
198
|
+
* A set of tags. The load balancer will be returned if
|
|
199
|
+
* it has at least one of the specified tags.
|
|
200
|
+
*/
|
|
201
|
+
tagsAnies?: pulumi.Input<pulumi.Input<string>[]>;
|
|
202
|
+
/**
|
|
203
|
+
* A set of tags. The load balancer will be returned
|
|
204
|
+
* if it does not have any of the specified tags.
|
|
205
|
+
*/
|
|
206
|
+
tagsNotAnies?: pulumi.Input<pulumi.Input<string>[]>;
|
|
207
|
+
/**
|
|
208
|
+
* A set of tags. The load balancer will be returned if
|
|
209
|
+
* it does not have all of the specified tags.
|
|
210
|
+
*/
|
|
211
|
+
tagsNots?: pulumi.Input<pulumi.Input<string>[]>;
|
|
212
|
+
/**
|
|
213
|
+
* The IP address of the loadbalancer's virtual IP (VIP).
|
|
214
|
+
*/
|
|
215
|
+
vipAddress?: pulumi.Input<string>;
|
|
216
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
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.getLoadbalancerV2Output = exports.getLoadbalancerV2 = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to get the ID of an OpenStack Load Balancer.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as openstack from "@pulumi/openstack";
|
|
16
|
+
*
|
|
17
|
+
* const loadbalancer1 = openstack.loadbalancer.getLoadbalancerV2({
|
|
18
|
+
* name: "loadbalancer_1",
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
function getLoadbalancerV2(args, opts) {
|
|
23
|
+
args = args || {};
|
|
24
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
25
|
+
return pulumi.runtime.invoke("openstack:loadbalancer/getLoadbalancerV2:getLoadbalancerV2", {
|
|
26
|
+
"description": args.description,
|
|
27
|
+
"loadbalancerId": args.loadbalancerId,
|
|
28
|
+
"name": args.name,
|
|
29
|
+
"region": args.region,
|
|
30
|
+
"tags": args.tags,
|
|
31
|
+
"tagsAnies": args.tagsAnies,
|
|
32
|
+
"tagsNotAnies": args.tagsNotAnies,
|
|
33
|
+
"tagsNots": args.tagsNots,
|
|
34
|
+
"vipAddress": args.vipAddress,
|
|
35
|
+
}, opts);
|
|
36
|
+
}
|
|
37
|
+
exports.getLoadbalancerV2 = getLoadbalancerV2;
|
|
38
|
+
/**
|
|
39
|
+
* Use this data source to get the ID of an OpenStack Load Balancer.
|
|
40
|
+
*
|
|
41
|
+
* ## Example Usage
|
|
42
|
+
*
|
|
43
|
+
* ```typescript
|
|
44
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
45
|
+
* import * as openstack from "@pulumi/openstack";
|
|
46
|
+
*
|
|
47
|
+
* const loadbalancer1 = openstack.loadbalancer.getLoadbalancerV2({
|
|
48
|
+
* name: "loadbalancer_1",
|
|
49
|
+
* });
|
|
50
|
+
* ```
|
|
51
|
+
*/
|
|
52
|
+
function getLoadbalancerV2Output(args, opts) {
|
|
53
|
+
args = args || {};
|
|
54
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
55
|
+
return pulumi.runtime.invokeOutput("openstack:loadbalancer/getLoadbalancerV2:getLoadbalancerV2", {
|
|
56
|
+
"description": args.description,
|
|
57
|
+
"loadbalancerId": args.loadbalancerId,
|
|
58
|
+
"name": args.name,
|
|
59
|
+
"region": args.region,
|
|
60
|
+
"tags": args.tags,
|
|
61
|
+
"tagsAnies": args.tagsAnies,
|
|
62
|
+
"tagsNotAnies": args.tagsNotAnies,
|
|
63
|
+
"tagsNots": args.tagsNots,
|
|
64
|
+
"vipAddress": args.vipAddress,
|
|
65
|
+
}, opts);
|
|
66
|
+
}
|
|
67
|
+
exports.getLoadbalancerV2Output = getLoadbalancerV2Output;
|
|
68
|
+
//# sourceMappingURL=getLoadbalancerV2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getLoadbalancerV2.js","sourceRoot":"","sources":["../../loadbalancer/getLoadbalancerV2.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;GAaG;AACH,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAA2B;IACvF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4DAA4D,EAAE;QACvF,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAdD,8CAcC;AA2ID;;;;;;;;;;;;;GAaG;AACH,SAAgB,uBAAuB,CAAC,IAAkC,EAAE,IAAiC;IACzG,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4DAA4D,EAAE;QAC7F,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAdD,0DAcC"}
|