Get Links
Gets information for a link. Usage beyond VMware Cloud on AWS is not supported.
Request
URLURL
Path Parameters
Path Parameters
Unique identifier of the link. The parameter must be an identifier for the resource type: com.vmware.vcenter.hvc.Links.
Header Parameters
Header Parameters
Required session ID, acquired from Create Session API under CIS product
vmware-api-session-id example
"b00db39f948d13ea1e59b4d6fce56389"
Authentication
Response
Response BodyResponse Body
Information about the link.
{
"connection_health_status": "HEALTHY",
"health_status_message": {
"args": [
"string"
],
"default_message": "string",
"id": "string",
"localized": "string",
"params": {
"key": {
"d": 0,
"dt": "string",
"format": "SHORT_DATE",
"i": 0,
"l": {
"id": "string",
"params": "StdLocalizationParam Object"
},
"precision": 0,
"s": "string"
}
}
}
}
The Links.Info.HealthStatus enumerated type defines the possible states for health of a link.
HEALTHY : Connection is healthy
UNHEALTHY : Connection issues will need to be remediated
Possible values are: HEALTHY , UNHEALTHY
Localizable messages associated with health status This field is optional and it is only relevant when the value of Links.Info.connection-health-status is UNHEALTHY.
Errors
com.vmware.vapi.std.errors.unauthorized : if the user is not authorized to perform this operation.
com.vmware.vapi.std.errors.not_found : if the hybrid link associated with link does not exist.
com.vmware.vapi.std.errors.error : if the system reports an error while responding to the request. | com.vmware.vapi.std.errors.resource_busy : if the service is busy.
‘Default’ means this response is used for all HTTP codes that are not covered individually for this operation.
Code Samples
PowerCLI Client SDK Example
cURL Command
Vendor Extensions
x-vmw-doc-deprecated-method: get
x-vmw-doc-deprecated-path: /rest/hvc/links/{link}
x-vmw-doc-operation: get