Skip to content
Docs Try Aspire

AzureNatGatewayResource.withPublicIPAddress

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

Signature

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

Defined on

This method is defined on the following type: