Package com.pulumi.alicloud.alb.inputs
Class ServerGroupServerArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.alicloud.alb.inputs.ServerGroupServerArgs
-
public final class ServerGroupServerArgs extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ServerGroupServerArgs.Builder
-
Field Summary
Fields Modifier and Type Field Description static ServerGroupServerArgs
Empty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ServerGroupServerArgs.Builder
builder()
static ServerGroupServerArgs.Builder
builder(ServerGroupServerArgs defaults)
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
description()
java.util.Optional<com.pulumi.core.Output<java.lang.Integer>>
port()
java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>>
remoteIpEnabled()
com.pulumi.core.Output<java.lang.String>
serverId()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
serverIp()
com.pulumi.core.Output<java.lang.String>
serverType()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
status()
java.util.Optional<com.pulumi.core.Output<java.lang.Integer>>
weight()
-
-
-
Field Detail
-
Empty
public static final ServerGroupServerArgs Empty
-
-
Method Detail
-
description
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> description()
- Returns:
- The description of the server.
-
port
public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> port()
- Returns:
- The port that is used by the server. Valid values: `1` to `65535`. **Note:** This parameter is required if the `server_type` parameter is set to `Ecs`, `Eni`, `Eci`, or `Ip`. You do not need to configure this parameter if you set `server_type` to `Fc`.
-
remoteIpEnabled
public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> remoteIpEnabled()
- Returns:
- Specifies whether to enable the remote IP address feature. You can specify up to 40 servers in each call. **Note:** If `server_type` is set to `Ip`, this parameter is available.
-
serverId
public com.pulumi.core.Output<java.lang.String> serverId()
- Returns:
- The ID of the backend server. - If `server_group_type` is set to `Instance`, set the parameter to the ID of an Elastic Compute Service (ECS) instance, an elastic network interface (ENI), or an elastic container instance. These backend servers are specified by Ecs, Eni, or Eci. - If `server_group_type` is set to `Ip`, set the parameter to an IP address specified in the server group. - If `server_group_type` is set to `Fc`, set the parameter to the Alibaba Cloud Resource Name (ARN) of a function specified in the server group.
-
serverIp
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> serverIp()
- Returns:
- The IP address of an Elastic Compute Service (ECS) instance, an elastic network interface (ENI), or an elastic container instance. **Note:** If `server_group_type` is set to `Fc`, you do not need to configure parameters, otherwise this attribute is required. If `server_group_type` is set to `Ip`, the value of this property is the same as the `server_id` value.
-
serverType
public com.pulumi.core.Output<java.lang.String> serverType()
- Returns:
- The type of the server. The type of the server. Valid values: - Ecs: an ECS instance. - Eni: an ENI. - Eci: an elastic container instance. - Ip(Available in v1.194.0+): an IP address. - fc(Available in v1.194.0+): a function.
-
status
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> status()
- Returns:
- The status of the backend server. Valid values:
-
weight
public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> weight()
- Returns:
- The weight of the server. Valid values: `0` to `100`. Default value: `100`. If the value is set to `0`, no requests are forwarded to the server. **Note:** You do not need to set this parameter if you set `server_type` to `Fc`.
-
builder
public static ServerGroupServerArgs.Builder builder()
-
builder
public static ServerGroupServerArgs.Builder builder(ServerGroupServerArgs defaults)
-
-