Restore Points - Create
Veri ambarı için bir geri yükleme noktası oluşturur.
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/restorePoints?api-version=2025-01-01
URI Parametreleri
| Name | İçinde | Gerekli | Tür | Description |
|---|---|---|---|---|
|
database
|
path | True |
string |
Veritabanının adı. |
|
resource
|
path | True |
string minLength: 1maxLength: 90 |
Kaynak grubunun adı. İsim büyük/küçük harfe duyarsızdır. |
|
server
|
path | True |
string |
Sunucunun adı. |
|
subscription
|
path | True |
string (uuid) |
Hedef aboneliğin kimliği. Değer bir UUID olmalıdır. |
|
api-version
|
query | True |
string minLength: 1 |
Bu işlem için kullanılacak API sürümü. |
İstek Gövdesi
| Name | Gerekli | Tür | Description |
|---|---|---|---|
| restorePointLabel | True |
string |
Uygulanacak geri yükleme noktası etiketi |
Yanıtlar
| Name | Tür | Description |
|---|---|---|
| 200 OK |
Azure işlemi başarıyla tamamlandı. |
|
| 201 Created |
Kaynak 'RestorePoint' oluşturma işlemi başarılı oldu Üst Bilgiler Location: string |
|
| 202 Accepted |
Kaynak işlemi kabul edildi. Üst Bilgiler Location: string |
|
| Other Status Codes |
Beklenmeyen bir hata yanıtı. |
Güvenlik
azure_auth
Azure Active Directory OAuth2 Flow.
Tür:
oauth2
Akış:
implicit
Yetkilendirme URL’si:
https://login.microsoftonline.com/common/oauth2/authorize
Kapsamlar
| Name | Description |
|---|---|
| user_impersonation | kullanıcı hesabınızın kimliğine bürünme |
Örnekler
Creates datawarehouse database restore point.
Örnek isteği
Örnek yanıt
{
"name": "131546477590000000",
"type": "Microsoft.Sql/servers/databases/restorePoints",
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/servers/testserver/databases/testDatabase/restorePoints/131546477590000000",
"location": "japaneast",
"properties": {
"restorePointCreationDate": "2017-03-10T08:00:00Z",
"restorePointLabel": "mylabel",
"restorePointType": "DISCRETE"
}
}
{
"name": "131546477590000000",
"type": "Microsoft.Sql/servers/databases/restorePoints",
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/servers/testserver/databases/testDatabase/restorePoints/131546477590000000",
"location": "southeastasia",
"properties": {
"restorePointCreationDate": "2017-03-10T08:00:00Z",
"restorePointLabel": "mylabel",
"restorePointType": "DISCRETE"
}
}
Location: https://management.azure.com/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/locations/japaneast/manageddatabaserestoreazureasyncoperation/00000000-1111-2222-3333-444444444444?api-version=2022-11-01-preview
Tanımlar
| Name | Description |
|---|---|
|
Create |
Veritabanı geri yükleme noktası oluşturma işlemini gerçekleştirmek için gereken bilgileri içerir. |
|
created |
Kaynağı oluşturan kimliğin türü. |
|
Error |
Kaynak yönetimi hatası ek bilgileri. |
|
Error |
Hata ayrıntısı. |
|
Error |
Hata yanıtı |
|
Restore |
Veritabanı geri yükleme noktaları. |
|
Restore |
Geri yükleme noktası türü |
|
system |
Kaynağın oluşturulması ve son değiştirilmesiyle ilgili meta veriler. |
CreateDatabaseRestorePointDefinition
Veritabanı geri yükleme noktası oluşturma işlemini gerçekleştirmek için gereken bilgileri içerir.
| Name | Tür | Description |
|---|---|---|
| restorePointLabel |
string |
Uygulanacak geri yükleme noktası etiketi |
createdByType
Kaynağı oluşturan kimliğin türü.
| Değer | Description |
|---|---|
| User | |
| Application | |
| ManagedIdentity | |
| Key |
ErrorAdditionalInfo
Kaynak yönetimi hatası ek bilgileri.
| Name | Tür | Description |
|---|---|---|
| info |
object |
Ek bilgiler. |
| type |
string |
Ek bilgi türü. |
ErrorDetail
Hata ayrıntısı.
| Name | Tür | Description |
|---|---|---|
| additionalInfo |
Hata ek bilgileri. |
|
| code |
string |
Hata kodu. |
| details |
Hata ayrıntıları. |
|
| message |
string |
Hata iletisi. |
| target |
string |
Hata hedefi |
ErrorResponse
Hata yanıtı
| Name | Tür | Description |
|---|---|---|
| error |
Hata nesnesi. |
RestorePoint
Veritabanı geri yükleme noktaları.
| Name | Tür | Description |
|---|---|---|
| id |
string (arm-id) |
Kaynağın tam kaynak kimliği. Örneğin "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" |
| location |
string |
Kaynak konumu. |
| name |
string |
Kaynağın adı |
| properties.earliestRestoreDate |
string (date-time) |
Bu veritabanının geri yüklenebileceği en erken zaman |
| properties.restorePointCreationDate |
string (date-time) |
Yedeklemenin alındığı zaman |
| properties.restorePointLabel |
string |
Kullanıcıya göre yedekleme isteği için geri yükleme noktası etiketi |
| properties.restorePointType |
Geri yükleme noktası türü |
|
| systemData |
Azure Resource Manager metadata içeren createdBy ve modifiedBy bilgileri. |
|
| type |
string |
Kaynağın türü. Örneğin "Microsoft. Compute/virtualMachines" veya "Microsoft. Depo/Depolama Hesapları" |
RestorePointType
Geri yükleme noktası türü
| Değer | Description |
|---|---|
| CONTINUOUS |
SÜREKLİ |
| DISCRETE |
AYRIK |
systemData
Kaynağın oluşturulması ve son değiştirilmesiyle ilgili meta veriler.
| Name | Tür | Description |
|---|---|---|
| createdAt |
string (date-time) |
Kaynak oluşturma (UTC) zaman damgası. |
| createdBy |
string |
Kaynağı oluşturan kimlik. |
| createdByType |
Kaynağı oluşturan kimliğin türü. |
|
| lastModifiedAt |
string (date-time) |
Kaynağın son değişikliğinin zaman damgası (UTC) |
| lastModifiedBy |
string |
Kaynağı en son değiştiren kimlik. |
| lastModifiedByType |
Kaynağı en son değiştiren kimlik türü. |