Watch Aspire live streamsDocsTry Aspire

addNatGateway

Method
📦 Aspire.Hosting.Azure.Network v13.6.0
interface IDistributedApplicationBuilder {
// ... omitted for brevity
addNatGateway(name: string): AzureNatGatewayResource;
}

Signature

methodaddNatGatewaybuilder
Adds an Azure NAT Gateway resource to the application model.
addNatGateway(name: string): AzureNatGatewayResource
namestring
AzureNatGatewayResource

Applies to

This method applies to the following types: