VRA PACKAGE Commands


DescriptionCommand
Add content to package     vra package content add
List content for a given package     vra package content list
Remove content from a package     vra package content remove
Create a new package     vra package create
Delete existing package     vra package delete
Package details     vra package detail
Export an existing package of contents     vra package export
List all package     vra package list
Update an existing package     vra package update


Add content to package

vra package content add

Parameter--pkgId (Package id)
Mandatorytrue

Parameter--ids (Comma separated list of content ids (the id field) to be added to package)
Mandatorytrue


List content for a given package

vra package content list

Parameter--pkgId (Package id)
Mandatorytrue

Parameter--type (Content type. Press tab key for options.)
Mandatoryfalse

Parameter--page (Page number)
Mandatoryfalse

Parameter--pageSize (Page size)
Mandatoryfalse

Parameter--export (Provide a file to export all results)
Mandatoryfalse

Parameter--format (Supported formats include: TABLE, JSON, CSV)
Mandatoryfalse

Parameter--columns (Customized columns to include in TABLE or CSV rendering. Regex allowed. Eg: p1,p2,collectionA:c3,collectionA:c4)
Mandatoryfalse


Remove content from a package

vra package content remove

Parameter--pkgId (Package id)
Mandatorytrue

Parameter--ids (Comma separated list of content ids (the id field) to be removed from the package)
Mandatorytrue


Create a new package

vra package create

Parameter--name (Package name)
Mandatorytrue

Parameter--description (Package description)
Mandatoryfalse

Parameter--ids (Comma separated list of content ids (the id field))
Mandatorytrue


Delete existing package

vra package delete

Parameter--pkgId (Package id)
Mandatorytrue


Package details

vra package detail

Parameter--pkgId (Package id)
Mandatorytrue

Parameter--export (Provide a file to export all results)
Mandatoryfalse

Parameter--format (Supported formats include: TABLE, JSON, CSV)
Mandatoryfalse

Parameter--columns (Customized columns to include in TABLE or CSV rendering. Regex allowed. Eg: p1,p2,collectionA:c3,collectionA:c4)
Mandatoryfalse


Export an existing package of contents

vra package export

Parameter--pkgId (The package id)
Mandatorytrue

Parameter--path (Absolute path to the folder where the zip is to be generated. If the supplied path is a file then the zip is created with the file name else a zip with name packageId.zip is generated. If a file with name packageId already exists at the path then a zip with name packageId-***.zip is generated where * represent randomly generated numeric digits.)
Mandatorytrue

Parameter--secure (A flag to exclude or include secure data such as passwords. true - Exclude secure data from the exported content. false - Include secure data in the exported plain text content. Including secure data in plain text poses a security risk. If you choose to include passwords in the exported content, you agree to accept that risk.)
Mandatoryfalse

Parameter--verbose (Show detailed output for the import. [Yes or No])
Mandatoryfalse

Parameter--precheck (OFF = no precheck ,ON = stop on first warning encountered and WARN = proceed in case of warnings and stop on first failure.)
Mandatoryfalse


List all package

vra package list

Parameter--page (Page number)
Mandatoryfalse

Parameter--pageSize (Page size)
Mandatoryfalse

Parameter--export (Provide a file to export all results)
Mandatoryfalse

Parameter--format (Supported formats include: TABLE, JSON, CSV)
Mandatoryfalse

Parameter--columns (Customized columns to include in TABLE or CSV rendering. Regex allowed. Eg: p1,p2,collectionA:c3,collectionA:c4)
Mandatoryfalse


Update an existing package

vra package update

Parameter--pkgId (Package id)
Mandatorytrue

Parameter--name (Package name)
Mandatoryfalse

Parameter--description (Package description)
Mandatoryfalse

Parameter--ids (Comma separated list of content ids (the id field))
Mandatoryfalse