1. Packages
  2. Databricks Provider
  3. API Docs
  4. MwsNccPrivateEndpointRule
Databricks v1.68.0 published on Friday, Apr 25, 2025 by Pulumi

databricks.MwsNccPrivateEndpointRule

Explore with Pulumi AI

Initialize provider with alias = "account", host = "https://accounts.azuredatabricks.net" and use provider = databricks.account for all databricks_mws_* resources.

This feature is only available in Azure.

Allows you to create a private endpoint in a Network Connectivity Config that can be used to configure private connectivity from serverless compute.

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 storage = new databricks.MwsNccPrivateEndpointRule("storage", {
    networkConnectivityConfigId: ncc.networkConnectivityConfigId,
    resourceId: "/subscriptions/653bb673-1234-abcd-a90b-d064d5d53ca4/resourcegroups/example-resource-group/providers/Microsoft.Storage/storageAccounts/examplesa",
    groupId: "blob",
});
Copy
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)
storage = databricks.MwsNccPrivateEndpointRule("storage",
    network_connectivity_config_id=ncc.network_connectivity_config_id,
    resource_id="/subscriptions/653bb673-1234-abcd-a90b-d064d5d53ca4/resourcegroups/example-resource-group/providers/Microsoft.Storage/storageAccounts/examplesa",
    group_id="blob")
Copy
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.NewMwsNccPrivateEndpointRule(ctx, "storage", &databricks.MwsNccPrivateEndpointRuleArgs{
			NetworkConnectivityConfigId: ncc.NetworkConnectivityConfigId,
			ResourceId:                  pulumi.String("/subscriptions/653bb673-1234-abcd-a90b-d064d5d53ca4/resourcegroups/example-resource-group/providers/Microsoft.Storage/storageAccounts/examplesa"),
			GroupId:                     pulumi.String("blob"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
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 storage = new Databricks.MwsNccPrivateEndpointRule("storage", new()
    {
        NetworkConnectivityConfigId = ncc.NetworkConnectivityConfigId,
        ResourceId = "/subscriptions/653bb673-1234-abcd-a90b-d064d5d53ca4/resourcegroups/example-resource-group/providers/Microsoft.Storage/storageAccounts/examplesa",
        GroupId = "blob",
    });

});
Copy
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.MwsNccPrivateEndpointRule;
import com.pulumi.databricks.MwsNccPrivateEndpointRuleArgs;
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 storage = new MwsNccPrivateEndpointRule("storage", MwsNccPrivateEndpointRuleArgs.builder()
            .networkConnectivityConfigId(ncc.networkConnectivityConfigId())
            .resourceId("/subscriptions/653bb673-1234-abcd-a90b-d064d5d53ca4/resourcegroups/example-resource-group/providers/Microsoft.Storage/storageAccounts/examplesa")
            .groupId("blob")
            .build());

    }
}
Copy
configuration:
  region:
    type: dynamic
  prefix:
    type: dynamic
resources:
  ncc:
    type: databricks:MwsNetworkConnectivityConfig
    properties:
      name: ncc-for-${prefix}
      region: ${region}
  storage:
    type: databricks:MwsNccPrivateEndpointRule
    properties:
      networkConnectivityConfigId: ${ncc.networkConnectivityConfigId}
      resourceId: /subscriptions/653bb673-1234-abcd-a90b-d064d5d53ca4/resourcegroups/example-resource-group/providers/Microsoft.Storage/storageAccounts/examplesa
      groupId: blob
Copy

The following resources are used in the context:

  • databricks.MwsNetworkConnectivityConfig to create Network Connectivity Config objects.
  • databricks.MwsNccBinding to attach an NCC to a workspace.

Create MwsNccPrivateEndpointRule Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new MwsNccPrivateEndpointRule(name: string, args: MwsNccPrivateEndpointRuleArgs, opts?: CustomResourceOptions);
@overload
def MwsNccPrivateEndpointRule(resource_name: str,
                              args: MwsNccPrivateEndpointRuleArgs,
                              opts: Optional[ResourceOptions] = None)

@overload
def MwsNccPrivateEndpointRule(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              group_id: Optional[str] = None,
                              network_connectivity_config_id: Optional[str] = None,
                              resource_id: Optional[str] = None,
                              connection_state: Optional[str] = None,
                              creation_time: Optional[int] = None,
                              deactivated: Optional[bool] = None,
                              deactivated_at: Optional[int] = None,
                              endpoint_name: Optional[str] = None,
                              rule_id: Optional[str] = None,
                              updated_time: Optional[int] = None)
