azure-native.databricks.PrivateEndpointConnection
Explore with Pulumi AI
The private endpoint connection of a workspace API Version: 2022-04-01-preview.
Example Usage
Update a private endpoint connection
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var privateEndpointConnection = new AzureNative.Databricks.PrivateEndpointConnection("privateEndpointConnection", new()
{
PrivateEndpointConnectionName = "myWorkspace.23456789-1111-1111-1111-111111111111",
Properties = new AzureNative.Databricks.Inputs.PrivateEndpointConnectionPropertiesArgs
{
PrivateLinkServiceConnectionState = new AzureNative.Databricks.Inputs.PrivateLinkServiceConnectionStateArgs
{
Description = "Approved by databricksadmin@contoso.com",
Status = "Approved",
},
},
ResourceGroupName = "myResourceGroup",
WorkspaceName = "myWorkspace",
});
});
package main
import (
databricks "github.com/pulumi/pulumi-azure-native-sdk/databricks"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := databricks.NewPrivateEndpointConnection(ctx, "privateEndpointConnection", &databricks.PrivateEndpointConnectionArgs{
PrivateEndpointConnectionName: pulumi.String("myWorkspace.23456789-1111-1111-1111-111111111111"),
Properties: databricks.PrivateEndpointConnectionPropertiesResponse{
PrivateLinkServiceConnectionState: &databricks.PrivateLinkServiceConnectionStateArgs{
Description: pulumi.String("Approved by databricksadmin@contoso.com"),
Status: pulumi.String("Approved"),
},
},
ResourceGroupName: pulumi.String("myResourceGroup"),
WorkspaceName: pulumi.String("myWorkspace"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.databricks.PrivateEndpointConnection;
import com.pulumi.azurenative.databricks.PrivateEndpointConnectionArgs;
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) {
var privateEndpointConnection = new PrivateEndpointConnection("privateEndpointConnection", PrivateEndpointConnectionArgs.builder()
.privateEndpointConnectionName("myWorkspace.23456789-1111-1111-1111-111111111111")
.properties(Map.of("privateLinkServiceConnectionState", Map.ofEntries(
Map.entry("description", "Approved by databricksadmin@contoso.com"),
Map.entry("status", "Approved")
)))
.resourceGroupName("myResourceGroup")
.workspaceName("myWorkspace")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
private_endpoint_connection = azure_native.databricks.PrivateEndpointConnection("privateEndpointConnection",
private_endpoint_connection_name="myWorkspace.23456789-1111-1111-1111-111111111111",
properties=azure_native.databricks.PrivateEndpointConnectionPropertiesResponseArgs(
private_link_service_connection_state=azure_native.databricks.PrivateLinkServiceConnectionStateArgs(
description="Approved by databricksadmin@contoso.com",
status="Approved",
),
),
resource_group_name="myResourceGroup",
workspace_name="myWorkspace")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const privateEndpointConnection = new azure_native.databricks.PrivateEndpointConnection("privateEndpointConnection", {
privateEndpointConnectionName: "myWorkspace.23456789-1111-1111-1111-111111111111",
properties: {
privateLinkServiceConnectionState: {
description: "Approved by databricksadmin@contoso.com",
status: "Approved",
},
},
resourceGroupName: "myResourceGroup",
workspaceName: "myWorkspace",
});
resources:
privateEndpointConnection:
type: azure-native:databricks:PrivateEndpointConnection
properties:
privateEndpointConnectionName: myWorkspace.23456789-1111-1111-1111-111111111111
properties:
privateLinkServiceConnectionState:
description: Approved by databricksadmin@contoso.com
status: Approved
resourceGroupName: myResourceGroup
workspaceName: myWorkspace
Create PrivateEndpointConnection Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PrivateEndpointConnection(name: string, args: PrivateEndpointConnectionArgs, opts?: CustomResourceOptions);
@overload
def PrivateEndpointConnection(resource_name: str,
args: PrivateEndpointConnectionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PrivateEndpointConnection(resource_name: str,
opts: Optional[ResourceOptions] = None,
properties: Optional[PrivateEndpointConnectionPropertiesArgs] = None,
resource_group_name: Optional[str] = None,
workspace_name: Optional[str] = None,
private_endpoint_connection_name: Optional[str] = None)
func NewPrivateEndpointConnection(ctx *Context, name string, args PrivateEndpointConnectionArgs, opts ...ResourceOption) (*PrivateEndpointConnection, error)
public PrivateEndpointConnection(string name, PrivateEndpointConnectionArgs args, CustomResourceOptions? opts = null)
public PrivateEndpointConnection(String name, PrivateEndpointConnectionArgs args)
public PrivateEndpointConnection(String name, PrivateEndpointConnectionArgs args, CustomResourceOptions options)
type: azure-native:databricks:PrivateEndpointConnection
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 PrivateEndpointConnectionArgs
- 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 PrivateEndpointConnectionArgs
- 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 PrivateEndpointConnectionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PrivateEndpointConnectionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PrivateEndpointConnectionArgs
- 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 exampleprivateEndpointConnectionResourceResourceFromDatabricks = new AzureNative.Databricks.PrivateEndpointConnection("exampleprivateEndpointConnectionResourceResourceFromDatabricks", new()
{
Properties =
{
{ "privateLinkServiceConnectionState",
{
{ "status", "string" },
{ "actionsRequired", "string" },
{ "description", "string" },
} },
{ "groupIds", new[]
{
"string",
} },
},
ResourceGroupName = "string",
WorkspaceName = "string",
PrivateEndpointConnectionName = "string",
});
example, err := databricks.NewPrivateEndpointConnection(ctx, "exampleprivateEndpointConnectionResourceResourceFromDatabricks", &databricks.PrivateEndpointConnectionArgs{
Properties: map[string]interface{}{
"privateLinkServiceConnectionState": map[string]interface{}{
"status": "string",
"actionsRequired": "string",
"description": "string",
},
"groupIds": []string{
"string",
},
},
ResourceGroupName: "string",
WorkspaceName: "string",
PrivateEndpointConnectionName: "string",
})
var exampleprivateEndpointConnectionResourceResourceFromDatabricks = new PrivateEndpointConnection("exampleprivateEndpointConnectionResourceResourceFromDatabricks", PrivateEndpointConnectionArgs.builder()
.properties(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.resourceGroupName("string")
.workspaceName("string")
.privateEndpointConnectionName("string")
.build());
exampleprivate_endpoint_connection_resource_resource_from_databricks = azure_native.databricks.PrivateEndpointConnection("exampleprivateEndpointConnectionResourceResourceFromDatabricks",
properties={
privateLinkServiceConnectionState: {
status: string,
actionsRequired: string,
description: string,
},
groupIds: [string],
},
resource_group_name=string,
workspace_name=string,
private_endpoint_connection_name=string)
const exampleprivateEndpointConnectionResourceResourceFromDatabricks = new azure_native.databricks.PrivateEndpointConnection("exampleprivateEndpointConnectionResourceResourceFromDatabricks", {
properties: {
privateLinkServiceConnectionState: {
status: "string",
actionsRequired: "string",
description: "string",
},
groupIds: ["string"],
},
resourceGroupName: "string",
workspaceName: "string",
privateEndpointConnectionName: "string",
});
type: azure-native:databricks:PrivateEndpointConnection
properties:
privateEndpointConnectionName: string
properties:
groupIds:
- string
privateLinkServiceConnectionState:
actionsRequired: string
description: string
status: string
resourceGroupName: string
workspaceName: string
PrivateEndpointConnection 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 PrivateEndpointConnection resource accepts the following input properties:
- Properties
Pulumi.
Azure Native. Databricks. Inputs. Private Endpoint Connection Properties - The private endpoint connection properties.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Workspace
Name string - The name of the workspace.
- Private
Endpoint stringConnection Name - The name of the private endpoint connection
- Properties
Private
Endpoint Connection Properties Args - The private endpoint connection properties.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Workspace
Name string - The name of the workspace.
- Private
Endpoint stringConnection Name - The name of the private endpoint connection
- properties
Private
Endpoint Connection Properties - The private endpoint connection properties.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- workspace
Name String - The name of the workspace.
- private
Endpoint StringConnection Name - The name of the private endpoint connection
- properties
Private
Endpoint Connection Properties - The private endpoint connection properties.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- workspace
Name string - The name of the workspace.
- private
Endpoint stringConnection Name - The name of the private endpoint connection
- properties
Private
Endpoint Connection Properties Args - The private endpoint connection properties.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- workspace_
name str - The name of the workspace.
- private_
endpoint_ strconnection_ name - The name of the private endpoint connection
- properties Property Map
- The private endpoint connection properties.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- workspace
Name String - The name of the workspace.
- private
Endpoint StringConnection Name - The name of the private endpoint connection
Outputs
All input properties are implicitly available as output properties. Additionally, the PrivateEndpointConnection resource produces the following output properties:
Supporting Types
PrivateEndpointConnectionProperties, PrivateEndpointConnectionPropertiesArgs
- Private
Link Pulumi.Service Connection State Azure Native. Databricks. Inputs. Private Link Service Connection State - Private endpoint connection state
- Group
Ids List<string> - GroupIds from the private link service resource.
- Private
Link PrivateService Connection State Link Service Connection State - Private endpoint connection state
- Group
Ids []string - GroupIds from the private link service resource.
- private
Link PrivateService Connection State Link Service Connection State - Private endpoint connection state
- group
Ids List<String> - GroupIds from the private link service resource.
- private
Link PrivateService Connection State Link Service Connection State - Private endpoint connection state
- group
Ids string[] - GroupIds from the private link service resource.
- private_
link_ Privateservice_ connection_ state Link Service Connection State - Private endpoint connection state
- group_
ids Sequence[str] - GroupIds from the private link service resource.
- private
Link Property MapService Connection State - Private endpoint connection state
- group
Ids List<String> - GroupIds from the private link service resource.
PrivateEndpointConnectionPropertiesResponse, PrivateEndpointConnectionPropertiesResponseArgs
- Private
Link Pulumi.Service Connection State Azure Native. Databricks. Inputs. Private Link Service Connection State Response - Private endpoint connection state
- Provisioning
State string - Provisioning state of the private endpoint connection.
- Group
Ids List<string> - GroupIds from the private link service resource.
- Private
Endpoint Pulumi.Azure Native. Databricks. Inputs. Private Endpoint Response - Private endpoint
- Private
Link PrivateService Connection State Link Service Connection State Response - Private endpoint connection state
- Provisioning
State string - Provisioning state of the private endpoint connection.
- Group
Ids []string - GroupIds from the private link service resource.
- Private
Endpoint PrivateEndpoint Response - Private endpoint
- private
Link PrivateService Connection State Link Service Connection State Response - Private endpoint connection state
- provisioning
State String - Provisioning state of the private endpoint connection.
- group
Ids List<String> - GroupIds from the private link service resource.
- private
Endpoint PrivateEndpoint Response - Private endpoint
- private
Link PrivateService Connection State Link Service Connection State Response - Private endpoint connection state
- provisioning
State string - Provisioning state of the private endpoint connection.
- group
Ids string[] - GroupIds from the private link service resource.
- private
Endpoint PrivateEndpoint Response - Private endpoint
- private_
link_ Privateservice_ connection_ state Link Service Connection State Response - Private endpoint connection state
- provisioning_
state str - Provisioning state of the private endpoint connection.
- group_
ids Sequence[str] - GroupIds from the private link service resource.
- private_
endpoint PrivateEndpoint Response - Private endpoint
- private
Link Property MapService Connection State - Private endpoint connection state
- provisioning
State String - Provisioning state of the private endpoint connection.
- group
Ids List<String> - GroupIds from the private link service resource.
- private
Endpoint Property Map - Private endpoint
PrivateEndpointResponse, PrivateEndpointResponseArgs
- Id string
- The resource identifier.
- Id string
- The resource identifier.
- id String
- The resource identifier.
- id string
- The resource identifier.
- id str
- The resource identifier.
- id String
- The resource identifier.
PrivateLinkServiceConnectionState, PrivateLinkServiceConnectionStateArgs
- Status
string | Pulumi.
Azure Native. Databricks. Private Link Service Connection Status - The status of a private endpoint connection
- Actions
Required string - Actions required for a private endpoint connection
- Description string
- The description for the current state of a private endpoint connection
- Status
string | Private
Link Service Connection Status - The status of a private endpoint connection
- Actions
Required string - Actions required for a private endpoint connection
- Description string
- The description for the current state of a private endpoint connection
- status
String | Private
Link Service Connection Status - The status of a private endpoint connection
- actions
Required String - Actions required for a private endpoint connection
- description String
- The description for the current state of a private endpoint connection
- status
string | Private
Link Service Connection Status - The status of a private endpoint connection
- actions
Required string - Actions required for a private endpoint connection
- description string
- The description for the current state of a private endpoint connection
- status
str | Private
Link Service Connection Status - The status of a private endpoint connection
- actions_
required str - Actions required for a private endpoint connection
- description str
- The description for the current state of a private endpoint connection
- status String | "Pending" | "Approved" | "Rejected" | "Disconnected"
- The status of a private endpoint connection
- actions
Required String - Actions required for a private endpoint connection
- description String
- The description for the current state of a private endpoint connection
PrivateLinkServiceConnectionStateResponse, PrivateLinkServiceConnectionStateResponseArgs
- Status string
- The status of a private endpoint connection
- Actions
Required string - Actions required for a private endpoint connection
- Description string
- The description for the current state of a private endpoint connection
- Status string
- The status of a private endpoint connection
- Actions
Required string - Actions required for a private endpoint connection
- Description string
- The description for the current state of a private endpoint connection
- status String
- The status of a private endpoint connection
- actions
Required String - Actions required for a private endpoint connection
- description String
- The description for the current state of a private endpoint connection
- status string
- The status of a private endpoint connection
- actions
Required string - Actions required for a private endpoint connection
- description string
- The description for the current state of a private endpoint connection
- status str
- The status of a private endpoint connection
- actions_
required str - Actions required for a private endpoint connection
- description str
- The description for the current state of a private endpoint connection
- status String
- The status of a private endpoint connection
- actions
Required String - Actions required for a private endpoint connection
- description String
- The description for the current state of a private endpoint connection
PrivateLinkServiceConnectionStatus, PrivateLinkServiceConnectionStatusArgs
- Pending
- Pending
- Approved
- Approved
- Rejected
- Rejected
- Disconnected
- Disconnected
- Private
Link Service Connection Status Pending - Pending
- Private
Link Service Connection Status Approved - Approved
- Private
Link Service Connection Status Rejected - Rejected
- Private
Link Service Connection Status Disconnected - Disconnected
- Pending
- Pending
- Approved
- Approved
- Rejected
- Rejected
- Disconnected
- Disconnected
- Pending
- Pending
- Approved
- Approved
- Rejected
- Rejected
- Disconnected
- Disconnected
- PENDING
- Pending
- APPROVED
- Approved
- REJECTED
- Rejected
- DISCONNECTED
- Disconnected
- "Pending"
- Pending
- "Approved"
- Approved
- "Rejected"
- Rejected
- "Disconnected"
- Disconnected
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:databricks:PrivateEndpointConnection myWorkspace.23456789-1111-1111-1111-111111111111 /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Databricks/workspaces/myWorkspace/PrivateEndpointConnections/myWorkspace.23456789-1111-1111-1111-111111111111
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0