Serving API
list_servings
Get a list of all servings in an organization
Args
organization
(str) : The name of the organization.
Example
create_revision_from_yaml
Create a new revision of serving from a YAML file.
Args
organization
(str) : The name of the organization.serving_name
(str) : The name of the serving.yaml_body
(str) : The YAML body of the serving. It is not deserialized YAML, but a whole yaml string.
Example
read_revision
Get a serving revision from a serving name and revision number.
Args
organization
(str) : The name of the organization.serving_name
(str) : The name of the serving.revision_number
(int) : The revision number of the serving.
Example
list_revisions
Get a list of all revisions of a serving.
Args
organization
(str) : The name of the organization.serving_name
(str) : The name of the serving.
Examples
read_gateway
Get the gateway of a serving.
Args
organization
(str) : The name of the organization.serving_name
(str) : The name of the serving.
Examples
terminate_revision
Terminate a serving revision from a serving name and revision number.
Args
organization
(str) : The name of the organization.serving_name
(str) : The name of the serving.revision_number
(int) : The revision number of the serving.
Example
update_revision_autoscaler_config
Update the autoscaler config of a serving revision from a serving name and revision number.
Args
organization
(str) : The name of the organization.serving_name
(str) : The name of the serving.revision_number
(int) : The revision number of the serving.auto_scaler_config
(AutoScalerConfig) : The autoscaler config of the serving.
Example
update_gateway
Update the gateway of a serving.
Args
organization
(str) : The name of the organization.serving_name
(str) : The name of the serving.gateway
(ModelServiceGatewayUpdateAPIInput) : The gateway of the serving.
Examples
update_gateway_for_revision
Update the current gateway of a serving for a specific revision.
Args
organization
(str) : The name of the organization.serving_name
(str) : The name of the serving.revision_number
(int) : The revision number of the serving.port
(int) : The port of the revision will use for gateway.weight
(int) : The weight of the traffic will be distributed to revision_number.
Examples
update_gateway_from_yaml
Update the gateway of a serving from a YAML file.
Args
organization
(str) : The name of the organization.serving_name
(str) : The name of the serving.yaml_body
(str) : The YAML body of the serving. It is not deserialized YAML, but a whole yaml string
Examples
Last updated