@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,127 +0,0 @@
|
|
|
1
|
-
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
/**
|
|
3
|
-
* Use this data source to get information about an existing snapshot.
|
|
4
|
-
*
|
|
5
|
-
* ## Example Usage
|
|
6
|
-
*
|
|
7
|
-
* ```typescript
|
|
8
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
-
* import * as openstack from "@pulumi/openstack";
|
|
10
|
-
*
|
|
11
|
-
* const snapshot1 = openstack.blockstorage.getSnapshotV2({
|
|
12
|
-
* name: "snapshot_1",
|
|
13
|
-
* mostRecent: true,
|
|
14
|
-
* });
|
|
15
|
-
* ```
|
|
16
|
-
*/
|
|
17
|
-
export declare function getSnapshotV2(args?: GetSnapshotV2Args, opts?: pulumi.InvokeOptions): Promise<GetSnapshotV2Result>;
|
|
18
|
-
/**
|
|
19
|
-
* A collection of arguments for invoking getSnapshotV2.
|
|
20
|
-
*/
|
|
21
|
-
export interface GetSnapshotV2Args {
|
|
22
|
-
/**
|
|
23
|
-
* Pick the most recently created snapshot if there
|
|
24
|
-
* are multiple results.
|
|
25
|
-
*/
|
|
26
|
-
mostRecent?: boolean;
|
|
27
|
-
/**
|
|
28
|
-
* The name of the snapshot.
|
|
29
|
-
*/
|
|
30
|
-
name?: string;
|
|
31
|
-
/**
|
|
32
|
-
* The region in which to obtain the V2 Block Storage
|
|
33
|
-
* client. If omitted, the `region` argument of the provider is used.
|
|
34
|
-
*/
|
|
35
|
-
region?: string;
|
|
36
|
-
/**
|
|
37
|
-
* The status of the snapshot.
|
|
38
|
-
*/
|
|
39
|
-
status?: string;
|
|
40
|
-
/**
|
|
41
|
-
* The ID of the snapshot's volume.
|
|
42
|
-
*/
|
|
43
|
-
volumeId?: string;
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* A collection of values returned by getSnapshotV2.
|
|
47
|
-
*/
|
|
48
|
-
export interface GetSnapshotV2Result {
|
|
49
|
-
/**
|
|
50
|
-
* The snapshot's description.
|
|
51
|
-
*/
|
|
52
|
-
readonly description: string;
|
|
53
|
-
/**
|
|
54
|
-
* The provider-assigned unique ID for this managed resource.
|
|
55
|
-
*/
|
|
56
|
-
readonly id: string;
|
|
57
|
-
/**
|
|
58
|
-
* The snapshot's metadata.
|
|
59
|
-
*/
|
|
60
|
-
readonly metadata: {
|
|
61
|
-
[key: string]: string;
|
|
62
|
-
};
|
|
63
|
-
readonly mostRecent?: boolean;
|
|
64
|
-
/**
|
|
65
|
-
* See Argument Reference above.
|
|
66
|
-
*/
|
|
67
|
-
readonly name: string;
|
|
68
|
-
/**
|
|
69
|
-
* See Argument Reference above.
|
|
70
|
-
*/
|
|
71
|
-
readonly region: string;
|
|
72
|
-
/**
|
|
73
|
-
* The size of the snapshot.
|
|
74
|
-
*/
|
|
75
|
-
readonly size: number;
|
|
76
|
-
/**
|
|
77
|
-
* See Argument Reference above.
|
|
78
|
-
*/
|
|
79
|
-
readonly status: string;
|
|
80
|
-
/**
|
|
81
|
-
* See Argument Reference above.
|
|
82
|
-
*/
|
|
83
|
-
readonly volumeId: string;
|
|
84
|
-
}
|
|
85
|
-
/**
|
|
86
|
-
* Use this data source to get information about an existing snapshot.
|
|
87
|
-
*
|
|
88
|
-
* ## Example Usage
|
|
89
|
-
*
|
|
90
|
-
* ```typescript
|
|
91
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
92
|
-
* import * as openstack from "@pulumi/openstack";
|
|
93
|
-
*
|
|
94
|
-
* const snapshot1 = openstack.blockstorage.getSnapshotV2({
|
|
95
|
-
* name: "snapshot_1",
|
|
96
|
-
* mostRecent: true,
|
|
97
|
-
* });
|
|
98
|
-
* ```
|
|
99
|
-
*/
|
|
100
|
-
export declare function getSnapshotV2Output(args?: GetSnapshotV2OutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetSnapshotV2Result>;
|
|
101
|
-
/**
|
|
102
|
-
* A collection of arguments for invoking getSnapshotV2.
|
|
103
|
-
*/
|
|
104
|
-
export interface GetSnapshotV2OutputArgs {
|
|
105
|
-
/**
|
|
106
|
-
* Pick the most recently created snapshot if there
|
|
107
|
-
* are multiple results.
|
|
108
|
-
*/
|
|
109
|
-
mostRecent?: pulumi.Input<boolean>;
|
|
110
|
-
/**
|
|
111
|
-
* The name of the snapshot.
|
|
112
|
-
*/
|
|
113
|
-
name?: pulumi.Input<string>;
|
|
114
|
-
/**
|
|
115
|
-
* The region in which to obtain the V2 Block Storage
|
|
116
|
-
* client. If omitted, the `region` argument of the provider is used.
|
|
117
|
-
*/
|
|
118
|
-
region?: pulumi.Input<string>;
|
|
119
|
-
/**
|
|
120
|
-
* The status of the snapshot.
|
|
121
|
-
*/
|
|
122
|
-
status?: pulumi.Input<string>;
|
|
123
|
-
/**
|
|
124
|
-
* The ID of the snapshot's volume.
|
|
125
|
-
*/
|
|
126
|
-
volumeId?: pulumi.Input<string>;
|
|
127
|
-
}
|
|
@@ -1,62 +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.getSnapshotV2Output = exports.getSnapshotV2 = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("../utilities");
|
|
8
|
-
/**
|
|
9
|
-
* Use this data source to get information about an existing snapshot.
|
|
10
|
-
*
|
|
11
|
-
* ## Example Usage
|
|
12
|
-
*
|
|
13
|
-
* ```typescript
|
|
14
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
-
* import * as openstack from "@pulumi/openstack";
|
|
16
|
-
*
|
|
17
|
-
* const snapshot1 = openstack.blockstorage.getSnapshotV2({
|
|
18
|
-
* name: "snapshot_1",
|
|
19
|
-
* mostRecent: true,
|
|
20
|
-
* });
|
|
21
|
-
* ```
|
|
22
|
-
*/
|
|
23
|
-
function getSnapshotV2(args, opts) {
|
|
24
|
-
args = args || {};
|
|
25
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
26
|
-
return pulumi.runtime.invoke("openstack:blockstorage/getSnapshotV2:getSnapshotV2", {
|
|
27
|
-
"mostRecent": args.mostRecent,
|
|
28
|
-
"name": args.name,
|
|
29
|
-
"region": args.region,
|
|
30
|
-
"status": args.status,
|
|
31
|
-
"volumeId": args.volumeId,
|
|
32
|
-
}, opts);
|
|
33
|
-
}
|
|
34
|
-
exports.getSnapshotV2 = getSnapshotV2;
|
|
35
|
-
/**
|
|
36
|
-
* Use this data source to get information about an existing snapshot.
|
|
37
|
-
*
|
|
38
|
-
* ## Example Usage
|
|
39
|
-
*
|
|
40
|
-
* ```typescript
|
|
41
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
42
|
-
* import * as openstack from "@pulumi/openstack";
|
|
43
|
-
*
|
|
44
|
-
* const snapshot1 = openstack.blockstorage.getSnapshotV2({
|
|
45
|
-
* name: "snapshot_1",
|
|
46
|
-
* mostRecent: true,
|
|
47
|
-
* });
|
|
48
|
-
* ```
|
|
49
|
-
*/
|
|
50
|
-
function getSnapshotV2Output(args, opts) {
|
|
51
|
-
args = args || {};
|
|
52
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
53
|
-
return pulumi.runtime.invokeOutput("openstack:blockstorage/getSnapshotV2:getSnapshotV2", {
|
|
54
|
-
"mostRecent": args.mostRecent,
|
|
55
|
-
"name": args.name,
|
|
56
|
-
"region": args.region,
|
|
57
|
-
"status": args.status,
|
|
58
|
-
"volumeId": args.volumeId,
|
|
59
|
-
}, opts);
|
|
60
|
-
}
|
|
61
|
-
exports.getSnapshotV2Output = getSnapshotV2Output;
|
|
62
|
-
//# sourceMappingURL=getSnapshotV2.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getSnapshotV2.js","sourceRoot":"","sources":["../../blockstorage/getSnapshotV2.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;GAcG;AACH,SAAgB,aAAa,CAAC,IAAwB,EAAE,IAA2B;IAC/E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oDAAoD,EAAE;QAC/E,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,sCAUC;AAoED;;;;;;;;;;;;;;GAcG;AACH,SAAgB,mBAAmB,CAAC,IAA8B,EAAE,IAA2B;IAC3F,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,oDAAoD,EAAE;QACrF,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,kDAUC"}
|
|
@@ -1,138 +0,0 @@
|
|
|
1
|
-
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
/**
|
|
3
|
-
* Use this data source to get information about an existing volume.
|
|
4
|
-
*
|
|
5
|
-
* ## Example Usage
|
|
6
|
-
*
|
|
7
|
-
* ```typescript
|
|
8
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
-
* import * as openstack from "@pulumi/openstack";
|
|
10
|
-
*
|
|
11
|
-
* const volume1 = openstack.blockstorage.getVolumeV2({
|
|
12
|
-
* name: "volume_1",
|
|
13
|
-
* });
|
|
14
|
-
* ```
|
|
15
|
-
*/
|
|
16
|
-
export declare function getVolumeV2(args?: GetVolumeV2Args, opts?: pulumi.InvokeOptions): Promise<GetVolumeV2Result>;
|
|
17
|
-
/**
|
|
18
|
-
* A collection of arguments for invoking getVolumeV2.
|
|
19
|
-
*/
|
|
20
|
-
export interface GetVolumeV2Args {
|
|
21
|
-
/**
|
|
22
|
-
* Indicates if the volume is bootable.
|
|
23
|
-
*/
|
|
24
|
-
bootable?: string;
|
|
25
|
-
/**
|
|
26
|
-
* Metadata key/value pairs associated with the volume.
|
|
27
|
-
*/
|
|
28
|
-
metadata?: {
|
|
29
|
-
[key: string]: string;
|
|
30
|
-
};
|
|
31
|
-
/**
|
|
32
|
-
* The name of the volume.
|
|
33
|
-
*/
|
|
34
|
-
name?: string;
|
|
35
|
-
/**
|
|
36
|
-
* The region in which to obtain the V2 Block Storage
|
|
37
|
-
* client. If omitted, the `region` argument of the provider is used.
|
|
38
|
-
*/
|
|
39
|
-
region?: string;
|
|
40
|
-
/**
|
|
41
|
-
* The status of the volume.
|
|
42
|
-
*/
|
|
43
|
-
status?: string;
|
|
44
|
-
/**
|
|
45
|
-
* The type of the volume.
|
|
46
|
-
*/
|
|
47
|
-
volumeType?: string;
|
|
48
|
-
}
|
|
49
|
-
/**
|
|
50
|
-
* A collection of values returned by getVolumeV2.
|
|
51
|
-
*/
|
|
52
|
-
export interface GetVolumeV2Result {
|
|
53
|
-
/**
|
|
54
|
-
* Indicates if the volume is bootable.
|
|
55
|
-
*/
|
|
56
|
-
readonly bootable: string;
|
|
57
|
-
/**
|
|
58
|
-
* The provider-assigned unique ID for this managed resource.
|
|
59
|
-
*/
|
|
60
|
-
readonly id: string;
|
|
61
|
-
/**
|
|
62
|
-
* See Argument Reference above.
|
|
63
|
-
*/
|
|
64
|
-
readonly metadata: {
|
|
65
|
-
[key: string]: string;
|
|
66
|
-
};
|
|
67
|
-
/**
|
|
68
|
-
* See Argument Reference above.
|
|
69
|
-
*/
|
|
70
|
-
readonly name: string;
|
|
71
|
-
/**
|
|
72
|
-
* See Argument Reference above.
|
|
73
|
-
*/
|
|
74
|
-
readonly region: string;
|
|
75
|
-
/**
|
|
76
|
-
* The size of the volume in GBs.
|
|
77
|
-
*/
|
|
78
|
-
readonly size: number;
|
|
79
|
-
/**
|
|
80
|
-
* The ID of the volume from which the current volume was created.
|
|
81
|
-
*/
|
|
82
|
-
readonly sourceVolumeId: string;
|
|
83
|
-
/**
|
|
84
|
-
* See Argument Reference above.
|
|
85
|
-
*/
|
|
86
|
-
readonly status: string;
|
|
87
|
-
/**
|
|
88
|
-
* The type of the volume.
|
|
89
|
-
*/
|
|
90
|
-
readonly volumeType: string;
|
|
91
|
-
}
|
|
92
|
-
/**
|
|
93
|
-
* Use this data source to get information about an existing volume.
|
|
94
|
-
*
|
|
95
|
-
* ## Example Usage
|
|
96
|
-
*
|
|
97
|
-
* ```typescript
|
|
98
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
99
|
-
* import * as openstack from "@pulumi/openstack";
|
|
100
|
-
*
|
|
101
|
-
* const volume1 = openstack.blockstorage.getVolumeV2({
|
|
102
|
-
* name: "volume_1",
|
|
103
|
-
* });
|
|
104
|
-
* ```
|
|
105
|
-
*/
|
|
106
|
-
export declare function getVolumeV2Output(args?: GetVolumeV2OutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetVolumeV2Result>;
|
|
107
|
-
/**
|
|
108
|
-
* A collection of arguments for invoking getVolumeV2.
|
|
109
|
-
*/
|
|
110
|
-
export interface GetVolumeV2OutputArgs {
|
|
111
|
-
/**
|
|
112
|
-
* Indicates if the volume is bootable.
|
|
113
|
-
*/
|
|
114
|
-
bootable?: pulumi.Input<string>;
|
|
115
|
-
/**
|
|
116
|
-
* Metadata key/value pairs associated with the volume.
|
|
117
|
-
*/
|
|
118
|
-
metadata?: pulumi.Input<{
|
|
119
|
-
[key: string]: pulumi.Input<string>;
|
|
120
|
-
}>;
|
|
121
|
-
/**
|
|
122
|
-
* The name of the volume.
|
|
123
|
-
*/
|
|
124
|
-
name?: pulumi.Input<string>;
|
|
125
|
-
/**
|
|
126
|
-
* The region in which to obtain the V2 Block Storage
|
|
127
|
-
* client. If omitted, the `region` argument of the provider is used.
|
|
128
|
-
*/
|
|
129
|
-
region?: pulumi.Input<string>;
|
|
130
|
-
/**
|
|
131
|
-
* The status of the volume.
|
|
132
|
-
*/
|
|
133
|
-
status?: pulumi.Input<string>;
|
|
134
|
-
/**
|
|
135
|
-
* The type of the volume.
|
|
136
|
-
*/
|
|
137
|
-
volumeType?: pulumi.Input<string>;
|
|
138
|
-
}
|
|
@@ -1,62 +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.getVolumeV2Output = exports.getVolumeV2 = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("../utilities");
|
|
8
|
-
/**
|
|
9
|
-
* Use this data source to get information about an existing volume.
|
|
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 = openstack.blockstorage.getVolumeV2({
|
|
18
|
-
* name: "volume_1",
|
|
19
|
-
* });
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
function getVolumeV2(args, opts) {
|
|
23
|
-
args = args || {};
|
|
24
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
25
|
-
return pulumi.runtime.invoke("openstack:blockstorage/getVolumeV2:getVolumeV2", {
|
|
26
|
-
"bootable": args.bootable,
|
|
27
|
-
"metadata": args.metadata,
|
|
28
|
-
"name": args.name,
|
|
29
|
-
"region": args.region,
|
|
30
|
-
"status": args.status,
|
|
31
|
-
"volumeType": args.volumeType,
|
|
32
|
-
}, opts);
|
|
33
|
-
}
|
|
34
|
-
exports.getVolumeV2 = getVolumeV2;
|
|
35
|
-
/**
|
|
36
|
-
* Use this data source to get information about an existing volume.
|
|
37
|
-
*
|
|
38
|
-
* ## Example Usage
|
|
39
|
-
*
|
|
40
|
-
* ```typescript
|
|
41
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
42
|
-
* import * as openstack from "@pulumi/openstack";
|
|
43
|
-
*
|
|
44
|
-
* const volume1 = openstack.blockstorage.getVolumeV2({
|
|
45
|
-
* name: "volume_1",
|
|
46
|
-
* });
|
|
47
|
-
* ```
|
|
48
|
-
*/
|
|
49
|
-
function getVolumeV2Output(args, opts) {
|
|
50
|
-
args = args || {};
|
|
51
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
52
|
-
return pulumi.runtime.invokeOutput("openstack:blockstorage/getVolumeV2:getVolumeV2", {
|
|
53
|
-
"bootable": args.bootable,
|
|
54
|
-
"metadata": args.metadata,
|
|
55
|
-
"name": args.name,
|
|
56
|
-
"region": args.region,
|
|
57
|
-
"status": args.status,
|
|
58
|
-
"volumeType": args.volumeType,
|
|
59
|
-
}, opts);
|
|
60
|
-
}
|
|
61
|
-
exports.getVolumeV2Output = getVolumeV2Output;
|
|
62
|
-
//# sourceMappingURL=getVolumeV2.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getVolumeV2.js","sourceRoot":"","sources":["../../blockstorage/getVolumeV2.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;GAaG;AACH,SAAgB,WAAW,CAAC,IAAsB,EAAE,IAA2B;IAC3E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gDAAgD,EAAE;QAC3E,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,kCAWC;AA0ED;;;;;;;;;;;;;GAaG;AACH,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAA2B;IACvF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,gDAAgD,EAAE;QACjF,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,8CAWC"}
|
|
@@ -1,217 +0,0 @@
|
|
|
1
|
-
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
/**
|
|
3
|
-
* Manages a V2 block storage quotaset resource within OpenStack.
|
|
4
|
-
*
|
|
5
|
-
* > **Note:** This usually requires admin privileges.
|
|
6
|
-
*
|
|
7
|
-
* > **Note:** This resource has a no-op deletion so no actual actions will be done against the OpenStack API
|
|
8
|
-
* in case of delete call.
|
|
9
|
-
*
|
|
10
|
-
* > **Note:** This resource has all-in creation so all optional quota arguments that were not specified are
|
|
11
|
-
* created with zero value. This excludes volume type quota.
|
|
12
|
-
*
|
|
13
|
-
* ## Import
|
|
14
|
-
*
|
|
15
|
-
* Quotasets can be imported using the `project_id/region`, e.g.
|
|
16
|
-
*
|
|
17
|
-
* ```sh
|
|
18
|
-
* $ pulumi import openstack:blockstorage/quoteSetV2:QuoteSetV2 quotaset_1 2a0f2240-c5e6-41de-896d-e80d97428d6b/region_1
|
|
19
|
-
* ```
|
|
20
|
-
*/
|
|
21
|
-
export declare class QuoteSetV2 extends pulumi.CustomResource {
|
|
22
|
-
/**
|
|
23
|
-
* Get an existing QuoteSetV2 resource's state with the given name, ID, and optional extra
|
|
24
|
-
* properties used to qualify the lookup.
|
|
25
|
-
*
|
|
26
|
-
* @param name The _unique_ name of the resulting resource.
|
|
27
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
28
|
-
* @param state Any extra arguments used during the lookup.
|
|
29
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
30
|
-
*/
|
|
31
|
-
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: QuoteSetV2State, opts?: pulumi.CustomResourceOptions): QuoteSetV2;
|
|
32
|
-
/**
|
|
33
|
-
* Returns true if the given object is an instance of QuoteSetV2. This is designed to work even
|
|
34
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
35
|
-
*/
|
|
36
|
-
static isInstance(obj: any): obj is QuoteSetV2;
|
|
37
|
-
/**
|
|
38
|
-
* Quota value for backup gigabytes. Changing
|
|
39
|
-
* this updates the existing quotaset.
|
|
40
|
-
*/
|
|
41
|
-
readonly backupGigabytes: pulumi.Output<number>;
|
|
42
|
-
/**
|
|
43
|
-
* Quota value for backups. Changing this updates the
|
|
44
|
-
* existing quotaset.
|
|
45
|
-
*/
|
|
46
|
-
readonly backups: pulumi.Output<number>;
|
|
47
|
-
/**
|
|
48
|
-
* Quota value for gigabytes. Changing this updates the
|
|
49
|
-
* existing quotaset.
|
|
50
|
-
*/
|
|
51
|
-
readonly gigabytes: pulumi.Output<number>;
|
|
52
|
-
/**
|
|
53
|
-
* Quota value for groups. Changing this updates the
|
|
54
|
-
* existing quotaset.
|
|
55
|
-
*/
|
|
56
|
-
readonly groups: pulumi.Output<number>;
|
|
57
|
-
/**
|
|
58
|
-
* Quota value for gigabytes per volume .
|
|
59
|
-
* Changing this updates the existing quotaset.
|
|
60
|
-
*/
|
|
61
|
-
readonly perVolumeGigabytes: pulumi.Output<number>;
|
|
62
|
-
/**
|
|
63
|
-
* ID of the project to manage quotas. Changing this
|
|
64
|
-
* creates a new quotaset.
|
|
65
|
-
*/
|
|
66
|
-
readonly projectId: pulumi.Output<string>;
|
|
67
|
-
/**
|
|
68
|
-
* The region in which to create the volume. If
|
|
69
|
-
* omitted, the `region` argument of the provider is used. Changing this
|
|
70
|
-
* creates a new quotaset.
|
|
71
|
-
*/
|
|
72
|
-
readonly region: pulumi.Output<string>;
|
|
73
|
-
/**
|
|
74
|
-
* Quota value for snapshots. Changing this updates the
|
|
75
|
-
* existing quotaset.
|
|
76
|
-
*/
|
|
77
|
-
readonly snapshots: pulumi.Output<number>;
|
|
78
|
-
/**
|
|
79
|
-
* Key/Value pairs for setting quota for
|
|
80
|
-
* volumes types. Possible keys are `snapshots_<volume_type_name>`,
|
|
81
|
-
* `volumes_<volume_type_name>` and `gigabytes_<volume_type_name>`.
|
|
82
|
-
*/
|
|
83
|
-
readonly volumeTypeQuota: pulumi.Output<{
|
|
84
|
-
[key: string]: string;
|
|
85
|
-
} | undefined>;
|
|
86
|
-
/**
|
|
87
|
-
* Quota value for volumes. Changing this updates the
|
|
88
|
-
* existing quotaset.
|
|
89
|
-
*/
|
|
90
|
-
readonly volumes: pulumi.Output<number>;
|
|
91
|
-
/**
|
|
92
|
-
* Create a QuoteSetV2 resource with the given unique name, arguments, and options.
|
|
93
|
-
*
|
|
94
|
-
* @param name The _unique_ name of the resource.
|
|
95
|
-
* @param args The arguments to use to populate this resource's properties.
|
|
96
|
-
* @param opts A bag of options that control this resource's behavior.
|
|
97
|
-
*/
|
|
98
|
-
constructor(name: string, args: QuoteSetV2Args, opts?: pulumi.CustomResourceOptions);
|
|
99
|
-
}
|
|
100
|
-
/**
|
|
101
|
-
* Input properties used for looking up and filtering QuoteSetV2 resources.
|
|
102
|
-
*/
|
|
103
|
-
export interface QuoteSetV2State {
|
|
104
|
-
/**
|
|
105
|
-
* Quota value for backup gigabytes. Changing
|
|
106
|
-
* this updates the existing quotaset.
|
|
107
|
-
*/
|
|
108
|
-
backupGigabytes?: pulumi.Input<number>;
|
|
109
|
-
/**
|
|
110
|
-
* Quota value for backups. Changing this updates the
|
|
111
|
-
* existing quotaset.
|
|
112
|
-
*/
|
|
113
|
-
backups?: pulumi.Input<number>;
|
|
114
|
-
/**
|
|
115
|
-
* Quota value for gigabytes. Changing this updates the
|
|
116
|
-
* existing quotaset.
|
|
117
|
-
*/
|
|
118
|
-
gigabytes?: pulumi.Input<number>;
|
|
119
|
-
/**
|
|
120
|
-
* Quota value for groups. Changing this updates the
|
|
121
|
-
* existing quotaset.
|
|
122
|
-
*/
|
|
123
|
-
groups?: pulumi.Input<number>;
|
|
124
|
-
/**
|
|
125
|
-
* Quota value for gigabytes per volume .
|
|
126
|
-
* Changing this updates the existing quotaset.
|
|
127
|
-
*/
|
|
128
|
-
perVolumeGigabytes?: pulumi.Input<number>;
|
|
129
|
-
/**
|
|
130
|
-
* ID of the project to manage quotas. Changing this
|
|
131
|
-
* creates a new quotaset.
|
|
132
|
-
*/
|
|
133
|
-
projectId?: pulumi.Input<string>;
|
|
134
|
-
/**
|
|
135
|
-
* The region in which to create the volume. If
|
|
136
|
-
* omitted, the `region` argument of the provider is used. Changing this
|
|
137
|
-
* creates a new quotaset.
|
|
138
|
-
*/
|
|
139
|
-
region?: pulumi.Input<string>;
|
|
140
|
-
/**
|
|
141
|
-
* Quota value for snapshots. Changing this updates the
|
|
142
|
-
* existing quotaset.
|
|
143
|
-
*/
|
|
144
|
-
snapshots?: pulumi.Input<number>;
|
|
145
|
-
/**
|
|
146
|
-
* Key/Value pairs for setting quota for
|
|
147
|
-
* volumes types. Possible keys are `snapshots_<volume_type_name>`,
|
|
148
|
-
* `volumes_<volume_type_name>` and `gigabytes_<volume_type_name>`.
|
|
149
|
-
*/
|
|
150
|
-
volumeTypeQuota?: pulumi.Input<{
|
|
151
|
-
[key: string]: pulumi.Input<string>;
|
|
152
|
-
}>;
|
|
153
|
-
/**
|
|
154
|
-
* Quota value for volumes. Changing this updates the
|
|
155
|
-
* existing quotaset.
|
|
156
|
-
*/
|
|
157
|
-
volumes?: pulumi.Input<number>;
|
|
158
|
-
}
|
|
159
|
-
/**
|
|
160
|
-
* The set of arguments for constructing a QuoteSetV2 resource.
|
|
161
|
-
*/
|
|
162
|
-
export interface QuoteSetV2Args {
|
|
163
|
-
/**
|
|
164
|
-
* Quota value for backup gigabytes. Changing
|
|
165
|
-
* this updates the existing quotaset.
|
|
166
|
-
*/
|
|
167
|
-
backupGigabytes?: pulumi.Input<number>;
|
|
168
|
-
/**
|
|
169
|
-
* Quota value for backups. Changing this updates the
|
|
170
|
-
* existing quotaset.
|
|
171
|
-
*/
|
|
172
|
-
backups?: pulumi.Input<number>;
|
|
173
|
-
/**
|
|
174
|
-
* Quota value for gigabytes. Changing this updates the
|
|
175
|
-
* existing quotaset.
|
|
176
|
-
*/
|
|
177
|
-
gigabytes?: pulumi.Input<number>;
|
|
178
|
-
/**
|
|
179
|
-
* Quota value for groups. Changing this updates the
|
|
180
|
-
* existing quotaset.
|
|
181
|
-
*/
|
|
182
|
-
groups?: pulumi.Input<number>;
|
|
183
|
-
/**
|
|
184
|
-
* Quota value for gigabytes per volume .
|
|
185
|
-
* Changing this updates the existing quotaset.
|
|
186
|
-
*/
|
|
187
|
-
perVolumeGigabytes?: pulumi.Input<number>;
|
|
188
|
-
/**
|
|
189
|
-
* ID of the project to manage quotas. Changing this
|
|
190
|
-
* creates a new quotaset.
|
|
191
|
-
*/
|
|
192
|
-
projectId: pulumi.Input<string>;
|
|
193
|
-
/**
|
|
194
|
-
* The region in which to create the volume. If
|
|
195
|
-
* omitted, the `region` argument of the provider is used. Changing this
|
|
196
|
-
* creates a new quotaset.
|
|
197
|
-
*/
|
|
198
|
-
region?: pulumi.Input<string>;
|
|
199
|
-
/**
|
|
200
|
-
* Quota value for snapshots. Changing this updates the
|
|
201
|
-
* existing quotaset.
|
|
202
|
-
*/
|
|
203
|
-
snapshots?: pulumi.Input<number>;
|
|
204
|
-
/**
|
|
205
|
-
* Key/Value pairs for setting quota for
|
|
206
|
-
* volumes types. Possible keys are `snapshots_<volume_type_name>`,
|
|
207
|
-
* `volumes_<volume_type_name>` and `gigabytes_<volume_type_name>`.
|
|
208
|
-
*/
|
|
209
|
-
volumeTypeQuota?: pulumi.Input<{
|
|
210
|
-
[key: string]: pulumi.Input<string>;
|
|
211
|
-
}>;
|
|
212
|
-
/**
|
|
213
|
-
* Quota value for volumes. Changing this updates the
|
|
214
|
-
* existing quotaset.
|
|
215
|
-
*/
|
|
216
|
-
volumes?: pulumi.Input<number>;
|
|
217
|
-
}
|