addPrivateDnsZone

Method
📦 Aspire.Hosting.Azure.Provisioning.PrivateDns v17.0.0-preview.1.26567.5
interface AzureResourceInfrastructure {
// ... omitted for brevity
addPrivateDnsZone(
bicepIdentifier: string,
resourceVersion?: string): PrivateDnsZoneProxy;
}

Signature

methodaddPrivateDnsZone
Adds a PrivateDnsZone provisioning model.
addPrivateDnsZone(
bicepIdentifier: string,
resourceVersion?: string): PrivateDnsZoneProxy
bicepIdentifierstringThe bicepIdentifier value.
resourceVersionstringoptionalThe resourceVersion value.
PrivateDnsZoneProxy

Applies to

This method applies to the following types: