Table of Contents

Class WorkloadResources

Namespace
OpenShell
Assembly
OpenShell.Sdk.dll

Portable resource requirements for sandboxes created from a template.

public sealed record WorkloadResources : IEquatable<WorkloadResources>
Inheritance
WorkloadResources
Implements
Inherited Members

Properties

Cpu

CPU quantity, for example 500m or 2.

public string? Cpu { get; init; }

Property Value

string

Gpu

GPU request, when any.

public GpuRequirements? Gpu { get; init; }

Property Value

GpuRequirements

Memory

Memory quantity, for example 512Mi or 2Gi.

public string? Memory { get; init; }

Property Value

string