Private Endpoint Connection Args
data class PrivateEndpointConnectionArgs(val privateEndpointConnectionName: Output<String>? = null, val privateLinkServiceConnectionState: Output<PrivateLinkServiceConnectionStateArgs>? = null, val resourceGroupName: Output<String>? = null, val resourceName: Output<String>? = null) : ConvertibleToJava<PrivateEndpointConnectionArgs>
The private endpoint connection resource. Uses Azure REST API version 2021-11-01-preview. In version 2.x of the Azure Native provider, it used API version 2021-11-01-preview.
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.IoTCentral.PrivateEndpointConnection("privateEndpointConnection", new()
{
PrivateEndpointConnectionName = "myIoTCentralAppEndpoint",
PrivateLinkServiceConnectionState = new AzureNative.IoTCentral.Inputs.PrivateLinkServiceConnectionStateArgs
{
ActionsRequired = "None",
Description = "Auto-approved",
Status = AzureNative.IoTCentral.PrivateEndpointServiceConnectionStatus.Approved,
},
ResourceGroupName = "resRg",
ResourceName = "myIoTCentralApp",
});
});
Content copied to clipboard
package main
import (
iotcentral "github.com/pulumi/pulumi-azure-native-sdk/iotcentral/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := iotcentral.NewPrivateEndpointConnection(ctx, "privateEndpointConnection", &iotcentral.PrivateEndpointConnectionArgs{
PrivateEndpointConnectionName: pulumi.String("myIoTCentralAppEndpoint"),
PrivateLinkServiceConnectionState: &iotcentral.PrivateLinkServiceConnectionStateArgs{
ActionsRequired: pulumi.String("None"),
Description: pulumi.String("Auto-approved"),
Status: pulumi.String(iotcentral.PrivateEndpointServiceConnectionStatusApproved),
},
ResourceGroupName: pulumi.String("resRg"),
ResourceName: pulumi.String("myIoTCentralApp"),
})
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.iotcentral.PrivateEndpointConnection;
import com.pulumi.azurenative.iotcentral.PrivateEndpointConnectionArgs;
import com.pulumi.azurenative.iotcentral.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()
.privateEndpointConnectionName("myIoTCentralAppEndpoint")
.privateLinkServiceConnectionState(PrivateLinkServiceConnectionStateArgs.builder()
.actionsRequired("None")
.description("Auto-approved")
.status("Approved")
.build())
.resourceGroupName("resRg")
.resourceName("myIoTCentralApp")
.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:iotcentral:PrivateEndpointConnection myIoTCentralAppEndpoint.a791c6b5-874d-4f03-9092-718490d33770 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTCentral/iotApps/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}
Content copied to clipboard
Constructors
Link copied to clipboard
constructor(privateEndpointConnectionName: Output<String>? = null, privateLinkServiceConnectionState: Output<PrivateLinkServiceConnectionStateArgs>? = null, resourceGroupName: Output<String>? = null, resourceName: Output<String>? = null)
Properties
Link copied to clipboard
The private endpoint connection name.
Link copied to clipboard
A collection of information about the state of the connection between service consumer and provider.
Link copied to clipboard
The name of the resource group that contains the IoT Central application.
Link copied to clipboard
The ARM resource name of the IoT Central application.