alb

package
v3.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 17, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetSecurityPoliciesArgs

type GetSecurityPoliciesArgs struct {
	// A list of Security Policy IDs.
	Ids []string `pulumi:"ids"`
	// A regex string to filter results by Security Policy name.
	NameRegex  *string `pulumi:"nameRegex"`
	OutputFile *string `pulumi:"outputFile"`
	// The ID of the resource group.
	ResourceGroupId *string `pulumi:"resourceGroupId"`
	// The security policy ids.
	SecurityPolicyIds []string `pulumi:"securityPolicyIds"`
	// The name of the resource. The name must be 2 to 128 characters in length and must start with a letter. It can contain digits, periods (.), underscores (_), and hyphens (-).
	SecurityPolicyName *string `pulumi:"securityPolicyName"`
	// The status of the resource.
	Status *string                `pulumi:"status"`
	Tags   map[string]interface{} `pulumi:"tags"`
}

A collection of arguments for invoking getSecurityPolicies.

type GetSecurityPoliciesPolicy

type GetSecurityPoliciesPolicy struct {
	// The supported cipher suites, which are determined by the TLS protocol version.
	Ciphers []string `pulumi:"ciphers"`
	// The ID of the Security Policy.
	Id string `pulumi:"id"`
	// The ID of the resource group.
	ResourceGroupId string `pulumi:"resourceGroupId"`
	// The first ID of the resource.
	SecurityPolicyId string `pulumi:"securityPolicyId"`
	// The name of the resource. The name must be 2 to 128 characters in length and must start with a letter. It can contain digits, periods (.), underscores (_), and hyphens (-).
	SecurityPolicyName string `pulumi:"securityPolicyName"`
	// The status of the resource.
	Status string `pulumi:"status"`
	// The TLS protocol versions that are supported. Valid values: TLSv1.0, TLSv1.1, TLSv1.2 and TLSv1.3.
	TlsVersions []string `pulumi:"tlsVersions"`
}

type GetSecurityPoliciesPolicyArgs

type GetSecurityPoliciesPolicyArgs struct {
	// The supported cipher suites, which are determined by the TLS protocol version.
	Ciphers pulumi.StringArrayInput `pulumi:"ciphers"`
	// The ID of the Security Policy.
	Id pulumi.StringInput `pulumi:"id"`
	// The ID of the resource group.
	ResourceGroupId pulumi.StringInput `pulumi:"resourceGroupId"`
	// The first ID of the resource.
	SecurityPolicyId pulumi.StringInput `pulumi:"securityPolicyId"`
	// The name of the resource. The name must be 2 to 128 characters in length and must start with a letter. It can contain digits, periods (.), underscores (_), and hyphens (-).
	SecurityPolicyName pulumi.StringInput `pulumi:"securityPolicyName"`
	// The status of the resource.
	Status pulumi.StringInput `pulumi:"status"`
	// The TLS protocol versions that are supported. Valid values: TLSv1.0, TLSv1.1, TLSv1.2 and TLSv1.3.
	TlsVersions pulumi.StringArrayInput `pulumi:"tlsVersions"`
}

func (GetSecurityPoliciesPolicyArgs) ElementType

func (GetSecurityPoliciesPolicyArgs) ToGetSecurityPoliciesPolicyOutput

func (i GetSecurityPoliciesPolicyArgs) ToGetSecurityPoliciesPolicyOutput() GetSecurityPoliciesPolicyOutput

func (GetSecurityPoliciesPolicyArgs) ToGetSecurityPoliciesPolicyOutputWithContext

func (i GetSecurityPoliciesPolicyArgs) ToGetSecurityPoliciesPolicyOutputWithContext(ctx context.Context) GetSecurityPoliciesPolicyOutput

type GetSecurityPoliciesPolicyArray

type GetSecurityPoliciesPolicyArray []GetSecurityPoliciesPolicyInput

func (GetSecurityPoliciesPolicyArray) ElementType

func (GetSecurityPoliciesPolicyArray) ToGetSecurityPoliciesPolicyArrayOutput

func (i GetSecurityPoliciesPolicyArray) ToGetSecurityPoliciesPolicyArrayOutput() GetSecurityPoliciesPolicyArrayOutput

func (GetSecurityPoliciesPolicyArray) ToGetSecurityPoliciesPolicyArrayOutputWithContext

func (i GetSecurityPoliciesPolicyArray) ToGetSecurityPoliciesPolicyArrayOutputWithContext(ctx context.Context) GetSecurityPoliciesPolicyArrayOutput

type GetSecurityPoliciesPolicyArrayInput

type GetSecurityPoliciesPolicyArrayInput interface {
	pulumi.Input

	ToGetSecurityPoliciesPolicyArrayOutput() GetSecurityPoliciesPolicyArrayOutput
	ToGetSecurityPoliciesPolicyArrayOutputWithContext(context.Context) GetSecurityPoliciesPolicyArrayOutput
}

GetSecurityPoliciesPolicyArrayInput is an input type that accepts GetSecurityPoliciesPolicyArray and GetSecurityPoliciesPolicyArrayOutput values. You can construct a concrete instance of `GetSecurityPoliciesPolicyArrayInput` via:

GetSecurityPoliciesPolicyArray{ GetSecurityPoliciesPolicyArgs{...} }

type GetSecurityPoliciesPolicyArrayOutput

type GetSecurityPoliciesPolicyArrayOutput struct{ *pulumi.OutputState }

func (GetSecurityPoliciesPolicyArrayOutput) ElementType

func (GetSecurityPoliciesPolicyArrayOutput) Index

func (GetSecurityPoliciesPolicyArrayOutput) ToGetSecurityPoliciesPolicyArrayOutput

func (o GetSecurityPoliciesPolicyArrayOutput) ToGetSecurityPoliciesPolicyArrayOutput() GetSecurityPoliciesPolicyArrayOutput

func (GetSecurityPoliciesPolicyArrayOutput) ToGetSecurityPoliciesPolicyArrayOutputWithContext

func (o GetSecurityPoliciesPolicyArrayOutput) ToGetSecurityPoliciesPolicyArrayOutputWithContext(ctx context.Context) GetSecurityPoliciesPolicyArrayOutput

type GetSecurityPoliciesPolicyInput

type GetSecurityPoliciesPolicyInput interface {
	pulumi.Input

	ToGetSecurityPoliciesPolicyOutput() GetSecurityPoliciesPolicyOutput
	ToGetSecurityPoliciesPolicyOutputWithContext(context.Context) GetSecurityPoliciesPolicyOutput
}

GetSecurityPoliciesPolicyInput is an input type that accepts GetSecurityPoliciesPolicyArgs and GetSecurityPoliciesPolicyOutput values. You can construct a concrete instance of `GetSecurityPoliciesPolicyInput` via:

GetSecurityPoliciesPolicyArgs{...}

type GetSecurityPoliciesPolicyOutput

type GetSecurityPoliciesPolicyOutput struct{ *pulumi.OutputState }

func (GetSecurityPoliciesPolicyOutput) Ciphers

The supported cipher suites, which are determined by the TLS protocol version.

func (GetSecurityPoliciesPolicyOutput) ElementType

func (GetSecurityPoliciesPolicyOutput) Id

The ID of the Security Policy.

func (GetSecurityPoliciesPolicyOutput) ResourceGroupId

The ID of the resource group.

func (GetSecurityPoliciesPolicyOutput) SecurityPolicyId

The first ID of the resource.

func (GetSecurityPoliciesPolicyOutput) SecurityPolicyName

func (o GetSecurityPoliciesPolicyOutput) SecurityPolicyName() pulumi.StringOutput

The name of the resource. The name must be 2 to 128 characters in length and must start with a letter. It can contain digits, periods (.), underscores (_), and hyphens (-).

func (GetSecurityPoliciesPolicyOutput) Status

The status of the resource.

func (GetSecurityPoliciesPolicyOutput) TlsVersions

The TLS protocol versions that are supported. Valid values: TLSv1.0, TLSv1.1, TLSv1.2 and TLSv1.3.

func (GetSecurityPoliciesPolicyOutput) ToGetSecurityPoliciesPolicyOutput

func (o GetSecurityPoliciesPolicyOutput) ToGetSecurityPoliciesPolicyOutput() GetSecurityPoliciesPolicyOutput

func (GetSecurityPoliciesPolicyOutput) ToGetSecurityPoliciesPolicyOutputWithContext

func (o GetSecurityPoliciesPolicyOutput) ToGetSecurityPoliciesPolicyOutputWithContext(ctx context.Context) GetSecurityPoliciesPolicyOutput

type GetSecurityPoliciesResult

type GetSecurityPoliciesResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id                 string                      `pulumi:"id"`
	Ids                []string                    `pulumi:"ids"`
	NameRegex          *string                     `pulumi:"nameRegex"`
	Names              []string                    `pulumi:"names"`
	OutputFile         *string                     `pulumi:"outputFile"`
	Policies           []GetSecurityPoliciesPolicy `pulumi:"policies"`
	ResourceGroupId    *string                     `pulumi:"resourceGroupId"`
	SecurityPolicyIds  []string                    `pulumi:"securityPolicyIds"`
	SecurityPolicyName *string                     `pulumi:"securityPolicyName"`
	Status             *string                     `pulumi:"status"`
	Tags               map[string]interface{}      `pulumi:"tags"`
}

A collection of values returned by getSecurityPolicies.

func GetSecurityPolicies

func GetSecurityPolicies(ctx *pulumi.Context, args *GetSecurityPoliciesArgs, opts ...pulumi.InvokeOption) (*GetSecurityPoliciesResult, error)

This data source provides the Alb Security Policies of the current Alibaba Cloud user.

> **NOTE:** Available in v1.130.0+.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/alb"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		ids, err := alb.GetSecurityPolicies(ctx, nil, nil)
		if err != nil {
			return err
		}
		ctx.Export("albSecurityPolicyId1", ids.Policies[0].Id)
		opt0 := "^my-SecurityPolicy"
		nameRegex, err := alb.GetSecurityPolicies(ctx, &alb.GetSecurityPoliciesArgs{
			NameRegex: &opt0,
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("albSecurityPolicyId2", nameRegex.Policies[0].Id)
		return nil
	})
}

