NetworkSecurityPerimeterLink

class NetworkSecurityPerimeterLink : KotlinCustomResource

The network security perimeter link resource Uses Azure REST 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}

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>?

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 etag: Output<String>

A unique read-only string that changes whenever the resource is updated.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard

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

Link copied to clipboard

Local Outbound profile names from which Outbound is allowed. In current version, it is readonly property and it's value is set to '*' to allow outbound from all profiles. In later version, user will be able to modify it.

Link copied to clipboard
val name: Output<String>

Resource name.

Link copied to clipboard

The provisioning state of the NSP Link resource.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

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

Remote Outbound profile names from which Outbound is allowed. In current version, it is readonly property and it's value is set to '*' to allow outbound from all profiles. In later version, user will be able to modify it.

Link copied to clipboard

Remote NSP Guid with which the link gets created.

Link copied to clipboard

Remote NSP location with which the link gets created.

Link copied to clipboard
val status: Output<String>

The NSP link state.

Link copied to clipboard
val type: Output<String>

Resource type.

Link copied to clipboard
val urn: Output<String>