RuntimeState class
Input properties used for looking up and filtering Runtime resources.
Constructors
-
RuntimeState({Input<
RuntimeAccessConfig?> ? accessConfig, Input<String?> ? deletionPolicy, Input<Map< ? effectiveLabels, Input<String, String> ?>String?> ? healthState, Input<Map< ? labels, Input<String, String> ?>String?> ? location, Input<List< ? metrics, Input<RuntimeMetric> ?>String?> ? name, Input<String?> ? project, Input<Map< ? pulumiLabels, Input<String, String> ?>RuntimeSoftwareConfig?> ? softwareConfig, Input<String?> ? state, Input<RuntimeVirtualMachine?> ? virtualMachine}) -
Creates a new RuntimeState.
accessConfigThe config settings for accessing runtime.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.effectiveLabelsAll of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.healthStateThe health state of this runtime. For a list of possible outputlabelsThe labels to associate with this runtime. Label keys mustlocationA reference to the zone where the machine resides.metricsContains Runtime daemon metrics such as Service status and JupyterLabnameThe name specified for the Notebook runtime.projectThe ID of the project in which the resource belongs.pulumiLabelsThe combination of labels configured directly on the resourcesoftwareConfigThe config settings for software inside the runtime.stateThe state of this runtime.virtualMachineUse a Compute Engine VM image to start the managed notebook instance.const -
RuntimeState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
accessConfig
→ Input<
RuntimeAccessConfig?> ? -
The config settings for accessing runtime.
Structure is documented below.
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
-
effectiveLabels
→ Input<
Map< ?String, String> ?> -
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
healthState
→ Input<
String?> ? -
The health state of this runtime. For a list of possible output
values, see
https://cloud.google.com/vertex-ai/docs/workbench/ reference/rest/v1/projects.locations.runtimes#healthstate.final -
labels
→ Input<
Map< ?String, String> ?> -
The labels to associate with this runtime. Label keys must
contain 1 to 63 characters, and must conform to RFC 1035. Label values may be
empty, but, if present, must contain 1 to 63 characters, and must
conform to RFC 1035. No
more than 32 labels can be associated with a cluster.
final
-
location
→ Input<
String?> ? -
A reference to the zone where the machine resides.
final
-
metrics
→ Input<
List< ?RuntimeMetric> ?> -
Contains Runtime daemon metrics such as Service status and JupyterLab
status
Structure is documented below.
final
-
name
→ Input<
String?> ? -
The name specified for 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
-
pulumiLabels
→ Input<
Map< ?String, String> ?> -
The combination of labels configured directly on the resource
and default labels configured on the provider.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
softwareConfig
→ Input<
RuntimeSoftwareConfig?> ? -
The config settings for software inside the runtime.
Structure is documented below.
final
-
state
→ Input<
String?> ? -
The state of this runtime.
final
-
virtualMachine
→ Input<
RuntimeVirtualMachine?> ? -
Use a Compute Engine VM image to start the managed notebook instance.
Structure is documented below.
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