# VirtualDirectoryProxy

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

Represents the VirtualDirectory Azure Provisioning model.

## Definition

```typescript
interface VirtualDirectoryProxy {
  physicalPath: BicepValueProxy | string;
  virtualPath: BicepValueProxy | string;
  clearPhysicalPath(): void;
  clearVirtualPath(): void;
}
```

## Properties

- `physicalPath`: `BicepValueProxy | string` `get - set` -- Gets or sets the PhysicalPath provisioning property.
- `virtualPath`: `BicepValueProxy | string` `get - set` -- Gets or sets the VirtualPath provisioning property.

## Methods

- [clearPhysicalPath](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/virtualdirectoryproxy/clearphysicalpath.md) -- `method` -- Clears the PhysicalPath provisioning property.
    ```typescript
  clearPhysicalPath(): void
  ```
- [clearVirtualPath](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/virtualdirectoryproxy/clearvirtualpath.md) -- `method` -- Clears the VirtualPath provisioning property.
    ```typescript
  clearVirtualPath(): void
  ```
