psm stack start
Use this command to start all resources in a stack.
Syntax
psm stack start -n|--name stackName
[-c|--config-payload path-to-payload
[-of|--output-format json|html|short]
[-wc|--wait-until-complete true|false]
Parameters
All parameters are required unless otherwise noted.
Parameter | Description |
---|---|
—n|—name stackName |
Name of the stack to start. |
-c|--config-payload path-to-payload |
(Optional) Path to the JSON file that contains the Stack startup configuration parameters. The format of this file, as shown in Payload Example, is the same as the request body you provide when starting a Stack instance by using the REST API. For information about this format, open the ”Components” section of the “Body Parameter” section of Start a Stack in the REST API for Oracle Cloud Stack Manager. |
-of|—output-format json|html|short |
(Optional) Desired output format.
Accepted values: The default output format is the one you specified when using the |
|
(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 |
Payload Example
Required properties are indicated as "required". Replace in the actual payload with real values.
{
"operationType":"START",
"dbcs":{
"parameters":{
"dbaName":"sys",
"dbaPaasword":"Welcome#123"
}
},
"jcs":{
"parameters":{
"serviceParameters":{
"dbaName":"sys",
"dbaPaasword":"Welcome#123"
},
"componentParameters":{
"OTD":{
"param1":"value1"
}
}
}
}
}
Example
$ psm stack start -n MyStack -c c://myDisk/payloads/start.json