ContainerResizePolicyV1
Class sealed net10.0
Represents a policy for resizing containers in a Kubernetes environment.
namespace Aspire.Hosting.Kubernetes.Resources;
public sealed class ContainerResizePolicyV1{ // ...}Remarks
Section titled Remarks This class defines the configuration for a container's resize policy, specifically the associated resource and the restart behavior.
Constructors1
Section titled ConstructorsProperties2
Section titled PropertiesResourceNameget; setstring Gets or sets the name of the resource associated with the container's resize policy.
RestartPolicyget; setstring Gets or sets the restart policy for the container. Determines the behavior of the container regarding restarts upon failure or completion. Typical options could include policies like "Always", "OnFailure", or "Never".