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