databricks.MwsNccPrivateEndpointRule
Explore with Pulumi AI
Initialize provider with
alias = "account"
,host = "https://accounts.azuredatabricks.net"
and useprovider = databricks.account
for alldatabricks_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("region");
const prefix = config.requireObject("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",
});
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")
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
})
}
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",
});
});
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());
}
}
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
Related Resources
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 string
- The unique name of the resource.
- args MwsNccPrivateEndpointRuleArgs
- 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 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 string
- The unique name of the resource.
- args MwsNccPrivateEndpointRuleArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MwsNccPrivateEndpointRuleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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,
});
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),
})
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());
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)
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,
});
type: databricks:MwsNccPrivateEndpointRule
properties:
connectionState: string
creationTime: 0
deactivated: false
deactivatedAt: 0
endpointName: string
groupId: string
networkConnectivityConfigId: string
resourceId: string
ruleId: string
updatedTime: 0
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:
- Group
Id string - The sub-resource type (group ID) of the target resource. Must be one of
blob
,dfs
,sqlServer
ormysqlServer
. 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 stringConfig Id - Canonical unique identifier of Network Connectivity Config in Databricks Account. Change forces creation of a new resource.
- Resource
Id string - The Azure resource ID of the target resource. Change forces creation of a new resource.
- Connection
State 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.
- Creation
Time int - Time in epoch milliseconds when this object was created.
- Deactivated bool
- Whether this private endpoint is deactivated.
- Deactivated
At int - Time in epoch milliseconds when this object was deactivated.
- Endpoint
Name string - The name of the Azure private endpoint resource, e.g. "databricks-088781b3-77fa-4132-b429-1af0d91bc593-pe-3cb31234"
- Rule
Id string - the ID of a private endpoint rule.
- Updated
Time int - Time in epoch milliseconds when this object was updated.
- Group
Id string - The sub-resource type (group ID) of the target resource. Must be one of
blob
,dfs
,sqlServer
ormysqlServer
. 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 stringConfig Id - Canonical unique identifier of Network Connectivity Config in Databricks Account. Change forces creation of a new resource.
- Resource
Id string - The Azure resource ID of the target resource. Change forces creation of a new resource.
- Connection
State 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.
- Creation
Time int - Time in epoch milliseconds when this object was created.
- Deactivated bool
- Whether this private endpoint is deactivated.
- Deactivated
At int - Time in epoch milliseconds when this object was deactivated.
- Endpoint
Name string - The name of the Azure private endpoint resource, e.g. "databricks-088781b3-77fa-4132-b429-1af0d91bc593-pe-3cb31234"
- Rule
Id string - the ID of a private endpoint rule.
- Updated
Time int - Time in epoch milliseconds when this object was updated.
- group
Id String - The sub-resource type (group ID) of the target resource. Must be one of
blob
,dfs
,sqlServer
ormysqlServer
. 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 StringConfig Id - Canonical unique identifier of Network Connectivity Config in Databricks Account. Change forces creation of a new resource.
- resource
Id String - The Azure resource ID of the target resource. Change forces creation of a new resource.
- connection
State 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.
- creation
Time Integer - Time in epoch milliseconds when this object was created.
- deactivated Boolean
- Whether this private endpoint is deactivated.
- deactivated
At Integer - Time in epoch milliseconds when this object was deactivated.
- endpoint
Name String - The name of the Azure private endpoint resource, e.g. "databricks-088781b3-77fa-4132-b429-1af0d91bc593-pe-3cb31234"
- rule
Id String - the ID of a private endpoint rule.
- updated
Time Integer - Time in epoch milliseconds when this object was updated.
- group
Id string - The sub-resource type (group ID) of the target resource. Must be one of
blob
,dfs
,sqlServer
ormysqlServer
. 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 stringConfig Id - Canonical unique identifier of Network Connectivity Config in Databricks Account. Change forces creation of a new resource.
- resource
Id string - The Azure resource ID of the target resource. Change forces creation of a new resource.
- connection
State 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.
- creation
Time number - Time in epoch milliseconds when this object was created.
- deactivated boolean
- Whether this private endpoint is deactivated.
- deactivated
At number - Time in epoch milliseconds when this object was deactivated.
- endpoint
Name string - The name of the Azure private endpoint resource, e.g. "databricks-088781b3-77fa-4132-b429-1af0d91bc593-pe-3cb31234"
- rule
Id string - the ID of a private endpoint rule.
- updated
Time number - Time in epoch milliseconds when this object was updated.
- group_
id str - The sub-resource type (group ID) of the target resource. Must be one of
blob
,dfs
,sqlServer
ormysqlServer
. 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_ strconfig_ id - Canonical unique identifier of Network Connectivity Config in Databricks Account. Change forces creation of a new resource.
- resource_
id 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 bool
- Whether this private endpoint is deactivated.
- deactivated_
at 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.
- group
Id String - The sub-resource type (group ID) of the target resource. Must be one of
blob
,dfs
,sqlServer
ormysqlServer
. 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 StringConfig Id - Canonical unique identifier of Network Connectivity Config in Databricks Account. Change forces creation of a new resource.
- resource
Id String - The Azure resource ID of the target resource. Change forces creation of a new resource.
- connection
State 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.
- creation
Time Number - Time in epoch milliseconds when this object was created.
- deactivated Boolean
- Whether this private endpoint is deactivated.
- deactivated
At Number - Time in epoch milliseconds when this object was deactivated.
- endpoint
Name String - The name of the Azure private endpoint resource, e.g. "databricks-088781b3-77fa-4132-b429-1af0d91bc593-pe-3cb31234"
- rule
Id String - the ID of a private endpoint rule.
- updated
Time 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)
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.
- Connection
State 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.
- Creation
Time int - Time in epoch milliseconds when this object was created.
- Deactivated bool
- Whether this private endpoint is deactivated.
- Deactivated
At int - Time in epoch milliseconds when this object was deactivated.
- Endpoint
Name string - The name of the Azure private endpoint resource, e.g. "databricks-088781b3-77fa-4132-b429-1af0d91bc593-pe-3cb31234"
- Group
Id string - The sub-resource type (group ID) of the target resource. Must be one of
blob
,dfs
,sqlServer
ormysqlServer
. 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 stringConfig Id - Canonical unique identifier of Network Connectivity Config in Databricks Account. Change forces creation of a new resource.
- Resource
Id string - The Azure resource ID of the target resource. Change forces creation of a new resource.
- Rule
Id string - the ID of a private endpoint rule.
- Updated
Time int - Time in epoch milliseconds when this object was updated.
- Connection
State 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.
- Creation
Time int - Time in epoch milliseconds when this object was created.
- Deactivated bool
- Whether this private endpoint is deactivated.
- Deactivated
At int - Time in epoch milliseconds when this object was deactivated.
- Endpoint
Name string - The name of the Azure private endpoint resource, e.g. "databricks-088781b3-77fa-4132-b429-1af0d91bc593-pe-3cb31234"
- Group
Id string - The sub-resource type (group ID) of the target resource. Must be one of
blob
,dfs
,sqlServer
ormysqlServer
. 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 stringConfig Id - Canonical unique identifier of Network Connectivity Config in Databricks Account. Change forces creation of a new resource.
- Resource
Id string - The Azure resource ID of the target resource. Change forces creation of a new resource.
- Rule
Id string - the ID of a private endpoint rule.
- Updated
Time int - Time in epoch milliseconds when this object was updated.
- connection
State 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.
- creation
Time Integer - Time in epoch milliseconds when this object was created.
- deactivated Boolean
- Whether this private endpoint is deactivated.
- deactivated
At Integer - Time in epoch milliseconds when this object was deactivated.
- endpoint
Name String - The name of the Azure private endpoint resource, e.g. "databricks-088781b3-77fa-4132-b429-1af0d91bc593-pe-3cb31234"
- group
Id String - The sub-resource type (group ID) of the target resource. Must be one of
blob
,dfs
,sqlServer
ormysqlServer
. 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 StringConfig Id - Canonical unique identifier of Network Connectivity Config in Databricks Account. Change forces creation of a new resource.
- resource
Id String - The Azure resource ID of the target resource. Change forces creation of a new resource.
- rule
Id String - the ID of a private endpoint rule.
- updated
Time Integer - Time in epoch milliseconds when this object was updated.
- connection
State 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.
- creation
Time number - Time in epoch milliseconds when this object was created.
- deactivated boolean
- Whether this private endpoint is deactivated.
- deactivated
At number - Time in epoch milliseconds when this object was deactivated.
- endpoint
Name string - The name of the Azure private endpoint resource, e.g. "databricks-088781b3-77fa-4132-b429-1af0d91bc593-pe-3cb31234"
- group
Id string - The sub-resource type (group ID) of the target resource. Must be one of
blob
,dfs
,sqlServer
ormysqlServer
. 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 stringConfig Id - Canonical unique identifier of Network Connectivity Config in Databricks Account. Change forces creation of a new resource.
- resource
Id string - The Azure resource ID of the target resource. Change forces creation of a new resource.
- rule
Id string - the ID of a private endpoint rule.
- updated
Time 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 bool
- Whether this private endpoint is deactivated.
- deactivated_
at 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 str - The sub-resource type (group ID) of the target resource. Must be one of
blob
,dfs
,sqlServer
ormysqlServer
. 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_ strconfig_ id - Canonical unique identifier of Network Connectivity Config in Databricks Account. Change forces creation of a new resource.
- resource_
id 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.
- connection
State 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.
- creation
Time Number - Time in epoch milliseconds when this object was created.
- deactivated Boolean
- Whether this private endpoint is deactivated.
- deactivated
At Number - Time in epoch milliseconds when this object was deactivated.
- endpoint
Name String - The name of the Azure private endpoint resource, e.g. "databricks-088781b3-77fa-4132-b429-1af0d91bc593-pe-3cb31234"
- group
Id String - The sub-resource type (group ID) of the target resource. Must be one of
blob
,dfs
,sqlServer
ormysqlServer
. 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 StringConfig Id - Canonical unique identifier of Network Connectivity Config in Databricks Account. Change forces creation of a new resource.
- resource
Id String - The Azure resource ID of the target resource. Change forces creation of a new resource.
- rule
Id String - the ID of a private endpoint rule.
- updated
Time 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>
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.