1. Packages
  2. Databricks
  3. API Docs
  4. MwsNccPrivateEndpointRule
Databricks v1.46.1 published on Friday, Jun 28, 2024 by Pulumi

databricks.MwsNccPrivateEndpointRule

Explore with Pulumi AI

databricks logo
Databricks v1.46.1 published on Friday, Jun 28, 2024 by Pulumi

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

    Note 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: `Network Connectivity Config 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"Network Connectivity Config 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.String(fmt.Sprintf("Network Connectivity Config 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 = $"Network Connectivity Config 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("Network Connectivity Config 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: Network Connectivity Config 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
    

    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

    The MwsNccPrivateEndpointRule resource accepts the following input properties:

    GroupId string
    The sub-resource type (group ID) of the target resource. Must be one of blob, dfs, sqlServer or mysqlServer. 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 string
    Canonical unique identifier of Network Connectivity Config in Databricks Account. Change forces creation of a new resource.
    ResourceId 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 bool
    Whether this private endpoint is deactivated.
    DeactivatedAt 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 string
    The sub-resource type (group ID) of the target resource. Must be one of blob, dfs, sqlServer or mysqlServer. 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 string
    Canonical unique identifier of Network Connectivity Config in Databricks Account. Change forces creation of a new resource.
    ResourceId 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 bool
    Whether this private endpoint is deactivated.
    DeactivatedAt 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 String
    The sub-resource type (group ID) of the target resource. Must be one of blob, dfs, sqlServer or mysqlServer. 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 String
    Canonical unique identifier of Network Connectivity Config in Databricks Account. Change forces creation of a new resource.
    resourceId 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 Boolean
    Whether this private endpoint is deactivated.
    deactivatedAt 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 string
    The sub-resource type (group ID) of the target resource. Must be one of blob, dfs, sqlServer or mysqlServer. 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 string
    Canonical unique identifier of Network Connectivity Config in Databricks Account. Change forces creation of a new resource.
    resourceId 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 boolean
    Whether this private endpoint is deactivated.
    deactivatedAt 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 str
    The sub-resource type (group ID) of the target resource. Must be one of blob, dfs, sqlServer or mysqlServer. 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 str
    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.
    groupId String
    The sub-resource type (group ID) of the target resource. Must be one of blob, dfs, sqlServer or mysqlServer. 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 String
    Canonical unique identifier of Network Connectivity Config in Databricks Account. Change forces creation of a new resource.
    resourceId 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 Boolean
    Whether this private endpoint is deactivated.
    deactivatedAt 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)
    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.
    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 bool
    Whether this private endpoint is deactivated.
    DeactivatedAt 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 string
    The sub-resource type (group ID) of the target resource. Must be one of blob, dfs, sqlServer or mysqlServer. 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 string
    Canonical unique identifier of Network Connectivity Config in Databricks Account. Change forces creation of a new resource.
    ResourceId 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 bool
    Whether this private endpoint is deactivated.
    DeactivatedAt 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 string
    The sub-resource type (group ID) of the target resource. Must be one of blob, dfs, sqlServer or mysqlServer. 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 string
    Canonical unique identifier of Network Connectivity Config in Databricks Account. Change forces creation of a new resource.
    ResourceId 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 Boolean
    Whether this private endpoint is deactivated.
    deactivatedAt 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 String
    The sub-resource type (group ID) of the target resource. Must be one of blob, dfs, sqlServer or mysqlServer. 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 String
    Canonical unique identifier of Network Connectivity Config in Databricks Account. Change forces creation of a new resource.
    resourceId 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 boolean
    Whether this private endpoint is deactivated.
    deactivatedAt 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 string
    The sub-resource type (group ID) of the target resource. Must be one of blob, dfs, sqlServer or mysqlServer. 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 string
    Canonical unique identifier of Network Connectivity Config in Databricks Account. Change forces creation of a new resource.
    resourceId 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 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 or mysqlServer. 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 str
    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.
    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 Boolean
    Whether this private endpoint is deactivated.
    deactivatedAt 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 String
    The sub-resource type (group ID) of the target resource. Must be one of blob, dfs, sqlServer or mysqlServer. 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 String
    Canonical unique identifier of Network Connectivity Config in Databricks Account. Change forces creation of a new resource.
    resourceId 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>
    

    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.
    databricks logo
    Databricks v1.46.1 published on Friday, Jun 28, 2024 by Pulumi