func NewMwsNccPrivateEndpointRule(ctx *Context, name string, args MwsNccPrivateEndpointRuleArgs, opts ...ResourceOption) (*MwsNccPrivateEndpointRule, error)
public MwsNccPrivateEndpointRule(string name, MwsNccPrivateEndpointRuleArgs args, CustomResourceOptions? opts = null)
public MwsNccPrivateEndpointRule(String name, MwsNccPrivateEndpointRuleArgs args)
public MwsNccPrivateEndpointRule(String name, MwsNccPrivateEndpointRuleArgs args, CustomResourceOptions options)
type: databricks:MwsNccPrivateEndpointRule
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. MwsNccPrivateEndpointRuleArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. MwsNccPrivateEndpointRuleArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. MwsNccPrivateEndpointRuleArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. MwsNccPrivateEndpointRuleArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. MwsNccPrivateEndpointRuleArgs
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 mwsNccPrivateEndpointRuleResource = new Databricks.MwsNccPrivateEndpointRule("mwsNccPrivateEndpointRuleResource", new()
{
    GroupId = "string",
    NetworkConnectivityConfigId = "string",
    ResourceId = "string",
    ConnectionState = "string",
    CreationTime = 0,
    Deactivated = false,
    DeactivatedAt = 0,
    EndpointName = "string",
    RuleId = "string",
    UpdatedTime = 0,
});
Copy
example, err := databricks.NewMwsNccPrivateEndpointRule(ctx, "mwsNccPrivateEndpointRuleResource", &databricks.MwsNccPrivateEndpointRuleArgs{
	GroupId:                     pulumi.String("string"),
	NetworkConnectivityConfigId: pulumi.String("string"),
	ResourceId:                  pulumi.String("string"),
	ConnectionState:             pulumi.String("string"),
	CreationTime:                pulumi.Int(0),
	Deactivated:                 pulumi.Bool(false),
	DeactivatedAt:               pulumi.Int(0),
	EndpointName:                pulumi.String("string"),
	RuleId:                      pulumi.String("string"),
	UpdatedTime:                 pulumi.Int(0),
})
Copy
var mwsNccPrivateEndpointRuleResource = new MwsNccPrivateEndpointRule("mwsNccPrivateEndpointRuleResource", MwsNccPrivateEndpointRuleArgs.builder()
    .groupId("string")
    .networkConnectivityConfigId("string")
    .resourceId("string")
    .connectionState("string")
    .creationTime(0)
    .deactivated(false)
    .deactivatedAt(0)
    .endpointName("string")
    .ruleId("string")
    .updatedTime(0)
    .build());
Copy
mws_ncc_private_endpoint_rule_resource = databricks.MwsNccPrivateEndpointRule("mwsNccPrivateEndpointRuleResource",
    group_id="string",
    network_connectivity_config_id="string",
    resource_id="string",
    connection_state="string",
    creation_time=0,
    deactivated=False,
    deactivated_at=0,
    endpoint_name="string",
    rule_id="string",
    updated_time=0)
Copy
const mwsNccPrivateEndpointRuleResource = new databricks.MwsNccPrivateEndpointRule("mwsNccPrivateEndpointRuleResource", {
    groupId: "string",
    networkConnectivityConfigId: "string",
    resourceId: "string",
    connectionState: "string",
    creationTime: 0,
    deactivated: false,
    deactivatedAt: 0,
    endpointName: "string",
    ruleId: "string",
    updatedTime: 0,
});
Copy
type: databricks:MwsNccPrivateEndpointRule
properties:
    connectionState: string
    creationTime: 0
    deactivated: false
    deactivatedAt: 0
    endpointName: string
    groupId: string
    networkConnectivityConfigId: string
    resourceId: string
    ruleId: string
    updatedTime: 0
Copy

MwsNccPrivateEndpointRule 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 MwsNccPrivateEndpointRule resource accepts the following input properties:

