pub struct TargetHttpsProxyArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> TargetHttpsProxyArgsBuilder<S>
impl<S: State> TargetHttpsProxyArgsBuilder<S>
sourcepub fn build_struct(self) -> TargetHttpsProxyArgswhere
S: IsComplete,
pub fn build_struct(self) -> TargetHttpsProxyArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn certificate_manager_certificates(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> TargetHttpsProxyArgsBuilder<SetCertificateManagerCertificates<S>>where
S::CertificateManagerCertificates: IsUnset,
pub fn certificate_manager_certificates(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> TargetHttpsProxyArgsBuilder<SetCertificateManagerCertificates<S>>where
S::CertificateManagerCertificates: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<Vec<String>>> as Default>::default()
.
URLs to certificate manager certificate resources that are used to authenticate connections between users and the load balancer.
Certificate manager certificates only apply when the load balancing scheme is set to INTERNAL_MANAGED.
For EXTERNAL and EXTERNAL_MANAGED, use certificate_map instead.
sslCertificates and certificateManagerCertificates fields can not be defined together.
Accepted format is //certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificates/{resourceName}
or just the self_link projects/{project}/locations/{location}/certificates/{resourceName}
sourcepub fn maybe_certificate_manager_certificates(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> TargetHttpsProxyArgsBuilder<SetCertificateManagerCertificates<S>>where
S::CertificateManagerCertificates: IsUnset,
pub fn maybe_certificate_manager_certificates(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> TargetHttpsProxyArgsBuilder<SetCertificateManagerCertificates<S>>where
S::CertificateManagerCertificates: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<Vec<String>>> as Default>::default()
.
URLs to certificate manager certificate resources that are used to authenticate connections between users and the load balancer.
Certificate manager certificates only apply when the load balancing scheme is set to INTERNAL_MANAGED.
For EXTERNAL and EXTERNAL_MANAGED, use certificate_map instead.
sslCertificates and certificateManagerCertificates fields can not be defined together.
Accepted format is //certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificates/{resourceName}
or just the self_link projects/{project}/locations/{location}/certificates/{resourceName}
sourcepub fn certificate_map(
self,
value: impl Into<Output<Option<String>>>,
) -> TargetHttpsProxyArgsBuilder<SetCertificateMap<S>>where
S::CertificateMap: IsUnset,
pub fn certificate_map(
self,
value: impl Into<Output<Option<String>>>,
) -> TargetHttpsProxyArgsBuilder<SetCertificateMap<S>>where
S::CertificateMap: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
A reference to the CertificateMap resource uri that identifies a certificate map
associated with the given target proxy. This field is only supported for EXTERNAL and EXTERNAL_MANAGED load balancing schemes.
For INTERNAL_MANAGED, use certificate_manager_certificates instead.
Accepted format is //certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificateMaps/{resourceName}
.
sourcepub fn maybe_certificate_map(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> TargetHttpsProxyArgsBuilder<SetCertificateMap<S>>where
S::CertificateMap: IsUnset,
pub fn maybe_certificate_map(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> TargetHttpsProxyArgsBuilder<SetCertificateMap<S>>where
S::CertificateMap: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
A reference to the CertificateMap resource uri that identifies a certificate map
associated with the given target proxy. This field is only supported for EXTERNAL and EXTERNAL_MANAGED load balancing schemes.
For INTERNAL_MANAGED, use certificate_manager_certificates instead.
Accepted format is //certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificateMaps/{resourceName}
.
sourcepub fn description(
self,
value: impl Into<Output<Option<String>>>,
) -> TargetHttpsProxyArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
pub fn description(
self,
value: impl Into<Output<Option<String>>>,
) -> TargetHttpsProxyArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
sourcepub fn maybe_description(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> TargetHttpsProxyArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
pub fn maybe_description(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> TargetHttpsProxyArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
sourcepub fn http_keep_alive_timeout_sec(
self,
value: impl Into<Output<Option<i32>>>,
) -> TargetHttpsProxyArgsBuilder<SetHttpKeepAliveTimeoutSec<S>>where
S::HttpKeepAliveTimeoutSec: IsUnset,
pub fn http_keep_alive_timeout_sec(
self,
value: impl Into<Output<Option<i32>>>,
) -> TargetHttpsProxyArgsBuilder<SetHttpKeepAliveTimeoutSec<S>>where
S::HttpKeepAliveTimeoutSec: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<i32>> as Default>::default()
.
Specifies how long to keep a connection open, after completing a response, while there is no matching traffic (in seconds). If an HTTP keepalive is not specified, a default value will be used. For Global external HTTP(S) load balancer, the default value is 610 seconds, the minimum allowed value is 5 seconds and the maximum allowed value is 1200 seconds. For cross-region internal HTTP(S) load balancer, the default value is 600 seconds, the minimum allowed value is 5 seconds, and the maximum allowed value is 600 seconds. For Global external HTTP(S) load balancer (classic), this option is not available publicly.
sourcepub fn maybe_http_keep_alive_timeout_sec(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> TargetHttpsProxyArgsBuilder<SetHttpKeepAliveTimeoutSec<S>>where
S::HttpKeepAliveTimeoutSec: IsUnset,
pub fn maybe_http_keep_alive_timeout_sec(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> TargetHttpsProxyArgsBuilder<SetHttpKeepAliveTimeoutSec<S>>where
S::HttpKeepAliveTimeoutSec: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<i32>> as Default>::default()
.
Specifies how long to keep a connection open, after completing a response, while there is no matching traffic (in seconds). If an HTTP keepalive is not specified, a default value will be used. For Global external HTTP(S) load balancer, the default value is 610 seconds, the minimum allowed value is 5 seconds and the maximum allowed value is 1200 seconds. For cross-region internal HTTP(S) load balancer, the default value is 600 seconds, the minimum allowed value is 5 seconds, and the maximum allowed value is 600 seconds. For Global external HTTP(S) load balancer (classic), this option is not available publicly.
sourcepub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> TargetHttpsProxyArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> TargetHttpsProxyArgsBuilder<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>>>>,
) -> TargetHttpsProxyArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> TargetHttpsProxyArgsBuilder<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>>>,
) -> TargetHttpsProxyArgsBuilder<SetProject<S>>where
S::Project: IsUnset,
pub fn project(
self,
value: impl Into<Output<Option<String>>>,
) -> TargetHttpsProxyArgsBuilder<SetProject<S>>where
S::Project: IsUnset,
sourcepub fn maybe_project(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> TargetHttpsProxyArgsBuilder<SetProject<S>>where
S::Project: IsUnset,
pub fn maybe_project(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> TargetHttpsProxyArgsBuilder<SetProject<S>>where
S::Project: IsUnset,
sourcepub fn proxy_bind(
self,
value: impl Into<Output<Option<bool>>>,
) -> TargetHttpsProxyArgsBuilder<SetProxyBind<S>>where
S::ProxyBind: IsUnset,
pub fn proxy_bind(
self,
value: impl Into<Output<Option<bool>>>,
) -> TargetHttpsProxyArgsBuilder<SetProxyBind<S>>where
S::ProxyBind: IsUnset,
sourcepub fn maybe_proxy_bind(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> TargetHttpsProxyArgsBuilder<SetProxyBind<S>>where
S::ProxyBind: IsUnset,
pub fn maybe_proxy_bind(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> TargetHttpsProxyArgsBuilder<SetProxyBind<S>>where
S::ProxyBind: IsUnset,
sourcepub fn quic_override(
self,
value: impl Into<Output<Option<String>>>,
) -> TargetHttpsProxyArgsBuilder<SetQuicOverride<S>>where
S::QuicOverride: IsUnset,
pub fn quic_override(
self,
value: impl Into<Output<Option<String>>>,
) -> TargetHttpsProxyArgsBuilder<SetQuicOverride<S>>where
S::QuicOverride: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Specifies the QUIC override policy for this resource. This determines
whether the load balancer will attempt to negotiate QUIC with clients
or not. Can specify one of NONE, ENABLE, or DISABLE. If NONE is
specified, Google manages whether QUIC is used.
Default value is NONE
.
Possible values are: NONE
, ENABLE
, DISABLE
.
sourcepub fn maybe_quic_override(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> TargetHttpsProxyArgsBuilder<SetQuicOverride<S>>where
S::QuicOverride: IsUnset,
pub fn maybe_quic_override(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> TargetHttpsProxyArgsBuilder<SetQuicOverride<S>>where
S::QuicOverride: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Specifies the QUIC override policy for this resource. This determines
whether the load balancer will attempt to negotiate QUIC with clients
or not. Can specify one of NONE, ENABLE, or DISABLE. If NONE is
specified, Google manages whether QUIC is used.
Default value is NONE
.
Possible values are: NONE
, ENABLE
, DISABLE
.
sourcepub fn server_tls_policy(
self,
value: impl Into<Output<Option<String>>>,
) -> TargetHttpsProxyArgsBuilder<SetServerTlsPolicy<S>>where
S::ServerTlsPolicy: IsUnset,
pub fn server_tls_policy(
self,
value: impl Into<Output<Option<String>>>,
) -> TargetHttpsProxyArgsBuilder<SetServerTlsPolicy<S>>where
S::ServerTlsPolicy: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
A URL referring to a networksecurity.ServerTlsPolicy resource that describes how the proxy should authenticate inbound traffic. serverTlsPolicy only applies to a global TargetHttpsProxy attached to globalForwardingRules with the loadBalancingScheme set to INTERNAL_SELF_MANAGED or EXTERNAL or EXTERNAL_MANAGED. For details which ServerTlsPolicy resources are accepted with INTERNAL_SELF_MANAGED and which with EXTERNAL, EXTERNAL_MANAGED loadBalancingScheme consult ServerTlsPolicy documentation. If left blank, communications are not encrypted. If you remove this field from your configuration at the same time as deleting or recreating a referenced ServerTlsPolicy resource, you will receive a resourceInUseByAnotherResource error. Use lifecycle.create_before_destroy within the ServerTlsPolicy resource to avoid this.
sourcepub fn maybe_server_tls_policy(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> TargetHttpsProxyArgsBuilder<SetServerTlsPolicy<S>>where
S::ServerTlsPolicy: IsUnset,
pub fn maybe_server_tls_policy(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> TargetHttpsProxyArgsBuilder<SetServerTlsPolicy<S>>where
S::ServerTlsPolicy: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
A URL referring to a networksecurity.ServerTlsPolicy resource that describes how the proxy should authenticate inbound traffic. serverTlsPolicy only applies to a global TargetHttpsProxy attached to globalForwardingRules with the loadBalancingScheme set to INTERNAL_SELF_MANAGED or EXTERNAL or EXTERNAL_MANAGED. For details which ServerTlsPolicy resources are accepted with INTERNAL_SELF_MANAGED and which with EXTERNAL, EXTERNAL_MANAGED loadBalancingScheme consult ServerTlsPolicy documentation. If left blank, communications are not encrypted. If you remove this field from your configuration at the same time as deleting or recreating a referenced ServerTlsPolicy resource, you will receive a resourceInUseByAnotherResource error. Use lifecycle.create_before_destroy within the ServerTlsPolicy resource to avoid this.
sourcepub fn ssl_certificates(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> TargetHttpsProxyArgsBuilder<SetSslCertificates<S>>where
S::SslCertificates: IsUnset,
pub fn ssl_certificates(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> TargetHttpsProxyArgsBuilder<SetSslCertificates<S>>where
S::SslCertificates: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<Vec<String>>> as Default>::default()
.
URLs to SslCertificate resources that are used to authenticate connections between users and the load balancer. Currently, you may specify up to 15 SSL certificates. sslCertificates do not apply when the load balancing scheme is set to INTERNAL_SELF_MANAGED. sslCertificates and certificateManagerCertificates can not be defined together.
sourcepub fn maybe_ssl_certificates(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> TargetHttpsProxyArgsBuilder<SetSslCertificates<S>>where
S::SslCertificates: IsUnset,
pub fn maybe_ssl_certificates(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> TargetHttpsProxyArgsBuilder<SetSslCertificates<S>>where
S::SslCertificates: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<Vec<String>>> as Default>::default()
.
URLs to SslCertificate resources that are used to authenticate connections between users and the load balancer. Currently, you may specify up to 15 SSL certificates. sslCertificates do not apply when the load balancing scheme is set to INTERNAL_SELF_MANAGED. sslCertificates and certificateManagerCertificates can not be defined together.
sourcepub fn ssl_policy(
self,
value: impl Into<Output<Option<String>>>,
) -> TargetHttpsProxyArgsBuilder<SetSslPolicy<S>>where
S::SslPolicy: IsUnset,
pub fn ssl_policy(
self,
value: impl Into<Output<Option<String>>>,
) -> TargetHttpsProxyArgsBuilder<SetSslPolicy<S>>where
S::SslPolicy: IsUnset,
sourcepub fn maybe_ssl_policy(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> TargetHttpsProxyArgsBuilder<SetSslPolicy<S>>where
S::SslPolicy: IsUnset,
pub fn maybe_ssl_policy(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> TargetHttpsProxyArgsBuilder<SetSslPolicy<S>>where
S::SslPolicy: IsUnset,
sourcepub fn tls_early_data(
self,
value: impl Into<Output<Option<String>>>,
) -> TargetHttpsProxyArgsBuilder<SetTlsEarlyData<S>>where
S::TlsEarlyData: IsUnset,
pub fn tls_early_data(
self,
value: impl Into<Output<Option<String>>>,
) -> TargetHttpsProxyArgsBuilder<SetTlsEarlyData<S>>where
S::TlsEarlyData: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Specifies whether TLS 1.3 0-RTT Data (“Early Data”) should be accepted for this service.
Early Data allows a TLS resumption handshake to include the initial application payload
(a HTTP request) alongside the handshake, reducing the effective round trips to “zero”.
This applies to TLS 1.3 connections over TCP (HTTP/2) as well as over UDP (QUIC/h3).
Possible values are: STRICT
, PERMISSIVE
, DISABLED
.
sourcepub fn maybe_tls_early_data(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> TargetHttpsProxyArgsBuilder<SetTlsEarlyData<S>>where
S::TlsEarlyData: IsUnset,
pub fn maybe_tls_early_data(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> TargetHttpsProxyArgsBuilder<SetTlsEarlyData<S>>where
S::TlsEarlyData: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Specifies whether TLS 1.3 0-RTT Data (“Early Data”) should be accepted for this service.
Early Data allows a TLS resumption handshake to include the initial application payload
(a HTTP request) alongside the handshake, reducing the effective round trips to “zero”.
This applies to TLS 1.3 connections over TCP (HTTP/2) as well as over UDP (QUIC/h3).
Possible values are: STRICT
, PERMISSIVE
, DISABLED
.