# PrivateDnsZoneConfigProxy

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

## Definition

```typescript
interface PrivateDnsZoneConfigProxy {
  name: BicepValueProxy | string;
  privateDnsZoneId: BicepValueProxy | string;
  readonly recordSets: Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfRecordSetProxy;
  clearName(): void;
  clearPrivateDnsZoneId(): void;
}
```

## Properties

- `name`: `BicepValueProxy | string` `get - set` -- Gets or sets the Name provisioning property.
- `privateDnsZoneId`: `BicepValueProxy | string` `get - set` -- Gets or sets the PrivateDnsZoneId provisioning property.
- `recordSets`: [Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfRecordSetProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.network/aspire-hosting-azure-provisioning-network-generated-listofrecordsetproxy.md) `get` -- Gets the RecordSets provisioning property.

## Methods

- [clearName](/reference/api/typescript/aspire.hosting.azure.provisioning.network/privatednszoneconfigproxy/clearname.md) -- `method` -- Clears the Name provisioning property.
    ```typescript
  clearName(): void
  ```
- [clearPrivateDnsZoneId](/reference/api/typescript/aspire.hosting.azure.provisioning.network/privatednszoneconfigproxy/clearprivatednszoneid.md) -- `method` -- Clears the PrivateDnsZoneId provisioning property.
    ```typescript
  clearPrivateDnsZoneId(): void
  ```
