AzureNatGatewayExtensions
Classstaticnet10.0
Provides extension methods for adding Azure NAT Gateway resources to the application model.
namespace Aspire.Hosting;
public static class AzureNatGatewayExtensions{ // ...}Methods2
Section titled MethodsIResourceBuilder<AzureNatGatewayResource> Adds an Azure NAT Gateway resource to the application model.
WithPublicIPAddress(IResourceBuilder<AzureNatGatewayResource>, IResourceBuilder<AzurePublicIPAddressResource>) extensionats exportIResourceBuilder<AzureNatGatewayResource> Associates an explicit Public IP Address resource with the NAT Gateway.