alicloud.cen.TransitRouterMulticastDomainMember
Explore with Pulumi AI
Provides a Cen Transit Router Multicast Domain Member resource.
For information about Cen Transit Router Multicast Domain Member and how to use it, see What is Transit Router Multicast Domain Member.
NOTE: Available since v1.195.0.
Create TransitRouterMulticastDomainMember Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new TransitRouterMulticastDomainMember(name: string, args: TransitRouterMulticastDomainMemberArgs, opts?: CustomResourceOptions);
@overload
def TransitRouterMulticastDomainMember(resource_name: str,
args: TransitRouterMulticastDomainMemberArgs,
opts: Optional[ResourceOptions] = None)
@overload
def TransitRouterMulticastDomainMember(resource_name: str,
opts: Optional[ResourceOptions] = None,
group_ip_address: Optional[str] = None,
network_interface_id: Optional[str] = None,
transit_router_multicast_domain_id: Optional[str] = None,
dry_run: Optional[bool] = None,
vpc_id: Optional[str] = None)
func NewTransitRouterMulticastDomainMember(ctx *Context, name string, args TransitRouterMulticastDomainMemberArgs, opts ...ResourceOption) (*TransitRouterMulticastDomainMember, error)
public TransitRouterMulticastDomainMember(string name, TransitRouterMulticastDomainMemberArgs args, CustomResourceOptions? opts = null)
public TransitRouterMulticastDomainMember(String name, TransitRouterMulticastDomainMemberArgs args)
public TransitRouterMulticastDomainMember(String name, TransitRouterMulticastDomainMemberArgs args, CustomResourceOptions options)
type: alicloud:cen:TransitRouterMulticastDomainMember
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args TransitRouterMulticastDomainMemberArgs
- 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 TransitRouterMulticastDomainMemberArgs
- 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 TransitRouterMulticastDomainMemberArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TransitRouterMulticastDomainMemberArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TransitRouterMulticastDomainMemberArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var transitRouterMulticastDomainMemberResource = new AliCloud.Cen.TransitRouterMulticastDomainMember("transitRouterMulticastDomainMemberResource", new()
{
GroupIpAddress = "string",
NetworkInterfaceId = "string",
TransitRouterMulticastDomainId = "string",
DryRun = false,
VpcId = "string",
});
example, err := cen.NewTransitRouterMulticastDomainMember(ctx, "transitRouterMulticastDomainMemberResource", &cen.TransitRouterMulticastDomainMemberArgs{
GroupIpAddress: pulumi.String("string"),
NetworkInterfaceId: pulumi.String("string"),
TransitRouterMulticastDomainId: pulumi.String("string"),
DryRun: pulumi.Bool(false),
VpcId: pulumi.String("string"),
})
var transitRouterMulticastDomainMemberResource = new TransitRouterMulticastDomainMember("transitRouterMulticastDomainMemberResource", TransitRouterMulticastDomainMemberArgs.builder()
.groupIpAddress("string")
.networkInterfaceId("string")
.transitRouterMulticastDomainId("string")
.dryRun(false)
.vpcId("string")
.build());
transit_router_multicast_domain_member_resource = alicloud.cen.TransitRouterMulticastDomainMember("transitRouterMulticastDomainMemberResource",
group_ip_address="string",
network_interface_id="string",
transit_router_multicast_domain_id="string",
dry_run=False,
vpc_id="string")
const transitRouterMulticastDomainMemberResource = new alicloud.cen.TransitRouterMulticastDomainMember("transitRouterMulticastDomainMemberResource", {
groupIpAddress: "string",
networkInterfaceId: "string",
transitRouterMulticastDomainId: "string",
dryRun: false,
vpcId: "string",
});
type: alicloud:cen:TransitRouterMulticastDomainMember
properties:
dryRun: false
groupIpAddress: string
networkInterfaceId: string
transitRouterMulticastDomainId: string
vpcId: string
TransitRouterMulticastDomainMember Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The TransitRouterMulticastDomainMember resource accepts the following input properties:
- 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.
- Network
Interface stringId - The ID of the ENI.
- 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.
- 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.
- Network
Interface stringId - The ID of the ENI.
- 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.
- 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.
- network
Interface StringId - The ID of the ENI.
- 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.
- 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.
- network
Interface stringId - The ID of the ENI.
- 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.
- 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.
- network_
interface_ strid - The ID of the ENI.
- 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.
- 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.
- network
Interface StringId - The ID of the ENI.
- 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.
- vpc
Id String - The VPC to which the ENI of the multicast member belongs. This field is mandatory for VPCs owned by another accounts.
Outputs
All input properties are implicitly available as output properties. Additionally, the TransitRouterMulticastDomainMember resource produces the following output properties:
Look up Existing TransitRouterMulticastDomainMember Resource
Get an existing TransitRouterMulticastDomainMember 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?: TransitRouterMulticastDomainMemberState, opts?: CustomResourceOptions): TransitRouterMulticastDomainMember
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
dry_run: Optional[bool] = None,
group_ip_address: Optional[str] = None,
network_interface_id: Optional[str] = None,
status: Optional[str] = None,
transit_router_multicast_domain_id: Optional[str] = None,
vpc_id: Optional[str] = None) -> TransitRouterMulticastDomainMember
func GetTransitRouterMulticastDomainMember(ctx *Context, name string, id IDInput, state *TransitRouterMulticastDomainMemberState, opts ...ResourceOption) (*TransitRouterMulticastDomainMember, error)
public static TransitRouterMulticastDomainMember Get(string name, Input<string> id, TransitRouterMulticastDomainMemberState? state, CustomResourceOptions? opts = null)
public static TransitRouterMulticastDomainMember get(String name, Output<String> id, TransitRouterMulticastDomainMemberState 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. 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.
- Network
Interface stringId - The ID of the ENI.
- Status string
- The status of the Transit Router Multicast Domain Member.
- 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.
- 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. 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.
- Network
Interface stringId - The ID of the ENI.
- Status string
- The status of the Transit Router Multicast Domain Member.
- 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.
- 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. 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.
- network
Interface StringId - The ID of the ENI.
- status String
- The status of the Transit Router Multicast Domain Member.
- 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.
- 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. 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.
- network
Interface stringId - The ID of the ENI.
- status string
- The status of the Transit Router Multicast Domain Member.
- 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.
- 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. 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.
- network_
interface_ strid - The ID of the ENI.
- status str
- The status of the Transit Router Multicast Domain Member.
- 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.
- 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. 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.
- network
Interface StringId - The ID of the ENI.
- status String
- The status of the Transit Router Multicast Domain Member.
- 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.
Import
Cen Transit Router Multicast Domain Member can be imported using the id, e.g.
$ pulumi import alicloud:cen/transitRouterMulticastDomainMember:TransitRouterMulticastDomainMember example <transit_router_multicast_domain_id>:<group_ip_address>:<network_interface_id>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloud
Terraform Provider.