# PublicIPAddressProxy

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

## Definition

```typescript
interface PublicIPAddressProxy {
  ddosSettings: DdosSettingsProxy;
  deleteOption: BicepValueProxy | IPAddressDeleteOption;
  dnsSettings: PublicIPAddressDnsSettingsProxy;
  readonly eTag: BicepValueProxy;
  extendedLocation: NetworkExtendedAzureLocationProxy;
  id: BicepValueProxy;
  idleTimeoutInMinutes: BicepValueProxy | number;
  iPAddress: BicepValueProxy | string;
  readonly iPConfiguration: NetworkIPConfigurationProxy;
  iPTags: Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfIPTagProxy;
  linkedPublicIPAddress: PublicIPAddressProxy;
  location: BicepValueProxy;
  migrationPhase: BicepValueProxy | PublicIPAddressMigrationPhase;
  name: BicepValueProxy | string;
  natGateway: NatGatewayProxy;
  readonly provisioningState: BicepValueProxy | NetworkProvisioningState;
  publicIPAddressVersion: BicepValueProxy | NetworkIPVersion;
  publicIPAllocationMethod: BicepValueProxy | NetworkIPAllocationMethod;
  publicIPPrefixId: BicepValueProxy;
  readonly resourceGuid: BicepValueProxy | guid;
  servicePublicIPAddress: PublicIPAddressProxy;
  sku: PublicIPAddressSkuProxy;
  tags: Aspire_Hosting_Azure_Provisioning_Network_Generated_DictionaryOfStringProxy;
  zones: Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfStringProxy;
  addTo(infrastructure: AzureResourceInfrastructure): void;
  clearDeleteOption(): void;
  clearId(): void;
  clearIdleTimeoutInMinutes(): void;
  clearIPAddress(): void;
  clearLocation(): void;
  clearMigrationPhase(): void;
  clearName(): void;
  clearPublicIPAddressVersion(): void;
  clearPublicIPAllocationMethod(): void;
  clearPublicIPPrefixId(): void;
}
```

## Properties

