Description | Command |
---|---|
Approve Requests | vra request approve |
Cancel a request | vra request cancel |
Request Details | vra request detail |
List Requests | vra request list |
Reject Requests | vra request reject |
Approve Requests |
vra request approve |
Parameter | --ids (Select Request IDs or request numbers (comma separated) to approve) |
Mandatory | true |
Parameter | --message (Approval Message) |
Mandatory | true |
Parameter | --export (Provide a file to export all results) |
Mandatory | false |
Parameter | --format (Supported formats include: TABLE, JSON, CSV) |
Mandatory | false |
Cancel a request |
vra request cancel |
Parameter | --force (Indicates if a request has to be force cancelled.Force cancel just cancels request but does not clean up any resources related to the request. So this should be last resort solution used by admin to get rid of stuck requests) |
Mandatory | false |
Parameter | --id (Provide the valid ID of request) |
Mandatory | true |
Request Details |
vra request detail |
Parameter | --id (Provide a valid Request ID or request number) |
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 |
Parameter | --processJson (Process embedded flat string json. Works only with JSON output format, Select [Yes or No]) |
Mandatory | false |
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, maximum 5000)) |
Mandatory | false |
Parameter | --processJson (Process embedded flat string json. Works only with JSON output format, Select [Yes or No]) |
Mandatory | false |
Reject Requests |
vra request reject |
Parameter | --ids (Select Request IDs or request numbers (comma separated) to reject) |
Mandatory | true |
Parameter | --message (Rejection Message) |
Mandatory | true |
Parameter | --export (Provide a file to export all results) |
Mandatory | false |
Parameter | --format (Supported formats include: TABLE, JSON, CSV) |
Mandatory | false |
Copyright 2019 VMware, Inc. All rights reserved.