Module clients.engine.client
Classes
EngineClient
class EngineClient(url: str, platform_token: str, platform_oidc_url: str, platform_oidc_client_id: str, platform_oidc_client_secret: Optional[str] = None, verify_ssl: bool = True, ssl_ca_cert: Optional[str] = None)
EngineClient manages Engines.
Initializes EngineClient.
Args
url
:str
- URL of AI Engine Manager Gateway.
platform_token
:str
- H2O.ai platform token.
platform_oidc_url
:str
- Base URL of the platform_token OIDC issuer.
platform_oidc_client_id
:str
- OIDC Client ID associated with the platform_token.
platform_oidc_client_secret
:str
, optional- Optional OIDC Client Secret that issued the 'platform_token'.
verify_ssl
- Set to False to disable SSL certificate verification.
ssl_ca_cert
- Path to a CA cert bundle with certificates of trusted CAs.
Methods
list_all_engines
def list_all_engines(self, workspace_id: str, order_by: str = '', filter_expr: str = '') ‑> List[h2o_engine_manager.clients.engine.engine.Engine]
list_engines
def list_engines(self, workspace_id: str, page_size: int = 0, page_token: str = '', order_by: str = '', filter_expr: str = '') ‑> h2o_engine_manager.clients.engine.page.EnginesPage
Feedback
- Submit and view feedback for this page
- Send feedback about AI Engine Manager to cloud-feedback@h2o.ai