GroupId
This property is required.
Changes to this property will trigger replacement.
string
The sub-resource type (group ID) of the target resource. Must be one of supported resource types (i.e., blob, dfs, sqlServer , etc. Consult the Azure documentation for full list of supported resources). Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for blob and one for dfs. Change forces creation of a new resource.
NetworkConnectivityConfigId
This property is required.
Changes to this property will trigger replacement.
string
Canonical unique identifier of Network Connectivity Config in Databricks Account. Change forces creation of a new resource.
ResourceId
This property is required.
Changes to this property will trigger replacement.
string
The Azure resource ID of the target resource. Change forces creation of a new resource.
ConnectionState string
The current status of this private endpoint. The private endpoint rules are effective only if the connection state is ESTABLISHED. Remember that you must approve new endpoints on your resources in the Azure portal before they take effect. The possible values are:

  • PENDING: The endpoint has been created and pending approval.
  • ESTABLISHED: The endpoint has been approved and is ready to be used in your serverless compute resources.
  • REJECTED: Connection was rejected by the private link resource owner.
  • DISCONNECTED: Connection was removed by the private link resource owner, the private endpoint becomes informative and should be deleted for clean-up.
CreationTime int
Time in epoch milliseconds when this object was created.
Deactivated Changes to this property will trigger replacement. bool
Whether this private endpoint is deactivated.
DeactivatedAt Changes to this property will trigger replacement. int
Time in epoch milliseconds when this object was deactivated.
EndpointName string
The name of the Azure private endpoint resource, e.g. "databricks-088781b3-77fa-4132-b429-1af0d91bc593-pe-3cb31234"
RuleId string
the ID of a private endpoint rule.
UpdatedTime int
Time in epoch milliseconds when this object was updated.
GroupId
This property is required.
Changes to this property will trigger replacement.
string
The sub-resource type (group ID) of the target resource. Must be one of supported resource types (i.e., blob, dfs, sqlServer , etc. Consult the Azure documentation for full list of supported resources). Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for blob and one for dfs. Change forces creation of a new resource.
NetworkConnectivityConfigId
This property is required.
Changes to this property will trigger replacement.
string
Canonical unique identifier of Network Connectivity Config in Databricks Account. Change forces creation of a new resource.
ResourceId
This property is required.
Changes to this property will trigger replacement.
string
The Azure resource ID of the target resource. Change forces creation of a new resource.
ConnectionState string
The current status of this private endpoint. The private endpoint rules are effective only if the connection state is ESTABLISHED. Remember that you must approve new endpoints on your resources in the Azure portal before they take effect. The possible values are:

  • PENDING: The endpoint has been created and pending approval.
  • ESTABLISHED: The endpoint has been approved and is ready to be used in your serverless compute resources.
  • REJECTED: Connection was rejected by the private link resource owner.
  • DISCONNECTED: Connection was removed by the private link resource owner, the private endpoint becomes informative and should be deleted for clean-up.
CreationTime int
Time in epoch milliseconds when this object was created.
Deactivated Changes to this property will trigger replacement. bool
Whether this private endpoint is deactivated.
DeactivatedAt Changes to this property will trigger replacement. int
Time in epoch milliseconds when this object was deactivated.
EndpointName string
The name of the Azure private endpoint resource, e.g. "databricks-088781b3-77fa-4132-b429-1af0d91bc593-pe-3cb31234"
RuleId string
the ID of a private endpoint rule.
UpdatedTime int
Time in epoch milliseconds when this object was updated.
groupId
This property is required.
Changes to this property will trigger replacement.
String
The sub-resource type (group ID) of the target resource. Must be one of supported resource types (i.e., blob, dfs, sqlServer , etc. Consult the Azure documentation for full list of supported resources). Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for blob and one for dfs. Change forces creation of a new resource.
networkConnectivityConfigId
This property is required.
Changes to this property will trigger replacement.
String
Canonical unique identifier of Network Connectivity Config in Databricks Account. Change forces creation of a new resource.
resourceId
This property is required.
Changes to this property will trigger replacement.
String
The Azure resource ID of the target resource. Change forces creation of a new resource.
connectionState String
The current status of this private endpoint. The private endpoint rules are effective only if the connection state is ESTABLISHED. Remember that you must approve new endpoints on your resources in the Azure portal before they take effect. The possible values are:

  • PENDING: The endpoint has been created and pending approval.
  • ESTABLISHED: The endpoint has been approved and is ready to be used in your serverless compute resources.
  • REJECTED: Connection was rejected by the private link resource owner.
  • DISCONNECTED: Connection was removed by the private link resource owner, the private endpoint becomes informative and should be deleted for clean-up.
