1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. networkservices
  5. MulticastDomain
Google Cloud v9.6.0 published on Wednesday, Nov 26, 2025 by Pulumi
gcp logo
Google Cloud v9.6.0 published on Wednesday, Nov 26, 2025 by Pulumi

    Create a multicast domain in the current project.

    Example Usage

    Network Services Multicast Domain Basic

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const network = new gcp.compute.Network("network", {
        name: "test-md-network",
        autoCreateSubnetworks: false,
    });
    const mdTest = new gcp.networkservices.MulticastDomain("md_test", {
        multicastDomainId: "test-md-domain",
        location: "global",
        description: "A sample domain",
        labels: {
            "label-one": "value-one",
        },
        adminNetwork: network.id,
        connectionConfig: {
            connectionType: "SAME_VPC",
            nccHub: "",
        },
        multicastDomainGroup: "",
    }, {
        dependsOn: [network],
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    network = gcp.compute.Network("network",
        name="test-md-network",
        auto_create_subnetworks=False)
    md_test = gcp.networkservices.MulticastDomain("md_test",
        multicast_domain_id="test-md-domain",
        location="global",
        description="A sample domain",
        labels={
            "label-one": "value-one",
        },
        admin_network=network.id,
        connection_config={
            "connection_type": "SAME_VPC",
            "ncc_hub": "",
        },
        multicast_domain_group="",
        opts = pulumi.ResourceOptions(depends_on=[network]))
    
    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-md-network"),
    			AutoCreateSubnetworks: pulumi.Bool(false),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = networkservices.NewMulticastDomain(ctx, "md_test", &networkservices.MulticastDomainArgs{
    			MulticastDomainId: pulumi.String("test-md-domain"),
    			Location:          pulumi.String("global"),
    			Description:       pulumi.String("A sample domain"),
    			Labels: pulumi.StringMap{
    				"label-one": pulumi.String("value-one"),
    			},
    			AdminNetwork: network.ID(),
    			ConnectionConfig: &networkservices.MulticastDomainConnectionConfigArgs{
    				ConnectionType: pulumi.String("SAME_VPC"),
    				NccHub:         pulumi.String(""),
    			},
    			MulticastDomainGroup: pulumi.String(""),
    		}, pulumi.DependsOn([]pulumi.Resource{
    			network,
    		}))
    		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-md-network",
            AutoCreateSubnetworks = false,
        });
    
        var mdTest = new Gcp.NetworkServices.MulticastDomain("md_test", new()
        {
            MulticastDomainId = "test-md-domain",
            Location = "global",
            Description = "A sample domain",
            Labels = 
            {
                { "label-one", "value-one" },
            },
            AdminNetwork = network.Id,
            ConnectionConfig = new Gcp.NetworkServices.Inputs.MulticastDomainConnectionConfigArgs
            {
                ConnectionType = "SAME_VPC",
                NccHub = "",
            },
            MulticastDomainGroup = "",
        }, new CustomResourceOptions
        {
            DependsOn =
            {
                network,
            },
        });
    
    });
    
    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.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-md-network")
                .autoCreateSubnetworks(false)
                .build());
    
            var mdTest = new MulticastDomain("mdTest", MulticastDomainArgs.builder()
                .multicastDomainId("test-md-domain")
                .location("global")
                .description("A sample domain")
                .labels(Map.of("label-one", "value-one"))
                .adminNetwork(network.id())
                .connectionConfig(MulticastDomainConnectionConfigArgs.builder()
                    .connectionType("SAME_VPC")
                    .nccHub("")
                    .build())
                .multicastDomainGroup("")
                .build(), CustomResourceOptions.builder()
                    .dependsOn(network)
                    .build());
    
        }
    }
    
    resources:
      network:
        type: gcp:compute:Network
        properties:
          name: test-md-network
          autoCreateSubnetworks: false
      mdTest:
        type: gcp:networkservices:MulticastDomain
        name: md_test
        properties:
          multicastDomainId: test-md-domain
          location: global
          description: A sample domain
          labels:
            label-one: value-one
          adminNetwork: ${network.id}
          connectionConfig:
            connectionType: SAME_VPC
            nccHub: ""
          multicastDomainGroup: ""
        options:
          dependsOn:
            - ${network}
    

    Create MulticastDomain Resource

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

    Constructor syntax

    new MulticastDomain(name: string, args: MulticastDomainArgs, opts?: CustomResourceOptions);
    @overload
    def MulticastDomain(resource_name: str,
                        args: MulticastDomainArgs,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def MulticastDomain(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        admin_network: Optional[str] = None,
                        connection_config: Optional[MulticastDomainConnectionConfigArgs] = None,
                        location: Optional[str] = None,
                        multicast_domain_id: Optional[str] = None,
                        description: Optional[str] = None,
                        labels: Optional[Mapping[str, str]] = None,
                        multicast_domain_group: Optional[str] = None,
                        project: Optional[str] = None)
    func NewMulticastDomain(ctx *Context, name string, args MulticastDomainArgs, opts ...ResourceOption) (*MulticastDomain, error)
    public MulticastDomain(string name, MulticastDomainArgs args, CustomResourceOptions? opts = null)
    public MulticastDomain(String name, MulticastDomainArgs args)
    public MulticastDomain(String name, MulticastDomainArgs args, CustomResourceOptions options)
    
    type: gcp:networkservices:MulticastDomain
    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 MulticastDomainArgs
    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 MulticastDomainArgs
    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 MulticastDomainArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args MulticastDomainArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args MulticastDomainArgs
    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 multicastDomainResource = new Gcp.NetworkServices.MulticastDomain("multicastDomainResource", new()
    {
        AdminNetwork = "string",
        ConnectionConfig = new Gcp.NetworkServices.Inputs.MulticastDomainConnectionConfigArgs
        {
            ConnectionType = "string",
            NccHub = "string",
        },
        Location = "string",
        MulticastDomainId = "string",
        Description = "string",
        Labels = 
        {
            { "string", "string" },
        },
        MulticastDomainGroup = "string",
        Project = "string",
    });
    
    example, err := networkservices.NewMulticastDomain(ctx, "multicastDomainResource", &networkservices.MulticastDomainArgs{
    	AdminNetwork: pulumi.String("string"),
    	ConnectionConfig: &networkservices.MulticastDomainConnectionConfigArgs{
    		ConnectionType: pulumi.String("string"),
    		NccHub:         pulumi.String("string"),
    	},
    	Location:          pulumi.String("string"),
    	MulticastDomainId: pulumi.String("string"),
    	Description:       pulumi.String("string"),
    	Labels: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	MulticastDomainGroup: pulumi.String("string"),
    	Project:              pulumi.String("string"),
    })
    
    var multicastDomainResource = new MulticastDomain("multicastDomainResource", MulticastDomainArgs.builder()
        .adminNetwork("string")
        .connectionConfig(MulticastDomainConnectionConfigArgs.builder()
            .connectionType("string")
            .nccHub("string")
            .build())
        .location("string")
        .multicastDomainId("string")
        .description("string")
        .labels(Map.of("string", "string"))
        .multicastDomainGroup("string")
        .project("string")
        .build());
    
    multicast_domain_resource = gcp.networkservices.MulticastDomain("multicastDomainResource",
        admin_network="string",
        connection_config={
            "connection_type": "string",
            "ncc_hub": "string",
        },
        location="string",
        multicast_domain_id="string",
        description="string",
        labels={
            "string": "string",
        },
        multicast_domain_group="string",
        project="string")
    
    const multicastDomainResource = new gcp.networkservices.MulticastDomain("multicastDomainResource", {
        adminNetwork: "string",
        connectionConfig: {
            connectionType: "string",
            nccHub: "string",
        },
        location: "string",
        multicastDomainId: "string",
        description: "string",
        labels: {
            string: "string",
        },
        multicastDomainGroup: "string",
        project: "string",
    });
    
    type: gcp:networkservices:MulticastDomain
    properties:
        adminNetwork: string
        connectionConfig:
            connectionType: string
            nccHub: string
        description: string
        labels:
            string: string
        location: string
        multicastDomainGroup: string
        multicastDomainId: string
        project: string
    

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

    AdminNetwork string
    The resource name of the multicast admin VPC network. Use the following format: projects/{project}/locations/global/networks/{network}.
    ConnectionConfig MulticastDomainConnectionConfig
    VPC connectivity information. 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.
    MulticastDomainId string
    A unique name for the multicast domain. 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.
    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.
    MulticastDomainGroup string
    The multicast domain group this domain should be associated with. Use the following format: projects/{project}/locations/global/multicastDomainGroups/{multicast_domain_group}.
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    AdminNetwork string
    The resource name of the multicast admin VPC network. Use the following format: projects/{project}/locations/global/networks/{network}.
    ConnectionConfig MulticastDomainConnectionConfigArgs
    VPC connectivity information. 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.
    MulticastDomainId string
    A unique name for the multicast domain. 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.
    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.
    MulticastDomainGroup string
    The multicast domain group this domain should be associated with. Use the following format: projects/{project}/locations/global/multicastDomainGroups/{multicast_domain_group}.
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    adminNetwork String
    The resource name of the multicast admin VPC network. Use the following format: projects/{project}/locations/global/networks/{network}.
    connectionConfig MulticastDomainConnectionConfig
    VPC connectivity information. 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.
    multicastDomainId String
    A unique name for the multicast domain. 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.
    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.
    multicastDomainGroup String
    The multicast domain group this domain should be associated with. Use the following format: projects/{project}/locations/global/multicastDomainGroups/{multicast_domain_group}.
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    adminNetwork string
    The resource name of the multicast admin VPC network. Use the following format: projects/{project}/locations/global/networks/{network}.
    connectionConfig MulticastDomainConnectionConfig
    VPC connectivity information. 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.
    multicastDomainId string
    A unique name for the multicast domain. 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.
    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.
    multicastDomainGroup string
    The multicast domain group this domain should be associated with. Use the following format: projects/{project}/locations/global/multicastDomainGroups/{multicast_domain_group}.
    project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    admin_network str
    The resource name of the multicast admin VPC network. Use the following format: projects/{project}/locations/global/networks/{network}.
    connection_config MulticastDomainConnectionConfigArgs
    VPC connectivity information. 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_id str
    A unique name for the multicast domain. 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.
    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_group str
    The multicast domain group this domain should be associated with. Use the following format: projects/{project}/locations/global/multicastDomainGroups/{multicast_domain_group}.
    project str
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    adminNetwork String
    The resource name of the multicast admin VPC network. Use the following format: projects/{project}/locations/global/networks/{network}.
    connectionConfig Property Map
    VPC connectivity information. 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.
    multicastDomainId String
    A unique name for the multicast domain. 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.
    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.
    multicastDomainGroup String
    The multicast domain group this domain should be associated with. Use the following format: projects/{project}/locations/global/multicastDomainGroups/{multicast_domain_group}.
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

    Outputs

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

    CreateTime string
    [Output only] The timestamp when the multicast domain 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. Use the following format: projects/*/locations/global/multicastDomains/*
    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 resources. If a domain is deleted and another with the same name is created, the new domain is assigned a different unique_id.
    UpdateTime string
    [Output only] The timestamp when the multicast domain was most recently updated.
    CreateTime string
    [Output only] The timestamp when the multicast domain 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. Use the following format: projects/*/locations/global/multicastDomains/*
    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 resources. If a domain is deleted and another with the same name is created, the new domain is assigned a different unique_id.
    UpdateTime string
    [Output only] The timestamp when the multicast domain was most recently updated.
    createTime String
    [Output only] The timestamp when the multicast domain 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. Use the following format: projects/*/locations/global/multicastDomains/*
    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 resources. If a domain is deleted and another with the same name is created, the new domain is assigned a different unique_id.
    updateTime String
    [Output only] The timestamp when the multicast domain was most recently updated.
    createTime string
    [Output only] The timestamp when the multicast domain 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. Use the following format: projects/*/locations/global/multicastDomains/*
    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 resources. If a domain is deleted and another with the same name is created, the new domain is assigned a different unique_id.
    updateTime string
    [Output only] The timestamp when the multicast domain was most recently updated.
    create_time str
    [Output only] The timestamp when the multicast domain 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. Use the following format: projects/*/locations/global/multicastDomains/*
    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 resources. If a domain is deleted and another with the same name is created, the new domain is assigned a different unique_id.
    update_time str
    [Output only] The timestamp when the multicast domain was most recently updated.
    createTime String
    [Output only] The timestamp when the multicast domain 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. Use the following format: projects/*/locations/global/multicastDomains/*
    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 resources. If a domain is deleted and another with the same name is created, the new domain is assigned a different unique_id.
    updateTime String
    [Output only] The timestamp when the multicast domain was most recently updated.

    Look up Existing MulticastDomain Resource

    Get an existing MulticastDomain 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?: MulticastDomainState, opts?: CustomResourceOptions): MulticastDomain
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            admin_network: Optional[str] = None,
            connection_config: Optional[MulticastDomainConnectionConfigArgs] = 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_group: Optional[str] = None,
            multicast_domain_id: Optional[str] = None,
            name: Optional[str] = None,
            project: Optional[str] = None,
            pulumi_labels: Optional[Mapping[str, str]] = None,
            unique_id: Optional[str] = None,
            update_time: Optional[str] = None) -> MulticastDomain
    func GetMulticastDomain(ctx *Context, name string, id IDInput, state *MulticastDomainState, opts ...ResourceOption) (*MulticastDomain, error)
    public static MulticastDomain Get(string name, Input<string> id, MulticastDomainState? state, CustomResourceOptions? opts = null)
    public static MulticastDomain get(String name, Output<String> id, MulticastDomainState state, CustomResourceOptions options)
    resources:  _:    type: gcp:networkservices:MulticastDomain    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
    The resource name of the multicast admin VPC network. Use the following format: projects/{project}/locations/global/networks/{network}.
    ConnectionConfig MulticastDomainConnectionConfig
    VPC connectivity information. Structure is documented below.
    CreateTime string
    [Output only] The timestamp when the multicast domain was created.
    Description string
    An optional text description of the multicast domain.
    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.
    MulticastDomainGroup string
    The multicast domain group this domain should be associated with. Use the following format: projects/{project}/locations/global/multicastDomainGroups/{multicast_domain_group}.
    MulticastDomainId string
    A unique name for the multicast domain. 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. 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.
    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 resources. If a domain is deleted and another with the same name is created, the new domain is assigned a different unique_id.
    UpdateTime string
    [Output only] The timestamp when the multicast domain was most recently updated.
    AdminNetwork string
    The resource name of the multicast admin VPC network. Use the following format: projects/{project}/locations/global/networks/{network}.
    ConnectionConfig MulticastDomainConnectionConfigArgs
    VPC connectivity information. Structure is documented below.
    CreateTime string
    [Output only] The timestamp when the multicast domain was created.
    Description string
    An optional text description of the multicast domain.
    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.
    MulticastDomainGroup string
    The multicast domain group this domain should be associated with. Use the following format: projects/{project}/locations/global/multicastDomainGroups/{multicast_domain_group}.
    MulticastDomainId string
    A unique name for the multicast domain. 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. 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.
    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 resources. If a domain is deleted and another with the same name is created, the new domain is assigned a different unique_id.
    UpdateTime string
    [Output only] The timestamp when the multicast domain was most recently updated.
    adminNetwork String
    The resource name of the multicast admin VPC network. Use the following format: projects/{project}/locations/global/networks/{network}.
    connectionConfig MulticastDomainConnectionConfig
    VPC connectivity information. Structure is documented below.
    createTime String
    [Output only] The timestamp when the multicast domain was created.
    description String
    An optional text description of the multicast domain.
    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.
    multicastDomainGroup String
    The multicast domain group this domain should be associated with. Use the following format: projects/{project}/locations/global/multicastDomainGroups/{multicast_domain_group}.
    multicastDomainId String
    A unique name for the multicast domain. 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. 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.
    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 resources. If a domain is deleted and another with the same name is created, the new domain is assigned a different unique_id.
    updateTime String
    [Output only] The timestamp when the multicast domain was most recently updated.
    adminNetwork string
    The resource name of the multicast admin VPC network. Use the following format: projects/{project}/locations/global/networks/{network}.
    connectionConfig MulticastDomainConnectionConfig
    VPC connectivity information. Structure is documented below.
    createTime string
    [Output only] The timestamp when the multicast domain was created.
    description string
    An optional text description of the multicast domain.
    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.
    multicastDomainGroup string
    The multicast domain group this domain should be associated with. Use the following format: projects/{project}/locations/global/multicastDomainGroups/{multicast_domain_group}.
    multicastDomainId string
    A unique name for the multicast domain. 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. 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.
    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 resources. If a domain is deleted and another with the same name is created, the new domain is assigned a different unique_id.
    updateTime string
    [Output only] The timestamp when the multicast domain was most recently updated.
    admin_network str
    The resource name of the multicast admin VPC network. Use the following format: projects/{project}/locations/global/networks/{network}.
    connection_config MulticastDomainConnectionConfigArgs
    VPC connectivity information. Structure is documented below.
    create_time str
    [Output only] The timestamp when the multicast domain was created.
    description str
    An optional text description of the multicast domain.
    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_group str
    The multicast domain group this domain should be associated with. Use the following format: projects/{project}/locations/global/multicastDomainGroups/{multicast_domain_group}.
    multicast_domain_id str
    A unique name for the multicast domain. 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. 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.
    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 resources. If a domain is deleted and another with the same name is created, the new domain is assigned a different unique_id.
    update_time str
    [Output only] The timestamp when the multicast domain was most recently updated.
    adminNetwork String
    The resource name of the multicast admin VPC network. Use the following format: projects/{project}/locations/global/networks/{network}.
    connectionConfig Property Map
    VPC connectivity information. Structure is documented below.
    createTime String
    [Output only] The timestamp when the multicast domain was created.
    description String
    An optional text description of the multicast domain.
    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.
    multicastDomainGroup String
    The multicast domain group this domain should be associated with. Use the following format: projects/{project}/locations/global/multicastDomainGroups/{multicast_domain_group}.
    multicastDomainId String
    A unique name for the multicast domain. 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. 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.
    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 resources. If a domain is deleted and another with the same name is created, the new domain is assigned a different unique_id.
    updateTime String
    [Output only] The timestamp when the multicast domain was most recently updated.

    Supporting Types

    MulticastDomainConnectionConfig, MulticastDomainConnectionConfigArgs

    ConnectionType string
    The VPC connection type. Possible values: NCC SAME_VPC
    NccHub string
    The resource name of the NCC hub. Use the following format: projects/{project}/locations/global/hubs/{hub}.
    ConnectionType string
    The VPC connection type. Possible values: NCC SAME_VPC
    NccHub string
    The resource name of the NCC hub. Use the following format: projects/{project}/locations/global/hubs/{hub}.
    connectionType String
    The VPC connection type. Possible values: NCC SAME_VPC
    nccHub String
    The resource name of the NCC hub. Use the following format: projects/{project}/locations/global/hubs/{hub}.
    connectionType string
    The VPC connection type. Possible values: NCC SAME_VPC
    nccHub string
    The resource name of the NCC hub. Use the following format: projects/{project}/locations/global/hubs/{hub}.
    connection_type str
    The VPC connection type. Possible values: NCC SAME_VPC
    ncc_hub str
    The resource name of the NCC hub. Use the following format: projects/{project}/locations/global/hubs/{hub}.
    connectionType String
    The VPC connection type. Possible values: NCC SAME_VPC
    nccHub String
    The resource name of the NCC hub. Use the following format: projects/{project}/locations/global/hubs/{hub}.

    Import

    MulticastDomain can be imported using any of these accepted formats:

    • projects/{{project}}/locations/{{location}}/multicastDomains/{{multicast_domain_id}}

    • {{project}}/{{location}}/{{multicast_domain_id}}

    • {{location}}/{{multicast_domain_id}}

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

    $ pulumi import gcp:networkservices/multicastDomain:MulticastDomain default projects/{{project}}/locations/{{location}}/multicastDomains/{{multicast_domain_id}}
    
    $ pulumi import gcp:networkservices/multicastDomain:MulticastDomain default {{project}}/{{location}}/{{multicast_domain_id}}
    
    $ pulumi import gcp:networkservices/multicastDomain:MulticastDomain default {{location}}/{{multicast_domain_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.6.0 published on Wednesday, Nov 26, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate