gcp.edgenetwork.InterconnectAttachment
Explore with Pulumi AI
A Distributed Cloud Edge interconnect attachment, which connects routers to the northbound network.
To get more information about InterconnectAttachment, see:
Example Usage
Edgenetwork Interconnect Attachment
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const exampleNetwork = new gcp.edgenetwork.Network("example_network", {
    networkId: "example-network",
    location: "us-west1",
    zone: "",
    description: "Example network.",
    mtu: 9000,
});
const exampleInterconnectAttachment = new gcp.edgenetwork.InterconnectAttachment("example_interconnect_attachment", {
    interconnectAttachmentId: "example-interconnect-attachment",
    location: "us-west1",
    zone: "",
    description: "Example interconnect attachment.",
    network: exampleNetwork.id,
    interconnect: "11111111-2222-3333-4444-555555555555",
    vlanId: 55,
    mtu: 9000,
    labels: {
        environment: "dev",
    },
});
import pulumi
import pulumi_gcp as gcp
example_network = gcp.edgenetwork.Network("example_network",
    network_id="example-network",
    location="us-west1",
    zone="",
    description="Example network.",
    mtu=9000)
example_interconnect_attachment = gcp.edgenetwork.InterconnectAttachment("example_interconnect_attachment",
    interconnect_attachment_id="example-interconnect-attachment",
    location="us-west1",
    zone="",
    description="Example interconnect attachment.",
    network=example_network.id,
    interconnect="11111111-2222-3333-4444-555555555555",
    vlan_id=55,
    mtu=9000,
    labels={
        "environment": "dev",
    })