creationTime Integer
Time in epoch milliseconds when this object was created.
deactivated Changes to this property will trigger replacement. Boolean
Whether this private endpoint is deactivated.
deactivatedAt Changes to this property will trigger replacement. Integer
Time in epoch milliseconds when this object was deactivated.
endpointName String
The name of the Azure private endpoint resource, e.g. "databricks-088781b3-77fa-4132-b429-1af0d91bc593-pe-3cb31234"
ruleId String
the ID of a private endpoint rule.
updatedTime Integer
Time in epoch milliseconds when this object was updated.
groupId
This property is required.
Changes to this property will trigger replacement.
string
The sub-resource type (group ID) of the target resource. Must be one of supported resource types (i.e., blob, dfs, sqlServer , etc. Consult the Azure documentation for full list of supported resources). Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for blob and one for dfs. Change forces creation of a new resource.
networkConnectivityConfigId
This property is required.
Changes to this property will trigger replacement.
string
Canonical unique identifier of Network Connectivity Config in Databricks Account. Change forces creation of a new resource.
resourceId
This property is required.
Changes to this property will trigger replacement.
string
The Azure resource ID of the target resource. Change forces creation of a new resource.
connectionState string
The current status of this private endpoint. The private endpoint rules are effective only if the connection state is ESTABLISHED. Remember that you must approve new endpoints on your resources in the Azure portal before they take effect. The possible values are:

  • PENDING: The endpoint has been created and pending approval.
  • ESTABLISHED: The endpoint has been approved and is ready to be used in your serverless compute resources.
  • REJECTED: Connection was rejected by the private link resource owner.
  • DISCONNECTED: Connection was removed by the private link resource owner, the private endpoint becomes informative and should be deleted for clean-up.
creationTime number
Time in epoch milliseconds when this object was created.
deactivated Changes to this property will trigger replacement. boolean
Whether this private endpoint is deactivated.
deactivatedAt Changes to this property will trigger replacement. number
Time in epoch milliseconds when this object was deactivated.
endpointName string
The name of the Azure private endpoint resource, e.g. "databricks-088781b3-77fa-4132-b429-1af0d91bc593-pe-3cb31234"
ruleId string
the ID of a private endpoint rule.
updatedTime number
Time in epoch milliseconds when this object was updated.
group_id
This property is required.
Changes to this property will trigger replacement.
str
The sub-resource type (group ID) of the target resource. Must be one of supported resource types (i.e., blob, dfs, sqlServer , etc. Consult the Azure documentation for full list of supported resources). Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for blob and one for dfs. Change forces creation of a new resource.
network_connectivity_config_id
This property is required.
Changes to this property will trigger replacement.
str
Canonical unique identifier of Network Connectivity Config in Databricks Account. Change forces creation of a new resource.
resource_id
This property is required.
Changes to this property will trigger replacement.
str
The Azure resource ID of the target resource. Change forces creation of a new resource.
connection_state str
The current status of this private endpoint. The private endpoint rules are effective only if the connection state is ESTABLISHED. Remember that you must approve new endpoints on your resources in the Azure portal before they take effect. The possible values are:

  • PENDING: The endpoint has been created and pending approval.
  • ESTABLISHED: The endpoint has been approved and is ready to be used in your serverless compute resources.
  • REJECTED: Connection was rejected by the private link resource owner.
  • DISCONNECTED: Connection was removed by the private link resource owner, the private endpoint becomes informative and should be deleted for clean-up.
creation_time int
Time in epoch milliseconds when this object was created.
deactivated Changes to this property will trigger replacement. bool
Whether this private endpoint is deactivated.
deactivated_at Changes to this property will trigger replacement. int
Time in epoch milliseconds when this object was deactivated.
endpoint_name str
The name of the Azure private endpoint resource, e.g. "databricks-088781b3-77fa-4132-b429-1af0d91bc593-pe-3cb31234"
rule_id str
the ID of a private endpoint rule.
updated_time int
Time in epoch milliseconds when this object was updated.
groupId
This property is required.
Changes to this property will trigger replacement.
String
The sub-resource type (group ID) of the target resource. Must be one of supported resource types (i.e., blob, dfs, sqlServer , etc. Consult the Azure documentation for full list of supported resources). Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for blob and one for dfs. Change forces creation of a new resource.
networkConnectivityConfigId
This property is required.
Changes to this property will trigger replacement.
String
Canonical unique identifier of Network Connectivity Config in Databricks Account. Change forces creation of a new resource.
resourceId
This property is required.
Changes to this property will trigger replacement.
String
The Azure resource ID of the target resource. Change forces creation of a new resource.
connectionState String
The current status of this private endpoint. The private endpoint rules are effective only if the connection state is ESTABLISHED. Remember that you must approve new endpoints on your resources in the Azure portal before they take effect. The possible values are:

  • PENDING: The endpoint has been created and pending approval.
  • ESTABLISHED: The endpoint has been approved and is ready to be used in your serverless compute resources.
  • REJECTED: Connection was rejected by the private link resource owner.
  • DISCONNECTED: Connection was removed by the private link resource owner, the private endpoint becomes informative and should be deleted for clean-up.
