- Overview
- Getting Started Guide
- UserGuide
-
References
-
ABEJA Platform CLI
- CONFIG COMMAND
- DATALAKE COMMAND
- DATASET COMMAND
- TRAINING COMMAND
-
MODEL COMMAND
- check-endpoint-image
- check-endpoint-json
- create-deployment
- create-endpoint
- create-model
- create-service
- create-trigger
- create-version
- delete-deployment
- delete-endpoint
- delete-model
- delete-service
- delete-version
- describe-deployments
- describe-endpoints
- describe-models
- describe-service-logs
- describe-services
- describe-versions
- download-versions
- run-local
- run-local-server
- start-service
- stop-service
- submit-run
- update-endpoint
- startapp command
-
ABEJA Platform CLI
- FAQ
- Appendix
create-endpoint
Description
Create service endpoint.
User can create endpoint at a specified service.
Access to endpoint without header
if specification of custom_alias
is default
, and if it is not default
setting, user can access specified endpoint by input value at custom_alias
on header
X-Abeja-Model-Version-Alias
.
Note
custom_alias
need to be unique at a service.
custom_alias
need to be only an alphanumeric more than 3 characters.
Synopsis
$ abeja model create-endpoint [--help]
Usage: abeja model create-endpoint [OPTIONS]
Create endpoint
Options:
-d, --deployment_id TEXT Deployment identifier [required]
-s, --service_id TEXT Service identifier [required]
-c, --custom_alias TEXT Custom_alias name [required]
--help Show this message and exit.
Options
-d
, --deployment_id
Specify deployment_id for create-deployment.
-s
, --service_id
Specify deployment_id for create-service.
-c
, --custom_alias
Specify optional alias. Sample) default / staging / develop / etc…
Example
Create endpoint
Command:
$ abeja model create-endpoint --deployment_id 3456789012345 --service_id ser-4567890123456 --custom_alias "default"
Output:
{
"custom_alias": "default",
"endpoint_id": "pnt-5678901234567",
"service_alias": "v01"
}