psm autoanalyticsinst update-service

Use this command to update a service created with Oracle Analytics Cloud with specific values.

Syntax

In the following syntax, line breaks have been added for clarity. Don't include them when entering the command.

psm autoanalyticsinst update-service -s|--service-name service-name 
  -c|--config-payload path-to-json-payload
    [-of|--output-format json|html|short]
    [-wc, --wait-until-complete <value>]

Parameters

All parameters are required unless otherwise noted.

Parameter Description

-s|--service-name service-name

Name of the service.

-c|--config-payload

Path to the JSON file that contains the configuration parameters for accessing the service.

-of|-–output-format (Optional) Specifies the output format.

Accepted values: json, html, short.

-wc, --wait-until-complete <value> (Optional) Wait until the command is complete.

Valid values are [true, false]. Default is false.

Examples

The following example updates the Example1Service service.

$ psm autoanalyticsinst update-service -s Example1Instance -c /tmp/update-service-payload.json 

Available properties are indicated in quotes (""). Replace in the actual payload with real values.

{
    "isBYOL":"",
    "tags":[
        {
            "key":"",
            "value":"",
            "isPlacementTag":"",
            "isResourceTag":""
        }
    ],
    "tagsToUnassign":[
        {
            "key":"",
            "value":"",
            "isPlacementTag":"",
            "isResourceTag":""
        }
    ]
}