Watch Aspire live streamsDocsTry Aspire

getPrivateDnsTxtRecordByIdentifier

Method
📦 Aspire.Hosting.Azure.Provisioning.PrivateDns v13.6.0-preview.1.26478.8
interface AzureResourceInfrastructure {
// ... omitted for brevity
getPrivateDnsTxtRecordByIdentifier(bicepIdentifier: string): PrivateDnsTxtRecordProxy;
}

Signature

methodgetPrivateDnsTxtRecordByIdentifier
Gets a PrivateDnsTxtRecord provisioning resource by its Bicep identifier.
getPrivateDnsTxtRecordByIdentifier(bicepIdentifier: string): PrivateDnsTxtRecordProxy
bicepIdentifierstring
PrivateDnsTxtRecordProxy

Applies to

This method applies to the following types: