Skip to content
DocsTry Aspire
DocsTry

addNatGateway

Method
📦 Aspire.Hosting.Azure.Network v13.4.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: