NetworkSecurityPerimeterLinkArgs

data class NetworkSecurityPerimeterLinkArgs(val autoApprovedRemotePerimeterResourceId: Output<String>? = null, val description: Output<String>? = null, val linkName: Output<String>? = null, val localInboundProfiles: Output<List<String>>? = null, val networkSecurityPerimeterName: Output<String>? = null, val remoteInboundProfiles: Output<List<String>>? = null, val resourceGroupName: Output<String>? = null) : ConvertibleToJava<NetworkSecurityPerimeterLinkArgs>

The network security perimeter link resource Uses Azure REST API version 2024-06-01-preview. In version 2.x of the Azure Native provider, it used API version 2024-06-01-preview.

Example Usage

NspLinksPut

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var networkSecurityPerimeterLink = new AzureNative.Network.NetworkSecurityPerimeterLink("networkSecurityPerimeterLink", new()
{
AutoApprovedRemotePerimeterResourceId = "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp2",
LinkName = "link1",
LocalInboundProfiles = new[]
{
"*",
},
NetworkSecurityPerimeterName = "nsp1",
RemoteInboundProfiles = new[]
{
"*",
},
ResourceGroupName = "rg1",
});
});
package main
import (
network "github.com/pulumi/pulumi-azure-native-sdk/network/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := network.NewNetworkSecurityPerimeterLink(ctx, "networkSecurityPerimeterLink", &network.NetworkSecurityPerimeterLinkArgs{
AutoApprovedRemotePerimeterResourceId: pulumi.String("/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp2"),
LinkName: pulumi.String("link1"),
LocalInboundProfiles: pulumi.StringArray{
pulumi.String("*"),
},
NetworkSecurityPerimeterName: pulumi.String("nsp1"),
RemoteInboundProfiles: pulumi.StringArray{
pulumi.String("*"),
},
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.NetworkSecurityPerimeterLink;
import com.pulumi.azurenative.network.NetworkSecurityPerimeterLinkArgs;
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 networkSecurityPerimeterLink = new NetworkSecurityPerimeterLink("networkSecurityPerimeterLink", NetworkSecurityPerimeterLinkArgs.builder()
.autoApprovedRemotePerimeterResourceId("/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp2")
.linkName("link1")
.localInboundProfiles("*")
.networkSecurityPerimeterName("nsp1")
.remoteInboundProfiles("*")
.resourceGroupName("rg1")
.build());
}
}

Import

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

$ pulumi import azure-native:network:NetworkSecurityPerimeterLink link1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/links/{linkName}

Constructors

Link copied to clipboard
constructor(autoApprovedRemotePerimeterResourceId: Output<String>? = null, description: Output<String>? = null, linkName: Output<String>? = null, localInboundProfiles: Output<List<String>>? = null, networkSecurityPerimeterName: Output<String>? = null, remoteInboundProfiles: Output<List<String>>? = null, resourceGroupName: Output<String>? = null)

Properties

Link copied to clipboard

Perimeter ARM Id for the remote NSP with which the link gets created in Auto-approval mode. It should be used when the NSP admin have Microsoft.Network/networkSecurityPerimeters/linkPerimeter/action permission on the remote NSP resource.

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

A message passed to the owner of the remote NSP link resource with this connection request. In case of Auto-approved flow, it is default to 'Auto Approved'. Restricted to 140 chars.

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

The name of the NSP link.

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

Local Inbound profile names to which Inbound is allowed. Use '*' to allow inbound to all profiles.

Link copied to clipboard

The name of the network security perimeter.

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

Remote Inbound profile names to which Inbound is allowed. Use '*' to allow inbound to all profiles. This property can only be updated in auto-approval mode.

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

The name of the resource group.

Functions

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