WorkloadRuntime Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. containerservice. models. WorkloadRuntime
- com.
- com.
public final class WorkloadRuntime
extends ExpandableStringEnum<WorkloadRuntime>
Determines the type of workload a node can run.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Workload |
OCICONTAINER
Static value OCIContainer for Workload |
static final
Workload |
WASM_WASI
Static value Wasm |
Constructor Summary
Constructor | Description |
---|---|
WorkloadRuntime() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Workload |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Workload |
fromString(String name)
Creates or finds a Workload |
static
Collection<Workload |
values()
Gets known Workload |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
OCICONTAINER
public static final WorkloadRuntime OCICONTAINER
Static value OCIContainer for WorkloadRuntime.
WASM_WASI
public static final WorkloadRuntime WASM_WASI
Static value WasmWasi for WorkloadRuntime.
Constructor Details
WorkloadRuntime
@Deprecated
public WorkloadRuntime()
Deprecated
Creates a new instance of WorkloadRuntime value.
Method Details
fromString
public static WorkloadRuntime fromString(String name)
Creates or finds a WorkloadRuntime from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known WorkloadRuntime values.
Returns:
Applies to
Azure SDK for Java