Skip to content
DocsTry Aspire
DocsTry

AzureNatGatewayResource.withPublicIPAddress

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

Signature

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

Defined on

This method is defined on the following type: