# PrivateDnsZoneProxy

- Module: [Aspire.Hosting.Azure.Provisioning.PrivateDns](/reference/api/typescript/aspire.hosting.azure.provisioning.privatedns.md)
- Version: `13.6.0-preview.1.26478.8`
- Kind: `handle`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/f4c27f2d43ddc1cacd0dd083b30d1fea1cee7a62)

Represents the PrivateDnsZone Azure Provisioning model.

## Definition

```typescript
interface PrivateDnsZoneProxy {
  eTag: BicepValueProxy;
  readonly id: BicepValueProxy;
  readonly internalId: BicepValueProxy | string;
  location: BicepValueProxy;
  readonly maxNumberOfRecords: BicepValueProxy | number;
  readonly maxNumberOfVirtualNetworkLinks: BicepValueProxy | number;
  readonly maxNumberOfVirtualNetworkLinksWithRegistration: BicepValueProxy | number;
  name: BicepValueProxy | string;
  readonly numberOfRecords: BicepValueProxy | number;
  readonly numberOfVirtualNetworkLinks: BicepValueProxy | number;
  readonly numberOfVirtualNetworkLinksWithRegistration: BicepValueProxy | number;
  readonly privateDnsProvisioningState: BicepValueProxy | PrivateDnsProvisioningState;
  readonly systemData: PrivateDnsSystemDataProxy;
  tags: Aspire_Hosting_Azure_Provisioning_PrivateDns_Generated_DictionaryOfStringProxy;
  addTo(infrastructure: AzureResourceInfrastructure): void;
  clearETag(): void;
  clearLocation(): void;
  clearName(): void;
}
```

## Properties

- `eTag`: `BicepValueProxy` `get - set` -- Gets or sets the ETag provisioning property.
- `id`: `BicepValueProxy` `get` -- Gets the Id provisioning property.
- `internalId`: `BicepValueProxy | string` `get` -- Gets the InternalId provisioning property.
- `location`: `BicepValueProxy` `get - set` -- Gets or sets the Location provisioning property.
- `maxNumberOfRecords`: `BicepValueProxy | number` `get` -- Gets the MaxNumberOfRecords provisioning property.
- `maxNumberOfVirtualNetworkLinks`: `BicepValueProxy | number` `get` -- Gets the MaxNumberOfVirtualNetworkLinks provisioning property.
- `maxNumberOfVirtualNetworkLinksWithRegistration`: `BicepValueProxy | number` `get` -- Gets the MaxNumberOfVirtualNetworkLinksWithRegistration provisioning property.
- `name`: `BicepValueProxy | string` `get - set` -- Gets or sets the Name provisioning property.
- `numberOfRecords`: `BicepValueProxy | number` `get` -- Gets the NumberOfRecords provisioning property.
- `numberOfVirtualNetworkLinks`: `BicepValueProxy | number` `get` -- Gets the NumberOfVirtualNetworkLinks provisioning property.
- `numberOfVirtualNetworkLinksWithRegistration`: `BicepValueProxy | number` `get` -- Gets the NumberOfVirtualNetworkLinksWithRegistration provisioning property.
- `privateDnsProvisioningState`: `BicepValueProxy | PrivateDnsProvisioningState` `get` -- Gets the PrivateDnsProvisioningState provisioning property.
- `systemData`: [PrivateDnsSystemDataProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.privatedns/privatednssystemdataproxy.md) `get` -- Gets the SystemData provisioning property.
- `tags`: [Aspire_Hosting_Azure_Provisioning_PrivateDns_Generated_DictionaryOfStringProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.privatedns/aspire-hosting-azure-provisioning-privatedns-generated-dictionaryofstringproxy.md) `get - set` -- Gets or sets the Tags provisioning property.

## Methods

- [addTo](/reference/api/typescript/aspire.hosting.azure.provisioning.privatedns/privatednszoneproxy/addto.md) -- `method` -- Adds this provisioning resource to the Azure resource infrastructure.
    ```typescript
  addTo(infrastructure: AzureResourceInfrastructure): void
  ```
- [clearETag](/reference/api/typescript/aspire.hosting.azure.provisioning.privatedns/privatednszoneproxy/clearetag.md) -- `method` -- Clears the ETag provisioning property.
    ```typescript
  clearETag(): void
  ```
- [clearLocation](/reference/api/typescript/aspire.hosting.azure.provisioning.privatedns/privatednszoneproxy/clearlocation.md) -- `method` -- Clears the Location provisioning property.
    ```typescript
  clearLocation(): void
  ```
- [clearName](/reference/api/typescript/aspire.hosting.azure.provisioning.privatedns/privatednszoneproxy/clearname.md) -- `method` -- Clears the Name provisioning property.
    ```typescript
  clearName(): void
  ```
