Ledger - Restore
Performs the restore operation to spin up a newly restored Confidential Ledger Resource.
Restores a Confidential Ledger Resource.
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConfidentialLedger/ledgers/{ledgerName}/restore?api-version=2024-09-19-preview
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
ledger
|
path | True |
string pattern: ^[^-0-9][A-Za-z0-9-]{1,33}[A-Za-z0-9]$ |
Name of the Confidential Ledger |
resource
|
path | True |
string minLength: 1maxLength: 90 |
The name of the resource group. The name is case insensitive. |
subscription
|
path | True |
string minLength: 1 |
The ID of the target subscription. |
api-version
|
query | True |
string minLength: 1 |
The API version to use for this operation. |
Request Body
Name | Required | Type | Description |
---|---|---|---|
fileShareName | True |
string |
Fileshare where the ledger backup is stored. |
restoreRegion | True |
string |
The region the ledger is being restored to. |
uri | True |
string |
SAS URI used to access the backup fileshare. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
The request was successful; response contains a message stating the Confidential Ledger Resource is successfully being restored. |
|
202 Accepted |
The Confidential Ledger Resource will be restored asynchronously. Check the provisioningState field to monitor the progress of your operation. |
|
Other Status Codes |
Error response describing the reason for operation failure. |
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
ConfidentialLedgerRestore
Sample request
POST https://management.azure.com/subscriptions/0000000-0000-0000-0000-000000000001/resourceGroups/DummyResourceGroupName/providers/Microsoft.ConfidentialLedger/ledgers/DummyLedgerName/restore?api-version=2024-09-19-preview
{
"fileShareName": "DummyFileShareName",
"restoreRegion": "EastUS",
"uri": "DummySASUri"
}
Sample response
{
"message": "Restore Created for Ledger : DummyLedgerName."
}
azure-asyncoperation: http://azure.async.operation/status
Definitions
Name | Description |
---|---|
Confidential |
Object representing Restore properties of a Confidential Ledger Resource. |
Confidential |
Object representing the restore response of a Confidential Ledger Resource. |
Error |
The resource management error additional info. |
Error |
The error detail. |
Error |
Error response |
ConfidentialLedgerRestore
Object representing Restore properties of a Confidential Ledger Resource.
Name | Type | Description |
---|---|---|
fileShareName |
string |
Fileshare where the ledger backup is stored. |
restoreRegion |
string |
The region the ledger is being restored to. |
uri |
string |
SAS URI used to access the backup fileshare. |
ConfidentialLedgerRestoreResponse
Object representing the restore response of a Confidential Ledger Resource.
Name | Type | Description |
---|---|---|
message |
string |
Response body stating if the ledger is being restored. |
ErrorAdditionalInfo
The resource management error additional info.
Name | Type | Description |
---|---|---|
info |
object |
The additional info. |
type |
string |
The additional info type. |
ErrorDetail
The error detail.
Name | Type | Description |
---|---|---|
additionalInfo |
The error additional info. |
|
code |
string |
The error code. |
details |
The error details. |
|
message |
string |
The error message. |
target |
string |
The error target. |
ErrorResponse
Error response
Name | Type | Description |
---|---|---|
error |
The error object. |