@pulumi/hcloud 1.21.0 → 1.21.1-alpha.1732274891
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/firewall.d.ts +1 -1
- package/firewall.js +1 -1
- package/floatingIp.d.ts +1 -1
- package/floatingIp.js +1 -1
- package/floatingIpAssignment.d.ts +1 -1
- package/floatingIpAssignment.js +1 -1
- package/getDatacenter.d.ts +24 -22
- package/getDatacenter.js +12 -10
- package/getDatacenter.js.map +1 -1
- package/getDatacenters.d.ts +13 -65
- package/getDatacenters.js +8 -18
- package/getDatacenters.js.map +1 -1
- package/getLoadBalancerType.d.ts +25 -23
- package/getLoadBalancerType.js +14 -12
- package/getLoadBalancerType.js.map +1 -1
- package/getLoadBalancerTypes.d.ts +2 -2
- package/getLocation.d.ts +26 -24
- package/getLocation.js +12 -10
- package/getLocation.js.map +1 -1
- package/getLocations.d.ts +10 -62
- package/getLocations.js +6 -16
- package/getLocations.js.map +1 -1
- package/getServerType.d.ts +42 -40
- package/getServerType.js +20 -10
- package/getServerType.js.map +1 -1
- package/getServerTypes.d.ts +26 -44
- package/getServerTypes.js +22 -16
- package/getServerTypes.js.map +1 -1
- package/getSshKey.d.ts +39 -41
- package/getSshKey.js +18 -22
- package/getSshKey.js.map +1 -1
- package/getSshKeys.d.ts +19 -10
- package/getSshKeys.js +6 -6
- package/getSshKeys.js.map +1 -1
- package/index.d.ts +3 -3
- package/loadBalancer.d.ts +1 -1
- package/loadBalancer.js +1 -1
- package/loadBalancerNetwork.d.ts +1 -1
- package/loadBalancerNetwork.js +1 -1
- package/loadBalancerService.d.ts +1 -1
- package/loadBalancerService.js +1 -1
- package/loadBalancerTarget.d.ts +3 -3
- package/loadBalancerTarget.js +3 -3
- package/managedCertificate.d.ts +20 -3
- package/managedCertificate.js +20 -3
- package/managedCertificate.js.map +1 -1
- package/network.d.ts +1 -1
- package/network.js +1 -1
- package/networkRoute.d.ts +1 -1
- package/networkRoute.js +1 -1
- package/networkSubnet.d.ts +1 -1
- package/networkSubnet.js +1 -1
- package/package.json +2 -2
- package/placementGroup.d.ts +1 -1
- package/placementGroup.js +1 -1
- package/primaryIp.d.ts +1 -1
- package/primaryIp.js +1 -1
- package/rdns.d.ts +4 -0
- package/rdns.js +4 -0
- package/rdns.js.map +1 -1
- package/server.d.ts +1 -1
- package/server.js +1 -1
- package/serverNetwork.d.ts +1 -1
- package/serverNetwork.js +1 -1
- package/snapshot.d.ts +1 -1
- package/snapshot.js +1 -1
- package/sshKey.d.ts +16 -19
- package/sshKey.js +5 -8
- package/sshKey.js.map +1 -1
- package/types/output.d.ts +103 -4
- package/uploadedCertificate.d.ts +28 -3
- package/uploadedCertificate.js +28 -3
- package/uploadedCertificate.js.map +1 -1
- package/volume.d.ts +1 -1
- package/volume.js +1 -1
- package/volumeAttachment.d.ts +1 -1
- package/volumeAttachment.js +1 -1
package/firewall.d.ts
CHANGED
|
@@ -45,7 +45,7 @@ import * as outputs from "./types/output";
|
|
|
45
45
|
* Firewalls can be imported using its `id`:
|
|
46
46
|
*
|
|
47
47
|
* ```sh
|
|
48
|
-
* $ pulumi import hcloud:index/firewall:Firewall
|
|
48
|
+
* $ pulumi import hcloud:index/firewall:Firewall example "$FIREWALL_ID"
|
|
49
49
|
* ```
|
|
50
50
|
*/
|
|
51
51
|
export declare class Firewall extends pulumi.CustomResource {
|
package/firewall.js
CHANGED
|
@@ -49,7 +49,7 @@ const utilities = require("./utilities");
|
|
|
49
49
|
* Firewalls can be imported using its `id`:
|
|
50
50
|
*
|
|
51
51
|
* ```sh
|
|
52
|
-
* $ pulumi import hcloud:index/firewall:Firewall
|
|
52
|
+
* $ pulumi import hcloud:index/firewall:Firewall example "$FIREWALL_ID"
|
|
53
53
|
* ```
|
|
54
54
|
*/
|
|
55
55
|
class Firewall extends pulumi.CustomResource {
|
package/floatingIp.d.ts
CHANGED
|
@@ -24,7 +24,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
24
24
|
* Floating IPs can be imported using its `id`:
|
|
25
25
|
*
|
|
26
26
|
* ```sh
|
|
27
|
-
* $ pulumi import hcloud:index/floatingIp:FloatingIp
|
|
27
|
+
* $ pulumi import hcloud:index/floatingIp:FloatingIp example "$FLOATING_IP_ID"
|
|
28
28
|
* ```
|
|
29
29
|
*/
|
|
30
30
|
export declare class FloatingIp extends pulumi.CustomResource {
|
package/floatingIp.js
CHANGED
|
@@ -30,7 +30,7 @@ const utilities = require("./utilities");
|
|
|
30
30
|
* Floating IPs can be imported using its `id`:
|
|
31
31
|
*
|
|
32
32
|
* ```sh
|
|
33
|
-
* $ pulumi import hcloud:index/floatingIp:FloatingIp
|
|
33
|
+
* $ pulumi import hcloud:index/floatingIp:FloatingIp example "$FLOATING_IP_ID"
|
|
34
34
|
* ```
|
|
35
35
|
*/
|
|
36
36
|
class FloatingIp extends pulumi.CustomResource {
|
|
@@ -29,7 +29,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
29
29
|
* Floating IP Assignments can be imported using the `floating_ip_id`:
|
|
30
30
|
*
|
|
31
31
|
* ```sh
|
|
32
|
-
* $ pulumi import hcloud:index/floatingIpAssignment:FloatingIpAssignment
|
|
32
|
+
* $ pulumi import hcloud:index/floatingIpAssignment:FloatingIpAssignment example "$FLOATING_IP_ID"
|
|
33
33
|
* ```
|
|
34
34
|
*/
|
|
35
35
|
export declare class FloatingIpAssignment extends pulumi.CustomResource {
|
package/floatingIpAssignment.js
CHANGED
|
@@ -35,7 +35,7 @@ const utilities = require("./utilities");
|
|
|
35
35
|
* Floating IP Assignments can be imported using the `floating_ip_id`:
|
|
36
36
|
*
|
|
37
37
|
* ```sh
|
|
38
|
-
* $ pulumi import hcloud:index/floatingIpAssignment:FloatingIpAssignment
|
|
38
|
+
* $ pulumi import hcloud:index/floatingIpAssignment:FloatingIpAssignment example "$FLOATING_IP_ID"
|
|
39
39
|
* ```
|
|
40
40
|
*/
|
|
41
41
|
class FloatingIpAssignment extends pulumi.CustomResource {
|
package/getDatacenter.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
3
|
* Provides details about a specific Hetzner Cloud Datacenter.
|
|
4
|
-
*
|
|
4
|
+
*
|
|
5
|
+
* Use this resource to get detailed information about a specific Datacenter.
|
|
5
6
|
*
|
|
6
7
|
* ## Example Usage
|
|
7
8
|
*
|
|
@@ -9,12 +10,12 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
9
10
|
* import * as pulumi from "@pulumi/pulumi";
|
|
10
11
|
* import * as hcloud from "@pulumi/hcloud";
|
|
11
12
|
*
|
|
12
|
-
* const
|
|
13
|
-
* name: "fsn1-dc8",
|
|
14
|
-
* });
|
|
15
|
-
* const ds2 = hcloud.getDatacenter({
|
|
13
|
+
* const byId = hcloud.getDatacenter({
|
|
16
14
|
* id: 4,
|
|
17
15
|
* });
|
|
16
|
+
* const byName = hcloud.getDatacenter({
|
|
17
|
+
* name: "fsn1-dc14",
|
|
18
|
+
* });
|
|
18
19
|
* ```
|
|
19
20
|
*/
|
|
20
21
|
export declare function getDatacenter(args?: GetDatacenterArgs, opts?: pulumi.InvokeOptions): Promise<GetDatacenterResult>;
|
|
@@ -23,11 +24,11 @@ export declare function getDatacenter(args?: GetDatacenterArgs, opts?: pulumi.In
|
|
|
23
24
|
*/
|
|
24
25
|
export interface GetDatacenterArgs {
|
|
25
26
|
/**
|
|
26
|
-
* ID of the
|
|
27
|
+
* ID of the Datacenter.
|
|
27
28
|
*/
|
|
28
29
|
id?: number;
|
|
29
30
|
/**
|
|
30
|
-
* Name of the
|
|
31
|
+
* Name of the Datacenter.
|
|
31
32
|
*/
|
|
32
33
|
name?: string;
|
|
33
34
|
}
|
|
@@ -36,35 +37,36 @@ export interface GetDatacenterArgs {
|
|
|
36
37
|
*/
|
|
37
38
|
export interface GetDatacenterResult {
|
|
38
39
|
/**
|
|
39
|
-
*
|
|
40
|
+
* List of currently available Server Types in the Datacenter.
|
|
40
41
|
*/
|
|
41
42
|
readonly availableServerTypeIds: number[];
|
|
42
43
|
/**
|
|
43
|
-
*
|
|
44
|
+
* Description of the Datacenter.
|
|
44
45
|
*/
|
|
45
46
|
readonly description: string;
|
|
46
47
|
/**
|
|
47
|
-
*
|
|
48
|
+
* ID of the Datacenter.
|
|
48
49
|
*/
|
|
49
|
-
readonly id
|
|
50
|
+
readonly id?: number;
|
|
50
51
|
/**
|
|
51
|
-
*
|
|
52
|
+
* Location of the Datacenter. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-locations-are-there) for more details about locations.
|
|
52
53
|
*/
|
|
53
54
|
readonly location: {
|
|
54
55
|
[key: string]: string;
|
|
55
56
|
};
|
|
56
57
|
/**
|
|
57
|
-
*
|
|
58
|
+
* Name of the Datacenter.
|
|
58
59
|
*/
|
|
59
|
-
readonly name
|
|
60
|
+
readonly name?: string;
|
|
60
61
|
/**
|
|
61
|
-
*
|
|
62
|
+
* List of supported Server Types in the Datacenter.
|
|
62
63
|
*/
|
|
63
64
|
readonly supportedServerTypeIds: number[];
|
|
64
65
|
}
|
|
65
66
|
/**
|
|
66
67
|
* Provides details about a specific Hetzner Cloud Datacenter.
|
|
67
|
-
*
|
|
68
|
+
*
|
|
69
|
+
* Use this resource to get detailed information about a specific Datacenter.
|
|
68
70
|
*
|
|
69
71
|
* ## Example Usage
|
|
70
72
|
*
|
|
@@ -72,12 +74,12 @@ export interface GetDatacenterResult {
|
|
|
72
74
|
* import * as pulumi from "@pulumi/pulumi";
|
|
73
75
|
* import * as hcloud from "@pulumi/hcloud";
|
|
74
76
|
*
|
|
75
|
-
* const
|
|
76
|
-
* name: "fsn1-dc8",
|
|
77
|
-
* });
|
|
78
|
-
* const ds2 = hcloud.getDatacenter({
|
|
77
|
+
* const byId = hcloud.getDatacenter({
|
|
79
78
|
* id: 4,
|
|
80
79
|
* });
|
|
80
|
+
* const byName = hcloud.getDatacenter({
|
|
81
|
+
* name: "fsn1-dc14",
|
|
82
|
+
* });
|
|
81
83
|
* ```
|
|
82
84
|
*/
|
|
83
85
|
export declare function getDatacenterOutput(args?: GetDatacenterOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDatacenterResult>;
|
|
@@ -86,11 +88,11 @@ export declare function getDatacenterOutput(args?: GetDatacenterOutputArgs, opts
|
|
|
86
88
|
*/
|
|
87
89
|
export interface GetDatacenterOutputArgs {
|
|
88
90
|
/**
|
|
89
|
-
* ID of the
|
|
91
|
+
* ID of the Datacenter.
|
|
90
92
|
*/
|
|
91
93
|
id?: pulumi.Input<number>;
|
|
92
94
|
/**
|
|
93
|
-
* Name of the
|
|
95
|
+
* Name of the Datacenter.
|
|
94
96
|
*/
|
|
95
97
|
name?: pulumi.Input<string>;
|
|
96
98
|
}
|
package/getDatacenter.js
CHANGED
|
@@ -7,7 +7,8 @@ const pulumi = require("@pulumi/pulumi");
|
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
9
|
* Provides details about a specific Hetzner Cloud Datacenter.
|
|
10
|
-
*
|
|
10
|
+
*
|
|
11
|
+
* Use this resource to get detailed information about a specific Datacenter.
|
|
11
12
|
*
|
|
12
13
|
* ## Example Usage
|
|
13
14
|
*
|
|
@@ -15,12 +16,12 @@ const utilities = require("./utilities");
|
|
|
15
16
|
* import * as pulumi from "@pulumi/pulumi";
|
|
16
17
|
* import * as hcloud from "@pulumi/hcloud";
|
|
17
18
|
*
|
|
18
|
-
* const
|
|
19
|
-
* name: "fsn1-dc8",
|
|
20
|
-
* });
|
|
21
|
-
* const ds2 = hcloud.getDatacenter({
|
|
19
|
+
* const byId = hcloud.getDatacenter({
|
|
22
20
|
* id: 4,
|
|
23
21
|
* });
|
|
22
|
+
* const byName = hcloud.getDatacenter({
|
|
23
|
+
* name: "fsn1-dc14",
|
|
24
|
+
* });
|
|
24
25
|
* ```
|
|
25
26
|
*/
|
|
26
27
|
function getDatacenter(args, opts) {
|
|
@@ -34,7 +35,8 @@ function getDatacenter(args, opts) {
|
|
|
34
35
|
exports.getDatacenter = getDatacenter;
|
|
35
36
|
/**
|
|
36
37
|
* Provides details about a specific Hetzner Cloud Datacenter.
|
|
37
|
-
*
|
|
38
|
+
*
|
|
39
|
+
* Use this resource to get detailed information about a specific Datacenter.
|
|
38
40
|
*
|
|
39
41
|
* ## Example Usage
|
|
40
42
|
*
|
|
@@ -42,12 +44,12 @@ exports.getDatacenter = getDatacenter;
|
|
|
42
44
|
* import * as pulumi from "@pulumi/pulumi";
|
|
43
45
|
* import * as hcloud from "@pulumi/hcloud";
|
|
44
46
|
*
|
|
45
|
-
* const
|
|
46
|
-
* name: "fsn1-dc8",
|
|
47
|
-
* });
|
|
48
|
-
* const ds2 = hcloud.getDatacenter({
|
|
47
|
+
* const byId = hcloud.getDatacenter({
|
|
49
48
|
* id: 4,
|
|
50
49
|
* });
|
|
50
|
+
* const byName = hcloud.getDatacenter({
|
|
51
|
+
* name: "fsn1-dc14",
|
|
52
|
+
* });
|
|
51
53
|
* ```
|
|
52
54
|
*/
|
|
53
55
|
function getDatacenterOutput(args, opts) {
|
package/getDatacenter.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDatacenter.js","sourceRoot":"","sources":["../getDatacenter.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getDatacenter.js","sourceRoot":"","sources":["../getDatacenter.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,aAAa,CAAC,IAAwB,EAAE,IAA2B;IAC/E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE;QACrE,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,sCAOC;AA6CD;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,mBAAmB,CAAC,IAA8B,EAAE,IAA2B;IAC3F,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,0CAA0C,EAAE;QAC3E,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,kDAOC"}
|
package/getDatacenters.d.ts
CHANGED
|
@@ -2,87 +2,35 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as outputs from "./types/output";
|
|
3
3
|
/**
|
|
4
4
|
* Provides a list of available Hetzner Cloud Datacenters.
|
|
5
|
-
*
|
|
5
|
+
*
|
|
6
|
+
* This resource may be useful to create highly available infrastructure, distributed across several Datacenters.
|
|
6
7
|
*/
|
|
7
|
-
export declare function getDatacenters(
|
|
8
|
-
/**
|
|
9
|
-
* A collection of arguments for invoking getDatacenters.
|
|
10
|
-
*/
|
|
11
|
-
export interface GetDatacentersArgs {
|
|
12
|
-
/**
|
|
13
|
-
* (list) List of unique datacenter identifiers. **Deprecated**: Use `datacenters` attribute instead.
|
|
14
|
-
*
|
|
15
|
-
* @deprecated Use datacenters list instead
|
|
16
|
-
*/
|
|
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[];
|
|
31
|
-
}
|
|
8
|
+
export declare function getDatacenters(opts?: pulumi.InvokeOptions): Promise<GetDatacentersResult>;
|
|
32
9
|
/**
|
|
33
10
|
* A collection of values returned by getDatacenters.
|
|
34
11
|
*/
|
|
35
12
|
export interface GetDatacentersResult {
|
|
36
13
|
/**
|
|
37
|
-
* (list) List of unique datacenter identifiers. **Deprecated**: Use `datacenters` attribute instead.
|
|
38
|
-
*
|
|
39
14
|
* @deprecated Use datacenters list instead
|
|
40
15
|
*/
|
|
41
|
-
readonly datacenterIds
|
|
42
|
-
/**
|
|
43
|
-
* (list) List of all datacenters. See `data.hcloud_datacenter` for schema.
|
|
44
|
-
*/
|
|
16
|
+
readonly datacenterIds: string[];
|
|
45
17
|
readonly datacenters: outputs.GetDatacentersDatacenter[];
|
|
46
18
|
/**
|
|
47
|
-
* (list) List of all datacenter descriptions. **Deprecated**: Use `datacenters` attribute instead.
|
|
48
|
-
*
|
|
49
19
|
* @deprecated Use datacenters list instead
|
|
50
20
|
*/
|
|
51
|
-
readonly descriptions
|
|
52
|
-
|
|
21
|
+
readonly descriptions: string[];
|
|
22
|
+
/**
|
|
23
|
+
* The ID of this resource.
|
|
24
|
+
*/
|
|
25
|
+
readonly id: string;
|
|
53
26
|
/**
|
|
54
|
-
* (list) List of datacenter names. **Deprecated**: Use `datacenters` attribute instead.
|
|
55
|
-
*
|
|
56
27
|
* @deprecated Use datacenters list instead
|
|
57
28
|
*/
|
|
58
|
-
readonly names
|
|
29
|
+
readonly names: string[];
|
|
59
30
|
}
|
|
60
31
|
/**
|
|
61
32
|
* Provides a list of available Hetzner Cloud Datacenters.
|
|
62
|
-
*
|
|
63
|
-
|
|
64
|
-
export declare function getDatacentersOutput(args?: GetDatacentersOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDatacentersResult>;
|
|
65
|
-
/**
|
|
66
|
-
* A collection of arguments for invoking getDatacenters.
|
|
33
|
+
*
|
|
34
|
+
* This resource may be useful to create highly available infrastructure, distributed across several Datacenters.
|
|
67
35
|
*/
|
|
68
|
-
export
|
|
69
|
-
/**
|
|
70
|
-
* (list) List of unique datacenter identifiers. **Deprecated**: Use `datacenters` attribute instead.
|
|
71
|
-
*
|
|
72
|
-
* @deprecated Use datacenters list instead
|
|
73
|
-
*/
|
|
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>[]>;
|
|
88
|
-
}
|
|
36
|
+
export declare function getDatacentersOutput(opts?: pulumi.InvokeOptions): pulumi.Output<GetDatacentersResult>;
|
package/getDatacenters.js
CHANGED
|
@@ -7,32 +7,22 @@ const pulumi = require("@pulumi/pulumi");
|
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
9
|
* Provides a list of available Hetzner Cloud Datacenters.
|
|
10
|
-
*
|
|
10
|
+
*
|
|
11
|
+
* This resource may be useful to create highly available infrastructure, distributed across several Datacenters.
|
|
11
12
|
*/
|
|
12
|
-
function getDatacenters(
|
|
13
|
-
args = args || {};
|
|
13
|
+
function getDatacenters(opts) {
|
|
14
14
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
15
|
-
return pulumi.runtime.invoke("hcloud:index/getDatacenters:getDatacenters", {
|
|
16
|
-
"datacenterIds": args.datacenterIds,
|
|
17
|
-
"descriptions": args.descriptions,
|
|
18
|
-
"id": args.id,
|
|
19
|
-
"names": args.names,
|
|
20
|
-
}, opts);
|
|
15
|
+
return pulumi.runtime.invoke("hcloud:index/getDatacenters:getDatacenters", {}, opts);
|
|
21
16
|
}
|
|
22
17
|
exports.getDatacenters = getDatacenters;
|
|
23
18
|
/**
|
|
24
19
|
* Provides a list of available Hetzner Cloud Datacenters.
|
|
25
|
-
*
|
|
20
|
+
*
|
|
21
|
+
* This resource may be useful to create highly available infrastructure, distributed across several Datacenters.
|
|
26
22
|
*/
|
|
27
|
-
function getDatacentersOutput(
|
|
28
|
-
args = args || {};
|
|
23
|
+
function getDatacentersOutput(opts) {
|
|
29
24
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
30
|
-
return pulumi.runtime.invokeOutput("hcloud:index/getDatacenters:getDatacenters", {
|
|
31
|
-
"datacenterIds": args.datacenterIds,
|
|
32
|
-
"descriptions": args.descriptions,
|
|
33
|
-
"id": args.id,
|
|
34
|
-
"names": args.names,
|
|
35
|
-
}, opts);
|
|
25
|
+
return pulumi.runtime.invokeOutput("hcloud:index/getDatacenters:getDatacenters", {}, opts);
|
|
36
26
|
}
|
|
37
27
|
exports.getDatacentersOutput = getDatacentersOutput;
|
|
38
28
|
//# sourceMappingURL=getDatacenters.js.map
|
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
|
|
1
|
+
{"version":3,"file":"getDatacenters.js","sourceRoot":"","sources":["../getDatacenters.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;GAIG;AACH,SAAgB,cAAc,CAAC,IAA2B;IACtD,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,EAC1E,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,wCAIC;AAwBD;;;;GAIG;AACH,SAAgB,oBAAoB,CAAC,IAA2B;IAC5D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4CAA4C,EAAE,EAChF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,oDAIC"}
|
package/getLoadBalancerType.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
3
|
* Provides details about a specific Hetzner Cloud Load Balancer Type.
|
|
4
|
-
*
|
|
4
|
+
*
|
|
5
|
+
* Use this resource to get detailed information about a specific Load Balancer Type.
|
|
5
6
|
*
|
|
6
7
|
* ## Example Usage
|
|
7
8
|
*
|
|
@@ -9,16 +10,16 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
9
10
|
* import * as pulumi from "@pulumi/pulumi";
|
|
10
11
|
* import * as hcloud from "@pulumi/hcloud";
|
|
11
12
|
*
|
|
12
|
-
* const byName = hcloud.getLoadBalancerType({
|
|
13
|
-
* name: "cx22",
|
|
14
|
-
* });
|
|
15
13
|
* const byId = hcloud.getLoadBalancerType({
|
|
16
14
|
* id: 1,
|
|
17
15
|
* });
|
|
18
|
-
* const
|
|
16
|
+
* const byName = hcloud.getLoadBalancerType({
|
|
17
|
+
* name: "lb11",
|
|
18
|
+
* });
|
|
19
|
+
* const main = new hcloud.LoadBalancer("main", {
|
|
19
20
|
* name: "my-load-balancer",
|
|
20
21
|
* loadBalancerType: name,
|
|
21
|
-
* location: "
|
|
22
|
+
* location: "fsn1",
|
|
22
23
|
* });
|
|
23
24
|
* ```
|
|
24
25
|
*/
|
|
@@ -28,11 +29,11 @@ export declare function getLoadBalancerType(args?: GetLoadBalancerTypeArgs, opts
|
|
|
28
29
|
*/
|
|
29
30
|
export interface GetLoadBalancerTypeArgs {
|
|
30
31
|
/**
|
|
31
|
-
* ID of the
|
|
32
|
+
* ID of the Load Balancer Type.
|
|
32
33
|
*/
|
|
33
34
|
id?: number;
|
|
34
35
|
/**
|
|
35
|
-
* Name of the
|
|
36
|
+
* Name of the Load Balancer Type.
|
|
36
37
|
*/
|
|
37
38
|
name?: string;
|
|
38
39
|
}
|
|
@@ -41,37 +42,38 @@ export interface GetLoadBalancerTypeArgs {
|
|
|
41
42
|
*/
|
|
42
43
|
export interface GetLoadBalancerTypeResult {
|
|
43
44
|
/**
|
|
44
|
-
*
|
|
45
|
+
* Description of the Load Balancer Type.
|
|
45
46
|
*/
|
|
46
47
|
readonly description: string;
|
|
47
48
|
/**
|
|
48
|
-
*
|
|
49
|
+
* ID of the Load Balancer Type.
|
|
49
50
|
*/
|
|
50
51
|
readonly id: number;
|
|
51
52
|
/**
|
|
52
|
-
*
|
|
53
|
+
* Maximum number of certificates that can be assigned for the Load Balancer of this type.
|
|
53
54
|
*/
|
|
54
55
|
readonly maxAssignedCertificates: number;
|
|
55
56
|
/**
|
|
56
|
-
*
|
|
57
|
+
* Maximum number of simultaneous open connections for the Load Balancer of this type.
|
|
57
58
|
*/
|
|
58
59
|
readonly maxConnections: number;
|
|
59
60
|
/**
|
|
60
|
-
*
|
|
61
|
+
* Maximum number of services for the Load Balancer of this type.
|
|
61
62
|
*/
|
|
62
63
|
readonly maxServices: number;
|
|
63
64
|
/**
|
|
64
|
-
*
|
|
65
|
+
* Maximum number of targets for the Load Balancer of this type.
|
|
65
66
|
*/
|
|
66
67
|
readonly maxTargets: number;
|
|
67
68
|
/**
|
|
68
|
-
*
|
|
69
|
+
* Name of the Load Balancer Type.
|
|
69
70
|
*/
|
|
70
71
|
readonly name: string;
|
|
71
72
|
}
|
|
72
73
|
/**
|
|
73
74
|
* Provides details about a specific Hetzner Cloud Load Balancer Type.
|
|
74
|
-
*
|
|
75
|
+
*
|
|
76
|
+
* Use this resource to get detailed information about a specific Load Balancer Type.
|
|
75
77
|
*
|
|
76
78
|
* ## Example Usage
|
|
77
79
|
*
|
|
@@ -79,16 +81,16 @@ export interface GetLoadBalancerTypeResult {
|
|
|
79
81
|
* import * as pulumi from "@pulumi/pulumi";
|
|
80
82
|
* import * as hcloud from "@pulumi/hcloud";
|
|
81
83
|
*
|
|
82
|
-
* const byName = hcloud.getLoadBalancerType({
|
|
83
|
-
* name: "cx22",
|
|
84
|
-
* });
|
|
85
84
|
* const byId = hcloud.getLoadBalancerType({
|
|
86
85
|
* id: 1,
|
|
87
86
|
* });
|
|
88
|
-
* const
|
|
87
|
+
* const byName = hcloud.getLoadBalancerType({
|
|
88
|
+
* name: "lb11",
|
|
89
|
+
* });
|
|
90
|
+
* const main = new hcloud.LoadBalancer("main", {
|
|
89
91
|
* name: "my-load-balancer",
|
|
90
92
|
* loadBalancerType: name,
|
|
91
|
-
* location: "
|
|
93
|
+
* location: "fsn1",
|
|
92
94
|
* });
|
|
93
95
|
* ```
|
|
94
96
|
*/
|
|
@@ -98,11 +100,11 @@ export declare function getLoadBalancerTypeOutput(args?: GetLoadBalancerTypeOutp
|
|
|
98
100
|
*/
|
|
99
101
|
export interface GetLoadBalancerTypeOutputArgs {
|
|
100
102
|
/**
|
|
101
|
-
* ID of the
|
|
103
|
+
* ID of the Load Balancer Type.
|
|
102
104
|
*/
|
|
103
105
|
id?: pulumi.Input<number>;
|
|
104
106
|
/**
|
|
105
|
-
* Name of the
|
|
107
|
+
* Name of the Load Balancer Type.
|
|
106
108
|
*/
|
|
107
109
|
name?: pulumi.Input<string>;
|
|
108
110
|
}
|
package/getLoadBalancerType.js
CHANGED
|
@@ -7,7 +7,8 @@ const pulumi = require("@pulumi/pulumi");
|
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
9
|
* Provides details about a specific Hetzner Cloud Load Balancer Type.
|
|
10
|
-
*
|
|
10
|
+
*
|
|
11
|
+
* Use this resource to get detailed information about a specific Load Balancer Type.
|
|
11
12
|
*
|
|
12
13
|
* ## Example Usage
|
|
13
14
|
*
|
|
@@ -15,16 +16,16 @@ const utilities = require("./utilities");
|
|
|
15
16
|
* import * as pulumi from "@pulumi/pulumi";
|
|
16
17
|
* import * as hcloud from "@pulumi/hcloud";
|
|
17
18
|
*
|
|
18
|
-
* const byName = hcloud.getLoadBalancerType({
|
|
19
|
-
* name: "cx22",
|
|
20
|
-
* });
|
|
21
19
|
* const byId = hcloud.getLoadBalancerType({
|
|
22
20
|
* id: 1,
|
|
23
21
|
* });
|
|
24
|
-
* const
|
|
22
|
+
* const byName = hcloud.getLoadBalancerType({
|
|
23
|
+
* name: "lb11",
|
|
24
|
+
* });
|
|
25
|
+
* const main = new hcloud.LoadBalancer("main", {
|
|
25
26
|
* name: "my-load-balancer",
|
|
26
27
|
* loadBalancerType: name,
|
|
27
|
-
* location: "
|
|
28
|
+
* location: "fsn1",
|
|
28
29
|
* });
|
|
29
30
|
* ```
|
|
30
31
|
*/
|
|
@@ -39,7 +40,8 @@ function getLoadBalancerType(args, opts) {
|
|
|
39
40
|
exports.getLoadBalancerType = getLoadBalancerType;
|
|
40
41
|
/**
|
|
41
42
|
* Provides details about a specific Hetzner Cloud Load Balancer Type.
|
|
42
|
-
*
|
|
43
|
+
*
|
|
44
|
+
* Use this resource to get detailed information about a specific Load Balancer Type.
|
|
43
45
|
*
|
|
44
46
|
* ## Example Usage
|
|
45
47
|
*
|
|
@@ -47,16 +49,16 @@ exports.getLoadBalancerType = getLoadBalancerType;
|
|
|
47
49
|
* import * as pulumi from "@pulumi/pulumi";
|
|
48
50
|
* import * as hcloud from "@pulumi/hcloud";
|
|
49
51
|
*
|
|
50
|
-
* const byName = hcloud.getLoadBalancerType({
|
|
51
|
-
* name: "cx22",
|
|
52
|
-
* });
|
|
53
52
|
* const byId = hcloud.getLoadBalancerType({
|
|
54
53
|
* id: 1,
|
|
55
54
|
* });
|
|
56
|
-
* const
|
|
55
|
+
* const byName = hcloud.getLoadBalancerType({
|
|
56
|
+
* name: "lb11",
|
|
57
|
+
* });
|
|
58
|
+
* const main = new hcloud.LoadBalancer("main", {
|
|
57
59
|
* name: "my-load-balancer",
|
|
58
60
|
* loadBalancerType: name,
|
|
59
|
-
* location: "
|
|
61
|
+
* location: "fsn1",
|
|
60
62
|
* });
|
|
61
63
|
* ```
|
|
62
64
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getLoadBalancerType.js","sourceRoot":"","sources":["../getLoadBalancerType.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getLoadBalancerType.js","sourceRoot":"","sources":["../getLoadBalancerType.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,SAAgB,mBAAmB,CAAC,IAA8B,EAAE,IAA2B;IAC3F,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sDAAsD,EAAE;QACjF,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,kDAOC;AAiDD;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,SAAgB,yBAAyB,CAAC,IAAoC,EAAE,IAA2B;IACvG,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,sDAAsD,EAAE;QACvF,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,8DAOC"}
|
|
@@ -17,10 +17,10 @@ export declare function getLoadBalancerTypes(opts?: pulumi.InvokeOptions): Promi
|
|
|
17
17
|
* A collection of values returned by getLoadBalancerTypes.
|
|
18
18
|
*/
|
|
19
19
|
export interface GetLoadBalancerTypesResult {
|
|
20
|
-
readonly id: string;
|
|
21
20
|
/**
|
|
22
|
-
*
|
|
21
|
+
* The ID of this resource.
|
|
23
22
|
*/
|
|
23
|
+
readonly id: string;
|
|
24
24
|
readonly loadBalancerTypes: outputs.GetLoadBalancerTypesLoadBalancerType[];
|
|
25
25
|
}
|
|
26
26
|
/**
|