Networking

These dataclasses are used in the SDK to represent API requests and responses for services in the databricks.sdk.service.networking module.

class databricks.sdk.service.networking.AwsVpcEndpointInfo(aws_vpc_endpoint_id: 'str', aws_account_id: 'Optional[str]' = None, aws_endpoint_service_id: 'Optional[str]' = None)
aws_vpc_endpoint_id: str

The ID of the underlying VPC endpoint in AWS. Provided by the customer when registering an existing AWS VPC endpoint.

aws_account_id: str | None = None

The AWS account ID in which this VPC endpoint lives.

aws_endpoint_service_id: str | None = None

The ID of the Databricks VPC endpoint service that this endpoint connects to.

as_dict() → dict

Serializes the AwsVpcEndpointInfo into a dictionary suitable for use as a JSON request body.

as_shallow_dict() → dict

Serializes the AwsVpcEndpointInfo into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) → AwsVpcEndpointInfo

Deserializes the AwsVpcEndpointInfo from a dictionary.

class databricks.sdk.service.networking.AzurePrivateEndpointInfo(private_endpoint_name: 'str', private_endpoint_resource_guid: 'str', private_endpoint_resource_id: 'Optional[str]' = None, private_link_service_id: 'Optional[str]' = None)
private_endpoint_name: str

The name of the Private Endpoint in the Azure subscription.

private_endpoint_resource_guid: str

The GUID of the Private Endpoint resource in the Azure subscription. This is assigned by Azure when the user sets up the Private Endpoint.

private_endpoint_resource_id: str | None = None

The full resource ID of the Private Endpoint.

The resource ID of the Databricks Private Link Service that this Private Endpoint connects to.

as_dict() → dict

Serializes the AzurePrivateEndpointInfo into a dictionary suitable for use as a JSON request body.

as_shallow_dict() → dict

Serializes the AzurePrivateEndpointInfo into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) → AzurePrivateEndpointInfo

Deserializes the AzurePrivateEndpointInfo from a dictionary.

class databricks.sdk.service.networking.DatabricksServiceExceptionWithDetailsProto(details: List[dict] | None = None, error_code: ErrorCode | None = None, message: str | None = None, stack_trace: str | None = None)

Databricks Error that is returned by all Databricks APIs.

details: List[dict] | None = None
error_code: ErrorCode | None = None
message: str | None = None
stack_trace: str | None = None
as_dict() → dict

Serializes the DatabricksServiceExceptionWithDetailsProto into a dictionary suitable for use as a JSON request body.

as_shallow_dict() → dict

Serializes the DatabricksServiceExceptionWithDetailsProto into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) → DatabricksServiceExceptionWithDetailsProto

Deserializes the DatabricksServiceExceptionWithDetailsProto from a dictionary.

class databricks.sdk.service.networking.Endpoint(display_name: str, region: str, account_id: str | None = None, aws_vpc_endpoint_info: AwsVpcEndpointInfo | None = None, azure_private_endpoint_info: AzurePrivateEndpointInfo | None = None, create_time: Timestamp | None = None, endpoint_id: str | None = None, gcp_psc_endpoint_info: GcpPscEndpointInfo | None = None, name: str | None = None, state: EndpointState | None = None, use_case: EndpointUseCase | None = None)

Endpoint represents a cloud networking resource in a user’s cloud account and binds it to the Databricks account.

display_name: str

The human-readable display name of this endpoint. The input should conform to RFC-1034, which restricts to letters, numbers, and hyphens, with the first character a letter, the last a letter or a number, and a 63 character maximum.

region: str

The cloud provider region where this endpoint is located.

account_id: str | None = None

The Databricks Account in which the endpoint object exists.

aws_vpc_endpoint_info: AwsVpcEndpointInfo | None = None

Info for an AWS VPC endpoint.

azure_private_endpoint_info: AzurePrivateEndpointInfo | None = None

Info for an Azure private endpoint.

create_time: Timestamp | None = None

The timestamp when the endpoint was created. The timestamp is in RFC 3339 format in UTC timezone.

endpoint_id: str | None = None

The unique identifier for this endpoint under the account. This field is a UUID generated by Databricks.

gcp_psc_endpoint_info: GcpPscEndpointInfo | None = None

Info for a GCP Private Service Connect endpoint.

name: str | None = None

