L3Isolation Domain Args
data class L3IsolationDomainArgs(val aggregateRouteConfiguration: Output<AggregateRouteConfigurationArgs>? = null, val annotation: Output<String>? = null, val connectedSubnetRoutePolicy: Output<L3IsolationDomainPatchPropertiesConnectedSubnetRoutePolicyArgs>? = null, val description: Output<String>? = null, val l3IsolationDomainName: Output<String>? = null, val location: Output<String>? = null, val networkFabricId: Output<String>? = null, val redistributeConnectedSubnets: Output<Either<String, RedistributeConnectedSubnets>>? = null, val redistributeStaticRoutes: Output<Either<String, RedistributeStaticRoutes>>? = null, val resourceGroupName: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<L3IsolationDomainArgs>
The L3IsolationDomain 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
L3IsolationDomains_Create_MaximumSet_Gen
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var l3IsolationDomain = new AzureNative.ManagedNetworkFabric.L3IsolationDomain("l3IsolationDomain", new()
{
AggregateRouteConfiguration = new AzureNative.ManagedNetworkFabric.Inputs.AggregateRouteConfigurationArgs
{
Ipv4Routes = new[]
{
new AzureNative.ManagedNetworkFabric.Inputs.AggregateRouteArgs
{
Prefix = "10.0.0.0/24",
},
},
Ipv6Routes = new[]
{
new AzureNative.ManagedNetworkFabric.Inputs.AggregateRouteArgs
{
Prefix = "10.0.0.1",
},
},
},
ConnectedSubnetRoutePolicy = new AzureNative.ManagedNetworkFabric.Inputs.L3IsolationDomainPatchPropertiesConnectedSubnetRoutePolicyArgs
{
ExportRoutePolicyId = "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName2",
},
Description = "creating L3 isolation domain",
L3IsolationDomainName = "example-l3domain",
Location = "eastus",
NetworkFabricId = "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName",
RedistributeConnectedSubnets = AzureNative.ManagedNetworkFabric.RedistributeConnectedSubnets.True,
RedistributeStaticRoutes = AzureNative.ManagedNetworkFabric.RedistributeStaticRoutes.False,
ResourceGroupName = "resourceGroupName",
});
});
Content copied to clipboard
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.NewL3IsolationDomain(ctx, "l3IsolationDomain", &managednetworkfabric.L3IsolationDomainArgs{
AggregateRouteConfiguration: &managednetworkfabric.AggregateRouteConfigurationArgs{
Ipv4Routes: managednetworkfabric.AggregateRouteArray{
&managednetworkfabric.AggregateRouteArgs{
Prefix: pulumi.String("10.0.0.0/24"),
},
},
Ipv6Routes: managednetworkfabric.AggregateRouteArray{
&managednetworkfabric.AggregateRouteArgs{
Prefix: pulumi.String("10.0.0.1"),
},
},
},
ConnectedSubnetRoutePolicy: &managednetworkfabric.L3IsolationDomainPatchPropertiesConnectedSubnetRoutePolicyArgs{
ExportRoutePolicyId: pulumi.String("/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName2"),
},
Description: pulumi.String("creating L3 isolation domain"),
L3IsolationDomainName: pulumi.String("example-l3domain"),
Location: pulumi.String("eastus"),
NetworkFabricId: pulumi.String("/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName"),
RedistributeConnectedSubnets: pulumi.String(managednetworkfabric.RedistributeConnectedSubnetsTrue),
RedistributeStaticRoutes: pulumi.String(managednetworkfabric.RedistributeStaticRoutesFalse),
ResourceGroupName: pulumi.String("resourceGroupName"),
})
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.L3IsolationDomain;
import com.pulumi.azurenative.managednetworkfabric.L3IsolationDomainArgs;
import com.pulumi.azurenative.managednetworkfabric.inputs.AggregateRouteConfigurationArgs;
import com.pulumi.azurenative.managednetworkfabric.inputs.L3IsolationDomainPatchPropertiesConnectedSubnetRoutePolicyArgs;
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 l3IsolationDomain = new L3IsolationDomain("l3IsolationDomain", L3IsolationDomainArgs.builder()
.aggregateRouteConfiguration(AggregateRouteConfigurationArgs.builder()
.ipv4Routes(AggregateRouteArgs.builder()
.prefix("10.0.0.0/24")
.build())
.ipv6Routes(AggregateRouteArgs.builder()
.prefix("10.0.0.1")
.build())
.build())
.connectedSubnetRoutePolicy(L3IsolationDomainPatchPropertiesConnectedSubnetRoutePolicyArgs.builder()
.exportRoutePolicyId("/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName2")
.build())
.description("creating L3 isolation domain")
.l3IsolationDomainName("example-l3domain")
.location("eastus")
.networkFabricId("/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName")
.redistributeConnectedSubnets("True")
.redistributeStaticRoutes("False")
.resourceGroupName("resourceGroupName")
.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:L3IsolationDomain example-l3domain /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/{l3IsolationDomainName}
Content copied to clipboard
Constructors
Link copied to clipboard
constructor(aggregateRouteConfiguration: Output<AggregateRouteConfigurationArgs>? = null, annotation: Output<String>? = null, connectedSubnetRoutePolicy: Output<L3IsolationDomainPatchPropertiesConnectedSubnetRoutePolicyArgs>? = null, description: Output<String>? = null, l3IsolationDomainName: Output<String>? = null, location: Output<String>? = null, networkFabricId: Output<String>? = null, redistributeConnectedSubnets: Output<Either<String, RedistributeConnectedSubnets>>? = null, redistributeStaticRoutes: Output<Either<String, RedistributeStaticRoutes>>? = null, resourceGroupName: Output<String>? = null, tags: Output<Map<String, String>>? = null)
Properties
Link copied to clipboard
List of Ipv4 and Ipv6 route configurations.
Link copied to clipboard
Switch configuration description.
Link copied to clipboard
val connectedSubnetRoutePolicy: Output<L3IsolationDomainPatchPropertiesConnectedSubnetRoutePolicyArgs>? = null
Connected Subnet RoutePolicy
Link copied to clipboard
L3 Isolation Domain description.
Link copied to clipboard
Name of the L3 Isolation Domain
Link copied to clipboard
Network Fabric ARM resource id.
Link copied to clipboard
Advertise Connected Subnets. Ex: "True" | "False".
Link copied to clipboard
Advertise Static Routes. Ex: "True" | "False".
Link copied to clipboard
The name of the resource group. The name is case insensitive.