create-associations¶
- subtitle
Create policy to table associations.
- version
0.9.159
Description¶
Associate set of tables per namespace to a policy.
Synopsis¶
create-associations
--datahub-crn <value>
--policy-name <value>
[--associations <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.
--associations (array)
List of associations for each namespace.
Shorthand Syntax:
namespace=string,tables=string,string ... (separate items with spaces)
JSON Syntax:
[
{
"namespace": "string",
"tables": ["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¶
associations -> (array)
List of associations for each namespace.
item -> (object)
Association per namespace.
namespace -> (string)
The namespace name.
tables -> (array)
The list of tables associated for a namespace.
item -> (string)
Form Factors¶
public