@pulumi/openstack 3.9.0-alpha.1650910295 → 3.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/compute/getLimitsV2.d.ts +138 -0
- package/compute/getLimitsV2.js +37 -0
- package/compute/getLimitsV2.js.map +1 -0
- package/compute/index.d.ts +1 -0
- package/compute/index.js +1 -0
- package/compute/index.js.map +1 -1
- package/compute/instance.d.ts +12 -9
- package/compute/instance.js.map +1 -1
- package/compute/keypair.d.ts +18 -0
- package/compute/keypair.js +2 -0
- package/compute/keypair.js.map +1 -1
- package/containerinfra/cluster.d.ts +1 -1
- package/containerinfra/getNodeGroup.d.ts +121 -0
- package/containerinfra/getNodeGroup.js +39 -0
- package/containerinfra/getNodeGroup.js.map +1 -0
- package/containerinfra/index.d.ts +2 -0
- package/containerinfra/index.js +6 -0
- package/containerinfra/index.js.map +1 -1
- package/containerinfra/nodeGroup.d.ts +257 -0
- package/containerinfra/nodeGroup.js +122 -0
- package/containerinfra/nodeGroup.js.map +1 -0
- package/loadbalancer/member.d.ts +45 -0
- package/loadbalancer/member.js +6 -0
- package/loadbalancer/member.js.map +1 -1
- package/networking/getQuotaV2.d.ts +10 -0
- package/networking/getQuotaV2.js +1 -0
- package/networking/getQuotaV2.js.map +1 -1
- package/networking/portSecGroupAssociate.d.ts +8 -0
- package/networking/portSecGroupAssociate.js +8 -0
- package/networking/portSecGroupAssociate.js.map +1 -1
- package/objectstorage/container.d.ts +15 -0
- package/objectstorage/container.js +2 -0
- package/objectstorage/container.js.map +1 -1
- package/package.json +4 -3
- package/package.json.bak +2 -1
- package/package.json.dev +4 -3
- package/types/input.d.ts +10 -0
- package/types/output.d.ts +10 -0
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Use this data source to get the compute limits of an OpenStack project.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as openstack from "@pulumi/openstack";
|
|
10
|
+
*
|
|
11
|
+
* const limits = pulumi.output(openstack.compute.getLimitsV2({
|
|
12
|
+
* projectId: "2e367a3d29f94fd988e6ec54e305ec9d",
|
|
13
|
+
* }));
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
export declare function getLimitsV2(args: GetLimitsV2Args, opts?: pulumi.InvokeOptions): Promise<GetLimitsV2Result>;
|
|
17
|
+
/**
|
|
18
|
+
* A collection of arguments for invoking getLimitsV2.
|
|
19
|
+
*/
|
|
20
|
+
export interface GetLimitsV2Args {
|
|
21
|
+
/**
|
|
22
|
+
* The id of the project to retrieve the limits.
|
|
23
|
+
*/
|
|
24
|
+
projectId: string;
|
|
25
|
+
/**
|
|
26
|
+
* The region in which to obtain the V2 Compute client.
|
|
27
|
+
* If omitted, the `region` argument of the provider is used.
|
|
28
|
+
*/
|
|
29
|
+
region?: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* A collection of values returned by getLimitsV2.
|
|
33
|
+
*/
|
|
34
|
+
export interface GetLimitsV2Result {
|
|
35
|
+
/**
|
|
36
|
+
* The provider-assigned unique ID for this managed resource.
|
|
37
|
+
*/
|
|
38
|
+
readonly id: string;
|
|
39
|
+
/**
|
|
40
|
+
* The number of allowed metadata items for each image. Starting from version 2.39 this field is dropped from ‘os-limits’ response, because ‘image-metadata’ proxy API was deprecated. Available until version 2.38.
|
|
41
|
+
*/
|
|
42
|
+
readonly maxImageMeta: number;
|
|
43
|
+
/**
|
|
44
|
+
* The number of allowed injected files for the tenant. Available until version 2.56.
|
|
45
|
+
*/
|
|
46
|
+
readonly maxPersonality: number;
|
|
47
|
+
/**
|
|
48
|
+
* The number of allowed bytes of content for each injected file. Available until version 2.56.
|
|
49
|
+
*/
|
|
50
|
+
readonly maxPersonalitySize: number;
|
|
51
|
+
/**
|
|
52
|
+
* The number of allowed rules for each security group. Available until version 2.35.
|
|
53
|
+
*/
|
|
54
|
+
readonly maxSecurityGroupRules: number;
|
|
55
|
+
/**
|
|
56
|
+
* The number of allowed security groups for the tenant. Available until version 2.35.
|
|
57
|
+
*/
|
|
58
|
+
readonly maxSecurityGroups: number;
|
|
59
|
+
/**
|
|
60
|
+
* The number of allowed members for each server group.
|
|
61
|
+
*/
|
|
62
|
+
readonly maxServerGroupMembers: number;
|
|
63
|
+
/**
|
|
64
|
+
* The number of allowed server groups for the tenant.
|
|
65
|
+
*/
|
|
66
|
+
readonly maxServerGroups: number;
|
|
67
|
+
/**
|
|
68
|
+
* The number of allowed server groups for the tenant.
|
|
69
|
+
*/
|
|
70
|
+
readonly maxServerMeta: number;
|
|
71
|
+
/**
|
|
72
|
+
* The number of allowed server cores for the tenant.
|
|
73
|
+
*/
|
|
74
|
+
readonly maxTotalCores: number;
|
|
75
|
+
/**
|
|
76
|
+
* The number of allowed floating IP addresses for each tenant. Available until version 2.35.
|
|
77
|
+
*/
|
|
78
|
+
readonly maxTotalFloatingIps: number;
|
|
79
|
+
/**
|
|
80
|
+
* The number of allowed servers for the tenant.
|
|
81
|
+
*/
|
|
82
|
+
readonly maxTotalInstances: number;
|
|
83
|
+
/**
|
|
84
|
+
* The number of allowed key pairs for the user.
|
|
85
|
+
*/
|
|
86
|
+
readonly maxTotalKeypairs: number;
|
|
87
|
+
/**
|
|
88
|
+
* The number of allowed floating IP addresses for the tenant. Available until version 2.35.
|
|
89
|
+
*/
|
|
90
|
+
readonly maxTotalRamSize: number;
|
|
91
|
+
/**
|
|
92
|
+
* See Argument Reference above.
|
|
93
|
+
*/
|
|
94
|
+
readonly projectId: string;
|
|
95
|
+
/**
|
|
96
|
+
* See Argument Reference above.
|
|
97
|
+
*/
|
|
98
|
+
readonly region: string;
|
|
99
|
+
/**
|
|
100
|
+
* The number of used server cores in the tenant.
|
|
101
|
+
*/
|
|
102
|
+
readonly totalCoresUsed: number;
|
|
103
|
+
/**
|
|
104
|
+
* The number of used floating IP addresses in the tenant.
|
|
105
|
+
*/
|
|
106
|
+
readonly totalFloatingIpsUsed: number;
|
|
107
|
+
/**
|
|
108
|
+
* The number of used server cores in the tenant.
|
|
109
|
+
*/
|
|
110
|
+
readonly totalInstancesUsed: number;
|
|
111
|
+
/**
|
|
112
|
+
* The amount of used server RAM in the tenant.
|
|
113
|
+
*/
|
|
114
|
+
readonly totalRamUsed: number;
|
|
115
|
+
/**
|
|
116
|
+
* The number of used security groups in the tenant. Available until version 2.35.
|
|
117
|
+
*/
|
|
118
|
+
readonly totalSecurityGroupsUsed: number;
|
|
119
|
+
/**
|
|
120
|
+
* The number of used server groups in each tenant.
|
|
121
|
+
*/
|
|
122
|
+
readonly totalServerGroupsUsed: number;
|
|
123
|
+
}
|
|
124
|
+
export declare function getLimitsV2Output(args: GetLimitsV2OutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetLimitsV2Result>;
|
|
125
|
+
/**
|
|
126
|
+
* A collection of arguments for invoking getLimitsV2.
|
|
127
|
+
*/
|
|
128
|
+
export interface GetLimitsV2OutputArgs {
|
|
129
|
+
/**
|
|
130
|
+
* The id of the project to retrieve the limits.
|
|
131
|
+
*/
|
|
132
|
+
projectId: pulumi.Input<string>;
|
|
133
|
+
/**
|
|
134
|
+
* The region in which to obtain the V2 Compute client.
|
|
135
|
+
* If omitted, the `region` argument of the provider is used.
|
|
136
|
+
*/
|
|
137
|
+
region?: pulumi.Input<string>;
|
|
138
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
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.getLimitsV2Output = exports.getLimitsV2 = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to get the compute limits of an OpenStack project.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as openstack from "@pulumi/openstack";
|
|
16
|
+
*
|
|
17
|
+
* const limits = pulumi.output(openstack.compute.getLimitsV2({
|
|
18
|
+
* projectId: "2e367a3d29f94fd988e6ec54e305ec9d",
|
|
19
|
+
* }));
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
function getLimitsV2(args, opts) {
|
|
23
|
+
if (!opts) {
|
|
24
|
+
opts = {};
|
|
25
|
+
}
|
|
26
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
27
|
+
return pulumi.runtime.invoke("openstack:compute/getLimitsV2:getLimitsV2", {
|
|
28
|
+
"projectId": args.projectId,
|
|
29
|
+
"region": args.region,
|
|
30
|
+
}, opts);
|
|
31
|
+
}
|
|
32
|
+
exports.getLimitsV2 = getLimitsV2;
|
|
33
|
+
function getLimitsV2Output(args, opts) {
|
|
34
|
+
return pulumi.output(args).apply(a => getLimitsV2(a, opts));
|
|
35
|
+
}
|
|
36
|
+
exports.getLimitsV2Output = getLimitsV2Output;
|
|
37
|
+
//# sourceMappingURL=getLimitsV2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getLimitsV2.js","sourceRoot":"","sources":["../../compute/getLimitsV2.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;GAaG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAC1E,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,2CAA2C,EAAE;QACtE,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,kCAUC;AA+GD,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC/D,CAAC;AAFD,8CAEC"}
|
package/compute/index.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export * from "./getFlavor";
|
|
|
9
9
|
export * from "./getHypervisorV2";
|
|
10
10
|
export * from "./getInstanceV2";
|
|
11
11
|
export * from "./getKeypair";
|
|
12
|
+
export * from "./getLimitsV2";
|
|
12
13
|
export * from "./getQuotaSetV2";
|
|
13
14
|
export * from "./instance";
|
|
14
15
|
export * from "./interfaceAttach";
|
package/compute/index.js
CHANGED
|
@@ -30,6 +30,7 @@ __exportStar(require("./getFlavor"), exports);
|
|
|
30
30
|
__exportStar(require("./getHypervisorV2"), exports);
|
|
31
31
|
__exportStar(require("./getInstanceV2"), exports);
|
|
32
32
|
__exportStar(require("./getKeypair"), exports);
|
|
33
|
+
__exportStar(require("./getLimitsV2"), exports);
|
|
33
34
|
__exportStar(require("./getQuotaSetV2"), exports);
|
|
34
35
|
__exportStar(require("./instance"), exports);
|
|
35
36
|
__exportStar(require("./interfaceAttach"), exports);
|
package/compute/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../compute/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1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,CAAC,OAAO,CAAC,sBAAsB,CAAC,WAAW,EAAE,kBAAkB,EAAE,OAAO,CAAC,CAAA;AAC/E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,WAAW,EAAE,qBAAqB,EAAE,OAAO,CAAC,CAAA;AAClF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,WAAW,EAAE,sBAAsB,EAAE,OAAO,CAAC,CAAA"}
|
package/compute/instance.d.ts
CHANGED
|
@@ -89,13 +89,14 @@ export declare class Instance extends pulumi.CustomResource {
|
|
|
89
89
|
/**
|
|
90
90
|
* (Optional; Required if `imageName` is empty and not booting
|
|
91
91
|
* from a volume. Do not specify if booting from a volume.) The image ID of
|
|
92
|
-
* the desired image for the server. Changing this
|
|
92
|
+
* the desired image for the server. Changing this rebuilds the existing
|
|
93
|
+
* server.
|
|
93
94
|
*/
|
|
94
95
|
readonly imageId: pulumi.Output<string>;
|
|
95
96
|
/**
|
|
96
97
|
* (Optional; Required if `imageId` is empty and not booting
|
|
97
98
|
* from a volume. Do not specify if booting from a volume.) The name of the
|
|
98
|
-
* desired image for the server. Changing this
|
|
99
|
+
* desired image for the server. Changing this rebuilds the existing server.
|
|
99
100
|
*/
|
|
100
101
|
readonly imageName: pulumi.Output<string>;
|
|
101
102
|
/**
|
|
@@ -131,7 +132,7 @@ export declare class Instance extends pulumi.CustomResource {
|
|
|
131
132
|
/**
|
|
132
133
|
* Customize the personality of an instance by
|
|
133
134
|
* defining one or more files and their contents. The personality structure
|
|
134
|
-
* is described below.
|
|
135
|
+
* is described below. Changing this rebuilds the existing server.
|
|
135
136
|
*/
|
|
136
137
|
readonly personalities: pulumi.Output<outputs.compute.InstancePersonality[] | undefined>;
|
|
137
138
|
/**
|
|
@@ -272,13 +273,14 @@ export interface InstanceState {
|
|
|
272
273
|
/**
|
|
273
274
|
* (Optional; Required if `imageName` is empty and not booting
|
|
274
275
|
* from a volume. Do not specify if booting from a volume.) The image ID of
|
|
275
|
-
* the desired image for the server. Changing this
|
|
276
|
+
* the desired image for the server. Changing this rebuilds the existing
|
|
277
|
+
* server.
|
|
276
278
|
*/
|
|
277
279
|
imageId?: pulumi.Input<string>;
|
|
278
280
|
/**
|
|
279
281
|
* (Optional; Required if `imageId` is empty and not booting
|
|
280
282
|
* from a volume. Do not specify if booting from a volume.) The name of the
|
|
281
|
-
* desired image for the server. Changing this
|
|
283
|
+
* desired image for the server. Changing this rebuilds the existing server.
|
|
282
284
|
*/
|
|
283
285
|
imageName?: pulumi.Input<string>;
|
|
284
286
|
/**
|
|
@@ -314,7 +316,7 @@ export interface InstanceState {
|
|
|
314
316
|
/**
|
|
315
317
|
* Customize the personality of an instance by
|
|
316
318
|
* defining one or more files and their contents. The personality structure
|
|
317
|
-
* is described below.
|
|
319
|
+
* is described below. Changing this rebuilds the existing server.
|
|
318
320
|
*/
|
|
319
321
|
personalities?: pulumi.Input<pulumi.Input<inputs.compute.InstancePersonality>[]>;
|
|
320
322
|
/**
|
|
@@ -439,13 +441,14 @@ export interface InstanceArgs {
|
|
|
439
441
|
/**
|
|
440
442
|
* (Optional; Required if `imageName` is empty and not booting
|
|
441
443
|
* from a volume. Do not specify if booting from a volume.) The image ID of
|
|
442
|
-
* the desired image for the server. Changing this
|
|
444
|
+
* the desired image for the server. Changing this rebuilds the existing
|
|
445
|
+
* server.
|
|
443
446
|
*/
|
|
444
447
|
imageId?: pulumi.Input<string>;
|
|
445
448
|
/**
|
|
446
449
|
* (Optional; Required if `imageId` is empty and not booting
|
|
447
450
|
* from a volume. Do not specify if booting from a volume.) The name of the
|
|
448
|
-
* desired image for the server. Changing this
|
|
451
|
+
* desired image for the server. Changing this rebuilds the existing server.
|
|
449
452
|
*/
|
|
450
453
|
imageName?: pulumi.Input<string>;
|
|
451
454
|
/**
|
|
@@ -481,7 +484,7 @@ export interface InstanceArgs {
|
|
|
481
484
|
/**
|
|
482
485
|
* Customize the personality of an instance by
|
|
483
486
|
* defining one or more files and their contents. The personality structure
|
|
484
|
-
* is described below.
|
|
487
|
+
* is described below. Changing this rebuilds the existing server.
|
|
485
488
|
*/
|
|
486
489
|
personalities?: pulumi.Input<pulumi.Input<inputs.compute.InstancePersonality>[]>;
|
|
487
490
|
/**
|
package/compute/instance.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"instance.js","sourceRoot":"","sources":["../../compute/instance.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"instance.js","sourceRoot":"","sources":["../../compute/instance.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IA4M/C,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,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,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AAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;IAjRD;;;;;;;;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;;AA1BL,4BAmRC;AArQG,gBAAgB;AACO,qBAAY,GAAG,qCAAqC,CAAC"}
|
package/compute/keypair.d.ts
CHANGED
|
@@ -72,6 +72,12 @@ export declare class Keypair extends pulumi.CustomResource {
|
|
|
72
72
|
* Changing this creates a new keypair.
|
|
73
73
|
*/
|
|
74
74
|
readonly region: pulumi.Output<string>;
|
|
75
|
+
/**
|
|
76
|
+
* This allows administrative users to operate key-pairs
|
|
77
|
+
* of specified user ID. For this feature your need to have openstack microversion
|
|
78
|
+
* 2.10 (Liberty) or later.
|
|
79
|
+
*/
|
|
80
|
+
readonly userId: pulumi.Output<string>;
|
|
75
81
|
/**
|
|
76
82
|
* Map of additional options.
|
|
77
83
|
*/
|
|
@@ -119,6 +125,12 @@ export interface KeypairState {
|
|
|
119
125
|
* Changing this creates a new keypair.
|
|
120
126
|
*/
|
|
121
127
|
region?: pulumi.Input<string>;
|
|
128
|
+
/**
|
|
129
|
+
* This allows administrative users to operate key-pairs
|
|
130
|
+
* of specified user ID. For this feature your need to have openstack microversion
|
|
131
|
+
* 2.10 (Liberty) or later.
|
|
132
|
+
*/
|
|
133
|
+
userId?: pulumi.Input<string>;
|
|
122
134
|
/**
|
|
123
135
|
* Map of additional options.
|
|
124
136
|
*/
|
|
@@ -150,6 +162,12 @@ export interface KeypairArgs {
|
|
|
150
162
|
* Changing this creates a new keypair.
|
|
151
163
|
*/
|
|
152
164
|
region?: pulumi.Input<string>;
|
|
165
|
+
/**
|
|
166
|
+
* This allows administrative users to operate key-pairs
|
|
167
|
+
* of specified user ID. For this feature your need to have openstack microversion
|
|
168
|
+
* 2.10 (Liberty) or later.
|
|
169
|
+
*/
|
|
170
|
+
userId?: pulumi.Input<string>;
|
|
153
171
|
/**
|
|
154
172
|
* Map of additional options.
|
|
155
173
|
*/
|
package/compute/keypair.js
CHANGED
|
@@ -45,6 +45,7 @@ class Keypair extends pulumi.CustomResource {
|
|
|
45
45
|
resourceInputs["privateKey"] = state ? state.privateKey : undefined;
|
|
46
46
|
resourceInputs["publicKey"] = state ? state.publicKey : undefined;
|
|
47
47
|
resourceInputs["region"] = state ? state.region : undefined;
|
|
48
|
+
resourceInputs["userId"] = state ? state.userId : undefined;
|
|
48
49
|
resourceInputs["valueSpecs"] = state ? state.valueSpecs : undefined;
|
|
49
50
|
}
|
|
50
51
|
else {
|
|
@@ -52,6 +53,7 @@ class Keypair extends pulumi.CustomResource {
|
|
|
52
53
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
53
54
|
resourceInputs["publicKey"] = args ? args.publicKey : undefined;
|
|
54
55
|
resourceInputs["region"] = args ? args.region : undefined;
|
|
56
|
+
resourceInputs["userId"] = args ? args.userId : undefined;
|
|
55
57
|
resourceInputs["valueSpecs"] = args ? args.valueSpecs : undefined;
|
|
56
58
|
resourceInputs["fingerprint"] = undefined /*out*/;
|
|
57
59
|
resourceInputs["privateKey"] = undefined /*out*/;
|
package/compute/keypair.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keypair.js","sourceRoot":"","sources":["../../compute/keypair.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AA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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;;AA1BL,0BAoGC;AAtFG,gBAAgB;AACO,oBAAY,GAAG,mCAAmC,CAAC"}
|
|
@@ -161,7 +161,7 @@ export declare class Cluster extends pulumi.CustomResource {
|
|
|
161
161
|
* The number of nodes for the cluster. Changing this
|
|
162
162
|
* creates a new cluster.
|
|
163
163
|
*/
|
|
164
|
-
readonly nodeCount: pulumi.Output<number>;
|
|
164
|
+
readonly nodeCount: pulumi.Output<number | undefined>;
|
|
165
165
|
/**
|
|
166
166
|
* The project of the cluster. Required if admin wants
|
|
167
167
|
* to create a cluster in another project. Changing this creates a new
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Use this data source to get information of an available OpenStack Magnum node group.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as openstack from "@pulumi/openstack";
|
|
10
|
+
*
|
|
11
|
+
* const nodegroup1 = pulumi.output(openstack.containerinfra.getNodeGroup({
|
|
12
|
+
* clusterId: "cluster_1",
|
|
13
|
+
* name: "nodegroup_1",
|
|
14
|
+
* }));
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
export declare function getNodeGroup(args: GetNodeGroupArgs, opts?: pulumi.InvokeOptions): Promise<GetNodeGroupResult>;
|
|
18
|
+
/**
|
|
19
|
+
* A collection of arguments for invoking getNodeGroup.
|
|
20
|
+
*/
|
|
21
|
+
export interface GetNodeGroupArgs {
|
|
22
|
+
/**
|
|
23
|
+
* The name of the OpenStack Magnum cluster.
|
|
24
|
+
*/
|
|
25
|
+
clusterId: string;
|
|
26
|
+
/**
|
|
27
|
+
* The name of the node group.
|
|
28
|
+
*/
|
|
29
|
+
name?: string;
|
|
30
|
+
/**
|
|
31
|
+
* The region in which to obtain the V1 Container Infra
|
|
32
|
+
* client.
|
|
33
|
+
* If omitted, the `region` argument of the provider is used.
|
|
34
|
+
*/
|
|
35
|
+
region?: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* A collection of values returned by getNodeGroup.
|
|
39
|
+
*/
|
|
40
|
+
export interface GetNodeGroupResult {
|
|
41
|
+
readonly clusterId: string;
|
|
42
|
+
/**
|
|
43
|
+
* The time at which the node group was created.
|
|
44
|
+
*/
|
|
45
|
+
readonly createdAt: string;
|
|
46
|
+
/**
|
|
47
|
+
* The size (in GB) of the Docker volume.
|
|
48
|
+
*/
|
|
49
|
+
readonly dockerVolumeSize: number;
|
|
50
|
+
/**
|
|
51
|
+
* The flavor for the nodes of the node group.
|
|
52
|
+
*/
|
|
53
|
+
readonly flavor: string;
|
|
54
|
+
/**
|
|
55
|
+
* The provider-assigned unique ID for this managed resource.
|
|
56
|
+
*/
|
|
57
|
+
readonly id: string;
|
|
58
|
+
/**
|
|
59
|
+
* The reference to an image that is used for nodes of the node group.
|
|
60
|
+
*/
|
|
61
|
+
readonly image: string;
|
|
62
|
+
/**
|
|
63
|
+
* The list of key value pairs representing additional properties of
|
|
64
|
+
* the node group.
|
|
65
|
+
*/
|
|
66
|
+
readonly labels: {
|
|
67
|
+
[key: string]: any;
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* The maximum number of nodes for the node group.
|
|
71
|
+
*/
|
|
72
|
+
readonly maxNodeCount: number;
|
|
73
|
+
/**
|
|
74
|
+
* The minimum number of nodes for the node group.
|
|
75
|
+
*/
|
|
76
|
+
readonly minNodeCount: number;
|
|
77
|
+
/**
|
|
78
|
+
* See Argument Reference above.
|
|
79
|
+
*/
|
|
80
|
+
readonly name: string;
|
|
81
|
+
/**
|
|
82
|
+
* The number of nodes for the node group.
|
|
83
|
+
*/
|
|
84
|
+
readonly nodeCount: number;
|
|
85
|
+
/**
|
|
86
|
+
* The project of the node group.
|
|
87
|
+
*/
|
|
88
|
+
readonly projectId: string;
|
|
89
|
+
/**
|
|
90
|
+
* See Argument Reference above.
|
|
91
|
+
*/
|
|
92
|
+
readonly region: string;
|
|
93
|
+
/**
|
|
94
|
+
* The role of the node group.
|
|
95
|
+
*/
|
|
96
|
+
readonly role: string;
|
|
97
|
+
/**
|
|
98
|
+
* The time at which the node group was updated.
|
|
99
|
+
*/
|
|
100
|
+
readonly updatedAt: string;
|
|
101
|
+
}
|
|
102
|
+
export declare function getNodeGroupOutput(args: GetNodeGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetNodeGroupResult>;
|
|
103
|
+
/**
|
|
104
|
+
* A collection of arguments for invoking getNodeGroup.
|
|
105
|
+
*/
|
|
106
|
+
export interface GetNodeGroupOutputArgs {
|
|
107
|
+
/**
|
|
108
|
+
* The name of the OpenStack Magnum cluster.
|
|
109
|
+
*/
|
|
110
|
+
clusterId: pulumi.Input<string>;
|
|
111
|
+
/**
|
|
112
|
+
* The name of the node group.
|
|
113
|
+
*/
|
|
114
|
+
name?: pulumi.Input<string>;
|
|
115
|
+
/**
|
|
116
|
+
* The region in which to obtain the V1 Container Infra
|
|
117
|
+
* client.
|
|
118
|
+
* If omitted, the `region` argument of the provider is used.
|
|
119
|
+
*/
|
|
120
|
+
region?: pulumi.Input<string>;
|
|
121
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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.getNodeGroupOutput = exports.getNodeGroup = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to get information of an available OpenStack Magnum node group.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as openstack from "@pulumi/openstack";
|
|
16
|
+
*
|
|
17
|
+
* const nodegroup1 = pulumi.output(openstack.containerinfra.getNodeGroup({
|
|
18
|
+
* clusterId: "cluster_1",
|
|
19
|
+
* name: "nodegroup_1",
|
|
20
|
+
* }));
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
function getNodeGroup(args, opts) {
|
|
24
|
+
if (!opts) {
|
|
25
|
+
opts = {};
|
|
26
|
+
}
|
|
27
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
28
|
+
return pulumi.runtime.invoke("openstack:containerinfra/getNodeGroup:getNodeGroup", {
|
|
29
|
+
"clusterId": args.clusterId,
|
|
30
|
+
"name": args.name,
|
|
31
|
+
"region": args.region,
|
|
32
|
+
}, opts);
|
|
33
|
+
}
|
|
34
|
+
exports.getNodeGroup = getNodeGroup;
|
|
35
|
+
function getNodeGroupOutput(args, opts) {
|
|
36
|
+
return pulumi.output(args).apply(a => getNodeGroup(a, opts));
|
|
37
|
+
}
|
|
38
|
+
exports.getNodeGroupOutput = getNodeGroupOutput;
|
|
39
|
+
//# sourceMappingURL=getNodeGroup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getNodeGroup.js","sourceRoot":"","sources":["../../containerinfra/getNodeGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;GAcG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAC5E,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oDAAoD,EAAE;QAC/E,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,oCAWC;AAsFD,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IACxF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,YAAY,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAChE,CAAC;AAFD,gDAEC"}
|
package/containerinfra/index.js
CHANGED
|
@@ -23,9 +23,12 @@ __exportStar(require("./cluster"), exports);
|
|
|
23
23
|
__exportStar(require("./clusterTemplate"), exports);
|
|
24
24
|
__exportStar(require("./getCluster"), exports);
|
|
25
25
|
__exportStar(require("./getClusterTemplate"), exports);
|
|
26
|
+
__exportStar(require("./getNodeGroup"), exports);
|
|
27
|
+
__exportStar(require("./nodeGroup"), exports);
|
|
26
28
|
// Import resources to register:
|
|
27
29
|
const cluster_1 = require("./cluster");
|
|
28
30
|
const clusterTemplate_1 = require("./clusterTemplate");
|
|
31
|
+
const nodeGroup_1 = require("./nodeGroup");
|
|
29
32
|
const _module = {
|
|
30
33
|
version: utilities.getVersion(),
|
|
31
34
|
construct: (name, type, urn) => {
|
|
@@ -34,6 +37,8 @@ const _module = {
|
|
|
34
37
|
return new cluster_1.Cluster(name, undefined, { urn });
|
|
35
38
|
case "openstack:containerinfra/clusterTemplate:ClusterTemplate":
|
|
36
39
|
return new clusterTemplate_1.ClusterTemplate(name, undefined, { urn });
|
|
40
|
+
case "openstack:containerinfra/nodeGroup:NodeGroup":
|
|
41
|
+
return new nodeGroup_1.NodeGroup(name, undefined, { urn });
|
|
37
42
|
default:
|
|
38
43
|
throw new Error(`unknown resource type ${type}`);
|
|
39
44
|
}
|
|
@@ -41,4 +46,5 @@ const _module = {
|
|
|
41
46
|
};
|
|
42
47
|
pulumi.runtime.registerResourceModule("openstack", "containerinfra/cluster", _module);
|
|
43
48
|
pulumi.runtime.registerResourceModule("openstack", "containerinfra/clusterTemplate", _module);
|
|
49
|
+
pulumi.runtime.registerResourceModule("openstack", "containerinfra/nodeGroup", _module);
|
|
44
50
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../containerinfra/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,kBAAkB;AAClB,4CAA0B;AAC1B,oDAAkC;AAClC,+CAA6B;AAC7B,uDAAqC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../containerinfra/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,kBAAkB;AAClB,4CAA0B;AAC1B,oDAAkC;AAClC,+CAA6B;AAC7B,uDAAqC;AACrC,iDAA+B;AAC/B,8CAA4B;AAE5B,gCAAgC;AAChC,uCAAoC;AACpC,uDAAoD;AACpD,2CAAwC;AAExC,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,0CAA0C;gBAC3C,OAAO,IAAI,iBAAO,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACrD,KAAK,0DAA0D;gBAC3D,OAAO,IAAI,iCAAe,CAAC,IAAI,EAAO,S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