WorkspaceNetworkOption
laktory.models.resources.databricks.WorkspaceNetworkOption
ยค
Bases: WorkspaceNetworkOptionBase
Databricks workspace network option (account level)
Network policy applied to a workspace (serverless egress and ingress
rules). Requires an account-level provider. Can also be declared in the
workspace_ids of an AccountNetworkPolicy.
Examples:
import io
from laktory import models
option_yaml = '''
workspace_id: 1234567890123456
network_policy_id: restricted-egress
'''
option = models.resources.databricks.WorkspaceNetworkOption.model_validate_yaml(
io.StringIO(option_yaml)
)
| BASE | DESCRIPTION |
|---|---|
network_policy_id
|
The network policy ID to apply to the workspace. This controls the network access rules for all serverless compute resources in the workspace. Each workspace can only be linked to one policy at a time. If no policy is explicitly assigned, the workspace will use 'default-policy'
TYPE:
|
workspace_id
|
The workspace ID
TYPE:
|