Description | Command |
---|---|
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) |
Mandatory | true |
Parameter | --ids (Comma separated list of content ids (the id field) to be added to package) |
Mandatory | true |
List content for a given package |
vra package content list |
Parameter | --pkgId (Package id) |
Mandatory | true |
Parameter | --type (Content type. Press tab key for options.) |
Mandatory | false |
Parameter | --page (Page number) |
Mandatory | false |
Parameter | --pageSize (Page size) |
Mandatory | false |
Parameter | --export (Provide a file to export all results) |
Mandatory | false |
Parameter | --format (Supported formats include: TABLE, JSON, CSV) |
Mandatory | false |
Parameter | --columns (Customized columns to include in TABLE or CSV rendering. Regex allowed. Eg: p1,p2,collectionA:c3,collectionA:c4) |
Mandatory | false |
Remove content from a package |
vra package content remove |
Parameter | --pkgId (Package id) |
Mandatory | true |
Parameter | --ids (Comma separated list of content ids (the id field) to be removed from the package) |
Mandatory | true |
Create a new package |
vra package create |
Parameter | --name (Package name) |
Mandatory | true |
Parameter | --description (Package description) |
Mandatory | false |
Parameter | --ids (Comma separated list of content ids (the id field)) |
Mandatory | true |
Delete existing package |
vra package delete |
Parameter | --pkgId (Package id) |
Mandatory | true |
Package details |
vra package detail |
Parameter | --pkgId (Package id) |
Mandatory | true |
Parameter | --export (Provide a file to export all results) |
Mandatory | false |
Parameter | --format (Supported formats include: TABLE, JSON, CSV) |
Mandatory | false |
Parameter | --columns (Customized columns to include in TABLE or CSV rendering. Regex allowed. Eg: p1,p2,collectionA:c3,collectionA:c4) |
Mandatory | false |
Export an existing package of contents |
vra package export |
Parameter | --pkgId (The package id) |
Mandatory | true |
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.) |
Mandatory | true |
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.) |
Mandatory | false |
Parameter | --verbose (Show detailed output for the import. [Yes or No]) |
Mandatory | false |
Parameter | --precheck (OFF = no precheck ,ON = stop on first warning encountered and WARN = proceed in case of warnings and stop on first failure.) |
Mandatory | false |
List all package |
vra package list |
Parameter | --page (Page number) |
Mandatory | false |
Parameter | --pageSize (Page size) |
Mandatory | false |
Parameter | --export (Provide a file to export all results) |
Mandatory | false |
Parameter | --format (Supported formats include: TABLE, JSON, CSV) |
Mandatory | false |
Parameter | --columns (Customized columns to include in TABLE or CSV rendering. Regex allowed. Eg: p1,p2,collectionA:c3,collectionA:c4) |
Mandatory | false |
Update an existing package |
vra package update |
Parameter | --pkgId (Package id) |
Mandatory | true |
Parameter | --name (Package name) |
Mandatory | false |
Parameter | --description (Package description) |
Mandatory | false |
Parameter | --ids (Comma separated list of content ids (the id field)) |
Mandatory | false |
Copyright 2019 VMware, Inc. All rights reserved.