1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. cen
  5. TransitRouterMulticastDomainSource
Alibaba Cloud v3.76.0 published on Tuesday, Apr 8, 2025 by Pulumi

alicloud.cen.TransitRouterMulticastDomainSource

Explore with Pulumi AI

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 since v1.195.0.

Create TransitRouterMulticastDomainSource Resource

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

Constructor syntax

new TransitRouterMulticastDomainSource(name: string, args: TransitRouterMulticastDomainSourceArgs, opts?: CustomResourceOptions);
@overload
def TransitRouterMulticastDomainSource(resource_name: str,
                                       args: TransitRouterMulticastDomainSourceArgs,
                                       opts: Optional[ResourceOptions] = None)

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

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. TransitRouterMulticastDomainSourceArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. TransitRouterMulticastDomainSourceArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. TransitRouterMulticastDomainSourceArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. TransitRouterMulticastDomainSourceArgs
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 transitRouterMulticastDomainSourceResource = new AliCloud.Cen.TransitRouterMulticastDomainSource("transitRouterMulticastDomainSourceResource", new()
{
    GroupIpAddress = "string",
    NetworkInterfaceId = "string",
    TransitRouterMulticastDomainId = "string",
    VpcId = "string",
});
Copy
example, err := cen.NewTransitRouterMulticastDomainSource(ctx, "transitRouterMulticastDomainSourceResource", &cen.TransitRouterMulticastDomainSourceArgs{
	GroupIpAddress:                 pulumi.String("string"),
	NetworkInterfaceId:             pulumi.String("string"),
	TransitRouterMulticastDomainId: pulumi.String("string"),
	VpcId:                          pulumi.String("string"),
})
Copy
var transitRouterMulticastDomainSourceResource = new TransitRouterMulticastDomainSource("transitRouterMulticastDomainSourceResource", TransitRouterMulticastDomainSourceArgs.builder()
    .groupIpAddress("string")
    .networkInterfaceId("string")
    .transitRouterMulticastDomainId("string")
    .vpcId("string")
    .build());
Copy
transit_router_multicast_domain_source_resource = alicloud.cen.TransitRouterMulticastDomainSource("transitRouterMulticastDomainSourceResource",
    group_ip_address="string",
    network_interface_id="string",
    transit_router_multicast_domain_id="string",
    vpc_id="string")
Copy
const transitRouterMulticastDomainSourceResource = new alicloud.cen.TransitRouterMulticastDomainSource("transitRouterMulticastDomainSourceResource", {
    groupIpAddress: "string",
    networkInterfaceId: "string",
    transitRouterMulticastDomainId: "string",
    vpcId: "string",
});
Copy
type: alicloud:cen:TransitRouterMulticastDomainSource
properties:
    groupIpAddress: string
    networkInterfaceId: string
    transitRouterMulticastDomainId: string
    vpcId: string
Copy

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

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

The TransitRouterMulticastDomainSource resource accepts the following input properties:

GroupIpAddress
This property is required.
Changes to this property will trigger replacement.
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
This property is required.
Changes to this property will trigger replacement.
string
ENI ID of the multicast source.
TransitRouterMulticastDomainId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the multicast domain to which the multicast source belongs.
VpcId Changes to this property will trigger replacement. 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
This property is required.
Changes to this property will trigger replacement.
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
This property is required.
Changes to this property will trigger replacement.
string
ENI ID of the multicast source.
TransitRouterMulticastDomainId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the multicast domain to which the multicast source belongs.
VpcId Changes to this property will trigger replacement. 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
This property is required.
Changes to this property will trigger replacement.
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
This property is required.
Changes to this property will trigger replacement.
String
ENI ID of the multicast source.
transitRouterMulticastDomainId
This property is required.
Changes to this property will trigger replacement.
String
The ID of the multicast domain to which the multicast source belongs.
vpcId Changes to this property will trigger replacement. 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
This property is required.
Changes to this property will trigger replacement.
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
This property is required.
Changes to this property will trigger replacement.
string
ENI ID of the multicast source.
transitRouterMulticastDomainId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the multicast domain to which the multicast source belongs.
vpcId Changes to this property will trigger replacement. 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
This property is required.
Changes to this property will trigger replacement.
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
This property is required.
Changes to this property will trigger replacement.
str
ENI ID of the multicast source.
transit_router_multicast_domain_id
This property is required.
Changes to this property will trigger replacement.
str
The ID of the multicast domain to which the multicast source belongs.
vpc_id Changes to this property will trigger replacement. 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
This property is required.
Changes to this property will trigger replacement.
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
This property is required.
Changes to this property will trigger replacement.
String
ENI ID of the multicast source.
transitRouterMulticastDomainId
This property is required.
Changes to this property will trigger replacement.
String
The ID of the multicast domain to which the multicast source belongs.
vpcId Changes to this property will trigger replacement. 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)
resources:  _:    type: alicloud:cen:TransitRouterMulticastDomainSource    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. string
ENI ID of the multicast source.
Status string
The status of the resource
TransitRouterMulticastDomainId Changes to this property will trigger replacement. string
The ID of the multicast domain to which the multicast source belongs.
VpcId Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. string
ENI ID of the multicast source.
Status string
The status of the resource
TransitRouterMulticastDomainId Changes to this property will trigger replacement. string
The ID of the multicast domain to which the multicast source belongs.
VpcId Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. String
ENI ID of the multicast source.
status String
The status of the resource
transitRouterMulticastDomainId Changes to this property will trigger replacement. String
The ID of the multicast domain to which the multicast source belongs.
vpcId Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. string
ENI ID of the multicast source.
status string
The status of the resource
transitRouterMulticastDomainId Changes to this property will trigger replacement. string
The ID of the multicast domain to which the multicast source belongs.
vpcId Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. str
ENI ID of the multicast source.
status str
The status of the resource
transit_router_multicast_domain_id Changes to this property will trigger replacement. str
The ID of the multicast domain to which the multicast source belongs.
vpc_id Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. String
ENI ID of the multicast source.
status String
The status of the resource
transitRouterMulticastDomainId Changes to this property will trigger replacement. String
The ID of the multicast domain to which the multicast source belongs.
vpcId Changes to this property will trigger replacement. 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>
Copy

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.