Description | Command |
---|---|
Invoke a DELETE http request | vra rest delete |
Invoke a GET http request | vra rest get |
Invoke a POST http request | vra rest post |
Invoke a PUT http request | vra rest put |
Invoke a DELETE http request |
vra rest delete |
Parameter | --** default ** |
Parameter | --service (Name of the Service hosting the URI. e.g. catalog-service) |
Mandatory | true |
Parameter | --uri (URI of resource. e.g. consumer/requests/{id}) |
Mandatory | true |
Parameter | --headers (Show request and response headers) |
Mandatory | false |
Parameter | --format (Supported formats include: TABLE, JSON, CSV) |
Mandatory | false |
Invoke a GET http request |
vra rest get |
Parameter | --** default ** |
Parameter | --service (Name of the Service hosting the URI. e.g. catalog-service) |
Mandatory | true |
Parameter | --uri (URI of resource. e.g. consumer/catalogItems) |
Mandatory | true |
Parameter | --headers (Show request and response headers) |
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 |
Invoke a POST http request |
vra rest post |
Parameter | --** default ** |
Parameter | --service (Name of the Service hosting the URI. e.g. catalog-service) |
Mandatory | true |
Parameter | --uri (URI of resource. e.g. consumer/catalogItems) |
Mandatory | true |
Parameter | --headers (Show request and response headers) |
Mandatory | false |
Parameter | --data (json data string or @filename) |
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 |
Invoke a PUT http request |
vra rest put |
Parameter | --** default ** |
Parameter | --service (Name of the Service hosting the URI. e.g. catalog-service) |
Mandatory | true |
Parameter | --uri (URI of resource. e.g. consumer/catalogItems) |
Mandatory | true |
Parameter | --headers (Show request and response headers) |
Mandatory | false |
Parameter | --data (json data string or @filename) |
Mandatory | false |
Parameter | --format (Supported formats include: TABLE, JSON, CSV) |
Mandatory | false |
Copyright 2019 VMware, Inc. All rights reserved.