creationTime Number
Time in epoch milliseconds when this object was created.
deactivated Changes to this property will trigger replacement. Boolean
Whether this private endpoint is deactivated.
deactivatedAt Changes to this property will trigger replacement. Number
Time in epoch milliseconds when this object was deactivated.
endpointName String
The name of the Azure private endpoint resource, e.g. "databricks-088781b3-77fa-4132-b429-1af0d91bc593-pe-3cb31234"
ruleId String
the ID of a private endpoint rule.
updatedTime Number
Time in epoch milliseconds when this object was updated.

Outputs

All input properties are implicitly available as output properties. Additionally, the MwsNccPrivateEndpointRule 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 MwsNccPrivateEndpointRule Resource

Get an existing MwsNccPrivateEndpointRule 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?: MwsNccPrivateEndpointRuleState, opts?: CustomResourceOptions): MwsNccPrivateEndpointRule
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        connection_state: Optional[str] = None,
        creation_time: Optional[int] = None,
        deactivated: Optional[bool] = None,
        deactivated_at: Optional[int] = None,
        endpoint_name: Optional[str] = None,
        group_id: Optional[str] = None,
        network_connectivity_config_id: Optional[str] = None,
        resource_id: Optional[str] = None,
        rule_id: Optional[str] = None,
        updated_time: Optional[int] = None) -> MwsNccPrivateEndpointRule
func GetMwsNccPrivateEndpointRule(ctx *Context, name string, id IDInput, state *MwsNccPrivateEndpointRuleState, opts ...ResourceOption) (*MwsNccPrivateEndpointRule, error)
public static MwsNccPrivateEndpointRule Get(string name, Input<string> id, MwsNccPrivateEndpointRuleState? state, CustomResourceOptions? opts = null)
public static MwsNccPrivateEndpointRule get(String name, Output<String> id, MwsNccPrivateEndpointRuleState state, CustomResourceOptions options)
resources:  _:    type: databricks:MwsNccPrivateEndpointRule    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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.
The following state arguments are supported:
ConnectionState string
The current status of this private endpoint. The private endpoint rules are effective only if the connection state is ESTABLISHED. Remember that you must approve new endpoints on your resources in the Azure portal before they take effect. The possible values are:

  • PENDING: The endpoint has been created and pending approval.
  • ESTABLISHED: The endpoint has been approved and is ready to be used in your serverless compute resources.
  • REJECTED: Connection was rejected by the private link resource owner.
  • DISCONNECTED: Connection was removed by the private link resource owner, the private endpoint becomes informative and should be deleted for clean-up.
CreationTime int
Time in epoch milliseconds when this object was created.
Deactivated Changes to this property will trigger replacement. bool
Whether this private endpoint is deactivated.
DeactivatedAt Changes to this property will trigger replacement. int
Time in epoch milliseconds when this object was deactivated.
EndpointName string
The name of the Azure private endpoint resource, e.g. "databricks-088781b3-77fa-4132-b429-1af0d91bc593-pe-3cb31234"
GroupId Changes to this property will trigger replacement. string
The sub-resource type (group ID) of the target resource. Must be one of supported resource types (i.e., blob, dfs, sqlServer , etc. Consult the Azure documentation for full list of supported resources). Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for blob and one for dfs. Change forces creation of a new resource.
NetworkConnectivityConfigId Changes to this property will trigger replacement. string
Canonical unique identifier of Network Connectivity Config in Databricks Account. Change forces creation of a new resource.
ResourceId Changes to this property will trigger replacement. string
The Azure resource ID of the target resource. Change forces creation of a new resource.
RuleId string
the ID of a private endpoint rule.
UpdatedTime int
Time in epoch milliseconds when this object was updated.
ConnectionState string
The current status of this private endpoint. The private endpoint rules are effective only if the connection state is ESTABLISHED. Remember that you must approve new endpoints on your resources in the Azure portal before they take effect. The possible values are:

  • PENDING: The endpoint has been created and pending approval.
  • ESTABLISHED: The endpoint has been approved and is ready to be used in your serverless compute resources.
  • REJECTED: Connection was rejected by the private link resource owner.
  • DISCONNECTED: Connection was removed by the private link resource owner, the private endpoint becomes informative and should be deleted for clean-up.
