Azure Cosmos DB의 동일한 계정에서 복원을 위한 리소스 모델

적용 대상: NoSQL MongoDB Gremlin 테이블

이 문서에서는 Azure Cosmos DB 특정 시점 동일한 계정 복원 기능의 리소스 모델에 대해 설명합니다. 지속적인 백업 및 복원 가능한 리소스를 지원하는 매개 변수에 대해 설명합니다. 이 기능은 Azure Cosmos DB API for NoSQL, API for Gremlin, API for Table 및 API for MongoDB에서 지원됩니다.

동일한 계정에서 삭제된 컨테이너 및 데이터베이스에 대한 작업 매개 변수 복원

RestoreParameters 리소스에는 계정 ID, 복원 시간 및 복원해야 하는 리소스를 포함한 복원 작업 세부 정보가 포함됩니다.

속성 이름 설명
restoreSource 복원 작업을 시작할 원본 계정의 instanceId입니다.
restoreTimestampInUtc 계정을 복원할 특정 시간(UTC)입니다.

Azure Resource Manager에서 샘플 복원 작업 리소스

다음 JSON은 지속적인 백업을 사용하는 샘플 데이터베이스 계정 리소스입니다.

{ 
    "properties": { 
        "resource": { 
            "id": "<database-container-collection-graph-or-table-name>", 
            "restoreParameters": { 
                "restoreSource": "/subscriptions/<subscription-id>/providers/Microsoft.DocumentDB/locations/<location>/restorableDatabaseAccounts/<account-instance-id>/", 
                "restoreTimestampInUtc": "<timestamp>"
      }         
    }     
  }
}

다음 JSON은 ID가 00000000-0000-0000-0000-000000000000인 구독의 샘플 MongoDB 컬렉션 복원 요청, abcd1234-d1c0-4645-a699-abcd1234의 인스턴스 ID가 있는 계정, legacy-records-coll이라는 컬렉션 및 타임스탬프 2023-01-01T00:00:00Z입니다.

{ 
    "properties": { 
        "resource": { 
            "id": "legacy-records-coll", 
            "restoreParameters": { 
                "restoreSource": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/restorableDatabaseAccounts/abcd1234-d1c0-4645-a699-abcd1234", 
                "restoreTimestampInUtc": "2023-02-01T00:00:00Z"
      }         
    }     
  }
} 

다음 단계