# ProbeResourceProxy

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

## Definition

```typescript
interface ProbeResourceProxy {
  readonly eTag: BicepValueProxy;
  readonly id: BicepValueProxy;
  readonly intervalInSeconds: BicepValueProxy | number;
  readonly loadBalancingRules: Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfWritableSubResourceProxy;
  name: BicepValueProxy | string;
  readonly noHealthyBackendsBehavior: BicepValueProxy | ProbeNoHealthyBackendsBehavior;
  readonly numberOfProbes: BicepValueProxy | number;
  parent: LoadBalancerProxy;
  readonly port: BicepValueProxy | number;
  readonly probeThreshold: BicepValueProxy | number;
  readonly protocol: BicepValueProxy | ProbeProtocol;
  readonly provisioningState: BicepValueProxy | NetworkProvisioningState;
  readonly requestPath: BicepValueProxy | string;
  addTo(infrastructure: AzureResourceInfrastructure): void;
  clearName(): void;
}
```

## Properties

- `eTag`: `BicepValueProxy` `get` -- Gets the ETag provisioning property.
- `id`: `BicepValueProxy` `get` -- Gets the Id provisioning property.
- `intervalInSeconds`: `BicepValueProxy | number` `get` -- Gets the IntervalInSeconds provisioning property.
- `loadBalancingRules`: [Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfWritableSubResourceProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.network/aspire-hosting-azure-provisioning-network-generated-listofwritablesubresourceproxy.md) `get` -- Gets the LoadBalancingRules provisioning property.
- `name`: `BicepValueProxy | string` `get - set` -- Gets or sets the Name provisioning property.
- `noHealthyBackendsBehavior`: `BicepValueProxy | ProbeNoHealthyBackendsBehavior` `get` -- Gets the NoHealthyBackendsBehavior provisioning property.
- `numberOfProbes`: `BicepValueProxy | number` `get` -- Gets the NumberOfProbes provisioning property.
- `parent`: [LoadBalancerProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.network/loadbalancerproxy.md) `get - set` -- Gets or sets the Parent provisioning property.
- `port`: `BicepValueProxy | number` `get` -- Gets the Port provisioning property.
- `probeThreshold`: `BicepValueProxy | number` `get` -- Gets the ProbeThreshold provisioning property.
- `protocol`: `BicepValueProxy | ProbeProtocol` `get` -- Gets the Protocol provisioning property.
- `provisioningState`: `BicepValueProxy | NetworkProvisioningState` `get` -- Gets the ProvisioningState provisioning property.
- `requestPath`: `BicepValueProxy | string` `get` -- Gets the RequestPath provisioning property.

## Methods

- [addTo](/reference/api/typescript/aspire.hosting.azure.provisioning.network/proberesourceproxy/addto.md) -- `method` -- Adds this provisioning resource to the Azure resource infrastructure.
    ```typescript
  addTo(infrastructure: AzureResourceInfrastructure): void
  ```
- [clearName](/reference/api/typescript/aspire.hosting.azure.provisioning.network/proberesourceproxy/clearname.md) -- `method` -- Clears the Name provisioning property.
    ```typescript
  clearName(): void
  ```