The resource name of the endpoint, which uniquely identifies the endpoint.

state: EndpointState | None = None

The state of the endpoint. The endpoint can only be used if the state is APPROVED.

use_case: EndpointUseCase | None = None

The use case that determines the type of network connectivity this endpoint provides. This field is automatically determined based on the endpoint configuration and cloud-specific settings.

as_dict() → dict

Serializes the Endpoint into a dictionary suitable for use as a JSON request body.

as_shallow_dict() → dict

Serializes the Endpoint into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) → Endpoint

Deserializes the Endpoint from a dictionary.

class databricks.sdk.service.networking.EndpointState
APPROVED = "APPROVED"
DISCONNECTED = "DISCONNECTED"
FAILED = "FAILED"
PENDING = "PENDING"
class databricks.sdk.service.networking.EndpointUseCase
SERVICE_DIRECT = "SERVICE_DIRECT"
class databricks.sdk.service.networking.ErrorCode

Error codes returned by Databricks APIs to indicate specific failure conditions.

ABORTED = "ABORTED"
ALREADY_EXISTS = "ALREADY_EXISTS"
BAD_REQUEST = "BAD_REQUEST"
CANCELLED = "CANCELLED"
CATALOG_ALREADY_EXISTS = "CATALOG_ALREADY_EXISTS"
CATALOG_DOES_NOT_EXIST = "CATALOG_DOES_NOT_EXIST"
CATALOG_NOT_EMPTY = "CATALOG_NOT_EMPTY"
COULD_NOT_ACQUIRE_LOCK = "COULD_NOT_ACQUIRE_LOCK"
CUSTOMER_UNAUTHORIZED = "CUSTOMER_UNAUTHORIZED"
DAC_ALREADY_EXISTS = "DAC_ALREADY_EXISTS"
DAC_DOES_NOT_EXIST = "DAC_DOES_NOT_EXIST"
DATA_LOSS = "DATA_LOSS"
DEADLINE_EXCEEDED = "DEADLINE_EXCEEDED"
DEPLOYMENT_TIMEOUT = "DEPLOYMENT_TIMEOUT"
DIRECTORY_NOT_EMPTY = "DIRECTORY_NOT_EMPTY"
DIRECTORY_PROTECTED = "DIRECTORY_PROTECTED"
DRY_RUN_FAILED = "DRY_RUN_FAILED"
ENDPOINT_NOT_FOUND = "ENDPOINT_NOT_FOUND"
EXTERNAL_LOCATION_ALREADY_EXISTS = "EXTERNAL_LOCATION_ALREADY_EXISTS"
EXTERNAL_LOCATION_DOES_NOT_EXIST = "EXTERNAL_LOCATION_DOES_NOT_EXIST"
FEATURE_DISABLED = "FEATURE_DISABLED"
GIT_CONFLICT = "GIT_CONFLICT"
GIT_REMOTE_ERROR = "GIT_REMOTE_ERROR"
GIT_SENSITIVE_TOKEN_DETECTED = "GIT_SENSITIVE_TOKEN_DETECTED"
GIT_UNKNOWN_REF = "GIT_UNKNOWN_REF"
GIT_URL_NOT_ON_ALLOW_LIST = "GIT_URL_NOT_ON_ALLOW_LIST"
INSECURE_PARTNER_RESPONSE = "INSECURE_PARTNER_RESPONSE"
INTERNAL_ERROR = "INTERNAL_ERROR"
INVALID_PARAMETER_VALUE = "INVALID_PARAMETER_VALUE"
INVALID_STATE = "INVALID_STATE"
INVALID_STATE_TRANSITION = "INVALID_STATE_TRANSITION"
IO_ERROR = "IO_ERROR"
IPYNB_FILE_IN_REPO = "IPYNB_FILE_IN_REPO"
MALFORMED_PARTNER_RESPONSE = "MALFORMED_PARTNER_RESPONSE"
MALFORMED_REQUEST = "MALFORMED_REQUEST"
MANAGED_RESOURCE_GROUP_DOES_NOT_EXIST = "MANAGED_RESOURCE_GROUP_DOES_NOT_EXIST"
MAX_BLOCK_SIZE_EXCEEDED = "MAX_BLOCK_SIZE_EXCEEDED"
MAX_CHILD_NODE_SIZE_EXCEEDED = "MAX_CHILD_NODE_SIZE_EXCEEDED"
MAX_LIST_SIZE_EXCEEDED = "MAX_LIST_SIZE_EXCEEDED"
MAX_NOTEBOOK_SIZE_EXCEEDED = "MAX_NOTEBOOK_SIZE_EXCEEDED"
MAX_READ_SIZE_EXCEEDED = "MAX_READ_SIZE_EXCEEDED"
METASTORE_ALREADY_EXISTS = "METASTORE_ALREADY_EXISTS"
METASTORE_DOES_NOT_EXIST = "METASTORE_DOES_NOT_EXIST"
METASTORE_NOT_EMPTY = "METASTORE_NOT_EMPTY"
NOT_FOUND = "NOT_FOUND"
NOT_IMPLEMENTED = "NOT_IMPLEMENTED"
PARTIAL_DELETE = "PARTIAL_DELETE"
PERMISSION_DENIED = "PERMISSION_DENIED"
PERMISSION_NOT_PROPAGATED = "PERMISSION_NOT_PROPAGATED"
PRINCIPAL_DOES_NOT_EXIST = "PRINCIPAL_DOES_NOT_EXIST"
PROJECTS_OPERATION_TIMEOUT = "PROJECTS_OPERATION_TIMEOUT"
PROVIDER_ALREADY_EXISTS = "PROVIDER_ALREADY_EXISTS"
PROVIDER_DOES_NOT_EXIST = "PROVIDER_DOES_NOT_EXIST"
PROVIDER_SHARE_NOT_ACCESSIBLE = "PROVIDER_SHARE_NOT_ACCESSIBLE"
QUOTA_EXCEEDED = "QUOTA_EXCEEDED"
RECIPIENT_ALREADY_EXISTS = "RECIPIENT_ALREADY_EXISTS"
RECIPIENT_DOES_NOT_EXIST = "RECIPIENT_DOES_NOT_EXIST"
REQUEST_LIMIT_EXCEEDED = "REQUEST_LIMIT_EXCEEDED"
RESOURCE_ALREADY_EXISTS = "RESOURCE_ALREADY_EXISTS"
RESOURCE_CONFLICT = "RESOURCE_CONFLICT"
RESOURCE_DOES_NOT_EXIST = "RESOURCE_DOES_NOT_EXIST"
RESOURCE_EXHAUSTED = "RESOURCE_EXHAUSTED"
RESOURCE_LIMIT_EXCEEDED = "RESOURCE_LIMIT_EXCEEDED"
SCHEMA_ALREADY_EXISTS = "SCHEMA_ALREADY_EXISTS"
SCHEMA_DOES_NOT_EXIST = "SCHEMA_DOES_NOT_EXIST"
SCHEMA_NOT_EMPTY = "SCHEMA_NOT_EMPTY"
SEARCH_QUERY_TOO_LONG = "SEARCH_QUERY_TOO_LONG"
SEARCH_QUERY_TOO_SHORT = "SEARCH_QUERY_TOO_SHORT"
SERVICE_UNDER_MAINTENANCE = "SERVICE_UNDER_MAINTENANCE"
SHARE_ALREADY_EXISTS = "SHARE_ALREADY_EXISTS"
SHARE_DOES_NOT_EXIST = "SHARE_DOES_NOT_EXIST"
STORAGE_CREDENTIAL_ALREADY_EXISTS = "STORAGE_CREDENTIAL_ALREADY_EXISTS"
STORAGE_CREDENTIAL_DOES_NOT_EXIST = "STORAGE_CREDENTIAL_DOES_NOT_EXIST"
TABLE_ALREADY_EXISTS = "TABLE_ALREADY_EXISTS"
TABLE_DOES_NOT_EXIST = "TABLE_DOES_NOT_EXIST"
TEMPORARILY_UNAVAILABLE = "TEMPORARILY_UNAVAILABLE"
UNAUTHENTICATED = "UNAUTHENTICATED"
UNAVAILABLE = "UNAVAILABLE"
UNKNOWN = "UNKNOWN"
UNPARSEABLE_HTTP_ERROR = "UNPARSEABLE_HTTP_ERROR"
WORKSPACE_TEMPORARILY_UNAVAILABLE = "WORKSPACE_TEMPORARILY_UNAVAILABLE"
class databricks.sdk.service.networking.GcpPscEndpointInfo(project_id: 'str', psc_endpoint: 'str', endpoint_region: 'str', psc_connection_id: 'Optional[str]' = None, service_attachment_id: 'Optional[str]' = None)
project_id: str