package main
import (
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/edgenetwork"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleNetwork, err := edgenetwork.NewNetwork(ctx, "example_network", &edgenetwork.NetworkArgs{
			NetworkId:   pulumi.String("example-network"),
			Location:    pulumi.String("us-west1"),
			Zone:        pulumi.String(""),
			Description: pulumi.String("Example network."),
			Mtu:         pulumi.Int(9000),
		})
		if err != nil {
			return err
		}
		_, err = edgenetwork.NewInterconnectAttachment(ctx, "example_interconnect_attachment", &edgenetwork.InterconnectAttachmentArgs{
			InterconnectAttachmentId: pulumi.String("example-interconnect-attachment"),
			Location:                 pulumi.String("us-west1"),
			Zone:                     pulumi.String(""),
			Description:              pulumi.String("Example interconnect attachment."),
			Network:                  exampleNetwork.ID(),
			Interconnect:             pulumi.String("11111111-2222-3333-4444-555555555555"),
			VlanId:                   pulumi.Int(55),
			Mtu:                      pulumi.Int(9000),
			Labels: pulumi.StringMap{
				"environment": pulumi.String("dev"),
			},
		})
		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 exampleNetwork = new Gcp.EdgeNetwork.Network("example_network", new()
    {
        NetworkId = "example-network",
        Location = "us-west1",
        Zone = "",
        Description = "Example network.",
        Mtu = 9000,
    });
    var exampleInterconnectAttachment = new Gcp.EdgeNetwork.InterconnectAttachment("example_interconnect_attachment", new()
    {
        InterconnectAttachmentId = "example-interconnect-attachment",
        Location = "us-west1",
        Zone = "",
        Description = "Example interconnect attachment.",
        Network = exampleNetwork.Id,
        Interconnect = "11111111-2222-3333-4444-555555555555",
        VlanId = 55,
        Mtu = 9000,
        Labels = 
        {
            { "environment", "dev" },
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.edgenetwork.Network;
import com.pulumi.gcp.edgenetwork.NetworkArgs;
import com.pulumi.gcp.edgenetwork.InterconnectAttachment;
import com.pulumi.gcp.edgenetwork.InterconnectAttachmentArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var exampleNetwork = new Network("exampleNetwork", NetworkArgs.builder()
            .networkId("example-network")
            .location("us-west1")
            .zone("")
            .description("Example network.")
            .mtu(9000)
            .build());
        var exampleInterconnectAttachment = new InterconnectAttachment("exampleInterconnectAttachment", InterconnectAttachmentArgs.builder()
            .interconnectAttachmentId("example-interconnect-attachment")
            .location("us-west1")
            .zone("")
            .description("Example interconnect attachment.")
            .network(exampleNetwork.id())
            .interconnect("11111111-2222-3333-4444-555555555555")
            .vlanId(55)
            .mtu(9000)
            .labels(Map.of("environment", "dev"))
            .build());
    }
}
resources:
  exampleInterconnectAttachment:
    type: gcp:edgenetwork:InterconnectAttachment
    name: example_interconnect_attachment
    properties:
      interconnectAttachmentId: example-interconnect-attachment
      location: us-west1
      zone: ""
      description: Example interconnect attachment.
      network: ${exampleNetwork.id}
      interconnect: 11111111-2222-3333-4444-555555555555
      vlanId: 55
      mtu: 9000
      labels:
        environment: dev
  exampleNetwork:
    type: gcp:edgenetwork:Network
    name: example_network
    properties:
      networkId: example-network
      location: us-west1
      zone: ""
      description: Example network.
      mtu: 9000
Create InterconnectAttachment Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new InterconnectAttachment(name: string, args: InterconnectAttachmentArgs, opts?: CustomResourceOptions);@overload
def InterconnectAttachment(resource_name: str,
                           args: InterconnectAttachmentArgs,
                           opts: Optional[ResourceOptions] = None)
@overload
def InterconnectAttachment(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           interconnect: Optional[str] = None,
                           interconnect_attachment_id: Optional[str] = None,
                           location: Optional[str] = None,
                           network: Optional[str] = None,
                           vlan_id: Optional[int] = None,
                           zone: Optional[str] = None,
                           description: Optional[str] = None,
                           labels: Optional[Mapping[str, str]] = None,
                           mtu: Optional[int] = None,
                           project: Optional[str] = None)func NewInterconnectAttachment(ctx *Context, name string, args InterconnectAttachmentArgs, opts ...ResourceOption) (*InterconnectAttachment, error)public InterconnectAttachment(string name, InterconnectAttachmentArgs args, CustomResourceOptions? opts = null)
public InterconnectAttachment(String name, InterconnectAttachmentArgs args)
public InterconnectAttachment(String name, InterconnectAttachmentArgs args, CustomResourceOptions options)
type: gcp:edgenetwork:InterconnectAttachment
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 InterconnectAttachmentArgs
- 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 InterconnectAttachmentArgs
- 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 InterconnectAttachmentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args InterconnectAttachmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args InterconnectAttachmentArgs
- 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 gcpInterconnectAttachmentResource = new Gcp.EdgeNetwork.InterconnectAttachment("gcpInterconnectAttachmentResource", new()
{
    Interconnect = "string",
    InterconnectAttachmentId = "string",
    Location = "string",
    Network = "string",
    VlanId = 0,
    Zone = "string",
    Description = "string",
    Labels = 
    {
        { "string", "string" },
    },
    Mtu = 0,
    Project = "string",
});
example, err := edgenetwork.NewInterconnectAttachment(ctx, "gcpInterconnectAttachmentResource", &edgenetwork.InterconnectAttachmentArgs{
	Interconnect:             pulumi.String("string"),
	InterconnectAttachmentId: pulumi.String("string"),
	Location:                 pulumi.String("string"),
	Network:                  pulumi.String("string"),
	VlanId:                   pulumi.Int(0),
	Zone:                     pulumi.String("string"),
	Description:              pulumi.String("string"),
	Labels: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	Mtu:     pulumi.Int(0),
	Project: pulumi.String("string"),
})
var gcpInterconnectAttachmentResource = new InterconnectAttachment("gcpInterconnectAttachmentResource", InterconnectAttachmentArgs.builder()
    .interconnect("string")
    .interconnectAttachmentId("string")
    .location("string")
    .network("string")
    .vlanId(0)
    .zone("string")
    .description("string")
    .labels(Map.of("string", "string"))
    .mtu(0)
    .project("string")
    .build());
gcp_interconnect_attachment_resource = gcp.edgenetwork.InterconnectAttachment("gcpInterconnectAttachmentResource",
    interconnect="string",
    interconnect_attachment_id="string",
    location="string",
    network="string",
    vlan_id=0,
    zone="string",
    description="string",
    labels={
        "string": "string",
    },
    mtu=0,
    project="string")
const gcpInterconnectAttachmentResource = new gcp.edgenetwork.InterconnectAttachment("gcpInterconnectAttachmentResource", {
    interconnect: "string",
    interconnectAttachmentId: "string",
    location: "string",
    network: "string",
    vlanId: 0,
    zone: "string",
    description: "string",
    labels: {
        string: "string",
    },
    mtu: 0,
    project: "string",
});
type: gcp:edgenetwork:InterconnectAttachment
properties:
    description: string
    interconnect: string
    interconnectAttachmentId: string
    labels:
        string: string
    location: string
    mtu: 0
    network: string
    project: string
    vlanId: 0
    zone: string
InterconnectAttachment 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 InterconnectAttachment resource accepts the following input properties:
- Interconnect string
- The ID of the underlying interconnect that this attachment's traffic will traverse through.
- InterconnectAttachment stringId 
- A unique ID that identifies this interconnect attachment.
- Location string
- The Google Cloud region to which the target Distributed Cloud Edge zone belongs.
- Network string
- The ID of the network to which this interconnect attachment belongs.
Must be of the form: projects/{{project}}/locations/{{location}}/zones/{{zone}}/networks/{{network_id}}
- VlanId int
- VLAN ID provided by user. Must be site-wise unique.
- Zone string
- The name of the target Distributed Cloud Edge zone.
- Description string
- A free-text description of the resource. Max length 1024 characters.
- Labels Dictionary<string, string>
- Labels associated with this resource. - Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field - effective_labelsfor all of the labels present on the resource.
- Mtu int
- IP (L3) MTU value of the virtual edge cloud. Default value is 1500. Possible values are:1500,9000.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Interconnect string
- The ID of the underlying interconnect that this attachment's traffic will traverse through.
- InterconnectAttachment stringId 
- A unique ID that identifies this interconnect attachment.
- Location string
- The Google Cloud region to which the target Distributed Cloud Edge zone belongs.
- Network string
- The ID of the network to which this interconnect attachment belongs.
Must be of the form: projects/{{project}}/locations/{{location}}/zones/{{zone}}/networks/{{network_id}}
- VlanId int
- VLAN ID provided by user. Must be site-wise unique.
- Zone string
- The name of the target Distributed Cloud Edge zone.
- Description string
- A free-text description of the resource. Max length 1024 characters.
- Labels map[string]string
- Labels associated with this resource. - Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field - effective_labelsfor all of the labels present on the resource.
- Mtu int
- IP (L3) MTU value of the virtual edge cloud. Default value is 1500. Possible values are:1500,9000.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- interconnect String
- The ID of the underlying interconnect that this attachment's traffic will traverse through.
- interconnectAttachment StringId 
- A unique ID that identifies this interconnect attachment.
- location String
- The Google Cloud region to which the target Distributed Cloud Edge zone belongs.
- network String
- The ID of the network to which this interconnect attachment belongs.
Must be of the form: projects/{{project}}/locations/{{location}}/zones/{{zone}}/networks/{{network_id}}
- vlanId Integer
- VLAN ID provided by user. Must be site-wise unique.
- zone String
- The name of the target Distributed Cloud Edge zone.
- description String
- A free-text description of the resource. Max length 1024 characters.
- labels Map<String,String>
- Labels associated with this resource. - Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field - effective_labelsfor all of the labels present on the resource.
- mtu Integer
- IP (L3) MTU value of the virtual edge cloud. Default value is 1500. Possible values are:1500,9000.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- interconnect string
- The ID of the underlying interconnect that this attachment's traffic will traverse through.
- interconnectAttachment stringId 
- A unique ID that identifies this interconnect attachment.
- location string
- The Google Cloud region to which the target Distributed Cloud Edge zone belongs.
- network string
- The ID of the network to which this interconnect attachment belongs.
Must be of the form: projects/{{project}}/locations/{{location}}/zones/{{zone}}/networks/{{network_id}}
- vlanId number
- VLAN ID provided by user. Must be site-wise unique.
- zone string
- The name of the target Distributed Cloud Edge zone.
- description string
- A free-text description of the resource. Max length 1024 characters.
- labels {[key: string]: string}
- Labels associated with this resource. - Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field - effective_labelsfor all of the labels present on the resource.
- mtu number
- IP (L3) MTU value of the virtual edge cloud. Default value is 1500. Possible values are:1500,9000.
- project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- interconnect str
- The ID of the underlying interconnect that this attachment's traffic will traverse through.
- interconnect_attachment_ strid 
- A unique ID that identifies this interconnect attachment.
- location str
- The Google Cloud region to which the target Distributed Cloud Edge zone belongs.
- network str
- The ID of the network to which this interconnect attachment belongs.
Must be of the form: projects/{{project}}/locations/{{location}}/zones/{{zone}}/networks/{{network_id}}
- vlan_id int
- VLAN ID provided by user. Must be site-wise unique.
- zone str
- The name of the target Distributed Cloud Edge zone.
- description str
- A free-text description of the resource. Max length 1024 characters.
- labels Mapping[str, str]
- Labels associated with this resource. - Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field - effective_labelsfor all of the labels present on the resource.
- mtu int
- IP (L3) MTU value of the virtual edge cloud. Default value is 1500. Possible values are:1500,9000.
- project str
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- interconnect String
- The ID of the underlying interconnect that this attachment's traffic will traverse through.
- interconnectAttachment StringId 
- A unique ID that identifies this interconnect attachment.
- location String
- The Google Cloud region to which the target Distributed Cloud Edge zone belongs.
- network String
- The ID of the network to which this interconnect attachment belongs.
Must be of the form: projects/{{project}}/locations/{{location}}/zones/{{zone}}/networks/{{network_id}}
- vlanId Number
- VLAN ID provided by user. Must be site-wise unique.
- zone String
- The name of the target Distributed Cloud Edge zone.
- description String
- A free-text description of the resource. Max length 1024 characters.
- labels Map<String>
- Labels associated with this resource. - Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field - effective_labelsfor all of the labels present on the resource.
- mtu Number
- IP (L3) MTU value of the virtual edge cloud. Default value is 1500. Possible values are:1500,9000.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
Outputs
All input properties are implicitly available as output properties. Additionally, the InterconnectAttachment resource produces the following output properties:
- CreateTime string
- The time when the resource was created.
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine
fractional digits. Examples: 2014-10-02T15:01:23Zand2014-10-02T15:01:23.045123456Z.
- EffectiveLabels Dictionary<string, string>
- All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The canonical name of this resource, with format
projects/{{project}}/locations/{{location}}/zones/{{zone}}/interconnectAttachments/{{interconnect_attachment_id}}
- PulumiLabels Dictionary<string, string>
- The combination of labels configured directly on the resource and default labels configured on the provider.
- UpdateTime string
- The time when the resource was last updated.
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine
fractional digits. Examples: 2014-10-02T15:01:23Zand2014-10-02T15:01:23.045123456Z.
- CreateTime string
- The time when the resource was created.
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine
fractional digits. Examples: 2014-10-02T15:01:23Zand2014-10-02T15:01:23.045123456Z.
- EffectiveLabels map[string]string
- All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The canonical name of this resource, with format
projects/{{project}}/locations/{{location}}/zones/{{zone}}/interconnectAttachments/{{interconnect_attachment_id}}
- PulumiLabels map[string]string
- The combination of labels configured directly on the resource and default labels configured on the provider.
- UpdateTime string
- The time when the resource was last updated.
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine
fractional digits. Examples: 2014-10-02T15:01:23Zand2014-10-02T15:01:23.045123456Z.
- createTime String
- The time when the resource was created.
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine
fractional digits. Examples: 2014-10-02T15:01:23Zand2014-10-02T15:01:23.045123456Z.
- effectiveLabels Map<String,String>
- All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The canonical name of this resource, with format
projects/{{project}}/locations/{{location}}/zones/{{zone}}/interconnectAttachments/{{interconnect_attachment_id}}
- pulumiLabels Map<String,String>
- The combination of labels configured directly on the resource and default labels configured on the provider.
- updateTime String
- The time when the resource was last updated.
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine
fractional digits. Examples: 2014-10-02T15:01:23Zand2014-10-02T15:01:23.045123456Z.
- createTime string
- The time when the resource was created.
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine
fractional digits. Examples: 2014-10-02T15:01:23Zand2014-10-02T15:01:23.045123456Z.
- effectiveLabels {[key: string]: string}
- All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The canonical name of this resource, with format
projects/{{project}}/locations/{{location}}/zones/{{zone}}/interconnectAttachments/{{interconnect_attachment_id}}
- pulumiLabels {[key: string]: string}
- The combination of labels configured directly on the resource and default labels configured on the provider.
- updateTime string
- The time when the resource was last updated.
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine
fractional digits. Examples: 2014-10-02T15:01:23Zand2014-10-02T15:01:23.045123456Z.
- create_time str
- The time when the resource was created.
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine
fractional digits. Examples: 2014-10-02T15:01:23Zand2014-10-02T15:01:23.045123456Z.
- effective_labels Mapping[str, str]
- All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The canonical name of this resource, with format
projects/{{project}}/locations/{{location}}/zones/{{zone}}/interconnectAttachments/{{interconnect_attachment_id}}
- pulumi_labels Mapping[str, str]
- The combination of labels configured directly on the resource and default labels configured on the provider.
- update_time str
- The time when the resource was last updated.
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine
fractional digits. Examples: 2014-10-02T15:01:23Zand2014-10-02T15:01:23.045123456Z.
- createTime String
- The time when the resource was created.
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine
fractional digits. Examples: 2014-10-02T15:01:23Zand2014-10-02T15:01:23.045123456Z.
- effectiveLabels Map<String>
- All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The canonical name of this resource, with format
projects/{{project}}/locations/{{location}}/zones/{{zone}}/interconnectAttachments/{{interconnect_attachment_id}}
- pulumiLabels Map<String>
- The combination of labels configured directly on the resource and default labels configured on the provider.
- updateTime String
- The time when the resource was last updated.
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine
fractional digits. Examples: 2014-10-02T15:01:23Zand2014-10-02T15:01:23.045123456Z.
Look up Existing InterconnectAttachment Resource
Get an existing InterconnectAttachment 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?: InterconnectAttachmentState, opts?: CustomResourceOptions): InterconnectAttachment@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        create_time: Optional[str] = None,
        description: Optional[str] = None,
        effective_labels: Optional[Mapping[str, str]] = None,
        interconnect: Optional[str] = None,
        interconnect_attachment_id: Optional[str] = None,
        labels: Optional[Mapping[str, str]] = None,
        location: Optional[str] = None,
        mtu: Optional[int] = None,
        name: Optional[str] = None,
        network: Optional[str] = None,
        project: Optional[str] = None,
        pulumi_labels: Optional[Mapping[str, str]] = None,
        update_time: Optional[str] = None,
        vlan_id: Optional[int] = None,
        zone: Optional[str] = None) -> InterconnectAttachmentfunc GetInterconnectAttachment(ctx *Context, name string, id IDInput, state *InterconnectAttachmentState, opts ...ResourceOption) (*InterconnectAttachment, error)public static InterconnectAttachment Get(string name, Input<string> id, InterconnectAttachmentState? state, CustomResourceOptions? opts = null)public static InterconnectAttachment get(String name, Output<String> id, InterconnectAttachmentState state, CustomResourceOptions options)resources:  _:    type: gcp:edgenetwork:InterconnectAttachment    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.
