Backups - List By Server
Belirli bir sunucu için tüm yedeklemeleri listeleyin.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/backups?api-version=2024-12-30
URI Parametreleri
| Name | İçinde | Gerekli | Tür | Description |
|---|---|---|---|---|
|
resource
|
path | True |
string minLength: 1maxLength: 90 |
Kaynak grubunun adı. Ad büyük/küçük harfe duyarsız. |
|
server
|
path | True |
string minLength: 1maxLength: 63 pattern: ^[a-z0-9][-a-z0-9]*(? |
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ü. |
Yanıtlar
| Name | Tür | Description |
|---|---|---|
| 200 OK |
Azure işlemi başarıyla tamamlandı. |
|
| Other Status Codes |
Beklenmeyen bir hata yanıtı. |
Güvenlik
azure_auth
Azure Active Directory OAuth2 Akışı.
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
List backups for a server
Örnek isteği
Örnek yanıt
{
"value": [
{
"name": "daily_20210615T160516",
"type": "Microsoft.DBforMySQL/flexibleServers/backups",
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysqltestserver/backups/daily_20210615T160516",
"properties": {
"backupType": "FULL",
"completedTime": "2021-06-15T16:05:19.902522+00:00",
"source": "Automatic"
}
},
{
"name": "daily_20210616T160520",
"type": "Microsoft.DBforMySQL/flexibleServers/backups",
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysqltestserver/backups/daily_20210616T160520",
"properties": {
"backupType": "FULL",
"completedTime": "2021-06-16T16:05:23.9243453+00:00",
"source": "Automatic"
}
},
{
"name": "daily_20210617T160525",
"type": "Microsoft.DBforMySQL/flexibleServers/backups",
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysqltestserver/backups/daily_20210617T160525",
"properties": {
"backupType": "FULL",
"completedTime": "2021-06-17T16:05:28.1247488+00:00",
"source": "Automatic"
}
},
{
"name": "daily_20210618T160529",
"type": "Microsoft.DBforMySQL/flexibleServers/backups",
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysqltestserver/backups/daily_20210618T160529",
"properties": {
"backupType": "FULL",
"completedTime": "2021-06-18T16:05:32.2736701+00:00",
"source": "Automatic"
}
},
{
"name": "daily_20210619T160533",
"type": "Microsoft.DBforMySQL/flexibleServers/backups",
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysqltestserver/backups/daily_20210619T160533",
"properties": {
"backupType": "FULL",
"completedTime": "2021-06-19T16:05:36.8603354+00:00",
"source": "Automatic"
}
},
{
"name": "daily_20210620T160538",
"type": "Microsoft.DBforMySQL/flexibleServers/backups",
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysqltestserver/backups/daily_20210620T160538",
"properties": {
"backupType": "FULL",
"completedTime": "2021-06-20T16:05:41.9200138+00:00",
"source": "Automatic"
}
},
{
"name": "daily_20210621T160543",
"type": "Microsoft.DBforMySQL/flexibleServers/backups",
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysqltestserver/backups/daily_20210621T160543",
"properties": {
"backupType": "FULL",
"completedTime": "2021-06-21T16:05:48.8528447+00:00",
"source": "Automatic"
}
},
{
"name": "daily_20210622T160803",
"type": "Microsoft.DBforMySQL/flexibleServers/backups",
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysqltestserver/backups/daily_20210622T160803",
"properties": {
"backupType": "FULL",
"completedTime": "2021-06-22T16:08:06.3121688+00:00",
"source": "Automatic"
}
},
{
"name": "daily_20210622T210807",
"type": "Microsoft.DBforMySQL/flexibleServers/backups",
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysqltestserver/backups/daily_20210622T210807",
"properties": {
"backupType": "FULL",
"completedTime": "2021-06-22T21:08:10.5057354+00:00",
"source": "Automatic"
}
},
{
"name": "daily_20210623T212413",
"type": "Microsoft.DBforMySQL/flexibleServers/backups",
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysqltestserver/backups/daily_20210623T212413",
"properties": {
"backupType": "FULL",
"completedTime": "2021-06-23T21:24:16.9401531+00:00",
"source": "Automatic"
}
},
{
"name": "daily_20210624T061328",
"type": "Microsoft.DBforMySQL/flexibleServers/backups",
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysqltestserver/backups/daily_20210624T061328",
"properties": {
"backupType": "FULL",
"completedTime": "2021-06-24T06:13:31.4962137+00:00",
"source": "Automatic"
}
}
]
}
Tanımlar
| Name | Description |
|---|---|
|
created |
Kaynağı oluşturan kimliğin türü. |
|
Error |
Kaynak yönetimi hatası ek bilgileri. |
|
Error |
Hata ayrıntısı. |
|
Error |
Hata yanıtı |
|
Server |
Sunucu yedekleme özellikleri |
|
Server |
ServerBackup listesi işleminin yanıtı. |
|
system |
Kaynağın oluşturulması ve son değiştirilmesiyle ilgili meta veriler. |
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. |
ServerBackup
Sunucu yedekleme özellikleri
| Name | Tür | Description |
|---|---|---|
| id |
string (arm-id) |
Kaynağın tam kaynak kimliği. Örneğin, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" |
| name |
string |
Kaynağın adı |
| properties.backupType |
string |
Yedekleme türü. |
| properties.completedTime |
string (date-time) |
Yedekleme tamamlanma zamanı (ISO8601 biçimi). |
| properties.source |
string |
Yedekleme kaynağı |
| systemData |
createdBy ve modifiedBy bilgilerini içeren Azure Resource Manager meta verileri. |
|
| type |
string |
Kaynağın türü. Örneğin, "Microsoft.Compute/virtualMachines" veya "Microsoft.Storage/storageAccounts" |
ServerBackupListResult
ServerBackup listesi işleminin yanıtı.
| Name | Tür | Description |
|---|---|---|
| nextLink |
string (uri) |
Öğelerin bir sonraki sayfasına bağlantı |
| value |
Bu sayfadaki ServerBackup öğeleri |
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ü. |