# ContainerServiceMaintenanceConfigurationProxy

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

Represents the ContainerServiceMaintenanceConfiguration Azure Provisioning model.

## Definition

```typescript
interface ContainerServiceMaintenanceConfigurationProxy {
  readonly id: BicepValueProxy;
  maintenanceWindow: ContainerServiceMaintenanceWindowProxy;
  name: BicepValueProxy | string;
  notAllowedTimes: Aspire_Hosting_Azure_Provisioning_ContainerService_Generated_ListOfContainerServiceTimeSpanProxy;
  parent: ContainerServiceManagedClusterProxy;
  readonly systemData: ContainerServiceSystemDataProxy;
  timesInWeek: Aspire_Hosting_Azure_Provisioning_ContainerService_Generated_ListOfContainerServiceTimeInWeekProxy;
  addTo(infrastructure: AzureResourceInfrastructure): void;
  clearName(): void;
}
```

## Properties

- `id`: `BicepValueProxy` `get` -- Gets the Id provisioning property.
- `maintenanceWindow`: [ContainerServiceMaintenanceWindowProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.containerservice/containerservicemaintenancewindowproxy.md) `get - set` -- Gets or sets the MaintenanceWindow provisioning property.
- `name`: `BicepValueProxy | string` `get - set` -- Gets or sets the Name provisioning property.
- `notAllowedTimes`: [Aspire_Hosting_Azure_Provisioning_ContainerService_Generated_ListOfContainerServiceTimeSpanProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.containerservice/aspire-hosting-azure-provisioning-containerservice-generated-listofcontainerservicetimespanproxy.md) `get - set` -- Gets or sets the NotAllowedTimes provisioning property.
- `parent`: [ContainerServiceManagedClusterProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.containerservice/containerservicemanagedclusterproxy.md) `get - set` -- Gets or sets the Parent provisioning property.
- `systemData`: [ContainerServiceSystemDataProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.containerservice/containerservicesystemdataproxy.md) `get` -- Gets the SystemData provisioning property.
- `timesInWeek`: [Aspire_Hosting_Azure_Provisioning_ContainerService_Generated_ListOfContainerServiceTimeInWeekProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.containerservice/aspire-hosting-azure-provisioning-containerservice-generated-listofcontainerservicetimeinweekproxy.md) `get - set` -- Gets or sets the TimesInWeek provisioning property.

## Methods

- [addTo](/reference/api/typescript/aspire.hosting.azure.provisioning.containerservice/containerservicemaintenanceconfigurationproxy/addto.md) -- `method` -- Adds this provisioning resource to the Azure resource infrastructure.
    ```typescript
  addTo(infrastructure: AzureResourceInfrastructure): void
  ```
- [clearName](/reference/api/typescript/aspire.hosting.azure.provisioning.containerservice/containerservicemaintenanceconfigurationproxy/clearname.md) -- `method` -- Clears the Name provisioning property.
    ```typescript
  clearName(): void
  ```
