mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2025-12-06 06:26:51 +00:00
50 lines
2.8 KiB
Python
50 lines
2.8 KiB
Python
# coding: utf-8
|
|
|
|
"""
|
|
Usage API
|
|
|
|
## Overview These usage endpoints define the following operations: * **Usage**: Retrieve usage data for the specified time period (default is one month). * Users must have the `View Billing` permission to access this endpoint. * This endpoint offers visibility across all account groups within the organization. * Users with `View Billing` permission in multiple organizations should query the endpoint with the `aid` query string parameter (see optional parameters) for each organization. * **Quotas**: Obtain organization and account usage quotas. Additionally, users with the appropriate permissions can create, update, or delete these quotas. * Users must have the necessary permissions to perform quota-related actions. Refer to the API definitions below for detailed usage instructions and optional parameters.
|
|
|
|
The version of the OpenAPI document: 7.0.0
|
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
|
|
Do not edit the class manually.
|
|
""" # noqa: E501
|
|
|
|
|
|
from setuptools import setup, find_packages # noqa: H301
|
|
|
|
# To install the library, run the following
|
|
#
|
|
# python setup.py install
|
|
#
|
|
# prerequisite: setuptools
|
|
# http://pypi.python.org/pypi/setuptools
|
|
NAME = "usage-api"
|
|
VERSION = "1.0.0"
|
|
PYTHON_REQUIRES = ">=3.7"
|
|
REQUIRES = [
|
|
"urllib3 >= 1.25.3, < 2.1.0",
|
|
"python-dateutil",
|
|
"pydantic >= 2",
|
|
"typing-extensions >= 4.7.1",
|
|
]
|
|
|
|
setup(
|
|
name=NAME,
|
|
version=VERSION,
|
|
description="Usage API",
|
|
author="OpenAPI Generator community",
|
|
author_email="team@openapitools.org",
|
|
url="https://github.com/thousandeyes/thousandeyes-python-sdk",
|
|
keywords=["OpenAPI", "OpenAPI-Generator", "Usage API"],
|
|
install_requires=REQUIRES,
|
|
packages=find_packages(exclude=["test", "tests"]),
|
|
include_package_data=True,
|
|
long_description_content_type='text/markdown',
|
|
long_description="""\
|
|
## Overview These usage endpoints define the following operations: * **Usage**: Retrieve usage data for the specified time period (default is one month). * Users must have the `View Billing` permission to access this endpoint. * This endpoint offers visibility across all account groups within the organization. * Users with `View Billing` permission in multiple organizations should query the endpoint with the `aid` query string parameter (see optional parameters) for each organization. * **Quotas**: Obtain organization and account usage quotas. Additionally, users with the appropriate permissions can create, update, or delete these quotas. * Users must have the necessary permissions to perform quota-related actions. Refer to the API definitions below for detailed usage instructions and optional parameters.
|
|
""", # noqa: E501
|
|
package_data={"usage_api": ["py.typed"]},
|
|
)
|