The GCP consumer project ID in which this PSC endpoint is created. Provided by the customer when registering an existing PSC endpoint.

psc_endpoint: str

The name of this PSC connection in the GCP consumer project. Provided by the customer when registering an existing PSC endpoint.

endpoint_region: str

The GCP region of the PSC connection endpoint. Provided by the customer when registering an existing PSC endpoint. GCP supports only same-region PSC, so this must match the workspace region.

psc_connection_id: str | None = None

The ID of the underlying Private Service Connect connection in the GCP consumer project, assigned by GCP when the PSC connection is created.

service_attachment_id: str | None = None

The ID of the Databricks service attachment this PSC endpoint connects to.

as_dict() → dict

Serializes the GcpPscEndpointInfo into a dictionary suitable for use as a JSON request body.

as_shallow_dict() → dict

Serializes the GcpPscEndpointInfo into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) → GcpPscEndpointInfo

Deserializes the GcpPscEndpointInfo from a dictionary.

class databricks.sdk.service.networking.ListEndpointsResponse(items: 'Optional[List[Endpoint]]' = None, next_page_token: 'Optional[str]' = None)
items: List[Endpoint] | None = None
next_page_token: str | None = None
as_dict() → dict

Serializes the ListEndpointsResponse into a dictionary suitable for use as a JSON request body.

