Skip to content
Docs Try Aspire

AzurePrivateEndpointResource Constructors

Class Constructors 1 member
Represents an Azure Private Endpoint resource.
Constructor(string, AzureSubnetResource, IAzurePrivateEndpointTarget, Action<AzureResourceInfrastructure>) Section titled Constructor(string, AzureSubnetResource, IAzurePrivateEndpointTarget, Action<AzureResourceInfrastructure>)
Represents an Azure Private Endpoint resource.
public class AzurePrivateEndpointResource
{
public AzurePrivateEndpointResource(
string name,
AzureSubnetResource subnet,
IAzurePrivateEndpointTarget target,
Action<AzureResourceInfrastructure> configureInfrastructure)
{
// ...
}
}
name string The name of the resource.
subnet AzureSubnetResource The subnet where the private endpoint will be created.
target IAzurePrivateEndpointTarget The target Azure resource to connect via private link.
configureInfrastructure Action<AzureResourceInfrastructure> Callback to configure the Azure Private Endpoint resource.