Skip to content

Commit 635be8d

Browse files
authored
doc(vpcgw): update documentation (#48)
1 parent ea5d05d commit 635be8d

File tree

4 files changed

+14
-0
lines changed

4 files changed

+14
-0
lines changed

scaleway-async/scaleway_async/vpcgw/v1/api.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1941,6 +1941,10 @@ async def refresh_ssh_keys(
19411941
zone: Optional[Zone] = None,
19421942
) -> Gateway:
19431943
"""
1944+
Refresh SSH keys of a VPC Public Gateway
1945+
:param zone: Zone to target. If none is passed will use default zone from the config
1946+
:param gateway_id: ID of the gateway that needs fresh ssh keys
1947+
:return: :class:`Gateway <Gateway>`
19441948
19451949
Usage:
19461950
::

scaleway-async/scaleway_async/vpcgw/v1/types.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1777,3 +1777,6 @@ class RefreshSSHKeysRequest:
17771777
"""
17781778

17791779
gateway_id: str
1780+
"""
1781+
ID of the gateway that needs fresh ssh keys
1782+
"""

scaleway/scaleway/vpcgw/v1/api.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1939,6 +1939,10 @@ def refresh_ssh_keys(
19391939
zone: Optional[Zone] = None,
19401940
) -> Gateway:
19411941
"""
1942+
Refresh SSH keys of a VPC Public Gateway
1943+
:param zone: Zone to target. If none is passed will use default zone from the config
1944+
:param gateway_id: ID of the gateway that needs fresh ssh keys
1945+
:return: :class:`Gateway <Gateway>`
19421946
19431947
Usage:
19441948
::

scaleway/scaleway/vpcgw/v1/types.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1777,3 +1777,6 @@ class RefreshSSHKeysRequest:
17771777
"""
17781778

17791779
gateway_id: str
1780+
"""
1781+
ID of the gateway that needs fresh ssh keys
1782+
"""

0 commit comments

Comments
 (0)