Skip to main content
.NET API Catalog
  • Browse
  • Search
  • Diff
  • Others
    Feature Usage Stats
    Version Source
  • .NET Upgrade Planner
  1. Catalog
  2. Aspire.Hosting.ApplicationModel
  3. IResource
  4. IsExisting(IResource)
  • IResource
    • Annotations
    • Name
    • GetReplicaCount(IResource)
    • HasAnnotationIncludingAncestorsOfType<T>(IResource)
    • HasAnnotationOfType<T>(IResource)
    • IsContainer(IResource)
    • IsExisting(IResource)
    • ProcessArgumentValuesAsync(IResource, DistributedApplicationExecutionContext, Action<Object, String, Exception, Boolean>, ILogger, String, CancellationToken)
    • ProcessEnvironmentVariableValuesAsync(IResource, DistributedApplicationExecutionContext, Action<String, Object, String, Exception>, ILogger, String, CancellationToken)
    • TryGetAnnotationsIncludingAncestorsOfType<T>(IResource, IEnumerable<T>)
    • TryGetAnnotationsOfType<T>(IResource, IEnumerable<T>)
    • TryGetContainerImageName(IResource, String)
    • TryGetContainerMounts(IResource, IEnumerable<ContainerMountAnnotation>)
    • TryGetEndpoints(IResource, IEnumerable<EndpointAnnotation>)
    • TryGetEnvironmentVariables(IResource, IEnumerable<EnvironmentCallbackAnnotation>)
    • TryGetLastAnnotation<T>(IResource, T)
net8.0
namespace Aspire.Hosting
{
    public static class ExistingAzureResourceExtensions
    {
        public static bool IsExisting(this IResource! resource);
    }
}
.NET
8.09.010.0
Information specific to net8.0
Assemblies

Aspire.Hosting.Azure , Version=9.1.0.0, PublicKeyToken=cc7b13ffcd2ddd51

Aspire.Hosting.Azure , Version=9.2.0.0, PublicKeyToken=cc7b13ffcd2ddd51

Referencing

Your project needs a package reference to Aspire.Hosting.Azure.

Package Aspire.Hosting.Azure (9.1.0) net8.0
Platform Restrictions

This API is supported on all platforms.

  • Built-in API
  • Package-provided API
Search

03/18/2025
An error has occurred. This application may no longer respond until reloaded. Reload 🗙