NetworkFabricControllerArgs

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

Link copied to clipboard
constructor(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)

Properties

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

Switch configuration description.

Link copied to clipboard

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)

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

IPv4 Network Fabric Controller Address Space.

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

IPv6 Network Fabric Controller Address Space.

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

The geo-location where the resource lives

Link copied to clipboard

Managed Resource Group configuration properties.

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

Name of the Network Fabric Controller

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

The name of the resource group. The name is case insensitive.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

Resource tags.

Link copied to clipboard

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).

Functions

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