Skip to main content

ionoscloud-object-storage-management

Object Storage Management API is a RESTful API that manages the object storage service configuration for IONOS Cloud.

This Python package is automatically generated by the OpenAPI Generator 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:

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_object_storage_management

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_object_storage_management

Tests

Execute pytest to run the tests.

Getting Started

Please follow the installation procedure and then run the following:

import ionoscloud_object_storage_management
from ionoscloud_object_storage_management.rest import ApiException
from pprint import pprint
import os

# Defining the host is optional and defaults to https://s3.ionos.com
# See configuration.py for a list of all supported configuration parameters.
configuration = ionoscloud_object_storage_management.Configuration(
    host = "https://s3.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_object_storage_management.Configuration(
    token = os.environ["IONOS_TOKEN"]
)


# Enter a context with an instance of the API client
with ionoscloud_object_storage_management.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = ionoscloud_object_storage_management.AccesskeysApi(api_client)
    accesskey_id = 'fb68d39a-5706-51b4-b2b2-7b4bf9cbf0af' # str | The ID (UUID) of the AccessKey.

    try:
        # Delete AccessKey
        api_instance.accesskeys_delete(accesskey_id)
    except ApiException as e:
        print("Exception when calling AccesskeysApi->accesskeys_delete: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to https://s3.ionos.com

Class Method HTTP request Description
AccesskeysApi accesskeys_delete DELETE /accesskeys/{accesskeyId} Delete AccessKey
AccesskeysApi accesskeys_find_by_id GET /accesskeys/{accesskeyId} Retrieve AccessKey
AccesskeysApi accesskeys_get GET /accesskeys Retrieve all Accesskeys
AccesskeysApi accesskeys_post POST /accesskeys Create AccessKey
AccesskeysApi accesskeys_put PUT /accesskeys/{accesskeyId} Ensure AccessKey
AccesskeysApi accesskeys_renew PUT /accesskeys/{accesskeyId}/renew Ensure AccessKey
RegionsApi regions_find_by_region GET /regions/{region} Retrieve Region
RegionsApi regions_get GET /regions Retrieve all Regions

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

tokenAuth

  • Type: Bearer authentication (JWT)

Author

Metadata

Release files for ionoscloud-object-storage-management 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ionoscloud-object-storage-management 2.0.0
File Size Uploaded
ionoscloud_object_storage_management-2.0.0.tar.gz 36.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ionoscloud-object-storage-management 2.0.0
File Interpreter ABI Platform
ionoscloud_object_storage_management-2.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 113.8 kB

Release files / ionoscloud_object_storage_management-2.0.0.tar.gz

Download URL ionoscloud_object_storage_management-2.0.0.tar.gz
Size 36.1 kB
Tags Source
SHA-256 checksum
How to use checksums
cf6bfd9ec74de7e2003343cf4fa076d5cb2b0f245cec569034895ec3b0cb02fa
BLAKE2b-256 checksum
How to use checksums
0dfb9656d44c5c7e798a5dfc15764af1de083bfd85bce7415ecf81deb0a21c6a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release files / ionoscloud_object_storage_management-2.0.0-py3-none-any.whl

Download URL ionoscloud_object_storage_management-2.0.0-py3-none-any.whl
Size 77.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
219c791c2f61654491d3d3883948559b7a91afad625dd8ec571ab2e35da1a0c5
BLAKE2b-256 checksum
How to use checksums
c7892fa5e694bb6d934d871aa8e473d4e3b36c51caaeb3df0f4b46a7d2c392fd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release history Release notifications | RSS feed

This release

2.0.0 This release

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page