WebAppPrivateEndpointConnectionArgs

data class WebAppPrivateEndpointConnectionArgs(val ipAddresses: Output<List<String>>? = null, val kind: Output<String>? = null, val name: Output<String>? = null, val privateEndpointConnectionName: Output<String>? = null, val privateLinkServiceConnectionState: Output<PrivateLinkConnectionStateArgs>? = null, val resourceGroupName: Output<String>? = null) : ConvertibleToJava<WebAppPrivateEndpointConnectionArgs>

Remote Private Endpoint Connection ARM resource. Uses Azure REST API version 2024-04-01. In version 2.x of the Azure Native provider, it used API version 2022-09-01. Other available API versions: 2019-08-01, 2020-06-01, 2020-09-01, 2020-10-01, 2020-12-01, 2021-01-01, 2021-01-15, 2021-02-01, 2021-03-01, 2022-03-01, 2022-09-01, 2023-01-01, 2023-12-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native web [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

Example Usage

Approves or rejects a private endpoint connection for a site.

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var webAppPrivateEndpointConnection = new AzureNative.Web.WebAppPrivateEndpointConnection("webAppPrivateEndpointConnection", new()
{
Name = "testSite",
PrivateEndpointConnectionName = "connection",
PrivateLinkServiceConnectionState = new AzureNative.Web.Inputs.PrivateLinkConnectionStateArgs
{
ActionsRequired = "",
Description = "Approved by admin.",
Status = "Approved",
},
ResourceGroupName = "rg",
});
});
package main
import (
web "github.com/pulumi/pulumi-azure-native-sdk/web/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := web.NewWebAppPrivateEndpointConnection(ctx, "webAppPrivateEndpointConnection", &web.WebAppPrivateEndpointConnectionArgs{
Name: pulumi.String("testSite"),
PrivateEndpointConnectionName: pulumi.String("connection"),
PrivateLinkServiceConnectionState: &web.PrivateLinkConnectionStateArgs{
ActionsRequired: pulumi.String(""),
Description: pulumi.String("Approved by admin."),
Status: pulumi.String("Approved"),
},
ResourceGroupName: pulumi.String("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.web.WebAppPrivateEndpointConnection;
import com.pulumi.azurenative.web.WebAppPrivateEndpointConnectionArgs;
import com.pulumi.azurenative.web.inputs.PrivateLinkConnectionStateArgs;
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 webAppPrivateEndpointConnection = new WebAppPrivateEndpointConnection("webAppPrivateEndpointConnection", WebAppPrivateEndpointConnectionArgs.builder()
.name("testSite")
.privateEndpointConnectionName("connection")
.privateLinkServiceConnectionState(PrivateLinkConnectionStateArgs.builder()
.actionsRequired("")
.description("Approved by admin.")
.status("Approved")
.build())
.resourceGroupName("rg")
.build());
}
}

Import

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

$ pulumi import azure-native:web:WebAppPrivateEndpointConnection connection /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/privateEndpointConnections/{privateEndpointConnectionName}

Constructors

Link copied to clipboard
constructor(ipAddresses: Output<List<String>>? = null, kind: Output<String>? = null, name: Output<String>? = null, privateEndpointConnectionName: Output<String>? = null, privateLinkServiceConnectionState: Output<PrivateLinkConnectionStateArgs>? = null, resourceGroupName: Output<String>? = null)

Properties

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

Private IPAddresses mapped to the remote private endpoint

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

Kind of resource.

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

Name of the site.

Link copied to clipboard
Link copied to clipboard

The state of a private link connection

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

Name of the resource group to which the resource belongs.

Functions

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