# GarbageCollectionPropertiesProxy

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

Represents the GarbageCollectionProperties Azure Provisioning model.

## Definition

```typescript
interface GarbageCollectionPropertiesProxy {
  enabled: BicepValueProxy | boolean;
  schedule: BicepValueProxy | string;
  clearEnabled(): void;
  clearSchedule(): void;
}
```

## Properties

- `enabled`: `BicepValueProxy | boolean` `get - set` -- Gets or sets the Enabled provisioning property.
- `schedule`: `BicepValueProxy | string` `get - set` -- Gets or sets the Schedule provisioning property.

## Methods

- [clearEnabled](/reference/api/typescript/aspire.hosting.azure.provisioning.containerregistry/garbagecollectionpropertiesproxy/clearenabled.md) -- `method` -- Clears the Enabled provisioning property.
    ```typescript
  clearEnabled(): void
  ```
- [clearSchedule](/reference/api/typescript/aspire.hosting.azure.provisioning.containerregistry/garbagecollectionpropertiesproxy/clearschedule.md) -- `method` -- Clears the Schedule provisioning property.
    ```typescript
  clearSchedule(): void
  ```
