@pulumi/openstack 5.6.0-alpha.1783583617 → 5.6.0-alpha.1783684233
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/instance.d.ts +3 -3
- package/compute/instance.js +3 -3
- package/compute/interfaceAttach.d.ts +9 -9
- package/compute/interfaceAttach.js +9 -9
- package/compute/serverGroup.d.ts +8 -8
- package/compute/serverGroup.js +8 -8
- package/compute/volumeAttach.d.ts +9 -9
- package/compute/volumeAttach.js +9 -9
- package/loadbalancer/l7policyV2.d.ts +3 -3
- package/loadbalancer/monitor.d.ts +6 -6
- package/package.json +2 -2
package/compute/instance.d.ts
CHANGED
|
@@ -456,9 +456,9 @@ import * as outputs from "../types/output";
|
|
|
456
456
|
* error:
|
|
457
457
|
*
|
|
458
458
|
* * If you intend to use the `openstack.compute.InterfaceAttach` resource,
|
|
459
|
-
*
|
|
460
|
-
*
|
|
461
|
-
*
|
|
459
|
+
* you still need to make sure one of the above points is satisfied. An instance
|
|
460
|
+
* cannot be created without a valid network configuration even if you intend to
|
|
461
|
+
* use `openstack.compute.InterfaceAttach` after the instance has been created.
|
|
462
462
|
*
|
|
463
463
|
* ## Importing instances
|
|
464
464
|
*
|
package/compute/instance.js
CHANGED
|
@@ -483,9 +483,9 @@ const utilities = __importStar(require("../utilities"));
|
|
|
483
483
|
* error:
|
|
484
484
|
*
|
|
485
485
|
* * If you intend to use the `openstack.compute.InterfaceAttach` resource,
|
|
486
|
-
*
|
|
487
|
-
*
|
|
488
|
-
*
|
|
486
|
+
* you still need to make sure one of the above points is satisfied. An instance
|
|
487
|
+
* cannot be created without a valid network configuration even if you intend to
|
|
488
|
+
* use `openstack.compute.InterfaceAttach` after the instance has been created.
|
|
489
489
|
*
|
|
490
490
|
* ## Importing instances
|
|
491
491
|
*
|
|
@@ -83,11 +83,11 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
83
83
|
* adminStateUp: true,
|
|
84
84
|
* });
|
|
85
85
|
* const ports: openstack.networking.Port[] = [];
|
|
86
|
-
* for (
|
|
87
|
-
* ports.push(new openstack.networking.Port(`ports-${range
|
|
86
|
+
* for (let range = 0; range < 2; range++) {
|
|
87
|
+
* ports.push(new openstack.networking.Port(`ports-${range}`, {
|
|
88
88
|
* name: std.format({
|
|
89
89
|
* input: "port-%02d",
|
|
90
|
-
* args: [range
|
|
90
|
+
* args: [range + 1],
|
|
91
91
|
* }).then(invoke => invoke.result),
|
|
92
92
|
* networkId: network1.id,
|
|
93
93
|
* adminStateUp: true,
|
|
@@ -98,9 +98,9 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
98
98
|
* securityGroups: ["default"],
|
|
99
99
|
* });
|
|
100
100
|
* const attachments: openstack.compute.InterfaceAttach[] = [];
|
|
101
|
-
* for (
|
|
102
|
-
* attachments.push(new openstack.compute.InterfaceAttach(`attachments-${range
|
|
103
|
-
* portId: ports[range
|
|
101
|
+
* for (let range = 0; range < 2; range++) {
|
|
102
|
+
* attachments.push(new openstack.compute.InterfaceAttach(`attachments-${range}`, {
|
|
103
|
+
* portId: ports[range].id,
|
|
104
104
|
* instanceId: instance1.id,
|
|
105
105
|
* }));
|
|
106
106
|
* }
|
|
@@ -123,11 +123,11 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
123
123
|
* adminStateUp: true,
|
|
124
124
|
* });
|
|
125
125
|
* const ports: openstack.networking.Port[] = [];
|
|
126
|
-
* for (
|
|
127
|
-
* ports.push(new openstack.networking.Port(`ports-${range
|
|
126
|
+
* for (let range = 0; range < 2; range++) {
|
|
127
|
+
* ports.push(new openstack.networking.Port(`ports-${range}`, {
|
|
128
128
|
* name: std.format({
|
|
129
129
|
* input: "port-%02d",
|
|
130
|
-
* args: [range
|
|
130
|
+
* args: [range + 1],
|
|
131
131
|
* }).then(invoke => invoke.result),
|
|
132
132
|
* networkId: network1.id,
|
|
133
133
|
* adminStateUp: true,
|
|
@@ -112,11 +112,11 @@ const utilities = __importStar(require("../utilities"));
|
|
|
112
112
|
* adminStateUp: true,
|
|
113
113
|
* });
|
|
114
114
|
* const ports: openstack.networking.Port[] = [];
|
|
115
|
-
* for (
|
|
116
|
-
* ports.push(new openstack.networking.Port(`ports-${range
|
|
115
|
+
* for (let range = 0; range < 2; range++) {
|
|
116
|
+
* ports.push(new openstack.networking.Port(`ports-${range}`, {
|
|
117
117
|
* name: std.format({
|
|
118
118
|
* input: "port-%02d",
|
|
119
|
-
* args: [range
|
|
119
|
+
* args: [range + 1],
|
|
120
120
|
* }).then(invoke => invoke.result),
|
|
121
121
|
* networkId: network1.id,
|
|
122
122
|
* adminStateUp: true,
|
|
@@ -127,9 +127,9 @@ const utilities = __importStar(require("../utilities"));
|
|
|
127
127
|
* securityGroups: ["default"],
|
|
128
128
|
* });
|
|
129
129
|
* const attachments: openstack.compute.InterfaceAttach[] = [];
|
|
130
|
-
* for (
|
|
131
|
-
* attachments.push(new openstack.compute.InterfaceAttach(`attachments-${range
|
|
132
|
-
* portId: ports[range
|
|
130
|
+
* for (let range = 0; range < 2; range++) {
|
|
131
|
+
* attachments.push(new openstack.compute.InterfaceAttach(`attachments-${range}`, {
|
|
132
|
+
* portId: ports[range].id,
|
|
133
133
|
* instanceId: instance1.id,
|
|
134
134
|
* }));
|
|
135
135
|
* }
|
|
@@ -152,11 +152,11 @@ const utilities = __importStar(require("../utilities"));
|
|
|
152
152
|
* adminStateUp: true,
|
|
153
153
|
* });
|
|
154
154
|
* const ports: openstack.networking.Port[] = [];
|
|
155
|
-
* for (
|
|
156
|
-
* ports.push(new openstack.networking.Port(`ports-${range
|
|
155
|
+
* for (let range = 0; range < 2; range++) {
|
|
156
|
+
* ports.push(new openstack.networking.Port(`ports-${range}`, {
|
|
157
157
|
* name: std.format({
|
|
158
158
|
* input: "port-%02d",
|
|
159
|
-
* args: [range
|
|
159
|
+
* args: [range + 1],
|
|
160
160
|
* }).then(invoke => invoke.result),
|
|
161
161
|
* networkId: network1.id,
|
|
162
162
|
* adminStateUp: true,
|
package/compute/serverGroup.d.ts
CHANGED
|
@@ -58,20 +58,20 @@ import * as outputs from "../types/output";
|
|
|
58
58
|
* ## Policies
|
|
59
59
|
*
|
|
60
60
|
* * `affinity` - All instances/servers launched in this group will be hosted on
|
|
61
|
-
*
|
|
61
|
+
* the same compute node.
|
|
62
62
|
*
|
|
63
63
|
* * `anti-affinity` - All instances/servers launched in this group will be
|
|
64
|
-
*
|
|
64
|
+
* hosted on different compute nodes.
|
|
65
65
|
*
|
|
66
66
|
* * `soft-affinity` - All instances/servers launched in this group will be hosted
|
|
67
|
-
*
|
|
68
|
-
*
|
|
69
|
-
*
|
|
67
|
+
* on the same compute node if possible, but if not possible they
|
|
68
|
+
* still will be scheduled instead of failure. To use this policy your
|
|
69
|
+
* OpenStack environment should support Compute service API 2.15 or above.
|
|
70
70
|
*
|
|
71
71
|
* * `soft-anti-affinity` - All instances/servers launched in this group will be
|
|
72
|
-
*
|
|
73
|
-
*
|
|
74
|
-
*
|
|
72
|
+
* hosted on different compute nodes if possible, but if not possible they
|
|
73
|
+
* still will be scheduled instead of failure. To use this policy your
|
|
74
|
+
* OpenStack environment should support Compute service API 2.15 or above.
|
|
75
75
|
*
|
|
76
76
|
* ## Import
|
|
77
77
|
*
|
package/compute/serverGroup.js
CHANGED
|
@@ -85,20 +85,20 @@ const utilities = __importStar(require("../utilities"));
|
|
|
85
85
|
* ## Policies
|
|
86
86
|
*
|
|
87
87
|
* * `affinity` - All instances/servers launched in this group will be hosted on
|
|
88
|
-
*
|
|
88
|
+
* the same compute node.
|
|
89
89
|
*
|
|
90
90
|
* * `anti-affinity` - All instances/servers launched in this group will be
|
|
91
|
-
*
|
|
91
|
+
* hosted on different compute nodes.
|
|
92
92
|
*
|
|
93
93
|
* * `soft-affinity` - All instances/servers launched in this group will be hosted
|
|
94
|
-
*
|
|
95
|
-
*
|
|
96
|
-
*
|
|
94
|
+
* on the same compute node if possible, but if not possible they
|
|
95
|
+
* still will be scheduled instead of failure. To use this policy your
|
|
96
|
+
* OpenStack environment should support Compute service API 2.15 or above.
|
|
97
97
|
*
|
|
98
98
|
* * `soft-anti-affinity` - All instances/servers launched in this group will be
|
|
99
|
-
*
|
|
100
|
-
*
|
|
101
|
-
*
|
|
99
|
+
* hosted on different compute nodes if possible, but if not possible they
|
|
100
|
+
* still will be scheduled instead of failure. To use this policy your
|
|
101
|
+
* OpenStack environment should support Compute service API 2.15 or above.
|
|
102
102
|
*
|
|
103
103
|
* ## Import
|
|
104
104
|
*
|
|
@@ -35,11 +35,11 @@ import * as outputs from "../types/output";
|
|
|
35
35
|
* import * as std from "@pulumi/std";
|
|
36
36
|
*
|
|
37
37
|
* const volumes: openstack.blockstorage.Volume[] = [];
|
|
38
|
-
* for (
|
|
39
|
-
* volumes.push(new openstack.blockstorage.Volume(`volumes-${range
|
|
38
|
+
* for (let range = 0; range < 2; range++) {
|
|
39
|
+
* volumes.push(new openstack.blockstorage.Volume(`volumes-${range}`, {
|
|
40
40
|
* name: std.format({
|
|
41
41
|
* input: "vol-%02d",
|
|
42
|
-
* args: [range
|
|
42
|
+
* args: [range + 1],
|
|
43
43
|
* }).then(invoke => invoke.result),
|
|
44
44
|
* size: 1,
|
|
45
45
|
* }));
|
|
@@ -49,10 +49,10 @@ import * as outputs from "../types/output";
|
|
|
49
49
|
* securityGroups: ["default"],
|
|
50
50
|
* });
|
|
51
51
|
* const attachments: openstack.compute.VolumeAttach[] = [];
|
|
52
|
-
* for (
|
|
53
|
-
* attachments.push(new openstack.compute.VolumeAttach(`attachments-${range
|
|
52
|
+
* for (let range = 0; range < 2; range++) {
|
|
53
|
+
* attachments.push(new openstack.compute.VolumeAttach(`attachments-${range}`, {
|
|
54
54
|
* instanceId: instance1.id,
|
|
55
|
-
* volumeId: volumes[range
|
|
55
|
+
* volumeId: volumes[range].id,
|
|
56
56
|
* }));
|
|
57
57
|
* }
|
|
58
58
|
* export const volumeDevices = attachments.map(__item => __item.device);
|
|
@@ -71,11 +71,11 @@ import * as outputs from "../types/output";
|
|
|
71
71
|
* import * as std from "@pulumi/std";
|
|
72
72
|
*
|
|
73
73
|
* const volumes: openstack.blockstorage.Volume[] = [];
|
|
74
|
-
* for (
|
|
75
|
-
* volumes.push(new openstack.blockstorage.Volume(`volumes-${range
|
|
74
|
+
* for (let range = 0; range < 2; range++) {
|
|
75
|
+
* volumes.push(new openstack.blockstorage.Volume(`volumes-${range}`, {
|
|
76
76
|
* name: std.format({
|
|
77
77
|
* input: "vol-%02d",
|
|
78
|
-
* args: [range
|
|
78
|
+
* args: [range + 1],
|
|
79
79
|
* }).then(invoke => invoke.result),
|
|
80
80
|
* size: 1,
|
|
81
81
|
* }));
|
package/compute/volumeAttach.js
CHANGED
|
@@ -62,11 +62,11 @@ const utilities = __importStar(require("../utilities"));
|
|
|
62
62
|
* import * as std from "@pulumi/std";
|
|
63
63
|
*
|
|
64
64
|
* const volumes: openstack.blockstorage.Volume[] = [];
|
|
65
|
-
* for (
|
|
66
|
-
* volumes.push(new openstack.blockstorage.Volume(`volumes-${range
|
|
65
|
+
* for (let range = 0; range < 2; range++) {
|
|
66
|
+
* volumes.push(new openstack.blockstorage.Volume(`volumes-${range}`, {
|
|
67
67
|
* name: std.format({
|
|
68
68
|
* input: "vol-%02d",
|
|
69
|
-
* args: [range
|
|
69
|
+
* args: [range + 1],
|
|
70
70
|
* }).then(invoke => invoke.result),
|
|
71
71
|
* size: 1,
|
|
72
72
|
* }));
|
|
@@ -76,10 +76,10 @@ const utilities = __importStar(require("../utilities"));
|
|
|
76
76
|
* securityGroups: ["default"],
|
|
77
77
|
* });
|
|
78
78
|
* const attachments: openstack.compute.VolumeAttach[] = [];
|
|
79
|
-
* for (
|
|
80
|
-
* attachments.push(new openstack.compute.VolumeAttach(`attachments-${range
|
|
79
|
+
* for (let range = 0; range < 2; range++) {
|
|
80
|
+
* attachments.push(new openstack.compute.VolumeAttach(`attachments-${range}`, {
|
|
81
81
|
* instanceId: instance1.id,
|
|
82
|
-
* volumeId: volumes[range
|
|
82
|
+
* volumeId: volumes[range].id,
|
|
83
83
|
* }));
|
|
84
84
|
* }
|
|
85
85
|
* export const volumeDevices = attachments.map(__item => __item.device);
|
|
@@ -98,11 +98,11 @@ const utilities = __importStar(require("../utilities"));
|
|
|
98
98
|
* import * as std from "@pulumi/std";
|
|
99
99
|
*
|
|
100
100
|
* const volumes: openstack.blockstorage.Volume[] = [];
|
|
101
|
-
* for (
|
|
102
|
-
* volumes.push(new openstack.blockstorage.Volume(`volumes-${range
|
|
101
|
+
* for (let range = 0; range < 2; range++) {
|
|
102
|
+
* volumes.push(new openstack.blockstorage.Volume(`volumes-${range}`, {
|
|
103
103
|
* name: std.format({
|
|
104
104
|
* input: "vol-%02d",
|
|
105
|
-
* args: [range
|
|
105
|
+
* args: [range + 1],
|
|
106
106
|
* }).then(invoke => invoke.result),
|
|
107
107
|
* size: 1,
|
|
108
108
|
* }));
|
|
@@ -97,7 +97,7 @@ export declare class L7PolicyV2 extends pulumi.CustomResource {
|
|
|
97
97
|
*/
|
|
98
98
|
readonly position: pulumi.Output<number>;
|
|
99
99
|
/**
|
|
100
|
-
* Integer. Requests matching this policy will be
|
|
100
|
+
* Integer. Requests matching this policy will be\
|
|
101
101
|
* redirected to the specified URL or Prefix URL with the HTTP response code.
|
|
102
102
|
* Valid if action is REDIRECT\_TO\_URL or REDIRECT\_PREFIX. Valid options are:
|
|
103
103
|
* 301, 302, 303, 307, or 308. Default is 302. New in octavia version 2.9
|
|
@@ -173,7 +173,7 @@ export interface L7PolicyV2State {
|
|
|
173
173
|
*/
|
|
174
174
|
position?: pulumi.Input<number | undefined>;
|
|
175
175
|
/**
|
|
176
|
-
* Integer. Requests matching this policy will be
|
|
176
|
+
* Integer. Requests matching this policy will be\
|
|
177
177
|
* redirected to the specified URL or Prefix URL with the HTTP response code.
|
|
178
178
|
* Valid if action is REDIRECT\_TO\_URL or REDIRECT\_PREFIX. Valid options are:
|
|
179
179
|
* 301, 302, 303, 307, or 308. Default is 302. New in octavia version 2.9
|
|
@@ -241,7 +241,7 @@ export interface L7PolicyV2Args {
|
|
|
241
241
|
*/
|
|
242
242
|
position?: pulumi.Input<number | undefined>;
|
|
243
243
|
/**
|
|
244
|
-
* Integer. Requests matching this policy will be
|
|
244
|
+
* Integer. Requests matching this policy will be\
|
|
245
245
|
* redirected to the specified URL or Prefix URL with the HTTP response code.
|
|
246
246
|
* Valid if action is REDIRECT\_TO\_URL or REDIRECT\_PREFIX. Valid options are:
|
|
247
247
|
* 301, 302, 303, 307, or 308. Default is 302. New in octavia version 2.9
|
|
@@ -75,8 +75,8 @@ export declare class Monitor extends pulumi.CustomResource {
|
|
|
75
75
|
readonly httpMethod: pulumi.Output<string>;
|
|
76
76
|
/**
|
|
77
77
|
* Required for HTTP(S) types. The HTTP version that
|
|
78
|
-
* the health monitor uses for requests. One of `1.0` or 1.1`
|
|
79
|
-
* for HTTP(S) monitors. The default is
|
|
78
|
+
* the health monitor uses for requests. One of `1.0` or 1.1`is supported
|
|
79
|
+
* for HTTP(S) monitors. The default is`1.0`. Supported in Octavia API version
|
|
80
80
|
* 2.10 or later.
|
|
81
81
|
*/
|
|
82
82
|
readonly httpVersion: pulumi.Output<string | undefined>;
|
|
@@ -172,8 +172,8 @@ export interface MonitorState {
|
|
|
172
172
|
httpMethod?: pulumi.Input<string | undefined>;
|
|
173
173
|
/**
|
|
174
174
|
* Required for HTTP(S) types. The HTTP version that
|
|
175
|
-
* the health monitor uses for requests. One of `1.0` or 1.1`
|
|
176
|
-
* for HTTP(S) monitors. The default is
|
|
175
|
+
* the health monitor uses for requests. One of `1.0` or 1.1`is supported
|
|
176
|
+
* for HTTP(S) monitors. The default is`1.0`. Supported in Octavia API version
|
|
177
177
|
* 2.10 or later.
|
|
178
178
|
*/
|
|
179
179
|
httpVersion?: pulumi.Input<string | undefined>;
|
|
@@ -261,8 +261,8 @@ export interface MonitorArgs {
|
|
|
261
261
|
httpMethod?: pulumi.Input<string | undefined>;
|
|
262
262
|
/**
|
|
263
263
|
* Required for HTTP(S) types. The HTTP version that
|
|
264
|
-
* the health monitor uses for requests. One of `1.0` or 1.1`
|
|
265
|
-
* for HTTP(S) monitors. The default is
|
|
264
|
+
* the health monitor uses for requests. One of `1.0` or 1.1`is supported
|
|
265
|
+
* for HTTP(S) monitors. The default is`1.0`. Supported in Octavia API version
|
|
266
266
|
* 2.10 or later.
|
|
267
267
|
*/
|
|
268
268
|
httpVersion?: pulumi.Input<string | undefined>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/openstack",
|
|
3
|
-
"version": "5.6.0-alpha.
|
|
3
|
+
"version": "5.6.0-alpha.1783684233",
|
|
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": "5.6.0-alpha.
|
|
25
|
+
"version": "5.6.0-alpha.1783684233"
|
|
26
26
|
}
|
|
27
27
|
}
|