Service
list_services
Get a list of all services in an organization
Args
organization
(str) : The name of the organization.
Example
read_service
Get a service from a service name.
Args
service_name
(str) : The name of the service.
Example
create_revision_from_yaml
Create a new revision of service from a YAML file.
Args
organization
(str) : The name of the organization.yaml_body
(str) : The YAML body of the service. It is not deserialized YAML, but a whole yaml string.
Example
launch_revision
Launch a service revision from a service name and revision number.
Args
organization
(str) : The name of the organization.service_name
(str) : The name of the service.revision_number
(int) : The revision number of the service.
Example
read_revision
Get a service revision from a service name and revision number.
Args
organization
(str) : The name of the organization.service_name
(str) : The name of the service.revision_number
(int) : The revision number of the service.
Example
terminate_revision
Terminate a service revision from a service name and revision number.
Args
organization
(str) : The name of the organization.service_name
(str) : The name of the service.revision_number
(int) : The revision number of the service.
Example
update_revision_autoscaler_config
Update the autoscaler config of a service revision from a service name and revision number.
Args
organization
(str) : The name of the organization.service_name
(str) : The name of the service.revision_number
(int) : The revision number of the service.autoscaling
(V1Autoscaling) : The autoscaler config of the service.
Example
update_revision_autoscaling_v2
Update the autoscaler config of a service revision from a service name and revision number.
Args
organization
(str) : The name of the organization.service_name
(str) : The name of the service.revision_number
(int) : The revision number of the service.autoscaling
(V1Autoscaling) : The autoscaler config of the service.
Example
list_revisions
Get a list of all revisions of a service.
Args
organization
(str) : The name of the organization.service_name
(str) : The name of the service.
Examples
read_gateway
Get the gateway of a service.
Args
organization
(str) : The name of the organization.service_name
(str) : The name of the service.
Examples
update_gateway
Update the gateway of a service.
Args
organization
(str) : The name of the organization.service_name
(str) : The name of the service.gateway
(ModelServiceGatewayUpdateAPIInput) : The gateway of the service.
Examples
update_gateway_for_revision
Update the current gateway of a service for a specific revision.
Args
organization
(str) : The name of the organization.service_name
(str) : The name of the service.revision_number
(int) : The revision number of the service.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
(deprecated) update_revision_autoscaler_config
(THIS API IS DEPRECATED.)
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
(deprecated) update_gateway_from_yaml
(THIS API IS DEPRECATED.)
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