databricks.MwsNetworkConnectivityConfig
Explore with Pulumi AI
Initialize provider with
alias = "account",host = "https://accounts.azuredatabricks.net"and useprovider = databricks.accountfor alldatabricks_mws_*resources.
Public Preview This feature is available for AWS & Azure only, and is in Public Preview in AWS.
Allows you to create a Network Connectivity Config that can be used as part of a databricks.MwsWorkspaces resource to create a Databricks Workspace that leverages serverless network connectivity configs.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as databricks from "@pulumi/databricks";
const config = new pulumi.Config();
const region = config.requireObject("region");
const prefix = config.requireObject("prefix");
const ncc = new databricks.MwsNetworkConnectivityConfig("ncc", {
    name: `ncc-for-${prefix}`,
    region: region,
});
const nccBinding = new databricks.MwsNccBinding("ncc_binding", {
    networkConnectivityConfigId: ncc.networkConnectivityConfigId,
    workspaceId: databricksWorkspaceId,
});
import pulumi
import pulumi_databricks as databricks
config = pulumi.Config()
region = config.require_object("region")
prefix = config.require_object("prefix")
ncc = databricks.MwsNetworkConnectivityConfig("ncc",
    name=f"ncc-for-{prefix}",
    region=region)
ncc_binding = databricks.MwsNccBinding("ncc_binding",
    network_connectivity_config_id=ncc.network_connectivity_config_id,
    workspace_id=databricks_workspace_id)
