다음을 통해 공유


Long Term Retention Backups - Get

장기 보존 백업을 가져옵니다.

GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionServers/{longTermRetentionServerName}/longTermRetentionDatabases/{longTermRetentionDatabaseName}/longTermRetentionBackups/{backupName}?api-version=2021-11-01

URI 매개 변수

Name In(다음 안에) 필수 형식 Description
backupName
path True

string

백업 이름입니다.

locationName
path True

string

데이터베이스의 위치입니다.

longTermRetentionDatabaseName
path True

string

데이터베이스의 이름

longTermRetentionServerName
path True

string

서버 이름

subscriptionId
path True

string

Azure 구독을 식별하는 구독 ID입니다.

api-version
query True

string

요청에 사용할 API 버전입니다.

응답

Name 형식 Description
200 OK

LongTermRetentionBackup

백업을 성공적으로 검색했습니다.

Other Status Codes

오류 응답: ***

  • 400 InvalidLongTermRetentionBackupId - SQL DB에 대한 잘못된 장기 보존 백업 식별자입니다.

  • 400 InvalidParameterValue - 매개 변수에 잘못된 값이 지정되었습니다.

  • 400 LongTermRetentionMismatchingSubscriptionId - 제공된 구독 ID가 다른 입력의 ID와 일치하지 않음

  • 400 LongTermRetentionMismatchingResourceGroupName - 제공된 리소스 그룹 이름이 다른 입력의 이름과 일치하지 않음

  • 400 LongTermRetentionMismatchingServerName - 제공된 서버 이름이 다른 입력의 이름과 일치하지 않음

  • 404 SubscriptionDoesNotHaveServer - 요청된 서버를 찾을 수 없습니다.

  • 404 ServerNotInSubscriptionResourceGroup - 지정된 서버가 지정된 리소스 그룹 및 구독에 없습니다.

  • 404 ResourceNotFound - 요청된 리소스를 찾을 수 없습니다.

예제

Get the long term retention backup.

샘플 요청

GET https://management.azure.com/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/locations/japaneast/longTermRetentionServers/testserver/longTermRetentionDatabases/testDatabase/longTermRetentionBackups/55555555-6666-7777-8888-999999999999;131637960820000000?api-version=2021-11-01

샘플 응답

{
  "id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/locations/japaneast/longTermRetentionServers/testserver/longTermRetentionDatabases/testDatabase/longTermRetentionBackups/2017-03-10T08:00:00.000Z;55555555-6666-7777-8888-999999999999;2017-09-06T08:00:00.000Z",
  "name": "2017-03-10T08:00:00.000Z;55555555-6666-7777-8888-999999999999;131637960820000000",
  "type": "Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups",
  "properties": {
    "serverName": "testserver",
    "serverCreateTime": "2017-03-10T08:00:00Z",
    "databaseName": "testDatabase",
    "databaseDeletionTime": null,
    "backupTime": "2017-09-06T08:00:00Z",
    "backupStorageRedundancy": "Geo"
  }
}

정의

Name Description
BackupStorageRedundancy

복사한 백업의 스토리지 중복성 유형

LongTermRetentionBackup

장기 보존 백업.

BackupStorageRedundancy

복사한 백업의 스토리지 중복성 유형

Description
Geo
GeoZone
Local
Zone

LongTermRetentionBackup

장기 보존 백업.

Name 형식 Description
id

string

리소스 ID입니다.

name

string

리소스 이름입니다.

properties.backupExpirationTime

string

장기 보존 백업이 만료되는 시간입니다.

properties.backupStorageRedundancy

BackupStorageRedundancy

백업의 스토리지 중복 유형

properties.backupTime

string

백업이 수행된 시간

properties.databaseDeletionTime

string

데이터베이스의 삭제 시간

properties.databaseName

string

백업이 속한 데이터베이스의 이름

properties.requestedBackupStorageRedundancy

BackupStorageRedundancy

백업의 스토리지 중복 유형

properties.serverCreateTime

string

서버의 만들기 시간입니다.

properties.serverName

string

백업 데이터베이스가 속한 서버 이름입니다.

type

string

리소스 종류.