@pulumi/hcloud 1.8.0-alpha.1645193296 → 1.8.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/config/index.js +5 -1
- package/config/index.js.map +1 -1
- package/firewallAttachment.d.ts +125 -0
- package/firewallAttachment.js +100 -0
- package/firewallAttachment.js.map +1 -0
- package/getLocation.d.ts +4 -0
- package/getLocation.js.map +1 -1
- package/index.d.ts +1 -0
- package/index.js +10 -1
- package/index.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/server.d.ts +32 -8
- package/server.js +2 -3
- package/server.js.map +1 -1
- package/sshKey.d.ts +3 -3
- package/types/output.d.ts +1 -0
package/config/index.js
CHANGED
|
@@ -3,7 +3,11 @@
|
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
5
|
if (k2 === undefined) k2 = k;
|
|
6
|
-
Object.
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
7
11
|
}) : (function(o, m, k, k2) {
|
|
8
12
|
if (k2 === undefined) k2 = k;
|
|
9
13
|
o[k2] = m[k];
|
package/config/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../config/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../config/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;;;;;AAEjF,kBAAkB;AAClB,yCAAuB"}
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Attaches resource to a Hetzner Cloud Firewall.
|
|
4
|
+
*
|
|
5
|
+
* *Note*: only one `hcloud.FirewallAttachment` per Firewall is allowed.
|
|
6
|
+
* Any resources that should be attached to that Firewall need to be
|
|
7
|
+
* specified in that `hcloud.FirewallAttachment`.
|
|
8
|
+
*
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
* ### Attach Servers
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as hcloud from "@pulumi/hcloud";
|
|
15
|
+
*
|
|
16
|
+
* const testServer = new hcloud.Server("testServer", {
|
|
17
|
+
* serverType: "cx11",
|
|
18
|
+
* image: "ubuntu-20.04",
|
|
19
|
+
* });
|
|
20
|
+
* const basicFirewall = new hcloud.Firewall("basicFirewall", {});
|
|
21
|
+
* const fwRef = new hcloud.FirewallAttachment("fwRef", {
|
|
22
|
+
* firewallId: basicFirewall.id,
|
|
23
|
+
* serverIds: [testServer.id],
|
|
24
|
+
* });
|
|
25
|
+
* ```
|
|
26
|
+
* ### Attach Label Selectors
|
|
27
|
+
*
|
|
28
|
+
* ```typescript
|
|
29
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
30
|
+
* import * as hcloud from "@pulumi/hcloud";
|
|
31
|
+
*
|
|
32
|
+
* const testServer = new hcloud.Server("testServer", {
|
|
33
|
+
* serverType: "cx11",
|
|
34
|
+
* image: "ubuntu-20.04",
|
|
35
|
+
* labels: {
|
|
36
|
+
* "firewall-attachment": "test-server",
|
|
37
|
+
* },
|
|
38
|
+
* });
|
|
39
|
+
* const basicFirewall = new hcloud.Firewall("basicFirewall", {});
|
|
40
|
+
* const fwRef = new hcloud.FirewallAttachment("fwRef", {
|
|
41
|
+
* firewallId: basicFirewall.id,
|
|
42
|
+
* labelSelectors: ["firewall-attachment=test-server"],
|
|
43
|
+
* });
|
|
44
|
+
* ```
|
|
45
|
+
*/
|
|
46
|
+
export declare class FirewallAttachment extends pulumi.CustomResource {
|
|
47
|
+
/**
|
|
48
|
+
* Get an existing FirewallAttachment resource's state with the given name, ID, and optional extra
|
|
49
|
+
* properties used to qualify the lookup.
|
|
50
|
+
*
|
|
51
|
+
* @param name The _unique_ name of the resulting resource.
|
|
52
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
53
|
+
* @param state Any extra arguments used during the lookup.
|
|
54
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
55
|
+
*/
|
|
56
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: FirewallAttachmentState, opts?: pulumi.CustomResourceOptions): FirewallAttachment;
|
|
57
|
+
/**
|
|
58
|
+
* Returns true if the given object is an instance of FirewallAttachment. This is designed to work even
|
|
59
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
60
|
+
*/
|
|
61
|
+
static isInstance(obj: any): obj is FirewallAttachment;
|
|
62
|
+
/**
|
|
63
|
+
* ID of the firewall the resources
|
|
64
|
+
* should be attached to.
|
|
65
|
+
*/
|
|
66
|
+
readonly firewallId: pulumi.Output<number>;
|
|
67
|
+
/**
|
|
68
|
+
* List of label selectors used to
|
|
69
|
+
* select resources to attach to the firewall.
|
|
70
|
+
*/
|
|
71
|
+
readonly labelSelectors: pulumi.Output<string[] | undefined>;
|
|
72
|
+
/**
|
|
73
|
+
* List of Server IDs to attach to the
|
|
74
|
+
* firewall.
|
|
75
|
+
*/
|
|
76
|
+
readonly serverIds: pulumi.Output<number[] | undefined>;
|
|
77
|
+
/**
|
|
78
|
+
* Create a FirewallAttachment resource with the given unique name, arguments, and options.
|
|
79
|
+
*
|
|
80
|
+
* @param name The _unique_ name of the resource.
|
|
81
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
82
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
83
|
+
*/
|
|
84
|
+
constructor(name: string, args: FirewallAttachmentArgs, opts?: pulumi.CustomResourceOptions);
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Input properties used for looking up and filtering FirewallAttachment resources.
|
|
88
|
+
*/
|
|
89
|
+
export interface FirewallAttachmentState {
|
|
90
|
+
/**
|
|
91
|
+
* ID of the firewall the resources
|
|
92
|
+
* should be attached to.
|
|
93
|
+
*/
|
|
94
|
+
firewallId?: pulumi.Input<number>;
|
|
95
|
+
/**
|
|
96
|
+
* List of label selectors used to
|
|
97
|
+
* select resources to attach to the firewall.
|
|
98
|
+
*/
|
|
99
|
+
labelSelectors?: pulumi.Input<pulumi.Input<string>[]>;
|
|
100
|
+
/**
|
|
101
|
+
* List of Server IDs to attach to the
|
|
102
|
+
* firewall.
|
|
103
|
+
*/
|
|
104
|
+
serverIds?: pulumi.Input<pulumi.Input<number>[]>;
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* The set of arguments for constructing a FirewallAttachment resource.
|
|
108
|
+
*/
|
|
109
|
+
export interface FirewallAttachmentArgs {
|
|
110
|
+
/**
|
|
111
|
+
* ID of the firewall the resources
|
|
112
|
+
* should be attached to.
|
|
113
|
+
*/
|
|
114
|
+
firewallId: pulumi.Input<number>;
|
|
115
|
+
/**
|
|
116
|
+
* List of label selectors used to
|
|
117
|
+
* select resources to attach to the firewall.
|
|
118
|
+
*/
|
|
119
|
+
labelSelectors?: pulumi.Input<pulumi.Input<string>[]>;
|
|
120
|
+
/**
|
|
121
|
+
* List of Server IDs to attach to the
|
|
122
|
+
* firewall.
|
|
123
|
+
*/
|
|
124
|
+
serverIds?: pulumi.Input<pulumi.Input<number>[]>;
|
|
125
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
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.FirewallAttachment = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Attaches resource to a Hetzner Cloud Firewall.
|
|
10
|
+
*
|
|
11
|
+
* *Note*: only one `hcloud.FirewallAttachment` per Firewall is allowed.
|
|
12
|
+
* Any resources that should be attached to that Firewall need to be
|
|
13
|
+
* specified in that `hcloud.FirewallAttachment`.
|
|
14
|
+
*
|
|
15
|
+
* ## Example Usage
|
|
16
|
+
* ### Attach Servers
|
|
17
|
+
*
|
|
18
|
+
* ```typescript
|
|
19
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
20
|
+
* import * as hcloud from "@pulumi/hcloud";
|
|
21
|
+
*
|
|
22
|
+
* const testServer = new hcloud.Server("testServer", {
|
|
23
|
+
* serverType: "cx11",
|
|
24
|
+
* image: "ubuntu-20.04",
|
|
25
|
+
* });
|
|
26
|
+
* const basicFirewall = new hcloud.Firewall("basicFirewall", {});
|
|
27
|
+
* const fwRef = new hcloud.FirewallAttachment("fwRef", {
|
|
28
|
+
* firewallId: basicFirewall.id,
|
|
29
|
+
* serverIds: [testServer.id],
|
|
30
|
+
* });
|
|
31
|
+
* ```
|
|
32
|
+
* ### Attach Label Selectors
|
|
33
|
+
*
|
|
34
|
+
* ```typescript
|
|
35
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
36
|
+
* import * as hcloud from "@pulumi/hcloud";
|
|
37
|
+
*
|
|
38
|
+
* const testServer = new hcloud.Server("testServer", {
|
|
39
|
+
* serverType: "cx11",
|
|
40
|
+
* image: "ubuntu-20.04",
|
|
41
|
+
* labels: {
|
|
42
|
+
* "firewall-attachment": "test-server",
|
|
43
|
+
* },
|
|
44
|
+
* });
|
|
45
|
+
* const basicFirewall = new hcloud.Firewall("basicFirewall", {});
|
|
46
|
+
* const fwRef = new hcloud.FirewallAttachment("fwRef", {
|
|
47
|
+
* firewallId: basicFirewall.id,
|
|
48
|
+
* labelSelectors: ["firewall-attachment=test-server"],
|
|
49
|
+
* });
|
|
50
|
+
* ```
|
|
51
|
+
*/
|
|
52
|
+
class FirewallAttachment extends pulumi.CustomResource {
|
|
53
|
+
constructor(name, argsOrState, opts) {
|
|
54
|
+
let resourceInputs = {};
|
|
55
|
+
opts = opts || {};
|
|
56
|
+
if (opts.id) {
|
|
57
|
+
const state = argsOrState;
|
|
58
|
+
resourceInputs["firewallId"] = state ? state.firewallId : undefined;
|
|
59
|
+
resourceInputs["labelSelectors"] = state ? state.labelSelectors : undefined;
|
|
60
|
+
resourceInputs["serverIds"] = state ? state.serverIds : undefined;
|
|
61
|
+
}
|
|
62
|
+
else {
|
|
63
|
+
const args = argsOrState;
|
|
64
|
+
if ((!args || args.firewallId === undefined) && !opts.urn) {
|
|
65
|
+
throw new Error("Missing required property 'firewallId'");
|
|
66
|
+
}
|
|
67
|
+
resourceInputs["firewallId"] = args ? args.firewallId : undefined;
|
|
68
|
+
resourceInputs["labelSelectors"] = args ? args.labelSelectors : undefined;
|
|
69
|
+
resourceInputs["serverIds"] = args ? args.serverIds : undefined;
|
|
70
|
+
}
|
|
71
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
72
|
+
super(FirewallAttachment.__pulumiType, name, resourceInputs, opts);
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Get an existing FirewallAttachment resource's state with the given name, ID, and optional extra
|
|
76
|
+
* properties used to qualify the lookup.
|
|
77
|
+
*
|
|
78
|
+
* @param name The _unique_ name of the resulting resource.
|
|
79
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
80
|
+
* @param state Any extra arguments used during the lookup.
|
|
81
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
82
|
+
*/
|
|
83
|
+
static get(name, id, state, opts) {
|
|
84
|
+
return new FirewallAttachment(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Returns true if the given object is an instance of FirewallAttachment. This is designed to work even
|
|
88
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
89
|
+
*/
|
|
90
|
+
static isInstance(obj) {
|
|
91
|
+
if (obj === undefined || obj === null) {
|
|
92
|
+
return false;
|
|
93
|
+
}
|
|
94
|
+
return obj['__pulumiType'] === FirewallAttachment.__pulumiType;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
exports.FirewallAttachment = FirewallAttachment;
|
|
98
|
+
/** @internal */
|
|
99
|
+
FirewallAttachment.__pulumiType = 'hcloud:index/firewallAttachment:FirewallAttachment';
|
|
100
|
+
//# sourceMappingURL=firewallAttachment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"firewallAttachment.js","sourceRoot":"","sources":["../firewallAttachment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IAoDzD,YAAY,IAAY,EAAE,WAA8D,EAAE,IAAmC;QACzH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAkD,CAAC;YACjE,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;SACrE;aAAM;Y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ation.d.ts
CHANGED
|
@@ -63,6 +63,10 @@ export interface GetLocationResult {
|
|
|
63
63
|
* (string) Name of the location.
|
|
64
64
|
*/
|
|
65
65
|
readonly name: string;
|
|
66
|
+
/**
|
|
67
|
+
* (string) Network Zone of the location.
|
|
68
|
+
*/
|
|
69
|
+
readonly networkZone: string;
|
|
66
70
|
}
|
|
67
71
|
export declare function getLocationOutput(args?: GetLocationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetLocationResult>;
|
|
68
72
|
/**
|
package/getLocation.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getLocation.js","sourceRoot":"","sources":["../getLocation.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,WAAW,CAAC,IAAsB,EAAE,IAA2B;IAC3E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,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,sCAAsC,EAAE;QACjE,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,kCAWC;
|
|
1
|
+
{"version":3,"file":"getLocation.js","sourceRoot":"","sources":["../getLocation.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,WAAW,CAAC,IAAsB,EAAE,IAA2B;IAC3E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,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,sCAAsC,EAAE;QACjE,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,kCAWC;AAsDD,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAA2B;IACvF,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/index.d.ts
CHANGED
package/index.js
CHANGED
|
@@ -3,7 +3,11 @@
|
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
5
|
if (k2 === undefined) k2 = k;
|
|
6
|
-
Object.
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
7
11
|
}) : (function(o, m, k, k2) {
|
|
8
12
|
if (k2 === undefined) k2 = k;
|
|
9
13
|
o[k2] = m[k];
|
|
@@ -18,6 +22,7 @@ const utilities = require("./utilities");
|
|
|
18
22
|
// Export members:
|
|
19
23
|
__exportStar(require("./certificate"), exports);
|
|
20
24
|
__exportStar(require("./firewall"), exports);
|
|
25
|
+
__exportStar(require("./firewallAttachment"), exports);
|
|
21
26
|
__exportStar(require("./floatingIp"), exports);
|
|
22
27
|
__exportStar(require("./floatingIpAssignment"), exports);
|
|
23
28
|
__exportStar(require("./getCertificate"), exports);
|
|
@@ -72,6 +77,7 @@ exports.types = types;
|
|
|
72
77
|
// Import resources to register:
|
|
73
78
|
const certificate_1 = require("./certificate");
|
|
74
79
|
const firewall_1 = require("./firewall");
|
|
80
|
+
const firewallAttachment_1 = require("./firewallAttachment");
|
|
75
81
|
const floatingIp_1 = require("./floatingIp");
|
|
76
82
|
const floatingIpAssignment_1 = require("./floatingIpAssignment");
|
|
77
83
|
const loadBalancer_1 = require("./loadBalancer");
|
|
@@ -99,6 +105,8 @@ const _module = {
|
|
|
99
105
|
return new certificate_1.Certificate(name, undefined, { urn });
|
|
100
106
|
case "hcloud:index/firewall:Firewall":
|
|
101
107
|
return new firewall_1.Firewall(name, undefined, { urn });
|
|
108
|
+
case "hcloud:index/firewallAttachment:FirewallAttachment":
|
|
109
|
+
return new firewallAttachment_1.FirewallAttachment(name, undefined, { urn });
|
|
102
110
|
case "hcloud:index/floatingIp:FloatingIp":
|
|
103
111
|
return new floatingIp_1.FloatingIp(name, undefined, { urn });
|
|
104
112
|
case "hcloud:index/floatingIpAssignment:FloatingIpAssignment":
|
|
@@ -144,6 +152,7 @@ const _module = {
|
|
|
144
152
|
};
|
|
145
153
|
pulumi.runtime.registerResourceModule("hcloud", "index/certificate", _module);
|
|
146
154
|
pulumi.runtime.registerResourceModule("hcloud", "index/firewall", _module);
|
|
155
|
+
pulumi.runtime.registerResourceModule("hcloud", "index/firewallAttachment", _module);
|
|
147
156
|
pulumi.runtime.registerResourceModule("hcloud", "index/floatingIp", _module);
|
|
148
157
|
pulumi.runtime.registerResourceModule("hcloud", "index/floatingIpAssignment", _module);
|
|
149
158
|
pulumi.runtime.registerResourceModule("hcloud", "index/loadBalancer", _module);
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"m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AAI,IAAI,KAAK,yBAAyB,EAAE;YACpC,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACpD;QACD,OAAO,IAAI,mBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;IACvD,CAAC;CACJ,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/hcloud",
|
|
3
|
-
"version": "v1.8.0
|
|
3
|
+
"version": "v1.8.0",
|
|
4
4
|
"description": "A Pulumi package for creating and managing hcloud cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"license": "Apache-2.0",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"build": "tsc",
|
|
14
|
-
"install": "node scripts/install-pulumi-plugin.js resource hcloud v1.8.0
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource hcloud v1.8.0"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@pulumi/pulumi": "^3.0.0"
|
package/package.json.dev
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/hcloud",
|
|
3
|
-
"version": "v1.8.0
|
|
3
|
+
"version": "v1.8.0",
|
|
4
4
|
"description": "A Pulumi package for creating and managing hcloud cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"license": "Apache-2.0",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"build": "tsc",
|
|
14
|
-
"install": "node scripts/install-pulumi-plugin.js resource hcloud v1.8.0
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource hcloud v1.8.0"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@pulumi/pulumi": "^3.0.0"
|
package/server.d.ts
CHANGED
|
@@ -48,9 +48,17 @@ export declare class Server extends pulumi.CustomResource {
|
|
|
48
48
|
*/
|
|
49
49
|
readonly firewallIds: pulumi.Output<number[]>;
|
|
50
50
|
/**
|
|
51
|
-
*
|
|
51
|
+
* Ingores any updates
|
|
52
|
+
* to the `firewallIds` argument which were received from the server.
|
|
53
|
+
* This should not be used in normal cases. See the documentation of the
|
|
54
|
+
* `hcloud.FirewallAttachment` resouce for a reason to use this
|
|
55
|
+
* argument.
|
|
52
56
|
*/
|
|
53
|
-
readonly
|
|
57
|
+
readonly ignoreRemoteFirewallIds: pulumi.Output<boolean | undefined>;
|
|
58
|
+
/**
|
|
59
|
+
* (string) Name or ID of the image the server was created from.
|
|
60
|
+
*/
|
|
61
|
+
readonly image: pulumi.Output<string | undefined>;
|
|
54
62
|
/**
|
|
55
63
|
* (string) The IPv4 address.
|
|
56
64
|
*/
|
|
@@ -78,7 +86,7 @@ export declare class Server extends pulumi.CustomResource {
|
|
|
78
86
|
[key: string]: any;
|
|
79
87
|
} | undefined>;
|
|
80
88
|
/**
|
|
81
|
-
* The location name to create the server in. `nbg1`, `fsn1` or `
|
|
89
|
+
* The location name to create the server in. `nbg1`, `fsn1`, `hel1` or `ash`
|
|
82
90
|
*/
|
|
83
91
|
readonly location: pulumi.Output<string>;
|
|
84
92
|
/**
|
|
@@ -153,7 +161,15 @@ export interface ServerState {
|
|
|
153
161
|
*/
|
|
154
162
|
firewallIds?: pulumi.Input<pulumi.Input<number>[]>;
|
|
155
163
|
/**
|
|
156
|
-
*
|
|
164
|
+
* Ingores any updates
|
|
165
|
+
* to the `firewallIds` argument which were received from the server.
|
|
166
|
+
* This should not be used in normal cases. See the documentation of the
|
|
167
|
+
* `hcloud.FirewallAttachment` resouce for a reason to use this
|
|
168
|
+
* argument.
|
|
169
|
+
*/
|
|
170
|
+
ignoreRemoteFirewallIds?: pulumi.Input<boolean>;
|
|
171
|
+
/**
|
|
172
|
+
* (string) Name or ID of the image the server was created from.
|
|
157
173
|
*/
|
|
158
174
|
image?: pulumi.Input<string>;
|
|
159
175
|
/**
|
|
@@ -183,7 +199,7 @@ export interface ServerState {
|
|
|
183
199
|
[key: string]: any;
|
|
184
200
|
}>;
|
|
185
201
|
/**
|
|
186
|
-
* The location name to create the server in. `nbg1`, `fsn1` or `
|
|
202
|
+
* The location name to create the server in. `nbg1`, `fsn1`, `hel1` or `ash`
|
|
187
203
|
*/
|
|
188
204
|
location?: pulumi.Input<string>;
|
|
189
205
|
/**
|
|
@@ -244,9 +260,17 @@ export interface ServerArgs {
|
|
|
244
260
|
*/
|
|
245
261
|
firewallIds?: pulumi.Input<pulumi.Input<number>[]>;
|
|
246
262
|
/**
|
|
247
|
-
*
|
|
263
|
+
* Ingores any updates
|
|
264
|
+
* to the `firewallIds` argument which were received from the server.
|
|
265
|
+
* This should not be used in normal cases. See the documentation of the
|
|
266
|
+
* `hcloud.FirewallAttachment` resouce for a reason to use this
|
|
267
|
+
* argument.
|
|
248
268
|
*/
|
|
249
|
-
|
|
269
|
+
ignoreRemoteFirewallIds?: pulumi.Input<boolean>;
|
|
270
|
+
/**
|
|
271
|
+
* (string) Name or ID of the image the server was created from.
|
|
272
|
+
*/
|
|
273
|
+
image?: pulumi.Input<string>;
|
|
250
274
|
/**
|
|
251
275
|
* ID or Name of an ISO image to mount.
|
|
252
276
|
*/
|
|
@@ -262,7 +286,7 @@ export interface ServerArgs {
|
|
|
262
286
|
[key: string]: any;
|
|
263
287
|
}>;
|
|
264
288
|
/**
|
|
265
|
-
* The location name to create the server in. `nbg1`, `fsn1` or `
|
|
289
|
+
* The location name to create the server in. `nbg1`, `fsn1`, `hel1` or `ash`
|
|
266
290
|
*/
|
|
267
291
|
location?: pulumi.Input<string>;
|
|
268
292
|
/**
|
package/server.js
CHANGED
|
@@ -25,6 +25,7 @@ class Server extends pulumi.CustomResource {
|
|
|
25
25
|
resourceInputs["datacenter"] = state ? state.datacenter : undefined;
|
|
26
26
|
resourceInputs["deleteProtection"] = state ? state.deleteProtection : undefined;
|
|
27
27
|
resourceInputs["firewallIds"] = state ? state.firewallIds : undefined;
|
|
28
|
+
resourceInputs["ignoreRemoteFirewallIds"] = state ? state.ignoreRemoteFirewallIds : undefined;
|
|
28
29
|
resourceInputs["image"] = state ? state.image : undefined;
|
|
29
30
|
resourceInputs["ipv4Address"] = state ? state.ipv4Address : undefined;
|
|
30
31
|
resourceInputs["ipv6Address"] = state ? state.ipv6Address : undefined;
|
|
@@ -45,9 +46,6 @@ class Server extends pulumi.CustomResource {
|
|
|
45
46
|
}
|
|
46
47
|
else {
|
|
47
48
|
const args = argsOrState;
|
|
48
|
-
if ((!args || args.image === undefined) && !opts.urn) {
|
|
49
|
-
throw new Error("Missing required property 'image'");
|
|
50
|
-
}
|
|
51
49
|
if ((!args || args.serverType === undefined) && !opts.urn) {
|
|
52
50
|
throw new Error("Missing required property 'serverType'");
|
|
53
51
|
}
|
|
@@ -55,6 +53,7 @@ class Server extends pulumi.CustomResource {
|
|
|
55
53
|
resourceInputs["datacenter"] = args ? args.datacenter : undefined;
|
|
56
54
|
resourceInputs["deleteProtection"] = args ? args.deleteProtection : undefined;
|
|
57
55
|
resourceInputs["firewallIds"] = args ? args.firewallIds : undefined;
|
|
56
|
+
resourceInputs["ignoreRemoteFirewallIds"] = args ? args.ignoreRemoteFirewallIds : undefined;
|
|
58
57
|
resourceInputs["image"] = args ? args.image : undefined;
|
|
59
58
|
resourceInputs["iso"] = args ? args.iso : undefined;
|
|
60
59
|
resourceInputs["keepDisk"] = args ? args.keepDisk : undefined;
|
package/server.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server.js","sourceRoot":"","sources":["../server.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;GAQG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"server.js","sourceR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|
*/
|
|
43
43
|
readonly fingerprint: pulumi.Output<string>;
|
|
44
44
|
/**
|
|
45
|
-
*
|
|
45
|
+
* User-defined labels (key-value pairs) should be created with.
|
|
46
46
|
*/
|
|
47
47
|
readonly labels: pulumi.Output<{
|
|
48
48
|
[key: string]: any;
|
|
@@ -73,7 +73,7 @@ export interface SshKeyState {
|
|
|
73
73
|
*/
|
|
74
74
|
fingerprint?: pulumi.Input<string>;
|
|
75
75
|
/**
|
|
76
|
-
*
|
|
76
|
+
* User-defined labels (key-value pairs) should be created with.
|
|
77
77
|
*/
|
|
78
78
|
labels?: pulumi.Input<{
|
|
79
79
|
[key: string]: any;
|
|
@@ -92,7 +92,7 @@ export interface SshKeyState {
|
|
|
92
92
|
*/
|
|
93
93
|
export interface SshKeyArgs {
|
|
94
94
|
/**
|
|
95
|
-
*
|
|
95
|
+
* User-defined labels (key-value pairs) should be created with.
|
|
96
96
|
*/
|
|
97
97
|
labels?: pulumi.Input<{
|
|
98
98
|
[key: string]: any;
|