@pulumi/openstack 4.2.0-alpha.1727221614 → 5.0.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/blockstorage/index.d.ts +0 -18
- package/blockstorage/index.js +1 -27
- package/blockstorage/index.js.map +1 -1
- package/compute/index.d.ts +0 -9
- package/compute/index.js +1 -16
- package/compute/index.js.map +1 -1
- package/compute/instance.d.ts +6 -6
- package/compute/serverGroup.d.ts +5 -5
- package/compute/serverGroup.js +2 -2
- package/containerinfra/cluster.d.ts +15 -0
- package/containerinfra/cluster.js +2 -0
- package/containerinfra/cluster.js.map +1 -1
- package/containerinfra/getCluster.d.ts +5 -0
- package/containerinfra/getCluster.js.map +1 -1
- package/dns/recordSet.d.ts +5 -2
- package/dns/recordSet.js +5 -2
- package/dns/recordSet.js.map +1 -1
- package/dns/zone.d.ts +1 -1
- package/dns/zone.js +1 -1
- package/firewall/index.d.ts +0 -12
- package/firewall/index.js +1 -19
- package/firewall/index.js.map +1 -1
- package/identity/getProjectIdsV3.d.ts +128 -0
- package/identity/getProjectIdsV3.js +74 -0
- package/identity/getProjectIdsV3.js.map +1 -0
- package/identity/index.d.ts +3 -0
- package/identity/index.js +4 -1
- package/identity/index.js.map +1 -1
- package/index.d.ts +3 -0
- package/index.js +6 -1
- package/index.js.map +1 -1
- package/keymanager/containerV1.d.ts +2 -16
- package/keymanager/containerV1.js +2 -16
- package/keymanager/containerV1.js.map +1 -1
- package/lbFlavorprofileV2.d.ts +133 -0
- package/lbFlavorprofileV2.js +104 -0
- package/lbFlavorprofileV2.js.map +1 -0
- package/loadbalancer/index.d.ts +0 -15
- package/loadbalancer/index.js +1 -26
- package/loadbalancer/index.js.map +1 -1
- package/loadbalancer/l7policyV2.d.ts +3 -3
- package/loadbalancer/l7ruleV2.d.ts +3 -3
- package/loadbalancer/listener.d.ts +337 -90
- package/loadbalancer/listener.js +61 -0
- package/loadbalancer/listener.js.map +1 -1
- package/loadbalancer/monitor.d.ts +42 -6
- package/loadbalancer/monitor.js +4 -0
- package/loadbalancer/monitor.js.map +1 -1
- package/loadbalancer/pool.d.ts +190 -61
- package/loadbalancer/pool.js +14 -0
- package/loadbalancer/pool.js.map +1 -1
- package/networking/network.d.ts +10 -7
- package/networking/network.js +10 -7
- package/networking/network.js.map +1 -1
- package/networking/secGroupRule.d.ts +21 -6
- package/networking/secGroupRule.js.map +1 -1
- package/objectstorage/accountV1.d.ts +163 -0
- package/objectstorage/accountV1.js +89 -0
- package/objectstorage/accountV1.js.map +1 -0
- package/objectstorage/index.d.ts +3 -0
- package/objectstorage/index.js +6 -1
- package/objectstorage/index.js.map +1 -1
- package/objectstorage/tempUrl.d.ts +42 -0
- package/objectstorage/tempUrl.js +5 -1
- package/objectstorage/tempUrl.js.map +1 -1
- package/package.json +2 -2
- package/types/input.d.ts +0 -84
- package/types/output.d.ts +0 -84
- package/blockstorage/getSnapshotV2.d.ts +0 -127
- package/blockstorage/getSnapshotV2.js +0 -62
- package/blockstorage/getSnapshotV2.js.map +0 -1
- package/blockstorage/getVolumeV2.d.ts +0 -138
- package/blockstorage/getVolumeV2.js +0 -62
- package/blockstorage/getVolumeV2.js.map +0 -1
- package/blockstorage/quoteSetV2.d.ts +0 -217
- package/blockstorage/quoteSetV2.js +0 -89
- package/blockstorage/quoteSetV2.js.map +0 -1
- package/blockstorage/volumeAttachV2.d.ts +0 -296
- package/blockstorage/volumeAttachV2.js +0 -145
- package/blockstorage/volumeAttachV2.js.map +0 -1
- package/blockstorage/volumeV1.d.ts +0 -234
- package/blockstorage/volumeV1.js +0 -97
- package/blockstorage/volumeV1.js.map +0 -1
- package/blockstorage/volumeV2.d.ts +0 -276
- package/blockstorage/volumeV2.js +0 -103
- package/blockstorage/volumeV2.js.map +0 -1
- package/compute/floatingIp.d.ts +0 -125
- package/compute/floatingIp.js +0 -86
- package/compute/floatingIp.js.map +0 -1
- package/compute/floatingIpAssociate.d.ts +0 -159
- package/compute/floatingIpAssociate.js +0 -126
- package/compute/floatingIpAssociate.js.map +0 -1
- package/compute/secGroup.d.ts +0 -172
- package/compute/secGroup.js +0 -120
- package/compute/secGroup.js.map +0 -1
- package/firewall/firewall.d.ts +0 -238
- package/firewall/firewall.js +0 -114
- package/firewall/firewall.js.map +0 -1
- package/firewall/getPolicy.d.ts +0 -118
- package/firewall/getPolicy.js +0 -58
- package/firewall/getPolicy.js.map +0 -1
- package/firewall/policy.d.ts +0 -216
- package/firewall/policy.js +0 -105
- package/firewall/policy.js.map +0 -1
- package/firewall/rule.d.ts +0 -291
- package/firewall/rule.js +0 -106
- package/firewall/rule.js.map +0 -1
- package/loadbalancer/loadBalancer.d.ts +0 -320
- package/loadbalancer/loadBalancer.js +0 -105
- package/loadbalancer/loadBalancer.js.map +0 -1
- package/loadbalancer/memberV1.d.ts +0 -162
- package/loadbalancer/memberV1.js +0 -94
- package/loadbalancer/memberV1.js.map +0 -1
- package/loadbalancer/monitorV1.d.ts +0 -242
- package/loadbalancer/monitorV1.js +0 -105
- package/loadbalancer/monitorV1.js.map +0 -1
- package/loadbalancer/poolV1.d.ts +0 -281
- package/loadbalancer/poolV1.js +0 -185
- package/loadbalancer/poolV1.js.map +0 -1
- package/loadbalancer/vip.d.ts +0 -292
- package/loadbalancer/vip.js +0 -113
- package/loadbalancer/vip.js.map +0 -1
|
@@ -1,234 +0,0 @@
|
|
|
1
|
-
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
import * as inputs from "../types/input";
|
|
3
|
-
import * as outputs from "../types/output";
|
|
4
|
-
/**
|
|
5
|
-
* Manages a V1 volume resource within OpenStack.
|
|
6
|
-
*
|
|
7
|
-
* ## Example Usage
|
|
8
|
-
*
|
|
9
|
-
* ```typescript
|
|
10
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
-
* import * as openstack from "@pulumi/openstack";
|
|
12
|
-
*
|
|
13
|
-
* const volume1 = new openstack.blockstorage.VolumeV1("volume_1", {
|
|
14
|
-
* region: "RegionOne",
|
|
15
|
-
* name: "tf-test-volume",
|
|
16
|
-
* description: "first test volume",
|
|
17
|
-
* size: 3,
|
|
18
|
-
* });
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* ## Import
|
|
22
|
-
*
|
|
23
|
-
* Volumes can be imported using the `id`, e.g.
|
|
24
|
-
*
|
|
25
|
-
* ```sh
|
|
26
|
-
* $ pulumi import openstack:blockstorage/volumeV1:VolumeV1 volume_1 ea257959-eeb1-4c10-8d33-26f0409a755d
|
|
27
|
-
* ```
|
|
28
|
-
*/
|
|
29
|
-
export declare class VolumeV1 extends pulumi.CustomResource {
|
|
30
|
-
/**
|
|
31
|
-
* Get an existing VolumeV1 resource's state with the given name, ID, and optional extra
|
|
32
|
-
* properties used to qualify the lookup.
|
|
33
|
-
*
|
|
34
|
-
* @param name The _unique_ name of the resulting resource.
|
|
35
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
36
|
-
* @param state Any extra arguments used during the lookup.
|
|
37
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
38
|
-
*/
|
|
39
|
-
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: VolumeV1State, opts?: pulumi.CustomResourceOptions): VolumeV1;
|
|
40
|
-
/**
|
|
41
|
-
* Returns true if the given object is an instance of VolumeV1. This is designed to work even
|
|
42
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
43
|
-
*/
|
|
44
|
-
static isInstance(obj: any): obj is VolumeV1;
|
|
45
|
-
/**
|
|
46
|
-
* If a volume is attached to an instance, this attribute will
|
|
47
|
-
* display the Attachment ID, Instance ID, and the Device as the Instance
|
|
48
|
-
* sees it.
|
|
49
|
-
*/
|
|
50
|
-
readonly attachments: pulumi.Output<outputs.blockstorage.VolumeV1Attachment[]>;
|
|
51
|
-
/**
|
|
52
|
-
* The availability zone for the volume.
|
|
53
|
-
* Changing this creates a new volume.
|
|
54
|
-
*/
|
|
55
|
-
readonly availabilityZone: pulumi.Output<string>;
|
|
56
|
-
/**
|
|
57
|
-
* A description of the volume. Changing this updates
|
|
58
|
-
* the volume's description.
|
|
59
|
-
*/
|
|
60
|
-
readonly description: pulumi.Output<string | undefined>;
|
|
61
|
-
/**
|
|
62
|
-
* The image ID from which to create the volume.
|
|
63
|
-
* Changing this creates a new volume.
|
|
64
|
-
*/
|
|
65
|
-
readonly imageId: pulumi.Output<string | undefined>;
|
|
66
|
-
/**
|
|
67
|
-
* Metadata key/value pairs to associate with the volume.
|
|
68
|
-
* Changing this updates the existing volume metadata.
|
|
69
|
-
*/
|
|
70
|
-
readonly metadata: pulumi.Output<{
|
|
71
|
-
[key: string]: string;
|
|
72
|
-
}>;
|
|
73
|
-
/**
|
|
74
|
-
* A unique name for the volume. Changing this updates the
|
|
75
|
-
* volume's name.
|
|
76
|
-
*/
|
|
77
|
-
readonly name: pulumi.Output<string>;
|
|
78
|
-
/**
|
|
79
|
-
* The region in which to create the volume. If
|
|
80
|
-
* omitted, the `region` argument of the provider is used. Changing this
|
|
81
|
-
* creates a new volume.
|
|
82
|
-
*/
|
|
83
|
-
readonly region: pulumi.Output<string>;
|
|
84
|
-
/**
|
|
85
|
-
* The size of the volume to create (in gigabytes). Changing
|
|
86
|
-
* this creates a new volume.
|
|
87
|
-
*/
|
|
88
|
-
readonly size: pulumi.Output<number>;
|
|
89
|
-
/**
|
|
90
|
-
* The snapshot ID from which to create the volume.
|
|
91
|
-
* Changing this creates a new volume.
|
|
92
|
-
*/
|
|
93
|
-
readonly snapshotId: pulumi.Output<string | undefined>;
|
|
94
|
-
/**
|
|
95
|
-
* The volume ID from which to create the volume.
|
|
96
|
-
* Changing this creates a new volume.
|
|
97
|
-
*/
|
|
98
|
-
readonly sourceVolId: pulumi.Output<string | undefined>;
|
|
99
|
-
/**
|
|
100
|
-
* The type of volume to create.
|
|
101
|
-
* Changing this creates a new volume.
|
|
102
|
-
*/
|
|
103
|
-
readonly volumeType: pulumi.Output<string>;
|
|
104
|
-
/**
|
|
105
|
-
* Create a VolumeV1 resource with the given unique name, arguments, and options.
|
|
106
|
-
*
|
|
107
|
-
* @param name The _unique_ name of the resource.
|
|
108
|
-
* @param args The arguments to use to populate this resource's properties.
|
|
109
|
-
* @param opts A bag of options that control this resource's behavior.
|
|
110
|
-
*/
|
|
111
|
-
constructor(name: string, args: VolumeV1Args, opts?: pulumi.CustomResourceOptions);
|
|
112
|
-
}
|
|
113
|
-
/**
|
|
114
|
-
* Input properties used for looking up and filtering VolumeV1 resources.
|
|
115
|
-
*/
|
|
116
|
-
export interface VolumeV1State {
|
|
117
|
-
/**
|
|
118
|
-
* If a volume is attached to an instance, this attribute will
|
|
119
|
-
* display the Attachment ID, Instance ID, and the Device as the Instance
|
|
120
|
-
* sees it.
|
|
121
|
-
*/
|
|
122
|
-
attachments?: pulumi.Input<pulumi.Input<inputs.blockstorage.VolumeV1Attachment>[]>;
|
|
123
|
-
/**
|
|
124
|
-
* The availability zone for the volume.
|
|
125
|
-
* Changing this creates a new volume.
|
|
126
|
-
*/
|
|
127
|
-
availabilityZone?: pulumi.Input<string>;
|
|
128
|
-
/**
|
|
129
|
-
* A description of the volume. Changing this updates
|
|
130
|
-
* the volume's description.
|
|
131
|
-
*/
|
|
132
|
-
description?: pulumi.Input<string>;
|
|
133
|
-
/**
|
|
134
|
-
* The image ID from which to create the volume.
|
|
135
|
-
* Changing this creates a new volume.
|
|
136
|
-
*/
|
|
137
|
-
imageId?: pulumi.Input<string>;
|
|
138
|
-
/**
|
|
139
|
-
* Metadata key/value pairs to associate with the volume.
|
|
140
|
-
* Changing this updates the existing volume metadata.
|
|
141
|
-
*/
|
|
142
|
-
metadata?: pulumi.Input<{
|
|
143
|
-
[key: string]: pulumi.Input<string>;
|
|
144
|
-
}>;
|
|
145
|
-
/**
|
|
146
|
-
* A unique name for the volume. Changing this updates the
|
|
147
|
-
* volume's name.
|
|
148
|
-
*/
|
|
149
|
-
name?: pulumi.Input<string>;
|
|
150
|
-
/**
|
|
151
|
-
* The region in which to create the volume. If
|
|
152
|
-
* omitted, the `region` argument of the provider is used. Changing this
|
|
153
|
-
* creates a new volume.
|
|
154
|
-
*/
|
|
155
|
-
region?: pulumi.Input<string>;
|
|
156
|
-
/**
|
|
157
|
-
* The size of the volume to create (in gigabytes). Changing
|
|
158
|
-
* this creates a new volume.
|
|
159
|
-
*/
|
|
160
|
-
size?: pulumi.Input<number>;
|
|
161
|
-
/**
|
|
162
|
-
* The snapshot ID from which to create the volume.
|
|
163
|
-
* Changing this creates a new volume.
|
|
164
|
-
*/
|
|
165
|
-
snapshotId?: pulumi.Input<string>;
|
|
166
|
-
/**
|
|
167
|
-
* The volume ID from which to create the volume.
|
|
168
|
-
* Changing this creates a new volume.
|
|
169
|
-
*/
|
|
170
|
-
sourceVolId?: pulumi.Input<string>;
|
|
171
|
-
/**
|
|
172
|
-
* The type of volume to create.
|
|
173
|
-
* Changing this creates a new volume.
|
|
174
|
-
*/
|
|
175
|
-
volumeType?: pulumi.Input<string>;
|
|
176
|
-
}
|
|
177
|
-
/**
|
|
178
|
-
* The set of arguments for constructing a VolumeV1 resource.
|
|
179
|
-
*/
|
|
180
|
-
export interface VolumeV1Args {
|
|
181
|
-
/**
|
|
182
|
-
* The availability zone for the volume.
|
|
183
|
-
* Changing this creates a new volume.
|
|
184
|
-
*/
|
|
185
|
-
availabilityZone?: pulumi.Input<string>;
|
|
186
|
-
/**
|
|
187
|
-
* A description of the volume. Changing this updates
|
|
188
|
-
* the volume's description.
|
|
189
|
-
*/
|
|
190
|
-
description?: pulumi.Input<string>;
|
|
191
|
-
/**
|
|
192
|
-
* The image ID from which to create the volume.
|
|
193
|
-
* Changing this creates a new volume.
|
|
194
|
-
*/
|
|
195
|
-
imageId?: pulumi.Input<string>;
|
|
196
|
-
/**
|
|
197
|
-
* Metadata key/value pairs to associate with the volume.
|
|
198
|
-
* Changing this updates the existing volume metadata.
|
|
199
|
-
*/
|
|
200
|
-
metadata?: pulumi.Input<{
|
|
201
|
-
[key: string]: pulumi.Input<string>;
|
|
202
|
-
}>;
|
|
203
|
-
/**
|
|
204
|
-
* A unique name for the volume. Changing this updates the
|
|
205
|
-
* volume's name.
|
|
206
|
-
*/
|
|
207
|
-
name?: pulumi.Input<string>;
|
|
208
|
-
/**
|
|
209
|
-
* The region in which to create the volume. If
|
|
210
|
-
* omitted, the `region` argument of the provider is used. Changing this
|
|
211
|
-
* creates a new volume.
|
|
212
|
-
*/
|
|
213
|
-
region?: pulumi.Input<string>;
|
|
214
|
-
/**
|
|
215
|
-
* The size of the volume to create (in gigabytes). Changing
|
|
216
|
-
* this creates a new volume.
|
|
217
|
-
*/
|
|
218
|
-
size: pulumi.Input<number>;
|
|
219
|
-
/**
|
|
220
|
-
* The snapshot ID from which to create the volume.
|
|
221
|
-
* Changing this creates a new volume.
|
|
222
|
-
*/
|
|
223
|
-
snapshotId?: pulumi.Input<string>;
|
|
224
|
-
/**
|
|
225
|
-
* The volume ID from which to create the volume.
|
|
226
|
-
* Changing this creates a new volume.
|
|
227
|
-
*/
|
|
228
|
-
sourceVolId?: pulumi.Input<string>;
|
|
229
|
-
/**
|
|
230
|
-
* The type of volume to create.
|
|
231
|
-
* Changing this creates a new volume.
|
|
232
|
-
*/
|
|
233
|
-
volumeType?: pulumi.Input<string>;
|
|
234
|
-
}
|
package/blockstorage/volumeV1.js
DELETED
|
@@ -1,97 +0,0 @@
|
|
|
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.VolumeV1 = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("../utilities");
|
|
8
|
-
/**
|
|
9
|
-
* Manages a V1 volume resource within OpenStack.
|
|
10
|
-
*
|
|
11
|
-
* ## Example Usage
|
|
12
|
-
*
|
|
13
|
-
* ```typescript
|
|
14
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
-
* import * as openstack from "@pulumi/openstack";
|
|
16
|
-
*
|
|
17
|
-
* const volume1 = new openstack.blockstorage.VolumeV1("volume_1", {
|
|
18
|
-
* region: "RegionOne",
|
|
19
|
-
* name: "tf-test-volume",
|
|
20
|
-
* description: "first test volume",
|
|
21
|
-
* size: 3,
|
|
22
|
-
* });
|
|
23
|
-
* ```
|
|
24
|
-
*
|
|
25
|
-
* ## Import
|
|
26
|
-
*
|
|
27
|
-
* Volumes can be imported using the `id`, e.g.
|
|
28
|
-
*
|
|
29
|
-
* ```sh
|
|
30
|
-
* $ pulumi import openstack:blockstorage/volumeV1:VolumeV1 volume_1 ea257959-eeb1-4c10-8d33-26f0409a755d
|
|
31
|
-
* ```
|
|
32
|
-
*/
|
|
33
|
-
class VolumeV1 extends pulumi.CustomResource {
|
|
34
|
-
/**
|
|
35
|
-
* Get an existing VolumeV1 resource's state with the given name, ID, and optional extra
|
|
36
|
-
* properties used to qualify the lookup.
|
|
37
|
-
*
|
|
38
|
-
* @param name The _unique_ name of the resulting resource.
|
|
39
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
40
|
-
* @param state Any extra arguments used during the lookup.
|
|
41
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
42
|
-
*/
|
|
43
|
-
static get(name, id, state, opts) {
|
|
44
|
-
return new VolumeV1(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
45
|
-
}
|
|
46
|
-
/**
|
|
47
|
-
* Returns true if the given object is an instance of VolumeV1. This is designed to work even
|
|
48
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
49
|
-
*/
|
|
50
|
-
static isInstance(obj) {
|
|
51
|
-
if (obj === undefined || obj === null) {
|
|
52
|
-
return false;
|
|
53
|
-
}
|
|
54
|
-
return obj['__pulumiType'] === VolumeV1.__pulumiType;
|
|
55
|
-
}
|
|
56
|
-
constructor(name, argsOrState, opts) {
|
|
57
|
-
let resourceInputs = {};
|
|
58
|
-
opts = opts || {};
|
|
59
|
-
if (opts.id) {
|
|
60
|
-
const state = argsOrState;
|
|
61
|
-
resourceInputs["attachments"] = state ? state.attachments : undefined;
|
|
62
|
-
resourceInputs["availabilityZone"] = state ? state.availabilityZone : undefined;
|
|
63
|
-
resourceInputs["description"] = state ? state.description : undefined;
|
|
64
|
-
resourceInputs["imageId"] = state ? state.imageId : undefined;
|
|
65
|
-
resourceInputs["metadata"] = state ? state.metadata : undefined;
|
|
66
|
-
resourceInputs["name"] = state ? state.name : undefined;
|
|
67
|
-
resourceInputs["region"] = state ? state.region : undefined;
|
|
68
|
-
resourceInputs["size"] = state ? state.size : undefined;
|
|
69
|
-
resourceInputs["snapshotId"] = state ? state.snapshotId : undefined;
|
|
70
|
-
resourceInputs["sourceVolId"] = state ? state.sourceVolId : undefined;
|
|
71
|
-
resourceInputs["volumeType"] = state ? state.volumeType : undefined;
|
|
72
|
-
}
|
|
73
|
-
else {
|
|
74
|
-
const args = argsOrState;
|
|
75
|
-
if ((!args || args.size === undefined) && !opts.urn) {
|
|
76
|
-
throw new Error("Missing required property 'size'");
|
|
77
|
-
}
|
|
78
|
-
resourceInputs["availabilityZone"] = args ? args.availabilityZone : undefined;
|
|
79
|
-
resourceInputs["description"] = args ? args.description : undefined;
|
|
80
|
-
resourceInputs["imageId"] = args ? args.imageId : undefined;
|
|
81
|
-
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
|
82
|
-
resourceInputs["name"] = args ? args.name : undefined;
|
|
83
|
-
resourceInputs["region"] = args ? args.region : undefined;
|
|
84
|
-
resourceInputs["size"] = args ? args.size : undefined;
|
|
85
|
-
resourceInputs["snapshotId"] = args ? args.snapshotId : undefined;
|
|
86
|
-
resourceInputs["sourceVolId"] = args ? args.sourceVolId : undefined;
|
|
87
|
-
resourceInputs["volumeType"] = args ? args.volumeType : undefined;
|
|
88
|
-
resourceInputs["attachments"] = undefined /*out*/;
|
|
89
|
-
}
|
|
90
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
91
|
-
super(VolumeV1.__pulumiType, name, resourceInputs, opts);
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
exports.VolumeV1 = VolumeV1;
|
|
95
|
-
/** @internal */
|
|
96
|
-
VolumeV1.__pulumiType = 'openstack:blockstorage/volumeV1:VolumeV1';
|
|
97
|
-
//# sourceMappingURL=volumeV1.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"volumeV1.js","sourceRoot":"","sources":["../../blockstorage/volumeV1.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;QACnH,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/D,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,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;IAoED,YAAY,IAAY,EAAE,WAA0C,EAAE,IAAmC;QACrG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAwC,CAAC;YACvD,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,C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,OAAO,CAAC;SACrD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;;AAjIL,4BAkIC;AApHG,gBAAgB;AACO,qBAAY,GAAG,0CAA0C,CAAC"}
|
|
@@ -1,276 +0,0 @@
|
|
|
1
|
-
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
import * as inputs from "../types/input";
|
|
3
|
-
import * as outputs from "../types/output";
|
|
4
|
-
/**
|
|
5
|
-
* Manages a V2 volume resource within OpenStack.
|
|
6
|
-
*
|
|
7
|
-
* ## Example Usage
|
|
8
|
-
*
|
|
9
|
-
* ```typescript
|
|
10
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
-
* import * as openstack from "@pulumi/openstack";
|
|
12
|
-
*
|
|
13
|
-
* const volume1 = new openstack.blockstorage.VolumeV2("volume_1", {
|
|
14
|
-
* region: "RegionOne",
|
|
15
|
-
* name: "volume_1",
|
|
16
|
-
* description: "first test volume",
|
|
17
|
-
* size: 3,
|
|
18
|
-
* });
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* ## Import
|
|
22
|
-
*
|
|
23
|
-
* Volumes can be imported using the `id`, e.g.
|
|
24
|
-
*
|
|
25
|
-
* ```sh
|
|
26
|
-
* $ pulumi import openstack:blockstorage/volumeV2:VolumeV2 volume_1 ea257959-eeb1-4c10-8d33-26f0409a755d
|
|
27
|
-
* ```
|
|
28
|
-
*/
|
|
29
|
-
export declare class VolumeV2 extends pulumi.CustomResource {
|
|
30
|
-
/**
|
|
31
|
-
* Get an existing VolumeV2 resource's state with the given name, ID, and optional extra
|
|
32
|
-
* properties used to qualify the lookup.
|
|
33
|
-
*
|
|
34
|
-
* @param name The _unique_ name of the resulting resource.
|
|
35
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
36
|
-
* @param state Any extra arguments used during the lookup.
|
|
37
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
38
|
-
*/
|
|
39
|
-
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: VolumeV2State, opts?: pulumi.CustomResourceOptions): VolumeV2;
|
|
40
|
-
/**
|
|
41
|
-
* Returns true if the given object is an instance of VolumeV2. This is designed to work even
|
|
42
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
43
|
-
*/
|
|
44
|
-
static isInstance(obj: any): obj is VolumeV2;
|
|
45
|
-
/**
|
|
46
|
-
* If a volume is attached to an instance, this attribute will
|
|
47
|
-
* display the Attachment ID, Instance ID, and the Device as the Instance
|
|
48
|
-
* sees it.
|
|
49
|
-
*/
|
|
50
|
-
readonly attachments: pulumi.Output<outputs.blockstorage.VolumeV2Attachment[]>;
|
|
51
|
-
/**
|
|
52
|
-
* The availability zone for the volume.
|
|
53
|
-
* Changing this creates a new volume.
|
|
54
|
-
*/
|
|
55
|
-
readonly availabilityZone: pulumi.Output<string>;
|
|
56
|
-
/**
|
|
57
|
-
* The consistency group to place the volume
|
|
58
|
-
* in.
|
|
59
|
-
*/
|
|
60
|
-
readonly consistencyGroupId: pulumi.Output<string | undefined>;
|
|
61
|
-
/**
|
|
62
|
-
* A description of the volume. Changing this updates
|
|
63
|
-
* the volume's description.
|
|
64
|
-
*/
|
|
65
|
-
readonly description: pulumi.Output<string | undefined>;
|
|
66
|
-
/**
|
|
67
|
-
* The image ID from which to create the volume.
|
|
68
|
-
* Changing this creates a new volume.
|
|
69
|
-
*/
|
|
70
|
-
readonly imageId: pulumi.Output<string | undefined>;
|
|
71
|
-
/**
|
|
72
|
-
* Metadata key/value pairs to associate with the volume.
|
|
73
|
-
* Changing this updates the existing volume metadata.
|
|
74
|
-
*/
|
|
75
|
-
readonly metadata: pulumi.Output<{
|
|
76
|
-
[key: string]: string;
|
|
77
|
-
}>;
|
|
78
|
-
/**
|
|
79
|
-
* A unique name for the volume. Changing this updates the
|
|
80
|
-
* volume's name.
|
|
81
|
-
*/
|
|
82
|
-
readonly name: pulumi.Output<string>;
|
|
83
|
-
/**
|
|
84
|
-
* The region in which to create the volume. If
|
|
85
|
-
* omitted, the `region` argument of the provider is used. Changing this
|
|
86
|
-
* creates a new volume.
|
|
87
|
-
*/
|
|
88
|
-
readonly region: pulumi.Output<string>;
|
|
89
|
-
/**
|
|
90
|
-
* Provide the Cinder scheduler with hints on where
|
|
91
|
-
* to instantiate a volume in the OpenStack cloud. The available hints are described below.
|
|
92
|
-
*/
|
|
93
|
-
readonly schedulerHints: pulumi.Output<outputs.blockstorage.VolumeV2SchedulerHint[] | undefined>;
|
|
94
|
-
/**
|
|
95
|
-
* The size of the volume to create (in gigabytes). Changing
|
|
96
|
-
* this creates a new volume.
|
|
97
|
-
*/
|
|
98
|
-
readonly size: pulumi.Output<number>;
|
|
99
|
-
/**
|
|
100
|
-
* The snapshot ID from which to create the volume.
|
|
101
|
-
* Changing this creates a new volume.
|
|
102
|
-
*/
|
|
103
|
-
readonly snapshotId: pulumi.Output<string | undefined>;
|
|
104
|
-
/**
|
|
105
|
-
* The volume ID to replicate with.
|
|
106
|
-
*/
|
|
107
|
-
readonly sourceReplica: pulumi.Output<string | undefined>;
|
|
108
|
-
/**
|
|
109
|
-
* The volume ID from which to create the volume.
|
|
110
|
-
* Changing this creates a new volume.
|
|
111
|
-
*/
|
|
112
|
-
readonly sourceVolId: pulumi.Output<string | undefined>;
|
|
113
|
-
/**
|
|
114
|
-
* The type of volume to create.
|
|
115
|
-
* Changing this creates a new volume.
|
|
116
|
-
*/
|
|
117
|
-
readonly volumeType: pulumi.Output<string>;
|
|
118
|
-
/**
|
|
119
|
-
* Create a VolumeV2 resource with the given unique name, arguments, and options.
|
|
120
|
-
*
|
|
121
|
-
* @param name The _unique_ name of the resource.
|
|
122
|
-
* @param args The arguments to use to populate this resource's properties.
|
|
123
|
-
* @param opts A bag of options that control this resource's behavior.
|
|
124
|
-
*/
|
|
125
|
-
constructor(name: string, args: VolumeV2Args, opts?: pulumi.CustomResourceOptions);
|
|
126
|
-
}
|
|
127
|
-
/**
|
|
128
|
-
* Input properties used for looking up and filtering VolumeV2 resources.
|
|
129
|
-
*/
|
|
130
|
-
export interface VolumeV2State {
|
|
131
|
-
/**
|
|
132
|
-
* If a volume is attached to an instance, this attribute will
|
|
133
|
-
* display the Attachment ID, Instance ID, and the Device as the Instance
|
|
134
|
-
* sees it.
|
|
135
|
-
*/
|
|
136
|
-
attachments?: pulumi.Input<pulumi.Input<inputs.blockstorage.VolumeV2Attachment>[]>;
|
|
137
|
-
/**
|
|
138
|
-
* The availability zone for the volume.
|
|
139
|
-
* Changing this creates a new volume.
|
|
140
|
-
*/
|
|
141
|
-
availabilityZone?: pulumi.Input<string>;
|
|
142
|
-
/**
|
|
143
|
-
* The consistency group to place the volume
|
|
144
|
-
* in.
|
|
145
|
-
*/
|
|
146
|
-
consistencyGroupId?: pulumi.Input<string>;
|
|
147
|
-
/**
|
|
148
|
-
* A description of the volume. Changing this updates
|
|
149
|
-
* the volume's description.
|
|
150
|
-
*/
|
|
151
|
-
description?: pulumi.Input<string>;
|
|
152
|
-
/**
|
|
153
|
-
* The image ID from which to create the volume.
|
|
154
|
-
* Changing this creates a new volume.
|
|
155
|
-
*/
|
|
156
|
-
imageId?: pulumi.Input<string>;
|
|
157
|
-
/**
|
|
158
|
-
* Metadata key/value pairs to associate with the volume.
|
|
159
|
-
* Changing this updates the existing volume metadata.
|
|
160
|
-
*/
|
|
161
|
-
metadata?: pulumi.Input<{
|
|
162
|
-
[key: string]: pulumi.Input<string>;
|
|
163
|
-
}>;
|
|
164
|
-
/**
|
|
165
|
-
* A unique name for the volume. Changing this updates the
|
|
166
|
-
* volume's name.
|
|
167
|
-
*/
|
|
168
|
-
name?: pulumi.Input<string>;
|
|
169
|
-
/**
|
|
170
|
-
* The region in which to create the volume. If
|
|
171
|
-
* omitted, the `region` argument of the provider is used. Changing this
|
|
172
|
-
* creates a new volume.
|
|
173
|
-
*/
|
|
174
|
-
region?: pulumi.Input<string>;
|
|
175
|
-
/**
|
|
176
|
-
* Provide the Cinder scheduler with hints on where
|
|
177
|
-
* to instantiate a volume in the OpenStack cloud. The available hints are described below.
|
|
178
|
-
*/
|
|
179
|
-
schedulerHints?: pulumi.Input<pulumi.Input<inputs.blockstorage.VolumeV2SchedulerHint>[]>;
|
|
180
|
-
/**
|
|
181
|
-
* The size of the volume to create (in gigabytes). Changing
|
|
182
|
-
* this creates a new volume.
|
|
183
|
-
*/
|
|
184
|
-
size?: pulumi.Input<number>;
|
|
185
|
-
/**
|
|
186
|
-
* The snapshot ID from which to create the volume.
|
|
187
|
-
* Changing this creates a new volume.
|
|
188
|
-
*/
|
|
189
|
-
snapshotId?: pulumi.Input<string>;
|
|
190
|
-
/**
|
|
191
|
-
* The volume ID to replicate with.
|
|
192
|
-
*/
|
|
193
|
-
sourceReplica?: pulumi.Input<string>;
|
|
194
|
-
/**
|
|
195
|
-
* The volume ID from which to create the volume.
|
|
196
|
-
* Changing this creates a new volume.
|
|
197
|
-
*/
|
|
198
|
-
sourceVolId?: pulumi.Input<string>;
|
|
199
|
-
/**
|
|
200
|
-
* The type of volume to create.
|
|
201
|
-
* Changing this creates a new volume.
|
|
202
|
-
*/
|
|
203
|
-
volumeType?: pulumi.Input<string>;
|
|
204
|
-
}
|
|
205
|
-
/**
|
|
206
|
-
* The set of arguments for constructing a VolumeV2 resource.
|
|
207
|
-
*/
|
|
208
|
-
export interface VolumeV2Args {
|
|
209
|
-
/**
|
|
210
|
-
* The availability zone for the volume.
|
|
211
|
-
* Changing this creates a new volume.
|
|
212
|
-
*/
|
|
213
|
-
availabilityZone?: pulumi.Input<string>;
|
|
214
|
-
/**
|
|
215
|
-
* The consistency group to place the volume
|
|
216
|
-
* in.
|
|
217
|
-
*/
|
|
218
|
-
consistencyGroupId?: pulumi.Input<string>;
|
|
219
|
-
/**
|
|
220
|
-
* A description of the volume. Changing this updates
|
|
221
|
-
* the volume's description.
|
|
222
|
-
*/
|
|
223
|
-
description?: pulumi.Input<string>;
|
|
224
|
-
/**
|
|
225
|
-
* The image ID from which to create the volume.
|
|
226
|
-
* Changing this creates a new volume.
|
|
227
|
-
*/
|
|
228
|
-
imageId?: pulumi.Input<string>;
|
|
229
|
-
/**
|
|
230
|
-
* Metadata key/value pairs to associate with the volume.
|
|
231
|
-
* Changing this updates the existing volume metadata.
|
|
232
|
-
*/
|
|
233
|
-
metadata?: pulumi.Input<{
|
|
234
|
-
[key: string]: pulumi.Input<string>;
|
|
235
|
-
}>;
|
|
236
|
-
/**
|
|
237
|
-
* A unique name for the volume. Changing this updates the
|
|
238
|
-
* volume's name.
|
|
239
|
-
*/
|
|
240
|
-
name?: pulumi.Input<string>;
|
|
241
|
-
/**
|
|
242
|
-
* The region in which to create the volume. If
|
|
243
|
-
* omitted, the `region` argument of the provider is used. Changing this
|
|
244
|
-
* creates a new volume.
|
|
245
|
-
*/
|
|
246
|
-
region?: pulumi.Input<string>;
|
|
247
|
-
/**
|
|
248
|
-
* Provide the Cinder scheduler with hints on where
|
|
249
|
-
* to instantiate a volume in the OpenStack cloud. The available hints are described below.
|
|
250
|
-
*/
|
|
251
|
-
schedulerHints?: pulumi.Input<pulumi.Input<inputs.blockstorage.VolumeV2SchedulerHint>[]>;
|
|
252
|
-
/**
|
|
253
|
-
* The size of the volume to create (in gigabytes). Changing
|
|
254
|
-
* this creates a new volume.
|
|
255
|
-
*/
|
|
256
|
-
size: pulumi.Input<number>;
|
|
257
|
-
/**
|
|
258
|
-
* The snapshot ID from which to create the volume.
|
|
259
|
-
* Changing this creates a new volume.
|
|
260
|
-
*/
|
|
261
|
-
snapshotId?: pulumi.Input<string>;
|
|
262
|
-
/**
|
|
263
|
-
* The volume ID to replicate with.
|
|
264
|
-
*/
|
|
265
|
-
sourceReplica?: pulumi.Input<string>;
|
|
266
|
-
/**
|
|
267
|
-
* The volume ID from which to create the volume.
|
|
268
|
-
* Changing this creates a new volume.
|
|
269
|
-
*/
|
|
270
|
-
sourceVolId?: pulumi.Input<string>;
|
|
271
|
-
/**
|
|
272
|
-
* The type of volume to create.
|
|
273
|
-
* Changing this creates a new volume.
|
|
274
|
-
*/
|
|
275
|
-
volumeType?: pulumi.Input<string>;
|
|
276
|
-
}
|