alicloud.cen.TransitRouterMulticastDomainMember

Provides a Cen Transit Router Multicast Domain Member resource.

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

NOTE: Available in v1.195.0+.

Example Usage

Basic Usage

using System.Collections.Generic;
using Pulumi;
using AliCloud = Pulumi.AliCloud;

return await Deployment.RunAsync(() => 
{
    var @default = new AliCloud.Cen.TransitRouterMulticastDomainMember("default", new()
    {
        GroupIpAddress = "239.1.1.1",
        NetworkInterfaceId = "eni-d7o632ny4ryst9ydmt93",
        TransitRouterMulticastDomainId = "tr-mcast-domain-2d9oq455uk533zfr29",
        VpcId = "vpc-d7oapc6waducz2ytvg6b6",
    });

});
package main

import (
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cen"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cen.NewTransitRouterMulticastDomainMember(ctx, "default", &cen.TransitRouterMulticastDomainMemberArgs{
			GroupIpAddress:                 pulumi.String("239.1.1.1"),
			NetworkInterfaceId:             pulumi.String("eni-d7o632ny4ryst9ydmt93"),
			TransitRouterMulticastDomainId: pulumi.String("tr-mcast-domain-2d9oq455uk533zfr29"),
			VpcId:                          pulumi.String("vpc-d7oapc6waducz2ytvg6b6"),
		})
		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.alicloud.cen.TransitRouterMulticastDomainMember;
import com.pulumi.alicloud.cen.TransitRouterMulticastDomainMemberArgs;
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 default_ = new TransitRouterMulticastDomainMember("default", TransitRouterMulticastDomainMemberArgs.builder()        
            .groupIpAddress("239.1.1.1")
            .networkInterfaceId("eni-d7o632ny4ryst9ydmt93")
            .transitRouterMulticastDomainId("tr-mcast-domain-2d9oq455uk533zfr29")
            .vpcId("vpc-d7oapc6waducz2ytvg6b6")
            .build());

    }
}
import pulumi
import pulumi_alicloud as alicloud

default = alicloud.cen.TransitRouterMulticastDomainMember("default",
    group_ip_address="239.1.1.1",
    network_interface_id="eni-d7o632ny4ryst9ydmt93",
    transit_router_multicast_domain_id="tr-mcast-domain-2d9oq455uk533zfr29",
    vpc_id="vpc-d7oapc6waducz2ytvg6b6")
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const _default = new alicloud.cen.TransitRouterMulticastDomainMember("default", {
    groupIpAddress: "239.1.1.1",
    networkInterfaceId: "eni-d7o632ny4ryst9ydmt93",
    transitRouterMulticastDomainId: "tr-mcast-domain-2d9oq455uk533zfr29",
    vpcId: "vpc-d7oapc6waducz2ytvg6b6",
});
resources:
  default:
    type: alicloud:cen:TransitRouterMulticastDomainMember
    properties:
      groupIpAddress: 239.1.1.1
      networkInterfaceId: eni-d7o632ny4ryst9ydmt93
      transitRouterMulticastDomainId: tr-mcast-domain-2d9oq455uk533zfr29
      vpcId: vpc-d7oapc6waducz2ytvg6b6

Create TransitRouterMulticastDomainMember Resource

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

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

TransitRouterMulticastDomainMember 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 TransitRouterMulticastDomainMember resource accepts the following input properties:

GroupIpAddress string

The IP address of the multicast group to which the multicast member belongs. 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.

NetworkInterfaceId string

The ID of the ENI.

TransitRouterMulticastDomainId string

The ID of the multicast domain to which the multicast member belongs.

DryRun bool

Specifies whether only to precheck the request.

VpcId string

The VPC to which the ENI of the multicast member belongs. This field is mandatory for VPCs owned by another accounts.

GroupIpAddress string

The IP address of the multicast group to which the multicast member belongs. 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.

NetworkInterfaceId string

The ID of the ENI.

TransitRouterMulticastDomainId string

The ID of the multicast domain to which the multicast member belongs.

DryRun bool

Specifies whether only to precheck the request.

VpcId string

The VPC to which the ENI of the multicast member belongs. This field is mandatory for VPCs owned by another accounts.

groupIpAddress String

The IP address of the multicast group to which the multicast member belongs. 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.

networkInterfaceId String

The ID of the ENI.

transitRouterMulticastDomainId String

The ID of the multicast domain to which the multicast member belongs.

dryRun Boolean

Specifies whether only to precheck the request.

vpcId String

The VPC to which the ENI of the multicast member belongs. This field is mandatory for VPCs owned by another accounts.

groupIpAddress string

The IP address of the multicast group to which the multicast member belongs. 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.

networkInterfaceId string

The ID of the ENI.

transitRouterMulticastDomainId string

The ID of the multicast domain to which the multicast member belongs.

dryRun boolean

Specifies whether only to precheck the request.

vpcId string

The VPC to which the ENI of the multicast member belongs. This field is mandatory for VPCs owned by another accounts.