as_shallow_dict() → dict

Serializes the ListEndpointsResponse into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) → ListEndpointsResponse

Deserializes the ListEndpointsResponse from a dictionary.

class databricks.sdk.service.networking.ListPrivateNetworkGatewaysResponse(next_page_token: 'Optional[str]' = None, private_network_gateways: 'Optional[List[PrivateNetworkGateway]]' = None)
next_page_token: str | None = None

An opaque token for the next page, or empty when there are no more results.

private_network_gateways: List[PrivateNetworkGateway] | None = None
as_dict() → dict

Serializes the ListPrivateNetworkGatewaysResponse into a dictionary suitable for use as a JSON request body.

as_shallow_dict() → dict

Serializes the ListPrivateNetworkGatewaysResponse into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) → ListPrivateNetworkGatewaysResponse

Deserializes the ListPrivateNetworkGatewaysResponse from a dictionary.

class databricks.sdk.service.networking.Operation(done: bool | None = None, error: DatabricksServiceExceptionWithDetailsProto | None = None, metadata: dict | None = None, name: str | None = None, response: dict | None = None)

This resource represents a long-running operation that is the result of a network API call.

done: bool | None = None

If the value is false, it means the operation is still in progress. If true, the operation is completed, and either error or response is available.

error: DatabricksServiceExceptionWithDetailsProto | None = None

The error result of the operation in case of failure or cancellation.

metadata: dict | None = None

Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata.

name: str | None = None

The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the name should be a resource name ending with operations/{unique_id}.

response: dict | None = None

The normal, successful response of the operation.

as_dict() → dict

Serializes the Operation into a dictionary suitable for use as a JSON request body.

as_shallow_dict() → dict

Serializes the Operation into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) → Operation

Deserializes the Operation from a dictionary.

class databricks.sdk.service.networking.PrivateNetworkGateway(display_name: str, traffic_mode: PrivateNetworkGatewayTrafficMode, aws_cloud_connection: PrivateNetworkGatewayAwsCloudConnection | None = None, azure_cloud_connection: PrivateNetworkGatewayAzureCloudConnection | None = None, bandwidth_tier_gigabits_per_second: int | None = None, create_time: Timestamp | None = None, destinations: List[PrivateNetworkGatewayDestination] | None = None, error_message: str | None = None, name: str | None = None, private_dns_resolvers: List[PrivateNetworkGatewayPrivateDnsResolver] | None = None, state: PrivateNetworkGatewayGatewayState | None = None, update_time: Timestamp | None = None)

A private network gateway connects serverless compute to destinations in a customer-managed VPC or VNet.

display_name: str

The human-readable name of the gateway.

traffic_mode: PrivateNetworkGatewayTrafficMode

The traffic routed through this gateway.

