Storage Accounts - Restore Blob Ranges
指定した BLOB 範囲の BLOB を復元する
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/restoreBlobRanges?api-version=2023-01-01
URI パラメーター
名前 | / | 必須 | 型 | 説明 |
---|---|---|---|---|
account
|
path | True |
string |
指定したリソース グループ内のストレージ アカウントの名前。 ストレージ アカウント名の長さは 3 ~ 24 文字で、数字と小文字のみを使用する必要があります。 Regex pattern: |
resource
|
path | True |
string |
ユーザーのサブスクリプション内のリソース グループの名前。 名前の大文字と小文字は区別されます。 Regex pattern: |
subscription
|
path | True |
string |
ターゲット サブスクリプションの ID。 |
api-version
|
query | True |
string |
この操作に使用する API バージョン。 |
要求本文
名前 | 必須 | 型 | 説明 |
---|---|---|---|
blobRanges | True |
復元する BLOB 範囲。 |
|
timeToRestore | True |
string |
指定した時刻に BLOB を復元します。 |
応答
名前 | 型 | 説明 |
---|---|---|
200 OK |
OK -- 要求本文で指定されたのと同じプロパティを使用して BLOB 範囲が完全に復元されると返されます。 |
|
202 Accepted |
受け入れ済み -- BLOB 復元要求が受け入れられます。操作は非同期的に完了します。 |
セキュリティ
azure_auth
Azure Active Directory OAuth2 フロー
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
名前 | 説明 |
---|---|
user_impersonation | ユーザー アカウントの借用 |
例
BlobRangesRestore
Sample Request
POST https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445/restoreBlobRanges?api-version=2023-01-01
{
"timeToRestore": "2019-04-20T15:30:00.0000000Z",
"blobRanges": [
{
"startRange": "container/blobpath1",
"endRange": "container/blobpath2"
},
{
"startRange": "container2/blobpath3",
"endRange": ""
}
]
}
Sample Response
{
"status": "Succeeded",
"restoreId": "{restore_id}",
"parameters": {
"timeToRestore": "2019-04-20T15:30:00.0000000Z",
"blobRanges": [
{
"startRange": "container/blobpath1",
"endRange": "container/blobpath2"
},
{
"startRange": "container2/blobpath3",
"endRange": ""
}
]
}
}
location: https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2022-09-01
{
"status": "InProgress",
"restoreId": "{restore_id}",
"parameters": {
"timeToRestore": "2019-04-20T15:30:00.0000000Z",
"blobRanges": [
{
"startRange": "container/blobpath1",
"endRange": "container/blobpath2"
},
{
"startRange": "container2/blobpath3",
"endRange": ""
}
]
}
}
定義
名前 | 説明 |
---|---|
Blob |
BLOB 復元パラメーター |
Blob |
BLOB 復元の進行状況の状態。 使用できる値は次のとおりです。 - InProgress: BLOB の復元が進行中であることを示します。 - 完了: BLOB の復元が正常に完了したことを示します。 - 失敗: BLOB の復元が失敗したことを示します。 |
Blob |
BLOB 範囲 |
Blob |
BLOB の復元の状態。 |
BlobRestoreParameters
BLOB 復元パラメーター
名前 | 型 | 説明 |
---|---|---|
blobRanges |
復元する BLOB 範囲。 |
|
timeToRestore |
string |
指定した時刻に BLOB を復元します。 |
BlobRestoreProgressStatus
BLOB 復元の進行状況の状態。 使用できる値は次のとおりです。 - InProgress: BLOB の復元が進行中であることを示します。 - 完了: BLOB の復元が正常に完了したことを示します。 - 失敗: BLOB の復元が失敗したことを示します。
名前 | 型 | 説明 |
---|---|---|
Complete |
string |
|
Failed |
string |
|
InProgress |
string |
BlobRestoreRange
BLOB 範囲
名前 | 型 | 説明 |
---|---|---|
endRange |
string |
BLOB の終了範囲。 これは排他的です。 空は、アカウントの終了を意味します。 |
startRange |
string |
BLOB の開始範囲。 これは包括的です。 空は、アカウントの開始を意味します。 |
BlobRestoreStatus
BLOB の復元の状態。
名前 | 型 | 説明 |
---|---|---|
failureReason |
string |
BLOB の復元が失敗した場合のエラーの理由。 |
parameters |
BLOB 復元要求パラメーター。 |
|
restoreId |
string |
BLOB 復元要求を追跡するための ID。 |
status |
BLOB 復元の進行状況の状態。 使用できる値は次のとおりです。 - InProgress: BLOB の復元が進行中であることを示します。 - 完了: BLOB の復元が正常に完了したことを示します。 - 失敗: BLOB の復元が失敗したことを示します。 |