# VirtualDirectoryProxy

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

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
  ```
