Private Endpoint Connection Proxy
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",
});
});
Content copied to clipboard
package main
import (
deviceupdate "github.com/pulumi/pulumi-azure-native-sdk/deviceupdate/v2"
"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
})
}
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 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());
}
}
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/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceUpdate/accounts/{accountName}/privateEndpointConnectionProxies/{privateEndpointConnectionProxyId}
Content copied to clipboard
Properties
Link copied to clipboard
The Azure API version of the resource.
Link copied to clipboard
The provisioning state of the private endpoint connection proxy resource.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Remote private endpoint details.
Link copied to clipboard
Azure Resource Manager metadata containing createdBy and modifiedBy information.