# InboundSecurityRulesProxy

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

## Definition

```typescript
interface InboundSecurityRulesProxy {
  appliesOn: Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfStringProxy;
  destinationPortRange: BicepValueProxy | number;
  destinationPortRanges: Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfStringProxy;
  name: BicepValueProxy | string;
  protocol: BicepValueProxy | InboundSecurityRulesProtocol;
  sourceAddressPrefix: BicepValueProxy | string;
  clearDestinationPortRange(): void;
  clearName(): void;
  clearProtocol(): void;
  clearSourceAddressPrefix(): void;
}
```

## Properties

- `appliesOn`: [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 AppliesOn provisioning property.
- `destinationPortRange`: `BicepValueProxy | number` `get - set` -- Gets or sets the DestinationPortRange provisioning property.
- `destinationPortRanges`: [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 DestinationPortRanges provisioning property.
- `name`: `BicepValueProxy | string` `get - set` -- Gets or sets the Name provisioning property.
- `protocol`: `BicepValueProxy | InboundSecurityRulesProtocol` `get - set` -- Gets or sets the Protocol provisioning property.
- `sourceAddressPrefix`: `BicepValueProxy | string` `get - set` -- Gets or sets the SourceAddressPrefix provisioning property.

## Methods

- [clearDestinationPortRange](/reference/api/typescript/aspire.hosting.azure.provisioning.network/inboundsecurityrulesproxy/cleardestinationportrange.md) -- `method` -- Clears the DestinationPortRange provisioning property.
    ```typescript
  clearDestinationPortRange(): void
  ```
- [clearName](/reference/api/typescript/aspire.hosting.azure.provisioning.network/inboundsecurityrulesproxy/clearname.md) -- `method` -- Clears the Name provisioning property.
    ```typescript
  clearName(): void
  ```
- [clearProtocol](/reference/api/typescript/aspire.hosting.azure.provisioning.network/inboundsecurityrulesproxy/clearprotocol.md) -- `method` -- Clears the Protocol provisioning property.
    ```typescript
  clearProtocol(): void
  ```
- [clearSourceAddressPrefix](/reference/api/typescript/aspire.hosting.azure.provisioning.network/inboundsecurityrulesproxy/clearsourceaddressprefix.md) -- `method` -- Clears the SourceAddressPrefix provisioning property.
    ```typescript
  clearSourceAddressPrefix(): void
  ```
