AzureNatGatewayResource.WithPublicIPAddress

Method
📦 Aspire.Hosting.Azure.Network v17.0.0
type AzureNatGatewayResource interface {
// ... omitted for brevity
WithPublicIPAddress(publicIPAddress AzurePublicIPAddressResource) AzureNatGatewayResource
}

Signature

methodWithPublicIPAddressbuilder
Associates an explicit Public IP Address resource with the NAT Gateway.
WithPublicIPAddress(publicIPAddress AzurePublicIPAddressResource) AzureNatGatewayResource
publicIPAddressAzurePublicIPAddressResourceThe Public IP Address resource to associate.
AzureNatGatewayResource

The resource builder.

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

Defined on

This method is defined on the following type: