Watch Aspire live streamsDocsTry Aspire

getPrivateDnsCnameRecordByIdentifier

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

Signature

methodgetPrivateDnsCnameRecordByIdentifier
Gets a PrivateDnsCnameRecord provisioning resource by its Bicep identifier.
getPrivateDnsCnameRecordByIdentifier(bicepIdentifier: string): PrivateDnsCnameRecordProxy
bicepIdentifierstring
PrivateDnsCnameRecordProxy

Applies to

This method applies to the following types: