Aracılığıyla paylaş


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
resourceGroupName
path True

string

minLength: 1
maxLength: 90

Kaynak grubunun adı. Ad büyük/küçük harfe duyarsız.

serverName
path True

string

minLength: 1
maxLength: 63
pattern: ^[a-z0-9][-a-z0-9]*(?

Sunucunun adı.

subscriptionId
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

ServerBackupListResult

Azure işlemi başarıyla tamamlandı.

Other Status Codes

ErrorResponse

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

GET https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysqltestserver/backups?api-version=2024-12-30

Ö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
createdByType

Kaynağı oluşturan kimliğin türü.

ErrorAdditionalInfo

Kaynak yönetimi hatası ek bilgileri.

ErrorDetail

Hata ayrıntısı.

ErrorResponse

Hata yanıtı

ServerBackup

Sunucu yedekleme özellikleri

ServerBackupListResult

ServerBackup listesi işleminin yanıtı.

systemData

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

ErrorAdditionalInfo[]

Hata ek bilgileri.

code

string

Hata kodu.

details

ErrorDetail[]

Hata ayrıntıları.

message

string

Hata iletisi.

target

string

Hata hedefi.

ErrorResponse

Hata yanıtı

Name Tür Description
error

ErrorDetail

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

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

ServerBackup[]

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

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

createdByType

Kaynağı en son değiştiren kimlik türü.