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

alicloud.cen.getTransitRouterMulticastDomainPeerMembers

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 by Pulumi

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

    NOTE: Available since v1.195.0.

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as alicloud from "@pulumi/alicloud";
    
    const default = alicloud.cen.getTransitRouterMulticastDomainPeerMembers({
        transitRouterMulticastDomainId: "tr-mcast-domain-2d9oq455uk533zfrxx",
    });
    export const alicloudCenTransitRouterMulticastDomainPeerMemberExampleId = _default.then(_default => _default.members?.[0]?.id);
    
    import pulumi
    import pulumi_alicloud as alicloud
    
    default = alicloud.cen.get_transit_router_multicast_domain_peer_members(transit_router_multicast_domain_id="tr-mcast-domain-2d9oq455uk533zfrxx")
    pulumi.export("alicloudCenTransitRouterMulticastDomainPeerMemberExampleId", default.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.GetTransitRouterMulticastDomainPeerMembers(ctx, &cen.GetTransitRouterMulticastDomainPeerMembersArgs{
    			TransitRouterMulticastDomainId: "tr-mcast-domain-2d9oq455uk533zfrxx",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("alicloudCenTransitRouterMulticastDomainPeerMemberExampleId", _default.Members[0].Id)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AliCloud = Pulumi.AliCloud;
    
    return await Deployment.RunAsync(() => 
    {
        var @default = AliCloud.Cen.GetTransitRouterMulticastDomainPeerMembers.Invoke(new()
        {
            TransitRouterMulticastDomainId = "tr-mcast-domain-2d9oq455uk533zfrxx",
        });
    
        return new Dictionary<string, object?>
        {
            ["alicloudCenTransitRouterMulticastDomainPeerMemberExampleId"] = @default.Apply(@default => @default.Apply(getTransitRouterMulticastDomainPeerMembersResult => getTransitRouterMulticastDomainPeerMembersResult.Members[0]?.Id)),
        };
    });
    
    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.GetTransitRouterMulticastDomainPeerMembersArgs;
    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.getTransitRouterMulticastDomainPeerMembers(GetTransitRouterMulticastDomainPeerMembersArgs.builder()
                .transitRouterMulticastDomainId("tr-mcast-domain-2d9oq455uk533zfrxx")
                .build());
    
            ctx.export("alicloudCenTransitRouterMulticastDomainPeerMemberExampleId", default_.members()[0].id());
        }
    }
    
    variables:
      default:
        fn::invoke:
          Function: alicloud:cen:getTransitRouterMulticastDomainPeerMembers
          Arguments:
            transitRouterMulticastDomainId: tr-mcast-domain-2d9oq455uk533zfrxx
    outputs:
      alicloudCenTransitRouterMulticastDomainPeerMemberExampleId: ${default.members[0].id}
    

    Using getTransitRouterMulticastDomainPeerMembers

    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 getTransitRouterMulticastDomainPeerMembers(args: GetTransitRouterMulticastDomainPeerMembersArgs, opts?: InvokeOptions): Promise<GetTransitRouterMulticastDomainPeerMembersResult>
    function getTransitRouterMulticastDomainPeerMembersOutput(args: GetTransitRouterMulticastDomainPeerMembersOutputArgs, opts?: InvokeOptions): Output<GetTransitRouterMulticastDomainPeerMembersResult>
    def get_transit_router_multicast_domain_peer_members(ids: Optional[Sequence[str]] = None,
                                                         output_file: Optional[str] = None,
                                                         peer_transit_router_multicast_domains: Optional[Sequence[str]] = None,
                                                         resource_id: Optional[str] = None,
                                                         resource_type: Optional[str] = None,
                                                         transit_router_attachment_id: Optional[str] = None,
                                                         transit_router_multicast_domain_id: Optional[str] = None,
                                                         opts: Optional[InvokeOptions] = None) -> GetTransitRouterMulticastDomainPeerMembersResult
    def get_transit_router_multicast_domain_peer_members_output(ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                                         output_file: Optional[pulumi.Input[str]] = None,
                                                         peer_transit_router_multicast_domains: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                                         resource_id: Optional[pulumi.Input[str]] = None,
                                                         resource_type: Optional[pulumi.Input[str]] = None,
                                                         transit_router_attachment_id: Optional[pulumi.Input[str]] = None,
                                                         transit_router_multicast_domain_id: Optional[pulumi.Input[str]] = None,
                                                         opts: Optional[InvokeOptions] = None) -> Output[GetTransitRouterMulticastDomainPeerMembersResult]
    func GetTransitRouterMulticastDomainPeerMembers(ctx *Context, args *GetTransitRouterMulticastDomainPeerMembersArgs, opts ...InvokeOption) (*GetTransitRouterMulticastDomainPeerMembersResult, error)
    func GetTransitRouterMulticastDomainPeerMembersOutput(ctx *Context, args *GetTransitRouterMulticastDomainPeerMembersOutputArgs, opts ...InvokeOption) GetTransitRouterMulticastDomainPeerMembersResultOutput

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

    public static class GetTransitRouterMulticastDomainPeerMembers 
    {
        public static Task<GetTransitRouterMulticastDomainPeerMembersResult> InvokeAsync(GetTransitRouterMulticastDomainPeerMembersArgs args, InvokeOptions? opts = null)
        public static Output<GetTransitRouterMulticastDomainPeerMembersResult> Invoke(GetTransitRouterMulticastDomainPeerMembersInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetTransitRouterMulticastDomainPeerMembersResult> getTransitRouterMulticastDomainPeerMembers(GetTransitRouterMulticastDomainPeerMembersArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: alicloud:cen/getTransitRouterMulticastDomainPeerMembers:getTransitRouterMulticastDomainPeerMembers
      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 Cen Transit Router Multicast Domain Peer Member IDs.
    OutputFile string
    File name where to save data source results (after running pulumi preview).
    PeerTransitRouterMulticastDomains List<string>
    The IDs of the inter-region multicast domains.
    ResourceId string
    The ID of the resource associated with the multicast resource.
    ResourceType string
    The type of the multicast resource. Valid values:

    • VPC: queries multicast resources by VPC.
    • TR: queries multicast resources that are also deployed in a different region.
    TransitRouterAttachmentId string
    The ID of the network instance connection.
    TransitRouterMulticastDomainId string
    The ID of the multicast domain to which the multicast member belongs.
    Ids []string
    A list of Cen Transit Router Multicast Domain Peer Member IDs.
    OutputFile string
    File name where to save data source results (after running pulumi preview).
    PeerTransitRouterMulticastDomains []string
    The IDs of the inter-region multicast domains.
    ResourceId string
    The ID of the resource associated with the multicast resource.
    ResourceType string
    The type of the multicast resource. Valid values:

    • VPC: queries multicast resources by VPC.
    • TR: queries multicast resources that are also deployed in a different region.
    TransitRouterAttachmentId string
    The ID of the network instance connection.
    transitRouterMulticastDomainId String
    The ID of the multicast domain to which the multicast member belongs.
    ids List<String>
    A list of Cen Transit Router Multicast Domain Peer Member IDs.
    outputFile String
    File name where to save data source results (after running pulumi preview).
    peerTransitRouterMulticastDomains List<String>
    The IDs of the inter-region multicast domains.
    resourceId String
    The ID of the resource associated with the multicast resource.
    resourceType String
    The type of the multicast resource. Valid values:

    • VPC: queries multicast resources by VPC.
    • TR: queries multicast resources that are also deployed in a different region.
    transitRouterAttachmentId String
    The ID of the network instance connection.
    transitRouterMulticastDomainId string
    The ID of the multicast domain to which the multicast member belongs.
    ids string[]
    A list of Cen Transit Router Multicast Domain Peer Member IDs.
    outputFile string
    File name where to save data source results (after running pulumi preview).
    peerTransitRouterMulticastDomains string[]
    The IDs of the inter-region multicast domains.
    resourceId string
    The ID of the resource associated with the multicast resource.
    resourceType string
    The type of the multicast resource. Valid values:

    • VPC: queries multicast resources by VPC.
    • TR: queries multicast resources that are also deployed in a different region.
    transitRouterAttachmentId string
    The ID of the network instance connection.
    transit_router_multicast_domain_id str
    The ID of the multicast domain to which the multicast member belongs.
    ids Sequence[str]
    A list of Cen Transit Router Multicast Domain Peer Member IDs.
    output_file str
    File name where to save data source results (after running pulumi preview).
    peer_transit_router_multicast_domains Sequence[str]
    The IDs of the inter-region multicast domains.
    resource_id str
    The ID of the resource associated with the multicast resource.
    resource_type str
    The type of the multicast resource. Valid values:

    • VPC: queries multicast resources by VPC.
    • TR: queries multicast resources that are also deployed in a different region.
    transit_router_attachment_id str
    The ID of the network instance connection.
    transitRouterMulticastDomainId String
    The ID of the multicast domain to which the multicast member belongs.
    ids List<String>
    A list of Cen Transit Router Multicast Domain Peer Member IDs.
    outputFile String
    File name where to save data source results (after running pulumi preview).
    peerTransitRouterMulticastDomains List<String>
    The IDs of the inter-region multicast domains.
    resourceId String
    The ID of the resource associated with the multicast resource.
    resourceType String
    The type of the multicast resource. Valid values:

    • VPC: queries multicast resources by VPC.
    • TR: queries multicast resources that are also deployed in a different region.
    transitRouterAttachmentId String
    The ID of the network instance connection.

    getTransitRouterMulticastDomainPeerMembers 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.GetTransitRouterMulticastDomainPeerMembersMember>
    A list of Transit Router Multicast Domain Peer Member Entries. Each element contains the following attributes:
    TransitRouterMulticastDomainId string
    The ID of the multicast domain to which the multicast member belongs.
    OutputFile string
    PeerTransitRouterMulticastDomains List<string>
    ResourceId string
    ResourceType string
    TransitRouterAttachmentId string
    Id string
    The provider-assigned unique ID for this managed resource.
    Ids []string
    Members []GetTransitRouterMulticastDomainPeerMembersMember
    A list of Transit Router Multicast Domain Peer Member Entries. Each element contains the following attributes:
    TransitRouterMulticastDomainId string
    The ID of the multicast domain to which the multicast member belongs.
    OutputFile string
    PeerTransitRouterMulticastDomains []string
    ResourceId string
    ResourceType string
    TransitRouterAttachmentId string
    id String
    The provider-assigned unique ID for this managed resource.
    ids List<String>
    members List<GetTransitRouterMulticastDomainPeerMembersMember>
    A list of Transit Router Multicast Domain Peer Member Entries. Each element contains the following attributes:
    transitRouterMulticastDomainId String
    The ID of the multicast domain to which the multicast member belongs.
    outputFile String
    peerTransitRouterMulticastDomains List<String>
    resourceId String
    resourceType String
    transitRouterAttachmentId String
    id string
    The provider-assigned unique ID for this managed resource.
    ids string[]
    members GetTransitRouterMulticastDomainPeerMembersMember[]
    A list of Transit Router Multicast Domain Peer Member Entries. Each element contains the following attributes:
    transitRouterMulticastDomainId string
    The ID of the multicast domain to which the multicast member belongs.
    outputFile string
    peerTransitRouterMulticastDomains string[]
    resourceId string
    resourceType string
    transitRouterAttachmentId string
    id str
    The provider-assigned unique ID for this managed resource.
    ids Sequence[str]
    members Sequence[GetTransitRouterMulticastDomainPeerMembersMember]
    A list of Transit Router Multicast Domain Peer 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.
    output_file str
    peer_transit_router_multicast_domains Sequence[str]
    resource_id str
    resource_type str
    transit_router_attachment_id 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 Peer Member Entries. Each element contains the following attributes:
    transitRouterMulticastDomainId String
    The ID of the multicast domain to which the multicast member belongs.
    outputFile String
    peerTransitRouterMulticastDomains List<String>
    resourceId String
    resourceType String
    transitRouterAttachmentId String

    Supporting Types

    GetTransitRouterMulticastDomainPeerMembersMember

    GroupIpAddress string
    The IP address of the multicast group to which the multicast member 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 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>:<peer_transit_router_multicast_domain_id>.
    PeerTransitRouterMulticastDomainId string
    The multicast domain ID of the peer transit router.
    Status string
    The status of the resource
    TransitRouterMulticastDomainId string
    The ID of the multicast domain to which the multicast member belongs.
    GroupIpAddress string
    The IP address of the multicast group to which the multicast member 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 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>:<peer_transit_router_multicast_domain_id>.
    PeerTransitRouterMulticastDomainId string
    The multicast domain ID of the peer transit router.
    Status string
    The status of the resource
    TransitRouterMulticastDomainId string
    The ID of the multicast domain to which the multicast member belongs.
    groupIpAddress String
    The IP address of the multicast group to which the multicast member 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 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>:<peer_transit_router_multicast_domain_id>.
    peerTransitRouterMulticastDomainId String
    The multicast domain ID of the peer transit router.
    status String
    The status of the resource
    transitRouterMulticastDomainId String
    The ID of the multicast domain to which the multicast member belongs.
    groupIpAddress string
    The IP address of the multicast group to which the multicast member 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 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>:<peer_transit_router_multicast_domain_id>.
    peerTransitRouterMulticastDomainId string
    The multicast domain ID of the peer transit router.
    status string
    The status of the resource
    transitRouterMulticastDomainId string
    The ID of the multicast domain to which the multicast member belongs.
    group_ip_address str
    The IP address of the multicast group to which the multicast member 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 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>:<peer_transit_router_multicast_domain_id>.
    peer_transit_router_multicast_domain_id str
    The multicast domain ID of the peer transit router.
    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.
    groupIpAddress String
    The IP address of the multicast group to which the multicast member 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 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>:<peer_transit_router_multicast_domain_id>.
    peerTransitRouterMulticastDomainId String
    The multicast domain ID of the peer transit router.
    status String
    The status of the resource
    transitRouterMulticastDomainId String
    The ID of the multicast domain to which the multicast member belongs.

    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