add-assets-to-data-share

subtitle

Add assets to an existing Data Share.

version

0.9.165-dirty

Description

Add assets to an existing Data Share. The status of the Data Share must be changed to Not Shared before adding assets.

Synopsis

  add-assets-to-data-share
--datalake-crn <value>
--environment-crn <value>
--data-share-id <value>
--assets <value>
[--cli-input-json <value>]
[--generate-cli-skeleton]

Options

--datalake-crn (string)

The CRN of the Data Lake where the Data Share is located.

--environment-crn (string)

The CRN of the Environment where the Data Share is located.

--data-share-id (string)

The unique identifier of the Data Share to which assets will be added.

--assets (array)

List of assets to be added to the Data Share.

Shorthand Syntax:

databaseName=string,tableName=string,guid=string,columns=string,string ... (separate items with spaces)

JSON Syntax:

[
  {
    "databaseName": "string",
    "tableName": "string",
    "guid": "string",
    "columns": ["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

assets -> (array)

List of assets added to the Data Share.

item -> (object)

Details of an asset to be included in the Data Share.

resourceId -> (string)

The unique identifier of the resource.

guid -> (string)

The unique identifier of the asset (asset guid from the Atlas).

createTime -> (datetime)

The date and time when the asset was created.

createdBy -> (string)

The user who created the asset.

updateTime -> (datetime)

The date and time when the asset was last updated.

updatedBy -> (string)

The user who last updated the asset.

databaseName -> (string)

The name of the database containing the asset.

tableName -> (string)

The name of the table containing the asset.

columns -> (array)

List of columns in the asset (default all is included).

item -> (string)

Name of the column.

Form Factors

public