Using the API for Site-to-Site VPN
This topic lists the Networking service API operations for managing Site-to-Site VPN components.
For information about using the API and signing requests, see REST API documentation and Security Credentials. For information about SDKs, see SDKs and the CLI.
To manage your VCN and subnets, use these operations:
- ListVcns
- CreateVcn
- GetVcn
- UpdateVcn
- DeleteVcn
- ChangeVcnCompartment
- ListSubnets
- CreateSubnet
- GetSubnet
- UpdateSubnet
- DeleteSubnet
- ChangeSubnetCompartment
To manage your DRG, use these operations:
- ListDrgs
- CreateDrg
- GetDrg
- UpdateDrg
- DeleteDrg
- ListDrgAttachments
- CreateDrgAttachment: This operation attaches a DRG to a VCN and results in a
DrgAttachment
object with its own OCID. - GetDrgAttachment
- UpdateDrgAttachment
- DeleteDrgAttachment: This operation detaches a DRG from a VCN by deleting the
DrgAttachment
object.
To manage routing for your VCN, use these operations:
To manage security lists for your VCN, use these operations:
To manage your CPEs, use these operations:
To manage your IPSec connections, use these operations:
- ListIPSecConnections
- CreateIPSecConnection: Use this operation to set the configuration information for each tunnel, including the IP address of the DRG (the VPN headend) and the shared secret. See CPE Configuration. Creating a tunnel has added flexibility if you use CreateIPSecConnectionTunnelDetails.
- GetIPSecConnection
- UpdateIPSecConnection : Updating a tunnel has added flexibility if you use UpdateIPSecConnectionTunnelDetails.
- DeleteIPSecConnection
- ChangeIPSecConnectionCompartment
- GetIPSecConnectionDeviceStatus: Use this operation to determine the status of the IPSec tunnels (up or down).
- GetIPSecConnectionDeviceConfig: Use this operation to get the configuration information for each tunnel.