pulumi-hcloud 1.23.0a1743487182__py3-none-any.whl → 1.23.0a1744183178__py3-none-any.whl
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.
- pulumi_hcloud/__init__.py +1 -0
- pulumi_hcloud/_inputs.py +213 -212
- pulumi_hcloud/certificate.py +71 -70
- pulumi_hcloud/config/__init__.py +1 -0
- pulumi_hcloud/config/__init__.pyi +1 -0
- pulumi_hcloud/config/vars.py +1 -0
- pulumi_hcloud/firewall.py +29 -28
- pulumi_hcloud/firewall_attachment.py +43 -42
- pulumi_hcloud/floating_ip.py +113 -112
- pulumi_hcloud/floating_ip_assignment.py +29 -28
- pulumi_hcloud/get_certificate.py +24 -23
- pulumi_hcloud/get_certificates.py +7 -6
- pulumi_hcloud/get_datacenter.py +15 -14
- pulumi_hcloud/get_datacenters.py +5 -4
- pulumi_hcloud/get_firewall.py +26 -25
- pulumi_hcloud/get_firewalls.py +12 -11
- pulumi_hcloud/get_floating_ip.py +31 -30
- pulumi_hcloud/get_floating_ips.py +7 -6
- pulumi_hcloud/get_image.py +48 -47
- pulumi_hcloud/get_images.py +27 -26
- pulumi_hcloud/get_load_balancer.py +25 -24
- pulumi_hcloud/get_load_balancer_type.py +16 -15
- pulumi_hcloud/get_load_balancer_types.py +2 -1
- pulumi_hcloud/get_load_balancers.py +7 -6
- pulumi_hcloud/get_location.py +17 -16
- pulumi_hcloud/get_locations.py +5 -4
- pulumi_hcloud/get_network.py +29 -28
- pulumi_hcloud/get_networks.py +7 -6
- pulumi_hcloud/get_placement_group.py +32 -31
- pulumi_hcloud/get_placement_groups.py +12 -11
- pulumi_hcloud/get_primary_ip.py +33 -32
- pulumi_hcloud/get_primary_ips.py +7 -6
- pulumi_hcloud/get_server.py +46 -45
- pulumi_hcloud/get_server_type.py +22 -21
- pulumi_hcloud/get_server_types.py +5 -4
- pulumi_hcloud/get_servers.py +12 -11
- pulumi_hcloud/get_ssh_key.py +28 -27
- pulumi_hcloud/get_ssh_keys.py +11 -10
- pulumi_hcloud/get_volume.py +38 -37
- pulumi_hcloud/get_volumes.py +12 -11
- pulumi_hcloud/load_balancer.py +113 -112
- pulumi_hcloud/load_balancer_network.py +71 -70
- pulumi_hcloud/load_balancer_service.py +71 -70
- pulumi_hcloud/load_balancer_target.py +85 -84
- pulumi_hcloud/managed_certificate.py +83 -82
- pulumi_hcloud/network.py +71 -70
- pulumi_hcloud/network_route.py +43 -42
- pulumi_hcloud/network_subnet.py +76 -75
- pulumi_hcloud/outputs.py +574 -573
- pulumi_hcloud/placement_group.py +48 -47
- pulumi_hcloud/primary_ip.py +127 -126
- pulumi_hcloud/provider.py +33 -32
- pulumi_hcloud/pulumi-plugin.json +1 -1
- pulumi_hcloud/rdns.py +85 -84
- pulumi_hcloud/server.py +305 -304
- pulumi_hcloud/server_network.py +76 -75
- pulumi_hcloud/snapshot.py +43 -42
- pulumi_hcloud/ssh_key.py +50 -49
- pulumi_hcloud/uploaded_certificate.py +97 -96
- pulumi_hcloud/volume.py +120 -119
- pulumi_hcloud/volume_attachment.py +43 -42
- {pulumi_hcloud-1.23.0a1743487182.dist-info → pulumi_hcloud-1.23.0a1744183178.dist-info}/METADATA +1 -1
- pulumi_hcloud-1.23.0a1744183178.dist-info/RECORD +67 -0
- pulumi_hcloud-1.23.0a1743487182.dist-info/RECORD +0 -67
- {pulumi_hcloud-1.23.0a1743487182.dist-info → pulumi_hcloud-1.23.0a1744183178.dist-info}/WHEEL +0 -0
- {pulumi_hcloud-1.23.0a1743487182.dist-info → pulumi_hcloud-1.23.0a1744183178.dist-info}/top_level.txt +0 -0
pulumi_hcloud/get_networks.py
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
4
|
|
5
|
+
import builtins
|
5
6
|
import copy
|
6
7
|
import warnings
|
7
8
|
import sys
|
@@ -40,7 +41,7 @@ class GetNetworksResult:
|
|
40
41
|
|
41
42
|
@property
|
42
43
|
@pulumi.getter
|
43
|
-
def id(self) -> str:
|
44
|
+
def id(self) -> builtins.str:
|
44
45
|
"""
|
45
46
|
The provider-assigned unique ID for this managed resource.
|
46
47
|
"""
|
@@ -56,7 +57,7 @@ class GetNetworksResult:
|
|
56
57
|
|
57
58
|
@property
|
58
59
|
@pulumi.getter(name="withSelector")
|
59
|
-
def with_selector(self) -> Optional[str]:
|
60
|
+
def with_selector(self) -> Optional[builtins.str]:
|
60
61
|
return pulumi.get(self, "with_selector")
|
61
62
|
|
62
63
|
|
@@ -71,7 +72,7 @@ class AwaitableGetNetworksResult(GetNetworksResult):
|
|
71
72
|
with_selector=self.with_selector)
|
72
73
|
|
73
74
|
|
74
|
-
def get_networks(with_selector: Optional[str] = None,
|
75
|
+
def get_networks(with_selector: Optional[builtins.str] = None,
|
75
76
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNetworksResult:
|
76
77
|
"""
|
77
78
|
Provides details about multiple Hetzner Cloud Networks.
|
@@ -87,7 +88,7 @@ def get_networks(with_selector: Optional[str] = None,
|
|
87
88
|
```
|
88
89
|
|
89
90
|
|
90
|
-
:param str with_selector: [Label selector](https://docs.hetzner.cloud/#overview-label-selector)
|
91
|
+
:param builtins.str with_selector: [Label selector](https://docs.hetzner.cloud/#overview-label-selector)
|
91
92
|
"""
|
92
93
|
__args__ = dict()
|
93
94
|
__args__['withSelector'] = with_selector
|
@@ -98,7 +99,7 @@ def get_networks(with_selector: Optional[str] = None,
|
|
98
99
|
id=pulumi.get(__ret__, 'id'),
|
99
100
|
networks=pulumi.get(__ret__, 'networks'),
|
100
101
|
with_selector=pulumi.get(__ret__, 'with_selector'))
|
101
|
-
def get_networks_output(with_selector: Optional[pulumi.Input[Optional[str]]] = None,
|
102
|
+
def get_networks_output(with_selector: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
102
103
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetNetworksResult]:
|
103
104
|
"""
|
104
105
|
Provides details about multiple Hetzner Cloud Networks.
|
@@ -114,7 +115,7 @@ def get_networks_output(with_selector: Optional[pulumi.Input[Optional[str]]] = N
|
|
114
115
|
```
|
115
116
|
|
116
117
|
|
117
|
-
:param str with_selector: [Label selector](https://docs.hetzner.cloud/#overview-label-selector)
|
118
|
+
:param builtins.str with_selector: [Label selector](https://docs.hetzner.cloud/#overview-label-selector)
|
118
119
|
"""
|
119
120
|
__args__ = dict()
|
120
121
|
__args__['withSelector'] = with_selector
|
@@ -2,6 +2,7 @@
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
4
|
|
5
|
+
import builtins
|
5
6
|
import copy
|
6
7
|
import warnings
|
7
8
|
import sys
|
@@ -51,7 +52,7 @@ class GetPlacementGroupResult:
|
|
51
52
|
|
52
53
|
@property
|
53
54
|
@pulumi.getter
|
54
|
-
def id(self) -> int:
|
55
|
+
def id(self) -> builtins.int:
|
55
56
|
"""
|
56
57
|
(int) Unique ID of the Placement Group.
|
57
58
|
"""
|
@@ -59,7 +60,7 @@ class GetPlacementGroupResult:
|
|
59
60
|
|
60
61
|
@property
|
61
62
|
@pulumi.getter
|
62
|
-
def labels(self) -> Mapping[str, str]:
|
63
|
+
def labels(self) -> Mapping[str, builtins.str]:
|
63
64
|
"""
|
64
65
|
(map) User-defined labels (key-value pairs)
|
65
66
|
"""
|
@@ -67,12 +68,12 @@ class GetPlacementGroupResult:
|
|
67
68
|
|
68
69
|
@property
|
69
70
|
@pulumi.getter(name="mostRecent")
|
70
|
-
def most_recent(self) -> Optional[bool]:
|
71
|
+
def most_recent(self) -> Optional[builtins.bool]:
|
71
72
|
return pulumi.get(self, "most_recent")
|
72
73
|
|
73
74
|
@property
|
74
75
|
@pulumi.getter
|
75
|
-
def name(self) -> str:
|
76
|
+
def name(self) -> builtins.str:
|
76
77
|
"""
|
77
78
|
(string) Name of the Placement Group.
|
78
79
|
"""
|
@@ -80,12 +81,12 @@ class GetPlacementGroupResult:
|
|
80
81
|
|
81
82
|
@property
|
82
83
|
@pulumi.getter
|
83
|
-
def servers(self) -> Sequence[int]:
|
84
|
+
def servers(self) -> Sequence[builtins.int]:
|
84
85
|
return pulumi.get(self, "servers")
|
85
86
|
|
86
87
|
@property
|
87
88
|
@pulumi.getter
|
88
|
-
def type(self) -> str:
|
89
|
+
def type(self) -> builtins.str:
|
89
90
|
"""
|
90
91
|
(string) Type of the Placement Group.
|
91
92
|
"""
|
@@ -93,7 +94,7 @@ class GetPlacementGroupResult:
|
|
93
94
|
|
94
95
|
@property
|
95
96
|
@pulumi.getter(name="withSelector")
|
96
|
-
def with_selector(self) -> Optional[str]:
|
97
|
+
def with_selector(self) -> Optional[builtins.str]:
|
97
98
|
return pulumi.get(self, "with_selector")
|
98
99
|
|
99
100
|
|
@@ -112,12 +113,12 @@ class AwaitableGetPlacementGroupResult(GetPlacementGroupResult):
|
|
112
113
|
with_selector=self.with_selector)
|
113
114
|
|
114
115
|
|
115
|
-
def get_placement_group(id: Optional[int] = None,
|
116
|
-
labels: Optional[Mapping[str, str]] = None,
|
117
|
-
most_recent: Optional[bool] = None,
|
118
|
-
name: Optional[str] = None,
|
119
|
-
type: Optional[str] = None,
|
120
|
-
with_selector: Optional[str] = None,
|
116
|
+
def get_placement_group(id: Optional[builtins.int] = None,
|
117
|
+
labels: Optional[Mapping[str, builtins.str]] = None,
|
118
|
+
most_recent: Optional[builtins.bool] = None,
|
119
|
+
name: Optional[builtins.str] = None,
|
120
|
+
type: Optional[builtins.str] = None,
|
121
|
+
with_selector: Optional[builtins.str] = None,
|
121
122
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPlacementGroupResult:
|
122
123
|
"""
|
123
124
|
Provides details about a specific Hetzner Cloud Placement Group.
|
@@ -131,12 +132,12 @@ def get_placement_group(id: Optional[int] = None,
|
|
131
132
|
```
|
132
133
|
|
133
134
|
|
134
|
-
:param int id: ID of the placement group.
|
135
|
-
:param Mapping[str, str] labels: (map) User-defined labels (key-value pairs)
|
136
|
-
:param bool most_recent: Return most recent placement group if multiple are found.
|
137
|
-
:param str name: Name of the placement group.
|
138
|
-
:param str type: (string) Type of the Placement Group.
|
139
|
-
:param str with_selector: [Label selector](https://docs.hetzner.cloud/#overview-label-selector)
|
135
|
+
:param builtins.int id: ID of the placement group.
|
136
|
+
:param Mapping[str, builtins.str] labels: (map) User-defined labels (key-value pairs)
|
137
|
+
:param builtins.bool most_recent: Return most recent placement group if multiple are found.
|
138
|
+
:param builtins.str name: Name of the placement group.
|
139
|
+
:param builtins.str type: (string) Type of the Placement Group.
|
140
|
+
:param builtins.str with_selector: [Label selector](https://docs.hetzner.cloud/#overview-label-selector)
|
140
141
|
"""
|
141
142
|
__args__ = dict()
|
142
143
|
__args__['id'] = id
|
@@ -156,12 +157,12 @@ def get_placement_group(id: Optional[int] = None,
|
|
156
157
|
servers=pulumi.get(__ret__, 'servers'),
|
157
158
|
type=pulumi.get(__ret__, 'type'),
|
158
159
|
with_selector=pulumi.get(__ret__, 'with_selector'))
|
159
|
-
def get_placement_group_output(id: Optional[pulumi.Input[Optional[int]]] = None,
|
160
|
-
labels: Optional[pulumi.Input[Optional[Mapping[str, str]]]] = None,
|
161
|
-
most_recent: Optional[pulumi.Input[Optional[bool]]] = None,
|
162
|
-
name: Optional[pulumi.Input[Optional[str]]] = None,
|
163
|
-
type: Optional[pulumi.Input[Optional[str]]] = None,
|
164
|
-
with_selector: Optional[pulumi.Input[Optional[str]]] = None,
|
160
|
+
def get_placement_group_output(id: Optional[pulumi.Input[Optional[builtins.int]]] = None,
|
161
|
+
labels: Optional[pulumi.Input[Optional[Mapping[str, builtins.str]]]] = None,
|
162
|
+
most_recent: Optional[pulumi.Input[Optional[builtins.bool]]] = None,
|
163
|
+
name: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
164
|
+
type: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
165
|
+
with_selector: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
165
166
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetPlacementGroupResult]:
|
166
167
|
"""
|
167
168
|
Provides details about a specific Hetzner Cloud Placement Group.
|
@@ -175,12 +176,12 @@ def get_placement_group_output(id: Optional[pulumi.Input[Optional[int]]] = None,
|
|
175
176
|
```
|
176
177
|
|
177
178
|
|
178
|
-
:param int id: ID of the placement group.
|
179
|
-
:param Mapping[str, str] labels: (map) User-defined labels (key-value pairs)
|
180
|
-
:param bool most_recent: Return most recent placement group if multiple are found.
|
181
|
-
:param str name: Name of the placement group.
|
182
|
-
:param str type: (string) Type of the Placement Group.
|
183
|
-
:param str with_selector: [Label selector](https://docs.hetzner.cloud/#overview-label-selector)
|
179
|
+
:param builtins.int id: ID of the placement group.
|
180
|
+
:param Mapping[str, builtins.str] labels: (map) User-defined labels (key-value pairs)
|
181
|
+
:param builtins.bool most_recent: Return most recent placement group if multiple are found.
|
182
|
+
:param builtins.str name: Name of the placement group.
|
183
|
+
:param builtins.str type: (string) Type of the Placement Group.
|
184
|
+
:param builtins.str with_selector: [Label selector](https://docs.hetzner.cloud/#overview-label-selector)
|
184
185
|
"""
|
185
186
|
__args__ = dict()
|
186
187
|
__args__['id'] = id
|
@@ -2,6 +2,7 @@
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
4
|
|
5
|
+
import builtins
|
5
6
|
import copy
|
6
7
|
import warnings
|
7
8
|
import sys
|
@@ -43,7 +44,7 @@ class GetPlacementGroupsResult:
|
|
43
44
|
|
44
45
|
@property
|
45
46
|
@pulumi.getter
|
46
|
-
def id(self) -> str:
|
47
|
+
def id(self) -> builtins.str:
|
47
48
|
"""
|
48
49
|
The provider-assigned unique ID for this managed resource.
|
49
50
|
"""
|
@@ -51,7 +52,7 @@ class GetPlacementGroupsResult:
|
|
51
52
|
|
52
53
|
@property
|
53
54
|
@pulumi.getter(name="mostRecent")
|
54
|
-
def most_recent(self) -> Optional[bool]:
|
55
|
+
def most_recent(self) -> Optional[builtins.bool]:
|
55
56
|
return pulumi.get(self, "most_recent")
|
56
57
|
|
57
58
|
@property
|
@@ -64,7 +65,7 @@ class GetPlacementGroupsResult:
|
|
64
65
|
|
65
66
|
@property
|
66
67
|
@pulumi.getter(name="withSelector")
|
67
|
-
def with_selector(self) -> Optional[str]:
|
68
|
+
def with_selector(self) -> Optional[builtins.str]:
|
68
69
|
return pulumi.get(self, "with_selector")
|
69
70
|
|
70
71
|
|
@@ -80,8 +81,8 @@ class AwaitableGetPlacementGroupsResult(GetPlacementGroupsResult):
|
|
80
81
|
with_selector=self.with_selector)
|
81
82
|
|
82
83
|
|
83
|
-
def get_placement_groups(most_recent: Optional[bool] = None,
|
84
|
-
with_selector: Optional[str] = None,
|
84
|
+
def get_placement_groups(most_recent: Optional[builtins.bool] = None,
|
85
|
+
with_selector: Optional[builtins.str] = None,
|
85
86
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPlacementGroupsResult:
|
86
87
|
"""
|
87
88
|
Provides details about multiple Hetzner Cloud Placement Groups.
|
@@ -97,8 +98,8 @@ def get_placement_groups(most_recent: Optional[bool] = None,
|
|
97
98
|
```
|
98
99
|
|
99
100
|
|
100
|
-
:param bool most_recent: Sorts list by date.
|
101
|
-
:param str with_selector: [Label selector](https://docs.hetzner.cloud/#overview-label-selector)
|
101
|
+
:param builtins.bool most_recent: Sorts list by date.
|
102
|
+
:param builtins.str with_selector: [Label selector](https://docs.hetzner.cloud/#overview-label-selector)
|
102
103
|
"""
|
103
104
|
__args__ = dict()
|
104
105
|
__args__['mostRecent'] = most_recent
|
@@ -111,8 +112,8 @@ def get_placement_groups(most_recent: Optional[bool] = None,
|
|
111
112
|
most_recent=pulumi.get(__ret__, 'most_recent'),
|
112
113
|
placement_groups=pulumi.get(__ret__, 'placement_groups'),
|
113
114
|
with_selector=pulumi.get(__ret__, 'with_selector'))
|
114
|
-
def get_placement_groups_output(most_recent: Optional[pulumi.Input[Optional[bool]]] = None,
|
115
|
-
with_selector: Optional[pulumi.Input[Optional[str]]] = None,
|
115
|
+
def get_placement_groups_output(most_recent: Optional[pulumi.Input[Optional[builtins.bool]]] = None,
|
116
|
+
with_selector: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
116
117
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetPlacementGroupsResult]:
|
117
118
|
"""
|
118
119
|
Provides details about multiple Hetzner Cloud Placement Groups.
|
@@ -128,8 +129,8 @@ def get_placement_groups_output(most_recent: Optional[pulumi.Input[Optional[bool
|
|
128
129
|
```
|
129
130
|
|
130
131
|
|
131
|
-
:param bool most_recent: Sorts list by date.
|
132
|
-
:param str with_selector: [Label selector](https://docs.hetzner.cloud/#overview-label-selector)
|
132
|
+
:param builtins.bool most_recent: Sorts list by date.
|
133
|
+
:param builtins.str with_selector: [Label selector](https://docs.hetzner.cloud/#overview-label-selector)
|
133
134
|
"""
|
134
135
|
__args__ = dict()
|
135
136
|
__args__['mostRecent'] = most_recent
|
pulumi_hcloud/get_primary_ip.py
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
4
|
|
5
|
+
import builtins
|
5
6
|
import copy
|
6
7
|
import warnings
|
7
8
|
import sys
|
@@ -66,7 +67,7 @@ class GetPrimaryIpResult:
|
|
66
67
|
|
67
68
|
@property
|
68
69
|
@pulumi.getter(name="assigneeId")
|
69
|
-
def assignee_id(self) -> int:
|
70
|
+
def assignee_id(self) -> builtins.int:
|
70
71
|
"""
|
71
72
|
(int) ID of the assigned resource.
|
72
73
|
"""
|
@@ -74,7 +75,7 @@ class GetPrimaryIpResult:
|
|
74
75
|
|
75
76
|
@property
|
76
77
|
@pulumi.getter(name="assigneeType")
|
77
|
-
def assignee_type(self) -> str:
|
78
|
+
def assignee_type(self) -> builtins.str:
|
78
79
|
"""
|
79
80
|
(string) The type of the assigned resource.
|
80
81
|
"""
|
@@ -82,7 +83,7 @@ class GetPrimaryIpResult:
|
|
82
83
|
|
83
84
|
@property
|
84
85
|
@pulumi.getter(name="autoDelete")
|
85
|
-
def auto_delete(self) -> bool:
|
86
|
+
def auto_delete(self) -> builtins.bool:
|
86
87
|
"""
|
87
88
|
(bool) Whether auto delete is enabled.
|
88
89
|
"""
|
@@ -90,7 +91,7 @@ class GetPrimaryIpResult:
|
|
90
91
|
|
91
92
|
@property
|
92
93
|
@pulumi.getter
|
93
|
-
def datacenter(self) -> str:
|
94
|
+
def datacenter(self) -> builtins.str:
|
94
95
|
"""
|
95
96
|
(string) The datacenter name of the Primary IP. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-datacenters-are-there) for more details about datacenters.
|
96
97
|
"""
|
@@ -98,7 +99,7 @@ class GetPrimaryIpResult:
|
|
98
99
|
|
99
100
|
@property
|
100
101
|
@pulumi.getter(name="deleteProtection")
|
101
|
-
def delete_protection(self) -> bool:
|
102
|
+
def delete_protection(self) -> builtins.bool:
|
102
103
|
"""
|
103
104
|
(bool) Whether delete protection is enabled.
|
104
105
|
"""
|
@@ -106,7 +107,7 @@ class GetPrimaryIpResult:
|
|
106
107
|
|
107
108
|
@property
|
108
109
|
@pulumi.getter
|
109
|
-
def id(self) -> int:
|
110
|
+
def id(self) -> builtins.int:
|
110
111
|
"""
|
111
112
|
(int) Unique ID of the Primary IP.
|
112
113
|
"""
|
@@ -114,7 +115,7 @@ class GetPrimaryIpResult:
|
|
114
115
|
|
115
116
|
@property
|
116
117
|
@pulumi.getter(name="ipAddress")
|
117
|
-
def ip_address(self) -> str:
|
118
|
+
def ip_address(self) -> builtins.str:
|
118
119
|
"""
|
119
120
|
(string) IP Address of the Primary IP.
|
120
121
|
"""
|
@@ -122,7 +123,7 @@ class GetPrimaryIpResult:
|
|
122
123
|
|
123
124
|
@property
|
124
125
|
@pulumi.getter(name="ipNetwork")
|
125
|
-
def ip_network(self) -> str:
|
126
|
+
def ip_network(self) -> builtins.str:
|
126
127
|
"""
|
127
128
|
(string) IPv6 subnet of the Primary IP for IPv6 addresses. (Only set if `type` is `ipv6`)
|
128
129
|
"""
|
@@ -130,7 +131,7 @@ class GetPrimaryIpResult:
|
|
130
131
|
|
131
132
|
@property
|
132
133
|
@pulumi.getter
|
133
|
-
def labels(self) -> Mapping[str, str]:
|
134
|
+
def labels(self) -> Mapping[str, builtins.str]:
|
134
135
|
"""
|
135
136
|
(map) User-defined labels (key-value pairs).
|
136
137
|
"""
|
@@ -138,7 +139,7 @@ class GetPrimaryIpResult:
|
|
138
139
|
|
139
140
|
@property
|
140
141
|
@pulumi.getter
|
141
|
-
def name(self) -> Optional[str]:
|
142
|
+
def name(self) -> Optional[builtins.str]:
|
142
143
|
"""
|
143
144
|
(string) Name of the Primary IP.
|
144
145
|
"""
|
@@ -146,7 +147,7 @@ class GetPrimaryIpResult:
|
|
146
147
|
|
147
148
|
@property
|
148
149
|
@pulumi.getter
|
149
|
-
def type(self) -> str:
|
150
|
+
def type(self) -> builtins.str:
|
150
151
|
"""
|
151
152
|
(string) Type of the Primary IP.
|
152
153
|
"""
|
@@ -154,7 +155,7 @@ class GetPrimaryIpResult:
|
|
154
155
|
|
155
156
|
@property
|
156
157
|
@pulumi.getter(name="withSelector")
|
157
|
-
def with_selector(self) -> Optional[str]:
|
158
|
+
def with_selector(self) -> Optional[builtins.str]:
|
158
159
|
return pulumi.get(self, "with_selector")
|
159
160
|
|
160
161
|
|
@@ -178,11 +179,11 @@ class AwaitableGetPrimaryIpResult(GetPrimaryIpResult):
|
|
178
179
|
with_selector=self.with_selector)
|
179
180
|
|
180
181
|
|
181
|
-
def get_primary_ip(assignee_id: Optional[int] = None,
|
182
|
-
id: Optional[int] = None,
|
183
|
-
ip_address: Optional[str] = None,
|
184
|
-
name: Optional[str] = None,
|
185
|
-
with_selector: Optional[str] = None,
|
182
|
+
def get_primary_ip(assignee_id: Optional[builtins.int] = None,
|
183
|
+
id: Optional[builtins.int] = None,
|
184
|
+
ip_address: Optional[builtins.str] = None,
|
185
|
+
name: Optional[builtins.str] = None,
|
186
|
+
with_selector: Optional[builtins.str] = None,
|
186
187
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPrimaryIpResult:
|
187
188
|
"""
|
188
189
|
Provides details about a Hetzner Cloud Primary IP.
|
@@ -225,11 +226,11 @@ def get_primary_ip(assignee_id: Optional[int] = None,
|
|
225
226
|
```
|
226
227
|
|
227
228
|
|
228
|
-
:param int assignee_id: (int) ID of the assigned resource.
|
229
|
-
:param int id: ID of the Primary IP.
|
230
|
-
:param str ip_address: IP address of the Primary IP.
|
231
|
-
:param str name: Name of the Primary IP.
|
232
|
-
:param str with_selector: [Label selector](https://docs.hetzner.cloud/#overview-label-selector)
|
229
|
+
:param builtins.int assignee_id: (int) ID of the assigned resource.
|
230
|
+
:param builtins.int id: ID of the Primary IP.
|
231
|
+
:param builtins.str ip_address: IP address of the Primary IP.
|
232
|
+
:param builtins.str name: Name of the Primary IP.
|
233
|
+
:param builtins.str with_selector: [Label selector](https://docs.hetzner.cloud/#overview-label-selector)
|
233
234
|
"""
|
234
235
|
__args__ = dict()
|
235
236
|
__args__['assigneeId'] = assignee_id
|
@@ -253,11 +254,11 @@ def get_primary_ip(assignee_id: Optional[int] = None,
|
|
253
254
|
name=pulumi.get(__ret__, 'name'),
|
254
255
|
type=pulumi.get(__ret__, 'type'),
|
255
256
|
with_selector=pulumi.get(__ret__, 'with_selector'))
|
256
|
-
def get_primary_ip_output(assignee_id: Optional[pulumi.Input[Optional[int]]] = None,
|
257
|
-
id: Optional[pulumi.Input[Optional[int]]] = None,
|
258
|
-
ip_address: Optional[pulumi.Input[Optional[str]]] = None,
|
259
|
-
name: Optional[pulumi.Input[Optional[str]]] = None,
|
260
|
-
with_selector: Optional[pulumi.Input[Optional[str]]] = None,
|
257
|
+
def get_primary_ip_output(assignee_id: Optional[pulumi.Input[Optional[builtins.int]]] = None,
|
258
|
+
id: Optional[pulumi.Input[Optional[builtins.int]]] = None,
|
259
|
+
ip_address: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
260
|
+
name: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
261
|
+
with_selector: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
261
262
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetPrimaryIpResult]:
|
262
263
|
"""
|
263
264
|
Provides details about a Hetzner Cloud Primary IP.
|
@@ -300,11 +301,11 @@ def get_primary_ip_output(assignee_id: Optional[pulumi.Input[Optional[int]]] = N
|
|
300
301
|
```
|
301
302
|
|
302
303
|
|
303
|
-
:param int assignee_id: (int) ID of the assigned resource.
|
304
|
-
:param int id: ID of the Primary IP.
|
305
|
-
:param str ip_address: IP address of the Primary IP.
|
306
|
-
:param str name: Name of the Primary IP.
|
307
|
-
:param str with_selector: [Label selector](https://docs.hetzner.cloud/#overview-label-selector)
|
304
|
+
:param builtins.int assignee_id: (int) ID of the assigned resource.
|
305
|
+
:param builtins.int id: ID of the Primary IP.
|
306
|
+
:param builtins.str ip_address: IP address of the Primary IP.
|
307
|
+
:param builtins.str name: Name of the Primary IP.
|
308
|
+
:param builtins.str with_selector: [Label selector](https://docs.hetzner.cloud/#overview-label-selector)
|
308
309
|
"""
|
309
310
|
__args__ = dict()
|
310
311
|
__args__['assigneeId'] = assignee_id
|
pulumi_hcloud/get_primary_ips.py
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
4
|
|
5
|
+
import builtins
|
5
6
|
import copy
|
6
7
|
import warnings
|
7
8
|
import sys
|
@@ -40,7 +41,7 @@ class GetPrimaryIpsResult:
|
|
40
41
|
|
41
42
|
@property
|
42
43
|
@pulumi.getter
|
43
|
-
def id(self) -> str:
|
44
|
+
def id(self) -> builtins.str:
|
44
45
|
"""
|
45
46
|
The provider-assigned unique ID for this managed resource.
|
46
47
|
"""
|
@@ -56,7 +57,7 @@ class GetPrimaryIpsResult:
|
|
56
57
|
|
57
58
|
@property
|
58
59
|
@pulumi.getter(name="withSelector")
|
59
|
-
def with_selector(self) -> Optional[str]:
|
60
|
+
def with_selector(self) -> Optional[builtins.str]:
|
60
61
|
return pulumi.get(self, "with_selector")
|
61
62
|
|
62
63
|
|
@@ -71,7 +72,7 @@ class AwaitableGetPrimaryIpsResult(GetPrimaryIpsResult):
|
|
71
72
|
with_selector=self.with_selector)
|
72
73
|
|
73
74
|
|
74
|
-
def get_primary_ips(with_selector: Optional[str] = None,
|
75
|
+
def get_primary_ips(with_selector: Optional[builtins.str] = None,
|
75
76
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPrimaryIpsResult:
|
76
77
|
"""
|
77
78
|
Provides details about multiple Hetzner Cloud Primary IPs.
|
@@ -86,7 +87,7 @@ def get_primary_ips(with_selector: Optional[str] = None,
|
|
86
87
|
```
|
87
88
|
|
88
89
|
|
89
|
-
:param str with_selector: [Label selector](https://docs.hetzner.cloud/#overview-label-selector)
|
90
|
+
:param builtins.str with_selector: [Label selector](https://docs.hetzner.cloud/#overview-label-selector)
|
90
91
|
"""
|
91
92
|
__args__ = dict()
|
92
93
|
__args__['withSelector'] = with_selector
|
@@ -97,7 +98,7 @@ def get_primary_ips(with_selector: Optional[str] = None,
|
|
97
98
|
id=pulumi.get(__ret__, 'id'),
|
98
99
|
primary_ips=pulumi.get(__ret__, 'primary_ips'),
|
99
100
|
with_selector=pulumi.get(__ret__, 'with_selector'))
|
100
|
-
def get_primary_ips_output(with_selector: Optional[pulumi.Input[Optional[str]]] = None,
|
101
|
+
def get_primary_ips_output(with_selector: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
101
102
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetPrimaryIpsResult]:
|
102
103
|
"""
|
103
104
|
Provides details about multiple Hetzner Cloud Primary IPs.
|
@@ -112,7 +113,7 @@ def get_primary_ips_output(with_selector: Optional[pulumi.Input[Optional[str]]]
|
|
112
113
|
```
|
113
114
|
|
114
115
|
|
115
|
-
:param str with_selector: [Label selector](https://docs.hetzner.cloud/#overview-label-selector)
|
116
|
+
:param builtins.str with_selector: [Label selector](https://docs.hetzner.cloud/#overview-label-selector)
|
116
117
|
"""
|
117
118
|
__args__ = dict()
|
118
119
|
__args__['withSelector'] = with_selector
|