pulumi_wasm_providers_gcp_mini::compute::region_target_https_proxy

Struct RegionTargetHttpsProxyArgsBuilder

source
pub struct RegionTargetHttpsProxyArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description

Use builder syntax to set the inputs and finish with build_struct().

Implementations§

source§

impl<S: State> RegionTargetHttpsProxyArgsBuilder<S>

source

pub fn build_struct(self) -> RegionTargetHttpsProxyArgs
where S: IsComplete,

Finish building and return the requested object

source

pub fn certificate_manager_certificates( self, value: impl Into<Output<Option<Vec<String>>>>, ) -> RegionTargetHttpsProxyArgsBuilder<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. sslCertificates and certificateManagerCertificates can’t 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}

source

pub fn maybe_certificate_manager_certificates( self, value: Option<impl Into<Output<Option<Vec<String>>>>>, ) -> RegionTargetHttpsProxyArgsBuilder<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. sslCertificates and certificateManagerCertificates can’t 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}

source

pub fn description( self, value: impl Into<Output<Option<String>>>, ) -> RegionTargetHttpsProxyArgsBuilder<SetDescription<S>>
where S::Description: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

An optional description of this resource.

source

pub fn maybe_description( self, value: Option<impl Into<Output<Option<String>>>>, ) -> RegionTargetHttpsProxyArgsBuilder<SetDescription<S>>
where S::Description: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

An optional description of this resource.

source

pub fn http_keep_alive_timeout_sec( self, value: impl Into<Output<Option<i32>>>, ) -> RegionTargetHttpsProxyArgsBuilder<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 (600 seconds) will be used. For Regioanl HTTP(S) load balancer, the minimum allowed value is 5 seconds and the maximum allowed value is 600 seconds.

source

pub fn maybe_http_keep_alive_timeout_sec( self, value: Option<impl Into<Output<Option<i32>>>>, ) -> RegionTargetHttpsProxyArgsBuilder<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 (600 seconds) will be used. For Regioanl HTTP(S) load balancer, the minimum allowed value is 5 seconds and the maximum allowed value is 600 seconds.

source

pub fn name( self, value: impl Into<Output<Option<String>>>, ) -> RegionTargetHttpsProxyArgsBuilder<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.

source

pub fn maybe_name( self, value: Option<impl Into<Output<Option<String>>>>, ) -> RegionTargetHttpsProxyArgsBuilder<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.

source

pub fn project( self, value: impl Into<Output<Option<String>>>, ) -> RegionTargetHttpsProxyArgsBuilder<SetProject<S>>
where S::Project: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

source

pub fn maybe_project( self, value: Option<impl Into<Output<Option<String>>>>, ) -> RegionTargetHttpsProxyArgsBuilder<SetProject<S>>
where S::Project: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

source

pub fn region( self, value: impl Into<Output<Option<String>>>, ) -> RegionTargetHttpsProxyArgsBuilder<SetRegion<S>>
where S::Region: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

The Region in which the created target https proxy should reside. If it is not provided, the provider region is used.

source

pub fn maybe_region( self, value: Option<impl Into<Output<Option<String>>>>, ) -> RegionTargetHttpsProxyArgsBuilder<SetRegion<S>>
where S::Region: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

The Region in which the created target https proxy should reside. If it is not provided, the provider region is used.

source

pub fn server_tls_policy( self, value: impl Into<Output<Option<String>>>, ) -> RegionTargetHttpsProxyArgsBuilder<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.

source

pub fn maybe_server_tls_policy( self, value: Option<impl Into<Output<Option<String>>>>, ) -> RegionTargetHttpsProxyArgsBuilder<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.

source

pub fn ssl_certificates( self, value: impl Into<Output<Option<Vec<String>>>>, ) -> RegionTargetHttpsProxyArgsBuilder<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. At least one SSL certificate must be specified. Currently, you may specify up to 15 SSL certificates. sslCertificates do not apply when the load balancing scheme is set to INTERNAL_SELF_MANAGED.

source

pub fn maybe_ssl_certificates( self, value: Option<impl Into<Output<Option<Vec<String>>>>>, ) -> RegionTargetHttpsProxyArgsBuilder<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. At least one SSL certificate must be specified. Currently, you may specify up to 15 SSL certificates. sslCertificates do not apply when the load balancing scheme is set to INTERNAL_SELF_MANAGED.

source

pub fn ssl_policy( self, value: impl Into<Output<Option<String>>>, ) -> RegionTargetHttpsProxyArgsBuilder<SetSslPolicy<S>>
where S::SslPolicy: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

A reference to the Region SslPolicy resource that will be associated with the TargetHttpsProxy resource. If not set, the TargetHttpsProxy resource will not have any SSL policy configured.

source

pub fn maybe_ssl_policy( self, value: Option<impl Into<Output<Option<String>>>>, ) -> RegionTargetHttpsProxyArgsBuilder<SetSslPolicy<S>>
where S::SslPolicy: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

A reference to the Region SslPolicy resource that will be associated with the TargetHttpsProxy resource. If not set, the TargetHttpsProxy resource will not have any SSL policy configured.

source

pub fn url_map( self, value: impl Into<Output<String>>, ) -> RegionTargetHttpsProxyArgsBuilder<SetUrlMap<S>>
where S::UrlMap: IsUnset,

Required.

A reference to the RegionUrlMap resource that defines the mapping from URL to the RegionBackendService.


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> 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, 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.