- `ddosSettings`: [DdosSettingsProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.network/ddossettingsproxy.md) `get - set` -- Gets or sets the DdosSettings provisioning property.
- `deleteOption`: `BicepValueProxy | IPAddressDeleteOption` `get - set` -- Gets or sets the DeleteOption provisioning property.
- `dnsSettings`: [PublicIPAddressDnsSettingsProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.network/publicipaddressdnssettingsproxy.md) `get - set` -- Gets or sets the DnsSettings provisioning property.
- `eTag`: `BicepValueProxy` `get` -- Gets the ETag provisioning property.
- `extendedLocation`: [NetworkExtendedAzureLocationProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.network/networkextendedazurelocationproxy.md) `get - set` -- Gets or sets the ExtendedLocation provisioning property.
- `id`: `BicepValueProxy` `get - set` -- Gets or sets the Id provisioning property.
- `idleTimeoutInMinutes`: `BicepValueProxy | number` `get - set` -- Gets or sets the IdleTimeoutInMinutes provisioning property.
- `iPAddress`: `BicepValueProxy | string` `get - set` -- Gets or sets the IPAddress provisioning property.
- `iPConfiguration`: [NetworkIPConfigurationProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.network/networkipconfigurationproxy.md) `get` -- Gets the IPConfiguration provisioning property.
- `iPTags`: [Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfIPTagProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.network/aspire-hosting-azure-provisioning-network-generated-listofiptagproxy.md) `get - set` -- Gets or sets the IPTags provisioning property.
- `linkedPublicIPAddress`: [PublicIPAddressProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.network/publicipaddressproxy.md) `get - set` -- Gets or sets the LinkedPublicIPAddress provisioning property.
- `location`: `BicepValueProxy` `get - set` -- Gets or sets the Location provisioning property.
- `migrationPhase`: `BicepValueProxy | PublicIPAddressMigrationPhase` `get - set` -- Gets or sets the MigrationPhase provisioning property.
- `name`: `BicepValueProxy | string` `get - set` -- Gets or sets the Name provisioning property.
- `natGateway`: [NatGatewayProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.network/natgatewayproxy.md) `get - set` -- Gets or sets the NatGateway provisioning property.
- `provisioningState`: `BicepValueProxy | NetworkProvisioningState` `get` -- Gets the ProvisioningState provisioning property.
- `publicIPAddressVersion`: `BicepValueProxy | NetworkIPVersion` `get - set` -- Gets or sets the PublicIPAddressVersion provisioning property.
- `publicIPAllocationMethod`: `BicepValueProxy | NetworkIPAllocationMethod` `get - set` -- Gets or sets the PublicIPAllocationMethod provisioning property.
- `publicIPPrefixId`: `BicepValueProxy` `get - set` -- Gets or sets the PublicIPPrefixId provisioning property.
- `resourceGuid`: `BicepValueProxy | guid` `get` -- Gets the ResourceGuid provisioning property.
- `servicePublicIPAddress`: [PublicIPAddressProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.network/publicipaddressproxy.md) `get - set` -- Gets or sets the ServicePublicIPAddress provisioning property.
- `sku`: [PublicIPAddressSkuProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.network/publicipaddressskuproxy.md) `get - set` -- Gets or sets the Sku 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.
- `zones`: [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 Zones provisioning property.

## Methods

- [addTo](/reference/api/typescript/aspire.hosting.azure.provisioning.network/publicipaddressproxy/addto.md) -- `method` -- Adds this provisioning resource to the Azure resource infrastructure.
    ```typescript
  addTo(infrastructure: AzureResourceInfrastructure): void
  ```
- [clearDeleteOption](/reference/api/typescript/aspire.hosting.azure.provisioning.network/publicipaddressproxy/cleardeleteoption.md) -- `method` -- Clears the DeleteOption provisioning property.
    ```typescript
  clearDeleteOption(): void
  ```
- [clearId](/reference/api/typescript/aspire.hosting.azure.provisioning.network/publicipaddressproxy/clearid.md) -- `method` -- Clears the Id provisioning property.
    ```typescript
  clearId(): void
  ```
- [clearIdleTimeoutInMinutes](/reference/api/typescript/aspire.hosting.azure.provisioning.network/publicipaddressproxy/clearidletimeoutinminutes.md) -- `method` -- Clears the IdleTimeoutInMinutes provisioning property.
    ```typescript
  clearIdleTimeoutInMinutes(): void
  ```
- [clearIPAddress](/reference/api/typescript/aspire.hosting.azure.provisioning.network/publicipaddressproxy/clearipaddress.md) -- `method` -- Clears the IPAddress provisioning property.
    ```typescript
  clearIPAddress(): void
  ```
- [clearLocation](/reference/api/typescript/aspire.hosting.azure.provisioning.network/publicipaddressproxy/clearlocation.md) -- `method` -- Clears the Location provisioning property.
    ```typescript
  clearLocation(): void
  ```
- [clearMigrationPhase](/reference/api/typescript/aspire.hosting.azure.provisioning.network/publicipaddressproxy/clearmigrationphase.md) -- `method` -- Clears the MigrationPhase provisioning property.
    ```typescript
  clearMigrationPhase(): void
  ```
- [clearName](/reference/api/typescript/aspire.hosting.azure.provisioning.network/publicipaddressproxy/clearname.md) -- `method` -- Clears the Name provisioning property.
    ```typescript
  clearName(): void
  ```
- [clearPublicIPAddressVersion](/reference/api/typescript/aspire.hosting.azure.provisioning.network/publicipaddressproxy/clearpublicipaddressversion.md) -- `method` -- Clears the PublicIPAddressVersion provisioning property.
    ```typescript
  clearPublicIPAddressVersion(): void
  ```
- [clearPublicIPAllocationMethod](/reference/api/typescript/aspire.hosting.azure.provisioning.network/publicipaddressproxy/clearpublicipallocationmethod.md) -- `method` -- Clears the PublicIPAllocationMethod provisioning property.
    ```typescript
  clearPublicIPAllocationMethod(): void
  ```
- [clearPublicIPPrefixId](/reference/api/typescript/aspire.hosting.azure.provisioning.network/publicipaddressproxy/clearpublicipprefixid.md) -- `method` -- Clears the PublicIPPrefixId provisioning property.
    ```typescript
  clearPublicIPPrefixId(): void
  ```
