@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
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Manages a V1 account resource within OpenStack.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as openstack from "@pulumi/openstack";
|
|
10
|
+
*
|
|
11
|
+
* const account1 = new openstack.objectstorage.AccountV1("account_1", {
|
|
12
|
+
* region: "RegionOne",
|
|
13
|
+
* metadata: {
|
|
14
|
+
* "Temp-Url-Key": "testkey",
|
|
15
|
+
* test: "true",
|
|
16
|
+
* },
|
|
17
|
+
* });
|
|
18
|
+
* ```
|
|
19
|
+
*
|
|
20
|
+
* ## Import
|
|
21
|
+
*
|
|
22
|
+
* This resource can be imported by specifying the project ID of the account:
|
|
23
|
+
*
|
|
24
|
+
* ```sh
|
|
25
|
+
* $ pulumi import openstack:objectstorage/accountV1:AccountV1 account_1 1202b3d0aaa44cfc8b79475c007b0711
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
export declare class AccountV1 extends pulumi.CustomResource {
|
|
29
|
+
/**
|
|
30
|
+
* Get an existing AccountV1 resource's state with the given name, ID, and optional extra
|
|
31
|
+
* properties used to qualify the lookup.
|
|
32
|
+
*
|
|
33
|
+
* @param name The _unique_ name of the resulting resource.
|
|
34
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
35
|
+
* @param state Any extra arguments used during the lookup.
|
|
36
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
37
|
+
*/
|
|
38
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AccountV1State, opts?: pulumi.CustomResourceOptions): AccountV1;
|
|
39
|
+
/**
|
|
40
|
+
* Returns true if the given object is an instance of AccountV1. This is designed to work even
|
|
41
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
42
|
+
*/
|
|
43
|
+
static isInstance(obj: any): obj is AccountV1;
|
|
44
|
+
/**
|
|
45
|
+
* The number of bytes used by the account.
|
|
46
|
+
*/
|
|
47
|
+
readonly bytesUsed: pulumi.Output<number>;
|
|
48
|
+
/**
|
|
49
|
+
* The number of containers in the account.
|
|
50
|
+
*/
|
|
51
|
+
readonly containerCount: pulumi.Output<number>;
|
|
52
|
+
/**
|
|
53
|
+
* A map of headers returned for the account.
|
|
54
|
+
*/
|
|
55
|
+
readonly headers: pulumi.Output<{
|
|
56
|
+
[key: string]: string;
|
|
57
|
+
}>;
|
|
58
|
+
/**
|
|
59
|
+
* A map of custom key/value pairs to associate with the
|
|
60
|
+
* account metadata. Changing the `Quota-Bytes` key value is allowed to be
|
|
61
|
+
* updated only by the cloud administrator.
|
|
62
|
+
*/
|
|
63
|
+
readonly metadata: pulumi.Output<{
|
|
64
|
+
[key: string]: string;
|
|
65
|
+
} | undefined>;
|
|
66
|
+
/**
|
|
67
|
+
* The number of objects in the account.
|
|
68
|
+
*/
|
|
69
|
+
readonly objectCount: pulumi.Output<number>;
|
|
70
|
+
/**
|
|
71
|
+
* The project ID of the corresponding account. If
|
|
72
|
+
* omitted, the token's project ID is used. Changing this creates a new account.
|
|
73
|
+
*/
|
|
74
|
+
readonly projectId: pulumi.Output<string>;
|
|
75
|
+
/**
|
|
76
|
+
* The number of bytes allowed for the account.
|
|
77
|
+
*/
|
|
78
|
+
readonly quotaBytes: pulumi.Output<number>;
|
|
79
|
+
/**
|
|
80
|
+
* The region in which to create the account. If omitted,
|
|
81
|
+
* the `region` argument of the provider is used. Changing this creates a new
|
|
82
|
+
* account.
|
|
83
|
+
*/
|
|
84
|
+
readonly region: pulumi.Output<string>;
|
|
85
|
+
/**
|
|
86
|
+
* Create a AccountV1 resource with the given unique name, arguments, and options.
|
|
87
|
+
*
|
|
88
|
+
* @param name The _unique_ name of the resource.
|
|
89
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
90
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
91
|
+
*/
|
|
92
|
+
constructor(name: string, args?: AccountV1Args, opts?: pulumi.CustomResourceOptions);
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* Input properties used for looking up and filtering AccountV1 resources.
|
|
96
|
+
*/
|
|
97
|
+
export interface AccountV1State {
|
|
98
|
+
/**
|
|
99
|
+
* The number of bytes used by the account.
|
|
100
|
+
*/
|
|
101
|
+
bytesUsed?: pulumi.Input<number>;
|
|
102
|
+
/**
|
|
103
|
+
* The number of containers in the account.
|
|
104
|
+
*/
|
|
105
|
+
containerCount?: pulumi.Input<number>;
|
|
106
|
+
/**
|
|
107
|
+
* A map of headers returned for the account.
|
|
108
|
+
*/
|
|
109
|
+
headers?: pulumi.Input<{
|
|
110
|
+
[key: string]: pulumi.Input<string>;
|
|
111
|
+
}>;
|
|
112
|
+
/**
|
|
113
|
+
* A map of custom key/value pairs to associate with the
|
|
114
|
+
* account metadata. Changing the `Quota-Bytes` key value is allowed to be
|
|
115
|
+
* updated only by the cloud administrator.
|
|
116
|
+
*/
|
|
117
|
+
metadata?: pulumi.Input<{
|
|
118
|
+
[key: string]: pulumi.Input<string>;
|
|
119
|
+
}>;
|
|
120
|
+
/**
|
|
121
|
+
* The number of objects in the account.
|
|
122
|
+
*/
|
|
123
|
+
objectCount?: pulumi.Input<number>;
|
|
124
|
+
/**
|
|
125
|
+
* The project ID of the corresponding account. If
|
|
126
|
+
* omitted, the token's project ID is used. Changing this creates a new account.
|
|
127
|
+
*/
|
|
128
|
+
projectId?: pulumi.Input<string>;
|
|
129
|
+
/**
|
|
130
|
+
* The number of bytes allowed for the account.
|
|
131
|
+
*/
|
|
132
|
+
quotaBytes?: pulumi.Input<number>;
|
|
133
|
+
/**
|
|
134
|
+
* The region in which to create the account. If omitted,
|
|
135
|
+
* the `region` argument of the provider is used. Changing this creates a new
|
|
136
|
+
* account.
|
|
137
|
+
*/
|
|
138
|
+
region?: pulumi.Input<string>;
|
|
139
|
+
}
|
|
140
|
+
/**
|
|
141
|
+
* The set of arguments for constructing a AccountV1 resource.
|
|
142
|
+
*/
|
|
143
|
+
export interface AccountV1Args {
|
|
144
|
+
/**
|
|
145
|
+
* A map of custom key/value pairs to associate with the
|
|
146
|
+
* account metadata. Changing the `Quota-Bytes` key value is allowed to be
|
|
147
|
+
* updated only by the cloud administrator.
|
|
148
|
+
*/
|
|
149
|
+
metadata?: pulumi.Input<{
|
|
150
|
+
[key: string]: pulumi.Input<string>;
|
|
151
|
+
}>;
|
|
152
|
+
/**
|
|
153
|
+
* The project ID of the corresponding account. If
|
|
154
|
+
* omitted, the token's project ID is used. Changing this creates a new account.
|
|
155
|
+
*/
|
|
156
|
+
projectId?: pulumi.Input<string>;
|
|
157
|
+
/**
|
|
158
|
+
* The region in which to create the account. If omitted,
|
|
159
|
+
* the `region` argument of the provider is used. Changing this creates a new
|
|
160
|
+
* account.
|
|
161
|
+
*/
|
|
162
|
+
region?: pulumi.Input<string>;
|
|
163
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
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.AccountV1 = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Manages a V1 account 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 account1 = new openstack.objectstorage.AccountV1("account_1", {
|
|
18
|
+
* region: "RegionOne",
|
|
19
|
+
* metadata: {
|
|
20
|
+
* "Temp-Url-Key": "testkey",
|
|
21
|
+
* test: "true",
|
|
22
|
+
* },
|
|
23
|
+
* });
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* ## Import
|
|
27
|
+
*
|
|
28
|
+
* This resource can be imported by specifying the project ID of the account:
|
|
29
|
+
*
|
|
30
|
+
* ```sh
|
|
31
|
+
* $ pulumi import openstack:objectstorage/accountV1:AccountV1 account_1 1202b3d0aaa44cfc8b79475c007b0711
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
class AccountV1 extends pulumi.CustomResource {
|
|
35
|
+
/**
|
|
36
|
+
* Get an existing AccountV1 resource's state with the given name, ID, and optional extra
|
|
37
|
+
* properties used to qualify the lookup.
|
|
38
|
+
*
|
|
39
|
+
* @param name The _unique_ name of the resulting resource.
|
|
40
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
41
|
+
* @param state Any extra arguments used during the lookup.
|
|
42
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
43
|
+
*/
|
|
44
|
+
static get(name, id, state, opts) {
|
|
45
|
+
return new AccountV1(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Returns true if the given object is an instance of AccountV1. This is designed to work even
|
|
49
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
50
|
+
*/
|
|
51
|
+
static isInstance(obj) {
|
|
52
|
+
if (obj === undefined || obj === null) {
|
|
53
|
+
return false;
|
|
54
|
+
}
|
|
55
|
+
return obj['__pulumiType'] === AccountV1.__pulumiType;
|
|
56
|
+
}
|
|
57
|
+
constructor(name, argsOrState, opts) {
|
|
58
|
+
let resourceInputs = {};
|
|
59
|
+
opts = opts || {};
|
|
60
|
+
if (opts.id) {
|
|
61
|
+
const state = argsOrState;
|
|
62
|
+
resourceInputs["bytesUsed"] = state ? state.bytesUsed : undefined;
|
|
63
|
+
resourceInputs["containerCount"] = state ? state.containerCount : undefined;
|
|
64
|
+
resourceInputs["headers"] = state ? state.headers : undefined;
|
|
65
|
+
resourceInputs["metadata"] = state ? state.metadata : undefined;
|
|
66
|
+
resourceInputs["objectCount"] = state ? state.objectCount : undefined;
|
|
67
|
+
resourceInputs["projectId"] = state ? state.projectId : undefined;
|
|
68
|
+
resourceInputs["quotaBytes"] = state ? state.quotaBytes : undefined;
|
|
69
|
+
resourceInputs["region"] = state ? state.region : undefined;
|
|
70
|
+
}
|
|
71
|
+
else {
|
|
72
|
+
const args = argsOrState;
|
|
73
|
+
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
|
74
|
+
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
75
|
+
resourceInputs["region"] = args ? args.region : undefined;
|
|
76
|
+
resourceInputs["bytesUsed"] = undefined /*out*/;
|
|
77
|
+
resourceInputs["containerCount"] = undefined /*out*/;
|
|
78
|
+
resourceInputs["headers"] = undefined /*out*/;
|
|
79
|
+
resourceInputs["objectCount"] = undefined /*out*/;
|
|
80
|
+
resourceInputs["quotaBytes"] = undefined /*out*/;
|
|
81
|
+
}
|
|
82
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
83
|
+
super(AccountV1.__pulumiType, name, resourceInputs, opts);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
exports.AccountV1 = AccountV1;
|
|
87
|
+
/** @internal */
|
|
88
|
+
AccountV1.__pulumiType = 'openstack:objectstorage/accountV1:AccountV1';
|
|
89
|
+
//# sourceMappingURL=accountV1.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accountV1.js","sourceRoot":"","sources":["../../objectstorage/accountV1.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;;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;IAgDD,YAAY,IAAY,EAAE,WAA4C,EAAE,IAAm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AC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;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;;AApGL,8BAqGC;AAvFG,gBAAgB;AACO,sBAAY,GAAG,6CAA6C,CAAC"}
|
package/objectstorage/index.d.ts
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
export { AccountV1Args, AccountV1State } from "./accountV1";
|
|
2
|
+
export type AccountV1 = import("./accountV1").AccountV1;
|
|
3
|
+
export declare const AccountV1: typeof import("./accountV1").AccountV1;
|
|
1
4
|
export { ContainerArgs, ContainerState } from "./container";
|
|
2
5
|
export type Container = import("./container").Container;
|
|
3
6
|
export declare const Container: typeof import("./container").Container;
|
package/objectstorage/index.js
CHANGED
|
@@ -2,9 +2,11 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.TempUrl = exports.ContainerObject = exports.Container = void 0;
|
|
5
|
+
exports.TempUrl = exports.ContainerObject = exports.Container = exports.AccountV1 = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
|
+
exports.AccountV1 = null;
|
|
9
|
+
utilities.lazyLoad(exports, ["AccountV1"], () => require("./accountV1"));
|
|
8
10
|
exports.Container = null;
|
|
9
11
|
utilities.lazyLoad(exports, ["Container"], () => require("./container"));
|
|
10
12
|
exports.ContainerObject = null;
|
|
@@ -15,6 +17,8 @@ const _module = {
|
|
|
15
17
|
version: utilities.getVersion(),
|
|
16
18
|
construct: (name, type, urn) => {
|
|
17
19
|
switch (type) {
|
|
20
|
+
case "openstack:objectstorage/accountV1:AccountV1":
|
|
21
|
+
return new exports.AccountV1(name, undefined, { urn });
|
|
18
22
|
case "openstack:objectstorage/container:Container":
|
|
19
23
|
return new exports.Container(name, undefined, { urn });
|
|
20
24
|
case "openstack:objectstorage/containerObject:ContainerObject":
|
|
@@ -26,6 +30,7 @@ const _module = {
|
|
|
26
30
|
}
|
|
27
31
|
},
|
|
28
32
|
};
|
|
33
|
+
pulumi.runtime.registerResourceModule("openstack", "objectstorage/accountV1", _module);
|
|
29
34
|
pulumi.runtime.registerResourceModule("openstack", "objectstorage/container", _module);
|
|
30
35
|
pulumi.runtime.registerResourceModule("openstack", "objectstorage/containerObject", _module);
|
|
31
36
|
pulumi.runtime.registerResourceModule("openstack", "objectstorage/tempUrl", _module);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../objectstorage/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,SAAS,GAA2C,IAAW,CAAC;AAC7E,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,WAAW,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CA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AAC,CAAA;YAC7D,KAAK,yCAAyC;gBAC1C,OAAO,IAAI,eAAO,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACrD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,WAAW,EAAE,yBAAyB,EAAE,OAAO,CAAC,CAAA;AACtF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,WAAW,EAAE,yBAAyB,EAAE,OAAO,CAAC,CAAA;AACtF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,WAAW,EAAE,+BAA+B,EAAE,OAAO,CAAC,CAAA;AAC5F,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,WAAW,EAAE,uBAAuB,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -53,6 +53,16 @@ export declare class TempUrl extends pulumi.CustomResource {
|
|
|
53
53
|
* The container name the object belongs to.
|
|
54
54
|
*/
|
|
55
55
|
readonly container: pulumi.Output<string>;
|
|
56
|
+
/**
|
|
57
|
+
* The digest to use when generating the tempurl.
|
|
58
|
+
* Supported values are `sha1`, `sha256` and `sha512`. Default is `sha1`.
|
|
59
|
+
*/
|
|
60
|
+
readonly digest: pulumi.Output<string | undefined>;
|
|
61
|
+
/**
|
|
62
|
+
* The key to use when generating the tempurl. If not
|
|
63
|
+
* provided, the key will be read from the container or account metadata.
|
|
64
|
+
*/
|
|
65
|
+
readonly key: pulumi.Output<string | undefined>;
|
|
56
66
|
/**
|
|
57
67
|
* The method allowed when accessing this URL.
|
|
58
68
|
* Valid values are `GET`, and `POST`. Default is `GET`.
|
|
@@ -72,6 +82,10 @@ export declare class TempUrl extends pulumi.CustomResource {
|
|
|
72
82
|
* The region the tempurl is located in.
|
|
73
83
|
*/
|
|
74
84
|
readonly region: pulumi.Output<string>;
|
|
85
|
+
/**
|
|
86
|
+
* Split is the string on which to split the object URL.
|
|
87
|
+
* Default is `/v1/`.
|
|
88
|
+
*/
|
|
75
89
|
readonly split: pulumi.Output<string | undefined>;
|
|
76
90
|
/**
|
|
77
91
|
* The TTL, in seconds, for the URL. For how long it should
|
|
@@ -99,6 +113,16 @@ export interface TempUrlState {
|
|
|
99
113
|
* The container name the object belongs to.
|
|
100
114
|
*/
|
|
101
115
|
container?: pulumi.Input<string>;
|
|
116
|
+
/**
|
|
117
|
+
* The digest to use when generating the tempurl.
|
|
118
|
+
* Supported values are `sha1`, `sha256` and `sha512`. Default is `sha1`.
|
|
119
|
+
*/
|
|
120
|
+
digest?: pulumi.Input<string>;
|
|
121
|
+
/**
|
|
122
|
+
* The key to use when generating the tempurl. If not
|
|
123
|
+
* provided, the key will be read from the container or account metadata.
|
|
124
|
+
*/
|
|
125
|
+
key?: pulumi.Input<string>;
|
|
102
126
|
/**
|
|
103
127
|
* The method allowed when accessing this URL.
|
|
104
128
|
* Valid values are `GET`, and `POST`. Default is `GET`.
|
|
@@ -118,6 +142,10 @@ export interface TempUrlState {
|
|
|
118
142
|
* The region the tempurl is located in.
|
|
119
143
|
*/
|
|
120
144
|
region?: pulumi.Input<string>;
|
|
145
|
+
/**
|
|
146
|
+
* Split is the string on which to split the object URL.
|
|
147
|
+
* Default is `/v1/`.
|
|
148
|
+
*/
|
|
121
149
|
split?: pulumi.Input<string>;
|
|
122
150
|
/**
|
|
123
151
|
* The TTL, in seconds, for the URL. For how long it should
|
|
@@ -137,6 +165,16 @@ export interface TempUrlArgs {
|
|
|
137
165
|
* The container name the object belongs to.
|
|
138
166
|
*/
|
|
139
167
|
container: pulumi.Input<string>;
|
|
168
|
+
/**
|
|
169
|
+
* The digest to use when generating the tempurl.
|
|
170
|
+
* Supported values are `sha1`, `sha256` and `sha512`. Default is `sha1`.
|
|
171
|
+
*/
|
|
172
|
+
digest?: pulumi.Input<string>;
|
|
173
|
+
/**
|
|
174
|
+
* The key to use when generating the tempurl. If not
|
|
175
|
+
* provided, the key will be read from the container or account metadata.
|
|
176
|
+
*/
|
|
177
|
+
key?: pulumi.Input<string>;
|
|
140
178
|
/**
|
|
141
179
|
* The method allowed when accessing this URL.
|
|
142
180
|
* Valid values are `GET`, and `POST`. Default is `GET`.
|
|
@@ -156,6 +194,10 @@ export interface TempUrlArgs {
|
|
|
156
194
|
* The region the tempurl is located in.
|
|
157
195
|
*/
|
|
158
196
|
region?: pulumi.Input<string>;
|
|
197
|
+
/**
|
|
198
|
+
* Split is the string on which to split the object URL.
|
|
199
|
+
* Default is `/v1/`.
|
|
200
|
+
*/
|
|
159
201
|
split?: pulumi.Input<string>;
|
|
160
202
|
/**
|
|
161
203
|
* The TTL, in seconds, for the URL. For how long it should
|
package/objectstorage/tempUrl.js
CHANGED
|
@@ -68,6 +68,8 @@ class TempUrl extends pulumi.CustomResource {
|
|
|
68
68
|
if (opts.id) {
|
|
69
69
|
const state = argsOrState;
|
|
70
70
|
resourceInputs["container"] = state ? state.container : undefined;
|
|
71
|
+
resourceInputs["digest"] = state ? state.digest : undefined;
|
|
72
|
+
resourceInputs["key"] = state ? state.key : undefined;
|
|
71
73
|
resourceInputs["method"] = state ? state.method : undefined;
|
|
72
74
|
resourceInputs["object"] = state ? state.object : undefined;
|
|
73
75
|
resourceInputs["regenerate"] = state ? state.regenerate : undefined;
|
|
@@ -88,6 +90,8 @@ class TempUrl extends pulumi.CustomResource {
|
|
|
88
90
|
throw new Error("Missing required property 'ttl'");
|
|
89
91
|
}
|
|
90
92
|
resourceInputs["container"] = args ? args.container : undefined;
|
|
93
|
+
resourceInputs["digest"] = args ? args.digest : undefined;
|
|
94
|
+
resourceInputs["key"] = (args === null || args === void 0 ? void 0 : args.key) ? pulumi.secret(args.key) : undefined;
|
|
91
95
|
resourceInputs["method"] = args ? args.method : undefined;
|
|
92
96
|
resourceInputs["object"] = args ? args.object : undefined;
|
|
93
97
|
resourceInputs["regenerate"] = args ? args.regenerate : undefined;
|
|
@@ -97,7 +101,7 @@ class TempUrl extends pulumi.CustomResource {
|
|
|
97
101
|
resourceInputs["url"] = undefined /*out*/;
|
|
98
102
|
}
|
|
99
103
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
100
|
-
const secretOpts = { additionalSecretOutputs: ["url"] };
|
|
104
|
+
const secretOpts = { additionalSecretOutputs: ["key", "url"] };
|
|
101
105
|
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
102
106
|
super(TempUrl.__pulumiType, name, resourceInputs, opts);
|
|
103
107
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tempUrl.js","sourceRoot":"","sources":["../../objectstorage/tempUrl.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9D,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,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;
|
|
1
|
+
{"version":3,"file":"tempUrl.js","sourceRoot":"","sources":["../../objectstorage/tempUrl.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,MAAa,O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CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AA7HL,0BA8HC;AAhHG,gBAAgB;AACO,oBAAY,GAAG,yCAAyC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/openstack",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0",
|
|
4
4
|
"description": "A Pulumi package for creating and managing OpenStack cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -22,6 +22,6 @@
|
|
|
22
22
|
"pulumi": {
|
|
23
23
|
"resource": true,
|
|
24
24
|
"name": "openstack",
|
|
25
|
-
"version": "
|
|
25
|
+
"version": "5.0.0"
|
|
26
26
|
}
|
|
27
27
|
}
|
package/types/input.d.ts
CHANGED
|
@@ -66,53 +66,6 @@ export declare namespace blockstorage {
|
|
|
66
66
|
*/
|
|
67
67
|
sameHosts?: pulumi.Input<pulumi.Input<string>[]>;
|
|
68
68
|
}
|
|
69
|
-
interface VolumeV1Attachment {
|
|
70
|
-
device?: pulumi.Input<string>;
|
|
71
|
-
id?: pulumi.Input<string>;
|
|
72
|
-
instanceId?: pulumi.Input<string>;
|
|
73
|
-
}
|
|
74
|
-
interface VolumeV2Attachment {
|
|
75
|
-
device?: pulumi.Input<string>;
|
|
76
|
-
id?: pulumi.Input<string>;
|
|
77
|
-
instanceId?: pulumi.Input<string>;
|
|
78
|
-
}
|
|
79
|
-
interface VolumeV2SchedulerHint {
|
|
80
|
-
/**
|
|
81
|
-
* Arbitrary key/value pairs of additional
|
|
82
|
-
* properties to pass to the scheduler.
|
|
83
|
-
*/
|
|
84
|
-
additionalProperties?: pulumi.Input<{
|
|
85
|
-
[key: string]: pulumi.Input<string>;
|
|
86
|
-
}>;
|
|
87
|
-
/**
|
|
88
|
-
* The volume should be scheduled on a
|
|
89
|
-
* different host from the set of volumes specified in the list provided.
|
|
90
|
-
*/
|
|
91
|
-
differentHosts?: pulumi.Input<pulumi.Input<string>[]>;
|
|
92
|
-
/**
|
|
93
|
-
* An instance UUID. The volume should be
|
|
94
|
-
* scheduled on the same host as the instance.
|
|
95
|
-
*/
|
|
96
|
-
localToInstance?: pulumi.Input<string>;
|
|
97
|
-
/**
|
|
98
|
-
* A conditional query that a back-end must pass in
|
|
99
|
-
* order to host a volume. The query must use the `JsonFilter` syntax
|
|
100
|
-
* which is described
|
|
101
|
-
* [here](https://docs.openstack.org/cinder/latest/configuration/block-storage/scheduler-filters.html#jsonfilter).
|
|
102
|
-
* At this time, only simple queries are supported. Compound queries using
|
|
103
|
-
* `and`, `or`, or `not` are not supported. An example of a simple query is:
|
|
104
|
-
*
|
|
105
|
-
* ```
|
|
106
|
-
* [“=”, “$backend_id”, “rbd:vol@ceph#cloud”]
|
|
107
|
-
* ```
|
|
108
|
-
*/
|
|
109
|
-
query?: pulumi.Input<string>;
|
|
110
|
-
/**
|
|
111
|
-
* A list of volume UUIDs. The volume should be
|
|
112
|
-
* scheduled on the same host as another volume specified in the list provided.
|
|
113
|
-
*/
|
|
114
|
-
sameHosts?: pulumi.Input<pulumi.Input<string>[]>;
|
|
115
|
-
}
|
|
116
69
|
}
|
|
117
70
|
export declare namespace compute {
|
|
118
71
|
interface GetInstanceV2Network {
|
|
@@ -339,43 +292,6 @@ export declare namespace compute {
|
|
|
339
292
|
*/
|
|
340
293
|
ignoreResizeConfirmation?: pulumi.Input<boolean>;
|
|
341
294
|
}
|
|
342
|
-
interface SecGroupRule {
|
|
343
|
-
/**
|
|
344
|
-
* Required if `fromGroupId` or `self` is empty. The IP range
|
|
345
|
-
* that will be the source of network traffic to the security group. Use 0.0.0.0/0
|
|
346
|
-
* to allow all IP addresses. Changing this creates a new security group rule. Cannot
|
|
347
|
-
* be combined with `fromGroupId` or `self`.
|
|
348
|
-
*/
|
|
349
|
-
cidr?: pulumi.Input<string>;
|
|
350
|
-
/**
|
|
351
|
-
* Required if `cidr` or `self` is empty. The ID of a
|
|
352
|
-
* group from which to forward traffic to the parent group. Changing this creates a
|
|
353
|
-
* new security group rule. Cannot be combined with `cidr` or `self`.
|
|
354
|
-
*/
|
|
355
|
-
fromGroupId?: pulumi.Input<string>;
|
|
356
|
-
/**
|
|
357
|
-
* An integer representing the lower bound of the port
|
|
358
|
-
* range to open. Changing this creates a new security group rule.
|
|
359
|
-
*/
|
|
360
|
-
fromPort: pulumi.Input<number>;
|
|
361
|
-
id?: pulumi.Input<string>;
|
|
362
|
-
/**
|
|
363
|
-
* The protocol type that will be allowed. Changing
|
|
364
|
-
* this creates a new security group rule.
|
|
365
|
-
*/
|
|
366
|
-
ipProtocol: pulumi.Input<string>;
|
|
367
|
-
/**
|
|
368
|
-
* Required if `cidr` and `fromGroupId` is empty. If true,
|
|
369
|
-
* the security group itself will be added as a source to this ingress rule. Cannot
|
|
370
|
-
* be combined with `cidr` or `fromGroupId`.
|
|
371
|
-
*/
|
|
372
|
-
self?: pulumi.Input<boolean>;
|
|
373
|
-
/**
|
|
374
|
-
* An integer representing the upper bound of the port
|
|
375
|
-
* range to open. Changing this creates a new security group rule.
|
|
376
|
-
*/
|
|
377
|
-
toPort: pulumi.Input<number>;
|
|
378
|
-
}
|
|
379
295
|
interface ServerGroupRules {
|
|
380
296
|
maxServerPerHost?: pulumi.Input<number>;
|
|
381
297
|
}
|
package/types/output.d.ts
CHANGED
|
@@ -70,53 +70,6 @@ export declare namespace blockstorage {
|
|
|
70
70
|
*/
|
|
71
71
|
sameHosts?: string[];
|
|
72
72
|
}
|
|
73
|
-
interface VolumeV1Attachment {
|
|
74
|
-
device: string;
|
|
75
|
-
id: string;
|
|
76
|
-
instanceId: string;
|
|
77
|
-
}
|
|
78
|
-
interface VolumeV2Attachment {
|
|
79
|
-
device: string;
|
|
80
|
-
id: string;
|
|
81
|
-
instanceId: string;
|
|
82
|
-
}
|
|
83
|
-
interface VolumeV2SchedulerHint {
|
|
84
|
-
/**
|
|
85
|
-
* Arbitrary key/value pairs of additional
|
|
86
|
-
* properties to pass to the scheduler.
|
|
87
|
-
*/
|
|
88
|
-
additionalProperties?: {
|
|
89
|
-
[key: string]: string;
|
|
90
|
-
};
|
|
91
|
-
/**
|
|
92
|
-
* The volume should be scheduled on a
|
|
93
|
-
* different host from the set of volumes specified in the list provided.
|
|
94
|
-
*/
|
|
95
|
-
differentHosts?: string[];
|
|
96
|
-
/**
|
|
97
|
-
* An instance UUID. The volume should be
|
|
98
|
-
* scheduled on the same host as the instance.
|
|
99
|
-
*/
|
|
100
|
-
localToInstance?: string;
|
|
101
|
-
/**
|
|
102
|
-
* A conditional query that a back-end must pass in
|
|
103
|
-
* order to host a volume. The query must use the `JsonFilter` syntax
|
|
104
|
-
* which is described
|
|
105
|
-
* [here](https://docs.openstack.org/cinder/latest/configuration/block-storage/scheduler-filters.html#jsonfilter).
|
|
106
|
-
* At this time, only simple queries are supported. Compound queries using
|
|
107
|
-
* `and`, `or`, or `not` are not supported. An example of a simple query is:
|
|
108
|
-
*
|
|
109
|
-
* ```
|
|
110
|
-
* [“=”, “$backend_id”, “rbd:vol@ceph#cloud”]
|
|
111
|
-
* ```
|
|
112
|
-
*/
|
|
113
|
-
query?: string;
|
|
114
|
-
/**
|
|
115
|
-
* A list of volume UUIDs. The volume should be
|
|
116
|
-
* scheduled on the same host as another volume specified in the list provided.
|
|
117
|
-
*/
|
|
118
|
-
sameHosts?: string[];
|
|
119
|
-
}
|
|
120
73
|
}
|
|
121
74
|
export declare namespace compute {
|
|
122
75
|
interface GetInstanceV2Network {
|
|
@@ -317,43 +270,6 @@ export declare namespace compute {
|
|
|
317
270
|
*/
|
|
318
271
|
ignoreResizeConfirmation?: boolean;
|
|
319
272
|
}
|
|
320
|
-
interface SecGroupRule {
|
|
321
|
-
/**
|
|
322
|
-
* Required if `fromGroupId` or `self` is empty. The IP range
|
|
323
|
-
* that will be the source of network traffic to the security group. Use 0.0.0.0/0
|
|
324
|
-
* to allow all IP addresses. Changing this creates a new security group rule. Cannot
|
|
325
|
-
* be combined with `fromGroupId` or `self`.
|
|
326
|
-
*/
|
|
327
|
-
cidr?: string;
|
|
328
|
-
/**
|
|
329
|
-
* Required if `cidr` or `self` is empty. The ID of a
|
|
330
|
-
* group from which to forward traffic to the parent group. Changing this creates a
|
|
331
|
-
* new security group rule. Cannot be combined with `cidr` or `self`.
|
|
332
|
-
*/
|
|
333
|
-
fromGroupId?: string;
|
|
334
|
-
/**
|
|
335
|
-
* An integer representing the lower bound of the port
|
|
336
|
-
* range to open. Changing this creates a new security group rule.
|
|
337
|
-
*/
|
|
338
|
-
fromPort: number;
|
|
339
|
-
id: string;
|
|
340
|
-
/**
|
|
341
|
-
* The protocol type that will be allowed. Changing
|
|
342
|
-
* this creates a new security group rule.
|
|
343
|
-
*/
|
|
344
|
-
ipProtocol: string;
|
|
345
|
-
/**
|
|
346
|
-
* Required if `cidr` and `fromGroupId` is empty. If true,
|
|
347
|
-
* the security group itself will be added as a source to this ingress rule. Cannot
|
|
348
|
-
* be combined with `cidr` or `fromGroupId`.
|
|
349
|
-
*/
|
|
350
|
-
self?: boolean;
|
|
351
|
-
/**
|
|
352
|
-
* An integer representing the upper bound of the port
|
|
353
|
-
* range to open. Changing this creates a new security group rule.
|
|
354
|
-
*/
|
|
355
|
-
toPort: number;
|
|
356
|
-
}
|
|
357
273
|
interface ServerGroupRules {
|
|
358
274
|
maxServerPerHost?: number;
|
|
359
275
|
}
|