aws_cloud_connection: PrivateNetworkGatewayAwsCloudConnection | None = None

The AWS connection used by the gateway.

azure_cloud_connection: PrivateNetworkGatewayAzureCloudConnection | None = None

The Azure connection used by the gateway.

bandwidth_tier_gigabits_per_second: int | None = None

The provisioned bandwidth tier for an Azure gateway, in gigabits per second. Required when creating an Azure gateway.

create_time: Timestamp | None = None

The time when the gateway was created.

destinations: List[PrivateNetworkGatewayDestination] | None = None

The destinations routed through this gateway.

error_message: str | None = None

The failure reason when the gateway is in the FAILED state.

name: str | None = None

The canonical resource name of the gateway, in the form accounts/{account_id}/network-connectivity-configs/{ncc_id}/private-network-gateways/{gateway_id}.

private_dns_resolvers: List[PrivateNetworkGatewayPrivateDnsResolver] | None = None

The DNS resolvers used for private name resolution.

state: PrivateNetworkGatewayGatewayState | None = None

The current lifecycle state of the gateway.

update_time: Timestamp | None = None

The time when the gateway was last updated.

as_dict() → dict

Serializes the PrivateNetworkGateway into a dictionary suitable for use as a JSON request body.

as_shallow_dict() → dict

Serializes the PrivateNetworkGateway into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) → PrivateNetworkGateway

Deserializes the PrivateNetworkGateway from a dictionary.

class databricks.sdk.service.networking.PrivateNetworkGatewayAwsCloudConnection(gateway_subnets: List[PrivateNetworkGatewayAwsCloudConnectionAwsGatewaySubnet], cross_account_role: PrivateNetworkGatewayAwsCloudConnectionCrossAccountRole, security_group_ids: List[str])

AWS connection configuration.

gateway_subnets: List[PrivateNetworkGatewayAwsCloudConnectionAwsGatewaySubnet]

The subnets where the gateway establishes connectivity.

cross_account_role: PrivateNetworkGatewayAwsCloudConnectionCrossAccountRole

The IAM role that Databricks assumes to manage gateway resources.

security_group_ids: List[str]

The security groups attached to the gateway network interface.

as_dict() → dict

Serializes the PrivateNetworkGatewayAwsCloudConnection into a dictionary suitable for use as a JSON request body.

as_shallow_dict() → dict

Serializes the PrivateNetworkGatewayAwsCloudConnection into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) → PrivateNetworkGatewayAwsCloudConnection

Deserializes the PrivateNetworkGatewayAwsCloudConnection from a dictionary.

class databricks.sdk.service.networking.PrivateNetworkGatewayAwsCloudConnectionAwsGatewaySubnet(subnet_id: str)

An AWS subnet used by the gateway.

subnet_id: str

The AWS subnet ID.

as_dict() → dict

Serializes the PrivateNetworkGatewayAwsCloudConnectionAwsGatewaySubnet into a dictionary suitable for use as a JSON request body.

as_shallow_dict() → dict

Serializes the PrivateNetworkGatewayAwsCloudConnectionAwsGatewaySubnet into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) → PrivateNetworkGatewayAwsCloudConnectionAwsGatewaySubnet

Deserializes the PrivateNetworkGatewayAwsCloudConnectionAwsGatewaySubnet from a dictionary.

class databricks.sdk.service.networking.PrivateNetworkGatewayAwsCloudConnectionCrossAccountRole(role_arn: str)

A cross-account IAM role used to manage gateway resources.

role_arn: str

The ARN of the IAM role.

as_dict() → dict

Serializes the PrivateNetworkGatewayAwsCloudConnectionCrossAccountRole into a dictionary suitable for use as a JSON request body.

as_shallow_dict() → dict

Serializes the PrivateNetworkGatewayAwsCloudConnectionCrossAccountRole into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) → PrivateNetworkGatewayAwsCloudConnectionCrossAccountRole

Deserializes the PrivateNetworkGatewayAwsCloudConnectionCrossAccountRole from a dictionary.

class databricks.sdk.service.networking.PrivateNetworkGatewayAzureCloudConnection(gateway_subnet: PrivateNetworkGatewayAzureCloudConnectionAzureGatewaySubnet)

Azure connection configuration.

gateway_subnet: PrivateNetworkGatewayAzureCloudConnectionAzureGatewaySubnet