- CreateTime string
- The time when the resource was created.
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine
fractional digits. Examples: 2014-10-02T15:01:23Zand2014-10-02T15:01:23.045123456Z.
- Description string
- A free-text description of the resource. Max length 1024 characters.
- EffectiveLabels Dictionary<string, string>
- All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- Interconnect string
- The ID of the underlying interconnect that this attachment's traffic will traverse through.
- InterconnectAttachment stringId 
- A unique ID that identifies this interconnect attachment.
- Labels Dictionary<string, string>
- Labels associated with this resource. - Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field - effective_labelsfor all of the labels present on the resource.
- Location string
- The Google Cloud region to which the target Distributed Cloud Edge zone belongs.
- Mtu int
- IP (L3) MTU value of the virtual edge cloud. Default value is 1500. Possible values are:1500,9000.
- Name string
- The canonical name of this resource, with format
projects/{{project}}/locations/{{location}}/zones/{{zone}}/interconnectAttachments/{{interconnect_attachment_id}}
- Network string
- The ID of the network to which this interconnect attachment belongs.
Must be of the form: projects/{{project}}/locations/{{location}}/zones/{{zone}}/networks/{{network_id}}
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- PulumiLabels Dictionary<string, string>
- The combination of labels configured directly on the resource and default labels configured on the provider.
- UpdateTime string
- The time when the resource was last updated.
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine
fractional digits. Examples: 2014-10-02T15:01:23Zand2014-10-02T15:01:23.045123456Z.
- VlanId int
- VLAN ID provided by user. Must be site-wise unique.
- Zone string
- The name of the target Distributed Cloud Edge zone.
- CreateTime string
- The time when the resource was created.
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine
fractional digits. Examples: 2014-10-02T15:01:23Zand2014-10-02T15:01:23.045123456Z.
- Description string
- A free-text description of the resource. Max length 1024 characters.
- EffectiveLabels map[string]string
- All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- Interconnect string
- The ID of the underlying interconnect that this attachment's traffic will traverse through.
- InterconnectAttachment stringId 
- A unique ID that identifies this interconnect attachment.
- Labels map[string]string
- Labels associated with this resource. - Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field - effective_labelsfor all of the labels present on the resource.
- Location string
- The Google Cloud region to which the target Distributed Cloud Edge zone belongs.
- Mtu int
- IP (L3) MTU value of the virtual edge cloud. Default value is 1500. Possible values are:1500,9000.
- Name string
- The canonical name of this resource, with format
projects/{{project}}/locations/{{location}}/zones/{{zone}}/interconnectAttachments/{{interconnect_attachment_id}}
- Network string
- The ID of the network to which this interconnect attachment belongs.
Must be of the form: projects/{{project}}/locations/{{location}}/zones/{{zone}}/networks/{{network_id}}
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- PulumiLabels map[string]string
- The combination of labels configured directly on the resource and default labels configured on the provider.
- UpdateTime string
- The time when the resource was last updated.
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine
fractional digits. Examples: 2014-10-02T15:01:23Zand2014-10-02T15:01:23.045123456Z.
- VlanId int
- VLAN ID provided by user. Must be site-wise unique.
- Zone string
- The name of the target Distributed Cloud Edge zone.
- createTime String
- The time when the resource was created.
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine
fractional digits. Examples: 2014-10-02T15:01:23Zand2014-10-02T15:01:23.045123456Z.
- description String
- A free-text description of the resource. Max length 1024 characters.
- effectiveLabels Map<String,String>
- All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- interconnect String
- The ID of the underlying interconnect that this attachment's traffic will traverse through.
- interconnectAttachment StringId 
- A unique ID that identifies this interconnect attachment.
- labels Map<String,String>
- Labels associated with this resource. - Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field - effective_labelsfor all of the labels present on the resource.
- location String
- The Google Cloud region to which the target Distributed Cloud Edge zone belongs.
- mtu Integer
- IP (L3) MTU value of the virtual edge cloud. Default value is 1500. Possible values are:1500,9000.
- name String
- The canonical name of this resource, with format
projects/{{project}}/locations/{{location}}/zones/{{zone}}/interconnectAttachments/{{interconnect_attachment_id}}
- network String
- The ID of the network to which this interconnect attachment belongs.
Must be of the form: projects/{{project}}/locations/{{location}}/zones/{{zone}}/networks/{{network_id}}
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- pulumiLabels Map<String,String>
- The combination of labels configured directly on the resource and default labels configured on the provider.
- updateTime String
- The time when the resource was last updated.
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine
fractional digits. Examples: 2014-10-02T15:01:23Zand2014-10-02T15:01:23.045123456Z.
- vlanId Integer
- VLAN ID provided by user. Must be site-wise unique.
- zone String
- The name of the target Distributed Cloud Edge zone.
- createTime string
- The time when the resource was created.
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine
fractional digits. Examples: 2014-10-02T15:01:23Zand2014-10-02T15:01:23.045123456Z.
- description string
- A free-text description of the resource. Max length 1024 characters.
- effectiveLabels {[key: string]: string}
- All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- interconnect string
- The ID of the underlying interconnect that this attachment's traffic will traverse through.
- interconnectAttachment stringId 
- A unique ID that identifies this interconnect attachment.
- labels {[key: string]: string}
- Labels associated with this resource. - Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field - effective_labelsfor all of the labels present on the resource.
- location string
- The Google Cloud region to which the target Distributed Cloud Edge zone belongs.
- mtu number
- IP (L3) MTU value of the virtual edge cloud. Default value is 1500. Possible values are:1500,9000.
- name string
- The canonical name of this resource, with format
projects/{{project}}/locations/{{location}}/zones/{{zone}}/interconnectAttachments/{{interconnect_attachment_id}}
- network string
- The ID of the network to which this interconnect attachment belongs.
Must be of the form: projects/{{project}}/locations/{{location}}/zones/{{zone}}/networks/{{network_id}}
- project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- pulumiLabels {[key: string]: string}
- The combination of labels configured directly on the resource and default labels configured on the provider.
- updateTime string
- The time when the resource was last updated.
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine
fractional digits. Examples: 2014-10-02T15:01:23Zand2014-10-02T15:01:23.045123456Z.
- vlanId number
- VLAN ID provided by user. Must be site-wise unique.
- zone string
- The name of the target Distributed Cloud Edge zone.
- create_time str
- The time when the resource was created.
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine
fractional digits. Examples: 2014-10-02T15:01:23Zand2014-10-02T15:01:23.045123456Z.
- description str
- A free-text description of the resource. Max length 1024 characters.
- effective_labels Mapping[str, str]
- All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- interconnect str
- The ID of the underlying interconnect that this attachment's traffic will traverse through.
- interconnect_attachment_ strid 
- A unique ID that identifies this interconnect attachment.
- labels Mapping[str, str]
- Labels associated with this resource. - Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field - effective_labelsfor all of the labels present on the resource.
- location str
- The Google Cloud region to which the target Distributed Cloud Edge zone belongs.
- mtu int
- IP (L3) MTU value of the virtual edge cloud. Default value is 1500. Possible values are:1500,9000.
- name str
- The canonical name of this resource, with format
projects/{{project}}/locations/{{location}}/zones/{{zone}}/interconnectAttachments/{{interconnect_attachment_id}}
- network str
- The ID of the network to which this interconnect attachment belongs.
Must be of the form: projects/{{project}}/locations/{{location}}/zones/{{zone}}/networks/{{network_id}}
- project str
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- pulumi_labels Mapping[str, str]
- The combination of labels configured directly on the resource and default labels configured on the provider.
- update_time str
- The time when the resource was last updated.
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine
fractional digits. Examples: 2014-10-02T15:01:23Zand2014-10-02T15:01:23.045123456Z.
- vlan_id int
- VLAN ID provided by user. Must be site-wise unique.
- zone str
- The name of the target Distributed Cloud Edge zone.
- createTime String
- The time when the resource was created.
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine
fractional digits. Examples: 2014-10-02T15:01:23Zand2014-10-02T15:01:23.045123456Z.
- description String
- A free-text description of the resource. Max length 1024 characters.
- effectiveLabels Map<String>
- All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- interconnect String
- The ID of the underlying interconnect that this attachment's traffic will traverse through.
- interconnectAttachment StringId 
- A unique ID that identifies this interconnect attachment.
- labels Map<String>
- Labels associated with this resource. - Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field - effective_labelsfor all of the labels present on the resource.
- location String
- The Google Cloud region to which the target Distributed Cloud Edge zone belongs.
- mtu Number
- IP (L3) MTU value of the virtual edge cloud. Default value is 1500. Possible values are:1500,9000.
- name String
- The canonical name of this resource, with format
projects/{{project}}/locations/{{location}}/zones/{{zone}}/interconnectAttachments/{{interconnect_attachment_id}}
- network String
- The ID of the network to which this interconnect attachment belongs.
Must be of the form: projects/{{project}}/locations/{{location}}/zones/{{zone}}/networks/{{network_id}}
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- pulumiLabels Map<String>
- The combination of labels configured directly on the resource and default labels configured on the provider.
- updateTime String
- The time when the resource was last updated.
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine
fractional digits. Examples: 2014-10-02T15:01:23Zand2014-10-02T15:01:23.045123456Z.
- vlanId Number
- VLAN ID provided by user. Must be site-wise unique.
- zone String
- The name of the target Distributed Cloud Edge zone.
Import
InterconnectAttachment can be imported using any of these accepted formats:
- projects/{{project}}/locations/{{location}}/zones/{{zone}}/interconnectAttachment/{{interconnect_attachment_id}}
- {{project}}/{{location}}/{{zone}}/{{interconnect_attachment_id}}
- {{location}}/{{zone}}/{{interconnect_attachment_id}}
- {{location}}/{{interconnect_attachment_id}}
- {{name}}
When using the pulumi import command, InterconnectAttachment can be imported using one of the formats above. For example:
$ pulumi import gcp:edgenetwork/interconnectAttachment:InterconnectAttachment default projects/{{project}}/locations/{{location}}/zones/{{zone}}/interconnectAttachment/{{interconnect_attachment_id}}
$ pulumi import gcp:edgenetwork/interconnectAttachment:InterconnectAttachment default {{project}}/{{location}}/{{zone}}/{{interconnect_attachment_id}}
$ pulumi import gcp:edgenetwork/interconnectAttachment:InterconnectAttachment default {{location}}/{{zone}}/{{interconnect_attachment_id}}
$ pulumi import gcp:edgenetwork/interconnectAttachment:InterconnectAttachment default {{location}}/{{interconnect_attachment_id}}
$ pulumi import gcp:edgenetwork/interconnectAttachment:InterconnectAttachment default {{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-betaTerraform Provider.