1 interface inheriting from IResourceWithEndpoints
Aspire.Hosting (1)
24 implementations of IResourceWithEndpoints
Aspire.Hosting (3)
Aspire.Hosting.Azure.AIFoundry (1)
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.Maui (1)
Aspire.Hosting.Tests (9)
93 references to IResourceWithEndpoints
Aspire.Hosting (63)
ApplicationModel\EndpointReference.cs (5)
29public IResourceWithEndpoints Resource { get; }
201public EndpointReference(IResourceWithEndpoints owner, EndpointAnnotation endpoint, NetworkIdentifier? contextNetworkID)
217public EndpointReference(IResourceWithEndpoints owner, EndpointAnnotation endpoint): this(owner, endpoint, null)
233public EndpointReference(IResourceWithEndpoints owner, string endpointName, NetworkIdentifier? contextNetworkID = null)
248public EndpointReference(IResourceWithEndpoints owner, string endpointName): this(owner, endpointName, null)
ResourceBuilderExtensions.cs (24)
809private static void ApplyEndpoints<T>(this IResourceBuilder<T> builder, IResourceWithEndpoints resourceWithEndpoints, string? endpointName = null, string? name = null)
878public static IResourceBuilder<T> WithEndpoint<T>(this IResourceBuilder<T> builder, [EndpointName] string endpointName, Action<EndpointAnnotation> callback, bool createIfNotExists = true) where T : IResourceWithEndpoints
930public 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
954if (env is not null && builder.Resource is IResourceWithEndpoints resourceWithEndpoints and IResourceWithEnvironment)
984public 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
1003public 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
1024public 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
1038public static IResourceBuilder<T> WithExternalHttpEndpoints<T>(this IResourceBuilder<T> builder) where T : IResourceWithEndpoints
1067public static EndpointReference GetEndpoint<T>(this IResourceBuilder<T> builder, [EndpointName] string name, NetworkIdentifier contextNetworkID) where T : IResourceWithEndpoints
1083public static EndpointReference GetEndpoint<T>(this IResourceBuilder<T> builder, [EndpointName] string name) where T : IResourceWithEndpoints
1097public static IResourceBuilder<T> AsHttp2Service<T>(this IResourceBuilder<T> builder) where T : IResourceWithEndpoints
1380where T : IResourceWithEndpoints
1832/// <typeparam name="T">A resource type that implements <see cref="IResourceWithEndpoints" />.</typeparam>
1859public static IResourceBuilder<T> WithHttpHealthCheck<T>(this IResourceBuilder<T> builder, string? path = null, int? statusCode = null, string? endpointName = null) where T : IResourceWithEndpoints
1873/// <typeparam name="T">A resource type that implements <see cref="IResourceWithEndpoints" />.</typeparam>
1899public static IResourceBuilder<T> WithHttpHealthCheck<T>(this IResourceBuilder<T> builder, Func<EndpointReference>? endpointSelector, string? path = null, int? statusCode = null) where T : IResourceWithEndpoints
1956/// <typeparam name="T">A resource type that implements <see cref="IResourceWithEndpoints" />.</typeparam>
1983public static IResourceBuilder<T> WithHttpsHealthCheck<T>(this IResourceBuilder<T> builder, string? path = null, int? statusCode = null, string? endpointName = null) where T : IResourceWithEndpoints
2179where TResource : IResourceWithEndpoints
2252where TResource : IResourceWithEndpoints
2651where TResource : IResourceWithEndpoints
2677where TResource : IResourceWithEndpoints
3071where T : IResourceWithEndpoints, IResourceWithProbes
3116where 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.Kubernetes (1)
Aspire.Hosting.Orleans (3)
Aspire.Hosting.Python (1)
Aspire.Hosting.Testing (2)
Aspire.Hosting.Tests (12)