仕様スキーマ
RestoreSpec は、Restore の望ましい状態を定義します。
backup: string
clonedDBClusterConfig:
  dbclusterName: string
pointInTime: string
sourceDBCluster: string
| フィールドタイプ 必須または省略可 | 説明 | 
|---|---|
| backup | |
| string省略可 | このバックアップが作成された BackupPlan の名前。復元元のバックアップ。Backup または PointInTime のいずれかを指定する必要があります。Backup を指定する場合は、clonedDBClusterConfig フィールドを未指定のままにする必要があります。PointInTime を指定する場合は、clonedDBClusterConfig フィールドに新しい DBCluster 名を指定する必要があります。一致しない場合、復元リクエストは拒否されます。 | 
| clonedDBClusterConfig | |
| object省略可 | クローンを作成した DBCluster の設定。これにより、クローンを作成した DBCluster の名前を指定できます。指定しない場合、デフォルトでソース DBCluster が復元されます。 | 
| clonedDBClusterConfig.dbclusterName | |
| string省略可 | クローンを作成した DBCluster の名前。 | 
| pointInTime | |
| string省略可 | 復元する過去の時点。指定しない場合、デフォルトで利用可能な最後の時点が復元されます。 | 
| sourceDBCluster | |
| string必須 | 復元元のソース DBCluster の名前。 | 
ステータス スキーマ
RestoreStatus は、Restore の観測された状態を定義します。
completeTime: string
conditions:
- lastTransitionTime: string
  message: string
  observedGeneration: integer
  reason: string
  status: string
  type: string
createTime: string
criticalIncidents:
- code: string
  createTime: string
  message: string
  messageTemplateParams: object
  resource:
    component: string
    location:
      cluster: string
      group: string
      kind: string
      name: string
      namespace: string
      version: string
  stackTrace:
  - component: string
    message: string
  transientUntil: string
observedGeneration: integer
phase: string
reconciled: boolean
| フィールドタイプ 必須または省略可 | 説明 | 
|---|---|
| completeTime | |
| string省略可 | 復元の完了時間。 | 
| conditions[] | |
| object省略可 | conditions は、エンティティの現在の状態に関する、利用可能な最新の観測値を表します。 | 
| conditions[].lastTransitionTime | |
| string必須 | lastTransitionTime は、あるステータスから別のステータスに条件が最後に移行した時刻です。これは、基盤となる条件が変更されたときに発生します。基盤となる条件が変更された時刻が不明な場合は、API フィールドが変更された時刻を使用します。 | 
| conditions[].message | |
| string必須 | message は、移行の詳細を示す人間が読めるメッセージです。空の文字列にすることもできます。 | 
| conditions[].observedGeneration | |
| integer省略可 | observedGeneration は、条件が設定された .metadata.generationを表します。たとえば、.metadata.generationが 12 であるにもかかわらず、.status.conditions[x].observedGenerationが 9 である場合、その条件はインスタンスの現在の状態に関して古くなっています。 | 
| conditions[].reason | |
| string必須 | reason には、条件の最後の遷移の理由を示すプログラマティック ID が含まれます。特定の条件タイプのプロデューサーは、このフィールドの想定される値と意味、および値が保証付き API とみなされるかどうかを定義できます。値は CamelCase 文字列にする必要があります。このフィールドは空にできません。 | 
| conditions[].status | |
| string必須 | 条件のステータス(True、False、Unknown のいずれか)。 | 
| conditions[].type | |
| string必須 | 条件のタイプ(CamelCase または foo.example.com/CamelCase)。多くの.condition.type値は、Available など、リソース間で一貫しています。.node.status.conditionsなどの任意の条件が有用な場合があるため、競合を回避する機能が重要です。一致する正規表現は(dns1123SubdomainFmt/)?(qualifiedNameFmt)です。 | 
| createTime | |
| string省略可 | Restore の作成日時。 | 
| criticalIncidents[] | |
| object必須 | criticalIncidents は、アクティブなすべての重大インシデントのフラットなリストです。 | 
| criticalIncidents[].code | |
| string必須 | code は、この特定のエラーのエラーコードです。エラーコードは DBSE+numeric文字列(DBSE1012など)です。 | 
| criticalIncidents[].createTime | |
| string必須 | createTime は、このインシデントが発生元で作成されたときのタイムスタンプです。 | 
| criticalIncidents[].message | |
| string省略可 | message は、発生したインシデントまたはエラーの説明です。 | 
| criticalIncidents[].messageTemplateParams | |
| object省略可 | messageTemplateParams には、ユーザー インターフェースでユーザー フレンドリーなデータドリブン バージョンの message を生成するために必要な Key-Value ペアが含まれます。 | 
| criticalIncidents[].resource | |
| object必須 | resource には、インシデントを報告した Database Service コンポーネントに関する情報と、Kubernetes リソースに関する情報が含まれます。 | 
| criticalIncidents[].resource.component | |
| string必須 | component は、インシデントを報告した Database Service サブシステムの内部識別子です。 | 
| criticalIncidents[].resource.location | |
| object省略可 | 場所。 | 
| criticalIncidents[].resource.location.cluster | |
| string省略可 | 影響を受けた Kubernetes リソースのクラスタの名前。 | 
| criticalIncidents[].resource.location.group | |
| string省略可 | Kubernetes リソースのグループの名前。 | 
| criticalIncidents[].resource.location.kind | |
| string省略可 | Kubernetes リソースの Kind。 | 
| criticalIncidents[].resource.location.name | |
| string省略可 | 影響を受けた Kubernetes リソースの名前。 | 
| criticalIncidents[].resource.location.namespace | |
| string省略可 | 影響を受けた Kubernetes リソースの Namespace。 | 
| criticalIncidents[].resource.location.version | |
| string省略可 | Kubernetes リソースのバージョン。 | 
| criticalIncidents[].stackTrace[] | |
| object省略可 | スタック トレースに含まれるメッセージの非構造化リスト。 | 
| criticalIncidents[].stackTrace.component | |
| string省略可 | このメッセージをログに記録した Database Service コンポーネントの名前。 | 
| criticalIncidents[].stackTrace.message | |
| string省略可 | ログに記録されたメッセージ。 | 
| criticalIncidents[].transientUntil | |
| string省略可 | 指定された時刻まで、問題は一時的なものとみなされます。 | 
| observedGeneration | |
| integer省略可 | 内部: コントローラによって観測された世代。 | 
| phase | |
| string省略可 | RestorePhase は復元のフェーズです。 | 
| reconciled | |
| boolean省略可 | Internal: リソースがコントローラによって調整されたかどうか。 |