RuntimeState class

Input properties used for looking up and filtering Runtime resources.

Constructors

RuntimeState({Input<bool?>? autoUpgrade, Input<String?>? deletionPolicy, Input<String?>? description, Input<String?>? desiredState, Input<String?>? displayName, Input<String?>? expirationTime, Input<bool?>? isUpgradable, Input<String?>? location, Input<String?>? name, Input<RuntimeNotebookRuntimeTemplateRef?>? notebookRuntimeTemplateRef, Input<String?>? notebookRuntimeType, Input<String?>? project, Input<String?>? runtimeUser, Input<String?>? state})
Creates a new RuntimeState. autoUpgrade Triggers an upgrade anytime the runtime is started if it is upgradable. deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. description The description of the Runtime. desiredState Desired state of the Colab Runtime. Set this field to RUNNING to start the runtime, and STOPPED to stop it. displayName Required. The display name of the Runtime. expirationTime Output only. Timestamp when this NotebookRuntime will be expired. isUpgradable Output only. Checks if the NotebookRuntime is upgradable. location The location for the resource: https://cloud.google.com/colab/docs/locations name The resource name of the Runtime notebookRuntimeTemplateRef 'Runtime specific information used for NotebookRuntime creation.' notebookRuntimeType Output only. The type of the notebook runtime. project The ID of the project in which the resource belongs. runtimeUser The user email of the NotebookRuntime. state Output only. The state of the runtime.
const
RuntimeState.fromMap(Map<String, dynamic> map)
factory

Properties

autoUpgrade → Input<bool?>?
Triggers an upgrade anytime the runtime is started if it is upgradable.
final
deletionPolicy → Input<String?>?
Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
final
description → Input<String?>?
The description of the Runtime.
final
desiredState → Input<String?>?
Desired state of the Colab Runtime. Set this field to RUNNING to start the runtime, and STOPPED to stop it.
final
displayName → Input<String?>?
Required. The display name of the Runtime.
final
expirationTime → Input<String?>?
Output only. Timestamp when this NotebookRuntime will be expired.
final
hashCode → int
The hash code for this object.
no setterinherited
isUpgradable → Input<bool?>?
Output only. Checks if the NotebookRuntime is upgradable.
final
location → Input<String?>?
The location for the resource: https://cloud.google.com/colab/docs/locations
final
name → Input<String?>?
The resource name of the Runtime
final
notebookRuntimeTemplateRef → Input<RuntimeNotebookRuntimeTemplateRef?>?
'Runtime specific information used for NotebookRuntime creation.' Structure is documented below.
final
notebookRuntimeType → Input<String?>?
Output only. The type of the notebook runtime.
final
project → Input<String?>?
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
runtimeUser → Input<String?>?
The user email of the NotebookRuntime.
final
state → Input<String?>?
Output only. The state of the runtime.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited