@pulumi/hcloud 1.13.0-alpha.1687054828 → 1.13.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/getNetwork.d.ts +4 -0
- package/getNetwork.js.map +1 -1
- package/getServerType.d.ts +28 -0
- package/getServerType.js +2 -0
- package/getServerType.js.map +1 -1
- package/network.d.ts +12 -0
- package/network.js +2 -0
- package/network.js.map +1 -1
- package/package.json +2 -2
- package/types/output.d.ts +4 -0
package/getNetwork.d.ts
CHANGED
|
@@ -51,6 +51,10 @@ export interface GetNetworkResult {
|
|
|
51
51
|
* (bool) Whether delete protection is enabled.
|
|
52
52
|
*/
|
|
53
53
|
readonly deleteProtection: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* (bool) Indicates if the routes from this network should be exposed to the vSwitch connection. The exposing only takes effect if a vSwitch connection is active.
|
|
56
|
+
*/
|
|
57
|
+
readonly exposeRoutesToVswitch: boolean;
|
|
54
58
|
/**
|
|
55
59
|
* Unique ID of the Network.
|
|
56
60
|
*/
|
package/getNetwork.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getNetwork.js","sourceRoot":"","sources":["../getNetwork.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,UAAU,CAAC,IAAqB,EAAE,IAA2B;IACzE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oCAAoC,EAAE;QAC/D,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,gCAYC;
|
|
1
|
+
{"version":3,"file":"getNetwork.js","sourceRoot":"","sources":["../getNetwork.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,UAAU,CAAC,IAAqB,EAAE,IAA2B;IACzE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oCAAoC,EAAE;QAC/D,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,gCAYC;AAsDD;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,gBAAgB,CAAC,IAA2B,EAAE,IAA2B;IACrF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrE,CAAC;AAFD,4CAEC"}
|
package/getServerType.d.ts
CHANGED
|
@@ -22,6 +22,10 @@ export declare function getServerType(args?: GetServerTypeArgs, opts?: pulumi.In
|
|
|
22
22
|
* A collection of arguments for invoking getServerType.
|
|
23
23
|
*/
|
|
24
24
|
export interface GetServerTypeArgs {
|
|
25
|
+
/**
|
|
26
|
+
* (Optional, string) Date when the deprecation of the server type was announced. Only set when the server type is deprecated.
|
|
27
|
+
*/
|
|
28
|
+
deprecationAnnounced?: string;
|
|
25
29
|
/**
|
|
26
30
|
* ID of the server_type.
|
|
27
31
|
*/
|
|
@@ -30,6 +34,10 @@ export interface GetServerTypeArgs {
|
|
|
30
34
|
* Name of the server_type.
|
|
31
35
|
*/
|
|
32
36
|
name?: string;
|
|
37
|
+
/**
|
|
38
|
+
* (Optional, string) Date when the server type will not be available for new servers. Only set when the server type is deprecated.
|
|
39
|
+
*/
|
|
40
|
+
unavailableAfter?: string;
|
|
33
41
|
}
|
|
34
42
|
/**
|
|
35
43
|
* A collection of values returned by getServerType.
|
|
@@ -44,6 +52,10 @@ export interface GetServerTypeResult {
|
|
|
44
52
|
*/
|
|
45
53
|
readonly cores: number;
|
|
46
54
|
readonly cpuType: string;
|
|
55
|
+
/**
|
|
56
|
+
* (Optional, string) Date when the deprecation of the server type was announced. Only set when the server type is deprecated.
|
|
57
|
+
*/
|
|
58
|
+
readonly deprecationAnnounced: string;
|
|
47
59
|
/**
|
|
48
60
|
* (string) Description of the server_type.
|
|
49
61
|
*/
|
|
@@ -60,6 +72,10 @@ export interface GetServerTypeResult {
|
|
|
60
72
|
* (int) Free traffic per month in bytes.
|
|
61
73
|
*/
|
|
62
74
|
readonly includedTraffic: number;
|
|
75
|
+
/**
|
|
76
|
+
* (bool) Deprecation status of server type.
|
|
77
|
+
*/
|
|
78
|
+
readonly isDeprecated: boolean;
|
|
63
79
|
/**
|
|
64
80
|
* (int) Memory a Server of this type will have in GB.
|
|
65
81
|
*/
|
|
@@ -69,6 +85,10 @@ export interface GetServerTypeResult {
|
|
|
69
85
|
*/
|
|
70
86
|
readonly name: string;
|
|
71
87
|
readonly storageType: string;
|
|
88
|
+
/**
|
|
89
|
+
* (Optional, string) Date when the server type will not be available for new servers. Only set when the server type is deprecated.
|
|
90
|
+
*/
|
|
91
|
+
readonly unavailableAfter: string;
|
|
72
92
|
}
|
|
73
93
|
/**
|
|
74
94
|
* Provides details about a specific Hetzner Cloud Server Type.
|
|
@@ -93,6 +113,10 @@ export declare function getServerTypeOutput(args?: GetServerTypeOutputArgs, opts
|
|
|
93
113
|
* A collection of arguments for invoking getServerType.
|
|
94
114
|
*/
|
|
95
115
|
export interface GetServerTypeOutputArgs {
|
|
116
|
+
/**
|
|
117
|
+
* (Optional, string) Date when the deprecation of the server type was announced. Only set when the server type is deprecated.
|
|
118
|
+
*/
|
|
119
|
+
deprecationAnnounced?: pulumi.Input<string>;
|
|
96
120
|
/**
|
|
97
121
|
* ID of the server_type.
|
|
98
122
|
*/
|
|
@@ -101,4 +125,8 @@ export interface GetServerTypeOutputArgs {
|
|
|
101
125
|
* Name of the server_type.
|
|
102
126
|
*/
|
|
103
127
|
name?: pulumi.Input<string>;
|
|
128
|
+
/**
|
|
129
|
+
* (Optional, string) Date when the server type will not be available for new servers. Only set when the server type is deprecated.
|
|
130
|
+
*/
|
|
131
|
+
unavailableAfter?: pulumi.Input<string>;
|
|
104
132
|
}
|
package/getServerType.js
CHANGED
|
@@ -27,8 +27,10 @@ function getServerType(args, opts) {
|
|
|
27
27
|
args = args || {};
|
|
28
28
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
29
29
|
return pulumi.runtime.invoke("hcloud:index/getServerType:getServerType", {
|
|
30
|
+
"deprecationAnnounced": args.deprecationAnnounced,
|
|
30
31
|
"id": args.id,
|
|
31
32
|
"name": args.name,
|
|
33
|
+
"unavailableAfter": args.unavailableAfter,
|
|
32
34
|
}, opts);
|
|
33
35
|
}
|
|
34
36
|
exports.getServerType = getServerType;
|
package/getServerType.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getServerType.js","sourceRoot":"","sources":["../getServerType.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,i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E,IAAI,CAAC,CAAC,CAAA;AACxE,CAAC;AAFD,kDAEC"}
|
package/network.d.ts
CHANGED
|
@@ -39,6 +39,10 @@ export declare class Network extends pulumi.CustomResource {
|
|
|
39
39
|
* Enable or disable delete protection.
|
|
40
40
|
*/
|
|
41
41
|
readonly deleteProtection: pulumi.Output<boolean | undefined>;
|
|
42
|
+
/**
|
|
43
|
+
* Enable or disable exposing the routes to the vSwitch connection. The exposing only takes effect if a vSwitch connection is active.
|
|
44
|
+
*/
|
|
45
|
+
readonly exposeRoutesToVswitch: pulumi.Output<boolean | undefined>;
|
|
42
46
|
/**
|
|
43
47
|
* IP Range of the whole Network which must span all included subnets and route destinations. Must be one of the private ipv4 ranges of RFC1918.
|
|
44
48
|
*/
|
|
@@ -70,6 +74,10 @@ export interface NetworkState {
|
|
|
70
74
|
* Enable or disable delete protection.
|
|
71
75
|
*/
|
|
72
76
|
deleteProtection?: pulumi.Input<boolean>;
|
|
77
|
+
/**
|
|
78
|
+
* Enable or disable exposing the routes to the vSwitch connection. The exposing only takes effect if a vSwitch connection is active.
|
|
79
|
+
*/
|
|
80
|
+
exposeRoutesToVswitch?: pulumi.Input<boolean>;
|
|
73
81
|
/**
|
|
74
82
|
* IP Range of the whole Network which must span all included subnets and route destinations. Must be one of the private ipv4 ranges of RFC1918.
|
|
75
83
|
*/
|
|
@@ -93,6 +101,10 @@ export interface NetworkArgs {
|
|
|
93
101
|
* Enable or disable delete protection.
|
|
94
102
|
*/
|
|
95
103
|
deleteProtection?: pulumi.Input<boolean>;
|
|
104
|
+
/**
|
|
105
|
+
* Enable or disable exposing the routes to the vSwitch connection. The exposing only takes effect if a vSwitch connection is active.
|
|
106
|
+
*/
|
|
107
|
+
exposeRoutesToVswitch?: pulumi.Input<boolean>;
|
|
96
108
|
/**
|
|
97
109
|
* IP Range of the whole Network which must span all included subnets and route destinations. Must be one of the private ipv4 ranges of RFC1918.
|
|
98
110
|
*/
|
package/network.js
CHANGED
|
@@ -54,6 +54,7 @@ class Network extends pulumi.CustomResource {
|
|
|
54
54
|
if (opts.id) {
|
|
55
55
|
const state = argsOrState;
|
|
56
56
|
resourceInputs["deleteProtection"] = state ? state.deleteProtection : undefined;
|
|
57
|
+
resourceInputs["exposeRoutesToVswitch"] = state ? state.exposeRoutesToVswitch : undefined;
|
|
57
58
|
resourceInputs["ipRange"] = state ? state.ipRange : undefined;
|
|
58
59
|
resourceInputs["labels"] = state ? state.labels : undefined;
|
|
59
60
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
@@ -64,6 +65,7 @@ class Network extends pulumi.CustomResource {
|
|
|
64
65
|
throw new Error("Missing required property 'ipRange'");
|
|
65
66
|
}
|
|
66
67
|
resourceInputs["deleteProtection"] = args ? args.deleteProtection : undefined;
|
|
68
|
+
resourceInputs["exposeRoutesToVswitch"] = args ? args.exposeRoutesToVswitch : undefined;
|
|
67
69
|
resourceInputs["ipRange"] = args ? args.ipRange : undefined;
|
|
68
70
|
resourceInputs["labels"] = args ? args.labels : undefined;
|
|
69
71
|
resourceInputs["name"] = args ? args.name : undefined;
|
package/network.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"network.js","sourceRoot":"","sources":["../network.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;GAmBG;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,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BAiFC;AAnEG,gBAAgB;AACO,oBAAY,GAAG,8BAA8B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/hcloud",
|
|
3
|
-
"version": "v1.13.0
|
|
3
|
+
"version": "v1.13.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.13.0
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource hcloud v1.13.0"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@pulumi/pulumi": "^3.0.0"
|
package/types/output.d.ts
CHANGED
|
@@ -339,6 +339,7 @@ export interface GetLocationsLocation {
|
|
|
339
339
|
}
|
|
340
340
|
export interface GetNetworksNetwork {
|
|
341
341
|
deleteProtection: boolean;
|
|
342
|
+
exposeRoutesToVswitch: boolean;
|
|
342
343
|
id: number;
|
|
343
344
|
ipRange?: string;
|
|
344
345
|
labels?: {
|
|
@@ -374,13 +375,16 @@ export interface GetServerTypesServerType {
|
|
|
374
375
|
architecture: string;
|
|
375
376
|
cores: number;
|
|
376
377
|
cpuType: string;
|
|
378
|
+
deprecationAnnounced: string;
|
|
377
379
|
description: string;
|
|
378
380
|
disk: number;
|
|
379
381
|
id: number;
|
|
380
382
|
includedTraffic: number;
|
|
383
|
+
isDeprecated: boolean;
|
|
381
384
|
memory: number;
|
|
382
385
|
name: string;
|
|
383
386
|
storageType: string;
|
|
387
|
+
unavailableAfter: string;
|
|
384
388
|
}
|
|
385
389
|
export interface GetServersServer {
|
|
386
390
|
backupWindow: string;
|