databricks.MwsNetworkConnectivityConfig
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.
This resource can only be used with an account-level provider!
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as databricks from "@pulumi/databricks";
const config = new pulumi.Config();
const region = config.requireObject<any>("region");
const prefix = config.requireObject<any>("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
        {
            AwsPrivateEndpointRules = new[]
            {
                new Databricks.Inputs.MwsNetworkConnectivityConfigEgressConfigTargetRulesAwsPrivateEndpointRuleArgs
                {
                    AccountId = "string",
                    ConnectionState = "string",
                    CreationTime = 0,
                    Deactivated = false,
                    DeactivatedAt = 0,
                    DomainNames = new[]
                    {
                        "string",
                    },
                    Enabled = false,
                    EndpointService = "string",
                    NetworkConnectivityConfigId = "string",
                    ResourceNames = new[]
                    {
                        "string",
                    },
                    RuleId = "string",
                    UpdatedTime = 0,
                    VpcEndpointId = "string",
                },
            },
            AzurePrivateEndpointRules = new[]
            {
                new Databricks.Inputs.MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgs
                {
                    ConnectionState = "string",
                    CreationTime = 0,
                    Deactivated = false,
                    DeactivatedAt = 0,
                    DomainNames = new[]
                    {
                        "string",
                    },
                    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{
			AwsPrivateEndpointRules: databricks.MwsNetworkConnectivityConfigEgressConfigTargetRulesAwsPrivateEndpointRuleArray{
				&databricks.MwsNetworkConnectivityConfigEgressConfigTargetRulesAwsPrivateEndpointRuleArgs{
					AccountId:       pulumi.String("string"),
					ConnectionState: pulumi.String("string"),
					CreationTime:    pulumi.Int(0),
					Deactivated:     pulumi.Bool(false),
					DeactivatedAt:   pulumi.Int(0),
					DomainNames: pulumi.StringArray{
						pulumi.String("string"),
					},
					Enabled:                     pulumi.Bool(false),
					EndpointService:             pulumi.String("string"),
					NetworkConnectivityConfigId: pulumi.String("string"),
					ResourceNames: pulumi.StringArray{
						pulumi.String("string"),
					},
					RuleId:        pulumi.String("string"),
					UpdatedTime:   pulumi.Int(0),
					VpcEndpointId: pulumi.String("string"),
				},
			},
			AzurePrivateEndpointRules: databricks.MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArray{
				&databricks.MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgs{
					ConnectionState: pulumi.String("string"),
					CreationTime:    pulumi.Int(0),
					Deactivated:     pulumi.Bool(false),
					DeactivatedAt:   pulumi.Int(0),
					DomainNames: pulumi.StringArray{
						pulumi.String("string"),
					},
					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()
            .awsPrivateEndpointRules(MwsNetworkConnectivityConfigEgressConfigTargetRulesAwsPrivateEndpointRuleArgs.builder()
                .accountId("string")
                .connectionState("string")
                .creationTime(0)
                .deactivated(false)
                .deactivatedAt(0)
                .domainNames("string")
                .enabled(false)
                .endpointService("string")
                .networkConnectivityConfigId("string")
                .resourceNames("string")
                .ruleId("string")
                .updatedTime(0)
                .vpcEndpointId("string")
                .build())
            .azurePrivateEndpointRules(MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgs.builder()
                .connectionState("string")
                .creationTime(0)
                .deactivated(false)
                .deactivatedAt(0)
                .domainNames("string")
                .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": {
            "aws_private_endpoint_rules": [{
                "account_id": "string",
                "connection_state": "string",
                "creation_time": 0,
                "deactivated": False,
                "deactivated_at": 0,
                "domain_names": ["string"],
                "enabled": False,
                "endpoint_service": "string",
                "network_connectivity_config_id": "string",
                "resource_names": ["string"],
                "rule_id": "string",
                "updated_time": 0,
                "vpc_endpoint_id": "string",
            }],
            "azure_private_endpoint_rules": [{
                "connection_state": "string",
                "creation_time": 0,
                "deactivated": False,
                "deactivated_at": 0,
                "domain_names": ["string"],
                "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: {
            awsPrivateEndpointRules: [{
                accountId: "string",
                connectionState: "string",
                creationTime: 0,
                deactivated: false,
                deactivatedAt: 0,
                domainNames: ["string"],
                enabled: false,
                endpointService: "string",
                networkConnectivityConfigId: "string",
                resourceNames: ["string"],
                ruleId: "string",
                updatedTime: 0,
                vpcEndpointId: "string",
            }],
            azurePrivateEndpointRules: [{
                connectionState: "string",
                creationTime: 0,
                deactivated: false,
                deactivatedAt: 0,
                domainNames: ["string"],
                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:
            awsPrivateEndpointRules:
                - accountId: string
                  connectionState: string
                  creationTime: 0
                  deactivated: false
                  deactivatedAt: 0
                  domainNames:
                    - string
                  enabled: false
                  endpointService: string
                  networkConnectivityConfigId: string
                  resourceNames:
                    - string
                  ruleId: string
                  updatedTime: 0
                  vpcEndpointId: string
            azurePrivateEndpointRules:
                - connectionState: string
                  creationTime: 0
                  deactivated: false
                  deactivatedAt: 0
                  domainNames:
                    - string
                  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
- time in epoch milliseconds when this object was created.
- EgressConfig MwsNetwork Connectivity Config Egress Config 
- block containing information about network connectivity rules that apply to network traffic from your serverless compute resources. Consists of the following fields:
- Name string
- 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.
- NetworkConnectivity stringConfig Id 
- Canonical unique identifier of Network Connectivity Config in Databricks Account
- UpdatedTime int
- time in epoch milliseconds when this object was updated.
- 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
- time in epoch milliseconds when this object was created.
- EgressConfig MwsNetwork Connectivity Config Egress Config Args 
- block containing information about network connectivity rules that apply to network traffic from your serverless compute resources. Consists of the following fields:
- Name string
- 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.
- NetworkConnectivity stringConfig Id 
- Canonical unique identifier of Network Connectivity Config in Databricks Account
- UpdatedTime int
- time in epoch milliseconds when this object was updated.
- 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
- time in epoch milliseconds when this object was created.
- egressConfig MwsNetwork Connectivity Config Egress Config 
- block containing information about network connectivity rules that apply to network traffic from your serverless compute resources. Consists of the following fields:
- name String
- 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.
- networkConnectivity StringConfig Id 
- Canonical unique identifier of Network Connectivity Config in Databricks Account
- updatedTime Integer
- time in epoch milliseconds when this object was updated.
- 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
- time in epoch milliseconds when this object was created.
- egressConfig MwsNetwork Connectivity Config Egress Config 
- block containing information about network connectivity rules that apply to network traffic from your serverless compute resources. Consists of the following fields:
- name string
- 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.
- networkConnectivity stringConfig Id 
- Canonical unique identifier of Network Connectivity Config in Databricks Account
- updatedTime number
- time in epoch milliseconds when this object was updated.
- 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
- time in epoch milliseconds when this object was created.
- egress_config MwsNetwork Connectivity Config Egress Config Args 
- block containing information about network connectivity rules that apply to network traffic from your serverless compute resources. Consists of the following fields:
- name str
- 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.
- network_connectivity_ strconfig_ id 
- Canonical unique identifier of Network Connectivity Config in Databricks Account
- updated_time int
- time in epoch milliseconds when this object was updated.
- 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
- time in epoch milliseconds when this object was created.
- egressConfig Property Map
- block containing information about network connectivity rules that apply to network traffic from your serverless compute resources. Consists of the following fields:
- name String
- 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.
- networkConnectivity StringConfig Id 
- Canonical unique identifier of Network Connectivity Config in Databricks Account
- updatedTime Number
- time in epoch milliseconds when this object was updated.
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)resources:  _:    type: databricks:MwsNetworkConnectivityConfig    get:      id: ${id}- 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
- time in epoch milliseconds when this object was created.
- EgressConfig MwsNetwork Connectivity Config Egress Config 
- block containing information about network connectivity rules that apply to network traffic from your serverless compute resources. Consists of the following fields:
- Name string
- 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.
- 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
- time in epoch milliseconds when this object was updated.
- AccountId string
- CreationTime int
- time in epoch milliseconds when this object was created.
- EgressConfig MwsNetwork Connectivity Config Egress Config Args 
- block containing information about network connectivity rules that apply to network traffic from your serverless compute resources. Consists of the following fields:
- Name string
- 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.
- 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
- time in epoch milliseconds when this object was updated.
- accountId String
- creationTime Integer
- time in epoch milliseconds when this object was created.
- egressConfig MwsNetwork Connectivity Config Egress Config 
- block containing information about network connectivity rules that apply to network traffic from your serverless compute resources. Consists of the following fields:
- name String
- 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.
- 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
- time in epoch milliseconds when this object was updated.
- accountId string
- creationTime number
- time in epoch milliseconds when this object was created.
- egressConfig MwsNetwork Connectivity Config Egress Config 
- block containing information about network connectivity rules that apply to network traffic from your serverless compute resources. Consists of the following fields:
- name string
- 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.
- 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
- time in epoch milliseconds when this object was updated.
- account_id str
- creation_time int
- time in epoch milliseconds when this object was created.
- egress_config MwsNetwork Connectivity Config Egress Config Args 
- block containing information about network connectivity rules that apply to network traffic from your serverless compute resources. Consists of the following fields:
- name str
- 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.
- 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
- time in epoch milliseconds when this object was updated.
- accountId String
- creationTime Number
- time in epoch milliseconds when this object was created.
- egressConfig Property Map
- block containing information about network connectivity rules that apply to network traffic from your serverless compute resources. Consists of the following fields:
- name String
- 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.
- 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
- time in epoch milliseconds when this object was updated.
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                
- AwsPrivate List<MwsEndpoint Rules Network Connectivity Config Egress Config Target Rules Aws Private Endpoint Rule> 
- (AWS only) - list containing information about configure AWS 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.
- AwsPrivate []MwsEndpoint Rules Network Connectivity Config Egress Config Target Rules Aws Private Endpoint Rule 
- (AWS only) - list containing information about configure AWS 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.
- awsPrivate List<MwsEndpoint Rules Network Connectivity Config Egress Config Target Rules Aws Private Endpoint Rule> 
- (AWS only) - list containing information about configure AWS 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.
- awsPrivate MwsEndpoint Rules Network Connectivity Config Egress Config Target Rules Aws Private Endpoint Rule[] 
- (AWS only) - list containing information about configure AWS 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.
- aws_private_ Sequence[Mwsendpoint_ rules Network Connectivity Config Egress Config Target Rules Aws Private Endpoint Rule] 
- (AWS only) - list containing information about configure AWS 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.
- awsPrivate List<Property Map>Endpoint Rules 
- (AWS only) - list containing information about configure AWS Private Endpoints.
- azurePrivate List<Property Map>Endpoint Rules 
- (Azure only) - list containing information about configure Azure Private Endpoints.
MwsNetworkConnectivityConfigEgressConfigTargetRulesAwsPrivateEndpointRule, MwsNetworkConnectivityConfigEgressConfigTargetRulesAwsPrivateEndpointRuleArgs                        
- AccountId string
- ConnectionState string
- CreationTime int
- time in epoch milliseconds when this object was created.
- Deactivated bool
- DeactivatedAt int
- DomainNames List<string>
- Enabled bool
- EndpointService string
- NetworkConnectivity stringConfig Id 
- Canonical unique identifier of Network Connectivity Config in Databricks Account
- ResourceNames List<string>
- RuleId string
- UpdatedTime int
- time in epoch milliseconds when this object was updated.
- VpcEndpoint stringId 
- AccountId string
- ConnectionState string
- CreationTime int
- time in epoch milliseconds when this object was created.
- Deactivated bool
- DeactivatedAt int
- DomainNames []string
- Enabled bool
- EndpointService string
- NetworkConnectivity stringConfig Id 
- Canonical unique identifier of Network Connectivity Config in Databricks Account
- ResourceNames []string
- RuleId string
- UpdatedTime int
- time in epoch milliseconds when this object was updated.
- VpcEndpoint stringId 
- accountId String
- connectionState String
- creationTime Integer
- time in epoch milliseconds when this object was created.
- deactivated Boolean
- deactivatedAt Integer
- domainNames List<String>
- enabled Boolean
- endpointService String
- networkConnectivity StringConfig Id 
- Canonical unique identifier of Network Connectivity Config in Databricks Account
- resourceNames List<String>
- ruleId String
- updatedTime Integer
- time in epoch milliseconds when this object was updated.
- vpcEndpoint StringId 
- accountId string
- connectionState string
- creationTime number
- time in epoch milliseconds when this object was created.
- deactivated boolean
- deactivatedAt number
- domainNames string[]
- enabled boolean
- endpointService string
- networkConnectivity stringConfig Id 
- Canonical unique identifier of Network Connectivity Config in Databricks Account
- resourceNames string[]
- ruleId string
- updatedTime number
- time in epoch milliseconds when this object was updated.
- vpcEndpoint stringId 
- account_id str
- connection_state str
- creation_time int
- time in epoch milliseconds when this object was created.
- deactivated bool
- deactivated_at int
- domain_names Sequence[str]
- enabled bool
- endpoint_service str
- network_connectivity_ strconfig_ id 
- Canonical unique identifier of Network Connectivity Config in Databricks Account
- resource_names Sequence[str]
- rule_id str
- updated_time int
- time in epoch milliseconds when this object was updated.
- vpc_endpoint_ strid 
- accountId String
- connectionState String
- creationTime Number
- time in epoch milliseconds when this object was created.
- deactivated Boolean
- deactivatedAt Number
- domainNames List<String>
- enabled Boolean
- endpointService String
- networkConnectivity StringConfig Id 
- Canonical unique identifier of Network Connectivity Config in Databricks Account
- resourceNames List<String>
- ruleId String
- updatedTime Number
- time in epoch milliseconds when this object was updated.
- vpcEndpoint StringId 
MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule, MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgs                        
- ConnectionState string
- CreationTime int
- time in epoch milliseconds when this object was created.
- Deactivated bool
- DeactivatedAt int
- DomainNames List<string>
- EndpointName string
- GroupId string
- NetworkConnectivity stringConfig Id 
- Canonical unique identifier of Network Connectivity Config in Databricks Account
- ResourceId string
- RuleId string
- UpdatedTime int
- time in epoch milliseconds when this object was updated.
- ConnectionState string
- CreationTime int
- time in epoch milliseconds when this object was created.
- Deactivated bool
- DeactivatedAt int
- DomainNames []string
- EndpointName string
- GroupId string
- NetworkConnectivity stringConfig Id 
- Canonical unique identifier of Network Connectivity Config in Databricks Account
- ResourceId string
- RuleId string
- UpdatedTime int
- time in epoch milliseconds when this object was updated.
- connectionState String
- creationTime Integer
- time in epoch milliseconds when this object was created.
- deactivated Boolean
- deactivatedAt Integer
- domainNames List<String>
- endpointName String
- groupId String
- networkConnectivity StringConfig Id 
- Canonical unique identifier of Network Connectivity Config in Databricks Account
- resourceId String
- ruleId String
- updatedTime Integer
- time in epoch milliseconds when this object was updated.
- connectionState string
- creationTime number
- time in epoch milliseconds when this object was created.
- deactivated boolean
- deactivatedAt number
- domainNames string[]
- endpointName string
- groupId string
- networkConnectivity stringConfig Id 
- Canonical unique identifier of Network Connectivity Config in Databricks Account
- resourceId string
- ruleId string
- updatedTime number
- time in epoch milliseconds when this object was updated.
- connection_state str
- creation_time int
- time in epoch milliseconds when this object was created.
- deactivated bool
- deactivated_at int
- domain_names Sequence[str]
- 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
- time in epoch milliseconds when this object was updated.
- connectionState String
- creationTime Number
- time in epoch milliseconds when this object was created.
- deactivated Boolean
- deactivatedAt Number
- domainNames List<String>
- endpointName String
- groupId String
- networkConnectivity StringConfig Id 
- Canonical unique identifier of Network Connectivity Config in Databricks Account
- resourceId String
- ruleId String
- updatedTime Number
- time in epoch milliseconds when this object was updated.
Import
This resource can be imported by Databricks account ID and Network Connectivity Config ID.
hcl
import {
to = databricks_mws_network_connectivity_config.this
id = “<account_id>/<network_connectivity_config_id>”
}
Alternatively, when using terraform version 1.4 or earlier, import using the pulumi import command:
bash
$ pulumi import databricks:index/mwsNetworkConnectivityConfig:MwsNetworkConnectivityConfig this "<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.