CreationTime int
Time in epoch milliseconds when this object was created.
Deactivated Changes to this property will trigger replacement. bool
Whether this private endpoint is deactivated.
DeactivatedAt Changes to this property will trigger replacement. int
Time in epoch milliseconds when this object was deactivated.
EndpointName string
The name of the Azure private endpoint resource, e.g. "databricks-088781b3-77fa-4132-b429-1af0d91bc593-pe-3cb31234"
GroupId Changes to this property will trigger replacement. string
The sub-resource type (group ID) of the target resource. Must be one of supported resource types (i.e., blob, dfs, sqlServer , etc. Consult the Azure documentation for full list of supported resources). Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for blob and one for dfs. Change forces creation of a new resource.
NetworkConnectivityConfigId Changes to this property will trigger replacement. string
Canonical unique identifier of Network Connectivity Config in Databricks Account. Change forces creation of a new resource.
ResourceId Changes to this property will trigger replacement. string
The Azure resource ID of the target resource. Change forces creation of a new resource.
RuleId string
the ID of a private endpoint rule.
UpdatedTime int
Time in epoch milliseconds when this object was updated.
connectionState String
The current status of this private endpoint. The private endpoint rules are effective only if the connection state is ESTABLISHED. Remember that you must approve new endpoints on your resources in the Azure portal before they take effect. The possible values are:

  • PENDING: The endpoint has been created and pending approval.
  • ESTABLISHED: The endpoint has been approved and is ready to be used in your serverless compute resources.
  • REJECTED: Connection was rejected by the private link resource owner.
  • DISCONNECTED: Connection was removed by the private link resource owner, the private endpoint becomes informative and should be deleted for clean-up.
creationTime Integer
Time in epoch milliseconds when this object was created.
deactivated Changes to this property will trigger replacement. Boolean
Whether this private endpoint is deactivated.
deactivatedAt Changes to this property will trigger replacement. Integer
Time in epoch milliseconds when this object was deactivated.
endpointName String
The name of the Azure private endpoint resource, e.g. "databricks-088781b3-77fa-4132-b429-1af0d91bc593-pe-3cb31234"
groupId Changes to this property will trigger replacement. String
The sub-resource type (group ID) of the target resource. Must be one of supported resource types (i.e., blob, dfs, sqlServer , etc. Consult the Azure documentation for full list of supported resources). Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for blob and one for dfs. Change forces creation of a new resource.
networkConnectivityConfigId Changes to this property will trigger replacement. String
Canonical unique identifier of Network Connectivity Config in Databricks Account. Change forces creation of a new resource.
resourceId Changes to this property will trigger replacement. String
The Azure resource ID of the target resource. Change forces creation of a new resource.
ruleId String
the ID of a private endpoint rule.
updatedTime Integer
Time in epoch milliseconds when this object was updated.
connectionState string
The current status of this private endpoint. The private endpoint rules are effective only if the connection state is ESTABLISHED. Remember that you must approve new endpoints on your resources in the Azure portal before they take effect. The possible values are:

  • PENDING: The endpoint has been created and pending approval.
  • ESTABLISHED: The endpoint has been approved and is ready to be used in your serverless compute resources.
  • REJECTED: Connection was rejected by the private link resource owner.
  • DISCONNECTED: Connection was removed by the private link resource owner, the private endpoint becomes informative and should be deleted for clean-up.
