pulumi-hcloud 1.24.0a1753336797__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.0a1753336797.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.0a1753336797.dist-info/RECORD +0 -67
- {pulumi_hcloud-1.24.0a1753336797.dist-info → pulumi_hcloud-1.24.0a1753509442.dist-info}/WHEEL +0 -0
- {pulumi_hcloud-1.24.0a1753336797.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,57 +49,57 @@ class GetLoadBalancerTypeResult:
|
|
50
49
|
raise TypeError("Expected argument 'name' to be a str")
|
51
50
|
pulumi.set(__self__, "name", name)
|
52
51
|
|
53
|
-
@property
|
52
|
+
@_builtins.property
|
54
53
|
@pulumi.getter
|
55
|
-
def description(self) ->
|
54
|
+
def description(self) -> _builtins.str:
|
56
55
|
"""
|
57
56
|
Description of the Load Balancer Type.
|
58
57
|
"""
|
59
58
|
return pulumi.get(self, "description")
|
60
59
|
|
61
|
-
@property
|
60
|
+
@_builtins.property
|
62
61
|
@pulumi.getter
|
63
|
-
def id(self) ->
|
62
|
+
def id(self) -> _builtins.int:
|
64
63
|
"""
|
65
64
|
ID of the Load Balancer Type.
|
66
65
|
"""
|
67
66
|
return pulumi.get(self, "id")
|
68
67
|
|
69
|
-
@property
|
68
|
+
@_builtins.property
|
70
69
|
@pulumi.getter(name="maxAssignedCertificates")
|
71
|
-
def max_assigned_certificates(self) ->
|
70
|
+
def max_assigned_certificates(self) -> _builtins.int:
|
72
71
|
"""
|
73
72
|
Maximum number of certificates that can be assigned for the Load Balancer of this type.
|
74
73
|
"""
|
75
74
|
return pulumi.get(self, "max_assigned_certificates")
|
76
75
|
|
77
|
-
@property
|
76
|
+
@_builtins.property
|
78
77
|
@pulumi.getter(name="maxConnections")
|
79
|
-
def max_connections(self) ->
|
78
|
+
def max_connections(self) -> _builtins.int:
|
80
79
|
"""
|
81
80
|
Maximum number of simultaneous open connections for the Load Balancer of this type.
|
82
81
|
"""
|
83
82
|
return pulumi.get(self, "max_connections")
|
84
83
|
|
85
|
-
@property
|
84
|
+
@_builtins.property
|
86
85
|
@pulumi.getter(name="maxServices")
|
87
|
-
def max_services(self) ->
|
86
|
+
def max_services(self) -> _builtins.int:
|
88
87
|
"""
|
89
88
|
Maximum number of services for the Load Balancer of this type.
|
90
89
|
"""
|
91
90
|
return pulumi.get(self, "max_services")
|
92
91
|
|
93
|
-
@property
|
92
|
+
@_builtins.property
|
94
93
|
@pulumi.getter(name="maxTargets")
|
95
|
-
def max_targets(self) ->
|
94
|
+
def max_targets(self) -> _builtins.int:
|
96
95
|
"""
|
97
96
|
Maximum number of targets for the Load Balancer of this type.
|
98
97
|
"""
|
99
98
|
return pulumi.get(self, "max_targets")
|
100
99
|
|
101
|
-
@property
|
100
|
+
@_builtins.property
|
102
101
|
@pulumi.getter
|
103
|
-
def name(self) ->
|
102
|
+
def name(self) -> _builtins.str:
|
104
103
|
"""
|
105
104
|
Name of the Load Balancer Type.
|
106
105
|
"""
|
@@ -122,8 +121,8 @@ class AwaitableGetLoadBalancerTypeResult(GetLoadBalancerTypeResult):
|
|
122
121
|
name=self.name)
|
123
122
|
|
124
123
|
|
125
|
-
def get_load_balancer_type(id: Optional[
|
126
|
-
name: Optional[
|
124
|
+
def get_load_balancer_type(id: Optional[_builtins.int] = None,
|
125
|
+
name: Optional[_builtins.str] = None,
|
127
126
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetLoadBalancerTypeResult:
|
128
127
|
"""
|
129
128
|
Provides details about a specific Hetzner Cloud Load Balancer Type.
|
@@ -145,8 +144,8 @@ def get_load_balancer_type(id: Optional[builtins.int] = None,
|
|
145
144
|
```
|
146
145
|
|
147
146
|
|
148
|
-
:param
|
149
|
-
:param
|
147
|
+
:param _builtins.int id: ID of the Load Balancer Type.
|
148
|
+
:param _builtins.str name: Name of the Load Balancer Type.
|
150
149
|
"""
|
151
150
|
__args__ = dict()
|
152
151
|
__args__['id'] = id
|
@@ -162,8 +161,8 @@ def get_load_balancer_type(id: Optional[builtins.int] = None,
|
|
162
161
|
max_services=pulumi.get(__ret__, 'max_services'),
|
163
162
|
max_targets=pulumi.get(__ret__, 'max_targets'),
|
164
163
|
name=pulumi.get(__ret__, 'name'))
|
165
|
-
def get_load_balancer_type_output(id: Optional[pulumi.Input[Optional[
|
166
|
-
name: Optional[pulumi.Input[Optional[
|
164
|
+
def get_load_balancer_type_output(id: Optional[pulumi.Input[Optional[_builtins.int]]] = None,
|
165
|
+
name: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
167
166
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetLoadBalancerTypeResult]:
|
168
167
|
"""
|
169
168
|
Provides details about a specific Hetzner Cloud Load Balancer Type.
|
@@ -185,8 +184,8 @@ def get_load_balancer_type_output(id: Optional[pulumi.Input[Optional[builtins.in
|
|
185
184
|
```
|
186
185
|
|
187
186
|
|
188
|
-
:param
|
189
|
-
:param
|
187
|
+
:param _builtins.int id: ID of the Load Balancer Type.
|
188
|
+
:param _builtins.str name: Name of the Load Balancer Type.
|
190
189
|
"""
|
191
190
|
__args__ = dict()
|
192
191
|
__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
|
@@ -36,15 +35,15 @@ class GetLoadBalancerTypesResult:
|
|
36
35
|
raise TypeError("Expected argument 'load_balancer_types' to be a list")
|
37
36
|
pulumi.set(__self__, "load_balancer_types", load_balancer_types)
|
38
37
|
|
39
|
-
@property
|
38
|
+
@_builtins.property
|
40
39
|
@pulumi.getter
|
41
|
-
def id(self) ->
|
40
|
+
def id(self) -> _builtins.str:
|
42
41
|
"""
|
43
42
|
The ID of this resource.
|
44
43
|
"""
|
45
44
|
return pulumi.get(self, "id")
|
46
45
|
|
47
|
-
@property
|
46
|
+
@_builtins.property
|
48
47
|
@pulumi.getter(name="loadBalancerTypes")
|
49
48
|
def load_balancer_types(self) -> Sequence['outputs.GetLoadBalancerTypesLoadBalancerTypeResult']:
|
50
49
|
return pulumi.get(self, "load_balancer_types")
|
@@ -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 GetLoadBalancersResult:
|
|
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="loadBalancers")
|
52
51
|
def load_balancers(self) -> Sequence['outputs.GetLoadBalancersLoadBalancerResult']:
|
53
52
|
"""
|
@@ -55,9 +54,9 @@ class GetLoadBalancersResult:
|
|
55
54
|
"""
|
56
55
|
return pulumi.get(self, "load_balancers")
|
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 AwaitableGetLoadBalancersResult(GetLoadBalancersResult):
|
|
72
71
|
with_selector=self.with_selector)
|
73
72
|
|
74
73
|
|
75
|
-
def get_load_balancers(with_selector: Optional[
|
74
|
+
def get_load_balancers(with_selector: Optional[_builtins.str] = None,
|
76
75
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetLoadBalancersResult:
|
77
76
|
"""
|
78
77
|
Provides details about multiple Hetzner Cloud Load Balancers.
|
@@ -88,7 +87,7 @@ def get_load_balancers(with_selector: Optional[builtins.str] = None,
|
|
88
87
|
```
|
89
88
|
|
90
89
|
|
91
|
-
:param
|
90
|
+
:param _builtins.str with_selector: [Label selector](https://docs.hetzner.cloud/#overview-label-selector)
|
92
91
|
"""
|
93
92
|
__args__ = dict()
|
94
93
|
__args__['withSelector'] = with_selector
|
@@ -99,7 +98,7 @@ def get_load_balancers(with_selector: Optional[builtins.str] = None,
|
|
99
98
|
id=pulumi.get(__ret__, 'id'),
|
100
99
|
load_balancers=pulumi.get(__ret__, 'load_balancers'),
|
101
100
|
with_selector=pulumi.get(__ret__, 'with_selector'))
|
102
|
-
def get_load_balancers_output(with_selector: Optional[pulumi.Input[Optional[
|
101
|
+
def get_load_balancers_output(with_selector: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
103
102
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetLoadBalancersResult]:
|
104
103
|
"""
|
105
104
|
Provides details about multiple Hetzner Cloud Load Balancers.
|
@@ -115,7 +114,7 @@ def get_load_balancers_output(with_selector: Optional[pulumi.Input[Optional[buil
|
|
115
114
|
```
|
116
115
|
|
117
116
|
|
118
|
-
:param
|
117
|
+
:param _builtins.str with_selector: [Label selector](https://docs.hetzner.cloud/#overview-label-selector)
|
119
118
|
"""
|
120
119
|
__args__ = dict()
|
121
120
|
__args__['withSelector'] = with_selector
|
pulumi_hcloud/get_location.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
|
@@ -53,65 +52,65 @@ class GetLocationResult:
|
|
53
52
|
raise TypeError("Expected argument 'network_zone' to be a str")
|
54
53
|
pulumi.set(__self__, "network_zone", network_zone)
|
55
54
|
|
56
|
-
@property
|
55
|
+
@_builtins.property
|
57
56
|
@pulumi.getter
|
58
|
-
def city(self) ->
|
57
|
+
def city(self) -> _builtins.str:
|
59
58
|
"""
|
60
59
|
Name of the closest city to the Location. City name and optionally state in short form.
|
61
60
|
"""
|
62
61
|
return pulumi.get(self, "city")
|
63
62
|
|
64
|
-
@property
|
63
|
+
@_builtins.property
|
65
64
|
@pulumi.getter
|
66
|
-
def country(self) ->
|
65
|
+
def country(self) -> _builtins.str:
|
67
66
|
"""
|
68
67
|
Country the Location resides in. ISO 3166-1 alpha-2 code of the country.
|
69
68
|
"""
|
70
69
|
return pulumi.get(self, "country")
|
71
70
|
|
72
|
-
@property
|
71
|
+
@_builtins.property
|
73
72
|
@pulumi.getter
|
74
|
-
def description(self) ->
|
73
|
+
def description(self) -> _builtins.str:
|
75
74
|
"""
|
76
75
|
Description of the Location.
|
77
76
|
"""
|
78
77
|
return pulumi.get(self, "description")
|
79
78
|
|
80
|
-
@property
|
79
|
+
@_builtins.property
|
81
80
|
@pulumi.getter
|
82
|
-
def id(self) -> Optional[
|
81
|
+
def id(self) -> Optional[_builtins.int]:
|
83
82
|
"""
|
84
83
|
ID of the Location.
|
85
84
|
"""
|
86
85
|
return pulumi.get(self, "id")
|
87
86
|
|
88
|
-
@property
|
87
|
+
@_builtins.property
|
89
88
|
@pulumi.getter
|
90
|
-
def latitude(self) ->
|
89
|
+
def latitude(self) -> _builtins.float:
|
91
90
|
"""
|
92
91
|
Latitude of the city closest to the Location.
|
93
92
|
"""
|
94
93
|
return pulumi.get(self, "latitude")
|
95
94
|
|
96
|
-
@property
|
95
|
+
@_builtins.property
|
97
96
|
@pulumi.getter
|
98
|
-
def longitude(self) ->
|
97
|
+
def longitude(self) -> _builtins.float:
|
99
98
|
"""
|
100
99
|
Longitude of the city closest to the Location.
|
101
100
|
"""
|
102
101
|
return pulumi.get(self, "longitude")
|
103
102
|
|
104
|
-
@property
|
103
|
+
@_builtins.property
|
105
104
|
@pulumi.getter
|
106
|
-
def name(self) -> Optional[
|
105
|
+
def name(self) -> Optional[_builtins.str]:
|
107
106
|
"""
|
108
107
|
Name of the Location.
|
109
108
|
"""
|
110
109
|
return pulumi.get(self, "name")
|
111
110
|
|
112
|
-
@property
|
111
|
+
@_builtins.property
|
113
112
|
@pulumi.getter(name="networkZone")
|
114
|
-
def network_zone(self) ->
|
113
|
+
def network_zone(self) -> _builtins.str:
|
115
114
|
"""
|
116
115
|
Name of the Network Zone this Location resides in.
|
117
116
|
"""
|
@@ -134,8 +133,8 @@ class AwaitableGetLocationResult(GetLocationResult):
|
|
134
133
|
network_zone=self.network_zone)
|
135
134
|
|
136
135
|
|
137
|
-
def get_location(id: Optional[
|
138
|
-
name: Optional[
|
136
|
+
def get_location(id: Optional[_builtins.int] = None,
|
137
|
+
name: Optional[_builtins.str] = None,
|
139
138
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetLocationResult:
|
140
139
|
"""
|
141
140
|
Provides details about a specific Hetzner Cloud Location.
|
@@ -153,8 +152,8 @@ def get_location(id: Optional[builtins.int] = None,
|
|
153
152
|
```
|
154
153
|
|
155
154
|
|
156
|
-
:param
|
157
|
-
:param
|
155
|
+
:param _builtins.int id: ID of the Location.
|
156
|
+
:param _builtins.str name: Name of the Location.
|
158
157
|
"""
|
159
158
|
__args__ = dict()
|
160
159
|
__args__['id'] = id
|
@@ -171,8 +170,8 @@ def get_location(id: Optional[builtins.int] = None,
|
|
171
170
|
longitude=pulumi.get(__ret__, 'longitude'),
|
172
171
|
name=pulumi.get(__ret__, 'name'),
|
173
172
|
network_zone=pulumi.get(__ret__, 'network_zone'))
|
174
|
-
def get_location_output(id: Optional[pulumi.Input[Optional[
|
175
|
-
name: Optional[pulumi.Input[Optional[
|
173
|
+
def get_location_output(id: Optional[pulumi.Input[Optional[_builtins.int]]] = None,
|
174
|
+
name: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
176
175
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetLocationResult]:
|
177
176
|
"""
|
178
177
|
Provides details about a specific Hetzner Cloud Location.
|
@@ -190,8 +189,8 @@ def get_location_output(id: Optional[pulumi.Input[Optional[builtins.int]]] = Non
|
|
190
189
|
```
|
191
190
|
|
192
191
|
|
193
|
-
:param
|
194
|
-
:param
|
192
|
+
:param _builtins.int id: ID of the Location.
|
193
|
+
:param _builtins.str name: Name of the Location.
|
195
194
|
"""
|
196
195
|
__args__ = dict()
|
197
196
|
__args__['id'] = id
|
pulumi_hcloud/get_locations.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
|
@@ -45,35 +44,35 @@ class GetLocationsResult:
|
|
45
44
|
raise TypeError("Expected argument 'names' to be a list")
|
46
45
|
pulumi.set(__self__, "names", names)
|
47
46
|
|
48
|
-
@property
|
47
|
+
@_builtins.property
|
49
48
|
@pulumi.getter
|
50
49
|
@_utilities.deprecated("""Use locations list instead""")
|
51
|
-
def descriptions(self) -> Sequence[
|
50
|
+
def descriptions(self) -> Sequence[_builtins.str]:
|
52
51
|
return pulumi.get(self, "descriptions")
|
53
52
|
|
54
|
-
@property
|
53
|
+
@_builtins.property
|
55
54
|
@pulumi.getter
|
56
|
-
def id(self) ->
|
55
|
+
def id(self) -> _builtins.str:
|
57
56
|
"""
|
58
57
|
The ID of this resource.
|
59
58
|
"""
|
60
59
|
return pulumi.get(self, "id")
|
61
60
|
|
62
|
-
@property
|
61
|
+
@_builtins.property
|
63
62
|
@pulumi.getter(name="locationIds")
|
64
63
|
@_utilities.deprecated("""Use locations list instead""")
|
65
|
-
def location_ids(self) -> Sequence[
|
64
|
+
def location_ids(self) -> Sequence[_builtins.str]:
|
66
65
|
return pulumi.get(self, "location_ids")
|
67
66
|
|
68
|
-
@property
|
67
|
+
@_builtins.property
|
69
68
|
@pulumi.getter
|
70
69
|
def locations(self) -> Sequence['outputs.GetLocationsLocationResult']:
|
71
70
|
return pulumi.get(self, "locations")
|
72
71
|
|
73
|
-
@property
|
72
|
+
@_builtins.property
|
74
73
|
@pulumi.getter
|
75
74
|
@_utilities.deprecated("""Use locations list instead""")
|
76
|
-
def names(self) -> Sequence[
|
75
|
+
def names(self) -> Sequence[_builtins.str]:
|
77
76
|
return pulumi.get(self, "names")
|
78
77
|
|
79
78
|
|
pulumi_hcloud/get_network.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
|
@@ -53,60 +52,60 @@ class GetNetworkResult:
|
|
53
52
|
raise TypeError("Expected argument 'with_selector' to be a str")
|
54
53
|
pulumi.set(__self__, "with_selector", with_selector)
|
55
54
|
|
56
|
-
@property
|
55
|
+
@_builtins.property
|
57
56
|
@pulumi.getter(name="deleteProtection")
|
58
|
-
def delete_protection(self) ->
|
57
|
+
def delete_protection(self) -> _builtins.bool:
|
59
58
|
"""
|
60
59
|
(bool) Whether delete protection is enabled.
|
61
60
|
"""
|
62
61
|
return pulumi.get(self, "delete_protection")
|
63
62
|
|
64
|
-
@property
|
63
|
+
@_builtins.property
|
65
64
|
@pulumi.getter(name="exposeRoutesToVswitch")
|
66
|
-
def expose_routes_to_vswitch(self) ->
|
65
|
+
def expose_routes_to_vswitch(self) -> _builtins.bool:
|
67
66
|
"""
|
68
67
|
(bool) Indicates if the routes from this network should be exposed to the vSwitch connection. The exposing only takes effect if a vSwitch connection is active.
|
69
68
|
"""
|
70
69
|
return pulumi.get(self, "expose_routes_to_vswitch")
|
71
70
|
|
72
|
-
@property
|
71
|
+
@_builtins.property
|
73
72
|
@pulumi.getter
|
74
|
-
def id(self) ->
|
73
|
+
def id(self) -> _builtins.int:
|
75
74
|
"""
|
76
75
|
Unique ID of the Network.
|
77
76
|
"""
|
78
77
|
return pulumi.get(self, "id")
|
79
78
|
|
80
|
-
@property
|
79
|
+
@_builtins.property
|
81
80
|
@pulumi.getter(name="ipRange")
|
82
|
-
def ip_range(self) ->
|
81
|
+
def ip_range(self) -> _builtins.str:
|
83
82
|
"""
|
84
83
|
IPv4 prefix of the Network.
|
85
84
|
"""
|
86
85
|
return pulumi.get(self, "ip_range")
|
87
86
|
|
88
|
-
@property
|
87
|
+
@_builtins.property
|
89
88
|
@pulumi.getter
|
90
|
-
def labels(self) -> Mapping[str,
|
89
|
+
def labels(self) -> Mapping[str, _builtins.str]:
|
91
90
|
return pulumi.get(self, "labels")
|
92
91
|
|
93
|
-
@property
|
92
|
+
@_builtins.property
|
94
93
|
@pulumi.getter(name="mostRecent")
|
95
94
|
@_utilities.deprecated("""This attribute has no purpose.""")
|
96
|
-
def most_recent(self) -> Optional[
|
95
|
+
def most_recent(self) -> Optional[_builtins.bool]:
|
97
96
|
return pulumi.get(self, "most_recent")
|
98
97
|
|
99
|
-
@property
|
98
|
+
@_builtins.property
|
100
99
|
@pulumi.getter
|
101
|
-
def name(self) ->
|
100
|
+
def name(self) -> _builtins.str:
|
102
101
|
"""
|
103
102
|
Name of the Network.
|
104
103
|
"""
|
105
104
|
return pulumi.get(self, "name")
|
106
105
|
|
107
|
-
@property
|
106
|
+
@_builtins.property
|
108
107
|
@pulumi.getter(name="withSelector")
|
109
|
-
def with_selector(self) -> Optional[
|
108
|
+
def with_selector(self) -> Optional[_builtins.str]:
|
110
109
|
return pulumi.get(self, "with_selector")
|
111
110
|
|
112
111
|
|
@@ -126,12 +125,12 @@ class AwaitableGetNetworkResult(GetNetworkResult):
|
|
126
125
|
with_selector=self.with_selector)
|
127
126
|
|
128
127
|
|
129
|
-
def get_network(id: Optional[
|
130
|
-
ip_range: Optional[
|
131
|
-
labels: Optional[Mapping[str,
|
132
|
-
most_recent: Optional[
|
133
|
-
name: Optional[
|
134
|
-
with_selector: Optional[
|
128
|
+
def get_network(id: Optional[_builtins.int] = None,
|
129
|
+
ip_range: Optional[_builtins.str] = None,
|
130
|
+
labels: Optional[Mapping[str, _builtins.str]] = None,
|
131
|
+
most_recent: Optional[_builtins.bool] = None,
|
132
|
+
name: Optional[_builtins.str] = None,
|
133
|
+
with_selector: Optional[_builtins.str] = None,
|
135
134
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNetworkResult:
|
136
135
|
"""
|
137
136
|
## Example Usage
|
@@ -146,10 +145,10 @@ def get_network(id: Optional[builtins.int] = None,
|
|
146
145
|
```
|
147
146
|
|
148
147
|
|
149
|
-
:param
|
150
|
-
:param
|
151
|
-
:param
|
152
|
-
:param
|
148
|
+
:param _builtins.int id: ID of the Network.
|
149
|
+
:param _builtins.str ip_range: IPv4 prefix of the Network.
|
150
|
+
:param _builtins.str name: Name of the Network.
|
151
|
+
:param _builtins.str with_selector: Label Selector. For more information about possible values, visit the [Hetzner Cloud Documentation](https://docs.hetzner.cloud/#overview-label-selector).
|
153
152
|
"""
|
154
153
|
__args__ = dict()
|
155
154
|
__args__['id'] = id
|
@@ -170,12 +169,12 @@ def get_network(id: Optional[builtins.int] = None,
|
|
170
169
|
most_recent=pulumi.get(__ret__, 'most_recent'),
|
171
170
|
name=pulumi.get(__ret__, 'name'),
|
172
171
|
with_selector=pulumi.get(__ret__, 'with_selector'))
|
173
|
-
def get_network_output(id: Optional[pulumi.Input[Optional[
|
174
|
-
ip_range: Optional[pulumi.Input[Optional[
|
175
|
-
labels: Optional[pulumi.Input[Optional[Mapping[str,
|
176
|
-
most_recent: Optional[pulumi.Input[Optional[
|
177
|
-
name: Optional[pulumi.Input[Optional[
|
178
|
-
with_selector: Optional[pulumi.Input[Optional[
|
172
|
+
def get_network_output(id: Optional[pulumi.Input[Optional[_builtins.int]]] = None,
|
173
|
+
ip_range: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
174
|
+
labels: Optional[pulumi.Input[Optional[Mapping[str, _builtins.str]]]] = None,
|
175
|
+
most_recent: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
|
176
|
+
name: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
177
|
+
with_selector: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
179
178
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetNetworkResult]:
|
180
179
|
"""
|
181
180
|
## Example Usage
|
@@ -190,10 +189,10 @@ def get_network_output(id: Optional[pulumi.Input[Optional[builtins.int]]] = None
|
|
190
189
|
```
|
191
190
|
|
192
191
|
|
193
|
-
:param
|
194
|
-
:param
|
195
|
-
:param
|
196
|
-
:param
|
192
|
+
:param _builtins.int id: ID of the Network.
|
193
|
+
:param _builtins.str ip_range: IPv4 prefix of the Network.
|
194
|
+
:param _builtins.str name: Name of the Network.
|
195
|
+
:param _builtins.str with_selector: Label Selector. For more information about possible values, visit the [Hetzner Cloud Documentation](https://docs.hetzner.cloud/#overview-label-selector).
|
197
196
|
"""
|
198
197
|
__args__ = dict()
|
199
198
|
__args__['id'] = id
|
pulumi_hcloud/get_networks.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 GetNetworksResult:
|
|
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
|
52
51
|
def networks(self) -> Sequence['outputs.GetNetworksNetworkResult']:
|
53
52
|
"""
|
@@ -55,9 +54,9 @@ class GetNetworksResult:
|
|
55
54
|
"""
|
56
55
|
return pulumi.get(self, "networks")
|
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 AwaitableGetNetworksResult(GetNetworksResult):
|
|
72
71
|
with_selector=self.with_selector)
|
73
72
|
|
74
73
|
|
75
|
-
def get_networks(with_selector: Optional[
|
74
|
+
def get_networks(with_selector: Optional[_builtins.str] = None,
|
76
75
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNetworksResult:
|
77
76
|
"""
|
78
77
|
Provides details about multiple Hetzner Cloud Networks.
|
@@ -88,7 +87,7 @@ def get_networks(with_selector: Optional[builtins.str] = None,
|
|
88
87
|
```
|
89
88
|
|
90
89
|
|
91
|
-
:param
|
90
|
+
:param _builtins.str with_selector: [Label selector](https://docs.hetzner.cloud/#overview-label-selector)
|
92
91
|
"""
|
93
92
|
__args__ = dict()
|
94
93
|
__args__['withSelector'] = with_selector
|
@@ -99,7 +98,7 @@ def get_networks(with_selector: Optional[builtins.str] = None,
|
|
99
98
|
id=pulumi.get(__ret__, 'id'),
|
100
99
|
networks=pulumi.get(__ret__, 'networks'),
|
101
100
|
with_selector=pulumi.get(__ret__, 'with_selector'))
|
102
|
-
def get_networks_output(with_selector: Optional[pulumi.Input[Optional[
|
101
|
+
def get_networks_output(with_selector: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
103
102
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetNetworksResult]:
|
104
103
|
"""
|
105
104
|
Provides details about multiple Hetzner Cloud Networks.
|
@@ -115,7 +114,7 @@ def get_networks_output(with_selector: Optional[pulumi.Input[Optional[builtins.s
|
|
115
114
|
```
|
116
115
|
|
117
116
|
|
118
|
-
:param
|
117
|
+
:param _builtins.str with_selector: [Label selector](https://docs.hetzner.cloud/#overview-label-selector)
|
119
118
|
"""
|
120
119
|
__args__ = dict()
|
121
120
|
__args__['withSelector'] = with_selector
|