pub struct InterconnectArgs {Show 15 fields
pub admin_enabled: Output<Option<bool>>,
pub customer_name: Output<Option<String>>,
pub description: Output<Option<String>>,
pub interconnect_type: Output<String>,
pub labels: Output<Option<HashMap<String, String>>>,
pub link_type: Output<String>,
pub location: Output<Option<String>>,
pub macsec: Output<Option<InterconnectMacsec>>,
pub macsec_enabled: Output<Option<bool>>,
pub name: Output<Option<String>>,
pub noc_contact_email: Output<Option<String>>,
pub project: Output<Option<String>>,
pub remote_location: Output<Option<String>>,
pub requested_features: Output<Option<Vec<String>>>,
pub requested_link_count: Output<i32>,
}
Fields§
§admin_enabled: Output<Option<bool>>
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.
customer_name: Output<Option<String>>
Customer name, to put in the Letter of Authorization as the party authorized to request a crossconnect. This field is required for Dedicated and Partner Interconnect, should not be specified for cross-cloud interconnect.
description: Output<Option<String>>
An optional description of this resource. Provide this property when you create the resource.
interconnect_type: Output<String>
Type of interconnect. Note that a value IT_PRIVATE has been deprecated in favor of DEDICATED. 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.
Possible values are:
DEDICATED
,PARTNER
,IT_PRIVATE
.
labels: Output<Option<HashMap<String, String>>>
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.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field effective_labels
for all of the labels present on the resource.
link_type: Output<String>
Type of link requested. Note that this field indicates the speed of each of the links in the bundle, not the speed of the entire bundle. 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.
Possible values are:
LINK_TYPE_ETHERNET_10G_LR
,LINK_TYPE_ETHERNET_100G_LR
.
location: Output<Option<String>>
URL of the InterconnectLocation object that represents where this connection is to be provisioned. Specifies the location inside Google’s Networks, should not be passed in case of cross-cloud interconnect.
macsec: Output<Option<InterconnectMacsec>>
Configuration that enables Media Access Control security (MACsec) on the Cloud Interconnect connection between Google and your on-premises router. Structure is documented below.
macsec_enabled: Output<Option<bool>>
Enable or disable MACsec on this Interconnect connection. MACsec enablement fails if the MACsec object is not specified.
name: Output<Option<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.
noc_contact_email: Output<Option<String>>
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 Cloud Monitoring logs alerting and Cloud Notifications. This field is required for users who sign up for Cloud Interconnect using workforce identity federation.
project: Output<Option<String>>
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
remote_location: Output<Option<String>>
Indicates that this is a Cross-Cloud Interconnect. This field specifies the location outside of Google’s network that the interconnect is connected to.
requested_features: Output<Option<Vec<String>>>
interconnects.list of features requested for this Interconnect connection. Options: IF_MACSEC (
If specified then the connection is created on MACsec capable hardware ports. If not
specified, the default value is false, which allocates non-MACsec capable ports first if
available). Note that MACSEC is still technically allowed for compatibility reasons, but it
does not work with the API, and will be removed in an upcoming major version.
Each value may be one of: MACSEC
, IF_MACSEC
.
requested_link_count: Output<i32>
Target number of physical links in the link bundle, as requested by the customer.
Implementations§
source§impl InterconnectArgs
impl InterconnectArgs
sourcepub fn builder() -> InterconnectArgsBuilder
pub fn builder() -> InterconnectArgsBuilder
Create an instance of InterconnectArgs
using the builder syntax
Trait Implementations§
source§impl Clone for InterconnectArgs
impl Clone for InterconnectArgs
source§fn clone(&self) -> InterconnectArgs
fn clone(&self) -> InterconnectArgs
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for InterconnectArgs
impl RefUnwindSafe for InterconnectArgs
impl Send for InterconnectArgs
impl Sync for InterconnectArgs
impl Unpin for InterconnectArgs
impl UnwindSafe for InterconnectArgs
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)