The subnet where the gateway establishes connectivity.

as_dict() → dict

Serializes the PrivateNetworkGatewayAzureCloudConnection into a dictionary suitable for use as a JSON request body.

as_shallow_dict() → dict

Serializes the PrivateNetworkGatewayAzureCloudConnection into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) → PrivateNetworkGatewayAzureCloudConnection

Deserializes the PrivateNetworkGatewayAzureCloudConnection from a dictionary.

class databricks.sdk.service.networking.PrivateNetworkGatewayAzureCloudConnectionAzureGatewaySubnet(resource_id: str)

An Azure subnet used by the gateway.

resource_id: str

The full Azure resource ID of the subnet.

as_dict() → dict

Serializes the PrivateNetworkGatewayAzureCloudConnectionAzureGatewaySubnet into a dictionary suitable for use as a JSON request body.

as_shallow_dict() → dict

Serializes the PrivateNetworkGatewayAzureCloudConnectionAzureGatewaySubnet into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) → PrivateNetworkGatewayAzureCloudConnectionAzureGatewaySubnet

Deserializes the PrivateNetworkGatewayAzureCloudConnectionAzureGatewaySubnet from a dictionary.

class databricks.sdk.service.networking.PrivateNetworkGatewayDestination(destination_type: PrivateNetworkGatewayDestinationDestinationType, value: str)

A destination routed through the gateway.

destination_type: PrivateNetworkGatewayDestinationDestinationType

The destination type.

value: str

The destination value.

as_dict() → dict

Serializes the PrivateNetworkGatewayDestination into a dictionary suitable for use as a JSON request body.

as_shallow_dict() → dict

Serializes the PrivateNetworkGatewayDestination into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) → PrivateNetworkGatewayDestination

Deserializes the PrivateNetworkGatewayDestination from a dictionary.

class databricks.sdk.service.networking.PrivateNetworkGatewayDestinationDestinationType

The supported destination types.

DNS_NAME = "DNS_NAME"
class databricks.sdk.service.networking.PrivateNetworkGatewayGatewayState

The lifecycle state of the gateway.

CREATING = "CREATING"
DELETING = "DELETING"
ESTABLISHED = "ESTABLISHED"
FAILED = "FAILED"
class databricks.sdk.service.networking.PrivateNetworkGatewayOperationMetadata(operation_type: 'Optional[PrivateNetworkGatewayOperationMetadataOperationType]' = None)
operation_type: PrivateNetworkGatewayOperationMetadataOperationType | None = None

The operation performed on the gateway.

as_dict() → dict

Serializes the PrivateNetworkGatewayOperationMetadata into a dictionary suitable for use as a JSON request body.

as_shallow_dict() → dict

Serializes the PrivateNetworkGatewayOperationMetadata into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) → PrivateNetworkGatewayOperationMetadata

Deserializes the PrivateNetworkGatewayOperationMetadata from a dictionary.

class databricks.sdk.service.networking.PrivateNetworkGatewayOperationMetadataOperationType
CREATE = "CREATE"
class databricks.sdk.service.networking.PrivateNetworkGatewayPrivateDnsResolver(resolver_type: PrivateNetworkGatewayPrivateDnsResolverResolverType, value: str)

A private DNS resolver used by the gateway.

resolver_type: PrivateNetworkGatewayPrivateDnsResolverResolverType

The resolver type.

value: str

The resolver value.

as_dict() → dict

Serializes the PrivateNetworkGatewayPrivateDnsResolver into a dictionary suitable for use as a JSON request body.

as_shallow_dict() → dict

Serializes the PrivateNetworkGatewayPrivateDnsResolver into a shallow dictionary of its immediate attributes.

classmethod from_dict(d: Dict[str, Any]) → PrivateNetworkGatewayPrivateDnsResolver

Deserializes the PrivateNetworkGatewayPrivateDnsResolver from a dictionary.

class databricks.sdk.service.networking.PrivateNetworkGatewayPrivateDnsResolverResolverType

The supported resolver types.

IP_ADDRESS = "IP_ADDRESS"
class databricks.sdk.service.networking.PrivateNetworkGatewayTrafficMode

The traffic routed through the gateway.

ALL_TRAFFIC = "ALL_TRAFFIC"
SPECIFIC_DESTINATIONS = "SPECIFIC_DESTINATIONS"