Represents a {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime google_notebooks_runtime}.
from cdktf_cdktf_provider_google import notebooks_runtime
notebooksRuntime.NotebooksRuntime(
scope: Construct,
id: str,
connection: typing.Union[SSHProvisionerConnection, WinrmProvisionerConnection] = None,
count: typing.Union[typing.Union[int, float], TerraformCount] = None,
depends_on: typing.List[ITerraformDependable] = None,
for_each: ITerraformIterator = None,
lifecycle: TerraformResourceLifecycle = None,
provider: TerraformProvider = None,
provisioners: typing.List[typing.Union[FileProvisioner, LocalExecProvisioner, RemoteExecProvisioner]] = None,
location: str,
name: str,
access_config: NotebooksRuntimeAccessConfig = None,
id: str = None,
labels: typing.Mapping[str] = None,
project: str = None,
software_config: NotebooksRuntimeSoftwareConfig = None,
timeouts: NotebooksRuntimeTimeouts = None,
virtual_machine: NotebooksRuntimeVirtualMachine = None
)
Name | Type | Description |
---|---|---|
scope |
constructs.Construct |
The scope in which to define this construct. |
id |
str |
The scoped construct ID. |
connection |
typing.Union[cdktf.SSHProvisionerConnection, cdktf.WinrmProvisionerConnection] |
No description. |
count |
typing.Union[typing.Union[int, float], cdktf.TerraformCount] |
No description. |
depends_on |
typing.List[cdktf.ITerraformDependable] |
No description. |
for_each |
cdktf.ITerraformIterator |
No description. |
lifecycle |
cdktf.TerraformResourceLifecycle |
No description. |
provider |
cdktf.TerraformProvider |
No description. |
provisioners |
typing.List[typing.Union[cdktf.FileProvisioner, cdktf.LocalExecProvisioner, cdktf.RemoteExecProvisioner]] |
No description. |
location |
str |
A reference to the zone where the machine resides. |
name |
str |
The name specified for the Notebook runtime. |
access_config |
NotebooksRuntimeAccessConfig |
access_config block. |
id |
str |
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#id NotebooksRuntime#id}. |
labels |
typing.Mapping[str] |
The labels to associate with this runtime. |
project |
str |
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#project NotebooksRuntime#project}. |
software_config |
NotebooksRuntimeSoftwareConfig |
software_config block. |
timeouts |
NotebooksRuntimeTimeouts |
timeouts block. |
virtual_machine |
NotebooksRuntimeVirtualMachine |
virtual_machine block. |
- Type: constructs.Construct
The scope in which to define this construct.
- Type: str
The scoped construct ID.
Must be unique amongst siblings in the same scope
- Type: typing.Union[cdktf.SSHProvisionerConnection, cdktf.WinrmProvisionerConnection]
- Type: typing.Union[typing.Union[int, float], cdktf.TerraformCount]
- Type: typing.List[cdktf.ITerraformDependable]
- Type: cdktf.ITerraformIterator
- Type: cdktf.TerraformResourceLifecycle
- Type: cdktf.TerraformProvider
- Type: typing.List[typing.Union[cdktf.FileProvisioner, cdktf.LocalExecProvisioner, cdktf.RemoteExecProvisioner]]
- Type: str
A reference to the zone where the machine resides.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#location NotebooksRuntime#location}
- Type: str
The name specified for the Notebook runtime.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#name NotebooksRuntime#name}
access_config block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#access_config NotebooksRuntime#access_config}
- Type: str
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#id NotebooksRuntime#id}.
Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
- Type: typing.Mapping[str]
The labels to associate with this runtime.
Label keys must contain 1 to 63 characters, and must conform to [RFC 1035] (https://www.ietf.org/rfc/rfc1035.txt). 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.
Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#labels NotebooksRuntime#labels}
- Type: str
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#project NotebooksRuntime#project}.
software_config block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#software_config NotebooksRuntime#software_config}
- Type: NotebooksRuntimeTimeouts
timeouts block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#timeouts NotebooksRuntime#timeouts}
virtual_machine block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#virtual_machine NotebooksRuntime#virtual_machine}
Name | Description |
---|---|
to_string |
Returns a string representation of this construct. |
add_override |
No description. |
override_logical_id |
Overrides the auto-generated logical ID with a specific ID. |
reset_override_logical_id |
Resets a previously passed logical Id to use the auto-generated logical id again. |
to_hcl_terraform |
No description. |
to_metadata |
No description. |
to_terraform |
Adds this resource to the terraform JSON output. |
add_move_target |
Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. |
get_any_map_attribute |
No description. |
get_boolean_attribute |
No description. |
get_boolean_map_attribute |
No description. |
get_list_attribute |
No description. |
get_number_attribute |
No description. |
get_number_list_attribute |
No description. |
get_number_map_attribute |
No description. |
get_string_attribute |
No description. |
get_string_map_attribute |
No description. |
has_resource_move |
No description. |
import_from |
No description. |
interpolation_for_attribute |
No description. |
move_from_id |
Move the resource corresponding to "id" to this resource. |
move_to |
Moves this resource to the target resource given by moveTarget. |
move_to_id |
Moves this resource to the resource corresponding to "id". |
put_access_config |
No description. |
put_software_config |
No description. |
put_timeouts |
No description. |
put_virtual_machine |
No description. |
reset_access_config |
No description. |
reset_id |
No description. |
reset_labels |
No description. |
reset_project |
No description. |
reset_software_config |
No description. |
reset_timeouts |
No description. |
reset_virtual_machine |
No description. |
def to_string() -> str
Returns a string representation of this construct.
def add_override(
path: str,
value: typing.Any
) -> None
- Type: str
- Type: typing.Any
def override_logical_id(
new_logical_id: str
) -> None
Overrides the auto-generated logical ID with a specific ID.
- Type: str
The new logical ID to use for this stack element.
def reset_override_logical_id() -> None
Resets a previously passed logical Id to use the auto-generated logical id again.
def to_hcl_terraform() -> typing.Any
def to_metadata() -> typing.Any
def to_terraform() -> typing.Any
Adds this resource to the terraform JSON output.
def add_move_target(
move_target: str
) -> None
Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move.
- Type: str
The string move target that will correspond to this resource.
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def has_resource_move() -> typing.Union[TerraformResourceMoveByTarget, TerraformResourceMoveById]
def import_from(
id: str,
provider: TerraformProvider = None
) -> None
- Type: str
- Type: cdktf.TerraformProvider
def interpolation_for_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def move_from_id(
id: str
) -> None
Move the resource corresponding to "id" to this resource.
Note that the resource being moved from must be marked as moved using it's instance function.
- Type: str
Full id of resource being moved from, e.g. "aws_s3_bucket.example".
def move_to(
move_target: str,
index: typing.Union[str, typing.Union[int, float]] = None
) -> None
Moves this resource to the target resource given by moveTarget.
- Type: str
The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to.
- Type: typing.Union[str, typing.Union[int, float]]
Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to.
def move_to_id(
id: str
) -> None
Moves this resource to the resource corresponding to "id".
- Type: str
Full id of resource to move to, e.g. "aws_s3_bucket.example".
def put_access_config(
access_type: str = None,
runtime_owner: str = None
) -> None
- Type: str
The type of access mode this instance. For valid values, see 'https://cloud.google.com/vertex-ai/docs/workbench/reference/ rest/v1/projects.locations.runtimes#RuntimeAccessType'.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#access_type NotebooksRuntime#access_type}
- Type: str
The owner of this runtime after creation. Format: 'alias@example.com'. Currently supports one owner only.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#runtime_owner NotebooksRuntime#runtime_owner}
def put_software_config(
custom_gpu_driver_path: str = None,
enable_health_monitoring: typing.Union[bool, IResolvable] = None,
idle_shutdown: typing.Union[bool, IResolvable] = None,
idle_shutdown_timeout: typing.Union[int, float] = None,
install_gpu_driver: typing.Union[bool, IResolvable] = None,
kernels: typing.Union[IResolvable, typing.List[NotebooksRuntimeSoftwareConfigKernels]] = None,
notebook_upgrade_schedule: str = None,
post_startup_script: str = None,
post_startup_script_behavior: str = None
) -> None
- Type: str
Specify a custom Cloud Storage path where the GPU driver is stored.
If not specified, we'll automatically choose from official GPU drivers.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#custom_gpu_driver_path NotebooksRuntime#custom_gpu_driver_path}
- Type: typing.Union[bool, cdktf.IResolvable]
Verifies core internal services are running. Default: True.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#enable_health_monitoring NotebooksRuntime#enable_health_monitoring}
- Type: typing.Union[bool, cdktf.IResolvable]
Runtime will automatically shutdown after idle_shutdown_time. Default: True.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#idle_shutdown NotebooksRuntime#idle_shutdown}
- Type: typing.Union[int, float]
Time in minutes to wait before shuting down runtime. Default: 180 minutes.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#idle_shutdown_timeout NotebooksRuntime#idle_shutdown_timeout}
- Type: typing.Union[bool, cdktf.IResolvable]
Install Nvidia Driver automatically.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#install_gpu_driver NotebooksRuntime#install_gpu_driver}
- Type: typing.Union[cdktf.IResolvable, typing.List[NotebooksRuntimeSoftwareConfigKernels]]
kernels block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#kernels NotebooksRuntime#kernels}
- Type: str
Cron expression in UTC timezone for schedule instance auto upgrade. Please follow the cron format.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#notebook_upgrade_schedule NotebooksRuntime#notebook_upgrade_schedule}
- Type: str
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).
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#post_startup_script NotebooksRuntime#post_startup_script}
- Type: str
Behavior for the post startup script. Possible values: ["POST_STARTUP_SCRIPT_BEHAVIOR_UNSPECIFIED", "RUN_EVERY_START", "DOWNLOAD_AND_RUN_EVERY_START"].
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#post_startup_script_behavior NotebooksRuntime#post_startup_script_behavior}
def put_timeouts(
create: str = None,
delete: str = None,
update: str = None
) -> None
- Type: str
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#create NotebooksRuntime#create}.
- Type: str
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#delete NotebooksRuntime#delete}.
- Type: str
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#update NotebooksRuntime#update}.
def put_virtual_machine(
virtual_machine_config: NotebooksRuntimeVirtualMachineVirtualMachineConfig = None
) -> None
virtual_machine_config block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#virtual_machine_config NotebooksRuntime#virtual_machine_config}
def reset_access_config() -> None
def reset_id() -> None
def reset_labels() -> None
def reset_project() -> None
def reset_software_config() -> None
def reset_timeouts() -> None
def reset_virtual_machine() -> None
Name | Description |
---|---|
is_construct |
Checks if x is a construct. |
is_terraform_element |
No description. |
is_terraform_resource |
No description. |
generate_config_for_import |
Generates CDKTF code for importing a NotebooksRuntime resource upon running "cdktf plan ". |
from cdktf_cdktf_provider_google import notebooks_runtime
notebooksRuntime.NotebooksRuntime.is_construct(
x: typing.Any
)
Checks if x
is a construct.
Use this method instead of instanceof
to properly detect Construct
instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the constructs
library on
disk are seen as independent, completely different libraries. As a
consequence, the class Construct
in each copy of the constructs
library
is seen as a different class, and an instance of one class will not test as
instanceof
the other class. npm install
will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the constructs
library can be accidentally installed, and instanceof
will behave
unpredictably. It is safest to avoid using instanceof
, and using
this type-testing method instead.
- Type: typing.Any
Any object.
from cdktf_cdktf_provider_google import notebooks_runtime
notebooksRuntime.NotebooksRuntime.is_terraform_element(
x: typing.Any
)
- Type: typing.Any
from cdktf_cdktf_provider_google import notebooks_runtime
notebooksRuntime.NotebooksRuntime.is_terraform_resource(
x: typing.Any
)
- Type: typing.Any
from cdktf_cdktf_provider_google import notebooks_runtime
notebooksRuntime.NotebooksRuntime.generate_config_for_import(
scope: Construct,
import_to_id: str,
import_from_id: str,
provider: TerraformProvider = None
)
Generates CDKTF code for importing a NotebooksRuntime resource upon running "cdktf plan ".
- Type: constructs.Construct
The scope in which to define this construct.
- Type: str
The construct id used in the generated config for the NotebooksRuntime to import.
- Type: str
The id of the existing NotebooksRuntime that should be imported.
Refer to the {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#import import section} in the documentation of this resource for the id to use
- Type: cdktf.TerraformProvider
? Optional instance of the provider where the NotebooksRuntime to import is found.
Name | Type | Description |
---|---|---|
node |
constructs.Node |
The tree node. |
cdktf_stack |
cdktf.TerraformStack |
No description. |
fqn |
str |
No description. |
friendly_unique_id |
str |
No description. |
terraform_meta_arguments |
typing.Mapping[typing.Any] |
No description. |
terraform_resource_type |
str |
No description. |
terraform_generator_metadata |
cdktf.TerraformProviderGeneratorMetadata |
No description. |
connection |
typing.Union[cdktf.SSHProvisionerConnection, cdktf.WinrmProvisionerConnection] |
No description. |
count |
typing.Union[typing.Union[int, float], cdktf.TerraformCount] |
No description. |
depends_on |
typing.List[str] |
No description. |
for_each |
cdktf.ITerraformIterator |
No description. |
lifecycle |
cdktf.TerraformResourceLifecycle |
No description. |
provider |
cdktf.TerraformProvider |
No description. |
provisioners |
typing.List[typing.Union[cdktf.FileProvisioner, cdktf.LocalExecProvisioner, cdktf.RemoteExecProvisioner]] |
No description. |
access_config |
NotebooksRuntimeAccessConfigOutputReference |
No description. |
effective_labels |
cdktf.StringMap |
No description. |
health_state |
str |
No description. |
metrics |
NotebooksRuntimeMetricsList |
No description. |
software_config |
NotebooksRuntimeSoftwareConfigOutputReference |
No description. |
state |
str |
No description. |
terraform_labels |
cdktf.StringMap |
No description. |
timeouts |
NotebooksRuntimeTimeoutsOutputReference |
No description. |
virtual_machine |
NotebooksRuntimeVirtualMachineOutputReference |
No description. |
access_config_input |
NotebooksRuntimeAccessConfig |
No description. |
id_input |
str |
No description. |
labels_input |
typing.Mapping[str] |
No description. |
location_input |
str |
No description. |
name_input |
str |
No description. |
project_input |
str |
No description. |
software_config_input |
NotebooksRuntimeSoftwareConfig |
No description. |
timeouts_input |
typing.Union[cdktf.IResolvable, NotebooksRuntimeTimeouts] |
No description. |
virtual_machine_input |
NotebooksRuntimeVirtualMachine |
No description. |
id |
str |
No description. |
labels |
typing.Mapping[str] |
No description. |
location |
str |
No description. |
name |
str |
No description. |
project |
str |
No description. |
node: Node
- Type: constructs.Node
The tree node.
cdktf_stack: TerraformStack
- Type: cdktf.TerraformStack
fqn: str
- Type: str
friendly_unique_id: str
- Type: str
terraform_meta_arguments: typing.Mapping[typing.Any]
- Type: typing.Mapping[typing.Any]
terraform_resource_type: str
- Type: str
terraform_generator_metadata: TerraformProviderGeneratorMetadata
- Type: cdktf.TerraformProviderGeneratorMetadata
connection: typing.Union[SSHProvisionerConnection, WinrmProvisionerConnection]
- Type: typing.Union[cdktf.SSHProvisionerConnection, cdktf.WinrmProvisionerConnection]
count: typing.Union[typing.Union[int, float], TerraformCount]
- Type: typing.Union[typing.Union[int, float], cdktf.TerraformCount]
depends_on: typing.List[str]
- Type: typing.List[str]
for_each: ITerraformIterator
- Type: cdktf.ITerraformIterator
lifecycle: TerraformResourceLifecycle
- Type: cdktf.TerraformResourceLifecycle
provider: TerraformProvider
- Type: cdktf.TerraformProvider
provisioners: typing.List[typing.Union[FileProvisioner, LocalExecProvisioner, RemoteExecProvisioner]]
- Type: typing.List[typing.Union[cdktf.FileProvisioner, cdktf.LocalExecProvisioner, cdktf.RemoteExecProvisioner]]
access_config: NotebooksRuntimeAccessConfigOutputReference
effective_labels: StringMap
- Type: cdktf.StringMap
health_state: str
- Type: str
metrics: NotebooksRuntimeMetricsList
software_config: NotebooksRuntimeSoftwareConfigOutputReference
state: str
- Type: str
terraform_labels: StringMap
- Type: cdktf.StringMap
timeouts: NotebooksRuntimeTimeoutsOutputReference
virtual_machine: NotebooksRuntimeVirtualMachineOutputReference
access_config_input: NotebooksRuntimeAccessConfig
id_input: str
- Type: str
labels_input: typing.Mapping[str]
- Type: typing.Mapping[str]
location_input: str
- Type: str
name_input: str
- Type: str
project_input: str
- Type: str
software_config_input: NotebooksRuntimeSoftwareConfig
timeouts_input: typing.Union[IResolvable, NotebooksRuntimeTimeouts]
- Type: typing.Union[cdktf.IResolvable, NotebooksRuntimeTimeouts]
virtual_machine_input: NotebooksRuntimeVirtualMachine
id: str
- Type: str
labels: typing.Mapping[str]
- Type: typing.Mapping[str]
location: str
- Type: str
name: str
- Type: str
project: str
- Type: str
Name | Type | Description |
---|---|---|
tfResourceType |
str |
No description. |
tfResourceType: str
- Type: str
from cdktf_cdktf_provider_google import notebooks_runtime
notebooksRuntime.NotebooksRuntimeAccessConfig(
access_type: str = None,
runtime_owner: str = None
)
Name | Type | Description |
---|---|---|
access_type |
str |
The type of access mode this instance. For valid values, see 'https://cloud.google.com/vertex-ai/docs/workbench/reference/ rest/v1/projects.locations.runtimes#RuntimeAccessType'. |
runtime_owner |
str |
The owner of this runtime after creation. Format: 'alias@example.com'. Currently supports one owner only. |
access_type: str
- Type: str
The type of access mode this instance. For valid values, see 'https://cloud.google.com/vertex-ai/docs/workbench/reference/ rest/v1/projects.locations.runtimes#RuntimeAccessType'.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#access_type NotebooksRuntime#access_type}
runtime_owner: str
- Type: str
The owner of this runtime after creation. Format: 'alias@example.com'. Currently supports one owner only.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#runtime_owner NotebooksRuntime#runtime_owner}
from cdktf_cdktf_provider_google import notebooks_runtime
notebooksRuntime.NotebooksRuntimeConfig(
connection: typing.Union[SSHProvisionerConnection, WinrmProvisionerConnection] = None,
count: typing.Union[typing.Union[int, float], TerraformCount] = None,
depends_on: typing.List[ITerraformDependable] = None,
for_each: ITerraformIterator = None,
lifecycle: TerraformResourceLifecycle = None,
provider: TerraformProvider = None,
provisioners: typing.List[typing.Union[FileProvisioner, LocalExecProvisioner, RemoteExecProvisioner]] = None,
location: str,
name: str,
access_config: NotebooksRuntimeAccessConfig = None,
id: str = None,
labels: typing.Mapping[str] = None,
project: str = None,
software_config: NotebooksRuntimeSoftwareConfig = None,
timeouts: NotebooksRuntimeTimeouts = None,
virtual_machine: NotebooksRuntimeVirtualMachine = None
)
Name | Type | Description |
---|---|---|
connection |
typing.Union[cdktf.SSHProvisionerConnection, cdktf.WinrmProvisionerConnection] |
No description. |
count |
typing.Union[typing.Union[int, float], cdktf.TerraformCount] |
No description. |
depends_on |
typing.List[cdktf.ITerraformDependable] |
No description. |
for_each |
cdktf.ITerraformIterator |
No description. |
lifecycle |
cdktf.TerraformResourceLifecycle |
No description. |
provider |
cdktf.TerraformProvider |
No description. |
provisioners |
typing.List[typing.Union[cdktf.FileProvisioner, cdktf.LocalExecProvisioner, cdktf.RemoteExecProvisioner]] |
No description. |
location |
str |
A reference to the zone where the machine resides. |
name |
str |
The name specified for the Notebook runtime. |
access_config |
NotebooksRuntimeAccessConfig |
access_config block. |
id |
str |
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#id NotebooksRuntime#id}. |
labels |
typing.Mapping[str] |
The labels to associate with this runtime. |
project |
str |
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#project NotebooksRuntime#project}. |
software_config |
NotebooksRuntimeSoftwareConfig |
software_config block. |
timeouts |
NotebooksRuntimeTimeouts |
timeouts block. |
virtual_machine |
NotebooksRuntimeVirtualMachine |
virtual_machine block. |
connection: typing.Union[SSHProvisionerConnection, WinrmProvisionerConnection]
- Type: typing.Union[cdktf.SSHProvisionerConnection, cdktf.WinrmProvisionerConnection]
count: typing.Union[typing.Union[int, float], TerraformCount]
- Type: typing.Union[typing.Union[int, float], cdktf.TerraformCount]
depends_on: typing.List[ITerraformDependable]
- Type: typing.List[cdktf.ITerraformDependable]
for_each: ITerraformIterator
- Type: cdktf.ITerraformIterator
lifecycle: TerraformResourceLifecycle
- Type: cdktf.TerraformResourceLifecycle
provider: TerraformProvider
- Type: cdktf.TerraformProvider
provisioners: typing.List[typing.Union[FileProvisioner, LocalExecProvisioner, RemoteExecProvisioner]]
- Type: typing.List[typing.Union[cdktf.FileProvisioner, cdktf.LocalExecProvisioner, cdktf.RemoteExecProvisioner]]
location: str
- Type: str
A reference to the zone where the machine resides.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#location NotebooksRuntime#location}
name: str
- Type: str
The name specified for the Notebook runtime.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#name NotebooksRuntime#name}
access_config: NotebooksRuntimeAccessConfig
access_config block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#access_config NotebooksRuntime#access_config}
id: str
- Type: str
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#id NotebooksRuntime#id}.
Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
labels: typing.Mapping[str]
- Type: typing.Mapping[str]
The labels to associate with this runtime.
Label keys must contain 1 to 63 characters, and must conform to [RFC 1035] (https://www.ietf.org/rfc/rfc1035.txt). 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.
Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#labels NotebooksRuntime#labels}
project: str
- Type: str
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#project NotebooksRuntime#project}.
software_config: NotebooksRuntimeSoftwareConfig
software_config block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#software_config NotebooksRuntime#software_config}
timeouts: NotebooksRuntimeTimeouts
- Type: NotebooksRuntimeTimeouts
timeouts block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#timeouts NotebooksRuntime#timeouts}
virtual_machine: NotebooksRuntimeVirtualMachine
virtual_machine block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#virtual_machine NotebooksRuntime#virtual_machine}
from cdktf_cdktf_provider_google import notebooks_runtime
notebooksRuntime.NotebooksRuntimeMetrics()
from cdktf_cdktf_provider_google import notebooks_runtime
notebooksRuntime.NotebooksRuntimeSoftwareConfig(
custom_gpu_driver_path: str = None,
enable_health_monitoring: typing.Union[bool, IResolvable] = None,
idle_shutdown: typing.Union[bool, IResolvable] = None,
idle_shutdown_timeout: typing.Union[int, float] = None,
install_gpu_driver: typing.Union[bool, IResolvable] = None,
kernels: typing.Union[IResolvable, typing.List[NotebooksRuntimeSoftwareConfigKernels]] = None,
notebook_upgrade_schedule: str = None,
post_startup_script: str = None,
post_startup_script_behavior: str = None
)
Name | Type | Description |
---|---|---|
custom_gpu_driver_path |
str |
Specify a custom Cloud Storage path where the GPU driver is stored. |
enable_health_monitoring |
typing.Union[bool, cdktf.IResolvable] |
Verifies core internal services are running. Default: True. |
idle_shutdown |
typing.Union[bool, cdktf.IResolvable] |
Runtime will automatically shutdown after idle_shutdown_time. Default: True. |
idle_shutdown_timeout |
typing.Union[int, float] |
Time in minutes to wait before shuting down runtime. Default: 180 minutes. |
install_gpu_driver |
typing.Union[bool, cdktf.IResolvable] |
Install Nvidia Driver automatically. |
kernels |
typing.Union[cdktf.IResolvable, typing.List[NotebooksRuntimeSoftwareConfigKernels]] |
kernels block. |
notebook_upgrade_schedule |
str |
Cron expression in UTC timezone for schedule instance auto upgrade. Please follow the cron format. |
post_startup_script |
str |
Path to a Bash script that automatically runs after a notebook instance fully boots up. |
post_startup_script_behavior |
str |
Behavior for the post startup script. Possible values: ["POST_STARTUP_SCRIPT_BEHAVIOR_UNSPECIFIED", "RUN_EVERY_START", "DOWNLOAD_AND_RUN_EVERY_START"]. |
custom_gpu_driver_path: str
- Type: str
Specify a custom Cloud Storage path where the GPU driver is stored.
If not specified, we'll automatically choose from official GPU drivers.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#custom_gpu_driver_path NotebooksRuntime#custom_gpu_driver_path}
enable_health_monitoring: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
Verifies core internal services are running. Default: True.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#enable_health_monitoring NotebooksRuntime#enable_health_monitoring}
idle_shutdown: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
Runtime will automatically shutdown after idle_shutdown_time. Default: True.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#idle_shutdown NotebooksRuntime#idle_shutdown}
idle_shutdown_timeout: typing.Union[int, float]
- Type: typing.Union[int, float]
Time in minutes to wait before shuting down runtime. Default: 180 minutes.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#idle_shutdown_timeout NotebooksRuntime#idle_shutdown_timeout}
install_gpu_driver: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
Install Nvidia Driver automatically.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#install_gpu_driver NotebooksRuntime#install_gpu_driver}
kernels: typing.Union[IResolvable, typing.List[NotebooksRuntimeSoftwareConfigKernels]]
- Type: typing.Union[cdktf.IResolvable, typing.List[NotebooksRuntimeSoftwareConfigKernels]]
kernels block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#kernels NotebooksRuntime#kernels}
notebook_upgrade_schedule: str
- Type: str
Cron expression in UTC timezone for schedule instance auto upgrade. Please follow the cron format.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#notebook_upgrade_schedule NotebooksRuntime#notebook_upgrade_schedule}
post_startup_script: str
- Type: str
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).
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#post_startup_script NotebooksRuntime#post_startup_script}
post_startup_script_behavior: str
- Type: str
Behavior for the post startup script. Possible values: ["POST_STARTUP_SCRIPT_BEHAVIOR_UNSPECIFIED", "RUN_EVERY_START", "DOWNLOAD_AND_RUN_EVERY_START"].
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#post_startup_script_behavior NotebooksRuntime#post_startup_script_behavior}
from cdktf_cdktf_provider_google import notebooks_runtime
notebooksRuntime.NotebooksRuntimeSoftwareConfigKernels(
repository: str,
tag: str = None
)
Name | Type | Description |
---|---|---|
repository |
str |
The path to the container image repository. For example: gcr.io/{project_id}/{imageName}. |
tag |
str |
The tag of the container image. If not specified, this defaults to the latest tag. |
repository: str
- Type: str
The path to the container image repository. For example: gcr.io/{project_id}/{imageName}.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#repository NotebooksRuntime#repository}
tag: str
- Type: str
The tag of the container image. If not specified, this defaults to the latest tag.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#tag NotebooksRuntime#tag}
from cdktf_cdktf_provider_google import notebooks_runtime
notebooksRuntime.NotebooksRuntimeTimeouts(
create: str = None,
delete: str = None,
update: str = None
)
Name | Type | Description |
---|---|---|
create |
str |
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#create NotebooksRuntime#create}. |
delete |
str |
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#delete NotebooksRuntime#delete}. |
update |
str |
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#update NotebooksRuntime#update}. |
create: str
- Type: str
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#create NotebooksRuntime#create}.
delete: str
- Type: str
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#delete NotebooksRuntime#delete}.
update: str
- Type: str
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#update NotebooksRuntime#update}.
from cdktf_cdktf_provider_google import notebooks_runtime
notebooksRuntime.NotebooksRuntimeVirtualMachine(
virtual_machine_config: NotebooksRuntimeVirtualMachineVirtualMachineConfig = None
)
Name | Type | Description |
---|---|---|
virtual_machine_config |
NotebooksRuntimeVirtualMachineVirtualMachineConfig |
virtual_machine_config block. |
virtual_machine_config: NotebooksRuntimeVirtualMachineVirtualMachineConfig
virtual_machine_config block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#virtual_machine_config NotebooksRuntime#virtual_machine_config}
from cdktf_cdktf_provider_google import notebooks_runtime
notebooksRuntime.NotebooksRuntimeVirtualMachineVirtualMachineConfig(
data_disk: NotebooksRuntimeVirtualMachineVirtualMachineConfigDataDisk,
machine_type: str,
accelerator_config: NotebooksRuntimeVirtualMachineVirtualMachineConfigAcceleratorConfig = None,
container_images: typing.Union[IResolvable, typing.List[NotebooksRuntimeVirtualMachineVirtualMachineConfigContainerImages]] = None,
encryption_config: NotebooksRuntimeVirtualMachineVirtualMachineConfigEncryptionConfig = None,
internal_ip_only: typing.Union[bool, IResolvable] = None,
labels: typing.Mapping[str] = None,
metadata: typing.Mapping[str] = None,
network: str = None,
nic_type: str = None,
reserved_ip_range: str = None,
shielded_instance_config: NotebooksRuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfig = None,
subnet: str = None,
tags: typing.List[str] = None
)
Name | Type | Description |
---|---|---|
data_disk |
NotebooksRuntimeVirtualMachineVirtualMachineConfigDataDisk |
data_disk block. |
machine_type |
str |
The Compute Engine machine type used for runtimes. |
accelerator_config |
NotebooksRuntimeVirtualMachineVirtualMachineConfigAcceleratorConfig |
accelerator_config block. |
container_images |
typing.Union[cdktf.IResolvable, typing.List[NotebooksRuntimeVirtualMachineVirtualMachineConfigContainerImages]] |
container_images block. |
encryption_config |
NotebooksRuntimeVirtualMachineVirtualMachineConfigEncryptionConfig |
encryption_config block. |
internal_ip_only |
typing.Union[bool, cdktf.IResolvable] |
If true, runtime will only have internal IP addresses. |
labels |
typing.Mapping[str] |
The labels to associate with this runtime. |
metadata |
typing.Mapping[str] |
The Compute Engine metadata entries to add to virtual machine. (see [Project and instance metadata](https://cloud.google.com /compute/docs/storing-retrieving-metadata#project_and_instance _metadata)). |
network |
str |
The Compute Engine network to be used for machine communications. |
nic_type |
str |
The type of vNIC to be used on this interface. |
reserved_ip_range |
str |
Reserved IP Range name is used for VPC Peering. The subnetwork allocation will use the range name if it's assigned. |
shielded_instance_config |
NotebooksRuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfig |
shielded_instance_config block. |
subnet |
str |
The Compute Engine subnetwork to be used for machine communications. |
tags |
typing.List[str] |
The Compute Engine tags to add to runtime (see [Tagging instances] (https://cloud.google.com/compute/docs/ label-or-tag-resources#tags)). |
data_disk: NotebooksRuntimeVirtualMachineVirtualMachineConfigDataDisk
data_disk block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#data_disk NotebooksRuntime#data_disk}
machine_type: str
- Type: str
The Compute Engine machine type used for runtimes.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#machine_type NotebooksRuntime#machine_type}
accelerator_config: NotebooksRuntimeVirtualMachineVirtualMachineConfigAcceleratorConfig
accelerator_config block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#accelerator_config NotebooksRuntime#accelerator_config}
container_images: typing.Union[IResolvable, typing.List[NotebooksRuntimeVirtualMachineVirtualMachineConfigContainerImages]]
- Type: typing.Union[cdktf.IResolvable, typing.List[NotebooksRuntimeVirtualMachineVirtualMachineConfigContainerImages]]
container_images block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#container_images NotebooksRuntime#container_images}
encryption_config: NotebooksRuntimeVirtualMachineVirtualMachineConfigEncryptionConfig
encryption_config block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#encryption_config NotebooksRuntime#encryption_config}
internal_ip_only: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
If true, runtime will only have internal IP addresses.
By default, runtimes are not restricted to internal IP addresses, and will have ephemeral external IP addresses assigned to each vm. This 'internal_ip_only' restriction can only be enabled for subnetwork enabled networks, and all dependencies must be configured to be accessible without external IP addresses.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#internal_ip_only NotebooksRuntime#internal_ip_only}
labels: typing.Mapping[str]
- Type: typing.Mapping[str]
The labels to associate with this runtime.
Label keys must contain 1 to 63 characters, and must conform to [RFC 1035] (https://www.ietf.org/rfc/rfc1035.txt). 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.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#labels NotebooksRuntime#labels}
metadata: typing.Mapping[str]
- Type: typing.Mapping[str]
The Compute Engine metadata entries to add to virtual machine. (see [Project and instance metadata](https://cloud.google.com /compute/docs/storing-retrieving-metadata#project_and_instance _metadata)).
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#metadata NotebooksRuntime#metadata}
network: str
- Type: str
The Compute Engine network to be used for machine communications.
Cannot be specified with subnetwork. If neither 'network' nor 'subnet' is specified, the "default" network of the project is used, if it exists. A full URL or partial URI. Examples:
- 'https://www.googleapis.com/compute/v1/projects/[project_id]/ regions/global/default'
- 'projects/[project_id]/regions/global/default' Runtimes are managed resources inside Google Infrastructure. Runtimes support the following network configurations:
- Google Managed Network (Network & subnet are empty)
- Consumer Project VPC (network & subnet are required). Requires configuring Private Service Access.
- Shared VPC (network & subnet are required). Requires configuring Private Service Access.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#network NotebooksRuntime#network}
nic_type: str
- Type: str
The type of vNIC to be used on this interface.
This may be gVNIC or VirtioNet. Possible values: ["UNSPECIFIED_NIC_TYPE", "VIRTIO_NET", "GVNIC"]
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#nic_type NotebooksRuntime#nic_type}
reserved_ip_range: str
- Type: str
Reserved IP Range name is used for VPC Peering. The subnetwork allocation will use the range name if it's assigned.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#reserved_ip_range NotebooksRuntime#reserved_ip_range}
shielded_instance_config: NotebooksRuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfig
shielded_instance_config block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#shielded_instance_config NotebooksRuntime#shielded_instance_config}
subnet: str
- Type: str
The Compute Engine subnetwork to be used for machine communications.
Cannot be specified with network. A full URL or partial URI are valid. Examples:
- 'https://www.googleapis.com/compute/v1/projects/[project_id]/ regions/us-east1/subnetworks/sub0'
- 'projects/[project_id]/regions/us-east1/subnetworks/sub0'
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#subnet NotebooksRuntime#subnet}
tags: typing.List[str]
- Type: typing.List[str]
The Compute Engine tags to add to runtime (see [Tagging instances] (https://cloud.google.com/compute/docs/ label-or-tag-resources#tags)).
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#tags NotebooksRuntime#tags}
from cdktf_cdktf_provider_google import notebooks_runtime
notebooksRuntime.NotebooksRuntimeVirtualMachineVirtualMachineConfigAcceleratorConfig(
core_count: typing.Union[int, float] = None,
type: str = None
)
Name | Type | Description |
---|---|---|
core_count |
typing.Union[int, float] |
Count of cores of this accelerator. |
type |
str |
Accelerator model. For valid values, see 'https://cloud.google.com/vertex-ai/docs/workbench/reference/ rest/v1/projects.locations.runtimes#AcceleratorType'. |
core_count: typing.Union[int, float]
- Type: typing.Union[int, float]
Count of cores of this accelerator.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#core_count NotebooksRuntime#core_count}
type: str
- Type: str
Accelerator model. For valid values, see 'https://cloud.google.com/vertex-ai/docs/workbench/reference/ rest/v1/projects.locations.runtimes#AcceleratorType'.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#type NotebooksRuntime#type}
from cdktf_cdktf_provider_google import notebooks_runtime
notebooksRuntime.NotebooksRuntimeVirtualMachineVirtualMachineConfigContainerImages(
repository: str,
tag: str = None
)
Name | Type | Description |
---|---|---|
repository |
str |
The path to the container image repository. For example: gcr.io/{project_id}/{imageName}. |
tag |
str |
The tag of the container image. If not specified, this defaults to the latest tag. |
repository: str
- Type: str
The path to the container image repository. For example: gcr.io/{project_id}/{imageName}.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#repository NotebooksRuntime#repository}
tag: str
- Type: str
The tag of the container image. If not specified, this defaults to the latest tag.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#tag NotebooksRuntime#tag}
from cdktf_cdktf_provider_google import notebooks_runtime
notebooksRuntime.NotebooksRuntimeVirtualMachineVirtualMachineConfigDataDisk(
initialize_params: NotebooksRuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParams = None,
interface: str = None,
mode: str = None,
source: str = None,
type: str = None
)
Name | Type | Description |
---|---|---|
initialize_params |
NotebooksRuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParams |
initialize_params block. |
interface |
str |
"Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. |
mode |
str |
The mode in which to attach this disk, either READ_WRITE or READ_ONLY. |
source |
str |
Specifies a valid partial or full URL to an existing Persistent Disk resource. |
type |
str |
Specifies the type of the disk, either SCRATCH or PERSISTENT. If not specified, the default is PERSISTENT. |
initialize_params: NotebooksRuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParams
initialize_params block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#initialize_params NotebooksRuntime#initialize_params}
interface: str
- Type: str
"Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME.
The default is SCSI. Persistent disks must always use SCSI and the request will fail if you attempt to attach a persistent disk in any other format than SCSI. Local SSDs can use either NVME or SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance. Valid values: * NVME * SCSI".
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#interface NotebooksRuntime#interface}
mode: str
- Type: str
The mode in which to attach this disk, either READ_WRITE or READ_ONLY.
If not specified, the default is to attach the disk in READ_WRITE mode.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#mode NotebooksRuntime#mode}
source: str
- Type: str
Specifies a valid partial or full URL to an existing Persistent Disk resource.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#source NotebooksRuntime#source}
type: str
- Type: str
Specifies the type of the disk, either SCRATCH or PERSISTENT. If not specified, the default is PERSISTENT.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#type NotebooksRuntime#type}
from cdktf_cdktf_provider_google import notebooks_runtime
notebooksRuntime.NotebooksRuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParams(
description: str = None,
disk_name: str = None,
disk_size_gb: typing.Union[int, float] = None,
disk_type: str = None,
labels: typing.Mapping[str] = None
)
Name | Type | Description |
---|---|---|
description |
str |
Provide this property when creating the disk. |
disk_name |
str |
Specifies the disk name. |
disk_size_gb |
typing.Union[int, float] |
Specifies the size of the disk in base-2 GB. |
disk_type |
str |
The type of the boot disk attached to this runtime, defaults to standard persistent disk. For valid values, see 'https://cloud.google.com/vertex-ai/docs/workbench/ reference/rest/v1/projects.locations.runtimes#disktype'. |
labels |
typing.Mapping[str] |
Labels to apply to this disk. |
description: str
- Type: str
Provide this property when creating the disk.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#description NotebooksRuntime#description}
disk_name: str
- Type: str
Specifies the disk name.
If not specified, the default is to use the name of the instance. If the disk with the instance name exists already in the given zone/region, a new name will be automatically generated.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#disk_name NotebooksRuntime#disk_name}
disk_size_gb: typing.Union[int, float]
- Type: typing.Union[int, float]
Specifies the size of the disk in base-2 GB.
If not specified, the disk will be the same size as the image (usually 10GB). If specified, the size must be equal to or larger than 10GB. Default 100 GB.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#disk_size_gb NotebooksRuntime#disk_size_gb}
disk_type: str
- Type: str
The type of the boot disk attached to this runtime, defaults to standard persistent disk. For valid values, see 'https://cloud.google.com/vertex-ai/docs/workbench/ reference/rest/v1/projects.locations.runtimes#disktype'.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#disk_type NotebooksRuntime#disk_type}
labels: typing.Mapping[str]
- Type: typing.Mapping[str]
Labels to apply to this disk.
These can be later modified by the disks.setLabels method. This field is only applicable for persistent disks.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#labels NotebooksRuntime#labels}
from cdktf_cdktf_provider_google import notebooks_runtime
notebooksRuntime.NotebooksRuntimeVirtualMachineVirtualMachineConfigEncryptionConfig(
kms_key: str = None
)
Name | Type | Description |
---|---|---|
kms_key |
str |
The Cloud KMS resource identifier of the customer-managed encryption key used to protect a resource, such as a disks. |
kms_key: str
- Type: str
The Cloud KMS resource identifier of the customer-managed encryption key used to protect a resource, such as a disks.
It has the following format: 'projects/{PROJECT_ID}/locations/{REGION}/keyRings/ {KEY_RING_NAME}/cryptoKeys/{KEY_NAME}'
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#kms_key NotebooksRuntime#kms_key}
from cdktf_cdktf_provider_google import notebooks_runtime
notebooksRuntime.NotebooksRuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfig(
enable_integrity_monitoring: typing.Union[bool, IResolvable] = None,
enable_secure_boot: typing.Union[bool, IResolvable] = None,
enable_vtpm: typing.Union[bool, IResolvable] = None
)
Name | Type | Description |
---|---|---|
enable_integrity_monitoring |
typing.Union[bool, cdktf.IResolvable] |
Defines whether the instance has integrity monitoring enabled. |
enable_secure_boot |
typing.Union[bool, cdktf.IResolvable] |
Defines whether the instance has Secure Boot enabled.Secure Boot helps ensure that the system only runs authentic software by verifying the digital signature of all boot components, and halting the boot process if signature verification fails. Disabled by default. |
enable_vtpm |
typing.Union[bool, cdktf.IResolvable] |
Defines whether the instance has the vTPM enabled. Enabled by default. |
enable_integrity_monitoring: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
Defines whether the instance has integrity monitoring enabled.
Enables monitoring and attestation of the boot integrity of the instance. The attestation is performed against the integrity policy baseline. This baseline is initially derived from the implicitly trusted boot image when the instance is created. Enabled by default.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#enable_integrity_monitoring NotebooksRuntime#enable_integrity_monitoring}
enable_secure_boot: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
Defines whether the instance has Secure Boot enabled.Secure Boot helps ensure that the system only runs authentic software by verifying the digital signature of all boot components, and halting the boot process if signature verification fails. Disabled by default.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#enable_secure_boot NotebooksRuntime#enable_secure_boot}
enable_vtpm: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
Defines whether the instance has the vTPM enabled. Enabled by default.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#enable_vtpm NotebooksRuntime#enable_vtpm}
from cdktf_cdktf_provider_google import notebooks_runtime
notebooksRuntime.NotebooksRuntimeAccessConfigOutputReference(
terraform_resource: IInterpolatingParent,
terraform_attribute: str
)
Name | Type | Description |
---|---|---|
terraform_resource |
cdktf.IInterpolatingParent |
The parent resource. |
terraform_attribute |
str |
The attribute on the parent resource this class is referencing. |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
Name | Description |
---|---|
compute_fqn |
No description. |
get_any_map_attribute |
No description. |
get_boolean_attribute |
No description. |
get_boolean_map_attribute |
No description. |
get_list_attribute |
No description. |
get_number_attribute |
No description. |
get_number_list_attribute |
No description. |
get_number_map_attribute |
No description. |
get_string_attribute |
No description. |
get_string_map_attribute |
No description. |
interpolation_for_attribute |
No description. |
resolve |
Produce the Token's value at resolution time. |
to_string |
Return a string representation of this resolvable object. |
reset_access_type |
No description. |
reset_runtime_owner |
No description. |
def compute_fqn() -> str
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def interpolation_for_attribute(
property: str
) -> IResolvable
- Type: str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
def reset_access_type() -> None
def reset_runtime_owner() -> None
Name | Type | Description |
---|---|---|
creation_stack |
typing.List[str] |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
fqn |
str |
No description. |
proxy_uri |
str |
No description. |
access_type_input |
str |
No description. |
runtime_owner_input |
str |
No description. |
access_type |
str |
No description. |
runtime_owner |
str |
No description. |
internal_value |
NotebooksRuntimeAccessConfig |
No description. |
creation_stack: typing.List[str]
- Type: typing.List[str]
The creation stack of this resolvable which will be appended to errors thrown during resolution.
If this returns an empty array the stack will not be attached.
fqn: str
- Type: str
proxy_uri: str
- Type: str
access_type_input: str
- Type: str
runtime_owner_input: str
- Type: str
access_type: str
- Type: str
runtime_owner: str
- Type: str
internal_value: NotebooksRuntimeAccessConfig
from cdktf_cdktf_provider_google import notebooks_runtime
notebooksRuntime.NotebooksRuntimeMetricsList(
terraform_resource: IInterpolatingParent,
terraform_attribute: str,
wraps_set: bool
)
Name | Type | Description |
---|---|---|
terraform_resource |
cdktf.IInterpolatingParent |
The parent resource. |
terraform_attribute |
str |
The attribute on the parent resource this class is referencing. |
wraps_set |
bool |
whether the list is wrapping a set (will add tolist() to be able to access an item via an index). |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
- Type: bool
whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
Name | Description |
---|---|
all_with_map_key |
Creating an iterator for this complex list. |
compute_fqn |
No description. |
resolve |
Produce the Token's value at resolution time. |
to_string |
Return a string representation of this resolvable object. |
get |
No description. |
def all_with_map_key(
map_key_attribute_name: str
) -> DynamicListTerraformIterator
Creating an iterator for this complex list.
The list will be converted into a map with the mapKeyAttributeName as the key.
- Type: str
def compute_fqn() -> str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
def get(
index: typing.Union[int, float]
) -> NotebooksRuntimeMetricsOutputReference
- Type: typing.Union[int, float]
the index of the item to return.
Name | Type | Description |
---|---|---|
creation_stack |
typing.List[str] |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
fqn |
str |
No description. |
creation_stack: typing.List[str]
- Type: typing.List[str]
The creation stack of this resolvable which will be appended to errors thrown during resolution.
If this returns an empty array the stack will not be attached.
fqn: str
- Type: str
from cdktf_cdktf_provider_google import notebooks_runtime
notebooksRuntime.NotebooksRuntimeMetricsOutputReference(
terraform_resource: IInterpolatingParent,
terraform_attribute: str,
complex_object_index: typing.Union[int, float],
complex_object_is_from_set: bool
)
Name | Type | Description |
---|---|---|
terraform_resource |
cdktf.IInterpolatingParent |
The parent resource. |
terraform_attribute |
str |
The attribute on the parent resource this class is referencing. |
complex_object_index |
typing.Union[int, float] |
the index of this item in the list. |
complex_object_is_from_set |
bool |
whether the list is wrapping a set (will add tolist() to be able to access an item via an index). |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
- Type: typing.Union[int, float]
the index of this item in the list.
- Type: bool
whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
Name | Description |
---|---|
compute_fqn |
No description. |
get_any_map_attribute |
No description. |
get_boolean_attribute |
No description. |
get_boolean_map_attribute |
No description. |
get_list_attribute |
No description. |
get_number_attribute |
No description. |
get_number_list_attribute |
No description. |
get_number_map_attribute |
No description. |
get_string_attribute |
No description. |
get_string_map_attribute |
No description. |
interpolation_for_attribute |
No description. |
resolve |
Produce the Token's value at resolution time. |
to_string |
Return a string representation of this resolvable object. |
def compute_fqn() -> str
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def interpolation_for_attribute(
property: str
) -> IResolvable
- Type: str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
Name | Type | Description |
---|---|---|
creation_stack |
typing.List[str] |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
fqn |
str |
No description. |
system_metrics |
cdktf.StringMap |
No description. |
internal_value |
NotebooksRuntimeMetrics |
No description. |
creation_stack: typing.List[str]
- Type: typing.List[str]
The creation stack of this resolvable which will be appended to errors thrown during resolution.
If this returns an empty array the stack will not be attached.
fqn: str
- Type: str
system_metrics: StringMap
- Type: cdktf.StringMap
internal_value: NotebooksRuntimeMetrics
- Type: NotebooksRuntimeMetrics
from cdktf_cdktf_provider_google import notebooks_runtime
notebooksRuntime.NotebooksRuntimeSoftwareConfigKernelsList(
terraform_resource: IInterpolatingParent,
terraform_attribute: str,
wraps_set: bool
)
Name | Type | Description |
---|---|---|
terraform_resource |
cdktf.IInterpolatingParent |
The parent resource. |
terraform_attribute |
str |
The attribute on the parent resource this class is referencing. |
wraps_set |
bool |
whether the list is wrapping a set (will add tolist() to be able to access an item via an index). |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
- Type: bool
whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
Name | Description |
---|---|
all_with_map_key |
Creating an iterator for this complex list. |
compute_fqn |
No description. |
resolve |
Produce the Token's value at resolution time. |
to_string |
Return a string representation of this resolvable object. |
get |
No description. |
def all_with_map_key(
map_key_attribute_name: str
) -> DynamicListTerraformIterator
Creating an iterator for this complex list.
The list will be converted into a map with the mapKeyAttributeName as the key.
- Type: str
def compute_fqn() -> str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
def get(
index: typing.Union[int, float]
) -> NotebooksRuntimeSoftwareConfigKernelsOutputReference
- Type: typing.Union[int, float]
the index of the item to return.
Name | Type | Description |
---|---|---|
creation_stack |
typing.List[str] |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
fqn |
str |
No description. |
internal_value |
typing.Union[cdktf.IResolvable, typing.List[NotebooksRuntimeSoftwareConfigKernels]] |
No description. |
creation_stack: typing.List[str]
- Type: typing.List[str]
The creation stack of this resolvable which will be appended to errors thrown during resolution.
If this returns an empty array the stack will not be attached.
fqn: str
- Type: str
internal_value: typing.Union[IResolvable, typing.List[NotebooksRuntimeSoftwareConfigKernels]]
- Type: typing.Union[cdktf.IResolvable, typing.List[NotebooksRuntimeSoftwareConfigKernels]]
from cdktf_cdktf_provider_google import notebooks_runtime
notebooksRuntime.NotebooksRuntimeSoftwareConfigKernelsOutputReference(
terraform_resource: IInterpolatingParent,
terraform_attribute: str,
complex_object_index: typing.Union[int, float],
complex_object_is_from_set: bool
)
Name | Type | Description |
---|---|---|
terraform_resource |
cdktf.IInterpolatingParent |
The parent resource. |
terraform_attribute |
str |
The attribute on the parent resource this class is referencing. |
complex_object_index |
typing.Union[int, float] |
the index of this item in the list. |
complex_object_is_from_set |
bool |
whether the list is wrapping a set (will add tolist() to be able to access an item via an index). |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
- Type: typing.Union[int, float]
the index of this item in the list.
- Type: bool
whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
Name | Description |
---|---|
compute_fqn |
No description. |
get_any_map_attribute |
No description. |
get_boolean_attribute |
No description. |
get_boolean_map_attribute |
No description. |
get_list_attribute |
No description. |
get_number_attribute |
No description. |
get_number_list_attribute |
No description. |
get_number_map_attribute |
No description. |
get_string_attribute |
No description. |
get_string_map_attribute |
No description. |
interpolation_for_attribute |
No description. |
resolve |
Produce the Token's value at resolution time. |
to_string |
Return a string representation of this resolvable object. |
reset_tag |
No description. |
def compute_fqn() -> str
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def interpolation_for_attribute(
property: str
) -> IResolvable
- Type: str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
def reset_tag() -> None
Name | Type | Description |
---|---|---|
creation_stack |
typing.List[str] |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
fqn |
str |
No description. |
repository_input |
str |
No description. |
tag_input |
str |
No description. |
repository |
str |
No description. |
tag |
str |
No description. |
internal_value |
typing.Union[cdktf.IResolvable, NotebooksRuntimeSoftwareConfigKernels] |
No description. |
creation_stack: typing.List[str]
- Type: typing.List[str]
The creation stack of this resolvable which will be appended to errors thrown during resolution.
If this returns an empty array the stack will not be attached.
fqn: str
- Type: str
repository_input: str
- Type: str
tag_input: str
- Type: str
repository: str
- Type: str
tag: str
- Type: str
internal_value: typing.Union[IResolvable, NotebooksRuntimeSoftwareConfigKernels]
- Type: typing.Union[cdktf.IResolvable, NotebooksRuntimeSoftwareConfigKernels]
from cdktf_cdktf_provider_google import notebooks_runtime
notebooksRuntime.NotebooksRuntimeSoftwareConfigOutputReference(
terraform_resource: IInterpolatingParent,
terraform_attribute: str
)
Name | Type | Description |
---|---|---|
terraform_resource |
cdktf.IInterpolatingParent |
The parent resource. |
terraform_attribute |
str |
The attribute on the parent resource this class is referencing. |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
Name | Description |
---|---|
compute_fqn |
No description. |
get_any_map_attribute |
No description. |
get_boolean_attribute |
No description. |
get_boolean_map_attribute |
No description. |
get_list_attribute |
No description. |
get_number_attribute |
No description. |
get_number_list_attribute |
No description. |
get_number_map_attribute |
No description. |
get_string_attribute |
No description. |
get_string_map_attribute |
No description. |
interpolation_for_attribute |
No description. |
resolve |
Produce the Token's value at resolution time. |
to_string |
Return a string representation of this resolvable object. |
put_kernels |
No description. |
reset_custom_gpu_driver_path |
No description. |
reset_enable_health_monitoring |
No description. |
reset_idle_shutdown |
No description. |
reset_idle_shutdown_timeout |
No description. |
reset_install_gpu_driver |
No description. |
reset_kernels |
No description. |
reset_notebook_upgrade_schedule |
No description. |
reset_post_startup_script |
No description. |
reset_post_startup_script_behavior |
No description. |
def compute_fqn() -> str
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def interpolation_for_attribute(
property: str
) -> IResolvable
- Type: str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
def put_kernels(
value: typing.Union[IResolvable, typing.List[NotebooksRuntimeSoftwareConfigKernels]]
) -> None
- Type: typing.Union[cdktf.IResolvable, typing.List[NotebooksRuntimeSoftwareConfigKernels]]
def reset_custom_gpu_driver_path() -> None
def reset_enable_health_monitoring() -> None
def reset_idle_shutdown() -> None
def reset_idle_shutdown_timeout() -> None
def reset_install_gpu_driver() -> None
def reset_kernels() -> None
def reset_notebook_upgrade_schedule() -> None
def reset_post_startup_script() -> None
def reset_post_startup_script_behavior() -> None
Name | Type | Description |
---|---|---|
creation_stack |
typing.List[str] |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
fqn |
str |
No description. |
kernels |
NotebooksRuntimeSoftwareConfigKernelsList |
No description. |
upgradeable |
cdktf.IResolvable |
No description. |
custom_gpu_driver_path_input |
str |
No description. |
enable_health_monitoring_input |
typing.Union[bool, cdktf.IResolvable] |
No description. |
idle_shutdown_input |
typing.Union[bool, cdktf.IResolvable] |
No description. |
idle_shutdown_timeout_input |
typing.Union[int, float] |
No description. |
install_gpu_driver_input |
typing.Union[bool, cdktf.IResolvable] |
No description. |
kernels_input |
typing.Union[cdktf.IResolvable, typing.List[NotebooksRuntimeSoftwareConfigKernels]] |
No description. |
notebook_upgrade_schedule_input |
str |
No description. |
post_startup_script_behavior_input |
str |
No description. |
post_startup_script_input |
str |
No description. |
custom_gpu_driver_path |
str |
No description. |
enable_health_monitoring |
typing.Union[bool, cdktf.IResolvable] |
No description. |
idle_shutdown |
typing.Union[bool, cdktf.IResolvable] |
No description. |
idle_shutdown_timeout |
typing.Union[int, float] |
No description. |
install_gpu_driver |
typing.Union[bool, cdktf.IResolvable] |
No description. |
notebook_upgrade_schedule |
str |
No description. |
post_startup_script |
str |
No description. |
post_startup_script_behavior |
str |
No description. |
internal_value |
NotebooksRuntimeSoftwareConfig |
No description. |
creation_stack: typing.List[str]
- Type: typing.List[str]
The creation stack of this resolvable which will be appended to errors thrown during resolution.
If this returns an empty array the stack will not be attached.
fqn: str
- Type: str
kernels: NotebooksRuntimeSoftwareConfigKernelsList
upgradeable: IResolvable
- Type: cdktf.IResolvable
custom_gpu_driver_path_input: str
- Type: str
enable_health_monitoring_input: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
idle_shutdown_input: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
idle_shutdown_timeout_input: typing.Union[int, float]
- Type: typing.Union[int, float]
install_gpu_driver_input: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
kernels_input: typing.Union[IResolvable, typing.List[NotebooksRuntimeSoftwareConfigKernels]]
- Type: typing.Union[cdktf.IResolvable, typing.List[NotebooksRuntimeSoftwareConfigKernels]]
notebook_upgrade_schedule_input: str
- Type: str
post_startup_script_behavior_input: str
- Type: str
post_startup_script_input: str
- Type: str
custom_gpu_driver_path: str
- Type: str
enable_health_monitoring: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
idle_shutdown: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
idle_shutdown_timeout: typing.Union[int, float]
- Type: typing.Union[int, float]
install_gpu_driver: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
notebook_upgrade_schedule: str
- Type: str
post_startup_script: str
- Type: str
post_startup_script_behavior: str
- Type: str
internal_value: NotebooksRuntimeSoftwareConfig
from cdktf_cdktf_provider_google import notebooks_runtime
notebooksRuntime.NotebooksRuntimeTimeoutsOutputReference(
terraform_resource: IInterpolatingParent,
terraform_attribute: str
)
Name | Type | Description |
---|---|---|
terraform_resource |
cdktf.IInterpolatingParent |
The parent resource. |
terraform_attribute |
str |
The attribute on the parent resource this class is referencing. |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
Name | Description |
---|---|
compute_fqn |
No description. |
get_any_map_attribute |
No description. |
get_boolean_attribute |
No description. |
get_boolean_map_attribute |
No description. |
get_list_attribute |
No description. |
get_number_attribute |
No description. |
get_number_list_attribute |
No description. |
get_number_map_attribute |
No description. |
get_string_attribute |
No description. |
get_string_map_attribute |
No description. |
interpolation_for_attribute |
No description. |
resolve |
Produce the Token's value at resolution time. |
to_string |
Return a string representation of this resolvable object. |
reset_create |
No description. |
reset_delete |
No description. |
reset_update |
No description. |
def compute_fqn() -> str
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def interpolation_for_attribute(
property: str
) -> IResolvable
- Type: str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
def reset_create() -> None
def reset_delete() -> None
def reset_update() -> None
Name | Type | Description |
---|---|---|
creation_stack |
typing.List[str] |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
fqn |
str |
No description. |
create_input |
str |
No description. |
delete_input |
str |
No description. |
update_input |
str |
No description. |
create |
str |
No description. |
delete |
str |
No description. |
update |
str |
No description. |
internal_value |
typing.Union[cdktf.IResolvable, NotebooksRuntimeTimeouts] |
No description. |
creation_stack: typing.List[str]
- Type: typing.List[str]
The creation stack of this resolvable which will be appended to errors thrown during resolution.
If this returns an empty array the stack will not be attached.
fqn: str
- Type: str
create_input: str
- Type: str
delete_input: str
- Type: str
update_input: str
- Type: str
create: str
- Type: str
delete: str
- Type: str
update: str
- Type: str
internal_value: typing.Union[IResolvable, NotebooksRuntimeTimeouts]
- Type: typing.Union[cdktf.IResolvable, NotebooksRuntimeTimeouts]
from cdktf_cdktf_provider_google import notebooks_runtime
notebooksRuntime.NotebooksRuntimeVirtualMachineOutputReference(
terraform_resource: IInterpolatingParent,
terraform_attribute: str
)
Name | Type | Description |
---|---|---|
terraform_resource |
cdktf.IInterpolatingParent |
The parent resource. |
terraform_attribute |
str |
The attribute on the parent resource this class is referencing. |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
Name | Description |
---|---|
compute_fqn |
No description. |
get_any_map_attribute |
No description. |
get_boolean_attribute |
No description. |
get_boolean_map_attribute |
No description. |
get_list_attribute |
No description. |
get_number_attribute |
No description. |
get_number_list_attribute |
No description. |
get_number_map_attribute |
No description. |
get_string_attribute |
No description. |
get_string_map_attribute |
No description. |
interpolation_for_attribute |
No description. |
resolve |
Produce the Token's value at resolution time. |
to_string |
Return a string representation of this resolvable object. |
put_virtual_machine_config |
No description. |
reset_virtual_machine_config |
No description. |
def compute_fqn() -> str
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def interpolation_for_attribute(
property: str
) -> IResolvable
- Type: str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
def put_virtual_machine_config(
data_disk: NotebooksRuntimeVirtualMachineVirtualMachineConfigDataDisk,
machine_type: str,
accelerator_config: NotebooksRuntimeVirtualMachineVirtualMachineConfigAcceleratorConfig = None,
container_images: typing.Union[IResolvable, typing.List[NotebooksRuntimeVirtualMachineVirtualMachineConfigContainerImages]] = None,
encryption_config: NotebooksRuntimeVirtualMachineVirtualMachineConfigEncryptionConfig = None,
internal_ip_only: typing.Union[bool, IResolvable] = None,
labels: typing.Mapping[str] = None,
metadata: typing.Mapping[str] = None,
network: str = None,
nic_type: str = None,
reserved_ip_range: str = None,
shielded_instance_config: NotebooksRuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfig = None,
subnet: str = None,
tags: typing.List[str] = None
) -> None
data_disk block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#data_disk NotebooksRuntime#data_disk}
- Type: str
The Compute Engine machine type used for runtimes.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#machine_type NotebooksRuntime#machine_type}
accelerator_config block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#accelerator_config NotebooksRuntime#accelerator_config}
- Type: typing.Union[cdktf.IResolvable, typing.List[NotebooksRuntimeVirtualMachineVirtualMachineConfigContainerImages]]
container_images block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#container_images NotebooksRuntime#container_images}
encryption_config block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#encryption_config NotebooksRuntime#encryption_config}
- Type: typing.Union[bool, cdktf.IResolvable]
If true, runtime will only have internal IP addresses.
By default, runtimes are not restricted to internal IP addresses, and will have ephemeral external IP addresses assigned to each vm. This 'internal_ip_only' restriction can only be enabled for subnetwork enabled networks, and all dependencies must be configured to be accessible without external IP addresses.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#internal_ip_only NotebooksRuntime#internal_ip_only}
- Type: typing.Mapping[str]
The labels to associate with this runtime.
Label keys must contain 1 to 63 characters, and must conform to [RFC 1035] (https://www.ietf.org/rfc/rfc1035.txt). 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.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#labels NotebooksRuntime#labels}
- Type: typing.Mapping[str]
The Compute Engine metadata entries to add to virtual machine. (see [Project and instance metadata](https://cloud.google.com /compute/docs/storing-retrieving-metadata#project_and_instance _metadata)).
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#metadata NotebooksRuntime#metadata}
- Type: str
The Compute Engine network to be used for machine communications.
Cannot be specified with subnetwork. If neither 'network' nor 'subnet' is specified, the "default" network of the project is used, if it exists. A full URL or partial URI. Examples:
- 'https://www.googleapis.com/compute/v1/projects/[project_id]/ regions/global/default'
- 'projects/[project_id]/regions/global/default' Runtimes are managed resources inside Google Infrastructure. Runtimes support the following network configurations:
- Google Managed Network (Network & subnet are empty)
- Consumer Project VPC (network & subnet are required). Requires configuring Private Service Access.
- Shared VPC (network & subnet are required). Requires configuring Private Service Access.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#network NotebooksRuntime#network}
- Type: str
The type of vNIC to be used on this interface.
This may be gVNIC or VirtioNet. Possible values: ["UNSPECIFIED_NIC_TYPE", "VIRTIO_NET", "GVNIC"]
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#nic_type NotebooksRuntime#nic_type}
- Type: str
Reserved IP Range name is used for VPC Peering. The subnetwork allocation will use the range name if it's assigned.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#reserved_ip_range NotebooksRuntime#reserved_ip_range}
shielded_instance_config block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#shielded_instance_config NotebooksRuntime#shielded_instance_config}
- Type: str
The Compute Engine subnetwork to be used for machine communications.
Cannot be specified with network. A full URL or partial URI are valid. Examples:
- 'https://www.googleapis.com/compute/v1/projects/[project_id]/ regions/us-east1/subnetworks/sub0'
- 'projects/[project_id]/regions/us-east1/subnetworks/sub0'
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#subnet NotebooksRuntime#subnet}
- Type: typing.List[str]
The Compute Engine tags to add to runtime (see [Tagging instances] (https://cloud.google.com/compute/docs/ label-or-tag-resources#tags)).
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#tags NotebooksRuntime#tags}
def reset_virtual_machine_config() -> None
Name | Type | Description |
---|---|---|
creation_stack |
typing.List[str] |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
fqn |
str |
No description. |
instance_id |
str |
No description. |
instance_name |
str |
No description. |
virtual_machine_config |
NotebooksRuntimeVirtualMachineVirtualMachineConfigOutputReference |
No description. |
virtual_machine_config_input |
NotebooksRuntimeVirtualMachineVirtualMachineConfig |
No description. |
internal_value |
NotebooksRuntimeVirtualMachine |
No description. |
creation_stack: typing.List[str]
- Type: typing.List[str]
The creation stack of this resolvable which will be appended to errors thrown during resolution.
If this returns an empty array the stack will not be attached.
fqn: str
- Type: str
instance_id: str
- Type: str
instance_name: str
- Type: str
virtual_machine_config: NotebooksRuntimeVirtualMachineVirtualMachineConfigOutputReference
virtual_machine_config_input: NotebooksRuntimeVirtualMachineVirtualMachineConfig
internal_value: NotebooksRuntimeVirtualMachine
from cdktf_cdktf_provider_google import notebooks_runtime
notebooksRuntime.NotebooksRuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutputReference(
terraform_resource: IInterpolatingParent,
terraform_attribute: str
)
Name | Type | Description |
---|---|---|
terraform_resource |
cdktf.IInterpolatingParent |
The parent resource. |
terraform_attribute |
str |
The attribute on the parent resource this class is referencing. |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
Name | Description |
---|---|
compute_fqn |
No description. |
get_any_map_attribute |
No description. |
get_boolean_attribute |
No description. |
get_boolean_map_attribute |
No description. |
get_list_attribute |
No description. |
get_number_attribute |
No description. |
get_number_list_attribute |
No description. |
get_number_map_attribute |
No description. |
get_string_attribute |
No description. |
get_string_map_attribute |
No description. |
interpolation_for_attribute |
No description. |
resolve |
Produce the Token's value at resolution time. |
to_string |
Return a string representation of this resolvable object. |
reset_core_count |
No description. |
reset_type |
No description. |
def compute_fqn() -> str
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def interpolation_for_attribute(
property: str
) -> IResolvable
- Type: str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
def reset_core_count() -> None
def reset_type() -> None
Name | Type | Description |
---|---|---|
creation_stack |
typing.List[str] |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
fqn |
str |
No description. |
core_count_input |
typing.Union[int, float] |
No description. |
type_input |
str |
No description. |
core_count |
typing.Union[int, float] |
No description. |
type |
str |
No description. |
internal_value |
NotebooksRuntimeVirtualMachineVirtualMachineConfigAcceleratorConfig |
No description. |
creation_stack: typing.List[str]
- Type: typing.List[str]
The creation stack of this resolvable which will be appended to errors thrown during resolution.
If this returns an empty array the stack will not be attached.
fqn: str
- Type: str
core_count_input: typing.Union[int, float]
- Type: typing.Union[int, float]
type_input: str
- Type: str
core_count: typing.Union[int, float]
- Type: typing.Union[int, float]
type: str
- Type: str
internal_value: NotebooksRuntimeVirtualMachineVirtualMachineConfigAcceleratorConfig
from cdktf_cdktf_provider_google import notebooks_runtime
notebooksRuntime.NotebooksRuntimeVirtualMachineVirtualMachineConfigContainerImagesList(
terraform_resource: IInterpolatingParent,
terraform_attribute: str,
wraps_set: bool
)
Name | Type | Description |
---|---|---|
terraform_resource |
cdktf.IInterpolatingParent |
The parent resource. |
terraform_attribute |
str |
The attribute on the parent resource this class is referencing. |
wraps_set |
bool |
whether the list is wrapping a set (will add tolist() to be able to access an item via an index). |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
- Type: bool
whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
Name | Description |
---|---|
all_with_map_key |
Creating an iterator for this complex list. |
compute_fqn |
No description. |
resolve |
Produce the Token's value at resolution time. |
to_string |
Return a string representation of this resolvable object. |
get |
No description. |
def all_with_map_key(
map_key_attribute_name: str
) -> DynamicListTerraformIterator
Creating an iterator for this complex list.
The list will be converted into a map with the mapKeyAttributeName as the key.
- Type: str
def compute_fqn() -> str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
def get(
index: typing.Union[int, float]
) -> NotebooksRuntimeVirtualMachineVirtualMachineConfigContainerImagesOutputReference
- Type: typing.Union[int, float]
the index of the item to return.
Name | Type | Description |
---|---|---|
creation_stack |
typing.List[str] |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
fqn |
str |
No description. |
internal_value |
typing.Union[cdktf.IResolvable, typing.List[NotebooksRuntimeVirtualMachineVirtualMachineConfigContainerImages]] |
No description. |
creation_stack: typing.List[str]
- Type: typing.List[str]
The creation stack of this resolvable which will be appended to errors thrown during resolution.
If this returns an empty array the stack will not be attached.
fqn: str
- Type: str
internal_value: typing.Union[IResolvable, typing.List[NotebooksRuntimeVirtualMachineVirtualMachineConfigContainerImages]]
- Type: typing.Union[cdktf.IResolvable, typing.List[NotebooksRuntimeVirtualMachineVirtualMachineConfigContainerImages]]
from cdktf_cdktf_provider_google import notebooks_runtime
notebooksRuntime.NotebooksRuntimeVirtualMachineVirtualMachineConfigContainerImagesOutputReference(
terraform_resource: IInterpolatingParent,
terraform_attribute: str,
complex_object_index: typing.Union[int, float],
complex_object_is_from_set: bool
)
Name | Type | Description |
---|---|---|
terraform_resource |
cdktf.IInterpolatingParent |
The parent resource. |
terraform_attribute |
str |
The attribute on the parent resource this class is referencing. |
complex_object_index |
typing.Union[int, float] |
the index of this item in the list. |
complex_object_is_from_set |
bool |
whether the list is wrapping a set (will add tolist() to be able to access an item via an index). |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
- Type: typing.Union[int, float]
the index of this item in the list.
- Type: bool
whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
Name | Description |
---|---|
compute_fqn |
No description. |
get_any_map_attribute |
No description. |
get_boolean_attribute |
No description. |
get_boolean_map_attribute |
No description. |
get_list_attribute |
No description. |
get_number_attribute |
No description. |
get_number_list_attribute |
No description. |
get_number_map_attribute |
No description. |
get_string_attribute |
No description. |
get_string_map_attribute |
No description. |
interpolation_for_attribute |
No description. |
resolve |
Produce the Token's value at resolution time. |
to_string |
Return a string representation of this resolvable object. |
reset_tag |
No description. |
def compute_fqn() -> str
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def interpolation_for_attribute(
property: str
) -> IResolvable
- Type: str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
def reset_tag() -> None
Name | Type | Description |
---|---|---|
creation_stack |
typing.List[str] |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
fqn |
str |
No description. |
repository_input |
str |
No description. |
tag_input |
str |
No description. |
repository |
str |
No description. |
tag |
str |
No description. |
internal_value |
typing.Union[cdktf.IResolvable, NotebooksRuntimeVirtualMachineVirtualMachineConfigContainerImages] |
No description. |
creation_stack: typing.List[str]
- Type: typing.List[str]
The creation stack of this resolvable which will be appended to errors thrown during resolution.
If this returns an empty array the stack will not be attached.
fqn: str
- Type: str
repository_input: str
- Type: str
tag_input: str
- Type: str
repository: str
- Type: str
tag: str
- Type: str
internal_value: typing.Union[IResolvable, NotebooksRuntimeVirtualMachineVirtualMachineConfigContainerImages]
- Type: typing.Union[cdktf.IResolvable, NotebooksRuntimeVirtualMachineVirtualMachineConfigContainerImages]
from cdktf_cdktf_provider_google import notebooks_runtime
notebooksRuntime.NotebooksRuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutputReference(
terraform_resource: IInterpolatingParent,
terraform_attribute: str
)
Name | Type | Description |
---|---|---|
terraform_resource |
cdktf.IInterpolatingParent |
The parent resource. |
terraform_attribute |
str |
The attribute on the parent resource this class is referencing. |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
Name | Description |
---|---|
compute_fqn |
No description. |
get_any_map_attribute |
No description. |
get_boolean_attribute |
No description. |
get_boolean_map_attribute |
No description. |
get_list_attribute |
No description. |
get_number_attribute |
No description. |
get_number_list_attribute |
No description. |
get_number_map_attribute |
No description. |
get_string_attribute |
No description. |
get_string_map_attribute |
No description. |
interpolation_for_attribute |
No description. |
resolve |
Produce the Token's value at resolution time. |
to_string |
Return a string representation of this resolvable object. |
reset_description |
No description. |
reset_disk_name |
No description. |
reset_disk_size_gb |
No description. |
reset_disk_type |
No description. |
reset_labels |
No description. |
def compute_fqn() -> str
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def interpolation_for_attribute(
property: str
) -> IResolvable
- Type: str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
def reset_description() -> None
def reset_disk_name() -> None
def reset_disk_size_gb() -> None
def reset_disk_type() -> None
def reset_labels() -> None
Name | Type | Description |
---|---|---|
creation_stack |
typing.List[str] |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
fqn |
str |
No description. |
description_input |
str |
No description. |
disk_name_input |
str |
No description. |
disk_size_gb_input |
typing.Union[int, float] |
No description. |
disk_type_input |
str |
No description. |
labels_input |
typing.Mapping[str] |
No description. |
description |
str |
No description. |
disk_name |
str |
No description. |
disk_size_gb |
typing.Union[int, float] |
No description. |
disk_type |
str |
No description. |
labels |
typing.Mapping[str] |
No description. |
internal_value |
NotebooksRuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParams |
No description. |
creation_stack: typing.List[str]
- Type: typing.List[str]
The creation stack of this resolvable which will be appended to errors thrown during resolution.
If this returns an empty array the stack will not be attached.
fqn: str
- Type: str
description_input: str
- Type: str
disk_name_input: str
- Type: str
disk_size_gb_input: typing.Union[int, float]
- Type: typing.Union[int, float]
disk_type_input: str
- Type: str
labels_input: typing.Mapping[str]
- Type: typing.Mapping[str]
description: str
- Type: str
disk_name: str
- Type: str
disk_size_gb: typing.Union[int, float]
- Type: typing.Union[int, float]
disk_type: str
- Type: str
labels: typing.Mapping[str]
- Type: typing.Mapping[str]
internal_value: NotebooksRuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParams
from cdktf_cdktf_provider_google import notebooks_runtime
notebooksRuntime.NotebooksRuntimeVirtualMachineVirtualMachineConfigDataDiskOutputReference(
terraform_resource: IInterpolatingParent,
terraform_attribute: str
)
Name | Type | Description |
---|---|---|
terraform_resource |
cdktf.IInterpolatingParent |
The parent resource. |
terraform_attribute |
str |
The attribute on the parent resource this class is referencing. |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
Name | Description |
---|---|
compute_fqn |
No description. |
get_any_map_attribute |
No description. |
get_boolean_attribute |
No description. |
get_boolean_map_attribute |
No description. |
get_list_attribute |
No description. |
get_number_attribute |
No description. |
get_number_list_attribute |
No description. |
get_number_map_attribute |
No description. |
get_string_attribute |
No description. |
get_string_map_attribute |
No description. |
interpolation_for_attribute |
No description. |
resolve |
Produce the Token's value at resolution time. |
to_string |
Return a string representation of this resolvable object. |
put_initialize_params |
No description. |
reset_initialize_params |
No description. |
reset_interface |
No description. |
reset_mode |
No description. |
reset_source |
No description. |
reset_type |
No description. |
def compute_fqn() -> str
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def interpolation_for_attribute(
property: str
) -> IResolvable
- Type: str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
def put_initialize_params(
description: str = None,
disk_name: str = None,
disk_size_gb: typing.Union[int, float] = None,
disk_type: str = None,
labels: typing.Mapping[str] = None
) -> None
- Type: str
Provide this property when creating the disk.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#description NotebooksRuntime#description}
- Type: str
Specifies the disk name.
If not specified, the default is to use the name of the instance. If the disk with the instance name exists already in the given zone/region, a new name will be automatically generated.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#disk_name NotebooksRuntime#disk_name}
- Type: typing.Union[int, float]
Specifies the size of the disk in base-2 GB.
If not specified, the disk will be the same size as the image (usually 10GB). If specified, the size must be equal to or larger than 10GB. Default 100 GB.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#disk_size_gb NotebooksRuntime#disk_size_gb}
- Type: str
The type of the boot disk attached to this runtime, defaults to standard persistent disk. For valid values, see 'https://cloud.google.com/vertex-ai/docs/workbench/ reference/rest/v1/projects.locations.runtimes#disktype'.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#disk_type NotebooksRuntime#disk_type}
- Type: typing.Mapping[str]
Labels to apply to this disk.
These can be later modified by the disks.setLabels method. This field is only applicable for persistent disks.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#labels NotebooksRuntime#labels}
def reset_initialize_params() -> None
def reset_interface() -> None
def reset_mode() -> None
def reset_source() -> None
def reset_type() -> None
Name | Type | Description |
---|---|---|
creation_stack |
typing.List[str] |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
fqn |
str |
No description. |
auto_delete |
cdktf.IResolvable |
No description. |
boot |
cdktf.IResolvable |
No description. |
device_name |
str |
No description. |
guest_os_features |
typing.List[str] |
No description. |
index |
typing.Union[int, float] |
No description. |
initialize_params |
NotebooksRuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutputReference |
No description. |
kind |
str |
No description. |
licenses |
typing.List[str] |
No description. |
initialize_params_input |
NotebooksRuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParams |
No description. |
interface_input |
str |
No description. |
mode_input |
str |
No description. |
source_input |
str |
No description. |
type_input |
str |
No description. |
interface |
str |
No description. |
mode |
str |
No description. |
source |
str |
No description. |
type |
str |
No description. |
internal_value |
NotebooksRuntimeVirtualMachineVirtualMachineConfigDataDisk |
No description. |
creation_stack: typing.List[str]
- Type: typing.List[str]
The creation stack of this resolvable which will be appended to errors thrown during resolution.
If this returns an empty array the stack will not be attached.
fqn: str
- Type: str
auto_delete: IResolvable
- Type: cdktf.IResolvable
boot: IResolvable
- Type: cdktf.IResolvable
device_name: str
- Type: str
guest_os_features: typing.List[str]
- Type: typing.List[str]
index: typing.Union[int, float]
- Type: typing.Union[int, float]
initialize_params: NotebooksRuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutputReference
kind: str
- Type: str
licenses: typing.List[str]
- Type: typing.List[str]
initialize_params_input: NotebooksRuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParams
interface_input: str
- Type: str
mode_input: str
- Type: str
source_input: str
- Type: str
type_input: str
- Type: str
interface: str
- Type: str
mode: str
- Type: str
source: str
- Type: str
type: str
- Type: str
internal_value: NotebooksRuntimeVirtualMachineVirtualMachineConfigDataDisk
from cdktf_cdktf_provider_google import notebooks_runtime
notebooksRuntime.NotebooksRuntimeVirtualMachineVirtualMachineConfigEncryptionConfigOutputReference(
terraform_resource: IInterpolatingParent,
terraform_attribute: str
)
Name | Type | Description |
---|---|---|
terraform_resource |
cdktf.IInterpolatingParent |
The parent resource. |
terraform_attribute |
str |
The attribute on the parent resource this class is referencing. |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
Name | Description |
---|---|
compute_fqn |
No description. |
get_any_map_attribute |
No description. |
get_boolean_attribute |
No description. |
get_boolean_map_attribute |
No description. |
get_list_attribute |
No description. |
get_number_attribute |
No description. |
get_number_list_attribute |
No description. |
get_number_map_attribute |
No description. |
get_string_attribute |
No description. |
get_string_map_attribute |
No description. |
interpolation_for_attribute |
No description. |
resolve |
Produce the Token's value at resolution time. |
to_string |
Return a string representation of this resolvable object. |
reset_kms_key |
No description. |
def compute_fqn() -> str
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def interpolation_for_attribute(
property: str
) -> IResolvable
- Type: str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
def reset_kms_key() -> None
Name | Type | Description |
---|---|---|
creation_stack |
typing.List[str] |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
fqn |
str |
No description. |
kms_key_input |
str |
No description. |
kms_key |
str |
No description. |
internal_value |
NotebooksRuntimeVirtualMachineVirtualMachineConfigEncryptionConfig |
No description. |
creation_stack: typing.List[str]
- Type: typing.List[str]
The creation stack of this resolvable which will be appended to errors thrown during resolution.
If this returns an empty array the stack will not be attached.
fqn: str
- Type: str
kms_key_input: str
- Type: str
kms_key: str
- Type: str
internal_value: NotebooksRuntimeVirtualMachineVirtualMachineConfigEncryptionConfig
from cdktf_cdktf_provider_google import notebooks_runtime
notebooksRuntime.NotebooksRuntimeVirtualMachineVirtualMachineConfigOutputReference(
terraform_resource: IInterpolatingParent,
terraform_attribute: str
)
Name | Type | Description |
---|---|---|
terraform_resource |
cdktf.IInterpolatingParent |
The parent resource. |
terraform_attribute |
str |
The attribute on the parent resource this class is referencing. |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
Name | Description |
---|---|
compute_fqn |
No description. |
get_any_map_attribute |
No description. |
get_boolean_attribute |
No description. |
get_boolean_map_attribute |
No description. |
get_list_attribute |
No description. |
get_number_attribute |
No description. |
get_number_list_attribute |
No description. |
get_number_map_attribute |
No description. |
get_string_attribute |
No description. |
get_string_map_attribute |
No description. |
interpolation_for_attribute |
No description. |
resolve |
Produce the Token's value at resolution time. |
to_string |
Return a string representation of this resolvable object. |
put_accelerator_config |
No description. |
put_container_images |
No description. |
put_data_disk |
No description. |
put_encryption_config |
No description. |
put_shielded_instance_config |
No description. |
reset_accelerator_config |
No description. |
reset_container_images |
No description. |
reset_encryption_config |
No description. |
reset_internal_ip_only |
No description. |
reset_labels |
No description. |
reset_metadata |
No description. |
reset_network |
No description. |
reset_nic_type |
No description. |
reset_reserved_ip_range |
No description. |
reset_shielded_instance_config |
No description. |
reset_subnet |
No description. |
reset_tags |
No description. |
def compute_fqn() -> str
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def interpolation_for_attribute(
property: str
) -> IResolvable
- Type: str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
def put_accelerator_config(
core_count: typing.Union[int, float] = None,
type: str = None
) -> None
- Type: typing.Union[int, float]
Count of cores of this accelerator.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#core_count NotebooksRuntime#core_count}
- Type: str
Accelerator model. For valid values, see 'https://cloud.google.com/vertex-ai/docs/workbench/reference/ rest/v1/projects.locations.runtimes#AcceleratorType'.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#type NotebooksRuntime#type}
def put_container_images(
value: typing.Union[IResolvable, typing.List[NotebooksRuntimeVirtualMachineVirtualMachineConfigContainerImages]]
) -> None
- Type: typing.Union[cdktf.IResolvable, typing.List[NotebooksRuntimeVirtualMachineVirtualMachineConfigContainerImages]]
def put_data_disk(
initialize_params: NotebooksRuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParams = None,
interface: str = None,
mode: str = None,
source: str = None,
type: str = None
) -> None
initialize_params block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#initialize_params NotebooksRuntime#initialize_params}
- Type: str
"Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME.
The default is SCSI. Persistent disks must always use SCSI and the request will fail if you attempt to attach a persistent disk in any other format than SCSI. Local SSDs can use either NVME or SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance. Valid values: * NVME * SCSI".
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#interface NotebooksRuntime#interface}
- Type: str
The mode in which to attach this disk, either READ_WRITE or READ_ONLY.
If not specified, the default is to attach the disk in READ_WRITE mode.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#mode NotebooksRuntime#mode}
- Type: str
Specifies a valid partial or full URL to an existing Persistent Disk resource.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#source NotebooksRuntime#source}
- Type: str
Specifies the type of the disk, either SCRATCH or PERSISTENT. If not specified, the default is PERSISTENT.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#type NotebooksRuntime#type}
def put_encryption_config(
kms_key: str = None
) -> None
- Type: str
The Cloud KMS resource identifier of the customer-managed encryption key used to protect a resource, such as a disks.
It has the following format: 'projects/{PROJECT_ID}/locations/{REGION}/keyRings/ {KEY_RING_NAME}/cryptoKeys/{KEY_NAME}'
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#kms_key NotebooksRuntime#kms_key}
def put_shielded_instance_config(
enable_integrity_monitoring: typing.Union[bool, IResolvable] = None,
enable_secure_boot: typing.Union[bool, IResolvable] = None,
enable_vtpm: typing.Union[bool, IResolvable] = None
) -> None
- Type: typing.Union[bool, cdktf.IResolvable]
Defines whether the instance has integrity monitoring enabled.
Enables monitoring and attestation of the boot integrity of the instance. The attestation is performed against the integrity policy baseline. This baseline is initially derived from the implicitly trusted boot image when the instance is created. Enabled by default.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#enable_integrity_monitoring NotebooksRuntime#enable_integrity_monitoring}
- Type: typing.Union[bool, cdktf.IResolvable]
Defines whether the instance has Secure Boot enabled.Secure Boot helps ensure that the system only runs authentic software by verifying the digital signature of all boot components, and halting the boot process if signature verification fails. Disabled by default.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#enable_secure_boot NotebooksRuntime#enable_secure_boot}
- Type: typing.Union[bool, cdktf.IResolvable]
Defines whether the instance has the vTPM enabled. Enabled by default.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/notebooks_runtime#enable_vtpm NotebooksRuntime#enable_vtpm}
def reset_accelerator_config() -> None
def reset_container_images() -> None
def reset_encryption_config() -> None
def reset_internal_ip_only() -> None
def reset_labels() -> None
def reset_metadata() -> None
def reset_network() -> None
def reset_nic_type() -> None
def reset_reserved_ip_range() -> None
def reset_shielded_instance_config() -> None
def reset_subnet() -> None
def reset_tags() -> None
creation_stack: typing.List[str]
- Type: typing.List[str]
The creation stack of this resolvable which will be appended to errors thrown during resolution.
If this returns an empty array the stack will not be attached.
fqn: str
- Type: str
accelerator_config: NotebooksRuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutputReference
container_images: NotebooksRuntimeVirtualMachineVirtualMachineConfigContainerImagesList
data_disk: NotebooksRuntimeVirtualMachineVirtualMachineConfigDataDiskOutputReference
encryption_config: NotebooksRuntimeVirtualMachineVirtualMachineConfigEncryptionConfigOutputReference
guest_attributes: StringMap
- Type: cdktf.StringMap
shielded_instance_config: NotebooksRuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutputReference
zone: str
- Type: str
accelerator_config_input: NotebooksRuntimeVirtualMachineVirtualMachineConfigAcceleratorConfig
container_images_input: typing.Union[IResolvable, typing.List[NotebooksRuntimeVirtualMachineVirtualMachineConfigContainerImages]]
- Type: typing.Union[cdktf.IResolvable, typing.List[NotebooksRuntimeVirtualMachineVirtualMachineConfigContainerImages]]
data_disk_input: NotebooksRuntimeVirtualMachineVirtualMachineConfigDataDisk
encryption_config_input: NotebooksRuntimeVirtualMachineVirtualMachineConfigEncryptionConfig
internal_ip_only_input: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
labels_input: typing.Mapping[str]
- Type: typing.Mapping[str]
machine_type_input: str
- Type: str
metadata_input: typing.Mapping[str]
- Type: typing.Mapping[str]
network_input: str
- Type: str
nic_type_input: str
- Type: str
reserved_ip_range_input: str
- Type: str
shielded_instance_config_input: NotebooksRuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfig
subnet_input: str
- Type: str
tags_input: typing.List[str]
- Type: typing.List[str]
internal_ip_only: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
labels: typing.Mapping[str]
- Type: typing.Mapping[str]
machine_type: str
- Type: str
metadata: typing.Mapping[str]
- Type: typing.Mapping[str]
network: str
- Type: str
nic_type: str
- Type: str
reserved_ip_range: str
- Type: str
subnet: str
- Type: str
tags: typing.List[str]
- Type: typing.List[str]
internal_value: NotebooksRuntimeVirtualMachineVirtualMachineConfig
from cdktf_cdktf_provider_google import notebooks_runtime
notebooksRuntime.NotebooksRuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutputReference(
terraform_resource: IInterpolatingParent,
terraform_attribute: str
)
Name | Type | Description |
---|---|---|
terraform_resource |
cdktf.IInterpolatingParent |
The parent resource. |
terraform_attribute |
str |
The attribute on the parent resource this class is referencing. |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
Name | Description |
---|---|
compute_fqn |
No description. |
get_any_map_attribute |
No description. |
get_boolean_attribute |
No description. |
get_boolean_map_attribute |
No description. |
get_list_attribute |
No description. |
get_number_attribute |
No description. |
get_number_list_attribute |
No description. |
get_number_map_attribute |
No description. |
get_string_attribute |
No description. |
get_string_map_attribute |
No description. |
interpolation_for_attribute |
No description. |
resolve |
Produce the Token's value at resolution time. |
to_string |
Return a string representation of this resolvable object. |
reset_enable_integrity_monitoring |
No description. |
reset_enable_secure_boot |
No description. |
reset_enable_vtpm |
No description. |
def compute_fqn() -> str
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def interpolation_for_attribute(
property: str
) -> IResolvable
- Type: str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
def reset_enable_integrity_monitoring() -> None
def reset_enable_secure_boot() -> None
def reset_enable_vtpm() -> None
Name | Type | Description |
---|---|---|
creation_stack |
typing.List[str] |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
fqn |
str |
No description. |
enable_integrity_monitoring_input |
typing.Union[bool, cdktf.IResolvable] |
No description. |
enable_secure_boot_input |
typing.Union[bool, cdktf.IResolvable] |
No description. |
enable_vtpm_input |
typing.Union[bool, cdktf.IResolvable] |
No description. |
enable_integrity_monitoring |
typing.Union[bool, cdktf.IResolvable] |
No description. |
enable_secure_boot |
typing.Union[bool, cdktf.IResolvable] |
No description. |
enable_vtpm |
typing.Union[bool, cdktf.IResolvable] |
No description. |
internal_value |
NotebooksRuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfig |
No description. |
creation_stack: typing.List[str]
- Type: typing.List[str]
The creation stack of this resolvable which will be appended to errors thrown during resolution.
If this returns an empty array the stack will not be attached.
fqn: str
- Type: str
enable_integrity_monitoring_input: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
enable_secure_boot_input: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
enable_vtpm_input: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
enable_integrity_monitoring: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
enable_secure_boot: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
enable_vtpm: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
internal_value: NotebooksRuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfig