Skip to content

Ivcap collection create

ivcap collection create

Create a new collection definition

Synopsis

Create a new collection definition stored as a DataFabric aspect.

The collectionURN must be a well-formed URN that will serve as the entity identifier for all collection-item records. After creating the collection, use 'collection add' to add artifact (or other entity) URNs to it.

ivcap collection create collectionURN [flags]

Options

      --description string   Optional description of the collection
  -h, --help                 help for create
  -n, --name string          Human friendly name
  -p, --policy string        Policy controlling access

Options inherited from parent commands

      --access-token string   Access token to use for authentication with API server [IVCAP_ACCESS_TOKEN]
      --context string        Context (deployment) to use
      --debug                 Set logging level to DEBUG
      --no-history            Do not store history
  -o, --output string         Set format for displaying output [json, yaml]
      --silent                Do not show any progress information
      --timeout int           Max. number of seconds to wait for completion (default 30)

SEE ALSO