@pulumi/hcloud 1.10.0 → 1.10.2
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/certificate.js +25 -23
- package/certificate.js.map +1 -1
- package/firewall.d.ts +3 -2
- package/firewall.js +21 -21
- package/firewall.js.map +1 -1
- package/firewallAttachment.js +21 -21
- package/firewallAttachment.js.map +1 -1
- package/floatingIp.d.ts +4 -4
- package/floatingIp.js +23 -23
- package/floatingIp.js.map +1 -1
- package/floatingIpAssignment.js +22 -22
- package/floatingIpAssignment.js.map +1 -1
- package/getCertificate.d.ts +19 -4
- package/getCertificate.js +21 -9
- package/getCertificate.js.map +1 -1
- package/getCertificates.d.ts +17 -3
- package/getCertificates.js +18 -7
- package/getCertificates.js.map +1 -1
- package/getDatacenter.d.ts +22 -4
- package/getDatacenter.js +24 -9
- package/getDatacenter.js.map +1 -1
- package/getDatacenters.d.ts +5 -1
- package/getDatacenters.js +6 -5
- package/getDatacenters.js.map +1 -1
- package/getFirewall.d.ts +21 -5
- package/getFirewall.js +21 -9
- package/getFirewall.js.map +1 -1
- package/getFirewalls.d.ts +17 -3
- package/getFirewalls.js +18 -7
- package/getFirewalls.js.map +1 -1
- package/getFloatingIp.d.ts +32 -2
- package/getFloatingIp.js +33 -6
- package/getFloatingIp.js.map +1 -1
- package/getFloatingIps.d.ts +17 -3
- package/getFloatingIps.js +18 -7
- package/getFloatingIps.js.map +1 -1
- package/getImage.d.ts +19 -0
- package/getImage.js +21 -5
- package/getImage.js.map +1 -1
- package/getImages.d.ts +19 -4
- package/getImages.js +20 -8
- package/getImages.js.map +1 -1
- package/getLoadBalancer.d.ts +36 -8
- package/getLoadBalancer.js +28 -11
- package/getLoadBalancer.js.map +1 -1
- package/getLoadBalancers.d.ts +19 -4
- package/getLoadBalancers.js +20 -8
- package/getLoadBalancers.js.map +1 -1
- package/getLocation.d.ts +22 -4
- package/getLocation.js +24 -9
- package/getLocation.js.map +1 -1
- package/getLocations.d.ts +5 -1
- package/getLocations.js +6 -5
- package/getLocations.js.map +1 -1
- package/getNetwork.d.ts +25 -7
- package/getNetwork.js +26 -11
- package/getNetwork.js.map +1 -1
- package/getNetworks.d.ts +19 -4
- package/getNetworks.js +20 -8
- package/getNetworks.js.map +1 -1
- package/getPlacementGroup.d.ts +19 -4
- package/getPlacementGroup.js +21 -9
- package/getPlacementGroup.js.map +1 -1
- package/getPlacementGroups.d.ts +19 -4
- package/getPlacementGroups.js +20 -8
- package/getPlacementGroups.js.map +1 -1
- package/getPrimaryIp.d.ts +55 -5
- package/getPrimaryIp.js +49 -5
- package/getPrimaryIp.js.map +1 -1
- package/getPrimaryIps.d.ts +17 -3
- package/getPrimaryIps.js +18 -7
- package/getPrimaryIps.js.map +1 -1
- package/getServer.d.ts +27 -9
- package/getServer.js +26 -11
- package/getServer.js.map +1 -1
- package/getServerType.d.ts +22 -4
- package/getServerType.js +24 -9
- package/getServerType.js.map +1 -1
- package/getServerTypes.d.ts +4 -1
- package/getServerTypes.js +5 -5
- package/getServerTypes.js.map +1 -1
- package/getServers.d.ts +15 -3
- package/getServers.js +16 -7
- package/getServers.js.map +1 -1
- package/getSshKey.d.ts +26 -0
- package/getSshKey.js +28 -5
- package/getSshKey.js.map +1 -1
- package/getSshKeys.d.ts +15 -1
- package/getSshKeys.js +16 -5
- package/getSshKeys.js.map +1 -1
- package/getVolume.d.ts +25 -7
- package/getVolume.js +26 -11
- package/getVolume.js.map +1 -1
- package/getVolumes.d.ts +19 -4
- package/getVolumes.js +20 -8
- package/getVolumes.js.map +1 -1
- package/index.d.ts +156 -52
- package/index.js +158 -117
- package/index.js.map +1 -1
- package/loadBalancer.d.ts +21 -8
- package/loadBalancer.js +23 -23
- package/loadBalancer.js.map +1 -1
- package/loadBalancerNetwork.js +22 -22
- package/loadBalancerNetwork.js.map +1 -1
- package/loadBalancerService.d.ts +2 -1
- package/loadBalancerService.js +22 -22
- package/loadBalancerService.js.map +1 -1
- package/loadBalancerTarget.d.ts +16 -0
- package/loadBalancerTarget.js +38 -22
- package/loadBalancerTarget.js.map +1 -1
- package/managedCertificate.d.ts +1 -1
- package/managedCertificate.js +23 -23
- package/managedCertificate.js.map +1 -1
- package/network.d.ts +2 -4
- package/network.js +24 -26
- package/network.js.map +1 -1
- package/networkRoute.js +22 -22
- package/networkRoute.js.map +1 -1
- package/networkSubnet.js +22 -22
- package/networkSubnet.js.map +1 -1
- package/package.json +4 -3
- package/package.json.bak +2 -1
- package/package.json.dev +4 -3
- package/placementGroup.d.ts +1 -1
- package/placementGroup.js +23 -23
- package/placementGroup.js.map +1 -1
- package/primaryIp.d.ts +16 -7
- package/primaryIp.js +23 -23
- package/primaryIp.js.map +1 -1
- package/provider.js +13 -11
- package/provider.js.map +1 -1
- package/rdns.d.ts +8 -8
- package/rdns.js +30 -30
- package/rdns.js.map +1 -1
- package/server.d.ts +23 -2
- package/server.js +43 -23
- package/server.js.map +1 -1
- package/serverNetwork.js +22 -22
- package/serverNetwork.js.map +1 -1
- package/snapshot.d.ts +1 -1
- package/snapshot.js +22 -22
- package/snapshot.js.map +1 -1
- package/sshKey.d.ts +2 -2
- package/sshKey.js +24 -24
- package/sshKey.js.map +1 -1
- package/types/index.js.map +1 -1
- package/types/input.d.ts +15 -15
- package/types/output.d.ts +4 -2
- package/uploadedCertificate.d.ts +1 -1
- package/uploadedCertificate.js +26 -24
- package/uploadedCertificate.js.map +1 -1
- package/utilities.js +13 -1
- package/utilities.js.map +1 -1
- package/volume.d.ts +4 -4
- package/volume.js +23 -23
- package/volume.js.map +1 -1
- package/volumeAttachment.js +22 -22
- package/volumeAttachment.js.map +1 -1
package/networkRoute.js
CHANGED
|
@@ -31,6 +31,28 @@ const utilities = require("./utilities");
|
|
|
31
31
|
* ```
|
|
32
32
|
*/
|
|
33
33
|
class NetworkRoute extends pulumi.CustomResource {
|
|
34
|
+
/**
|
|
35
|
+
* Get an existing NetworkRoute resource's state with the given name, ID, and optional extra
|
|
36
|
+
* properties used to qualify the lookup.
|
|
37
|
+
*
|
|
38
|
+
* @param name The _unique_ name of the resulting resource.
|
|
39
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
40
|
+
* @param state Any extra arguments used during the lookup.
|
|
41
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
42
|
+
*/
|
|
43
|
+
static get(name, id, state, opts) {
|
|
44
|
+
return new NetworkRoute(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Returns true if the given object is an instance of NetworkRoute. This is designed to work even
|
|
48
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
49
|
+
*/
|
|
50
|
+
static isInstance(obj) {
|
|
51
|
+
if (obj === undefined || obj === null) {
|
|
52
|
+
return false;
|
|
53
|
+
}
|
|
54
|
+
return obj['__pulumiType'] === NetworkRoute.__pulumiType;
|
|
55
|
+
}
|
|
34
56
|
constructor(name, argsOrState, opts) {
|
|
35
57
|
let resourceInputs = {};
|
|
36
58
|
opts = opts || {};
|
|
@@ -58,28 +80,6 @@ class NetworkRoute extends pulumi.CustomResource {
|
|
|
58
80
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
59
81
|
super(NetworkRoute.__pulumiType, name, resourceInputs, opts);
|
|
60
82
|
}
|
|
61
|
-
/**
|
|
62
|
-
* Get an existing NetworkRoute resource's state with the given name, ID, and optional extra
|
|
63
|
-
* properties used to qualify the lookup.
|
|
64
|
-
*
|
|
65
|
-
* @param name The _unique_ name of the resulting resource.
|
|
66
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
67
|
-
* @param state Any extra arguments used during the lookup.
|
|
68
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
69
|
-
*/
|
|
70
|
-
static get(name, id, state, opts) {
|
|
71
|
-
return new NetworkRoute(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
72
|
-
}
|
|
73
|
-
/**
|
|
74
|
-
* Returns true if the given object is an instance of NetworkRoute. This is designed to work even
|
|
75
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
76
|
-
*/
|
|
77
|
-
static isInstance(obj) {
|
|
78
|
-
if (obj === undefined || obj === null) {
|
|
79
|
-
return false;
|
|
80
|
-
}
|
|
81
|
-
return obj['__pulumiType'] === NetworkRoute.__pulumiType;
|
|
82
|
-
}
|
|
83
83
|
}
|
|
84
84
|
exports.NetworkRoute = NetworkRoute;
|
|
85
85
|
/** @internal */
|
package/networkRoute.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"networkRoute.js","sourceRoot":"","sources":["../networkRoute.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"networkRoute.js","sourceRoot":"","sources":["../networkRoute.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnE,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,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;IAuBD,YAAY,I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CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;SACnE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AA1EL,oCA2EC;AA7DG,gBAAgB;AACO,yBAAY,GAAG,wCAAwC,CAAC"}
|
package/networkSubnet.js
CHANGED
|
@@ -32,6 +32,28 @@ const utilities = require("./utilities");
|
|
|
32
32
|
* ```
|
|
33
33
|
*/
|
|
34
34
|
class NetworkSubnet extends pulumi.CustomResource {
|
|
35
|
+
/**
|
|
36
|
+
* Get an existing NetworkSubnet 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 NetworkSubnet(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Returns true if the given object is an instance of NetworkSubnet. 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'] === NetworkSubnet.__pulumiType;
|
|
56
|
+
}
|
|
35
57
|
constructor(name, argsOrState, opts) {
|
|
36
58
|
let resourceInputs = {};
|
|
37
59
|
opts = opts || {};
|
|
@@ -68,28 +90,6 @@ class NetworkSubnet extends pulumi.CustomResource {
|
|
|
68
90
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
69
91
|
super(NetworkSubnet.__pulumiType, name, resourceInputs, opts);
|
|
70
92
|
}
|
|
71
|
-
/**
|
|
72
|
-
* Get an existing NetworkSubnet resource's state with the given name, ID, and optional extra
|
|
73
|
-
* properties used to qualify the lookup.
|
|
74
|
-
*
|
|
75
|
-
* @param name The _unique_ name of the resulting resource.
|
|
76
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
77
|
-
* @param state Any extra arguments used during the lookup.
|
|
78
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
79
|
-
*/
|
|
80
|
-
static get(name, id, state, opts) {
|
|
81
|
-
return new NetworkSubnet(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
82
|
-
}
|
|
83
|
-
/**
|
|
84
|
-
* Returns true if the given object is an instance of NetworkSubnet. This is designed to work even
|
|
85
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
86
|
-
*/
|
|
87
|
-
static isInstance(obj) {
|
|
88
|
-
if (obj === undefined || obj === null) {
|
|
89
|
-
return false;
|
|
90
|
-
}
|
|
91
|
-
return obj['__pulumiType'] === NetworkSubnet.__pulumiType;
|
|
92
|
-
}
|
|
93
93
|
}
|
|
94
94
|
exports.NetworkSubnet = NetworkSubnet;
|
|
95
95
|
/** @internal */
|
package/networkSubnet.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"networkSubnet.js","sourceRoot":"","sources":["../networkSubnet.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;
|
|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IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AA5FL,sCA6FC;AA/EG,gBAAgB;AACO,0BAAY,GAAG,0CAA0C,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/hcloud",
|
|
3
|
-
"version": "v1.10.
|
|
3
|
+
"version": "v1.10.2",
|
|
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.10.
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource hcloud v1.10.2"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@pulumi/pulumi": "^3.0.0"
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
"typescript": "^4.3.5"
|
|
23
23
|
},
|
|
24
24
|
"pulumi": {
|
|
25
|
-
"resource": true
|
|
25
|
+
"resource": true,
|
|
26
|
+
"name": "hcloud"
|
|
26
27
|
}
|
|
27
28
|
}
|
package/package.json.bak
CHANGED
package/package.json.dev
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/hcloud",
|
|
3
|
-
"version": "v1.10.
|
|
3
|
+
"version": "v1.10.2",
|
|
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.10.
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource hcloud v1.10.2"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@pulumi/pulumi": "^3.0.0"
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
"typescript": "^4.3.5"
|
|
23
23
|
},
|
|
24
24
|
"pulumi": {
|
|
25
|
-
"resource": true
|
|
25
|
+
"resource": true,
|
|
26
|
+
"name": "hcloud"
|
|
26
27
|
}
|
|
27
28
|
}
|
package/placementGroup.d.ts
CHANGED
|
@@ -26,7 +26,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
26
26
|
* Placement Groups can be imported using its `id`
|
|
27
27
|
*
|
|
28
28
|
* ```sh
|
|
29
|
-
* $ pulumi import hcloud:index/placementGroup:PlacementGroup my-placement-group
|
|
29
|
+
* $ pulumi import hcloud:index/placementGroup:PlacementGroup my-placement-group id
|
|
30
30
|
* ```
|
|
31
31
|
*/
|
|
32
32
|
export declare class PlacementGroup extends pulumi.CustomResource {
|
package/placementGroup.js
CHANGED
|
@@ -32,10 +32,32 @@ const utilities = require("./utilities");
|
|
|
32
32
|
* Placement Groups can be imported using its `id`
|
|
33
33
|
*
|
|
34
34
|
* ```sh
|
|
35
|
-
* $ pulumi import hcloud:index/placementGroup:PlacementGroup my-placement-group
|
|
35
|
+
* $ pulumi import hcloud:index/placementGroup:PlacementGroup my-placement-group id
|
|
36
36
|
* ```
|
|
37
37
|
*/
|
|
38
38
|
class PlacementGroup extends pulumi.CustomResource {
|
|
39
|
+
/**
|
|
40
|
+
* Get an existing PlacementGroup resource's state with the given name, ID, and optional extra
|
|
41
|
+
* properties used to qualify the lookup.
|
|
42
|
+
*
|
|
43
|
+
* @param name The _unique_ name of the resulting resource.
|
|
44
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
45
|
+
* @param state Any extra arguments used during the lookup.
|
|
46
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
47
|
+
*/
|
|
48
|
+
static get(name, id, state, opts) {
|
|
49
|
+
return new PlacementGroup(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Returns true if the given object is an instance of PlacementGroup. This is designed to work even
|
|
53
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
54
|
+
*/
|
|
55
|
+
static isInstance(obj) {
|
|
56
|
+
if (obj === undefined || obj === null) {
|
|
57
|
+
return false;
|
|
58
|
+
}
|
|
59
|
+
return obj['__pulumiType'] === PlacementGroup.__pulumiType;
|
|
60
|
+
}
|
|
39
61
|
constructor(name, argsOrState, opts) {
|
|
40
62
|
let resourceInputs = {};
|
|
41
63
|
opts = opts || {};
|
|
@@ -59,28 +81,6 @@ class PlacementGroup extends pulumi.CustomResource {
|
|
|
59
81
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
60
82
|
super(PlacementGroup.__pulumiType, name, resourceInputs, opts);
|
|
61
83
|
}
|
|
62
|
-
/**
|
|
63
|
-
* Get an existing PlacementGroup resource's state with the given name, ID, and optional extra
|
|
64
|
-
* properties used to qualify the lookup.
|
|
65
|
-
*
|
|
66
|
-
* @param name The _unique_ name of the resulting resource.
|
|
67
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
68
|
-
* @param state Any extra arguments used during the lookup.
|
|
69
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
70
|
-
*/
|
|
71
|
-
static get(name, id, state, opts) {
|
|
72
|
-
return new PlacementGroup(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
73
|
-
}
|
|
74
|
-
/**
|
|
75
|
-
* Returns true if the given object is an instance of PlacementGroup. This is designed to work even
|
|
76
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
77
|
-
*/
|
|
78
|
-
static isInstance(obj) {
|
|
79
|
-
if (obj === undefined || obj === null) {
|
|
80
|
-
return false;
|
|
81
|
-
}
|
|
82
|
-
return obj['__pulumiType'] === PlacementGroup.__pulumiType;
|
|
83
|
-
}
|
|
84
84
|
}
|
|
85
85
|
exports.PlacementGroup = PlacementGroup;
|
|
86
86
|
/** @internal */
|
package/placementGroup.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"placementGroup.js","sourceRoot":"","sources":["../placementGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"placementGroup.js","sourceRoot":"","sources":["../placementGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,EAAE,IAAmC;QACzH,OAAO,IAAI,cAAc,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EA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,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AAvEL,wCAwEC;AA1DG,gBAAgB;AACO,2BAAY,GAAG,4CAA4C,CAAC"}
|
package/primaryIp.d.ts
CHANGED
|
@@ -39,7 +39,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
39
39
|
* Primary IPs can be imported using its `id`
|
|
40
40
|
*
|
|
41
41
|
* ```sh
|
|
42
|
-
* $ pulumi import hcloud:index/primaryIp:PrimaryIp myip
|
|
42
|
+
* $ pulumi import hcloud:index/primaryIp:PrimaryIp myip id
|
|
43
43
|
* ```
|
|
44
44
|
*/
|
|
45
45
|
export declare class PrimaryIp extends pulumi.CustomResource {
|
|
@@ -63,7 +63,7 @@ export declare class PrimaryIp extends pulumi.CustomResource {
|
|
|
63
63
|
*/
|
|
64
64
|
readonly assigneeId: pulumi.Output<number>;
|
|
65
65
|
/**
|
|
66
|
-
* The type of the assigned resource.
|
|
66
|
+
* The type of the assigned resource. Currently supported: `server`
|
|
67
67
|
*/
|
|
68
68
|
readonly assigneeType: pulumi.Output<string>;
|
|
69
69
|
/**
|
|
@@ -71,6 +71,9 @@ export declare class PrimaryIp extends pulumi.CustomResource {
|
|
|
71
71
|
* `Important note:`It is recommended to set `autoDelete` to `false`, because if a server assigned to the managed ip is getting deleted, it will also delete the primary IP which will break the TF state.
|
|
72
72
|
*/
|
|
73
73
|
readonly autoDelete: pulumi.Output<boolean>;
|
|
74
|
+
/**
|
|
75
|
+
* The datacenter name to create the resource in.
|
|
76
|
+
*/
|
|
74
77
|
readonly datacenter: pulumi.Output<string>;
|
|
75
78
|
/**
|
|
76
79
|
* Whether delete protection is enabled.
|
|
@@ -92,7 +95,7 @@ export declare class PrimaryIp extends pulumi.CustomResource {
|
|
|
92
95
|
*/
|
|
93
96
|
readonly name: pulumi.Output<string>;
|
|
94
97
|
/**
|
|
95
|
-
* Type of the Primary IP.
|
|
98
|
+
* Type of the Primary IP. `ipv4` or `ipv6`
|
|
96
99
|
*/
|
|
97
100
|
readonly type: pulumi.Output<string>;
|
|
98
101
|
/**
|
|
@@ -113,7 +116,7 @@ export interface PrimaryIpState {
|
|
|
113
116
|
*/
|
|
114
117
|
assigneeId?: pulumi.Input<number>;
|
|
115
118
|
/**
|
|
116
|
-
* The type of the assigned resource.
|
|
119
|
+
* The type of the assigned resource. Currently supported: `server`
|
|
117
120
|
*/
|
|
118
121
|
assigneeType?: pulumi.Input<string>;
|
|
119
122
|
/**
|
|
@@ -121,6 +124,9 @@ export interface PrimaryIpState {
|
|
|
121
124
|
* `Important note:`It is recommended to set `autoDelete` to `false`, because if a server assigned to the managed ip is getting deleted, it will also delete the primary IP which will break the TF state.
|
|
122
125
|
*/
|
|
123
126
|
autoDelete?: pulumi.Input<boolean>;
|
|
127
|
+
/**
|
|
128
|
+
* The datacenter name to create the resource in.
|
|
129
|
+
*/
|
|
124
130
|
datacenter?: pulumi.Input<string>;
|
|
125
131
|
/**
|
|
126
132
|
* Whether delete protection is enabled.
|
|
@@ -142,7 +148,7 @@ export interface PrimaryIpState {
|
|
|
142
148
|
*/
|
|
143
149
|
name?: pulumi.Input<string>;
|
|
144
150
|
/**
|
|
145
|
-
* Type of the Primary IP.
|
|
151
|
+
* Type of the Primary IP. `ipv4` or `ipv6`
|
|
146
152
|
*/
|
|
147
153
|
type?: pulumi.Input<string>;
|
|
148
154
|
}
|
|
@@ -155,7 +161,7 @@ export interface PrimaryIpArgs {
|
|
|
155
161
|
*/
|
|
156
162
|
assigneeId?: pulumi.Input<number>;
|
|
157
163
|
/**
|
|
158
|
-
* The type of the assigned resource.
|
|
164
|
+
* The type of the assigned resource. Currently supported: `server`
|
|
159
165
|
*/
|
|
160
166
|
assigneeType: pulumi.Input<string>;
|
|
161
167
|
/**
|
|
@@ -163,6 +169,9 @@ export interface PrimaryIpArgs {
|
|
|
163
169
|
* `Important note:`It is recommended to set `autoDelete` to `false`, because if a server assigned to the managed ip is getting deleted, it will also delete the primary IP which will break the TF state.
|
|
164
170
|
*/
|
|
165
171
|
autoDelete: pulumi.Input<boolean>;
|
|
172
|
+
/**
|
|
173
|
+
* The datacenter name to create the resource in.
|
|
174
|
+
*/
|
|
166
175
|
datacenter?: pulumi.Input<string>;
|
|
167
176
|
/**
|
|
168
177
|
* Whether delete protection is enabled.
|
|
@@ -179,7 +188,7 @@ export interface PrimaryIpArgs {
|
|
|
179
188
|
*/
|
|
180
189
|
name?: pulumi.Input<string>;
|
|
181
190
|
/**
|
|
182
|
-
* Type of the Primary IP.
|
|
191
|
+
* Type of the Primary IP. `ipv4` or `ipv6`
|
|
183
192
|
*/
|
|
184
193
|
type: pulumi.Input<string>;
|
|
185
194
|
}
|
package/primaryIp.js
CHANGED
|
@@ -45,10 +45,32 @@ const utilities = require("./utilities");
|
|
|
45
45
|
* Primary IPs can be imported using its `id`
|
|
46
46
|
*
|
|
47
47
|
* ```sh
|
|
48
|
-
* $ pulumi import hcloud:index/primaryIp:PrimaryIp myip
|
|
48
|
+
* $ pulumi import hcloud:index/primaryIp:PrimaryIp myip id
|
|
49
49
|
* ```
|
|
50
50
|
*/
|
|
51
51
|
class PrimaryIp extends pulumi.CustomResource {
|
|
52
|
+
/**
|
|
53
|
+
* Get an existing PrimaryIp resource's state with the given name, ID, and optional extra
|
|
54
|
+
* properties used to qualify the lookup.
|
|
55
|
+
*
|
|
56
|
+
* @param name The _unique_ name of the resulting resource.
|
|
57
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
58
|
+
* @param state Any extra arguments used during the lookup.
|
|
59
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
60
|
+
*/
|
|
61
|
+
static get(name, id, state, opts) {
|
|
62
|
+
return new PrimaryIp(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Returns true if the given object is an instance of PrimaryIp. This is designed to work even
|
|
66
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
67
|
+
*/
|
|
68
|
+
static isInstance(obj) {
|
|
69
|
+
if (obj === undefined || obj === null) {
|
|
70
|
+
return false;
|
|
71
|
+
}
|
|
72
|
+
return obj['__pulumiType'] === PrimaryIp.__pulumiType;
|
|
73
|
+
}
|
|
52
74
|
constructor(name, argsOrState, opts) {
|
|
53
75
|
let resourceInputs = {};
|
|
54
76
|
opts = opts || {};
|
|
@@ -90,28 +112,6 @@ class PrimaryIp extends pulumi.CustomResource {
|
|
|
90
112
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
91
113
|
super(PrimaryIp.__pulumiType, name, resourceInputs, opts);
|
|
92
114
|
}
|
|
93
|
-
/**
|
|
94
|
-
* Get an existing PrimaryIp resource's state with the given name, ID, and optional extra
|
|
95
|
-
* properties used to qualify the lookup.
|
|
96
|
-
*
|
|
97
|
-
* @param name The _unique_ name of the resulting resource.
|
|
98
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
99
|
-
* @param state Any extra arguments used during the lookup.
|
|
100
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
101
|
-
*/
|
|
102
|
-
static get(name, id, state, opts) {
|
|
103
|
-
return new PrimaryIp(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
104
|
-
}
|
|
105
|
-
/**
|
|
106
|
-
* Returns true if the given object is an instance of PrimaryIp. This is designed to work even
|
|
107
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
108
|
-
*/
|
|
109
|
-
static isInstance(obj) {
|
|
110
|
-
if (obj === undefined || obj === null) {
|
|
111
|
-
return false;
|
|
112
|
-
}
|
|
113
|
-
return obj['__pulumiType'] === PrimaryIp.__pulumiType;
|
|
114
|
-
}
|
|
115
115
|
}
|
|
116
116
|
exports.PrimaryIp = PrimaryIp;
|
|
117
117
|
/** @internal */
|
package/primaryIp.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"primaryIp.js","sourceRoot":"","sources":["../primaryIp.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"primaryIp.js","sourceRoot":"","sources":["../primaryIp.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;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;I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C,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;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;;AAlHL,8BAmHC;AArGG,gBAAgB;AACO,sBAAY,GAAG,kCAAkC,CAAC"}
|
package/provider.js
CHANGED
|
@@ -12,6 +12,16 @@ const utilities = require("./utilities");
|
|
|
12
12
|
* [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.
|
|
13
13
|
*/
|
|
14
14
|
class Provider extends pulumi.ProviderResource {
|
|
15
|
+
/**
|
|
16
|
+
* Returns true if the given object is an instance of Provider. This is designed to work even
|
|
17
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
18
|
+
*/
|
|
19
|
+
static isInstance(obj) {
|
|
20
|
+
if (obj === undefined || obj === null) {
|
|
21
|
+
return false;
|
|
22
|
+
}
|
|
23
|
+
return obj['__pulumiType'] === Provider.__pulumiType;
|
|
24
|
+
}
|
|
15
25
|
/**
|
|
16
26
|
* Create a Provider resource with the given unique name, arguments, and options.
|
|
17
27
|
*
|
|
@@ -28,21 +38,13 @@ class Provider extends pulumi.ProviderResource {
|
|
|
28
38
|
}
|
|
29
39
|
resourceInputs["endpoint"] = args ? args.endpoint : undefined;
|
|
30
40
|
resourceInputs["pollInterval"] = args ? args.pollInterval : undefined;
|
|
31
|
-
resourceInputs["token"] = args ? args.token : undefined;
|
|
41
|
+
resourceInputs["token"] = (args === null || args === void 0 ? void 0 : args.token) ? pulumi.secret(args.token) : undefined;
|
|
32
42
|
}
|
|
33
43
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
44
|
+
const secretOpts = { additionalSecretOutputs: ["token"] };
|
|
45
|
+
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
34
46
|
super(Provider.__pulumiType, name, resourceInputs, opts);
|
|
35
47
|
}
|
|
36
|
-
/**
|
|
37
|
-
* Returns true if the given object is an instance of Provider. This is designed to work even
|
|
38
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
39
|
-
*/
|
|
40
|
-
static isInstance(obj) {
|
|
41
|
-
if (obj === undefined || obj === null) {
|
|
42
|
-
return false;
|
|
43
|
-
}
|
|
44
|
-
return obj['__pulumiType'] === Provider.__pulumiType;
|
|
45
|
-
}
|
|
46
48
|
}
|
|
47
49
|
exports.Provider = Provider;
|
|
48
50
|
/** @internal */
|
package/provider.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;GAKG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,gBAAgB;
|
|
1
|
+
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;GAKG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,gBAAgB;IAIjD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAA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AAY,GAAG,QAAQ,CAAC"}
|
package/rdns.d.ts
CHANGED
|
@@ -31,9 +31,9 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
31
31
|
* homeLocation: "nbg1",
|
|
32
32
|
* type: "ipv4",
|
|
33
33
|
* });
|
|
34
|
-
* const floatingMaster = new hcloud.Rdns("
|
|
34
|
+
* const floatingMaster = new hcloud.Rdns("floatingMaster", {
|
|
35
35
|
* dnsPtr: "example.com",
|
|
36
|
-
* floatingIpId: floating1.id
|
|
36
|
+
* floatingIpId: floating1.id,
|
|
37
37
|
* ipAddress: floating1.ipAddress,
|
|
38
38
|
* });
|
|
39
39
|
* ```
|
|
@@ -44,32 +44,32 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
44
44
|
* import * as pulumi from "@pulumi/pulumi";
|
|
45
45
|
* import * as hcloud from "@pulumi/hcloud";
|
|
46
46
|
*
|
|
47
|
-
* const loadBalancer1 = new hcloud.LoadBalancer("
|
|
47
|
+
* const loadBalancer1 = new hcloud.LoadBalancer("loadBalancer1", {
|
|
48
48
|
* loadBalancerType: "lb11",
|
|
49
49
|
* location: "fsn1",
|
|
50
50
|
* });
|
|
51
|
-
* const loadBalancerMaster = new hcloud.Rdns("
|
|
51
|
+
* const loadBalancerMaster = new hcloud.Rdns("loadBalancerMaster", {
|
|
52
52
|
* dnsPtr: "example.com",
|
|
53
53
|
* ipAddress: loadBalancer1.ipv4,
|
|
54
|
-
* loadBalancerId: loadBalancer1.id
|
|
54
|
+
* loadBalancerId: loadBalancer1.id,
|
|
55
55
|
* });
|
|
56
56
|
* ```
|
|
57
57
|
*
|
|
58
58
|
* ## Import
|
|
59
59
|
*
|
|
60
|
-
* Reverse DNS entries can be imported using a compound ID with the following format`<prefix (s for server/ f for floating ip / l for load balancer)>-<server, floating ip or load balancer ID>-<IP address>`
|
|
60
|
+
* Reverse DNS entries can be imported using a compound ID with the following format`<prefix (s for server/ f for floating ip / l for load balancer)>-<server, floating ip or load balancer ID>-<IP address>` import reverse dns entry on server with id 123, ip 192.168.100.1
|
|
61
61
|
*
|
|
62
62
|
* ```sh
|
|
63
63
|
* $ pulumi import hcloud:index/rdns:Rdns myrdns s-123-192.168.100.1
|
|
64
64
|
* ```
|
|
65
65
|
*
|
|
66
|
-
*
|
|
66
|
+
* import reverse dns entry on floating ip with id 123, ip 2001:db8::1
|
|
67
67
|
*
|
|
68
68
|
* ```sh
|
|
69
69
|
* $ pulumi import hcloud:index/rdns:Rdns myrdns f-123-2001:db8::1
|
|
70
70
|
* ```
|
|
71
71
|
*
|
|
72
|
-
*
|
|
72
|
+
* import reverse dns entry on load balancer with id 123, ip 2001:db8::1
|
|
73
73
|
*
|
|
74
74
|
* ```sh
|
|
75
75
|
* $ pulumi import hcloud:index/rdns:Rdns myrdns l-123-2001:db8::1
|