databricks.MwsNetworkConnectivityConfig
Explore with Pulumi AI
Initialize provider with
alias = "account"
,host = "https://accounts.azuredatabricks.net"
and useprovider = databricks.account
for 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.
- Account
Id string - Creation
Time int - Egress
Config MwsNetwork Connectivity Config Egress Config - Name string
- Name of Network Connectivity Config in Databricks Account. Change forces creation of a new resource.
- Network
Connectivity stringConfig 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.
- Account
Id string - Creation
Time int - Egress
Config MwsNetwork Connectivity Config Egress Config Args - Name string
- Name of Network Connectivity Config in Databricks Account. Change forces creation of a new resource.
- Network
Connectivity stringConfig 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.
- account
Id String - creation
Time Integer - egress
Config MwsNetwork Connectivity Config Egress Config - name String
- Name of Network Connectivity Config in Databricks Account. Change forces creation of a new resource.
- network
Connectivity StringConfig Id - Canonical unique identifier of Network Connectivity Config in Databricks Account
- updated
Time 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.
- account
Id string - creation
Time number - egress
Config MwsNetwork Connectivity Config Egress Config - name string
- Name of Network Connectivity Config in Databricks Account. Change forces creation of a new resource.
- network
Connectivity stringConfig Id - Canonical unique identifier of Network Connectivity Config in Databricks Account
- updated
Time 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.
- account
Id String - creation
Time Number - egress
Config Property Map - name String
- Name of Network Connectivity Config in Databricks Account. Change forces creation of a new resource.
- network
Connectivity StringConfig Id - Canonical unique identifier of Network Connectivity Config in Databricks Account
- updated
Time 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) -> MwsNetworkConnectivityConfig
func 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.
- Account
Id string - Creation
Time int - Egress
Config MwsNetwork Connectivity Config Egress Config - Name string
- Name of Network Connectivity Config in Databricks Account. Change forces creation of a new resource.
- Network
Connectivity 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.
- Updated
Time int
- Account
Id string - Creation
Time int - Egress
Config MwsNetwork Connectivity Config Egress Config Args - Name string
- Name of Network Connectivity Config in Databricks Account. Change forces creation of a new resource.
- Network
Connectivity 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.
- Updated
Time int
- account
Id String - creation
Time Integer - egress
Config MwsNetwork Connectivity Config Egress Config - name String
- Name of Network Connectivity Config in Databricks Account. Change forces creation of a new resource.
- network
Connectivity 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.
- updated
Time Integer
- account
Id string - creation
Time number - egress
Config MwsNetwork Connectivity Config Egress Config - name string
- Name of Network Connectivity Config in Databricks Account. Change forces creation of a new resource.
- network
Connectivity 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.
- updated
Time 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
- account
Id String - creation
Time Number - egress
Config Property Map - name String
- Name of Network Connectivity Config in Databricks Account. Change forces creation of a new resource.
- network
Connectivity 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.
- updated
Time Number
Supporting Types
MwsNetworkConnectivityConfigEgressConfig, MwsNetworkConnectivityConfigEgressConfigArgs
- 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:
- 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:
- 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:
- 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:
- 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:
- default
Rules Property Map - block describing network connectivity rules that are applied by default without resource specific configurations. Consists of the following fields:
- target
Rules Property Map - block describing network connectivity rules that configured for each destinations. These rules override default rules. Consists of the following fields:
MwsNetworkConnectivityConfigEgressConfigDefaultRules, MwsNetworkConnectivityConfigEgressConfigDefaultRulesArgs
- 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:
- 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:
- 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:
- 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:
- 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:
- aws
Stable 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:
- azure
Service 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
- Cidr
Blocks List<string> - list of IP CIDR blocks.
- Cidr
Blocks []string - list of IP CIDR blocks.
- cidr
Blocks List<String> - list of IP CIDR blocks.
- cidr
Blocks string[] - list of IP CIDR blocks.
- cidr_
blocks Sequence[str] - list of IP CIDR blocks.
- cidr
Blocks 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.
- Target
Region string - the Azure region in which this service endpoint rule applies.
- Target
Services 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.
- Target
Region string - the Azure region in which this service endpoint rule applies.
- Target
Services []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.
- target
Region String - the Azure region in which this service endpoint rule applies.
- target
Services 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.
- target
Region string - the Azure region in which this service endpoint rule applies.
- target
Services 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.
- target
Region String - the Azure region in which this service endpoint rule applies.
- target
Services List<String> - the Azure services to which this service endpoint rule applies to.
MwsNetworkConnectivityConfigEgressConfigTargetRules, MwsNetworkConnectivityConfigEgressConfigTargetRulesArgs
- Azure
Private List<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 []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 List<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 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.
- azure
Private List<Property Map>Endpoint Rules - (Azure only) - list containing information about configure Azure Private Endpoints.
MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRule, MwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgs
- Connection
State string - Creation
Time int - Deactivated bool
- Deactivated
At int - Endpoint
Name string - Group
Id string - Network
Connectivity stringConfig Id - Canonical unique identifier of Network Connectivity Config in Databricks Account
- Resource
Id string - Rule
Id string - Updated
Time int
- Connection
State string - Creation
Time int - Deactivated bool
- Deactivated
At int - Endpoint
Name string - Group
Id string - Network
Connectivity stringConfig Id - Canonical unique identifier of Network Connectivity Config in Databricks Account
- Resource
Id string - Rule
Id string - Updated
Time int
- connection
State String - creation
Time Integer - deactivated Boolean
- deactivated
At Integer - endpoint
Name String - group
Id String - network
Connectivity StringConfig Id - Canonical unique identifier of Network Connectivity Config in Databricks Account
- resource
Id String - rule
Id String - updated
Time Integer
- connection
State string - creation
Time number - deactivated boolean
- deactivated
At number - endpoint
Name string - group
Id string - network
Connectivity stringConfig Id - Canonical unique identifier of Network Connectivity Config in Databricks Account
- resource
Id string - rule
Id string - updated
Time 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
- connection
State String - creation
Time Number - deactivated Boolean
- deactivated
At Number - endpoint
Name String - group
Id String - network
Connectivity StringConfig Id - Canonical unique identifier of Network Connectivity Config in Databricks Account
- resource
Id String - rule
Id String - updated
Time 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
databricks
Terraform Provider.