psm oehpcs scale-in
Scale-in the Compute Shape used by service hosts in an Oracle Event Hub Cloud Service - Dedicated instance.
Syntax
In the following syntax, line breaks have been added for clarity. Do not include them when entering the command.
psm oehpcs scale
-s|--service-name instance-name
-c|--config-payload json-file
[-of|--output-format short|json|html]
[-wc|--wait-until-complete true|false]
Parameters
Parameter | Description |
---|---|
|
Specifies the unique name used to identify the service in the tenant domain. |
|
Path to JSON file containing payload for this command. A sample payload is included below. |
|
(Optional) Specifies the output format of the command’s response:
The default output format is the one you specified when using the |
|
(Optional) If set to Waiting for the job to complete... (it cannot be cancelled) The default value is |
Examples
The following example scale-in the clusterdemo1
instance.
$ psm oehpcs scale-in -s clusterdemo1 -c scale-in-payload.json
Here is the sample payload file. Required properties are indicated as "required". Replace in the actual payload with real values.
{
"force":"",
"components":{
"kafka":{
"hosts":[],
},
"restprxy":{
"hosts":[]
},
"connect":{
"hosts":[]
}
}
}