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

alicloud.cen.TransitRouterMulticastDomainSource

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

    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>
    

    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