PrivateEndpointConnectionProxyArgs

data class PrivateEndpointConnectionProxyArgs(val accountName: Output<String>? = null, val privateEndpointConnectionProxyId: Output<String>? = null, val remotePrivateEndpoint: Output<RemotePrivateEndpointArgs>? = null, val resourceGroupName: Output<String>? = null, val status: Output<String>? = null) : ConvertibleToJava<PrivateEndpointConnectionProxyArgs>

Private endpoint connection proxy details. Uses Azure REST API version 2023-07-01. In version 2.x of the Azure Native provider, it used API version 2023-07-01.

Example Usage

PrivateEndpointConnectionProxyCreateOrUpdate

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var privateEndpointConnectionProxy = new AzureNative.DeviceUpdate.PrivateEndpointConnectionProxy("privateEndpointConnectionProxy", new()
{
AccountName = "contoso",
PrivateEndpointConnectionProxyId = "peexample01",
RemotePrivateEndpoint = new AzureNative.DeviceUpdate.Inputs.RemotePrivateEndpointArgs
{
Id = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Network/privateEndpoints/{peName}",
ImmutableResourceId = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Network/privateEndpoints/{peName}",
ImmutableSubscriptionId = "00000000-0000-0000-0000-000000000000",
Location = "westus2",
ManualPrivateLinkServiceConnections = new[]
{
new AzureNative.DeviceUpdate.Inputs.PrivateLinkServiceConnectionArgs
{
GroupIds = new[]
{
"DeviceUpdate",
},
Name = "{privateEndpointConnectionProxyId}",
RequestMessage = "Please approve my connection, thanks.",
},
},
PrivateLinkServiceProxies = new[]
{
new AzureNative.DeviceUpdate.Inputs.PrivateLinkServiceProxyArgs
{
GroupConnectivityInformation = new() { },
Id = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Network/privateEndpoints/{privateEndpointConnectionProxyId}/privateLinkServiceProxies/{privateEndpointConnectionProxyId}",
},
},
},
ResourceGroupName = "test-rg",
});
});
package main
import (
deviceupdate "github.com/pulumi/pulumi-azure-native-sdk/deviceupdate/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := deviceupdate.NewPrivateEndpointConnectionProxy(ctx, "privateEndpointConnectionProxy", &deviceupdate.PrivateEndpointConnectionProxyArgs{
AccountName: pulumi.String("contoso"),
PrivateEndpointConnectionProxyId: pulumi.String("peexample01"),
RemotePrivateEndpoint: &deviceupdate.RemotePrivateEndpointArgs{
Id: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Network/privateEndpoints/{peName}"),
ImmutableResourceId: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Network/privateEndpoints/{peName}"),
ImmutableSubscriptionId: pulumi.String("00000000-0000-0000-0000-000000000000"),
Location: pulumi.String("westus2"),
ManualPrivateLinkServiceConnections: deviceupdate.PrivateLinkServiceConnectionArray{
&deviceupdate.PrivateLinkServiceConnectionArgs{
GroupIds: pulumi.StringArray{
pulumi.String("DeviceUpdate"),
},
Name: pulumi.String("{privateEndpointConnectionProxyId}"),
RequestMessage: pulumi.String("Please approve my connection, thanks."),
},
},
PrivateLinkServiceProxies: deviceupdate.PrivateLinkServiceProxyArray{
&deviceupdate.PrivateLinkServiceProxyArgs{
GroupConnectivityInformation: deviceupdate.GroupConnectivityInformationArray{},
Id: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Network/privateEndpoints/{privateEndpointConnectionProxyId}/privateLinkServiceProxies/{privateEndpointConnectionProxyId}"),
},
},
},
ResourceGroupName: pulumi.String("test-rg"),
})
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.deviceupdate.PrivateEndpointConnectionProxy;
import com.pulumi.azurenative.deviceupdate.PrivateEndpointConnectionProxyArgs;
import com.pulumi.azurenative.deviceupdate.inputs.RemotePrivateEndpointArgs;
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 privateEndpointConnectionProxy = new PrivateEndpointConnectionProxy("privateEndpointConnectionProxy", PrivateEndpointConnectionProxyArgs.builder()
.accountName("contoso")
.privateEndpointConnectionProxyId("peexample01")
.remotePrivateEndpoint(RemotePrivateEndpointArgs.builder()
.id("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Network/privateEndpoints/{peName}")
.immutableResourceId("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Network/privateEndpoints/{peName}")
.immutableSubscriptionId("00000000-0000-0000-0000-000000000000")
.location("westus2")
.manualPrivateLinkServiceConnections(PrivateLinkServiceConnectionArgs.builder()
.groupIds("DeviceUpdate")
.name("{privateEndpointConnectionProxyId}")
.requestMessage("Please approve my connection, thanks.")
.build())
.privateLinkServiceProxies(PrivateLinkServiceProxyArgs.builder()
.groupConnectivityInformation()
.id("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Network/privateEndpoints/{privateEndpointConnectionProxyId}/privateLinkServiceProxies/{privateEndpointConnectionProxyId}")
.build())
.build())
.resourceGroupName("test-rg")
.build());
}
}

Import

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

$ pulumi import azure-native:deviceupdate:PrivateEndpointConnectionProxy peexample01 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceUpdate/accounts/{accountName}/privateEndpointConnectionProxies/{privateEndpointConnectionProxyId}

Constructors

Link copied to clipboard
constructor(accountName: Output<String>? = null, privateEndpointConnectionProxyId: Output<String>? = null, remotePrivateEndpoint: Output<RemotePrivateEndpointArgs>? = null, resourceGroupName: Output<String>? = null, status: Output<String>? = null)

Properties

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

Account name.

Link copied to clipboard

The ID of the private endpoint connection proxy object.

Link copied to clipboard

Remote private endpoint details.

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

The resource group name.

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

Operation status.

Functions

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