Skip to content

ServerGroupProps

Properties for defining a ServerGroup.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-nlb-servergroup

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdknlb"
&alicloudroscdknlb.ServerGroupProps {
    ServerGroupName: interface{},
    VpcId: interface{},
    AddressIpVersion: interface{},
    AnyPortEnabled: interface{},
    ConnectionDrainEnabled: interface{},
    ConnectionDrainTimeout: interface{},
    HealthCheckConfig: interface{},
    PersistenceEnabled: interface{},
    PersistenceTimeout: interface{},
    PreserveClientIpEnabled: interface{},
    Protocol: interface{},
    ResourceGroupId: interface{},
    Scheduler: interface{},
    ServerGroupType: interface{},
    Servers: interface{},
    Tags: *[]github.com/alibabacloud-go/ros-cdk/alicloudroscdknlb.RosServerGroup.TagsProperty,
}

Properties

Name Type Description
ServerGroupName interface{} Property serverGroupName: Name of ServerGroup.
VpcId interface{} Property vpcId: ID of VPC.
AddressIpVersion interface{} Property addressIpVersion: IP version of address.
AnyPortEnabled interface{} Property anyPortEnabled: Specifies whether to enable all-port forwarding.
ConnectionDrainEnabled interface{} Property connectionDrainEnabled: Whether to enable graceful connection interruption.
ConnectionDrainTimeout interface{} Property connectionDrainTimeout: Time of graceful connection interruption.
HealthCheckConfig interface{} Property healthCheckConfig: Health Check Config.
PersistenceEnabled interface{} Property persistenceEnabled: Whether to enable session persistence.
PersistenceTimeout interface{} Property persistenceTimeout: Time of session persistence.
PreserveClientIpEnabled interface{} Property preserveClientIpEnabled: Whether to enable the client address retention function.
Protocol interface{} Property protocol: Protocol of ServerGroup.
ResourceGroupId interface{} Property resourceGroupId: undefined.
Scheduler interface{} Property scheduler: undefined.
ServerGroupType interface{} Property serverGroupType: Type of ServerGroup.
Servers interface{} Property servers: undefined.
Tags *[]TagsProperty Property tags: Tags to attach to instance.

ServerGroupNameRequired

ServerGroupName interface{}
  • Type: interface{}

Property serverGroupName: Name of ServerGroup.


VpcIdRequired

VpcId interface{}
  • Type: interface{}

Property vpcId: ID of VPC.


AddressIpVersionOptional

AddressIpVersion interface{}
  • Type: interface{}

Property addressIpVersion: IP version of address.


AnyPortEnabledOptional

AnyPortEnabled interface{}
  • Type: interface{}

Property anyPortEnabled: Specifies whether to enable all-port forwarding.

Valid values: true false (default)


ConnectionDrainEnabledOptional

ConnectionDrainEnabled interface{}
  • Type: interface{}

Property connectionDrainEnabled: Whether to enable graceful connection interruption.


ConnectionDrainTimeoutOptional

ConnectionDrainTimeout interface{}
  • Type: interface{}

Property connectionDrainTimeout: Time of graceful connection interruption.


HealthCheckConfigOptional

HealthCheckConfig interface{}
  • Type: interface{}

Property healthCheckConfig: Health Check Config.


PersistenceEnabledOptional

PersistenceEnabled interface{}
  • Type: interface{}

Property persistenceEnabled: Whether to enable session persistence.


PersistenceTimeoutOptional

PersistenceTimeout interface{}
  • Type: interface{}

Property persistenceTimeout: Time of session persistence.


PreserveClientIpEnabledOptional

PreserveClientIpEnabled interface{}
  • Type: interface{}

Property preserveClientIpEnabled: Whether to enable the client address retention function.


ProtocolOptional

Protocol interface{}
  • Type: interface{}

Property protocol: Protocol of ServerGroup.


ResourceGroupIdOptional

ResourceGroupId interface{}
  • Type: interface{}

Property resourceGroupId: undefined.


SchedulerOptional

Scheduler interface{}
  • Type: interface{}

Property scheduler: undefined.


ServerGroupTypeOptional

ServerGroupType interface{}
  • Type: interface{}

Property serverGroupType: Type of ServerGroup.


ServersOptional

Servers interface{}
  • Type: interface{}

Property servers: undefined.


TagsOptional

Tags *[]TagsProperty

Property tags: Tags to attach to instance.

Max support 20 tags to add during create instance. Each tag with two properties Key and Value, and Key is required.