Get Vcenter By Name

Get Vcenter By Name

Get the details for a vcenter.

Request
URI
GET
https://{api_host}/api/v2/vcenters/{name}
COPY
Path Parameters
string
name
Required

The name of the vcenter


Authentication
This operation uses the following authentication methods.
Responses
200

vcenter

Returns vcenter of type(s) application/json
{
    "hostname": "string",
    "insecure": false,
    "is_management": false,
    "name": "string",
    "password": "string",
    "username": "string"
}
string
hostname
Required

The hostname of the vcenter.

boolean
insecure
Required

The flag to check vcenter certificate.

boolean
is_management
Required

The flag to indicate if the vCenter is management vCenter.

string
name
Optional

The name of the vcenter.

string
password
Required

The password of the vcenter, should be base64 encoded.

string
username
Required

The user of the vcenter.


401
Operation doesn't return any data structure