1. Packages
  2. Alibaba Cloud
  3. API Docs
  4. cen
  5. TransitRouterMulticastDomainAssociation
Alibaba Cloud v3.51.0 published on Saturday, Mar 23, 2024 by Pulumi

alicloud.cen.TransitRouterMulticastDomainAssociation

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.51.0 published on Saturday, Mar 23, 2024 by Pulumi

    Provides a Cloud Enterprise Network (CEN) Transit Router Multicast Domain Association resource.

    For information about Cloud Enterprise Network (CEN) Transit Router Multicast Domain Association and how to use it, see What is Transit Router Multicast Domain Association.

    NOTE: Available since v1.195.0.

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as alicloud from "@pulumi/alicloud";
    
    const config = new pulumi.Config();
    const name = config.get("name") || "tf_example";
    const default = alicloud.cen.getTransitRouterAvailableResources({});
    const zone = _default.then(_default => _default.resources?.[0]?.masterZones?.[1]);
    const exampleNetwork = new alicloud.vpc.Network("exampleNetwork", {
        vpcName: name,
        cidrBlock: "192.168.0.0/16",
    });
    const exampleSwitch = new alicloud.vpc.Switch("exampleSwitch", {
        vswitchName: name,
        cidrBlock: "192.168.1.0/24",
        vpcId: exampleNetwork.id,
        zoneId: zone,
    });
    const exampleInstance = new alicloud.cen.Instance("exampleInstance", {cenInstanceName: name});
    const exampleTransitRouter = new alicloud.cen.TransitRouter("exampleTransitRouter", {
        transitRouterName: name,
        cenId: exampleInstance.id,
        supportMulticast: true,
    });
    const exampleTransitRouterMulticastDomain = new alicloud.cen.TransitRouterMulticastDomain("exampleTransitRouterMulticastDomain", {
        transitRouterId: exampleTransitRouter.transitRouterId,
        transitRouterMulticastDomainName: name,
    });
    const exampleTransitRouterVpcAttachment = new alicloud.cen.TransitRouterVpcAttachment("exampleTransitRouterVpcAttachment", {
        cenId: exampleTransitRouter.cenId,
        transitRouterId: exampleTransitRouterMulticastDomain.transitRouterId,
        vpcId: exampleNetwork.id,
        zoneMappings: [{
            zoneId: zone,
            vswitchId: exampleSwitch.id,
        }],
    });
    const exampleTransitRouterMulticastDomainAssociation = new alicloud.cen.TransitRouterMulticastDomainAssociation("exampleTransitRouterMulticastDomainAssociation", {
        transitRouterMulticastDomainId: exampleTransitRouterMulticastDomain.id,
        transitRouterAttachmentId: exampleTransitRouterVpcAttachment.transitRouterAttachmentId,
        vswitchId: exampleSwitch.id,
    });
    
    import pulumi
    import pulumi_alicloud as alicloud
    
    config = pulumi.Config()
    name = config.get("name")
    if name is None:
        name = "tf_example"
    default = alicloud.cen.get_transit_router_available_resources()
    zone = default.resources[0].master_zones[1]
    example_network = alicloud.vpc.Network("exampleNetwork",
        vpc_name=name,
        cidr_block="192.168.0.0/16")
    example_switch = alicloud.vpc.Switch("exampleSwitch",
        vswitch_name=name,
        cidr_block="192.168.1.0/24",
        vpc_id=example_network.id,
        zone_id=zone)
    example_instance = alicloud.cen.Instance("exampleInstance", cen_instance_name=name)
    example_transit_router = alicloud.cen.TransitRouter("exampleTransitRouter",
        transit_router_name=name,
        cen_id=example_instance.id,
        support_multicast=True)
    example_transit_router_multicast_domain = alicloud.cen.TransitRouterMulticastDomain("exampleTransitRouterMulticastDomain",
        transit_router_id=example_transit_router.transit_router_id,
        transit_router_multicast_domain_name=name)
    example_transit_router_vpc_attachment = alicloud.cen.TransitRouterVpcAttachment("exampleTransitRouterVpcAttachment",
        cen_id=example_transit_router.cen_id,
        transit_router_id=example_transit_router_multicast_domain.transit_router_id,
        vpc_id=example_network.id,
        zone_mappings=[alicloud.cen.TransitRouterVpcAttachmentZoneMappingArgs(
            zone_id=zone,
            vswitch_id=example_switch.id,
        )])
    example_transit_router_multicast_domain_association = alicloud.cen.TransitRouterMulticastDomainAssociation("exampleTransitRouterMulticastDomainAssociation",
        transit_router_multicast_domain_id=example_transit_router_multicast_domain.id,
        transit_router_attachment_id=example_transit_router_vpc_attachment.transit_router_attachment_id,
        vswitch_id=example_switch.id)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cen"
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		cfg := config.New(ctx, "")
    		name := "tf_example"
    		if param := cfg.Get("name"); param != "" {
    			name = param
    		}
    		_default, err := cen.GetTransitRouterAvailableResources(ctx, nil, nil)
    		if err != nil {
    			return err
    		}
    		zone := _default.Resources[0].MasterZones[1]
    		exampleNetwork, err := vpc.NewNetwork(ctx, "exampleNetwork", &vpc.NetworkArgs{
    			VpcName:   pulumi.String(name),
    			CidrBlock: pulumi.String("192.168.0.0/16"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleSwitch, err := vpc.NewSwitch(ctx, "exampleSwitch", &vpc.SwitchArgs{
    			VswitchName: pulumi.String(name),
    			CidrBlock:   pulumi.String("192.168.1.0/24"),
    			VpcId:       exampleNetwork.ID(),
    			ZoneId:      pulumi.String(zone),
    		})
    		if err != nil {
    			return err
    		}
    		exampleInstance, err := cen.NewInstance(ctx, "exampleInstance", &cen.InstanceArgs{
    			CenInstanceName: pulumi.String(name),
    		})
    		if err != nil {
    			return err
    		}
    		exampleTransitRouter, err := cen.NewTransitRouter(ctx, "exampleTransitRouter", &cen.TransitRouterArgs{
    			TransitRouterName: pulumi.String(name),
    			CenId:             exampleInstance.ID(),
    			SupportMulticast:  pulumi.Bool(true),
    		})
    		if err != nil {
    			return err
    		}
    		exampleTransitRouterMulticastDomain, err := cen.NewTransitRouterMulticastDomain(ctx, "exampleTransitRouterMulticastDomain", &cen.TransitRouterMulticastDomainArgs{
    			TransitRouterId:                  exampleTransitRouter.TransitRouterId,
    			TransitRouterMulticastDomainName: pulumi.String(name),
    		})
    		if err != nil {
    			return err
    		}
    		exampleTransitRouterVpcAttachment, err := cen.NewTransitRouterVpcAttachment(ctx, "exampleTransitRouterVpcAttachment", &cen.TransitRouterVpcAttachmentArgs{
    			CenId:           exampleTransitRouter.CenId,
    			TransitRouterId: exampleTransitRouterMulticastDomain.TransitRouterId,
    			VpcId:           exampleNetwork.ID(),
    			ZoneMappings: cen.TransitRouterVpcAttachmentZoneMappingArray{
    				&cen.TransitRouterVpcAttachmentZoneMappingArgs{
    					ZoneId:    pulumi.String(zone),
    					VswitchId: exampleSwitch.ID(),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = cen.NewTransitRouterMulticastDomainAssociation(ctx, "exampleTransitRouterMulticastDomainAssociation", &cen.TransitRouterMulticastDomainAssociationArgs{
    			TransitRouterMulticastDomainId: exampleTransitRouterMulticastDomain.ID(),
    			TransitRouterAttachmentId:      exampleTransitRouterVpcAttachment.TransitRouterAttachmentId,
    			VswitchId:                      exampleSwitch.ID(),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AliCloud = Pulumi.AliCloud;
    
    return await Deployment.RunAsync(() => 
    {
        var config = new Config();
        var name = config.Get("name") ?? "tf_example";
        var @default = AliCloud.Cen.GetTransitRouterAvailableResources.Invoke();
    
        var zone = @default.Apply(@default => @default.Apply(getTransitRouterAvailableResourcesResult => getTransitRouterAvailableResourcesResult.Resources[0]?.MasterZones[1]));
    
        var exampleNetwork = new AliCloud.Vpc.Network("exampleNetwork", new()
        {
            VpcName = name,
            CidrBlock = "192.168.0.0/16",
        });
    
        var exampleSwitch = new AliCloud.Vpc.Switch("exampleSwitch", new()
        {
            VswitchName = name,
            CidrBlock = "192.168.1.0/24",
            VpcId = exampleNetwork.Id,
            ZoneId = zone,
        });
    
        var exampleInstance = new AliCloud.Cen.Instance("exampleInstance", new()
        {
            CenInstanceName = name,
        });
    
        var exampleTransitRouter = new AliCloud.Cen.TransitRouter("exampleTransitRouter", new()
        {
            TransitRouterName = name,
            CenId = exampleInstance.Id,
            SupportMulticast = true,
        });
    
        var exampleTransitRouterMulticastDomain = new AliCloud.Cen.TransitRouterMulticastDomain("exampleTransitRouterMulticastDomain", new()
        {
            TransitRouterId = exampleTransitRouter.TransitRouterId,
            TransitRouterMulticastDomainName = name,
        });
    
        var exampleTransitRouterVpcAttachment = new AliCloud.Cen.TransitRouterVpcAttachment("exampleTransitRouterVpcAttachment", new()
        {
            CenId = exampleTransitRouter.CenId,
            TransitRouterId = exampleTransitRouterMulticastDomain.TransitRouterId,
            VpcId = exampleNetwork.Id,
            ZoneMappings = new[]
            {
                new AliCloud.Cen.Inputs.TransitRouterVpcAttachmentZoneMappingArgs
                {
                    ZoneId = zone,
                    VswitchId = exampleSwitch.Id,
                },
            },
        });
    
        var exampleTransitRouterMulticastDomainAssociation = new AliCloud.Cen.TransitRouterMulticastDomainAssociation("exampleTransitRouterMulticastDomainAssociation", new()
        {
            TransitRouterMulticastDomainId = exampleTransitRouterMulticastDomain.Id,
            TransitRouterAttachmentId = exampleTransitRouterVpcAttachment.TransitRouterAttachmentId,
            VswitchId = exampleSwitch.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.alicloud.cen.CenFunctions;
    import com.pulumi.alicloud.cen.inputs.GetTransitRouterAvailableResourcesArgs;
    import com.pulumi.alicloud.vpc.Network;
    import com.pulumi.alicloud.vpc.NetworkArgs;
    import com.pulumi.alicloud.vpc.Switch;
    import com.pulumi.alicloud.vpc.SwitchArgs;
    import com.pulumi.alicloud.cen.Instance;
    import com.pulumi.alicloud.cen.InstanceArgs;
    import com.pulumi.alicloud.cen.TransitRouter;
    import com.pulumi.alicloud.cen.TransitRouterArgs;
    import com.pulumi.alicloud.cen.TransitRouterMulticastDomain;
    import com.pulumi.alicloud.cen.TransitRouterMulticastDomainArgs;
    import com.pulumi.alicloud.cen.TransitRouterVpcAttachment;
    import com.pulumi.alicloud.cen.TransitRouterVpcAttachmentArgs;
    import com.pulumi.alicloud.cen.inputs.TransitRouterVpcAttachmentZoneMappingArgs;
    import com.pulumi.alicloud.cen.TransitRouterMulticastDomainAssociation;
    import com.pulumi.alicloud.cen.TransitRouterMulticastDomainAssociationArgs;
    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) {
            final var config = ctx.config();
            final var name = config.get("name").orElse("tf_example");
            final var default = CenFunctions.getTransitRouterAvailableResources();
    
            final var zone = default_.resources()[0].masterZones()[1];
    
            var exampleNetwork = new Network("exampleNetwork", NetworkArgs.builder()        
                .vpcName(name)
                .cidrBlock("192.168.0.0/16")
                .build());
    
            var exampleSwitch = new Switch("exampleSwitch", SwitchArgs.builder()        
                .vswitchName(name)
                .cidrBlock("192.168.1.0/24")
                .vpcId(exampleNetwork.id())
                .zoneId(zone)
                .build());
    
            var exampleInstance = new Instance("exampleInstance", InstanceArgs.builder()        
                .cenInstanceName(name)
                .build());
    
            var exampleTransitRouter = new TransitRouter("exampleTransitRouter", TransitRouterArgs.builder()        
                .transitRouterName(name)
                .cenId(exampleInstance.id())
                .supportMulticast(true)
                .build());
    
            var exampleTransitRouterMulticastDomain = new TransitRouterMulticastDomain("exampleTransitRouterMulticastDomain", TransitRouterMulticastDomainArgs.builder()        
                .transitRouterId(exampleTransitRouter.transitRouterId())
                .transitRouterMulticastDomainName(name)
                .build());
    
            var exampleTransitRouterVpcAttachment = new TransitRouterVpcAttachment("exampleTransitRouterVpcAttachment", TransitRouterVpcAttachmentArgs.builder()        
                .cenId(exampleTransitRouter.cenId())
                .transitRouterId(exampleTransitRouterMulticastDomain.transitRouterId())
                .vpcId(exampleNetwork.id())
                .zoneMappings(TransitRouterVpcAttachmentZoneMappingArgs.builder()
                    .zoneId(zone)
                    .vswitchId(exampleSwitch.id())
                    .build())
                .build());
    
            var exampleTransitRouterMulticastDomainAssociation = new TransitRouterMulticastDomainAssociation("exampleTransitRouterMulticastDomainAssociation", TransitRouterMulticastDomainAssociationArgs.builder()        
                .transitRouterMulticastDomainId(exampleTransitRouterMulticastDomain.id())
                .transitRouterAttachmentId(exampleTransitRouterVpcAttachment.transitRouterAttachmentId())
                .vswitchId(exampleSwitch.id())
                .build());
    
        }
    }
    
    configuration:
      name:
        type: string
        default: tf_example
    resources:
      exampleNetwork:
        type: alicloud:vpc:Network
        properties:
          vpcName: ${name}
          cidrBlock: 192.168.0.0/16
      exampleSwitch:
        type: alicloud:vpc:Switch
        properties:
          vswitchName: ${name}
          cidrBlock: 192.168.1.0/24
          vpcId: ${exampleNetwork.id}
          zoneId: ${zone}
      exampleInstance:
        type: alicloud:cen:Instance
        properties:
          cenInstanceName: ${name}
      exampleTransitRouter:
        type: alicloud:cen:TransitRouter
        properties:
          transitRouterName: ${name}
          cenId: ${exampleInstance.id}
          supportMulticast: true
      exampleTransitRouterMulticastDomain:
        type: alicloud:cen:TransitRouterMulticastDomain
        properties:
          transitRouterId: ${exampleTransitRouter.transitRouterId}
          transitRouterMulticastDomainName: ${name}
      exampleTransitRouterVpcAttachment:
        type: alicloud:cen:TransitRouterVpcAttachment
        properties:
          cenId: ${exampleTransitRouter.cenId}
          transitRouterId: ${exampleTransitRouterMulticastDomain.transitRouterId}
          vpcId: ${exampleNetwork.id}
          zoneMappings:
            - zoneId: ${zone}
              vswitchId: ${exampleSwitch.id}
      exampleTransitRouterMulticastDomainAssociation:
        type: alicloud:cen:TransitRouterMulticastDomainAssociation
        properties:
          transitRouterMulticastDomainId: ${exampleTransitRouterMulticastDomain.id}
          transitRouterAttachmentId: ${exampleTransitRouterVpcAttachment.transitRouterAttachmentId}
          vswitchId: ${exampleSwitch.id}
    variables:
      default:
        fn::invoke:
          Function: alicloud:cen:getTransitRouterAvailableResources
          Arguments: {}
      zone: ${default.resources[0].masterZones[1]}
    

    Create TransitRouterMulticastDomainAssociation Resource

    new TransitRouterMulticastDomainAssociation(name: string, args: TransitRouterMulticastDomainAssociationArgs, opts?: CustomResourceOptions);
    @overload
    def TransitRouterMulticastDomainAssociation(resource_name: str,
                                                opts: Optional[ResourceOptions] = None,
                                                transit_router_attachment_id: Optional[str] = None,
                                                transit_router_multicast_domain_id: Optional[str] = None,
                                                vswitch_id: Optional[str] = None)
    @overload
    def TransitRouterMulticastDomainAssociation(resource_name: str,
                                                args: TransitRouterMulticastDomainAssociationArgs,
                                                opts: Optional[ResourceOptions] = None)
    func NewTransitRouterMulticastDomainAssociation(ctx *Context, name string, args TransitRouterMulticastDomainAssociationArgs, opts ...ResourceOption) (*TransitRouterMulticastDomainAssociation, error)
    public TransitRouterMulticastDomainAssociation(string name, TransitRouterMulticastDomainAssociationArgs args, CustomResourceOptions? opts = null)
    public TransitRouterMulticastDomainAssociation(String name, TransitRouterMulticastDomainAssociationArgs args)
    public TransitRouterMulticastDomainAssociation(String name, TransitRouterMulticastDomainAssociationArgs args, CustomResourceOptions options)
    
    type: alicloud:cen:TransitRouterMulticastDomainAssociation
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args TransitRouterMulticastDomainAssociationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args TransitRouterMulticastDomainAssociationArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args TransitRouterMulticastDomainAssociationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TransitRouterMulticastDomainAssociationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TransitRouterMulticastDomainAssociationArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    TransitRouterMulticastDomainAssociation Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The TransitRouterMulticastDomainAssociation resource accepts the following input properties:

    TransitRouterAttachmentId string
    The ID of the VPC connection.
    TransitRouterMulticastDomainId string
    The ID of the multicast domain.
    VswitchId string
    The ID of the vSwitch.
    TransitRouterAttachmentId string
    The ID of the VPC connection.
    TransitRouterMulticastDomainId string
    The ID of the multicast domain.
    VswitchId string
    The ID of the vSwitch.
    transitRouterAttachmentId String
    The ID of the VPC connection.
    transitRouterMulticastDomainId String
    The ID of the multicast domain.
    vswitchId String
    The ID of the vSwitch.
    transitRouterAttachmentId string
    The ID of the VPC connection.
    transitRouterMulticastDomainId string
    The ID of the multicast domain.
    vswitchId string
    The ID of the vSwitch.
    transit_router_attachment_id str
    The ID of the VPC connection.
    transit_router_multicast_domain_id str
    The ID of the multicast domain.
    vswitch_id str
    The ID of the vSwitch.
    transitRouterAttachmentId String
    The ID of the VPC connection.
    transitRouterMulticastDomainId String
    The ID of the multicast domain.
    vswitchId String
    The ID of the vSwitch.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the TransitRouterMulticastDomainAssociation resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    The status of the Transit Router Multicast Domain Association.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    The status of the Transit Router Multicast Domain Association.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    The status of the Transit Router Multicast Domain Association.
    id string
    The provider-assigned unique ID for this managed resource.
    status string
    The status of the Transit Router Multicast Domain Association.
    id str
    The provider-assigned unique ID for this managed resource.
    status str
    The status of the Transit Router Multicast Domain Association.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    The status of the Transit Router Multicast Domain Association.

    Look up Existing TransitRouterMulticastDomainAssociation Resource

    Get an existing TransitRouterMulticastDomainAssociation resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: TransitRouterMulticastDomainAssociationState, opts?: CustomResourceOptions): TransitRouterMulticastDomainAssociation
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            status: Optional[str] = None,
            transit_router_attachment_id: Optional[str] = None,
            transit_router_multicast_domain_id: Optional[str] = None,
            vswitch_id: Optional[str] = None) -> TransitRouterMulticastDomainAssociation
    func GetTransitRouterMulticastDomainAssociation(ctx *Context, name string, id IDInput, state *TransitRouterMulticastDomainAssociationState, opts ...ResourceOption) (*TransitRouterMulticastDomainAssociation, error)
    public static TransitRouterMulticastDomainAssociation Get(string name, Input<string> id, TransitRouterMulticastDomainAssociationState? state, CustomResourceOptions? opts = null)
    public static TransitRouterMulticastDomainAssociation get(String name, Output<String> id, TransitRouterMulticastDomainAssociationState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Status string
    The status of the Transit Router Multicast Domain Association.
    TransitRouterAttachmentId string
    The ID of the VPC connection.
    TransitRouterMulticastDomainId string
    The ID of the multicast domain.
    VswitchId string
    The ID of the vSwitch.
    Status string
    The status of the Transit Router Multicast Domain Association.
    TransitRouterAttachmentId string
    The ID of the VPC connection.
    TransitRouterMulticastDomainId string
    The ID of the multicast domain.
    VswitchId string
    The ID of the vSwitch.
    status String
    The status of the Transit Router Multicast Domain Association.
    transitRouterAttachmentId String
    The ID of the VPC connection.
    transitRouterMulticastDomainId String
    The ID of the multicast domain.
    vswitchId String
    The ID of the vSwitch.
    status string
    The status of the Transit Router Multicast Domain Association.
    transitRouterAttachmentId string
    The ID of the VPC connection.
    transitRouterMulticastDomainId string
    The ID of the multicast domain.
    vswitchId string
    The ID of the vSwitch.
    status str
    The status of the Transit Router Multicast Domain Association.
    transit_router_attachment_id str
    The ID of the VPC connection.
    transit_router_multicast_domain_id str
    The ID of the multicast domain.
    vswitch_id str
    The ID of the vSwitch.
    status String
    The status of the Transit Router Multicast Domain Association.
    transitRouterAttachmentId String
    The ID of the VPC connection.
    transitRouterMulticastDomainId String
    The ID of the multicast domain.
    vswitchId String
    The ID of the vSwitch.

    Import

    Cloud Enterprise Network (CEN) Transit Router Multicast Domain Association can be imported using the id, e.g.

    $ pulumi import alicloud:cen/transitRouterMulticastDomainAssociation:TransitRouterMulticastDomainAssociation example <transit_router_multicast_domain_id>:<transit_router_attachment_id>:<vswitch_id>
    

    Package Details

    Repository
    Alibaba Cloud pulumi/pulumi-alicloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the alicloud Terraform Provider.
    alicloud logo
    Alibaba Cloud v3.51.0 published on Saturday, Mar 23, 2024 by Pulumi