GET /vmReplicaPoints/{ID}
Returns a resource representation of a VM replica restore point having the specified ID.
Request
To get a restore point for a specific VM replica, send the GET HTTP request to the URL of the /vmReplicaPoints/{ID} resource.
HTTP Request
GET https://<Enterprise-Manager>:9398/api/vmReplicaPoints/{ID} |
Request Headers
The request contains the following headers:
Header | Required | Description |
---|---|---|
X-RestSvcSessionId | True | The request requires authorization. In the header, the client must send a session ID copied from the server reply to the request creating a new logon session. For details, see Authentication and Security. |
Accept | False | Identifies the format of the response. Possible values:
If the request does not contain the header, the server will return the response in the XML format. |
Request Body
None.
Response
The server returns the following response to the client.
Response Codes
A successfully completed operation returns response code 200 OK.
Response Headers
The response to this request contains the following headers. The response may also include additional standard HTTP headers.
Header | Description |
---|---|
Content-length | The length of the response body. |
Content-type | The media type and syntax of the request body message. Possible values:
|
Response Body
In the response body, the REST API returns an entity or an entity reference of the /vmReplicaPoints/{ID} resource. The resource entity contains the following parameters and links.
Parameters
Element | Type | Description |
---|---|---|
UID | UidType | UID of the VM replica point resource. |
Name | String | Name of the VM replica point, for example: dc-hv@2014-08-21 11:03:38. |
CreationTime | DateTime | Date and time when the restore point was created. The parameter accepts only UTC-formatted DateTime values. |
VmName | String | Name of the VM for which the restore point has been created. |
Algorithm | String | Replication method used to create the restore point. Possible values:
|
PoinType | String | Type of the VM replica point. Possible values:
|
To view query parameters that you can use for filtering or sorting, see GET /query?type=VmReplicaPoint.
Links
Reference | Relationship | Description |
---|---|---|
/vmReplicaPoints/{ID}?action=failover | Failover | URL for the POST /vmReplicaPoints/{ID}?action=failover request. |
/backupServers/{ID} | Up | URL of the /backupServers/{ID} resource — a backup server that created the replica restore point. |
/replicas/{ID} | Up | URL of the /replicas/{ID} resource — a VM replica for which the restore point was created. |
/vmReplicaPoints/{ID} | Alternate | Alternate URL of the /vmReplicaPoints/{ID} resource. |
/vmReplicaPoints/{ID}/mounts | Down | URL of the /vmReplicaPoints/{ID}/mounts resource — a collection of mount points that provide access to guest OS files of the VM. |
/vmReplicaPoints/{ID}/mounts | Create | URL for the POST /vmReplicaPoints/{ID}/mounts request. |
Example
The example below returns an entity resource representation of a VM replica restore point having ID 7bd7de06-ec7c-4067-b10b-081e4a69ccc3:
Request: GET https://localhost:9398/api/vmReplicaPoints/7bd7de06-ec7c-4067-b10b-081e4a69ccc3?format=Entity
Request Header: X-RestSvcSessionId NDRjZmJkYmUtNWE5NS00MTU2LTg4NjctOTFmMDY5YjdjMmNj
Response: 200 OK
Response Body: <?xml version="1.0" encoding="utf-8"?> |