# UriRewriteActionPropertiesProxy

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

Represents the UriRewriteActionProperties Azure Provisioning model.

## Definition

```typescript
interface UriRewriteActionPropertiesProxy {
  destination: BicepValueProxy | string;
  preserveUnmatchedPath: BicepValueProxy | boolean;
  sourcePattern: BicepValueProxy | string;
  clearDestination(): void;
  clearPreserveUnmatchedPath(): void;
  clearSourcePattern(): void;
}
```

## Properties

- `destination`: `BicepValueProxy | string` `get - set` -- Gets or sets the Destination provisioning property.
- `preserveUnmatchedPath`: `BicepValueProxy | boolean` `get - set` -- Gets or sets the PreserveUnmatchedPath provisioning property.
- `sourcePattern`: `BicepValueProxy | string` `get - set` -- Gets or sets the SourcePattern provisioning property.

## Methods

- [clearDestination](/reference/api/typescript/aspire.hosting.azure.provisioning.cdn/urirewriteactionpropertiesproxy/cleardestination.md) -- `method` -- Clears the Destination provisioning property.
    ```typescript
  clearDestination(): void
  ```
- [clearPreserveUnmatchedPath](/reference/api/typescript/aspire.hosting.azure.provisioning.cdn/urirewriteactionpropertiesproxy/clearpreserveunmatchedpath.md) -- `method` -- Clears the PreserveUnmatchedPath provisioning property.
    ```typescript
  clearPreserveUnmatchedPath(): void
  ```
- [clearSourcePattern](/reference/api/typescript/aspire.hosting.azure.provisioning.cdn/urirewriteactionpropertiesproxy/clearsourcepattern.md) -- `method` -- Clears the SourcePattern provisioning property.
    ```typescript
  clearSourcePattern(): void
  ```
