AzureSubnetResource.withNatGateway

Method
📦 Aspire.Hosting.Azure.Network v17.0.0
interface AzureSubnetResource {
// ... omitted for brevity
withNatGateway(natGateway: AzureNatGatewayResource): AzureSubnetResource;
}

Signature

methodwithNatGatewaybuilder
Associates a NAT Gateway with the subnet.
withNatGateway(natGateway: AzureNatGatewayResource): AzureSubnetResource
natGatewayAzureNatGatewayResourceThe NAT Gateway to associate with the subnet.
AzureSubnetResource

Defined on

This method is defined on the following type: