psm jcs loadbalancer

Use this command to obtain the details and status of the Oracle-managed load balancer for the specified service instance.

Syntax

This command is only applicable to service instances that are configured to use an Oracle-managed load balancer like Oracle Cloud Infrastructure Load Balancing Classic. It is not supported for service instances that contain one or more load balancer nodes running Oracle Traffic Director.

In the following syntax, line breaks have been added for clarity. Do not include them when entering the command.

psm jcs loadbalancer -s|--service-name serviceName
    -e|--end-point-type PUBLIC
    [-of|--output-format json|html|short]

Parameters

All parameters are required unless otherwise specified.

Parameters Description
-s|–-service-name serviceName Name of the Oracle Java Cloud Service instance.
-e|--end-point-type PUBLIC Load balancer endpoint that you want to view.

The only supported value is PUBLIC.

-of|--output-format json|html|short

(Optional) Specifies the output format of the command’s response:

  • json—output is formatted as a JSON array.

  • html—output is formatted as HTML

  • short—output is formatted as a brief summary.

The default output format is the one you specified when using the psm setup command to configure the psm CLI.

Example

$ psm jcs loadbalancer -s ExampleInstance -e PUBLIC -of json