pub struct InterconnectArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> InterconnectArgsBuilder<S>
impl<S: State> InterconnectArgsBuilder<S>
sourcepub fn build_struct(self) -> InterconnectArgswhere
S: IsComplete,
pub fn build_struct(self) -> InterconnectArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn admin_enabled(
self,
value: impl Into<Output<Option<bool>>>,
) -> InterconnectArgsBuilder<SetAdminEnabled<S>>where
S::AdminEnabled: IsUnset,
pub fn admin_enabled(
self,
value: impl Into<Output<Option<bool>>>,
) -> InterconnectArgsBuilder<SetAdminEnabled<S>>where
S::AdminEnabled: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default()
.
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.
sourcepub fn maybe_admin_enabled(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> InterconnectArgsBuilder<SetAdminEnabled<S>>where
S::AdminEnabled: IsUnset,
pub fn maybe_admin_enabled(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> InterconnectArgsBuilder<SetAdminEnabled<S>>where
S::AdminEnabled: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default()
.
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.
sourcepub fn customer_name(
self,
value: impl Into<Output<Option<String>>>,
) -> InterconnectArgsBuilder<SetCustomerName<S>>where
S::CustomerName: IsUnset,
pub fn customer_name(
self,
value: impl Into<Output<Option<String>>>,
) -> InterconnectArgsBuilder<SetCustomerName<S>>where
S::CustomerName: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
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.
sourcepub fn maybe_customer_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InterconnectArgsBuilder<SetCustomerName<S>>where
S::CustomerName: IsUnset,
pub fn maybe_customer_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InterconnectArgsBuilder<SetCustomerName<S>>where
S::CustomerName: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
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.
sourcepub fn description(
self,
value: impl Into<Output<Option<String>>>,
) -> InterconnectArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
pub fn description(
self,
value: impl Into<Output<Option<String>>>,
) -> InterconnectArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
sourcepub fn maybe_description(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InterconnectArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
pub fn maybe_description(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InterconnectArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
sourcepub fn interconnect_type(
self,
value: impl Into<Output<String>>,
) -> InterconnectArgsBuilder<SetInterconnectType<S>>where
S::InterconnectType: IsUnset,
pub fn interconnect_type(
self,
value: impl Into<Output<String>>,
) -> InterconnectArgsBuilder<SetInterconnectType<S>>where
S::InterconnectType: IsUnset,
Required.
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
.
sourcepub fn labels(
self,
value: impl Into<Output<Option<HashMap<String, String>>>>,
) -> InterconnectArgsBuilder<SetLabels<S>>where
S::Labels: IsUnset,
pub fn labels(
self,
value: impl Into<Output<Option<HashMap<String, String>>>>,
) -> InterconnectArgsBuilder<SetLabels<S>>where
S::Labels: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<std::collections::HashMap<String, String>>,
> as Default>::default()
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.
sourcepub fn maybe_labels(
self,
value: Option<impl Into<Output<Option<HashMap<String, String>>>>>,
) -> InterconnectArgsBuilder<SetLabels<S>>where
S::Labels: IsUnset,
pub fn maybe_labels(
self,
value: Option<impl Into<Output<Option<HashMap<String, String>>>>>,
) -> InterconnectArgsBuilder<SetLabels<S>>where
S::Labels: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<std::collections::HashMap<String, String>>,
> as Default>::default()
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.
sourcepub fn link_type(
self,
value: impl Into<Output<String>>,
) -> InterconnectArgsBuilder<SetLinkType<S>>where
S::LinkType: IsUnset,
pub fn link_type(
self,
value: impl Into<Output<String>>,
) -> InterconnectArgsBuilder<SetLinkType<S>>where
S::LinkType: IsUnset,
Required.
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
.
sourcepub fn location(
self,
value: impl Into<Output<Option<String>>>,
) -> InterconnectArgsBuilder<SetLocation<S>>where
S::Location: IsUnset,
pub fn location(
self,
value: impl Into<Output<Option<String>>>,
) -> InterconnectArgsBuilder<SetLocation<S>>where
S::Location: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
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.
sourcepub fn maybe_location(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InterconnectArgsBuilder<SetLocation<S>>where
S::Location: IsUnset,
pub fn maybe_location(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InterconnectArgsBuilder<SetLocation<S>>where
S::Location: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
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.
sourcepub fn macsec(
self,
value: impl Into<Output<Option<InterconnectMacsec>>>,
) -> InterconnectArgsBuilder<SetMacsec<S>>where
S::Macsec: IsUnset,
pub fn macsec(
self,
value: impl Into<Output<Option<InterconnectMacsec>>>,
) -> InterconnectArgsBuilder<SetMacsec<S>>where
S::Macsec: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<super::super::types::compute::InterconnectMacsec>,
> as Default>::default()
Configuration that enables Media Access Control security (MACsec) on the Cloud Interconnect connection between Google and your on-premises router. Structure is documented below.
sourcepub fn maybe_macsec(
self,
value: Option<impl Into<Output<Option<InterconnectMacsec>>>>,
) -> InterconnectArgsBuilder<SetMacsec<S>>where
S::Macsec: IsUnset,
pub fn maybe_macsec(
self,
value: Option<impl Into<Output<Option<InterconnectMacsec>>>>,
) -> InterconnectArgsBuilder<SetMacsec<S>>where
S::Macsec: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<super::super::types::compute::InterconnectMacsec>,
> as Default>::default()
Configuration that enables Media Access Control security (MACsec) on the Cloud Interconnect connection between Google and your on-premises router. Structure is documented below.
sourcepub fn macsec_enabled(
self,
value: impl Into<Output<Option<bool>>>,
) -> InterconnectArgsBuilder<SetMacsecEnabled<S>>where
S::MacsecEnabled: IsUnset,
pub fn macsec_enabled(
self,
value: impl Into<Output<Option<bool>>>,
) -> InterconnectArgsBuilder<SetMacsecEnabled<S>>where
S::MacsecEnabled: IsUnset,
sourcepub fn maybe_macsec_enabled(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> InterconnectArgsBuilder<SetMacsecEnabled<S>>where
S::MacsecEnabled: IsUnset,
pub fn maybe_macsec_enabled(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> InterconnectArgsBuilder<SetMacsecEnabled<S>>where
S::MacsecEnabled: IsUnset,
sourcepub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> InterconnectArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> InterconnectArgsBuilder<SetName<S>>where
S::Name: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
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.
sourcepub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InterconnectArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InterconnectArgsBuilder<SetName<S>>where
S::Name: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
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.
sourcepub fn noc_contact_email(
self,
value: impl Into<Output<Option<String>>>,
) -> InterconnectArgsBuilder<SetNocContactEmail<S>>where
S::NocContactEmail: IsUnset,
pub fn noc_contact_email(
self,
value: impl Into<Output<Option<String>>>,
) -> InterconnectArgsBuilder<SetNocContactEmail<S>>where
S::NocContactEmail: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
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.
sourcepub fn maybe_noc_contact_email(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InterconnectArgsBuilder<SetNocContactEmail<S>>where
S::NocContactEmail: IsUnset,
pub fn maybe_noc_contact_email(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InterconnectArgsBuilder<SetNocContactEmail<S>>where
S::NocContactEmail: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
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.
sourcepub fn project(
self,
value: impl Into<Output<Option<String>>>,
) -> InterconnectArgsBuilder<SetProject<S>>where
S::Project: IsUnset,
pub fn project(
self,
value: impl Into<Output<Option<String>>>,
) -> InterconnectArgsBuilder<SetProject<S>>where
S::Project: IsUnset,
sourcepub fn maybe_project(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InterconnectArgsBuilder<SetProject<S>>where
S::Project: IsUnset,
pub fn maybe_project(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InterconnectArgsBuilder<SetProject<S>>where
S::Project: IsUnset,
sourcepub fn remote_location(
self,
value: impl Into<Output<Option<String>>>,
) -> InterconnectArgsBuilder<SetRemoteLocation<S>>where
S::RemoteLocation: IsUnset,
pub fn remote_location(
self,
value: impl Into<Output<Option<String>>>,
) -> InterconnectArgsBuilder<SetRemoteLocation<S>>where
S::RemoteLocation: IsUnset,
sourcepub fn maybe_remote_location(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InterconnectArgsBuilder<SetRemoteLocation<S>>where
S::RemoteLocation: IsUnset,
pub fn maybe_remote_location(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InterconnectArgsBuilder<SetRemoteLocation<S>>where
S::RemoteLocation: IsUnset,
sourcepub fn requested_features(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> InterconnectArgsBuilder<SetRequestedFeatures<S>>where
S::RequestedFeatures: IsUnset,
pub fn requested_features(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> InterconnectArgsBuilder<SetRequestedFeatures<S>>where
S::RequestedFeatures: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<Vec<String>>> as Default>::default()
.
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
.
sourcepub fn maybe_requested_features(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> InterconnectArgsBuilder<SetRequestedFeatures<S>>where
S::RequestedFeatures: IsUnset,
pub fn maybe_requested_features(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> InterconnectArgsBuilder<SetRequestedFeatures<S>>where
S::RequestedFeatures: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<Vec<String>>> as Default>::default()
.
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
.
sourcepub fn requested_link_count(
self,
value: impl Into<Output<i32>>,
) -> InterconnectArgsBuilder<SetRequestedLinkCount<S>>where
S::RequestedLinkCount: IsUnset,
pub fn requested_link_count(
self,
value: impl Into<Output<i32>>,
) -> InterconnectArgsBuilder<SetRequestedLinkCount<S>>where
S::RequestedLinkCount: IsUnset,
Required.
Target number of physical links in the link bundle, as requested by the customer.