```

type GetServerGroupsArgs

type GetServerGroupsArgs struct {
	EnableDetails *bool `pulumi:"enableDetails"`
	// A list of Server Group IDs.
	Ids []string `pulumi:"ids"`
	// A regex string to filter results by Server Group name.
	NameRegex  *string `pulumi:"nameRegex"`
	OutputFile *string `pulumi:"outputFile"`
	// The ID of the resource group.
	ResourceGroupId *string `pulumi:"resourceGroupId"`
	// The server group ids.
	ServerGroupIds []string `pulumi:"serverGroupIds"`
	// The name of the resource.
	ServerGroupName *string `pulumi:"serverGroupName"`
	// The status of the resource. Valid values: `Provisioning`, `Available` and `Configuring`.
	Status *string                `pulumi:"status"`
	Tags   map[string]interface{} `pulumi:"tags"`
	// The ID of the VPC that you want to access.
	VpcId *string `pulumi:"vpcId"`
}

A collection of arguments for invoking getServerGroups.

type GetServerGroupsGroup

type GetServerGroupsGroup struct {
	// The configuration of health checks.
	HealthCheckConfigs []GetServerGroupsGroupHealthCheckConfig `pulumi:"healthCheckConfigs"`
	// The ID of the Server Group.
	Id string `pulumi:"id"`
	// The server protocol. Valid values: `HTTP` and `HTTPS`. Default value: `HTTP`.
	Protocol string `pulumi:"protocol"`
	// The scheduling algorithm. Valid values: `Wrr`, `Wlc` and `Sch`.
	Scheduler string `pulumi:"scheduler"`
	// The first ID of the res ource.
	ServerGroupId string `pulumi:"serverGroupId"`
	// The name of the resource.
	ServerGroupName string `pulumi:"serverGroupName"`
	// The backend server.
	Servers []GetServerGroupsGroupServer `pulumi:"servers"`
	// The status of the resource. Valid values: `Provisioning`, `Available` and `Configuring`.
	Status string `pulumi:"status"`
	// The configuration of the sticky session.
	StickySessionConfigs []GetServerGroupsGroupStickySessionConfig `pulumi:"stickySessionConfigs"`
	// The ID of the VPC that you want to access.
	VpcId string `pulumi:"vpcId"`
}

type GetServerGroupsGroupArgs

type GetServerGroupsGroupArgs struct {
	// The configuration of health checks.
	HealthCheckConfigs GetServerGroupsGroupHealthCheckConfigArrayInput `pulumi:"healthCheckConfigs"`
	// The ID of the Server Group.
	Id pulumi.StringInput `pulumi:"id"`
	// The server protocol. Valid values: `HTTP` and `HTTPS`. Default value: `HTTP`.
	Protocol pulumi.StringInput `pulumi:"protocol"`
	// The scheduling algorithm. Valid values: `Wrr`, `Wlc` and `Sch`.
	Scheduler pulumi.StringInput `pulumi:"scheduler"`
	// The first ID of the res ource.
	ServerGroupId pulumi.StringInput `pulumi:"serverGroupId"`
	// The name of the resource.
	ServerGroupName pulumi.StringInput `pulumi:"serverGroupName"`
	// The backend server.
	Servers GetServerGroupsGroupServerArrayInput `pulumi:"servers"`
	// The status of the resource. Valid values: `Provisioning`, `Available` and `Configuring`.
	Status pulumi.StringInput `pulumi:"status"`
	// The configuration of the sticky session.
	StickySessionConfigs GetServerGroupsGroupStickySessionConfigArrayInput `pulumi:"stickySessionConfigs"`
	// The ID of the VPC that you want to access.
	VpcId pulumi.StringInput `pulumi:"vpcId"`
}

func (GetServerGroupsGroupArgs) ElementType

func (GetServerGroupsGroupArgs) ElementType() reflect.Type

func (GetServerGroupsGroupArgs) ToGetServerGroupsGroupOutput

func (i GetServerGroupsGroupArgs) ToGetServerGroupsGroupOutput() GetServerGroupsGroupOutput

func (GetServerGroupsGroupArgs) ToGetServerGroupsGroupOutputWithContext

func (i GetServerGroupsGroupArgs) ToGetServerGroupsGroupOutputWithContext(ctx context.Context) GetServerGroupsGroupOutput

type GetServerGroupsGroupArray

type GetServerGroupsGroupArray []GetServerGroupsGroupInput

func (GetServerGroupsGroupArray) ElementType

func (GetServerGroupsGroupArray) ElementType() reflect.Type

func (GetServerGroupsGroupArray) ToGetServerGroupsGroupArrayOutput

func (i GetServerGroupsGroupArray) ToGetServerGroupsGroupArrayOutput() GetServerGroupsGroupArrayOutput

func (GetServerGroupsGroupArray) ToGetServerGroupsGroupArrayOutputWithContext

func (i GetServerGroupsGroupArray) ToGetServerGroupsGroupArrayOutputWithContext(ctx context.Context) GetServerGroupsGroupArrayOutput

type GetServerGroupsGroupArrayInput

type GetServerGroupsGroupArrayInput interface {
	pulumi.Input

	ToGetServerGroupsGroupArrayOutput() GetServerGroupsGroupArrayOutput
	ToGetServerGroupsGroupArrayOutputWithContext(context.Context) GetServerGroupsGroupArrayOutput
}

GetServerGroupsGroupArrayInput is an input type that accepts GetServerGroupsGroupArray and GetServerGroupsGroupArrayOutput values. You can construct a concrete instance of `GetServerGroupsGroupArrayInput` via:

GetServerGroupsGroupArray{ GetServerGroupsGroupArgs{...} }

type GetServerGroupsGroupArrayOutput

type GetServerGroupsGroupArrayOutput struct{ *pulumi.OutputState }

func (GetServerGroupsGroupArrayOutput) ElementType

func (GetServerGroupsGroupArrayOutput) Index

func (GetServerGroupsGroupArrayOutput) ToGetServerGroupsGroupArrayOutput

func (o GetServerGroupsGroupArrayOutput) ToGetServerGroupsGroupArrayOutput() GetServerGroupsGroupArrayOutput

func (GetServerGroupsGroupArrayOutput) ToGetServerGroupsGroupArrayOutputWithContext

func (o GetServerGroupsGroupArrayOutput) ToGetServerGroupsGroupArrayOutputWithContext(ctx context.Context) GetServerGroupsGroupArrayOutput

type GetServerGroupsGroupHealthCheckConfig

type GetServerGroupsGroupHealthCheckConfig struct {
	// The status code for a successful health check. Multiple status codes can be specified as a list. Valid values: `http2xx`, `http3xx`, `http4xx`, and `http5xx`. Default value: `http2xx`. **NOTE:** This parameter exists if the `HealthCheckProtocol` parameter is set to `HTTP`.
	HealthCheckCodes []string `pulumi:"healthCheckCodes"`
	// The port of the backend server that is used for health checks. Valid values: `0` to `65535`. Default value: `0`. A value of `0` indicates that a backend server port is used for health checks.
	HealthCheckConnectPort int `pulumi:"healthCheckConnectPort"`
	// Indicates whether health checks are enabled. Valid values: `true`, `false`. Default value: `true`.
	HealthCheckEnabled bool `pulumi:"healthCheckEnabled"`
	// The domain name that is used for health checks.
	HealthCheckHost string `pulumi:"healthCheckHost"`
	// HTTP protocol version. Valid values: `HTTP1.0` and `HTTP1.1`. Default value: `HTTP1.1`. **NOTE:** This parameter exists if the `HealthCheckProtocol` parameter is set to `HTTP`.
	HealthCheckHttpVersion string `pulumi:"healthCheckHttpVersion"`
	// The time interval between two consecutive health checks. Unit: seconds. Valid values: `1` to `50`. Default value: `2`.
	HealthCheckInterval int `pulumi:"healthCheckInterval"`
	// Health check method. Valid values: `GET` and `HEAD`. Default: `GET`. **NOTE:** This parameter exists if the `HealthCheckProtocol` parameter is set to `HTTP`.
	HealthCheckMethod string `pulumi:"healthCheckMethod"`
	// The forwarding rule path of health checks. **NOTE:** This parameter exists if the `HealthCheckProtocol` parameter is set to `HTTP`.
	HealthCheckPath string `pulumi:"healthCheckPath"`
	// Health check protocol. Valid values: `HTTP` and `TCP`.
	HealthCheckProtocol string `pulumi:"healthCheckProtocol"`
	// The timeout period of a health check response. If a backend Elastic Compute Service (ECS) instance does not send an expected response within the specified period of time, the ECS instance is considered unhealthy. Unit: seconds. Valid values: `1` to `300`. Default value: `5`. **NOTE:** If the value of the `HealthCHeckTimeout` parameter is smaller than that of the `HealthCheckInterval` parameter, the value of the `HealthCHeckTimeout` parameter is ignored and the value of the `HealthCheckInterval` parameter is regarded as the timeout period.
	HealthCheckTimeout int `pulumi:"healthCheckTimeout"`
	// The number of health checks that an unhealthy backend server must pass consecutively before it is declared healthy. In this case, the health check state is changed from fail to success. Valid values: `2` to `10`. Default value: `3`.
	HealthyThreshold int `pulumi:"healthyThreshold"`
	// The number of consecutive health checks that a healthy backend server must consecutively fail before it is declared unhealthy. In this case, the health check state is changed from success to fail. Valid values: `2` to `10`. Default value: `3`.
	UnhealthyThreshold int `pulumi:"unhealthyThreshold"`
}

type GetServerGroupsGroupHealthCheckConfigArgs

type GetServerGroupsGroupHealthCheckConfigArgs struct {
	// The status code for a successful health check. Multiple status codes can be specified as a list. Valid values: `http2xx`, `http3xx`, `http4xx`, and `http5xx`. Default value: `http2xx`. **NOTE:** This parameter exists if the `HealthCheckProtocol` parameter is set to `HTTP`.
	HealthCheckCodes pulumi.StringArrayInput `pulumi:"healthCheckCodes"`
	// The port of the backend server that is used for health checks. Valid values: `0` to `65535`. Default value: `0`. A value of `0` indicates that a backend server port is used for health checks.
	HealthCheckConnectPort pulumi.IntInput `pulumi:"healthCheckConnectPort"`
	// Indicates whether health checks are enabled. Valid values: `true`, `false`. Default value: `true`.
	HealthCheckEnabled pulumi.BoolInput `pulumi:"healthCheckEnabled"`
	// The domain name that is used for health checks.
	HealthCheckHost pulumi.StringInput `pulumi:"healthCheckHost"`
	// HTTP protocol version. Valid values: `HTTP1.0` and `HTTP1.1`. Default value: `HTTP1.1`. **NOTE:** This parameter exists if the `HealthCheckProtocol` parameter is set to `HTTP`.
	HealthCheckHttpVersion pulumi.StringInput `pulumi:"healthCheckHttpVersion"`
	// The time interval between two consecutive health checks. Unit: seconds. Valid values: `1` to `50`. Default value: `2`.
	HealthCheckInterval pulumi.IntInput `pulumi:"healthCheckInterval"`
	// Health check method. Valid values: `GET` and `HEAD`. Default: `GET`. **NOTE:** This parameter exists if the `HealthCheckProtocol` parameter is set to `HTTP`.
	HealthCheckMethod pulumi.StringInput `pulumi:"healthCheckMethod"`
	// The forwarding rule path of health checks. **NOTE:** This parameter exists if the `HealthCheckProtocol` parameter is set to `HTTP`.
	HealthCheckPath pulumi.StringInput `pulumi:"healthCheckPath"`
	// Health check protocol. Valid values: `HTTP` and `TCP`.
	HealthCheckProtocol pulumi.StringInput `pulumi:"healthCheckProtocol"`
	// The timeout period of a health check response. If a backend Elastic Compute Service (ECS) instance does not send an expected response within the specified period of time, the ECS instance is considered unhealthy. Unit: seconds. Valid values: `1` to `300`. Default value: `5`. **NOTE:** If the value of the `HealthCHeckTimeout` parameter is smaller than that of the `HealthCheckInterval` parameter, the value of the `HealthCHeckTimeout` parameter is ignored and the value of the `HealthCheckInterval` parameter is regarded as the timeout period.
	HealthCheckTimeout pulumi.IntInput `pulumi:"healthCheckTimeout"`
	// The number of health checks that an unhealthy backend server must pass consecutively before it is declared healthy. In this case, the health check state is changed from fail to success. Valid values: `2` to `10`. Default value: `3`.
	HealthyThreshold pulumi.IntInput `pulumi:"healthyThreshold"`
	// The number of consecutive health checks that a healthy backend server must consecutively fail before it is declared unhealthy. In this case, the health check state is changed from success to fail. Valid values: `2` to `10`. Default value: `3`.
	UnhealthyThreshold pulumi.IntInput `pulumi:"unhealthyThreshold"`
}

func (GetServerGroupsGroupHealthCheckConfigArgs) ElementType

func (GetServerGroupsGroupHealthCheckConfigArgs) ToGetServerGroupsGroupHealthCheckConfigOutput

func (i GetServerGroupsGroupHealthCheckConfigArgs) ToGetServerGroupsGroupHealthCheckConfigOutput() GetServerGroupsGroupHealthCheckConfigOutput

func (GetServerGroupsGroupHealthCheckConfigArgs) ToGetServerGroupsGroupHealthCheckConfigOutputWithContext

func (i GetServerGroupsGroupHealthCheckConfigArgs) ToGetServerGroupsGroupHealthCheckConfigOutputWithContext(ctx context.Context) GetServerGroupsGroupHealthCheckConfigOutput

type GetServerGroupsGroupHealthCheckConfigArray

type GetServerGroupsGroupHealthCheckConfigArray []GetServerGroupsGroupHealthCheckConfigInput

func (GetServerGroupsGroupHealthCheckConfigArray) ElementType

func (GetServerGroupsGroupHealthCheckConfigArray) ToGetServerGroupsGroupHealthCheckConfigArrayOutput

func (i GetServerGroupsGroupHealthCheckConfigArray) ToGetServerGroupsGroupHealthCheckConfigArrayOutput() GetServerGroupsGroupHealthCheckConfigArrayOutput

func (GetServerGroupsGroupHealthCheckConfigArray) ToGetServerGroupsGroupHealthCheckConfigArrayOutputWithContext

func (i GetServerGroupsGroupHealthCheckConfigArray) ToGetServerGroupsGroupHealthCheckConfigArrayOutputWithContext(ctx context.Context) GetServerGroupsGroupHealthCheckConfigArrayOutput

type GetServerGroupsGroupHealthCheckConfigArrayInput

type GetServerGroupsGroupHealthCheckConfigArrayInput interface {
	pulumi.Input

	ToGetServerGroupsGroupHealthCheckConfigArrayOutput() GetServerGroupsGroupHealthCheckConfigArrayOutput
	ToGetServerGroupsGroupHealthCheckConfigArrayOutputWithContext(context.Context) GetServerGroupsGroupHealthCheckConfigArrayOutput
}

GetServerGroupsGroupHealthCheckConfigArrayInput is an input type that accepts GetServerGroupsGroupHealthCheckConfigArray and GetServerGroupsGroupHealthCheckConfigArrayOutput values. You can construct a concrete instance of `GetServerGroupsGroupHealthCheckConfigArrayInput` via:

GetServerGroupsGroupHealthCheckConfigArray{ GetServerGroupsGroupHealthCheckConfigArgs{...} }

type GetServerGroupsGroupHealthCheckConfigArrayOutput

type GetServerGroupsGroupHealthCheckConfigArrayOutput struct{ *pulumi.OutputState }

func (GetServerGroupsGroupHealthCheckConfigArrayOutput) ElementType

func (GetServerGroupsGroupHealthCheckConfigArrayOutput) Index

func (GetServerGroupsGroupHealthCheckConfigArrayOutput) ToGetServerGroupsGroupHealthCheckConfigArrayOutput

func (o GetServerGroupsGroupHealthCheckConfigArrayOutput) ToGetServerGroupsGroupHealthCheckConfigArrayOutput() GetServerGroupsGroupHealthCheckConfigArrayOutput

func (GetServerGroupsGroupHealthCheckConfigArrayOutput) ToGetServerGroupsGroupHealthCheckConfigArrayOutputWithContext

func (o GetServerGroupsGroupHealthCheckConfigArrayOutput) ToGetServerGroupsGroupHealthCheckConfigArrayOutputWithContext(ctx context.Context) GetServerGroupsGroupHealthCheckConfigArrayOutput

type GetServerGroupsGroupHealthCheckConfigInput

type GetServerGroupsGroupHealthCheckConfigInput interface {
	pulumi.Input

	ToGetServerGroupsGroupHealthCheckConfigOutput() GetServerGroupsGroupHealthCheckConfigOutput
	ToGetServerGroupsGroupHealthCheckConfigOutputWithContext(context.Context) GetServerGroupsGroupHealthCheckConfigOutput
}

GetServerGroupsGroupHealthCheckConfigInput is an input type that accepts GetServerGroupsGroupHealthCheckConfigArgs and GetServerGroupsGroupHealthCheckConfigOutput values. You can construct a concrete instance of `GetServerGroupsGroupHealthCheckConfigInput` via:

GetServerGroupsGroupHealthCheckConfigArgs{...}

type GetServerGroupsGroupHealthCheckConfigOutput

type GetServerGroupsGroupHealthCheckConfigOutput struct{ *pulumi.OutputState }

func (GetServerGroupsGroupHealthCheckConfigOutput) ElementType

func (GetServerGroupsGroupHealthCheckConfigOutput) HealthCheckCodes

The status code for a successful health check. Multiple status codes can be specified as a list. Valid values: `http2xx`, `http3xx`, `http4xx`, and `http5xx`. Default value: `http2xx`. **NOTE:** This parameter exists if the `HealthCheckProtocol` parameter is set to `HTTP`.

func (GetServerGroupsGroupHealthCheckConfigOutput) HealthCheckConnectPort

The port of the backend server that is used for health checks. Valid values: `0` to `65535`. Default value: `0`. A value of `0` indicates that a backend server port is used for health checks.

func (GetServerGroupsGroupHealthCheckConfigOutput) HealthCheckEnabled

Indicates whether health checks are enabled. Valid values: `true`, `false`. Default value: `true`.

func (GetServerGroupsGroupHealthCheckConfigOutput) HealthCheckHost

The domain name that is used for health checks.

func (GetServerGroupsGroupHealthCheckConfigOutput) HealthCheckHttpVersion

HTTP protocol version. Valid values: `HTTP1.0` and `HTTP1.1`. Default value: `HTTP1.1`. **NOTE:** This parameter exists if the `HealthCheckProtocol` parameter is set to `HTTP`.

func (GetServerGroupsGroupHealthCheckConfigOutput) HealthCheckInterval

The time interval between two consecutive health checks. Unit: seconds. Valid values: `1` to `50`. Default value: `2`.

func (GetServerGroupsGroupHealthCheckConfigOutput) HealthCheckMethod

Health check method. Valid values: `GET` and `HEAD`. Default: `GET`. **NOTE:** This parameter exists if the `HealthCheckProtocol` parameter is set to `HTTP`.

func (GetServerGroupsGroupHealthCheckConfigOutput) HealthCheckPath

The forwarding rule path of health checks. **NOTE:** This parameter exists if the `HealthCheckProtocol` parameter is set to `HTTP`.

func (GetServerGroupsGroupHealthCheckConfigOutput) HealthCheckProtocol

Health check protocol. Valid values: `HTTP` and `TCP`.

func (GetServerGroupsGroupHealthCheckConfigOutput) HealthCheckTimeout

The timeout period of a health check response. If a backend Elastic Compute Service (ECS) instance does not send an expected response within the specified period of time, the ECS instance is considered unhealthy. Unit: seconds. Valid values: `1` to `300`. Default value: `5`. **NOTE:** If the value of the `HealthCHeckTimeout` parameter is smaller than that of the `HealthCheckInterval` parameter, the value of the `HealthCHeckTimeout` parameter is ignored and the value of the `HealthCheckInterval` parameter is regarded as the timeout period.

func (GetServerGroupsGroupHealthCheckConfigOutput) HealthyThreshold

The number of health checks that an unhealthy backend server must pass consecutively before it is declared healthy. In this case, the health check state is changed from fail to success. Valid values: `2` to `10`. Default value: `3`.

func (GetServerGroupsGroupHealthCheckConfigOutput) ToGetServerGroupsGroupHealthCheckConfigOutput

func (o GetServerGroupsGroupHealthCheckConfigOutput) ToGetServerGroupsGroupHealthCheckConfigOutput() GetServerGroupsGroupHealthCheckConfigOutput

func (GetServerGroupsGroupHealthCheckConfigOutput) ToGetServerGroupsGroupHealthCheckConfigOutputWithContext

func (o GetServerGroupsGroupHealthCheckConfigOutput) ToGetServerGroupsGroupHealthCheckConfigOutputWithContext(ctx context.Context) GetServerGroupsGroupHealthCheckConfigOutput

func (GetServerGroupsGroupHealthCheckConfigOutput) UnhealthyThreshold

The number of consecutive health checks that a healthy backend server must consecutively fail before it is declared unhealthy. In this case, the health check state is changed from success to fail. Valid values: `2` to `10`. Default value: `3`.

type GetServerGroupsGroupInput

type GetServerGroupsGroupInput interface {
	pulumi.Input

	ToGetServerGroupsGroupOutput() GetServerGroupsGroupOutput
	ToGetServerGroupsGroupOutputWithContext(context.Context) GetServerGroupsGroupOutput
}

GetServerGroupsGroupInput is an input type that accepts GetServerGroupsGroupArgs and GetServerGroupsGroupOutput values. You can construct a concrete instance of `GetServerGroupsGroupInput` via:

GetServerGroupsGroupArgs{...}

type GetServerGroupsGroupOutput

type GetServerGroupsGroupOutput struct{ *pulumi.OutputState }

func (GetServerGroupsGroupOutput) ElementType

func (GetServerGroupsGroupOutput) ElementType() reflect.Type

func (GetServerGroupsGroupOutput) HealthCheckConfigs

The configuration of health checks.

func (GetServerGroupsGroupOutput) Id

The ID of the Server Group.

func (GetServerGroupsGroupOutput) Protocol

The server protocol. Valid values: `HTTP` and `HTTPS`. Default value: `HTTP`.

func (GetServerGroupsGroupOutput) Scheduler

The scheduling algorithm. Valid values: `Wrr`, `Wlc` and `Sch`.

func (GetServerGroupsGroupOutput) ServerGroupId

The first ID of the res ource.

func (GetServerGroupsGroupOutput) ServerGroupName

func (o GetServerGroupsGroupOutput) ServerGroupName() pulumi.StringOutput

The name of the resource.

func (GetServerGroupsGroupOutput) Servers

The backend server.

func (GetServerGroupsGroupOutput) Status

The status of the resource. Valid values: `Provisioning`, `Available` and `Configuring`.

func (GetServerGroupsGroupOutput) StickySessionConfigs

The configuration of the sticky session.

func (GetServerGroupsGroupOutput) ToGetServerGroupsGroupOutput

func (o GetServerGroupsGroupOutput) ToGetServerGroupsGroupOutput() GetServerGroupsGroupOutput

func (GetServerGroupsGroupOutput) ToGetServerGroupsGroupOutputWithContext

func (o GetServerGroupsGroupOutput) ToGetServerGroupsGroupOutputWithContext(ctx context.Context) GetServerGroupsGroupOutput

func (GetServerGroupsGroupOutput) VpcId

The ID of the VPC that you want to access.

type GetServerGroupsGroupServer

type GetServerGroupsGroupServer struct {
	// The description of the server.
	Description string `pulumi:"description"`
	// The port that is used by the server. Valid values: `1` to `65535`.
	Port int `pulumi:"port"`
	// The ID of the ECS instance, ENI instance or ECI instance.
	ServerId string `pulumi:"serverId"`
	// The IP address of the ENI instance when it is in the inclusive ENI mode.
	ServerIp string `pulumi:"serverIp"`
	// The type of the server. The type of the server. Valid values: `Ecs`, `Eni` and `Eci`.
	ServerType string `pulumi:"serverType"`
	// The status of the resource. Valid values: `Provisioning`, `Available` and `Configuring`.
	Status string `pulumi:"status"`
	// 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.
	Weight int `pulumi:"weight"`
}

type GetServerGroupsGroupServerArgs

type GetServerGroupsGroupServerArgs struct {
	// The description of the server.
	Description pulumi.StringInput `pulumi:"description"`
	// The port that is used by the server. Valid values: `1` to `65535`.
	Port pulumi.IntInput `pulumi:"port"`
	// The ID of the ECS instance, ENI instance or ECI instance.
	ServerId pulumi.StringInput `pulumi:"serverId"`
	// The IP address of the ENI instance when it is in the inclusive ENI mode.
	ServerIp pulumi.StringInput `pulumi:"serverIp"`
	// The type of the server. The type of the server. Valid values: `Ecs`, `Eni` and `Eci`.
	ServerType pulumi.StringInput `pulumi:"serverType"`
	// The status of the resource. Valid values: `Provisioning`, `Available` and `Configuring`.
	Status pulumi.StringInput `pulumi:"status"`
	// 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.
	Weight pulumi.IntInput `pulumi:"weight"`
}

func (GetServerGroupsGroupServerArgs) ElementType

func (GetServerGroupsGroupServerArgs) ToGetServerGroupsGroupServerOutput

func (i GetServerGroupsGroupServerArgs) ToGetServerGroupsGroupServerOutput() GetServerGroupsGroupServerOutput

func (GetServerGroupsGroupServerArgs) ToGetServerGroupsGroupServerOutputWithContext

func (i GetServerGroupsGroupServerArgs) ToGetServerGroupsGroupServerOutputWithContext(ctx context.Context) GetServerGroupsGroupServerOutput

type GetServerGroupsGroupServerArray

type GetServerGroupsGroupServerArray []GetServerGroupsGroupServerInput

func (GetServerGroupsGroupServerArray) ElementType

func (GetServerGroupsGroupServerArray) ToGetServerGroupsGroupServerArrayOutput

func (i GetServerGroupsGroupServerArray) ToGetServerGroupsGroupServerArrayOutput() GetServerGroupsGroupServerArrayOutput

func (GetServerGroupsGroupServerArray) ToGetServerGroupsGroupServerArrayOutputWithContext

func (i GetServerGroupsGroupServerArray) ToGetServerGroupsGroupServerArrayOutputWithContext(ctx context.Context) GetServerGroupsGroupServerArrayOutput

type GetServerGroupsGroupServerArrayInput

type GetServerGroupsGroupServerArrayInput interface {
	pulumi.Input

	ToGetServerGroupsGroupServerArrayOutput() GetServerGroupsGroupServerArrayOutput
	ToGetServerGroupsGroupServerArrayOutputWithContext(context.Context) GetServerGroupsGroupServerArrayOutput
}

GetServerGroupsGroupServerArrayInput is an input type that accepts GetServerGroupsGroupServerArray and GetServerGroupsGroupServerArrayOutput values. You can construct a concrete instance of `GetServerGroupsGroupServerArrayInput` via:

GetServerGroupsGroupServerArray{ GetServerGroupsGroupServerArgs{...} }

type GetServerGroupsGroupServerArrayOutput

type GetServerGroupsGroupServerArrayOutput struct{ *pulumi.OutputState }

func (GetServerGroupsGroupServerArrayOutput) ElementType

func (GetServerGroupsGroupServerArrayOutput) Index

func (GetServerGroupsGroupServerArrayOutput) ToGetServerGroupsGroupServerArrayOutput

func (o GetServerGroupsGroupServerArrayOutput) ToGetServerGroupsGroupServerArrayOutput() GetServerGroupsGroupServerArrayOutput

func (GetServerGroupsGroupServerArrayOutput) ToGetServerGroupsGroupServerArrayOutputWithContext

func (o GetServerGroupsGroupServerArrayOutput) ToGetServerGroupsGroupServerArrayOutputWithContext(ctx context.Context) GetServerGroupsGroupServerArrayOutput

type GetServerGroupsGroupServerInput

type GetServerGroupsGroupServerInput interface {
	pulumi.Input

	ToGetServerGroupsGroupServerOutput() GetServerGroupsGroupServerOutput
	ToGetServerGroupsGroupServerOutputWithContext(context.Context) GetServerGroupsGroupServerOutput
}

GetServerGroupsGroupServerInput is an input type that accepts GetServerGroupsGroupServerArgs and GetServerGroupsGroupServerOutput values. You can construct a concrete instance of `GetServerGroupsGroupServerInput` via:

GetServerGroupsGroupServerArgs{...}

type GetServerGroupsGroupServerOutput

type GetServerGroupsGroupServerOutput struct{ *pulumi.OutputState }

func (GetServerGroupsGroupServerOutput) Description

The description of the server.

func (GetServerGroupsGroupServerOutput) ElementType

func (GetServerGroupsGroupServerOutput) Port

The port that is used by the server. Valid values: `1` to `65535`.

func (GetServerGroupsGroupServerOutput) ServerId

The ID of the ECS instance, ENI instance or ECI instance.

func (GetServerGroupsGroupServerOutput) ServerIp

The IP address of the ENI instance when it is in the inclusive ENI mode.

func (GetServerGroupsGroupServerOutput) ServerType

The type of the server. The type of the server. Valid values: `Ecs`, `Eni` and `Eci`.

func (GetServerGroupsGroupServerOutput) Status

The status of the resource. Valid values: `Provisioning`, `Available` and `Configuring`.

func (GetServerGroupsGroupServerOutput) ToGetServerGroupsGroupServerOutput

func (o GetServerGroupsGroupServerOutput) ToGetServerGroupsGroupServerOutput() GetServerGroupsGroupServerOutput

func (GetServerGroupsGroupServerOutput) ToGetServerGroupsGroupServerOutputWithContext

func (o GetServerGroupsGroupServerOutput) ToGetServerGroupsGroupServerOutputWithContext(ctx context.Context) GetServerGroupsGroupServerOutput

func (GetServerGroupsGroupServerOutput) Weight

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.

type GetServerGroupsGroupStickySessionConfig

type GetServerGroupsGroupStickySessionConfig struct {
	// the cookie that is configured on the server. **NOTE:** This parameter exists if the `StickySession` parameter is set to `On` and the `StickySessionType` parameter is set to `server`.
	Cookie string `pulumi:"cookie"`
	// The timeout period of a cookie. The timeout period of a cookie. Unit: seconds. Valid values: `1` to `86400`. Default value: `1000`.
	CookieTimeout int `pulumi:"cookieTimeout"`
	// Indicates whether sticky session is enabled. Values: `true` and `false`. Default value: `false`.  **NOTE:** This parameter exists if the `StickySession` parameter is set to `On`.
	StickySessionEnabled bool `pulumi:"stickySessionEnabled"`
	// The method that is used to handle a cookie. Values: `Server` and `Insert`.
	StickySessionType string `pulumi:"stickySessionType"`
}

type GetServerGroupsGroupStickySessionConfigArgs

type GetServerGroupsGroupStickySessionConfigArgs struct {
	// the cookie that is configured on the server. **NOTE:** This parameter exists if the `StickySession` parameter is set to `On` and the `StickySessionType` parameter is set to `server`.
	Cookie pulumi.StringInput `pulumi:"cookie"`
	// The timeout period of a cookie. The timeout period of a cookie. Unit: seconds. Valid values: `1` to `86400`. Default value: `1000`.
	CookieTimeout pulumi.IntInput `pulumi:"cookieTimeout"`
	// Indicates whether sticky session is enabled. Values: `true` and `false`. Default value: `false`.  **NOTE:** This parameter exists if the `StickySession` parameter is set to `On`.
	StickySessionEnabled pulumi.BoolInput `pulumi:"stickySessionEnabled"`
	// The method that is used to handle a cookie. Values: `Server` and `Insert`.
	StickySessionType pulumi.StringInput `pulumi:"stickySessionType"`
}

func (GetServerGroupsGroupStickySessionConfigArgs) ElementType

func (GetServerGroupsGroupStickySessionConfigArgs) ToGetServerGroupsGroupStickySessionConfigOutput

func (i GetServerGroupsGroupStickySessionConfigArgs) ToGetServerGroupsGroupStickySessionConfigOutput() GetServerGroupsGroupStickySessionConfigOutput

func (GetServerGroupsGroupStickySessionConfigArgs) ToGetServerGroupsGroupStickySessionConfigOutputWithContext

func (i GetServerGroupsGroupStickySessionConfigArgs) ToGetServerGroupsGroupStickySessionConfigOutputWithContext(ctx context.Context) GetServerGroupsGroupStickySessionConfigOutput

type GetServerGroupsGroupStickySessionConfigArray

type GetServerGroupsGroupStickySessionConfigArray []GetServerGroupsGroupStickySessionConfigInput

func (GetServerGroupsGroupStickySessionConfigArray) ElementType

func (GetServerGroupsGroupStickySessionConfigArray) ToGetServerGroupsGroupStickySessionConfigArrayOutput

func (i GetServerGroupsGroupStickySessionConfigArray) ToGetServerGroupsGroupStickySessionConfigArrayOutput() GetServerGroupsGroupStickySessionConfigArrayOutput

func (GetServerGroupsGroupStickySessionConfigArray) ToGetServerGroupsGroupStickySessionConfigArrayOutputWithContext

func (i GetServerGroupsGroupStickySessionConfigArray) ToGetServerGroupsGroupStickySessionConfigArrayOutputWithContext(ctx context.Context) GetServerGroupsGroupStickySessionConfigArrayOutput

type GetServerGroupsGroupStickySessionConfigArrayInput

type GetServerGroupsGroupStickySessionConfigArrayInput interface {
	pulumi.Input

	ToGetServerGroupsGroupStickySessionConfigArrayOutput() GetServerGroupsGroupStickySessionConfigArrayOutput
	ToGetServerGroupsGroupStickySessionConfigArrayOutputWithContext(context.Context) GetServerGroupsGroupStickySessionConfigArrayOutput
}

GetServerGroupsGroupStickySessionConfigArrayInput is an input type that accepts GetServerGroupsGroupStickySessionConfigArray and GetServerGroupsGroupStickySessionConfigArrayOutput values. You can construct a concrete instance of `GetServerGroupsGroupStickySessionConfigArrayInput` via:

GetServerGroupsGroupStickySessionConfigArray{ GetServerGroupsGroupStickySessionConfigArgs{...} }

type GetServerGroupsGroupStickySessionConfigArrayOutput

type GetServerGroupsGroupStickySessionConfigArrayOutput struct{ *pulumi.OutputState }

func (GetServerGroupsGroupStickySessionConfigArrayOutput) ElementType

func (GetServerGroupsGroupStickySessionConfigArrayOutput) Index

func (GetServerGroupsGroupStickySessionConfigArrayOutput) ToGetServerGroupsGroupStickySessionConfigArrayOutput

func (o GetServerGroupsGroupStickySessionConfigArrayOutput) ToGetServerGroupsGroupStickySessionConfigArrayOutput() GetServerGroupsGroupStickySessionConfigArrayOutput

func (GetServerGroupsGroupStickySessionConfigArrayOutput) ToGetServerGroupsGroupStickySessionConfigArrayOutputWithContext

func (o GetServerGroupsGroupStickySessionConfigArrayOutput) ToGetServerGroupsGroupStickySessionConfigArrayOutputWithContext(ctx context.Context) GetServerGroupsGroupStickySessionConfigArrayOutput

type GetServerGroupsGroupStickySessionConfigInput

type GetServerGroupsGroupStickySessionConfigInput interface {
	pulumi.Input

	ToGetServerGroupsGroupStickySessionConfigOutput() GetServerGroupsGroupStickySessionConfigOutput
	ToGetServerGroupsGroupStickySessionConfigOutputWithContext(context.Context) GetServerGroupsGroupStickySessionConfigOutput
}

GetServerGroupsGroupStickySessionConfigInput is an input type that accepts GetServerGroupsGroupStickySessionConfigArgs and GetServerGroupsGroupStickySessionConfigOutput values. You can construct a concrete instance of `GetServerGroupsGroupStickySessionConfigInput` via:

GetServerGroupsGroupStickySessionConfigArgs{...}

type GetServerGroupsGroupStickySessionConfigOutput

type GetServerGroupsGroupStickySessionConfigOutput struct{ *pulumi.OutputState }

func (GetServerGroupsGroupStickySessionConfigOutput) Cookie

the cookie that is configured on the server. **NOTE:** This parameter exists if the `StickySession` parameter is set to `On` and the `StickySessionType` parameter is set to `server`.

func (GetServerGroupsGroupStickySessionConfigOutput) CookieTimeout

The timeout period of a cookie. The timeout period of a cookie. Unit: seconds. Valid values: `1` to `86400`. Default value: `1000`.

func (GetServerGroupsGroupStickySessionConfigOutput) ElementType

func (GetServerGroupsGroupStickySessionConfigOutput) StickySessionEnabled

Indicates whether sticky session is enabled. Values: `true` and `false`. Default value: `false`. **NOTE:** This parameter exists if the `StickySession` parameter is set to `On`.

func (GetServerGroupsGroupStickySessionConfigOutput) StickySessionType

The method that is used to handle a cookie. Values: `Server` and `Insert`.

func (GetServerGroupsGroupStickySessionConfigOutput) ToGetServerGroupsGroupStickySessionConfigOutput

func (o GetServerGroupsGroupStickySessionConfigOutput) ToGetServerGroupsGroupStickySessionConfigOutput() GetServerGroupsGroupStickySessionConfigOutput

func (GetServerGroupsGroupStickySessionConfigOutput) ToGetServerGroupsGroupStickySessionConfigOutputWithContext

func (o GetServerGroupsGroupStickySessionConfigOutput) ToGetServerGroupsGroupStickySessionConfigOutputWithContext(ctx context.Context) GetServerGroupsGroupStickySessionConfigOutput

type GetServerGroupsResult

type GetServerGroupsResult struct {
	EnableDetails *bool                  `pulumi:"enableDetails"`
	Groups        []GetServerGroupsGroup `pulumi:"groups"`
	// The provider-assigned unique ID for this managed resource.
	Id              string                 `pulumi:"id"`
	Ids             []string               `pulumi:"ids"`
	NameRegex       *string                `pulumi:"nameRegex"`
	Names           []string               `pulumi:"names"`
	OutputFile      *string                `pulumi:"outputFile"`
	ResourceGroupId *string                `pulumi:"resourceGroupId"`
	ServerGroupIds  []string               `pulumi:"serverGroupIds"`
	ServerGroupName *string                `pulumi:"serverGroupName"`
	Status          *string                `pulumi:"status"`
	Tags            map[string]interface{} `pulumi:"tags"`
	VpcId           *string                `pulumi:"vpcId"`
}

A collection of values returned by getServerGroups.

func GetServerGroups

func GetServerGroups(ctx *pulumi.Context, args *GetServerGroupsArgs, opts ...pulumi.InvokeOption) (*GetServerGroupsResult, error)

This data source provides the Alb Server Groups of the current Alibaba Cloud user.

> **NOTE:** Available in v1.131.0+.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/alb"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		ids, err := alb.GetServerGroups(ctx, nil, nil)
		if err != nil {
			return err
		}
		ctx.Export("albServerGroupId1", ids.Groups[0].Id)
		opt0 := "^my-ServerGroup"
		nameRegex, err := alb.GetServerGroups(ctx, &alb.GetServerGroupsArgs{
			NameRegex: &opt0,
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("albServerGroupId2", nameRegex.Groups[0].Id)
		return nil
	})
}

```

