Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 1.45 KB

CreateCServeDeploymentRequest.md

File metadata and controls

38 lines (29 loc) · 1.45 KB

CreateCServeDeploymentRequest

Properties

Name Type Description Notes
name str
cluster_id int
hardware_instance_id int
recipe CServeRecipe
hf_token str [optional]
endpoint_certificate_authority str [optional]
min_scale int
max_scale int
concurrency int [optional]
env_vars Dict[str, str] [optional]

Example

from platform_api_python_client.models.create_c_serve_deployment_request import CreateCServeDeploymentRequest

# TODO update the JSON string below
json = "{}"
# create an instance of CreateCServeDeploymentRequest from a JSON string
create_c_serve_deployment_request_instance = CreateCServeDeploymentRequest.from_json(json)
# print the JSON string representation of the object
print(CreateCServeDeploymentRequest.to_json())

# convert the object into a dict
create_c_serve_deployment_request_dict = create_c_serve_deployment_request_instance.to_dict()
# create an instance of CreateCServeDeploymentRequest from a dict
create_c_serve_deployment_request_from_dict = CreateCServeDeploymentRequest.from_dict(create_c_serve_deployment_request_dict)

[Back to Model list] [Back to API list] [Back to README]