RuntimeArgs class
The set of arguments for Runtime. The set of arguments for Runtime.
Constructors
-
RuntimeArgs({Input<
bool?> ? autoUpgrade, Input<String?> ? deletionPolicy, Input<String?> ? description, Input<String?> ? desiredState, required Input<String> displayName, required Input<String> location, Input<String?> ? name, Input<RuntimeNotebookRuntimeTemplateRef?> ? notebookRuntimeTemplateRef, Input<String?> ? project, required Input<String> runtimeUser}) -
Creates a new RuntimeArgs.
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.locationThe location for the resource: https://cloud.google.com/colab/docs/locationsnameThe resource name of the RuntimenotebookRuntimeTemplateRef'Runtime specific information used for NotebookRuntime creation.'projectThe ID of the project in which the resource belongs.runtimeUserThe user email of the NotebookRuntime.const -
RuntimeArgs.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
- hashCode → int
-
The hash code for this object.
no setterinherited
-
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
-
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
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