Module clients.h2o_engine_profile.client
Classes
H2OEngineProfileClient
H2OEngineProfileClient manages H2OEngineProfiles.
Initializes H2OEngineProfileClient.
Args
connection_config
:ConnectionConfig
- AIEM connection configuration object.
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
create_h2o_engine_profile
Standard Create method.
Args
parent
:str
- Name of the profile's parent workspace. Format:
workspaces/*
. h2o_engine_profile
:H2OEngineProfile
- H2OEngineProfile to create.
h2o_engine_profile_id
:str
- The ID to use for the H2OEngineProfile, which will form the profile's resource name. This value must: - contain 1-63 characters - contain only lowercase alphanumeric characters or hyphen ('-') - start with an alphabetic character - end with an alphanumeric character
Returns
H2OEngineProfile
- created H2OEngineProfile.
delete_h2o_engine_profile
Standard Delete method.
Args
name
:str
- Name of the H2OEngineProfile to delete. Format is
workspaces/*/h2oEngineProfiles/*
get_h2o_engine_profile
Standard Get method.
Args
name
- Name of the H2OEngineProfile to retrieve. Format:
workspaces/*/h2oEngineProfiles/*
list_all_h2o_engine_profiles
Help method for listing all H2OEngineProfiles.
Args
parent
:str
- Name of the workspace from which to list profiles. Format:
workspaces/*
.
list_h2o_engine_profiles
Standard list method.
Args
parent
:str
- Name of the workspace from which to list profiles. Format:
workspaces/*
. page_size
:int
- Maximum number of H2OEngineProfiles to return in a response. If unspecified (or set to 0), at most 50 H2OEngineProfiles will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
page_token
:str
- Page token. Leave unset to receive the initial page. To list any subsequent pages use the value of 'next_page_token' returned from the H2OEngineProfilesPage.
Returns
H2OEngineProfilesPage
- H2OEngineProfilesPage object.
update_h2o_engine_profile
Standard Update method.
Args
h2o_engine_profile
:H2OEngineProfile
- profile to update.
update_mask
:str
The field mask to use for the update. Allowed field paths are: - display_name - priority - enabled - assigned_oidc_roles_enabled - assigned_oidc_roles - max_running_engines - cpu_constraint - gpu_constraint - memory_bytes_constraint - storage_bytes_constraint - max_idle_duration_constraint - max_running_duration_constraint - max_non_interaction_duration - max_unused_duration - configuration_override - base_configuration - config_editability - yaml_pod_template_spec - yaml_gpu_tolerations - triton_enabled
Default value "*" will update all updatable fields.
Returns
H2OEngineProfile
- Updated H2OEngineProfile.
- Submit and view feedback for this page
- Send feedback about AI Engine Manager to cloud-feedback@h2o.ai