Skip to content

MwsNetworkConnectivityConfig

laktory.models.resources.databricks.MwsNetworkConnectivityConfig ¤

Bases: MwsNetworkConnectivityConfigBase

Databricks Mws Network Connectivity Config

Examples:

import io

from laktory import models

ncc_yaml = '''
name: ncc-prod
region: eastus
'''
ncc = models.resources.databricks.MwsNetworkConnectivityConfig.model_validate_yaml(
    io.StringIO(ncc_yaml)
)
References
BASE DESCRIPTION
account_id

TYPE: str | None | VariableType DEFAULT: None

creation_time

time in epoch milliseconds when this object was created

TYPE: int | None | VariableType DEFAULT: None

egress_config

block containing information about network connectivity rules that apply to network traffic from your serverless compute resources. Consists of the following fields:

TYPE: MwsNetworkConnectivityConfigEgressConfig | None | VariableType DEFAULT: None

name

Name of the network connectivity configuration. The name can contain alphanumeric characters, hyphens, and underscores. The length must be between 3 and 30 characters. The name must match the regular expression ^[0-9a-zA-Z-_]{3,30}$. Change forces creation of a new resource

TYPE: str | VariableType

network_connectivity_config_id

Canonical unique identifier of Network Connectivity Config in Databricks Account

TYPE: str | None | VariableType DEFAULT: None

region

Region of the Network Connectivity Config. NCCs can only be referenced by your workspaces in the same region. Change forces creation of a new resource

TYPE: str | VariableType

updated_time

time in epoch milliseconds when this object was updated

TYPE: int | None | VariableType DEFAULT: None

LAKTORY DESCRIPTION
workspace_bindings

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

ATTRIBUTE DESCRIPTION
additional_core_resources
  • workspace bindings

TYPE: list

additional_core_resources property ¤

  • workspace bindings

laktory.models.resources.databricks.mwsnetworkconnectivityconfig.MwsNetworkConnectivityConfigEgressConfig ¤

Bases: BaseModel

PARAMETER DESCRIPTION
default_rules

block describing network connectivity rules that are applied by default without resource specific configurations. Consists of the following fields: * aws_stable_ip_rule (AWS only) - block with information about stable AWS IP CIDR blocks. You can use these to configure the firewall of your resources to allow traffic from your Databricks workspace. Consists of the following fields:

TYPE: MwsNetworkConnectivityConfigEgressConfigDefaultRules | None | VariableType DEFAULT: None

target_rules

block describing network connectivity rules that configured for each destinations. These rules override default rules. Consists of the following fields: * azure_private_endpoint_rules (Azure only) - list containing information about configure Azure Private Endpoints. * aws_private_endpoint_rules (AWS only) - list containing information about configure AWS Private Endpoints

TYPE: MwsNetworkConnectivityConfigEgressConfigTargetRules | None | VariableType DEFAULT: None


laktory.models.resources.databricks.mwsnetworkconnectivityconfig.MwsNetworkConnectivityConfigEgressConfigDefaultRules ¤

Bases: BaseModel

PARAMETER DESCRIPTION
aws_stable_ip_rule

TYPE: MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule | None | VariableType DEFAULT: None

azure_service_endpoint_rule

TYPE: MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule | None | VariableType DEFAULT: None


laktory.models.resources.databricks.mwsnetworkconnectivityconfig.MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule ¤

Bases: BaseModel

PARAMETER DESCRIPTION
cidr_blocks

list of IP CIDR blocks. * azure_service_endpoint_rule (Azure only) - block with information about stable Azure service endpoints. You can configure the firewall of your Azure resources to allow traffic from your Databricks serverless compute resources. Consists of the following fields:

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


laktory.models.resources.databricks.mwsnetworkconnectivityconfig.MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule ¤

Bases: BaseModel

PARAMETER DESCRIPTION
subnets

list of subnets from which Databricks network traffic originates when accessing your Azure resources

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

target_region

the Azure region in which this service endpoint rule applies

TYPE: str | None | VariableType DEFAULT: None

target_services

the Azure services to which this service endpoint rule applies to

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


laktory.models.resources.databricks.mwsnetworkconnectivityconfig.MwsNetworkConnectivityConfigEgressConfigTargetRules ¤

Bases: BaseModel

PARAMETER DESCRIPTION
aws_private_endpoint_rules

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

azure_private_endpoint_rules

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


laktory.models.resources.databricks.mwsnetworkconnectivityconfig.MwsNetworkConnectivityConfigEgressConfigTargetRulesAwsPrivateEndpointRules ¤

Bases: BaseModel

PARAMETER DESCRIPTION
account_id

TYPE: str | None | VariableType DEFAULT: None

connection_state

TYPE: str | None | VariableType DEFAULT: None

creation_time

time in epoch milliseconds when this object was created

TYPE: int | None | VariableType DEFAULT: None

deactivated

TYPE: bool | None | VariableType DEFAULT: None

deactivated_at

TYPE: int | None | VariableType DEFAULT: None

domain_names

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

enabled

TYPE: bool | None | VariableType DEFAULT: None

endpoint_service

TYPE: str | None | VariableType DEFAULT: None

error_message

TYPE: str | None | VariableType DEFAULT: None

network_connectivity_config_id

Canonical unique identifier of Network Connectivity Config in Databricks Account

TYPE: str | None | VariableType DEFAULT: None

resource_names

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

rule_id

TYPE: str | None | VariableType DEFAULT: None

updated_time

time in epoch milliseconds when this object was updated

TYPE: int | None | VariableType DEFAULT: None

vpc_endpoint_id

TYPE: str | None | VariableType DEFAULT: None


laktory.models.resources.databricks.mwsnetworkconnectivityconfig.MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRules ¤

Bases: BaseModel

PARAMETER DESCRIPTION
connection_state

TYPE: str | None | VariableType DEFAULT: None

creation_time

time in epoch milliseconds when this object was created

TYPE: int | None | VariableType DEFAULT: None

deactivated

TYPE: bool | None | VariableType DEFAULT: None

deactivated_at

TYPE: int | None | VariableType DEFAULT: None

domain_names

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

endpoint_name

TYPE: str | None | VariableType DEFAULT: None

error_message

TYPE: str | None | VariableType DEFAULT: None

group_id

TYPE: str | None | VariableType DEFAULT: None

network_connectivity_config_id

Canonical unique identifier of Network Connectivity Config in Databricks Account

TYPE: str | None | VariableType DEFAULT: None

resource_id

TYPE: str | None | VariableType DEFAULT: None

rule_id

TYPE: str | None | VariableType DEFAULT: None

updated_time

time in epoch milliseconds when this object was updated

TYPE: int | None | VariableType DEFAULT: None