list-policies¶
- subtitle
Lists policies.
- version
0.9.159
Description¶
Lists policies across all namespaces or a particular namespace.
Synopsis¶
list-policies
--datahub-crn <value>
[--namespace <value>]
[--cli-input-json <value>]
[--generate-cli-skeleton]
Options¶
--datahub-crn (string)
The CRN of the CLO Data Hub.
--namespace (string)
The namespace name. If set, then it will list policies from this namespace. Omitting it, will list policies across all namespaces.
--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¶
policies -> (array)
List of all policies for a particular namespace or across all namespaces.
item -> (object)
The policy object containing name, status and other details.
status -> (string)
The policy status.
policyName -> (string)
The policy name.
taskCount -> (integer)
The number of tasks ran for this policy.
tableCount -> (integer)
The number of tables associated with this policy.
creationTime -> (integer)
The policy creation time in epoch milliseconds.
lastExecutionTime -> (integer)
The recent task execution time in epoch milliseconds.
isDefault -> (boolean)
Flag to indicate if the policy is a default one provided by Cloudera. Policy is default if true else false.
Form Factors¶
public