addNatGateway

Method
📦 Aspire.Hosting.Azure.Network v17.0.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
namestringThe name of the Azure NAT Gateway resource.
AzureNatGatewayResource

Applies to

This method applies to the following types: