Skip to content
DocsTry Aspire
DocsTry

ContainerResizePolicyV1 Properties

ClassProperties2 members
Represents a policy for resizing containers in a Kubernetes environment.
ResourceNameSection titled ResourceNamestring
Gets or sets the name of the resource associated with the container's resize policy.
public string ResourceName { get; set; }
RestartPolicySection titled RestartPolicystring
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".
public string RestartPolicy { get; set; }