Private Endpoint Connection Proxy Args
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. API Version: 2020-03-01-preview.
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",
});
});
Content copied to clipboard
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 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(Map.ofEntries(
Map.entry("id", "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Network/privateEndpoints/{peName}"),
Map.entry("immutableResourceId", "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Network/privateEndpoints/{peName}"),
Map.entry("immutableSubscriptionId", "00000000-0000-0000-0000-000000000000"),
Map.entry("location", "westus2"),
Map.entry("manualPrivateLinkServiceConnections", Map.ofEntries(
Map.entry("groupIds", "DeviceUpdate"),
Map.entry("name", "{privateEndpointConnectionProxyId}"),
Map.entry("requestMessage", "Please approve my connection, thanks.")
)),
Map.entry("privateLinkServiceProxies", Map.ofEntries(
Map.entry("groupConnectivityInformation", ),
Map.entry("id", "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Network/privateEndpoints/{privateEndpointConnectionProxyId}/privateLinkServiceProxies/{privateEndpointConnectionProxyId}")
))
))
.resourceGroupName("test-rg")
.build());
}
}
Content copied to clipboard
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:deviceupdate:PrivateEndpointConnectionProxy peexample01 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DeviceUpdate/accounts/contoso/privateEndpointConnectionProxies/peexample01
Content copied to clipboard
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)