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.
autoUpgradeTriggers an upgrade anytime the runtime is started if it is upgradable.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.descriptionThe description of the Runtime.desiredStateDesired state of the Colab Runtime. Set this field toRUNNINGto start the runtime, andSTOPPEDto stop it.displayNameRequired. The display name of the Runtime.expirationTimeOutput only. Timestamp when this NotebookRuntime will be expired.isUpgradableOutput only. Checks if the NotebookRuntime is upgradable.locationThe location for the resource: https://cloud.google.com/colab/docs/locationsnameThe resource name of the RuntimenotebookRuntimeTemplateRef'Runtime specific information used for NotebookRuntime creation.'notebookRuntimeTypeOutput only. The type of the notebook runtime.projectThe ID of the project in which the resource belongs.runtimeUserThe user email of the NotebookRuntime.stateOutput 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
RUNNINGto start the runtime, andSTOPPEDto 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