psm jcs enable-loadbalancer
Use this command to enable 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 enable-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 enable.
The only supported value is |
|
(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: Default: false |
|
(Optional) Specifies the output format of the command’s response:
The default output format is the one you specified when using the |
Example
$ psm jcs enable-loadbalancer -s ExampleInstance -e PUBLIC -of json