# VirtualNetworkGatewayMigrationStatusProxy

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