V ROP Sadapter Operation V2 Using POST

V ROP Sadapter Operation V2 Using POST

Perform vROps Adapter Instances Operations

Request
URI
POST
https://{api_host}/lcm/lcops/api/v2/environments/{environmentId}/vrops/adapterOperation
COPY
Path Parameters
string
environmentId
Required

environmentId


Request Body

adapterOperation

AdapterOperationsDTO of type(s) application/json
Required
{
    "operation": "string",
    "properties": {
        "adapterKindKey": "string",
        "adapterName": "string",
        "collectorId": "string",
        "credential": {
            "adapterKindKey": "string",
            "credentialKindKey": "string",
            "fields": [
                {
                    "name": "string",
                    "value": "string"
                }
            ],
            "id": "string",
            "name": "string"
        },
        "deleteResources": "string",
        "description": "string",
        "fileName": "string",
        "name": "string",
        "productManagementPackId": "string",
        "resourceIdentifiers": [
            {
                "name": "string",
                "value": "string"
            }
        ],
        "retainContent": "string"
    }
}
string
operation
Optional

operation

object
properties
Optional

properties

Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns GenericRequestResponse of type(s) application/json
"GenericRequestResponse Object"
string
requestId
Optional

Request ID


201

Created

Operation doesn't return any data structure

401

Unauthorized

Operation doesn't return any data structure

403

Forbidden

Operation doesn't return any data structure

404

Not Found

Returns GenericRequestResponse of type(s) application/json
"GenericRequestResponse Object"
string
requestId
Optional

Request ID


Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/lcm/lcops/api/v2/environments/{environmentId}/vrops/adapterOperation