1. Packages
  2. Alibaba Cloud
  3. API Docs
  4. cen
  5. getTransitRouterMulticastDomainMembers
Alibaba Cloud v3.45.1 published on Thursday, Dec 7, 2023 by Pulumi

alicloud.cen.getTransitRouterMulticastDomainMembers

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.45.1 published on Thursday, Dec 7, 2023 by Pulumi

    This data source provides Cen Transit Router Multicast Domain Member available to the user. What is Transit Router Multicast Domain Member

    NOTE: Available since v1.195.0.

    Example Usage

    Basic Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AliCloud = Pulumi.AliCloud;
    
    return await Deployment.RunAsync(() => 
    {
        var @default = AliCloud.Cen.GetTransitRouterMulticastDomainMembers.Invoke(new()
        {
            TransitRouterMulticastDomainId = "tr-mcast-domain-2d9oq455uk533zfr29",
        });
    
        return new Dictionary<string, object?>
        {
            ["alicloudCenTransitRouterMulticastDomainMemberExampleId"] = @default.Apply(@default => @default.Apply(getTransitRouterMulticastDomainMembersResult => getTransitRouterMulticastDomainMembersResult.Members[0]?.Id)),
        };
    });
    
    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 {
    		_default, err := cen.GetTransitRouterMulticastDomainMembers(ctx, &cen.GetTransitRouterMulticastDomainMembersArgs{
    			TransitRouterMulticastDomainId: "tr-mcast-domain-2d9oq455uk533zfr29",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("alicloudCenTransitRouterMulticastDomainMemberExampleId", _default.Members[0].Id)
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.alicloud.cen.CenFunctions;
    import com.pulumi.alicloud.cen.inputs.GetTransitRouterMulticastDomainMembersArgs;
    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) {
            final var default = CenFunctions.getTransitRouterMulticastDomainMembers(GetTransitRouterMulticastDomainMembersArgs.builder()
                .transitRouterMulticastDomainId("tr-mcast-domain-2d9oq455uk533zfr29")
                .build());
    
            ctx.export("alicloudCenTransitRouterMulticastDomainMemberExampleId", default_.members()[0].id());
        }
    }
    
    import pulumi
    import pulumi_alicloud as alicloud
    
    default = alicloud.cen.get_transit_router_multicast_domain_members(transit_router_multicast_domain_id="tr-mcast-domain-2d9oq455uk533zfr29")
    pulumi.export("alicloudCenTransitRouterMulticastDomainMemberExampleId", default.members[0].id)
    
    import * as pulumi from "@pulumi/pulumi";
    import * as alicloud from "@pulumi/alicloud";
    
    const default = alicloud.cen.getTransitRouterMulticastDomainMembers({
        transitRouterMulticastDomainId: "tr-mcast-domain-2d9oq455uk533zfr29",
    });
    export const alicloudCenTransitRouterMulticastDomainMemberExampleId = _default.then(_default => _default.members?.[0]?.id);
    
    variables:
      default:
        fn::invoke:
          Function: alicloud:cen:getTransitRouterMulticastDomainMembers
          Arguments:
            transitRouterMulticastDomainId: tr-mcast-domain-2d9oq455uk533zfr29
    outputs:
      alicloudCenTransitRouterMulticastDomainMemberExampleId: ${default.members[0].id}
    

    Using getTransitRouterMulticastDomainMembers

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getTransitRouterMulticastDomainMembers(args: GetTransitRouterMulticastDomainMembersArgs, opts?: InvokeOptions): Promise<GetTransitRouterMulticastDomainMembersResult>
    function getTransitRouterMulticastDomainMembersOutput(args: GetTransitRouterMulticastDomainMembersOutputArgs, opts?: InvokeOptions): Output<GetTransitRouterMulticastDomainMembersResult>
    def get_transit_router_multicast_domain_members(ids: Optional[Sequence[str]] = None,
                                                    network_interface_id: Optional[str] = None,
                                                    output_file: Optional[str] = None,
                                                    transit_router_multicast_domain_id: Optional[str] = None,
                                                    opts: Optional[InvokeOptions] = None) -> GetTransitRouterMulticastDomainMembersResult
    def get_transit_router_multicast_domain_members_output(ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                                    network_interface_id: Optional[pulumi.Input[str]] = None,
                                                    output_file: Optional[pulumi.Input[str]] = None,
                                                    transit_router_multicast_domain_id: Optional[pulumi.Input[str]] = None,
                                                    opts: Optional[InvokeOptions] = None) -> Output[GetTransitRouterMulticastDomainMembersResult]
    func GetTransitRouterMulticastDomainMembers(ctx *Context, args *GetTransitRouterMulticastDomainMembersArgs, opts ...InvokeOption) (*GetTransitRouterMulticastDomainMembersResult, error)
    func GetTransitRouterMulticastDomainMembersOutput(ctx *Context, args *GetTransitRouterMulticastDomainMembersOutputArgs, opts ...InvokeOption) GetTransitRouterMulticastDomainMembersResultOutput

    > Note: This function is named GetTransitRouterMulticastDomainMembers in the Go SDK.

    public static class GetTransitRouterMulticastDomainMembers 
    {
        public static Task<GetTransitRouterMulticastDomainMembersResult> InvokeAsync(GetTransitRouterMulticastDomainMembersArgs args, InvokeOptions? opts = null)
        public static Output<GetTransitRouterMulticastDomainMembersResult> Invoke(GetTransitRouterMulticastDomainMembersInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetTransitRouterMulticastDomainMembersResult> getTransitRouterMulticastDomainMembers(GetTransitRouterMulticastDomainMembersArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: alicloud:cen/getTransitRouterMulticastDomainMembers:getTransitRouterMulticastDomainMembers
      arguments:
        # arguments dictionary

    The following arguments are supported:

    TransitRouterMulticastDomainId string

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

    Ids List<string>

    A list of Transit Router Multicast Domain Member IDs.

    NetworkInterfaceId string

    The ID of the ENI.

    OutputFile string

    File name where to save data source results (after running pulumi preview).

    TransitRouterMulticastDomainId string

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

    Ids []string

    A list of Transit Router Multicast Domain Member IDs.

    NetworkInterfaceId string

    The ID of the ENI.

    OutputFile string

    File name where to save data source results (after running pulumi preview).

    transitRouterMulticastDomainId String

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

    ids List<String>

    A list of Transit Router Multicast Domain Member IDs.

    networkInterfaceId String

    The ID of the ENI.

    outputFile String

    File name where to save data source results (after running pulumi preview).

    transitRouterMulticastDomainId string

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

    ids string[]

    A list of Transit Router Multicast Domain Member IDs.

    networkInterfaceId string

    The ID of the ENI.

    outputFile string

    File name where to save data source results (after running pulumi preview).

    transit_router_multicast_domain_id str

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

    ids Sequence[str]

    A list of Transit Router Multicast Domain Member IDs.

    network_interface_id str

    The ID of the ENI.

    output_file str

    File name where to save data source results (after running pulumi preview).

    transitRouterMulticastDomainId String

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

    ids List<String>

    A list of Transit Router Multicast Domain Member IDs.

    networkInterfaceId String

    The ID of the ENI.

    outputFile String

    File name where to save data source results (after running pulumi preview).

    getTransitRouterMulticastDomainMembers Result

    The following output properties are available:

    Id string

    The provider-assigned unique ID for this managed resource.

    Ids List<string>
    Members List<Pulumi.AliCloud.Cen.Outputs.GetTransitRouterMulticastDomainMembersMember>

    A list of Transit Router Multicast Domain Member Entries. Each element contains the following attributes:

    TransitRouterMulticastDomainId string

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

    NetworkInterfaceId string

    ENI ID of multicast member.

    OutputFile string
    Id string

    The provider-assigned unique ID for this managed resource.

    Ids []string
    Members []GetTransitRouterMulticastDomainMembersMember

    A list of Transit Router Multicast Domain Member Entries. Each element contains the following attributes:

    TransitRouterMulticastDomainId string

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

    NetworkInterfaceId string

    ENI ID of multicast member.

    OutputFile string
    id String

    The provider-assigned unique ID for this managed resource.

    ids List<String>
    members List<GetTransitRouterMulticastDomainMembersMember>

    A list of Transit Router Multicast Domain Member Entries. Each element contains the following attributes:

    transitRouterMulticastDomainId String

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

    networkInterfaceId String

    ENI ID of multicast member.

    outputFile String
    id string

    The provider-assigned unique ID for this managed resource.

    ids string[]
    members GetTransitRouterMulticastDomainMembersMember[]

    A list of Transit Router Multicast Domain Member Entries. Each element contains the following attributes:

    transitRouterMulticastDomainId string

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

    networkInterfaceId string

    ENI ID of multicast member.

    outputFile string
    id str

    The provider-assigned unique ID for this managed resource.

    ids Sequence[str]
    members Sequence[GetTransitRouterMulticastDomainMembersMember]

    A list of Transit Router Multicast Domain Member Entries. Each element contains the following attributes:

    transit_router_multicast_domain_id str

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

    network_interface_id str

    ENI ID of multicast member.

    output_file str
    id String

    The provider-assigned unique ID for this managed resource.

    ids List<String>
    members List<Property Map>

    A list of Transit Router Multicast Domain Member Entries. Each element contains the following attributes:

    transitRouterMulticastDomainId String

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

    networkInterfaceId String

    ENI ID of multicast member.

    outputFile String

    Supporting Types

    GetTransitRouterMulticastDomainMembersMember

    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.

    Id string

    The key of the resource supplied above.The value is formulated as <transit_router_multicast_domain_id>:<group_ip_address>:<network_interface_id>.

    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.

    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.

    Id string

    The key of the resource supplied above.The value is formulated as <transit_router_multicast_domain_id>:<group_ip_address>:<network_interface_id>.

    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.

    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.

    id String

    The key of the resource supplied above.The value is formulated as <transit_router_multicast_domain_id>:<group_ip_address>:<network_interface_id>.

    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.

    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.

    id string

    The key of the resource supplied above.The value is formulated as <transit_router_multicast_domain_id>:<group_ip_address>:<network_interface_id>.

    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.

    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.

    id str

    The key of the resource supplied above.The value is formulated as <transit_router_multicast_domain_id>:<group_ip_address>:<network_interface_id>.

    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.

    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.

    id String

    The key of the resource supplied above.The value is formulated as <transit_router_multicast_domain_id>:<group_ip_address>:<network_interface_id>.

    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.

    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.45.1 published on Thursday, Dec 7, 2023 by Pulumi