@pulumi/hcloud 1.17.0-alpha.1704428728 → 1.17.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/vars.d.ts +4 -0
- package/config/vars.js +6 -0
- package/config/vars.js.map +1 -1
- package/floatingIp.d.ts +3 -3
- package/getDatacenter.d.ts +1 -1
- package/getDatacenters.d.ts +29 -6
- package/getDatacenters.js +3 -0
- package/getDatacenters.js.map +1 -1
- package/getLocations.d.ts +29 -6
- package/getLocations.js +3 -0
- package/getLocations.js.map +1 -1
- package/getNetwork.d.ts +12 -3
- package/getNetwork.js.map +1 -1
- package/getPlacementGroup.d.ts +3 -3
- package/getServer.d.ts +4 -0
- package/getServer.js.map +1 -1
- package/loadBalancer.d.ts +3 -3
- package/network.d.ts +3 -3
- package/package.json +1 -1
- package/primaryIp.d.ts +3 -3
- package/provider.d.ts +8 -0
- package/provider.js +1 -0
- package/provider.js.map +1 -1
- package/server.d.ts +11 -3
- package/server.js +2 -0
- package/server.js.map +1 -1
- package/types/input.d.ts +0 -3
- package/types/output.d.ts +8 -10
- package/volume.d.ts +3 -3
package/config/vars.d.ts
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
* The Hetzner Cloud API endpoint, can be used to override the default API Endpoint https://api.hetzner.cloud/v1.
|
|
3
3
|
*/
|
|
4
4
|
export declare const endpoint: string | undefined;
|
|
5
|
+
/**
|
|
6
|
+
* The type of function to be used during the polling.
|
|
7
|
+
*/
|
|
8
|
+
export declare const pollFunction: string | undefined;
|
|
5
9
|
/**
|
|
6
10
|
* The interval at which actions are polled by the client. Default `500ms`. Increase this interval if you run into rate
|
|
7
11
|
* limiting errors.
|
package/config/vars.js
CHANGED
|
@@ -10,6 +10,12 @@ Object.defineProperty(exports, "endpoint", {
|
|
|
10
10
|
},
|
|
11
11
|
enumerable: true,
|
|
12
12
|
});
|
|
13
|
+
Object.defineProperty(exports, "pollFunction", {
|
|
14
|
+
get() {
|
|
15
|
+
return __config.get("pollFunction");
|
|
16
|
+
},
|
|
17
|
+
enumerable: true,
|
|
18
|
+
});
|
|
13
19
|
Object.defineProperty(exports, "pollInterval", {
|
|
14
20
|
get() {
|
|
15
21
|
return __config.get("pollInterval");
|
package/config/vars.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vars.js","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAIzC,MAAM,QAAQ,GAAG,IAAI,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;AAM7C,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,UAAU,EAAE;IACvC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;IACpC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAOH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,cAAc,EAAE;IAC3C,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;IACxC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,OAAO,EAAE;IACpC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;IACjC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"vars.js","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAIzC,MAAM,QAAQ,GAAG,IAAI,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;AAM7C,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,UAAU,EAAE;IACvC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;IACpC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,cAAc,EAAE;IAC3C,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;IACxC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAOH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,cAAc,EAAE;IAC3C,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;IACxC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,OAAO,EAAE;IACpC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;IACjC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC"}
|
package/floatingIp.d.ts
CHANGED
|
@@ -43,7 +43,7 @@ export declare class FloatingIp extends pulumi.CustomResource {
|
|
|
43
43
|
*/
|
|
44
44
|
static isInstance(obj: any): obj is FloatingIp;
|
|
45
45
|
/**
|
|
46
|
-
* Enable or disable delete protection.
|
|
46
|
+
* Enable or disable delete protection. See "Delete Protection" in the Provider Docs for details.
|
|
47
47
|
*/
|
|
48
48
|
readonly deleteProtection: pulumi.Output<boolean | undefined>;
|
|
49
49
|
/**
|
|
@@ -94,7 +94,7 @@ export declare class FloatingIp extends pulumi.CustomResource {
|
|
|
94
94
|
*/
|
|
95
95
|
export interface FloatingIpState {
|
|
96
96
|
/**
|
|
97
|
-
* Enable or disable delete protection.
|
|
97
|
+
* Enable or disable delete protection. See "Delete Protection" in the Provider Docs for details.
|
|
98
98
|
*/
|
|
99
99
|
deleteProtection?: pulumi.Input<boolean>;
|
|
100
100
|
/**
|
|
@@ -137,7 +137,7 @@ export interface FloatingIpState {
|
|
|
137
137
|
*/
|
|
138
138
|
export interface FloatingIpArgs {
|
|
139
139
|
/**
|
|
140
|
-
* Enable or disable delete protection.
|
|
140
|
+
* Enable or disable delete protection. See "Delete Protection" in the Provider Docs for details.
|
|
141
141
|
*/
|
|
142
142
|
deleteProtection?: pulumi.Input<boolean>;
|
|
143
143
|
/**
|
package/getDatacenter.d.ts
CHANGED
package/getDatacenters.d.ts
CHANGED
|
@@ -15,6 +15,19 @@ export interface GetDatacentersArgs {
|
|
|
15
15
|
* @deprecated Use datacenters list instead
|
|
16
16
|
*/
|
|
17
17
|
datacenterIds?: string[];
|
|
18
|
+
/**
|
|
19
|
+
* (list) List of all datacenter descriptions. **Deprecated**: Use `datacenters` attribute instead.
|
|
20
|
+
*
|
|
21
|
+
* @deprecated Use datacenters list instead
|
|
22
|
+
*/
|
|
23
|
+
descriptions?: string[];
|
|
24
|
+
id?: string;
|
|
25
|
+
/**
|
|
26
|
+
* (list) List of datacenter names. **Deprecated**: Use `datacenters` attribute instead.
|
|
27
|
+
*
|
|
28
|
+
* @deprecated Use datacenters list instead
|
|
29
|
+
*/
|
|
30
|
+
names?: string[];
|
|
18
31
|
}
|
|
19
32
|
/**
|
|
20
33
|
* A collection of values returned by getDatacenters.
|
|
@@ -35,17 +48,14 @@ export interface GetDatacentersResult {
|
|
|
35
48
|
*
|
|
36
49
|
* @deprecated Use datacenters list instead
|
|
37
50
|
*/
|
|
38
|
-
readonly descriptions
|
|
39
|
-
|
|
40
|
-
* The provider-assigned unique ID for this managed resource.
|
|
41
|
-
*/
|
|
42
|
-
readonly id: string;
|
|
51
|
+
readonly descriptions?: string[];
|
|
52
|
+
readonly id?: string;
|
|
43
53
|
/**
|
|
44
54
|
* (list) List of datacenter names. **Deprecated**: Use `datacenters` attribute instead.
|
|
45
55
|
*
|
|
46
56
|
* @deprecated Use datacenters list instead
|
|
47
57
|
*/
|
|
48
|
-
readonly names
|
|
58
|
+
readonly names?: string[];
|
|
49
59
|
}
|
|
50
60
|
/**
|
|
51
61
|
* Provides a list of available Hetzner Cloud Datacenters.
|
|
@@ -62,4 +72,17 @@ export interface GetDatacentersOutputArgs {
|
|
|
62
72
|
* @deprecated Use datacenters list instead
|
|
63
73
|
*/
|
|
64
74
|
datacenterIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
75
|
+
/**
|
|
76
|
+
* (list) List of all datacenter descriptions. **Deprecated**: Use `datacenters` attribute instead.
|
|
77
|
+
*
|
|
78
|
+
* @deprecated Use datacenters list instead
|
|
79
|
+
*/
|
|
80
|
+
descriptions?: pulumi.Input<pulumi.Input<string>[]>;
|
|
81
|
+
id?: pulumi.Input<string>;
|
|
82
|
+
/**
|
|
83
|
+
* (list) List of datacenter names. **Deprecated**: Use `datacenters` attribute instead.
|
|
84
|
+
*
|
|
85
|
+
* @deprecated Use datacenters list instead
|
|
86
|
+
*/
|
|
87
|
+
names?: pulumi.Input<pulumi.Input<string>[]>;
|
|
65
88
|
}
|
package/getDatacenters.js
CHANGED
|
@@ -14,6 +14,9 @@ function getDatacenters(args, opts) {
|
|
|
14
14
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
15
15
|
return pulumi.runtime.invoke("hcloud:index/getDatacenters:getDatacenters", {
|
|
16
16
|
"datacenterIds": args.datacenterIds,
|
|
17
|
+
"descriptions": args.descriptions,
|
|
18
|
+
"id": args.id,
|
|
19
|
+
"names": args.names,
|
|
17
20
|
}, opts);
|
|
18
21
|
}
|
|
19
22
|
exports.getDatacenters = getDatacenters;
|
package/getDatacenters.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDatacenters.js","sourceRoot":"","sources":["../getDatacenters.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;GAGG;AACH,SAAgB,cAAc,CAAC,IAAyB,EAAE,IAA2B;IACjF,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,4CAA4C,EAAE;QACvE,eAAe,EAAE,IAAI,CAAC,aAAa;
|
|
1
|
+
{"version":3,"file":"getDatacenters.js","sourceRoot":"","sources":["../getDatacenters.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;GAGG;AACH,SAAgB,cAAc,CAAC,IAAyB,EAAE,IAA2B;IACjF,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,4CAA4C,EAAE;QACvE,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,wCAUC;AAuDD;;;GAGG;AACH,SAAgB,oBAAoB,CAAC,IAA+B,EAAE,IAA2B;IAC7F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,cAAc,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACzE,CAAC;AAFD,oDAEC"}
|
package/getLocations.d.ts
CHANGED
|
@@ -9,12 +9,25 @@ export declare function getLocations(args?: GetLocationsArgs, opts?: pulumi.Invo
|
|
|
9
9
|
* A collection of arguments for invoking getLocations.
|
|
10
10
|
*/
|
|
11
11
|
export interface GetLocationsArgs {
|
|
12
|
+
/**
|
|
13
|
+
* (list) List of all location descriptions. **Deprecated**: Use `locations` attribute instead.
|
|
14
|
+
*
|
|
15
|
+
* @deprecated Use locations list instead
|
|
16
|
+
*/
|
|
17
|
+
descriptions?: string[];
|
|
18
|
+
id?: string;
|
|
12
19
|
/**
|
|
13
20
|
* (list) List of unique location identifiers. **Deprecated**: Use `locations` attribute instead.
|
|
14
21
|
*
|
|
15
22
|
* @deprecated Use locations list instead
|
|
16
23
|
*/
|
|
17
24
|
locationIds?: string[];
|
|
25
|
+
/**
|
|
26
|
+
* (list) List of location names. **Deprecated**: Use `locations` attribute instead.
|
|
27
|
+
*
|
|
28
|
+
* @deprecated Use locations list instead
|
|
29
|
+
*/
|
|
30
|
+
names?: string[];
|
|
18
31
|
}
|
|
19
32
|
/**
|
|
20
33
|
* A collection of values returned by getLocations.
|
|
@@ -25,11 +38,8 @@ export interface GetLocationsResult {
|
|
|
25
38
|
*
|
|
26
39
|
* @deprecated Use locations list instead
|
|
27
40
|
*/
|
|
28
|
-
readonly descriptions
|
|
29
|
-
|
|
30
|
-
* The provider-assigned unique ID for this managed resource.
|
|
31
|
-
*/
|
|
32
|
-
readonly id: string;
|
|
41
|
+
readonly descriptions?: string[];
|
|
42
|
+
readonly id?: string;
|
|
33
43
|
/**
|
|
34
44
|
* (list) List of unique location identifiers. **Deprecated**: Use `locations` attribute instead.
|
|
35
45
|
*
|
|
@@ -45,7 +55,7 @@ export interface GetLocationsResult {
|
|
|
45
55
|
*
|
|
46
56
|
* @deprecated Use locations list instead
|
|
47
57
|
*/
|
|
48
|
-
readonly names
|
|
58
|
+
readonly names?: string[];
|
|
49
59
|
}
|
|
50
60
|
/**
|
|
51
61
|
* Provides a list of available Hetzner Cloud Locations.
|
|
@@ -56,10 +66,23 @@ export declare function getLocationsOutput(args?: GetLocationsOutputArgs, opts?:
|
|
|
56
66
|
* A collection of arguments for invoking getLocations.
|
|
57
67
|
*/
|
|
58
68
|
export interface GetLocationsOutputArgs {
|
|
69
|
+
/**
|
|
70
|
+
* (list) List of all location descriptions. **Deprecated**: Use `locations` attribute instead.
|
|
71
|
+
*
|
|
72
|
+
* @deprecated Use locations list instead
|
|
73
|
+
*/
|
|
74
|
+
descriptions?: pulumi.Input<pulumi.Input<string>[]>;
|
|
75
|
+
id?: pulumi.Input<string>;
|
|
59
76
|
/**
|
|
60
77
|
* (list) List of unique location identifiers. **Deprecated**: Use `locations` attribute instead.
|
|
61
78
|
*
|
|
62
79
|
* @deprecated Use locations list instead
|
|
63
80
|
*/
|
|
64
81
|
locationIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
82
|
+
/**
|
|
83
|
+
* (list) List of location names. **Deprecated**: Use `locations` attribute instead.
|
|
84
|
+
*
|
|
85
|
+
* @deprecated Use locations list instead
|
|
86
|
+
*/
|
|
87
|
+
names?: pulumi.Input<pulumi.Input<string>[]>;
|
|
65
88
|
}
|
package/getLocations.js
CHANGED
|
@@ -13,7 +13,10 @@ function getLocations(args, opts) {
|
|
|
13
13
|
args = args || {};
|
|
14
14
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
15
15
|
return pulumi.runtime.invoke("hcloud:index/getLocations:getLocations", {
|
|
16
|
+
"descriptions": args.descriptions,
|
|
17
|
+
"id": args.id,
|
|
16
18
|
"locationIds": args.locationIds,
|
|
19
|
+
"names": args.names,
|
|
17
20
|
}, opts);
|
|
18
21
|
}
|
|
19
22
|
exports.getLocations = getLocations;
|
package/getLocations.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getLocations.js","sourceRoot":"","sources":["../getLocations.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;GAGG;AACH,SAAgB,YAAY,CAAC,IAAuB,EAAE,IAA2B;IAC7E,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,wCAAwC,EAAE;QACnE,aAAa,EAAE,IAAI,CAAC,WAAW;
|
|
1
|
+
{"version":3,"file":"getLocations.js","sourceRoot":"","sources":["../getLocations.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;GAGG;AACH,SAAgB,YAAY,CAAC,IAAuB,EAAE,IAA2B;IAC7E,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,wCAAwC,EAAE;QACnE,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,oCAUC;AAuDD;;;GAGG;AACH,SAAgB,kBAAkB,CAAC,IAA6B,EAAE,IAA2B;IACzF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,YAAY,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACvE,CAAC;AAFD,gDAEC"}
|
package/getNetwork.d.ts
CHANGED
|
@@ -33,6 +33,9 @@ export interface GetNetworkArgs {
|
|
|
33
33
|
labels?: {
|
|
34
34
|
[key: string]: any;
|
|
35
35
|
};
|
|
36
|
+
/**
|
|
37
|
+
* @deprecated This attribute has no purpose.
|
|
38
|
+
*/
|
|
36
39
|
mostRecent?: boolean;
|
|
37
40
|
/**
|
|
38
41
|
* Name of the Network.
|
|
@@ -62,15 +65,18 @@ export interface GetNetworkResult {
|
|
|
62
65
|
/**
|
|
63
66
|
* IPv4 prefix of the Network.
|
|
64
67
|
*/
|
|
65
|
-
readonly ipRange
|
|
66
|
-
readonly labels
|
|
68
|
+
readonly ipRange: string;
|
|
69
|
+
readonly labels: {
|
|
67
70
|
[key: string]: any;
|
|
68
71
|
};
|
|
72
|
+
/**
|
|
73
|
+
* @deprecated This attribute has no purpose.
|
|
74
|
+
*/
|
|
69
75
|
readonly mostRecent?: boolean;
|
|
70
76
|
/**
|
|
71
77
|
* Name of the Network.
|
|
72
78
|
*/
|
|
73
|
-
readonly name
|
|
79
|
+
readonly name: string;
|
|
74
80
|
readonly withSelector?: string;
|
|
75
81
|
}
|
|
76
82
|
/**
|
|
@@ -107,6 +113,9 @@ export interface GetNetworkOutputArgs {
|
|
|
107
113
|
labels?: pulumi.Input<{
|
|
108
114
|
[key: string]: any;
|
|
109
115
|
}>;
|
|
116
|
+
/**
|
|
117
|
+
* @deprecated This attribute has no purpose.
|
|
118
|
+
*/
|
|
110
119
|
mostRecent?: pulumi.Input<boolean>;
|
|
111
120
|
/**
|
|
112
121
|
* Name of the Network.
|
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;AA4DD;;;;;;;;;;;;;;;;;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/getPlacementGroup.d.ts
CHANGED
|
@@ -53,11 +53,11 @@ export interface GetPlacementGroupResult {
|
|
|
53
53
|
/**
|
|
54
54
|
* (int) Unique ID of the Placement Group.
|
|
55
55
|
*/
|
|
56
|
-
readonly id
|
|
56
|
+
readonly id: number;
|
|
57
57
|
/**
|
|
58
58
|
* (map) User-defined labels (key-value pairs)
|
|
59
59
|
*/
|
|
60
|
-
readonly labels
|
|
60
|
+
readonly labels: {
|
|
61
61
|
[key: string]: any;
|
|
62
62
|
};
|
|
63
63
|
readonly mostRecent?: boolean;
|
|
@@ -69,7 +69,7 @@ export interface GetPlacementGroupResult {
|
|
|
69
69
|
/**
|
|
70
70
|
* (string) Type of the Placement Group.
|
|
71
71
|
*/
|
|
72
|
-
readonly type
|
|
72
|
+
readonly type: string;
|
|
73
73
|
readonly withSelector?: string;
|
|
74
74
|
}
|
|
75
75
|
/**
|
package/getServer.d.ts
CHANGED
|
@@ -113,6 +113,10 @@ export interface GetServerResult {
|
|
|
113
113
|
* (Optional, string) Placement Group ID the server is assigned to.
|
|
114
114
|
*/
|
|
115
115
|
readonly placementGroupId?: number;
|
|
116
|
+
/**
|
|
117
|
+
* (int) The size of the primary disk in GB.
|
|
118
|
+
*/
|
|
119
|
+
readonly primaryDiskSize: number;
|
|
116
120
|
/**
|
|
117
121
|
* (bool) Whether rebuild protection is enabled.
|
|
118
122
|
*/
|
package/getServer.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getServer.js","sourceRoot":"","sources":["../getServer.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,SAAS,CAAC,IAAoB,EAAE,IAA2B;IACvE,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,kCAAk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
|
package/loadBalancer.d.ts
CHANGED
|
@@ -53,7 +53,7 @@ export declare class LoadBalancer extends pulumi.CustomResource {
|
|
|
53
53
|
*/
|
|
54
54
|
readonly algorithm: pulumi.Output<outputs.LoadBalancerAlgorithm>;
|
|
55
55
|
/**
|
|
56
|
-
* Enable or disable delete protection.
|
|
56
|
+
* Enable or disable delete protection. See "Delete Protection" in the Provider Docs for details.
|
|
57
57
|
*/
|
|
58
58
|
readonly deleteProtection: pulumi.Output<boolean | undefined>;
|
|
59
59
|
/**
|
|
@@ -116,7 +116,7 @@ export interface LoadBalancerState {
|
|
|
116
116
|
*/
|
|
117
117
|
algorithm?: pulumi.Input<inputs.LoadBalancerAlgorithm>;
|
|
118
118
|
/**
|
|
119
|
-
* Enable or disable delete protection.
|
|
119
|
+
* Enable or disable delete protection. See "Delete Protection" in the Provider Docs for details.
|
|
120
120
|
*/
|
|
121
121
|
deleteProtection?: pulumi.Input<boolean>;
|
|
122
122
|
/**
|
|
@@ -171,7 +171,7 @@ export interface LoadBalancerArgs {
|
|
|
171
171
|
*/
|
|
172
172
|
algorithm?: pulumi.Input<inputs.LoadBalancerAlgorithm>;
|
|
173
173
|
/**
|
|
174
|
-
* Enable or disable delete protection.
|
|
174
|
+
* Enable or disable delete protection. See "Delete Protection" in the Provider Docs for details.
|
|
175
175
|
*/
|
|
176
176
|
deleteProtection?: pulumi.Input<boolean>;
|
|
177
177
|
/**
|
package/network.d.ts
CHANGED
|
@@ -36,7 +36,7 @@ export declare class Network extends pulumi.CustomResource {
|
|
|
36
36
|
*/
|
|
37
37
|
static isInstance(obj: any): obj is Network;
|
|
38
38
|
/**
|
|
39
|
-
* Enable or disable delete protection.
|
|
39
|
+
* Enable or disable delete protection. See "Delete Protection" in the Provider Docs for details.
|
|
40
40
|
*/
|
|
41
41
|
readonly deleteProtection: pulumi.Output<boolean | undefined>;
|
|
42
42
|
/**
|
|
@@ -71,7 +71,7 @@ export declare class Network extends pulumi.CustomResource {
|
|
|
71
71
|
*/
|
|
72
72
|
export interface NetworkState {
|
|
73
73
|
/**
|
|
74
|
-
* Enable or disable delete protection.
|
|
74
|
+
* Enable or disable delete protection. See "Delete Protection" in the Provider Docs for details.
|
|
75
75
|
*/
|
|
76
76
|
deleteProtection?: pulumi.Input<boolean>;
|
|
77
77
|
/**
|
|
@@ -98,7 +98,7 @@ export interface NetworkState {
|
|
|
98
98
|
*/
|
|
99
99
|
export interface NetworkArgs {
|
|
100
100
|
/**
|
|
101
|
-
* Enable or disable delete protection.
|
|
101
|
+
* Enable or disable delete protection. See "Delete Protection" in the Provider Docs for details.
|
|
102
102
|
*/
|
|
103
103
|
deleteProtection?: pulumi.Input<boolean>;
|
|
104
104
|
/**
|
package/package.json
CHANGED
package/primaryIp.d.ts
CHANGED
|
@@ -76,7 +76,7 @@ export declare class PrimaryIp extends pulumi.CustomResource {
|
|
|
76
76
|
*/
|
|
77
77
|
readonly datacenter: pulumi.Output<string>;
|
|
78
78
|
/**
|
|
79
|
-
* Whether delete protection is enabled.
|
|
79
|
+
* Whether delete protection is enabled. See "Delete Protection" in the Provider Docs for details.
|
|
80
80
|
*/
|
|
81
81
|
readonly deleteProtection: pulumi.Output<boolean | undefined>;
|
|
82
82
|
/**
|
|
@@ -132,7 +132,7 @@ export interface PrimaryIpState {
|
|
|
132
132
|
*/
|
|
133
133
|
datacenter?: pulumi.Input<string>;
|
|
134
134
|
/**
|
|
135
|
-
* Whether delete protection is enabled.
|
|
135
|
+
* Whether delete protection is enabled. See "Delete Protection" in the Provider Docs for details.
|
|
136
136
|
*/
|
|
137
137
|
deleteProtection?: pulumi.Input<boolean>;
|
|
138
138
|
/**
|
|
@@ -180,7 +180,7 @@ export interface PrimaryIpArgs {
|
|
|
180
180
|
*/
|
|
181
181
|
datacenter?: pulumi.Input<string>;
|
|
182
182
|
/**
|
|
183
|
-
* Whether delete protection is enabled.
|
|
183
|
+
* Whether delete protection is enabled. See "Delete Protection" in the Provider Docs for details.
|
|
184
184
|
*/
|
|
185
185
|
deleteProtection?: pulumi.Input<boolean>;
|
|
186
186
|
/**
|
package/provider.d.ts
CHANGED
|
@@ -15,6 +15,10 @@ export declare class Provider extends pulumi.ProviderResource {
|
|
|
15
15
|
* The Hetzner Cloud API endpoint, can be used to override the default API Endpoint https://api.hetzner.cloud/v1.
|
|
16
16
|
*/
|
|
17
17
|
readonly endpoint: pulumi.Output<string | undefined>;
|
|
18
|
+
/**
|
|
19
|
+
* The type of function to be used during the polling.
|
|
20
|
+
*/
|
|
21
|
+
readonly pollFunction: pulumi.Output<string | undefined>;
|
|
18
22
|
/**
|
|
19
23
|
* The interval at which actions are polled by the client. Default `500ms`. Increase this interval if you run into rate
|
|
20
24
|
* limiting errors.
|
|
@@ -41,6 +45,10 @@ export interface ProviderArgs {
|
|
|
41
45
|
* The Hetzner Cloud API endpoint, can be used to override the default API Endpoint https://api.hetzner.cloud/v1.
|
|
42
46
|
*/
|
|
43
47
|
endpoint?: pulumi.Input<string>;
|
|
48
|
+
/**
|
|
49
|
+
* The type of function to be used during the polling.
|
|
50
|
+
*/
|
|
51
|
+
pollFunction?: pulumi.Input<string>;
|
|
44
52
|
/**
|
|
45
53
|
* The interval at which actions are polled by the client. Default `500ms`. Increase this interval if you run into rate
|
|
46
54
|
* limiting errors.
|
package/provider.js
CHANGED
|
@@ -34,6 +34,7 @@ class Provider extends pulumi.ProviderResource {
|
|
|
34
34
|
opts = opts || {};
|
|
35
35
|
{
|
|
36
36
|
resourceInputs["endpoint"] = args ? args.endpoint : undefined;
|
|
37
|
+
resourceInputs["pollFunction"] = args ? args.pollFunction : undefined;
|
|
37
38
|
resourceInputs["pollInterval"] = args ? args.pollInterval : undefined;
|
|
38
39
|
resourceInputs["token"] = (args === null || args === void 0 ? void 0 : args.token) ? pulumi.secret(args.token) : undefined;
|
|
39
40
|
}
|
package/provider.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AA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,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,OAAO,CAAC,GAAG,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,KAAK,EAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;SACjF;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;QAC1D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;;AArDL,4BAsDC;AArDG,gBAAgB;AACO,qBAAY,GAAG,QAAQ,CAAC"}
|
package/server.d.ts
CHANGED
|
@@ -129,7 +129,7 @@ export declare class Server extends pulumi.CustomResource {
|
|
|
129
129
|
*/
|
|
130
130
|
readonly datacenter: pulumi.Output<string>;
|
|
131
131
|
/**
|
|
132
|
-
* Enable or disable delete protection (Needs to be the same as `rebuildProtection`).
|
|
132
|
+
* Enable or disable delete protection (Needs to be the same as `rebuildProtection`). See "Delete Protection" in the Provider Docs for details.
|
|
133
133
|
*/
|
|
134
134
|
readonly deleteProtection: pulumi.Output<boolean | undefined>;
|
|
135
135
|
/**
|
|
@@ -187,6 +187,10 @@ export declare class Server extends pulumi.CustomResource {
|
|
|
187
187
|
* Placement Group ID the server added to on creation.
|
|
188
188
|
*/
|
|
189
189
|
readonly placementGroupId: pulumi.Output<number | undefined>;
|
|
190
|
+
/**
|
|
191
|
+
* (int) The size of the primary disk in GB.
|
|
192
|
+
*/
|
|
193
|
+
readonly primaryDiskSize: pulumi.Output<number>;
|
|
190
194
|
/**
|
|
191
195
|
* In this block you can either enable / disable ipv4 and ipv6 or link existing primary IPs (checkout the examples).
|
|
192
196
|
* If this block is not defined, two primary (ipv4 & ipv6) ips getting auto generated.
|
|
@@ -249,7 +253,7 @@ export interface ServerState {
|
|
|
249
253
|
*/
|
|
250
254
|
datacenter?: pulumi.Input<string>;
|
|
251
255
|
/**
|
|
252
|
-
* Enable or disable delete protection (Needs to be the same as `rebuildProtection`).
|
|
256
|
+
* Enable or disable delete protection (Needs to be the same as `rebuildProtection`). See "Delete Protection" in the Provider Docs for details.
|
|
253
257
|
*/
|
|
254
258
|
deleteProtection?: pulumi.Input<boolean>;
|
|
255
259
|
/**
|
|
@@ -307,6 +311,10 @@ export interface ServerState {
|
|
|
307
311
|
* Placement Group ID the server added to on creation.
|
|
308
312
|
*/
|
|
309
313
|
placementGroupId?: pulumi.Input<number>;
|
|
314
|
+
/**
|
|
315
|
+
* (int) The size of the primary disk in GB.
|
|
316
|
+
*/
|
|
317
|
+
primaryDiskSize?: pulumi.Input<number>;
|
|
310
318
|
/**
|
|
311
319
|
* In this block you can either enable / disable ipv4 and ipv6 or link existing primary IPs (checkout the examples).
|
|
312
320
|
* If this block is not defined, two primary (ipv4 & ipv6) ips getting auto generated.
|
|
@@ -355,7 +363,7 @@ export interface ServerArgs {
|
|
|
355
363
|
*/
|
|
356
364
|
datacenter?: pulumi.Input<string>;
|
|
357
365
|
/**
|
|
358
|
-
* Enable or disable delete protection (Needs to be the same as `rebuildProtection`).
|
|
366
|
+
* Enable or disable delete protection (Needs to be the same as `rebuildProtection`). See "Delete Protection" in the Provider Docs for details.
|
|
359
367
|
*/
|
|
360
368
|
deleteProtection?: pulumi.Input<boolean>;
|
|
361
369
|
/**
|
package/server.js
CHANGED
|
@@ -144,6 +144,7 @@ class Server extends pulumi.CustomResource {
|
|
|
144
144
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
145
145
|
resourceInputs["networks"] = state ? state.networks : undefined;
|
|
146
146
|
resourceInputs["placementGroupId"] = state ? state.placementGroupId : undefined;
|
|
147
|
+
resourceInputs["primaryDiskSize"] = state ? state.primaryDiskSize : undefined;
|
|
147
148
|
resourceInputs["publicNets"] = state ? state.publicNets : undefined;
|
|
148
149
|
resourceInputs["rebuildProtection"] = state ? state.rebuildProtection : undefined;
|
|
149
150
|
resourceInputs["rescue"] = state ? state.rescue : undefined;
|
|
@@ -183,6 +184,7 @@ class Server extends pulumi.CustomResource {
|
|
|
183
184
|
resourceInputs["ipv4Address"] = undefined /*out*/;
|
|
184
185
|
resourceInputs["ipv6Address"] = undefined /*out*/;
|
|
185
186
|
resourceInputs["ipv6Network"] = undefined /*out*/;
|
|
187
|
+
resourceInputs["primaryDiskSize"] = undefined /*out*/;
|
|
186
188
|
resourceInputs["status"] = undefined /*out*/;
|
|
187
189
|
}
|
|
188
190
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
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;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4FG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAC7C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmB,EAAE,IAAmC;QACjH,OAAO,IAAI,MAAM,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7D,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,O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AS,CAAC;YAClE,cAAc,CAAC,wBAAwB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1F,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACtD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;;AArNL,wBAsNC;AAxMG,gBAAgB;AACO,mBAAY,GAAG,4BAA4B,CAAC"}
|
package/types/input.d.ts
CHANGED
|
@@ -203,9 +203,6 @@ export interface LoadBalancerTarget {
|
|
|
203
203
|
usePrivateIp?: pulumi.Input<boolean>;
|
|
204
204
|
}
|
|
205
205
|
export interface ServerNetwork {
|
|
206
|
-
/**
|
|
207
|
-
* Alias IPs the server should have in the Network.
|
|
208
|
-
*/
|
|
209
206
|
aliasIps?: pulumi.Input<pulumi.Input<string>[]>;
|
|
210
207
|
/**
|
|
211
208
|
* Specify the IP the server should get in the network
|
package/types/output.d.ts
CHANGED
|
@@ -59,7 +59,7 @@ export interface GetDatacentersDatacenter {
|
|
|
59
59
|
description: string;
|
|
60
60
|
id: number;
|
|
61
61
|
location: {
|
|
62
|
-
[key: string]:
|
|
62
|
+
[key: string]: string;
|
|
63
63
|
};
|
|
64
64
|
name: string;
|
|
65
65
|
supportedServerTypeIds: number[];
|
|
@@ -341,20 +341,20 @@ export interface GetNetworksNetwork {
|
|
|
341
341
|
deleteProtection: boolean;
|
|
342
342
|
exposeRoutesToVswitch: boolean;
|
|
343
343
|
id: number;
|
|
344
|
-
ipRange
|
|
345
|
-
labels
|
|
344
|
+
ipRange: string;
|
|
345
|
+
labels: {
|
|
346
346
|
[key: string]: any;
|
|
347
347
|
};
|
|
348
|
-
name
|
|
348
|
+
name: string;
|
|
349
349
|
}
|
|
350
350
|
export interface GetPlacementGroupsPlacementGroup {
|
|
351
|
-
id
|
|
352
|
-
labels
|
|
351
|
+
id: number;
|
|
352
|
+
labels: {
|
|
353
353
|
[key: string]: any;
|
|
354
354
|
};
|
|
355
355
|
name: string;
|
|
356
356
|
servers: number[];
|
|
357
|
-
type
|
|
357
|
+
type: string;
|
|
358
358
|
}
|
|
359
359
|
export interface GetPrimaryIpsPrimaryIp {
|
|
360
360
|
assigneeId: number;
|
|
@@ -404,6 +404,7 @@ export interface GetServersServer {
|
|
|
404
404
|
location: string;
|
|
405
405
|
name: string;
|
|
406
406
|
placementGroupId?: number;
|
|
407
|
+
primaryDiskSize: number;
|
|
407
408
|
rebuildProtection: boolean;
|
|
408
409
|
rescue: string;
|
|
409
410
|
serverType: string;
|
|
@@ -518,9 +519,6 @@ export interface LoadBalancerTarget {
|
|
|
518
519
|
usePrivateIp?: boolean;
|
|
519
520
|
}
|
|
520
521
|
export interface ServerNetwork {
|
|
521
|
-
/**
|
|
522
|
-
* Alias IPs the server should have in the Network.
|
|
523
|
-
*/
|
|
524
522
|
aliasIps: string[];
|
|
525
523
|
/**
|
|
526
524
|
* Specify the IP the server should get in the network
|
package/volume.d.ts
CHANGED
|
@@ -49,7 +49,7 @@ export declare class Volume extends pulumi.CustomResource {
|
|
|
49
49
|
*/
|
|
50
50
|
readonly automount: pulumi.Output<boolean | undefined>;
|
|
51
51
|
/**
|
|
52
|
-
* Enable or disable delete protection.
|
|
52
|
+
* Enable or disable delete protection. See "Delete Protection" in the Provider Docs for details.
|
|
53
53
|
*
|
|
54
54
|
* **Note:** When you want to attach multiple volumes to a server, please use the `hcloud.VolumeAttachment` resource and the `location` argument instead of the `serverId` argument.
|
|
55
55
|
*/
|
|
@@ -102,7 +102,7 @@ export interface VolumeState {
|
|
|
102
102
|
*/
|
|
103
103
|
automount?: pulumi.Input<boolean>;
|
|
104
104
|
/**
|
|
105
|
-
* Enable or disable delete protection.
|
|
105
|
+
* Enable or disable delete protection. See "Delete Protection" in the Provider Docs for details.
|
|
106
106
|
*
|
|
107
107
|
* **Note:** When you want to attach multiple volumes to a server, please use the `hcloud.VolumeAttachment` resource and the `location` argument instead of the `serverId` argument.
|
|
108
108
|
*/
|
|
@@ -147,7 +147,7 @@ export interface VolumeArgs {
|
|
|
147
147
|
*/
|
|
148
148
|
automount?: pulumi.Input<boolean>;
|
|
149
149
|
/**
|
|
150
|
-
* Enable or disable delete protection.
|
|
150
|
+
* Enable or disable delete protection. See "Delete Protection" in the Provider Docs for details.
|
|
151
151
|
*
|
|
152
152
|
* **Note:** When you want to attach multiple volumes to a server, please use the `hcloud.VolumeAttachment` resource and the `location` argument instead of the `serverId` argument.
|
|
153
153
|
*/
|