Language

WorkbenchUpdateProperties Class

Definition

Mutable properties for a Workbench resource.

public class WorkbenchUpdateProperties : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.CognitiveServices.Models.WorkbenchUpdateProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.CognitiveServices.Models.WorkbenchUpdateProperties>
type WorkbenchUpdateProperties = class
    interface IJsonModel<WorkbenchUpdateProperties>
    interface IPersistableModel<WorkbenchUpdateProperties>
Public Class WorkbenchUpdateProperties
Implements IJsonModel(Of WorkbenchUpdateProperties), IPersistableModel(Of WorkbenchUpdateProperties)
Inheritance
WorkbenchUpdateProperties
Implements

Constructors

Name Description
WorkbenchUpdateProperties()

Initializes a new instance of WorkbenchUpdateProperties.

Properties

Name Description
GpuCount

GPU count for GPU pools or vCPU count for CPU pools. Must be 1, 2, 4, 8, or a positive multiple of 8. Omit to preserve the current value; null clears the override to use the full node or the instance type's default count. Full-node Azure VM sizes permit partition selection. A supplied count must match an exact Singularity instance type; the Singularity.D4_v3 fallback accepts 4.

IdleTimeBeforeShutdown

ISO 8601 duration before the idle workbench is automatically shut down (e.g., 'PT30M').

InstanceType

For virtual clusters, an exact Singularity instance type or a full-node Azure VM size. Omit to preserve the current value; null resets to the Singularity.D4_v3 fallback. Foundry Compute ignores this override and uses the pool configuration. An actual instance type change requires the workbench to be stopped.

TargetClusterId

Resource ID of the Foundry Compute or virtual cluster that hosts this workbench. Changing the cluster requires the workbench to be stopped.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<WorkbenchUpdateProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<WorkbenchUpdateProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<WorkbenchUpdateProperties>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<WorkbenchUpdateProperties>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<WorkbenchUpdateProperties>.Write(ModelReaderWriterOptions)

Applies to