L2IsolationDomain

class L2IsolationDomain : KotlinCustomResource

The L2IsolationDomain 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

L2IsolationDomains_Create_MaximumSet_Gen

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var l2IsolationDomain = new AzureNative.ManagedNetworkFabric.L2IsolationDomain("l2IsolationDomain", new()
{
L2IsolationDomainName = "example-l2domain",
Location = "eastus",
Mtu = 1500,
NetworkFabricId = "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName",
ResourceGroupName = "resourceGroupName",
VlanId = 501,
});
});
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.NewL2IsolationDomain(ctx, "l2IsolationDomain", &managednetworkfabric.L2IsolationDomainArgs{
L2IsolationDomainName: pulumi.String("example-l2domain"),
Location: pulumi.String("eastus"),
Mtu: pulumi.Int(1500),
NetworkFabricId: pulumi.String("/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName"),
ResourceGroupName: pulumi.String("resourceGroupName"),
VlanId: pulumi.Int(501),
})
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.L2IsolationDomain;
import com.pulumi.azurenative.managednetworkfabric.L2IsolationDomainArgs;
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 l2IsolationDomain = new L2IsolationDomain("l2IsolationDomain", L2IsolationDomainArgs.builder()
.l2IsolationDomainName("example-l2domain")
.location("eastus")
.mtu(1500)
.networkFabricId("/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName")
.resourceGroupName("resourceGroupName")
.vlanId(501)
.build());
}
}

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:managednetworkfabric:L2IsolationDomain wcpalyqmig /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/{l2IsolationDomainName}

Properties

Link copied to clipboard

state. Example: Enabled | Disabled. It indicates administrative state of the isolationDomain, whether it is enabled or disabled. If enabled, the configuration is applied on the devices. If disabled, the configuration is removed from the devices

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

Switch configuration description.

Link copied to clipboard

List of resources the L2 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 mtu: Output<Int>?

maximum transmission unit. Default value is 1500.

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

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

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>
Link copied to clipboard
val vlanId: Output<Int>

vlanId. Example: 501.