1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. cen
  5. TransitRouterMulticastDomainPeerMember
Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 by Pulumi

alicloud.cen.TransitRouterMulticastDomainPeerMember

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 by Pulumi

    Provides a Cen Transit Router Multicast Domain Peer Member resource.

    For information about Cen Transit Router Multicast Domain Peer Member and how to use it, see What is Transit Router Multicast Domain Peer Member.

    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 = new alicloud.cen.Instance("default", {cenInstanceName: name});
    const defaultBandwidthPackage = new alicloud.cen.BandwidthPackage("default", {
        bandwidth: 5,
        cenBandwidthPackageName: name,
        geographicRegionAId: "China",
        geographicRegionBId: "China",
    });
    const defaultBandwidthPackageAttachment = new alicloud.cen.BandwidthPackageAttachment("default", {
        instanceId: _default.id,
        bandwidthPackageId: defaultBandwidthPackage.id,
    });
    const defaultTransitRouter = new alicloud.cen.TransitRouter("default", {
        cenId: defaultBandwidthPackageAttachment.instanceId,
        supportMulticast: true,
    });
    const peer = new alicloud.cen.TransitRouter("peer", {
        cenId: defaultBandwidthPackageAttachment.instanceId,
        supportMulticast: true,
    });
    const defaultTransitRouterPeerAttachment = new alicloud.cen.TransitRouterPeerAttachment("default", {
        cenId: defaultBandwidthPackageAttachment.instanceId,
        transitRouterId: defaultTransitRouter.transitRouterId,
        peerTransitRouterId: peer.transitRouterId,
        peerTransitRouterRegionId: "cn-qingdao",
        cenBandwidthPackageId: defaultBandwidthPackageAttachment.bandwidthPackageId,
        bandwidth: 5,
        transitRouterAttachmentDescription: name,
        transitRouterAttachmentName: name,
    });
    const defaultTransitRouterMulticastDomain = new alicloud.cen.TransitRouterMulticastDomain("default", {
        transitRouterId: defaultTransitRouterPeerAttachment.transitRouterId,
        transitRouterMulticastDomainName: name,
        transitRouterMulticastDomainDescription: name,
    });
    const peerTransitRouterMulticastDomain = new alicloud.cen.TransitRouterMulticastDomain("peer", {
        transitRouterId: defaultTransitRouterPeerAttachment.peerTransitRouterId,
        transitRouterMulticastDomainName: name,
        transitRouterMulticastDomainDescription: name,
    });
    const defaultTransitRouterMulticastDomainPeerMember = new alicloud.cen.TransitRouterMulticastDomainPeerMember("default", {
        transitRouterMulticastDomainId: defaultTransitRouterMulticastDomain.id,
        peerTransitRouterMulticastDomainId: peerTransitRouterMulticastDomain.id,
        groupIpAddress: "224.0.0.1",
    });
    
    import pulumi
    import pulumi_alicloud as alicloud
    
    config = pulumi.Config()
    name = config.get("name")
    if name is None:
        name = "tf_example"
    default = alicloud.cen.Instance("default", cen_instance_name=name)
    default_bandwidth_package = alicloud.cen.BandwidthPackage("default",
        bandwidth=5,
        cen_bandwidth_package_name=name,
        geographic_region_a_id="China",
        geographic_region_b_id="China")
    default_bandwidth_package_attachment = alicloud.cen.BandwidthPackageAttachment("default",
        instance_id=default.id,
        bandwidth_package_id=default_bandwidth_package.id)
    default_transit_router = alicloud.cen.TransitRouter("default",
        cen_id=default_bandwidth_package_attachment.instance_id,
        support_multicast=True)
    peer = alicloud.cen.TransitRouter("peer",
        cen_id=default_bandwidth_package_attachment.instance_id,
        support_multicast=True)
    default_transit_router_peer_attachment = alicloud.cen.TransitRouterPeerAttachment("default",
        cen_id=default_bandwidth_package_attachment.instance_id,
        transit_router_id=default_transit_router.transit_router_id,
        peer_transit_router_id=peer.transit_router_id,
        peer_transit_router_region_id="cn-qingdao",
        cen_bandwidth_package_id=default_bandwidth_package_attachment.bandwidth_package_id,
        bandwidth=5,
        transit_router_attachment_description=name,
        transit_router_attachment_name=name)
    default_transit_router_multicast_domain = alicloud.cen.TransitRouterMulticastDomain("default",
        transit_router_id=default_transit_router_peer_attachment.transit_router_id,
        transit_router_multicast_domain_name=name,
        transit_router_multicast_domain_description=name)
    peer_transit_router_multicast_domain = alicloud.cen.TransitRouterMulticastDomain("peer",
        transit_router_id=default_transit_router_peer_attachment.peer_transit_router_id,
        transit_router_multicast_domain_name=name,
        transit_router_multicast_domain_description=name)
    default_transit_router_multicast_domain_peer_member = alicloud.cen.TransitRouterMulticastDomainPeerMember("default",
        transit_router_multicast_domain_id=default_transit_router_multicast_domain.id,
        peer_transit_router_multicast_domain_id=peer_transit_router_multicast_domain.id,
        group_ip_address="224.0.0.1")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cen"
    	"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
    		}
    		_, err := cen.NewInstance(ctx, "default", &cen.InstanceArgs{
    			CenInstanceName: pulumi.String(name),
    		})
    		if err != nil {
    			return err
    		}
    		defaultBandwidthPackage, err := cen.NewBandwidthPackage(ctx, "default", &cen.BandwidthPackageArgs{
    			Bandwidth:               pulumi.Int(5),
    			CenBandwidthPackageName: pulumi.String(name),
    			GeographicRegionAId:     pulumi.String("China"),
    			GeographicRegionBId:     pulumi.String("China"),
    		})
    		if err != nil {
    			return err
    		}
    		defaultBandwidthPackageAttachment, err := cen.NewBandwidthPackageAttachment(ctx, "default", &cen.BandwidthPackageAttachmentArgs{
    			InstanceId:         _default.ID(),
    			BandwidthPackageId: defaultBandwidthPackage.ID(),
    		})
    		if err != nil {
    			return err
    		}
    		defaultTransitRouter, err := cen.NewTransitRouter(ctx, "default", &cen.TransitRouterArgs{
    			CenId:            defaultBandwidthPackageAttachment.InstanceId,
    			SupportMulticast: pulumi.Bool(true),
    		})
    		if err != nil {
    			return err
    		}
    		peer, err := cen.NewTransitRouter(ctx, "peer", &cen.TransitRouterArgs{
    			CenId:            defaultBandwidthPackageAttachment.InstanceId,
    			SupportMulticast: pulumi.Bool(true),
    		})
    		if err != nil {
    			return err
    		}
    		defaultTransitRouterPeerAttachment, err := cen.NewTransitRouterPeerAttachment(ctx, "default", &cen.TransitRouterPeerAttachmentArgs{
    			CenId:                              defaultBandwidthPackageAttachment.InstanceId,
    			TransitRouterId:                    defaultTransitRouter.TransitRouterId,
    			PeerTransitRouterId:                peer.TransitRouterId,
    			PeerTransitRouterRegionId:          pulumi.String("cn-qingdao"),
    			CenBandwidthPackageId:              defaultBandwidthPackageAttachment.BandwidthPackageId,
    			Bandwidth:                          pulumi.Int(5),
    			TransitRouterAttachmentDescription: pulumi.String(name),
    			TransitRouterAttachmentName:        pulumi.String(name),
    		})
    		if err != nil {
    			return err
    		}
    		defaultTransitRouterMulticastDomain, err := cen.NewTransitRouterMulticastDomain(ctx, "default", &cen.TransitRouterMulticastDomainArgs{
    			TransitRouterId:                         defaultTransitRouterPeerAttachment.TransitRouterId,
    			TransitRouterMulticastDomainName:        pulumi.String(name),
    			TransitRouterMulticastDomainDescription: pulumi.String(name),
    		})
    		if err != nil {
    			return err
    		}
    		peerTransitRouterMulticastDomain, err := cen.NewTransitRouterMulticastDomain(ctx, "peer", &cen.TransitRouterMulticastDomainArgs{
    			TransitRouterId:                         defaultTransitRouterPeerAttachment.PeerTransitRouterId,
    			TransitRouterMulticastDomainName:        pulumi.String(name),
    			TransitRouterMulticastDomainDescription: pulumi.String(name),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = cen.NewTransitRouterMulticastDomainPeerMember(ctx, "default", &cen.TransitRouterMulticastDomainPeerMemberArgs{
    			TransitRouterMulticastDomainId:     defaultTransitRouterMulticastDomain.ID(),
    			PeerTransitRouterMulticastDomainId: peerTransitRouterMulticastDomain.ID(),
    			GroupIpAddress:                     pulumi.String("224.0.0.1"),
    		})
    		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 = new AliCloud.Cen.Instance("default", new()
        {
            CenInstanceName = name,
        });
    
        var defaultBandwidthPackage = new AliCloud.Cen.BandwidthPackage("default", new()
        {
            Bandwidth = 5,
            CenBandwidthPackageName = name,
            GeographicRegionAId = "China",
            GeographicRegionBId = "China",
        });
    
        var defaultBandwidthPackageAttachment = new AliCloud.Cen.BandwidthPackageAttachment("default", new()
        {
            InstanceId = @default.Id,
            BandwidthPackageId = defaultBandwidthPackage.Id,
        });
    
        var defaultTransitRouter = new AliCloud.Cen.TransitRouter("default", new()
        {
            CenId = defaultBandwidthPackageAttachment.InstanceId,
            SupportMulticast = true,
        });
    
        var peer = new AliCloud.Cen.TransitRouter("peer", new()
        {
            CenId = defaultBandwidthPackageAttachment.InstanceId,
            SupportMulticast = true,
        });
    
        var defaultTransitRouterPeerAttachment = new AliCloud.Cen.TransitRouterPeerAttachment("default", new()
        {
            CenId = defaultBandwidthPackageAttachment.InstanceId,
            TransitRouterId = defaultTransitRouter.TransitRouterId,
            PeerTransitRouterId = peer.TransitRouterId,
            PeerTransitRouterRegionId = "cn-qingdao",
            CenBandwidthPackageId = defaultBandwidthPackageAttachment.BandwidthPackageId,
            Bandwidth = 5,
            TransitRouterAttachmentDescription = name,
            TransitRouterAttachmentName = name,
        });
    
        var defaultTransitRouterMulticastDomain = new AliCloud.Cen.TransitRouterMulticastDomain("default", new()
        {
            TransitRouterId = defaultTransitRouterPeerAttachment.TransitRouterId,
            TransitRouterMulticastDomainName = name,
            TransitRouterMulticastDomainDescription = name,
        });
    
        var peerTransitRouterMulticastDomain = new AliCloud.Cen.TransitRouterMulticastDomain("peer", new()
        {
            TransitRouterId = defaultTransitRouterPeerAttachment.PeerTransitRouterId,
            TransitRouterMulticastDomainName = name,
            TransitRouterMulticastDomainDescription = name,
        });
    
        var defaultTransitRouterMulticastDomainPeerMember = new AliCloud.Cen.TransitRouterMulticastDomainPeerMember("default", new()
        {
            TransitRouterMulticastDomainId = defaultTransitRouterMulticastDomain.Id,
            PeerTransitRouterMulticastDomainId = peerTransitRouterMulticastDomain.Id,
            GroupIpAddress = "224.0.0.1",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.alicloud.cen.Instance;
    import com.pulumi.alicloud.cen.InstanceArgs;
    import com.pulumi.alicloud.cen.BandwidthPackage;
    import com.pulumi.alicloud.cen.BandwidthPackageArgs;
    import com.pulumi.alicloud.cen.BandwidthPackageAttachment;
    import com.pulumi.alicloud.cen.BandwidthPackageAttachmentArgs;
    import com.pulumi.alicloud.cen.TransitRouter;
    import com.pulumi.alicloud.cen.TransitRouterArgs;
    import com.pulumi.alicloud.cen.TransitRouterPeerAttachment;
    import com.pulumi.alicloud.cen.TransitRouterPeerAttachmentArgs;
    import com.pulumi.alicloud.cen.TransitRouterMulticastDomain;
    import com.pulumi.alicloud.cen.TransitRouterMulticastDomainArgs;
    import com.pulumi.alicloud.cen.TransitRouterMulticastDomainPeerMember;
    import com.pulumi.alicloud.cen.TransitRouterMulticastDomainPeerMemberArgs;
    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");
            var default_ = new Instance("default", InstanceArgs.builder()
                .cenInstanceName(name)
                .build());
    
            var defaultBandwidthPackage = new BandwidthPackage("defaultBandwidthPackage", BandwidthPackageArgs.builder()
                .bandwidth(5)
                .cenBandwidthPackageName(name)
                .geographicRegionAId("China")
                .geographicRegionBId("China")
                .build());
    
            var defaultBandwidthPackageAttachment = new BandwidthPackageAttachment("defaultBandwidthPackageAttachment", BandwidthPackageAttachmentArgs.builder()
                .instanceId(default_.id())
                .bandwidthPackageId(defaultBandwidthPackage.id())
                .build());
    
            var defaultTransitRouter = new TransitRouter("defaultTransitRouter", TransitRouterArgs.builder()
                .cenId(defaultBandwidthPackageAttachment.instanceId())
                .supportMulticast(true)
                .build());
    
            var peer = new TransitRouter("peer", TransitRouterArgs.builder()
                .cenId(defaultBandwidthPackageAttachment.instanceId())
                .supportMulticast(true)
                .build());
    
            var defaultTransitRouterPeerAttachment = new TransitRouterPeerAttachment("defaultTransitRouterPeerAttachment", TransitRouterPeerAttachmentArgs.builder()
                .cenId(defaultBandwidthPackageAttachment.instanceId())
                .transitRouterId(defaultTransitRouter.transitRouterId())
                .peerTransitRouterId(peer.transitRouterId())
                .peerTransitRouterRegionId("cn-qingdao")
                .cenBandwidthPackageId(defaultBandwidthPackageAttachment.bandwidthPackageId())
                .bandwidth(5)
                .transitRouterAttachmentDescription(name)
                .transitRouterAttachmentName(name)
                .build());
    
            var defaultTransitRouterMulticastDomain = new TransitRouterMulticastDomain("defaultTransitRouterMulticastDomain", TransitRouterMulticastDomainArgs.builder()
                .transitRouterId(defaultTransitRouterPeerAttachment.transitRouterId())
                .transitRouterMulticastDomainName(name)
                .transitRouterMulticastDomainDescription(name)
                .build());
    
            var peerTransitRouterMulticastDomain = new TransitRouterMulticastDomain("peerTransitRouterMulticastDomain", TransitRouterMulticastDomainArgs.builder()
                .transitRouterId(defaultTransitRouterPeerAttachment.peerTransitRouterId())
                .transitRouterMulticastDomainName(name)
                .transitRouterMulticastDomainDescription(name)
                .build());
    
            var defaultTransitRouterMulticastDomainPeerMember = new TransitRouterMulticastDomainPeerMember("defaultTransitRouterMulticastDomainPeerMember", TransitRouterMulticastDomainPeerMemberArgs.builder()
                .transitRouterMulticastDomainId(defaultTransitRouterMulticastDomain.id())
                .peerTransitRouterMulticastDomainId(peerTransitRouterMulticastDomain.id())
                .groupIpAddress("224.0.0.1")
                .build());
    
        }
    }
    
    configuration:
      name:
        type: string
        default: tf_example
    resources:
      default:
        type: alicloud:cen:Instance
        properties:
          cenInstanceName: ${name}
      defaultBandwidthPackage:
        type: alicloud:cen:BandwidthPackage
        name: default
        properties:
          bandwidth: 5
          cenBandwidthPackageName: ${name}
          geographicRegionAId: China
          geographicRegionBId: China
      defaultBandwidthPackageAttachment:
        type: alicloud:cen:BandwidthPackageAttachment
        name: default
        properties:
          instanceId: ${default.id}
          bandwidthPackageId: ${defaultBandwidthPackage.id}
      defaultTransitRouter:
        type: alicloud:cen:TransitRouter
        name: default
        properties:
          cenId: ${defaultBandwidthPackageAttachment.instanceId}
          supportMulticast: true
      peer:
        type: alicloud:cen:TransitRouter
        properties:
          cenId: ${defaultBandwidthPackageAttachment.instanceId}
          supportMulticast: true
      defaultTransitRouterPeerAttachment:
        type: alicloud:cen:TransitRouterPeerAttachment
        name: default
        properties:
          cenId: ${defaultBandwidthPackageAttachment.instanceId}
          transitRouterId: ${defaultTransitRouter.transitRouterId}
          peerTransitRouterId: ${peer.transitRouterId}
          peerTransitRouterRegionId: cn-qingdao
          cenBandwidthPackageId: ${defaultBandwidthPackageAttachment.bandwidthPackageId}
          bandwidth: 5
          transitRouterAttachmentDescription: ${name}
          transitRouterAttachmentName: ${name}
      defaultTransitRouterMulticastDomain:
        type: alicloud:cen:TransitRouterMulticastDomain
        name: default
        properties:
          transitRouterId: ${defaultTransitRouterPeerAttachment.transitRouterId}
          transitRouterMulticastDomainName: ${name}
          transitRouterMulticastDomainDescription: ${name}
      peerTransitRouterMulticastDomain:
        type: alicloud:cen:TransitRouterMulticastDomain
        name: peer
        properties:
          transitRouterId: ${defaultTransitRouterPeerAttachment.peerTransitRouterId}
          transitRouterMulticastDomainName: ${name}
          transitRouterMulticastDomainDescription: ${name}
      defaultTransitRouterMulticastDomainPeerMember:
        type: alicloud:cen:TransitRouterMulticastDomainPeerMember
        name: default
        properties:
          transitRouterMulticastDomainId: ${defaultTransitRouterMulticastDomain.id}
          peerTransitRouterMulticastDomainId: ${peerTransitRouterMulticastDomain.id}
          groupIpAddress: 224.0.0.1
    

    Create TransitRouterMulticastDomainPeerMember Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new TransitRouterMulticastDomainPeerMember(name: string, args: TransitRouterMulticastDomainPeerMemberArgs, opts?: CustomResourceOptions);
    @overload
    def TransitRouterMulticastDomainPeerMember(resource_name: str,
                                               args: TransitRouterMulticastDomainPeerMemberArgs,
                                               opts: Optional[ResourceOptions] = None)
    
    @overload
    def TransitRouterMulticastDomainPeerMember(resource_name: str,
                                               opts: Optional[ResourceOptions] = None,
                                               group_ip_address: Optional[str] = None,
                                               peer_transit_router_multicast_domain_id: Optional[str] = None,
                                               transit_router_multicast_domain_id: Optional[str] = None,
                                               dry_run: Optional[bool] = None)
    func NewTransitRouterMulticastDomainPeerMember(ctx *Context, name string, args TransitRouterMulticastDomainPeerMemberArgs, opts ...ResourceOption) (*TransitRouterMulticastDomainPeerMember, error)
    public TransitRouterMulticastDomainPeerMember(string name, TransitRouterMulticastDomainPeerMemberArgs args, CustomResourceOptions? opts = null)
    public TransitRouterMulticastDomainPeerMember(String name, TransitRouterMulticastDomainPeerMemberArgs args)
    public TransitRouterMulticastDomainPeerMember(String name, TransitRouterMulticastDomainPeerMemberArgs args, CustomResourceOptions options)
    
    type: alicloud:cen:TransitRouterMulticastDomainPeerMember
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args TransitRouterMulticastDomainPeerMemberArgs
    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 TransitRouterMulticastDomainPeerMemberArgs
    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 TransitRouterMulticastDomainPeerMemberArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TransitRouterMulticastDomainPeerMemberArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TransitRouterMulticastDomainPeerMemberArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var transitRouterMulticastDomainPeerMemberResource = new AliCloud.Cen.TransitRouterMulticastDomainPeerMember("transitRouterMulticastDomainPeerMemberResource", new()
    {
        GroupIpAddress = "string",
        PeerTransitRouterMulticastDomainId = "string",
        TransitRouterMulticastDomainId = "string",
        DryRun = false,
    });
    
    example, err := cen.NewTransitRouterMulticastDomainPeerMember(ctx, "transitRouterMulticastDomainPeerMemberResource", &cen.TransitRouterMulticastDomainPeerMemberArgs{
    	GroupIpAddress:                     pulumi.String("string"),
    	PeerTransitRouterMulticastDomainId: pulumi.String("string"),
    	TransitRouterMulticastDomainId:     pulumi.String("string"),
    	DryRun:                             pulumi.Bool(false),
    })
    
    var transitRouterMulticastDomainPeerMemberResource = new TransitRouterMulticastDomainPeerMember("transitRouterMulticastDomainPeerMemberResource", TransitRouterMulticastDomainPeerMemberArgs.builder()
        .groupIpAddress("string")
        .peerTransitRouterMulticastDomainId("string")
        .transitRouterMulticastDomainId("string")
        .dryRun(false)
        .build());
    
    transit_router_multicast_domain_peer_member_resource = alicloud.cen.TransitRouterMulticastDomainPeerMember("transitRouterMulticastDomainPeerMemberResource",
        group_ip_address="string",
        peer_transit_router_multicast_domain_id="string",
        transit_router_multicast_domain_id="string",
        dry_run=False)
    
    const transitRouterMulticastDomainPeerMemberResource = new alicloud.cen.TransitRouterMulticastDomainPeerMember("transitRouterMulticastDomainPeerMemberResource", {
        groupIpAddress: "string",
        peerTransitRouterMulticastDomainId: "string",
        transitRouterMulticastDomainId: "string",
        dryRun: false,
    });
    
    type: alicloud:cen:TransitRouterMulticastDomainPeerMember
    properties:
        dryRun: false
        groupIpAddress: string
        peerTransitRouterMulticastDomainId: string
        transitRouterMulticastDomainId: string
    

    TransitRouterMulticastDomainPeerMember Resource Properties

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

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The TransitRouterMulticastDomainPeerMember resource accepts the following input properties:

    GroupIpAddress string
    The IP address of the multicast group to which the multicast member belongs. Value range: 224.0.0.1 to 239.255.255.254.If the multicast group you specified does not exist in the current multicast domain, the system will automatically create a new multicast group for you in the current multicast domain.
    PeerTransitRouterMulticastDomainId string
    The IDs of the inter-region multicast domains.
    TransitRouterMulticastDomainId string
    The ID of the multicast domain to which the multicast member belongs.
    DryRun bool
    Specifies whether only to precheck the request.
    GroupIpAddress string
    The IP address of the multicast group to which the multicast member belongs. Value range: 224.0.0.1 to 239.255.255.254.If the multicast group you specified does not exist in the current multicast domain, the system will automatically create a new multicast group for you in the current multicast domain.
    PeerTransitRouterMulticastDomainId string
    The IDs of the inter-region multicast domains.
    TransitRouterMulticastDomainId string
    The ID of the multicast domain to which the multicast member belongs.
    DryRun bool
    Specifies whether only to precheck the request.
    groupIpAddress String
    The IP address of the multicast group to which the multicast member belongs. Value range: 224.0.0.1 to 239.255.255.254.If the multicast group you specified does not exist in the current multicast domain, the system will automatically create a new multicast group for you in the current multicast domain.
    peerTransitRouterMulticastDomainId String
    The IDs of the inter-region multicast domains.
    transitRouterMulticastDomainId String
    The ID of the multicast domain to which the multicast member belongs.
    dryRun Boolean
    Specifies whether only to precheck the request.
    groupIpAddress string
    The IP address of the multicast group to which the multicast member belongs. Value range: 224.0.0.1 to 239.255.255.254.If the multicast group you specified does not exist in the current multicast domain, the system will automatically create a new multicast group for you in the current multicast domain.
    peerTransitRouterMulticastDomainId string
    The IDs of the inter-region multicast domains.
    transitRouterMulticastDomainId string
    The ID of the multicast domain to which the multicast member belongs.
    dryRun boolean
    Specifies whether only to precheck the request.
    group_ip_address str
    The IP address of the multicast group to which the multicast member belongs. Value range: 224.0.0.1 to 239.255.255.254.If the multicast group you specified does not exist in the current multicast domain, the system will automatically create a new multicast group for you in the current multicast domain.
    peer_transit_router_multicast_domain_id str
    The IDs of the inter-region multicast domains.
    transit_router_multicast_domain_id str
    The ID of the multicast domain to which the multicast member belongs.
    dry_run bool
    Specifies whether only to precheck the request.
    groupIpAddress String
    The IP address of the multicast group to which the multicast member belongs. Value range: 224.0.0.1 to 239.255.255.254.If the multicast group you specified does not exist in the current multicast domain, the system will automatically create a new multicast group for you in the current multicast domain.
    peerTransitRouterMulticastDomainId String
    The IDs of the inter-region multicast domains.
    transitRouterMulticastDomainId String
    The ID of the multicast domain to which the multicast member belongs.
    dryRun Boolean
    Specifies whether only to precheck the request.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    The status of the multicast resource. Valid values:

    • Registering: being created
    • Registered: available
    • Deregistering: being deleted
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    The status of the multicast resource. Valid values:

    • Registering: being created
    • Registered: available
    • Deregistering: being deleted
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    The status of the multicast resource. Valid values:

    • Registering: being created
    • Registered: available
    • Deregistering: being deleted
    id string
    The provider-assigned unique ID for this managed resource.
    status string
    The status of the multicast resource. Valid values:

    • Registering: being created
    • Registered: available
    • Deregistering: being deleted
    id str
    The provider-assigned unique ID for this managed resource.
    status str
    The status of the multicast resource. Valid values:

    • Registering: being created
    • Registered: available
    • Deregistering: being deleted
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    The status of the multicast resource. Valid values:

    • Registering: being created
    • Registered: available
    • Deregistering: being deleted

    Look up Existing TransitRouterMulticastDomainPeerMember Resource

    Get an existing TransitRouterMulticastDomainPeerMember 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?: TransitRouterMulticastDomainPeerMemberState, opts?: CustomResourceOptions): TransitRouterMulticastDomainPeerMember
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            dry_run: Optional[bool] = None,
            group_ip_address: Optional[str] = None,
            peer_transit_router_multicast_domain_id: Optional[str] = None,
            status: Optional[str] = None,
            transit_router_multicast_domain_id: Optional[str] = None) -> TransitRouterMulticastDomainPeerMember
    func GetTransitRouterMulticastDomainPeerMember(ctx *Context, name string, id IDInput, state *TransitRouterMulticastDomainPeerMemberState, opts ...ResourceOption) (*TransitRouterMulticastDomainPeerMember, error)
    public static TransitRouterMulticastDomainPeerMember Get(string name, Input<string> id, TransitRouterMulticastDomainPeerMemberState? state, CustomResourceOptions? opts = null)
    public static TransitRouterMulticastDomainPeerMember get(String name, Output<String> id, TransitRouterMulticastDomainPeerMemberState 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:
    DryRun bool
    Specifies whether only to precheck the request.
    GroupIpAddress string
    The IP address of the multicast group to which the multicast member belongs. Value range: 224.0.0.1 to 239.255.255.254.If the multicast group you specified does not exist in the current multicast domain, the system will automatically create a new multicast group for you in the current multicast domain.
    PeerTransitRouterMulticastDomainId string
    The IDs of the inter-region multicast domains.
    Status string
    The status of the multicast resource. Valid values:

    • Registering: being created
    • Registered: available
    • Deregistering: being deleted
    TransitRouterMulticastDomainId string
    The ID of the multicast domain to which the multicast member belongs.
    DryRun bool
    Specifies whether only to precheck the request.
    GroupIpAddress string
    The IP address of the multicast group to which the multicast member belongs. Value range: 224.0.0.1 to 239.255.255.254.If the multicast group you specified does not exist in the current multicast domain, the system will automatically create a new multicast group for you in the current multicast domain.
    PeerTransitRouterMulticastDomainId string
    The IDs of the inter-region multicast domains.
    Status string
    The status of the multicast resource. Valid values:

    • Registering: being created
    • Registered: available
    • Deregistering: being deleted
    TransitRouterMulticastDomainId string
    The ID of the multicast domain to which the multicast member belongs.
    dryRun Boolean
    Specifies whether only to precheck the request.
    groupIpAddress String
    The IP address of the multicast group to which the multicast member belongs. Value range: 224.0.0.1 to 239.255.255.254.If the multicast group you specified does not exist in the current multicast domain, the system will automatically create a new multicast group for you in the current multicast domain.
    peerTransitRouterMulticastDomainId String
    The IDs of the inter-region multicast domains.
    status String
    The status of the multicast resource. Valid values:

    • Registering: being created
    • Registered: available
    • Deregistering: being deleted
    transitRouterMulticastDomainId String
    The ID of the multicast domain to which the multicast member belongs.
    dryRun boolean
    Specifies whether only to precheck the request.
    groupIpAddress string
    The IP address of the multicast group to which the multicast member belongs. Value range: 224.0.0.1 to 239.255.255.254.If the multicast group you specified does not exist in the current multicast domain, the system will automatically create a new multicast group for you in the current multicast domain.
    peerTransitRouterMulticastDomainId string
    The IDs of the inter-region multicast domains.
    status string
    The status of the multicast resource. Valid values:

    • Registering: being created
    • Registered: available
    • Deregistering: being deleted
    transitRouterMulticastDomainId string
    The ID of the multicast domain to which the multicast member belongs.
    dry_run bool
    Specifies whether only to precheck the request.
    group_ip_address str
    The IP address of the multicast group to which the multicast member belongs. Value range: 224.0.0.1 to 239.255.255.254.If the multicast group you specified does not exist in the current multicast domain, the system will automatically create a new multicast group for you in the current multicast domain.
    peer_transit_router_multicast_domain_id str
    The IDs of the inter-region multicast domains.
    status str
    The status of the multicast resource. Valid values:

    • Registering: being created
    • Registered: available
    • Deregistering: being deleted
    transit_router_multicast_domain_id str
    The ID of the multicast domain to which the multicast member belongs.
    dryRun Boolean
    Specifies whether only to precheck the request.
    groupIpAddress String
    The IP address of the multicast group to which the multicast member belongs. Value range: 224.0.0.1 to 239.255.255.254.If the multicast group you specified does not exist in the current multicast domain, the system will automatically create a new multicast group for you in the current multicast domain.
    peerTransitRouterMulticastDomainId String
    The IDs of the inter-region multicast domains.
    status String
    The status of the multicast resource. Valid values:

    • Registering: being created
    • Registered: available
    • Deregistering: being deleted
    transitRouterMulticastDomainId String
    The ID of the multicast domain to which the multicast member belongs.

    Import

    Cen Transit Router Multicast Domain Peer Member can be imported using the id, e.g.

    $ pulumi import alicloud:cen/transitRouterMulticastDomainPeerMember:TransitRouterMulticastDomainPeerMember example <transit_router_multicast_domain_id>:<group_ip_address>:<peer_transit_router_multicast_domain_id>
    

    To learn more about importing existing cloud resources, see Importing resources.

    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.66.0 published on Friday, Nov 15, 2024 by Pulumi