# ConnectionMonitorProxy

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

## Definition

```typescript
interface ConnectionMonitorProxy {
  autoStart: BicepValueProxy | boolean;
  readonly connectionMonitorType: BicepValueProxy | ConnectionMonitorType;
  destination: ConnectionMonitorDestinationProxy;
  endpoints: Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfConnectionMonitorEndpointProxy;
  readonly eTag: BicepValueProxy;
  readonly id: BicepValueProxy;
  location: BicepValueProxy;
  monitoringIntervalInSeconds: BicepValueProxy | number;
  readonly monitoringStatus: BicepValueProxy | string;
  name: BicepValueProxy | string;
  notes: BicepValueProxy | string;
  outputs: Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfConnectionMonitorOutputProxy;
  parent: NetworkWatcherProxy;
  readonly provisioningState: BicepValueProxy | NetworkProvisioningState;
  source: ConnectionMonitorSourceProxy;
  readonly startOn: BicepValueProxy | datetimeoffset;
  readonly systemData: NetworkSystemDataProxy;
  tags: Aspire_Hosting_Azure_Provisioning_Network_Generated_DictionaryOfStringProxy;
  testConfigurations: Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfConnectionMonitorTestConfigurationProxy;
  testGroups: Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfConnectionMonitorTestGroupProxy;
  addTo(infrastructure: AzureResourceInfrastructure): void;
  clearAutoStart(): void;
  clearLocation(): void;
  clearMonitoringIntervalInSeconds(): void;
  clearName(): void;
  clearNotes(): void;
}
```

## Properties

- `autoStart`: `BicepValueProxy | boolean` `get - set` -- Gets or sets the AutoStart provisioning property.
- `connectionMonitorType`: `BicepValueProxy | ConnectionMonitorType` `get` -- Gets the ConnectionMonitorType provisioning property.
- `destination`: [ConnectionMonitorDestinationProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.network/connectionmonitordestinationproxy.md) `get - set` -- Gets or sets the Destination provisioning property.
- `endpoints`: [Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfConnectionMonitorEndpointProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.network/aspire-hosting-azure-provisioning-network-generated-listofconnectionmonitorendpointproxy.md) `get - set` -- Gets or sets the Endpoints provisioning property.
- `eTag`: `BicepValueProxy` `get` -- Gets the ETag provisioning property.
- `id`: `BicepValueProxy` `get` -- Gets the Id provisioning property.
- `location`: `BicepValueProxy` `get - set` -- Gets or sets the Location provisioning property.
- `monitoringIntervalInSeconds`: `BicepValueProxy | number` `get - set` -- Gets or sets the MonitoringIntervalInSeconds provisioning property.
- `monitoringStatus`: `BicepValueProxy | string` `get` -- Gets the MonitoringStatus provisioning property.
- `name`: `BicepValueProxy | string` `get - set` -- Gets or sets the Name provisioning property.
- `notes`: `BicepValueProxy | string` `get - set` -- Gets or sets the Notes provisioning property.
- `outputs`: [Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfConnectionMonitorOutputProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.network/aspire-hosting-azure-provisioning-network-generated-listofconnectionmonitoroutputproxy.md) `get - set` -- Gets or sets the Outputs provisioning property.
- `parent`: [NetworkWatcherProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.network/networkwatcherproxy.md) `get - set` -- Gets or sets the Parent provisioning property.
- `provisioningState`: `BicepValueProxy | NetworkProvisioningState` `get` -- Gets the ProvisioningState provisioning property.
- `source`: [ConnectionMonitorSourceProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.network/connectionmonitorsourceproxy.md) `get - set` -- Gets or sets the Source provisioning property.
- `startOn`: `BicepValueProxy | datetimeoffset` `get` -- Gets the StartOn provisioning property.
- `systemData`: [NetworkSystemDataProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.network/networksystemdataproxy.md) `get` -- Gets the SystemData provisioning property.
- `tags`: [Aspire_Hosting_Azure_Provisioning_Network_Generated_DictionaryOfStringProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.network/aspire-hosting-azure-provisioning-network-generated-dictionaryofstringproxy.md) `get - set` -- Gets or sets the Tags provisioning property.
- `testConfigurations`: [Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfConnectionMonitorTestConfigurationProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.network/aspire-hosting-azure-provisioning-network-generated-listofconnectionmonitortestconfigurationproxy.md) `get - set` -- Gets or sets the TestConfigurations provisioning property.
- `testGroups`: [Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfConnectionMonitorTestGroupProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.network/aspire-hosting-azure-provisioning-network-generated-listofconnectionmonitortestgroupproxy.md) `get - set` -- Gets or sets the TestGroups provisioning property.

## Methods

- [addTo](/reference/api/typescript/aspire.hosting.azure.provisioning.network/connectionmonitorproxy/addto.md) -- `method` -- Adds this provisioning resource to the Azure resource infrastructure.
    ```typescript
  addTo(infrastructure: AzureResourceInfrastructure): void
  ```
- [clearAutoStart](/reference/api/typescript/aspire.hosting.azure.provisioning.network/connectionmonitorproxy/clearautostart.md) -- `method` -- Clears the AutoStart provisioning property.
    ```typescript
  clearAutoStart(): void
  ```
- [clearLocation](/reference/api/typescript/aspire.hosting.azure.provisioning.network/connectionmonitorproxy/clearlocation.md) -- `method` -- Clears the Location provisioning property.
    ```typescript
  clearLocation(): void
  ```
- [clearMonitoringIntervalInSeconds](/reference/api/typescript/aspire.hosting.azure.provisioning.network/connectionmonitorproxy/clearmonitoringintervalinseconds.md) -- `method` -- Clears the MonitoringIntervalInSeconds provisioning property.
    ```typescript
  clearMonitoringIntervalInSeconds(): void
  ```
- [clearName](/reference/api/typescript/aspire.hosting.azure.provisioning.network/connectionmonitorproxy/clearname.md) -- `method` -- Clears the Name provisioning property.
    ```typescript
  clearName(): void
  ```
- [clearNotes](/reference/api/typescript/aspire.hosting.azure.provisioning.network/connectionmonitorproxy/clearnotes.md) -- `method` -- Clears the Notes provisioning property.
    ```typescript
  clearNotes(): void
  ```
