API Explorer
API Explorer
Introduction
What's New
Appliance Management
Application Data Management
Asset Management
Asset Metadata
Authentication and Authorization
Cloud Disaster Recovery
Compliance
Copy Management
Credentials Management
Discovery
File Level Restore
Installation
Inventory Source Management
Kubernetes Data Management
Licenses Management
Location Management
Log Management
Monitoring
Protection Policies
Recovery and Reuse Management
Remote Service
Search Clusters
Secrets Manager
Server Disaster Recovery
Storage Management
Telemetry Setting
Upgrade
User Security Management
Virtual Machine Data Management
Whitelist Management

How to add a vCenter

Trust the server certificate

See the information that describes how to trust the server certificate in the tutorial How to add a Data Domain system.

Create credentials for vCenter

See the information that describes how to create credentials in the tutorial How to add a Data Domain system.

In this case, ensure that you specify the credentials type as VCENTER.

The request body looks like this:

{"type": "VCENTER", "name": "<display-name>", "username": "<usr>", "password": "<pwd>" }

Add the vCenter:

The request would be similar to this one:

curl --request POST \
  --url https://<your-ppdm-server>:8443/api/v2/inventory-sources \
  --header 'content-type: application/json' \
  --header 'authorization: Bearer <access-token>' \
  --data '{
    "name": "<display-name>",
    "type": "VCENTER",
    "address": "<FQDN-or-IP-Address>",
    "port": "<port>",
    "credentials": {
        "id": "<credentials-id-refer-how-to-add-a-data-domain>"
    }
}'

The response would be like this:

Created (201)

{
  "id": "e0f4a598-2065-4f27-aaad-45a475af71e6",
  ...
}