# RedisPatchScheduleProxy.addTo

- Module: [Aspire.Hosting.Azure.Provisioning.Redis](/reference/api/typescript/aspire.hosting.azure.provisioning.redis.md)
- Defined on: [RedisPatchScheduleProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.redis/redispatchscheduleproxy.md)
- Version: `13.6.0-preview.1.26478.8`
- Kind: `method`

Adds this provisioning resource to the Azure resource infrastructure.

## Definition

```typescript
interface RedisPatchScheduleProxy {
  // ... omitted for brevity
  addTo(infrastructure: AzureResourceInfrastructure): void;
}
```

## Signature

```typescript
addTo(infrastructure: AzureResourceInfrastructure): void
```

## Parameters

- `infrastructure` (`AzureResourceInfrastructure`)

## Defined on

- [RedisPatchScheduleProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.redis/redispatchscheduleproxy.md) -- `handle`