group_ip_address str

The IP address of the multicast group to which the multicast member belongs. 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.

network_interface_id str

The ID of the ENI.

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.

vpc_id str

The VPC to which the ENI of the multicast member belongs. This field is mandatory for VPCs owned by another accounts.

groupIpAddress String

The IP address of the multicast group to which the multicast member belongs. 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.

networkInterfaceId String

The ID of the ENI.

transitRouterMulticastDomainId String

The ID of the multicast domain to which the multicast member belongs.

dryRun Boolean

Specifies whether only to precheck the request.

vpcId String

The VPC to which the ENI of the multicast member belongs. This field is mandatory for VPCs owned by another accounts.

Outputs

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

Id string

The provider-assigned unique ID for this managed resource.

Status string

The status of the resource

Id string

The provider-assigned unique ID for this managed resource.

Status string

The status of the resource

id String

The provider-assigned unique ID for this managed resource.

status String

The status of the resource

id string

The provider-assigned unique ID for this managed resource.

status string

The status of the resource

id str

The provider-assigned unique ID for this managed resource.

status str

The status of the resource

id String

The provider-assigned unique ID for this managed resource.

status String

The status of the resource

Look up Existing TransitRouterMulticastDomainMember Resource

Get an existing TransitRouterMulticastDomainMember 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?: TransitRouterMulticastDomainMemberState, opts?: CustomResourceOptions): TransitRouterMulticastDomainMember
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        dry_run: Optional[bool] = None,
        group_ip_address: Optional[str] = None,
        network_interface_id: Optional[str] = None,
        status: Optional[str] = None,
        transit_router_multicast_domain_id: Optional[str] = None,
        vpc_id: Optional[str] = None) -> TransitRouterMulticastDomainMember
func GetTransitRouterMulticastDomainMember(ctx *Context, name string, id IDInput, state *TransitRouterMulticastDomainMemberState, opts ...ResourceOption) (*TransitRouterMulticastDomainMember, error)
public static TransitRouterMulticastDomainMember Get(string name, Input<string> id, TransitRouterMulticastDomainMemberState? state, CustomResourceOptions? opts = null)
public static TransitRouterMulticastDomainMember get(String name, Output<String> id, TransitRouterMulticastDomainMemberState 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. 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.

NetworkInterfaceId string

The ID of the ENI.

Status string

The status of the resource

TransitRouterMulticastDomainId string

The ID of the multicast domain to which the multicast member belongs.

VpcId string

The VPC to which the ENI of the multicast member belongs. This field is mandatory for VPCs owned by another accounts.

DryRun bool

Specifies whether only to precheck the request.

GroupIpAddress string

The IP address of the multicast group to which the multicast member belongs. 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.

NetworkInterfaceId string

The ID of the ENI.

Status string

The status of the resource

TransitRouterMulticastDomainId string

The ID of the multicast domain to which the multicast member belongs.

VpcId string

The VPC to which the ENI of the multicast member belongs. This field is mandatory for VPCs owned by another accounts.

dryRun Boolean

Specifies whether only to precheck the request.

groupIpAddress String

The IP address of the multicast group to which the multicast member belongs. 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.

networkInterfaceId String

The ID of the ENI.

status String

The status of the resource

transitRouterMulticastDomainId String

The ID of the multicast domain to which the multicast member belongs.

vpcId String

The VPC to which the ENI of the multicast member belongs. This field is mandatory for VPCs owned by another accounts.

dryRun boolean

Specifies whether only to precheck the request.

groupIpAddress string

The IP address of the multicast group to which the multicast member belongs. 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.

networkInterfaceId string

The ID of the ENI.

status string

The status of the resource

transitRouterMulticastDomainId string

The ID of the multicast domain to which the multicast member belongs.

vpcId string

The VPC to which the ENI of the multicast member belongs. This field is mandatory for VPCs owned by another accounts.

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. 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.

network_interface_id str

The ID of the ENI.

status str

The status of the resource

transit_router_multicast_domain_id str

The ID of the multicast domain to which the multicast member belongs.

vpc_id str

The VPC to which the ENI of the multicast member belongs. This field is mandatory for VPCs owned by another accounts.

dryRun Boolean

Specifies whether only to precheck the request.

groupIpAddress String

The IP address of the multicast group to which the multicast member belongs. 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.

networkInterfaceId String

The ID of the ENI.

status String

The status of the resource

transitRouterMulticastDomainId String

The ID of the multicast domain to which the multicast member belongs.

vpcId String

The VPC to which the ENI of the multicast member belongs. This field is mandatory for VPCs owned by another accounts.

Import

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

 $ pulumi import alicloud:cen/transitRouterMulticastDomainMember:TransitRouterMulticastDomainMember example <transit_router_multicast_domain_id>:<group_ip_address>:<network_interface_id>

Package Details

Repository
Alibaba Cloud pulumi/pulumi-alicloud
License
Apache-2.0
Notes

This Pulumi package is based on the alicloud Terraform Provider.