1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. networkservices
  5. MulticastDomainActivation
Google Cloud v9.7.0 published on Wednesday, Dec 24, 2025 by Pulumi
gcp logo
Google Cloud v9.7.0 published on Wednesday, Dec 24, 2025 by Pulumi

    Create a multicast domain activation in the specified location of the current project.

    Example Usage

    Network Services Multicast Domain Activation Basic

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const network = new gcp.compute.Network("network", {
        name: "test-network-mda",
        autoCreateSubnetworks: false,
    });
    const multicastDomain = new gcp.networkservices.MulticastDomain("multicast_domain", {
        multicastDomainId: "test-domain-mda",
        location: "global",
        adminNetwork: network.id,
        connectionConfig: {
            connectionType: "SAME_VPC",
        },
    }, {
        dependsOn: [network],
    });
    const mdaTest = new gcp.networkservices.MulticastDomainActivation("mda_test", {
        multicastDomainActivationId: "test-domain-activation-mda",
        location: "us-central1-b",
        multicastDomain: multicastDomain.id,
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    network = gcp.compute.Network("network",
        name="test-network-mda",
        auto_create_subnetworks=False)
    multicast_domain = gcp.networkservices.MulticastDomain("multicast_domain",
        multicast_domain_id="test-domain-mda",
        location="global",
        admin_network=network.id,
        connection_config={
            "connection_type": "SAME_VPC",
        },
        opts = pulumi.ResourceOptions(depends_on=[network]))
    mda_test = gcp.networkservices.MulticastDomainActivation("mda_test",
        multicast_domain_activation_id="test-domain-activation-mda",
        location="us-central1-b",
        multicast_domain=multicast_domain.id)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v9/go/gcp/compute"
    	"github.com/pulumi/pulumi-gcp/sdk/v9/go/gcp/networkservices"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		network, err := compute.NewNetwork(ctx, "network", &compute.NetworkArgs{
    			Name:                  pulumi.String("test-network-mda"),
    			AutoCreateSubnetworks: pulumi.Bool(false),
    		})
    		if err != nil {
    			return err
    		}
    		multicastDomain, err := networkservices.NewMulticastDomain(ctx, "multicast_domain", &networkservices.MulticastDomainArgs{
    			MulticastDomainId: pulumi.String("test-domain-mda"),
    			Location:          pulumi.String("global"),
    			AdminNetwork:      network.ID(),
    			ConnectionConfig: &networkservices.MulticastDomainConnectionConfigArgs{
    				ConnectionType: pulumi.String("SAME_VPC"),
    			},
    		}, pulumi.DependsOn([]pulumi.Resource{
    			network,
    		}))
    		if err != nil {
    			return err
    		}
    		_, err = networkservices.NewMulticastDomainActivation(ctx, "mda_test", &networkservices.MulticastDomainActivationArgs{
    			MulticastDomainActivationId: pulumi.String("test-domain-activation-mda"),
    			Location:                    pulumi.String("us-central1-b"),
    			MulticastDomain:             multicastDomain.ID(),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcp = Pulumi.Gcp;
    
    return await Deployment.RunAsync(() => 
    {
        var network = new Gcp.Compute.Network("network", new()
        {
            Name = "test-network-mda",
            AutoCreateSubnetworks = false,
        });
    
        var multicastDomain = new Gcp.NetworkServices.MulticastDomain("multicast_domain", new()
        {
            MulticastDomainId = "test-domain-mda",
            Location = "global",
            AdminNetwork = network.Id,
            ConnectionConfig = new Gcp.NetworkServices.Inputs.MulticastDomainConnectionConfigArgs
            {
                ConnectionType = "SAME_VPC",
            },
        }, new CustomResourceOptions
        {
            DependsOn =
            {
                network,
            },
        });
    
        var mdaTest = new Gcp.NetworkServices.MulticastDomainActivation("mda_test", new()
        {
            MulticastDomainActivationId = "test-domain-activation-mda",
            Location = "us-central1-b",
            MulticastDomain = multicastDomain.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.compute.Network;
    import com.pulumi.gcp.compute.NetworkArgs;
    import com.pulumi.gcp.networkservices.MulticastDomain;
    import com.pulumi.gcp.networkservices.MulticastDomainArgs;
    import com.pulumi.gcp.networkservices.inputs.MulticastDomainConnectionConfigArgs;
    import com.pulumi.gcp.networkservices.MulticastDomainActivation;
    import com.pulumi.gcp.networkservices.MulticastDomainActivationArgs;
    import com.pulumi.resources.CustomResourceOptions;
    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 network = new Network("network", NetworkArgs.builder()
                .name("test-network-mda")
                .autoCreateSubnetworks(false)
                .build());
    
            var multicastDomain = new MulticastDomain("multicastDomain", MulticastDomainArgs.builder()
                .multicastDomainId("test-domain-mda")
                .location("global")
                .adminNetwork(network.id())
                .connectionConfig(MulticastDomainConnectionConfigArgs.builder()
                    .connectionType("SAME_VPC")
                    .build())
                .build(), CustomResourceOptions.builder()
                    .dependsOn(network)
                    .build());
    
            var mdaTest = new MulticastDomainActivation("mdaTest", MulticastDomainActivationArgs.builder()
                .multicastDomainActivationId("test-domain-activation-mda")
                .location("us-central1-b")
                .multicastDomain(multicastDomain.id())
                .build());
    
        }
    }
    
    resources:
      network:
        type: gcp:compute:Network
        properties:
          name: test-network-mda
          autoCreateSubnetworks: false
      multicastDomain:
        type: gcp:networkservices:MulticastDomain
        name: multicast_domain
        properties:
          multicastDomainId: test-domain-mda
          location: global
          adminNetwork: ${network.id}
          connectionConfig:
            connectionType: SAME_VPC
        options:
          dependsOn:
            - ${network}
      mdaTest:
        type: gcp:networkservices:MulticastDomainActivation
        name: mda_test
        properties:
          multicastDomainActivationId: test-domain-activation-mda
          location: us-central1-b
          multicastDomain: ${multicastDomain.id}
    

    Create MulticastDomainActivation Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new MulticastDomainActivation(name: string, args: MulticastDomainActivationArgs, opts?: CustomResourceOptions);
    @overload
    def MulticastDomainActivation(resource_name: str,
                                  args: MulticastDomainActivationArgs,
                                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def MulticastDomainActivation(resource_name: str,
                                  opts: Optional[ResourceOptions] = None,
                                  location: Optional[str] = None,
                                  multicast_domain_activation_id: Optional[str] = None,
                                  description: Optional[str] = None,
                                  labels: Optional[Mapping[str, str]] = None,
                                  multicast_domain: Optional[str] = None,
                                  project: Optional[str] = None,
                                  traffic_spec: Optional[MulticastDomainActivationTrafficSpecArgs] = None)
    func NewMulticastDomainActivation(ctx *Context, name string, args MulticastDomainActivationArgs, opts ...ResourceOption) (*MulticastDomainActivation, error)
    public MulticastDomainActivation(string name, MulticastDomainActivationArgs args, CustomResourceOptions? opts = null)
    public MulticastDomainActivation(String name, MulticastDomainActivationArgs args)
    public MulticastDomainActivation(String name, MulticastDomainActivationArgs args, CustomResourceOptions options)
    
    type: gcp:networkservices:MulticastDomainActivation
    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 MulticastDomainActivationArgs
    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 MulticastDomainActivationArgs
    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 MulticastDomainActivationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args MulticastDomainActivationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args MulticastDomainActivationArgs
    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 multicastDomainActivationResource = new Gcp.NetworkServices.MulticastDomainActivation("multicastDomainActivationResource", new()
    {
        Location = "string",
        MulticastDomainActivationId = "string",
        Description = "string",
        Labels = 
        {
            { "string", "string" },
        },
        MulticastDomain = "string",
        Project = "string",
        TrafficSpec = new Gcp.NetworkServices.Inputs.MulticastDomainActivationTrafficSpecArgs
        {
            AggrEgressPps = "string",
            AggrIngressPps = "string",
            AvgPacketSize = 0,
            MaxPerGroupIngressPps = "string",
            MaxPerGroupSubscribers = "string",
        },
    });
    
    example, err := networkservices.NewMulticastDomainActivation(ctx, "multicastDomainActivationResource", &networkservices.MulticastDomainActivationArgs{
    	Location:                    pulumi.String("string"),
    	MulticastDomainActivationId: pulumi.String("string"),
    	Description:                 pulumi.String("string"),
    	Labels: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	MulticastDomain: pulumi.String("string"),
    	Project:         pulumi.String("string"),
    	TrafficSpec: &networkservices.MulticastDomainActivationTrafficSpecArgs{
    		AggrEgressPps:          pulumi.String("string"),
    		AggrIngressPps:         pulumi.String("string"),
    		AvgPacketSize:          pulumi.Int(0),
    		MaxPerGroupIngressPps:  pulumi.String("string"),
    		MaxPerGroupSubscribers: pulumi.String("string"),
    	},
    })
    
    var multicastDomainActivationResource = new MulticastDomainActivation("multicastDomainActivationResource", MulticastDomainActivationArgs.builder()
        .location("string")
        .multicastDomainActivationId("string")
        .description("string")
        .labels(Map.of("string", "string"))
        .multicastDomain("string")
        .project("string")
        .trafficSpec(MulticastDomainActivationTrafficSpecArgs.builder()
            .aggrEgressPps("string")
            .aggrIngressPps("string")
            .avgPacketSize(0)
            .maxPerGroupIngressPps("string")
            .maxPerGroupSubscribers("string")
            .build())
        .build());
    
    multicast_domain_activation_resource = gcp.networkservices.MulticastDomainActivation("multicastDomainActivationResource",
        location="string",
        multicast_domain_activation_id="string",
        description="string",
        labels={
            "string": "string",
        },
        multicast_domain="string",
        project="string",
        traffic_spec={
            "aggr_egress_pps": "string",
            "aggr_ingress_pps": "string",
            "avg_packet_size": 0,
            "max_per_group_ingress_pps": "string",
            "max_per_group_subscribers": "string",
        })
    
    const multicastDomainActivationResource = new gcp.networkservices.MulticastDomainActivation("multicastDomainActivationResource", {
        location: "string",
        multicastDomainActivationId: "string",
        description: "string",
        labels: {
            string: "string",
        },
        multicastDomain: "string",
        project: "string",
        trafficSpec: {
            aggrEgressPps: "string",
            aggrIngressPps: "string",
            avgPacketSize: 0,
            maxPerGroupIngressPps: "string",
            maxPerGroupSubscribers: "string",
        },
    });
    
    type: gcp:networkservices:MulticastDomainActivation
    properties:
        description: string
        labels:
            string: string
        location: string
        multicastDomain: string
        multicastDomainActivationId: string
        project: string
        trafficSpec:
            aggrEgressPps: string
            aggrIngressPps: string
            avgPacketSize: 0
            maxPerGroupIngressPps: string
            maxPerGroupSubscribers: string
    

    MulticastDomainActivation 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 MulticastDomainActivation resource accepts the following input properties:

    Location string
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    MulticastDomainActivationId string
    A unique name for the multicast domain activation. The name is restricted to letters, numbers, and hyphen, with the first character a letter, and the last a letter or a number. The name must not exceed 48 characters.
    Description string
    An optional text description of the multicast domain activation.
    Labels Dictionary<string, string>
    Labels as key-value pairs Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.
    MulticastDomain string
    The resource name of the multicast domain to activate. Use the following format: projects/*/locations/global/multicastDomains/*.
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    TrafficSpec MulticastDomainActivationTrafficSpec
    Specifies the traffic volume and multicast group scale parameters that are used to set up multicast infrastructure for a multicast domain in a zone. Structure is documented below.
    Location string
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    MulticastDomainActivationId string
    A unique name for the multicast domain activation. The name is restricted to letters, numbers, and hyphen, with the first character a letter, and the last a letter or a number. The name must not exceed 48 characters.
    Description string
    An optional text description of the multicast domain activation.
    Labels map[string]string
    Labels as key-value pairs Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.
    MulticastDomain string
    The resource name of the multicast domain to activate. Use the following format: projects/*/locations/global/multicastDomains/*.
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    TrafficSpec MulticastDomainActivationTrafficSpecArgs
    Specifies the traffic volume and multicast group scale parameters that are used to set up multicast infrastructure for a multicast domain in a zone. Structure is documented below.
    location String
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    multicastDomainActivationId String
    A unique name for the multicast domain activation. The name is restricted to letters, numbers, and hyphen, with the first character a letter, and the last a letter or a number. The name must not exceed 48 characters.
    description String
    An optional text description of the multicast domain activation.
    labels Map<String,String>
    Labels as key-value pairs Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.
    multicastDomain String
    The resource name of the multicast domain to activate. Use the following format: projects/*/locations/global/multicastDomains/*.
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    trafficSpec MulticastDomainActivationTrafficSpec
    Specifies the traffic volume and multicast group scale parameters that are used to set up multicast infrastructure for a multicast domain in a zone. Structure is documented below.
    location string
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    multicastDomainActivationId string
    A unique name for the multicast domain activation. The name is restricted to letters, numbers, and hyphen, with the first character a letter, and the last a letter or a number. The name must not exceed 48 characters.
    description string
    An optional text description of the multicast domain activation.
    labels {[key: string]: string}
    Labels as key-value pairs Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.
    multicastDomain string
    The resource name of the multicast domain to activate. Use the following format: projects/*/locations/global/multicastDomains/*.
    project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    trafficSpec MulticastDomainActivationTrafficSpec
    Specifies the traffic volume and multicast group scale parameters that are used to set up multicast infrastructure for a multicast domain in a zone. Structure is documented below.
    location str
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    multicast_domain_activation_id str
    A unique name for the multicast domain activation. The name is restricted to letters, numbers, and hyphen, with the first character a letter, and the last a letter or a number. The name must not exceed 48 characters.
    description str
    An optional text description of the multicast domain activation.
    labels Mapping[str, str]
    Labels as key-value pairs Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.
    multicast_domain str
    The resource name of the multicast domain to activate. Use the following format: projects/*/locations/global/multicastDomains/*.
    project str
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    traffic_spec MulticastDomainActivationTrafficSpecArgs
    Specifies the traffic volume and multicast group scale parameters that are used to set up multicast infrastructure for a multicast domain in a zone. Structure is documented below.
    location String
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    multicastDomainActivationId String
    A unique name for the multicast domain activation. The name is restricted to letters, numbers, and hyphen, with the first character a letter, and the last a letter or a number. The name must not exceed 48 characters.
    description String
    An optional text description of the multicast domain activation.
    labels Map<String>
    Labels as key-value pairs Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.
    multicastDomain String
    The resource name of the multicast domain to activate. Use the following format: projects/*/locations/global/multicastDomains/*.
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    trafficSpec Property Map
    Specifies the traffic volume and multicast group scale parameters that are used to set up multicast infrastructure for a multicast domain in a zone. Structure is documented below.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the MulticastDomainActivation resource produces the following output properties:

    AdminNetwork string
    [Output only] The URL of the admin network.
    CreateTime string
    [Output only] The timestamp when the multicast domain activation was created.
    EffectiveLabels Dictionary<string, string>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Identifier. The resource name of the multicast domain activation. Use the following format: projects/*/locations/*/multicastDomainActivations/*.
    PulumiLabels Dictionary<string, string>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    UniqueId string
    [Output only] The Google-generated UUID for the resource. This value is unique across all multicast domain activation resources. If a domain activation is deleted and another with the same name is created, the new domain activation is assigned a different unique_id.
    UpdateTime string
    [Output only] The timestamp when the multicast domain activation was most recently updated.
    AdminNetwork string
    [Output only] The URL of the admin network.
    CreateTime string
    [Output only] The timestamp when the multicast domain activation was created.
    EffectiveLabels map[string]string
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Identifier. The resource name of the multicast domain activation. Use the following format: projects/*/locations/*/multicastDomainActivations/*.
    PulumiLabels map[string]string
    The combination of labels configured directly on the resource and default labels configured on the provider.
    UniqueId string
    [Output only] The Google-generated UUID for the resource. This value is unique across all multicast domain activation resources. If a domain activation is deleted and another with the same name is created, the new domain activation is assigned a different unique_id.
    UpdateTime string
    [Output only] The timestamp when the multicast domain activation was most recently updated.
    adminNetwork String
    [Output only] The URL of the admin network.
    createTime String
    [Output only] The timestamp when the multicast domain activation was created.
    effectiveLabels Map<String,String>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Identifier. The resource name of the multicast domain activation. Use the following format: projects/*/locations/*/multicastDomainActivations/*.
    pulumiLabels Map<String,String>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    uniqueId String
    [Output only] The Google-generated UUID for the resource. This value is unique across all multicast domain activation resources. If a domain activation is deleted and another with the same name is created, the new domain activation is assigned a different unique_id.
    updateTime String
    [Output only] The timestamp when the multicast domain activation was most recently updated.
    adminNetwork string
    [Output only] The URL of the admin network.
    createTime string
    [Output only] The timestamp when the multicast domain activation was created.
    effectiveLabels {[key: string]: string}
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    Identifier. The resource name of the multicast domain activation. Use the following format: projects/*/locations/*/multicastDomainActivations/*.
    pulumiLabels {[key: string]: string}
    The combination of labels configured directly on the resource and default labels configured on the provider.
    uniqueId string
    [Output only] The Google-generated UUID for the resource. This value is unique across all multicast domain activation resources. If a domain activation is deleted and another with the same name is created, the new domain activation is assigned a different unique_id.
    updateTime string
    [Output only] The timestamp when the multicast domain activation was most recently updated.
    admin_network str
    [Output only] The URL of the admin network.
    create_time str
    [Output only] The timestamp when the multicast domain activation was created.
    effective_labels Mapping[str, str]
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    Identifier. The resource name of the multicast domain activation. Use the following format: projects/*/locations/*/multicastDomainActivations/*.
    pulumi_labels Mapping[str, str]
    The combination of labels configured directly on the resource and default labels configured on the provider.
    unique_id str
    [Output only] The Google-generated UUID for the resource. This value is unique across all multicast domain activation resources. If a domain activation is deleted and another with the same name is created, the new domain activation is assigned a different unique_id.
    update_time str
    [Output only] The timestamp when the multicast domain activation was most recently updated.
    adminNetwork String
    [Output only] The URL of the admin network.
    createTime String
    [Output only] The timestamp when the multicast domain activation was created.
    effectiveLabels Map<String>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Identifier. The resource name of the multicast domain activation. Use the following format: projects/*/locations/*/multicastDomainActivations/*.
    pulumiLabels Map<String>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    uniqueId String
    [Output only] The Google-generated UUID for the resource. This value is unique across all multicast domain activation resources. If a domain activation is deleted and another with the same name is created, the new domain activation is assigned a different unique_id.
    updateTime String
    [Output only] The timestamp when the multicast domain activation was most recently updated.

    Look up Existing MulticastDomainActivation Resource

    Get an existing MulticastDomainActivation 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?: MulticastDomainActivationState, opts?: CustomResourceOptions): MulticastDomainActivation
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            admin_network: Optional[str] = None,
            create_time: Optional[str] = None,
            description: Optional[str] = None,
            effective_labels: Optional[Mapping[str, str]] = None,
            labels: Optional[Mapping[str, str]] = None,
            location: Optional[str] = None,
            multicast_domain: Optional[str] = None,
            multicast_domain_activation_id: Optional[str] = None,
            name: Optional[str] = None,
            project: Optional[str] = None,
            pulumi_labels: Optional[Mapping[str, str]] = None,
            traffic_spec: Optional[MulticastDomainActivationTrafficSpecArgs] = None,
            unique_id: Optional[str] = None,
            update_time: Optional[str] = None) -> MulticastDomainActivation
    func GetMulticastDomainActivation(ctx *Context, name string, id IDInput, state *MulticastDomainActivationState, opts ...ResourceOption) (*MulticastDomainActivation, error)
    public static MulticastDomainActivation Get(string name, Input<string> id, MulticastDomainActivationState? state, CustomResourceOptions? opts = null)
    public static MulticastDomainActivation get(String name, Output<String> id, MulticastDomainActivationState state, CustomResourceOptions options)
    resources:  _:    type: gcp:networkservices:MulticastDomainActivation    get:      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.
    The following state arguments are supported:
    AdminNetwork string
    [Output only] The URL of the admin network.
    CreateTime string
    [Output only] The timestamp when the multicast domain activation was created.
    Description string
    An optional text description of the multicast domain activation.
    EffectiveLabels Dictionary<string, string>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    Labels Dictionary<string, string>
    Labels as key-value pairs Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.
    Location string
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    MulticastDomain string
    The resource name of the multicast domain to activate. Use the following format: projects/*/locations/global/multicastDomains/*.
    MulticastDomainActivationId string
    A unique name for the multicast domain activation. The name is restricted to letters, numbers, and hyphen, with the first character a letter, and the last a letter or a number. The name must not exceed 48 characters.
    Name string
    Identifier. The resource name of the multicast domain activation. Use the following format: projects/*/locations/*/multicastDomainActivations/*.
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    PulumiLabels Dictionary<string, string>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    TrafficSpec MulticastDomainActivationTrafficSpec
    Specifies the traffic volume and multicast group scale parameters that are used to set up multicast infrastructure for a multicast domain in a zone. Structure is documented below.
    UniqueId string
    [Output only] The Google-generated UUID for the resource. This value is unique across all multicast domain activation resources. If a domain activation is deleted and another with the same name is created, the new domain activation is assigned a different unique_id.
    UpdateTime string
    [Output only] The timestamp when the multicast domain activation was most recently updated.
    AdminNetwork string
    [Output only] The URL of the admin network.
    CreateTime string
    [Output only] The timestamp when the multicast domain activation was created.
    Description string
    An optional text description of the multicast domain activation.
    EffectiveLabels map[string]string
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    Labels map[string]string
    Labels as key-value pairs Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.
    Location string
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    MulticastDomain string
    The resource name of the multicast domain to activate. Use the following format: projects/*/locations/global/multicastDomains/*.
    MulticastDomainActivationId string
    A unique name for the multicast domain activation. The name is restricted to letters, numbers, and hyphen, with the first character a letter, and the last a letter or a number. The name must not exceed 48 characters.
    Name string
    Identifier. The resource name of the multicast domain activation. Use the following format: projects/*/locations/*/multicastDomainActivations/*.
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    PulumiLabels map[string]string
    The combination of labels configured directly on the resource and default labels configured on the provider.
    TrafficSpec MulticastDomainActivationTrafficSpecArgs
    Specifies the traffic volume and multicast group scale parameters that are used to set up multicast infrastructure for a multicast domain in a zone. Structure is documented below.
    UniqueId string
    [Output only] The Google-generated UUID for the resource. This value is unique across all multicast domain activation resources. If a domain activation is deleted and another with the same name is created, the new domain activation is assigned a different unique_id.
    UpdateTime string
    [Output only] The timestamp when the multicast domain activation was most recently updated.
    adminNetwork String
    [Output only] The URL of the admin network.
    createTime String
    [Output only] The timestamp when the multicast domain activation was created.
    description String
    An optional text description of the multicast domain activation.
    effectiveLabels Map<String,String>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    labels Map<String,String>
    Labels as key-value pairs Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.
    location String
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    multicastDomain String
    The resource name of the multicast domain to activate. Use the following format: projects/*/locations/global/multicastDomains/*.
    multicastDomainActivationId String
    A unique name for the multicast domain activation. The name is restricted to letters, numbers, and hyphen, with the first character a letter, and the last a letter or a number. The name must not exceed 48 characters.
    name String
    Identifier. The resource name of the multicast domain activation. Use the following format: projects/*/locations/*/multicastDomainActivations/*.
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    pulumiLabels Map<String,String>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    trafficSpec MulticastDomainActivationTrafficSpec
    Specifies the traffic volume and multicast group scale parameters that are used to set up multicast infrastructure for a multicast domain in a zone. Structure is documented below.
    uniqueId String
    [Output only] The Google-generated UUID for the resource. This value is unique across all multicast domain activation resources. If a domain activation is deleted and another with the same name is created, the new domain activation is assigned a different unique_id.
    updateTime String
    [Output only] The timestamp when the multicast domain activation was most recently updated.
    adminNetwork string
    [Output only] The URL of the admin network.
    createTime string
    [Output only] The timestamp when the multicast domain activation was created.
    description string
    An optional text description of the multicast domain activation.
    effectiveLabels {[key: string]: string}
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    labels {[key: string]: string}
    Labels as key-value pairs Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.
    location string
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    multicastDomain string
    The resource name of the multicast domain to activate. Use the following format: projects/*/locations/global/multicastDomains/*.
    multicastDomainActivationId string
    A unique name for the multicast domain activation. The name is restricted to letters, numbers, and hyphen, with the first character a letter, and the last a letter or a number. The name must not exceed 48 characters.
    name string
    Identifier. The resource name of the multicast domain activation. Use the following format: projects/*/locations/*/multicastDomainActivations/*.
    project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    pulumiLabels {[key: string]: string}
    The combination of labels configured directly on the resource and default labels configured on the provider.
    trafficSpec MulticastDomainActivationTrafficSpec
    Specifies the traffic volume and multicast group scale parameters that are used to set up multicast infrastructure for a multicast domain in a zone. Structure is documented below.
    uniqueId string
    [Output only] The Google-generated UUID for the resource. This value is unique across all multicast domain activation resources. If a domain activation is deleted and another with the same name is created, the new domain activation is assigned a different unique_id.
    updateTime string
    [Output only] The timestamp when the multicast domain activation was most recently updated.
    admin_network str
    [Output only] The URL of the admin network.
    create_time str
    [Output only] The timestamp when the multicast domain activation was created.
    description str
    An optional text description of the multicast domain activation.
    effective_labels Mapping[str, str]
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    labels Mapping[str, str]
    Labels as key-value pairs Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.
    location str
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    multicast_domain str
    The resource name of the multicast domain to activate. Use the following format: projects/*/locations/global/multicastDomains/*.
    multicast_domain_activation_id str
    A unique name for the multicast domain activation. The name is restricted to letters, numbers, and hyphen, with the first character a letter, and the last a letter or a number. The name must not exceed 48 characters.
    name str
    Identifier. The resource name of the multicast domain activation. Use the following format: projects/*/locations/*/multicastDomainActivations/*.
    project str
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    pulumi_labels Mapping[str, str]
    The combination of labels configured directly on the resource and default labels configured on the provider.
    traffic_spec MulticastDomainActivationTrafficSpecArgs
    Specifies the traffic volume and multicast group scale parameters that are used to set up multicast infrastructure for a multicast domain in a zone. Structure is documented below.
    unique_id str
    [Output only] The Google-generated UUID for the resource. This value is unique across all multicast domain activation resources. If a domain activation is deleted and another with the same name is created, the new domain activation is assigned a different unique_id.
    update_time str
    [Output only] The timestamp when the multicast domain activation was most recently updated.
    adminNetwork String
    [Output only] The URL of the admin network.
    createTime String
    [Output only] The timestamp when the multicast domain activation was created.
    description String
    An optional text description of the multicast domain activation.
    effectiveLabels Map<String>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    labels Map<String>
    Labels as key-value pairs Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.
    location String
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    multicastDomain String
    The resource name of the multicast domain to activate. Use the following format: projects/*/locations/global/multicastDomains/*.
    multicastDomainActivationId String
    A unique name for the multicast domain activation. The name is restricted to letters, numbers, and hyphen, with the first character a letter, and the last a letter or a number. The name must not exceed 48 characters.
    name String
    Identifier. The resource name of the multicast domain activation. Use the following format: projects/*/locations/*/multicastDomainActivations/*.
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    pulumiLabels Map<String>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    trafficSpec Property Map
    Specifies the traffic volume and multicast group scale parameters that are used to set up multicast infrastructure for a multicast domain in a zone. Structure is documented below.
    uniqueId String
    [Output only] The Google-generated UUID for the resource. This value is unique across all multicast domain activation resources. If a domain activation is deleted and another with the same name is created, the new domain activation is assigned a different unique_id.
    updateTime String
    [Output only] The timestamp when the multicast domain activation was most recently updated.

    Supporting Types

    MulticastDomainActivationTrafficSpec, MulticastDomainActivationTrafficSpecArgs

    AggrEgressPps string
    Aggregated egress Packet-Per-Second for all multicast groups in the domain in this zone.
    AggrIngressPps string
    Aggregated ingress Packet-Per-Second for all multicast groups in the domain in this zone. Default to (aggregated_egress_pps / max_per_group_subscribers) * 2.
    AvgPacketSize int
    Average packet size (Default to 512 bytes).
    MaxPerGroupIngressPps string
    Maximum ingress Packet-Per-Second for a single multicast group in this zone. Default to aggregated_ingress_pps / 2.
    MaxPerGroupSubscribers string
    Maximum number of subscribers for a single multicast group in this zone. Default to max(50, aggregated_egress_pps / aggregated_ingress_pps).
    AggrEgressPps string
    Aggregated egress Packet-Per-Second for all multicast groups in the domain in this zone.
    AggrIngressPps string
    Aggregated ingress Packet-Per-Second for all multicast groups in the domain in this zone. Default to (aggregated_egress_pps / max_per_group_subscribers) * 2.
    AvgPacketSize int
    Average packet size (Default to 512 bytes).
    MaxPerGroupIngressPps string
    Maximum ingress Packet-Per-Second for a single multicast group in this zone. Default to aggregated_ingress_pps / 2.
    MaxPerGroupSubscribers string
    Maximum number of subscribers for a single multicast group in this zone. Default to max(50, aggregated_egress_pps / aggregated_ingress_pps).
    aggrEgressPps String
    Aggregated egress Packet-Per-Second for all multicast groups in the domain in this zone.
    aggrIngressPps String
    Aggregated ingress Packet-Per-Second for all multicast groups in the domain in this zone. Default to (aggregated_egress_pps / max_per_group_subscribers) * 2.
    avgPacketSize Integer
    Average packet size (Default to 512 bytes).
    maxPerGroupIngressPps String
    Maximum ingress Packet-Per-Second for a single multicast group in this zone. Default to aggregated_ingress_pps / 2.
    maxPerGroupSubscribers String
    Maximum number of subscribers for a single multicast group in this zone. Default to max(50, aggregated_egress_pps / aggregated_ingress_pps).
    aggrEgressPps string
    Aggregated egress Packet-Per-Second for all multicast groups in the domain in this zone.
    aggrIngressPps string
    Aggregated ingress Packet-Per-Second for all multicast groups in the domain in this zone. Default to (aggregated_egress_pps / max_per_group_subscribers) * 2.
    avgPacketSize number
    Average packet size (Default to 512 bytes).
    maxPerGroupIngressPps string
    Maximum ingress Packet-Per-Second for a single multicast group in this zone. Default to aggregated_ingress_pps / 2.
    maxPerGroupSubscribers string
    Maximum number of subscribers for a single multicast group in this zone. Default to max(50, aggregated_egress_pps / aggregated_ingress_pps).
    aggr_egress_pps str
    Aggregated egress Packet-Per-Second for all multicast groups in the domain in this zone.
    aggr_ingress_pps str
    Aggregated ingress Packet-Per-Second for all multicast groups in the domain in this zone. Default to (aggregated_egress_pps / max_per_group_subscribers) * 2.
    avg_packet_size int
    Average packet size (Default to 512 bytes).
    max_per_group_ingress_pps str
    Maximum ingress Packet-Per-Second for a single multicast group in this zone. Default to aggregated_ingress_pps / 2.
    max_per_group_subscribers str
    Maximum number of subscribers for a single multicast group in this zone. Default to max(50, aggregated_egress_pps / aggregated_ingress_pps).
    aggrEgressPps String
    Aggregated egress Packet-Per-Second for all multicast groups in the domain in this zone.
    aggrIngressPps String
    Aggregated ingress Packet-Per-Second for all multicast groups in the domain in this zone. Default to (aggregated_egress_pps / max_per_group_subscribers) * 2.
    avgPacketSize Number
    Average packet size (Default to 512 bytes).
    maxPerGroupIngressPps String
    Maximum ingress Packet-Per-Second for a single multicast group in this zone. Default to aggregated_ingress_pps / 2.
    maxPerGroupSubscribers String
    Maximum number of subscribers for a single multicast group in this zone. Default to max(50, aggregated_egress_pps / aggregated_ingress_pps).

    Import

    MulticastDomainActivation can be imported using any of these accepted formats:

    • projects/{{project}}/locations/{{location}}/multicastDomainActivations/{{multicast_domain_activation_id}}

    • {{project}}/{{location}}/{{multicast_domain_activation_id}}

    • {{location}}/{{multicast_domain_activation_id}}

    When using the pulumi import command, MulticastDomainActivation can be imported using one of the formats above. For example:

    $ pulumi import gcp:networkservices/multicastDomainActivation:MulticastDomainActivation default projects/{{project}}/locations/{{location}}/multicastDomainActivations/{{multicast_domain_activation_id}}
    
    $ pulumi import gcp:networkservices/multicastDomainActivation:MulticastDomainActivation default {{project}}/{{location}}/{{multicast_domain_activation_id}}
    
    $ pulumi import gcp:networkservices/multicastDomainActivation:MulticastDomainActivation default {{location}}/{{multicast_domain_activation_id}}
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Google Cloud (GCP) Classic pulumi/pulumi-gcp
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the google-beta Terraform Provider.
    gcp logo
    Google Cloud v9.7.0 published on Wednesday, Dec 24, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate