1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. compute
  5. WireGroup
Google Cloud v8.39.0 published on Tuesday, Jul 22, 2025 by Pulumi

gcp.compute.WireGroup

Explore with Pulumi AI

gcp logo
Google Cloud v8.39.0 published on Tuesday, Jul 22, 2025 by Pulumi

    Example Usage

    Compute Wire Group Basic

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const project = gcp.organizations.getProject({});
    const example_cross_site_network = new gcp.compute.CrossSiteNetwork("example-cross-site-network", {
        name: "test-cross-site-network",
        description: "Example cross site network",
    });
    const example_test_wire_group = new gcp.compute.WireGroup("example-test-wire-group", {
        name: "test-wire-group",
        description: "Example Wire Group",
        crossSiteNetwork: "test-cross-site-network",
        wireProperties: {
            bandwidthUnmetered: 10,
            faultResponse: "NONE",
        },
        wireGroupProperties: {
            type: "WIRE",
        },
        adminEnabled: true,
    }, {
        dependsOn: [example_cross_site_network],
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    project = gcp.organizations.get_project()
    example_cross_site_network = gcp.compute.CrossSiteNetwork("example-cross-site-network",
        name="test-cross-site-network",
        description="Example cross site network")
    example_test_wire_group = gcp.compute.WireGroup("example-test-wire-group",
        name="test-wire-group",
        description="Example Wire Group",
        cross_site_network="test-cross-site-network",
        wire_properties={
            "bandwidth_unmetered": 10,
            "fault_response": "NONE",
        },
        wire_group_properties={
            "type": "WIRE",
        },
        admin_enabled=True,
        opts = pulumi.ResourceOptions(depends_on=[example_cross_site_network]))
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/compute"
    	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := organizations.LookupProject(ctx, &organizations.LookupProjectArgs{}, nil)
    		if err != nil {
    			return err
    		}
    		example_cross_site_network, err := compute.NewCrossSiteNetwork(ctx, "example-cross-site-network", &compute.CrossSiteNetworkArgs{
    			Name:        pulumi.String("test-cross-site-network"),
    			Description: pulumi.String("Example cross site network"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = compute.NewWireGroup(ctx, "example-test-wire-group", &compute.WireGroupArgs{
    			Name:             pulumi.String("test-wire-group"),
    			Description:      pulumi.String("Example Wire Group"),
    			CrossSiteNetwork: pulumi.String("test-cross-site-network"),
    			WireProperties: &compute.WireGroupWirePropertiesArgs{
    				BandwidthUnmetered: pulumi.Int(10),
    				FaultResponse:      pulumi.String("NONE"),
    			},
    			WireGroupProperties: &compute.WireGroupWireGroupPropertiesArgs{
    				Type: pulumi.String("WIRE"),
    			},
    			AdminEnabled: pulumi.Bool(true),
    		}, pulumi.DependsOn([]pulumi.Resource{
    			example_cross_site_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 project = Gcp.Organizations.GetProject.Invoke();
    
        var example_cross_site_network = new Gcp.Compute.CrossSiteNetwork("example-cross-site-network", new()
        {
            Name = "test-cross-site-network",
            Description = "Example cross site network",
        });
    
        var example_test_wire_group = new Gcp.Compute.WireGroup("example-test-wire-group", new()
        {
            Name = "test-wire-group",
            Description = "Example Wire Group",
            CrossSiteNetwork = "test-cross-site-network",
            WireProperties = new Gcp.Compute.Inputs.WireGroupWirePropertiesArgs
            {
                BandwidthUnmetered = 10,
                FaultResponse = "NONE",
            },
            WireGroupProperties = new Gcp.Compute.Inputs.WireGroupWireGroupPropertiesArgs
            {
                Type = "WIRE",
            },
            AdminEnabled = true,
        }, new CustomResourceOptions
        {
            DependsOn =
            {
                example_cross_site_network,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.organizations.OrganizationsFunctions;
    import com.pulumi.gcp.organizations.inputs.GetProjectArgs;
    import com.pulumi.gcp.compute.CrossSiteNetwork;
    import com.pulumi.gcp.compute.CrossSiteNetworkArgs;
    import com.pulumi.gcp.compute.WireGroup;
    import com.pulumi.gcp.compute.WireGroupArgs;
    import com.pulumi.gcp.compute.inputs.WireGroupWirePropertiesArgs;
    import com.pulumi.gcp.compute.inputs.WireGroupWireGroupPropertiesArgs;
    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) {
            final var project = OrganizationsFunctions.getProject(GetProjectArgs.builder()
                .build());
    
            var example_cross_site_network = new CrossSiteNetwork("example-cross-site-network", CrossSiteNetworkArgs.builder()
                .name("test-cross-site-network")
                .description("Example cross site network")
                .build());
    
            var example_test_wire_group = new WireGroup("example-test-wire-group", WireGroupArgs.builder()
                .name("test-wire-group")
                .description("Example Wire Group")
                .crossSiteNetwork("test-cross-site-network")
                .wireProperties(WireGroupWirePropertiesArgs.builder()
                    .bandwidthUnmetered(10)
                    .faultResponse("NONE")
                    .build())
                .wireGroupProperties(WireGroupWireGroupPropertiesArgs.builder()
                    .type("WIRE")
                    .build())
                .adminEnabled(true)
                .build(), CustomResourceOptions.builder()
                    .dependsOn(example_cross_site_network)
                    .build());
    
        }
    }
    
    resources:
      example-cross-site-network:
        type: gcp:compute:CrossSiteNetwork
        properties:
          name: test-cross-site-network
          description: Example cross site network
      example-test-wire-group:
        type: gcp:compute:WireGroup
        properties:
          name: test-wire-group
          description: Example Wire Group
          crossSiteNetwork: test-cross-site-network
          wireProperties:
            bandwidthUnmetered: 10
            faultResponse: NONE
          wireGroupProperties:
            type: WIRE
          adminEnabled: true
        options:
          dependsOn:
            - ${["example-cross-site-network"]}
    variables:
      project:
        fn::invoke:
          function: gcp:organizations:getProject
          arguments: {}
    

    Create WireGroup Resource

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

    Constructor syntax

    new WireGroup(name: string, args: WireGroupArgs, opts?: CustomResourceOptions);
    @overload
    def WireGroup(resource_name: str,
                  args: WireGroupArgs,
                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def WireGroup(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  cross_site_network: Optional[str] = None,
                  admin_enabled: Optional[bool] = None,
                  description: Optional[str] = None,
                  endpoints: Optional[Sequence[WireGroupEndpointArgs]] = None,
                  name: Optional[str] = None,
                  project: Optional[str] = None,
                  wire_group_properties: Optional[WireGroupWireGroupPropertiesArgs] = None,
                  wire_properties: Optional[WireGroupWirePropertiesArgs] = None)
    func NewWireGroup(ctx *Context, name string, args WireGroupArgs, opts ...ResourceOption) (*WireGroup, error)
    public WireGroup(string name, WireGroupArgs args, CustomResourceOptions? opts = null)
    public WireGroup(String name, WireGroupArgs args)
    public WireGroup(String name, WireGroupArgs args, CustomResourceOptions options)
    
    type: gcp:compute:WireGroup
    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 WireGroupArgs
    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 WireGroupArgs
    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 WireGroupArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args WireGroupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args WireGroupArgs
    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 wireGroupResource = new Gcp.Compute.WireGroup("wireGroupResource", new()
    {
        CrossSiteNetwork = "string",
        AdminEnabled = false,
        Description = "string",
        Endpoints = new[]
        {
            new Gcp.Compute.Inputs.WireGroupEndpointArgs
            {
                Endpoint = "string",
                Interconnects = new[]
                {
                    new Gcp.Compute.Inputs.WireGroupEndpointInterconnectArgs
                    {
                        InterconnectName = "string",
                        Interconnect = "string",
                        VlanTags = new[]
                        {
                            0,
                        },
                    },
                },
            },
        },
        Name = "string",
        Project = "string",
        WireGroupProperties = new Gcp.Compute.Inputs.WireGroupWireGroupPropertiesArgs
        {
            Type = "string",
        },
        WireProperties = new Gcp.Compute.Inputs.WireGroupWirePropertiesArgs
        {
            BandwidthUnmetered = 0,
            FaultResponse = "string",
        },
    });
    
    example, err := compute.NewWireGroup(ctx, "wireGroupResource", &compute.WireGroupArgs{
    	CrossSiteNetwork: pulumi.String("string"),
    	AdminEnabled:     pulumi.Bool(false),
    	Description:      pulumi.String("string"),
    	Endpoints: compute.WireGroupEndpointArray{
    		&compute.WireGroupEndpointArgs{
    			Endpoint: pulumi.String("string"),
    			Interconnects: compute.WireGroupEndpointInterconnectArray{
    				&compute.WireGroupEndpointInterconnectArgs{
    					InterconnectName: pulumi.String("string"),
    					Interconnect:     pulumi.String("string"),
    					VlanTags: pulumi.IntArray{
    						pulumi.Int(0),
    					},
    				},
    			},
    		},
    	},
    	Name:    pulumi.String("string"),
    	Project: pulumi.String("string"),
    	WireGroupProperties: &compute.WireGroupWireGroupPropertiesArgs{
    		Type: pulumi.String("string"),
    	},
    	WireProperties: &compute.WireGroupWirePropertiesArgs{
    		BandwidthUnmetered: pulumi.Int(0),
    		FaultResponse:      pulumi.String("string"),
    	},
    })
    
    var wireGroupResource = new WireGroup("wireGroupResource", WireGroupArgs.builder()
        .crossSiteNetwork("string")
        .adminEnabled(false)
        .description("string")
        .endpoints(WireGroupEndpointArgs.builder()
            .endpoint("string")
            .interconnects(WireGroupEndpointInterconnectArgs.builder()
                .interconnectName("string")
                .interconnect("string")
                .vlanTags(0)
                .build())
            .build())
        .name("string")
        .project("string")
        .wireGroupProperties(WireGroupWireGroupPropertiesArgs.builder()
            .type("string")
            .build())
        .wireProperties(WireGroupWirePropertiesArgs.builder()
            .bandwidthUnmetered(0)
            .faultResponse("string")
            .build())
        .build());
    
    wire_group_resource = gcp.compute.WireGroup("wireGroupResource",
        cross_site_network="string",
        admin_enabled=False,
        description="string",
        endpoints=[{
            "endpoint": "string",
            "interconnects": [{
                "interconnect_name": "string",
                "interconnect": "string",
                "vlan_tags": [0],
            }],
        }],
        name="string",
        project="string",
        wire_group_properties={
            "type": "string",
        },
        wire_properties={
            "bandwidth_unmetered": 0,
            "fault_response": "string",
        })
    
    const wireGroupResource = new gcp.compute.WireGroup("wireGroupResource", {
        crossSiteNetwork: "string",
        adminEnabled: false,
        description: "string",
        endpoints: [{
            endpoint: "string",
            interconnects: [{
                interconnectName: "string",
                interconnect: "string",
                vlanTags: [0],
            }],
        }],
        name: "string",
        project: "string",
        wireGroupProperties: {
            type: "string",
        },
        wireProperties: {
            bandwidthUnmetered: 0,
            faultResponse: "string",
        },
    });
    
    type: gcp:compute:WireGroup
    properties:
        adminEnabled: false
        crossSiteNetwork: string
        description: string
        endpoints:
            - endpoint: string
              interconnects:
                - interconnect: string
                  interconnectName: string
                  vlanTags:
                    - 0
        name: string
        project: string
        wireGroupProperties:
            type: string
        wireProperties:
            bandwidthUnmetered: 0
            faultResponse: string
    

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

    CrossSiteNetwork string
    Required cross site network to which wire group belongs.
    AdminEnabled bool
    Indicates whether the wire group is administratively enabled.
    Description string
    An optional description of this resource. Provide this property when you create the resource.
    Endpoints List<WireGroupEndpoint>
    Endpoints grouped by location, each mapping to interconnect configurations. Structure is documented below.
    Name string
    Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    WireGroupProperties WireGroupWireGroupProperties
    Properties specific to the wire group. Structure is documented below.
    WireProperties WireGroupWireProperties
    Default properties for wires within the group. Structure is documented below.
    CrossSiteNetwork string
    Required cross site network to which wire group belongs.
    AdminEnabled bool
    Indicates whether the wire group is administratively enabled.
    Description string
    An optional description of this resource. Provide this property when you create the resource.
    Endpoints []WireGroupEndpointArgs
    Endpoints grouped by location, each mapping to interconnect configurations. Structure is documented below.
    Name string
    Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    WireGroupProperties WireGroupWireGroupPropertiesArgs
    Properties specific to the wire group. Structure is documented below.
    WireProperties WireGroupWirePropertiesArgs
    Default properties for wires within the group. Structure is documented below.
    crossSiteNetwork String
    Required cross site network to which wire group belongs.
    adminEnabled Boolean
    Indicates whether the wire group is administratively enabled.
    description String
    An optional description of this resource. Provide this property when you create the resource.
    endpoints List<WireGroupEndpoint>
    Endpoints grouped by location, each mapping to interconnect configurations. Structure is documented below.
    name String
    Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    wireGroupProperties WireGroupWireGroupProperties
    Properties specific to the wire group. Structure is documented below.
    wireProperties WireGroupWireProperties
    Default properties for wires within the group. Structure is documented below.
    crossSiteNetwork string
    Required cross site network to which wire group belongs.
    adminEnabled boolean
    Indicates whether the wire group is administratively enabled.
    description string
    An optional description of this resource. Provide this property when you create the resource.
    endpoints WireGroupEndpoint[]
    Endpoints grouped by location, each mapping to interconnect configurations. Structure is documented below.
    name string
    Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
    project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    wireGroupProperties WireGroupWireGroupProperties
    Properties specific to the wire group. Structure is documented below.
    wireProperties WireGroupWireProperties
    Default properties for wires within the group. Structure is documented below.
    cross_site_network str
    Required cross site network to which wire group belongs.
    admin_enabled bool
    Indicates whether the wire group is administratively enabled.
    description str
    An optional description of this resource. Provide this property when you create the resource.
    endpoints Sequence[WireGroupEndpointArgs]
    Endpoints grouped by location, each mapping to interconnect configurations. Structure is documented below.
    name str
    Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
    project str
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    wire_group_properties WireGroupWireGroupPropertiesArgs
    Properties specific to the wire group. Structure is documented below.
    wire_properties WireGroupWirePropertiesArgs
    Default properties for wires within the group. Structure is documented below.
    crossSiteNetwork String
    Required cross site network to which wire group belongs.
    adminEnabled Boolean
    Indicates whether the wire group is administratively enabled.
    description String
    An optional description of this resource. Provide this property when you create the resource.
    endpoints List<Property Map>
    Endpoints grouped by location, each mapping to interconnect configurations. Structure is documented below.
    name String
    Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    wireGroupProperties Property Map
    Properties specific to the wire group. Structure is documented below.
    wireProperties Property Map
    Default properties for wires within the group. Structure is documented below.

    Outputs

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

    CreationTimestamp string
    Creation timestamp in RFC3339 text format.
    Id string
    The provider-assigned unique ID for this managed resource.
    Topologies List<WireGroupTopology>
    Topology details for the wire group configuration. Structure is documented below.
    Wires List<WireGroupWire>
    The single/redundant wire(s) managed by the wire group. Structure is documented below.
    CreationTimestamp string
    Creation timestamp in RFC3339 text format.
    Id string
    The provider-assigned unique ID for this managed resource.
    Topologies []WireGroupTopology
    Topology details for the wire group configuration. Structure is documented below.
    Wires []WireGroupWire
    The single/redundant wire(s) managed by the wire group. Structure is documented below.
    creationTimestamp String
    Creation timestamp in RFC3339 text format.
    id String
    The provider-assigned unique ID for this managed resource.
    topologies List<WireGroupTopology>
    Topology details for the wire group configuration. Structure is documented below.
    wires List<WireGroupWire>
    The single/redundant wire(s) managed by the wire group. Structure is documented below.
    creationTimestamp string
    Creation timestamp in RFC3339 text format.
    id string
    The provider-assigned unique ID for this managed resource.
    topologies WireGroupTopology[]
    Topology details for the wire group configuration. Structure is documented below.
    wires WireGroupWire[]
    The single/redundant wire(s) managed by the wire group. Structure is documented below.
    creation_timestamp str
    Creation timestamp in RFC3339 text format.
    id str
    The provider-assigned unique ID for this managed resource.
    topologies Sequence[WireGroupTopology]
    Topology details for the wire group configuration. Structure is documented below.
    wires Sequence[WireGroupWire]
    The single/redundant wire(s) managed by the wire group. Structure is documented below.
    creationTimestamp String
    Creation timestamp in RFC3339 text format.
    id String
    The provider-assigned unique ID for this managed resource.
    topologies List<Property Map>
    Topology details for the wire group configuration. Structure is documented below.
    wires List<Property Map>
    The single/redundant wire(s) managed by the wire group. Structure is documented below.

    Look up Existing WireGroup Resource

    Get an existing WireGroup 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?: WireGroupState, opts?: CustomResourceOptions): WireGroup
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            admin_enabled: Optional[bool] = None,
            creation_timestamp: Optional[str] = None,
            cross_site_network: Optional[str] = None,
            description: Optional[str] = None,
            endpoints: Optional[Sequence[WireGroupEndpointArgs]] = None,
            name: Optional[str] = None,
            project: Optional[str] = None,
            topologies: Optional[Sequence[WireGroupTopologyArgs]] = None,
            wire_group_properties: Optional[WireGroupWireGroupPropertiesArgs] = None,
            wire_properties: Optional[WireGroupWirePropertiesArgs] = None,
            wires: Optional[Sequence[WireGroupWireArgs]] = None) -> WireGroup
    func GetWireGroup(ctx *Context, name string, id IDInput, state *WireGroupState, opts ...ResourceOption) (*WireGroup, error)
    public static WireGroup Get(string name, Input<string> id, WireGroupState? state, CustomResourceOptions? opts = null)
    public static WireGroup get(String name, Output<String> id, WireGroupState state, CustomResourceOptions options)
    resources:  _:    type: gcp:compute:WireGroup    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:
    AdminEnabled bool
    Indicates whether the wire group is administratively enabled.
    CreationTimestamp string
    Creation timestamp in RFC3339 text format.
    CrossSiteNetwork string
    Required cross site network to which wire group belongs.
    Description string
    An optional description of this resource. Provide this property when you create the resource.
    Endpoints List<WireGroupEndpoint>
    Endpoints grouped by location, each mapping to interconnect configurations. Structure is documented below.
    Name string
    Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    Topologies List<WireGroupTopology>
    Topology details for the wire group configuration. Structure is documented below.
    WireGroupProperties WireGroupWireGroupProperties
    Properties specific to the wire group. Structure is documented below.
    WireProperties WireGroupWireProperties
    Default properties for wires within the group. Structure is documented below.
    Wires List<WireGroupWire>
    The single/redundant wire(s) managed by the wire group. Structure is documented below.
    AdminEnabled bool
    Indicates whether the wire group is administratively enabled.
    CreationTimestamp string
    Creation timestamp in RFC3339 text format.
    CrossSiteNetwork string
    Required cross site network to which wire group belongs.
    Description string
    An optional description of this resource. Provide this property when you create the resource.
    Endpoints []WireGroupEndpointArgs
    Endpoints grouped by location, each mapping to interconnect configurations. Structure is documented below.
    Name string
    Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    Topologies []WireGroupTopologyArgs
    Topology details for the wire group configuration. Structure is documented below.
    WireGroupProperties WireGroupWireGroupPropertiesArgs
    Properties specific to the wire group. Structure is documented below.
    WireProperties WireGroupWirePropertiesArgs
    Default properties for wires within the group. Structure is documented below.
    Wires []WireGroupWireArgs
    The single/redundant wire(s) managed by the wire group. Structure is documented below.
    adminEnabled Boolean
    Indicates whether the wire group is administratively enabled.
    creationTimestamp String
    Creation timestamp in RFC3339 text format.
    crossSiteNetwork String
    Required cross site network to which wire group belongs.
    description String
    An optional description of this resource. Provide this property when you create the resource.
    endpoints List<WireGroupEndpoint>
    Endpoints grouped by location, each mapping to interconnect configurations. Structure is documented below.
    name String
    Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    topologies List<WireGroupTopology>
    Topology details for the wire group configuration. Structure is documented below.
    wireGroupProperties WireGroupWireGroupProperties
    Properties specific to the wire group. Structure is documented below.
    wireProperties WireGroupWireProperties
    Default properties for wires within the group. Structure is documented below.
    wires List<WireGroupWire>
    The single/redundant wire(s) managed by the wire group. Structure is documented below.
    adminEnabled boolean
    Indicates whether the wire group is administratively enabled.
    creationTimestamp string
    Creation timestamp in RFC3339 text format.
    crossSiteNetwork string
    Required cross site network to which wire group belongs.
    description string
    An optional description of this resource. Provide this property when you create the resource.
    endpoints WireGroupEndpoint[]
    Endpoints grouped by location, each mapping to interconnect configurations. Structure is documented below.
    name string
    Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
    project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    topologies WireGroupTopology[]
    Topology details for the wire group configuration. Structure is documented below.
    wireGroupProperties WireGroupWireGroupProperties
    Properties specific to the wire group. Structure is documented below.
    wireProperties WireGroupWireProperties
    Default properties for wires within the group. Structure is documented below.
    wires WireGroupWire[]
    The single/redundant wire(s) managed by the wire group. Structure is documented below.
    admin_enabled bool
    Indicates whether the wire group is administratively enabled.
    creation_timestamp str
    Creation timestamp in RFC3339 text format.
    cross_site_network str
    Required cross site network to which wire group belongs.
    description str
    An optional description of this resource. Provide this property when you create the resource.
    endpoints Sequence[WireGroupEndpointArgs]
    Endpoints grouped by location, each mapping to interconnect configurations. Structure is documented below.
    name str
    Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
    project str
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    topologies Sequence[WireGroupTopologyArgs]
    Topology details for the wire group configuration. Structure is documented below.
    wire_group_properties WireGroupWireGroupPropertiesArgs
    Properties specific to the wire group. Structure is documented below.
    wire_properties WireGroupWirePropertiesArgs
    Default properties for wires within the group. Structure is documented below.
    wires Sequence[WireGroupWireArgs]
    The single/redundant wire(s) managed by the wire group. Structure is documented below.
    adminEnabled Boolean
    Indicates whether the wire group is administratively enabled.
    creationTimestamp String
    Creation timestamp in RFC3339 text format.
    crossSiteNetwork String
    Required cross site network to which wire group belongs.
    description String
    An optional description of this resource. Provide this property when you create the resource.
    endpoints List<Property Map>
    Endpoints grouped by location, each mapping to interconnect configurations. Structure is documented below.
    name String
    Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    topologies List<Property Map>
    Topology details for the wire group configuration. Structure is documented below.
    wireGroupProperties Property Map
    Properties specific to the wire group. Structure is documented below.
    wireProperties Property Map
    Default properties for wires within the group. Structure is documented below.
    wires List<Property Map>
    The single/redundant wire(s) managed by the wire group. Structure is documented below.

    Supporting Types

    WireGroupEndpoint, WireGroupEndpointArgs

    Endpoint string
    The identifier for this object. Format specified above.
    Interconnects List<WireGroupEndpointInterconnect>
    Structure is documented below.
    Endpoint string
    The identifier for this object. Format specified above.
    Interconnects []WireGroupEndpointInterconnect
    Structure is documented below.
    endpoint String
    The identifier for this object. Format specified above.
    interconnects List<WireGroupEndpointInterconnect>
    Structure is documented below.
    endpoint string
    The identifier for this object. Format specified above.
    interconnects WireGroupEndpointInterconnect[]
    Structure is documented below.
    endpoint str
    The identifier for this object. Format specified above.
    interconnects Sequence[WireGroupEndpointInterconnect]
    Structure is documented below.
    endpoint String
    The identifier for this object. Format specified above.
    interconnects List<Property Map>
    Structure is documented below.

    WireGroupEndpointInterconnect, WireGroupEndpointInterconnectArgs

    InterconnectName string
    The identifier for this object. Format specified above.
    Interconnect string
    (Optional)
    VlanTags List<int>
    VLAN tags for the interconnect.
    InterconnectName string
    The identifier for this object. Format specified above.
    Interconnect string
    (Optional)
    VlanTags []int
    VLAN tags for the interconnect.
    interconnectName String
    The identifier for this object. Format specified above.
    interconnect String
    (Optional)
    vlanTags List<Integer>
    VLAN tags for the interconnect.
    interconnectName string
    The identifier for this object. Format specified above.
    interconnect string
    (Optional)
    vlanTags number[]
    VLAN tags for the interconnect.
    interconnect_name str
    The identifier for this object. Format specified above.
    interconnect str
    (Optional)
    vlan_tags Sequence[int]
    VLAN tags for the interconnect.
    interconnectName String
    The identifier for this object. Format specified above.
    interconnect String
    (Optional)
    vlanTags List<Number>
    VLAN tags for the interconnect.

    WireGroupTopology, WireGroupTopologyArgs

    Endpoints List<WireGroupTopologyEndpoint>
    Endpoints grouped by location, each mapping to interconnect configurations. Structure is documented below.
    Endpoints []WireGroupTopologyEndpoint
    Endpoints grouped by location, each mapping to interconnect configurations. Structure is documented below.
    endpoints List<WireGroupTopologyEndpoint>
    Endpoints grouped by location, each mapping to interconnect configurations. Structure is documented below.
    endpoints WireGroupTopologyEndpoint[]
    Endpoints grouped by location, each mapping to interconnect configurations. Structure is documented below.
    endpoints Sequence[WireGroupTopologyEndpoint]
    Endpoints grouped by location, each mapping to interconnect configurations. Structure is documented below.
    endpoints List<Property Map>
    Endpoints grouped by location, each mapping to interconnect configurations. Structure is documented below.

    WireGroupTopologyEndpoint, WireGroupTopologyEndpointArgs

    City string
    (Output)
    Label string
    (Output)
    City string
    (Output)
    Label string
    (Output)
    city String
    (Output)
    label String
    (Output)
    city string
    (Output)
    label string
    (Output)
    city str
    (Output)
    label str
    (Output)
    city String
    (Output)
    label String
    (Output)

    WireGroupWire, WireGroupWireArgs

    AdminEnabled bool
    Indicates whether the wire group is administratively enabled.
    Endpoints List<WireGroupWireEndpoint>
    Endpoints grouped by location, each mapping to interconnect configurations. Structure is documented below.
    Label string
    (Output)
    WireProperties List<WireGroupWireWireProperty>
    Default properties for wires within the group. Structure is documented below.
    AdminEnabled bool
    Indicates whether the wire group is administratively enabled.
    Endpoints []WireGroupWireEndpoint
    Endpoints grouped by location, each mapping to interconnect configurations. Structure is documented below.
    Label string
    (Output)
    WireProperties []WireGroupWireWireProperty
    Default properties for wires within the group. Structure is documented below.
    adminEnabled Boolean
    Indicates whether the wire group is administratively enabled.
    endpoints List<WireGroupWireEndpoint>
    Endpoints grouped by location, each mapping to interconnect configurations. Structure is documented below.
    label String
    (Output)
    wireProperties List<WireGroupWireWireProperty>
    Default properties for wires within the group. Structure is documented below.
    adminEnabled boolean
    Indicates whether the wire group is administratively enabled.
    endpoints WireGroupWireEndpoint[]
    Endpoints grouped by location, each mapping to interconnect configurations. Structure is documented below.
    label string
    (Output)
    wireProperties WireGroupWireWireProperty[]
    Default properties for wires within the group. Structure is documented below.
    admin_enabled bool
    Indicates whether the wire group is administratively enabled.
    endpoints Sequence[WireGroupWireEndpoint]
    Endpoints grouped by location, each mapping to interconnect configurations. Structure is documented below.
    label str
    (Output)
    wire_properties Sequence[WireGroupWireWireProperty]
    Default properties for wires within the group. Structure is documented below.
    adminEnabled Boolean
    Indicates whether the wire group is administratively enabled.
    endpoints List<Property Map>
    Endpoints grouped by location, each mapping to interconnect configurations. Structure is documented below.
    label String
    (Output)
    wireProperties List<Property Map>
    Default properties for wires within the group. Structure is documented below.

    WireGroupWireEndpoint, WireGroupWireEndpointArgs

    Interconnect string
    (Output)
    VlanTag int
    (Output)
    Interconnect string
    (Output)
    VlanTag int
    (Output)
    interconnect String
    (Output)
    vlanTag Integer
    (Output)
    interconnect string
    (Output)
    vlanTag number
    (Output)
    interconnect str
    (Output)
    vlan_tag int
    (Output)
    interconnect String
    (Output)
    vlanTag Number
    (Output)

    WireGroupWireGroupProperties, WireGroupWireGroupPropertiesArgs

    Type string
    Type of wire group (enum). WIRE: a single pseudowire over two Interconnect connections with no redundancy. REDUNDANT: two pseudowires over four Interconnect connections, with two connections in one metro and two connections in another metro. BOX_AND_CROSS: four pseudowires over four Interconnect connections, with two connections in one metro and two connections in another metro.
    Type string
    Type of wire group (enum). WIRE: a single pseudowire over two Interconnect connections with no redundancy. REDUNDANT: two pseudowires over four Interconnect connections, with two connections in one metro and two connections in another metro. BOX_AND_CROSS: four pseudowires over four Interconnect connections, with two connections in one metro and two connections in another metro.
    type String
    Type of wire group (enum). WIRE: a single pseudowire over two Interconnect connections with no redundancy. REDUNDANT: two pseudowires over four Interconnect connections, with two connections in one metro and two connections in another metro. BOX_AND_CROSS: four pseudowires over four Interconnect connections, with two connections in one metro and two connections in another metro.
    type string
    Type of wire group (enum). WIRE: a single pseudowire over two Interconnect connections with no redundancy. REDUNDANT: two pseudowires over four Interconnect connections, with two connections in one metro and two connections in another metro. BOX_AND_CROSS: four pseudowires over four Interconnect connections, with two connections in one metro and two connections in another metro.
    type str
    Type of wire group (enum). WIRE: a single pseudowire over two Interconnect connections with no redundancy. REDUNDANT: two pseudowires over four Interconnect connections, with two connections in one metro and two connections in another metro. BOX_AND_CROSS: four pseudowires over four Interconnect connections, with two connections in one metro and two connections in another metro.
    type String
    Type of wire group (enum). WIRE: a single pseudowire over two Interconnect connections with no redundancy. REDUNDANT: two pseudowires over four Interconnect connections, with two connections in one metro and two connections in another metro. BOX_AND_CROSS: four pseudowires over four Interconnect connections, with two connections in one metro and two connections in another metro.

    WireGroupWireProperties, WireGroupWirePropertiesArgs

    BandwidthUnmetered int
    The unmetered bandwidth setting.
    FaultResponse string
    Response when a fault is detected in a pseudowire: NONE: default. DISABLE_PORT: set the port line protocol down when inline probes detect a fault. This setting is only permitted on port mode pseudowires.
    BandwidthUnmetered int
    The unmetered bandwidth setting.
    FaultResponse string
    Response when a fault is detected in a pseudowire: NONE: default. DISABLE_PORT: set the port line protocol down when inline probes detect a fault. This setting is only permitted on port mode pseudowires.
    bandwidthUnmetered Integer
    The unmetered bandwidth setting.
    faultResponse String
    Response when a fault is detected in a pseudowire: NONE: default. DISABLE_PORT: set the port line protocol down when inline probes detect a fault. This setting is only permitted on port mode pseudowires.
    bandwidthUnmetered number
    The unmetered bandwidth setting.
    faultResponse string
    Response when a fault is detected in a pseudowire: NONE: default. DISABLE_PORT: set the port line protocol down when inline probes detect a fault. This setting is only permitted on port mode pseudowires.
    bandwidth_unmetered int
    The unmetered bandwidth setting.
    fault_response str
    Response when a fault is detected in a pseudowire: NONE: default. DISABLE_PORT: set the port line protocol down when inline probes detect a fault. This setting is only permitted on port mode pseudowires.
    bandwidthUnmetered Number
    The unmetered bandwidth setting.
    faultResponse String
    Response when a fault is detected in a pseudowire: NONE: default. DISABLE_PORT: set the port line protocol down when inline probes detect a fault. This setting is only permitted on port mode pseudowires.

    WireGroupWireWireProperty, WireGroupWireWirePropertyArgs

    BandwidthUnmetered int
    The unmetered bandwidth setting.
    FaultResponse string
    Response when a fault is detected in a pseudowire: NONE: default. DISABLE_PORT: set the port line protocol down when inline probes detect a fault. This setting is only permitted on port mode pseudowires.
    BandwidthUnmetered int
    The unmetered bandwidth setting.
    FaultResponse string
    Response when a fault is detected in a pseudowire: NONE: default. DISABLE_PORT: set the port line protocol down when inline probes detect a fault. This setting is only permitted on port mode pseudowires.
    bandwidthUnmetered Integer
    The unmetered bandwidth setting.
    faultResponse String
    Response when a fault is detected in a pseudowire: NONE: default. DISABLE_PORT: set the port line protocol down when inline probes detect a fault. This setting is only permitted on port mode pseudowires.
    bandwidthUnmetered number
    The unmetered bandwidth setting.
    faultResponse string
    Response when a fault is detected in a pseudowire: NONE: default. DISABLE_PORT: set the port line protocol down when inline probes detect a fault. This setting is only permitted on port mode pseudowires.
    bandwidth_unmetered int
    The unmetered bandwidth setting.
    fault_response str
    Response when a fault is detected in a pseudowire: NONE: default. DISABLE_PORT: set the port line protocol down when inline probes detect a fault. This setting is only permitted on port mode pseudowires.
    bandwidthUnmetered Number
    The unmetered bandwidth setting.
    faultResponse String
    Response when a fault is detected in a pseudowire: NONE: default. DISABLE_PORT: set the port line protocol down when inline probes detect a fault. This setting is only permitted on port mode pseudowires.

    Import

    WireGroup can be imported using any of these accepted formats:

    • projects/{{project}}/global/crossSiteNetworks/{{cross_site_network}}/wireGroups/{{name}}

    • {{project}}/{{cross_site_network}}/{{name}}

    • {{cross_site_network}}/{{name}}

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

    $ pulumi import gcp:compute/wireGroup:WireGroup default projects/{{project}}/global/crossSiteNetworks/{{cross_site_network}}/wireGroups/{{name}}
    
    $ pulumi import gcp:compute/wireGroup:WireGroup default {{project}}/{{cross_site_network}}/{{name}}
    
    $ pulumi import gcp:compute/wireGroup:WireGroup default {{cross_site_network}}/{{name}}
    

    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 v8.39.0 published on Tuesday, Jul 22, 2025 by Pulumi