Skip to content
Docs Try Aspire

PrivateEndpointTargetAnnotation

Class sealed net8.0
📦 Aspire.Hosting.Azure v13.2.0
An annotation that indicates a resource is the target of a private endpoint.
namespace Aspire.Hosting.Azure;
public sealed class PrivateEndpointTargetAnnotation
: Aspire.Hosting.ApplicationModel.IResourceAnnotation
{
// ...
}
IResourceAnnotation
When this annotation is present, the annotated resource should be configured to deny public network access.