Dear All,
I am using cloudclient tool, I wanted list all the IN_PROGRESS request. How do i do this using cloudclient tool.
Appreciate any help.
Regards,
Nilesh
I see no one responded, is this an limitation with cloudclient tool.?
Have you tried "vra request list" with the --state option?
I found that in the cloud client docs under the vra plugin.
List Requests |
vra request list |
Parameter | --state (Select partial State Name. States could be [UNSUBMITTED, SUBMITTED, DELETED, PENDING_PRE_APPROVAL, PRE_APPROVAL_SEND_ERROR, PRE_APPROVED, PRE_REJECTED, PROVIDER_DELETION_ERROR, IN_PROGRESS, PROVIDER_SEND_ERROR, PROVIDER_COMPLETED, PROVIDER_FAILED, PENDING_POST_APPROVAL, POST_APPROVAL_SEND_ERROR, POST_APPROVED, POST_REJECTION_RECEIVED, ROLLBACK_ERROR, POST_REJECTED, SUCCESSFUL, PARTIALLY_SUCCESSFUL, FAILED]) |
Mandatory | false |
Parameter | --from (From Date, format: dd:mm:yyyy) |
Mandatory | false |
Parameter | --to (To Date, format: dd:mm:yyyy) |
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 |
Parameter | --page (Enter page number to display in pagination (default 1)) |
Mandatory | false |
Parameter | --pageSize (Enter page size to display in pagination (default 25)) |
Mandatory | false |
Parameter | --processJson (Process embedded flat string json. Works only with JSON output format, Select [Yes or No]) |
Mandatory | false |
Regards,
Darrenoid
It can be achieved as using the following command :
vra request list --state In_Progress