published on Thursday, Sep 3, 2026 by Volcengine
published on Thursday, Sep 3, 2026 by Volcengine
Transit router multicast domain. A domain for carrying multicast traffic, bound to a transit router instance.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
const example = new volcenginecc.transitrouter.TransitRouterMulticastDomain("example", {
transitRouterId: "tr-xxxxxx",
transitRouterMulticastDomainName: "ccapi-multicast-domain-full",
description: "transit router multicast domain full fields",
tags: [
{
key: "usage",
value: "ccapi",
},
{
key: "business",
value: "transit-router",
},
],
});
import pulumi
import pulumi_volcenginecc as volcenginecc
example = volcenginecc.transitrouter.TransitRouterMulticastDomain("example",
transit_router_id="tr-xxxxxx",
transit_router_multicast_domain_name="ccapi-multicast-domain-full",
description="transit router multicast domain full fields",
tags=[
{
"key": "usage",
"value": "ccapi",
},
{
"key": "business",
"value": "transit-router",
},
])
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcenginecc/sdk/go/volcenginecc/transitrouter"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := transitrouter.NewTransitRouterMulticastDomain(ctx, "example", &transitrouter.TransitRouterMulticastDomainArgs{
TransitRouterId: pulumi.String("tr-xxxxxx"),
TransitRouterMulticastDomainName: pulumi.String("ccapi-multicast-domain-full"),
Description: pulumi.String("transit router multicast domain full fields"),
Tags: transitrouter.TransitRouterMulticastDomainTagArray{
&transitrouter.TransitRouterMulticastDomainTagArgs{
Key: pulumi.String("usage"),
Value: pulumi.String("ccapi"),
},
&transitrouter.TransitRouterMulticastDomainTagArgs{
Key: pulumi.String("business"),
Value: pulumi.String("transit-router"),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcenginecc = Volcengine.Pulumi.Volcenginecc;
return await Deployment.RunAsync(() =>
{
var example = new Volcenginecc.Transitrouter.TransitRouterMulticastDomain("example", new()
{
TransitRouterId = "tr-xxxxxx",
TransitRouterMulticastDomainName = "ccapi-multicast-domain-full",
Description = "transit router multicast domain full fields",
Tags = new[]
{
new Volcenginecc.Transitrouter.Inputs.TransitRouterMulticastDomainTagArgs
{
Key = "usage",
Value = "ccapi",
},
new Volcenginecc.Transitrouter.Inputs.TransitRouterMulticastDomainTagArgs
{
Key = "business",
Value = "transit-router",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.volcengine.volcenginecc.transitrouter.TransitRouterMulticastDomain;
import com.volcengine.volcenginecc.transitrouter.TransitRouterMulticastDomainArgs;
import com.pulumi.volcenginecc.transitrouter.inputs.TransitRouterMulticastDomainTagArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 example = new TransitRouterMulticastDomain("example", TransitRouterMulticastDomainArgs.builder()
.transitRouterId("tr-xxxxxx")
.transitRouterMulticastDomainName("ccapi-multicast-domain-full")
.description("transit router multicast domain full fields")
.tags(
TransitRouterMulticastDomainTagArgs.builder()
.key("usage")
.value("ccapi")
.build(),
TransitRouterMulticastDomainTagArgs.builder()
.key("business")
.value("transit-router")
.build())
.build());
}
}
resources:
example:
type: volcenginecc:transitrouter:TransitRouterMulticastDomain
properties:
transitRouterId: tr-xxxxxx
transitRouterMulticastDomainName: ccapi-multicast-domain-full
description: transit router multicast domain full fields
tags:
- key: usage
value: ccapi
- key: business
value: transit-router
pulumi {
required_providers {
volcenginecc = {
source = "pulumi/volcenginecc"
}
}
}
resource "volcenginecc_transitrouter_transitroutermulticastdomain" "example" {
transit_router_id = "tr-xxxxxx"
transit_router_multicast_domain_name = "ccapi-multicast-domain-full"
description = "transit router multicast domain full fields"
tags {
key = "usage"
value = "ccapi"
}
tags {
key = "business"
value = "transit-router"
}
}
Create TransitRouterMulticastDomain Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new TransitRouterMulticastDomain(name: string, args: TransitRouterMulticastDomainArgs, opts?: CustomResourceOptions);@overload
def TransitRouterMulticastDomain(resource_name: str,
args: TransitRouterMulticastDomainArgs,
opts: Optional[ResourceOptions] = None)
@overload
def TransitRouterMulticastDomain(resource_name: str,
opts: Optional[ResourceOptions] = None,
transit_router_id: Optional[str] = None,
description: Optional[str] = None,
tags: Optional[Sequence[TransitRouterMulticastDomainTagArgs]] = None,
transit_router_multicast_domain_name: Optional[str] = None)func NewTransitRouterMulticastDomain(ctx *Context, name string, args TransitRouterMulticastDomainArgs, opts ...ResourceOption) (*TransitRouterMulticastDomain, error)public TransitRouterMulticastDomain(string name, TransitRouterMulticastDomainArgs args, CustomResourceOptions? opts = null)
public TransitRouterMulticastDomain(String name, TransitRouterMulticastDomainArgs args)
public TransitRouterMulticastDomain(String name, TransitRouterMulticastDomainArgs args, CustomResourceOptions options)
type: volcenginecc:transitrouter:TransitRouterMulticastDomain
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "volcenginecc_transitrouter_transit_router_multicast_domain" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args TransitRouterMulticastDomainArgs
- 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 TransitRouterMulticastDomainArgs
- 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 TransitRouterMulticastDomainArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TransitRouterMulticastDomainArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TransitRouterMulticastDomainArgs
- 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 transitRouterMulticastDomainResource = new Volcenginecc.Transitrouter.TransitRouterMulticastDomain("transitRouterMulticastDomainResource", new()
{
TransitRouterId = "string",
Description = "string",
Tags = new[]
{
new Volcenginecc.Transitrouter.Inputs.TransitRouterMulticastDomainTagArgs
{
Key = "string",
Value = "string",
},
},
TransitRouterMulticastDomainName = "string",
});
example, err := transitrouter.NewTransitRouterMulticastDomain(ctx, "transitRouterMulticastDomainResource", &transitrouter.TransitRouterMulticastDomainArgs{
TransitRouterId: pulumi.String("string"),
Description: pulumi.String("string"),
Tags: transitrouter.TransitRouterMulticastDomainTagArray{
&transitrouter.TransitRouterMulticastDomainTagArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
TransitRouterMulticastDomainName: pulumi.String("string"),
})
resource "volcenginecc_transitrouter_transit_router_multicast_domain" "transitRouterMulticastDomainResource" {
lifecycle {
create_before_destroy = true
}
transit_router_id = "string"
description = "string"
tags {
key = "string"
value = "string"
}
transit_router_multicast_domain_name = "string"
}
var transitRouterMulticastDomainResource = new TransitRouterMulticastDomain("transitRouterMulticastDomainResource", TransitRouterMulticastDomainArgs.builder()
.transitRouterId("string")
.description("string")
.tags(TransitRouterMulticastDomainTagArgs.builder()
.key("string")
.value("string")
.build())
.transitRouterMulticastDomainName("string")
.build());
transit_router_multicast_domain_resource = volcenginecc.transitrouter.TransitRouterMulticastDomain("transitRouterMulticastDomainResource",
transit_router_id="string",
description="string",
tags=[{
"key": "string",
"value": "string",
}],
transit_router_multicast_domain_name="string")
const transitRouterMulticastDomainResource = new volcenginecc.transitrouter.TransitRouterMulticastDomain("transitRouterMulticastDomainResource", {
transitRouterId: "string",
description: "string",
tags: [{
key: "string",
value: "string",
}],
transitRouterMulticastDomainName: "string",
});
type: volcenginecc:transitrouter:TransitRouterMulticastDomain
properties:
description: string
tags:
- key: string
value: string
transitRouterId: string
transitRouterMulticastDomainName: string
TransitRouterMulticastDomain 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 TransitRouterMulticastDomain resource accepts the following input properties:
- Transit
Router stringId - Transit router instance ID.
- Description string
- Description of the multicast domain. Length limit: 0–255 characters.
-
List<Volcengine.
Transit Router Multicast Domain Tag> - Tag set for the multicast domain. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Transit
Router stringMulticast Domain Name - Name of the multicast domain. Length limit: 1–128 characters.
- Transit
Router stringId - Transit router instance ID.
- Description string
- Description of the multicast domain. Length limit: 0–255 characters.
-
[]Transit
Router Multicast Domain Tag Args - Tag set for the multicast domain. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Transit
Router stringMulticast Domain Name - Name of the multicast domain. Length limit: 1–128 characters.
- transit_
router_ stringid - Transit router instance ID.
- description string
- Description of the multicast domain. Length limit: 0–255 characters.
- list(object)
- Tag set for the multicast domain. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- transit_
router_ stringmulticast_ domain_ name - Name of the multicast domain. Length limit: 1–128 characters.
- transit
Router StringId - Transit router instance ID.
- description String
- Description of the multicast domain. Length limit: 0–255 characters.
-
List<Transit
Router Multicast Domain Tag> - Tag set for the multicast domain. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- transit
Router StringMulticast Domain Name - Name of the multicast domain. Length limit: 1–128 characters.
- transit
Router stringId - Transit router instance ID.
- description string
- Description of the multicast domain. Length limit: 0–255 characters.
-
Transit
Router Multicast Domain Tag[] - Tag set for the multicast domain. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- transit
Router stringMulticast Domain Name - Name of the multicast domain. Length limit: 1–128 characters.
- transit_
router_ strid - Transit router instance ID.
- description str
- Description of the multicast domain. Length limit: 0–255 characters.
-
Sequence[Transit
Router Multicast Domain Tag Args] - Tag set for the multicast domain. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- transit_
router_ strmulticast_ domain_ name - Name of the multicast domain. Length limit: 1–128 characters.
- transit
Router StringId - Transit router instance ID.
- description String
- Description of the multicast domain. Length limit: 0–255 characters.
- List<Property Map>
- Tag set for the multicast domain. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- transit
Router StringMulticast Domain Name - Name of the multicast domain. Length limit: 1–128 characters.
Outputs
All input properties are implicitly available as output properties. Additionally, the TransitRouterMulticastDomain resource produces the following output properties:
- Creation
Time string - Creation time of the multicast domain.
- Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- Status of the multicast domain. Creating: being created. Available: available. Deleting: being deleted.
- Transit
Router stringMulticast Domain Id - Multicast domain ID.
- Update
Time string - Last updated time of the multicast domain.
- Creation
Time string - Creation time of the multicast domain.
- Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- Status of the multicast domain. Creating: being created. Available: available. Deleting: being deleted.
- Transit
Router stringMulticast Domain Id - Multicast domain ID.
- Update
Time string - Last updated time of the multicast domain.
- creation_
time string - Creation time of the multicast domain.
- id string
- The provider-assigned unique ID for this managed resource.
- status string
- Status of the multicast domain. Creating: being created. Available: available. Deleting: being deleted.
- transit_
router_ stringmulticast_ domain_ id - Multicast domain ID.
- update_
time string - Last updated time of the multicast domain.
- creation
Time String - Creation time of the multicast domain.
- id String
- The provider-assigned unique ID for this managed resource.
- status String
- Status of the multicast domain. Creating: being created. Available: available. Deleting: being deleted.
- transit
Router StringMulticast Domain Id - Multicast domain ID.
- update
Time String - Last updated time of the multicast domain.
- creation
Time string - Creation time of the multicast domain.
- id string
- The provider-assigned unique ID for this managed resource.
- status string
- Status of the multicast domain. Creating: being created. Available: available. Deleting: being deleted.
- transit
Router stringMulticast Domain Id - Multicast domain ID.
- update
Time string - Last updated time of the multicast domain.
- creation_
time str - Creation time of the multicast domain.
- id str
- The provider-assigned unique ID for this managed resource.
- status str
- Status of the multicast domain. Creating: being created. Available: available. Deleting: being deleted.
- transit_
router_ strmulticast_ domain_ id - Multicast domain ID.
- update_
time str - Last updated time of the multicast domain.
- creation
Time String - Creation time of the multicast domain.
- id String
- The provider-assigned unique ID for this managed resource.
- status String
- Status of the multicast domain. Creating: being created. Available: available. Deleting: being deleted.
- transit
Router StringMulticast Domain Id - Multicast domain ID.
- update
Time String - Last updated time of the multicast domain.
Look up Existing TransitRouterMulticastDomain Resource
Get an existing TransitRouterMulticastDomain 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?: TransitRouterMulticastDomainState, opts?: CustomResourceOptions): TransitRouterMulticastDomain@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
creation_time: Optional[str] = None,
description: Optional[str] = None,
status: Optional[str] = None,
tags: Optional[Sequence[TransitRouterMulticastDomainTagArgs]] = None,
transit_router_id: Optional[str] = None,
transit_router_multicast_domain_id: Optional[str] = None,
transit_router_multicast_domain_name: Optional[str] = None,
update_time: Optional[str] = None) -> TransitRouterMulticastDomainfunc GetTransitRouterMulticastDomain(ctx *Context, name string, id IDInput, state *TransitRouterMulticastDomainState, opts ...ResourceOption) (*TransitRouterMulticastDomain, error)public static TransitRouterMulticastDomain Get(string name, Input<string> id, TransitRouterMulticastDomainState? state, CustomResourceOptions? opts = null)public static TransitRouterMulticastDomain get(String name, Output<String> id, TransitRouterMulticastDomainState state, CustomResourceOptions options)resources: _: type: volcenginecc:transitrouter:TransitRouterMulticastDomain get: id: ${id}import {
to = volcenginecc_transitrouter_transit_router_multicast_domain.example
id = "${id}"
}
- 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.
- Creation
Time string - Creation time of the multicast domain.
- Description string
- Description of the multicast domain. Length limit: 0–255 characters.
- Status string
- Status of the multicast domain. Creating: being created. Available: available. Deleting: being deleted.
-
List<Volcengine.
Transit Router Multicast Domain Tag> - Tag set for the multicast domain. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Transit
Router stringId - Transit router instance ID.
- Transit
Router stringMulticast Domain Id - Multicast domain ID.
- Transit
Router stringMulticast Domain Name - Name of the multicast domain. Length limit: 1–128 characters.
- Update
Time string - Last updated time of the multicast domain.
- Creation
Time string - Creation time of the multicast domain.
- Description string
- Description of the multicast domain. Length limit: 0–255 characters.
- Status string
- Status of the multicast domain. Creating: being created. Available: available. Deleting: being deleted.
-
[]Transit
Router Multicast Domain Tag Args - Tag set for the multicast domain. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Transit
Router stringId - Transit router instance ID.
- Transit
Router stringMulticast Domain Id - Multicast domain ID.
- Transit
Router stringMulticast Domain Name - Name of the multicast domain. Length limit: 1–128 characters.
- Update
Time string - Last updated time of the multicast domain.
- creation_
time string - Creation time of the multicast domain.
- description string
- Description of the multicast domain. Length limit: 0–255 characters.
- status string
- Status of the multicast domain. Creating: being created. Available: available. Deleting: being deleted.
- list(object)
- Tag set for the multicast domain. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- transit_
router_ stringid - Transit router instance ID.
- transit_
router_ stringmulticast_ domain_ id - Multicast domain ID.
- transit_
router_ stringmulticast_ domain_ name - Name of the multicast domain. Length limit: 1–128 characters.
- update_
time string - Last updated time of the multicast domain.
- creation
Time String - Creation time of the multicast domain.
- description String
- Description of the multicast domain. Length limit: 0–255 characters.
- status String
- Status of the multicast domain. Creating: being created. Available: available. Deleting: being deleted.
-
List<Transit
Router Multicast Domain Tag> - Tag set for the multicast domain. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- transit
Router StringId - Transit router instance ID.
- transit
Router StringMulticast Domain Id - Multicast domain ID.
- transit
Router StringMulticast Domain Name - Name of the multicast domain. Length limit: 1–128 characters.
- update
Time String - Last updated time of the multicast domain.
- creation
Time string - Creation time of the multicast domain.
- description string
- Description of the multicast domain. Length limit: 0–255 characters.
- status string
- Status of the multicast domain. Creating: being created. Available: available. Deleting: being deleted.
-
Transit
Router Multicast Domain Tag[] - Tag set for the multicast domain. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- transit
Router stringId - Transit router instance ID.
- transit
Router stringMulticast Domain Id - Multicast domain ID.
- transit
Router stringMulticast Domain Name - Name of the multicast domain. Length limit: 1–128 characters.
- update
Time string - Last updated time of the multicast domain.
- creation_
time str - Creation time of the multicast domain.
- description str
- Description of the multicast domain. Length limit: 0–255 characters.
- status str
- Status of the multicast domain. Creating: being created. Available: available. Deleting: being deleted.
-
Sequence[Transit
Router Multicast Domain Tag Args] - Tag set for the multicast domain. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- transit_
router_ strid - Transit router instance ID.
- transit_
router_ strmulticast_ domain_ id - Multicast domain ID.
- transit_
router_ strmulticast_ domain_ name - Name of the multicast domain. Length limit: 1–128 characters.
- update_
time str - Last updated time of the multicast domain.
- creation
Time String - Creation time of the multicast domain.
- description String
- Description of the multicast domain. Length limit: 0–255 characters.
- status String
- Status of the multicast domain. Creating: being created. Available: available. Deleting: being deleted.
- List<Property Map>
- Tag set for the multicast domain. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- transit
Router StringId - Transit router instance ID.
- transit
Router StringMulticast Domain Id - Multicast domain ID.
- transit
Router StringMulticast Domain Name - Name of the multicast domain. Length limit: 1–128 characters.
- update
Time String - Last updated time of the multicast domain.
Supporting Types
TransitRouterMulticastDomainTag, TransitRouterMulticastDomainTagArgs
Import
$ pulumi import volcenginecc:transitrouter/transitRouterMulticastDomain:TransitRouterMulticastDomain example "transit_router_id|transit_router_multicast_domain_id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- volcenginecc volcengine/pulumi-volcenginecc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
volcengineccTerraform Provider.
published on Thursday, Sep 3, 2026 by Volcengine