Skip to content
Docs Try Aspire

ResourceUrlAnnotation Properties

Class Properties 4 members
A URL that should be displayed for a resource.
Locations where this URL should be shown on the dashboard. Defaults to UrlDisplayLocation.SummaryAndDetails.
public UrlDisplayLocation DisplayLocation { get; set; }
DisplayText Section titled DisplayText nullable string?
The name of the URL. When rendered as a link this will be used as the linked text.
public string? DisplayText { get; set; }
The endpoint associated with this URL. Can be null if this URL is not associated with an endpoint.
public EndpointReference? Endpoint { get; init; }
The URL. When rendered as a link this will be used as the link target.
public string Url { get; set; }