You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: scaleway-async/scaleway_async/ipam/v1/api.py
+11-11Lines changed: 11 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -57,15 +57,15 @@ async def book_ip(
57
57
resource: Optional[CustomResource] =None,
58
58
) ->IP:
59
59
"""
60
-
Book a new IP.
61
-
Book a new IP from the specified source. Currently IPs can only be booked from a Private Network.
62
-
:param source: Source in which to book the IP. Not all sources are available for booking.
60
+
Reserve a new IP.
61
+
Reserve a new IP from the specified source. Currently IPs can only be reserved from a Private Network.
62
+
:param source: Source in which to reserve the IP. Not all sources are available for reservation.
63
63
:param is_ipv6: Request an IPv6 instead of an IPv4.
64
64
:param region: Region to target. If none is passed will use default region from the config.
65
65
:param project_id: When creating an IP in a Private Network, the Project must match the Private Network's Project.
66
-
:param address: The requested address should not include the subnet mask (/suffix). Note that only the Private Network source allows you to pick a specific IP. If the requested IP is already booked, then the call will fail.
66
+
:param address: The requested address should not include the subnet mask (/suffix). Note that only the Private Network source allows you to pick a specific IP. If the requested IP is already reserved, then the call will fail.
67
67
:param tags: Tags for the IP.
68
-
:param resource: Custom resource to attach to the IP being booked. An example of a custom resource is a virtual machine hosted on an Elastic Metal server. Do not use this for attaching IP addresses to standard Scaleway resources, as it will fail - instead, see the relevant product API for an equivalent method.
68
+
:param resource: Custom resource to attach to the IP being reserved. An example of a custom resource is a virtual machine hosted on an Elastic Metal server. Do not use this for attaching IP addresses to standard Scaleway resources, as it will fail - instead, see the relevant product API for an equivalent method.
69
69
:return: :class:`IP <IP>`
70
70
71
71
Usage:
@@ -427,8 +427,8 @@ async def attach_ip(
427
427
region: Optional[Region] =None,
428
428
) ->IP:
429
429
"""
430
-
Attach existing IP to custom resource.
431
-
Attach an existing IP from a Private Network subnet to a custom, named resource via its MAC address. An example of a custom resource is a virtual machine hosted on an Elastic Metal server. Do not use this method for attaching IP addresses to standard Scaleway resources as it will fail - see the relevant product API for an equivalent method.
430
+
Attach IP to custom resource.
431
+
Attach an existing reserved IP from a Private Network subnet to a custom, named resource via its MAC address. An example of a custom resource is a virtual machine hosted on an Elastic Metal server. Do not use this method for attaching IP addresses to standard Scaleway resources as it will fail - see the relevant product API for an equivalent method.
432
432
:param ip_id: IP ID.
433
433
:param resource: Custom resource to be attached to the IP.
434
434
:param region: Region to target. If none is passed will use default region from the config.
@@ -472,8 +472,8 @@ async def detach_ip(
472
472
region: Optional[Region] =None,
473
473
) ->IP:
474
474
"""
475
-
Detach existing IP from a custom resource.
476
-
Detach a private IP from a custom resource. An example of a custom resource is a virtual machine hosted on an Elastic Metal server. Do not use this method for attaching IP addresses to standard Scaleway resources (e.g. Instances, Load Balancers) as it will fail - see the relevant product API for an equivalent method.
475
+
Detach IP from a custom resource.
476
+
Detach a private IP from a custom resource. An example of a custom resource is a virtual machine hosted on an Elastic Metal server. Do not use this method for detaching IP addresses from standard Scaleway resources (e.g. Instances, Load Balancers) as it will fail - see the relevant product API for an equivalent method.
477
477
:param ip_id: IP ID.
478
478
:param resource: Custom resource currently attached to the IP.
479
479
:param region: Region to target. If none is passed will use default region from the config.
@@ -518,8 +518,8 @@ async def move_ip(
518
518
to_resource: Optional[CustomResource] =None,
519
519
) ->IP:
520
520
"""
521
-
Move existing IP to a custom resource.
522
-
Move an existing private IP from one custom resource (e.g. a virtual machine hosted on an Elastic Metal server) to another custom resource. This will detach it from the first resource, and attach it to the second. Do not use this method for moving IP addresses between standard Scaleway resources (e.g. Instances, Load Balancers) as it will fail - see the relevant product API for an equivalent method.
521
+
Move IP to a custom resource.
522
+
Move an existing reserved private IP from one custom resource (e.g. a virtual machine hosted on an Elastic Metal server) to another custom resource. This will detach it from the first resource, and attach it to the second. Do not use this method for moving IP addresses between standard Scaleway resources (e.g. Instances, Load Balancers) as it will fail - see the relevant product API for an equivalent method.
523
523
:param ip_id: IP ID.
524
524
:param from_resource: Custom resource currently attached to the IP.
525
525
:param region: Region to target. If none is passed will use default region from the config.
Copy file name to clipboardExpand all lines: scaleway-async/scaleway_async/ipam/v1/types.py
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -147,7 +147,7 @@ class IP:
147
147
148
148
created_at: Optional[datetime]
149
149
"""
150
-
Date the IP was booked.
150
+
Date the IP was reserved.
151
151
"""
152
152
153
153
updated_at: Optional[datetime]
@@ -157,7 +157,7 @@ class IP:
157
157
158
158
source: Optional[Source]
159
159
"""
160
-
Source pool where the IP was booked in.
160
+
Source pool where the IP was reserved in.
161
161
"""
162
162
163
163
resource: Optional[Resource]
@@ -193,7 +193,7 @@ class AttachIPRequest:
193
193
classBookIPRequest:
194
194
source: Source
195
195
"""
196
-
Source in which to book the IP. Not all sources are available for booking.
196
+
Source in which to reserve the IP. Not all sources are available for reservation.
197
197
"""
198
198
199
199
is_ipv6: bool
@@ -213,7 +213,7 @@ class BookIPRequest:
213
213
214
214
address: Optional[str]
215
215
"""
216
-
The requested address should not include the subnet mask (/suffix). Note that only the Private Network source allows you to pick a specific IP. If the requested IP is already booked, then the call will fail.
216
+
The requested address should not include the subnet mask (/suffix). Note that only the Private Network source allows you to pick a specific IP. If the requested IP is already reserved, then the call will fail.
217
217
"""
218
218
219
219
tags: Optional[List[str]]
@@ -223,7 +223,7 @@ class BookIPRequest:
223
223
224
224
resource: Optional[CustomResource]
225
225
"""
226
-
Custom resource to attach to the IP being booked. An example of a custom resource is a virtual machine hosted on an Elastic Metal server. Do not use this for attaching IP addresses to standard Scaleway resources, as it will fail - instead, see the relevant product API for an equivalent method.
226
+
Custom resource to attach to the IP being reserved. An example of a custom resource is a virtual machine hosted on an Elastic Metal server. Do not use this for attaching IP addresses to standard Scaleway resources, as it will fail - instead, see the relevant product API for an equivalent method.
Copy file name to clipboardExpand all lines: scaleway/scaleway/ipam/v1/api.py
+11-11Lines changed: 11 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -57,15 +57,15 @@ def book_ip(
57
57
resource: Optional[CustomResource] =None,
58
58
) ->IP:
59
59
"""
60
-
Book a new IP.
61
-
Book a new IP from the specified source. Currently IPs can only be booked from a Private Network.
62
-
:param source: Source in which to book the IP. Not all sources are available for booking.
60
+
Reserve a new IP.
61
+
Reserve a new IP from the specified source. Currently IPs can only be reserved from a Private Network.
62
+
:param source: Source in which to reserve the IP. Not all sources are available for reservation.
63
63
:param is_ipv6: Request an IPv6 instead of an IPv4.
64
64
:param region: Region to target. If none is passed will use default region from the config.
65
65
:param project_id: When creating an IP in a Private Network, the Project must match the Private Network's Project.
66
-
:param address: The requested address should not include the subnet mask (/suffix). Note that only the Private Network source allows you to pick a specific IP. If the requested IP is already booked, then the call will fail.
66
+
:param address: The requested address should not include the subnet mask (/suffix). Note that only the Private Network source allows you to pick a specific IP. If the requested IP is already reserved, then the call will fail.
67
67
:param tags: Tags for the IP.
68
-
:param resource: Custom resource to attach to the IP being booked. An example of a custom resource is a virtual machine hosted on an Elastic Metal server. Do not use this for attaching IP addresses to standard Scaleway resources, as it will fail - instead, see the relevant product API for an equivalent method.
68
+
:param resource: Custom resource to attach to the IP being reserved. An example of a custom resource is a virtual machine hosted on an Elastic Metal server. Do not use this for attaching IP addresses to standard Scaleway resources, as it will fail - instead, see the relevant product API for an equivalent method.
69
69
:return: :class:`IP <IP>`
70
70
71
71
Usage:
@@ -427,8 +427,8 @@ def attach_ip(
427
427
region: Optional[Region] =None,
428
428
) ->IP:
429
429
"""
430
-
Attach existing IP to custom resource.
431
-
Attach an existing IP from a Private Network subnet to a custom, named resource via its MAC address. An example of a custom resource is a virtual machine hosted on an Elastic Metal server. Do not use this method for attaching IP addresses to standard Scaleway resources as it will fail - see the relevant product API for an equivalent method.
430
+
Attach IP to custom resource.
431
+
Attach an existing reserved IP from a Private Network subnet to a custom, named resource via its MAC address. An example of a custom resource is a virtual machine hosted on an Elastic Metal server. Do not use this method for attaching IP addresses to standard Scaleway resources as it will fail - see the relevant product API for an equivalent method.
432
432
:param ip_id: IP ID.
433
433
:param resource: Custom resource to be attached to the IP.
434
434
:param region: Region to target. If none is passed will use default region from the config.
@@ -472,8 +472,8 @@ def detach_ip(
472
472
region: Optional[Region] =None,
473
473
) ->IP:
474
474
"""
475
-
Detach existing IP from a custom resource.
476
-
Detach a private IP from a custom resource. An example of a custom resource is a virtual machine hosted on an Elastic Metal server. Do not use this method for attaching IP addresses to standard Scaleway resources (e.g. Instances, Load Balancers) as it will fail - see the relevant product API for an equivalent method.
475
+
Detach IP from a custom resource.
476
+
Detach a private IP from a custom resource. An example of a custom resource is a virtual machine hosted on an Elastic Metal server. Do not use this method for detaching IP addresses from standard Scaleway resources (e.g. Instances, Load Balancers) as it will fail - see the relevant product API for an equivalent method.
477
477
:param ip_id: IP ID.
478
478
:param resource: Custom resource currently attached to the IP.
479
479
:param region: Region to target. If none is passed will use default region from the config.
@@ -518,8 +518,8 @@ def move_ip(
518
518
to_resource: Optional[CustomResource] =None,
519
519
) ->IP:
520
520
"""
521
-
Move existing IP to a custom resource.
522
-
Move an existing private IP from one custom resource (e.g. a virtual machine hosted on an Elastic Metal server) to another custom resource. This will detach it from the first resource, and attach it to the second. Do not use this method for moving IP addresses between standard Scaleway resources (e.g. Instances, Load Balancers) as it will fail - see the relevant product API for an equivalent method.
521
+
Move IP to a custom resource.
522
+
Move an existing reserved private IP from one custom resource (e.g. a virtual machine hosted on an Elastic Metal server) to another custom resource. This will detach it from the first resource, and attach it to the second. Do not use this method for moving IP addresses between standard Scaleway resources (e.g. Instances, Load Balancers) as it will fail - see the relevant product API for an equivalent method.
523
523
:param ip_id: IP ID.
524
524
:param from_resource: Custom resource currently attached to the IP.
525
525
:param region: Region to target. If none is passed will use default region from the config.
Copy file name to clipboardExpand all lines: scaleway/scaleway/ipam/v1/types.py
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -147,7 +147,7 @@ class IP:
147
147
148
148
created_at: Optional[datetime]
149
149
"""
150
-
Date the IP was booked.
150
+
Date the IP was reserved.
151
151
"""
152
152
153
153
updated_at: Optional[datetime]
@@ -157,7 +157,7 @@ class IP:
157
157
158
158
source: Optional[Source]
159
159
"""
160
-
Source pool where the IP was booked in.
160
+
Source pool where the IP was reserved in.
161
161
"""
162
162
163
163
resource: Optional[Resource]
@@ -193,7 +193,7 @@ class AttachIPRequest:
193
193
classBookIPRequest:
194
194
source: Source
195
195
"""
196
-
Source in which to book the IP. Not all sources are available for booking.
196
+
Source in which to reserve the IP. Not all sources are available for reservation.
197
197
"""
198
198
199
199
is_ipv6: bool
@@ -213,7 +213,7 @@ class BookIPRequest:
213
213
214
214
address: Optional[str]
215
215
"""
216
-
The requested address should not include the subnet mask (/suffix). Note that only the Private Network source allows you to pick a specific IP. If the requested IP is already booked, then the call will fail.
216
+
The requested address should not include the subnet mask (/suffix). Note that only the Private Network source allows you to pick a specific IP. If the requested IP is already reserved, then the call will fail.
217
217
"""
218
218
219
219
tags: Optional[List[str]]
@@ -223,7 +223,7 @@ class BookIPRequest:
223
223
224
224
resource: Optional[CustomResource]
225
225
"""
226
-
Custom resource to attach to the IP being booked. An example of a custom resource is a virtual machine hosted on an Elastic Metal server. Do not use this for attaching IP addresses to standard Scaleway resources, as it will fail - instead, see the relevant product API for an equivalent method.
226
+
Custom resource to attach to the IP being reserved. An example of a custom resource is a virtual machine hosted on an Elastic Metal server. Do not use this for attaching IP addresses to standard Scaleway resources, as it will fail - instead, see the relevant product API for an equivalent method.
0 commit comments