type SecurityPolicy

type SecurityPolicy struct {
	pulumi.CustomResourceState

	// The supported cipher suites, which are determined by the TLS protocol version.The specified cipher suites must be supported by at least one TLS protocol version that you select.
	Ciphers pulumi.StringArrayOutput `pulumi:"ciphers"`
	// The dry run.
	DryRun pulumi.BoolPtrOutput `pulumi:"dryRun"`
	// The ID of the resource group.
	ResourceGroupId pulumi.StringOutput `pulumi:"resourceGroupId"`
	// The name of the resource. The name must be 2 to 128 characters in length and must start with a letter. It can contain digits, periods (.), underscores (_), and hyphens (-).
	SecurityPolicyName pulumi.StringOutput `pulumi:"securityPolicyName"`
	// The status of the resource.
	Status pulumi.StringOutput `pulumi:"status"`
	Tags   pulumi.MapOutput    `pulumi:"tags"`
	// The TLS protocol versions that are supported. Valid values: TLSv1.0, TLSv1.1, TLSv1.2 and TLSv1.3.
	TlsVersions pulumi.StringArrayOutput `pulumi:"tlsVersions"`
}

Provides a ALB Security Policy resource.

For information about ALB Security Policy and how to use it, see [What is Security Policy](https://www.alibabacloud.com/help/doc-detail/213607.htm).

> **NOTE:** Available in v1.130.0+.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/alb"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		name := "testAccSecurityPolicy"
		if param := cfg.Get("name"); param != "" {
			name = param
		}
		_, err := alb.NewSecurityPolicy(ctx, "_default", &alb.SecurityPolicyArgs{
			SecurityPolicyName: pulumi.String(name),
			TlsVersions: pulumi.StringArray{
				pulumi.String("TLSv1.0"),
			},
			Ciphers: pulumi.StringArray{
				pulumi.String("ECDHE-ECDSA-AES128-SHA"),
				pulumi.String("AES256-SHA"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

ALB Security Policy can be imported using the id, e.g.

```sh

$ pulumi import alicloud:alb/securityPolicy:SecurityPolicy example <id>

```

func GetSecurityPolicy

func GetSecurityPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SecurityPolicyState, opts ...pulumi.ResourceOption) (*SecurityPolicy, error)

GetSecurityPolicy gets an existing SecurityPolicy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewSecurityPolicy

func NewSecurityPolicy(ctx *pulumi.Context,
	name string, args *SecurityPolicyArgs, opts ...pulumi.ResourceOption) (*SecurityPolicy, error)

NewSecurityPolicy registers a new resource with the given unique name, arguments, and options.

func (*SecurityPolicy) ElementType

func (*SecurityPolicy) ElementType() reflect.Type

func (*SecurityPolicy) ToSecurityPolicyOutput

func (i *SecurityPolicy) ToSecurityPolicyOutput() SecurityPolicyOutput

func (*SecurityPolicy) ToSecurityPolicyOutputWithContext

func (i *SecurityPolicy) ToSecurityPolicyOutputWithContext(ctx context.Context) SecurityPolicyOutput

func (*SecurityPolicy) ToSecurityPolicyPtrOutput

func (i *SecurityPolicy) ToSecurityPolicyPtrOutput() SecurityPolicyPtrOutput

func (*SecurityPolicy) ToSecurityPolicyPtrOutputWithContext

func (i *SecurityPolicy) ToSecurityPolicyPtrOutputWithContext(ctx context.Context) SecurityPolicyPtrOutput

type SecurityPolicyArgs

type SecurityPolicyArgs struct {
	// The supported cipher suites, which are determined by the TLS protocol version.The specified cipher suites must be supported by at least one TLS protocol version that you select.
	Ciphers pulumi.StringArrayInput
	// The dry run.
	DryRun pulumi.BoolPtrInput
	// The ID of the resource group.
	ResourceGroupId pulumi.StringPtrInput
	// The name of the resource. The name must be 2 to 128 characters in length and must start with a letter. It can contain digits, periods (.), underscores (_), and hyphens (-).
	SecurityPolicyName pulumi.StringInput
	Tags               pulumi.MapInput
	// The TLS protocol versions that are supported. Valid values: TLSv1.0, TLSv1.1, TLSv1.2 and TLSv1.3.
	TlsVersions pulumi.StringArrayInput
}

The set of arguments for constructing a SecurityPolicy resource.

func (SecurityPolicyArgs) ElementType

func (SecurityPolicyArgs) ElementType() reflect.Type

type SecurityPolicyArray

type SecurityPolicyArray []SecurityPolicyInput

func (SecurityPolicyArray) ElementType

func (SecurityPolicyArray) ElementType() reflect.Type

func (SecurityPolicyArray) ToSecurityPolicyArrayOutput

func (i SecurityPolicyArray) ToSecurityPolicyArrayOutput() SecurityPolicyArrayOutput

func (SecurityPolicyArray) ToSecurityPolicyArrayOutputWithContext

func (i SecurityPolicyArray) ToSecurityPolicyArrayOutputWithContext(ctx context.Context) SecurityPolicyArrayOutput

type SecurityPolicyArrayInput

type SecurityPolicyArrayInput interface {
	pulumi.Input

	ToSecurityPolicyArrayOutput() SecurityPolicyArrayOutput
	ToSecurityPolicyArrayOutputWithContext(context.Context) SecurityPolicyArrayOutput
}

SecurityPolicyArrayInput is an input type that accepts SecurityPolicyArray and SecurityPolicyArrayOutput values. You can construct a concrete instance of `SecurityPolicyArrayInput` via:

SecurityPolicyArray{ SecurityPolicyArgs{...} }

type SecurityPolicyArrayOutput

type SecurityPolicyArrayOutput struct{ *pulumi.OutputState }

func (SecurityPolicyArrayOutput) ElementType

func (SecurityPolicyArrayOutput) ElementType() reflect.Type

func (SecurityPolicyArrayOutput) Index

func (SecurityPolicyArrayOutput) ToSecurityPolicyArrayOutput

func (o SecurityPolicyArrayOutput) ToSecurityPolicyArrayOutput() SecurityPolicyArrayOutput

func (SecurityPolicyArrayOutput) ToSecurityPolicyArrayOutputWithContext

func (o SecurityPolicyArrayOutput) ToSecurityPolicyArrayOutputWithContext(ctx context.Context) SecurityPolicyArrayOutput

type SecurityPolicyInput

type SecurityPolicyInput interface {
	pulumi.Input

	ToSecurityPolicyOutput() SecurityPolicyOutput
	ToSecurityPolicyOutputWithContext(ctx context.Context) SecurityPolicyOutput
}

type SecurityPolicyMap

type SecurityPolicyMap map[string]SecurityPolicyInput

func (SecurityPolicyMap) ElementType

func (SecurityPolicyMap) ElementType() reflect.Type

func (SecurityPolicyMap) ToSecurityPolicyMapOutput

func (i SecurityPolicyMap) ToSecurityPolicyMapOutput() SecurityPolicyMapOutput

func (SecurityPolicyMap) ToSecurityPolicyMapOutputWithContext

func (i SecurityPolicyMap) ToSecurityPolicyMapOutputWithContext(ctx context.Context) SecurityPolicyMapOutput

type SecurityPolicyMapInput

type SecurityPolicyMapInput interface {
	pulumi.Input

	ToSecurityPolicyMapOutput() SecurityPolicyMapOutput
	ToSecurityPolicyMapOutputWithContext(context.Context) SecurityPolicyMapOutput
}

SecurityPolicyMapInput is an input type that accepts SecurityPolicyMap and SecurityPolicyMapOutput values. You can construct a concrete instance of `SecurityPolicyMapInput` via:

SecurityPolicyMap{ "key": SecurityPolicyArgs{...} }

type SecurityPolicyMapOutput

type SecurityPolicyMapOutput struct{ *pulumi.OutputState }

func (SecurityPolicyMapOutput) ElementType

func (SecurityPolicyMapOutput) ElementType() reflect.Type

func (SecurityPolicyMapOutput) MapIndex

func (SecurityPolicyMapOutput) ToSecurityPolicyMapOutput

func (o SecurityPolicyMapOutput) ToSecurityPolicyMapOutput() SecurityPolicyMapOutput

func (SecurityPolicyMapOutput) ToSecurityPolicyMapOutputWithContext

func (o SecurityPolicyMapOutput) ToSecurityPolicyMapOutputWithContext(ctx context.Context) SecurityPolicyMapOutput

type SecurityPolicyOutput

type SecurityPolicyOutput struct {
	*pulumi.OutputState
}

func (SecurityPolicyOutput) ElementType

func (SecurityPolicyOutput) ElementType() reflect.Type

func (SecurityPolicyOutput) ToSecurityPolicyOutput

func (o SecurityPolicyOutput) ToSecurityPolicyOutput() SecurityPolicyOutput

func (SecurityPolicyOutput) ToSecurityPolicyOutputWithContext

func (o SecurityPolicyOutput) ToSecurityPolicyOutputWithContext(ctx context.Context) SecurityPolicyOutput

func (SecurityPolicyOutput) ToSecurityPolicyPtrOutput

func (o SecurityPolicyOutput) ToSecurityPolicyPtrOutput() SecurityPolicyPtrOutput

func (SecurityPolicyOutput) ToSecurityPolicyPtrOutputWithContext

func (o SecurityPolicyOutput) ToSecurityPolicyPtrOutputWithContext(ctx context.Context) SecurityPolicyPtrOutput

type SecurityPolicyPtrInput

type SecurityPolicyPtrInput interface {
	pulumi.Input

	ToSecurityPolicyPtrOutput() SecurityPolicyPtrOutput
	ToSecurityPolicyPtrOutputWithContext(ctx context.Context) SecurityPolicyPtrOutput
}

type SecurityPolicyPtrOutput

type SecurityPolicyPtrOutput struct {
	*pulumi.OutputState
}

func (SecurityPolicyPtrOutput) ElementType

func (SecurityPolicyPtrOutput) ElementType() reflect.Type

func (SecurityPolicyPtrOutput) ToSecurityPolicyPtrOutput

func (o SecurityPolicyPtrOutput) ToSecurityPolicyPtrOutput() SecurityPolicyPtrOutput

func (SecurityPolicyPtrOutput) ToSecurityPolicyPtrOutputWithContext

func (o SecurityPolicyPtrOutput) ToSecurityPolicyPtrOutputWithContext(ctx context.Context) SecurityPolicyPtrOutput

type SecurityPolicyState

type SecurityPolicyState struct {
	// The supported cipher suites, which are determined by the TLS protocol version.The specified cipher suites must be supported by at least one TLS protocol version that you select.
	Ciphers pulumi.StringArrayInput
	// The dry run.
	DryRun pulumi.BoolPtrInput
	// The ID of the resource group.
	ResourceGroupId pulumi.StringPtrInput
	// The name of the resource. The name must be 2 to 128 characters in length and must start with a letter. It can contain digits, periods (.), underscores (_), and hyphens (-).
	SecurityPolicyName pulumi.StringPtrInput
	// The status of the resource.
	Status pulumi.StringPtrInput
	Tags   pulumi.MapInput
	// The TLS protocol versions that are supported. Valid values: TLSv1.0, TLSv1.1, TLSv1.2 and TLSv1.3.
	TlsVersions pulumi.StringArrayInput
}

func (SecurityPolicyState) ElementType

func (SecurityPolicyState) ElementType() reflect.Type

type ServerGroup

type ServerGroup struct {
	pulumi.CustomResourceState

	// The dry run.
	DryRun pulumi.BoolPtrOutput `pulumi:"dryRun"`
	// The configuration of health checks.
	HealthCheckConfig ServerGroupHealthCheckConfigPtrOutput `pulumi:"healthCheckConfig"`
	// The server protocol. Valid values: `  HTTPS `, `HTTP`.
	Protocol pulumi.StringOutput `pulumi:"protocol"`
	// The ID of the resource group.
	ResourceGroupId pulumi.StringOutput `pulumi:"resourceGroupId"`
	// The scheduling algorithm. Valid values: `  Sch `, `  Wlc `, `Wrr`.
	Scheduler pulumi.StringOutput `pulumi:"scheduler"`
	// The name of the resource.
	ServerGroupName pulumi.StringPtrOutput `pulumi:"serverGroupName"`
	// The backend server.
	Servers ServerGroupServerArrayOutput `pulumi:"servers"`
	// The status of the resource.
	Status pulumi.StringOutput `pulumi:"status"`
	// The configuration of the sticky session.
	StickySessionConfig ServerGroupStickySessionConfigPtrOutput `pulumi:"stickySessionConfig"`
	Tags                pulumi.MapOutput                        `pulumi:"tags"`
	// The ID of the VPC that you want to access.
	VpcId pulumi.StringPtrOutput `pulumi:"vpcId"`
}

Provides a ALB Server Group resource.

For information about ALB Server Group and how to use it, see [What is Server Group](https://www.alibabacloud.com/help/doc-detail/213627.htm).

> **NOTE:** Available in v1.131.0+.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/alb"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := alb.NewServerGroup(ctx, "example", &alb.ServerGroupArgs{
			ServerGroupName: pulumi.String("example_value"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

ALB Server Group can be imported using the id, e.g.

```sh

$ pulumi import alicloud:alb/serverGroup:ServerGroup example <id>

```

func GetServerGroup

func GetServerGroup(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServerGroupState, opts ...pulumi.ResourceOption) (*ServerGroup, error)

GetServerGroup gets an existing ServerGroup resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewServerGroup

func NewServerGroup(ctx *pulumi.Context,
	name string, args *ServerGroupArgs, opts ...pulumi.ResourceOption) (*ServerGroup, error)

NewServerGroup registers a new resource with the given unique name, arguments, and options.

func (*ServerGroup) ElementType

func (*ServerGroup) ElementType() reflect.Type

func (*ServerGroup) ToServerGroupOutput

func (i *ServerGroup) ToServerGroupOutput() ServerGroupOutput

func (*ServerGroup) ToServerGroupOutputWithContext

func (i *ServerGroup) ToServerGroupOutputWithContext(ctx context.Context) ServerGroupOutput

func (*ServerGroup) ToServerGroupPtrOutput

func (i *ServerGroup) ToServerGroupPtrOutput() ServerGroupPtrOutput

func (*ServerGroup) ToServerGroupPtrOutputWithContext

func (i *ServerGroup) ToServerGroupPtrOutputWithContext(ctx context.Context) ServerGroupPtrOutput

type ServerGroupArgs

type ServerGroupArgs struct {
	// The dry run.
	DryRun pulumi.BoolPtrInput
	// The configuration of health checks.
	HealthCheckConfig ServerGroupHealthCheckConfigPtrInput
	// The server protocol. Valid values: `  HTTPS `, `HTTP`.
	Protocol pulumi.StringPtrInput
	// The ID of the resource group.
	ResourceGroupId pulumi.StringPtrInput
	// The scheduling algorithm. Valid values: `  Sch `, `  Wlc `, `Wrr`.
	Scheduler pulumi.StringPtrInput
	// The name of the resource.
	ServerGroupName pulumi.StringPtrInput
	// The backend server.
	Servers ServerGroupServerArrayInput
	// The configuration of the sticky session.
	StickySessionConfig ServerGroupStickySessionConfigPtrInput
	Tags                pulumi.MapInput
	// The ID of the VPC that you want to access.
	VpcId pulumi.StringPtrInput
}

The set of arguments for constructing a ServerGroup resource.

func (ServerGroupArgs) ElementType

func (ServerGroupArgs) ElementType() reflect.Type

type ServerGroupArray

type ServerGroupArray []ServerGroupInput

func (ServerGroupArray) ElementType

func (ServerGroupArray) ElementType() reflect.Type

func (ServerGroupArray) ToServerGroupArrayOutput

func (i ServerGroupArray) ToServerGroupArrayOutput() ServerGroupArrayOutput

func (ServerGroupArray) ToServerGroupArrayOutputWithContext

func (i ServerGroupArray) ToServerGroupArrayOutputWithContext(ctx context.Context) ServerGroupArrayOutput

type ServerGroupArrayInput

type ServerGroupArrayInput interface {
	pulumi.Input

	ToServerGroupArrayOutput() ServerGroupArrayOutput
	ToServerGroupArrayOutputWithContext(context.Context) ServerGroupArrayOutput
}

ServerGroupArrayInput is an input type that accepts ServerGroupArray and ServerGroupArrayOutput values. You can construct a concrete instance of `ServerGroupArrayInput` via:

ServerGroupArray{ ServerGroupArgs{...} }

type ServerGroupArrayOutput

type ServerGroupArrayOutput struct{ *pulumi.OutputState }

func (ServerGroupArrayOutput) ElementType

func (ServerGroupArrayOutput) ElementType() reflect.Type

func (ServerGroupArrayOutput) Index

func (ServerGroupArrayOutput) ToServerGroupArrayOutput

func (o ServerGroupArrayOutput) ToServerGroupArrayOutput() ServerGroupArrayOutput

func (ServerGroupArrayOutput) ToServerGroupArrayOutputWithContext

func (o ServerGroupArrayOutput) ToServerGroupArrayOutputWithContext(ctx context.Context) ServerGroupArrayOutput

type ServerGroupHealthCheckConfig

type ServerGroupHealthCheckConfig struct {
	// The status code for a successful health check. Multiple status codes can be specified as a list. Valid values: `http2xx`, `http3xx`, `http4xx`, and `http5xx`. Default value: `http2xx`. **NOTE:** This parameter exists if the `HealthCheckProtocol` parameter is set to `HTTP`.
	HealthCheckCodes []string `pulumi:"healthCheckCodes"`
	// The port of the backend server that is used for health checks. Valid values: `0` to `65535`. Default value: `0`. A value of 0 indicates that a backend server port is used for health checks.
	HealthCheckConnectPort *int `pulumi:"healthCheckConnectPort"`
	// Indicates whether health checks are enabled. Valid values: `true`, `false`. Default value: `true`.
	HealthCheckEnabled *bool `pulumi:"healthCheckEnabled"`
	// The domain name that is used for health checks.
	HealthCheckHost *string `pulumi:"healthCheckHost"`
	// HTTP protocol version. Valid values: `HTTP1.0` and `HTTP1.1`. Default value: `HTTP1.1`. **NOTE:** This parameter exists if the `HealthCheckProtocol` parameter is set to `HTTP`.
	HealthCheckHttpVersion *string `pulumi:"healthCheckHttpVersion"`
	// The time interval between two consecutive health checks. Unit: seconds. Valid values: `1` to `50`. Default value: `2`.
	HealthCheckInterval *int `pulumi:"healthCheckInterval"`
	// Health check method. Valid values: `GET` and `HEAD`. Default: `GET`. **NOTE:** This parameter exists if the `HealthCheckProtocol` parameter is set to `HTTP`.
	HealthCheckMethod *string `pulumi:"healthCheckMethod"`
	// The forwarding rule path of health checks. **NOTE:** This parameter exists if the `HealthCheckProtocol` parameter is set to `HTTP`.
	HealthCheckPath *string `pulumi:"healthCheckPath"`
	// Health check protocol. Valid values: `HTTP` and `TCP`.
	HealthCheckProtocol *string `pulumi:"healthCheckProtocol"`
	// The timeout period of a health check response. If a backend Elastic Compute Service (ECS) instance does not send an expected response within the specified period of time, the ECS instance is considered unhealthy. Unit: seconds. Valid values: 1 to 300. Default value: 5. **NOTE:** If the value of the `HealthCHeckTimeout` parameter is smaller than that of the `HealthCheckInterval` parameter, the value of the `HealthCHeckTimeout` parameter is ignored and the value of the `HealthCheckInterval` parameter is regarded as the timeout period.
	HealthCheckTimeout *int `pulumi:"healthCheckTimeout"`
	// The number of health checks that an unhealthy backend server must pass consecutively before it is declared healthy. In this case, the health check state is changed from fail to success. Valid values: 2 to 10. Default value: 3.
	HealthyThreshold *int `pulumi:"healthyThreshold"`
	// The number of consecutive health checks that a healthy backend server must consecutively fail before it is declared unhealthy. In this case, the health check state is changed from success to fail. Valid values: `2` to `10`. Default value: `3`.
	UnhealthyThreshold *int `pulumi:"unhealthyThreshold"`
}

type ServerGroupHealthCheckConfigArgs

type ServerGroupHealthCheckConfigArgs struct {
	// The status code for a successful health check. Multiple status codes can be specified as a list. Valid values: `http2xx`, `http3xx`, `http4xx`, and `http5xx`. Default value: `http2xx`. **NOTE:** This parameter exists if the `HealthCheckProtocol` parameter is set to `HTTP`.
	HealthCheckCodes pulumi.StringArrayInput `pulumi:"healthCheckCodes"`
	// The port of the backend server that is used for health checks. Valid values: `0` to `65535`. Default value: `0`. A value of 0 indicates that a backend server port is used for health checks.
	HealthCheckConnectPort pulumi.IntPtrInput `pulumi:"healthCheckConnectPort"`
	// Indicates whether health checks are enabled. Valid values: `true`, `false`. Default value: `true`.
	HealthCheckEnabled pulumi.BoolPtrInput `pulumi:"healthCheckEnabled"`
	// The domain name that is used for health checks.
	HealthCheckHost pulumi.StringPtrInput `pulumi:"healthCheckHost"`
	// HTTP protocol version. Valid values: `HTTP1.0` and `HTTP1.1`. Default value: `HTTP1.1`. **NOTE:** This parameter exists if the `HealthCheckProtocol` parameter is set to `HTTP`.
	HealthCheckHttpVersion pulumi.StringPtrInput `pulumi:"healthCheckHttpVersion"`
	// The time interval between two consecutive health checks. Unit: seconds. Valid values: `1` to `50`. Default value: `2`.
	HealthCheckInterval pulumi.IntPtrInput `pulumi:"healthCheckInterval"`
	// Health check method. Valid values: `GET` and `HEAD`. Default: `GET`. **NOTE:** This parameter exists if the `HealthCheckProtocol` parameter is set to `HTTP`.
	HealthCheckMethod pulumi.StringPtrInput `pulumi:"healthCheckMethod"`
	// The forwarding rule path of health checks. **NOTE:** This parameter exists if the `HealthCheckProtocol` parameter is set to `HTTP`.
	HealthCheckPath pulumi.StringPtrInput `pulumi:"healthCheckPath"`
	// Health check protocol. Valid values: `HTTP` and `TCP`.
	HealthCheckProtocol pulumi.StringPtrInput `pulumi:"healthCheckProtocol"`
	// The timeout period of a health check response. If a backend Elastic Compute Service (ECS) instance does not send an expected response within the specified period of time, the ECS instance is considered unhealthy. Unit: seconds. Valid values: 1 to 300. Default value: 5. **NOTE:** If the value of the `HealthCHeckTimeout` parameter is smaller than that of the `HealthCheckInterval` parameter, the value of the `HealthCHeckTimeout` parameter is ignored and the value of the `HealthCheckInterval` parameter is regarded as the timeout period.
	HealthCheckTimeout pulumi.IntPtrInput `pulumi:"healthCheckTimeout"`
	// The number of health checks that an unhealthy backend server must pass consecutively before it is declared healthy. In this case, the health check state is changed from fail to success. Valid values: 2 to 10. Default value: 3.
	HealthyThreshold pulumi.IntPtrInput `pulumi:"healthyThreshold"`
	// The number of consecutive health checks that a healthy backend server must consecutively fail before it is declared unhealthy. In this case, the health check state is changed from success to fail. Valid values: `2` to `10`. Default value: `3`.
	UnhealthyThreshold pulumi.IntPtrInput `pulumi:"unhealthyThreshold"`
}

func (ServerGroupHealthCheckConfigArgs) ElementType

func (ServerGroupHealthCheckConfigArgs) ToServerGroupHealthCheckConfigOutput

func (i ServerGroupHealthCheckConfigArgs) ToServerGroupHealthCheckConfigOutput() ServerGroupHealthCheckConfigOutput

func (ServerGroupHealthCheckConfigArgs) ToServerGroupHealthCheckConfigOutputWithContext

func (i ServerGroupHealthCheckConfigArgs) ToServerGroupHealthCheckConfigOutputWithContext(ctx context.Context) ServerGroupHealthCheckConfigOutput

func (ServerGroupHealthCheckConfigArgs) ToServerGroupHealthCheckConfigPtrOutput

func (i ServerGroupHealthCheckConfigArgs) ToServerGroupHealthCheckConfigPtrOutput() ServerGroupHealthCheckConfigPtrOutput

func (ServerGroupHealthCheckConfigArgs) ToServerGroupHealthCheckConfigPtrOutputWithContext

func (i ServerGroupHealthCheckConfigArgs) ToServerGroupHealthCheckConfigPtrOutputWithContext(ctx context.Context) ServerGroupHealthCheckConfigPtrOutput

type ServerGroupHealthCheckConfigInput

type ServerGroupHealthCheckConfigInput interface {
	pulumi.Input

	ToServerGroupHealthCheckConfigOutput() ServerGroupHealthCheckConfigOutput
	ToServerGroupHealthCheckConfigOutputWithContext(context.Context) ServerGroupHealthCheckConfigOutput
}

ServerGroupHealthCheckConfigInput is an input type that accepts ServerGroupHealthCheckConfigArgs and ServerGroupHealthCheckConfigOutput values. You can construct a concrete instance of `ServerGroupHealthCheckConfigInput` via:

ServerGroupHealthCheckConfigArgs{...}

type ServerGroupHealthCheckConfigOutput

type ServerGroupHealthCheckConfigOutput struct{ *pulumi.OutputState }

func (ServerGroupHealthCheckConfigOutput) ElementType

func (ServerGroupHealthCheckConfigOutput) HealthCheckCodes

The status code for a successful health check. Multiple status codes can be specified as a list. Valid values: `http2xx`, `http3xx`, `http4xx`, and `http5xx`. Default value: `http2xx`. **NOTE:** This parameter exists if the `HealthCheckProtocol` parameter is set to `HTTP`.

func (ServerGroupHealthCheckConfigOutput) HealthCheckConnectPort

func (o ServerGroupHealthCheckConfigOutput) HealthCheckConnectPort() pulumi.IntPtrOutput

The port of the backend server that is used for health checks. Valid values: `0` to `65535`. Default value: `0`. A value of 0 indicates that a backend server port is used for health checks.

func (ServerGroupHealthCheckConfigOutput) HealthCheckEnabled

Indicates whether health checks are enabled. Valid values: `true`, `false`. Default value: `true`.

func (ServerGroupHealthCheckConfigOutput) HealthCheckHost

The domain name that is used for health checks.

func (ServerGroupHealthCheckConfigOutput) HealthCheckHttpVersion

func (o ServerGroupHealthCheckConfigOutput) HealthCheckHttpVersion() pulumi.StringPtrOutput

HTTP protocol version. Valid values: `HTTP1.0` and `HTTP1.1`. Default value: `HTTP1.1`. **NOTE:** This parameter exists if the `HealthCheckProtocol` parameter is set to `HTTP`.

func (ServerGroupHealthCheckConfigOutput) HealthCheckInterval

func (o ServerGroupHealthCheckConfigOutput) HealthCheckInterval() pulumi.IntPtrOutput

The time interval between two consecutive health checks. Unit: seconds. Valid values: `1` to `50`. Default value: `2`.

func (ServerGroupHealthCheckConfigOutput) HealthCheckMethod

Health check method. Valid values: `GET` and `HEAD`. Default: `GET`. **NOTE:** This parameter exists if the `HealthCheckProtocol` parameter is set to `HTTP`.

func (ServerGroupHealthCheckConfigOutput) HealthCheckPath

The forwarding rule path of health checks. **NOTE:** This parameter exists if the `HealthCheckProtocol` parameter is set to `HTTP`.

func (ServerGroupHealthCheckConfigOutput) HealthCheckProtocol

Health check protocol. Valid values: `HTTP` and `TCP`.

func (ServerGroupHealthCheckConfigOutput) HealthCheckTimeout

The timeout period of a health check response. If a backend Elastic Compute Service (ECS) instance does not send an expected response within the specified period of time, the ECS instance is considered unhealthy. Unit: seconds. Valid values: 1 to 300. Default value: 5. **NOTE:** If the value of the `HealthCHeckTimeout` parameter is smaller than that of the `HealthCheckInterval` parameter, the value of the `HealthCHeckTimeout` parameter is ignored and the value of the `HealthCheckInterval` parameter is regarded as the timeout period.

func (ServerGroupHealthCheckConfigOutput) HealthyThreshold

The number of health checks that an unhealthy backend server must pass consecutively before it is declared healthy. In this case, the health check state is changed from fail to success. Valid values: 2 to 10. Default value: 3.

func (ServerGroupHealthCheckConfigOutput) ToServerGroupHealthCheckConfigOutput

func (o ServerGroupHealthCheckConfigOutput) ToServerGroupHealthCheckConfigOutput() ServerGroupHealthCheckConfigOutput

func (ServerGroupHealthCheckConfigOutput) ToServerGroupHealthCheckConfigOutputWithContext

func (o ServerGroupHealthCheckConfigOutput) ToServerGroupHealthCheckConfigOutputWithContext(ctx context.Context) ServerGroupHealthCheckConfigOutput

func (ServerGroupHealthCheckConfigOutput) ToServerGroupHealthCheckConfigPtrOutput

func (o ServerGroupHealthCheckConfigOutput) ToServerGroupHealthCheckConfigPtrOutput() ServerGroupHealthCheckConfigPtrOutput

func (ServerGroupHealthCheckConfigOutput) ToServerGroupHealthCheckConfigPtrOutputWithContext

func (o ServerGroupHealthCheckConfigOutput) ToServerGroupHealthCheckConfigPtrOutputWithContext(ctx context.Context) ServerGroupHealthCheckConfigPtrOutput

func (ServerGroupHealthCheckConfigOutput) UnhealthyThreshold

The number of consecutive health checks that a healthy backend server must consecutively fail before it is declared unhealthy. In this case, the health check state is changed from success to fail. Valid values: `2` to `10`. Default value: `3`.

type ServerGroupHealthCheckConfigPtrInput

type ServerGroupHealthCheckConfigPtrInput interface {
	pulumi.Input

	ToServerGroupHealthCheckConfigPtrOutput() ServerGroupHealthCheckConfigPtrOutput
	ToServerGroupHealthCheckConfigPtrOutputWithContext(context.Context) ServerGroupHealthCheckConfigPtrOutput
}

ServerGroupHealthCheckConfigPtrInput is an input type that accepts ServerGroupHealthCheckConfigArgs, ServerGroupHealthCheckConfigPtr and ServerGroupHealthCheckConfigPtrOutput values. You can construct a concrete instance of `ServerGroupHealthCheckConfigPtrInput` via:

        ServerGroupHealthCheckConfigArgs{...}

or:

        nil

type ServerGroupHealthCheckConfigPtrOutput

type ServerGroupHealthCheckConfigPtrOutput struct{ *pulumi.OutputState }

func (ServerGroupHealthCheckConfigPtrOutput) Elem

func (ServerGroupHealthCheckConfigPtrOutput) ElementType

func (ServerGroupHealthCheckConfigPtrOutput) HealthCheckCodes

The status code for a successful health check. Multiple status codes can be specified as a list. Valid values: `http2xx`, `http3xx`, `http4xx`, and `http5xx`. Default value: `http2xx`. **NOTE:** This parameter exists if the `HealthCheckProtocol` parameter is set to `HTTP`.

func (ServerGroupHealthCheckConfigPtrOutput) HealthCheckConnectPort

func (o ServerGroupHealthCheckConfigPtrOutput) HealthCheckConnectPort() pulumi.IntPtrOutput

The port of the backend server that is used for health checks. Valid values: `0` to `65535`. Default value: `0`. A value of 0 indicates that a backend server port is used for health checks.

func (ServerGroupHealthCheckConfigPtrOutput) HealthCheckEnabled

Indicates whether health checks are enabled. Valid values: `true`, `false`. Default value: `true`.

func (ServerGroupHealthCheckConfigPtrOutput) HealthCheckHost

The domain name that is used for health checks.

func (ServerGroupHealthCheckConfigPtrOutput) HealthCheckHttpVersion

HTTP protocol version. Valid values: `HTTP1.0` and `HTTP1.1`. Default value: `HTTP1.1`. **NOTE:** This parameter exists if the `HealthCheckProtocol` parameter is set to `HTTP`.

func (ServerGroupHealthCheckConfigPtrOutput) HealthCheckInterval

The time interval between two consecutive health checks. Unit: seconds. Valid values: `1` to `50`. Default value: `2`.

func (ServerGroupHealthCheckConfigPtrOutput) HealthCheckMethod

Health check method. Valid values: `GET` and `HEAD`. Default: `GET`. **NOTE:** This parameter exists if the `HealthCheckProtocol` parameter is set to `HTTP`.

func (ServerGroupHealthCheckConfigPtrOutput) HealthCheckPath

The forwarding rule path of health checks. **NOTE:** This parameter exists if the `HealthCheckProtocol` parameter is set to `HTTP`.

func (ServerGroupHealthCheckConfigPtrOutput) HealthCheckProtocol

Health check protocol. Valid values: `HTTP` and `TCP`.

func (ServerGroupHealthCheckConfigPtrOutput) HealthCheckTimeout

The timeout period of a health check response. If a backend Elastic Compute Service (ECS) instance does not send an expected response within the specified period of time, the ECS instance is considered unhealthy. Unit: seconds. Valid values: 1 to 300. Default value: 5. **NOTE:** If the value of the `HealthCHeckTimeout` parameter is smaller than that of the `HealthCheckInterval` parameter, the value of the `HealthCHeckTimeout` parameter is ignored and the value of the `HealthCheckInterval` parameter is regarded as the timeout period.

func (ServerGroupHealthCheckConfigPtrOutput) HealthyThreshold

The number of health checks that an unhealthy backend server must pass consecutively before it is declared healthy. In this case, the health check state is changed from fail to success. Valid values: 2 to 10. Default value: 3.

func (ServerGroupHealthCheckConfigPtrOutput) ToServerGroupHealthCheckConfigPtrOutput

func (o ServerGroupHealthCheckConfigPtrOutput) ToServerGroupHealthCheckConfigPtrOutput() ServerGroupHealthCheckConfigPtrOutput

func (ServerGroupHealthCheckConfigPtrOutput) ToServerGroupHealthCheckConfigPtrOutputWithContext

func (o ServerGroupHealthCheckConfigPtrOutput) ToServerGroupHealthCheckConfigPtrOutputWithContext(ctx context.Context) ServerGroupHealthCheckConfigPtrOutput

func (ServerGroupHealthCheckConfigPtrOutput) UnhealthyThreshold

The number of consecutive health checks that a healthy backend server must consecutively fail before it is declared unhealthy. In this case, the health check state is changed from success to fail. Valid values: `2` to `10`. Default value: `3`.

type ServerGroupInput

type ServerGroupInput interface {
	pulumi.Input

	ToServerGroupOutput() ServerGroupOutput
	ToServerGroupOutputWithContext(ctx context.Context) ServerGroupOutput
}

type ServerGroupMap

type ServerGroupMap map[string]ServerGroupInput

func (ServerGroupMap) ElementType

func (ServerGroupMap) ElementType() reflect.Type

func (ServerGroupMap) ToServerGroupMapOutput

func (i ServerGroupMap) ToServerGroupMapOutput() ServerGroupMapOutput

func (ServerGroupMap) ToServerGroupMapOutputWithContext

func (i ServerGroupMap) ToServerGroupMapOutputWithContext(ctx context.Context) ServerGroupMapOutput

type ServerGroupMapInput

type ServerGroupMapInput interface {
	pulumi.Input

	ToServerGroupMapOutput() ServerGroupMapOutput
	ToServerGroupMapOutputWithContext(context.Context) ServerGroupMapOutput
}

ServerGroupMapInput is an input type that accepts ServerGroupMap and ServerGroupMapOutput values. You can construct a concrete instance of `ServerGroupMapInput` via:

ServerGroupMap{ "key": ServerGroupArgs{...} }

type ServerGroupMapOutput

type ServerGroupMapOutput struct{ *pulumi.OutputState }

func (ServerGroupMapOutput) ElementType

func (ServerGroupMapOutput) ElementType() reflect.Type

func (ServerGroupMapOutput) MapIndex

func (ServerGroupMapOutput) ToServerGroupMapOutput

func (o ServerGroupMapOutput) ToServerGroupMapOutput() ServerGroupMapOutput

func (ServerGroupMapOutput) ToServerGroupMapOutputWithContext

func (o ServerGroupMapOutput) ToServerGroupMapOutputWithContext(ctx context.Context) ServerGroupMapOutput

type ServerGroupOutput

type ServerGroupOutput struct {
	*pulumi.OutputState
}

func (ServerGroupOutput) ElementType

func (ServerGroupOutput) ElementType() reflect.Type

func (ServerGroupOutput) ToServerGroupOutput

func (o ServerGroupOutput) ToServerGroupOutput() ServerGroupOutput

func (ServerGroupOutput) ToServerGroupOutputWithContext

func (o ServerGroupOutput) ToServerGroupOutputWithContext(ctx context.Context) ServerGroupOutput

func (ServerGroupOutput) ToServerGroupPtrOutput

func (o ServerGroupOutput) ToServerGroupPtrOutput() ServerGroupPtrOutput

func (ServerGroupOutput) ToServerGroupPtrOutputWithContext

func (o ServerGroupOutput) ToServerGroupPtrOutputWithContext(ctx context.Context) ServerGroupPtrOutput

type ServerGroupPtrInput

type ServerGroupPtrInput interface {
	pulumi.Input

	ToServerGroupPtrOutput() ServerGroupPtrOutput
	ToServerGroupPtrOutputWithContext(ctx context.Context) ServerGroupPtrOutput
}

type ServerGroupPtrOutput

type ServerGroupPtrOutput struct {
	*pulumi.OutputState
}

func (ServerGroupPtrOutput) ElementType

func (ServerGroupPtrOutput) ElementType() reflect.Type

func (ServerGroupPtrOutput) ToServerGroupPtrOutput

func (o ServerGroupPtrOutput) ToServerGroupPtrOutput() ServerGroupPtrOutput

func (ServerGroupPtrOutput) ToServerGroupPtrOutputWithContext

func (o ServerGroupPtrOutput) ToServerGroupPtrOutputWithContext(ctx context.Context) ServerGroupPtrOutput

type ServerGroupServer

type ServerGroupServer struct {
	// The description of the server.
	Description *string `pulumi:"description"`
	// The port that is used by the server. Valid values: `1` to `65535`.
	Port *int `pulumi:"port"`
	// The ID of the ECS instance, ENI instance or ECI instance.
	ServerId *string `pulumi:"serverId"`
	// The IP address of the ENI instance when it is in the inclusive ENI mode.
	ServerIp *string `pulumi:"serverIp"`
	// The type of the server. The type of the server. Valid values: `Ecs`, `Eni` and `Eci`.
	ServerType *string `pulumi:"serverType"`
	// The status of the resource.
	Status *string `pulumi:"status"`
	// 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.
	Weight *int `pulumi:"weight"`
}

type ServerGroupServerArgs

type ServerGroupServerArgs struct {
	// The description of the server.
	Description pulumi.StringPtrInput `pulumi:"description"`
	// The port that is used by the server. Valid values: `1` to `65535`.
	Port pulumi.IntPtrInput `pulumi:"port"`
	// The ID of the ECS instance, ENI instance or ECI instance.
	ServerId pulumi.StringPtrInput `pulumi:"serverId"`
	// The IP address of the ENI instance when it is in the inclusive ENI mode.
	ServerIp pulumi.StringPtrInput `pulumi:"serverIp"`
	// The type of the server. The type of the server. Valid values: `Ecs`, `Eni` and `Eci`.
	ServerType pulumi.StringPtrInput `pulumi:"serverType"`
	// The status of the resource.
	Status pulumi.StringPtrInput `pulumi:"status"`
	// 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.
	Weight pulumi.IntPtrInput `pulumi:"weight"`
}

func (ServerGroupServerArgs) ElementType

func (ServerGroupServerArgs) ElementType() reflect.Type

func (ServerGroupServerArgs) ToServerGroupServerOutput

func (i ServerGroupServerArgs) ToServerGroupServerOutput() ServerGroupServerOutput

func (ServerGroupServerArgs) ToServerGroupServerOutputWithContext

func (i ServerGroupServerArgs) ToServerGroupServerOutputWithContext(ctx context.Context) ServerGroupServerOutput

type ServerGroupServerArray

type ServerGroupServerArray []ServerGroupServerInput

func (ServerGroupServerArray) ElementType

func (ServerGroupServerArray) ElementType() reflect.Type

func (ServerGroupServerArray) ToServerGroupServerArrayOutput

func (i ServerGroupServerArray) ToServerGroupServerArrayOutput() ServerGroupServerArrayOutput

func (ServerGroupServerArray) ToServerGroupServerArrayOutputWithContext

func (i ServerGroupServerArray) ToServerGroupServerArrayOutputWithContext(ctx context.Context) ServerGroupServerArrayOutput

type ServerGroupServerArrayInput

type ServerGroupServerArrayInput interface {
	pulumi.Input

	ToServerGroupServerArrayOutput() ServerGroupServerArrayOutput
	ToServerGroupServerArrayOutputWithContext(context.Context) ServerGroupServerArrayOutput
}

ServerGroupServerArrayInput is an input type that accepts ServerGroupServerArray and ServerGroupServerArrayOutput values. You can construct a concrete instance of `ServerGroupServerArrayInput` via:

ServerGroupServerArray{ ServerGroupServerArgs{...} }

type ServerGroupServerArrayOutput

type ServerGroupServerArrayOutput struct{ *pulumi.OutputState }

func (ServerGroupServerArrayOutput) ElementType

func (ServerGroupServerArrayOutput) Index

func (ServerGroupServerArrayOutput) ToServerGroupServerArrayOutput

func (o ServerGroupServerArrayOutput) ToServerGroupServerArrayOutput() ServerGroupServerArrayOutput

func (ServerGroupServerArrayOutput) ToServerGroupServerArrayOutputWithContext

func (o ServerGroupServerArrayOutput) ToServerGroupServerArrayOutputWithContext(ctx context.Context) ServerGroupServerArrayOutput

type ServerGroupServerInput

type ServerGroupServerInput interface {
	pulumi.Input

	ToServerGroupServerOutput() ServerGroupServerOutput
	ToServerGroupServerOutputWithContext(context.Context) ServerGroupServerOutput
}

ServerGroupServerInput is an input type that accepts ServerGroupServerArgs and ServerGroupServerOutput values. You can construct a concrete instance of `ServerGroupServerInput` via:

ServerGroupServerArgs{...}

type ServerGroupServerOutput

type ServerGroupServerOutput struct{ *pulumi.OutputState }

func (ServerGroupServerOutput) Description

The description of the server.

func (ServerGroupServerOutput) ElementType

func (ServerGroupServerOutput) ElementType() reflect.Type

func (ServerGroupServerOutput) Port

The port that is used by the server. Valid values: `1` to `65535`.

func (ServerGroupServerOutput) ServerId

The ID of the ECS instance, ENI instance or ECI instance.

func (ServerGroupServerOutput) ServerIp

The IP address of the ENI instance when it is in the inclusive ENI mode.

func (ServerGroupServerOutput) ServerType

The type of the server. The type of the server. Valid values: `Ecs`, `Eni` and `Eci`.

func (ServerGroupServerOutput) Status

The status of the resource.

func (ServerGroupServerOutput) ToServerGroupServerOutput

func (o ServerGroupServerOutput) ToServerGroupServerOutput() ServerGroupServerOutput

func (ServerGroupServerOutput) ToServerGroupServerOutputWithContext

func (o ServerGroupServerOutput) ToServerGroupServerOutputWithContext(ctx context.Context) ServerGroupServerOutput

func (ServerGroupServerOutput) Weight

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.

type ServerGroupState

type ServerGroupState struct {
	// The dry run.
	DryRun pulumi.BoolPtrInput
	// The configuration of health checks.
	HealthCheckConfig ServerGroupHealthCheckConfigPtrInput
	// The server protocol. Valid values: `  HTTPS `, `HTTP`.
	Protocol pulumi.StringPtrInput
	// The ID of the resource group.
	ResourceGroupId pulumi.StringPtrInput
	// The scheduling algorithm. Valid values: `  Sch `, `  Wlc `, `Wrr`.
	Scheduler pulumi.StringPtrInput
	// The name of the resource.
	ServerGroupName pulumi.StringPtrInput
	// The backend server.
	Servers ServerGroupServerArrayInput
	// The status of the resource.
	Status pulumi.StringPtrInput
	// The configuration of the sticky session.
	StickySessionConfig ServerGroupStickySessionConfigPtrInput
	Tags                pulumi.MapInput
	// The ID of the VPC that you want to access.
	VpcId pulumi.StringPtrInput
}

func (ServerGroupState) ElementType

func (ServerGroupState) ElementType() reflect.Type

type ServerGroupStickySessionConfig

type ServerGroupStickySessionConfig struct {
	// the cookie that is configured on the server. **NOTE:** This parameter exists if the `StickySession` parameter is set to `On` and the `StickySessionType` parameter is set to `server`.
	Cookie *string `pulumi:"cookie"`
	// The timeout period of a cookie. The timeout period of a cookie. Unit: seconds. Valid values: `1` to `86400`. Default value: `1000`.
	CookieTimeout *int `pulumi:"cookieTimeout"`
	// Indicates whether sticky session is enabled. Values: `true` and `false`. Default value: `false`.  **NOTE:** This parameter exists if the `StickySession` parameter is set to `On`.
	StickySessionEnabled *bool `pulumi:"stickySessionEnabled"`
	// The method that is used to handle a cookie. Values: `Server` and `Insert`.
	StickySessionType *string `pulumi:"stickySessionType"`
}

type ServerGroupStickySessionConfigArgs

type ServerGroupStickySessionConfigArgs struct {
	// the cookie that is configured on the server. **NOTE:** This parameter exists if the `StickySession` parameter is set to `On` and the `StickySessionType` parameter is set to `server`.
	Cookie pulumi.StringPtrInput `pulumi:"cookie"`
	// The timeout period of a cookie. The timeout period of a cookie. Unit: seconds. Valid values: `1` to `86400`. Default value: `1000`.
	CookieTimeout pulumi.IntPtrInput `pulumi:"cookieTimeout"`
	// Indicates whether sticky session is enabled. Values: `true` and `false`. Default value: `false`.  **NOTE:** This parameter exists if the `StickySession` parameter is set to `On`.
	StickySessionEnabled pulumi.BoolPtrInput `pulumi:"stickySessionEnabled"`
	// The method that is used to handle a cookie. Values: `Server` and `Insert`.
	StickySessionType pulumi.StringPtrInput `pulumi:"stickySessionType"`
}

func (ServerGroupStickySessionConfigArgs) ElementType

func (ServerGroupStickySessionConfigArgs) ToServerGroupStickySessionConfigOutput

func (i ServerGroupStickySessionConfigArgs) ToServerGroupStickySessionConfigOutput() ServerGroupStickySessionConfigOutput

func (ServerGroupStickySessionConfigArgs) ToServerGroupStickySessionConfigOutputWithContext

func (i ServerGroupStickySessionConfigArgs) ToServerGroupStickySessionConfigOutputWithContext(ctx context.Context) ServerGroupStickySessionConfigOutput

func (ServerGroupStickySessionConfigArgs) ToServerGroupStickySessionConfigPtrOutput

func (i ServerGroupStickySessionConfigArgs) ToServerGroupStickySessionConfigPtrOutput() ServerGroupStickySessionConfigPtrOutput

func (ServerGroupStickySessionConfigArgs) ToServerGroupStickySessionConfigPtrOutputWithContext

func (i ServerGroupStickySessionConfigArgs) ToServerGroupStickySessionConfigPtrOutputWithContext(ctx context.Context) ServerGroupStickySessionConfigPtrOutput

type ServerGroupStickySessionConfigInput

type ServerGroupStickySessionConfigInput interface {
	pulumi.Input

	ToServerGroupStickySessionConfigOutput() ServerGroupStickySessionConfigOutput
	ToServerGroupStickySessionConfigOutputWithContext(context.Context) ServerGroupStickySessionConfigOutput
}

ServerGroupStickySessionConfigInput is an input type that accepts ServerGroupStickySessionConfigArgs and ServerGroupStickySessionConfigOutput values. You can construct a concrete instance of `ServerGroupStickySessionConfigInput` via:

ServerGroupStickySessionConfigArgs{...}

type ServerGroupStickySessionConfigOutput

type ServerGroupStickySessionConfigOutput struct{ *pulumi.OutputState }

func (ServerGroupStickySessionConfigOutput) Cookie

the cookie that is configured on the server. **NOTE:** This parameter exists if the `StickySession` parameter is set to `On` and the `StickySessionType` parameter is set to `server`.

func (ServerGroupStickySessionConfigOutput) CookieTimeout

The timeout period of a cookie. The timeout period of a cookie. Unit: seconds. Valid values: `1` to `86400`. Default value: `1000`.

func (ServerGroupStickySessionConfigOutput) ElementType

func (ServerGroupStickySessionConfigOutput) StickySessionEnabled

Indicates whether sticky session is enabled. Values: `true` and `false`. Default value: `false`. **NOTE:** This parameter exists if the `StickySession` parameter is set to `On`.

func (ServerGroupStickySessionConfigOutput) StickySessionType

The method that is used to handle a cookie. Values: `Server` and `Insert`.

func (ServerGroupStickySessionConfigOutput) ToServerGroupStickySessionConfigOutput

func (o ServerGroupStickySessionConfigOutput) ToServerGroupStickySessionConfigOutput() ServerGroupStickySessionConfigOutput

func (ServerGroupStickySessionConfigOutput) ToServerGroupStickySessionConfigOutputWithContext

func (o ServerGroupStickySessionConfigOutput) ToServerGroupStickySessionConfigOutputWithContext(ctx context.Context) ServerGroupStickySessionConfigOutput

func (ServerGroupStickySessionConfigOutput) ToServerGroupStickySessionConfigPtrOutput

func (o ServerGroupStickySessionConfigOutput) ToServerGroupStickySessionConfigPtrOutput() ServerGroupStickySessionConfigPtrOutput

func (ServerGroupStickySessionConfigOutput) ToServerGroupStickySessionConfigPtrOutputWithContext

func (o ServerGroupStickySessionConfigOutput) ToServerGroupStickySessionConfigPtrOutputWithContext(ctx context.Context) ServerGroupStickySessionConfigPtrOutput

type ServerGroupStickySessionConfigPtrInput

type ServerGroupStickySessionConfigPtrInput interface {
	pulumi.Input

	ToServerGroupStickySessionConfigPtrOutput() ServerGroupStickySessionConfigPtrOutput
	ToServerGroupStickySessionConfigPtrOutputWithContext(context.Context) ServerGroupStickySessionConfigPtrOutput
}

ServerGroupStickySessionConfigPtrInput is an input type that accepts ServerGroupStickySessionConfigArgs, ServerGroupStickySessionConfigPtr and ServerGroupStickySessionConfigPtrOutput values. You can construct a concrete instance of `ServerGroupStickySessionConfigPtrInput` via:

        ServerGroupStickySessionConfigArgs{...}

or:

        nil

type ServerGroupStickySessionConfigPtrOutput

type ServerGroupStickySessionConfigPtrOutput struct{ *pulumi.OutputState }

func (ServerGroupStickySessionConfigPtrOutput) Cookie

the cookie that is configured on the server. **NOTE:** This parameter exists if the `StickySession` parameter is set to `On` and the `StickySessionType` parameter is set to `server`.

func (ServerGroupStickySessionConfigPtrOutput) CookieTimeout

The timeout period of a cookie. The timeout period of a cookie. Unit: seconds. Valid values: `1` to `86400`. Default value: `1000`.

func (ServerGroupStickySessionConfigPtrOutput) Elem

func (ServerGroupStickySessionConfigPtrOutput) ElementType

func (ServerGroupStickySessionConfigPtrOutput) StickySessionEnabled

Indicates whether sticky session is enabled. Values: `true` and `false`. Default value: `false`. **NOTE:** This parameter exists if the `StickySession` parameter is set to `On`.

func (ServerGroupStickySessionConfigPtrOutput) StickySessionType

The method that is used to handle a cookie. Values: `Server` and `Insert`.

func (ServerGroupStickySessionConfigPtrOutput) ToServerGroupStickySessionConfigPtrOutput

func (o ServerGroupStickySessionConfigPtrOutput) ToServerGroupStickySessionConfigPtrOutput() ServerGroupStickySessionConfigPtrOutput

func (ServerGroupStickySessionConfigPtrOutput) ToServerGroupStickySessionConfigPtrOutputWithContext

func (o ServerGroupStickySessionConfigPtrOutput) ToServerGroupStickySessionConfigPtrOutputWithContext(ctx context.Context) ServerGroupStickySessionConfigPtrOutput

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL