Deleted Accounts - List
Lists akun yang dihapus di bawah langganan.
GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Storage/deletedAccounts?api-version=2023-01-01
Parameter URI
Nama | Dalam | Diperlukan | Jenis | Deskripsi |
---|---|---|---|---|
subscription
|
path | True |
string |
ID langganan target. |
api-version
|
query | True |
string |
Versi API yang digunakan untuk operasi ini. |
Respons
Nama | Jenis | Deskripsi |
---|---|---|
200 OK |
OK -- Daftar akun yang dihapus diambil dan berhasil dikembalikan. |
|
Other Status Codes |
Respons kesalahan yang menjelaskan mengapa operasi gagal. |
Keamanan
azure_auth
Alur OAuth2 Azure Active Directory
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Nama | Deskripsi |
---|---|
user_impersonation | meniru akun pengguna Anda |
Contoh
DeletedAccountList
Sample Request
GET https://management.azure.com/subscriptions/{subscription-id}/providers/Microsoft.Storage/deletedAccounts?api-version=2023-01-01
Sample Response
{
"value": [
{
"id": "/subscriptions/{subscription-id}/providers/Microsoft.Storage/locations/eastus/deletedAccounts/sto1125",
"name": "sto1125",
"type": "Microsoft.Storage/deletedAccounts",
"properties": {
"storageAccountResourceId": "/subscriptions/{subscription-id}/resourceGroups/sto/providers/Microsoft.Storage/storageAccounts/sto1125",
"location": "eastus",
"restoreReference": "sto1125|2020-08-17T03:35:37.4588848Z",
"creationTime": "2020-08-17T03:35:37.4588848Z",
"deletionTime": "2020-08-17T04:41:37.3442475Z"
}
},
{
"id": "/subscriptions/{subscription-id}/providers/Microsoft.Storage/locations/eastus/deletedAccounts/sto1126",
"name": "sto1126",
"type": "Microsoft.Storage/deletedAccounts",
"properties": {
"storageAccountResourceId": "/subscriptions/{subscription-id}/resourceGroups/sto/providers/Microsoft.Storage/storageAccounts/sto1126",
"location": "eastus",
"restoreReference": "sto1126|2020-08-17T03:35:37.4588848Z",
"creationTime": "2020-08-19T15:10:21.5902165Z",
"deletionTime": "2020-08-20T06:11:55.1957302Z"
}
}
]
}
Definisi
Nama | Deskripsi |
---|---|
Deleted |
Akun penyimpanan yang dihapus |
Deleted |
Respons dari operasi Daftar Akun yang Dihapus. |
Error |
Respons kesalahan dari penyedia sumber daya penyimpanan. |
Error |
Kontrak isi respons kesalahan. |
DeletedAccount
Akun penyimpanan yang dihapus
Nama | Jenis | Deskripsi |
---|---|---|
id |
string |
ID sumber daya yang sepenuhnya memenuhi syarat untuk sumber daya. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
name |
string |
Nama sumber daya. |
properties.creationTime |
string |
Waktu pembuatan akun yang dihapus. |
properties.deletionTime |
string |
Waktu penghapusan akun yang dihapus. |
properties.location |
string |
Lokasi akun yang dihapus. |
properties.restoreReference |
string |
Dapat digunakan untuk mencoba memulihkan akun yang dihapus ini melalui PutStorageAccount API. |
properties.storageAccountResourceId |
string |
Id sumber daya lengkap dari akun penyimpanan asli. |
type |
string |
Jenis sumber daya. Misalnya, "Microsoft.Compute/virtualMachines" atau "Microsoft.Storage/storageAccounts" |
DeletedAccountListResult
Respons dari operasi Daftar Akun yang Dihapus.
Nama | Jenis | Deskripsi |
---|---|---|
nextLink |
string |
URL Permintaan yang dapat digunakan untuk mengkueri halaman berikutnya dari akun yang dihapus. Dikembalikan ketika jumlah total akun yang diminta dihapus melebihi ukuran halaman maksimum. |
value |
Mendapatkan daftar akun yang dihapus dan propertinya. |
ErrorResponse
Respons kesalahan dari penyedia sumber daya penyimpanan.
Nama | Jenis | Deskripsi |
---|---|---|
error |
Isi respons kesalahan Penyedia Sumber Daya Azure Storage. |
ErrorResponseBody
Kontrak isi respons kesalahan.
Nama | Jenis | Deskripsi |
---|---|---|
code |
string |
Pengidentifikasi untuk kesalahan. Kode tidak berubah dan dimaksudkan untuk dikonsumsi secara terprogram. |
message |
string |
Pesan yang menjelaskan kesalahan, dimaksudkan agar cocok untuk ditampilkan di antarmuka pengguna. |