Skip to content

Commit 8526c97

Browse files
authored
docs(vpcgw): improve comments for refreshSSHKeys (#451)
1 parent 19469cd commit 8526c97

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

packages/clients/src/api/vpcgw/v1/api.gen.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -953,6 +953,12 @@ export class API extends ParentAPI {
953953
)}/ips/${validatePathParam('ipId', request.ipId)}`,
954954
})
955955

956+
/**
957+
* Refresh SSH keys of a VPC Public Gateway
958+
*
959+
* @param request - The request {@link RefreshSSHKeysRequest}
960+
* @returns A Promise of Gateway
961+
*/
956962
refreshSSHKeys = (request: Readonly<RefreshSSHKeysRequest>) =>
957963
this.client.fetch<Gateway>(
958964
{

packages/clients/src/api/vpcgw/v1/types.gen.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -936,5 +936,6 @@ export type DeleteIPRequest = {
936936
export type RefreshSSHKeysRequest = {
937937
/** Zone to target. If none is passed will use default zone from the config */
938938
zone?: Zone
939+
/** ID of the gateway that needs fresh ssh keys */
939940
gatewayId: string
940941
}

0 commit comments

Comments
 (0)