get-policy-names

subtitle

get all policy names associated with a namespace.

version

0.9.159

Description

get policy names associated with a namespace.

Synopsis

  get-policy-names
--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 name of the namespace. Provide * to 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

policyNames -> (array)

all policy names for a namespace.

item -> (string)

The policy names.

Form Factors

public