@pulumi/openstack 3.9.0-alpha.1650910295 → 3.9.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/getLimitsV2.d.ts +138 -0
- package/compute/getLimitsV2.js +37 -0
- package/compute/getLimitsV2.js.map +1 -0
- package/compute/index.d.ts +1 -0
- package/compute/index.js +1 -0
- package/compute/index.js.map +1 -1
- package/compute/instance.d.ts +12 -9
- package/compute/instance.js.map +1 -1
- package/compute/keypair.d.ts +18 -0
- package/compute/keypair.js +2 -0
- package/compute/keypair.js.map +1 -1
- package/containerinfra/cluster.d.ts +1 -1
- package/containerinfra/getNodeGroup.d.ts +121 -0
- package/containerinfra/getNodeGroup.js +39 -0
- package/containerinfra/getNodeGroup.js.map +1 -0
- package/containerinfra/index.d.ts +2 -0
- package/containerinfra/index.js +6 -0
- package/containerinfra/index.js.map +1 -1
- package/containerinfra/nodeGroup.d.ts +257 -0
- package/containerinfra/nodeGroup.js +122 -0
- package/containerinfra/nodeGroup.js.map +1 -0
- package/loadbalancer/member.d.ts +45 -0
- package/loadbalancer/member.js +6 -0
- package/loadbalancer/member.js.map +1 -1
- package/networking/getQuotaV2.d.ts +10 -0
- package/networking/getQuotaV2.js +1 -0
- package/networking/getQuotaV2.js.map +1 -1
- package/networking/portSecGroupAssociate.d.ts +8 -0
- package/networking/portSecGroupAssociate.js +8 -0
- package/networking/portSecGroupAssociate.js.map +1 -1
- package/objectstorage/container.d.ts +15 -0
- package/objectstorage/container.js +2 -0
- package/objectstorage/container.js.map +1 -1
- package/package.json +4 -3
- package/package.json.bak +2 -1
- package/package.json.dev +4 -3
- package/types/input.d.ts +10 -0
- package/types/output.d.ts +10 -0
|
@@ -0,0 +1,257 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Manages a V1 Magnum node group resource within OpenStack.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
* ### Create a Cluster
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as openstack from "@pulumi/openstack";
|
|
11
|
+
*
|
|
12
|
+
* const nodegroup1 = new openstack.containerinfra.NodeGroup("nodegroup_1", {
|
|
13
|
+
* clusterId: "b9a45c5c-cd03-4958-82aa-b80bf93cb922",
|
|
14
|
+
* nodeCount: 5,
|
|
15
|
+
* });
|
|
16
|
+
* ```
|
|
17
|
+
* ## Attributes reference
|
|
18
|
+
*
|
|
19
|
+
* The following attributes are exported:
|
|
20
|
+
*
|
|
21
|
+
* * `region` - See Argument Reference above.
|
|
22
|
+
* * `name` - See Argument Reference above.
|
|
23
|
+
* * `projectId` - See Argument Reference above.
|
|
24
|
+
* * `createdAt` - The time at which cluster was created.
|
|
25
|
+
* * `updatedAt` - The time at which cluster was created.
|
|
26
|
+
* * `dockerVolumeSize` - See Argument Reference above.
|
|
27
|
+
* * `role` - See Argument Reference above.
|
|
28
|
+
* * `image` - See Argument Reference above.
|
|
29
|
+
* * `flavor` - See Argument Reference above.
|
|
30
|
+
* * `labels` - See Argument Reference above.
|
|
31
|
+
* * `nodeCount` - See Argument Reference above.
|
|
32
|
+
* * `minNodeCount` - See Argument Reference above.
|
|
33
|
+
* * `maxNodeCount` - See Argument Reference above.
|
|
34
|
+
* * `role` - See Argument Reference above.
|
|
35
|
+
*
|
|
36
|
+
* ## Import
|
|
37
|
+
*
|
|
38
|
+
* Node groups can be imported using the `id`, e.g.
|
|
39
|
+
*
|
|
40
|
+
* ```sh
|
|
41
|
+
* $ pulumi import openstack:containerinfra/nodeGroup:NodeGroup nodegroup_1 ce0f9463-dd25-474b-9fe8-94de63e5e42b
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
export declare class NodeGroup extends pulumi.CustomResource {
|
|
45
|
+
/**
|
|
46
|
+
* Get an existing NodeGroup resource's state with the given name, ID, and optional extra
|
|
47
|
+
* properties used to qualify the lookup.
|
|
48
|
+
*
|
|
49
|
+
* @param name The _unique_ name of the resulting resource.
|
|
50
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
51
|
+
* @param state Any extra arguments used during the lookup.
|
|
52
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
53
|
+
*/
|
|
54
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: NodeGroupState, opts?: pulumi.CustomResourceOptions): NodeGroup;
|
|
55
|
+
/**
|
|
56
|
+
* Returns true if the given object is an instance of NodeGroup. This is designed to work even
|
|
57
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
58
|
+
*/
|
|
59
|
+
static isInstance(obj: any): obj is NodeGroup;
|
|
60
|
+
/**
|
|
61
|
+
* The UUID of the V1 Container Infra cluster.
|
|
62
|
+
* Changing this creates a new node group.
|
|
63
|
+
*/
|
|
64
|
+
readonly clusterId: pulumi.Output<string>;
|
|
65
|
+
readonly createdAt: pulumi.Output<string>;
|
|
66
|
+
/**
|
|
67
|
+
* The size (in GB) of the Docker volume.
|
|
68
|
+
* Changing this creates a new node group.
|
|
69
|
+
*/
|
|
70
|
+
readonly dockerVolumeSize: pulumi.Output<number>;
|
|
71
|
+
readonly flavorId: pulumi.Output<string>;
|
|
72
|
+
readonly imageId: pulumi.Output<string>;
|
|
73
|
+
/**
|
|
74
|
+
* The list of key value pairs representing additional
|
|
75
|
+
* properties of the node group. Changing this creates a new node group.
|
|
76
|
+
*/
|
|
77
|
+
readonly labels: pulumi.Output<{
|
|
78
|
+
[key: string]: any;
|
|
79
|
+
}>;
|
|
80
|
+
/**
|
|
81
|
+
* The maximum number of nodes for the node group.
|
|
82
|
+
* Changing this update the maximum number of nodes of the node group.
|
|
83
|
+
*/
|
|
84
|
+
readonly maxNodeCount: pulumi.Output<number>;
|
|
85
|
+
/**
|
|
86
|
+
* Indicates whether the provided labels should be
|
|
87
|
+
* merged with cluster labels. Changing this creates a new nodegroup.
|
|
88
|
+
*/
|
|
89
|
+
readonly mergeLabels: pulumi.Output<boolean | undefined>;
|
|
90
|
+
/**
|
|
91
|
+
* The minimum number of nodes for the node group.
|
|
92
|
+
* Changing this update the minimum number of nodes of the node group.
|
|
93
|
+
*/
|
|
94
|
+
readonly minNodeCount: pulumi.Output<number>;
|
|
95
|
+
/**
|
|
96
|
+
* The name of the node group. Changing this creates a new
|
|
97
|
+
* node group.
|
|
98
|
+
*/
|
|
99
|
+
readonly name: pulumi.Output<string>;
|
|
100
|
+
/**
|
|
101
|
+
* The number of nodes for the node group. Changing
|
|
102
|
+
* this update the number of nodes of the node group.
|
|
103
|
+
*/
|
|
104
|
+
readonly nodeCount: pulumi.Output<number | undefined>;
|
|
105
|
+
/**
|
|
106
|
+
* The project of the node group. Required if admin
|
|
107
|
+
* wants to create a cluster in another project. Changing this creates a new
|
|
108
|
+
* node group.
|
|
109
|
+
*/
|
|
110
|
+
readonly projectId: pulumi.Output<string>;
|
|
111
|
+
/**
|
|
112
|
+
* The region in which to obtain the V1 Container Infra
|
|
113
|
+
* client. A Container Infra client is needed to create a cluster. If omitted,
|
|
114
|
+
* the `region` argument of the provider is used. Changing this creates a new
|
|
115
|
+
* node group.
|
|
116
|
+
*/
|
|
117
|
+
readonly region: pulumi.Output<string>;
|
|
118
|
+
/**
|
|
119
|
+
* The role of nodes in the node group. Changing this
|
|
120
|
+
* creates a new node group.
|
|
121
|
+
*/
|
|
122
|
+
readonly role: pulumi.Output<string>;
|
|
123
|
+
readonly updatedAt: pulumi.Output<string>;
|
|
124
|
+
/**
|
|
125
|
+
* Create a NodeGroup resource with the given unique name, arguments, and options.
|
|
126
|
+
*
|
|
127
|
+
* @param name The _unique_ name of the resource.
|
|
128
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
129
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
130
|
+
*/
|
|
131
|
+
constructor(name: string, args: NodeGroupArgs, opts?: pulumi.CustomResourceOptions);
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* Input properties used for looking up and filtering NodeGroup resources.
|
|
135
|
+
*/
|
|
136
|
+
export interface NodeGroupState {
|
|
137
|
+
/**
|
|
138
|
+
* The UUID of the V1 Container Infra cluster.
|
|
139
|
+
* Changing this creates a new node group.
|
|
140
|
+
*/
|
|
141
|
+
clusterId?: pulumi.Input<string>;
|
|
142
|
+
createdAt?: pulumi.Input<string>;
|
|
143
|
+
/**
|
|
144
|
+
* The size (in GB) of the Docker volume.
|
|
145
|
+
* Changing this creates a new node group.
|
|
146
|
+
*/
|
|
147
|
+
dockerVolumeSize?: pulumi.Input<number>;
|
|
148
|
+
flavorId?: pulumi.Input<string>;
|
|
149
|
+
imageId?: pulumi.Input<string>;
|
|
150
|
+
/**
|
|
151
|
+
* The list of key value pairs representing additional
|
|
152
|
+
* properties of the node group. Changing this creates a new node group.
|
|
153
|
+
*/
|
|
154
|
+
labels?: pulumi.Input<{
|
|
155
|
+
[key: string]: any;
|
|
156
|
+
}>;
|
|
157
|
+
/**
|
|
158
|
+
* The maximum number of nodes for the node group.
|
|
159
|
+
* Changing this update the maximum number of nodes of the node group.
|
|
160
|
+
*/
|
|
161
|
+
maxNodeCount?: pulumi.Input<number>;
|
|
162
|
+
/**
|
|
163
|
+
* Indicates whether the provided labels should be
|
|
164
|
+
* merged with cluster labels. Changing this creates a new nodegroup.
|
|
165
|
+
*/
|
|
166
|
+
mergeLabels?: pulumi.Input<boolean>;
|
|
167
|
+
/**
|
|
168
|
+
* The minimum number of nodes for the node group.
|
|
169
|
+
* Changing this update the minimum number of nodes of the node group.
|
|
170
|
+
*/
|
|
171
|
+
minNodeCount?: pulumi.Input<number>;
|
|
172
|
+
/**
|
|
173
|
+
* The name of the node group. Changing this creates a new
|
|
174
|
+
* node group.
|
|
175
|
+
*/
|
|
176
|
+
name?: pulumi.Input<string>;
|
|
177
|
+
/**
|
|
178
|
+
* The number of nodes for the node group. Changing
|
|
179
|
+
* this update the number of nodes of the node group.
|
|
180
|
+
*/
|
|
181
|
+
nodeCount?: pulumi.Input<number>;
|
|
182
|
+
/**
|
|
183
|
+
* The project of the node group. Required if admin
|
|
184
|
+
* wants to create a cluster in another project. Changing this creates a new
|
|
185
|
+
* node group.
|
|
186
|
+
*/
|
|
187
|
+
projectId?: pulumi.Input<string>;
|
|
188
|
+
/**
|
|
189
|
+
* The region in which to obtain the V1 Container Infra
|
|
190
|
+
* client. A Container Infra client is needed to create a cluster. If omitted,
|
|
191
|
+
* the `region` argument of the provider is used. Changing this creates a new
|
|
192
|
+
* node group.
|
|
193
|
+
*/
|
|
194
|
+
region?: pulumi.Input<string>;
|
|
195
|
+
/**
|
|
196
|
+
* The role of nodes in the node group. Changing this
|
|
197
|
+
* creates a new node group.
|
|
198
|
+
*/
|
|
199
|
+
role?: pulumi.Input<string>;
|
|
200
|
+
updatedAt?: pulumi.Input<string>;
|
|
201
|
+
}
|
|
202
|
+
/**
|
|
203
|
+
* The set of arguments for constructing a NodeGroup resource.
|
|
204
|
+
*/
|
|
205
|
+
export interface NodeGroupArgs {
|
|
206
|
+
/**
|
|
207
|
+
* The UUID of the V1 Container Infra cluster.
|
|
208
|
+
* Changing this creates a new node group.
|
|
209
|
+
*/
|
|
210
|
+
clusterId: pulumi.Input<string>;
|
|
211
|
+
/**
|
|
212
|
+
* The size (in GB) of the Docker volume.
|
|
213
|
+
* Changing this creates a new node group.
|
|
214
|
+
*/
|
|
215
|
+
dockerVolumeSize?: pulumi.Input<number>;
|
|
216
|
+
flavorId?: pulumi.Input<string>;
|
|
217
|
+
imageId?: pulumi.Input<string>;
|
|
218
|
+
/**
|
|
219
|
+
* The list of key value pairs representing additional
|
|
220
|
+
* properties of the node group. Changing this creates a new node group.
|
|
221
|
+
*/
|
|
222
|
+
labels?: pulumi.Input<{
|
|
223
|
+
[key: string]: any;
|
|
224
|
+
}>;
|
|
225
|
+
/**
|
|
226
|
+
* The maximum number of nodes for the node group.
|
|
227
|
+
* Changing this update the maximum number of nodes of the node group.
|
|
228
|
+
*/
|
|
229
|
+
maxNodeCount?: pulumi.Input<number>;
|
|
230
|
+
/**
|
|
231
|
+
* Indicates whether the provided labels should be
|
|
232
|
+
* merged with cluster labels. Changing this creates a new nodegroup.
|
|
233
|
+
*/
|
|
234
|
+
mergeLabels?: pulumi.Input<boolean>;
|
|
235
|
+
/**
|
|
236
|
+
* The minimum number of nodes for the node group.
|
|
237
|
+
* Changing this update the minimum number of nodes of the node group.
|
|
238
|
+
*/
|
|
239
|
+
minNodeCount?: pulumi.Input<number>;
|
|
240
|
+
/**
|
|
241
|
+
* The name of the node group. Changing this creates a new
|
|
242
|
+
* node group.
|
|
243
|
+
*/
|
|
244
|
+
name?: pulumi.Input<string>;
|
|
245
|
+
/**
|
|
246
|
+
* The number of nodes for the node group. Changing
|
|
247
|
+
* this update the number of nodes of the node group.
|
|
248
|
+
*/
|
|
249
|
+
nodeCount?: pulumi.Input<number>;
|
|
250
|
+
/**
|
|
251
|
+
* The region in which to obtain the V1 Container Infra
|
|
252
|
+
* client. A Container Infra client is needed to create a cluster. If omitted,
|
|
253
|
+
* the `region` argument of the provider is used. Changing this creates a new
|
|
254
|
+
* node group.
|
|
255
|
+
*/
|
|
256
|
+
region?: pulumi.Input<string>;
|
|
257
|
+
}
|
|
@@ -0,0 +1,122 @@
|
|
|
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.NodeGroup = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Manages a V1 Magnum node group resource within OpenStack.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
* ### Create a Cluster
|
|
13
|
+
*
|
|
14
|
+
* ```typescript
|
|
15
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
+
* import * as openstack from "@pulumi/openstack";
|
|
17
|
+
*
|
|
18
|
+
* const nodegroup1 = new openstack.containerinfra.NodeGroup("nodegroup_1", {
|
|
19
|
+
* clusterId: "b9a45c5c-cd03-4958-82aa-b80bf93cb922",
|
|
20
|
+
* nodeCount: 5,
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
23
|
+
* ## Attributes reference
|
|
24
|
+
*
|
|
25
|
+
* The following attributes are exported:
|
|
26
|
+
*
|
|
27
|
+
* * `region` - See Argument Reference above.
|
|
28
|
+
* * `name` - See Argument Reference above.
|
|
29
|
+
* * `projectId` - See Argument Reference above.
|
|
30
|
+
* * `createdAt` - The time at which cluster was created.
|
|
31
|
+
* * `updatedAt` - The time at which cluster was created.
|
|
32
|
+
* * `dockerVolumeSize` - See Argument Reference above.
|
|
33
|
+
* * `role` - See Argument Reference above.
|
|
34
|
+
* * `image` - See Argument Reference above.
|
|
35
|
+
* * `flavor` - See Argument Reference above.
|
|
36
|
+
* * `labels` - See Argument Reference above.
|
|
37
|
+
* * `nodeCount` - See Argument Reference above.
|
|
38
|
+
* * `minNodeCount` - See Argument Reference above.
|
|
39
|
+
* * `maxNodeCount` - See Argument Reference above.
|
|
40
|
+
* * `role` - See Argument Reference above.
|
|
41
|
+
*
|
|
42
|
+
* ## Import
|
|
43
|
+
*
|
|
44
|
+
* Node groups can be imported using the `id`, e.g.
|
|
45
|
+
*
|
|
46
|
+
* ```sh
|
|
47
|
+
* $ pulumi import openstack:containerinfra/nodeGroup:NodeGroup nodegroup_1 ce0f9463-dd25-474b-9fe8-94de63e5e42b
|
|
48
|
+
* ```
|
|
49
|
+
*/
|
|
50
|
+
class NodeGroup extends pulumi.CustomResource {
|
|
51
|
+
constructor(name, argsOrState, opts) {
|
|
52
|
+
let resourceInputs = {};
|
|
53
|
+
opts = opts || {};
|
|
54
|
+
if (opts.id) {
|
|
55
|
+
const state = argsOrState;
|
|
56
|
+
resourceInputs["clusterId"] = state ? state.clusterId : undefined;
|
|
57
|
+
resourceInputs["createdAt"] = state ? state.createdAt : undefined;
|
|
58
|
+
resourceInputs["dockerVolumeSize"] = state ? state.dockerVolumeSize : undefined;
|
|
59
|
+
resourceInputs["flavorId"] = state ? state.flavorId : undefined;
|
|
60
|
+
resourceInputs["imageId"] = state ? state.imageId : undefined;
|
|
61
|
+
resourceInputs["labels"] = state ? state.labels : undefined;
|
|
62
|
+
resourceInputs["maxNodeCount"] = state ? state.maxNodeCount : undefined;
|
|
63
|
+
resourceInputs["mergeLabels"] = state ? state.mergeLabels : undefined;
|
|
64
|
+
resourceInputs["minNodeCount"] = state ? state.minNodeCount : undefined;
|
|
65
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
66
|
+
resourceInputs["nodeCount"] = state ? state.nodeCount : undefined;
|
|
67
|
+
resourceInputs["projectId"] = state ? state.projectId : undefined;
|
|
68
|
+
resourceInputs["region"] = state ? state.region : undefined;
|
|
69
|
+
resourceInputs["role"] = state ? state.role : undefined;
|
|
70
|
+
resourceInputs["updatedAt"] = state ? state.updatedAt : undefined;
|
|
71
|
+
}
|
|
72
|
+
else {
|
|
73
|
+
const args = argsOrState;
|
|
74
|
+
if ((!args || args.clusterId === undefined) && !opts.urn) {
|
|
75
|
+
throw new Error("Missing required property 'clusterId'");
|
|
76
|
+
}
|
|
77
|
+
resourceInputs["clusterId"] = args ? args.clusterId : undefined;
|
|
78
|
+
resourceInputs["dockerVolumeSize"] = args ? args.dockerVolumeSize : undefined;
|
|
79
|
+
resourceInputs["flavorId"] = args ? args.flavorId : undefined;
|
|
80
|
+
resourceInputs["imageId"] = args ? args.imageId : undefined;
|
|
81
|
+
resourceInputs["labels"] = args ? args.labels : undefined;
|
|
82
|
+
resourceInputs["maxNodeCount"] = args ? args.maxNodeCount : undefined;
|
|
83
|
+
resourceInputs["mergeLabels"] = args ? args.mergeLabels : undefined;
|
|
84
|
+
resourceInputs["minNodeCount"] = args ? args.minNodeCount : undefined;
|
|
85
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
86
|
+
resourceInputs["nodeCount"] = args ? args.nodeCount : undefined;
|
|
87
|
+
resourceInputs["region"] = args ? args.region : undefined;
|
|
88
|
+
resourceInputs["createdAt"] = undefined /*out*/;
|
|
89
|
+
resourceInputs["projectId"] = undefined /*out*/;
|
|
90
|
+
resourceInputs["role"] = undefined /*out*/;
|
|
91
|
+
resourceInputs["updatedAt"] = undefined /*out*/;
|
|
92
|
+
}
|
|
93
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
94
|
+
super(NodeGroup.__pulumiType, name, resourceInputs, opts);
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* Get an existing NodeGroup resource's state with the given name, ID, and optional extra
|
|
98
|
+
* properties used to qualify the lookup.
|
|
99
|
+
*
|
|
100
|
+
* @param name The _unique_ name of the resulting resource.
|
|
101
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
102
|
+
* @param state Any extra arguments used during the lookup.
|
|
103
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
104
|
+
*/
|
|
105
|
+
static get(name, id, state, opts) {
|
|
106
|
+
return new NodeGroup(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* Returns true if the given object is an instance of NodeGroup. This is designed to work even
|
|
110
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
111
|
+
*/
|
|
112
|
+
static isInstance(obj) {
|
|
113
|
+
if (obj === undefined || obj === null) {
|
|
114
|
+
return false;
|
|
115
|
+
}
|
|
116
|
+
return obj['__pulumiType'] === NodeGroup.__pulumiType;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
exports.NodeGroup = NodeGroup;
|
|
120
|
+
/** @internal */
|
|
121
|
+
NodeGroup.__pulumiType = 'openstack:containerinfra/nodeGroup:NodeGroup';
|
|
122
|
+
//# sourceMappingURL=nodeGroup.js.map
|
|
@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AO,CAAC;YAC3C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;IA7ID;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,EAAE,IAAmC;QACpH,OAAO,IAAI,SAAS,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChE,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,SAAS,CAAC,YAAY,CAAC;IAC1D,CAAC;;AA1BL,8BA+IC;AAjIG,gBAAgB;AACO,sBAAY,GAAG,8CAA8C,CAAC"}
|
package/loadbalancer/member.d.ts
CHANGED
|
@@ -49,6 +49,21 @@ export declare class Member extends pulumi.CustomResource {
|
|
|
49
49
|
* A valid value is true (UP) or false (DOWN). Defaults to true.
|
|
50
50
|
*/
|
|
51
51
|
readonly adminStateUp: pulumi.Output<boolean | undefined>;
|
|
52
|
+
/**
|
|
53
|
+
* Boolean that indicates whether that member works as a backup or not. Available
|
|
54
|
+
* only for Octavia >= 2.1.
|
|
55
|
+
*/
|
|
56
|
+
readonly backup: pulumi.Output<boolean | undefined>;
|
|
57
|
+
/**
|
|
58
|
+
* An alternate IP address used for health monitoring a backend member.
|
|
59
|
+
* Available only for Octavia
|
|
60
|
+
*/
|
|
61
|
+
readonly monitorAddress: pulumi.Output<string | undefined>;
|
|
62
|
+
/**
|
|
63
|
+
* An alternate protocol port used for health monitoring a backend member.
|
|
64
|
+
* Available only for Octavia
|
|
65
|
+
*/
|
|
66
|
+
readonly monitorPort: pulumi.Output<number | undefined>;
|
|
52
67
|
/**
|
|
53
68
|
* Human-readable name for the member.
|
|
54
69
|
*/
|
|
@@ -110,6 +125,21 @@ export interface MemberState {
|
|
|
110
125
|
* A valid value is true (UP) or false (DOWN). Defaults to true.
|
|
111
126
|
*/
|
|
112
127
|
adminStateUp?: pulumi.Input<boolean>;
|
|
128
|
+
/**
|
|
129
|
+
* Boolean that indicates whether that member works as a backup or not. Available
|
|
130
|
+
* only for Octavia >= 2.1.
|
|
131
|
+
*/
|
|
132
|
+
backup?: pulumi.Input<boolean>;
|
|
133
|
+
/**
|
|
134
|
+
* An alternate IP address used for health monitoring a backend member.
|
|
135
|
+
* Available only for Octavia
|
|
136
|
+
*/
|
|
137
|
+
monitorAddress?: pulumi.Input<string>;
|
|
138
|
+
/**
|
|
139
|
+
* An alternate protocol port used for health monitoring a backend member.
|
|
140
|
+
* Available only for Octavia
|
|
141
|
+
*/
|
|
142
|
+
monitorPort?: pulumi.Input<number>;
|
|
113
143
|
/**
|
|
114
144
|
* Human-readable name for the member.
|
|
115
145
|
*/
|
|
@@ -163,6 +193,21 @@ export interface MemberArgs {
|
|
|
163
193
|
* A valid value is true (UP) or false (DOWN). Defaults to true.
|
|
164
194
|
*/
|
|
165
195
|
adminStateUp?: pulumi.Input<boolean>;
|
|
196
|
+
/**
|
|
197
|
+
* Boolean that indicates whether that member works as a backup or not. Available
|
|
198
|
+
* only for Octavia >= 2.1.
|
|
199
|
+
*/
|
|
200
|
+
backup?: pulumi.Input<boolean>;
|
|
201
|
+
/**
|
|
202
|
+
* An alternate IP address used for health monitoring a backend member.
|
|
203
|
+
* Available only for Octavia
|
|
204
|
+
*/
|
|
205
|
+
monitorAddress?: pulumi.Input<string>;
|
|
206
|
+
/**
|
|
207
|
+
* An alternate protocol port used for health monitoring a backend member.
|
|
208
|
+
* Available only for Octavia
|
|
209
|
+
*/
|
|
210
|
+
monitorPort?: pulumi.Input<number>;
|
|
166
211
|
/**
|
|
167
212
|
* Human-readable name for the member.
|
|
168
213
|
*/
|
package/loadbalancer/member.js
CHANGED
|
@@ -37,6 +37,9 @@ class Member extends pulumi.CustomResource {
|
|
|
37
37
|
const state = argsOrState;
|
|
38
38
|
resourceInputs["address"] = state ? state.address : undefined;
|
|
39
39
|
resourceInputs["adminStateUp"] = state ? state.adminStateUp : undefined;
|
|
40
|
+
resourceInputs["backup"] = state ? state.backup : undefined;
|
|
41
|
+
resourceInputs["monitorAddress"] = state ? state.monitorAddress : undefined;
|
|
42
|
+
resourceInputs["monitorPort"] = state ? state.monitorPort : undefined;
|
|
40
43
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
41
44
|
resourceInputs["poolId"] = state ? state.poolId : undefined;
|
|
42
45
|
resourceInputs["protocolPort"] = state ? state.protocolPort : undefined;
|
|
@@ -58,6 +61,9 @@ class Member extends pulumi.CustomResource {
|
|
|
58
61
|
}
|
|
59
62
|
resourceInputs["address"] = args ? args.address : undefined;
|
|
60
63
|
resourceInputs["adminStateUp"] = args ? args.adminStateUp : undefined;
|
|
64
|
+
resourceInputs["backup"] = args ? args.backup : undefined;
|
|
65
|
+
resourceInputs["monitorAddress"] = args ? args.monitorAddress : undefined;
|
|
66
|
+
resourceInputs["monitorPort"] = args ? args.monitorPort : undefined;
|
|
61
67
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
62
68
|
resourceInputs["poolId"] = args ? args.poolId : undefined;
|
|
63
69
|
resourceInputs["protocolPort"] = args ? args.protocolPort : undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"member.js","sourceRoot":"","sources":["../../loadbalancer/member.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAa,MA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EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;IA9ID;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmB,EAAE,IAAmC;QACjH,OAAO,IAAI,MAAM,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7D,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,MAAM,CAAC,YAAY,CAAC;IACvD,CAAC;;AA1BL,wBAgJC;AAlIG,gBAAgB;AACO,mBAAY,GAAG,sCAAsC,CAAC"}
|
|
@@ -22,6 +22,11 @@ export interface GetQuotaV2Args {
|
|
|
22
22
|
* The id of the project to retrieve the quota.
|
|
23
23
|
*/
|
|
24
24
|
projectId: string;
|
|
25
|
+
/**
|
|
26
|
+
* The region in which to obtain the V2 Network client.
|
|
27
|
+
* If omitted, the `region` argument of the provider is used.
|
|
28
|
+
*/
|
|
29
|
+
region?: string;
|
|
25
30
|
}
|
|
26
31
|
/**
|
|
27
32
|
* A collection of values returned by getQuotaV2.
|
|
@@ -83,4 +88,9 @@ export interface GetQuotaV2OutputArgs {
|
|
|
83
88
|
* The id of the project to retrieve the quota.
|
|
84
89
|
*/
|
|
85
90
|
projectId: pulumi.Input<string>;
|
|
91
|
+
/**
|
|
92
|
+
* The region in which to obtain the V2 Network client.
|
|
93
|
+
* If omitted, the `region` argument of the provider is used.
|
|
94
|
+
*/
|
|
95
|
+
region?: pulumi.Input<string>;
|
|
86
96
|
}
|
package/networking/getQuotaV2.js
CHANGED
|
@@ -26,6 +26,7 @@ function getQuotaV2(args, opts) {
|
|
|
26
26
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
27
27
|
return pulumi.runtime.invoke("openstack:networking/getQuotaV2:getQuotaV2", {
|
|
28
28
|
"projectId": args.projectId,
|
|
29
|
+
"region": args.region,
|
|
29
30
|
}, opts);
|
|
30
31
|
}
|
|
31
32
|
exports.getQuotaV2 = getQuotaV2;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getQuotaV2.js","sourceRoot":"","sources":["../../networking/getQuotaV2.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;GAaG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IACxE,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4CAA4C,EAAE;QACvE,WAAW,EAAE,IAAI,CAAC,SAAS;
|
|
1
|
+
{"version":3,"file":"getQuotaV2.js","sourceRoot":"","sources":["../../networking/getQuotaV2.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;GAaG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IACxE,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4CAA4C,EAAE;QACvE,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,gCAUC;AAqED,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC9D,CAAC;AAFD,4CAEC"}
|
|
@@ -51,6 +51,14 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
51
51
|
* securityGroupIds: [],
|
|
52
52
|
* });
|
|
53
53
|
* ```
|
|
54
|
+
*
|
|
55
|
+
* ## Import
|
|
56
|
+
*
|
|
57
|
+
* Port security group association can be imported using the `id` of the port, e.g.
|
|
58
|
+
*
|
|
59
|
+
* ```sh
|
|
60
|
+
* $ pulumi import openstack:networking/portSecGroupAssociate:PortSecGroupAssociate port_1 eae26a3e-1c33-4cc1-9c31-0cd729c438a1
|
|
61
|
+
* ```
|
|
54
62
|
*/
|
|
55
63
|
export declare class PortSecGroupAssociate extends pulumi.CustomResource {
|
|
56
64
|
/**
|
|
@@ -57,6 +57,14 @@ const utilities = require("../utilities");
|
|
|
57
57
|
* securityGroupIds: [],
|
|
58
58
|
* });
|
|
59
59
|
* ```
|
|
60
|
+
*
|
|
61
|
+
* ## Import
|
|
62
|
+
*
|
|
63
|
+
* Port security group association can be imported using the `id` of the port, e.g.
|
|
64
|
+
*
|
|
65
|
+
* ```sh
|
|
66
|
+
* $ pulumi import openstack:networking/portSecGroupAssociate:PortSecGroupAssociate port_1 eae26a3e-1c33-4cc1-9c31-0cd729c438a1
|
|
67
|
+
* ```
|
|
60
68
|
*/
|
|
61
69
|
class PortSecGroupAssociate extends pulumi.CustomResource {
|
|
62
70
|
constructor(name, argsOrState, opts) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"portSecGroupAssociate.js","sourceRoot":"","sources":["../../networking/portSecGroupAssociate.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"portSecGroupAssociate.js","sourceRoot":"","sources":["../../networking/portSecGroupAssociate.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4DG;AACH,MAAa,qBAAsB,SAAQ,MAAM,CAAC,cAAc;IAgE5D,YAAY,IAAY,EAAE,WAAoE,EAAE,IAAmC;QAC/H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAqD,CAAC;YACpE,cAAc,CAAC,qBAAqB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC,CAAC,SAAS,CAAC;YACtF,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,kBAAkB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;SACnF;aAAM;YACH,MAAM,IAAI,GAAG,WAAoD,CAAC;YAClE,IAAI,CAAC,CAAC,IAAI,I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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,qBAAqB,CAAC,YAAY,CAAC;IACtE,CAAC;;AA1BL,sDA2FC;AA7EG,gBAAgB;AACO,kCAAY,GAAG,kEAAkE,CAAC"}
|
|
@@ -133,6 +133,11 @@ export declare class Container extends pulumi.CustomResource {
|
|
|
133
133
|
* creates a new container.
|
|
134
134
|
*/
|
|
135
135
|
readonly region: pulumi.Output<string>;
|
|
136
|
+
/**
|
|
137
|
+
* The storage policy to be used for the container.
|
|
138
|
+
* Changing this creates a new container.
|
|
139
|
+
*/
|
|
140
|
+
readonly storagePolicy: pulumi.Output<string>;
|
|
136
141
|
/**
|
|
137
142
|
* Enable object versioning. The structure is described below.
|
|
138
143
|
*/
|
|
@@ -199,6 +204,11 @@ export interface ContainerState {
|
|
|
199
204
|
* creates a new container.
|
|
200
205
|
*/
|
|
201
206
|
region?: pulumi.Input<string>;
|
|
207
|
+
/**
|
|
208
|
+
* The storage policy to be used for the container.
|
|
209
|
+
* Changing this creates a new container.
|
|
210
|
+
*/
|
|
211
|
+
storagePolicy?: pulumi.Input<string>;
|
|
202
212
|
/**
|
|
203
213
|
* Enable object versioning. The structure is described below.
|
|
204
214
|
*/
|
|
@@ -257,6 +267,11 @@ export interface ContainerArgs {
|
|
|
257
267
|
* creates a new container.
|
|
258
268
|
*/
|
|
259
269
|
region?: pulumi.Input<string>;
|
|
270
|
+
/**
|
|
271
|
+
* The storage policy to be used for the container.
|
|
272
|
+
* Changing this creates a new container.
|
|
273
|
+
*/
|
|
274
|
+
storagePolicy?: pulumi.Input<string>;
|
|
260
275
|
/**
|
|
261
276
|
* Enable object versioning. The structure is described below.
|
|
262
277
|
*/
|
|
@@ -88,6 +88,7 @@ class Container extends pulumi.CustomResource {
|
|
|
88
88
|
resourceInputs["metadata"] = state ? state.metadata : undefined;
|
|
89
89
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
90
90
|
resourceInputs["region"] = state ? state.region : undefined;
|
|
91
|
+
resourceInputs["storagePolicy"] = state ? state.storagePolicy : undefined;
|
|
91
92
|
resourceInputs["versioning"] = state ? state.versioning : undefined;
|
|
92
93
|
}
|
|
93
94
|
else {
|
|
@@ -101,6 +102,7 @@ class Container extends pulumi.CustomResource {
|
|
|
101
102
|
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
|
102
103
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
103
104
|
resourceInputs["region"] = args ? args.region : undefined;
|
|
105
|
+
resourceInputs["storagePolicy"] = args ? args.storagePolicy : undefined;
|
|
104
106
|
resourceInputs["versioning"] = args ? args.versioning : undefined;
|
|
105
107
|
}
|
|
106
108
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"container.js","sourceRoot":"","sources":["../../objectstorage/container.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmEG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"container.js","sourceRoot":"","sources":["../../objectstorage/container.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmEG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IA6FhD,YAAY,IAAY,EAAE,WAA4C,EAAE,IAAmC;QACvG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,I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