GET v1/bunits/{bunitId}/consumers/{consumerId}/cohesitydatasource/filerestore

Get whether files and folders can be restored from the data-source

Request Information

URI Parameters

NameDescriptionTypeAdditional 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
NameDescriptionTypeAdditional information
IsAvailable True if files and folders can be restored
boolean

None.

UnavailableReason Why file restore is unavailable, when is false
string

None.

UnavailableReasonCode Code of ; one of the Reason constants, e.g. 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 s that files and folders can be restored from
Collection of integer

None.

GuestCredentialSnapshotIds IDs of the restorable s of virtual machines, for which guest OS credentials may be given
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>