gcp.compute.WireGroup
Explore with Pulumi AI
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:
- Cross
Site stringNetwork - Required cross site network to which wire group belongs.
- Admin
Enabled 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<Wire
Group Endpoint> - 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.
- Wire
Group WireProperties Group Wire Group Properties - Properties specific to the wire group. Structure is documented below.
- Wire
Properties WireGroup Wire Properties - Default properties for wires within the group. Structure is documented below.
- Cross
Site stringNetwork - Required cross site network to which wire group belongs.
- Admin
Enabled 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
[]Wire
Group Endpoint Args - 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.
- Wire
Group WireProperties Group Wire Group Properties Args - Properties specific to the wire group. Structure is documented below.
- Wire
Properties WireGroup Wire Properties Args - Default properties for wires within the group. Structure is documented below.
- cross
Site StringNetwork - Required cross site network to which wire group belongs.
- admin
Enabled 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<Wire
Group Endpoint> - 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.
- wire
Group WireProperties Group Wire Group Properties - Properties specific to the wire group. Structure is documented below.
- wire
Properties WireGroup Wire Properties - Default properties for wires within the group. Structure is documented below.
- cross
Site stringNetwork - Required cross site network to which wire group belongs.
- admin
Enabled 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
Wire
Group Endpoint[] - 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.
- wire
Group WireProperties Group Wire Group Properties - Properties specific to the wire group. Structure is documented below.
- wire
Properties WireGroup Wire Properties - Default properties for wires within the group. Structure is documented below.
- cross_
site_ strnetwork - 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[Wire
Group Endpoint Args] - 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_ Wireproperties Group Wire Group Properties Args - Properties specific to the wire group. Structure is documented below.
- wire_
properties WireGroup Wire Properties Args - Default properties for wires within the group. Structure is documented below.
- cross
Site StringNetwork - Required cross site network to which wire group belongs.
- admin
Enabled 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.
- wire
Group Property MapProperties - Properties specific to the wire group. Structure is documented below.
- wire
Properties 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:
- Creation
Timestamp string - Creation timestamp in RFC3339 text format.
- Id string
- The provider-assigned unique ID for this managed resource.
- Topologies
List<Wire
Group Topology> - Topology details for the wire group configuration. Structure is documented below.
- Wires
List<Wire
Group Wire> - The single/redundant wire(s) managed by the wire group. Structure is documented below.
- Creation
Timestamp string - Creation timestamp in RFC3339 text format.
- Id string
- The provider-assigned unique ID for this managed resource.
- Topologies
[]Wire
Group Topology - Topology details for the wire group configuration. Structure is documented below.
- Wires
[]Wire
Group Wire - The single/redundant wire(s) managed by the wire group. Structure is documented below.
- creation
Timestamp String - Creation timestamp in RFC3339 text format.
- id String
- The provider-assigned unique ID for this managed resource.
- topologies
List<Wire
Group Topology> - Topology details for the wire group configuration. Structure is documented below.
- wires
List<Wire
Group Wire> - The single/redundant wire(s) managed by the wire group. Structure is documented below.
- creation
Timestamp string - Creation timestamp in RFC3339 text format.
- id string
- The provider-assigned unique ID for this managed resource.
- topologies
Wire
Group Topology[] - Topology details for the wire group configuration. Structure is documented below.
- wires
Wire
Group Wire[] - 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[Wire
Group Topology] - Topology details for the wire group configuration. Structure is documented below.
- wires
Sequence[Wire
Group Wire] - The single/redundant wire(s) managed by the wire group. Structure is documented below.
- creation
Timestamp 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.
- Admin
Enabled bool - Indicates whether the wire group is administratively enabled.
- Creation
Timestamp string - Creation timestamp in RFC3339 text format.
- Cross
Site stringNetwork - 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<Wire
Group Endpoint> - 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<Wire
Group Topology> - Topology details for the wire group configuration. Structure is documented below.
- Wire
Group WireProperties Group Wire Group Properties - Properties specific to the wire group. Structure is documented below.
- Wire
Properties WireGroup Wire Properties - Default properties for wires within the group. Structure is documented below.
- Wires
List<Wire
Group Wire> - 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 string - Creation timestamp in RFC3339 text format.
- Cross
Site stringNetwork - 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
[]Wire
Group Endpoint Args - 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
[]Wire
Group Topology Args - Topology details for the wire group configuration. Structure is documented below.
- Wire
Group WireProperties Group Wire Group Properties Args - Properties specific to the wire group. Structure is documented below.
- Wire
Properties WireGroup Wire Properties Args - Default properties for wires within the group. Structure is documented below.
- Wires
[]Wire
Group Wire Args - The single/redundant wire(s) managed by the wire group. Structure is documented below.
- admin
Enabled Boolean - Indicates whether the wire group is administratively enabled.
- creation
Timestamp String - Creation timestamp in RFC3339 text format.
- cross
Site StringNetwork - 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<Wire
Group Endpoint> - 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<Wire
Group Topology> - Topology details for the wire group configuration. Structure is documented below.
- wire
Group WireProperties Group Wire Group Properties - Properties specific to the wire group. Structure is documented below.
- wire
Properties WireGroup Wire Properties - Default properties for wires within the group. Structure is documented below.
- wires
List<Wire
Group Wire> - The single/redundant wire(s) managed by the wire group. Structure is documented below.
- admin
Enabled boolean - Indicates whether the wire group is administratively enabled.
- creation
Timestamp string - Creation timestamp in RFC3339 text format.
- cross
Site stringNetwork - 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
Wire
Group Endpoint[] - 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
Wire
Group Topology[] - Topology details for the wire group configuration. Structure is documented below.
- wire
Group WireProperties Group Wire Group Properties - Properties specific to the wire group. Structure is documented below.
- wire
Properties WireGroup Wire Properties - Default properties for wires within the group. Structure is documented below.
- wires
Wire
Group Wire[] - 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_ strnetwork - 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[Wire
Group Endpoint Args] - 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[Wire
Group Topology Args] - Topology details for the wire group configuration. Structure is documented below.
- wire_
group_ Wireproperties Group Wire Group Properties Args - Properties specific to the wire group. Structure is documented below.
- wire_
properties WireGroup Wire Properties Args - Default properties for wires within the group. Structure is documented below.
- wires
Sequence[Wire
Group Wire Args] - The single/redundant wire(s) managed by the wire group. Structure is documented below.
- admin
Enabled Boolean - Indicates whether the wire group is administratively enabled.
- creation
Timestamp String - Creation timestamp in RFC3339 text format.
- cross
Site StringNetwork - 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.
- wire
Group Property MapProperties - Properties specific to the wire group. Structure is documented below.
- wire
Properties 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<Wire
Group Endpoint Interconnect> - Structure is documented below.
- Endpoint string
- The identifier for this object. Format specified above.
- Interconnects
[]Wire
Group Endpoint Interconnect - Structure is documented below.
- endpoint String
- The identifier for this object. Format specified above.
- interconnects
List<Wire
Group Endpoint Interconnect> - Structure is documented below.
- endpoint string
- The identifier for this object. Format specified above.
- interconnects
Wire
Group Endpoint Interconnect[] - Structure is documented below.
- endpoint str
- The identifier for this object. Format specified above.
- interconnects
Sequence[Wire
Group Endpoint Interconnect] - Structure is documented below.
- endpoint String
- The identifier for this object. Format specified above.
- interconnects List<Property Map>
- Structure is documented below.
WireGroupEndpointInterconnect, WireGroupEndpointInterconnectArgs
- Interconnect
Name string - The identifier for this object. Format specified above.
- Interconnect string
- (Optional)
- List<int>
- VLAN tags for the interconnect.
- Interconnect
Name string - The identifier for this object. Format specified above.
- Interconnect string
- (Optional)
- []int
- VLAN tags for the interconnect.
- interconnect
Name String - The identifier for this object. Format specified above.
- interconnect String
- (Optional)
- List<Integer>
- VLAN tags for the interconnect.
- interconnect
Name string - The identifier for this object. Format specified above.
- interconnect string
- (Optional)
- number[]
- VLAN tags for the interconnect.
- interconnect_
name str - The identifier for this object. Format specified above.
- interconnect str
- (Optional)
- Sequence[int]
- VLAN tags for the interconnect.
- interconnect
Name String - The identifier for this object. Format specified above.
- interconnect String
- (Optional)
- List<Number>
- VLAN tags for the interconnect.
WireGroupTopology, WireGroupTopologyArgs
- Endpoints
List<Wire
Group Topology Endpoint> - Endpoints grouped by location, each mapping to interconnect configurations. Structure is documented below.
- Endpoints
[]Wire
Group Topology Endpoint - Endpoints grouped by location, each mapping to interconnect configurations. Structure is documented below.
- endpoints
List<Wire
Group Topology Endpoint> - Endpoints grouped by location, each mapping to interconnect configurations. Structure is documented below.
- endpoints
Wire
Group Topology Endpoint[] - Endpoints grouped by location, each mapping to interconnect configurations. Structure is documented below.
- endpoints
Sequence[Wire
Group Topology Endpoint] - 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
WireGroupWire, WireGroupWireArgs
- Admin
Enabled bool - Indicates whether the wire group is administratively enabled.
- Endpoints
List<Wire
Group Wire Endpoint> - Endpoints grouped by location, each mapping to interconnect configurations. Structure is documented below.
- Label string
- (Output)
- Wire
Properties List<WireGroup Wire Wire Property> - Default properties for wires within the group. Structure is documented below.
- Admin
Enabled bool - Indicates whether the wire group is administratively enabled.
- Endpoints
[]Wire
Group Wire Endpoint - Endpoints grouped by location, each mapping to interconnect configurations. Structure is documented below.
- Label string
- (Output)
- Wire
Properties []WireGroup Wire Wire Property - Default properties for wires within the group. Structure is documented below.
- admin
Enabled Boolean - Indicates whether the wire group is administratively enabled.
- endpoints
List<Wire
Group Wire Endpoint> - Endpoints grouped by location, each mapping to interconnect configurations. Structure is documented below.
- label String
- (Output)
- wire
Properties List<WireGroup Wire Wire Property> - Default properties for wires within the group. Structure is documented below.
- admin
Enabled boolean - Indicates whether the wire group is administratively enabled.
- endpoints
Wire
Group Wire Endpoint[] - Endpoints grouped by location, each mapping to interconnect configurations. Structure is documented below.
- label string
- (Output)
- wire
Properties WireGroup Wire Wire Property[] - Default properties for wires within the group. Structure is documented below.
- admin_
enabled bool - Indicates whether the wire group is administratively enabled.
- endpoints
Sequence[Wire
Group Wire Endpoint] - Endpoints grouped by location, each mapping to interconnect configurations. Structure is documented below.
- label str
- (Output)
- wire_
properties Sequence[WireGroup Wire Wire Property] - Default properties for wires within the group. Structure is documented below.
- admin
Enabled 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)
- wire
Properties List<Property Map> - Default properties for wires within the group. Structure is documented below.
WireGroupWireEndpoint, WireGroupWireEndpointArgs
- Interconnect string
- (Output)
- Vlan
Tag int - (Output)
- Interconnect string
- (Output)
- Vlan
Tag int - (Output)
- interconnect String
- (Output)
- vlan
Tag Integer - (Output)
- interconnect string
- (Output)
- vlan
Tag number - (Output)
- interconnect str
- (Output)
- vlan_
tag int - (Output)
- interconnect String
- (Output)
- vlan
Tag 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
- Bandwidth
Unmetered int - The unmetered bandwidth setting.
- Fault
Response 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 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 Integer - The unmetered bandwidth setting.
- fault
Response 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 number - The unmetered bandwidth setting.
- fault
Response 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.
- bandwidth
Unmetered Number - The unmetered bandwidth setting.
- fault
Response 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
- Bandwidth
Unmetered int - The unmetered bandwidth setting.
- Fault
Response 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 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 Integer - The unmetered bandwidth setting.
- fault
Response 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 number - The unmetered bandwidth setting.
- fault
Response 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.
- bandwidth
Unmetered Number - The unmetered bandwidth setting.
- fault
Response 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.