@pulumi/openstack 3.16.0-alpha.1706748268 → 3.16.0-alpha.1706812778
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/identity/getAuthScope.d.ts +0 -106
- package/identity/getAuthScope.js +0 -106
- package/identity/getAuthScope.js.map +1 -1
- package/package.json +1 -1
- package/provider.d.ts +1 -1
|
@@ -1,58 +1,5 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import * as outputs from "../types/output";
|
|
3
|
-
/**
|
|
4
|
-
* ## Example Usage
|
|
5
|
-
* ### Simple
|
|
6
|
-
*
|
|
7
|
-
* ```typescript
|
|
8
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
-
* import * as openstack from "@pulumi/openstack";
|
|
10
|
-
*
|
|
11
|
-
* const scope = openstack.identity.getAuthScope({
|
|
12
|
-
* name: "my_scope",
|
|
13
|
-
* });
|
|
14
|
-
* ```
|
|
15
|
-
*
|
|
16
|
-
* To find the the public object storage endpoint for "region1" as listed in the
|
|
17
|
-
* service catalog:
|
|
18
|
-
*
|
|
19
|
-
* ```typescript
|
|
20
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
21
|
-
*
|
|
22
|
-
* const objectStoreService = .filter(entry => entry.type == "object-store").map(entry => (entry))[0];
|
|
23
|
-
* const objectStoreEndpoint = .filter(endpoint => endpoint["interface"] == "public" && endpoint.region == "region1").map(endpoint => (endpoint))[0];
|
|
24
|
-
* const objectStorePublicUrl = objectStoreEndpoint.url;
|
|
25
|
-
* ```
|
|
26
|
-
* ### In a combination with an http data source provider
|
|
27
|
-
*
|
|
28
|
-
* See [http](https://www.terraform.io/providers/hashicorp/http/latest/docs/data-sources/http) provider for reference.
|
|
29
|
-
*
|
|
30
|
-
* ```typescript
|
|
31
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
32
|
-
* import * as openstack from "@pulumi/openstack";
|
|
33
|
-
*
|
|
34
|
-
* const scope = openstack.identity.getAuthScope({
|
|
35
|
-
* name: "my_scope",
|
|
36
|
-
* });
|
|
37
|
-
* ```
|
|
38
|
-
*
|
|
39
|
-
* ```typescript
|
|
40
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
41
|
-
* import * as http from "@pulumi/http";
|
|
42
|
-
*
|
|
43
|
-
* const objectStoreService = .filter(entry => entry.type == "object-store").map(entry => (entry))[0];
|
|
44
|
-
* const objectStoreEndpoint = .filter(endpoint => endpoint["interface"] == "public" && endpoint.region == "region1").map(endpoint => (endpoint))[0];
|
|
45
|
-
* const objectStorePublicUrl = objectStoreEndpoint.url;
|
|
46
|
-
* const example = http.getHttp({
|
|
47
|
-
* url: objectStorePublicUrl,
|
|
48
|
-
* requestHeaders: {
|
|
49
|
-
* Accept: "application/json",
|
|
50
|
-
* "X-Auth-Token": data.openstack_identity_auth_scope_v3.scope.token_id,
|
|
51
|
-
* },
|
|
52
|
-
* });
|
|
53
|
-
* export const containers = example.then(example => example.responseBody);
|
|
54
|
-
* ```
|
|
55
|
-
*/
|
|
56
3
|
export declare function getAuthScope(args: GetAuthScopeArgs, opts?: pulumi.InvokeOptions): Promise<GetAuthScopeResult>;
|
|
57
4
|
/**
|
|
58
5
|
* A collection of arguments for invoking getAuthScope.
|
|
@@ -149,59 +96,6 @@ export interface GetAuthScopeResult {
|
|
|
149
96
|
*/
|
|
150
97
|
readonly userName: string;
|
|
151
98
|
}
|
|
152
|
-
/**
|
|
153
|
-
* ## Example Usage
|
|
154
|
-
* ### Simple
|
|
155
|
-
*
|
|
156
|
-
* ```typescript
|
|
157
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
158
|
-
* import * as openstack from "@pulumi/openstack";
|
|
159
|
-
*
|
|
160
|
-
* const scope = openstack.identity.getAuthScope({
|
|
161
|
-
* name: "my_scope",
|
|
162
|
-
* });
|
|
163
|
-
* ```
|
|
164
|
-
*
|
|
165
|
-
* To find the the public object storage endpoint for "region1" as listed in the
|
|
166
|
-
* service catalog:
|
|
167
|
-
*
|
|
168
|
-
* ```typescript
|
|
169
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
170
|
-
*
|
|
171
|
-
* const objectStoreService = .filter(entry => entry.type == "object-store").map(entry => (entry))[0];
|
|
172
|
-
* const objectStoreEndpoint = .filter(endpoint => endpoint["interface"] == "public" && endpoint.region == "region1").map(endpoint => (endpoint))[0];
|
|
173
|
-
* const objectStorePublicUrl = objectStoreEndpoint.url;
|
|
174
|
-
* ```
|
|
175
|
-
* ### In a combination with an http data source provider
|
|
176
|
-
*
|
|
177
|
-
* See [http](https://www.terraform.io/providers/hashicorp/http/latest/docs/data-sources/http) provider for reference.
|
|
178
|
-
*
|
|
179
|
-
* ```typescript
|
|
180
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
181
|
-
* import * as openstack from "@pulumi/openstack";
|
|
182
|
-
*
|
|
183
|
-
* const scope = openstack.identity.getAuthScope({
|
|
184
|
-
* name: "my_scope",
|
|
185
|
-
* });
|
|
186
|
-
* ```
|
|
187
|
-
*
|
|
188
|
-
* ```typescript
|
|
189
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
190
|
-
* import * as http from "@pulumi/http";
|
|
191
|
-
*
|
|
192
|
-
* const objectStoreService = .filter(entry => entry.type == "object-store").map(entry => (entry))[0];
|
|
193
|
-
* const objectStoreEndpoint = .filter(endpoint => endpoint["interface"] == "public" && endpoint.region == "region1").map(endpoint => (endpoint))[0];
|
|
194
|
-
* const objectStorePublicUrl = objectStoreEndpoint.url;
|
|
195
|
-
* const example = http.getHttp({
|
|
196
|
-
* url: objectStorePublicUrl,
|
|
197
|
-
* requestHeaders: {
|
|
198
|
-
* Accept: "application/json",
|
|
199
|
-
* "X-Auth-Token": data.openstack_identity_auth_scope_v3.scope.token_id,
|
|
200
|
-
* },
|
|
201
|
-
* });
|
|
202
|
-
* export const containers = example.then(example => example.responseBody);
|
|
203
|
-
* ```
|
|
204
|
-
*/
|
|
205
99
|
export declare function getAuthScopeOutput(args: GetAuthScopeOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetAuthScopeResult>;
|
|
206
100
|
/**
|
|
207
101
|
* A collection of arguments for invoking getAuthScope.
|
package/identity/getAuthScope.js
CHANGED
|
@@ -5,59 +5,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.getAuthScopeOutput = exports.getAuthScope = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
|
-
/**
|
|
9
|
-
* ## Example Usage
|
|
10
|
-
* ### Simple
|
|
11
|
-
*
|
|
12
|
-
* ```typescript
|
|
13
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
-
* import * as openstack from "@pulumi/openstack";
|
|
15
|
-
*
|
|
16
|
-
* const scope = openstack.identity.getAuthScope({
|
|
17
|
-
* name: "my_scope",
|
|
18
|
-
* });
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* To find the the public object storage endpoint for "region1" as listed in the
|
|
22
|
-
* service catalog:
|
|
23
|
-
*
|
|
24
|
-
* ```typescript
|
|
25
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
26
|
-
*
|
|
27
|
-
* const objectStoreService = .filter(entry => entry.type == "object-store").map(entry => (entry))[0];
|
|
28
|
-
* const objectStoreEndpoint = .filter(endpoint => endpoint["interface"] == "public" && endpoint.region == "region1").map(endpoint => (endpoint))[0];
|
|
29
|
-
* const objectStorePublicUrl = objectStoreEndpoint.url;
|
|
30
|
-
* ```
|
|
31
|
-
* ### In a combination with an http data source provider
|
|
32
|
-
*
|
|
33
|
-
* See [http](https://www.terraform.io/providers/hashicorp/http/latest/docs/data-sources/http) provider for reference.
|
|
34
|
-
*
|
|
35
|
-
* ```typescript
|
|
36
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
37
|
-
* import * as openstack from "@pulumi/openstack";
|
|
38
|
-
*
|
|
39
|
-
* const scope = openstack.identity.getAuthScope({
|
|
40
|
-
* name: "my_scope",
|
|
41
|
-
* });
|
|
42
|
-
* ```
|
|
43
|
-
*
|
|
44
|
-
* ```typescript
|
|
45
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
46
|
-
* import * as http from "@pulumi/http";
|
|
47
|
-
*
|
|
48
|
-
* const objectStoreService = .filter(entry => entry.type == "object-store").map(entry => (entry))[0];
|
|
49
|
-
* const objectStoreEndpoint = .filter(endpoint => endpoint["interface"] == "public" && endpoint.region == "region1").map(endpoint => (endpoint))[0];
|
|
50
|
-
* const objectStorePublicUrl = objectStoreEndpoint.url;
|
|
51
|
-
* const example = http.getHttp({
|
|
52
|
-
* url: objectStorePublicUrl,
|
|
53
|
-
* requestHeaders: {
|
|
54
|
-
* Accept: "application/json",
|
|
55
|
-
* "X-Auth-Token": data.openstack_identity_auth_scope_v3.scope.token_id,
|
|
56
|
-
* },
|
|
57
|
-
* });
|
|
58
|
-
* export const containers = example.then(example => example.responseBody);
|
|
59
|
-
* ```
|
|
60
|
-
*/
|
|
61
8
|
function getAuthScope(args, opts) {
|
|
62
9
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
63
10
|
return pulumi.runtime.invoke("openstack:identity/getAuthScope:getAuthScope", {
|
|
@@ -67,59 +14,6 @@ function getAuthScope(args, opts) {
|
|
|
67
14
|
}, opts);
|
|
68
15
|
}
|
|
69
16
|
exports.getAuthScope = getAuthScope;
|
|
70
|
-
/**
|
|
71
|
-
* ## Example Usage
|
|
72
|
-
* ### Simple
|
|
73
|
-
*
|
|
74
|
-
* ```typescript
|
|
75
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
76
|
-
* import * as openstack from "@pulumi/openstack";
|
|
77
|
-
*
|
|
78
|
-
* const scope = openstack.identity.getAuthScope({
|
|
79
|
-
* name: "my_scope",
|
|
80
|
-
* });
|
|
81
|
-
* ```
|
|
82
|
-
*
|
|
83
|
-
* To find the the public object storage endpoint for "region1" as listed in the
|
|
84
|
-
* service catalog:
|
|
85
|
-
*
|
|
86
|
-
* ```typescript
|
|
87
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
88
|
-
*
|
|
89
|
-
* const objectStoreService = .filter(entry => entry.type == "object-store").map(entry => (entry))[0];
|
|
90
|
-
* const objectStoreEndpoint = .filter(endpoint => endpoint["interface"] == "public" && endpoint.region == "region1").map(endpoint => (endpoint))[0];
|
|
91
|
-
* const objectStorePublicUrl = objectStoreEndpoint.url;
|
|
92
|
-
* ```
|
|
93
|
-
* ### In a combination with an http data source provider
|
|
94
|
-
*
|
|
95
|
-
* See [http](https://www.terraform.io/providers/hashicorp/http/latest/docs/data-sources/http) provider for reference.
|
|
96
|
-
*
|
|
97
|
-
* ```typescript
|
|
98
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
99
|
-
* import * as openstack from "@pulumi/openstack";
|
|
100
|
-
*
|
|
101
|
-
* const scope = openstack.identity.getAuthScope({
|
|
102
|
-
* name: "my_scope",
|
|
103
|
-
* });
|
|
104
|
-
* ```
|
|
105
|
-
*
|
|
106
|
-
* ```typescript
|
|
107
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
108
|
-
* import * as http from "@pulumi/http";
|
|
109
|
-
*
|
|
110
|
-
* const objectStoreService = .filter(entry => entry.type == "object-store").map(entry => (entry))[0];
|
|
111
|
-
* const objectStoreEndpoint = .filter(endpoint => endpoint["interface"] == "public" && endpoint.region == "region1").map(endpoint => (endpoint))[0];
|
|
112
|
-
* const objectStorePublicUrl = objectStoreEndpoint.url;
|
|
113
|
-
* const example = http.getHttp({
|
|
114
|
-
* url: objectStorePublicUrl,
|
|
115
|
-
* requestHeaders: {
|
|
116
|
-
* Accept: "application/json",
|
|
117
|
-
* "X-Auth-Token": data.openstack_identity_auth_scope_v3.scope.token_id,
|
|
118
|
-
* },
|
|
119
|
-
* });
|
|
120
|
-
* export const containers = example.then(example => example.responseBody);
|
|
121
|
-
* ```
|
|
122
|
-
*/
|
|
123
17
|
function getAuthScopeOutput(args, opts) {
|
|
124
18
|
return pulumi.output(args).apply((a) => getAuthScope(a, opts));
|
|
125
19
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAuthScope.js","sourceRoot":"","sources":["../../identity/getAuthScope.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"getAuthScope.js","sourceRoot":"","sources":["../../identity/getAuthScope.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAE5E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8CAA8C,EAAE;QACzE,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,oCAQC;AAkGD,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IACxF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,YAAY,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACvE,CAAC;AAFD,gDAEC"}
|
package/package.json
CHANGED
package/provider.d.ts
CHANGED
|
@@ -229,7 +229,7 @@ export interface ProviderArgs {
|
|
|
229
229
|
/**
|
|
230
230
|
* If set to `true`, API requests will go the Load Balancer service (Octavia) instead of the Networking service (Neutron).
|
|
231
231
|
*
|
|
232
|
-
* @deprecated
|
|
232
|
+
* @deprecated Users not using loadbalancer resources can ignore this message. Support for neutron-lbaas will be removed on next major release. Octavia will be the only supported method for loadbalancer resources. Users using octavia will have to remove 'use_octavia' option from the provider configuration block. Users using neutron-lbaas will have to migrate/upgrade to octavia.
|
|
233
233
|
*/
|
|
234
234
|
useOctavia?: pulumi.Input<boolean>;
|
|
235
235
|
/**
|