# VirtualNetworkGatewayMigrationStatusProxy

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

Represents the VirtualNetworkGatewayMigrationStatus Azure Provisioning model.

## Definition

```typescript
interface VirtualNetworkGatewayMigrationStatusProxy {
  errorMessage: BicepValueProxy | string;
  phase: BicepValueProxy | VirtualNetworkGatewayMigrationPhase;
  state: BicepValueProxy | VirtualNetworkGatewayMigrationState;
  clearErrorMessage(): void;
  clearPhase(): void;
  clearState(): void;
}
```

## Properties

- `errorMessage`: `BicepValueProxy | string` `get - set` -- Gets or sets the ErrorMessage provisioning property.
- `phase`: `BicepValueProxy | VirtualNetworkGatewayMigrationPhase` `get - set` -- Gets or sets the Phase provisioning property.
- `state`: `BicepValueProxy | VirtualNetworkGatewayMigrationState` `get - set` -- Gets or sets the State provisioning property.

## Methods

- [clearErrorMessage](/reference/api/typescript/aspire.hosting.azure.provisioning.network/virtualnetworkgatewaymigrationstatusproxy/clearerrormessage.md) -- `method` -- Clears the ErrorMessage provisioning property.
    ```typescript
  clearErrorMessage(): void
  ```
- [clearPhase](/reference/api/typescript/aspire.hosting.azure.provisioning.network/virtualnetworkgatewaymigrationstatusproxy/clearphase.md) -- `method` -- Clears the Phase provisioning property.
    ```typescript
  clearPhase(): void
  ```
- [clearState](/reference/api/typescript/aspire.hosting.azure.provisioning.network/virtualnetworkgatewaymigrationstatusproxy/clearstate.md) -- `method` -- Clears the State provisioning property.
    ```typescript
  clearState(): void
  ```
