1 interface inheriting from IResourceWithEndpoints
Aspire.Hosting (1)
26 implementations of IResourceWithEndpoints
Aspire.Hosting (3)
Aspire.Hosting.Azure.AppConfiguration (1)
Aspire.Hosting.Azure.CosmosDB (1)
Aspire.Hosting.Azure.EventHubs (1)
Aspire.Hosting.Azure.KeyVault (1)
Aspire.Hosting.Azure.Kusto (1)
Aspire.Hosting.Azure.PostgreSQL (1)
Aspire.Hosting.Azure.Redis (1)
Aspire.Hosting.Azure.ServiceBus (1)
Aspire.Hosting.Azure.SignalR (1)
Aspire.Hosting.Azure.Storage (1)
Aspire.Hosting.Foundry (1)
Aspire.Hosting.Maui (1)
Aspire.Hosting.Tests (11)
96 references to IResourceWithEndpoints
Aspire.Hosting (65)
ApplicationModel\EndpointReference.cs (5)
29public IResourceWithEndpoints Resource { get; }
233public EndpointReference(IResourceWithEndpoints owner, EndpointAnnotation endpoint, NetworkIdentifier? contextNetworkID)
249public EndpointReference(IResourceWithEndpoints owner, EndpointAnnotation endpoint): this(owner, endpoint, null)
265public EndpointReference(IResourceWithEndpoints owner, string endpointName, NetworkIdentifier? contextNetworkID = null)
280public EndpointReference(IResourceWithEndpoints owner, string endpointName): this(owner, endpointName, null)
ResourceBuilderExtensions.cs (25)
968private static void ApplyEndpoints<T>(this IResourceBuilder<T> builder, IResourceWithEndpoints resourceWithEndpoints, string? endpointName = null, string? name = null)
1039public static IResourceBuilder<T> WithEndpoint<T>(this IResourceBuilder<T> builder, [EndpointName] string endpointName, Action<EndpointAnnotation> callback, bool createIfNotExists = true) where T : IResourceWithEndpoints
1090public static IResourceBuilder<T> WithEndpoint<T>(this IResourceBuilder<T> builder, int? port = null, int? targetPort = null, string? scheme = null, [EndpointName] string? name = null, string? env = null, bool isProxied = true, bool? isExternal = null, ProtocolType? protocol = null) where T : IResourceWithEndpoints
1114if (env is not null && builder.Resource is IResourceWithEndpoints resourceWithEndpoints and IResourceWithEnvironment)
1146public static IResourceBuilder<T> WithEndpoint<T>(this IResourceBuilder<T> builder, int? port, int? targetPort, string? scheme, [EndpointName] string? name, string? env, bool isProxied, bool? isExternal) where T : IResourceWithEndpoints
1165public static IResourceBuilder<T> WithHttpEndpoint<T>(this IResourceBuilder<T> builder, int? port = null, int? targetPort = null, [EndpointName] string? name = null, string? env = null, bool isProxied = true) where T : IResourceWithEndpoints
1186public static IResourceBuilder<T> WithHttpsEndpoint<T>(this IResourceBuilder<T> builder, int? port = null, int? targetPort = null, [EndpointName] string? name = null, string? env = null, bool isProxied = true) where T : IResourceWithEndpoints
1200public static IResourceBuilder<T> WithExternalHttpEndpoints<T>(this IResourceBuilder<T> builder) where T : IResourceWithEndpoints
1231public static EndpointReference GetEndpoint<T>(this IResourceBuilder<T> builder, [EndpointName] string name, NetworkIdentifier contextNetworkID) where T : IResourceWithEndpoints
1247public static EndpointReference GetEndpoint<T>(this IResourceBuilder<T> builder, [EndpointName] string name) where T : IResourceWithEndpoints
1261public static IResourceBuilder<T> AsHttp2Service<T>(this IResourceBuilder<T> builder) where T : IResourceWithEndpoints
1546where T : IResourceWithEndpoints
2005/// <typeparam name="T">A resource type that implements <see cref="IResourceWithEndpoints" />.</typeparam>
2032public static IResourceBuilder<T> WithHttpHealthCheck<T>(this IResourceBuilder<T> builder, string? path = null, int? statusCode = null, string? endpointName = null) where T : IResourceWithEndpoints
2046/// <typeparam name="T">A resource type that implements <see cref="IResourceWithEndpoints" />.</typeparam>
2074public static IResourceBuilder<T> WithHttpHealthCheck<T>(this IResourceBuilder<T> builder, Func<EndpointReference>? endpointSelector, string? path = null, int? statusCode = null) where T : IResourceWithEndpoints
2131/// <typeparam name="T">A resource type that implements <see cref="IResourceWithEndpoints" />.</typeparam>
2158public static IResourceBuilder<T> WithHttpsHealthCheck<T>(this IResourceBuilder<T> builder, string? path = null, int? statusCode = null, string? endpointName = null) where T : IResourceWithEndpoints
2356where TResource : IResourceWithEndpoints
2431where TResource : IResourceWithEndpoints
2915where TResource : IResourceWithEndpoints
2941where TResource : IResourceWithEndpoints
3352where T : IResourceWithEndpoints, IResourceWithProbes
3370where T : IResourceWithEndpoints, IResourceWithProbes
3411where T : IResourceWithEndpoints, IResourceWithProbes
Aspire.Hosting.Azure.AppContainers (1)
Aspire.Hosting.Azure.AppService (1)
Aspire.Hosting.Containers.Tests (1)
Aspire.Hosting.DevTunnels (5)
Aspire.Hosting.Docker (1)
Aspire.Hosting.Docker.Tests (2)
Aspire.Hosting.Foundry (1)
Aspire.Hosting.Kubernetes (1)
Aspire.Hosting.Orleans (3)
Aspire.Hosting.Python (1)
Aspire.Hosting.Testing (2)
Aspire.Hosting.Tests (12)