Skip to content

MwsNetworks

laktory.models.resources.databricks.MwsNetworks ¤

Bases: MwsNetworksBase

Databricks Mws Networks

Examples:

import io

from laktory import models

network_yaml = '''
account_id: ${vars.databricks_account_id}
network_name: my-network
vpc_id: vpc-00000000
subnet_ids:
- subnet-00000000
- subnet-00000001
security_group_ids:
- sg-00000000
'''
network = models.resources.databricks.MwsNetworks.model_validate_yaml(
    io.StringIO(network_yaml)
)
References
BASE DESCRIPTION
account_id

Account Id that could be found in the top right corner of Accounts Console

TYPE: str | VariableType

creation_time

TYPE: int | None | VariableType DEFAULT: None

error_messages

TYPE: list[MwsNetworksErrorMessages] | None | VariableType DEFAULT: None

gcp_network_info

(GCP only) a block consists of Google Cloud specific information for this network, for example the VPC ID, subnet ID, and secondary IP ranges. It has the following fields:

TYPE: MwsNetworksGcpNetworkInfo | None | VariableType DEFAULT: None

network_id

(String) id of network to be used for databricks_mws_workspaces resource

TYPE: str | None | VariableType DEFAULT: None

network_name

name under which this network is registered

TYPE: str | VariableType

security_group_ids

(AWS only) ids of aws_security_group

TYPE: list[str] | None | VariableType DEFAULT: None

subnet_ids

(AWS only) ids of aws_subnet

TYPE: list[str] | None | VariableType DEFAULT: None

vpc_endpoints

mapping of databricks_mws_vpc_endpoint for PrivateLink or Private Service Connect connections

TYPE: MwsNetworksVpcEndpoints | None | VariableType DEFAULT: None

vpc_id

The ID of the VPC associated with this network. VPC IDs can be used in multiple network configurations

TYPE: str | None | VariableType DEFAULT: None

vpc_status

(String) VPC attachment status

TYPE: str | None | VariableType DEFAULT: None

workspace_id

(Integer) id of associated workspace

TYPE: int | None | VariableType DEFAULT: None


laktory.models.resources.databricks.mwsnetworks.MwsNetworksErrorMessages ¤

Bases: BaseModel

PARAMETER DESCRIPTION
error_message

TYPE: str | None | VariableType DEFAULT: None

error_type

TYPE: str | None | VariableType DEFAULT: None


laktory.models.resources.databricks.mwsnetworks.MwsNetworksGcpNetworkInfo ¤

Bases: BaseModel

PARAMETER DESCRIPTION
network_project_id

The Google Cloud project ID of the VPC network

TYPE: str | VariableType

pod_ip_range_name

TYPE: str | None | VariableType DEFAULT: None

service_ip_range_name

TYPE: str | None | VariableType DEFAULT: None

subnet_id

The ID of the subnet associated with this network

TYPE: str | VariableType

subnet_region

The Google Cloud region of the workspace data plane. For example, us-east4

TYPE: str | VariableType

vpc_id

The ID of the VPC associated with this network. VPC IDs can be used in multiple network configurations

TYPE: str | VariableType


laktory.models.resources.databricks.mwsnetworks.MwsNetworksVpcEndpoints ¤

Bases: BaseModel

PARAMETER DESCRIPTION
dataplane_relay

TYPE: list[str] | VariableType

rest_api

TYPE: list[str] | VariableType