This release is a pre-release and may not be stable for production use.
ionoscloud-vpn
The Managed VPN Gateway service provides secure and scalable connectivity, enabling encrypted communication between your IONOS cloud resources in a VDC and remote networks (on-premises, multi-cloud, private LANs in other VDCs etc).
This Python package is automatically generated by the OpenAPI Generator project:
- API version: 1.0.0
- Package version: 1.0.0-beta.1
- Generator version: 7.13.0-SNAPSHOT
- Build package: org.openapitools.codegen.languages.PythonClientCodegen For more information, please visit https://docs.ionos.com/support/general-information/contact-information
Requirements.
Python 3.9+
Installation & Usage
pip install
If the python package is hosted on a repository, you can install directly using:
pip install git+https://github.com/ionos-cloud/sdk-python.git
(you may need to run pip with root permission: sudo pip install git+https://github.com/ionos-cloud/sdk-python.git)
Then import the package:
import ionoscloud_vpn
Setuptools
Install via Setuptools.
python setup.py install --user
(or sudo python setup.py install to install the package for all users)
Then import the package:
import ionoscloud_vpn
Tests
Execute pytest to run the tests.
Getting Started
Please follow the installation procedure and then run the following:
import ionoscloud_vpn
from ionoscloud_vpn.rest import ApiException
from pprint import pprint
import os
# Defining the host is optional and defaults to https://vpn.de-fra.ionos.com
# See configuration.py for a list of all supported configuration parameters.
configuration = ionoscloud_vpn.Configuration(
host = "https://vpn.de-fra.ionos.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure Bearer authorization (JWT): tokenAuth
configuration = ionoscloud_vpn.Configuration(
token = os.environ["IONOS_TOKEN"]
)
# Enter a context with an instance of the API client
with ionoscloud_vpn.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = ionoscloud_vpn.IPSecGatewaysApi(api_client)
gateway_id = '66a114c7-2ddd-5119-9ddf-5a789f5a5a44' # str | The ID (UUID) of the IPSecGateway.
try:
# Delete IPSecGateway
api_instance.ipsecgateways_delete(gateway_id)
except ApiException as e:
print("Exception when calling IPSecGatewaysApi->ipsecgateways_delete: %s\n" % e)
Documentation for API Endpoints
All URIs are relative to https://vpn.de-fra.ionos.com
| Class | Method | HTTP request | Description |
|---|---|---|---|
| IPSecGatewaysApi | ipsecgateways_delete | DELETE /ipsecgateways/{gatewayId} | Delete IPSecGateway |
| IPSecGatewaysApi | ipsecgateways_find_by_id | GET /ipsecgateways/{gatewayId} | Retrieve IPSecGateway |
| IPSecGatewaysApi | ipsecgateways_get | GET /ipsecgateways | Retrieve all IPSecGateways |
| IPSecGatewaysApi | ipsecgateways_post | POST /ipsecgateways | Create IPSecGateway |
| IPSecGatewaysApi | ipsecgateways_put | PUT /ipsecgateways/{gatewayId} | Ensure IPSecGateway |
| IPSecTunnelsApi | ipsecgateways_tunnels_delete | DELETE /ipsecgateways/{gatewayId}/tunnels/{tunnelId} | Delete IPSecTunnel |
| IPSecTunnelsApi | ipsecgateways_tunnels_find_by_id | GET /ipsecgateways/{gatewayId}/tunnels/{tunnelId} | Retrieve IPSecTunnel |
| IPSecTunnelsApi | ipsecgateways_tunnels_get | GET /ipsecgateways/{gatewayId}/tunnels | Retrieve all IPSecTunnels |
| IPSecTunnelsApi | ipsecgateways_tunnels_post | POST /ipsecgateways/{gatewayId}/tunnels | Create IPSecTunnel |
| IPSecTunnelsApi | ipsecgateways_tunnels_put | PUT /ipsecgateways/{gatewayId}/tunnels/{tunnelId} | Ensure IPSecTunnel |
| WireguardGatewaysApi | wireguardgateways_delete | DELETE /wireguardgateways/{gatewayId} | Delete WireguardGateway |
| WireguardGatewaysApi | wireguardgateways_find_by_id | GET /wireguardgateways/{gatewayId} | Retrieve WireguardGateway |
| WireguardGatewaysApi | wireguardgateways_get | GET /wireguardgateways | Retrieve all WireguardGateways |
| WireguardGatewaysApi | wireguardgateways_post | POST /wireguardgateways | Create WireguardGateway |
| WireguardGatewaysApi | wireguardgateways_put | PUT /wireguardgateways/{gatewayId} | Ensure WireguardGateway |
| WireguardPeersApi | wireguardgateways_peers_delete | DELETE /wireguardgateways/{gatewayId}/peers/{peerId} | Delete WireguardPeer |
| WireguardPeersApi | wireguardgateways_peers_find_by_id | GET /wireguardgateways/{gatewayId}/peers/{peerId} | Retrieve WireguardPeer |
| WireguardPeersApi | wireguardgateways_peers_get | GET /wireguardgateways/{gatewayId}/peers | Retrieve all WireguardPeers |
| WireguardPeersApi | wireguardgateways_peers_post | POST /wireguardgateways/{gatewayId}/peers | Create WireguardPeer |
| WireguardPeersApi | wireguardgateways_peers_put | PUT /wireguardgateways/{gatewayId}/peers/{peerId} | Ensure WireguardPeer |
Documentation For Models
- Connection
- DayOfTheWeek
- ESPEncryption
- Error
- ErrorMessagesInner
- IKEEncryption
- IPSecGateway
- IPSecGatewayCreate
- IPSecGatewayEnsure
- IPSecGatewayMetadata
- IPSecGatewayRead
- IPSecGatewayReadList
- IPSecPSK
- IPSecTunnel
- IPSecTunnelAuth
- IPSecTunnelCreate
- IPSecTunnelEnsure
- IPSecTunnelMetadata
- IPSecTunnelRead
- IPSecTunnelReadList
- Links
- MaintenanceWindow
- Metadata
- Pagination
- ResourceStatus
- WireguardEndpoint
- WireguardGateway
- WireguardGatewayCreate
- WireguardGatewayEnsure
- WireguardGatewayMetadata
- WireguardGatewayRead
- WireguardGatewayReadList
- WireguardPeer
- WireguardPeerCreate
- WireguardPeerEnsure
- WireguardPeerMetadata
- WireguardPeerRead
- WireguardPeerReadList
Documentation For Authorization
Authentication schemes defined for the API:
tokenAuth
- Type: Bearer authentication (JWT)
Author
Metadata
Release files for ionoscloud-vpn 1.0.0b1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ionoscloud_vpn-1.0.0b1.tar.gz | 47.1 kB | Without provenance | Details for ionoscloud_vpn-1.0.0b1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ionoscloud_vpn-1.0.0b1-py3-none-any.whl | Python 3 | none | any | Details for ionoscloud_vpn-1.0.0b1-py3-none-any.whl |
Total release size: 153.9 kB
Release files / ionoscloud_vpn-1.0.0b1.tar.gz
| Download URL | ionoscloud_vpn-1.0.0b1.tar.gz |
|---|---|
| Size | 47.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
007d46de33e67bd2badfafdef9f7220a135c90bafe77a50b92f9a4192d0d80f7
|
|
BLAKE2b-256 checksum How to use checksums |
f50e04af46b83adeaaaaaf05d97900f4493f60718d2b32eb2a60b514d57999a8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.14
|
Release files / ionoscloud_vpn-1.0.0b1-py3-none-any.whl
| Download URL | ionoscloud_vpn-1.0.0b1-py3-none-any.whl |
|---|---|
| Size | 106.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
54d9da2f84d7555e33b5f798e72e2a83b9ca9bc8cb7ffe94b15e82e083d89139
|
|
BLAKE2b-256 checksum How to use checksums |
29eb396e03053542aae0880fdaedcd83a48d662398b1f54544a6cfa7537bc28d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.14
|
Security for ionoscloud-vpn 1.0.0b1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.