Network Fabric Controller Args
The NetworkFabricController resource definition. Uses Azure REST API version 2023-02-01-preview. In version 1.x of the Azure Native provider, it used API version 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",
},
},
});
});
package main
import (
managednetworkfabric "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.ExpressRouteConnectionInformationArray{
&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.ExpressRouteConnectionInformationArray{
&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
})
}
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 com.pulumi.azurenative.managednetworkfabric.inputs.ExpressRouteConnectionInformationArgs;
import com.pulumi.azurenative.managednetworkfabric.inputs.ManagedResourceGroupConfigurationArgs;
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(ExpressRouteConnectionInformationArgs.builder()
.expressRouteAuthorizationKey("xxxxxxx")
.expressRouteCircuitId("/subscriptions/xxxxx/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName")
.build())
.ipv4AddressSpace("172.253.0.0/19")
.location("eastus")
.managedResourceGroupConfiguration(ManagedResourceGroupConfigurationArgs.builder()
.location("eastus")
.name("managedResourceGroupName")
.build())
.networkFabricControllerName("NetworkControllerName")
.resourceGroupName("resourceGroupName")
.workloadExpressRouteConnections(ExpressRouteConnectionInformationArgs.builder()
.expressRouteAuthorizationKey("xxxxx")
.expressRouteCircuitId("/subscriptions/xxxxx/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName")
.build())
.build());
}
}
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}
Constructors
Properties
Switch configuration description.
As part of an update, the Infrastructure ExpressRoute CircuitID should be provided to create and Provision a NFC. This Express route is dedicated for Infrastructure services. (This is a Mandatory attribute)
IPv4 Network Fabric Controller Address Space.
IPv6 Network Fabric Controller Address Space.
Managed Resource Group configuration properties.
Name of the Network Fabric Controller
The name of the resource group. The name is case insensitive.
As part of an update, the workload ExpressRoute CircuitID should be provided to create and Provision a NFC. This Express route is dedicated for Workload services. (This is a Mandatory attribute).