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 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.
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",
});
example, err := cen.NewTransitRouterMulticastDomainSource(ctx, "transitRouterMulticastDomainSourceResource", &cen.TransitRouterMulticastDomainSourceArgs{
GroupIpAddress: pulumi.String("string"),
NetworkInterfaceId: pulumi.String("string"),
TransitRouterMulticastDomainId: pulumi.String("string"),
VpcId: pulumi.String("string"),
})
var transitRouterMulticastDomainSourceResource = new TransitRouterMulticastDomainSource("transitRouterMulticastDomainSourceResource", TransitRouterMulticastDomainSourceArgs.builder()
.groupIpAddress("string")
.networkInterfaceId("string")
.transitRouterMulticastDomainId("string")
.vpcId("string")
.build());
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")
const transitRouterMulticastDomainSourceResource = new alicloud.cen.TransitRouterMulticastDomainSource("transitRouterMulticastDomainSourceResource", {
groupIpAddress: "string",
networkInterfaceId: "string",
transitRouterMulticastDomainId: "string",
vpcId: "string",
});
type: alicloud:cen:TransitRouterMulticastDomainSource
properties:
groupIpAddress: string
networkInterfaceId: string
transitRouterMulticastDomainId: string
vpcId: string
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:
- Group
Ip stringAddress - 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 stringId - ENI ID of the multicast source.
- Transit
Router stringMulticast Domain Id - The ID of the multicast domain to which the multicast source belongs.
- Vpc
Id 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 stringAddress - 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 stringId - ENI ID of the multicast source.
- Transit
Router stringMulticast Domain Id - The ID of the multicast domain to which the multicast source belongs.
- Vpc
Id 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 StringAddress - 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 StringId - ENI ID of the multicast source.
- transit
Router StringMulticast Domain Id - The ID of the multicast domain to which the multicast source belongs.
- vpc
Id 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 stringAddress - 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 stringId - ENI ID of the multicast source.
- transit
Router stringMulticast Domain Id - The ID of the multicast domain to which the multicast source belongs.
- vpc
Id 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_ straddress - 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_ strid - ENI ID of the multicast source.
- transit_
router_ strmulticast_ domain_ id - 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.
- group
Ip StringAddress - 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 StringId - ENI ID of the multicast source.
- transit
Router StringMulticast Domain Id - The ID of the multicast domain to which the multicast source belongs.
- vpc
Id 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:
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.
- Group
Ip stringAddress - 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 stringId - ENI ID of the multicast source.
- Status string
- The status of the resource
- Transit
Router stringMulticast Domain Id - The ID of the multicast domain to which the multicast source belongs.
- Vpc
Id 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 stringAddress - 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 stringId - ENI ID of the multicast source.
- Status string
- The status of the resource
- Transit
Router stringMulticast Domain Id - The ID of the multicast domain to which the multicast source belongs.
- Vpc
Id 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 StringAddress - 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 StringId - ENI ID of the multicast source.
- status String
- The status of the resource
- transit
Router StringMulticast Domain Id - The ID of the multicast domain to which the multicast source belongs.
- vpc
Id 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 stringAddress - 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 stringId - ENI ID of the multicast source.
- status string
- The status of the resource
- transit
Router stringMulticast Domain Id - The ID of the multicast domain to which the multicast source belongs.
- vpc
Id 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_ straddress - 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_ strid - ENI ID of the multicast source.
- status str
- The status of the resource
- transit_
router_ strmulticast_ domain_ id - 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.
- group
Ip StringAddress - 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 StringId - ENI ID of the multicast source.
- status String
- The status of the resource
- transit
Router StringMulticast Domain Id - The ID of the multicast domain to which the multicast source belongs.
- vpc
Id 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>
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.