Metadata-Version: 2.4
Name: ionoscloud_dbaas_mariadb
Version: 2.0.0
Summary: IONOS DBaaS MariaDB REST API
License: NoLicense
License-File: LICENSE
Keywords: OpenAPI,OpenAPI-Generator,IONOS DBaaS MariaDB REST API
Author: OpenAPI Generator Community
Author-email: team@openapitools.org
Requires-Python: >=3.9,<4.0
Classifier: License :: Other/Proprietary License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Requires-Dist: pydantic (>=2)
Requires-Dist: python-dateutil (>=2.8.2)
Requires-Dist: typing-extensions (>=4.7.1)
Requires-Dist: urllib3 (>=2.1.0,<3.0.0)
Project-URL: Repository, https://github.com/ionos-cloud/sdk-python
Description-Content-Type: text/markdown

# ionoscloud-dbaas-mariadb
An enterprise-grade Database is provided as a Service (DBaaS) solution that
can be managed through a browser-based \"Data Center Designer\" (DCD) tool or
via an easy to use API.

The API allows you to create additional MariaDB database clusters or modify existing
ones. It is designed to allow users to leverage the same power and
flexibility found within the DCD visual tool. Both tools are consistent with
their concepts and lend well to making the experience smooth and intuitive.


This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: 0.1.0
- Package version: 2.0.0
- Generator version: 7.13.0-SNAPSHOT
- Build package: org.openapitools.codegen.languages.PythonClientCodegen

## Requirements.

Python 3.9+

## Installation & Usage
### pip install

If the python package is hosted on a repository, you can install directly using:

```sh
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:
```python
import ionoscloud_dbaas_mariadb
```

### Setuptools

Install via [Setuptools](http://pypi.python.org/pypi/setuptools).

```sh
python setup.py install --user
```
(or `sudo python setup.py install` to install the package for all users)

Then import the package:
```python
import ionoscloud_dbaas_mariadb
```

### Tests

Execute `pytest` to run the tests.

## Getting Started

Please follow the [installation procedure](#installation--usage) and then run the following:

```python

import ionoscloud_dbaas_mariadb
from ionoscloud_dbaas_mariadb.rest import ApiException
from pprint import pprint
import os

# Defining the host is optional and defaults to https://mariadb.de-txl.ionos.com
# See configuration.py for a list of all supported configuration parameters.
configuration = ionoscloud_dbaas_mariadb.Configuration(
    host = "https://mariadb.de-txl.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 API key authorization: tokenAuth
configuration.api_key['tokenAuth'] = os.environ["API_KEY"]

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['tokenAuth'] = 'Bearer'


# Enter a context with an instance of the API client
with ionoscloud_dbaas_mariadb.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = ionoscloud_dbaas_mariadb.BackupsApi(api_client)
    backup_id = '498ae72f-411f-11eb-9d07-046c59cc737e' # str | The unique ID of the backup.

    try:
        # Fetch backups
        api_response = api_instance.backups_find_by_id(backup_id)
        print("The response of BackupsApi->backups_find_by_id:\n")
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling BackupsApi->backups_find_by_id: %s\n" % e)

```

## Documentation for API Endpoints

All URIs are relative to *https://mariadb.de-txl.ionos.com*

Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
*BackupsApi* | [**backups_find_by_id**](docs/api/BackupsApi.md#backups_find_by_id) | **GET** /backups/{backupId} | Fetch backups
*BackupsApi* | [**backups_get**](docs/api/BackupsApi.md#backups_get) | **GET** /backups | List of backups.
*BackupsApi* | [**cluster_backups_get**](docs/api/BackupsApi.md#cluster_backups_get) | **GET** /clusters/{clusterId}/backups | List backups of cluster
*ClustersApi* | [**clusters_delete**](docs/api/ClustersApi.md#clusters_delete) | **DELETE** /clusters/{clusterId} | Delete a cluster
*ClustersApi* | [**clusters_find_by_id**](docs/api/ClustersApi.md#clusters_find_by_id) | **GET** /clusters/{clusterId} | Fetch a cluster
*ClustersApi* | [**clusters_get**](docs/api/ClustersApi.md#clusters_get) | **GET** /clusters | List clusters
*ClustersApi* | [**clusters_patch**](docs/api/ClustersApi.md#clusters_patch) | **PATCH** /clusters/{clusterId} | Update a cluster
*ClustersApi* | [**clusters_post**](docs/api/ClustersApi.md#clusters_post) | **POST** /clusters | Create a cluster
*RestoreApi* | [**clusters_restore**](docs/api/RestoreApi.md#clusters_restore) | **POST** /clusters/{clusterId}/restore | In-place restore of a cluster.


## Documentation For Models

 - [Backup](docs/models/Backup.md)
 - [BackupList](docs/models/BackupList.md)
 - [BackupProperties](docs/models/BackupProperties.md)
 - [BackupResponse](docs/models/BackupResponse.md)
 - [BaseBackup](docs/models/BaseBackup.md)
 - [ClusterList](docs/models/ClusterList.md)
 - [ClusterMetadata](docs/models/ClusterMetadata.md)
 - [ClusterProperties](docs/models/ClusterProperties.md)
 - [ClusterResponse](docs/models/ClusterResponse.md)
 - [ClustersGet400Response](docs/models/ClustersGet400Response.md)
 - [ClustersGet401Response](docs/models/ClustersGet401Response.md)
 - [ClustersGet403Response](docs/models/ClustersGet403Response.md)
 - [ClustersGet404Response](docs/models/ClustersGet404Response.md)
 - [ClustersGet405Response](docs/models/ClustersGet405Response.md)
 - [ClustersGet415Response](docs/models/ClustersGet415Response.md)
 - [ClustersGet422Response](docs/models/ClustersGet422Response.md)
 - [ClustersGet429Response](docs/models/ClustersGet429Response.md)
 - [ClustersGet500Response](docs/models/ClustersGet500Response.md)
 - [ClustersGet503Response](docs/models/ClustersGet503Response.md)
 - [Connection](docs/models/Connection.md)
 - [CreateClusterProperties](docs/models/CreateClusterProperties.md)
 - [CreateClusterRequest](docs/models/CreateClusterRequest.md)
 - [DBUser](docs/models/DBUser.md)
 - [DayOfTheWeek](docs/models/DayOfTheWeek.md)
 - [ErrorMessage](docs/models/ErrorMessage.md)
 - [InlineObject](docs/models/InlineObject.md)
 - [MaintenanceWindow](docs/models/MaintenanceWindow.md)
 - [MariadbVersion](docs/models/MariadbVersion.md)
 - [Pagination](docs/models/Pagination.md)
 - [PaginationLinks](docs/models/PaginationLinks.md)
 - [PatchClusterProperties](docs/models/PatchClusterProperties.md)
 - [PatchClusterRequest](docs/models/PatchClusterRequest.md)
 - [RestoreRequest](docs/models/RestoreRequest.md)
 - [State](docs/models/State.md)


<a id="documentation-for-authorization"></a>
## Documentation For Authorization


Authentication schemes defined for the API:
<a id="tokenAuth"></a>
### tokenAuth

- **Type**: API key
- **API key parameter name**: Authorization
- **Location**: HTTP header


## Author





