Restorable Time Ranges - Find
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/findRestorableTimeRanges?api-version=2024-04-01
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
backup
|
path | True |
string |
The name of the backup instance. |
resource
|
path | True |
string |
The name of the resource group. The name is case insensitive. |
subscription
|
path | True |
string uuid |
The ID of the target subscription. The value must be an UUID. |
vault
|
path | True |
string |
The name of the backup vault. |
api-version
|
query | True |
string |
The API version to use for this operation. |
Request Body
Name | Required | Type | Description |
---|---|---|---|
sourceDataStoreType | True |
Gets or sets the type of the source data store. |
|
endTime |
string |
End time for the List Restore Ranges request. ISO 8601 format. |
|
startTime |
string |
Start time for the List Restore Ranges request. ISO 8601 format. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
OK |
|
Other Status Codes |
Error response describing why the operation failed. |
Security
azure_auth
Azure Active Directory OAuth2 Flow
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Name | Description |
---|---|
user_impersonation | impersonate your user account. |
Examples
Find Restorable Time Ranges
Sample request
POST https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/Blob-Backup/providers/Microsoft.DataProtection/backupVaults/ZBlobBackupVaultBVTD3/backupInstances/zblobbackuptestsa58/findRestorableTimeRanges?api-version=2024-04-01
{
"sourceDataStoreType": "OperationalStore",
"startTime": "2020-10-17T23:28:17.6829685Z",
"endTime": "2021-02-24T00:35:17.6829685Z"
}
Sample response
{
"id": "zblobbackuptestsa58",
"type": "Microsoft.DataProtection/backupVaults/backupInstances/findRestorableTimeRanges",
"properties": {
"restorableTimeRanges": [
{
"startTime": "2021-02-23T18:33:51.6349708Z",
"endTime": "2021-02-24T00:35:17.0000000Z",
"objectType": "RestorableTimeRange"
}
],
"objectType": "AzureBackupFindRestorableTimeRangesResponse"
}
}
Definitions
Name | Description |
---|---|
Azure |
List Restore Ranges Request |
Azure |
List Restore Ranges Response |
Azure |
List Restore Ranges Response |
Cloud |
CloudError |
created |
The type of identity that created the resource. |
Error |
The resource management error response. |
Error |
The resource management error additional info. |
Restorable |
|
Restore |
Gets or sets the type of the source data store. |
system |
Metadata pertaining to creation and last modification of the resource. |
AzureBackupFindRestorableTimeRangesRequest
List Restore Ranges Request
Name | Type | Description |
---|---|---|
endTime |
string |
End time for the List Restore Ranges request. ISO 8601 format. |
sourceDataStoreType |
Gets or sets the type of the source data store. |
|
startTime |
string |
Start time for the List Restore Ranges request. ISO 8601 format. |
AzureBackupFindRestorableTimeRangesResponse
List Restore Ranges Response
Name | Type | Description |
---|---|---|
objectType |
string |
|
restorableTimeRanges |
Returns the Restore Ranges available on the Backup Instance. |
AzureBackupFindRestorableTimeRangesResponseResource
List Restore Ranges Response
Name | Type | Description |
---|---|---|
id |
string |
Resource Id represents the complete path to the resource. |
name |
string |
Resource name associated with the resource. |
properties |
AzureBackupFindRestorableTimeRangesResponseResource properties |
|
systemData |
Metadata pertaining to creation and last modification of the resource. |
|
type |
string |
Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/... |
CloudError
CloudError
Name | Type | Description |
---|---|---|
error |
The resource management error response. |
createdByType
The type of identity that created the resource.
Name | Type | Description |
---|---|---|
Application |
string |
|
Key |
string |
|
ManagedIdentity |
string |
|
User |
string |
Error
The resource management error response.
Name | Type | Description |
---|---|---|
additionalInfo |
The error additional info. |
|
code |
string |
The error code. |
details |
Error[] |
The error details. |
message |
string |
The error message. |
target |
string |
The error target. |
ErrorAdditionalInfo
The resource management error additional info.
Name | Type | Description |
---|---|---|
info |
object |
The additional info. |
type |
string |
The additional info type. |
RestorableTimeRange
Name | Type | Description |
---|---|---|
endTime |
string |
End time for the available restore range |
objectType |
string |
|
startTime |
string |
Start time for the available restore range |
RestoreSourceDataStoreType
Gets or sets the type of the source data store.
Name | Type | Description |
---|---|---|
ArchiveStore |
string |
|
OperationalStore |
string |
|
VaultStore |
string |
systemData
Metadata pertaining to creation and last modification of the resource.
Name | Type | Description |
---|---|---|
createdAt |
string |
The timestamp of resource creation (UTC). |
createdBy |
string |
The identity that created the resource. |
createdByType |
The type of identity that created the resource. |
|
lastModifiedAt |
string |
The timestamp of resource last modification (UTC) |
lastModifiedBy |
string |
The identity that last modified the resource. |
lastModifiedByType |
The type of identity that last modified the resource. |