psm analyticssub update-service

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

Syntax

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

psm analyticssub 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

Specifies the 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.

Accepted values: [true, false]. Default is false.

Examples

The following example updates the Example1Service service.

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

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

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