PodResourceClaimV1
Class sealed net10.0
Represents a resource claim specification for a Kubernetes pod.
namespace Aspire.Hosting.Kubernetes.Resources;
public sealed class PodResourceClaimV1{ // ...}Remarks
Section titled Remarks This class is used to define a claim for resources that a Kubernetes pod requires. It specifies the claim's name, the direct reference to an existing resource claim, or the template from which a resource claim can be created when none exists.
Constructors1
Section titled ConstructorsProperties3
Section titled PropertiesNameget; setstring Gets or sets the name of the resource claim associated with the Pod. This property represents the alias "name" in the serialized YAML format.
ResourceClaimNameget; setstring Gets or sets the name of the referenced resource claim associated with the pod. This is used to identify the resource claim that provides specific resources to the pod in a Kubernetes environment.
ResourceClaimTemplateNameget; setstring Gets or sets the name of the resource claim template associated with the pod. This property specifies the template to be used for creating a resource claim dynamically, enabling resource allocation for the pod.