Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 by Pulumi
alicloud.cen.getTransitRouterMulticastDomainMembers
Explore with Pulumi AI
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
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);
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)
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
})
}
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 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());
}
}
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:
- Transit
Router stringMulticast Domain Id - The ID of the multicast domain to which the multicast member belongs.
- Ids List<string>
- A list of Transit Router Multicast Domain Member IDs.
- Network
Interface stringId - The ID of the ENI.
- Output
File string - File name where to save data source results (after running
pulumi preview
).
- Transit
Router stringMulticast Domain Id - The ID of the multicast domain to which the multicast member belongs.
- Ids []string
- A list of Transit Router Multicast Domain Member IDs.
- Network
Interface stringId - The ID of the ENI.
- Output
File string - File name where to save data source results (after running
pulumi preview
).
- transit
Router StringMulticast Domain Id - The ID of the multicast domain to which the multicast member belongs.
- ids List<String>
- A list of Transit Router Multicast Domain Member IDs.
- network
Interface StringId - The ID of the ENI.
- output
File String - File name where to save data source results (after running
pulumi preview
).
- transit
Router stringMulticast Domain Id - The ID of the multicast domain to which the multicast member belongs.
- ids string[]
- A list of Transit Router Multicast Domain Member IDs.
- network
Interface stringId - The ID of the ENI.
- output
File string - File name where to save data source results (after running
pulumi preview
).
- transit_
router_ strmulticast_ domain_ id - 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_ strid - The ID of the ENI.
- output_
file str - File name where to save data source results (after running
pulumi preview
).
- transit
Router StringMulticast Domain Id - The ID of the multicast domain to which the multicast member belongs.
- ids List<String>
- A list of Transit Router Multicast Domain Member IDs.
- network
Interface StringId - The ID of the ENI.
- output
File 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.
Ali Cloud. Cen. Outputs. Get Transit Router Multicast Domain Members Member> - A list of Transit Router Multicast Domain 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.
- Network
Interface stringId - ENI ID of multicast member.
- Output
File string
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids []string
- Members
[]Get
Transit Router Multicast Domain Members Member - A list of Transit Router Multicast Domain 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.
- Network
Interface stringId - ENI ID of multicast member.
- Output
File string
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- members
List<Get
Transit Router Multicast Domain Members Member> - A list of Transit Router Multicast Domain 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.
- network
Interface StringId - ENI ID of multicast member.
- output
File String
- id string
- The provider-assigned unique ID for this managed resource.
- ids string[]
- members
Get
Transit Router Multicast Domain Members Member[] - A list of Transit Router Multicast Domain 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.
- network
Interface stringId - ENI ID of multicast member.
- output
File string
- id str
- The provider-assigned unique ID for this managed resource.
- ids Sequence[str]
- members
Sequence[Get
Transit Router Multicast Domain Members Member] - A list of Transit Router Multicast Domain 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.
- network_
interface_ strid - 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:
- transit
Router StringMulticast Domain Id - The ID of the multicast domain to which the multicast member belongs.
- network
Interface StringId - ENI ID of multicast member.
- output
File String
Supporting Types
GetTransitRouterMulticastDomainMembersMember
- Group
Ip stringAddress - 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>
. - Network
Interface stringId - The ID of the ENI.
- Status string
- The status of the resource
- Transit
Router stringMulticast Domain Id - The ID of the multicast domain to which the multicast member belongs.
- Vpc
Id string - The VPC to which the ENI of the multicast member belongs. This field is mandatory for VPCs owned by another accounts.
- Group
Ip stringAddress - 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>
. - Network
Interface stringId - The ID of the ENI.
- Status string
- The status of the resource
- Transit
Router stringMulticast Domain Id - The ID of the multicast domain to which the multicast member belongs.
- Vpc
Id string - The VPC to which the ENI of the multicast member belongs. This field is mandatory for VPCs owned by another accounts.
- group
Ip StringAddress - 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>
. - network
Interface StringId - The ID of the ENI.
- status String
- The status of the resource
- transit
Router StringMulticast Domain Id - The ID of the multicast domain to which the multicast member belongs.
- vpc
Id String - The VPC to which the ENI of the multicast member belongs. This field is mandatory for VPCs owned by another accounts.
- group
Ip stringAddress - 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>
. - network
Interface stringId - The ID of the ENI.
- status string
- The status of the resource
- transit
Router stringMulticast Domain Id - The ID of the multicast domain to which the multicast member belongs.
- vpc
Id string - The VPC to which the ENI of the multicast member belongs. This field is mandatory for VPCs owned by another accounts.
- group_
ip_ straddress - 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_ strid - The ID of the ENI.
- status str
- The status of the resource
- transit_
router_ strmulticast_ domain_ id - 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.
- group
Ip StringAddress - 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>
. - network
Interface StringId - The ID of the ENI.
- status String
- The status of the resource
- transit
Router StringMulticast Domain Id - The ID of the multicast domain to which the multicast member belongs.
- vpc
Id 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.