# CleanupSettings

> Resource CleanupSettings in pulumi-teamcity.

<!-- Generated from the pulumi-teamcity SDK. -->

Resource CleanupSettings in pulumi-teamcity.

Pulumi type: `teamcity:index/cleanupSettings:CleanupSettings`.

`name` is the Pulumi resource name. Nested object fields are documented under that object. They are not arguments of this resource.

## Example

Only required arguments are set. A string in angle brackets stands in for that argument. Any other value is an option or example written in the SDK description.

```ts
import * as teamcity from "pulumi-teamcity"

const resource = new teamcity.CleanupSettings("cleanupSettings", {
  enabled: true,
  maxDuration: 0,
})
```

## Arguments

| Property      | Type                           | Required | Description |
| ------------- | ------------------------------ | -------- | ----------- |
| `cron`        | `CleanupSettingsCron (input)`  | no       |             |
| `daily`       | `CleanupSettingsDaily (input)` | no       |             |
| `enabled`     | `boolean`                      | yes      |             |
| `maxDuration` | `number`                       | yes      |             |

## Outputs

Computed outputs are produced by the provider. They are not constructor arguments.

| Property      | Type                            | Computed | Description |
| ------------- | ------------------------------- | -------- | ----------- |
| `cron`        | `CleanupSettingsCron (output)`  | no       |             |
| `daily`       | `CleanupSettingsDaily (output)` | no       |             |
| `enabled`     | `boolean`                       | no       |             |
| `maxDuration` | `number`                        | no       |             |

## `CleanupSettingsCron (input)`

Input object `CleanupSettingsCron`. Fields below belong to this object, not to the parent.

| Property  | Type     | Required | Description |
| --------- | -------- | -------- | ----------- |
| `day`     | `string` | yes      |             |
| `dayWeek` | `string` | yes      |             |
| `hour`    | `string` | yes      |             |
| `minute`  | `string` | yes      |             |
| `month`   | `string` | yes      |             |

## `CleanupSettingsDaily (input)`

Input object `CleanupSettingsDaily`. Fields below belong to this object, not to the parent.

| Property | Type     | Required | Description |
| -------- | -------- | -------- | ----------- |
| `hour`   | `number` | yes      |             |
| `minute` | `number` | yes      |             |

## `CleanupSettingsCron (output)`

Output object `CleanupSettingsCron`. Fields below belong to this object.

| Property  | Type     | Always present | Description |
| --------- | -------- | -------------- | ----------- |
| `day`     | `string` | yes            |             |
| `dayWeek` | `string` | yes            |             |
| `hour`    | `string` | yes            |             |
| `minute`  | `string` | yes            |             |
| `month`   | `string` | yes            |             |

## `CleanupSettingsDaily (output)`

Output object `CleanupSettingsDaily`. Fields below belong to this object.

| Property | Type     | Always present | Description |
| -------- | -------- | -------------- | ----------- |
| `hour`   | `number` | yes            |             |
| `minute` | `number` | yes            |             |
