Network Fabric Controller Args
data class NetworkFabricControllerArgs(val annotation: Output<String>? = null, val infrastructureExpressRouteConnections: Output<List<ExpressRouteConnectionInformationArgs>>? = null, val ipv4AddressSpace: Output<String>? = null, val ipv6AddressSpace: Output<String>? = null, val location: Output<String>? = null, val managedResourceGroupConfiguration: Output<ManagedResourceGroupConfigurationArgs>? = null, val networkFabricControllerName: Output<String>? = null, val resourceGroupName: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val workloadExpressRouteConnections: Output<List<ExpressRouteConnectionInformationArgs>>? = null) : ConvertibleToJava<NetworkFabricControllerArgs>
The NetworkFabricController resource definition. Azure REST API version: 2023-02-01-preview. Prior API version in Azure Native 1.x: 2023-02-01-preview. Other available API versions: 2023-06-15.
Example Usage
NetworkFabricControllers_Create_MaximumSet_Gen
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var networkFabricController = new AzureNative.ManagedNetworkFabric.NetworkFabricController("networkFabricController", new()
{
Annotation = "lab 1",
InfrastructureExpressRouteConnections = new[]
{
new AzureNative.ManagedNetworkFabric.Inputs.ExpressRouteConnectionInformationArgs
{
ExpressRouteAuthorizationKey = "xxxxxxx",
ExpressRouteCircuitId = "/subscriptions/xxxxx/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName",
},
},
Ipv4AddressSpace = "172.253.0.0/19",
Location = "eastus",
ManagedResourceGroupConfiguration = new AzureNative.ManagedNetworkFabric.Inputs.ManagedResourceGroupConfigurationArgs
{
Location = "eastus",
Name = "managedResourceGroupName",
},
NetworkFabricControllerName = "NetworkControllerName",
ResourceGroupName = "resourceGroupName",
WorkloadExpressRouteConnections = new[]
{
new AzureNative.ManagedNetworkFabric.Inputs.ExpressRouteConnectionInformationArgs
{
ExpressRouteAuthorizationKey = "xxxxx",
ExpressRouteCircuitId = "/subscriptions/xxxxx/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName",
},
},
});
});
Content copied to clipboard
package main
import (
"github.com/pulumi/pulumi-azure-native-sdk/managednetworkfabric/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := managednetworkfabric.NewNetworkFabricController(ctx, "networkFabricController", &managednetworkfabric.NetworkFabricControllerArgs{
Annotation: pulumi.String("lab 1"),
InfrastructureExpressRouteConnections: []managednetworkfabric.ExpressRouteConnectionInformationArgs{
{
ExpressRouteAuthorizationKey: pulumi.String("xxxxxxx"),
ExpressRouteCircuitId: pulumi.String("/subscriptions/xxxxx/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName"),
},
},
Ipv4AddressSpace: pulumi.String("172.253.0.0/19"),
Location: pulumi.String("eastus"),
ManagedResourceGroupConfiguration: &managednetworkfabric.ManagedResourceGroupConfigurationArgs{
Location: pulumi.String("eastus"),
Name: pulumi.String("managedResourceGroupName"),
},
NetworkFabricControllerName: pulumi.String("NetworkControllerName"),
ResourceGroupName: pulumi.String("resourceGroupName"),
WorkloadExpressRouteConnections: []managednetworkfabric.ExpressRouteConnectionInformationArgs{
{
ExpressRouteAuthorizationKey: pulumi.String("xxxxx"),
ExpressRouteCircuitId: pulumi.String("/subscriptions/xxxxx/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName"),
},
},
})
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.NetworkFabricController;
import com.pulumi.azurenative.managednetworkfabric.NetworkFabricControllerArgs;
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 networkFabricController = new NetworkFabricController("networkFabricController", NetworkFabricControllerArgs.builder()
.annotation("lab 1")
.infrastructureExpressRouteConnections(Map.ofEntries(
Map.entry("expressRouteAuthorizationKey", "xxxxxxx"),
Map.entry("expressRouteCircuitId", "/subscriptions/xxxxx/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName")
))
.ipv4AddressSpace("172.253.0.0/19")
.location("eastus")
.managedResourceGroupConfiguration(Map.ofEntries(
Map.entry("location", "eastus"),
Map.entry("name", "managedResourceGroupName")
))
.networkFabricControllerName("NetworkControllerName")
.resourceGroupName("resourceGroupName")
.workloadExpressRouteConnections(Map.ofEntries(
Map.entry("expressRouteAuthorizationKey", "xxxxx"),
Map.entry("expressRouteCircuitId", "/subscriptions/xxxxx/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName")
))
.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:NetworkFabricController NetworkFabricName /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/{networkFabricControllerName}
Content copied to clipboard
Constructors
Link copied to clipboard
fun NetworkFabricControllerArgs(annotation: Output<String>? = null, infrastructureExpressRouteConnections: Output<List<ExpressRouteConnectionInformationArgs>>? = null, ipv4AddressSpace: Output<String>? = null, ipv6AddressSpace: Output<String>? = null, location: Output<String>? = null, managedResourceGroupConfiguration: Output<ManagedResourceGroupConfigurationArgs>? = null, networkFabricControllerName: Output<String>? = null, resourceGroupName: Output<String>? = null, tags: Output<Map<String, String>>? = null, workloadExpressRouteConnections: Output<List<ExpressRouteConnectionInformationArgs>>? = null)
Functions
Properties
Link copied to clipboard
Link copied to clipboard
val infrastructureExpressRouteConnections: Output<List<ExpressRouteConnectionInformationArgs>>? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard