Skip to content
Docs Try Aspire

AzureNatGatewayResource Constructors

Class Constructors 1 member
Represents an Azure NAT Gateway resource.
Constructor(string, Action<AzureResourceInfrastructure>) Section titled Constructor(string, Action<AzureResourceInfrastructure>)
Represents an Azure NAT Gateway resource.
public class AzureNatGatewayResource
{
public AzureNatGatewayResource(
string name,
Action<AzureResourceInfrastructure> configureInfrastructure)
{
// ...
}
}
name string The name of the resource.
configureInfrastructure Action<AzureResourceInfrastructure> Callback to configure the Azure NAT Gateway resource.
A NAT Gateway provides outbound internet connectivity for resources in a virtual network subnet. Use AzureProvisioningResourceExtensions.ConfigureInfrastructure to configure specific Azure.Provisioning properties.