# PrivateDnsSrvRecordProxy

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

## Definition

```typescript
interface PrivateDnsSrvRecordProxy {
  eTag: BicepValueProxy;
  readonly id: BicepValueProxy;
  metadata: Aspire_Hosting_Azure_Provisioning_PrivateDns_Generated_DictionaryOfStringProxy;
  name: BicepValueProxy | string;
  parent: PrivateDnsZoneProxy;
  privateDnsSrvRecords: Aspire_Hosting_Azure_Provisioning_PrivateDns_Generated_ListOfPrivateDnsSrvRecordInfoProxy;
  readonly systemData: PrivateDnsSystemDataProxy;
  ttlInSeconds: BicepValueProxy | number;
  addTo(infrastructure: AzureResourceInfrastructure): void;
  clearETag(): void;
  clearName(): void;
  clearTtlInSeconds(): void;
}
```

## Properties

- `eTag`: `BicepValueProxy` `get - set` -- Gets or sets the ETag provisioning property.
- `id`: `BicepValueProxy` `get` -- Gets the Id provisioning property.
- `metadata`: [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 Metadata provisioning property.
- `name`: `BicepValueProxy | string` `get - set` -- Gets or sets the Name provisioning property.
- `parent`: [PrivateDnsZoneProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.privatedns/privatednszoneproxy.md) `get - set` -- Gets or sets the Parent provisioning property.
- `privateDnsSrvRecords`: [Aspire_Hosting_Azure_Provisioning_PrivateDns_Generated_ListOfPrivateDnsSrvRecordInfoProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.privatedns/aspire-hosting-azure-provisioning-privatedns-generated-listofprivatednssrvrecordinfoproxy.md) `get - set` -- Gets or sets the PrivateDnsSrvRecords provisioning property.
- `systemData`: [PrivateDnsSystemDataProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.privatedns/privatednssystemdataproxy.md) `get` -- Gets the SystemData provisioning property.
- `ttlInSeconds`: `BicepValueProxy | number` `get - set` -- Gets or sets the TtlInSeconds provisioning property.

## Methods

- [addTo](/reference/api/typescript/aspire.hosting.azure.provisioning.privatedns/privatednssrvrecordproxy/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/privatednssrvrecordproxy/clearetag.md) -- `method` -- Clears the ETag provisioning property.
    ```typescript
  clearETag(): void
  ```
- [clearName](/reference/api/typescript/aspire.hosting.azure.provisioning.privatedns/privatednssrvrecordproxy/clearname.md) -- `method` -- Clears the Name provisioning property.
    ```typescript
  clearName(): void
  ```
- [clearTtlInSeconds](/reference/api/typescript/aspire.hosting.azure.provisioning.privatedns/privatednssrvrecordproxy/clearttlinseconds.md) -- `method` -- Clears the TtlInSeconds provisioning property.
    ```typescript
  clearTtlInSeconds(): void
  ```
