1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. networkservices
  5. MulticastGroupRange
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 group range in the current project.

    Example Usage

    Network Services Multicast Group Range Basic

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const network = new gcp.compute.Network("network", {
        name: "test-mgr-network",
        autoCreateSubnetworks: false,
    });
    const multicastDomain = new gcp.networkservices.MulticastDomain("multicast_domain", {
        multicastDomainId: "test-mgr-domain",
        location: "global",
        adminNetwork: network.id,
        connectionConfig: {
            connectionType: "SAME_VPC",
        },
    }, {
        dependsOn: [network],
    });
    const internalRange = new gcp.networkconnectivity.InternalRange("internal_range", {
        name: "test-mgr-internal-range",
        network: network.selfLink,
        usage: "FOR_VPC",
        peering: "FOR_SELF",
        ipCidrRange: "224.2.0.2/32",
    });
    const mgrTest = new gcp.networkservices.MulticastGroupRange("mgr_test", {
        multicastGroupRangeId: "test-mgr-group-range",
        location: "global",
        reservedInternalRange: internalRange.id,
        multicastDomain: multicastDomain.id,
        distributionScope: "INTRA_ZONE",
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    network = gcp.compute.Network("network",
        name="test-mgr-network",
        auto_create_subnetworks=False)
    multicast_domain = gcp.networkservices.MulticastDomain("multicast_domain",
        multicast_domain_id="test-mgr-domain",
        location="global",
        admin_network=network.id,
        connection_config={
            "connection_type": "SAME_VPC",
        },
        opts = pulumi.ResourceOptions(depends_on=[network]))
    internal_range = gcp.networkconnectivity.InternalRange("internal_range",
        name="test-mgr-internal-range",
        network=network.self_link,
        usage="FOR_VPC",
        peering="FOR_SELF",
        ip_cidr_range="224.2.0.2/32")
    mgr_test = gcp.networkservices.MulticastGroupRange("mgr_test",
        multicast_group_range_id="test-mgr-group-range",
        location="global",
        reserved_internal_range=internal_range.id,
        multicast_domain=multicast_domain.id,
        distribution_scope="INTRA_ZONE")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v9/go/gcp/compute"
    	"github.com/pulumi/pulumi-gcp/sdk/v9/go/gcp/networkconnectivity"
    	"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-mgr-network"),
    			AutoCreateSubnetworks: pulumi.Bool(false),
    		})
    		if err != nil {
    			return err
    		}
    		multicastDomain, err := networkservices.NewMulticastDomain(ctx, "multicast_domain", &networkservices.MulticastDomainArgs{
    			MulticastDomainId: pulumi.String("test-mgr-domain"),
    			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
    		}
    		internalRange, err := networkconnectivity.NewInternalRange(ctx, "internal_range", &networkconnectivity.InternalRangeArgs{
    			Name:        pulumi.String("test-mgr-internal-range"),
    			Network:     network.SelfLink,
    			Usage:       pulumi.String("FOR_VPC"),
    			Peering:     pulumi.String("FOR_SELF"),
    			IpCidrRange: pulumi.String("224.2.0.2/32"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = networkservices.NewMulticastGroupRange(ctx, "mgr_test", &networkservices.MulticastGroupRangeArgs{
    			MulticastGroupRangeId: pulumi.String("test-mgr-group-range"),
    			Location:              pulumi.String("global"),
    			ReservedInternalRange: internalRange.ID(),
    			MulticastDomain:       multicastDomain.ID(),
    			DistributionScope:     pulumi.String("INTRA_ZONE"),
    		})
    		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-mgr-network",
            AutoCreateSubnetworks = false,
        });
    
        var multicastDomain = new Gcp.NetworkServices.MulticastDomain("multicast_domain", new()
        {
            MulticastDomainId = "test-mgr-domain",
            Location = "global",
            AdminNetwork = network.Id,
            ConnectionConfig = new Gcp.NetworkServices.Inputs.MulticastDomainConnectionConfigArgs
            {
                ConnectionType = "SAME_VPC",
            },
        }, new CustomResourceOptions
        {
            DependsOn =
            {
                network,
            },
        });
    
        var internalRange = new Gcp.NetworkConnectivity.InternalRange("internal_range", new()
        {
            Name = "test-mgr-internal-range",
            Network = network.SelfLink,
            Usage = "FOR_VPC",
            Peering = "FOR_SELF",
            IpCidrRange = "224.2.0.2/32",
        });
    
        var mgrTest = new Gcp.NetworkServices.MulticastGroupRange("mgr_test", new()
        {
            MulticastGroupRangeId = "test-mgr-group-range",
            Location = "global",
            ReservedInternalRange = internalRange.Id,
            MulticastDomain = multicastDomain.Id,
            DistributionScope = "INTRA_ZONE",
        });
    
    });
    
    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.networkconnectivity.InternalRange;
    import com.pulumi.gcp.networkconnectivity.InternalRangeArgs;
    import com.pulumi.gcp.networkservices.MulticastGroupRange;
    import com.pulumi.gcp.networkservices.MulticastGroupRangeArgs;
    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-mgr-network")
                .autoCreateSubnetworks(false)
                .build());
    
            var multicastDomain = new MulticastDomain("multicastDomain", MulticastDomainArgs.builder()
                .multicastDomainId("test-mgr-domain")
                .location("global")
                .adminNetwork(network.id())
                .connectionConfig(MulticastDomainConnectionConfigArgs.builder()
                    .connectionType("SAME_VPC")
                    .build())
                .build(), CustomResourceOptions.builder()
                    .dependsOn(network)
                    .build());
    
            var internalRange = new InternalRange("internalRange", InternalRangeArgs.builder()
                .name("test-mgr-internal-range")
                .network(network.selfLink())
                .usage("FOR_VPC")
                .peering("FOR_SELF")
                .ipCidrRange("224.2.0.2/32")
                .build());
    
            var mgrTest = new MulticastGroupRange("mgrTest", MulticastGroupRangeArgs.builder()
                .multicastGroupRangeId("test-mgr-group-range")
                .location("global")
                .reservedInternalRange(internalRange.id())
                .multicastDomain(multicastDomain.id())
                .distributionScope("INTRA_ZONE")
                .build());
    
        }
    }
    
    resources:
      network:
        type: gcp:compute:Network
        properties:
          name: test-mgr-network
          autoCreateSubnetworks: false
      multicastDomain:
        type: gcp:networkservices:MulticastDomain
        name: multicast_domain
        properties:
          multicastDomainId: test-mgr-domain
          location: global
          adminNetwork: ${network.id}
          connectionConfig:
            connectionType: SAME_VPC
        options:
          dependsOn:
            - ${network}
      internalRange:
        type: gcp:networkconnectivity:InternalRange
        name: internal_range
        properties:
          name: test-mgr-internal-range
          network: ${network.selfLink}
          usage: FOR_VPC
          peering: FOR_SELF
          ipCidrRange: 224.2.0.2/32
      mgrTest:
        type: gcp:networkservices:MulticastGroupRange
        name: mgr_test
        properties:
          multicastGroupRangeId: test-mgr-group-range
          location: global
          reservedInternalRange: ${internalRange.id}
          multicastDomain: ${multicastDomain.id}
          distributionScope: INTRA_ZONE
    

    Create MulticastGroupRange Resource

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

    Constructor syntax

    new MulticastGroupRange(name: string, args: MulticastGroupRangeArgs, opts?: CustomResourceOptions);
    @overload
    def MulticastGroupRange(resource_name: str,
                            args: MulticastGroupRangeArgs,
                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def MulticastGroupRange(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            location: Optional[str] = None,
                            multicast_domain: Optional[str] = None,
                            multicast_group_range_id: Optional[str] = None,
                            reserved_internal_range: Optional[str] = None,
                            consumer_accept_lists: Optional[Sequence[str]] = None,
                            description: Optional[str] = None,
                            distribution_scope: Optional[str] = None,
                            labels: Optional[Mapping[str, str]] = None,
                            log_config: Optional[MulticastGroupRangeLogConfigArgs] = None,
                            project: Optional[str] = None,
                            require_explicit_accept: Optional[bool] = None)
    func NewMulticastGroupRange(ctx *Context, name string, args MulticastGroupRangeArgs, opts ...ResourceOption) (*MulticastGroupRange, error)
    public MulticastGroupRange(string name, MulticastGroupRangeArgs args, CustomResourceOptions? opts = null)
    public MulticastGroupRange(String name, MulticastGroupRangeArgs args)
    public MulticastGroupRange(String name, MulticastGroupRangeArgs args, CustomResourceOptions options)
    
    type: gcp:networkservices:MulticastGroupRange
    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 MulticastGroupRangeArgs
    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 MulticastGroupRangeArgs
    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 MulticastGroupRangeArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args MulticastGroupRangeArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args MulticastGroupRangeArgs
    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 multicastGroupRangeResource = new Gcp.NetworkServices.MulticastGroupRange("multicastGroupRangeResource", new()
    {
        Location = "string",
        MulticastDomain = "string",
        MulticastGroupRangeId = "string",
        ReservedInternalRange = "string",
        ConsumerAcceptLists = new[]
        {
            "string",
        },
        Description = "string",
        DistributionScope = "string",
        Labels = 
        {
            { "string", "string" },
        },
        LogConfig = new Gcp.NetworkServices.Inputs.MulticastGroupRangeLogConfigArgs
        {
            Enabled = false,
        },
        Project = "string",
        RequireExplicitAccept = false,
    });
    
    example, err := networkservices.NewMulticastGroupRange(ctx, "multicastGroupRangeResource", &networkservices.MulticastGroupRangeArgs{
    	Location:              pulumi.String("string"),
    	MulticastDomain:       pulumi.String("string"),
    	MulticastGroupRangeId: pulumi.String("string"),
    	ReservedInternalRange: pulumi.String("string"),
    	ConsumerAcceptLists: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Description:       pulumi.String("string"),
    	DistributionScope: pulumi.String("string"),
    	Labels: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	LogConfig: &networkservices.MulticastGroupRangeLogConfigArgs{
    		Enabled: pulumi.Bool(false),
    	},
    	Project:               pulumi.String("string"),
    	RequireExplicitAccept: pulumi.Bool(false),
    })
    
    var multicastGroupRangeResource = new MulticastGroupRange("multicastGroupRangeResource", MulticastGroupRangeArgs.builder()
        .location("string")
        .multicastDomain("string")
        .multicastGroupRangeId("string")
        .reservedInternalRange("string")
        .consumerAcceptLists("string")
        .description("string")
        .distributionScope("string")
        .labels(Map.of("string", "string"))
        .logConfig(MulticastGroupRangeLogConfigArgs.builder()
            .enabled(false)
            .build())
        .project("string")
        .requireExplicitAccept(false)
        .build());
    
    multicast_group_range_resource = gcp.networkservices.MulticastGroupRange("multicastGroupRangeResource",
        location="string",
        multicast_domain="string",
        multicast_group_range_id="string",
        reserved_internal_range="string",
        consumer_accept_lists=["string"],
        description="string",
        distribution_scope="string",
        labels={
            "string": "string",
        },
        log_config={
            "enabled": False,
        },
        project="string",
        require_explicit_accept=False)
    
    const multicastGroupRangeResource = new gcp.networkservices.MulticastGroupRange("multicastGroupRangeResource", {
        location: "string",
        multicastDomain: "string",
        multicastGroupRangeId: "string",
        reservedInternalRange: "string",
        consumerAcceptLists: ["string"],
        description: "string",
        distributionScope: "string",
        labels: {
            string: "string",
        },
        logConfig: {
            enabled: false,
        },
        project: "string",
        requireExplicitAccept: false,
    });
    
    type: gcp:networkservices:MulticastGroupRange
    properties:
        consumerAcceptLists:
            - string
        description: string
        distributionScope: string
        labels:
            string: string
        location: string
        logConfig:
            enabled: false
        multicastDomain: string
        multicastGroupRangeId: string
        project: string
        requireExplicitAccept: false
        reservedInternalRange: string
    

    MulticastGroupRange 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 MulticastGroupRange 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.
    MulticastDomain string
    The resource name of the multicast domain in which to create this multicast group range. Use the following format: projects/*/locations/global/multicastDomains/*.
    MulticastGroupRangeId string
    A unique name for the multicast group range. 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.
    ReservedInternalRange string
    The resource name of the internal range reserved for this multicast group range. The internal range must be a Class D address (224.0.0.0 to 239.255.255.255) and have a prefix length >= 23. Use the following format: projects/*/locations/global/internalRanges/*.
    ConsumerAcceptLists List<string>
    A list of consumer projects that are allowed to subscribe to the multicast IP addresses within the range defined by this MulticastGroupRange. The project can be specified using its project ID or project number. If left empty, then all consumer projects are allowed (unless require_explicit_accept is set to true) once they have VPC networks associated to the multicast domain. The current max length of the accept list is 100.
    Description string
    An optional text description of the multicast group range.
    DistributionScope string
    Multicast group range's distribution scope. Intra-zone or intra-region cross-zone is supported, with default value being intra-region. Cross region distribution is not supported. Possible values: INTRA_ZONE INTRA_REGION
    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.
    LogConfig MulticastGroupRangeLogConfig
    The logging configuration. Structure is documented below.
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    RequireExplicitAccept bool
    Whether an empty consumer_accept_list will deny all consumer projects.
    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 in which to create this multicast group range. Use the following format: projects/*/locations/global/multicastDomains/*.
    MulticastGroupRangeId string
    A unique name for the multicast group range. 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.
    ReservedInternalRange string
    The resource name of the internal range reserved for this multicast group range. The internal range must be a Class D address (224.0.0.0 to 239.255.255.255) and have a prefix length >= 23. Use the following format: projects/*/locations/global/internalRanges/*.
    ConsumerAcceptLists []string
    A list of consumer projects that are allowed to subscribe to the multicast IP addresses within the range defined by this MulticastGroupRange. The project can be specified using its project ID or project number. If left empty, then all consumer projects are allowed (unless require_explicit_accept is set to true) once they have VPC networks associated to the multicast domain. The current max length of the accept list is 100.
    Description string
    An optional text description of the multicast group range.
    DistributionScope string
    Multicast group range's distribution scope. Intra-zone or intra-region cross-zone is supported, with default value being intra-region. Cross region distribution is not supported. Possible values: INTRA_ZONE INTRA_REGION
    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.
    LogConfig MulticastGroupRangeLogConfigArgs
    The logging configuration. Structure is documented below.
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    RequireExplicitAccept bool
    Whether an empty consumer_accept_list will deny all consumer projects.
    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 in which to create this multicast group range. Use the following format: projects/*/locations/global/multicastDomains/*.
    multicastGroupRangeId String
    A unique name for the multicast group range. 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.
    reservedInternalRange String
    The resource name of the internal range reserved for this multicast group range. The internal range must be a Class D address (224.0.0.0 to 239.255.255.255) and have a prefix length >= 23. Use the following format: projects/*/locations/global/internalRanges/*.
    consumerAcceptLists List<String>
    A list of consumer projects that are allowed to subscribe to the multicast IP addresses within the range defined by this MulticastGroupRange. The project can be specified using its project ID or project number. If left empty, then all consumer projects are allowed (unless require_explicit_accept is set to true) once they have VPC networks associated to the multicast domain. The current max length of the accept list is 100.
    description String
    An optional text description of the multicast group range.
    distributionScope String
    Multicast group range's distribution scope. Intra-zone or intra-region cross-zone is supported, with default value being intra-region. Cross region distribution is not supported. Possible values: INTRA_ZONE INTRA_REGION
    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.
    logConfig MulticastGroupRangeLogConfig
    The logging configuration. Structure is documented below.
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    requireExplicitAccept Boolean
    Whether an empty consumer_accept_list will deny all consumer projects.
    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 in which to create this multicast group range. Use the following format: projects/*/locations/global/multicastDomains/*.
    multicastGroupRangeId string
    A unique name for the multicast group range. 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.
    reservedInternalRange string
    The resource name of the internal range reserved for this multicast group range. The internal range must be a Class D address (224.0.0.0 to 239.255.255.255) and have a prefix length >= 23. Use the following format: projects/*/locations/global/internalRanges/*.
    consumerAcceptLists string[]
    A list of consumer projects that are allowed to subscribe to the multicast IP addresses within the range defined by this MulticastGroupRange. The project can be specified using its project ID or project number. If left empty, then all consumer projects are allowed (unless require_explicit_accept is set to true) once they have VPC networks associated to the multicast domain. The current max length of the accept list is 100.
    description string
    An optional text description of the multicast group range.
    distributionScope string
    Multicast group range's distribution scope. Intra-zone or intra-region cross-zone is supported, with default value being intra-region. Cross region distribution is not supported. Possible values: INTRA_ZONE INTRA_REGION
    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.
    logConfig MulticastGroupRangeLogConfig
    The logging configuration. Structure is documented below.
    project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    requireExplicitAccept boolean
    Whether an empty consumer_accept_list will deny all consumer projects.
    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 in which to create this multicast group range. Use the following format: projects/*/locations/global/multicastDomains/*.
    multicast_group_range_id str
    A unique name for the multicast group range. 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.
    reserved_internal_range str
    The resource name of the internal range reserved for this multicast group range. The internal range must be a Class D address (224.0.0.0 to 239.255.255.255) and have a prefix length >= 23. Use the following format: projects/*/locations/global/internalRanges/*.
    consumer_accept_lists Sequence[str]
    A list of consumer projects that are allowed to subscribe to the multicast IP addresses within the range defined by this MulticastGroupRange. The project can be specified using its project ID or project number. If left empty, then all consumer projects are allowed (unless require_explicit_accept is set to true) once they have VPC networks associated to the multicast domain. The current max length of the accept list is 100.
    description str
    An optional text description of the multicast group range.
    distribution_scope str
    Multicast group range's distribution scope. Intra-zone or intra-region cross-zone is supported, with default value being intra-region. Cross region distribution is not supported. Possible values: INTRA_ZONE INTRA_REGION
    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.
    log_config MulticastGroupRangeLogConfigArgs
    The logging configuration. Structure is documented below.
    project str
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    require_explicit_accept bool
    Whether an empty consumer_accept_list will deny all consumer projects.
    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 in which to create this multicast group range. Use the following format: projects/*/locations/global/multicastDomains/*.
    multicastGroupRangeId String
    A unique name for the multicast group range. 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.
    reservedInternalRange String
    The resource name of the internal range reserved for this multicast group range. The internal range must be a Class D address (224.0.0.0 to 239.255.255.255) and have a prefix length >= 23. Use the following format: projects/*/locations/global/internalRanges/*.
    consumerAcceptLists List<String>
    A list of consumer projects that are allowed to subscribe to the multicast IP addresses within the range defined by this MulticastGroupRange. The project can be specified using its project ID or project number. If left empty, then all consumer projects are allowed (unless require_explicit_accept is set to true) once they have VPC networks associated to the multicast domain. The current max length of the accept list is 100.
    description String
    An optional text description of the multicast group range.
    distributionScope String
    Multicast group range's distribution scope. Intra-zone or intra-region cross-zone is supported, with default value being intra-region. Cross region distribution is not supported. Possible values: INTRA_ZONE INTRA_REGION
    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.
    logConfig Property Map
    The logging configuration. Structure is documented below.
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    requireExplicitAccept Boolean
    Whether an empty consumer_accept_list will deny all consumer projects.

    Outputs

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

    CreateTime string
    [Output only] The timestamp when the multicast group range 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.
    IpCidrRange string
    [Output only] The multicast group IP address range.
    Name string
    Identifier. The resource name of the multicast group range. Use the following format: projects/*/locations/global/multicastGroupRanges/*.
    PulumiLabels Dictionary<string, string>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    States List<MulticastGroupRangeState>
    (Output) The state of the multicast resource. Possible values: CREATING ACTIVE DELETING DELETE_FAILED UPDATING UPDATE_FAILED INACTIVE
    UniqueId string
    [Output only] The Google-generated UUID for the resource. This value is unique across all multicast group range resources. If a group range is deleted and another with the same name is created, the new group range is assigned a different unique_id.
    UpdateTime string
    [Output only] The timestamp when the multicast group range was most recently updated.
    CreateTime string
    [Output only] The timestamp when the multicast group range 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.
    IpCidrRange string
    [Output only] The multicast group IP address range.
    Name string
    Identifier. The resource name of the multicast group range. Use the following format: projects/*/locations/global/multicastGroupRanges/*.
    PulumiLabels map[string]string
    The combination of labels configured directly on the resource and default labels configured on the provider.
    States []MulticastGroupRangeStateType
    (Output) The state of the multicast resource. Possible values: CREATING ACTIVE DELETING DELETE_FAILED UPDATING UPDATE_FAILED INACTIVE
    UniqueId string
    [Output only] The Google-generated UUID for the resource. This value is unique across all multicast group range resources. If a group range is deleted and another with the same name is created, the new group range is assigned a different unique_id.
    UpdateTime string
    [Output only] The timestamp when the multicast group range was most recently updated.
    createTime String
    [Output only] The timestamp when the multicast group range 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.
    ipCidrRange String
    [Output only] The multicast group IP address range.
    name String
    Identifier. The resource name of the multicast group range. Use the following format: projects/*/locations/global/multicastGroupRanges/*.
    pulumiLabels Map<String,String>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    states List<MulticastGroupRangeState>
    (Output) The state of the multicast resource. Possible values: CREATING ACTIVE DELETING DELETE_FAILED UPDATING UPDATE_FAILED INACTIVE
    uniqueId String
    [Output only] The Google-generated UUID for the resource. This value is unique across all multicast group range resources. If a group range is deleted and another with the same name is created, the new group range is assigned a different unique_id.
    updateTime String
    [Output only] The timestamp when the multicast group range was most recently updated.
    createTime string
    [Output only] The timestamp when the multicast group range 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.
    ipCidrRange string
    [Output only] The multicast group IP address range.
    name string
    Identifier. The resource name of the multicast group range. Use the following format: projects/*/locations/global/multicastGroupRanges/*.
    pulumiLabels {[key: string]: string}
    The combination of labels configured directly on the resource and default labels configured on the provider.
    states MulticastGroupRangeState[]
    (Output) The state of the multicast resource. Possible values: CREATING ACTIVE DELETING DELETE_FAILED UPDATING UPDATE_FAILED INACTIVE
    uniqueId string
    [Output only] The Google-generated UUID for the resource. This value is unique across all multicast group range resources. If a group range is deleted and another with the same name is created, the new group range is assigned a different unique_id.
    updateTime string
    [Output only] The timestamp when the multicast group range was most recently updated.
    create_time str
    [Output only] The timestamp when the multicast group range 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.
    ip_cidr_range str
    [Output only] The multicast group IP address range.
    name str
    Identifier. The resource name of the multicast group range. Use the following format: projects/*/locations/global/multicastGroupRanges/*.
    pulumi_labels Mapping[str, str]
    The combination of labels configured directly on the resource and default labels configured on the provider.
    states Sequence[MulticastGroupRangeState]
    (Output) The state of the multicast resource. Possible values: CREATING ACTIVE DELETING DELETE_FAILED UPDATING UPDATE_FAILED INACTIVE
    unique_id str
    [Output only] The Google-generated UUID for the resource. This value is unique across all multicast group range resources. If a group range is deleted and another with the same name is created, the new group range is assigned a different unique_id.
    update_time str
    [Output only] The timestamp when the multicast group range was most recently updated.
    createTime String
    [Output only] The timestamp when the multicast group range 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.
    ipCidrRange String
    [Output only] The multicast group IP address range.
    name String
    Identifier. The resource name of the multicast group range. Use the following format: projects/*/locations/global/multicastGroupRanges/*.
    pulumiLabels Map<String>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    states List<Property Map>
    (Output) The state of the multicast resource. Possible values: CREATING ACTIVE DELETING DELETE_FAILED UPDATING UPDATE_FAILED INACTIVE
    uniqueId String
    [Output only] The Google-generated UUID for the resource. This value is unique across all multicast group range resources. If a group range is deleted and another with the same name is created, the new group range is assigned a different unique_id.
    updateTime String
    [Output only] The timestamp when the multicast group range was most recently updated.

    Look up Existing MulticastGroupRange Resource

    Get an existing MulticastGroupRange 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?: MulticastGroupRangeState, opts?: CustomResourceOptions): MulticastGroupRange
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            consumer_accept_lists: Optional[Sequence[str]] = None,
            create_time: Optional[str] = None,
            description: Optional[str] = None,
            distribution_scope: Optional[str] = None,
            effective_labels: Optional[Mapping[str, str]] = None,
            ip_cidr_range: Optional[str] = None,
            labels: Optional[Mapping[str, str]] = None,
            location: Optional[str] = None,
            log_config: Optional[MulticastGroupRangeLogConfigArgs] = None,
            multicast_domain: Optional[str] = None,
            multicast_group_range_id: Optional[str] = None,
            name: Optional[str] = None,
            project: Optional[str] = None,
            pulumi_labels: Optional[Mapping[str, str]] = None,
            require_explicit_accept: Optional[bool] = None,
            reserved_internal_range: Optional[str] = None,
            states: Optional[Sequence[MulticastGroupRangeStateArgs]] = None,
            unique_id: Optional[str] = None,
            update_time: Optional[str] = None) -> MulticastGroupRange
    func GetMulticastGroupRange(ctx *Context, name string, id IDInput, state *MulticastGroupRangeState, opts ...ResourceOption) (*MulticastGroupRange, error)
    public static MulticastGroupRange Get(string name, Input<string> id, MulticastGroupRangeState? state, CustomResourceOptions? opts = null)
    public static MulticastGroupRange get(String name, Output<String> id, MulticastGroupRangeState state, CustomResourceOptions options)
    resources:  _:    type: gcp:networkservices:MulticastGroupRange    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:
    ConsumerAcceptLists List<string>
    A list of consumer projects that are allowed to subscribe to the multicast IP addresses within the range defined by this MulticastGroupRange. The project can be specified using its project ID or project number. If left empty, then all consumer projects are allowed (unless require_explicit_accept is set to true) once they have VPC networks associated to the multicast domain. The current max length of the accept list is 100.
    CreateTime string
    [Output only] The timestamp when the multicast group range was created.
    Description string
    An optional text description of the multicast group range.
    DistributionScope string
    Multicast group range's distribution scope. Intra-zone or intra-region cross-zone is supported, with default value being intra-region. Cross region distribution is not supported. Possible values: INTRA_ZONE INTRA_REGION
    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.
    IpCidrRange string
    [Output only] The multicast group IP address range.
    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.
    LogConfig MulticastGroupRangeLogConfig
    The logging configuration. Structure is documented below.
    MulticastDomain string
    The resource name of the multicast domain in which to create this multicast group range. Use the following format: projects/*/locations/global/multicastDomains/*.
    MulticastGroupRangeId string
    A unique name for the multicast group range. 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 group range. Use the following format: projects/*/locations/global/multicastGroupRanges/*.
    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.
    RequireExplicitAccept bool
    Whether an empty consumer_accept_list will deny all consumer projects.
    ReservedInternalRange string
    The resource name of the internal range reserved for this multicast group range. The internal range must be a Class D address (224.0.0.0 to 239.255.255.255) and have a prefix length >= 23. Use the following format: projects/*/locations/global/internalRanges/*.
    States List<MulticastGroupRangeState>
    (Output) The state of the multicast resource. Possible values: CREATING ACTIVE DELETING DELETE_FAILED UPDATING UPDATE_FAILED INACTIVE
    UniqueId string
    [Output only] The Google-generated UUID for the resource. This value is unique across all multicast group range resources. If a group range is deleted and another with the same name is created, the new group range is assigned a different unique_id.
    UpdateTime string
    [Output only] The timestamp when the multicast group range was most recently updated.
    ConsumerAcceptLists []string
    A list of consumer projects that are allowed to subscribe to the multicast IP addresses within the range defined by this MulticastGroupRange. The project can be specified using its project ID or project number. If left empty, then all consumer projects are allowed (unless require_explicit_accept is set to true) once they have VPC networks associated to the multicast domain. The current max length of the accept list is 100.
    CreateTime string
    [Output only] The timestamp when the multicast group range was created.
    Description string
    An optional text description of the multicast group range.
    DistributionScope string
    Multicast group range's distribution scope. Intra-zone or intra-region cross-zone is supported, with default value being intra-region. Cross region distribution is not supported. Possible values: INTRA_ZONE INTRA_REGION
    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.
    IpCidrRange string
    [Output only] The multicast group IP address range.
    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.
    LogConfig MulticastGroupRangeLogConfigArgs
    The logging configuration. Structure is documented below.
    MulticastDomain string
    The resource name of the multicast domain in which to create this multicast group range. Use the following format: projects/*/locations/global/multicastDomains/*.
    MulticastGroupRangeId string
    A unique name for the multicast group range. 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 group range. Use the following format: projects/*/locations/global/multicastGroupRanges/*.
    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.
    RequireExplicitAccept bool
    Whether an empty consumer_accept_list will deny all consumer projects.
    ReservedInternalRange string
    The resource name of the internal range reserved for this multicast group range. The internal range must be a Class D address (224.0.0.0 to 239.255.255.255) and have a prefix length >= 23. Use the following format: projects/*/locations/global/internalRanges/*.
    States []MulticastGroupRangeStateTypeArgs
    (Output) The state of the multicast resource. Possible values: CREATING ACTIVE DELETING DELETE_FAILED UPDATING UPDATE_FAILED INACTIVE
    UniqueId string
    [Output only] The Google-generated UUID for the resource. This value is unique across all multicast group range resources. If a group range is deleted and another with the same name is created, the new group range is assigned a different unique_id.
    UpdateTime string
    [Output only] The timestamp when the multicast group range was most recently updated.
    consumerAcceptLists List<String>
    A list of consumer projects that are allowed to subscribe to the multicast IP addresses within the range defined by this MulticastGroupRange. The project can be specified using its project ID or project number. If left empty, then all consumer projects are allowed (unless require_explicit_accept is set to true) once they have VPC networks associated to the multicast domain. The current max length of the accept list is 100.
    createTime String
    [Output only] The timestamp when the multicast group range was created.
    description String
    An optional text description of the multicast group range.
    distributionScope String
    Multicast group range's distribution scope. Intra-zone or intra-region cross-zone is supported, with default value being intra-region. Cross region distribution is not supported. Possible values: INTRA_ZONE INTRA_REGION
    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.
    ipCidrRange String
    [Output only] The multicast group IP address range.
    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.
    logConfig MulticastGroupRangeLogConfig
    The logging configuration. Structure is documented below.
    multicastDomain String
    The resource name of the multicast domain in which to create this multicast group range. Use the following format: projects/*/locations/global/multicastDomains/*.
    multicastGroupRangeId String
    A unique name for the multicast group range. 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 group range. Use the following format: projects/*/locations/global/multicastGroupRanges/*.
    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.
    requireExplicitAccept Boolean
    Whether an empty consumer_accept_list will deny all consumer projects.
    reservedInternalRange String
    The resource name of the internal range reserved for this multicast group range. The internal range must be a Class D address (224.0.0.0 to 239.255.255.255) and have a prefix length >= 23. Use the following format: projects/*/locations/global/internalRanges/*.
    states List<MulticastGroupRangeState>
    (Output) The state of the multicast resource. Possible values: CREATING ACTIVE DELETING DELETE_FAILED UPDATING UPDATE_FAILED INACTIVE
    uniqueId String
    [Output only] The Google-generated UUID for the resource. This value is unique across all multicast group range resources. If a group range is deleted and another with the same name is created, the new group range is assigned a different unique_id.
    updateTime String
    [Output only] The timestamp when the multicast group range was most recently updated.
    consumerAcceptLists string[]
    A list of consumer projects that are allowed to subscribe to the multicast IP addresses within the range defined by this MulticastGroupRange. The project can be specified using its project ID or project number. If left empty, then all consumer projects are allowed (unless require_explicit_accept is set to true) once they have VPC networks associated to the multicast domain. The current max length of the accept list is 100.
    createTime string
    [Output only] The timestamp when the multicast group range was created.
    description string
    An optional text description of the multicast group range.
    distributionScope string
    Multicast group range's distribution scope. Intra-zone or intra-region cross-zone is supported, with default value being intra-region. Cross region distribution is not supported. Possible values: INTRA_ZONE INTRA_REGION
    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.
    ipCidrRange string
    [Output only] The multicast group IP address range.
    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.
    logConfig MulticastGroupRangeLogConfig
    The logging configuration. Structure is documented below.
    multicastDomain string
    The resource name of the multicast domain in which to create this multicast group range. Use the following format: projects/*/locations/global/multicastDomains/*.
    multicastGroupRangeId string
    A unique name for the multicast group range. 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 group range. Use the following format: projects/*/locations/global/multicastGroupRanges/*.
    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.
    requireExplicitAccept boolean
    Whether an empty consumer_accept_list will deny all consumer projects.
    reservedInternalRange string
    The resource name of the internal range reserved for this multicast group range. The internal range must be a Class D address (224.0.0.0 to 239.255.255.255) and have a prefix length >= 23. Use the following format: projects/*/locations/global/internalRanges/*.
    states MulticastGroupRangeState[]
    (Output) The state of the multicast resource. Possible values: CREATING ACTIVE DELETING DELETE_FAILED UPDATING UPDATE_FAILED INACTIVE
    uniqueId string
    [Output only] The Google-generated UUID for the resource. This value is unique across all multicast group range resources. If a group range is deleted and another with the same name is created, the new group range is assigned a different unique_id.
    updateTime string
    [Output only] The timestamp when the multicast group range was most recently updated.
    consumer_accept_lists Sequence[str]
    A list of consumer projects that are allowed to subscribe to the multicast IP addresses within the range defined by this MulticastGroupRange. The project can be specified using its project ID or project number. If left empty, then all consumer projects are allowed (unless require_explicit_accept is set to true) once they have VPC networks associated to the multicast domain. The current max length of the accept list is 100.
    create_time str
    [Output only] The timestamp when the multicast group range was created.
    description str
    An optional text description of the multicast group range.
    distribution_scope str
    Multicast group range's distribution scope. Intra-zone or intra-region cross-zone is supported, with default value being intra-region. Cross region distribution is not supported. Possible values: INTRA_ZONE INTRA_REGION
    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.
    ip_cidr_range str
    [Output only] The multicast group IP address range.
    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.
    log_config MulticastGroupRangeLogConfigArgs
    The logging configuration. Structure is documented below.
    multicast_domain str
    The resource name of the multicast domain in which to create this multicast group range. Use the following format: projects/*/locations/global/multicastDomains/*.
    multicast_group_range_id str
    A unique name for the multicast group range. 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 group range. Use the following format: projects/*/locations/global/multicastGroupRanges/*.
    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.
    require_explicit_accept bool
    Whether an empty consumer_accept_list will deny all consumer projects.
    reserved_internal_range str
    The resource name of the internal range reserved for this multicast group range. The internal range must be a Class D address (224.0.0.0 to 239.255.255.255) and have a prefix length >= 23. Use the following format: projects/*/locations/global/internalRanges/*.
    states Sequence[MulticastGroupRangeStateArgs]
    (Output) The state of the multicast resource. Possible values: CREATING ACTIVE DELETING DELETE_FAILED UPDATING UPDATE_FAILED INACTIVE
    unique_id str
    [Output only] The Google-generated UUID for the resource. This value is unique across all multicast group range resources. If a group range is deleted and another with the same name is created, the new group range is assigned a different unique_id.
    update_time str
    [Output only] The timestamp when the multicast group range was most recently updated.
    consumerAcceptLists List<String>
    A list of consumer projects that are allowed to subscribe to the multicast IP addresses within the range defined by this MulticastGroupRange. The project can be specified using its project ID or project number. If left empty, then all consumer projects are allowed (unless require_explicit_accept is set to true) once they have VPC networks associated to the multicast domain. The current max length of the accept list is 100.
    createTime String
    [Output only] The timestamp when the multicast group range was created.
    description String
    An optional text description of the multicast group range.
    distributionScope String
    Multicast group range's distribution scope. Intra-zone or intra-region cross-zone is supported, with default value being intra-region. Cross region distribution is not supported. Possible values: INTRA_ZONE INTRA_REGION
    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.
    ipCidrRange String
    [Output only] The multicast group IP address range.
    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.
    logConfig Property Map
    The logging configuration. Structure is documented below.
    multicastDomain String
    The resource name of the multicast domain in which to create this multicast group range. Use the following format: projects/*/locations/global/multicastDomains/*.
    multicastGroupRangeId String
    A unique name for the multicast group range. 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 group range. Use the following format: projects/*/locations/global/multicastGroupRanges/*.
    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.
    requireExplicitAccept Boolean
    Whether an empty consumer_accept_list will deny all consumer projects.
    reservedInternalRange String
    The resource name of the internal range reserved for this multicast group range. The internal range must be a Class D address (224.0.0.0 to 239.255.255.255) and have a prefix length >= 23. Use the following format: projects/*/locations/global/internalRanges/*.
    states List<Property Map>
    (Output) The state of the multicast resource. Possible values: CREATING ACTIVE DELETING DELETE_FAILED UPDATING UPDATE_FAILED INACTIVE
    uniqueId String
    [Output only] The Google-generated UUID for the resource. This value is unique across all multicast group range resources. If a group range is deleted and another with the same name is created, the new group range is assigned a different unique_id.
    updateTime String
    [Output only] The timestamp when the multicast group range was most recently updated.

    Supporting Types

    MulticastGroupRangeLogConfig, MulticastGroupRangeLogConfigArgs

    Enabled bool
    Whether to enable logging or not.
    Enabled bool
    Whether to enable logging or not.
    enabled Boolean
    Whether to enable logging or not.
    enabled boolean
    Whether to enable logging or not.
    enabled bool
    Whether to enable logging or not.
    enabled Boolean
    Whether to enable logging or not.

    MulticastGroupRangeState, MulticastGroupRangeStateArgs

    State string
    (Output) The state of the multicast resource. Possible values: CREATING ACTIVE DELETING DELETE_FAILED UPDATING UPDATE_FAILED INACTIVE
    State string
    (Output) The state of the multicast resource. Possible values: CREATING ACTIVE DELETING DELETE_FAILED UPDATING UPDATE_FAILED INACTIVE
    state String
    (Output) The state of the multicast resource. Possible values: CREATING ACTIVE DELETING DELETE_FAILED UPDATING UPDATE_FAILED INACTIVE
    state string
    (Output) The state of the multicast resource. Possible values: CREATING ACTIVE DELETING DELETE_FAILED UPDATING UPDATE_FAILED INACTIVE
    state str
    (Output) The state of the multicast resource. Possible values: CREATING ACTIVE DELETING DELETE_FAILED UPDATING UPDATE_FAILED INACTIVE
    state String
    (Output) The state of the multicast resource. Possible values: CREATING ACTIVE DELETING DELETE_FAILED UPDATING UPDATE_FAILED INACTIVE

    Import

    MulticastGroupRange can be imported using any of these accepted formats:

    • projects/{{project}}/locations/{{location}}/multicastGroupRanges/{{multicast_group_range_id}}

    • {{project}}/{{location}}/{{multicast_group_range_id}}

    • {{location}}/{{multicast_group_range_id}}

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

    $ pulumi import gcp:networkservices/multicastGroupRange:MulticastGroupRange default projects/{{project}}/locations/{{location}}/multicastGroupRanges/{{multicast_group_range_id}}
    
    $ pulumi import gcp:networkservices/multicastGroupRange:MulticastGroupRange default {{project}}/{{location}}/{{multicast_group_range_id}}
    
    $ pulumi import gcp:networkservices/multicastGroupRange:MulticastGroupRange default {{location}}/{{multicast_group_range_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