Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an explanation to the document, how to find the VPN gateway in the subnet #199

Open
OdedViner opened this issue Feb 12, 2024 · 0 comments
Assignees

Comments

@OdedViner
Copy link

When you write "For each VPN gateway in the subnet" it is better to indicate how to find the VPN gateway in the subnet.
In my code, I found the relevant VPN gateway with resource-group id.

cmd = f"ibmcloud is vpn-gateways --resource-group-id {resource_group_id} --output json"
Delete all VPN gateways in the subnet, if any

To list all VPN gateways in your account, run the following command:


ibmcloud is vpn-gateways
For each VPN gateway in the subnet you want like to delete, run the following command, where $vpnid is the ID of the VPN gateway.

https://cloud.ibm.com/docs/vpc?topic=vpc-deleting-vpc-resources&interface=cli

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants