azure-native.purview.PrivateEndpointConnection
Explore with Pulumi AI
A private endpoint connection class. Azure REST API version: 2021-12-01. Prior API version in Azure Native 1.x: 2020-12-01-preview.
Other available API versions: 2021-07-01, 2023-05-01-preview, 2024-04-01-preview.
Example Usage
PrivateEndpointConnections_CreateOrUpdate
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var privateEndpointConnection = new AzureNative.Purview.PrivateEndpointConnection("privateEndpointConnection", new()
{
AccountName = "account1",
PrivateEndpointConnectionName = "privateEndpointConnection1",
PrivateLinkServiceConnectionState = new AzureNative.Purview.Inputs.PrivateLinkServiceConnectionStateArgs
{
Description = "Approved by johndoe@company.com",
Status = AzureNative.Purview.Status.Approved,
},
ResourceGroupName = "SampleResourceGroup",
});
});
package main
import (
purview "github.com/pulumi/pulumi-azure-native-sdk/purview/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := purview.NewPrivateEndpointConnection(ctx, "privateEndpointConnection", &purview.PrivateEndpointConnectionArgs{
AccountName: pulumi.String("account1"),
PrivateEndpointConnectionName: pulumi.String("privateEndpointConnection1"),
PrivateLinkServiceConnectionState: &purview.PrivateLinkServiceConnectionStateArgs{
Description: pulumi.String("Approved by johndoe@company.com"),
Status: pulumi.String(purview.StatusApproved),
},
ResourceGroupName: pulumi.String("SampleResourceGroup"),
})
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.purview.PrivateEndpointConnection;
import com.pulumi.azurenative.purview.PrivateEndpointConnectionArgs;
import com.pulumi.azurenative.purview.inputs.PrivateLinkServiceConnectionStateArgs;
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()
.accountName("account1")
.privateEndpointConnectionName("privateEndpointConnection1")
.privateLinkServiceConnectionState(PrivateLinkServiceConnectionStateArgs.builder()
.description("Approved by johndoe@company.com")
.status("Approved")
.build())
.resourceGroupName("SampleResourceGroup")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
private_endpoint_connection = azure_native.purview.PrivateEndpointConnection("privateEndpointConnection",
account_name="account1",
private_endpoint_connection_name="privateEndpointConnection1",
private_link_service_connection_state=azure_native.purview.PrivateLinkServiceConnectionStateArgs(
description="Approved by johndoe@company.com",
status=azure_native.purview.Status.APPROVED,
),
resource_group_name="SampleResourceGroup")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const privateEndpointConnection = new azure_native.purview.PrivateEndpointConnection("privateEndpointConnection", {
accountName: "account1",
privateEndpointConnectionName: "privateEndpointConnection1",
privateLinkServiceConnectionState: {
description: "Approved by johndoe@company.com",
status: azure_native.purview.Status.Approved,
},
resourceGroupName: "SampleResourceGroup",
});
resources:
privateEndpointConnection:
type: azure-native:purview:PrivateEndpointConnection
properties:
accountName: account1
privateEndpointConnectionName: privateEndpointConnection1
privateLinkServiceConnectionState:
description: Approved by johndoe@company.com
status: Approved
resourceGroupName: SampleResourceGroup
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,
account_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
private_endpoint: Optional[PrivateEndpointArgs] = None,
private_endpoint_connection_name: Optional[str] = None,
private_link_service_connection_state: Optional[PrivateLinkServiceConnectionStateArgs] = 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:purview: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 exampleprivateEndpointConnectionResourceResourceFromPurview = new AzureNative.Purview.PrivateEndpointConnection("exampleprivateEndpointConnectionResourceResourceFromPurview", new()
{
AccountName = "string",
ResourceGroupName = "string",
PrivateEndpoint = new AzureNative.Purview.Inputs.PrivateEndpointArgs
{
Id = "string",
},
PrivateEndpointConnectionName = "string",
PrivateLinkServiceConnectionState = new AzureNative.Purview.Inputs.PrivateLinkServiceConnectionStateArgs
{
ActionsRequired = "string",
Description = "string",
Status = "string",
},
});
example, err := purview.NewPrivateEndpointConnection(ctx, "exampleprivateEndpointConnectionResourceResourceFromPurview", &purview.PrivateEndpointConnectionArgs{
AccountName: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
PrivateEndpoint: &purview.PrivateEndpointArgs{
Id: pulumi.String("string"),
},
PrivateEndpointConnectionName: pulumi.String("string"),
PrivateLinkServiceConnectionState: &purview.PrivateLinkServiceConnectionStateArgs{
ActionsRequired: pulumi.String("string"),
Description: pulumi.String("string"),
Status: pulumi.String("string"),
},
})
var exampleprivateEndpointConnectionResourceResourceFromPurview = new PrivateEndpointConnection("exampleprivateEndpointConnectionResourceResourceFromPurview", PrivateEndpointConnectionArgs.builder()
.accountName("string")
.resourceGroupName("string")
.privateEndpoint(PrivateEndpointArgs.builder()
.id("string")
.build())
.privateEndpointConnectionName("string")
.privateLinkServiceConnectionState(PrivateLinkServiceConnectionStateArgs.builder()
.actionsRequired("string")
.description("string")
.status("string")
.build())
.build());
exampleprivate_endpoint_connection_resource_resource_from_purview = azure_native.purview.PrivateEndpointConnection("exampleprivateEndpointConnectionResourceResourceFromPurview",
account_name="string",
resource_group_name="string",
private_endpoint=azure_native.purview.PrivateEndpointArgs(
id="string",
),
private_endpoint_connection_name="string",
private_link_service_connection_state=azure_native.purview.PrivateLinkServiceConnectionStateArgs(
actions_required="string",
description="string",
status="string",
))
const exampleprivateEndpointConnectionResourceResourceFromPurview = new azure_native.purview.PrivateEndpointConnection("exampleprivateEndpointConnectionResourceResourceFromPurview", {
accountName: "string",
resourceGroupName: "string",
privateEndpoint: {
id: "string",
},
privateEndpointConnectionName: "string",
privateLinkServiceConnectionState: {
actionsRequired: "string",
description: "string",
status: "string",
},
});
type: azure-native:purview:PrivateEndpointConnection
properties:
accountName: string
privateEndpoint:
id: string
privateEndpointConnectionName: string
privateLinkServiceConnectionState:
actionsRequired: string
description: string
status: string
resourceGroupName: 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:
- Account
Name string - The name of the account.
- Resource
Group stringName - The resource group name.
- Private
Endpoint Pulumi.Azure Native. Purview. Inputs. Private Endpoint - The private endpoint information.
- Private
Endpoint stringConnection Name - Name of the private endpoint connection.
- Private
Link Pulumi.Service Connection State Azure Native. Purview. Inputs. Private Link Service Connection State - The private link service connection state.
- Account
Name string - The name of the account.
- Resource
Group stringName - The resource group name.
- Private
Endpoint PrivateEndpoint Args - The private endpoint information.
- Private
Endpoint stringConnection Name - Name of the private endpoint connection.
- Private
Link PrivateService Connection State Link Service Connection State Args - The private link service connection state.
- account
Name String - The name of the account.
- resource
Group StringName - The resource group name.
- private
Endpoint PrivateEndpoint - The private endpoint information.
- private
Endpoint StringConnection Name - Name of the private endpoint connection.
- private
Link PrivateService Connection State Link Service Connection State - The private link service connection state.
- account
Name string - The name of the account.
- resource
Group stringName - The resource group name.
- private
Endpoint PrivateEndpoint - The private endpoint information.
- private
Endpoint stringConnection Name - Name of the private endpoint connection.
- private
Link PrivateService Connection State Link Service Connection State - The private link service connection state.
- account_
name str - The name of the account.
- resource_
group_ strname - The resource group name.
- private_
endpoint PrivateEndpoint Args - The private endpoint information.
- private_
endpoint_ strconnection_ name - Name of the private endpoint connection.
- private_
link_ Privateservice_ connection_ state Link Service Connection State Args - The private link service connection state.
- account
Name String - The name of the account.
- resource
Group StringName - The resource group name.
- private
Endpoint Property Map - The private endpoint information.
- private
Endpoint StringConnection Name - Name of the private endpoint connection.
- private
Link Property MapService Connection State - The private link service connection state.
Outputs
All input properties are implicitly available as output properties. Additionally, the PrivateEndpointConnection resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Gets or sets the name.
- Provisioning
State string - The provisioning state.
- System
Data Pulumi.Azure Native. Purview. Outputs. Proxy Resource Response System Data - Metadata pertaining to creation and last modification of the resource.
- Type string
- Gets or sets the type.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Gets or sets the name.
- Provisioning
State string - The provisioning state.
- System
Data ProxyResource Response System Data - Metadata pertaining to creation and last modification of the resource.
- Type string
- Gets or sets the type.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Gets or sets the name.
- provisioning
State String - The provisioning state.
- system
Data ProxyResource Response System Data - Metadata pertaining to creation and last modification of the resource.
- type String
- Gets or sets the type.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Gets or sets the name.
- provisioning
State string - The provisioning state.
- system
Data ProxyResource Response System Data - Metadata pertaining to creation and last modification of the resource.
- type string
- Gets or sets the type.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- Gets or sets the name.
- provisioning_
state str - The provisioning state.
- system_
data ProxyResource Response System Data - Metadata pertaining to creation and last modification of the resource.
- type str
- Gets or sets the type.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Gets or sets the name.
- provisioning
State String - The provisioning state.
- system
Data Property Map - Metadata pertaining to creation and last modification of the resource.
- type String
- Gets or sets the type.
Supporting Types
PrivateEndpoint, PrivateEndpointArgs
- Id string
- The private endpoint identifier.
- Id string
- The private endpoint identifier.
- id String
- The private endpoint identifier.
- id string
- The private endpoint identifier.
- id str
- The private endpoint identifier.
- id String
- The private endpoint identifier.
PrivateEndpointResponse, PrivateEndpointResponseArgs
- Id string
- The private endpoint identifier.
- Id string
- The private endpoint identifier.
- id String
- The private endpoint identifier.
- id string
- The private endpoint identifier.
- id str
- The private endpoint identifier.
- id String
- The private endpoint identifier.
PrivateLinkServiceConnectionState, PrivateLinkServiceConnectionStateArgs
- Actions
Required string - The required actions.
- Description string
- The description.
- Status
string | Pulumi.
Azure Native. Purview. Status - The status.
- Actions
Required string - The required actions.
- Description string
- The description.
- Status string | Status
- The status.
- actions
Required String - The required actions.
- description String
- The description.
- status String | Status
- The status.
- actions
Required string - The required actions.
- description string
- The description.
- status string | Status
- The status.
- actions_
required str - The required actions.
- description str
- The description.
- status str | Status
- The status.
- actions
Required String - The required actions.
- description String
- The description.
- status String | "Unknown" | "Pending" | "Approved" | "Rejected" | "Disconnected"
- The status.
PrivateLinkServiceConnectionStateResponse, PrivateLinkServiceConnectionStateResponseArgs
- Actions
Required string - The required actions.
- Description string
- The description.
- Status string
- The status.
- Actions
Required string - The required actions.
- Description string
- The description.
- Status string
- The status.
- actions
Required String - The required actions.
- description String
- The description.
- status String
- The status.
- actions
Required string - The required actions.
- description string
- The description.
- status string
- The status.
- actions_
required str - The required actions.
- description str
- The description.
- status str
- The status.
- actions
Required String - The required actions.
- description String
- The description.
- status String
- The status.
ProxyResourceResponseSystemData, ProxyResourceResponseSystemDataArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of the last modification the resource (UTC).
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of the last modification the resource (UTC).
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of the last modification the resource (UTC).
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of the last modification the resource (UTC).
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of the last modification the resource (UTC).
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of the last modification the resource (UTC).
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
Status, StatusArgs
- Unknown
- Unknown
- Pending
- Pending
- Approved
- Approved
- Rejected
- Rejected
- Disconnected
- Disconnected
- Status
Unknown - Unknown
- Status
Pending - Pending
- Status
Approved - Approved
- Status
Rejected - Rejected
- Status
Disconnected - Disconnected
- Unknown
- Unknown
- Pending
- Pending
- Approved
- Approved
- Rejected
- Rejected
- Disconnected
- Disconnected
- Unknown
- Unknown
- Pending
- Pending
- Approved
- Approved
- Rejected
- Rejected
- Disconnected
- Disconnected
- UNKNOWN
- Unknown
- PENDING
- Pending
- APPROVED
- Approved
- REJECTED
- Rejected
- DISCONNECTED
- Disconnected
- "Unknown"
- Unknown
- "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:purview:PrivateEndpointConnection privateEndpointConnection1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Purview/accounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0