Create Data Collector
Create a new Data Collector.
Note: Data collector endpoints are not available in VMware Aria Automation (on-prem) release.
Request
URI
POST
https://vra-interop-222-139.lvn.broadcom.net/iaas/api/data-collectors
COPY
Query Parameters
string
apiVersion
Optional
The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about
Responses
201
Created
Returns
DataCollectorRegistration
of type(s)
application/json
{
"ovaLink": "https://ci-data-collector.s3.amazonaws.com/VMware-Cloud-Services-Data-Collector.ova",
"key": "eyJyZWdpc3RyYXRpb25VcmwiOiJodHRwczovL2Fw"
}
string
ovaLink
Required
Data collector OVA Link
string
key
Required
A registration key for the data collector
400
Invalid Request - bad data
Returns
ServiceErrorResponse
of type(s)
application/json
"ServiceErrorResponse Object"
string
message
Optional
message
string
messageId
Optional
messageId
array of
string
stackTrace
Optional
stackTrace
integer As int32
As int32
statusCode
Optional
statusCode
integer As int32
As int32
errorCode
Optional
errorCode
array of
string
details
Optional
details
string
serverErrorId
Optional
serverErrorId
string
documentKind
Optional
documentKind
integer As int32
As int32
internalErrorCode
Optional
internalErrorCode
403
Forbidden
Returns
ServiceErrorResponse
of type(s)
application/json
"ServiceErrorResponse Object"
string
message
Optional
message
string
messageId
Optional
messageId
array of
string
stackTrace
Optional
stackTrace
integer As int32
As int32
statusCode
Optional
statusCode
integer As int32
As int32
errorCode
Optional
errorCode
array of
string
details
Optional
details
string
serverErrorId
Optional
serverErrorId
string
documentKind
Optional
documentKind
integer As int32
As int32
internalErrorCode
Optional
internalErrorCode
Code Samples
COPY
curl -X POST -H 'Authorization: <value>' https://{api_host}/iaas/api/data-collectors
Data Collector Operations
GET
Get Data Collectors
POST
Create Data Collector
GET
Get Data Collector
DELETE
Delete Data Collector