1 interface inheriting from IResourceWithEndpoints
Aspire.Hosting (1)
23 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 (8)
74 references to IResourceWithEndpoints
Aspire.Hosting (51)
ApplicationModel\EndpointReference.cs (5)
28public IResourceWithEndpoints Resource { get; }
197public EndpointReference(IResourceWithEndpoints owner, EndpointAnnotation endpoint, NetworkIdentifier? contextNetworkID)
213public EndpointReference(IResourceWithEndpoints owner, EndpointAnnotation endpoint): this(owner, endpoint, null)
229public EndpointReference(IResourceWithEndpoints owner, string endpointName, NetworkIdentifier? contextNetworkID = null)
244public EndpointReference(IResourceWithEndpoints owner, string endpointName): this(owner, endpointName, null)
ResourceBuilderExtensions.cs (24)
766private static void ApplyEndpoints<T>(this IResourceBuilder<T> builder, IResourceWithEndpoints resourceWithEndpoints, string? endpointName = null, string? name = null)
835public static IResourceBuilder<T> WithEndpoint<T>(this IResourceBuilder<T> builder, [EndpointName] string endpointName, Action<EndpointAnnotation> callback, bool createIfNotExists = true) where T : IResourceWithEndpoints
886public 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
910if (env is not null && builder.Resource is IResourceWithEndpoints resourceWithEndpoints and IResourceWithEnvironment)
940public 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
958public 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
978public 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
991public static IResourceBuilder<T> WithExternalHttpEndpoints<T>(this IResourceBuilder<T> builder) where T : IResourceWithEndpoints
1020public static EndpointReference GetEndpoint<T>(this IResourceBuilder<T> builder, [EndpointName] string name, NetworkIdentifier contextNetworkID) where T : IResourceWithEndpoints
1035public static EndpointReference GetEndpoint<T>(this IResourceBuilder<T> builder, [EndpointName] string name) where T : IResourceWithEndpoints
1048public static IResourceBuilder<T> AsHttp2Service<T>(this IResourceBuilder<T> builder) where T : IResourceWithEndpoints
1325where T : IResourceWithEndpoints
1773/// <typeparam name="T">A resource type that implements <see cref="IResourceWithEndpoints" />.</typeparam>
1799public static IResourceBuilder<T> WithHttpHealthCheck<T>(this IResourceBuilder<T> builder, string? path = null, int? statusCode = null, string? endpointName = null) where T : IResourceWithEndpoints
1813/// <typeparam name="T">A resource type that implements <see cref="IResourceWithEndpoints" />.</typeparam>
1839public static IResourceBuilder<T> WithHttpHealthCheck<T>(this IResourceBuilder<T> builder, Func<EndpointReference>? endpointSelector, string? path = null, int? statusCode = null) where T : IResourceWithEndpoints
1896/// <typeparam name="T">A resource type that implements <see cref="IResourceWithEndpoints" />.</typeparam>
1923public static IResourceBuilder<T> WithHttpsHealthCheck<T>(this IResourceBuilder<T> builder, string? path = null, int? statusCode = null, string? endpointName = null) where T : IResourceWithEndpoints
2118where TResource : IResourceWithEndpoints
2191where TResource : IResourceWithEndpoints
2603where TResource : IResourceWithEndpoints
2629where TResource : IResourceWithEndpoints
3023where T : IResourceWithEndpoints, IResourceWithProbes
3068where 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 (5)