pub struct UpdateLoadBalancerRequest {
pub access_log: Option<Box<AccessLog>>,
pub dry_run: Option<bool>,
pub health_check: Option<Box<HealthCheck>>,
pub load_balancer_name: String,
pub load_balancer_port: Option<i32>,
pub policy_names: Option<Vec<String>>,
pub public_ip: Option<String>,
pub secured_cookies: Option<bool>,
pub security_groups: Option<Vec<String>>,
pub server_certificate_id: Option<String>,
}Fields§
§access_log: Option<Box<AccessLog>>§dry_run: Option<bool>If true, checks whether you have the required permissions to perform the action.
health_check: Option<Box<HealthCheck>>§load_balancer_name: StringThe name of the load balancer.
load_balancer_port: Option<i32>The port on which the load balancer is listening (between 1 and 65535, both included). This parameter is required if you want to update the server certificate.
policy_names: Option<Vec<String>>The name of the policy you want to enable for the listener.
public_ip: Option<String>(internet-facing only) The public IP you want to associate with the load balancer. The former public IP of the load balancer is then disassociated. If you specify an empty string and the former public IP belonged to you, it is disassociated and replaced by a public IP owned by 3DS OUTSCALE.
If true, secure cookies are enabled for the load balancer.
security_groups: Option<Vec<String>>(Net only) One or more IDs of security groups you want to assign to the load balancer. You need to specify the already assigned security groups that you want to keep along with the new ones you are assigning. If the list is empty, the default security group of the Net is assigned to the load balancer.
server_certificate_id: Option<String>The OUTSCALE Resource Name (ORN) of the server certificate. For more information, see Resource Identifiers > OUTSCALE Resource Names (ORNs). If this parameter is specified, you must also specify the LoadBalancerPort parameter.
Implementations§
Source§impl UpdateLoadBalancerRequest
impl UpdateLoadBalancerRequest
pub fn new(load_balancer_name: String) -> UpdateLoadBalancerRequest
Trait Implementations§
Source§impl Clone for UpdateLoadBalancerRequest
impl Clone for UpdateLoadBalancerRequest
Source§fn clone(&self) -> UpdateLoadBalancerRequest
fn clone(&self) -> UpdateLoadBalancerRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for UpdateLoadBalancerRequest
impl Debug for UpdateLoadBalancerRequest
Source§impl Default for UpdateLoadBalancerRequest
impl Default for UpdateLoadBalancerRequest
Source§fn default() -> UpdateLoadBalancerRequest
fn default() -> UpdateLoadBalancerRequest
Source§impl<'de> Deserialize<'de> for UpdateLoadBalancerRequest
impl<'de> Deserialize<'de> for UpdateLoadBalancerRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl StructuralPartialEq for UpdateLoadBalancerRequest
Auto Trait Implementations§
impl Freeze for UpdateLoadBalancerRequest
impl RefUnwindSafe for UpdateLoadBalancerRequest
impl Send for UpdateLoadBalancerRequest
impl Sync for UpdateLoadBalancerRequest
impl Unpin for UpdateLoadBalancerRequest
impl UnwindSafe for UpdateLoadBalancerRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more