Network Packet Broker
The NetworkPacketBroker resource definition. Uses Azure REST API version 2023-06-15. In version 2.x of the Azure Native provider, it used API version 2023-06-15.
Example Usage
NetworkPacketBrokers_Create_MaximumSet_Gen
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var networkPacketBroker = new AzureNative.ManagedNetworkFabric.NetworkPacketBroker("networkPacketBroker", new()
{
Location = "eastuseuap",
NetworkFabricId = "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-networkFabric",
NetworkPacketBrokerName = "example-networkPacketBroker",
ResourceGroupName = "example-rg",
Tags =
{
{ "key2806", "key" },
},
});
});
Content copied to clipboard
package main
import (
managednetworkfabric "github.com/pulumi/pulumi-azure-native-sdk/managednetworkfabric/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := managednetworkfabric.NewNetworkPacketBroker(ctx, "networkPacketBroker", &managednetworkfabric.NetworkPacketBrokerArgs{
Location: pulumi.String("eastuseuap"),
NetworkFabricId: pulumi.String("/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-networkFabric"),
NetworkPacketBrokerName: pulumi.String("example-networkPacketBroker"),
ResourceGroupName: pulumi.String("example-rg"),
Tags: pulumi.StringMap{
"key2806": pulumi.String("key"),
},
})
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.managednetworkfabric.NetworkPacketBroker;
import com.pulumi.azurenative.managednetworkfabric.NetworkPacketBrokerArgs;
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 networkPacketBroker = new NetworkPacketBroker("networkPacketBroker", NetworkPacketBrokerArgs.builder()
.location("eastuseuap")
.networkFabricId("/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-networkFabric")
.networkPacketBrokerName("example-networkPacketBroker")
.resourceGroupName("example-rg")
.tags(Map.of("key2806", "key"))
.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:managednetworkfabric:NetworkPacketBroker example-networkPacketBroker /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkPacketBrokers/{networkPacketBrokerName}
Content copied to clipboard
Properties
Link copied to clipboard
The Azure API version of the resource.
Link copied to clipboard
List of neighbor group IDs configured on NPB.
Link copied to clipboard
List of ARM resource IDs of Network Devices NPB.
Link copied to clipboard
ARM resource ID of the Network Fabric.
Link copied to clipboard
List of network Tap IDs configured on NPB.
Link copied to clipboard
Provisioning state of the resource.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
List of network interfaces across NPB devices that are used to mirror source traffic.
Link copied to clipboard
Azure Resource Manager metadata containing createdBy and modifiedBy information.