update-endpoint

Description

Update the service endpoint.

you can replace the service associated with the old version with the service associated with the new version. It can be easily replaced and rolled back easily. (Blue Green Deployment)

Synopsis

$ abeja model update-endpoint [--help]
Usage: abeja model update-endpoint [OPTIONS]

  Update endpoint

Options:
  -d, --deployment_id TEXT  Deployment identifier  [required]
  -s, --service_id TEXT     Service identifier  [required]
  -e, --endpoint_id TEXT    Endpoint identifier  [required]
  --help                    Show this message and exit.

Options

-d, --deployment_id

Specify deployment_id when create-deployment is created.

-s, --service_id

Specify service_id when create-service is created.

-e, --endpoint_id

Specify endpoint_id when create-endpoint is created.

Example

Update endpoint

Command:

$ abeja model update-endpoint --deployment_id 3456789012345 --service_id ser-4567890123456 --endpoint_id pnt-5678901234567

Output:

{
  "message": "pnt-5678901234567 updated"
}