pulumi_wasm_providers_gcp_mini::compute::interconnect

Struct InterconnectArgs

source
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

source

pub fn builder() -> InterconnectArgsBuilder

Create an instance of InterconnectArgs using the builder syntax

Trait Implementations§

source§

impl Clone for InterconnectArgs

source§

fn clone(&self) -> InterconnectArgs

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.