L3IsolationDomain

class L3IsolationDomain : KotlinCustomResource

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",
});
});
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
})
}
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());
}
}

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}

Properties

Link copied to clipboard

Administrative state of the IsolationDomain. Example: Enabled | Disabled.

Link copied to clipboard

List of Ipv4 and Ipv6 route configurations.

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

Switch configuration description.

Link copied to clipboard
val description: Output<String>?

L3 Isolation Domain description.

Link copied to clipboard

List of resources the L3 Isolation Domain is disabled on. Can be either entire NetworkFabric or NetworkRack.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val location: Output<String>

The geo-location where the resource lives

Link copied to clipboard
val name: Output<String>

The name of the resource

Link copied to clipboard
val networkFabricId: Output<String>

Network Fabric ARM resource id.

Link copied to clipboard

List of resources the OptionB is disabled on. Can be either entire NetworkFabric or NetworkRack.

Link copied to clipboard

Gets the provisioning state of the resource.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Advertise Connected Subnets. Ex: "True" | "False".

Link copied to clipboard

Advertise Static Routes. Ex: "True" | "False".

Link copied to clipboard

Azure Resource Manager metadata containing createdBy and modifiedBy information.

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

Resource tags.

Link copied to clipboard
val type: Output<String>

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Link copied to clipboard
val urn: Output<String>