get-associated-tables

subtitle

Get all associated tables for a policy

version

0.9.159

Description

Return tables per namespaces along with a flag to indicate if they are associated to the policy.

Synopsis

  get-associated-tables
--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

associatedTables -> (array)

The namespace wise table list.

item -> (object)

Describes association for a namespace.

namespace -> (string)

The namespace.

tables -> (array)

The list of table names in the namespace and a flag to indicate if it’s associated.

item -> (object)

Describes association for a table.

tableName -> (string)

The table name.

isAssociated -> (boolean)

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

Form Factors

public