GET v1/bunits/{bunitId}/consumers/{consumerId}/cohesitydatasource/filerestore
Get whether files and folders can be restored from the data-source
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
bunitId |
The ID of the business unit | integer |
Required |
consumerId |
The ID of the consumption unit the data-source is related to | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
CohesityFileRestoreCapability| Name | Description | Type | Additional information |
|---|---|---|---|
IsAvailable |
True if files and folders can be restored |
boolean |
None. |
UnavailableReason |
Why file restore is unavailable, when |
string |
None. |
UnavailableReasonCode |
Code of |
string |
None. |
AcceptsGuestCredentials |
True if guest OS credentials may be given for some of the objects of the data-source. They are needed for virtual machines without a Cohesity agent installed. |
boolean |
None. |
RestorableSnapshotIds |
IDs of the |
Collection of integer |
None. |
GuestCredentialSnapshotIds |
IDs of the restorable |
Collection of integer |
None. |
Response Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/xml, text/xml
Sample:
<CohesityFileRestoreCapability xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<IsAvailable>true</IsAvailable>
<UnavailableReason>sample string 2</UnavailableReason>
<UnavailableReasonCode>sample string 3</UnavailableReasonCode>
<AcceptsGuestCredentials>true</AcceptsGuestCredentials>
<RestorableSnapshotIds>
<long>1</long>
<long>2</long>
</RestorableSnapshotIds>
<GuestCredentialSnapshotIds>
<long>1</long>
<long>2</long>
</GuestCredentialSnapshotIds>
</CohesityFileRestoreCapability>