psm jcs disable-loadbalancer

Use this command to disable the load balancer on the specified service instance.

Syntax

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

psm jcs disable-loadbalancer 
    -s|--service-name serviceName
    -e|--end-point-type PUBLIC
    [-wc|--wait-until-complete true|false]
    [-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 disable.

The only supported value is PUBLIC.

-wc|--wait-until-complete true|false

(Optional) A boolean value that, when set to true, makes the command behave synchronously; that is, it does not return until the submitted job is complete. The following message is displayed until the job is complete:
Waiting for the job to complete... (it cannot be cancelled)
Default: false

-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 disable-loadbalancer -s ExampleInstance -e PUBLIC -of json