/* tslint:disable */ /* eslint-disable */ /** * Admin API * The Admin API is used to manage the ApeCloud platform. * * The version of the OpenAPI document: 1.0.0 * Contact: support@apecloud.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ // May contain unused imports in some cases // @ts-ignore import type { ClusterCreate } from './cluster-create'; // May contain unused imports in some cases // @ts-ignore import type { VolumeRestorePolicy } from './volume-restore-policy'; /** * RestoreCreate is the payload to restore a KubeBlocks cluster * @export * @interface RestoreCreate */ export interface RestoreCreate { /** * the env name of the target environment to restore * @type {string} * @memberof RestoreCreate */ 'environmentName': string; /** * the id of backup to restore * @type {string} * @memberof RestoreCreate */ 'backupId': string; /** * * @type {ClusterCreate} * @memberof RestoreCreate */ 'cluster': ClusterCreate; /** * Target time for point-in-time recovery, only supported with a Continuous backup ID. Use an RFC3339 timestamp at whole-second precision, for example 2026-10-22T08:30:00Z or 2026-10-22T16:30:00+08:00. Timezone offsets are converted to UTC without changing the instant. Non-zero fractional seconds and UTC years outside 0000-9999 are rejected. Omit or leave empty to retain the backup method\'s default restore behavior. * @type {string} * @memberof RestoreCreate */ 'restoreTimeStr'?: string; /** * the recovery process in the PostReady phase will be performed after the cluster is running successfully. * @type {boolean} * @memberof RestoreCreate */ 'doReadyRestoreAfterClusterRunning'?: boolean; /** * * @type {VolumeRestorePolicy} * @memberof RestoreCreate */ 'volumeRestorePolicy'?: VolumeRestorePolicy; }