# CosmosDBAccountRestoreParametersProxy

- Module: [Aspire.Hosting.Azure.Provisioning.CosmosDB](/reference/api/typescript/aspire.hosting.azure.provisioning.cosmosdb.md)
- Version: `17.0.0-preview.1.26567.5`
- Kind: `handle`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/2d325b13709752ba6d9a943635c5e2940a2530c0)

Represents the CosmosDBAccountRestoreParameters Azure Provisioning model.

## Definition

```typescript
interface CosmosDBAccountRestoreParametersProxy {
  databasesToRestore: Aspire_Hosting_Azure_Provisioning_CosmosDB_Generated_ListOfDatabaseRestoreResourceInfoProxy;
  gremlinDatabasesToRestore: Aspire_Hosting_Azure_Provisioning_CosmosDB_Generated_ListOfGremlinDatabaseRestoreResourceInfoProxy;
  isRestoreWithTtlDisabled: BicepValueProxy | boolean;
  restoreMode: BicepValueProxy | CosmosDBAccountRestoreMode;
  restoreSource: BicepValueProxy | string;
  restoreTimestampInUtc: BicepValueProxy | datetimeoffset;
  sourceBackupLocation: BicepValueProxy | string;
  tablesToRestore: Aspire_Hosting_Azure_Provisioning_CosmosDB_Generated_ListOfStringProxy;
  clearIsRestoreWithTtlDisabled(): void;
  clearRestoreMode(): void;
  clearRestoreSource(): void;
  clearRestoreTimestampInUtc(): void;
  clearSourceBackupLocation(): void;
}
```

## Properties

- `databasesToRestore`: [Aspire_Hosting_Azure_Provisioning_CosmosDB_Generated_ListOfDatabaseRestoreResourceInfoProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.cosmosdb/aspire-hosting-azure-provisioning-cosmosdb-generated-listofdatabaserestoreresourceinfoproxy.md) `get - set` -- Gets or sets the DatabasesToRestore provisioning property.
- `gremlinDatabasesToRestore`: [Aspire_Hosting_Azure_Provisioning_CosmosDB_Generated_ListOfGremlinDatabaseRestoreResourceInfoProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.cosmosdb/aspire-hosting-azure-provisioning-cosmosdb-generated-listofgremlindatabaserestoreresourceinfoproxy.md) `get - set` -- Gets or sets the GremlinDatabasesToRestore provisioning property.
- `isRestoreWithTtlDisabled`: `BicepValueProxy | boolean` `get - set` -- Gets or sets the IsRestoreWithTtlDisabled provisioning property.
- `restoreMode`: `BicepValueProxy | CosmosDBAccountRestoreMode` `get - set` -- Gets or sets the RestoreMode provisioning property.
- `restoreSource`: `BicepValueProxy | string` `get - set` -- Gets or sets the RestoreSource provisioning property.
- `restoreTimestampInUtc`: `BicepValueProxy | datetimeoffset` `get - set` -- Gets or sets the RestoreTimestampInUtc provisioning property.
- `sourceBackupLocation`: `BicepValueProxy | string` `get - set` -- Gets or sets the SourceBackupLocation provisioning property.
- `tablesToRestore`: [Aspire_Hosting_Azure_Provisioning_CosmosDB_Generated_ListOfStringProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.cosmosdb/aspire-hosting-azure-provisioning-cosmosdb-generated-listofstringproxy.md) `get - set` -- Gets or sets the TablesToRestore provisioning property.

## Methods

- [clearIsRestoreWithTtlDisabled](/reference/api/typescript/aspire.hosting.azure.provisioning.cosmosdb/cosmosdbaccountrestoreparametersproxy/clearisrestorewithttldisabled.md) -- `method` -- Clears the IsRestoreWithTtlDisabled provisioning property.
    ```typescript
  clearIsRestoreWithTtlDisabled(): void
  ```
- [clearRestoreMode](/reference/api/typescript/aspire.hosting.azure.provisioning.cosmosdb/cosmosdbaccountrestoreparametersproxy/clearrestoremode.md) -- `method` -- Clears the RestoreMode provisioning property.
    ```typescript
  clearRestoreMode(): void
  ```
- [clearRestoreSource](/reference/api/typescript/aspire.hosting.azure.provisioning.cosmosdb/cosmosdbaccountrestoreparametersproxy/clearrestoresource.md) -- `method` -- Clears the RestoreSource provisioning property.
    ```typescript
  clearRestoreSource(): void
  ```
- [clearRestoreTimestampInUtc](/reference/api/typescript/aspire.hosting.azure.provisioning.cosmosdb/cosmosdbaccountrestoreparametersproxy/clearrestoretimestampinutc.md) -- `method` -- Clears the RestoreTimestampInUtc provisioning property.
    ```typescript
  clearRestoreTimestampInUtc(): void
  ```
- [clearSourceBackupLocation](/reference/api/typescript/aspire.hosting.azure.provisioning.cosmosdb/cosmosdbaccountrestoreparametersproxy/clearsourcebackuplocation.md) -- `method` -- Clears the SourceBackupLocation provisioning property.
    ```typescript
  clearSourceBackupLocation(): void
  ```
