Skip to content
Docs Try Aspire
Docs Try

AzureNatGatewayResource.withPublicIPAddress

Method
📦 Aspire.Hosting.Azure.Network v13.4.0
interface AzureNatGatewayResource {
// ... omitted for brevity
withPublicIPAddress(publicIPAddress: AzurePublicIPAddressResource): AzureNatGatewayResource;
}

Signature

method withPublicIPAddress builder
Associates an explicit Public IP Address resource with the NAT Gateway.
withPublicIPAddress(publicIPAddress: AzurePublicIPAddressResource): AzureNatGatewayResource
publicIPAddress AzurePublicIPAddressResource
AzureNatGatewayResource

Defined on

This method is defined on the following type: