alicloud.cen.TransitRouterMulticastDomainPeerMember
Provides a Cen Transit Router Multicast Domain Peer Member resource.
For information about Cen Transit Router Multicast Domain Peer Member and how to use it, see What is Transit Router Multicast Domain Peer Member.
NOTE: Available in v1.195.0+.
Example Usage
Basic Usage
using System.Collections.Generic;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var @default = new AliCloud.Cen.TransitRouterMulticastDomainPeerMember("default", new()
{
GroupIpAddress = "239.1.1.1",
PeerTransitRouterMulticastDomainId = "tr-mcast-domain-itc67v79yk4xrkr9f3",
TransitRouterMulticastDomainId = "tr-mcast-domain-2d9oq455uk533zfr29",
});
});
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 {
_, err := cen.NewTransitRouterMulticastDomainPeerMember(ctx, "default", &cen.TransitRouterMulticastDomainPeerMemberArgs{
GroupIpAddress: pulumi.String("239.1.1.1"),
PeerTransitRouterMulticastDomainId: pulumi.String("tr-mcast-domain-itc67v79yk4xrkr9f3"),
TransitRouterMulticastDomainId: pulumi.String("tr-mcast-domain-2d9oq455uk533zfr29"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.cen.TransitRouterMulticastDomainPeerMember;
import com.pulumi.alicloud.cen.TransitRouterMulticastDomainPeerMemberArgs;
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) {
var default_ = new TransitRouterMulticastDomainPeerMember("default", TransitRouterMulticastDomainPeerMemberArgs.builder()
.groupIpAddress("239.1.1.1")
.peerTransitRouterMulticastDomainId("tr-mcast-domain-itc67v79yk4xrkr9f3")
.transitRouterMulticastDomainId("tr-mcast-domain-2d9oq455uk533zfr29")
.build());
}
}
import pulumi
import pulumi_alicloud as alicloud
default = alicloud.cen.TransitRouterMulticastDomainPeerMember("default",
group_ip_address="239.1.1.1",
peer_transit_router_multicast_domain_id="tr-mcast-domain-itc67v79yk4xrkr9f3",
transit_router_multicast_domain_id="tr-mcast-domain-2d9oq455uk533zfr29")
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const _default = new alicloud.cen.TransitRouterMulticastDomainPeerMember("default", {
groupIpAddress: "239.1.1.1",
peerTransitRouterMulticastDomainId: "tr-mcast-domain-itc67v79yk4xrkr9f3",
transitRouterMulticastDomainId: "tr-mcast-domain-2d9oq455uk533zfr29",
});
resources:
default:
type: alicloud:cen:TransitRouterMulticastDomainPeerMember
properties:
groupIpAddress: 239.1.1.1
peerTransitRouterMulticastDomainId: tr-mcast-domain-itc67v79yk4xrkr9f3
transitRouterMulticastDomainId: tr-mcast-domain-2d9oq455uk533zfr29
Create TransitRouterMulticastDomainPeerMember Resource
new TransitRouterMulticastDomainPeerMember(name: string, args: TransitRouterMulticastDomainPeerMemberArgs, opts?: CustomResourceOptions);
@overload
def TransitRouterMulticastDomainPeerMember(resource_name: str,
opts: Optional[ResourceOptions] = None,
dry_run: Optional[bool] = None,
group_ip_address: Optional[str] = None,
peer_transit_router_multicast_domain_id: Optional[str] = None,
transit_router_multicast_domain_id: Optional[str] = None)
@overload
def TransitRouterMulticastDomainPeerMember(resource_name: str,
args: TransitRouterMulticastDomainPeerMemberArgs,
opts: Optional[ResourceOptions] = None)
func NewTransitRouterMulticastDomainPeerMember(ctx *Context, name string, args TransitRouterMulticastDomainPeerMemberArgs, opts ...ResourceOption) (*TransitRouterMulticastDomainPeerMember, error)
public TransitRouterMulticastDomainPeerMember(string name, TransitRouterMulticastDomainPeerMemberArgs args, CustomResourceOptions? opts = null)
public TransitRouterMulticastDomainPeerMember(String name, TransitRouterMulticastDomainPeerMemberArgs args)
public TransitRouterMulticastDomainPeerMember(String name, TransitRouterMulticastDomainPeerMemberArgs args, CustomResourceOptions options)
type: alicloud:cen:TransitRouterMulticastDomainPeerMember
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TransitRouterMulticastDomainPeerMemberArgs
- 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 TransitRouterMulticastDomainPeerMemberArgs
- 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 TransitRouterMulticastDomainPeerMemberArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TransitRouterMulticastDomainPeerMemberArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TransitRouterMulticastDomainPeerMemberArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
TransitRouterMulticastDomainPeerMember Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The TransitRouterMulticastDomainPeerMember resource accepts the following input properties:
- 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.
- Peer
Transit stringRouter Multicast Domain Id The IDs of the inter-region multicast domains.
- Transit
Router stringMulticast Domain Id The ID of the multicast domain to which the multicast member belongs.
- Dry
Run bool Specifies whether only to precheck the request.
- 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.
- Peer
Transit stringRouter Multicast Domain Id The IDs of the inter-region multicast domains.
- Transit
Router stringMulticast Domain Id The ID of the multicast domain to which the multicast member belongs.
- Dry
Run bool Specifies whether only to precheck the request.
- 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.
- peer
Transit StringRouter Multicast Domain Id The IDs of the inter-region multicast domains.
- transit
Router StringMulticast Domain Id The ID of the multicast domain to which the multicast member belongs.
- dry
Run Boolean Specifies whether only to precheck the request.
- 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.
- peer
Transit stringRouter Multicast Domain Id The IDs of the inter-region multicast domains.
- transit
Router stringMulticast Domain Id The ID of the multicast domain to which the multicast member belongs.
- dry
Run boolean Specifies whether only to precheck the request.
- 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.
- peer_
transit_ strrouter_ multicast_ domain_ id The IDs of the inter-region multicast domains.
- transit_
router_ strmulticast_ domain_ id The ID of the multicast domain to which the multicast member belongs.
- dry_
run bool Specifies whether only to precheck the request.
- 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.
- peer
Transit StringRouter Multicast Domain Id The IDs of the inter-region multicast domains.
- transit
Router StringMulticast Domain Id The ID of the multicast domain to which the multicast member belongs.
- dry
Run Boolean Specifies whether only to precheck the request.
Outputs
All input properties are implicitly available as output properties. Additionally, the TransitRouterMulticastDomainPeerMember resource produces the following output properties:
Look up Existing TransitRouterMulticastDomainPeerMember Resource
Get an existing TransitRouterMulticastDomainPeerMember 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?: TransitRouterMulticastDomainPeerMemberState, opts?: CustomResourceOptions): TransitRouterMulticastDomainPeerMember
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
dry_run: Optional[bool] = None,
group_ip_address: Optional[str] = None,
peer_transit_router_multicast_domain_id: Optional[str] = None,
status: Optional[str] = None,
transit_router_multicast_domain_id: Optional[str] = None) -> TransitRouterMulticastDomainPeerMember
func GetTransitRouterMulticastDomainPeerMember(ctx *Context, name string, id IDInput, state *TransitRouterMulticastDomainPeerMemberState, opts ...ResourceOption) (*TransitRouterMulticastDomainPeerMember, error)
public static TransitRouterMulticastDomainPeerMember Get(string name, Input<string> id, TransitRouterMulticastDomainPeerMemberState? state, CustomResourceOptions? opts = null)
public static TransitRouterMulticastDomainPeerMember get(String name, Output<String> id, TransitRouterMulticastDomainPeerMemberState 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.
- Dry
Run bool Specifies whether only to precheck the request.
- 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.
- Peer
Transit stringRouter Multicast Domain Id The IDs of the inter-region multicast domains.
- Status string
The status of the multicast resource. Valid values:
- Registering: being created
- Registered: available
- Deregistering: being deleted
- Transit
Router stringMulticast Domain Id The ID of the multicast domain to which the multicast member belongs.
- Dry
Run bool Specifies whether only to precheck the request.
- 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.
- Peer
Transit stringRouter Multicast Domain Id The IDs of the inter-region multicast domains.
- Status string
The status of the multicast resource. Valid values:
- Registering: being created
- Registered: available
- Deregistering: being deleted
- Transit
Router stringMulticast Domain Id The ID of the multicast domain to which the multicast member belongs.
- dry
Run Boolean Specifies whether only to precheck the request.
- 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.
- peer
Transit StringRouter Multicast Domain Id The IDs of the inter-region multicast domains.
- status String
The status of the multicast resource. Valid values:
- Registering: being created
- Registered: available
- Deregistering: being deleted
- transit
Router StringMulticast Domain Id The ID of the multicast domain to which the multicast member belongs.
- dry
Run boolean Specifies whether only to precheck the request.
- 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.
- peer
Transit stringRouter Multicast Domain Id The IDs of the inter-region multicast domains.
- status string
The status of the multicast resource. Valid values:
- Registering: being created
- Registered: available
- Deregistering: being deleted
- transit
Router stringMulticast Domain Id The ID of the multicast domain to which the multicast member belongs.
- dry_
run bool Specifies whether only to precheck the request.
- 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.
- peer_
transit_ strrouter_ multicast_ domain_ id The IDs of the inter-region multicast domains.
- status str
The status of the multicast resource. Valid values:
- Registering: being created
- Registered: available
- Deregistering: being deleted
- transit_
router_ strmulticast_ domain_ id The ID of the multicast domain to which the multicast member belongs.
- dry
Run Boolean Specifies whether only to precheck the request.
- 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.
- peer
Transit StringRouter Multicast Domain Id The IDs of the inter-region multicast domains.
- status String
The status of the multicast resource. Valid values:
- Registering: being created
- Registered: available
- Deregistering: being deleted
- transit
Router StringMulticast Domain Id The ID of the multicast domain to which the multicast member belongs.
Import
Cen Transit Router Multicast Domain Peer Member can be imported using the id, e.g.
$ pulumi import alicloud:cen/transitRouterMulticastDomainPeerMember:TransitRouterMulticastDomainPeerMember example <transit_router_multicast_domain_id>:<group_ip_address>:<peer_transit_router_multicast_domain_id>
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
alicloud
Terraform Provider.