# VirtualApplicationProxy

- 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 VirtualApplication Azure Provisioning model.

## Definition

```typescript
interface VirtualApplicationProxy {
  isPreloadEnabled: BicepValueProxy | boolean;
  physicalPath: BicepValueProxy | string;
  virtualDirectories: Aspire_Hosting_Azure_Provisioning_AppService_Generated_ListOfVirtualDirectoryProxy;
  virtualPath: BicepValueProxy | string;
  clearIsPreloadEnabled(): void;
  clearPhysicalPath(): void;
  clearVirtualPath(): void;
}
```

## Properties

- `isPreloadEnabled`: `BicepValueProxy | boolean` `get - set` -- Gets or sets the IsPreloadEnabled provisioning property.
- `physicalPath`: `BicepValueProxy | string` `get - set` -- Gets or sets the PhysicalPath provisioning property.
- `virtualDirectories`: [Aspire_Hosting_Azure_Provisioning_AppService_Generated_ListOfVirtualDirectoryProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/aspire-hosting-azure-provisioning-appservice-generated-listofvirtualdirectoryproxy.md) `get - set` -- Gets or sets the VirtualDirectories provisioning property.
- `virtualPath`: `BicepValueProxy | string` `get - set` -- Gets or sets the VirtualPath provisioning property.

## Methods

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