No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
This Python package is automatically generated by the OpenAPI Generator project:
- API version: 1.0.0
- Package version: 1.0.0
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
Python 3.7+
If the python package is hosted on a repository, you can install directly using:
pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
(you may need to run pip
with root permission: sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
)
Then import the package:
import openapi_client
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 openapi_client
Execute pytest
to run the tests.
Please follow the installation procedure and then run the following:
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://tranconcloud.mendixcloud.com/rest/cloudapi/v1
# See configuration.py for a list of all supported configuration parameters.
configuration = openapi_client.Configuration(
host = "https://tranconcloud.mendixcloud.com/rest/cloudapi/v1"
)
# 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 HTTP basic authorization: basicAuth
configuration = openapi_client.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Enter a context with an instance of the API client
with openapi_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = openapi_client.PrivateCloudApi(api_client)
environment_id = 'environment_id_example' # str | (optional)
try:
api_response = api_instance.private_cloud_delete(environment_id=environment_id)
print("The response of PrivateCloudApi->private_cloud_delete:\n")
pprint(api_response)
except ApiException as e:
print("Exception when calling PrivateCloudApi->private_cloud_delete: %s\n" % e)
All URIs are relative to https://tranconcloud.mendixcloud.com/rest/cloudapi/v1
Class | Method | HTTP request | Description |
---|---|---|---|
PrivateCloudApi | private_cloud_delete | DELETE /PrivateCloud | |
PrivateCloudApi | private_cloud_get | GET /PrivateCloud | |
PrivateCloudApi | private_cloud_location_delete | DELETE /PrivateCloud/Location | |
PrivateCloudApi | private_cloud_location_post | POST /PrivateCloud/Location | |
PrivateCloudApi | private_cloud_location_put | PUT /PrivateCloud/Location | |
PrivateCloudApi | private_cloud_post | POST /PrivateCloud | |
PrivateCloudApi | private_cloud_put | PUT /PrivateCloud |
- Location
- LocationVPN
- LocationVPNIKEVersion
- PrivateCloud
- PrivateCloud2
- PrivateCloudBoxwiseVersion
- PrivateCloudCloudSize
- PrivateCloudDeploymentProfile
- PrivateCloudSubscription
- Subnets
- WhitelistedSubnets
Authentication schemes defined for the API:
- Type: HTTP basic authentication