Class ProtoResourceSnapshot
An immutable view of one resource owned by a test.
public sealed record ProtoResourceSnapshot : IEquatable<ProtoResourceSnapshot>
- Inheritance
-
ProtoResourceSnapshot
- Implements
- Inherited Members
- Extension Methods
Constructors
ProtoResourceSnapshot(string, string, string, ProtoResourceState, TimeSpan?, string?)
An immutable view of one resource owned by a test.
public ProtoResourceSnapshot(string Id, string Kind, string Description, ProtoResourceState State, TimeSpan? ReleaseDuration, string? Error)
Parameters
IdstringKindstringDescriptionstringStateProtoResourceStateReleaseDurationTimeSpan?Errorstring
Properties
Description
public string Description { get; init; }
Property Value
Error
public string? Error { get; init; }
Property Value
Id
public string Id { get; init; }
Property Value
Kind
public string Kind { get; init; }
Property Value
ReleaseDuration
public TimeSpan? ReleaseDuration { get; init; }
Property Value
State
public ProtoResourceState State { get; init; }