# VirtualHubRouteV2Proxy

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

Represents the VirtualHubRouteV2 Azure Provisioning model.

## Definition

```typescript
interface VirtualHubRouteV2Proxy {
  destinations: Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfStringProxy;
  destinationType: BicepValueProxy | string;
  nextHops: Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfStringProxy;
  nextHopType: BicepValueProxy | string;
  clearDestinationType(): void;
  clearNextHopType(): void;
}
```

## Properties

- `destinations`: [Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfStringProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.network/aspire-hosting-azure-provisioning-network-generated-listofstringproxy.md) `get - set` -- Gets or sets the Destinations provisioning property.
- `destinationType`: `BicepValueProxy | string` `get - set` -- Gets or sets the DestinationType provisioning property.
- `nextHops`: [Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfStringProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.network/aspire-hosting-azure-provisioning-network-generated-listofstringproxy.md) `get - set` -- Gets or sets the NextHops provisioning property.
- `nextHopType`: `BicepValueProxy | string` `get - set` -- Gets or sets the NextHopType provisioning property.

## Methods

- [clearDestinationType](/reference/api/typescript/aspire.hosting.azure.provisioning.network/virtualhubroutev2proxy/cleardestinationtype.md) -- `method` -- Clears the DestinationType provisioning property.
    ```typescript
  clearDestinationType(): void
  ```
- [clearNextHopType](/reference/api/typescript/aspire.hosting.azure.provisioning.network/virtualhubroutev2proxy/clearnexthoptype.md) -- `method` -- Clears the NextHopType provisioning property.
    ```typescript
  clearNextHopType(): void
  ```