creationTime number
Time in epoch milliseconds when this object was created.
deactivated Changes to this property will trigger replacement. boolean
Whether this private endpoint is deactivated.
deactivatedAt Changes to this property will trigger replacement. number
Time in epoch milliseconds when this object was deactivated.
endpointName string
The name of the Azure private endpoint resource, e.g. "databricks-088781b3-77fa-4132-b429-1af0d91bc593-pe-3cb31234"
groupId Changes to this property will trigger replacement. string
The sub-resource type (group ID) of the target resource. Must be one of supported resource types (i.e., blob, dfs, sqlServer , etc. Consult the Azure documentation for full list of supported resources). Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for blob and one for dfs. Change forces creation of a new resource.
networkConnectivityConfigId Changes to this property will trigger replacement. string
Canonical unique identifier of Network Connectivity Config in Databricks Account. Change forces creation of a new resource.
resourceId Changes to this property will trigger replacement. string
The Azure resource ID of the target resource. Change forces creation of a new resource.
ruleId string
the ID of a private endpoint rule.
updatedTime number
Time in epoch milliseconds when this object was updated.
connection_state str
The current status of this private endpoint. The private endpoint rules are effective only if the connection state is ESTABLISHED. Remember that you must approve new endpoints on your resources in the Azure portal before they take effect. The possible values are:

  • PENDING: The endpoint has been created and pending approval.
  • ESTABLISHED: The endpoint has been approved and is ready to be used in your serverless compute resources.
  • REJECTED: Connection was rejected by the private link resource owner.
  • DISCONNECTED: Connection was removed by the private link resource owner, the private endpoint becomes informative and should be deleted for clean-up.
creation_time int
Time in epoch milliseconds when this object was created.
deactivated Changes to this property will trigger replacement. bool
Whether this private endpoint is deactivated.
deactivated_at Changes to this property will trigger replacement. int
Time in epoch milliseconds when this object was deactivated.
endpoint_name str
The name of the Azure private endpoint resource, e.g. "databricks-088781b3-77fa-4132-b429-1af0d91bc593-pe-3cb31234"
group_id Changes to this property will trigger replacement. str
The sub-resource type (group ID) of the target resource. Must be one of supported resource types (i.e., blob, dfs, sqlServer , etc. Consult the Azure documentation for full list of supported resources). Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for blob and one for dfs. Change forces creation of a new resource.
network_connectivity_config_id Changes to this property will trigger replacement. str
Canonical unique identifier of Network Connectivity Config in Databricks Account. Change forces creation of a new resource.
resource_id Changes to this property will trigger replacement. str
The Azure resource ID of the target resource. Change forces creation of a new resource.
rule_id str
the ID of a private endpoint rule.
updated_time int
Time in epoch milliseconds when this object was updated.
connectionState String
The current status of this private endpoint. The private endpoint rules are effective only if the connection state is ESTABLISHED. Remember that you must approve new endpoints on your resources in the Azure portal before they take effect. The possible values are:

  • PENDING: The endpoint has been created and pending approval.
  • ESTABLISHED: The endpoint has been approved and is ready to be used in your serverless compute resources.
  • REJECTED: Connection was rejected by the private link resource owner.
  • DISCONNECTED: Connection was removed by the private link resource owner, the private endpoint becomes informative and should be deleted for clean-up.
creationTime Number
Time in epoch milliseconds when this object was created.
deactivated Changes to this property will trigger replacement. Boolean
Whether this private endpoint is deactivated.
deactivatedAt Changes to this property will trigger replacement. Number
Time in epoch milliseconds when this object was deactivated.
endpointName String
The name of the Azure private endpoint resource, e.g. "databricks-088781b3-77fa-4132-b429-1af0d91bc593-pe-3cb31234"
groupId Changes to this property will trigger replacement. String
The sub-resource type (group ID) of the target resource. Must be one of supported resource types (i.e., blob, dfs, sqlServer , etc. Consult the Azure documentation for full list of supported resources). Note that to connect to workspace root storage (root DBFS), you need two endpoints, one for blob and one for dfs. Change forces creation of a new resource.
networkConnectivityConfigId Changes to this property will trigger replacement. String
Canonical unique identifier of Network Connectivity Config in Databricks Account. Change forces creation of a new resource.
resourceId Changes to this property will trigger replacement. String
The Azure resource ID of the target resource. Change forces creation of a new resource.
ruleId String
the ID of a private endpoint rule.
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.

$ pulumi import databricks:index/mwsNccPrivateEndpointRule:MwsNccPrivateEndpointRule rule <network_connectivity_config_id>/<rule_id>
Copy

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.