AzureSubnetResource.WithNatGateway

Method
📦 Aspire.Hosting.Azure.Network v17.0.0
type AzureSubnetResource interface {
// ... 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

The resource builder.

Returns a handle; failures surface later via Err().

Defined on

This method is defined on the following type: