update-policy¶
- subtitle
Update an existing policy.
- version
0.9.159
Description¶
Update an existing policy.
Synopsis¶
update-policy
--datahub-crn <value>
--policy-name <value>
--resources <value>
[--cli-input-json <value>]
[--generate-cli-skeleton]
Options¶
--datahub-crn (string)
The CRN of the CLO Data Hub.
--policy-name (string)
The policy name.
--resources (object)
The policy resources such as policy script and arguments.
arguments -> (string)
A base64 encoded version of policy arguments json.
script -> (string)
A base64 encoded jexl script.
Shorthand Syntax:
arguments=string,script=string
JSON Syntax:
{
"arguments": "string",
"script": "string"
}
--cli-input-json (string)
Performs service operation based on the JSON string provided. The JSON string follows the format provided by
--generate-cli-skeleton. If other arguments are provided on the command line, the CLI values will override the JSON-provided values.
--generate-cli-skeleton (boolean)
Prints a sample input JSON to standard output. Note the specified operation is not run if this argument is specified. The sample input can be used as an argument for
--cli-input-json.
Output¶
Form Factors¶
public