Expand description
Represents an Interconnect resource. The Interconnect resource is a dedicated connection between Google’s network and your on-premises network.
To get more information about Interconnect, see:
- API documentation
- How-to Guides
§Example Usage
§Compute Interconnect Basic
resources:
example-interconnect:
type: gcp:compute:Interconnect
properties:
name: example-interconnect
customerName: example_customer
interconnectType: DEDICATED
linkType: LINK_TYPE_ETHERNET_10G_LR
location: https://www.googleapis.com/compute/v1/projects/${project.name}/global/interconnectLocations/iad-zone1-1
requestedLinkCount: 1
variables:
project:
fn::invoke:
function: gcp:organizations:getProject
arguments: {}
§Import
Interconnect can be imported using any of these accepted formats:
-
projects/{{project}}/global/interconnects/{{name}}
-
{{project}}/{{name}}
-
{{name}}
When using the pulumi import
command, Interconnect can be imported using one of the formats above. For example:
$ pulumi import gcp:compute/interconnect:Interconnect default projects/{{project}}/global/interconnects/{{name}}
$ pulumi import gcp:compute/interconnect:Interconnect default {{project}}/{{name}}
$ pulumi import gcp:compute/interconnect:Interconnect default {{name}}
Structs§
- Use builder syntax to set the inputs and finish with
build_struct()
.
Functions§
- Registers a new resource with the given unique name and arguments