docs/source/reference/bentocloud/bentocloud-api.rst
This page provides API reference for managing BentoCloud resources including Deployments and API tokens.
.. seealso::
- :doc:`/scale-with-bentocloud/deployment/manage-deployments` for Deployment usage details
- :doc:`/scale-with-bentocloud/manage-api-tokens` for API token usage details
Create a Deployment on BentoCloud.
.. autofunction:: bentoml.deployment.create
For more information, see :doc:/scale-with-bentocloud/deployment/create-deployments.
Retrieve details about a specific Deployment.
.. autofunction:: bentoml.deployment.get
For more information, see :ref:scale-with-bentocloud/deployment/manage-deployments:view.
List all Deployments on BentoCloud.
.. autofunction:: bentoml.deployment.list
Update the configuration of a specific Deployment.
.. autofunction:: bentoml.deployment.update
For more information, see :ref:scale-with-bentocloud/deployment/manage-deployments:update.
Create or update a Deployment based on the specifications provided.
.. autofunction:: bentoml.deployment.apply
For more information, see :ref:scale-with-bentocloud/deployment/manage-deployments:apply.
Stop a Deployment, which can be restarted later.
.. autofunction:: bentoml.deployment.terminate
For more information, see :ref:scale-with-bentocloud/deployment/manage-deployments:terminate.
Remove a Deployment from BentoCloud.
.. autofunction:: bentoml.deployment.delete
For more information, see :ref:scale-with-bentocloud/deployment/manage-deployments:delete.
The bentoml.api_token module provides functions for managing API tokens on BentoCloud programmatically.
List all API tokens in your organization.
.. autofunction:: bentoml.api_token.list
Create a new API token with specified scopes and expiration.
.. autofunction:: bentoml.api_token.create
Retrieve details about a specific API token by its UID.
.. autofunction:: bentoml.api_token.get
Delete an API token by its UID.
.. autofunction:: bentoml.api_token.delete
For more information and examples, see :doc:/scale-with-bentocloud/manage-api-tokens.