pub struct RuntimeSoftwareConfig {Show 13 fields
pub custom_gpu_driver_path: Option<String>,
pub disable_terminal: Option<bool>,
pub enable_health_monitoring: Option<bool>,
pub idle_shutdown: Option<bool>,
pub idle_shutdown_timeout: Option<i32>,
pub install_gpu_driver: Option<bool>,
pub kernels: Option<Vec<ContainerImage>>,
pub mixer_disabled: Option<bool>,
pub notebook_upgrade_schedule: Option<String>,
pub post_startup_script: Option<String>,
pub post_startup_script_behavior: Option<String>,
pub upgradeable: Option<bool>,
pub version: Option<String>,
}
Expand description
Specifies the selection and configuration of software inside the runtime. The properties to set on runtime. Properties keys are specified in key:value
format, for example: * idle_shutdown: true
* idle_shutdown_timeout: 180
* enable_health_monitoring: true
This type is not used in any activity, and only used as part of another schema.
Fields§
§custom_gpu_driver_path: Option<String>
Specify a custom Cloud Storage path where the GPU driver is stored. If not specified, we’ll automatically choose from official GPU drivers.
disable_terminal: Option<bool>
Bool indicating whether JupyterLab terminal will be available or not. Default: False
enable_health_monitoring: Option<bool>
Verifies core internal services are running. Default: True
idle_shutdown: Option<bool>
Runtime will automatically shutdown after idle_shutdown_time. Default: True
idle_shutdown_timeout: Option<i32>
Time in minutes to wait before shutting down runtime. Default: 180 minutes
install_gpu_driver: Option<bool>
Install Nvidia Driver automatically. Default: True
kernels: Option<Vec<ContainerImage>>
Optional. Use a list of container images to use as Kernels in the notebook instance.
mixer_disabled: Option<bool>
Bool indicating whether mixer client should be disabled. Default: False
notebook_upgrade_schedule: Option<String>
Cron expression in UTC timezone, used to schedule instance auto upgrade. Please follow the cron format.
post_startup_script: Option<String>
Path to a Bash script that automatically runs after a notebook instance fully boots up. The path must be a URL or Cloud Storage path (gs://path-to-file/file-name
).
post_startup_script_behavior: Option<String>
Behavior for the post startup script.
upgradeable: Option<bool>
Output only. Bool indicating whether an newer image is available in an image family.
version: Option<String>
Output only. version of boot image such as M100, from release label of the image.
Trait Implementations§
Source§impl Clone for RuntimeSoftwareConfig
impl Clone for RuntimeSoftwareConfig
Source§fn clone(&self) -> RuntimeSoftwareConfig
fn clone(&self) -> RuntimeSoftwareConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for RuntimeSoftwareConfig
impl Debug for RuntimeSoftwareConfig
Source§impl Default for RuntimeSoftwareConfig
impl Default for RuntimeSoftwareConfig
Source§fn default() -> RuntimeSoftwareConfig
fn default() -> RuntimeSoftwareConfig
Source§impl<'de> Deserialize<'de> for RuntimeSoftwareConfig
impl<'de> Deserialize<'de> for RuntimeSoftwareConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Serialize for RuntimeSoftwareConfig
impl Serialize for RuntimeSoftwareConfig
impl Part for RuntimeSoftwareConfig
Auto Trait Implementations§
impl Freeze for RuntimeSoftwareConfig
impl RefUnwindSafe for RuntimeSoftwareConfig
impl Send for RuntimeSoftwareConfig
impl Sync for RuntimeSoftwareConfig
impl Unpin for RuntimeSoftwareConfig
impl UnwindSafe for RuntimeSoftwareConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more