get-associated-namespaces

subtitle

Get all associated namespaces for a policy.

version

0.9.159

Description

Get all namespaces along with a flag to indicate if they are associated to the policy.

Synopsis

  get-associated-namespaces
--datahub-crn <value>
--policy-name <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.

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

associatedNamespaces -> (array)

The namespaces.

item -> (object)

Describes association for a namespace.

namespace -> (string)

The namespace.

isAssociated -> (boolean)

The flag to indicate if the namespace is associated with the policy. TRUE if associated else FALSE.

Form Factors

public