PrivateEndpointConnectionArgs

data class PrivateEndpointConnectionArgs(val groupIds: Output<List<String>>? = null, val parentName: Output<String>? = null, val parentType: Output<String>? = null, val privateEndpoint: Output<PrivateEndpointArgs>? = null, val privateEndpointConnectionName: Output<String>? = null, val privateLinkServiceConnectionState: Output<ConnectionStateArgs>? = null, val provisioningState: Output<Either<String, ResourceProvisioningState>>? = null, val resourceGroupName: Output<String>? = null) : ConvertibleToJava<PrivateEndpointConnectionArgs>

Uses Azure REST API version 2025-02-15. In version 2.x of the Azure Native provider, it used API version 2022-06-15. Other available API versions: 2022-06-15, 2023-06-01-preview, 2023-12-15-preview, 2024-06-01-preview, 2024-12-15-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native eventgrid [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

Example Usage

PrivateEndpointConnections_Update

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var privateEndpointConnection = new AzureNative.EventGrid.PrivateEndpointConnection("privateEndpointConnection", new()
{
ParentName = "exampletopic1",
ParentType = "topics",
PrivateEndpointConnectionName = "BMTPE5.8A30D251-4C61-489D-A1AA-B37C4A329B8B",
PrivateLinkServiceConnectionState = new AzureNative.EventGrid.Inputs.ConnectionStateArgs
{
ActionsRequired = "None",
Description = "approving connection",
Status = AzureNative.EventGrid.PersistedConnectionStatus.Approved,
},
ResourceGroupName = "examplerg",
});
});
package main
import (
eventgrid "github.com/pulumi/pulumi-azure-native-sdk/eventgrid/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := eventgrid.NewPrivateEndpointConnection(ctx, "privateEndpointConnection", &eventgrid.PrivateEndpointConnectionArgs{
ParentName: pulumi.String("exampletopic1"),
ParentType: pulumi.String("topics"),
PrivateEndpointConnectionName: pulumi.String("BMTPE5.8A30D251-4C61-489D-A1AA-B37C4A329B8B"),
PrivateLinkServiceConnectionState: &eventgrid.ConnectionStateArgs{
ActionsRequired: pulumi.String("None"),
Description: pulumi.String("approving connection"),
Status: pulumi.String(eventgrid.PersistedConnectionStatusApproved),
},
ResourceGroupName: pulumi.String("examplerg"),
})
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.eventgrid.PrivateEndpointConnection;
import com.pulumi.azurenative.eventgrid.PrivateEndpointConnectionArgs;
import com.pulumi.azurenative.eventgrid.inputs.ConnectionStateArgs;
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()
.parentName("exampletopic1")
.parentType("topics")
.privateEndpointConnectionName("BMTPE5.8A30D251-4C61-489D-A1AA-B37C4A329B8B")
.privateLinkServiceConnectionState(ConnectionStateArgs.builder()
.actionsRequired("None")
.description("approving connection")
.status("Approved")
.build())
.resourceGroupName("examplerg")
.build());
}
}

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:eventgrid:PrivateEndpointConnection BMTPE5.8A30D251-4C61-489D-A1AA-B37C4A329B8B /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/{parentType}/{parentName}/privateEndpointConnections/{privateEndpointConnectionName}

Constructors

Link copied to clipboard
constructor(groupIds: Output<List<String>>? = null, parentName: Output<String>? = null, parentType: Output<String>? = null, privateEndpoint: Output<PrivateEndpointArgs>? = null, privateEndpointConnectionName: Output<String>? = null, privateLinkServiceConnectionState: Output<ConnectionStateArgs>? = null, provisioningState: Output<Either<String, ResourceProvisioningState>>? = null, resourceGroupName: Output<String>? = null)

Properties

Link copied to clipboard
val groupIds: Output<List<String>>? = null

GroupIds from the private link service resource.

Link copied to clipboard
val parentName: Output<String>? = null

The name of the parent resource (namely, either, the topic name, domain name, or partner namespace name or namespace name).

Link copied to clipboard
val parentType: Output<String>? = null

The type of the parent resource. This can be either \'topics\', \'domains\', or \'partnerNamespaces\' or \'namespaces\'.

Link copied to clipboard

The Private Endpoint resource for this Connection.

Link copied to clipboard

The name of the private endpoint connection connection.

Link copied to clipboard

Details about the state of the connection.

Link copied to clipboard
val provisioningState: Output<Either<String, ResourceProvisioningState>>? = null

Provisioning state of the Private Endpoint Connection.

Link copied to clipboard
val resourceGroupName: Output<String>? = null

The name of the resource group within the user's subscription.

Functions

Link copied to clipboard
open override fun toJava(): PrivateEndpointConnectionArgs