Skip to content
Docs Try Aspire

ContainerResizePolicyV1 Properties

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