package main
import (
	"fmt"
	"github.com/pulumi/pulumi-databricks/sdk/go/databricks"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		region := cfg.RequireObject("region")
		prefix := cfg.RequireObject("prefix")
		ncc, err := databricks.NewMwsNetworkConnectivityConfig(ctx, "ncc", &databricks.MwsNetworkConnectivityConfigArgs{
			Name:   pulumi.Sprintf("ncc-for-%v", prefix),
			Region: pulumi.Any(region),
		})
		if err != nil {
			return err
		}
		_, err = databricks.NewMwsNccBinding(ctx, "ncc_binding", &databricks.MwsNccBindingArgs{
			NetworkConnectivityConfigId: ncc.NetworkConnectivityConfigId,
			WorkspaceId:                 pulumi.Any(databricksWorkspaceId),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Databricks = Pulumi.Databricks;
return await Deployment.RunAsync(() => 
{
    var config = new Config();
    var region = config.RequireObject<dynamic>("region");
    var prefix = config.RequireObject<dynamic>("prefix");
    var ncc = new Databricks.MwsNetworkConnectivityConfig("ncc", new()
    {
        Name = $"ncc-for-{prefix}",
        Region = region,
    });
    var nccBinding = new Databricks.MwsNccBinding("ncc_binding", new()
    {
        NetworkConnectivityConfigId = ncc.NetworkConnectivityConfigId,
        WorkspaceId = databricksWorkspaceId,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.databricks.MwsNetworkConnectivityConfig;
import com.pulumi.databricks.MwsNetworkConnectivityConfigArgs;
import com.pulumi.databricks.MwsNccBinding;
import com.pulumi.databricks.MwsNccBindingArgs;
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 config = ctx.config();
        final var region = config.get("region");
        final var prefix = config.get("prefix");
        var ncc = new MwsNetworkConnectivityConfig("ncc", MwsNetworkConnectivityConfigArgs.builder()
            .name(String.format("ncc-for-%s", prefix))
            .region(region)
            .build());
        var nccBinding = new MwsNccBinding("nccBinding", MwsNccBindingArgs.builder()
            .networkConnectivityConfigId(ncc.networkConnectivityConfigId())
            .workspaceId(databricksWorkspaceId)
            .build());
    }
}
configuration:
  region:
    type: dynamic
  prefix:
    type: dynamic
resources:
  ncc:
    type: databricks:MwsNetworkConnectivityConfig
    properties:
      name: ncc-for-${prefix}
      region: ${region}
  nccBinding:
    type: databricks:MwsNccBinding
    name: ncc_binding
    properties:
      networkConnectivityConfigId: ${ncc.networkConnectivityConfigId}
      workspaceId: ${databricksWorkspaceId}
Related Resources
The following resources are used in the context:
- databricks.MwsWorkspaces to set up Databricks workspaces.
- databricks.MwsNccBinding to attach an NCC to a workspace.
- databricks.MwsNccPrivateEndpointRule to create a private endpoint rule.
Create MwsNetworkConnectivityConfig Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new MwsNetworkConnectivityConfig(name: string, args: MwsNetworkConnectivityConfigArgs, opts?: CustomResourceOptions);@overload
def MwsNetworkConnectivityConfig(resource_name: str,
                                 args: MwsNetworkConnectivityConfigArgs,
                                 opts: Optional[ResourceOptions] = None)
@overload
def MwsNetworkConnectivityConfig(resource_name: str,
                                 opts: Optional[ResourceOptions] = None,
                                 region: Optional[str] = None,
                                 account_id: Optional[str] = None,
                                 creation_time: Optional[int] = None,
                                 egress_config: Optional[MwsNetworkConnectivityConfigEgressConfigArgs] = None,
                                 name: Optional[str] = None,
                                 network_connectivity_config_id: Optional[str] = None,
                                 updated_time: Optional[int] = None)func NewMwsNetworkConnectivityConfig(ctx *Context, name string, args MwsNetworkConnectivityConfigArgs, opts ...ResourceOption) (*MwsNetworkConnectivityConfig, error)public MwsNetworkConnectivityConfig(string name, MwsNetworkConnectivityConfigArgs args, CustomResourceOptions? opts = null)
public MwsNetworkConnectivityConfig(String name, MwsNetworkConnectivityConfigArgs args)
public MwsNetworkConnectivityConfig(String name, MwsNetworkConnectivityConfigArgs args, CustomResourceOptions options)
type: databricks:MwsNetworkConnectivityConfig
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args MwsNetworkConnectivityConfigArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args MwsNetworkConnectivityConfigArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args MwsNetworkConnectivityConfigArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MwsNetworkConnectivityConfigArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args MwsNetworkConnectivityConfigArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var mwsNetworkConnectivityConfigResource = new Databricks.MwsNetworkConnectivityConfig("mwsNetworkConnectivityConfigResource", new()
{
    Region = "string",
    AccountId = "string",
    CreationTime = 0,
    EgressConfig = new Databricks.Inputs.MwsNetworkConnectivityConfigEgressConfigArgs
    {
        DefaultRules = new Databricks.Inputs.MwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs
        {
            AwsStableIpRule = new Databricks.Inputs.MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs
            {
                CidrBlocks = new[]
                {
                    "string",
                },
            },
            AzureServiceEndpointRule = new Databricks.Inputs.MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs
            {
                Subnets = new[]
                {
                    "string",
                },
                TargetRegion = "string",
                TargetServices = new[]
                {
                    "string",
                },
            },
        },
        TargetRules = new Databricks.Inputs.MwsNetworkConnectivityConfigEgressConfigTargetRulesArgs
        {
            AzurePrivateEndpointRules = new[]
            {
                new Databricks.Inputs.MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgs
                {
                    ConnectionState = "string",
                    CreationTime = 0,
                    Deactivated = false,
                    DeactivatedAt = 0,
                    EndpointName = "string",
                    GroupId = "string",
                    NetworkConnectivityConfigId = "string",
                    ResourceId = "string",
                    RuleId = "string",
                    UpdatedTime = 0,
                },
            },
        },
    },
    Name = "string",
    NetworkConnectivityConfigId = "string",
    UpdatedTime = 0,
});
example, err := databricks.NewMwsNetworkConnectivityConfig(ctx, "mwsNetworkConnectivityConfigResource", &databricks.MwsNetworkConnectivityConfigArgs{
	Region:       pulumi.String("string"),
	AccountId:    pulumi.String("string"),
	CreationTime: pulumi.Int(0),
	EgressConfig: &databricks.MwsNetworkConnectivityConfigEgressConfigArgs{
		DefaultRules: &databricks.MwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs{
			AwsStableIpRule: &databricks.MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs{
				CidrBlocks: pulumi.StringArray{
					pulumi.String("string"),
				},
			},
			AzureServiceEndpointRule: &databricks.MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs{
				Subnets: pulumi.StringArray{
					pulumi.String("string"),
				},
				TargetRegion: pulumi.String("string"),
				TargetServices: pulumi.StringArray{
					pulumi.String("string"),
				},
			},
		},
		TargetRules: &databricks.MwsNetworkConnectivityConfigEgressConfigTargetRulesArgs{
			AzurePrivateEndpointRules: databricks.MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArray{
				&databricks.MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgs{
					ConnectionState:             pulumi.String("string"),
					CreationTime:                pulumi.Int(0),
					Deactivated:                 pulumi.Bool(false),
					DeactivatedAt:               pulumi.Int(0),
					EndpointName:                pulumi.String("string"),
					GroupId:                     pulumi.String("string"),
					NetworkConnectivityConfigId: pulumi.String("string"),
					ResourceId:                  pulumi.String("string"),
					RuleId:                      pulumi.String("string"),
					UpdatedTime:                 pulumi.Int(0),
				},
			},
		},
	},
	Name:                        pulumi.String("string"),
	NetworkConnectivityConfigId: pulumi.String("string"),
	UpdatedTime:                 pulumi.Int(0),
})
var mwsNetworkConnectivityConfigResource = new MwsNetworkConnectivityConfig("mwsNetworkConnectivityConfigResource", MwsNetworkConnectivityConfigArgs.builder()
    .region("string")
    .accountId("string")
    .creationTime(0)
    .egressConfig(MwsNetworkConnectivityConfigEgressConfigArgs.builder()
        .defaultRules(MwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs.builder()
            .awsStableIpRule(MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs.builder()
                .cidrBlocks("string")
                .build())
            .azureServiceEndpointRule(MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs.builder()
                .subnets("string")
                .targetRegion("string")
                .targetServices("string")
                .build())
            .build())
        .targetRules(MwsNetworkConnectivityConfigEgressConfigTargetRulesArgs.builder()
            .azurePrivateEndpointRules(MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgs.builder()
                .connectionState("string")
                .creationTime(0)
                .deactivated(false)
                .deactivatedAt(0)
                .endpointName("string")
                .groupId("string")
                .networkConnectivityConfigId("string")
                .resourceId("string")
                .ruleId("string")
                .updatedTime(0)
                .build())
            .build())
        .build())
    .name("string")
    .networkConnectivityConfigId("string")
    .updatedTime(0)
    .build());
mws_network_connectivity_config_resource = databricks.MwsNetworkConnectivityConfig("mwsNetworkConnectivityConfigResource",
    region="string",
    account_id="string",
    creation_time=0,
    egress_config={
        "default_rules": {
            "aws_stable_ip_rule": {
                "cidr_blocks": ["string"],
            },
            "azure_service_endpoint_rule": {
                "subnets": ["string"],
                "target_region": "string",
                "target_services": ["string"],
            },
        },
        "target_rules": {
            "azure_private_endpoint_rules": [{
                "connection_state": "string",
                "creation_time": 0,
                "deactivated": False,
                "deactivated_at": 0,
                "endpoint_name": "string",
                "group_id": "string",
                "network_connectivity_config_id": "string",
                "resource_id": "string",
                "rule_id": "string",
                "updated_time": 0,
            }],
        },
    },
    name="string",
    network_connectivity_config_id="string",
    updated_time=0)
const mwsNetworkConnectivityConfigResource = new databricks.MwsNetworkConnectivityConfig("mwsNetworkConnectivityConfigResource", {
    region: "string",
    accountId: "string",
    creationTime: 0,
    egressConfig: {
        defaultRules: {
            awsStableIpRule: {
                cidrBlocks: ["string"],
            },
            azureServiceEndpointRule: {
                subnets: ["string"],
                targetRegion: "string",
                targetServices: ["string"],
            },
        },
        targetRules: {
            azurePrivateEndpointRules: [{
                connectionState: "string",
                creationTime: 0,
                deactivated: false,
                deactivatedAt: 0,
                endpointName: "string",
                groupId: "string",
                networkConnectivityConfigId: "string",
                resourceId: "string",
                ruleId: "string",
                updatedTime: 0,
            }],
        },
    },
    name: "string",
    networkConnectivityConfigId: "string",
    updatedTime: 0,
});
type: databricks:MwsNetworkConnectivityConfig
properties:
    accountId: string
    creationTime: 0
    egressConfig:
        defaultRules:
            awsStableIpRule:
                cidrBlocks:
                    - string
            azureServiceEndpointRule:
                subnets:
                    - string
                targetRegion: string
                targetServices:
                    - string
        targetRules:
            azurePrivateEndpointRules:
                - connectionState: string
                  creationTime: 0
                  deactivated: false
                  deactivatedAt: 0
                  endpointName: string
                  groupId: string
                  networkConnectivityConfigId: string
                  resourceId: string
                  ruleId: string
                  updatedTime: 0
    name: string
    networkConnectivityConfigId: string
    region: string
    updatedTime: 0
MwsNetworkConnectivityConfig Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The MwsNetworkConnectivityConfig resource accepts the following input properties:
- Region string
- 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.
- AccountId string
- CreationTime int
- EgressConfig MwsNetwork Connectivity Config Egress Config 
- Name string
- Name of Network Connectivity Config in Databricks Account. Change forces creation of a new resource.
- NetworkConnectivity stringConfig Id 
- Canonical unique identifier of Network Connectivity Config in Databricks Account
- UpdatedTime int
- Region string
- 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.
- AccountId string
- CreationTime int
- EgressConfig MwsNetwork Connectivity Config Egress Config Args 
- Name string
- Name of Network Connectivity Config in Databricks Account. Change forces creation of a new resource.
- NetworkConnectivity stringConfig Id 
- Canonical unique identifier of Network Connectivity Config in Databricks Account
- UpdatedTime int
- region String
- 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.
- accountId String
- creationTime Integer
- egressConfig MwsNetwork Connectivity Config Egress Config 
- name String
- Name of Network Connectivity Config in Databricks Account. Change forces creation of a new resource.
- networkConnectivity StringConfig Id 
- Canonical unique identifier of Network Connectivity Config in Databricks Account
- updatedTime Integer
- region string
- 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.
- accountId string
- creationTime number
- egressConfig MwsNetwork Connectivity Config Egress Config 
- name string
- Name of Network Connectivity Config in Databricks Account. Change forces creation of a new resource.
- networkConnectivity stringConfig Id 
- Canonical unique identifier of Network Connectivity Config in Databricks Account
- updatedTime number
- region str
- 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.
- account_id str
- creation_time int
- egress_config MwsNetwork Connectivity Config Egress Config Args 
- name str
- Name of Network Connectivity Config in Databricks Account. Change forces creation of a new resource.
- network_connectivity_ strconfig_ id 
- Canonical unique identifier of Network Connectivity Config in Databricks Account
- updated_time int
- region String
- 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.
- accountId String
- creationTime Number
- egressConfig Property Map
- name String
- Name of Network Connectivity Config in Databricks Account. Change forces creation of a new resource.
- networkConnectivity StringConfig Id 
- Canonical unique identifier of Network Connectivity Config in Databricks Account
- updatedTime Number
Outputs
All input properties are implicitly available as output properties. Additionally, the MwsNetworkConnectivityConfig resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing MwsNetworkConnectivityConfig Resource
Get an existing MwsNetworkConnectivityConfig resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: MwsNetworkConnectivityConfigState, opts?: CustomResourceOptions): MwsNetworkConnectivityConfig@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        account_id: Optional[str] = None,
        creation_time: Optional[int] = None,
        egress_config: Optional[MwsNetworkConnectivityConfigEgressConfigArgs] = None,
        name: Optional[str] = None,
        network_connectivity_config_id: Optional[str] = None,
        region: Optional[str] = None,
        updated_time: Optional[int] = None) -> MwsNetworkConnectivityConfigfunc GetMwsNetworkConnectivityConfig(ctx *Context, name string, id IDInput, state *MwsNetworkConnectivityConfigState, opts ...ResourceOption) (*MwsNetworkConnectivityConfig, error)public static MwsNetworkConnectivityConfig Get(string name, Input<string> id, MwsNetworkConnectivityConfigState? state, CustomResourceOptions? opts = null)public static MwsNetworkConnectivityConfig get(String name, Output<String> id, MwsNetworkConnectivityConfigState state, CustomResourceOptions options)Resource lookup is not supported in YAML- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- AccountId string
- CreationTime int
- EgressConfig MwsNetwork Connectivity Config Egress Config 
- Name string
- Name of Network Connectivity Config in Databricks Account. Change forces creation of a new resource.
- NetworkConnectivity stringConfig Id 
- Canonical unique identifier of Network Connectivity Config in Databricks Account
- Region string
- 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.
- UpdatedTime int
- AccountId string
- CreationTime int
- EgressConfig MwsNetwork Connectivity Config Egress Config Args 
- Name string
- Name of Network Connectivity Config in Databricks Account. Change forces creation of a new resource.
- NetworkConnectivity stringConfig Id 
- Canonical unique identifier of Network Connectivity Config in Databricks Account
- Region string
- 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.
- UpdatedTime int
- accountId String
- creationTime Integer
- egressConfig MwsNetwork Connectivity Config Egress Config 
- name String
- Name of Network Connectivity Config in Databricks Account. Change forces creation of a new resource.
- networkConnectivity StringConfig Id 
- Canonical unique identifier of Network Connectivity Config in Databricks Account
- region String
- 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.
- updatedTime Integer
- accountId string
- creationTime number
- egressConfig MwsNetwork Connectivity Config Egress Config 
- name string
- Name of Network Connectivity Config in Databricks Account. Change forces creation of a new resource.
- networkConnectivity stringConfig Id 
- Canonical unique identifier of Network Connectivity Config in Databricks Account
- region string
- 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.
- updatedTime number
- account_id str
- creation_time int
- egress_config MwsNetwork Connectivity Config Egress Config Args 
- name str
- Name of Network Connectivity Config in Databricks Account. Change forces creation of a new resource.
- network_connectivity_ strconfig_ id 
- Canonical unique identifier of Network Connectivity Config in Databricks Account
- region str
- 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.
- updated_time int
- accountId String
- creationTime Number
- egressConfig Property Map
- name String
- Name of Network Connectivity Config in Databricks Account. Change forces creation of a new resource.
- networkConnectivity StringConfig Id 
- Canonical unique identifier of Network Connectivity Config in Databricks Account
- region String
- 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.
- updatedTime Number
Supporting Types
MwsNetworkConnectivityConfigEgressConfig, MwsNetworkConnectivityConfigEgressConfigArgs            
- DefaultRules MwsNetwork Connectivity Config Egress Config Default Rules 
- block describing network connectivity rules that are applied by default without resource specific configurations. Consists of the following fields:
- TargetRules MwsNetwork Connectivity Config Egress Config Target Rules 
- block describing network connectivity rules that configured for each destinations. These rules override default rules. Consists of the following fields:
- DefaultRules MwsNetwork Connectivity Config Egress Config Default Rules 
- block describing network connectivity rules that are applied by default without resource specific configurations. Consists of the following fields:
- TargetRules MwsNetwork Connectivity Config Egress Config Target Rules 
- block describing network connectivity rules that configured for each destinations. These rules override default rules. Consists of the following fields:
- defaultRules MwsNetwork Connectivity Config Egress Config Default Rules 
- block describing network connectivity rules that are applied by default without resource specific configurations. Consists of the following fields:
- targetRules MwsNetwork Connectivity Config Egress Config Target Rules 
- block describing network connectivity rules that configured for each destinations. These rules override default rules. Consists of the following fields:
- defaultRules MwsNetwork Connectivity Config Egress Config Default Rules 
- block describing network connectivity rules that are applied by default without resource specific configurations. Consists of the following fields:
- targetRules MwsNetwork Connectivity Config Egress Config Target Rules 
- block describing network connectivity rules that configured for each destinations. These rules override default rules. Consists of the following fields:
- default_rules MwsNetwork Connectivity Config Egress Config Default Rules 
- block describing network connectivity rules that are applied by default without resource specific configurations. Consists of the following fields:
- target_rules MwsNetwork Connectivity Config Egress Config Target Rules 
- block describing network connectivity rules that configured for each destinations. These rules override default rules. Consists of the following fields:
- defaultRules Property Map
- block describing network connectivity rules that are applied by default without resource specific configurations. Consists of the following fields:
- targetRules Property Map
- block describing network connectivity rules that configured for each destinations. These rules override default rules. Consists of the following fields:
MwsNetworkConnectivityConfigEgressConfigDefaultRules, MwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs                
- AwsStable MwsIp Rule Network Connectivity Config Egress Config Default Rules 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:
- AzureService MwsEndpoint Rule Network Connectivity Config Egress Config Default Rules 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:
- AwsStable MwsIp Rule Network Connectivity Config Egress Config Default Rules 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:
- AzureService MwsEndpoint Rule Network Connectivity Config Egress Config Default Rules 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:
- awsStable MwsIp Rule Network Connectivity Config Egress Config Default Rules 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:
- azureService MwsEndpoint Rule Network Connectivity Config Egress Config Default Rules 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:
- awsStable MwsIp Rule Network Connectivity Config Egress Config Default Rules 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:
- azureService MwsEndpoint Rule Network Connectivity Config Egress Config Default Rules 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:
- aws_stable_ Mwsip_ rule Network Connectivity Config Egress Config Default Rules 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:
- azure_service_ Mwsendpoint_ rule Network Connectivity Config Egress Config Default Rules 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:
- awsStable Property MapIp 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:
- azureService Property MapEndpoint 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:
MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRule, MwsNetworkConnectivityConfigEgressConfigDefaultRulesAwsStableIpRuleArgs                        
- CidrBlocks List<string>
- list of IP CIDR blocks.
- CidrBlocks []string
- list of IP CIDR blocks.
- cidrBlocks List<String>
- list of IP CIDR blocks.
- cidrBlocks string[]
- list of IP CIDR blocks.
- cidr_blocks Sequence[str]
- list of IP CIDR blocks.
- cidrBlocks List<String>
- list of IP CIDR blocks.
MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRule, MwsNetworkConnectivityConfigEgressConfigDefaultRulesAzureServiceEndpointRuleArgs                        
- Subnets List<string>
- list of subnets from which Databricks network traffic originates when accessing your Azure resources.
- TargetRegion string
- the Azure region in which this service endpoint rule applies.
- TargetServices List<string>
- the Azure services to which this service endpoint rule applies to.
- Subnets []string
- list of subnets from which Databricks network traffic originates when accessing your Azure resources.
- TargetRegion string
- the Azure region in which this service endpoint rule applies.
- TargetServices []string
- the Azure services to which this service endpoint rule applies to.
- subnets List<String>
- list of subnets from which Databricks network traffic originates when accessing your Azure resources.
- targetRegion String
- the Azure region in which this service endpoint rule applies.
- targetServices List<String>
- the Azure services to which this service endpoint rule applies to.
- subnets string[]
- list of subnets from which Databricks network traffic originates when accessing your Azure resources.
- targetRegion string
- the Azure region in which this service endpoint rule applies.
- targetServices string[]
- the Azure services to which this service endpoint rule applies to.
- subnets Sequence[str]
- list of subnets from which Databricks network traffic originates when accessing your Azure resources.
- target_region str
- the Azure region in which this service endpoint rule applies.
- target_services Sequence[str]
- the Azure services to which this service endpoint rule applies to.
- subnets List<String>
- list of subnets from which Databricks network traffic originates when accessing your Azure resources.
- targetRegion String
- the Azure region in which this service endpoint rule applies.
- targetServices List<String>
- the Azure services to which this service endpoint rule applies to.
MwsNetworkConnectivityConfigEgressConfigTargetRules, MwsNetworkConnectivityConfigEgressConfigTargetRulesArgs                
- AzurePrivate List<MwsEndpoint Rules Network Connectivity Config Egress Config Target Rules Azure Private Endpoint Rule> 
- (Azure only) - list containing information about configure Azure Private Endpoints.
- AzurePrivate []MwsEndpoint Rules Network Connectivity Config Egress Config Target Rules Azure Private Endpoint Rule 
- (Azure only) - list containing information about configure Azure Private Endpoints.
- azurePrivate List<MwsEndpoint Rules Network Connectivity Config Egress Config Target Rules Azure Private Endpoint Rule> 
- (Azure only) - list containing information about configure Azure Private Endpoints.
- azurePrivate MwsEndpoint Rules Network Connectivity Config Egress Config Target Rules Azure Private Endpoint Rule[] 
- (Azure only) - list containing information about configure Azure Private Endpoints.
- azure_private_ Sequence[Mwsendpoint_ rules Network Connectivity Config Egress Config Target Rules Azure Private Endpoint Rule] 
- (Azure only) - list containing information about configure Azure Private Endpoints.
- azurePrivate List<Property Map>Endpoint Rules 
- (Azure only) - list containing information about configure Azure Private Endpoints.
MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule, MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgs                        
- ConnectionState string
- CreationTime int
- Deactivated bool
- DeactivatedAt int
- EndpointName string
- GroupId string
- NetworkConnectivity stringConfig Id 
- Canonical unique identifier of Network Connectivity Config in Databricks Account
- ResourceId string
- RuleId string
- UpdatedTime int
- ConnectionState string
- CreationTime int
- Deactivated bool
- DeactivatedAt int
- EndpointName string
- GroupId string
- NetworkConnectivity stringConfig Id 
- Canonical unique identifier of Network Connectivity Config in Databricks Account
- ResourceId string
- RuleId string
- UpdatedTime int
- connectionState String
- creationTime Integer
- deactivated Boolean
- deactivatedAt Integer
- endpointName String
- groupId String
- networkConnectivity StringConfig Id 
- Canonical unique identifier of Network Connectivity Config in Databricks Account
- resourceId String
- ruleId String
- updatedTime Integer
- connectionState string
- creationTime number
- deactivated boolean
- deactivatedAt number
- endpointName string
- groupId string
- networkConnectivity stringConfig Id 
- Canonical unique identifier of Network Connectivity Config in Databricks Account
- resourceId string
- ruleId string
- updatedTime number
- connection_state str
- creation_time int
- deactivated bool
- deactivated_at int
- endpoint_name str
- group_id str
- network_connectivity_ strconfig_ id 
- Canonical unique identifier of Network Connectivity Config in Databricks Account
- resource_id str
- rule_id str
- updated_time int
- connectionState String
- creationTime Number
- deactivated Boolean
- deactivatedAt Number
- endpointName String
- groupId String
- networkConnectivity StringConfig Id 
- Canonical unique identifier of Network Connectivity Config in Databricks Account
- resourceId String
- ruleId String
- updatedTime Number
Import
This resource can be imported by Databricks account ID and Network Connectivity Config ID.
$ pulumi import databricks:index/mwsNetworkConnectivityConfig:MwsNetworkConnectivityConfig ncc <account_id>/<network_connectivity_config_id>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- databricks pulumi/pulumi-databricks
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the databricksTerraform Provider.