CustomResourceSnapshot
Recordsealednet10.0
An immutable snapshot of the state of a resource.
namespace Aspire.Hosting.ApplicationModel;
public sealed record CustomResourceSnapshot : System.IEquatable<Aspire.Hosting.ApplicationModel.CustomResourceSnapshot>{ // ...}IEquatable<CustomResourceSnapshot>
25 members
Constructors1
Section titled ConstructorsProperties17
Section titled PropertiesCommandsget; initImmutableArray<ResourceCommandSnapshot> The commands available in the dashboard for this resource.
EnvironmentVariablesget; initImmutableArray<EnvironmentVariableSnapshot> The environment variables that should show up in the dashboard for this resource.
IconNameget; initstring? The custom icon name for the resource. This should be a valid FluentUI icon name. If not specified, the dashboard will use default icons based on the resource type.
Propertiesget; initImmutableArray<ResourcePropertySnapshot> The properties that should show up in the dashboard for this resource.
Urlsget; initImmutableArray<UrlSnapshot> The URLs that should show up in the dashboard for this resource.
Volumesget; initImmutableArray<VolumeSnapshot> The volumes that should show up in the dashboard for this resource.
Methods7
Section titled MethodsboolIndicates whether the current object is equal to another object of the same type.