alicloud.cen.TransitRouterMulticastDomainSource

Provides a Cen Transit Router Multicast Domain Source resource.

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

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.TransitRouterMulticastDomainSource("default", new()
    {
        GroupIpAddress = "239.1.1.1",
        NetworkInterfaceId = "eni-xxxx",
        TransitRouterMulticastDomainId = "tr-mcast-domain-xxxx",
        VpcId = "vpc-xxxx",
    });

});
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.NewTransitRouterMulticastDomainSource(ctx, "default", &cen.TransitRouterMulticastDomainSourceArgs{
			GroupIpAddress:                 pulumi.String("239.1.1.1"),
			NetworkInterfaceId:             pulumi.String("eni-xxxx"),
			TransitRouterMulticastDomainId: pulumi.String("tr-mcast-domain-xxxx"),
			VpcId:                          pulumi.String("vpc-xxxx"),
		})
		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.TransitRouterMulticastDomainSource;
import com.pulumi.alicloud.cen.TransitRouterMulticastDomainSourceArgs;
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 TransitRouterMulticastDomainSource("default", TransitRouterMulticastDomainSourceArgs.builder()        
            .groupIpAddress("239.1.1.1")
            .networkInterfaceId("eni-xxxx")
            .transitRouterMulticastDomainId("tr-mcast-domain-xxxx")
            .vpcId("vpc-xxxx")
            .build());

    }
}
import pulumi
import pulumi_alicloud as alicloud

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

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

Create TransitRouterMulticastDomainSource Resource

new TransitRouterMulticastDomainSource(name: string, args: TransitRouterMulticastDomainSourceArgs, opts?: CustomResourceOptions);
@overload
def TransitRouterMulticastDomainSource(resource_name: str,
                                       opts: Optional[ResourceOptions] = 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 TransitRouterMulticastDomainSource(resource_name: str,
                                       args: TransitRouterMulticastDomainSourceArgs,
                                       opts: Optional[ResourceOptions] = None)
func NewTransitRouterMulticastDomainSource(ctx *Context, name string, args TransitRouterMulticastDomainSourceArgs, opts ...ResourceOption) (*TransitRouterMulticastDomainSource, error)
public TransitRouterMulticastDomainSource(string name, TransitRouterMulticastDomainSourceArgs args, CustomResourceOptions? opts = null)
public TransitRouterMulticastDomainSource(String name, TransitRouterMulticastDomainSourceArgs args)
public TransitRouterMulticastDomainSource(String name, TransitRouterMulticastDomainSourceArgs args, CustomResourceOptions options)
type: alicloud:cen:TransitRouterMulticastDomainSource
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

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

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

GroupIpAddress string

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

NetworkInterfaceId string

ENI ID of the multicast source.

TransitRouterMulticastDomainId string

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

VpcId string

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

GroupIpAddress string

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

NetworkInterfaceId string

ENI ID of the multicast source.

TransitRouterMulticastDomainId string

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

VpcId string

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

groupIpAddress String

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

networkInterfaceId String

ENI ID of the multicast source.

transitRouterMulticastDomainId String

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

vpcId String

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

groupIpAddress string

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

networkInterfaceId string

ENI ID of the multicast source.

transitRouterMulticastDomainId string

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

vpcId string

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

group_ip_address str

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

network_interface_id str

ENI ID of the multicast source.

transit_router_multicast_domain_id str

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

vpc_id str

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

groupIpAddress String

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

networkInterfaceId String

ENI ID of the multicast source.

transitRouterMulticastDomainId String

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

vpcId String

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

Outputs

All input properties are implicitly available as output properties. Additionally, the TransitRouterMulticastDomainSource 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 TransitRouterMulticastDomainSource Resource

Get an existing TransitRouterMulticastDomainSource 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?: TransitRouterMulticastDomainSourceState, opts?: CustomResourceOptions): TransitRouterMulticastDomainSource
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = 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) -> TransitRouterMulticastDomainSource
func GetTransitRouterMulticastDomainSource(ctx *Context, name string, id IDInput, state *TransitRouterMulticastDomainSourceState, opts ...ResourceOption) (*TransitRouterMulticastDomainSource, error)
public static TransitRouterMulticastDomainSource Get(string name, Input<string> id, TransitRouterMulticastDomainSourceState? state, CustomResourceOptions? opts = null)
public static TransitRouterMulticastDomainSource get(String name, Output<String> id, TransitRouterMulticastDomainSourceState 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:
GroupIpAddress string

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

NetworkInterfaceId string

ENI ID of the multicast source.

Status string

The status of the resource

TransitRouterMulticastDomainId string

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

VpcId string

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

GroupIpAddress string

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

NetworkInterfaceId string

ENI ID of the multicast source.

Status string

The status of the resource

TransitRouterMulticastDomainId string

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

VpcId string

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

groupIpAddress String

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

networkInterfaceId String

ENI ID of the multicast source.

status String

The status of the resource

transitRouterMulticastDomainId String

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

vpcId String

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

groupIpAddress string

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

networkInterfaceId string

ENI ID of the multicast source.

status string

The status of the resource

transitRouterMulticastDomainId string

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

vpcId string

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

group_ip_address str

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

network_interface_id str

ENI ID of the multicast source.

status str

The status of the resource

transit_router_multicast_domain_id str

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

vpc_id str

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

groupIpAddress String

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

networkInterfaceId String

ENI ID of the multicast source.

status String

The status of the resource

transitRouterMulticastDomainId String

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

vpcId String

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

Import

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

 $ pulumi import alicloud:cen/transitRouterMulticastDomainSource:TransitRouterMulticastDomainSource 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.