Databricks v1.70.0 published on Friday, May 9, 2025 by Pulumi
databricks.getMwsNetworkConnectivityConfig
Explore with Pulumi AI
Retrieves information about databricks.MwsNetworkConnectivityConfig in Databricks Account.
This data source can only be used with an account-level provider!
Example Usage
Fetching information about a network connectivity configuration in Databricks Account
import * as pulumi from "@pulumi/pulumi";
import * as databricks from "@pulumi/databricks";
const _this = databricks.getMwsNetworkConnectivityConfig({
name: "ncc",
});
export const config = _this;
import pulumi
import pulumi_databricks as databricks
this = databricks.get_mws_network_connectivity_config(name="ncc")
pulumi.export("config", this)
package main
import (
"github.com/pulumi/pulumi-databricks/sdk/go/databricks"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
this, err := databricks.LookupMwsNetworkConnectivityConfig(ctx, &databricks.LookupMwsNetworkConnectivityConfigArgs{
Name: "ncc",
}, nil)
if err != nil {
return err
}
ctx.Export("config", this)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Databricks = Pulumi.Databricks;
return await Deployment.RunAsync(() =>
{
var @this = Databricks.GetMwsNetworkConnectivityConfig.Invoke(new()
{
Name = "ncc",
});
return new Dictionary<string, object?>
{
["config"] = @this,
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.databricks.DatabricksFunctions;
import com.pulumi.databricks.inputs.GetMwsNetworkConnectivityConfigArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var this = DatabricksFunctions.getMwsNetworkConnectivityConfig(GetMwsNetworkConnectivityConfigArgs.builder()
.name("ncc")
.build());
ctx.export("config", this_);
}
}
variables:
this:
fn::invoke:
function: databricks:getMwsNetworkConnectivityConfig
arguments:
name: ncc
outputs:
config: ${this}
Related Resources
The following resources are used in the same context:
- databricks.getMwsNetworkConnectivityConfigs to get names of all network connectivity configurations.
- databricks.MwsNetworkConnectivityConfig to manage network connectivity configuration.
Using getMwsNetworkConnectivityConfig
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getMwsNetworkConnectivityConfig(args: GetMwsNetworkConnectivityConfigArgs, opts?: InvokeOptions): Promise<GetMwsNetworkConnectivityConfigResult>
function getMwsNetworkConnectivityConfigOutput(args: GetMwsNetworkConnectivityConfigOutputArgs, opts?: InvokeOptions): Output<GetMwsNetworkConnectivityConfigResult>
def get_mws_network_connectivity_config(account_id: Optional[str] = None,
creation_time: Optional[int] = None,
egress_config: Optional[GetMwsNetworkConnectivityConfigEgressConfig] = None,
name: Optional[str] = None,
network_connectivity_config_id: Optional[str] = None,
region: Optional[str] = None,
updated_time: Optional[int] = None,
opts: Optional[InvokeOptions] = None) -> GetMwsNetworkConnectivityConfigResult
def get_mws_network_connectivity_config_output(account_id: Optional[pulumi.Input[str]] = None,
creation_time: Optional[pulumi.Input[int]] = None,
egress_config: Optional[pulumi.Input[GetMwsNetworkConnectivityConfigEgressConfigArgs]] = None,
name: Optional[pulumi.Input[str]] = None,
network_connectivity_config_id: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
updated_time: Optional[pulumi.Input[int]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetMwsNetworkConnectivityConfigResult]
func LookupMwsNetworkConnectivityConfig(ctx *Context, args *LookupMwsNetworkConnectivityConfigArgs, opts ...InvokeOption) (*LookupMwsNetworkConnectivityConfigResult, error)
func LookupMwsNetworkConnectivityConfigOutput(ctx *Context, args *LookupMwsNetworkConnectivityConfigOutputArgs, opts ...InvokeOption) LookupMwsNetworkConnectivityConfigResultOutput
> Note: This function is named LookupMwsNetworkConnectivityConfig
in the Go SDK.
public static class GetMwsNetworkConnectivityConfig
{
public static Task<GetMwsNetworkConnectivityConfigResult> InvokeAsync(GetMwsNetworkConnectivityConfigArgs args, InvokeOptions? opts = null)
public static Output<GetMwsNetworkConnectivityConfigResult> Invoke(GetMwsNetworkConnectivityConfigInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetMwsNetworkConnectivityConfigResult> getMwsNetworkConnectivityConfig(GetMwsNetworkConnectivityConfigArgs args, InvokeOptions options)
public static Output<GetMwsNetworkConnectivityConfigResult> getMwsNetworkConnectivityConfig(GetMwsNetworkConnectivityConfigArgs args, InvokeOptions options)
fn::invoke:
function: databricks:index/getMwsNetworkConnectivityConfig:getMwsNetworkConnectivityConfig
arguments:
# arguments dictionary
The following arguments are supported:
- Name string
- Name of the network connectivity configuration.
- Account
Id string - The Databricks account ID associated with this network configuration.
- Creation
Time int - Time in epoch milliseconds when this object was created.
- Egress
Config GetMws Network Connectivity Config Egress Config - Array of egress configuration objects.
- Network
Connectivity stringConfig Id - The Databricks network connectivity configuration ID.
- Region string
- The region of the network connectivity configuration.
- Updated
Time int - Time in epoch milliseconds when the network was updated.
- Name string
- Name of the network connectivity configuration.
- Account
Id string - The Databricks account ID associated with this network configuration.
- Creation
Time int - Time in epoch milliseconds when this object was created.
- Egress
Config GetMws Network Connectivity Config Egress Config - Array of egress configuration objects.
- Network
Connectivity stringConfig Id - The Databricks network connectivity configuration ID.
- Region string
- The region of the network connectivity configuration.
- Updated
Time int - Time in epoch milliseconds when the network was updated.
- name String
- Name of the network connectivity configuration.
- account
Id String - The Databricks account ID associated with this network configuration.
- creation
Time Integer - Time in epoch milliseconds when this object was created.
- egress
Config GetMws Network Connectivity Config Egress Config - Array of egress configuration objects.
- network
Connectivity StringConfig Id - The Databricks network connectivity configuration ID.
- region String
- The region of the network connectivity configuration.
- updated
Time Integer - Time in epoch milliseconds when the network was updated.
- name string
- Name of the network connectivity configuration.
- account
Id string - The Databricks account ID associated with this network configuration.
- creation
Time number - Time in epoch milliseconds when this object was created.
- egress
Config GetMws Network Connectivity Config Egress Config - Array of egress configuration objects.
- network
Connectivity stringConfig Id - The Databricks network connectivity configuration ID.
- region string
- The region of the network connectivity configuration.
- updated
Time number - Time in epoch milliseconds when the network was updated.
- name str
- Name of the network connectivity configuration.
- account_
id str - The Databricks account ID associated with this network configuration.
- creation_
time int - Time in epoch milliseconds when this object was created.
- egress_
config GetMws Network Connectivity Config Egress Config - Array of egress configuration objects.
- network_
connectivity_ strconfig_ id - The Databricks network connectivity configuration ID.
- region str
- The region of the network connectivity configuration.
- updated_
time int - Time in epoch milliseconds when the network was updated.
- name String
- Name of the network connectivity configuration.
- account
Id String - The Databricks account ID associated with this network configuration.
- creation
Time Number - Time in epoch milliseconds when this object was created.
- egress
Config Property Map - Array of egress configuration objects.
- network
Connectivity StringConfig Id - The Databricks network connectivity configuration ID.
- region String
- The region of the network connectivity configuration.
- updated
Time Number - Time in epoch milliseconds when the network was updated.
getMwsNetworkConnectivityConfig Result
The following output properties are available:
- Account
Id string - The Databricks account ID associated with this network configuration.
- Creation
Time int - Time in epoch milliseconds when this object was created.
- Egress
Config GetMws Network Connectivity Config Egress Config - Array of egress configuration objects.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the network connectivity configuration.
- Network
Connectivity stringConfig Id - The Databricks network connectivity configuration ID.
- Region string
- The region of the network connectivity configuration.
- Updated
Time int - Time in epoch milliseconds when the network was updated.
- Account
Id string - The Databricks account ID associated with this network configuration.
- Creation
Time int - Time in epoch milliseconds when this object was created.
- Egress
Config GetMws Network Connectivity Config Egress Config - Array of egress configuration objects.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the network connectivity configuration.
- Network
Connectivity stringConfig Id - The Databricks network connectivity configuration ID.
- Region string
- The region of the network connectivity configuration.
- Updated
Time int - Time in epoch milliseconds when the network was updated.
- account
Id String - The Databricks account ID associated with this network configuration.
- creation
Time Integer - Time in epoch milliseconds when this object was created.
- egress
Config GetMws Network Connectivity Config Egress Config - Array of egress configuration objects.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the network connectivity configuration.
- network
Connectivity StringConfig Id - The Databricks network connectivity configuration ID.
- region String
- The region of the network connectivity configuration.
- updated
Time Integer - Time in epoch milliseconds when the network was updated.
- account
Id string - The Databricks account ID associated with this network configuration.
- creation
Time number - Time in epoch milliseconds when this object was created.
- egress
Config GetMws Network Connectivity Config Egress Config - Array of egress configuration objects.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the network connectivity configuration.
- network
Connectivity stringConfig Id - The Databricks network connectivity configuration ID.
- region string
- The region of the network connectivity configuration.
- updated
Time number - Time in epoch milliseconds when the network was updated.
- account_
id str - The Databricks account ID associated with this network configuration.
- creation_
time int - Time in epoch milliseconds when this object was created.
- egress_
config GetMws Network Connectivity Config Egress Config - Array of egress configuration objects.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the network connectivity configuration.
- network_
connectivity_ strconfig_ id - The Databricks network connectivity configuration ID.
- region str
- The region of the network connectivity configuration.
- updated_
time int - Time in epoch milliseconds when the network was updated.
- account
Id String - The Databricks account ID associated with this network configuration.
- creation
Time Number - Time in epoch milliseconds when this object was created.
- egress
Config Property Map - Array of egress configuration objects.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the network connectivity configuration.
- network
Connectivity StringConfig Id - The Databricks network connectivity configuration ID.
- region String
- The region of the network connectivity configuration.
- updated
Time Number - Time in epoch milliseconds when the network was updated.
Supporting Types
GetMwsNetworkConnectivityConfigEgressConfig
- Default
Rules GetMws Network Connectivity Config Egress Config Default Rules - Array of default rules.
- Target
Rules GetMws Network Connectivity Config Egress Config Target Rules - Array of target rules.
- Default
Rules GetMws Network Connectivity Config Egress Config Default Rules - Array of default rules.
- Target
Rules GetMws Network Connectivity Config Egress Config Target Rules - Array of target rules.
- default
Rules GetMws Network Connectivity Config Egress Config Default Rules - Array of default rules.
- target
Rules GetMws Network Connectivity Config Egress Config Target Rules - Array of target rules.
- default
Rules GetMws Network Connectivity Config Egress Config Default Rules - Array of default rules.
- target
Rules GetMws Network Connectivity Config Egress Config Target Rules - Array of target rules.
- default_
rules GetMws Network Connectivity Config Egress Config Default Rules - Array of default rules.
- target_
rules GetMws Network Connectivity Config Egress Config Target Rules - Array of target rules.
- default
Rules Property Map - Array of default rules.
- target
Rules Property Map - Array of target rules.
GetMwsNetworkConnectivityConfigEgressConfigDefaultRules
- Aws
Stable GetIp Rule Mws Network Connectivity Config Egress Config Default Rules Aws Stable Ip Rule - The stable AWS IP CIDR blocks. You can use these to configure the firewall of your resources to allow traffic from your Databricks workspace.
- Azure
Service GetEndpoint Rule Mws Network Connectivity Config Egress Config Default Rules Azure Service Endpoint Rule - Array of Azure service endpoint rules.
- Aws
Stable GetIp Rule Mws Network Connectivity Config Egress Config Default Rules Aws Stable Ip Rule - The stable AWS IP CIDR blocks. You can use these to configure the firewall of your resources to allow traffic from your Databricks workspace.
- Azure
Service GetEndpoint Rule Mws Network Connectivity Config Egress Config Default Rules Azure Service Endpoint Rule - Array of Azure service endpoint rules.
- aws
Stable GetIp Rule Mws Network Connectivity Config Egress Config Default Rules Aws Stable Ip Rule - The stable AWS IP CIDR blocks. You can use these to configure the firewall of your resources to allow traffic from your Databricks workspace.
- azure
Service GetEndpoint Rule Mws Network Connectivity Config Egress Config Default Rules Azure Service Endpoint Rule - Array of Azure service endpoint rules.
- aws
Stable GetIp Rule Mws Network Connectivity Config Egress Config Default Rules Aws Stable Ip Rule - The stable AWS IP CIDR blocks. You can use these to configure the firewall of your resources to allow traffic from your Databricks workspace.
- azure
Service GetEndpoint Rule Mws Network Connectivity Config Egress Config Default Rules Azure Service Endpoint Rule - Array of Azure service endpoint rules.
- aws_
stable_ Getip_ rule Mws Network Connectivity Config Egress Config Default Rules Aws Stable Ip Rule - The stable AWS IP CIDR blocks. You can use these to configure the firewall of your resources to allow traffic from your Databricks workspace.
- azure_
service_ Getendpoint_ rule Mws Network Connectivity Config Egress Config Default Rules Azure Service Endpoint Rule - Array of Azure service endpoint rules.
- aws
Stable Property MapIp Rule - The stable AWS IP CIDR blocks. You can use these to configure the firewall of your resources to allow traffic from your Databricks workspace.
- azure
Service Property MapEndpoint Rule - Array of Azure service endpoint rules.
GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule
- Cidr
Blocks List<string> - The list of stable IP CIDR blocks from which Databricks network traffic originates when accessing your resources.
- Cidr
Blocks []string - The list of stable IP CIDR blocks from which Databricks network traffic originates when accessing your resources.
- cidr
Blocks List<String> - The list of stable IP CIDR blocks from which Databricks network traffic originates when accessing your resources.
- cidr
Blocks string[] - The list of stable IP CIDR blocks from which Databricks network traffic originates when accessing your resources.
- cidr_
blocks Sequence[str] - The list of stable IP CIDR blocks from which Databricks network traffic originates when accessing your resources.
- cidr
Blocks List<String> - The list of stable IP CIDR blocks from which Databricks network traffic originates when accessing your resources.
GetMwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule
- Subnets List<string>
- Array of strings representing the subnet IDs.
- Target
Region string - The target region for the service endpoint.
- Target
Services List<string> - Array of target services.
- Subnets []string
- Array of strings representing the subnet IDs.
- Target
Region string - The target region for the service endpoint.
- Target
Services []string - Array of target services.
- subnets List<String>
- Array of strings representing the subnet IDs.
- target
Region String - The target region for the service endpoint.
- target
Services List<String> - Array of target services.
- subnets string[]
- Array of strings representing the subnet IDs.
- target
Region string - The target region for the service endpoint.
- target
Services string[] - Array of target services.
- subnets Sequence[str]
- Array of strings representing the subnet IDs.
- target_
region str - The target region for the service endpoint.
- target_
services Sequence[str] - Array of target services.
- subnets List<String>
- Array of strings representing the subnet IDs.
- target
Region String - The target region for the service endpoint.
- target
Services List<String> - Array of target services.
GetMwsNetworkConnectivityConfigEgressConfigTargetRules
- Azure
Private List<GetEndpoint Rules Mws Network Connectivity Config Egress Config Target Rules Azure Private Endpoint Rule> - Array of private endpoint rule objects.
- Azure
Private []GetEndpoint Rules Mws Network Connectivity Config Egress Config Target Rules Azure Private Endpoint Rule - Array of private endpoint rule objects.
- azure
Private List<GetEndpoint Rules Mws Network Connectivity Config Egress Config Target Rules Azure Private Endpoint Rule> - Array of private endpoint rule objects.
- azure
Private GetEndpoint Rules Mws Network Connectivity Config Egress Config Target Rules Azure Private Endpoint Rule[] - Array of private endpoint rule objects.
- azure_
private_ Sequence[Getendpoint_ rules Mws Network Connectivity Config Egress Config Target Rules Azure Private Endpoint Rule] - Array of private endpoint rule objects.
- azure
Private List<Property Map>Endpoint Rules - Array of private endpoint rule objects.
GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule
- Connection
State string - The current status of this private endpoint.
- Creation
Time int - Time in epoch milliseconds when this object was created.
- Deactivated bool
- Whether this private endpoint is deactivated.
- Deactivated
At int - Time in epoch milliseconds when this object was deactivated.
- Domain
Names List<string> - Endpoint
Name string - The name of the Azure private endpoint resource.
- Group
Id string - The sub-resource type (group ID) of the target resource.
- Network
Connectivity stringConfig Id - The Databricks network connectivity configuration ID.
- Resource
Id string - The Azure resource ID of the target resource.
- Rule
Id string - The ID of a private endpoint rule.
- Updated
Time int - Time in epoch milliseconds when the network was updated.
- Connection
State string - The current status of this private endpoint.
- Creation
Time int - Time in epoch milliseconds when this object was created.
- Deactivated bool
- Whether this private endpoint is deactivated.
- Deactivated
At int - Time in epoch milliseconds when this object was deactivated.
- Domain
Names []string - Endpoint
Name string - The name of the Azure private endpoint resource.
- Group
Id string - The sub-resource type (group ID) of the target resource.
- Network
Connectivity stringConfig Id - The Databricks network connectivity configuration ID.
- Resource
Id string - The Azure resource ID of the target resource.
- Rule
Id string - The ID of a private endpoint rule.
- Updated
Time int - Time in epoch milliseconds when the network was updated.
- connection
State String - The current status of this private endpoint.
- creation
Time Integer - Time in epoch milliseconds when this object was created.
- deactivated Boolean
- Whether this private endpoint is deactivated.
- deactivated
At Integer - Time in epoch milliseconds when this object was deactivated.
- domain
Names List<String> - endpoint
Name String - The name of the Azure private endpoint resource.
- group
Id String - The sub-resource type (group ID) of the target resource.
- network
Connectivity StringConfig Id - The Databricks network connectivity configuration ID.
- resource
Id String - The Azure resource ID of the target resource.
- rule
Id String - The ID of a private endpoint rule.
- updated
Time Integer - Time in epoch milliseconds when the network was updated.
- connection
State string - The current status of this private endpoint.
- creation
Time number - Time in epoch milliseconds when this object was created.
- deactivated boolean
- Whether this private endpoint is deactivated.
- deactivated
At number - Time in epoch milliseconds when this object was deactivated.
- domain
Names string[] - endpoint
Name string - The name of the Azure private endpoint resource.
- group
Id string - The sub-resource type (group ID) of the target resource.
- network
Connectivity stringConfig Id - The Databricks network connectivity configuration ID.
- resource
Id string - The Azure resource ID of the target resource.
- rule
Id string - The ID of a private endpoint rule.
- updated
Time number - Time in epoch milliseconds when the network was updated.
- connection_
state str - The current status of this private endpoint.
- creation_
time int - Time in epoch milliseconds when this object was created.
- deactivated bool
- Whether this private endpoint is deactivated.
- deactivated_
at int - Time in epoch milliseconds when this object was deactivated.
- domain_
names Sequence[str] - endpoint_
name str - The name of the Azure private endpoint resource.
- group_
id str - The sub-resource type (group ID) of the target resource.
- network_
connectivity_ strconfig_ id - The Databricks network connectivity configuration ID.
- resource_
id str - The Azure resource ID of the target resource.
- rule_
id str - The ID of a private endpoint rule.
- updated_
time int - Time in epoch milliseconds when the network was updated.
- connection
State String - The current status of this private endpoint.
- creation
Time Number - Time in epoch milliseconds when this object was created.
- deactivated Boolean
- Whether this private endpoint is deactivated.
- deactivated
At Number - Time in epoch milliseconds when this object was deactivated.
- domain
Names List<String> - endpoint
Name String - The name of the Azure private endpoint resource.
- group
Id String - The sub-resource type (group ID) of the target resource.
- network
Connectivity StringConfig Id - The Databricks network connectivity configuration ID.
- resource
Id String - The Azure resource ID of the target resource.
- rule
Id String - The ID of a private endpoint rule.
- updated
Time Number - Time in epoch milliseconds when the network was updated.
Package Details
- Repository
- databricks pulumi/pulumi-databricks
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
databricks
Terraform Provider.