ApplicationGatewayPrivateEndpointConnectionArgs

data class ApplicationGatewayPrivateEndpointConnectionArgs(val applicationGatewayName: Output<String>? = null, val connectionName: Output<String>? = null, val id: Output<String>? = null, val name: Output<String>? = null, val privateLinkServiceConnectionState: Output<PrivateLinkServiceConnectionStateArgs>? = null, val resourceGroupName: Output<String>? = null) : ConvertibleToJava<ApplicationGatewayPrivateEndpointConnectionArgs>

Private Endpoint connection on an application gateway. API Version: 2020-11-01.

Example Usage

Update Application Gateway Private Endpoint Connection

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var applicationGatewayPrivateEndpointConnection = new AzureNative.Network.ApplicationGatewayPrivateEndpointConnection("applicationGatewayPrivateEndpointConnection", new()
{
ApplicationGatewayName = "appgw",
ConnectionName = "connection1",
Name = "connection1",
PrivateLinkServiceConnectionState = new AzureNative.Network.Inputs.PrivateLinkServiceConnectionStateArgs
{
Description = "approved it for some reason.",
Status = "Approved",
},
ResourceGroupName = "rg1",
});
});
package main
import (
network "github.com/pulumi/pulumi-azure-native-sdk/network"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := network.NewApplicationGatewayPrivateEndpointConnection(ctx, "applicationGatewayPrivateEndpointConnection", &network.ApplicationGatewayPrivateEndpointConnectionArgs{
ApplicationGatewayName: pulumi.String("appgw"),
ConnectionName: pulumi.String("connection1"),
Name: pulumi.String("connection1"),
PrivateLinkServiceConnectionState: &network.PrivateLinkServiceConnectionStateArgs{
Description: pulumi.String("approved it for some reason."),
Status: pulumi.String("Approved"),
},
ResourceGroupName: pulumi.String("rg1"),
})
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.network.ApplicationGatewayPrivateEndpointConnection;
import com.pulumi.azurenative.network.ApplicationGatewayPrivateEndpointConnectionArgs;
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 applicationGatewayPrivateEndpointConnection = new ApplicationGatewayPrivateEndpointConnection("applicationGatewayPrivateEndpointConnection", ApplicationGatewayPrivateEndpointConnectionArgs.builder()
.applicationGatewayName("appgw")
.connectionName("connection1")
.name("connection1")
.privateLinkServiceConnectionState(Map.ofEntries(
Map.entry("description", "approved it for some reason."),
Map.entry("status", "Approved")
))
.resourceGroupName("rg1")
.build());
}
}

Import

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

$ pulumi import azure-native:network:ApplicationGatewayPrivateEndpointConnection testPlePeConnection /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/privateEndpointConnections/{connectionName}

Constructors

constructor(applicationGatewayName: Output<String>? = null, connectionName: Output<String>? = null, id: Output<String>? = null, name: Output<String>? = null, privateLinkServiceConnectionState: Output<PrivateLinkServiceConnectionStateArgs>? = null, resourceGroupName: Output<String>? = null)

Properties

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

The name of the application gateway.

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

The name of the application gateway private endpoint connection.

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

Resource ID.

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

Name of the private endpoint connection on an application gateway.

Link copied to clipboard

A collection of information about the state of the connection between service consumer and provider.

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

The name of the resource group.

Functions

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