import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs } from "../../types"; /** * Creates a Interconnect in the specified project using the data included in the request. */ export declare class Interconnect extends pulumi.CustomResource { /** * Get an existing Interconnect resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Interconnect; /** * Returns true if the given object is an instance of Interconnect. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Interconnect; /** * Administrative status of the interconnect. When this is set to true, the Interconnect is functional and can carry traffic. When set to false, no packets can be carried over the interconnect and no BGP routes are exchanged over it. By default, the status is set to true. */ readonly adminEnabled: pulumi.Output; /** * [Output Only] A list of CircuitInfo objects, that describe the individual circuits in this LAG. */ readonly circuitInfos: pulumi.Output; /** * [Output Only] Creation timestamp in RFC3339 text format. */ readonly creationTimestamp: pulumi.Output; /** * Customer name, to put in the Letter of Authorization as the party authorized to request a crossconnect. */ readonly customerName: pulumi.Output; /** * An optional description of this resource. Provide this property when you create the resource. */ readonly description: pulumi.Output; /** * [Output Only] A list of outages expected for this Interconnect. */ readonly expectedOutages: pulumi.Output; /** * [Output Only] IP address configured on the Google side of the Interconnect link. This can be used only for ping tests. */ readonly googleIpAddress: pulumi.Output; /** * [Output Only] Google reference ID to be used when raising support tickets with Google or otherwise to debug backend connectivity issues. */ readonly googleReferenceId: pulumi.Output; /** * [Output Only] A list of the URLs of all InterconnectAttachments configured to use this Interconnect. */ readonly interconnectAttachments: pulumi.Output; /** * Type of interconnect, which can take one of the following values: * - PARTNER: A partner-managed interconnection shared between customers though a partner. * - DEDICATED: A dedicated physical interconnection with the customer. Note that a value IT_PRIVATE has been deprecated in favor of DEDICATED. */ readonly interconnectType: pulumi.Output; /** * [Output Only] Type of the resource. Always compute#interconnect for interconnects. */ readonly kind: pulumi.Output; /** * A fingerprint for the labels being applied to this Interconnect, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. * * To see the latest fingerprint, make a get() request to retrieve an Interconnect. */ readonly labelFingerprint: pulumi.Output; /** * Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty. */ readonly labels: pulumi.Output<{ [key: string]: string; }>; /** * Type of link requested, which can take one of the following values: * - LINK_TYPE_ETHERNET_10G_LR: A 10G Ethernet with LR optics * - LINK_TYPE_ETHERNET_100G_LR: A 100G Ethernet with LR optics. Note that this field indicates the speed of each of the links in the bundle, not the speed of the entire bundle. */ readonly linkType: pulumi.Output; /** * URL of the InterconnectLocation object that represents where this connection is to be provisioned. */ readonly location: pulumi.Output; /** * 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]([-a-z0-9]*[a-z0-9])?` 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. */ readonly name: pulumi.Output; /** * Email address to contact the customer NOC for operations and maintenance notifications regarding this Interconnect. If specified, this will be used for notifications in addition to all other forms described, such as Stackdriver logs alerting and Cloud Notifications. */ readonly nocContactEmail: pulumi.Output; /** * [Output Only] The current status of this Interconnect's functionality, which can take one of the following values: * - OS_ACTIVE: A valid Interconnect, which is turned up and is ready to use. Attachments may be provisioned on this Interconnect. * - OS_UNPROVISIONED: An Interconnect that has not completed turnup. No attachments may be provisioned on this Interconnect. * - OS_UNDER_MAINTENANCE: An Interconnect that is undergoing internal maintenance. No attachments may be provisioned or updated on this Interconnect. */ readonly operationalStatus: pulumi.Output; /** * [Output Only] IP address configured on the customer side of the Interconnect link. The customer should configure this IP address during turnup when prompted by Google NOC. This can be used only for ping tests. */ readonly peerIpAddress: pulumi.Output; /** * [Output Only] Number of links actually provisioned in this interconnect. */ readonly provisionedLinkCount: pulumi.Output; /** * Target number of physical links in the link bundle, as requested by the customer. */ readonly requestedLinkCount: pulumi.Output; /** * [Output Only] Server-defined URL for the resource. */ readonly selfLink: pulumi.Output; /** * [Output Only] Server-defined URL for this resource with the resource id. */ readonly selfLinkWithId: pulumi.Output; /** * [Output Only] The current state of Interconnect functionality, which can take one of the following values: * - ACTIVE: The Interconnect is valid, turned up and ready to use. Attachments may be provisioned on this Interconnect. * - UNPROVISIONED: The Interconnect has not completed turnup. No attachments may be provisioned on this Interconnect. * - UNDER_MAINTENANCE: The Interconnect is undergoing internal maintenance. No attachments may be provisioned or updated on this Interconnect. */ readonly state: pulumi.Output; /** * Create a Interconnect resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: InterconnectArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Interconnect resource. */ export interface InterconnectArgs { /** * Administrative status of the interconnect. When this is set to true, the Interconnect is functional and can carry traffic. When set to false, no packets can be carried over the interconnect and no BGP routes are exchanged over it. By default, the status is set to true. */ readonly adminEnabled?: pulumi.Input; /** * [Output Only] A list of CircuitInfo objects, that describe the individual circuits in this LAG. */ readonly circuitInfos?: pulumi.Input[]>; /** * [Output Only] Creation timestamp in RFC3339 text format. */ readonly creationTimestamp?: pulumi.Input; /** * Customer name, to put in the Letter of Authorization as the party authorized to request a crossconnect. */ readonly customerName?: pulumi.Input; /** * An optional description of this resource. Provide this property when you create the resource. */ readonly description?: pulumi.Input; /** * [Output Only] A list of outages expected for this Interconnect. */ readonly expectedOutages?: pulumi.Input[]>; /** * [Output Only] IP address configured on the Google side of the Interconnect link. This can be used only for ping tests. */ readonly googleIpAddress?: pulumi.Input; /** * [Output Only] Google reference ID to be used when raising support tickets with Google or otherwise to debug backend connectivity issues. */ readonly googleReferenceId?: pulumi.Input; /** * [Output Only] The unique identifier for the resource. This identifier is defined by the server. */ readonly id?: pulumi.Input; readonly interconnect: pulumi.Input; /** * [Output Only] A list of the URLs of all InterconnectAttachments configured to use this Interconnect. */ readonly interconnectAttachments?: pulumi.Input[]>; /** * Type of interconnect, which can take one of the following values: * - PARTNER: A partner-managed interconnection shared between customers though a partner. * - DEDICATED: A dedicated physical interconnection with the customer. Note that a value IT_PRIVATE has been deprecated in favor of DEDICATED. */ readonly interconnectType?: pulumi.Input; /** * [Output Only] Type of the resource. Always compute#interconnect for interconnects. */ readonly kind?: pulumi.Input; /** * A fingerprint for the labels being applied to this Interconnect, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. * * To see the latest fingerprint, make a get() request to retrieve an Interconnect. */ readonly labelFingerprint?: pulumi.Input; /** * Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty. */ readonly labels?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * Type of link requested, which can take one of the following values: * - LINK_TYPE_ETHERNET_10G_LR: A 10G Ethernet with LR optics * - LINK_TYPE_ETHERNET_100G_LR: A 100G Ethernet with LR optics. Note that this field indicates the speed of each of the links in the bundle, not the speed of the entire bundle. */ readonly linkType?: pulumi.Input; /** * URL of the InterconnectLocation object that represents where this connection is to be provisioned. */ readonly location?: pulumi.Input; /** * 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]([-a-z0-9]*[a-z0-9])?` 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. */ readonly name?: pulumi.Input; /** * Email address to contact the customer NOC for operations and maintenance notifications regarding this Interconnect. If specified, this will be used for notifications in addition to all other forms described, such as Stackdriver logs alerting and Cloud Notifications. */ readonly nocContactEmail?: pulumi.Input; /** * [Output Only] The current status of this Interconnect's functionality, which can take one of the following values: * - OS_ACTIVE: A valid Interconnect, which is turned up and is ready to use. Attachments may be provisioned on this Interconnect. * - OS_UNPROVISIONED: An Interconnect that has not completed turnup. No attachments may be provisioned on this Interconnect. * - OS_UNDER_MAINTENANCE: An Interconnect that is undergoing internal maintenance. No attachments may be provisioned or updated on this Interconnect. */ readonly operationalStatus?: pulumi.Input; /** * [Output Only] IP address configured on the customer side of the Interconnect link. The customer should configure this IP address during turnup when prompted by Google NOC. This can be used only for ping tests. */ readonly peerIpAddress?: pulumi.Input; readonly project: pulumi.Input; /** * [Output Only] Number of links actually provisioned in this interconnect. */ readonly provisionedLinkCount?: pulumi.Input; /** * Target number of physical links in the link bundle, as requested by the customer. */ readonly requestedLinkCount?: pulumi.Input; /** * [Output Only] Server-defined URL for the resource. */ readonly selfLink?: pulumi.Input; /** * [Output Only] Server-defined URL for this resource with the resource id. */ readonly selfLinkWithId?: pulumi.Input; /** * [Output Only] The current state of Interconnect functionality, which can take one of the following values: * - ACTIVE: The Interconnect is valid, turned up and ready to use. Attachments may be provisioned on this Interconnect. * - UNPROVISIONED: The Interconnect has not completed turnup. No attachments may be provisioned on this Interconnect. * - UNDER_MAINTENANCE: The Interconnect is undergoing internal maintenance. No attachments may be provisioned or updated on this Interconnect. */ readonly state?: pulumi.Input; }