pub struct InterconnectAttachmentArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> InterconnectAttachmentArgsBuilder<S>
impl<S: State> InterconnectAttachmentArgsBuilder<S>
sourcepub fn build_struct(self) -> InterconnectAttachmentArgswhere
S: IsComplete,
pub fn build_struct(self) -> InterconnectAttachmentArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn admin_enabled(
self,
value: impl Into<Output<Option<bool>>>,
) -> InterconnectAttachmentArgsBuilder<SetAdminEnabled<S>>where
S::AdminEnabled: IsUnset,
pub fn admin_enabled(
self,
value: impl Into<Output<Option<bool>>>,
) -> InterconnectAttachmentArgsBuilder<SetAdminEnabled<S>>where
S::AdminEnabled: IsUnset,
sourcepub fn maybe_admin_enabled(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> InterconnectAttachmentArgsBuilder<SetAdminEnabled<S>>where
S::AdminEnabled: IsUnset,
pub fn maybe_admin_enabled(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> InterconnectAttachmentArgsBuilder<SetAdminEnabled<S>>where
S::AdminEnabled: IsUnset,
sourcepub fn bandwidth(
self,
value: impl Into<Output<Option<String>>>,
) -> InterconnectAttachmentArgsBuilder<SetBandwidth<S>>where
S::Bandwidth: IsUnset,
pub fn bandwidth(
self,
value: impl Into<Output<Option<String>>>,
) -> InterconnectAttachmentArgsBuilder<SetBandwidth<S>>where
S::Bandwidth: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Provisioned bandwidth capacity for the interconnect attachment.
For attachments of type DEDICATED, the user can set the bandwidth.
For attachments of type PARTNER, the Google Partner that is operating the interconnect must set the bandwidth.
Output only for PARTNER type, mutable for PARTNER_PROVIDER and DEDICATED,
Defaults to BPS_10G
Possible values are: BPS_50M
, BPS_100M
, BPS_200M
, BPS_300M
, BPS_400M
, BPS_500M
, BPS_1G
, BPS_2G
, BPS_5G
, BPS_10G
, BPS_20G
, BPS_50G
.
sourcepub fn maybe_bandwidth(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InterconnectAttachmentArgsBuilder<SetBandwidth<S>>where
S::Bandwidth: IsUnset,
pub fn maybe_bandwidth(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InterconnectAttachmentArgsBuilder<SetBandwidth<S>>where
S::Bandwidth: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Provisioned bandwidth capacity for the interconnect attachment.
For attachments of type DEDICATED, the user can set the bandwidth.
For attachments of type PARTNER, the Google Partner that is operating the interconnect must set the bandwidth.
Output only for PARTNER type, mutable for PARTNER_PROVIDER and DEDICATED,
Defaults to BPS_10G
Possible values are: BPS_50M
, BPS_100M
, BPS_200M
, BPS_300M
, BPS_400M
, BPS_500M
, BPS_1G
, BPS_2G
, BPS_5G
, BPS_10G
, BPS_20G
, BPS_50G
.
sourcepub fn candidate_subnets(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> InterconnectAttachmentArgsBuilder<SetCandidateSubnets<S>>where
S::CandidateSubnets: IsUnset,
pub fn candidate_subnets(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> InterconnectAttachmentArgsBuilder<SetCandidateSubnets<S>>where
S::CandidateSubnets: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<Vec<String>>> as Default>::default()
.
Up to 16 candidate prefixes that can be used to restrict the allocation of cloudRouterIpAddress and customerRouterIpAddress for this attachment. All prefixes must be within link-local address space (169.254.0.0/16) and must be /29 or shorter (/28, /27, etc). Google will attempt to select an unused /29 from the supplied candidate prefix(es). The request will fail if all possible /29s are in use on Google’s edge. If not supplied, Google will randomly select an unused /29 from all of link-local space.
sourcepub fn maybe_candidate_subnets(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> InterconnectAttachmentArgsBuilder<SetCandidateSubnets<S>>where
S::CandidateSubnets: IsUnset,
pub fn maybe_candidate_subnets(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> InterconnectAttachmentArgsBuilder<SetCandidateSubnets<S>>where
S::CandidateSubnets: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<Vec<String>>> as Default>::default()
.
Up to 16 candidate prefixes that can be used to restrict the allocation of cloudRouterIpAddress and customerRouterIpAddress for this attachment. All prefixes must be within link-local address space (169.254.0.0/16) and must be /29 or shorter (/28, /27, etc). Google will attempt to select an unused /29 from the supplied candidate prefix(es). The request will fail if all possible /29s are in use on Google’s edge. If not supplied, Google will randomly select an unused /29 from all of link-local space.
sourcepub fn description(
self,
value: impl Into<Output<Option<String>>>,
) -> InterconnectAttachmentArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
pub fn description(
self,
value: impl Into<Output<Option<String>>>,
) -> InterconnectAttachmentArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
sourcepub fn maybe_description(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InterconnectAttachmentArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
pub fn maybe_description(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InterconnectAttachmentArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
sourcepub fn edge_availability_domain(
self,
value: impl Into<Output<Option<String>>>,
) -> InterconnectAttachmentArgsBuilder<SetEdgeAvailabilityDomain<S>>where
S::EdgeAvailabilityDomain: IsUnset,
pub fn edge_availability_domain(
self,
value: impl Into<Output<Option<String>>>,
) -> InterconnectAttachmentArgsBuilder<SetEdgeAvailabilityDomain<S>>where
S::EdgeAvailabilityDomain: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Desired availability domain for the attachment. Only available for type PARTNER, at creation time. For improved reliability, customers should configure a pair of attachments with one per availability domain. The selected availability domain will be provided to the Partner via the pairing key so that the provisioned circuit will lie in the specified domain. If not specified, the value will default to AVAILABILITY_DOMAIN_ANY.
sourcepub fn maybe_edge_availability_domain(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InterconnectAttachmentArgsBuilder<SetEdgeAvailabilityDomain<S>>where
S::EdgeAvailabilityDomain: IsUnset,
pub fn maybe_edge_availability_domain(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InterconnectAttachmentArgsBuilder<SetEdgeAvailabilityDomain<S>>where
S::EdgeAvailabilityDomain: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Desired availability domain for the attachment. Only available for type PARTNER, at creation time. For improved reliability, customers should configure a pair of attachments with one per availability domain. The selected availability domain will be provided to the Partner via the pairing key so that the provisioned circuit will lie in the specified domain. If not specified, the value will default to AVAILABILITY_DOMAIN_ANY.
sourcepub fn encryption(
self,
value: impl Into<Output<Option<String>>>,
) -> InterconnectAttachmentArgsBuilder<SetEncryption<S>>where
S::Encryption: IsUnset,
pub fn encryption(
self,
value: impl Into<Output<Option<String>>>,
) -> InterconnectAttachmentArgsBuilder<SetEncryption<S>>where
S::Encryption: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Indicates the user-supplied encryption option of this interconnect attachment. Can only be specified at attachment creation for PARTNER or DEDICATED attachments.
- NONE - This is the default value, which means that the VLAN attachment carries unencrypted traffic. VMs are able to send traffic to, or receive traffic from, such a VLAN attachment.
- IPSEC - The VLAN attachment carries only encrypted traffic that is
encrypted by an IPsec device, such as an HA VPN gateway or third-party
IPsec VPN. VMs cannot directly send traffic to, or receive traffic from,
such a VLAN attachment. To use HA VPN over Cloud Interconnect, the VLAN
attachment must be created with this option.
Default value is
NONE
. Possible values are:NONE
,IPSEC
.
sourcepub fn maybe_encryption(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InterconnectAttachmentArgsBuilder<SetEncryption<S>>where
S::Encryption: IsUnset,
pub fn maybe_encryption(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InterconnectAttachmentArgsBuilder<SetEncryption<S>>where
S::Encryption: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Indicates the user-supplied encryption option of this interconnect attachment. Can only be specified at attachment creation for PARTNER or DEDICATED attachments.
- NONE - This is the default value, which means that the VLAN attachment carries unencrypted traffic. VMs are able to send traffic to, or receive traffic from, such a VLAN attachment.
- IPSEC - The VLAN attachment carries only encrypted traffic that is
encrypted by an IPsec device, such as an HA VPN gateway or third-party
IPsec VPN. VMs cannot directly send traffic to, or receive traffic from,
such a VLAN attachment. To use HA VPN over Cloud Interconnect, the VLAN
attachment must be created with this option.
Default value is
NONE
. Possible values are:NONE
,IPSEC
.
sourcepub fn interconnect(
self,
value: impl Into<Output<Option<String>>>,
) -> InterconnectAttachmentArgsBuilder<SetInterconnect<S>>where
S::Interconnect: IsUnset,
pub fn interconnect(
self,
value: impl Into<Output<Option<String>>>,
) -> InterconnectAttachmentArgsBuilder<SetInterconnect<S>>where
S::Interconnect: IsUnset,
sourcepub fn maybe_interconnect(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InterconnectAttachmentArgsBuilder<SetInterconnect<S>>where
S::Interconnect: IsUnset,
pub fn maybe_interconnect(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InterconnectAttachmentArgsBuilder<SetInterconnect<S>>where
S::Interconnect: IsUnset,
sourcepub fn ipsec_internal_addresses(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> InterconnectAttachmentArgsBuilder<SetIpsecInternalAddresses<S>>where
S::IpsecInternalAddresses: IsUnset,
pub fn ipsec_internal_addresses(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> InterconnectAttachmentArgsBuilder<SetIpsecInternalAddresses<S>>where
S::IpsecInternalAddresses: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<Vec<String>>> as Default>::default()
.
URL of addresses that have been reserved for the interconnect attachment, Used only for interconnect attachment that has the encryption option as IPSEC. The addresses must be RFC 1918 IP address ranges. When creating HA VPN gateway over the interconnect attachment, if the attachment is configured to use an RFC 1918 IP address, then the VPN gateway’s IP address will be allocated from the IP address range specified here. For example, if the HA VPN gateway’s interface 0 is paired to this interconnect attachment, then an RFC 1918 IP address for the VPN gateway interface 0 will be allocated from the IP address specified for this interconnect attachment. If this field is not specified for interconnect attachment that has encryption option as IPSEC, later on when creating HA VPN gateway on this interconnect attachment, the HA VPN gateway’s IP address will be allocated from regional external IP address pool.
sourcepub fn maybe_ipsec_internal_addresses(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> InterconnectAttachmentArgsBuilder<SetIpsecInternalAddresses<S>>where
S::IpsecInternalAddresses: IsUnset,
pub fn maybe_ipsec_internal_addresses(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> InterconnectAttachmentArgsBuilder<SetIpsecInternalAddresses<S>>where
S::IpsecInternalAddresses: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<Vec<String>>> as Default>::default()
.
URL of addresses that have been reserved for the interconnect attachment, Used only for interconnect attachment that has the encryption option as IPSEC. The addresses must be RFC 1918 IP address ranges. When creating HA VPN gateway over the interconnect attachment, if the attachment is configured to use an RFC 1918 IP address, then the VPN gateway’s IP address will be allocated from the IP address range specified here. For example, if the HA VPN gateway’s interface 0 is paired to this interconnect attachment, then an RFC 1918 IP address for the VPN gateway interface 0 will be allocated from the IP address specified for this interconnect attachment. If this field is not specified for interconnect attachment that has encryption option as IPSEC, later on when creating HA VPN gateway on this interconnect attachment, the HA VPN gateway’s IP address will be allocated from regional external IP address pool.
sourcepub fn mtu(
self,
value: impl Into<Output<Option<String>>>,
) -> InterconnectAttachmentArgsBuilder<SetMtu<S>>where
S::Mtu: IsUnset,
pub fn mtu(
self,
value: impl Into<Output<Option<String>>>,
) -> InterconnectAttachmentArgsBuilder<SetMtu<S>>where
S::Mtu: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Maximum Transmission Unit (MTU), in bytes, of packets passing through this interconnect attachment. Currently, only 1440 and 1500 are allowed. If not specified, the value will default to 1440.
sourcepub fn maybe_mtu(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InterconnectAttachmentArgsBuilder<SetMtu<S>>where
S::Mtu: IsUnset,
pub fn maybe_mtu(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InterconnectAttachmentArgsBuilder<SetMtu<S>>where
S::Mtu: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Maximum Transmission Unit (MTU), in bytes, of packets passing through this interconnect attachment. Currently, only 1440 and 1500 are allowed. If not specified, the value will default to 1440.
sourcepub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> InterconnectAttachmentArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> InterconnectAttachmentArgsBuilder<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>>>>,
) -> InterconnectAttachmentArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InterconnectAttachmentArgsBuilder<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 project(
self,
value: impl Into<Output<Option<String>>>,
) -> InterconnectAttachmentArgsBuilder<SetProject<S>>where
S::Project: IsUnset,
pub fn project(
self,
value: impl Into<Output<Option<String>>>,
) -> InterconnectAttachmentArgsBuilder<SetProject<S>>where
S::Project: IsUnset,
sourcepub fn maybe_project(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InterconnectAttachmentArgsBuilder<SetProject<S>>where
S::Project: IsUnset,
pub fn maybe_project(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InterconnectAttachmentArgsBuilder<SetProject<S>>where
S::Project: IsUnset,
sourcepub fn region(
self,
value: impl Into<Output<Option<String>>>,
) -> InterconnectAttachmentArgsBuilder<SetRegion<S>>where
S::Region: IsUnset,
pub fn region(
self,
value: impl Into<Output<Option<String>>>,
) -> InterconnectAttachmentArgsBuilder<SetRegion<S>>where
S::Region: IsUnset,
sourcepub fn maybe_region(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InterconnectAttachmentArgsBuilder<SetRegion<S>>where
S::Region: IsUnset,
pub fn maybe_region(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InterconnectAttachmentArgsBuilder<SetRegion<S>>where
S::Region: IsUnset,
sourcepub fn router(
self,
value: impl Into<Output<String>>,
) -> InterconnectAttachmentArgsBuilder<SetRouter<S>>where
S::Router: IsUnset,
pub fn router(
self,
value: impl Into<Output<String>>,
) -> InterconnectAttachmentArgsBuilder<SetRouter<S>>where
S::Router: IsUnset,
Required.
URL of the cloud router to be used for dynamic routing. This router must be in the same region as this InterconnectAttachment. The InterconnectAttachment will automatically connect the Interconnect to the network & region within which the Cloud Router is configured.
sourcepub fn stack_type(
self,
value: impl Into<Output<Option<String>>>,
) -> InterconnectAttachmentArgsBuilder<SetStackType<S>>where
S::StackType: IsUnset,
pub fn stack_type(
self,
value: impl Into<Output<Option<String>>>,
) -> InterconnectAttachmentArgsBuilder<SetStackType<S>>where
S::StackType: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
The stack type for this interconnect attachment to identify whether the IPv6
feature is enabled or not. If not specified, IPV4_ONLY will be used.
This field can be both set at interconnect attachments creation and update
interconnect attachment operations.
Possible values are: IPV4_IPV6
, IPV4_ONLY
.
sourcepub fn maybe_stack_type(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InterconnectAttachmentArgsBuilder<SetStackType<S>>where
S::StackType: IsUnset,
pub fn maybe_stack_type(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InterconnectAttachmentArgsBuilder<SetStackType<S>>where
S::StackType: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
The stack type for this interconnect attachment to identify whether the IPv6
feature is enabled or not. If not specified, IPV4_ONLY will be used.
This field can be both set at interconnect attachments creation and update
interconnect attachment operations.
Possible values are: IPV4_IPV6
, IPV4_ONLY
.
sourcepub fn subnet_length(
self,
value: impl Into<Output<Option<i32>>>,
) -> InterconnectAttachmentArgsBuilder<SetSubnetLength<S>>where
S::SubnetLength: IsUnset,
pub fn subnet_length(
self,
value: impl Into<Output<Option<i32>>>,
) -> InterconnectAttachmentArgsBuilder<SetSubnetLength<S>>where
S::SubnetLength: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<i32>> as Default>::default()
.
Length of the IPv4 subnet mask. Allowed values: 29 (default), 30. The default value is 29, except for Cross-Cloud Interconnect connections that use an InterconnectRemoteLocation with a constraints.subnetLengthRange.min equal to 30. For example, connections that use an Azure remote location fall into this category. In these cases, the default value is 30, and requesting 29 returns an error. Where both 29 and 30 are allowed, 29 is preferred, because it gives Google Cloud Support more debugging visibility.
sourcepub fn maybe_subnet_length(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> InterconnectAttachmentArgsBuilder<SetSubnetLength<S>>where
S::SubnetLength: IsUnset,
pub fn maybe_subnet_length(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> InterconnectAttachmentArgsBuilder<SetSubnetLength<S>>where
S::SubnetLength: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<i32>> as Default>::default()
.
Length of the IPv4 subnet mask. Allowed values: 29 (default), 30. The default value is 29, except for Cross-Cloud Interconnect connections that use an InterconnectRemoteLocation with a constraints.subnetLengthRange.min equal to 30. For example, connections that use an Azure remote location fall into this category. In these cases, the default value is 30, and requesting 29 returns an error. Where both 29 and 30 are allowed, 29 is preferred, because it gives Google Cloud Support more debugging visibility.