Alibaba Cloud v3.62.1 published on Monday, Sep 16, 2024 by Pulumi
alicloud.cen.getTransitRouterMulticastDomainPeerMembers
Explore with Pulumi AI
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:
- Transit
Router stringMulticast Domain Id - 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.
- Output
File string - File name where to save data source results (after running
pulumi preview
). - Peer
Transit List<string>Router Multicast Domains - The IDs of the inter-region multicast domains.
- Resource
Id string - The ID of the resource associated with the multicast resource.
- Resource
Type 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.
- Transit
Router stringAttachment Id - The ID of the network instance connection.
- Transit
Router stringMulticast Domain Id - 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.
- Output
File string - File name where to save data source results (after running
pulumi preview
). - Peer
Transit []stringRouter Multicast Domains - The IDs of the inter-region multicast domains.
- Resource
Id string - The ID of the resource associated with the multicast resource.
- Resource
Type 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.
- Transit
Router stringAttachment Id - The ID of the network instance connection.
- transit
Router StringMulticast Domain Id - 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.
- output
File String - File name where to save data source results (after running
pulumi preview
). - peer
Transit List<String>Router Multicast Domains - The IDs of the inter-region multicast domains.
- resource
Id String - The ID of the resource associated with the multicast resource.
- resource
Type 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.
- transit
Router StringAttachment Id - The ID of the network instance connection.
- transit
Router stringMulticast Domain Id - 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.
- output
File string - File name where to save data source results (after running
pulumi preview
). - peer
Transit string[]Router Multicast Domains - The IDs of the inter-region multicast domains.
- resource
Id string - The ID of the resource associated with the multicast resource.
- resource
Type 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.
- transit
Router stringAttachment Id - The ID of the network instance connection.
- transit_
router_ strmulticast_ domain_ id - 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_ Sequence[str]router_ multicast_ domains - 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_ strattachment_ id - The ID of the network instance connection.
- transit
Router StringMulticast Domain Id - 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.
- output
File String - File name where to save data source results (after running
pulumi preview
). - peer
Transit List<String>Router Multicast Domains - The IDs of the inter-region multicast domains.
- resource
Id String - The ID of the resource associated with the multicast resource.
- resource
Type 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.
- transit
Router StringAttachment Id - 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.
Ali Cloud. Cen. Outputs. Get Transit Router Multicast Domain Peer Members Member> - A list of Transit Router Multicast Domain Peer Member Entries. Each element contains the following attributes:
- Transit
Router stringMulticast Domain Id - The ID of the multicast domain to which the multicast member belongs.
- Output
File string - Peer
Transit List<string>Router Multicast Domains - Resource
Id string - Resource
Type string - Transit
Router stringAttachment Id
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids []string
- Members
[]Get
Transit Router Multicast Domain Peer Members Member - A list of Transit Router Multicast Domain Peer Member Entries. Each element contains the following attributes:
- Transit
Router stringMulticast Domain Id - The ID of the multicast domain to which the multicast member belongs.
- Output
File string - Peer
Transit []stringRouter Multicast Domains - Resource
Id string - Resource
Type string - Transit
Router stringAttachment Id
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- members
List<Get
Transit Router Multicast Domain Peer Members Member> - A list of Transit Router Multicast Domain Peer Member Entries. Each element contains the following attributes:
- transit
Router StringMulticast Domain Id - The ID of the multicast domain to which the multicast member belongs.
- output
File String - peer
Transit List<String>Router Multicast Domains - resource
Id String - resource
Type String - transit
Router StringAttachment Id
- id string
- The provider-assigned unique ID for this managed resource.
- ids string[]
- members
Get
Transit Router Multicast Domain Peer Members Member[] - A list of Transit Router Multicast Domain Peer Member Entries. Each element contains the following attributes:
- transit
Router stringMulticast Domain Id - The ID of the multicast domain to which the multicast member belongs.
- output
File string - peer
Transit string[]Router Multicast Domains - resource
Id string - resource
Type string - transit
Router stringAttachment Id
- id str
- The provider-assigned unique ID for this managed resource.
- ids Sequence[str]
- members
Sequence[Get
Transit Router Multicast Domain Peer Members Member] - A list of Transit Router Multicast Domain Peer Member Entries. Each element contains the following attributes:
- transit_
router_ strmulticast_ domain_ id - The ID of the multicast domain to which the multicast member belongs.
- output_
file str - peer_
transit_ Sequence[str]router_ multicast_ domains - resource_
id str - resource_
type str - transit_
router_ strattachment_ id
- 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:
- transit
Router StringMulticast Domain Id - The ID of the multicast domain to which the multicast member belongs.
- output
File String - peer
Transit List<String>Router Multicast Domains - resource
Id String - resource
Type String - transit
Router StringAttachment Id
Supporting Types
GetTransitRouterMulticastDomainPeerMembersMember
- Group
Ip stringAddress - 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>
. - Peer
Transit stringRouter Multicast Domain Id - The multicast domain ID of the peer transit router.
- Status string
- The status of the resource
- Transit
Router stringMulticast Domain Id - The ID of the multicast domain to which the multicast member belongs.
- Group
Ip stringAddress - 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>
. - Peer
Transit stringRouter Multicast Domain Id - The multicast domain ID of the peer transit router.
- Status string
- The status of the resource
- Transit
Router stringMulticast Domain Id - The ID of the multicast domain to which the multicast member belongs.
- group
Ip StringAddress - 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>
. - peer
Transit StringRouter Multicast Domain Id - The multicast domain ID of the peer transit router.
- status String
- The status of the resource
- transit
Router StringMulticast Domain Id - The ID of the multicast domain to which the multicast member belongs.
- group
Ip stringAddress - 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>
. - peer
Transit stringRouter Multicast Domain Id - The multicast domain ID of the peer transit router.
- status string
- The status of the resource
- transit
Router stringMulticast Domain Id - The ID of the multicast domain to which the multicast member belongs.
- group_
ip_ straddress - 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_ strrouter_ multicast_ domain_ id - The multicast domain ID of the peer transit router.
- status str
- The status of the resource
- transit_
router_ strmulticast_ domain_ id - The ID of the multicast domain to which the multicast member belongs.
- group
Ip StringAddress - 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>
. - peer
Transit StringRouter Multicast Domain Id - The multicast domain ID of the peer transit router.
- status String
- The status of the resource
- transit
Router StringMulticast Domain Id - 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.