# HubIPConfigurationProxy

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

## Definition

```typescript
interface HubIPConfigurationProxy {
  readonly eTag: BicepValueProxy;
  readonly id: BicepValueProxy;
  name: BicepValueProxy | string;
  parent: VirtualHubProxy;
  privateIPAddress: BicepValueProxy | string;
  privateIPAllocationMethod: BicepValueProxy | NetworkIPAllocationMethod;
  readonly provisioningState: BicepValueProxy | NetworkProvisioningState;
  publicIPAddress: PublicIPAddressProxy;
  subnet: SubnetResourceProxy;
  addTo(infrastructure: AzureResourceInfrastructure): void;
  clearName(): void;
  clearPrivateIPAddress(): void;
  clearPrivateIPAllocationMethod(): void;
}
```

## Properties

- `eTag`: `BicepValueProxy` `get` -- Gets the ETag provisioning property.
- `id`: `BicepValueProxy` `get` -- Gets the Id provisioning property.
- `name`: `BicepValueProxy | string` `get - set` -- Gets or sets the Name provisioning property.
- `parent`: [VirtualHubProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.network/virtualhubproxy.md) `get - set` -- Gets or sets the Parent provisioning property.
- `privateIPAddress`: `BicepValueProxy | string` `get - set` -- Gets or sets the PrivateIPAddress provisioning property.
- `privateIPAllocationMethod`: `BicepValueProxy | NetworkIPAllocationMethod` `get - set` -- Gets or sets the PrivateIPAllocationMethod provisioning property.
- `provisioningState`: `BicepValueProxy | NetworkProvisioningState` `get` -- Gets the ProvisioningState provisioning property.
- `publicIPAddress`: [PublicIPAddressProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.network/publicipaddressproxy.md) `get - set` -- Gets or sets the PublicIPAddress provisioning property.
- `subnet`: [SubnetResourceProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.network/subnetresourceproxy.md) `get - set` -- Gets or sets the Subnet provisioning property.

## Methods

- [addTo](/reference/api/typescript/aspire.hosting.azure.provisioning.network/hubipconfigurationproxy/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/hubipconfigurationproxy/clearname.md) -- `method` -- Clears the Name provisioning property.
    ```typescript
  clearName(): void
  ```
- [clearPrivateIPAddress](/reference/api/typescript/aspire.hosting.azure.provisioning.network/hubipconfigurationproxy/clearprivateipaddress.md) -- `method` -- Clears the PrivateIPAddress provisioning property.
    ```typescript
  clearPrivateIPAddress(): void
  ```
- [clearPrivateIPAllocationMethod](/reference/api/typescript/aspire.hosting.azure.provisioning.network/hubipconfigurationproxy/clearprivateipallocationmethod.md) -- `method` -- Clears the PrivateIPAllocationMethod provisioning property.
    ```typescript
  clearPrivateIPAllocationMethod(): void
  ```
