clb

package
v0.0.23 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2024 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 Acl

type Acl struct {
	pulumi.CustomResourceState

	// The acl entry set of the Acl.
	AclEntries AclAclEntryArrayOutput `pulumi:"aclEntries"`
	// The name of Acl.
	AclName pulumi.StringOutput `pulumi:"aclName"`
	// Create time of Acl.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// The description of the Acl.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The ProjectName of the Acl.
	ProjectName pulumi.StringOutput `pulumi:"projectName"`
}

Provides a resource to manage acl ## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/clb"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := clb.NewAcl(ctx, "foo", &clb.AclArgs{
			AclEntries: clb.AclAclEntryArray{
				&clb.AclAclEntryArgs{
					Description: pulumi.String("e1"),
					Entry:       pulumi.String("172.20.1.0/24"),
				},
				&clb.AclAclEntryArgs{
					Description: pulumi.String("e3"),
					Entry:       pulumi.String("172.20.3.0/24"),
				},
			},
			AclName:     pulumi.String("tf-test-2"),
			ProjectName: pulumi.String("default"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Acl can be imported using the id, e.g.

```sh

$ pulumi import volcengine:clb/acl:Acl default acl-mizl7m1kqccg5smt1bdpijuj

```

func GetAcl

func GetAcl(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AclState, opts ...pulumi.ResourceOption) (*Acl, error)

GetAcl gets an existing Acl 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 NewAcl

func NewAcl(ctx *pulumi.Context,
	name string, args *AclArgs, opts ...pulumi.ResourceOption) (*Acl, error)

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

func (*Acl) ElementType

func (*Acl) ElementType() reflect.Type

func (*Acl) ToAclOutput

func (i *Acl) ToAclOutput() AclOutput

func (*Acl) ToAclOutputWithContext

func (i *Acl) ToAclOutputWithContext(ctx context.Context) AclOutput

type AclAclEntry

type AclAclEntry struct {
	// The description of the AclEntry.
	Description *string `pulumi:"description"`
	// The content of the AclEntry.
	Entry string `pulumi:"entry"`
}

type AclAclEntryArgs

type AclAclEntryArgs struct {
	// The description of the AclEntry.
	Description pulumi.StringPtrInput `pulumi:"description"`
	// The content of the AclEntry.
	Entry pulumi.StringInput `pulumi:"entry"`
}

func (AclAclEntryArgs) ElementType

func (AclAclEntryArgs) ElementType() reflect.Type

func (AclAclEntryArgs) ToAclAclEntryOutput

func (i AclAclEntryArgs) ToAclAclEntryOutput() AclAclEntryOutput

func (AclAclEntryArgs) ToAclAclEntryOutputWithContext

func (i AclAclEntryArgs) ToAclAclEntryOutputWithContext(ctx context.Context) AclAclEntryOutput

type AclAclEntryArray

type AclAclEntryArray []AclAclEntryInput

func (AclAclEntryArray) ElementType

func (AclAclEntryArray) ElementType() reflect.Type

func (AclAclEntryArray) ToAclAclEntryArrayOutput

func (i AclAclEntryArray) ToAclAclEntryArrayOutput() AclAclEntryArrayOutput

func (AclAclEntryArray) ToAclAclEntryArrayOutputWithContext

func (i AclAclEntryArray) ToAclAclEntryArrayOutputWithContext(ctx context.Context) AclAclEntryArrayOutput

type AclAclEntryArrayInput

type AclAclEntryArrayInput interface {
	pulumi.Input

	ToAclAclEntryArrayOutput() AclAclEntryArrayOutput
	ToAclAclEntryArrayOutputWithContext(context.Context) AclAclEntryArrayOutput
}

AclAclEntryArrayInput is an input type that accepts AclAclEntryArray and AclAclEntryArrayOutput values. You can construct a concrete instance of `AclAclEntryArrayInput` via:

AclAclEntryArray{ AclAclEntryArgs{...} }

type AclAclEntryArrayOutput

type AclAclEntryArrayOutput struct{ *pulumi.OutputState }

func (AclAclEntryArrayOutput) ElementType

func (AclAclEntryArrayOutput) ElementType() reflect.Type

func (AclAclEntryArrayOutput) Index

func (AclAclEntryArrayOutput) ToAclAclEntryArrayOutput

func (o AclAclEntryArrayOutput) ToAclAclEntryArrayOutput() AclAclEntryArrayOutput

func (AclAclEntryArrayOutput) ToAclAclEntryArrayOutputWithContext

func (o AclAclEntryArrayOutput) ToAclAclEntryArrayOutputWithContext(ctx context.Context) AclAclEntryArrayOutput

type AclAclEntryInput

type AclAclEntryInput interface {
	pulumi.Input

	ToAclAclEntryOutput() AclAclEntryOutput
	ToAclAclEntryOutputWithContext(context.Context) AclAclEntryOutput
}

AclAclEntryInput is an input type that accepts AclAclEntryArgs and AclAclEntryOutput values. You can construct a concrete instance of `AclAclEntryInput` via:

AclAclEntryArgs{...}

type AclAclEntryOutput

type AclAclEntryOutput struct{ *pulumi.OutputState }

func (AclAclEntryOutput) Description

func (o AclAclEntryOutput) Description() pulumi.StringPtrOutput

The description of the AclEntry.

func (AclAclEntryOutput) ElementType

func (AclAclEntryOutput) ElementType() reflect.Type

func (AclAclEntryOutput) Entry

The content of the AclEntry.

func (AclAclEntryOutput) ToAclAclEntryOutput

func (o AclAclEntryOutput) ToAclAclEntryOutput() AclAclEntryOutput

func (AclAclEntryOutput) ToAclAclEntryOutputWithContext

func (o AclAclEntryOutput) ToAclAclEntryOutputWithContext(ctx context.Context) AclAclEntryOutput

type AclArgs

type AclArgs struct {
	// The acl entry set of the Acl.
	AclEntries AclAclEntryArrayInput
	// The name of Acl.
	AclName pulumi.StringPtrInput
	// The description of the Acl.
	Description pulumi.StringPtrInput
	// The ProjectName of the Acl.
	ProjectName pulumi.StringPtrInput
}

The set of arguments for constructing a Acl resource.

func (AclArgs) ElementType

func (AclArgs) ElementType() reflect.Type

type AclArray

type AclArray []AclInput

func (AclArray) ElementType

func (AclArray) ElementType() reflect.Type

func (AclArray) ToAclArrayOutput

func (i AclArray) ToAclArrayOutput() AclArrayOutput

func (AclArray) ToAclArrayOutputWithContext

func (i AclArray) ToAclArrayOutputWithContext(ctx context.Context) AclArrayOutput

type AclArrayInput

type AclArrayInput interface {
	pulumi.Input

	ToAclArrayOutput() AclArrayOutput
	ToAclArrayOutputWithContext(context.Context) AclArrayOutput
}

AclArrayInput is an input type that accepts AclArray and AclArrayOutput values. You can construct a concrete instance of `AclArrayInput` via:

AclArray{ AclArgs{...} }

type AclArrayOutput

type AclArrayOutput struct{ *pulumi.OutputState }

func (AclArrayOutput) ElementType

func (AclArrayOutput) ElementType() reflect.Type

func (AclArrayOutput) Index

func (AclArrayOutput) ToAclArrayOutput

func (o AclArrayOutput) ToAclArrayOutput() AclArrayOutput

func (AclArrayOutput) ToAclArrayOutputWithContext

func (o AclArrayOutput) ToAclArrayOutputWithContext(ctx context.Context) AclArrayOutput

type AclEntry

type AclEntry struct {
	pulumi.CustomResourceState

	// The ID of Acl.
	AclId pulumi.StringOutput `pulumi:"aclId"`
	// The description of the AclEntry.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The content of the AclEntry.
	Entry pulumi.StringOutput `pulumi:"entry"`
}

Provides a resource to manage acl entry ## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/clb"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		fooAcl, err := clb.NewAcl(ctx, "fooAcl", &clb.AclArgs{
			AclName:     pulumi.String("tf-test-3"),
			Description: pulumi.String("tf-test"),
		})
		if err != nil {
			return err
		}
		_, err = clb.NewAclEntry(ctx, "fooAclEntry", &clb.AclEntryArgs{
			AclId:       fooAcl.ID(),
			Description: pulumi.String("tf acl entry desc demo"),
			Entry:       pulumi.String("192.2.2.1/32"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

AclEntry can be imported using the id, e.g.

```sh

$ pulumi import volcengine:clb/aclEntry:AclEntry default ID is a string concatenated with colons(AclId:Entry)

```

func GetAclEntry

func GetAclEntry(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AclEntryState, opts ...pulumi.ResourceOption) (*AclEntry, error)

GetAclEntry gets an existing AclEntry 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 NewAclEntry

func NewAclEntry(ctx *pulumi.Context,
	name string, args *AclEntryArgs, opts ...pulumi.ResourceOption) (*AclEntry, error)

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

func (*AclEntry) ElementType

func (*AclEntry) ElementType() reflect.Type

func (*AclEntry) ToAclEntryOutput

func (i *AclEntry) ToAclEntryOutput() AclEntryOutput

func (*AclEntry) ToAclEntryOutputWithContext

func (i *AclEntry) ToAclEntryOutputWithContext(ctx context.Context) AclEntryOutput

type AclEntryArgs

type AclEntryArgs struct {
	// The ID of Acl.
	AclId pulumi.StringInput
	// The description of the AclEntry.
	Description pulumi.StringPtrInput
	// The content of the AclEntry.
	Entry pulumi.StringInput
}

The set of arguments for constructing a AclEntry resource.

func (AclEntryArgs) ElementType

func (AclEntryArgs) ElementType() reflect.Type

type AclEntryArray

type AclEntryArray []AclEntryInput

func (AclEntryArray) ElementType

func (AclEntryArray) ElementType() reflect.Type

func (AclEntryArray) ToAclEntryArrayOutput

func (i AclEntryArray) ToAclEntryArrayOutput() AclEntryArrayOutput

func (AclEntryArray) ToAclEntryArrayOutputWithContext

func (i AclEntryArray) ToAclEntryArrayOutputWithContext(ctx context.Context) AclEntryArrayOutput

type AclEntryArrayInput

type AclEntryArrayInput interface {
	pulumi.Input

	ToAclEntryArrayOutput() AclEntryArrayOutput
	ToAclEntryArrayOutputWithContext(context.Context) AclEntryArrayOutput
}

AclEntryArrayInput is an input type that accepts AclEntryArray and AclEntryArrayOutput values. You can construct a concrete instance of `AclEntryArrayInput` via:

AclEntryArray{ AclEntryArgs{...} }

type AclEntryArrayOutput

type AclEntryArrayOutput struct{ *pulumi.OutputState }

func (AclEntryArrayOutput) ElementType

func (AclEntryArrayOutput) ElementType() reflect.Type

func (AclEntryArrayOutput) Index

func (AclEntryArrayOutput) ToAclEntryArrayOutput

func (o AclEntryArrayOutput) ToAclEntryArrayOutput() AclEntryArrayOutput

func (AclEntryArrayOutput) ToAclEntryArrayOutputWithContext

func (o AclEntryArrayOutput) ToAclEntryArrayOutputWithContext(ctx context.Context) AclEntryArrayOutput

type AclEntryInput

type AclEntryInput interface {
	pulumi.Input

	ToAclEntryOutput() AclEntryOutput
	ToAclEntryOutputWithContext(ctx context.Context) AclEntryOutput
}

type AclEntryMap

type AclEntryMap map[string]AclEntryInput

func (AclEntryMap) ElementType

func (AclEntryMap) ElementType() reflect.Type

func (AclEntryMap) ToAclEntryMapOutput

func (i AclEntryMap) ToAclEntryMapOutput() AclEntryMapOutput

func (AclEntryMap) ToAclEntryMapOutputWithContext

func (i AclEntryMap) ToAclEntryMapOutputWithContext(ctx context.Context) AclEntryMapOutput

type AclEntryMapInput

type AclEntryMapInput interface {
	pulumi.Input

	ToAclEntryMapOutput() AclEntryMapOutput
	ToAclEntryMapOutputWithContext(context.Context) AclEntryMapOutput
}

AclEntryMapInput is an input type that accepts AclEntryMap and AclEntryMapOutput values. You can construct a concrete instance of `AclEntryMapInput` via:

AclEntryMap{ "key": AclEntryArgs{...} }

type AclEntryMapOutput

type AclEntryMapOutput struct{ *pulumi.OutputState }

func (AclEntryMapOutput) ElementType

func (AclEntryMapOutput) ElementType() reflect.Type

func (AclEntryMapOutput) MapIndex

func (AclEntryMapOutput) ToAclEntryMapOutput

func (o AclEntryMapOutput) ToAclEntryMapOutput() AclEntryMapOutput

func (AclEntryMapOutput) ToAclEntryMapOutputWithContext

func (o AclEntryMapOutput) ToAclEntryMapOutputWithContext(ctx context.Context) AclEntryMapOutput

type AclEntryOutput

type AclEntryOutput struct{ *pulumi.OutputState }

func (AclEntryOutput) AclId

The ID of Acl.

func (AclEntryOutput) Description

func (o AclEntryOutput) Description() pulumi.StringPtrOutput

The description of the AclEntry.

func (AclEntryOutput) ElementType

func (AclEntryOutput) ElementType() reflect.Type

func (AclEntryOutput) Entry

The content of the AclEntry.

func (AclEntryOutput) ToAclEntryOutput

func (o AclEntryOutput) ToAclEntryOutput() AclEntryOutput

func (AclEntryOutput) ToAclEntryOutputWithContext

func (o AclEntryOutput) ToAclEntryOutputWithContext(ctx context.Context) AclEntryOutput

type AclEntryState

type AclEntryState struct {
	// The ID of Acl.
	AclId pulumi.StringPtrInput
	// The description of the AclEntry.
	Description pulumi.StringPtrInput
	// The content of the AclEntry.
	Entry pulumi.StringPtrInput
}

func (AclEntryState) ElementType

func (AclEntryState) ElementType() reflect.Type

type AclInput

type AclInput interface {
	pulumi.Input

	ToAclOutput() AclOutput
	ToAclOutputWithContext(ctx context.Context) AclOutput
}

type AclMap

type AclMap map[string]AclInput

func (AclMap) ElementType

func (AclMap) ElementType() reflect.Type

func (AclMap) ToAclMapOutput

func (i AclMap) ToAclMapOutput() AclMapOutput

func (AclMap) ToAclMapOutputWithContext

func (i AclMap) ToAclMapOutputWithContext(ctx context.Context) AclMapOutput

type AclMapInput

type AclMapInput interface {
	pulumi.Input

	ToAclMapOutput() AclMapOutput
	ToAclMapOutputWithContext(context.Context) AclMapOutput
}

AclMapInput is an input type that accepts AclMap and AclMapOutput values. You can construct a concrete instance of `AclMapInput` via:

AclMap{ "key": AclArgs{...} }

type AclMapOutput

type AclMapOutput struct{ *pulumi.OutputState }

func (AclMapOutput) ElementType

func (AclMapOutput) ElementType() reflect.Type

func (AclMapOutput) MapIndex

func (o AclMapOutput) MapIndex(k pulumi.StringInput) AclOutput

func (AclMapOutput) ToAclMapOutput

func (o AclMapOutput) ToAclMapOutput() AclMapOutput

func (AclMapOutput) ToAclMapOutputWithContext

func (o AclMapOutput) ToAclMapOutputWithContext(ctx context.Context) AclMapOutput

type AclOutput

type AclOutput struct{ *pulumi.OutputState }

func (AclOutput) AclEntries

func (o AclOutput) AclEntries() AclAclEntryArrayOutput

The acl entry set of the Acl.

func (AclOutput) AclName

func (o AclOutput) AclName() pulumi.StringOutput

The name of Acl.

func (AclOutput) CreateTime

func (o AclOutput) CreateTime() pulumi.StringOutput

Create time of Acl.

func (AclOutput) Description

func (o AclOutput) Description() pulumi.StringPtrOutput

The description of the Acl.

func (AclOutput) ElementType

func (AclOutput) ElementType() reflect.Type

func (AclOutput) ProjectName

func (o AclOutput) ProjectName() pulumi.StringOutput

The ProjectName of the Acl.

func (AclOutput) ToAclOutput

func (o AclOutput) ToAclOutput() AclOutput

func (AclOutput) ToAclOutputWithContext

func (o AclOutput) ToAclOutputWithContext(ctx context.Context) AclOutput

type AclState

type AclState struct {
	// The acl entry set of the Acl.
	AclEntries AclAclEntryArrayInput
	// The name of Acl.
	AclName pulumi.StringPtrInput
	// Create time of Acl.
	CreateTime pulumi.StringPtrInput
	// The description of the Acl.
	Description pulumi.StringPtrInput
	// The ProjectName of the Acl.
	ProjectName pulumi.StringPtrInput
}

func (AclState) ElementType

func (AclState) ElementType() reflect.Type

type AclsAcl

type AclsAcl struct {
	// The count of acl entry.
	AclEntryCount int `pulumi:"aclEntryCount"`
	// The ID of Acl.
	AclId string `pulumi:"aclId"`
	// The name of acl.
	AclName string `pulumi:"aclName"`
	// Creation time of Acl.
	CreateTime string `pulumi:"createTime"`
	// The description of Acl.
	Description string `pulumi:"description"`
	// The ID of Acl.
	Id string `pulumi:"id"`
	// The listeners of Acl.
	Listeners []string `pulumi:"listeners"`
	// The ProjectName of Acl.
	ProjectName string `pulumi:"projectName"`
	// Update time of Acl.
	UpdateTime string `pulumi:"updateTime"`
}

type AclsAclArgs

type AclsAclArgs struct {
	// The count of acl entry.
	AclEntryCount pulumi.IntInput `pulumi:"aclEntryCount"`
	// The ID of Acl.
	AclId pulumi.StringInput `pulumi:"aclId"`
	// The name of acl.
	AclName pulumi.StringInput `pulumi:"aclName"`
	// Creation time of Acl.
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// The description of Acl.
	Description pulumi.StringInput `pulumi:"description"`
	// The ID of Acl.
	Id pulumi.StringInput `pulumi:"id"`
	// The listeners of Acl.
	Listeners pulumi.StringArrayInput `pulumi:"listeners"`
	// The ProjectName of Acl.
	ProjectName pulumi.StringInput `pulumi:"projectName"`
	// Update time of Acl.
	UpdateTime pulumi.StringInput `pulumi:"updateTime"`
}

func (AclsAclArgs) ElementType

func (AclsAclArgs) ElementType() reflect.Type

func (AclsAclArgs) ToAclsAclOutput

func (i AclsAclArgs) ToAclsAclOutput() AclsAclOutput

func (AclsAclArgs) ToAclsAclOutputWithContext

func (i AclsAclArgs) ToAclsAclOutputWithContext(ctx context.Context) AclsAclOutput

type AclsAclArray

type AclsAclArray []AclsAclInput

func (AclsAclArray) ElementType

func (AclsAclArray) ElementType() reflect.Type

func (AclsAclArray) ToAclsAclArrayOutput

func (i AclsAclArray) ToAclsAclArrayOutput() AclsAclArrayOutput

func (AclsAclArray) ToAclsAclArrayOutputWithContext

func (i AclsAclArray) ToAclsAclArrayOutputWithContext(ctx context.Context) AclsAclArrayOutput

type AclsAclArrayInput

type AclsAclArrayInput interface {
	pulumi.Input

	ToAclsAclArrayOutput() AclsAclArrayOutput
	ToAclsAclArrayOutputWithContext(context.Context) AclsAclArrayOutput
}

AclsAclArrayInput is an input type that accepts AclsAclArray and AclsAclArrayOutput values. You can construct a concrete instance of `AclsAclArrayInput` via:

AclsAclArray{ AclsAclArgs{...} }

type AclsAclArrayOutput

type AclsAclArrayOutput struct{ *pulumi.OutputState }

func (AclsAclArrayOutput) ElementType

func (AclsAclArrayOutput) ElementType() reflect.Type

func (AclsAclArrayOutput) Index

func (AclsAclArrayOutput) ToAclsAclArrayOutput

func (o AclsAclArrayOutput) ToAclsAclArrayOutput() AclsAclArrayOutput

func (AclsAclArrayOutput) ToAclsAclArrayOutputWithContext

func (o AclsAclArrayOutput) ToAclsAclArrayOutputWithContext(ctx context.Context) AclsAclArrayOutput

type AclsAclInput

type AclsAclInput interface {
	pulumi.Input

	ToAclsAclOutput() AclsAclOutput
	ToAclsAclOutputWithContext(context.Context) AclsAclOutput
}

AclsAclInput is an input type that accepts AclsAclArgs and AclsAclOutput values. You can construct a concrete instance of `AclsAclInput` via:

AclsAclArgs{...}

type AclsAclOutput

type AclsAclOutput struct{ *pulumi.OutputState }

func (AclsAclOutput) AclEntryCount

func (o AclsAclOutput) AclEntryCount() pulumi.IntOutput

The count of acl entry.

func (AclsAclOutput) AclId

func (o AclsAclOutput) AclId() pulumi.StringOutput

The ID of Acl.

func (AclsAclOutput) AclName

func (o AclsAclOutput) AclName() pulumi.StringOutput

The name of acl.

func (AclsAclOutput) CreateTime

func (o AclsAclOutput) CreateTime() pulumi.StringOutput

Creation time of Acl.

func (AclsAclOutput) Description

func (o AclsAclOutput) Description() pulumi.StringOutput

The description of Acl.

func (AclsAclOutput) ElementType

func (AclsAclOutput) ElementType() reflect.Type

func (AclsAclOutput) Id

The ID of Acl.

func (AclsAclOutput) Listeners

func (o AclsAclOutput) Listeners() pulumi.StringArrayOutput

The listeners of Acl.

func (AclsAclOutput) ProjectName

func (o AclsAclOutput) ProjectName() pulumi.StringOutput

The ProjectName of Acl.

func (AclsAclOutput) ToAclsAclOutput

func (o AclsAclOutput) ToAclsAclOutput() AclsAclOutput

func (AclsAclOutput) ToAclsAclOutputWithContext

func (o AclsAclOutput) ToAclsAclOutputWithContext(ctx context.Context) AclsAclOutput

func (AclsAclOutput) UpdateTime

func (o AclsAclOutput) UpdateTime() pulumi.StringOutput

Update time of Acl.

type AclsArgs

type AclsArgs struct {
	// The name of acl.
	AclName *string `pulumi:"aclName"`
	// A list of Acl IDs.
	Ids []string `pulumi:"ids"`
	// A Name Regex of Acl.
	NameRegex *string `pulumi:"nameRegex"`
	// File name where to save data source results.
	OutputFile *string `pulumi:"outputFile"`
	// The ProjectName of Acl.
	ProjectName *string `pulumi:"projectName"`
}

A collection of arguments for invoking Acls.

type AclsOutputArgs

type AclsOutputArgs struct {
	// The name of acl.
	AclName pulumi.StringPtrInput `pulumi:"aclName"`
	// A list of Acl IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A Name Regex of Acl.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	// File name where to save data source results.
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The ProjectName of Acl.
	ProjectName pulumi.StringPtrInput `pulumi:"projectName"`
}

A collection of arguments for invoking Acls.

func (AclsOutputArgs) ElementType

func (AclsOutputArgs) ElementType() reflect.Type

type AclsResult

type AclsResult struct {
	// The Name of Acl.
	AclName *string `pulumi:"aclName"`
	// The collection of Acl query.
	Acls []AclsAcl `pulumi:"acls"`
	// The provider-assigned unique ID for this managed resource.
	Id         string   `pulumi:"id"`
	Ids        []string `pulumi:"ids"`
	NameRegex  *string  `pulumi:"nameRegex"`
	OutputFile *string  `pulumi:"outputFile"`
	// The ProjectName of Acl.
	ProjectName *string `pulumi:"projectName"`
	// The total count of Acl query.
	TotalCount int `pulumi:"totalCount"`
}

A collection of values returned by Acls.

func Acls

func Acls(ctx *pulumi.Context, args *AclsArgs, opts ...pulumi.InvokeOption) (*AclsResult, error)

Use this data source to query detailed information of acls ## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/clb"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := clb.Acls(ctx, &clb.AclsArgs{
			Ids: []string{
				"acl-3ti8n0rurx4bwbh9jzdy",
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type AclsResultOutput

type AclsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by Acls.

func AclsOutput

func AclsOutput(ctx *pulumi.Context, args AclsOutputArgs, opts ...pulumi.InvokeOption) AclsResultOutput

func (AclsResultOutput) AclName

The Name of Acl.

func (AclsResultOutput) Acls

The collection of Acl query.

func (AclsResultOutput) ElementType

func (AclsResultOutput) ElementType() reflect.Type

func (AclsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (AclsResultOutput) Ids

func (AclsResultOutput) NameRegex

func (o AclsResultOutput) NameRegex() pulumi.StringPtrOutput

func (AclsResultOutput) OutputFile

func (o AclsResultOutput) OutputFile() pulumi.StringPtrOutput

func (AclsResultOutput) ProjectName

func (o AclsResultOutput) ProjectName() pulumi.StringPtrOutput

The ProjectName of Acl.

func (AclsResultOutput) ToAclsResultOutput

func (o AclsResultOutput) ToAclsResultOutput() AclsResultOutput

func (AclsResultOutput) ToAclsResultOutputWithContext

func (o AclsResultOutput) ToAclsResultOutputWithContext(ctx context.Context) AclsResultOutput

func (AclsResultOutput) TotalCount

func (o AclsResultOutput) TotalCount() pulumi.IntOutput

The total count of Acl query.

type Certificate

type Certificate struct {
	pulumi.CustomResourceState

	// The name of the Certificate.
	CertificateName pulumi.StringPtrOutput `pulumi:"certificateName"`
	// The description of the Certificate.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The private key of the Certificate. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.
	PrivateKey pulumi.StringOutput `pulumi:"privateKey"`
	// The ProjectName of the Certificate.
	ProjectName pulumi.StringOutput `pulumi:"projectName"`
	// The public key of the Certificate. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.
	PublicKey pulumi.StringOutput `pulumi:"publicKey"`
	// Tags.
	Tags CertificateTagArrayOutput `pulumi:"tags"`
}

Provides a resource to manage certificate ## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/clb"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := clb.NewCertificate(ctx, "foo", &clb.CertificateArgs{
			CertificateName: pulumi.String("acc-test-certificate"),
			Description:     pulumi.String("acc-test-demo"),
			PrivateKey: pulumi.String(`-----BEGIN RSA PRIVATE KEY-----

MIICXAIBAAKBgQDEdoyaJ0kdtjtbLRx5X9qwI7FblhJPRcScvhQSE8P5y/b/T8J9 BVuFIBoU8nrPY9ABz4JFklZ6SznxLbFBqtXoJTmzV6ixyjjH+AGEw6hCiA8Pqy2C NIzxr9DjCzN5tWruiHqO60O3Bve6cHipH0VyLAhrB85mflvOZSH4xGsJkwIDAQAB AoGARe2oaCo5lTDK+c4Zx3392hoqQ94r0DmWHPBvNmwAooYd+YxLPrLMe5sMjY4t dmohnLNevCK1Uzw5eIX6BNSo5CORBcIDRmiAgwiYiS3WOv2+qi9g5uIdMiDr+EED K8wZJjB5E2WyfxL507vtW4T5L36yfr8SkmqH3GvzpI2jCqECQQDsy0AmBzyfK0tG Nw1+iF9SReJWgb1f5iHvz+6Dt5ueVQngrl/5++Gp5bNoaQMkLEDsy0iHIj9j43ji 0DON05uDAkEA1GXgGn8MXXKyuzYuoyYXCBH7aF579d7KEGET/jjnXx9DHcfRJZBY B9ghMnnonSOGboF04Zsdd3xwYF/3OHYssQJAekd/SeQEzyE5TvoQ8t2Tc9X4yrlW xNX/gmp6/fPr3biGUEtb7qi+4NBodCt+XsingmB7hKUP3RJTk7T2WnAC5wJAMqHi jY5x3SkFkHl3Hq9q2CKpQxUbCd7FXqg1wum/xj5GmqfSpNjHE3+jUkwbdrJMTrWP rmRy3tQMWf0mixAo0QJBAN4IcZChanq8cZyNqqoNbxGm4hkxUmE0W4hxHmLC2CYZ V4JpNm8dpi4CiMWLasF6TYlVMgX+aPxYRUWc/qqf1/Q= -----END RSA PRIVATE KEY----- `),

ProjectName: pulumi.String("default"),
PublicKey: pulumi.String(`-----BEGIN CERTIFICATE-----

MIICWDCCAcGgAwIBAgIJAP7vOtjPtQIjMA0GCSqGSIb3DQEBCwUAMEUxCzAJBgNV BAYTAkNOMRMwEQYDVQQIDApjbi1iZWlqaW5nMSEwHwYDVQQKDBhJbnRlcm5ldCBX aWRnaXRzIFB0eSBMdGQwHhcNMjAxMDIwMDYxOTUxWhcNMjAxMTE5MDYxOTUxWjBF MQswCQYDVQQGEwJDTjETMBEGA1UECAwKY24tYmVpamluZzEhMB8GA1UECgwYSW50 ZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKB gQDEdoyaJ0kdtjtbLRx5X9qwI7FblhJPRcScvhQSE8P5y/b/T8J9BVuFIBoU8nrP Y9ABz4JFklZ6SznxLbFBqtXoJTmzV6ixyjjH+AGEw6hCiA8Pqy2CNIzxr9DjCzN5 tWruiHqO60O3Bve6cHipH0VyLAhrB85mflvOZSH4xGsJkwIDAQABo1AwTjAdBgNV HQ4EFgQUYDwuuqC2a2UPrfm1v31vE7+GRM4wHwYDVR0jBBgwFoAUYDwuuqC2a2UP rfm1v31vE7+GRM4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQsFAAOBgQAovSB0 5JRKrg7lYR/KlTuKHmozfyL9UER0/dpTSoqsCyt8yc1BbtAKUJWh09BujBE1H22f lKvCAjhPmnNdfd/l9GrmAWNDWEDPLdUTkGSkKAScMpdS+mLmOBuYWgdnOtq3eQGf t07tlBL+dtzrrohHpfLeuNyYb40g8VQdp3RRRQ== -----END CERTIFICATE----- `),

			Tags: clb.CertificateTagArray{
				&clb.CertificateTagArgs{
					Key:   pulumi.String("k1"),
					Value: pulumi.String("v1"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Certificate can be imported using the id, e.g.

```sh

$ pulumi import volcengine:clb/certificate:Certificate default cert-2fe5k****c16o5oxruvtk3qf5

```

func GetCertificate

func GetCertificate(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CertificateState, opts ...pulumi.ResourceOption) (*Certificate, error)

GetCertificate gets an existing Certificate 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 NewCertificate

func NewCertificate(ctx *pulumi.Context,
	name string, args *CertificateArgs, opts ...pulumi.ResourceOption) (*Certificate, error)

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

func (*Certificate) ElementType

func (*Certificate) ElementType() reflect.Type

func (*Certificate) ToCertificateOutput

func (i *Certificate) ToCertificateOutput() CertificateOutput

func (*Certificate) ToCertificateOutputWithContext

func (i *Certificate) ToCertificateOutputWithContext(ctx context.Context) CertificateOutput

type CertificateArgs

type CertificateArgs struct {
	// The name of the Certificate.
	CertificateName pulumi.StringPtrInput
	// The description of the Certificate.
	Description pulumi.StringPtrInput
	// The private key of the Certificate. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.
	PrivateKey pulumi.StringInput
	// The ProjectName of the Certificate.
	ProjectName pulumi.StringPtrInput
	// The public key of the Certificate. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.
	PublicKey pulumi.StringInput
	// Tags.
	Tags CertificateTagArrayInput
}

The set of arguments for constructing a Certificate resource.

func (CertificateArgs) ElementType

func (CertificateArgs) ElementType() reflect.Type

type CertificateArray

type CertificateArray []CertificateInput

func (CertificateArray) ElementType

func (CertificateArray) ElementType() reflect.Type

func (CertificateArray) ToCertificateArrayOutput

func (i CertificateArray) ToCertificateArrayOutput() CertificateArrayOutput

func (CertificateArray) ToCertificateArrayOutputWithContext

func (i CertificateArray) ToCertificateArrayOutputWithContext(ctx context.Context) CertificateArrayOutput

type CertificateArrayInput

type CertificateArrayInput interface {
	pulumi.Input

	ToCertificateArrayOutput() CertificateArrayOutput
	ToCertificateArrayOutputWithContext(context.Context) CertificateArrayOutput
}

CertificateArrayInput is an input type that accepts CertificateArray and CertificateArrayOutput values. You can construct a concrete instance of `CertificateArrayInput` via:

CertificateArray{ CertificateArgs{...} }

type CertificateArrayOutput

type CertificateArrayOutput struct{ *pulumi.OutputState }

func (CertificateArrayOutput) ElementType

func (CertificateArrayOutput) ElementType() reflect.Type

func (CertificateArrayOutput) Index

func (CertificateArrayOutput) ToCertificateArrayOutput

func (o CertificateArrayOutput) ToCertificateArrayOutput() CertificateArrayOutput

func (CertificateArrayOutput) ToCertificateArrayOutputWithContext

func (o CertificateArrayOutput) ToCertificateArrayOutputWithContext(ctx context.Context) CertificateArrayOutput

type CertificateInput

type CertificateInput interface {
	pulumi.Input

	ToCertificateOutput() CertificateOutput
	ToCertificateOutputWithContext(ctx context.Context) CertificateOutput
}

type CertificateMap

type CertificateMap map[string]CertificateInput

func (CertificateMap) ElementType

func (CertificateMap) ElementType() reflect.Type

func (CertificateMap) ToCertificateMapOutput

func (i CertificateMap) ToCertificateMapOutput() CertificateMapOutput

func (CertificateMap) ToCertificateMapOutputWithContext

func (i CertificateMap) ToCertificateMapOutputWithContext(ctx context.Context) CertificateMapOutput

type CertificateMapInput

type CertificateMapInput interface {
	pulumi.Input

	ToCertificateMapOutput() CertificateMapOutput
	ToCertificateMapOutputWithContext(context.Context) CertificateMapOutput
}

CertificateMapInput is an input type that accepts CertificateMap and CertificateMapOutput values. You can construct a concrete instance of `CertificateMapInput` via:

CertificateMap{ "key": CertificateArgs{...} }

type CertificateMapOutput

type CertificateMapOutput struct{ *pulumi.OutputState }

func (CertificateMapOutput) ElementType

func (CertificateMapOutput) ElementType() reflect.Type

func (CertificateMapOutput) MapIndex

func (CertificateMapOutput) ToCertificateMapOutput

func (o CertificateMapOutput) ToCertificateMapOutput() CertificateMapOutput

func (CertificateMapOutput) ToCertificateMapOutputWithContext

func (o CertificateMapOutput) ToCertificateMapOutputWithContext(ctx context.Context) CertificateMapOutput

type CertificateOutput

type CertificateOutput struct{ *pulumi.OutputState }

func (CertificateOutput) CertificateName

func (o CertificateOutput) CertificateName() pulumi.StringPtrOutput

The name of the Certificate.

func (CertificateOutput) Description

func (o CertificateOutput) Description() pulumi.StringPtrOutput

The description of the Certificate.

func (CertificateOutput) ElementType

func (CertificateOutput) ElementType() reflect.Type

func (CertificateOutput) PrivateKey

func (o CertificateOutput) PrivateKey() pulumi.StringOutput

The private key of the Certificate. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.

func (CertificateOutput) ProjectName

func (o CertificateOutput) ProjectName() pulumi.StringOutput

The ProjectName of the Certificate.

func (CertificateOutput) PublicKey

func (o CertificateOutput) PublicKey() pulumi.StringOutput

The public key of the Certificate. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.

func (CertificateOutput) Tags

Tags.

func (CertificateOutput) ToCertificateOutput

func (o CertificateOutput) ToCertificateOutput() CertificateOutput

func (CertificateOutput) ToCertificateOutputWithContext

func (o CertificateOutput) ToCertificateOutputWithContext(ctx context.Context) CertificateOutput

type CertificateState

type CertificateState struct {
	// The name of the Certificate.
	CertificateName pulumi.StringPtrInput
	// The description of the Certificate.
	Description pulumi.StringPtrInput
	// The private key of the Certificate. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.
	PrivateKey pulumi.StringPtrInput
	// The ProjectName of the Certificate.
	ProjectName pulumi.StringPtrInput
	// The public key of the Certificate. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.
	PublicKey pulumi.StringPtrInput
	// Tags.
	Tags CertificateTagArrayInput
}

func (CertificateState) ElementType

func (CertificateState) ElementType() reflect.Type

type CertificateTag

type CertificateTag struct {
	// The Key of Tags.
	Key string `pulumi:"key"`
	// The Value of Tags.
	Value string `pulumi:"value"`
}

type CertificateTagArgs

type CertificateTagArgs struct {
	// The Key of Tags.
	Key pulumi.StringInput `pulumi:"key"`
	// The Value of Tags.
	Value pulumi.StringInput `pulumi:"value"`
}

func (CertificateTagArgs) ElementType

func (CertificateTagArgs) ElementType() reflect.Type

func (CertificateTagArgs) ToCertificateTagOutput

func (i CertificateTagArgs) ToCertificateTagOutput() CertificateTagOutput

func (CertificateTagArgs) ToCertificateTagOutputWithContext

func (i CertificateTagArgs) ToCertificateTagOutputWithContext(ctx context.Context) CertificateTagOutput

type CertificateTagArray

type CertificateTagArray []CertificateTagInput

func (CertificateTagArray) ElementType

func (CertificateTagArray) ElementType() reflect.Type

func (CertificateTagArray) ToCertificateTagArrayOutput

func (i CertificateTagArray) ToCertificateTagArrayOutput() CertificateTagArrayOutput

func (CertificateTagArray) ToCertificateTagArrayOutputWithContext

func (i CertificateTagArray) ToCertificateTagArrayOutputWithContext(ctx context.Context) CertificateTagArrayOutput

type CertificateTagArrayInput

type CertificateTagArrayInput interface {
	pulumi.Input

	ToCertificateTagArrayOutput() CertificateTagArrayOutput
	ToCertificateTagArrayOutputWithContext(context.Context) CertificateTagArrayOutput
}

CertificateTagArrayInput is an input type that accepts CertificateTagArray and CertificateTagArrayOutput values. You can construct a concrete instance of `CertificateTagArrayInput` via:

CertificateTagArray{ CertificateTagArgs{...} }

type CertificateTagArrayOutput

type CertificateTagArrayOutput struct{ *pulumi.OutputState }

func (CertificateTagArrayOutput) ElementType

func (CertificateTagArrayOutput) ElementType() reflect.Type

func (CertificateTagArrayOutput) Index

func (CertificateTagArrayOutput) ToCertificateTagArrayOutput

func (o CertificateTagArrayOutput) ToCertificateTagArrayOutput() CertificateTagArrayOutput

func (CertificateTagArrayOutput) ToCertificateTagArrayOutputWithContext

func (o CertificateTagArrayOutput) ToCertificateTagArrayOutputWithContext(ctx context.Context) CertificateTagArrayOutput

type CertificateTagInput

type CertificateTagInput interface {
	pulumi.Input

	ToCertificateTagOutput() CertificateTagOutput
	ToCertificateTagOutputWithContext(context.Context) CertificateTagOutput
}

CertificateTagInput is an input type that accepts CertificateTagArgs and CertificateTagOutput values. You can construct a concrete instance of `CertificateTagInput` via:

CertificateTagArgs{...}

type CertificateTagOutput

type CertificateTagOutput struct{ *pulumi.OutputState }

func (CertificateTagOutput) ElementType

func (CertificateTagOutput) ElementType() reflect.Type

func (CertificateTagOutput) Key

The Key of Tags.

func (CertificateTagOutput) ToCertificateTagOutput

func (o CertificateTagOutput) ToCertificateTagOutput() CertificateTagOutput

func (CertificateTagOutput) ToCertificateTagOutputWithContext

func (o CertificateTagOutput) ToCertificateTagOutputWithContext(ctx context.Context) CertificateTagOutput

func (CertificateTagOutput) Value

The Value of Tags.

type CertificatesArgs

type CertificatesArgs struct {
	// The name of the Certificate.
	CertificateName *string `pulumi:"certificateName"`
	// The list of Certificate IDs.
	Ids []string `pulumi:"ids"`
	// The Name Regex of Certificate.
	NameRegex *string `pulumi:"nameRegex"`
	// File name where to save data source results.
	OutputFile *string `pulumi:"outputFile"`
	// The ProjectName of Certificate.
	ProjectName *string `pulumi:"projectName"`
	// Tags.
	Tags []CertificatesTag `pulumi:"tags"`
}

A collection of arguments for invoking Certificates.

type CertificatesCertificate

type CertificatesCertificate struct {
	// The ID of the Certificate.
	CertificateId string `pulumi:"certificateId"`
	// The name of the Certificate.
	CertificateName string `pulumi:"certificateName"`
	// The create time of the Certificate.
	CreateTime string `pulumi:"createTime"`
	// The description of the Certificate.
	Description string `pulumi:"description"`
	// The domain name of the Certificate.
	DomainName string `pulumi:"domainName"`
	// The expire time of the Certificate.
	ExpiredAt string `pulumi:"expiredAt"`
	// The ID of the Certificate.
	Id string `pulumi:"id"`
	// The ID list of the Listener.
	Listeners []string `pulumi:"listeners"`
	// The ProjectName of Certificate.
	ProjectName string `pulumi:"projectName"`
	// Tags.
	Tags []CertificatesCertificateTag `pulumi:"tags"`
}

type CertificatesCertificateArgs

type CertificatesCertificateArgs struct {
	// The ID of the Certificate.
	CertificateId pulumi.StringInput `pulumi:"certificateId"`
	// The name of the Certificate.
	CertificateName pulumi.StringInput `pulumi:"certificateName"`
	// The create time of the Certificate.
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// The description of the Certificate.
	Description pulumi.StringInput `pulumi:"description"`
	// The domain name of the Certificate.
	DomainName pulumi.StringInput `pulumi:"domainName"`
	// The expire time of the Certificate.
	ExpiredAt pulumi.StringInput `pulumi:"expiredAt"`
	// The ID of the Certificate.
	Id pulumi.StringInput `pulumi:"id"`
	// The ID list of the Listener.
	Listeners pulumi.StringArrayInput `pulumi:"listeners"`
	// The ProjectName of Certificate.
	ProjectName pulumi.StringInput `pulumi:"projectName"`
	// Tags.
	Tags CertificatesCertificateTagArrayInput `pulumi:"tags"`
}

func (CertificatesCertificateArgs) ElementType

func (CertificatesCertificateArgs) ToCertificatesCertificateOutput

func (i CertificatesCertificateArgs) ToCertificatesCertificateOutput() CertificatesCertificateOutput

func (CertificatesCertificateArgs) ToCertificatesCertificateOutputWithContext

func (i CertificatesCertificateArgs) ToCertificatesCertificateOutputWithContext(ctx context.Context) CertificatesCertificateOutput

type CertificatesCertificateArray

type CertificatesCertificateArray []CertificatesCertificateInput

func (CertificatesCertificateArray) ElementType

func (CertificatesCertificateArray) ToCertificatesCertificateArrayOutput

func (i CertificatesCertificateArray) ToCertificatesCertificateArrayOutput() CertificatesCertificateArrayOutput

func (CertificatesCertificateArray) ToCertificatesCertificateArrayOutputWithContext

func (i CertificatesCertificateArray) ToCertificatesCertificateArrayOutputWithContext(ctx context.Context) CertificatesCertificateArrayOutput

type CertificatesCertificateArrayInput

type CertificatesCertificateArrayInput interface {
	pulumi.Input

	ToCertificatesCertificateArrayOutput() CertificatesCertificateArrayOutput
	ToCertificatesCertificateArrayOutputWithContext(context.Context) CertificatesCertificateArrayOutput
}

CertificatesCertificateArrayInput is an input type that accepts CertificatesCertificateArray and CertificatesCertificateArrayOutput values. You can construct a concrete instance of `CertificatesCertificateArrayInput` via:

CertificatesCertificateArray{ CertificatesCertificateArgs{...} }

type CertificatesCertificateArrayOutput

type CertificatesCertificateArrayOutput struct{ *pulumi.OutputState }

func (CertificatesCertificateArrayOutput) ElementType

func (CertificatesCertificateArrayOutput) Index

func (CertificatesCertificateArrayOutput) ToCertificatesCertificateArrayOutput

func (o CertificatesCertificateArrayOutput) ToCertificatesCertificateArrayOutput() CertificatesCertificateArrayOutput

func (CertificatesCertificateArrayOutput) ToCertificatesCertificateArrayOutputWithContext

func (o CertificatesCertificateArrayOutput) ToCertificatesCertificateArrayOutputWithContext(ctx context.Context) CertificatesCertificateArrayOutput

type CertificatesCertificateInput

type CertificatesCertificateInput interface {
	pulumi.Input

	ToCertificatesCertificateOutput() CertificatesCertificateOutput
	ToCertificatesCertificateOutputWithContext(context.Context) CertificatesCertificateOutput
}

CertificatesCertificateInput is an input type that accepts CertificatesCertificateArgs and CertificatesCertificateOutput values. You can construct a concrete instance of `CertificatesCertificateInput` via:

CertificatesCertificateArgs{...}

type CertificatesCertificateOutput

type CertificatesCertificateOutput struct{ *pulumi.OutputState }

func (CertificatesCertificateOutput) CertificateId

The ID of the Certificate.

func (CertificatesCertificateOutput) CertificateName

The name of the Certificate.

func (CertificatesCertificateOutput) CreateTime

The create time of the Certificate.

func (CertificatesCertificateOutput) Description

The description of the Certificate.

func (CertificatesCertificateOutput) DomainName

The domain name of the Certificate.

func (CertificatesCertificateOutput) ElementType

func (CertificatesCertificateOutput) ExpiredAt

The expire time of the Certificate.

func (CertificatesCertificateOutput) Id

The ID of the Certificate.

func (CertificatesCertificateOutput) Listeners

The ID list of the Listener.

func (CertificatesCertificateOutput) ProjectName

The ProjectName of Certificate.

func (CertificatesCertificateOutput) Tags

Tags.

func (CertificatesCertificateOutput) ToCertificatesCertificateOutput

func (o CertificatesCertificateOutput) ToCertificatesCertificateOutput() CertificatesCertificateOutput

func (CertificatesCertificateOutput) ToCertificatesCertificateOutputWithContext

func (o CertificatesCertificateOutput) ToCertificatesCertificateOutputWithContext(ctx context.Context) CertificatesCertificateOutput

type CertificatesCertificateTag

type CertificatesCertificateTag struct {
	// The Key of Tags.
	Key string `pulumi:"key"`
	// The Value of Tags.
	Value string `pulumi:"value"`
}

type CertificatesCertificateTagArgs

type CertificatesCertificateTagArgs struct {
	// The Key of Tags.
	Key pulumi.StringInput `pulumi:"key"`
	// The Value of Tags.
	Value pulumi.StringInput `pulumi:"value"`
}

func (CertificatesCertificateTagArgs) ElementType

func (CertificatesCertificateTagArgs) ToCertificatesCertificateTagOutput

func (i CertificatesCertificateTagArgs) ToCertificatesCertificateTagOutput() CertificatesCertificateTagOutput

func (CertificatesCertificateTagArgs) ToCertificatesCertificateTagOutputWithContext

func (i CertificatesCertificateTagArgs) ToCertificatesCertificateTagOutputWithContext(ctx context.Context) CertificatesCertificateTagOutput

type CertificatesCertificateTagArray

type CertificatesCertificateTagArray []CertificatesCertificateTagInput

func (CertificatesCertificateTagArray) ElementType

func (CertificatesCertificateTagArray) ToCertificatesCertificateTagArrayOutput

func (i CertificatesCertificateTagArray) ToCertificatesCertificateTagArrayOutput() CertificatesCertificateTagArrayOutput

func (CertificatesCertificateTagArray) ToCertificatesCertificateTagArrayOutputWithContext

func (i CertificatesCertificateTagArray) ToCertificatesCertificateTagArrayOutputWithContext(ctx context.Context) CertificatesCertificateTagArrayOutput

type CertificatesCertificateTagArrayInput

type CertificatesCertificateTagArrayInput interface {
	pulumi.Input

	ToCertificatesCertificateTagArrayOutput() CertificatesCertificateTagArrayOutput
	ToCertificatesCertificateTagArrayOutputWithContext(context.Context) CertificatesCertificateTagArrayOutput
}

CertificatesCertificateTagArrayInput is an input type that accepts CertificatesCertificateTagArray and CertificatesCertificateTagArrayOutput values. You can construct a concrete instance of `CertificatesCertificateTagArrayInput` via:

CertificatesCertificateTagArray{ CertificatesCertificateTagArgs{...} }

type CertificatesCertificateTagArrayOutput

type CertificatesCertificateTagArrayOutput struct{ *pulumi.OutputState }

func (CertificatesCertificateTagArrayOutput) ElementType

func (CertificatesCertificateTagArrayOutput) Index

func (CertificatesCertificateTagArrayOutput) ToCertificatesCertificateTagArrayOutput

func (o CertificatesCertificateTagArrayOutput) ToCertificatesCertificateTagArrayOutput() CertificatesCertificateTagArrayOutput

func (CertificatesCertificateTagArrayOutput) ToCertificatesCertificateTagArrayOutputWithContext

func (o CertificatesCertificateTagArrayOutput) ToCertificatesCertificateTagArrayOutputWithContext(ctx context.Context) CertificatesCertificateTagArrayOutput

type CertificatesCertificateTagInput

type CertificatesCertificateTagInput interface {
	pulumi.Input

	ToCertificatesCertificateTagOutput() CertificatesCertificateTagOutput
	ToCertificatesCertificateTagOutputWithContext(context.Context) CertificatesCertificateTagOutput
}

CertificatesCertificateTagInput is an input type that accepts CertificatesCertificateTagArgs and CertificatesCertificateTagOutput values. You can construct a concrete instance of `CertificatesCertificateTagInput` via:

CertificatesCertificateTagArgs{...}

type CertificatesCertificateTagOutput

type CertificatesCertificateTagOutput struct{ *pulumi.OutputState }

func (CertificatesCertificateTagOutput) ElementType

func (CertificatesCertificateTagOutput) Key

The Key of Tags.

func (CertificatesCertificateTagOutput) ToCertificatesCertificateTagOutput

func (o CertificatesCertificateTagOutput) ToCertificatesCertificateTagOutput() CertificatesCertificateTagOutput

func (CertificatesCertificateTagOutput) ToCertificatesCertificateTagOutputWithContext

func (o CertificatesCertificateTagOutput) ToCertificatesCertificateTagOutputWithContext(ctx context.Context) CertificatesCertificateTagOutput

func (CertificatesCertificateTagOutput) Value

The Value of Tags.

type CertificatesOutputArgs

type CertificatesOutputArgs struct {
	// The name of the Certificate.
	CertificateName pulumi.StringPtrInput `pulumi:"certificateName"`
	// The list of Certificate IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// The Name Regex of Certificate.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	// File name where to save data source results.
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The ProjectName of Certificate.
	ProjectName pulumi.StringPtrInput `pulumi:"projectName"`
	// Tags.
	Tags CertificatesTagArrayInput `pulumi:"tags"`
}

A collection of arguments for invoking Certificates.

func (CertificatesOutputArgs) ElementType

func (CertificatesOutputArgs) ElementType() reflect.Type

type CertificatesResult

type CertificatesResult struct {
	// The name of the Certificate.
	CertificateName *string `pulumi:"certificateName"`
	// The collection of Certificate query.
	Certificates []CertificatesCertificate `pulumi:"certificates"`
	// The provider-assigned unique ID for this managed resource.
	Id         string   `pulumi:"id"`
	Ids        []string `pulumi:"ids"`
	NameRegex  *string  `pulumi:"nameRegex"`
	OutputFile *string  `pulumi:"outputFile"`
	// The ProjectName of the Certificate.
	ProjectName *string `pulumi:"projectName"`
	// Tags.
	Tags []CertificatesTag `pulumi:"tags"`
	// The total count of Certificate query.
	TotalCount int `pulumi:"totalCount"`
}

A collection of values returned by Certificates.

func Certificates

func Certificates(ctx *pulumi.Context, args *CertificatesArgs, opts ...pulumi.InvokeOption) (*CertificatesResult, error)

Use this data source to query detailed information of certificates ## Example Usage

```go package main

import (

"fmt"

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/clb"

) func main() { pulumi.Run(func(ctx *pulumi.Context) error { var fooCertificate []*clb.Certificate

for index := 0; index < 3; index++ {
    key0 := index
    val0 := index

__res, err := clb.NewCertificate(ctx, fmt.Sprintf("fooCertificate-%v", key0), &clb.CertificateArgs{ CertificateName: pulumi.String(fmt.Sprintf("acc-test-certificate-%v", val0)), Description: pulumi.String("acc-test-demo"), PublicKey: pulumi.String(`-----BEGIN CERTIFICATE----- MIICWDCCAcGgAwIBAgIJAP7vOtjPtQIjMA0GCSqGSIb3DQEBCwUAMEUxCzAJBgNV BAYTAkNOMRMwEQYDVQQIDApjbi1iZWlqaW5nMSEwHwYDVQQKDBhJbnRlcm5ldCBX aWRnaXRzIFB0eSBMdGQwHhcNMjAxMDIwMDYxOTUxWhcNMjAxMTE5MDYxOTUxWjBF MQswCQYDVQQGEwJDTjETMBEGA1UECAwKY24tYmVpamluZzEhMB8GA1UECgwYSW50 ZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKB gQDEdoyaJ0kdtjtbLRx5X9qwI7FblhJPRcScvhQSE8P5y/b/T8J9BVuFIBoU8nrP Y9ABz4JFklZ6SznxLbFBqtXoJTmzV6ixyjjH+AGEw6hCiA8Pqy2CNIzxr9DjCzN5 tWruiHqO60O3Bve6cHipH0VyLAhrB85mflvOZSH4xGsJkwIDAQABo1AwTjAdBgNV HQ4EFgQUYDwuuqC2a2UPrfm1v31vE7+GRM4wHwYDVR0jBBgwFoAUYDwuuqC2a2UP rfm1v31vE7+GRM4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQsFAAOBgQAovSB0 5JRKrg7lYR/KlTuKHmozfyL9UER0/dpTSoqsCyt8yc1BbtAKUJWh09BujBE1H22f lKvCAjhPmnNdfd/l9GrmAWNDWEDPLdUTkGSkKAScMpdS+mLmOBuYWgdnOtq3eQGf t07tlBL+dtzrrohHpfLeuNyYb40g8VQdp3RRRQ== -----END CERTIFICATE-----`), PrivateKey: pulumi.String(`-----BEGIN RSA PRIVATE KEY----- MIICXAIBAAKBgQDEdoyaJ0kdtjtbLRx5X9qwI7FblhJPRcScvhQSE8P5y/b/T8J9 BVuFIBoU8nrPY9ABz4JFklZ6SznxLbFBqtXoJTmzV6ixyjjH+AGEw6hCiA8Pqy2C NIzxr9DjCzN5tWruiHqO60O3Bve6cHipH0VyLAhrB85mflvOZSH4xGsJkwIDAQAB AoGARe2oaCo5lTDK+c4Zx3392hoqQ94r0DmWHPBvNmwAooYd+YxLPrLMe5sMjY4t dmohnLNevCK1Uzw5eIX6BNSo5CORBcIDRmiAgwiYiS3WOv2+qi9g5uIdMiDr+EED K8wZJjB5E2WyfxL507vtW4T5L36yfr8SkmqH3GvzpI2jCqECQQDsy0AmBzyfK0tG Nw1+iF9SReJWgb1f5iHvz+6Dt5ueVQngrl/5++Gp5bNoaQMkLEDsy0iHIj9j43ji 0DON05uDAkEA1GXgGn8MXXKyuzYuoyYXCBH7aF579d7KEGET/jjnXx9DHcfRJZBY B9ghMnnonSOGboF04Zsdd3xwYF/3OHYssQJAekd/SeQEzyE5TvoQ8t2Tc9X4yrlW xNX/gmp6/fPr3biGUEtb7qi+4NBodCt+XsingmB7hKUP3RJTk7T2WnAC5wJAMqHi jY5x3SkFkHl3Hq9q2CKpQxUbCd7FXqg1wum/xj5GmqfSpNjHE3+jUkwbdrJMTrWP rmRy3tQMWf0mixAo0QJBAN4IcZChanq8cZyNqqoNbxGm4hkxUmE0W4hxHmLC2CYZ V4JpNm8dpi4CiMWLasF6TYlVMgX+aPxYRUWc/qqf1/Q= -----END RSA PRIVATE KEY-----`), ProjectName: pulumi.String("default"), Tags: clb.CertificateTagArray{ &clb.CertificateTagArgs{ Key: pulumi.String("k1"), Value: pulumi.String("v1"), }, }, }) if err != nil { return err } fooCertificate = append(fooCertificate, __res) } _ = clb.CertificatesOutput(ctx, clb.CertificatesOutputArgs{ Ids: %!v(PANIC=Format method: fatal: A failure has occurred: unlowered splat expression @ #-functions-volcengine:clb-certificates:Certificates.pp:16,9-29), }, nil); return nil }) } ```

type CertificatesResultOutput

type CertificatesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by Certificates.

func (CertificatesResultOutput) CertificateName

func (o CertificatesResultOutput) CertificateName() pulumi.StringPtrOutput

The name of the Certificate.

func (CertificatesResultOutput) Certificates

The collection of Certificate query.

func (CertificatesResultOutput) ElementType

func (CertificatesResultOutput) ElementType() reflect.Type

func (CertificatesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (CertificatesResultOutput) Ids

func (CertificatesResultOutput) NameRegex

func (CertificatesResultOutput) OutputFile

func (CertificatesResultOutput) ProjectName

The ProjectName of the Certificate.

func (CertificatesResultOutput) Tags

Tags.

func (CertificatesResultOutput) ToCertificatesResultOutput

func (o CertificatesResultOutput) ToCertificatesResultOutput() CertificatesResultOutput

func (CertificatesResultOutput) ToCertificatesResultOutputWithContext

func (o CertificatesResultOutput) ToCertificatesResultOutputWithContext(ctx context.Context) CertificatesResultOutput

func (CertificatesResultOutput) TotalCount

func (o CertificatesResultOutput) TotalCount() pulumi.IntOutput

The total count of Certificate query.

type CertificatesTag

type CertificatesTag struct {
	// The Key of Tags.
	Key string `pulumi:"key"`
	// The Value of Tags.
	Value string `pulumi:"value"`
}

type CertificatesTagArgs

type CertificatesTagArgs struct {
	// The Key of Tags.
	Key pulumi.StringInput `pulumi:"key"`
	// The Value of Tags.
	Value pulumi.StringInput `pulumi:"value"`
}

func (CertificatesTagArgs) ElementType

func (CertificatesTagArgs) ElementType() reflect.Type

func (CertificatesTagArgs) ToCertificatesTagOutput

func (i CertificatesTagArgs) ToCertificatesTagOutput() CertificatesTagOutput

func (CertificatesTagArgs) ToCertificatesTagOutputWithContext

func (i CertificatesTagArgs) ToCertificatesTagOutputWithContext(ctx context.Context) CertificatesTagOutput

type CertificatesTagArray

type CertificatesTagArray []CertificatesTagInput

func (CertificatesTagArray) ElementType

func (CertificatesTagArray) ElementType() reflect.Type

func (CertificatesTagArray) ToCertificatesTagArrayOutput

func (i CertificatesTagArray) ToCertificatesTagArrayOutput() CertificatesTagArrayOutput

func (CertificatesTagArray) ToCertificatesTagArrayOutputWithContext

func (i CertificatesTagArray) ToCertificatesTagArrayOutputWithContext(ctx context.Context) CertificatesTagArrayOutput

type CertificatesTagArrayInput

type CertificatesTagArrayInput interface {
	pulumi.Input

	ToCertificatesTagArrayOutput() CertificatesTagArrayOutput
	ToCertificatesTagArrayOutputWithContext(context.Context) CertificatesTagArrayOutput
}

CertificatesTagArrayInput is an input type that accepts CertificatesTagArray and CertificatesTagArrayOutput values. You can construct a concrete instance of `CertificatesTagArrayInput` via:

CertificatesTagArray{ CertificatesTagArgs{...} }

type CertificatesTagArrayOutput

type CertificatesTagArrayOutput struct{ *pulumi.OutputState }

func (CertificatesTagArrayOutput) ElementType

func (CertificatesTagArrayOutput) ElementType() reflect.Type

func (CertificatesTagArrayOutput) Index

func (CertificatesTagArrayOutput) ToCertificatesTagArrayOutput

func (o CertificatesTagArrayOutput) ToCertificatesTagArrayOutput() CertificatesTagArrayOutput

func (CertificatesTagArrayOutput) ToCertificatesTagArrayOutputWithContext

func (o CertificatesTagArrayOutput) ToCertificatesTagArrayOutputWithContext(ctx context.Context) CertificatesTagArrayOutput

type CertificatesTagInput

type CertificatesTagInput interface {
	pulumi.Input

	ToCertificatesTagOutput() CertificatesTagOutput
	ToCertificatesTagOutputWithContext(context.Context) CertificatesTagOutput
}

CertificatesTagInput is an input type that accepts CertificatesTagArgs and CertificatesTagOutput values. You can construct a concrete instance of `CertificatesTagInput` via:

CertificatesTagArgs{...}

type CertificatesTagOutput

type CertificatesTagOutput struct{ *pulumi.OutputState }

func (CertificatesTagOutput) ElementType

func (CertificatesTagOutput) ElementType() reflect.Type

func (CertificatesTagOutput) Key

The Key of Tags.

func (CertificatesTagOutput) ToCertificatesTagOutput

func (o CertificatesTagOutput) ToCertificatesTagOutput() CertificatesTagOutput

func (CertificatesTagOutput) ToCertificatesTagOutputWithContext

func (o CertificatesTagOutput) ToCertificatesTagOutputWithContext(ctx context.Context) CertificatesTagOutput

func (CertificatesTagOutput) Value

The Value of Tags.

type Clb

type Clb struct {
	pulumi.CustomResourceState

	// The address ip version of the Clb. Valid values: `ipv4`, `DualStack`. Default is `ipv4`.
	// When the value of this field is `DualStack`, the type of the CLB must be `private`, and suggest using a combination of resource `vpc.Ipv6Gateway` and `vpc.Ipv6AddressBandwidth` to achieve ipv6 public network access function.
	AddressIpVersion pulumi.StringPtrOutput `pulumi:"addressIpVersion"`
	// The description of the CLB.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The Eip address of the Clb.
	EipAddress pulumi.StringOutput `pulumi:"eipAddress"`
	// The billing configuration of the EIP which automatically associated to CLB. This field is valid when the type of CLB is `public`.When the type of the CLB is `private`, suggest using a combination of resource `eip.Address` and `eip.Associate` to achieve public network access function.
	EipBillingConfig ClbEipBillingConfigOutput `pulumi:"eipBillingConfig"`
	// The Eip ID of the Clb.
	EipId pulumi.StringOutput `pulumi:"eipId"`
	// The eni address of the CLB.
	EniAddress pulumi.StringOutput `pulumi:"eniAddress"`
	// The eni ipv6 address of the Clb.
	EniIpv6Address pulumi.StringOutput `pulumi:"eniIpv6Address"`
	// The Ipv6 Eip ID of the Clb.
	Ipv6EipId pulumi.StringOutput `pulumi:"ipv6EipId"`
	// The billing type of the CLB, the value can be `PostPaid` or `PrePaid`.
	LoadBalancerBillingType pulumi.StringOutput `pulumi:"loadBalancerBillingType"`
	// The name of the CLB.
	LoadBalancerName pulumi.StringOutput `pulumi:"loadBalancerName"`
	// The specification of the CLB, the value can be `small1`, `small2`, `medium1`, `medium2`, `large1`, `large2`.
	LoadBalancerSpec pulumi.StringOutput `pulumi:"loadBalancerSpec"`
	// The master zone ID of the CLB.
	MasterZoneId pulumi.StringOutput `pulumi:"masterZoneId"`
	// The reason of the console modification protection.
	ModificationProtectionReason pulumi.StringPtrOutput `pulumi:"modificationProtectionReason"`
	// The status of the console modification protection, the value can be `NonProtection` or `ConsoleProtection`.
	ModificationProtectionStatus pulumi.StringPtrOutput `pulumi:"modificationProtectionStatus"`
	// The period of the NatGateway, the valid value range in 1~9 or 12 or 24 or 36. Default value is 12. The period unit defaults to `Month`.This field is only effective when creating a PrePaid NatGateway. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.
	Period pulumi.IntPtrOutput `pulumi:"period"`
	// The ProjectName of the CLB.
	ProjectName pulumi.StringOutput `pulumi:"projectName"`
	// The region of the request.
	RegionId pulumi.StringOutput `pulumi:"regionId"`
	// The renew type of the CLB. When the value of the loadBalancerBillingType is `PrePaid`, the query returns this field.
	RenewType pulumi.StringOutput `pulumi:"renewType"`
	// The slave zone ID of the CLB.
	SlaveZoneId pulumi.StringOutput `pulumi:"slaveZoneId"`
	// The id of the Subnet.
	SubnetId pulumi.StringOutput `pulumi:"subnetId"`
	// Tags.
	Tags ClbTagArrayOutput `pulumi:"tags"`
	// The type of the CLB. And optional choice contains `public` or `private`.
	Type pulumi.StringOutput `pulumi:"type"`
	// The id of the VPC.
	VpcId pulumi.StringOutput `pulumi:"vpcId"`
}

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/clb"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/eip"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		fooZones, err := ecs.Zones(ctx, nil, nil)
		if err != nil {
			return err
		}
		fooVpc, err := vpc.NewVpc(ctx, "fooVpc", &vpc.VpcArgs{
			VpcName:   pulumi.String("acc-test-vpc"),
			CidrBlock: pulumi.String("172.16.0.0/16"),
		})
		if err != nil {
			return err
		}
		fooSubnet, err := vpc.NewSubnet(ctx, "fooSubnet", &vpc.SubnetArgs{
			SubnetName: pulumi.String("acc-test-subnet"),
			CidrBlock:  pulumi.String("172.16.0.0/24"),
			ZoneId:     *pulumi.String(fooZones.Zones[0].Id),
			VpcId:      fooVpc.ID(),
		})
		if err != nil {
			return err
		}
		_, err = clb.NewClb(ctx, "publicClb", &clb.ClbArgs{
			Type:             pulumi.String("public"),
			SubnetId:         fooSubnet.ID(),
			LoadBalancerName: pulumi.String("acc-test-clb-public"),
			LoadBalancerSpec: pulumi.String("small_1"),
			Description:      pulumi.String("acc-test-demo"),
			ProjectName:      pulumi.String("default"),
			EipBillingConfig: &clb.ClbEipBillingConfigArgs{
				Isp:            pulumi.String("BGP"),
				EipBillingType: pulumi.String("PostPaidByBandwidth"),
				Bandwidth:      pulumi.Int(1),
			},
			Tags: clb.ClbTagArray{
				&clb.ClbTagArgs{
					Key:   pulumi.String("k1"),
					Value: pulumi.String("v1"),
				},
			},
		})
		if err != nil {
			return err
		}
		privateClb, err := clb.NewClb(ctx, "privateClb", &clb.ClbArgs{
			Type:             pulumi.String("private"),
			SubnetId:         fooSubnet.ID(),
			LoadBalancerName: pulumi.String("acc-test-clb-private"),
			LoadBalancerSpec: pulumi.String("small_1"),
			Description:      pulumi.String("acc-test-demo"),
			ProjectName:      pulumi.String("default"),
		})
		if err != nil {
			return err
		}
		eip, err := eip.NewAddress(ctx, "eip", &eip.AddressArgs{
			BillingType: pulumi.String("PostPaidByBandwidth"),
			Bandwidth:   pulumi.Int(1),
			Isp:         pulumi.String("BGP"),
			Description: pulumi.String("tf-test"),
			ProjectName: pulumi.String("default"),
		})
		if err != nil {
			return err
		}
		_, err = eip.NewAssociate(ctx, "associate", &eip.AssociateArgs{
			AllocationId: eip.ID(),
			InstanceId:   privateClb.ID(),
			InstanceType: pulumi.String("ClbInstance"),
		})
		if err != nil {
			return err
		}
		vpcIpv6, err := vpc.NewVpc(ctx, "vpcIpv6", &vpc.VpcArgs{
			VpcName:    pulumi.String("acc-test-vpc-ipv6"),
			CidrBlock:  pulumi.String("172.16.0.0/16"),
			EnableIpv6: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		subnetIpv6, err := vpc.NewSubnet(ctx, "subnetIpv6", &vpc.SubnetArgs{
			SubnetName:    pulumi.String("acc-test-subnet-ipv6"),
			CidrBlock:     pulumi.String("172.16.0.0/24"),
			ZoneId:        *pulumi.String(fooZones.Zones[1].Id),
			VpcId:         vpcIpv6.ID(),
			Ipv6CidrBlock: pulumi.Int(1),
		})
		if err != nil {
			return err
		}
		privateClbIpv6, err := clb.NewClb(ctx, "privateClbIpv6", &clb.ClbArgs{
			Type:             pulumi.String("private"),
			SubnetId:         subnetIpv6.ID(),
			LoadBalancerName: pulumi.String("acc-test-clb-ipv6"),
			LoadBalancerSpec: pulumi.String("small_1"),
			Description:      pulumi.String("acc-test-demo"),
			ProjectName:      pulumi.String("default"),
			AddressIpVersion: pulumi.String("DualStack"),
		})
		if err != nil {
			return err
		}
		ipv6Gateway, err := vpc.NewIpv6Gateway(ctx, "ipv6Gateway", &vpc.Ipv6GatewayArgs{
			VpcId: vpcIpv6.ID(),
		})
		if err != nil {
			return err
		}
		_, err = vpc.NewIpv6AddressBandwidth(ctx, "fooIpv6AddressBandwidth", &vpc.Ipv6AddressBandwidthArgs{
			Ipv6Address: privateClbIpv6.EniIpv6Address,
			BillingType: pulumi.String("PostPaidByBandwidth"),
			Bandwidth:   pulumi.Int(5),
		}, pulumi.DependsOn([]pulumi.Resource{
			ipv6Gateway,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

CLB can be imported using the id, e.g.

```sh

$ pulumi import volcengine:clb/clb:Clb default clb-273y2ok6ets007fap8txvf6us

```

func GetClb

func GetClb(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ClbState, opts ...pulumi.ResourceOption) (*Clb, error)

GetClb gets an existing Clb 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 NewClb

func NewClb(ctx *pulumi.Context,
	name string, args *ClbArgs, opts ...pulumi.ResourceOption) (*Clb, error)

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

func (*Clb) ElementType

func (*Clb) ElementType() reflect.Type

func (*Clb) ToClbOutput

func (i *Clb) ToClbOutput() ClbOutput

func (*Clb) ToClbOutputWithContext

func (i *Clb) ToClbOutputWithContext(ctx context.Context) ClbOutput

type ClbArgs

type ClbArgs struct {
	// The address ip version of the Clb. Valid values: `ipv4`, `DualStack`. Default is `ipv4`.
	// When the value of this field is `DualStack`, the type of the CLB must be `private`, and suggest using a combination of resource `vpc.Ipv6Gateway` and `vpc.Ipv6AddressBandwidth` to achieve ipv6 public network access function.
	AddressIpVersion pulumi.StringPtrInput
	// The description of the CLB.
	Description pulumi.StringPtrInput
	// The billing configuration of the EIP which automatically associated to CLB. This field is valid when the type of CLB is `public`.When the type of the CLB is `private`, suggest using a combination of resource `eip.Address` and `eip.Associate` to achieve public network access function.
	EipBillingConfig ClbEipBillingConfigPtrInput
	// The eni address of the CLB.
	EniAddress pulumi.StringPtrInput
	// The eni ipv6 address of the Clb.
	EniIpv6Address pulumi.StringPtrInput
	// The billing type of the CLB, the value can be `PostPaid` or `PrePaid`.
	LoadBalancerBillingType pulumi.StringPtrInput
	// The name of the CLB.
	LoadBalancerName pulumi.StringPtrInput
	// The specification of the CLB, the value can be `small1`, `small2`, `medium1`, `medium2`, `large1`, `large2`.
	LoadBalancerSpec pulumi.StringInput
	// The master zone ID of the CLB.
	MasterZoneId pulumi.StringPtrInput
	// The reason of the console modification protection.
	ModificationProtectionReason pulumi.StringPtrInput
	// The status of the console modification protection, the value can be `NonProtection` or `ConsoleProtection`.
	ModificationProtectionStatus pulumi.StringPtrInput
	// The period of the NatGateway, the valid value range in 1~9 or 12 or 24 or 36. Default value is 12. The period unit defaults to `Month`.This field is only effective when creating a PrePaid NatGateway. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.
	Period pulumi.IntPtrInput
	// The ProjectName of the CLB.
	ProjectName pulumi.StringPtrInput
	// The region of the request.
	RegionId pulumi.StringPtrInput
	// The slave zone ID of the CLB.
	SlaveZoneId pulumi.StringPtrInput
	// The id of the Subnet.
	SubnetId pulumi.StringInput
	// Tags.
	Tags ClbTagArrayInput
	// The type of the CLB. And optional choice contains `public` or `private`.
	Type pulumi.StringInput
	// The id of the VPC.
	VpcId pulumi.StringPtrInput
}

The set of arguments for constructing a Clb resource.

func (ClbArgs) ElementType

func (ClbArgs) ElementType() reflect.Type

type ClbArray

type ClbArray []ClbInput

func (ClbArray) ElementType

func (ClbArray) ElementType() reflect.Type

func (ClbArray) ToClbArrayOutput

func (i ClbArray) ToClbArrayOutput() ClbArrayOutput

func (ClbArray) ToClbArrayOutputWithContext

func (i ClbArray) ToClbArrayOutputWithContext(ctx context.Context) ClbArrayOutput

type ClbArrayInput

type ClbArrayInput interface {
	pulumi.Input

	ToClbArrayOutput() ClbArrayOutput
	ToClbArrayOutputWithContext(context.Context) ClbArrayOutput
}

ClbArrayInput is an input type that accepts ClbArray and ClbArrayOutput values. You can construct a concrete instance of `ClbArrayInput` via:

ClbArray{ ClbArgs{...} }

type ClbArrayOutput

type ClbArrayOutput struct{ *pulumi.OutputState }

func (ClbArrayOutput) ElementType

func (ClbArrayOutput) ElementType() reflect.Type

func (ClbArrayOutput) Index

func (ClbArrayOutput) ToClbArrayOutput

func (o ClbArrayOutput) ToClbArrayOutput() ClbArrayOutput

func (ClbArrayOutput) ToClbArrayOutputWithContext

func (o ClbArrayOutput) ToClbArrayOutputWithContext(ctx context.Context) ClbArrayOutput

type ClbEipBillingConfig

type ClbEipBillingConfig struct {
	// The peek bandwidth of the EIP which automatically assigned to CLB.
	Bandwidth *int `pulumi:"bandwidth"`
	// The billing type of the EIP which automatically assigned to CLB. And optional choice contains `PostPaidByBandwidth` or `PostPaidByTraffic` or `PrePaid`.When creating a `PrePaid` public CLB, this field must be specified as `PrePaid` simultaneously.When the LoadBalancerBillingType changes from `PostPaid` to `PrePaid`, please manually modify the value of this field to `PrePaid` simultaneously.
	EipBillingType string `pulumi:"eipBillingType"`
	// The ISP of the EIP which automatically associated to CLB, the value can be `BGP`.
	Isp string `pulumi:"isp"`
}

type ClbEipBillingConfigArgs

type ClbEipBillingConfigArgs struct {
	// The peek bandwidth of the EIP which automatically assigned to CLB.
	Bandwidth pulumi.IntPtrInput `pulumi:"bandwidth"`
	// The billing type of the EIP which automatically assigned to CLB. And optional choice contains `PostPaidByBandwidth` or `PostPaidByTraffic` or `PrePaid`.When creating a `PrePaid` public CLB, this field must be specified as `PrePaid` simultaneously.When the LoadBalancerBillingType changes from `PostPaid` to `PrePaid`, please manually modify the value of this field to `PrePaid` simultaneously.
	EipBillingType pulumi.StringInput `pulumi:"eipBillingType"`
	// The ISP of the EIP which automatically associated to CLB, the value can be `BGP`.
	Isp pulumi.StringInput `pulumi:"isp"`
}

func (ClbEipBillingConfigArgs) ElementType

func (ClbEipBillingConfigArgs) ElementType() reflect.Type

func (ClbEipBillingConfigArgs) ToClbEipBillingConfigOutput

func (i ClbEipBillingConfigArgs) ToClbEipBillingConfigOutput() ClbEipBillingConfigOutput

func (ClbEipBillingConfigArgs) ToClbEipBillingConfigOutputWithContext

func (i ClbEipBillingConfigArgs) ToClbEipBillingConfigOutputWithContext(ctx context.Context) ClbEipBillingConfigOutput

func (ClbEipBillingConfigArgs) ToClbEipBillingConfigPtrOutput

func (i ClbEipBillingConfigArgs) ToClbEipBillingConfigPtrOutput() ClbEipBillingConfigPtrOutput

func (ClbEipBillingConfigArgs) ToClbEipBillingConfigPtrOutputWithContext

func (i ClbEipBillingConfigArgs) ToClbEipBillingConfigPtrOutputWithContext(ctx context.Context) ClbEipBillingConfigPtrOutput

type ClbEipBillingConfigInput

type ClbEipBillingConfigInput interface {
	pulumi.Input

	ToClbEipBillingConfigOutput() ClbEipBillingConfigOutput
	ToClbEipBillingConfigOutputWithContext(context.Context) ClbEipBillingConfigOutput
}

ClbEipBillingConfigInput is an input type that accepts ClbEipBillingConfigArgs and ClbEipBillingConfigOutput values. You can construct a concrete instance of `ClbEipBillingConfigInput` via:

ClbEipBillingConfigArgs{...}

type ClbEipBillingConfigOutput

type ClbEipBillingConfigOutput struct{ *pulumi.OutputState }

func (ClbEipBillingConfigOutput) Bandwidth

The peek bandwidth of the EIP which automatically assigned to CLB.

func (ClbEipBillingConfigOutput) EipBillingType

func (o ClbEipBillingConfigOutput) EipBillingType() pulumi.StringOutput

The billing type of the EIP which automatically assigned to CLB. And optional choice contains `PostPaidByBandwidth` or `PostPaidByTraffic` or `PrePaid`.When creating a `PrePaid` public CLB, this field must be specified as `PrePaid` simultaneously.When the LoadBalancerBillingType changes from `PostPaid` to `PrePaid`, please manually modify the value of this field to `PrePaid` simultaneously.

func (ClbEipBillingConfigOutput) ElementType

func (ClbEipBillingConfigOutput) ElementType() reflect.Type

func (ClbEipBillingConfigOutput) Isp

The ISP of the EIP which automatically associated to CLB, the value can be `BGP`.

func (ClbEipBillingConfigOutput) ToClbEipBillingConfigOutput

func (o ClbEipBillingConfigOutput) ToClbEipBillingConfigOutput() ClbEipBillingConfigOutput

func (ClbEipBillingConfigOutput) ToClbEipBillingConfigOutputWithContext

func (o ClbEipBillingConfigOutput) ToClbEipBillingConfigOutputWithContext(ctx context.Context) ClbEipBillingConfigOutput

func (ClbEipBillingConfigOutput) ToClbEipBillingConfigPtrOutput

func (o ClbEipBillingConfigOutput) ToClbEipBillingConfigPtrOutput() ClbEipBillingConfigPtrOutput

func (ClbEipBillingConfigOutput) ToClbEipBillingConfigPtrOutputWithContext

func (o ClbEipBillingConfigOutput) ToClbEipBillingConfigPtrOutputWithContext(ctx context.Context) ClbEipBillingConfigPtrOutput

type ClbEipBillingConfigPtrInput

type ClbEipBillingConfigPtrInput interface {
	pulumi.Input

	ToClbEipBillingConfigPtrOutput() ClbEipBillingConfigPtrOutput
	ToClbEipBillingConfigPtrOutputWithContext(context.Context) ClbEipBillingConfigPtrOutput
}

ClbEipBillingConfigPtrInput is an input type that accepts ClbEipBillingConfigArgs, ClbEipBillingConfigPtr and ClbEipBillingConfigPtrOutput values. You can construct a concrete instance of `ClbEipBillingConfigPtrInput` via:

        ClbEipBillingConfigArgs{...}

or:

        nil

type ClbEipBillingConfigPtrOutput

type ClbEipBillingConfigPtrOutput struct{ *pulumi.OutputState }

func (ClbEipBillingConfigPtrOutput) Bandwidth

The peek bandwidth of the EIP which automatically assigned to CLB.

func (ClbEipBillingConfigPtrOutput) EipBillingType

The billing type of the EIP which automatically assigned to CLB. And optional choice contains `PostPaidByBandwidth` or `PostPaidByTraffic` or `PrePaid`.When creating a `PrePaid` public CLB, this field must be specified as `PrePaid` simultaneously.When the LoadBalancerBillingType changes from `PostPaid` to `PrePaid`, please manually modify the value of this field to `PrePaid` simultaneously.

func (ClbEipBillingConfigPtrOutput) Elem

func (ClbEipBillingConfigPtrOutput) ElementType

func (ClbEipBillingConfigPtrOutput) Isp

The ISP of the EIP which automatically associated to CLB, the value can be `BGP`.

func (ClbEipBillingConfigPtrOutput) ToClbEipBillingConfigPtrOutput

func (o ClbEipBillingConfigPtrOutput) ToClbEipBillingConfigPtrOutput() ClbEipBillingConfigPtrOutput

func (ClbEipBillingConfigPtrOutput) ToClbEipBillingConfigPtrOutputWithContext

func (o ClbEipBillingConfigPtrOutput) ToClbEipBillingConfigPtrOutputWithContext(ctx context.Context) ClbEipBillingConfigPtrOutput

type ClbInput

type ClbInput interface {
	pulumi.Input

	ToClbOutput() ClbOutput
	ToClbOutputWithContext(ctx context.Context) ClbOutput
}

type ClbMap

type ClbMap map[string]ClbInput

func (ClbMap) ElementType

func (ClbMap) ElementType() reflect.Type

func (ClbMap) ToClbMapOutput

func (i ClbMap) ToClbMapOutput() ClbMapOutput

func (ClbMap) ToClbMapOutputWithContext

func (i ClbMap) ToClbMapOutputWithContext(ctx context.Context) ClbMapOutput

type ClbMapInput

type ClbMapInput interface {
	pulumi.Input

	ToClbMapOutput() ClbMapOutput
	ToClbMapOutputWithContext(context.Context) ClbMapOutput
}

ClbMapInput is an input type that accepts ClbMap and ClbMapOutput values. You can construct a concrete instance of `ClbMapInput` via:

ClbMap{ "key": ClbArgs{...} }

type ClbMapOutput

type ClbMapOutput struct{ *pulumi.OutputState }

func (ClbMapOutput) ElementType

func (ClbMapOutput) ElementType() reflect.Type

func (ClbMapOutput) MapIndex

func (o ClbMapOutput) MapIndex(k pulumi.StringInput) ClbOutput

func (ClbMapOutput) ToClbMapOutput

func (o ClbMapOutput) ToClbMapOutput() ClbMapOutput

func (ClbMapOutput) ToClbMapOutputWithContext

func (o ClbMapOutput) ToClbMapOutputWithContext(ctx context.Context) ClbMapOutput

type ClbOutput

type ClbOutput struct{ *pulumi.OutputState }

func (ClbOutput) AddressIpVersion added in v0.0.19

func (o ClbOutput) AddressIpVersion() pulumi.StringPtrOutput

The address ip version of the Clb. Valid values: `ipv4`, `DualStack`. Default is `ipv4`. When the value of this field is `DualStack`, the type of the CLB must be `private`, and suggest using a combination of resource `vpc.Ipv6Gateway` and `vpc.Ipv6AddressBandwidth` to achieve ipv6 public network access function.

func (ClbOutput) Description

func (o ClbOutput) Description() pulumi.StringPtrOutput

The description of the CLB.

func (ClbOutput) EipAddress

func (o ClbOutput) EipAddress() pulumi.StringOutput

The Eip address of the Clb.

func (ClbOutput) EipBillingConfig

func (o ClbOutput) EipBillingConfig() ClbEipBillingConfigOutput

The billing configuration of the EIP which automatically associated to CLB. This field is valid when the type of CLB is `public`.When the type of the CLB is `private`, suggest using a combination of resource `eip.Address` and `eip.Associate` to achieve public network access function.

func (ClbOutput) EipId

func (o ClbOutput) EipId() pulumi.StringOutput

The Eip ID of the Clb.

func (ClbOutput) ElementType

func (ClbOutput) ElementType() reflect.Type

func (ClbOutput) EniAddress

func (o ClbOutput) EniAddress() pulumi.StringOutput

The eni address of the CLB.

func (ClbOutput) EniIpv6Address added in v0.0.19

func (o ClbOutput) EniIpv6Address() pulumi.StringOutput

The eni ipv6 address of the Clb.

func (ClbOutput) Ipv6EipId added in v0.0.19

func (o ClbOutput) Ipv6EipId() pulumi.StringOutput

The Ipv6 Eip ID of the Clb.

func (ClbOutput) LoadBalancerBillingType

func (o ClbOutput) LoadBalancerBillingType() pulumi.StringOutput

The billing type of the CLB, the value can be `PostPaid` or `PrePaid`.

func (ClbOutput) LoadBalancerName

func (o ClbOutput) LoadBalancerName() pulumi.StringOutput

The name of the CLB.

func (ClbOutput) LoadBalancerSpec

func (o ClbOutput) LoadBalancerSpec() pulumi.StringOutput

The specification of the CLB, the value can be `small1`, `small2`, `medium1`, `medium2`, `large1`, `large2`.

func (ClbOutput) MasterZoneId

func (o ClbOutput) MasterZoneId() pulumi.StringOutput

The master zone ID of the CLB.

func (ClbOutput) ModificationProtectionReason

func (o ClbOutput) ModificationProtectionReason() pulumi.StringPtrOutput

The reason of the console modification protection.

func (ClbOutput) ModificationProtectionStatus

func (o ClbOutput) ModificationProtectionStatus() pulumi.StringPtrOutput

The status of the console modification protection, the value can be `NonProtection` or `ConsoleProtection`.

func (ClbOutput) Period

func (o ClbOutput) Period() pulumi.IntPtrOutput

The period of the NatGateway, the valid value range in 1~9 or 12 or 24 or 36. Default value is 12. The period unit defaults to `Month`.This field is only effective when creating a PrePaid NatGateway. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.

func (ClbOutput) ProjectName

func (o ClbOutput) ProjectName() pulumi.StringOutput

The ProjectName of the CLB.

func (ClbOutput) RegionId

func (o ClbOutput) RegionId() pulumi.StringOutput

The region of the request.

func (ClbOutput) RenewType

func (o ClbOutput) RenewType() pulumi.StringOutput

The renew type of the CLB. When the value of the loadBalancerBillingType is `PrePaid`, the query returns this field.

func (ClbOutput) SlaveZoneId

func (o ClbOutput) SlaveZoneId() pulumi.StringOutput

The slave zone ID of the CLB.

func (ClbOutput) SubnetId

func (o ClbOutput) SubnetId() pulumi.StringOutput

The id of the Subnet.

func (ClbOutput) Tags

func (o ClbOutput) Tags() ClbTagArrayOutput

Tags.

func (ClbOutput) ToClbOutput

func (o ClbOutput) ToClbOutput() ClbOutput

func (ClbOutput) ToClbOutputWithContext

func (o ClbOutput) ToClbOutputWithContext(ctx context.Context) ClbOutput

func (ClbOutput) Type

func (o ClbOutput) Type() pulumi.StringOutput

The type of the CLB. And optional choice contains `public` or `private`.

func (ClbOutput) VpcId

func (o ClbOutput) VpcId() pulumi.StringOutput

The id of the VPC.

type ClbState

type ClbState struct {
	// The address ip version of the Clb. Valid values: `ipv4`, `DualStack`. Default is `ipv4`.
	// When the value of this field is `DualStack`, the type of the CLB must be `private`, and suggest using a combination of resource `vpc.Ipv6Gateway` and `vpc.Ipv6AddressBandwidth` to achieve ipv6 public network access function.
	AddressIpVersion pulumi.StringPtrInput
	// The description of the CLB.
	Description pulumi.StringPtrInput
	// The Eip address of the Clb.
	EipAddress pulumi.StringPtrInput
	// The billing configuration of the EIP which automatically associated to CLB. This field is valid when the type of CLB is `public`.When the type of the CLB is `private`, suggest using a combination of resource `eip.Address` and `eip.Associate` to achieve public network access function.
	EipBillingConfig ClbEipBillingConfigPtrInput
	// The Eip ID of the Clb.
	EipId pulumi.StringPtrInput
	// The eni address of the CLB.
	EniAddress pulumi.StringPtrInput
	// The eni ipv6 address of the Clb.
	EniIpv6Address pulumi.StringPtrInput
	// The Ipv6 Eip ID of the Clb.
	Ipv6EipId pulumi.StringPtrInput
	// The billing type of the CLB, the value can be `PostPaid` or `PrePaid`.
	LoadBalancerBillingType pulumi.StringPtrInput
	// The name of the CLB.
	LoadBalancerName pulumi.StringPtrInput
	// The specification of the CLB, the value can be `small1`, `small2`, `medium1`, `medium2`, `large1`, `large2`.
	LoadBalancerSpec pulumi.StringPtrInput
	// The master zone ID of the CLB.
	MasterZoneId pulumi.StringPtrInput
	// The reason of the console modification protection.
	ModificationProtectionReason pulumi.StringPtrInput
	// The status of the console modification protection, the value can be `NonProtection` or `ConsoleProtection`.
	ModificationProtectionStatus pulumi.StringPtrInput
	// The period of the NatGateway, the valid value range in 1~9 or 12 or 24 or 36. Default value is 12. The period unit defaults to `Month`.This field is only effective when creating a PrePaid NatGateway. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.
	Period pulumi.IntPtrInput
	// The ProjectName of the CLB.
	ProjectName pulumi.StringPtrInput
	// The region of the request.
	RegionId pulumi.StringPtrInput
	// The renew type of the CLB. When the value of the loadBalancerBillingType is `PrePaid`, the query returns this field.
	RenewType pulumi.StringPtrInput
	// The slave zone ID of the CLB.
	SlaveZoneId pulumi.StringPtrInput
	// The id of the Subnet.
	SubnetId pulumi.StringPtrInput
	// Tags.
	Tags ClbTagArrayInput
	// The type of the CLB. And optional choice contains `public` or `private`.
	Type pulumi.StringPtrInput
	// The id of the VPC.
	VpcId pulumi.StringPtrInput
}

func (ClbState) ElementType

func (ClbState) ElementType() reflect.Type

type ClbTag

type ClbTag struct {
	// The Key of Tags.
	Key string `pulumi:"key"`
	// The Value of Tags.
	Value string `pulumi:"value"`
}

type ClbTagArgs

type ClbTagArgs struct {
	// The Key of Tags.
	Key pulumi.StringInput `pulumi:"key"`
	// The Value of Tags.
	Value pulumi.StringInput `pulumi:"value"`
}

func (ClbTagArgs) ElementType

func (ClbTagArgs) ElementType() reflect.Type

func (ClbTagArgs) ToClbTagOutput

func (i ClbTagArgs) ToClbTagOutput() ClbTagOutput

func (ClbTagArgs) ToClbTagOutputWithContext

func (i ClbTagArgs) ToClbTagOutputWithContext(ctx context.Context) ClbTagOutput

type ClbTagArray

type ClbTagArray []ClbTagInput

func (ClbTagArray) ElementType

func (ClbTagArray) ElementType() reflect.Type

func (ClbTagArray) ToClbTagArrayOutput

func (i ClbTagArray) ToClbTagArrayOutput() ClbTagArrayOutput

func (ClbTagArray) ToClbTagArrayOutputWithContext

func (i ClbTagArray) ToClbTagArrayOutputWithContext(ctx context.Context) ClbTagArrayOutput

type ClbTagArrayInput

type ClbTagArrayInput interface {
	pulumi.Input

	ToClbTagArrayOutput() ClbTagArrayOutput
	ToClbTagArrayOutputWithContext(context.Context) ClbTagArrayOutput
}

ClbTagArrayInput is an input type that accepts ClbTagArray and ClbTagArrayOutput values. You can construct a concrete instance of `ClbTagArrayInput` via:

ClbTagArray{ ClbTagArgs{...} }

type ClbTagArrayOutput

type ClbTagArrayOutput struct{ *pulumi.OutputState }

func (ClbTagArrayOutput) ElementType

func (ClbTagArrayOutput) ElementType() reflect.Type

func (ClbTagArrayOutput) Index

func (ClbTagArrayOutput) ToClbTagArrayOutput

func (o ClbTagArrayOutput) ToClbTagArrayOutput() ClbTagArrayOutput

func (ClbTagArrayOutput) ToClbTagArrayOutputWithContext

func (o ClbTagArrayOutput) ToClbTagArrayOutputWithContext(ctx context.Context) ClbTagArrayOutput

type ClbTagInput

type ClbTagInput interface {
	pulumi.Input

	ToClbTagOutput() ClbTagOutput
	ToClbTagOutputWithContext(context.Context) ClbTagOutput
}

ClbTagInput is an input type that accepts ClbTagArgs and ClbTagOutput values. You can construct a concrete instance of `ClbTagInput` via:

ClbTagArgs{...}

type ClbTagOutput

type ClbTagOutput struct{ *pulumi.OutputState }

func (ClbTagOutput) ElementType

func (ClbTagOutput) ElementType() reflect.Type

func (ClbTagOutput) Key

The Key of Tags.

func (ClbTagOutput) ToClbTagOutput

func (o ClbTagOutput) ToClbTagOutput() ClbTagOutput

func (ClbTagOutput) ToClbTagOutputWithContext

func (o ClbTagOutput) ToClbTagOutputWithContext(ctx context.Context) ClbTagOutput

func (ClbTagOutput) Value

func (o ClbTagOutput) Value() pulumi.StringOutput

The Value of Tags.

type ClbsArgs

type ClbsArgs struct {
	// The private ip address of the Clb.
	EniAddress *string `pulumi:"eniAddress"`
	// A list of Clb IDs.
	Ids []string `pulumi:"ids"`
	// The name of the Clb.
	LoadBalancerName *string `pulumi:"loadBalancerName"`
	// A Name Regex of Clb.
	NameRegex *string `pulumi:"nameRegex"`
	// File name where to save data source results.
	OutputFile *string `pulumi:"outputFile"`
	// The ProjectName of Clb.
	ProjectName *string `pulumi:"projectName"`
	// Tags.
	Tags []ClbsTag `pulumi:"tags"`
	// The id of the VPC.
	VpcId *string `pulumi:"vpcId"`
}

A collection of arguments for invoking Clbs.

type ClbsClb

type ClbsClb struct {
	// The address ip version of the Clb.
	AddressIpVersion string `pulumi:"addressIpVersion"`
	// The business status of the Clb.
	BusinessStatus string `pulumi:"businessStatus"`
	// The create time of the Clb.
	CreateTime string `pulumi:"createTime"`
	// The expected recycle time of the Clb.
	DeletedTime string `pulumi:"deletedTime"`
	// The description of the Clb.
	Description string `pulumi:"description"`
	// The Eip address of the Clb.
	EipAddress string `pulumi:"eipAddress"`
	// The eip billing config of the Clb.
	EipBillingConfigs []ClbsClbEipBillingConfig `pulumi:"eipBillingConfigs"`
	// The Eip ID of the Clb.
	EipId string `pulumi:"eipId"`
	// The private ip address of the Clb.
	EniAddress string `pulumi:"eniAddress"`
	// The Eni ID of the Clb.
	EniId string `pulumi:"eniId"`
	// The eni ipv6 address of the Clb.
	EniIpv6Address string `pulumi:"eniIpv6Address"`
	// The expired time of the CLB.
	ExpiredTime string `pulumi:"expiredTime"`
	// The ID of the Clb.
	Id string `pulumi:"id"`
	// The billing status of the CLB.
	InstanceStatus int `pulumi:"instanceStatus"`
	// The ipv6 address bandwidth information of the Clb.
	Ipv6AddressBandwidths []ClbsClbIpv6AddressBandwidth `pulumi:"ipv6AddressBandwidths"`
	// The Ipv6 Eip ID of the Clb.
	Ipv6EipId string `pulumi:"ipv6EipId"`
	// The billing type of the Clb.
	LoadBalancerBillingType string `pulumi:"loadBalancerBillingType"`
	// The ID of the Clb.
	LoadBalancerId string `pulumi:"loadBalancerId"`
	// The name of the Clb.
	LoadBalancerName string `pulumi:"loadBalancerName"`
	// The specifications of the Clb.
	LoadBalancerSpec string `pulumi:"loadBalancerSpec"`
	// The reason why Clb is locked.
	LockReason string `pulumi:"lockReason"`
	// The master zone ID of the CLB.
	MasterZoneId string `pulumi:"masterZoneId"`
	// The modification protection reason of the Clb.
	ModificationProtectionReason string `pulumi:"modificationProtectionReason"`
	// The modification protection status of the Clb.
	ModificationProtectionStatus string `pulumi:"modificationProtectionStatus"`
	// The over reclaim time of the CLB.
	OverdueReclaimTime string `pulumi:"overdueReclaimTime"`
	// The overdue time of the Clb.
	OverdueTime string `pulumi:"overdueTime"`
	// The ProjectName of Clb.
	ProjectName string `pulumi:"projectName"`
	// The reclaim time of the CLB.
	ReclaimTime string `pulumi:"reclaimTime"`
	// The remain renew times of the CLB. When the value of the renewType is `AutoRenew`, the query returns this field.
	RemainRenewTimes int `pulumi:"remainRenewTimes"`
	// The renew period times of the CLB. When the value of the renewType is `AutoRenew`, the query returns this field.
	RenewPeriodTimes int `pulumi:"renewPeriodTimes"`
	// The renew type of the CLB. When the value of the loadBalancerBillingType is `PrePaid`, the query returns this field.
	RenewType string `pulumi:"renewType"`
	// The slave zone ID of the CLB.
	SlaveZoneId string `pulumi:"slaveZoneId"`
	// The status of the Clb.
	Status string `pulumi:"status"`
	// The subnet ID of the Clb.
	SubnetId string `pulumi:"subnetId"`
	// Tags.
	Tags []ClbsClbTag `pulumi:"tags"`
	// The type of the Clb.
	Type string `pulumi:"type"`
	// The update time of the Clb.
	UpdateTime string `pulumi:"updateTime"`
	// The id of the VPC.
	VpcId string `pulumi:"vpcId"`
}

type ClbsClbArgs

type ClbsClbArgs struct {
	// The address ip version of the Clb.
	AddressIpVersion pulumi.StringInput `pulumi:"addressIpVersion"`
	// The business status of the Clb.
	BusinessStatus pulumi.StringInput `pulumi:"businessStatus"`
	// The create time of the Clb.
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// The expected recycle time of the Clb.
	DeletedTime pulumi.StringInput `pulumi:"deletedTime"`
	// The description of the Clb.
	Description pulumi.StringInput `pulumi:"description"`
	// The Eip address of the Clb.
	EipAddress pulumi.StringInput `pulumi:"eipAddress"`
	// The eip billing config of the Clb.
	EipBillingConfigs ClbsClbEipBillingConfigArrayInput `pulumi:"eipBillingConfigs"`
	// The Eip ID of the Clb.
	EipId pulumi.StringInput `pulumi:"eipId"`
	// The private ip address of the Clb.
	EniAddress pulumi.StringInput `pulumi:"eniAddress"`
	// The Eni ID of the Clb.
	EniId pulumi.StringInput `pulumi:"eniId"`
	// The eni ipv6 address of the Clb.
	EniIpv6Address pulumi.StringInput `pulumi:"eniIpv6Address"`
	// The expired time of the CLB.
	ExpiredTime pulumi.StringInput `pulumi:"expiredTime"`
	// The ID of the Clb.
	Id pulumi.StringInput `pulumi:"id"`
	// The billing status of the CLB.
	InstanceStatus pulumi.IntInput `pulumi:"instanceStatus"`
	// The ipv6 address bandwidth information of the Clb.
	Ipv6AddressBandwidths ClbsClbIpv6AddressBandwidthArrayInput `pulumi:"ipv6AddressBandwidths"`
	// The Ipv6 Eip ID of the Clb.
	Ipv6EipId pulumi.StringInput `pulumi:"ipv6EipId"`
	// The billing type of the Clb.
	LoadBalancerBillingType pulumi.StringInput `pulumi:"loadBalancerBillingType"`
	// The ID of the Clb.
	LoadBalancerId pulumi.StringInput `pulumi:"loadBalancerId"`
	// The name of the Clb.
	LoadBalancerName pulumi.StringInput `pulumi:"loadBalancerName"`
	// The specifications of the Clb.
	LoadBalancerSpec pulumi.StringInput `pulumi:"loadBalancerSpec"`
	// The reason why Clb is locked.
	LockReason pulumi.StringInput `pulumi:"lockReason"`
	// The master zone ID of the CLB.
	MasterZoneId pulumi.StringInput `pulumi:"masterZoneId"`
	// The modification protection reason of the Clb.
	ModificationProtectionReason pulumi.StringInput `pulumi:"modificationProtectionReason"`
	// The modification protection status of the Clb.
	ModificationProtectionStatus pulumi.StringInput `pulumi:"modificationProtectionStatus"`
	// The over reclaim time of the CLB.
	OverdueReclaimTime pulumi.StringInput `pulumi:"overdueReclaimTime"`
	// The overdue time of the Clb.
	OverdueTime pulumi.StringInput `pulumi:"overdueTime"`
	// The ProjectName of Clb.
	ProjectName pulumi.StringInput `pulumi:"projectName"`
	// The reclaim time of the CLB.
	ReclaimTime pulumi.StringInput `pulumi:"reclaimTime"`
	// The remain renew times of the CLB. When the value of the renewType is `AutoRenew`, the query returns this field.
	RemainRenewTimes pulumi.IntInput `pulumi:"remainRenewTimes"`
	// The renew period times of the CLB. When the value of the renewType is `AutoRenew`, the query returns this field.
	RenewPeriodTimes pulumi.IntInput `pulumi:"renewPeriodTimes"`
	// The renew type of the CLB. When the value of the loadBalancerBillingType is `PrePaid`, the query returns this field.
	RenewType pulumi.StringInput `pulumi:"renewType"`
	// The slave zone ID of the CLB.
	SlaveZoneId pulumi.StringInput `pulumi:"slaveZoneId"`
	// The status of the Clb.
	Status pulumi.StringInput `pulumi:"status"`
	// The subnet ID of the Clb.
	SubnetId pulumi.StringInput `pulumi:"subnetId"`
	// Tags.
	Tags ClbsClbTagArrayInput `pulumi:"tags"`
	// The type of the Clb.
	Type pulumi.StringInput `pulumi:"type"`
	// The update time of the Clb.
	UpdateTime pulumi.StringInput `pulumi:"updateTime"`
	// The id of the VPC.
	VpcId pulumi.StringInput `pulumi:"vpcId"`
}

func (ClbsClbArgs) ElementType

func (ClbsClbArgs) ElementType() reflect.Type

func (ClbsClbArgs) ToClbsClbOutput

func (i ClbsClbArgs) ToClbsClbOutput() ClbsClbOutput

func (ClbsClbArgs) ToClbsClbOutputWithContext

func (i ClbsClbArgs) ToClbsClbOutputWithContext(ctx context.Context) ClbsClbOutput

type ClbsClbArray

type ClbsClbArray []ClbsClbInput

func (ClbsClbArray) ElementType

func (ClbsClbArray) ElementType() reflect.Type

func (ClbsClbArray) ToClbsClbArrayOutput

func (i ClbsClbArray) ToClbsClbArrayOutput() ClbsClbArrayOutput

func (ClbsClbArray) ToClbsClbArrayOutputWithContext

func (i ClbsClbArray) ToClbsClbArrayOutputWithContext(ctx context.Context) ClbsClbArrayOutput

type ClbsClbArrayInput

type ClbsClbArrayInput interface {
	pulumi.Input

	ToClbsClbArrayOutput() ClbsClbArrayOutput
	ToClbsClbArrayOutputWithContext(context.Context) ClbsClbArrayOutput
}

ClbsClbArrayInput is an input type that accepts ClbsClbArray and ClbsClbArrayOutput values. You can construct a concrete instance of `ClbsClbArrayInput` via:

ClbsClbArray{ ClbsClbArgs{...} }

type ClbsClbArrayOutput

type ClbsClbArrayOutput struct{ *pulumi.OutputState }

func (ClbsClbArrayOutput) ElementType

func (ClbsClbArrayOutput) ElementType() reflect.Type

func (ClbsClbArrayOutput) Index

func (ClbsClbArrayOutput) ToClbsClbArrayOutput

func (o ClbsClbArrayOutput) ToClbsClbArrayOutput() ClbsClbArrayOutput

func (ClbsClbArrayOutput) ToClbsClbArrayOutputWithContext

func (o ClbsClbArrayOutput) ToClbsClbArrayOutputWithContext(ctx context.Context) ClbsClbArrayOutput

type ClbsClbEipBillingConfig

type ClbsClbEipBillingConfig struct {
	// The peek bandwidth of the Ipv6 EIP assigned to CLB. Units: Mbps.
	Bandwidth int `pulumi:"bandwidth"`
	// The billing type of the EIP assigned to CLB. And optional choice contains `PostPaidByBandwidth` or `PostPaidByTraffic` or `PrePaid`.
	EipBillingType string `pulumi:"eipBillingType"`
	// The ISP of the Ipv6 EIP assigned to CLB, the value can be `BGP`.
	Isp string `pulumi:"isp"`
}

type ClbsClbEipBillingConfigArgs

type ClbsClbEipBillingConfigArgs struct {
	// The peek bandwidth of the Ipv6 EIP assigned to CLB. Units: Mbps.
	Bandwidth pulumi.IntInput `pulumi:"bandwidth"`
	// The billing type of the EIP assigned to CLB. And optional choice contains `PostPaidByBandwidth` or `PostPaidByTraffic` or `PrePaid`.
	EipBillingType pulumi.StringInput `pulumi:"eipBillingType"`
	// The ISP of the Ipv6 EIP assigned to CLB, the value can be `BGP`.
	Isp pulumi.StringInput `pulumi:"isp"`
}

func (ClbsClbEipBillingConfigArgs) ElementType

func (ClbsClbEipBillingConfigArgs) ToClbsClbEipBillingConfigOutput

func (i ClbsClbEipBillingConfigArgs) ToClbsClbEipBillingConfigOutput() ClbsClbEipBillingConfigOutput

func (ClbsClbEipBillingConfigArgs) ToClbsClbEipBillingConfigOutputWithContext

func (i ClbsClbEipBillingConfigArgs) ToClbsClbEipBillingConfigOutputWithContext(ctx context.Context) ClbsClbEipBillingConfigOutput

type ClbsClbEipBillingConfigArray

type ClbsClbEipBillingConfigArray []ClbsClbEipBillingConfigInput

func (ClbsClbEipBillingConfigArray) ElementType

func (ClbsClbEipBillingConfigArray) ToClbsClbEipBillingConfigArrayOutput

func (i ClbsClbEipBillingConfigArray) ToClbsClbEipBillingConfigArrayOutput() ClbsClbEipBillingConfigArrayOutput

func (ClbsClbEipBillingConfigArray) ToClbsClbEipBillingConfigArrayOutputWithContext

func (i ClbsClbEipBillingConfigArray) ToClbsClbEipBillingConfigArrayOutputWithContext(ctx context.Context) ClbsClbEipBillingConfigArrayOutput

type ClbsClbEipBillingConfigArrayInput

type ClbsClbEipBillingConfigArrayInput interface {
	pulumi.Input

	ToClbsClbEipBillingConfigArrayOutput() ClbsClbEipBillingConfigArrayOutput
	ToClbsClbEipBillingConfigArrayOutputWithContext(context.Context) ClbsClbEipBillingConfigArrayOutput
}

ClbsClbEipBillingConfigArrayInput is an input type that accepts ClbsClbEipBillingConfigArray and ClbsClbEipBillingConfigArrayOutput values. You can construct a concrete instance of `ClbsClbEipBillingConfigArrayInput` via:

ClbsClbEipBillingConfigArray{ ClbsClbEipBillingConfigArgs{...} }

type ClbsClbEipBillingConfigArrayOutput

type ClbsClbEipBillingConfigArrayOutput struct{ *pulumi.OutputState }

func (ClbsClbEipBillingConfigArrayOutput) ElementType

func (ClbsClbEipBillingConfigArrayOutput) Index

func (ClbsClbEipBillingConfigArrayOutput) ToClbsClbEipBillingConfigArrayOutput

func (o ClbsClbEipBillingConfigArrayOutput) ToClbsClbEipBillingConfigArrayOutput() ClbsClbEipBillingConfigArrayOutput

func (ClbsClbEipBillingConfigArrayOutput) ToClbsClbEipBillingConfigArrayOutputWithContext

func (o ClbsClbEipBillingConfigArrayOutput) ToClbsClbEipBillingConfigArrayOutputWithContext(ctx context.Context) ClbsClbEipBillingConfigArrayOutput

type ClbsClbEipBillingConfigInput

type ClbsClbEipBillingConfigInput interface {
	pulumi.Input

	ToClbsClbEipBillingConfigOutput() ClbsClbEipBillingConfigOutput
	ToClbsClbEipBillingConfigOutputWithContext(context.Context) ClbsClbEipBillingConfigOutput
}

ClbsClbEipBillingConfigInput is an input type that accepts ClbsClbEipBillingConfigArgs and ClbsClbEipBillingConfigOutput values. You can construct a concrete instance of `ClbsClbEipBillingConfigInput` via:

ClbsClbEipBillingConfigArgs{...}

type ClbsClbEipBillingConfigOutput

type ClbsClbEipBillingConfigOutput struct{ *pulumi.OutputState }

func (ClbsClbEipBillingConfigOutput) Bandwidth

The peek bandwidth of the Ipv6 EIP assigned to CLB. Units: Mbps.

func (ClbsClbEipBillingConfigOutput) EipBillingType

The billing type of the EIP assigned to CLB. And optional choice contains `PostPaidByBandwidth` or `PostPaidByTraffic` or `PrePaid`.

func (ClbsClbEipBillingConfigOutput) ElementType

func (ClbsClbEipBillingConfigOutput) Isp

The ISP of the Ipv6 EIP assigned to CLB, the value can be `BGP`.

func (ClbsClbEipBillingConfigOutput) ToClbsClbEipBillingConfigOutput

func (o ClbsClbEipBillingConfigOutput) ToClbsClbEipBillingConfigOutput() ClbsClbEipBillingConfigOutput

func (ClbsClbEipBillingConfigOutput) ToClbsClbEipBillingConfigOutputWithContext

func (o ClbsClbEipBillingConfigOutput) ToClbsClbEipBillingConfigOutputWithContext(ctx context.Context) ClbsClbEipBillingConfigOutput

type ClbsClbInput

type ClbsClbInput interface {
	pulumi.Input

	ToClbsClbOutput() ClbsClbOutput
	ToClbsClbOutputWithContext(context.Context) ClbsClbOutput
}

ClbsClbInput is an input type that accepts ClbsClbArgs and ClbsClbOutput values. You can construct a concrete instance of `ClbsClbInput` via:

ClbsClbArgs{...}

type ClbsClbIpv6AddressBandwidth added in v0.0.19

type ClbsClbIpv6AddressBandwidth struct {
	// The peek bandwidth of the Ipv6 EIP assigned to CLB. Units: Mbps.
	Bandwidth int `pulumi:"bandwidth"`
	// The bandwidth package id of the Ipv6 EIP assigned to CLB.
	BandwidthPackageId string `pulumi:"bandwidthPackageId"`
	// The billing type of the Ipv6 EIP assigned to CLB. And optional choice contains `PostPaidByBandwidth` or `PostPaidByTraffic`.
	BillingType string `pulumi:"billingType"`
	// The ISP of the Ipv6 EIP assigned to CLB, the value can be `BGP`.
	Isp string `pulumi:"isp"`
	// The network type of the CLB Ipv6 address.
	NetworkType string `pulumi:"networkType"`
}

type ClbsClbIpv6AddressBandwidthArgs added in v0.0.19

type ClbsClbIpv6AddressBandwidthArgs struct {
	// The peek bandwidth of the Ipv6 EIP assigned to CLB. Units: Mbps.
	Bandwidth pulumi.IntInput `pulumi:"bandwidth"`
	// The bandwidth package id of the Ipv6 EIP assigned to CLB.
	BandwidthPackageId pulumi.StringInput `pulumi:"bandwidthPackageId"`
	// The billing type of the Ipv6 EIP assigned to CLB. And optional choice contains `PostPaidByBandwidth` or `PostPaidByTraffic`.
	BillingType pulumi.StringInput `pulumi:"billingType"`
	// The ISP of the Ipv6 EIP assigned to CLB, the value can be `BGP`.
	Isp pulumi.StringInput `pulumi:"isp"`
	// The network type of the CLB Ipv6 address.
	NetworkType pulumi.StringInput `pulumi:"networkType"`
}

func (ClbsClbIpv6AddressBandwidthArgs) ElementType added in v0.0.19

func (ClbsClbIpv6AddressBandwidthArgs) ToClbsClbIpv6AddressBandwidthOutput added in v0.0.19

func (i ClbsClbIpv6AddressBandwidthArgs) ToClbsClbIpv6AddressBandwidthOutput() ClbsClbIpv6AddressBandwidthOutput

func (ClbsClbIpv6AddressBandwidthArgs) ToClbsClbIpv6AddressBandwidthOutputWithContext added in v0.0.19

func (i ClbsClbIpv6AddressBandwidthArgs) ToClbsClbIpv6AddressBandwidthOutputWithContext(ctx context.Context) ClbsClbIpv6AddressBandwidthOutput

type ClbsClbIpv6AddressBandwidthArray added in v0.0.19

type ClbsClbIpv6AddressBandwidthArray []ClbsClbIpv6AddressBandwidthInput

func (ClbsClbIpv6AddressBandwidthArray) ElementType added in v0.0.19

func (ClbsClbIpv6AddressBandwidthArray) ToClbsClbIpv6AddressBandwidthArrayOutput added in v0.0.19

func (i ClbsClbIpv6AddressBandwidthArray) ToClbsClbIpv6AddressBandwidthArrayOutput() ClbsClbIpv6AddressBandwidthArrayOutput

func (ClbsClbIpv6AddressBandwidthArray) ToClbsClbIpv6AddressBandwidthArrayOutputWithContext added in v0.0.19

func (i ClbsClbIpv6AddressBandwidthArray) ToClbsClbIpv6AddressBandwidthArrayOutputWithContext(ctx context.Context) ClbsClbIpv6AddressBandwidthArrayOutput

type ClbsClbIpv6AddressBandwidthArrayInput added in v0.0.19

type ClbsClbIpv6AddressBandwidthArrayInput interface {
	pulumi.Input

	ToClbsClbIpv6AddressBandwidthArrayOutput() ClbsClbIpv6AddressBandwidthArrayOutput
	ToClbsClbIpv6AddressBandwidthArrayOutputWithContext(context.Context) ClbsClbIpv6AddressBandwidthArrayOutput
}

ClbsClbIpv6AddressBandwidthArrayInput is an input type that accepts ClbsClbIpv6AddressBandwidthArray and ClbsClbIpv6AddressBandwidthArrayOutput values. You can construct a concrete instance of `ClbsClbIpv6AddressBandwidthArrayInput` via:

ClbsClbIpv6AddressBandwidthArray{ ClbsClbIpv6AddressBandwidthArgs{...} }

type ClbsClbIpv6AddressBandwidthArrayOutput added in v0.0.19

type ClbsClbIpv6AddressBandwidthArrayOutput struct{ *pulumi.OutputState }

func (ClbsClbIpv6AddressBandwidthArrayOutput) ElementType added in v0.0.19

func (ClbsClbIpv6AddressBandwidthArrayOutput) Index added in v0.0.19

func (ClbsClbIpv6AddressBandwidthArrayOutput) ToClbsClbIpv6AddressBandwidthArrayOutput added in v0.0.19

func (o ClbsClbIpv6AddressBandwidthArrayOutput) ToClbsClbIpv6AddressBandwidthArrayOutput() ClbsClbIpv6AddressBandwidthArrayOutput

func (ClbsClbIpv6AddressBandwidthArrayOutput) ToClbsClbIpv6AddressBandwidthArrayOutputWithContext added in v0.0.19

func (o ClbsClbIpv6AddressBandwidthArrayOutput) ToClbsClbIpv6AddressBandwidthArrayOutputWithContext(ctx context.Context) ClbsClbIpv6AddressBandwidthArrayOutput

type ClbsClbIpv6AddressBandwidthInput added in v0.0.19

type ClbsClbIpv6AddressBandwidthInput interface {
	pulumi.Input

	ToClbsClbIpv6AddressBandwidthOutput() ClbsClbIpv6AddressBandwidthOutput
	ToClbsClbIpv6AddressBandwidthOutputWithContext(context.Context) ClbsClbIpv6AddressBandwidthOutput
}

ClbsClbIpv6AddressBandwidthInput is an input type that accepts ClbsClbIpv6AddressBandwidthArgs and ClbsClbIpv6AddressBandwidthOutput values. You can construct a concrete instance of `ClbsClbIpv6AddressBandwidthInput` via:

ClbsClbIpv6AddressBandwidthArgs{...}

type ClbsClbIpv6AddressBandwidthOutput added in v0.0.19

type ClbsClbIpv6AddressBandwidthOutput struct{ *pulumi.OutputState }

func (ClbsClbIpv6AddressBandwidthOutput) Bandwidth added in v0.0.19

The peek bandwidth of the Ipv6 EIP assigned to CLB. Units: Mbps.

func (ClbsClbIpv6AddressBandwidthOutput) BandwidthPackageId added in v0.0.19

func (o ClbsClbIpv6AddressBandwidthOutput) BandwidthPackageId() pulumi.StringOutput

The bandwidth package id of the Ipv6 EIP assigned to CLB.

func (ClbsClbIpv6AddressBandwidthOutput) BillingType added in v0.0.19

The billing type of the Ipv6 EIP assigned to CLB. And optional choice contains `PostPaidByBandwidth` or `PostPaidByTraffic`.

func (ClbsClbIpv6AddressBandwidthOutput) ElementType added in v0.0.19

func (ClbsClbIpv6AddressBandwidthOutput) Isp added in v0.0.19

The ISP of the Ipv6 EIP assigned to CLB, the value can be `BGP`.

func (ClbsClbIpv6AddressBandwidthOutput) NetworkType added in v0.0.19

The network type of the CLB Ipv6 address.

func (ClbsClbIpv6AddressBandwidthOutput) ToClbsClbIpv6AddressBandwidthOutput added in v0.0.19

func (o ClbsClbIpv6AddressBandwidthOutput) ToClbsClbIpv6AddressBandwidthOutput() ClbsClbIpv6AddressBandwidthOutput

func (ClbsClbIpv6AddressBandwidthOutput) ToClbsClbIpv6AddressBandwidthOutputWithContext added in v0.0.19

func (o ClbsClbIpv6AddressBandwidthOutput) ToClbsClbIpv6AddressBandwidthOutputWithContext(ctx context.Context) ClbsClbIpv6AddressBandwidthOutput

type ClbsClbOutput

type ClbsClbOutput struct{ *pulumi.OutputState }

func (ClbsClbOutput) AddressIpVersion added in v0.0.19

func (o ClbsClbOutput) AddressIpVersion() pulumi.StringOutput

The address ip version of the Clb.

func (ClbsClbOutput) BusinessStatus

func (o ClbsClbOutput) BusinessStatus() pulumi.StringOutput

The business status of the Clb.

func (ClbsClbOutput) CreateTime

func (o ClbsClbOutput) CreateTime() pulumi.StringOutput

The create time of the Clb.

func (ClbsClbOutput) DeletedTime

func (o ClbsClbOutput) DeletedTime() pulumi.StringOutput

The expected recycle time of the Clb.

func (ClbsClbOutput) Description

func (o ClbsClbOutput) Description() pulumi.StringOutput

The description of the Clb.

func (ClbsClbOutput) EipAddress

func (o ClbsClbOutput) EipAddress() pulumi.StringOutput

The Eip address of the Clb.

func (ClbsClbOutput) EipBillingConfigs

func (o ClbsClbOutput) EipBillingConfigs() ClbsClbEipBillingConfigArrayOutput

The eip billing config of the Clb.

func (ClbsClbOutput) EipId

func (o ClbsClbOutput) EipId() pulumi.StringOutput

The Eip ID of the Clb.

func (ClbsClbOutput) ElementType

func (ClbsClbOutput) ElementType() reflect.Type

func (ClbsClbOutput) EniAddress

func (o ClbsClbOutput) EniAddress() pulumi.StringOutput

The private ip address of the Clb.

func (ClbsClbOutput) EniId

func (o ClbsClbOutput) EniId() pulumi.StringOutput

The Eni ID of the Clb.

func (ClbsClbOutput) EniIpv6Address added in v0.0.19

func (o ClbsClbOutput) EniIpv6Address() pulumi.StringOutput

The eni ipv6 address of the Clb.

func (ClbsClbOutput) ExpiredTime

func (o ClbsClbOutput) ExpiredTime() pulumi.StringOutput

The expired time of the CLB.

func (ClbsClbOutput) Id

The ID of the Clb.

func (ClbsClbOutput) InstanceStatus

func (o ClbsClbOutput) InstanceStatus() pulumi.IntOutput

The billing status of the CLB.

func (ClbsClbOutput) Ipv6AddressBandwidths added in v0.0.19

func (o ClbsClbOutput) Ipv6AddressBandwidths() ClbsClbIpv6AddressBandwidthArrayOutput

The ipv6 address bandwidth information of the Clb.

func (ClbsClbOutput) Ipv6EipId added in v0.0.19

func (o ClbsClbOutput) Ipv6EipId() pulumi.StringOutput

The Ipv6 Eip ID of the Clb.

func (ClbsClbOutput) LoadBalancerBillingType

func (o ClbsClbOutput) LoadBalancerBillingType() pulumi.StringOutput

The billing type of the Clb.

func (ClbsClbOutput) LoadBalancerId

func (o ClbsClbOutput) LoadBalancerId() pulumi.StringOutput

The ID of the Clb.

func (ClbsClbOutput) LoadBalancerName

func (o ClbsClbOutput) LoadBalancerName() pulumi.StringOutput

The name of the Clb.

func (ClbsClbOutput) LoadBalancerSpec

func (o ClbsClbOutput) LoadBalancerSpec() pulumi.StringOutput

The specifications of the Clb.

func (ClbsClbOutput) LockReason

func (o ClbsClbOutput) LockReason() pulumi.StringOutput

The reason why Clb is locked.

func (ClbsClbOutput) MasterZoneId

func (o ClbsClbOutput) MasterZoneId() pulumi.StringOutput

The master zone ID of the CLB.

func (ClbsClbOutput) ModificationProtectionReason

func (o ClbsClbOutput) ModificationProtectionReason() pulumi.StringOutput

The modification protection reason of the Clb.

func (ClbsClbOutput) ModificationProtectionStatus

func (o ClbsClbOutput) ModificationProtectionStatus() pulumi.StringOutput

The modification protection status of the Clb.

func (ClbsClbOutput) OverdueReclaimTime

func (o ClbsClbOutput) OverdueReclaimTime() pulumi.StringOutput

The over reclaim time of the CLB.

func (ClbsClbOutput) OverdueTime

func (o ClbsClbOutput) OverdueTime() pulumi.StringOutput

The overdue time of the Clb.

func (ClbsClbOutput) ProjectName

func (o ClbsClbOutput) ProjectName() pulumi.StringOutput

The ProjectName of Clb.

func (ClbsClbOutput) ReclaimTime

func (o ClbsClbOutput) ReclaimTime() pulumi.StringOutput

The reclaim time of the CLB.

func (ClbsClbOutput) RemainRenewTimes

func (o ClbsClbOutput) RemainRenewTimes() pulumi.IntOutput

The remain renew times of the CLB. When the value of the renewType is `AutoRenew`, the query returns this field.

func (ClbsClbOutput) RenewPeriodTimes

func (o ClbsClbOutput) RenewPeriodTimes() pulumi.IntOutput

The renew period times of the CLB. When the value of the renewType is `AutoRenew`, the query returns this field.

func (ClbsClbOutput) RenewType

func (o ClbsClbOutput) RenewType() pulumi.StringOutput

The renew type of the CLB. When the value of the loadBalancerBillingType is `PrePaid`, the query returns this field.

func (ClbsClbOutput) SlaveZoneId

func (o ClbsClbOutput) SlaveZoneId() pulumi.StringOutput

The slave zone ID of the CLB.

func (ClbsClbOutput) Status

func (o ClbsClbOutput) Status() pulumi.StringOutput

The status of the Clb.

func (ClbsClbOutput) SubnetId

func (o ClbsClbOutput) SubnetId() pulumi.StringOutput

The subnet ID of the Clb.

func (ClbsClbOutput) Tags

Tags.

func (ClbsClbOutput) ToClbsClbOutput

func (o ClbsClbOutput) ToClbsClbOutput() ClbsClbOutput

func (ClbsClbOutput) ToClbsClbOutputWithContext

func (o ClbsClbOutput) ToClbsClbOutputWithContext(ctx context.Context) ClbsClbOutput

func (ClbsClbOutput) Type

The type of the Clb.

func (ClbsClbOutput) UpdateTime

func (o ClbsClbOutput) UpdateTime() pulumi.StringOutput

The update time of the Clb.

func (ClbsClbOutput) VpcId

func (o ClbsClbOutput) VpcId() pulumi.StringOutput

The id of the VPC.

type ClbsClbTag

type ClbsClbTag struct {
	// The Key of Tags.
	Key string `pulumi:"key"`
	// The Value of Tags.
	Value string `pulumi:"value"`
}

type ClbsClbTagArgs

type ClbsClbTagArgs struct {
	// The Key of Tags.
	Key pulumi.StringInput `pulumi:"key"`
	// The Value of Tags.
	Value pulumi.StringInput `pulumi:"value"`
}

func (ClbsClbTagArgs) ElementType

func (ClbsClbTagArgs) ElementType() reflect.Type

func (ClbsClbTagArgs) ToClbsClbTagOutput

func (i ClbsClbTagArgs) ToClbsClbTagOutput() ClbsClbTagOutput

func (ClbsClbTagArgs) ToClbsClbTagOutputWithContext

func (i ClbsClbTagArgs) ToClbsClbTagOutputWithContext(ctx context.Context) ClbsClbTagOutput

type ClbsClbTagArray

type ClbsClbTagArray []ClbsClbTagInput

func (ClbsClbTagArray) ElementType

func (ClbsClbTagArray) ElementType() reflect.Type

func (ClbsClbTagArray) ToClbsClbTagArrayOutput

func (i ClbsClbTagArray) ToClbsClbTagArrayOutput() ClbsClbTagArrayOutput

func (ClbsClbTagArray) ToClbsClbTagArrayOutputWithContext

func (i ClbsClbTagArray) ToClbsClbTagArrayOutputWithContext(ctx context.Context) ClbsClbTagArrayOutput

type ClbsClbTagArrayInput

type ClbsClbTagArrayInput interface {
	pulumi.Input

	ToClbsClbTagArrayOutput() ClbsClbTagArrayOutput
	ToClbsClbTagArrayOutputWithContext(context.Context) ClbsClbTagArrayOutput
}

ClbsClbTagArrayInput is an input type that accepts ClbsClbTagArray and ClbsClbTagArrayOutput values. You can construct a concrete instance of `ClbsClbTagArrayInput` via:

ClbsClbTagArray{ ClbsClbTagArgs{...} }

type ClbsClbTagArrayOutput

type ClbsClbTagArrayOutput struct{ *pulumi.OutputState }

func (ClbsClbTagArrayOutput) ElementType

func (ClbsClbTagArrayOutput) ElementType() reflect.Type

func (ClbsClbTagArrayOutput) Index

func (ClbsClbTagArrayOutput) ToClbsClbTagArrayOutput

func (o ClbsClbTagArrayOutput) ToClbsClbTagArrayOutput() ClbsClbTagArrayOutput

func (ClbsClbTagArrayOutput) ToClbsClbTagArrayOutputWithContext

func (o ClbsClbTagArrayOutput) ToClbsClbTagArrayOutputWithContext(ctx context.Context) ClbsClbTagArrayOutput

type ClbsClbTagInput

type ClbsClbTagInput interface {
	pulumi.Input

	ToClbsClbTagOutput() ClbsClbTagOutput
	ToClbsClbTagOutputWithContext(context.Context) ClbsClbTagOutput
}

ClbsClbTagInput is an input type that accepts ClbsClbTagArgs and ClbsClbTagOutput values. You can construct a concrete instance of `ClbsClbTagInput` via:

ClbsClbTagArgs{...}

type ClbsClbTagOutput

type ClbsClbTagOutput struct{ *pulumi.OutputState }

func (ClbsClbTagOutput) ElementType

func (ClbsClbTagOutput) ElementType() reflect.Type

func (ClbsClbTagOutput) Key

The Key of Tags.

func (ClbsClbTagOutput) ToClbsClbTagOutput

func (o ClbsClbTagOutput) ToClbsClbTagOutput() ClbsClbTagOutput

func (ClbsClbTagOutput) ToClbsClbTagOutputWithContext

func (o ClbsClbTagOutput) ToClbsClbTagOutputWithContext(ctx context.Context) ClbsClbTagOutput

func (ClbsClbTagOutput) Value

The Value of Tags.

type ClbsOutputArgs

type ClbsOutputArgs struct {
	// The private ip address of the Clb.
	EniAddress pulumi.StringPtrInput `pulumi:"eniAddress"`
	// A list of Clb IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// The name of the Clb.
	LoadBalancerName pulumi.StringPtrInput `pulumi:"loadBalancerName"`
	// A Name Regex of Clb.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	// File name where to save data source results.
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The ProjectName of Clb.
	ProjectName pulumi.StringPtrInput `pulumi:"projectName"`
	// Tags.
	Tags ClbsTagArrayInput `pulumi:"tags"`
	// The id of the VPC.
	VpcId pulumi.StringPtrInput `pulumi:"vpcId"`
}

A collection of arguments for invoking Clbs.

func (ClbsOutputArgs) ElementType

func (ClbsOutputArgs) ElementType() reflect.Type

type ClbsResult

type ClbsResult struct {
	// The collection of Clb query.
	Clbs []ClbsClb `pulumi:"clbs"`
	// The Eni address of the Clb.
	EniAddress *string `pulumi:"eniAddress"`
	// The provider-assigned unique ID for this managed resource.
	Id  string   `pulumi:"id"`
	Ids []string `pulumi:"ids"`
	// The name of the Clb.
	LoadBalancerName *string `pulumi:"loadBalancerName"`
	NameRegex        *string `pulumi:"nameRegex"`
	OutputFile       *string `pulumi:"outputFile"`
	// The ProjectName of the Clb.
	ProjectName *string `pulumi:"projectName"`
	// Tags.
	Tags []ClbsTag `pulumi:"tags"`
	// The total count of Clb query.
	TotalCount int `pulumi:"totalCount"`
	// The vpc ID of the Clb.
	VpcId *string `pulumi:"vpcId"`
}

A collection of values returned by Clbs.

func Clbs

func Clbs(ctx *pulumi.Context, args *ClbsArgs, opts ...pulumi.InvokeOption) (*ClbsResult, error)

Use this data source to query detailed information of clbs ## Example Usage

```go package main

import (

"fmt"

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/clb"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc"

) func main() { pulumi.Run(func(ctx *pulumi.Context) error { fooZones, err := ecs.Zones(ctx, nil, nil); if err != nil { return err } fooVpc, err := vpc.NewVpc(ctx, "fooVpc", &vpc.VpcArgs{ VpcName: pulumi.String("acc-test-vpc"), CidrBlock: pulumi.String("172.16.0.0/16"), }) if err != nil { return err } fooSubnet, err := vpc.NewSubnet(ctx, "fooSubnet", &vpc.SubnetArgs{ SubnetName: pulumi.String("acc-test-subnet"), CidrBlock: pulumi.String("172.16.0.0/24"), ZoneId: *pulumi.String(fooZones.Zones[0].Id), VpcId: fooVpc.ID(), }) if err != nil { return err } var fooClb []*clb.Clb

for index := 0; index < 3; index++ {
    key0 := index
    val0 := index

__res, err := clb.NewClb(ctx, fmt.Sprintf("fooClb-%v", key0), &clb.ClbArgs{ Type: pulumi.String("public"), SubnetId: fooSubnet.ID(), LoadBalancerSpec: pulumi.String("small_1"), Description: pulumi.String("acc-test-demo"), LoadBalancerName: pulumi.String(fmt.Sprintf("acc-test-clb-%v", val0)), LoadBalancerBillingType: pulumi.String("PostPaid"), EipBillingConfig: &clb.ClbEipBillingConfigArgs{ Isp: pulumi.String("BGP"), EipBillingType: pulumi.String("PostPaidByBandwidth"), Bandwidth: pulumi.Int(1), }, Tags: clb.ClbTagArray{ &clb.ClbTagArgs{ Key: pulumi.String("k1"), Value: pulumi.String("v1"), }, }, }) if err != nil { return err } fooClb = append(fooClb, __res) } _ = clb.ClbsOutput(ctx, clb.ClbsOutputArgs{ Ids: %!v(PANIC=Format method: fatal: A failure has occurred: unlowered splat expression @ #-functions-volcengine:clb-clbs:Clbs.pp:34,9-21), }, nil); return nil }) } ```

type ClbsResultOutput

type ClbsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by Clbs.

func ClbsOutput

func ClbsOutput(ctx *pulumi.Context, args ClbsOutputArgs, opts ...pulumi.InvokeOption) ClbsResultOutput

func (ClbsResultOutput) Clbs

The collection of Clb query.

func (ClbsResultOutput) ElementType

func (ClbsResultOutput) ElementType() reflect.Type

func (ClbsResultOutput) EniAddress

func (o ClbsResultOutput) EniAddress() pulumi.StringPtrOutput

The Eni address of the Clb.

func (ClbsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (ClbsResultOutput) Ids

func (ClbsResultOutput) LoadBalancerName

func (o ClbsResultOutput) LoadBalancerName() pulumi.StringPtrOutput

The name of the Clb.

func (ClbsResultOutput) NameRegex

func (o ClbsResultOutput) NameRegex() pulumi.StringPtrOutput

func (ClbsResultOutput) OutputFile

func (o ClbsResultOutput) OutputFile() pulumi.StringPtrOutput

func (ClbsResultOutput) ProjectName

func (o ClbsResultOutput) ProjectName() pulumi.StringPtrOutput

The ProjectName of the Clb.

func (ClbsResultOutput) Tags

Tags.

func (ClbsResultOutput) ToClbsResultOutput

func (o ClbsResultOutput) ToClbsResultOutput() ClbsResultOutput

func (ClbsResultOutput) ToClbsResultOutputWithContext

func (o ClbsResultOutput) ToClbsResultOutputWithContext(ctx context.Context) ClbsResultOutput

func (ClbsResultOutput) TotalCount

func (o ClbsResultOutput) TotalCount() pulumi.IntOutput

The total count of Clb query.

func (ClbsResultOutput) VpcId

The vpc ID of the Clb.

type ClbsTag

type ClbsTag struct {
	// The Key of Tags.
	Key string `pulumi:"key"`
	// The Value of Tags.
	Value string `pulumi:"value"`
}

type ClbsTagArgs

type ClbsTagArgs struct {
	// The Key of Tags.
	Key pulumi.StringInput `pulumi:"key"`
	// The Value of Tags.
	Value pulumi.StringInput `pulumi:"value"`
}

func (ClbsTagArgs) ElementType

func (ClbsTagArgs) ElementType() reflect.Type

func (ClbsTagArgs) ToClbsTagOutput

func (i ClbsTagArgs) ToClbsTagOutput() ClbsTagOutput

func (ClbsTagArgs) ToClbsTagOutputWithContext

func (i ClbsTagArgs) ToClbsTagOutputWithContext(ctx context.Context) ClbsTagOutput

type ClbsTagArray

type ClbsTagArray []ClbsTagInput

func (ClbsTagArray) ElementType

func (ClbsTagArray) ElementType() reflect.Type

func (ClbsTagArray) ToClbsTagArrayOutput

func (i ClbsTagArray) ToClbsTagArrayOutput() ClbsTagArrayOutput

func (ClbsTagArray) ToClbsTagArrayOutputWithContext

func (i ClbsTagArray) ToClbsTagArrayOutputWithContext(ctx context.Context) ClbsTagArrayOutput

type ClbsTagArrayInput

type ClbsTagArrayInput interface {
	pulumi.Input

	ToClbsTagArrayOutput() ClbsTagArrayOutput
	ToClbsTagArrayOutputWithContext(context.Context) ClbsTagArrayOutput
}

ClbsTagArrayInput is an input type that accepts ClbsTagArray and ClbsTagArrayOutput values. You can construct a concrete instance of `ClbsTagArrayInput` via:

ClbsTagArray{ ClbsTagArgs{...} }

type ClbsTagArrayOutput

type ClbsTagArrayOutput struct{ *pulumi.OutputState }

func (ClbsTagArrayOutput) ElementType

func (ClbsTagArrayOutput) ElementType() reflect.Type

func (ClbsTagArrayOutput) Index

func (ClbsTagArrayOutput) ToClbsTagArrayOutput

func (o ClbsTagArrayOutput) ToClbsTagArrayOutput() ClbsTagArrayOutput

func (ClbsTagArrayOutput) ToClbsTagArrayOutputWithContext

func (o ClbsTagArrayOutput) ToClbsTagArrayOutputWithContext(ctx context.Context) ClbsTagArrayOutput

type ClbsTagInput

type ClbsTagInput interface {
	pulumi.Input

	ToClbsTagOutput() ClbsTagOutput
	ToClbsTagOutputWithContext(context.Context) ClbsTagOutput
}

ClbsTagInput is an input type that accepts ClbsTagArgs and ClbsTagOutput values. You can construct a concrete instance of `ClbsTagInput` via:

ClbsTagArgs{...}

type ClbsTagOutput

type ClbsTagOutput struct{ *pulumi.OutputState }

func (ClbsTagOutput) ElementType

func (ClbsTagOutput) ElementType() reflect.Type

func (ClbsTagOutput) Key

The Key of Tags.

func (ClbsTagOutput) ToClbsTagOutput

func (o ClbsTagOutput) ToClbsTagOutput() ClbsTagOutput

func (ClbsTagOutput) ToClbsTagOutputWithContext

func (o ClbsTagOutput) ToClbsTagOutputWithContext(ctx context.Context) ClbsTagOutput

func (ClbsTagOutput) Value

func (o ClbsTagOutput) Value() pulumi.StringOutput

The Value of Tags.

type Listener

type Listener struct {
	pulumi.CustomResourceState

	// The id list of the Acl.
	AclIds pulumi.StringArrayOutput `pulumi:"aclIds"`
	// The enable status of Acl. Optional choice contains `on`, `off`.
	AclStatus pulumi.StringOutput `pulumi:"aclStatus"`
	// The type of the Acl. Optional choice contains `white`, `black`.
	AclType pulumi.StringOutput `pulumi:"aclType"`
	// The bandwidth of the Listener. Unit: Mbps. Default is -1, indicating that the Listener does not specify a speed limit.
	Bandwidth pulumi.IntPtrOutput `pulumi:"bandwidth"`
	// The certificate id associated with the listener.
	CertificateId pulumi.StringPtrOutput `pulumi:"certificateId"`
	// Whether to enable connection drain of the Listener. Valid values: `off`, `on`. Default is `off`.
	// This filed is valid only when the value of field `protocol` is `TCP` or `UDP`.
	ConnectionDrainEnabled pulumi.StringPtrOutput `pulumi:"connectionDrainEnabled"`
	// The connection drain timeout of the Listener. Valid value range is `1-900`.
	// This filed is required when the value of field `connectionDrainEnabled` is `on`.
	ConnectionDrainTimeout pulumi.IntOutput `pulumi:"connectionDrainTimeout"`
	// The name of the cookie for session persistence configured on the backend server. When PersistenceType is configured as `server`, this parameter is required. When PersistenceType is configured as any other value, this parameter is not effective.
	Cookie pulumi.StringPtrOutput `pulumi:"cookie"`
	// The description of the Listener.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The enable status of the Listener. Optional choice contains `on`, `off`.
	Enabled pulumi.StringOutput `pulumi:"enabled"`
	// The connection timeout of the Listener.
	EstablishedTimeout pulumi.IntOutput `pulumi:"establishedTimeout"`
	// The config of health check.
	HealthCheck ListenerHealthCheckOutput `pulumi:"healthCheck"`
	// The ID of the Listener.
	ListenerId pulumi.StringOutput `pulumi:"listenerId"`
	// The name of the Listener.
	ListenerName pulumi.StringOutput `pulumi:"listenerName"`
	// The region of the request.
	LoadBalancerId pulumi.StringOutput `pulumi:"loadBalancerId"`
	// The persistence timeout of the Listener. Unit: second. Default is `1000`. When PersistenceType is configured as source_ip, the value range is 1-3600. When PersistenceType is configured as insert, the value range is 1-86400. This filed is valid only when the value of field `persistenceType` is `sourceIp` or `insert`.
	PersistenceTimeout pulumi.IntPtrOutput `pulumi:"persistenceTimeout"`
	// The persistence type of the Listener. Valid values: `off`, `sourceIp`, `insert`, `server`. Default is `off`.
	// `sourceIp`: Represents the source IP address, only effective for TCP/UDP protocols. `insert`: means implanting a cookie, only effective for HTTP/HTTPS protocol and when the scheduler is `wrr`. `server`: Indicates rewriting cookies, only effective for HTTP/HTTPS protocols and when the scheduler is `wrr`.
	PersistenceType pulumi.StringPtrOutput `pulumi:"persistenceType"`
	// The port receiving request of the Listener, the value range in 1~65535.
	Port pulumi.IntOutput `pulumi:"port"`
	// The protocol of the Listener. Optional choice contains `TCP`, `UDP`, `HTTP`, `HTTPS`.
	Protocol pulumi.StringOutput `pulumi:"protocol"`
	// Whether to enable proxy protocol. Valid values: `off`, `standard`. Default is `off`.
	// This filed is valid only when the value of field `protocol` is `TCP` or `UDP`.
	ProxyProtocolType pulumi.StringPtrOutput `pulumi:"proxyProtocolType"`
	// The scheduling algorithm of the Listener. Optional choice contains `wrr`, `wlc`, `sh`.
	Scheduler pulumi.StringOutput `pulumi:"scheduler"`
	// The server group id associated with the listener.
	ServerGroupId pulumi.StringOutput `pulumi:"serverGroupId"`
}

Provides a resource to manage listener ## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/clb"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		fooZones, err := ecs.Zones(ctx, nil, nil)
		if err != nil {
			return err
		}
		fooVpc, err := vpc.NewVpc(ctx, "fooVpc", &vpc.VpcArgs{
			VpcName:   pulumi.String("acc-test-vpc"),
			CidrBlock: pulumi.String("172.16.0.0/16"),
		})
		if err != nil {
			return err
		}
		fooSubnet, err := vpc.NewSubnet(ctx, "fooSubnet", &vpc.SubnetArgs{
			SubnetName: pulumi.String("acc-test-subnet"),
			CidrBlock:  pulumi.String("172.16.0.0/24"),
			ZoneId:     *pulumi.String(fooZones.Zones[0].Id),
			VpcId:      fooVpc.ID(),
		})
		if err != nil {
			return err
		}
		fooClb, err := clb.NewClb(ctx, "fooClb", &clb.ClbArgs{
			Type:             pulumi.String("public"),
			SubnetId:         fooSubnet.ID(),
			LoadBalancerSpec: pulumi.String("small_1"),
			Description:      pulumi.String("acc0Demo"),
			LoadBalancerName: pulumi.String("acc-test-create"),
			EipBillingConfig: &clb.ClbEipBillingConfigArgs{
				Isp:            pulumi.String("BGP"),
				EipBillingType: pulumi.String("PostPaidByBandwidth"),
				Bandwidth:      pulumi.Int(1),
			},
		})
		if err != nil {
			return err
		}
		fooServerGroup, err := clb.NewServerGroup(ctx, "fooServerGroup", &clb.ServerGroupArgs{
			LoadBalancerId:  fooClb.ID(),
			ServerGroupName: pulumi.String("acc-test-create"),
			Description:     pulumi.String("hello demo11"),
		})
		if err != nil {
			return err
		}
		_, err = clb.NewListener(ctx, "fooListener", &clb.ListenerArgs{
			LoadBalancerId: fooClb.ID(),
			ListenerName:   pulumi.String("acc-test-listener"),
			Protocol:       pulumi.String("HTTP"),
			Port:           pulumi.Int(90),
			ServerGroupId:  fooServerGroup.ID(),
			HealthCheck: &clb.ListenerHealthCheckArgs{
				Enabled:            pulumi.String("on"),
				Interval:           pulumi.Int(10),
				Timeout:            pulumi.Int(3),
				HealthyThreshold:   pulumi.Int(5),
				UnHealthyThreshold: pulumi.Int(2),
				Domain:             pulumi.String("volcengine.com"),
				HttpCode:           pulumi.String("http_2xx"),
				Method:             pulumi.String("GET"),
				Uri:                pulumi.String("/"),
			},
			Enabled: pulumi.String("on"),
		})
		if err != nil {
			return err
		}
		_, err = clb.NewListener(ctx, "fooTcp", &clb.ListenerArgs{
			LoadBalancerId:         fooClb.ID(),
			ListenerName:           pulumi.String("acc-test-listener"),
			Protocol:               pulumi.String("TCP"),
			Port:                   pulumi.Int(90),
			ServerGroupId:          fooServerGroup.ID(),
			Enabled:                pulumi.String("on"),
			Bandwidth:              pulumi.Int(2),
			ProxyProtocolType:      pulumi.String("standard"),
			PersistenceType:        pulumi.String("source_ip"),
			PersistenceTimeout:     pulumi.Int(100),
			ConnectionDrainEnabled: pulumi.String("on"),
			ConnectionDrainTimeout: pulumi.Int(100),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Listener can be imported using the id, e.g.

```sh

$ pulumi import volcengine:clb/listener:Listener default lsn-273yv0mhs5xj47fap8sehiiso

```

func GetListener

func GetListener(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ListenerState, opts ...pulumi.ResourceOption) (*Listener, error)

GetListener gets an existing Listener 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 NewListener

func NewListener(ctx *pulumi.Context,
	name string, args *ListenerArgs, opts ...pulumi.ResourceOption) (*Listener, error)

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

func (*Listener) ElementType

func (*Listener) ElementType() reflect.Type

func (*Listener) ToListenerOutput

func (i *Listener) ToListenerOutput() ListenerOutput

func (*Listener) ToListenerOutputWithContext

func (i *Listener) ToListenerOutputWithContext(ctx context.Context) ListenerOutput

type ListenerArgs

type ListenerArgs struct {
	// The id list of the Acl.
	AclIds pulumi.StringArrayInput
	// The enable status of Acl. Optional choice contains `on`, `off`.
	AclStatus pulumi.StringPtrInput
	// The type of the Acl. Optional choice contains `white`, `black`.
	AclType pulumi.StringPtrInput
	// The bandwidth of the Listener. Unit: Mbps. Default is -1, indicating that the Listener does not specify a speed limit.
	Bandwidth pulumi.IntPtrInput
	// The certificate id associated with the listener.
	CertificateId pulumi.StringPtrInput
	// Whether to enable connection drain of the Listener. Valid values: `off`, `on`. Default is `off`.
	// This filed is valid only when the value of field `protocol` is `TCP` or `UDP`.
	ConnectionDrainEnabled pulumi.StringPtrInput
	// The connection drain timeout of the Listener. Valid value range is `1-900`.
	// This filed is required when the value of field `connectionDrainEnabled` is `on`.
	ConnectionDrainTimeout pulumi.IntPtrInput
	// The name of the cookie for session persistence configured on the backend server. When PersistenceType is configured as `server`, this parameter is required. When PersistenceType is configured as any other value, this parameter is not effective.
	Cookie pulumi.StringPtrInput
	// The description of the Listener.
	Description pulumi.StringPtrInput
	// The enable status of the Listener. Optional choice contains `on`, `off`.
	Enabled pulumi.StringPtrInput
	// The connection timeout of the Listener.
	EstablishedTimeout pulumi.IntPtrInput
	// The config of health check.
	HealthCheck ListenerHealthCheckPtrInput
	// The name of the Listener.
	ListenerName pulumi.StringPtrInput
	// The region of the request.
	LoadBalancerId pulumi.StringInput
	// The persistence timeout of the Listener. Unit: second. Default is `1000`. When PersistenceType is configured as source_ip, the value range is 1-3600. When PersistenceType is configured as insert, the value range is 1-86400. This filed is valid only when the value of field `persistenceType` is `sourceIp` or `insert`.
	PersistenceTimeout pulumi.IntPtrInput
	// The persistence type of the Listener. Valid values: `off`, `sourceIp`, `insert`, `server`. Default is `off`.
	// `sourceIp`: Represents the source IP address, only effective for TCP/UDP protocols. `insert`: means implanting a cookie, only effective for HTTP/HTTPS protocol and when the scheduler is `wrr`. `server`: Indicates rewriting cookies, only effective for HTTP/HTTPS protocols and when the scheduler is `wrr`.
	PersistenceType pulumi.StringPtrInput
	// The port receiving request of the Listener, the value range in 1~65535.
	Port pulumi.IntInput
	// The protocol of the Listener. Optional choice contains `TCP`, `UDP`, `HTTP`, `HTTPS`.
	Protocol pulumi.StringInput
	// Whether to enable proxy protocol. Valid values: `off`, `standard`. Default is `off`.
	// This filed is valid only when the value of field `protocol` is `TCP` or `UDP`.
	ProxyProtocolType pulumi.StringPtrInput
	// The scheduling algorithm of the Listener. Optional choice contains `wrr`, `wlc`, `sh`.
	Scheduler pulumi.StringPtrInput
	// The server group id associated with the listener.
	ServerGroupId pulumi.StringInput
}

The set of arguments for constructing a Listener resource.

func (ListenerArgs) ElementType

func (ListenerArgs) ElementType() reflect.Type

type ListenerArray

type ListenerArray []ListenerInput

func (ListenerArray) ElementType

func (ListenerArray) ElementType() reflect.Type

func (ListenerArray) ToListenerArrayOutput

func (i ListenerArray) ToListenerArrayOutput() ListenerArrayOutput

func (ListenerArray) ToListenerArrayOutputWithContext

func (i ListenerArray) ToListenerArrayOutputWithContext(ctx context.Context) ListenerArrayOutput

type ListenerArrayInput

type ListenerArrayInput interface {
	pulumi.Input

	ToListenerArrayOutput() ListenerArrayOutput
	ToListenerArrayOutputWithContext(context.Context) ListenerArrayOutput
}

ListenerArrayInput is an input type that accepts ListenerArray and ListenerArrayOutput values. You can construct a concrete instance of `ListenerArrayInput` via:

ListenerArray{ ListenerArgs{...} }

type ListenerArrayOutput

type ListenerArrayOutput struct{ *pulumi.OutputState }

func (ListenerArrayOutput) ElementType

func (ListenerArrayOutput) ElementType() reflect.Type

func (ListenerArrayOutput) Index

func (ListenerArrayOutput) ToListenerArrayOutput

func (o ListenerArrayOutput) ToListenerArrayOutput() ListenerArrayOutput

func (ListenerArrayOutput) ToListenerArrayOutputWithContext

func (o ListenerArrayOutput) ToListenerArrayOutputWithContext(ctx context.Context) ListenerArrayOutput

type ListenerHealthCheck

type ListenerHealthCheck struct {
	// The domain of health check.
	Domain *string `pulumi:"domain"`
	// The enable status of health check function. Optional choice contains `on`, `off`.
	Enabled *string `pulumi:"enabled"`
	// The healthy threshold of health check, default 3, range in 2~10.
	HealthyThreshold *int `pulumi:"healthyThreshold"`
	// The normal http status code of health check, the value can be `http2xx` or `http3xx` or `http4xx` or `http5xx`.
	HttpCode *string `pulumi:"httpCode"`
	// The interval executing health check, default 2, range in 1~300.
	Interval *int `pulumi:"interval"`
	// The method of health check, the value can be `GET` or `HEAD`.
	Method *string `pulumi:"method"`
	// The response timeout of health check, default 2, range in 1~60..
	Timeout *int `pulumi:"timeout"`
	// The UDP expect of health check. This field must be specified simultaneously with field `udpRequest`.
	UdpExpect *string `pulumi:"udpExpect"`
	// The UDP request of health check. This field must be specified simultaneously with field `udpExpect`.
	UdpRequest *string `pulumi:"udpRequest"`
	// The unhealthy threshold of health check, default 3, range in 2~10.
	UnHealthyThreshold *int `pulumi:"unHealthyThreshold"`
	// The uri of health check.
	Uri *string `pulumi:"uri"`
}

type ListenerHealthCheckArgs

type ListenerHealthCheckArgs struct {
	// The domain of health check.
	Domain pulumi.StringPtrInput `pulumi:"domain"`
	// The enable status of health check function. Optional choice contains `on`, `off`.
	Enabled pulumi.StringPtrInput `pulumi:"enabled"`
	// The healthy threshold of health check, default 3, range in 2~10.
	HealthyThreshold pulumi.IntPtrInput `pulumi:"healthyThreshold"`
	// The normal http status code of health check, the value can be `http2xx` or `http3xx` or `http4xx` or `http5xx`.
	HttpCode pulumi.StringPtrInput `pulumi:"httpCode"`
	// The interval executing health check, default 2, range in 1~300.
	Interval pulumi.IntPtrInput `pulumi:"interval"`
	// The method of health check, the value can be `GET` or `HEAD`.
	Method pulumi.StringPtrInput `pulumi:"method"`
	// The response timeout of health check, default 2, range in 1~60..
	Timeout pulumi.IntPtrInput `pulumi:"timeout"`
	// The UDP expect of health check. This field must be specified simultaneously with field `udpRequest`.
	UdpExpect pulumi.StringPtrInput `pulumi:"udpExpect"`
	// The UDP request of health check. This field must be specified simultaneously with field `udpExpect`.
	UdpRequest pulumi.StringPtrInput `pulumi:"udpRequest"`
	// The unhealthy threshold of health check, default 3, range in 2~10.
	UnHealthyThreshold pulumi.IntPtrInput `pulumi:"unHealthyThreshold"`
	// The uri of health check.
	Uri pulumi.StringPtrInput `pulumi:"uri"`
}

func (ListenerHealthCheckArgs) ElementType

func (ListenerHealthCheckArgs) ElementType() reflect.Type

func (ListenerHealthCheckArgs) ToListenerHealthCheckOutput

func (i ListenerHealthCheckArgs) ToListenerHealthCheckOutput() ListenerHealthCheckOutput

func (ListenerHealthCheckArgs) ToListenerHealthCheckOutputWithContext

func (i ListenerHealthCheckArgs) ToListenerHealthCheckOutputWithContext(ctx context.Context) ListenerHealthCheckOutput

func (ListenerHealthCheckArgs) ToListenerHealthCheckPtrOutput

func (i ListenerHealthCheckArgs) ToListenerHealthCheckPtrOutput() ListenerHealthCheckPtrOutput

func (ListenerHealthCheckArgs) ToListenerHealthCheckPtrOutputWithContext

func (i ListenerHealthCheckArgs) ToListenerHealthCheckPtrOutputWithContext(ctx context.Context) ListenerHealthCheckPtrOutput

type ListenerHealthCheckInput

type ListenerHealthCheckInput interface {
	pulumi.Input

	ToListenerHealthCheckOutput() ListenerHealthCheckOutput
	ToListenerHealthCheckOutputWithContext(context.Context) ListenerHealthCheckOutput
}

ListenerHealthCheckInput is an input type that accepts ListenerHealthCheckArgs and ListenerHealthCheckOutput values. You can construct a concrete instance of `ListenerHealthCheckInput` via:

ListenerHealthCheckArgs{...}

type ListenerHealthCheckOutput

type ListenerHealthCheckOutput struct{ *pulumi.OutputState }

func (ListenerHealthCheckOutput) Domain

The domain of health check.

func (ListenerHealthCheckOutput) ElementType

func (ListenerHealthCheckOutput) ElementType() reflect.Type

func (ListenerHealthCheckOutput) Enabled

The enable status of health check function. Optional choice contains `on`, `off`.

func (ListenerHealthCheckOutput) HealthyThreshold

func (o ListenerHealthCheckOutput) HealthyThreshold() pulumi.IntPtrOutput

The healthy threshold of health check, default 3, range in 2~10.

func (ListenerHealthCheckOutput) HttpCode

The normal http status code of health check, the value can be `http2xx` or `http3xx` or `http4xx` or `http5xx`.

func (ListenerHealthCheckOutput) Interval

The interval executing health check, default 2, range in 1~300.

func (ListenerHealthCheckOutput) Method

The method of health check, the value can be `GET` or `HEAD`.

func (ListenerHealthCheckOutput) Timeout

The response timeout of health check, default 2, range in 1~60..

func (ListenerHealthCheckOutput) ToListenerHealthCheckOutput

func (o ListenerHealthCheckOutput) ToListenerHealthCheckOutput() ListenerHealthCheckOutput

func (ListenerHealthCheckOutput) ToListenerHealthCheckOutputWithContext

func (o ListenerHealthCheckOutput) ToListenerHealthCheckOutputWithContext(ctx context.Context) ListenerHealthCheckOutput

func (ListenerHealthCheckOutput) ToListenerHealthCheckPtrOutput

func (o ListenerHealthCheckOutput) ToListenerHealthCheckPtrOutput() ListenerHealthCheckPtrOutput

func (ListenerHealthCheckOutput) ToListenerHealthCheckPtrOutputWithContext

func (o ListenerHealthCheckOutput) ToListenerHealthCheckPtrOutputWithContext(ctx context.Context) ListenerHealthCheckPtrOutput

func (ListenerHealthCheckOutput) UdpExpect

The UDP expect of health check. This field must be specified simultaneously with field `udpRequest`.

func (ListenerHealthCheckOutput) UdpRequest

The UDP request of health check. This field must be specified simultaneously with field `udpExpect`.

func (ListenerHealthCheckOutput) UnHealthyThreshold

func (o ListenerHealthCheckOutput) UnHealthyThreshold() pulumi.IntPtrOutput

The unhealthy threshold of health check, default 3, range in 2~10.

func (ListenerHealthCheckOutput) Uri

The uri of health check.

type ListenerHealthCheckPtrInput

type ListenerHealthCheckPtrInput interface {
	pulumi.Input

	ToListenerHealthCheckPtrOutput() ListenerHealthCheckPtrOutput
	ToListenerHealthCheckPtrOutputWithContext(context.Context) ListenerHealthCheckPtrOutput
}

ListenerHealthCheckPtrInput is an input type that accepts ListenerHealthCheckArgs, ListenerHealthCheckPtr and ListenerHealthCheckPtrOutput values. You can construct a concrete instance of `ListenerHealthCheckPtrInput` via:

        ListenerHealthCheckArgs{...}

or:

        nil

type ListenerHealthCheckPtrOutput

type ListenerHealthCheckPtrOutput struct{ *pulumi.OutputState }

func (ListenerHealthCheckPtrOutput) Domain

The domain of health check.

func (ListenerHealthCheckPtrOutput) Elem

func (ListenerHealthCheckPtrOutput) ElementType

func (ListenerHealthCheckPtrOutput) Enabled

The enable status of health check function. Optional choice contains `on`, `off`.

func (ListenerHealthCheckPtrOutput) HealthyThreshold

func (o ListenerHealthCheckPtrOutput) HealthyThreshold() pulumi.IntPtrOutput

The healthy threshold of health check, default 3, range in 2~10.

func (ListenerHealthCheckPtrOutput) HttpCode

The normal http status code of health check, the value can be `http2xx` or `http3xx` or `http4xx` or `http5xx`.

func (ListenerHealthCheckPtrOutput) Interval

The interval executing health check, default 2, range in 1~300.

func (ListenerHealthCheckPtrOutput) Method

The method of health check, the value can be `GET` or `HEAD`.

func (ListenerHealthCheckPtrOutput) Timeout

The response timeout of health check, default 2, range in 1~60..

func (ListenerHealthCheckPtrOutput) ToListenerHealthCheckPtrOutput

func (o ListenerHealthCheckPtrOutput) ToListenerHealthCheckPtrOutput() ListenerHealthCheckPtrOutput

func (ListenerHealthCheckPtrOutput) ToListenerHealthCheckPtrOutputWithContext

func (o ListenerHealthCheckPtrOutput) ToListenerHealthCheckPtrOutputWithContext(ctx context.Context) ListenerHealthCheckPtrOutput

func (ListenerHealthCheckPtrOutput) UdpExpect

The UDP expect of health check. This field must be specified simultaneously with field `udpRequest`.

func (ListenerHealthCheckPtrOutput) UdpRequest

The UDP request of health check. This field must be specified simultaneously with field `udpExpect`.

func (ListenerHealthCheckPtrOutput) UnHealthyThreshold

func (o ListenerHealthCheckPtrOutput) UnHealthyThreshold() pulumi.IntPtrOutput

The unhealthy threshold of health check, default 3, range in 2~10.

func (ListenerHealthCheckPtrOutput) Uri

The uri of health check.

type ListenerInput

type ListenerInput interface {
	pulumi.Input

	ToListenerOutput() ListenerOutput
	ToListenerOutputWithContext(ctx context.Context) ListenerOutput
}

type ListenerMap

type ListenerMap map[string]ListenerInput

func (ListenerMap) ElementType

func (ListenerMap) ElementType() reflect.Type

func (ListenerMap) ToListenerMapOutput

func (i ListenerMap) ToListenerMapOutput() ListenerMapOutput

func (ListenerMap) ToListenerMapOutputWithContext

func (i ListenerMap) ToListenerMapOutputWithContext(ctx context.Context) ListenerMapOutput

type ListenerMapInput

type ListenerMapInput interface {
	pulumi.Input

	ToListenerMapOutput() ListenerMapOutput
	ToListenerMapOutputWithContext(context.Context) ListenerMapOutput
}

ListenerMapInput is an input type that accepts ListenerMap and ListenerMapOutput values. You can construct a concrete instance of `ListenerMapInput` via:

ListenerMap{ "key": ListenerArgs{...} }

type ListenerMapOutput

type ListenerMapOutput struct{ *pulumi.OutputState }

func (ListenerMapOutput) ElementType

func (ListenerMapOutput) ElementType() reflect.Type

func (ListenerMapOutput) MapIndex

func (ListenerMapOutput) ToListenerMapOutput

func (o ListenerMapOutput) ToListenerMapOutput() ListenerMapOutput

func (ListenerMapOutput) ToListenerMapOutputWithContext

func (o ListenerMapOutput) ToListenerMapOutputWithContext(ctx context.Context) ListenerMapOutput

type ListenerOutput

type ListenerOutput struct{ *pulumi.OutputState }

func (ListenerOutput) AclIds

The id list of the Acl.

func (ListenerOutput) AclStatus

func (o ListenerOutput) AclStatus() pulumi.StringOutput

The enable status of Acl. Optional choice contains `on`, `off`.

func (ListenerOutput) AclType

func (o ListenerOutput) AclType() pulumi.StringOutput

The type of the Acl. Optional choice contains `white`, `black`.

func (ListenerOutput) Bandwidth added in v0.0.20

func (o ListenerOutput) Bandwidth() pulumi.IntPtrOutput

The bandwidth of the Listener. Unit: Mbps. Default is -1, indicating that the Listener does not specify a speed limit.

func (ListenerOutput) CertificateId

func (o ListenerOutput) CertificateId() pulumi.StringPtrOutput

The certificate id associated with the listener.

func (ListenerOutput) ConnectionDrainEnabled added in v0.0.20

func (o ListenerOutput) ConnectionDrainEnabled() pulumi.StringPtrOutput

Whether to enable connection drain of the Listener. Valid values: `off`, `on`. Default is `off`. This filed is valid only when the value of field `protocol` is `TCP` or `UDP`.

func (ListenerOutput) ConnectionDrainTimeout added in v0.0.20

func (o ListenerOutput) ConnectionDrainTimeout() pulumi.IntOutput

The connection drain timeout of the Listener. Valid value range is `1-900`. This filed is required when the value of field `connectionDrainEnabled` is `on`.

func (ListenerOutput) Cookie added in v0.0.23

The name of the cookie for session persistence configured on the backend server. When PersistenceType is configured as `server`, this parameter is required. When PersistenceType is configured as any other value, this parameter is not effective.

func (ListenerOutput) Description

func (o ListenerOutput) Description() pulumi.StringPtrOutput

The description of the Listener.

func (ListenerOutput) ElementType

func (ListenerOutput) ElementType() reflect.Type

func (ListenerOutput) Enabled

func (o ListenerOutput) Enabled() pulumi.StringOutput

The enable status of the Listener. Optional choice contains `on`, `off`.

func (ListenerOutput) EstablishedTimeout

func (o ListenerOutput) EstablishedTimeout() pulumi.IntOutput

The connection timeout of the Listener.

func (ListenerOutput) HealthCheck

func (o ListenerOutput) HealthCheck() ListenerHealthCheckOutput

The config of health check.

func (ListenerOutput) ListenerId

func (o ListenerOutput) ListenerId() pulumi.StringOutput

The ID of the Listener.

func (ListenerOutput) ListenerName

func (o ListenerOutput) ListenerName() pulumi.StringOutput

The name of the Listener.

func (ListenerOutput) LoadBalancerId

func (o ListenerOutput) LoadBalancerId() pulumi.StringOutput

The region of the request.

func (ListenerOutput) PersistenceTimeout added in v0.0.20

func (o ListenerOutput) PersistenceTimeout() pulumi.IntPtrOutput

The persistence timeout of the Listener. Unit: second. Default is `1000`. When PersistenceType is configured as source_ip, the value range is 1-3600. When PersistenceType is configured as insert, the value range is 1-86400. This filed is valid only when the value of field `persistenceType` is `sourceIp` or `insert`.

func (ListenerOutput) PersistenceType added in v0.0.20

func (o ListenerOutput) PersistenceType() pulumi.StringPtrOutput

The persistence type of the Listener. Valid values: `off`, `sourceIp`, `insert`, `server`. Default is `off`. `sourceIp`: Represents the source IP address, only effective for TCP/UDP protocols. `insert`: means implanting a cookie, only effective for HTTP/HTTPS protocol and when the scheduler is `wrr`. `server`: Indicates rewriting cookies, only effective for HTTP/HTTPS protocols and when the scheduler is `wrr`.

func (ListenerOutput) Port

func (o ListenerOutput) Port() pulumi.IntOutput

The port receiving request of the Listener, the value range in 1~65535.

func (ListenerOutput) Protocol

func (o ListenerOutput) Protocol() pulumi.StringOutput

The protocol of the Listener. Optional choice contains `TCP`, `UDP`, `HTTP`, `HTTPS`.

func (ListenerOutput) ProxyProtocolType added in v0.0.20

func (o ListenerOutput) ProxyProtocolType() pulumi.StringPtrOutput

Whether to enable proxy protocol. Valid values: `off`, `standard`. Default is `off`. This filed is valid only when the value of field `protocol` is `TCP` or `UDP`.

func (ListenerOutput) Scheduler

func (o ListenerOutput) Scheduler() pulumi.StringOutput

The scheduling algorithm of the Listener. Optional choice contains `wrr`, `wlc`, `sh`.

func (ListenerOutput) ServerGroupId

func (o ListenerOutput) ServerGroupId() pulumi.StringOutput

The server group id associated with the listener.

func (ListenerOutput) ToListenerOutput

func (o ListenerOutput) ToListenerOutput() ListenerOutput

func (ListenerOutput) ToListenerOutputWithContext

func (o ListenerOutput) ToListenerOutputWithContext(ctx context.Context) ListenerOutput

type ListenerState

type ListenerState struct {
	// The id list of the Acl.
	AclIds pulumi.StringArrayInput
	// The enable status of Acl. Optional choice contains `on`, `off`.
	AclStatus pulumi.StringPtrInput
	// The type of the Acl. Optional choice contains `white`, `black`.
	AclType pulumi.StringPtrInput
	// The bandwidth of the Listener. Unit: Mbps. Default is -1, indicating that the Listener does not specify a speed limit.
	Bandwidth pulumi.IntPtrInput
	// The certificate id associated with the listener.
	CertificateId pulumi.StringPtrInput
	// Whether to enable connection drain of the Listener. Valid values: `off`, `on`. Default is `off`.
	// This filed is valid only when the value of field `protocol` is `TCP` or `UDP`.
	ConnectionDrainEnabled pulumi.StringPtrInput
	// The connection drain timeout of the Listener. Valid value range is `1-900`.
	// This filed is required when the value of field `connectionDrainEnabled` is `on`.
	ConnectionDrainTimeout pulumi.IntPtrInput
	// The name of the cookie for session persistence configured on the backend server. When PersistenceType is configured as `server`, this parameter is required. When PersistenceType is configured as any other value, this parameter is not effective.
	Cookie pulumi.StringPtrInput
	// The description of the Listener.
	Description pulumi.StringPtrInput
	// The enable status of the Listener. Optional choice contains `on`, `off`.
	Enabled pulumi.StringPtrInput
	// The connection timeout of the Listener.
	EstablishedTimeout pulumi.IntPtrInput
	// The config of health check.
	HealthCheck ListenerHealthCheckPtrInput
	// The ID of the Listener.
	ListenerId pulumi.StringPtrInput
	// The name of the Listener.
	ListenerName pulumi.StringPtrInput
	// The region of the request.
	LoadBalancerId pulumi.StringPtrInput
	// The persistence timeout of the Listener. Unit: second. Default is `1000`. When PersistenceType is configured as source_ip, the value range is 1-3600. When PersistenceType is configured as insert, the value range is 1-86400. This filed is valid only when the value of field `persistenceType` is `sourceIp` or `insert`.
	PersistenceTimeout pulumi.IntPtrInput
	// The persistence type of the Listener. Valid values: `off`, `sourceIp`, `insert`, `server`. Default is `off`.
	// `sourceIp`: Represents the source IP address, only effective for TCP/UDP protocols. `insert`: means implanting a cookie, only effective for HTTP/HTTPS protocol and when the scheduler is `wrr`. `server`: Indicates rewriting cookies, only effective for HTTP/HTTPS protocols and when the scheduler is `wrr`.
	PersistenceType pulumi.StringPtrInput
	// The port receiving request of the Listener, the value range in 1~65535.
	Port pulumi.IntPtrInput
	// The protocol of the Listener. Optional choice contains `TCP`, `UDP`, `HTTP`, `HTTPS`.
	Protocol pulumi.StringPtrInput
	// Whether to enable proxy protocol. Valid values: `off`, `standard`. Default is `off`.
	// This filed is valid only when the value of field `protocol` is `TCP` or `UDP`.
	ProxyProtocolType pulumi.StringPtrInput
	// The scheduling algorithm of the Listener. Optional choice contains `wrr`, `wlc`, `sh`.
	Scheduler pulumi.StringPtrInput
	// The server group id associated with the listener.
	ServerGroupId pulumi.StringPtrInput
}

func (ListenerState) ElementType

func (ListenerState) ElementType() reflect.Type

type ListenersArgs

type ListenersArgs struct {
	// A list of Listener IDs.
	Ids []string `pulumi:"ids"`
	// The name of the Listener.
	ListenerName *string `pulumi:"listenerName"`
	// The id of the Clb.
	LoadBalancerId *string `pulumi:"loadBalancerId"`
	// A Name Regex of Listener.
	NameRegex *string `pulumi:"nameRegex"`
	// File name where to save data source results.
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking Listeners.

type ListenersListener

type ListenersListener struct {
	// The acl ID list to which the Listener is bound.
	AclIds []string `pulumi:"aclIds"`
	// The acl status of the Listener.
	AclStatus string `pulumi:"aclStatus"`
	// The acl type of the Listener.
	AclType string `pulumi:"aclType"`
	// The bandwidth of the Listener. Unit: Mbps.
	Bandwidth int `pulumi:"bandwidth"`
	// The ID of the certificate which is associated with the Listener.
	CertificateId string `pulumi:"certificateId"`
	// Whether to enable connection drain of the Listener.
	ConnectionDrainEnabled string `pulumi:"connectionDrainEnabled"`
	// The connection drain timeout of the Listener.
	ConnectionDrainTimeout int `pulumi:"connectionDrainTimeout"`
	// The name of the cookie for session persistence configured on the backend server.
	Cookie string `pulumi:"cookie"`
	// The create time of the Listener.
	CreateTime string `pulumi:"createTime"`
	// The enable status of the Listener.
	Enabled string `pulumi:"enabled"`
	// The domain of health check.
	HealthCheckDomain string `pulumi:"healthCheckDomain"`
	// The enable status of health check function.
	HealthCheckEnabled string `pulumi:"healthCheckEnabled"`
	// The healthy threshold of health check.
	HealthCheckHealthyThreshold int `pulumi:"healthCheckHealthyThreshold"`
	// The normal http status code of health check.
	HealthCheckHttpCode string `pulumi:"healthCheckHttpCode"`
	// The interval executing health check.
	HealthCheckInterval int `pulumi:"healthCheckInterval"`
	// The method of health check.
	HealthCheckMethod string `pulumi:"healthCheckMethod"`
	// The response timeout of health check.
	HealthCheckTimeout int `pulumi:"healthCheckTimeout"`
	// The expected response string for the health check.
	HealthCheckUdpExpect string `pulumi:"healthCheckUdpExpect"`
	// A request string to perform a health check.
	HealthCheckUdpRequest string `pulumi:"healthCheckUdpRequest"`
	// The unhealthy threshold of health check.
	HealthCheckUnHealthyThreshold int `pulumi:"healthCheckUnHealthyThreshold"`
	// The uri of health check.
	HealthCheckUri string `pulumi:"healthCheckUri"`
	// The ID of the Listener.
	Id string `pulumi:"id"`
	// The ID of the Listener.
	ListenerId string `pulumi:"listenerId"`
	// The name of the Listener.
	ListenerName string `pulumi:"listenerName"`
	// The persistence timeout of the Listener.
	PersistenceTimeout int `pulumi:"persistenceTimeout"`
	// The persistence type of the Listener.
	PersistenceType string `pulumi:"persistenceType"`
	// The port receiving request of the Listener.
	Port int `pulumi:"port"`
	// The protocol of the Listener.
	Protocol string `pulumi:"protocol"`
	// Whether to enable proxy protocol.
	ProxyProtocolType string `pulumi:"proxyProtocolType"`
	// The ID of the backend server group which is associated with the Listener.
	ServerGroupId string `pulumi:"serverGroupId"`
	// The status of the Listener.
	Status string `pulumi:"status"`
	// The update time of the Listener.
	UpdateTime string `pulumi:"updateTime"`
}

type ListenersListenerArgs

type ListenersListenerArgs struct {
	// The acl ID list to which the Listener is bound.
	AclIds pulumi.StringArrayInput `pulumi:"aclIds"`
	// The acl status of the Listener.
	AclStatus pulumi.StringInput `pulumi:"aclStatus"`
	// The acl type of the Listener.
	AclType pulumi.StringInput `pulumi:"aclType"`
	// The bandwidth of the Listener. Unit: Mbps.
	Bandwidth pulumi.IntInput `pulumi:"bandwidth"`
	// The ID of the certificate which is associated with the Listener.
	CertificateId pulumi.StringInput `pulumi:"certificateId"`
	// Whether to enable connection drain of the Listener.
	ConnectionDrainEnabled pulumi.StringInput `pulumi:"connectionDrainEnabled"`
	// The connection drain timeout of the Listener.
	ConnectionDrainTimeout pulumi.IntInput `pulumi:"connectionDrainTimeout"`
	// The name of the cookie for session persistence configured on the backend server.
	Cookie pulumi.StringInput `pulumi:"cookie"`
	// The create time of the Listener.
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// The enable status of the Listener.
	Enabled pulumi.StringInput `pulumi:"enabled"`
	// The domain of health check.
	HealthCheckDomain pulumi.StringInput `pulumi:"healthCheckDomain"`
	// The enable status of health check function.
	HealthCheckEnabled pulumi.StringInput `pulumi:"healthCheckEnabled"`
	// The healthy threshold of health check.
	HealthCheckHealthyThreshold pulumi.IntInput `pulumi:"healthCheckHealthyThreshold"`
	// The normal http status code of health check.
	HealthCheckHttpCode pulumi.StringInput `pulumi:"healthCheckHttpCode"`
	// The interval executing health check.
	HealthCheckInterval pulumi.IntInput `pulumi:"healthCheckInterval"`
	// The method of health check.
	HealthCheckMethod pulumi.StringInput `pulumi:"healthCheckMethod"`
	// The response timeout of health check.
	HealthCheckTimeout pulumi.IntInput `pulumi:"healthCheckTimeout"`
	// The expected response string for the health check.
	HealthCheckUdpExpect pulumi.StringInput `pulumi:"healthCheckUdpExpect"`
	// A request string to perform a health check.
	HealthCheckUdpRequest pulumi.StringInput `pulumi:"healthCheckUdpRequest"`
	// The unhealthy threshold of health check.
	HealthCheckUnHealthyThreshold pulumi.IntInput `pulumi:"healthCheckUnHealthyThreshold"`
	// The uri of health check.
	HealthCheckUri pulumi.StringInput `pulumi:"healthCheckUri"`
	// The ID of the Listener.
	Id pulumi.StringInput `pulumi:"id"`
	// The ID of the Listener.
	ListenerId pulumi.StringInput `pulumi:"listenerId"`
	// The name of the Listener.
	ListenerName pulumi.StringInput `pulumi:"listenerName"`
	// The persistence timeout of the Listener.
	PersistenceTimeout pulumi.IntInput `pulumi:"persistenceTimeout"`
	// The persistence type of the Listener.
	PersistenceType pulumi.StringInput `pulumi:"persistenceType"`
	// The port receiving request of the Listener.
	Port pulumi.IntInput `pulumi:"port"`
	// The protocol of the Listener.
	Protocol pulumi.StringInput `pulumi:"protocol"`
	// Whether to enable proxy protocol.
	ProxyProtocolType pulumi.StringInput `pulumi:"proxyProtocolType"`
	// The ID of the backend server group which is associated with the Listener.
	ServerGroupId pulumi.StringInput `pulumi:"serverGroupId"`
	// The status of the Listener.
	Status pulumi.StringInput `pulumi:"status"`
	// The update time of the Listener.
	UpdateTime pulumi.StringInput `pulumi:"updateTime"`
}

func (ListenersListenerArgs) ElementType

func (ListenersListenerArgs) ElementType() reflect.Type

func (ListenersListenerArgs) ToListenersListenerOutput

func (i ListenersListenerArgs) ToListenersListenerOutput() ListenersListenerOutput

func (ListenersListenerArgs) ToListenersListenerOutputWithContext

func (i ListenersListenerArgs) ToListenersListenerOutputWithContext(ctx context.Context) ListenersListenerOutput

type ListenersListenerArray

type ListenersListenerArray []ListenersListenerInput

func (ListenersListenerArray) ElementType

func (ListenersListenerArray) ElementType() reflect.Type

func (ListenersListenerArray) ToListenersListenerArrayOutput

func (i ListenersListenerArray) ToListenersListenerArrayOutput() ListenersListenerArrayOutput

func (ListenersListenerArray) ToListenersListenerArrayOutputWithContext

func (i ListenersListenerArray) ToListenersListenerArrayOutputWithContext(ctx context.Context) ListenersListenerArrayOutput

type ListenersListenerArrayInput

type ListenersListenerArrayInput interface {
	pulumi.Input

	ToListenersListenerArrayOutput() ListenersListenerArrayOutput
	ToListenersListenerArrayOutputWithContext(context.Context) ListenersListenerArrayOutput
}

ListenersListenerArrayInput is an input type that accepts ListenersListenerArray and ListenersListenerArrayOutput values. You can construct a concrete instance of `ListenersListenerArrayInput` via:

ListenersListenerArray{ ListenersListenerArgs{...} }

type ListenersListenerArrayOutput

type ListenersListenerArrayOutput struct{ *pulumi.OutputState }

func (ListenersListenerArrayOutput) ElementType

func (ListenersListenerArrayOutput) Index

func (ListenersListenerArrayOutput) ToListenersListenerArrayOutput

func (o ListenersListenerArrayOutput) ToListenersListenerArrayOutput() ListenersListenerArrayOutput

func (ListenersListenerArrayOutput) ToListenersListenerArrayOutputWithContext

func (o ListenersListenerArrayOutput) ToListenersListenerArrayOutputWithContext(ctx context.Context) ListenersListenerArrayOutput

type ListenersListenerInput

type ListenersListenerInput interface {
	pulumi.Input

	ToListenersListenerOutput() ListenersListenerOutput
	ToListenersListenerOutputWithContext(context.Context) ListenersListenerOutput
}

ListenersListenerInput is an input type that accepts ListenersListenerArgs and ListenersListenerOutput values. You can construct a concrete instance of `ListenersListenerInput` via:

ListenersListenerArgs{...}

type ListenersListenerOutput

type ListenersListenerOutput struct{ *pulumi.OutputState }

func (ListenersListenerOutput) AclIds

The acl ID list to which the Listener is bound.

func (ListenersListenerOutput) AclStatus

The acl status of the Listener.

func (ListenersListenerOutput) AclType

The acl type of the Listener.

func (ListenersListenerOutput) Bandwidth added in v0.0.20

The bandwidth of the Listener. Unit: Mbps.

func (ListenersListenerOutput) CertificateId

func (o ListenersListenerOutput) CertificateId() pulumi.StringOutput

The ID of the certificate which is associated with the Listener.

func (ListenersListenerOutput) ConnectionDrainEnabled added in v0.0.20

func (o ListenersListenerOutput) ConnectionDrainEnabled() pulumi.StringOutput

Whether to enable connection drain of the Listener.

func (ListenersListenerOutput) ConnectionDrainTimeout added in v0.0.20

func (o ListenersListenerOutput) ConnectionDrainTimeout() pulumi.IntOutput

The connection drain timeout of the Listener.

func (ListenersListenerOutput) Cookie added in v0.0.23

The name of the cookie for session persistence configured on the backend server.

func (ListenersListenerOutput) CreateTime

The create time of the Listener.

func (ListenersListenerOutput) ElementType

func (ListenersListenerOutput) ElementType() reflect.Type

func (ListenersListenerOutput) Enabled

The enable status of the Listener.

func (ListenersListenerOutput) HealthCheckDomain

func (o ListenersListenerOutput) HealthCheckDomain() pulumi.StringOutput

The domain of health check.

func (ListenersListenerOutput) HealthCheckEnabled

func (o ListenersListenerOutput) HealthCheckEnabled() pulumi.StringOutput

The enable status of health check function.

func (ListenersListenerOutput) HealthCheckHealthyThreshold

func (o ListenersListenerOutput) HealthCheckHealthyThreshold() pulumi.IntOutput

The healthy threshold of health check.

func (ListenersListenerOutput) HealthCheckHttpCode

func (o ListenersListenerOutput) HealthCheckHttpCode() pulumi.StringOutput

The normal http status code of health check.

func (ListenersListenerOutput) HealthCheckInterval

func (o ListenersListenerOutput) HealthCheckInterval() pulumi.IntOutput

The interval executing health check.

func (ListenersListenerOutput) HealthCheckMethod

func (o ListenersListenerOutput) HealthCheckMethod() pulumi.StringOutput

The method of health check.

func (ListenersListenerOutput) HealthCheckTimeout

func (o ListenersListenerOutput) HealthCheckTimeout() pulumi.IntOutput

The response timeout of health check.

func (ListenersListenerOutput) HealthCheckUdpExpect

func (o ListenersListenerOutput) HealthCheckUdpExpect() pulumi.StringOutput

The expected response string for the health check.

func (ListenersListenerOutput) HealthCheckUdpRequest

func (o ListenersListenerOutput) HealthCheckUdpRequest() pulumi.StringOutput

A request string to perform a health check.

func (ListenersListenerOutput) HealthCheckUnHealthyThreshold

func (o ListenersListenerOutput) HealthCheckUnHealthyThreshold() pulumi.IntOutput

The unhealthy threshold of health check.

func (ListenersListenerOutput) HealthCheckUri

func (o ListenersListenerOutput) HealthCheckUri() pulumi.StringOutput

The uri of health check.

func (ListenersListenerOutput) Id

The ID of the Listener.

func (ListenersListenerOutput) ListenerId

The ID of the Listener.

func (ListenersListenerOutput) ListenerName

func (o ListenersListenerOutput) ListenerName() pulumi.StringOutput

The name of the Listener.

func (ListenersListenerOutput) PersistenceTimeout added in v0.0.20

func (o ListenersListenerOutput) PersistenceTimeout() pulumi.IntOutput

The persistence timeout of the Listener.

func (ListenersListenerOutput) PersistenceType added in v0.0.20

func (o ListenersListenerOutput) PersistenceType() pulumi.StringOutput

The persistence type of the Listener.

func (ListenersListenerOutput) Port

The port receiving request of the Listener.

func (ListenersListenerOutput) Protocol

The protocol of the Listener.

func (ListenersListenerOutput) ProxyProtocolType added in v0.0.20

func (o ListenersListenerOutput) ProxyProtocolType() pulumi.StringOutput

Whether to enable proxy protocol.

func (ListenersListenerOutput) ServerGroupId

func (o ListenersListenerOutput) ServerGroupId() pulumi.StringOutput

The ID of the backend server group which is associated with the Listener.

func (ListenersListenerOutput) Status

The status of the Listener.

func (ListenersListenerOutput) ToListenersListenerOutput

func (o ListenersListenerOutput) ToListenersListenerOutput() ListenersListenerOutput

func (ListenersListenerOutput) ToListenersListenerOutputWithContext

func (o ListenersListenerOutput) ToListenersListenerOutputWithContext(ctx context.Context) ListenersListenerOutput

func (ListenersListenerOutput) UpdateTime

The update time of the Listener.

type ListenersOutputArgs

type ListenersOutputArgs struct {
	// A list of Listener IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// The name of the Listener.
	ListenerName pulumi.StringPtrInput `pulumi:"listenerName"`
	// The id of the Clb.
	LoadBalancerId pulumi.StringPtrInput `pulumi:"loadBalancerId"`
	// A Name Regex of Listener.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	// File name where to save data source results.
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking Listeners.

func (ListenersOutputArgs) ElementType

func (ListenersOutputArgs) ElementType() reflect.Type

type ListenersResult

type ListenersResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id  string   `pulumi:"id"`
	Ids []string `pulumi:"ids"`
	// The name of the Listener.
	ListenerName *string `pulumi:"listenerName"`
	// The collection of Listener query.
	Listeners      []ListenersListener `pulumi:"listeners"`
	LoadBalancerId *string             `pulumi:"loadBalancerId"`
	NameRegex      *string             `pulumi:"nameRegex"`
	OutputFile     *string             `pulumi:"outputFile"`
	// The total count of Listener query.
	TotalCount int `pulumi:"totalCount"`
}

A collection of values returned by Listeners.

func Listeners

func Listeners(ctx *pulumi.Context, args *ListenersArgs, opts ...pulumi.InvokeOption) (*ListenersResult, error)

Use this data source to query detailed information of listeners ## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/clb"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		fooZones, err := ecs.Zones(ctx, nil, nil)
		if err != nil {
			return err
		}
		fooVpc, err := vpc.NewVpc(ctx, "fooVpc", &vpc.VpcArgs{
			VpcName:   pulumi.String("acc-test-vpc"),
			CidrBlock: pulumi.String("172.16.0.0/16"),
		})
		if err != nil {
			return err
		}
		fooSubnet, err := vpc.NewSubnet(ctx, "fooSubnet", &vpc.SubnetArgs{
			SubnetName: pulumi.String("acc-test-subnet"),
			CidrBlock:  pulumi.String("172.16.0.0/24"),
			ZoneId:     *pulumi.String(fooZones.Zones[0].Id),
			VpcId:      fooVpc.ID(),
		})
		if err != nil {
			return err
		}
		fooClb, err := clb.NewClb(ctx, "fooClb", &clb.ClbArgs{
			Type:             pulumi.String("public"),
			SubnetId:         fooSubnet.ID(),
			LoadBalancerSpec: pulumi.String("small_1"),
			Description:      pulumi.String("acc0Demo"),
			LoadBalancerName: pulumi.String("acc-test-create"),
			EipBillingConfig: &clb.ClbEipBillingConfigArgs{
				Isp:            pulumi.String("BGP"),
				EipBillingType: pulumi.String("PostPaidByBandwidth"),
				Bandwidth:      pulumi.Int(1),
			},
		})
		if err != nil {
			return err
		}
		fooServerGroup, err := clb.NewServerGroup(ctx, "fooServerGroup", &clb.ServerGroupArgs{
			LoadBalancerId:  fooClb.ID(),
			ServerGroupName: pulumi.String("acc-test-create"),
			Description:     pulumi.String("hello demo11"),
		})
		if err != nil {
			return err
		}
		fooListener, err := clb.NewListener(ctx, "fooListener", &clb.ListenerArgs{
			LoadBalancerId: fooClb.ID(),
			ListenerName:   pulumi.String("acc-test-listener"),
			Protocol:       pulumi.String("HTTP"),
			Port:           pulumi.Int(90),
			ServerGroupId:  fooServerGroup.ID(),
			HealthCheck: &clb.ListenerHealthCheckArgs{
				Enabled:            pulumi.String("on"),
				Interval:           pulumi.Int(10),
				Timeout:            pulumi.Int(3),
				HealthyThreshold:   pulumi.Int(5),
				UnHealthyThreshold: pulumi.Int(2),
				Domain:             pulumi.String("volcengine.com"),
				HttpCode:           pulumi.String("http_2xx"),
				Method:             pulumi.String("GET"),
				Uri:                pulumi.String("/"),
			},
			Enabled: pulumi.String("on"),
		})
		if err != nil {
			return err
		}
		_ = clb.ListenersOutput(ctx, clb.ListenersOutputArgs{
			Ids: pulumi.StringArray{
				fooListener.ID(),
			},
		}, nil)
		return nil
	})
}

```

type ListenersResultOutput

type ListenersResultOutput struct{ *pulumi.OutputState }

A collection of values returned by Listeners.

func (ListenersResultOutput) ElementType

func (ListenersResultOutput) ElementType() reflect.Type

func (ListenersResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (ListenersResultOutput) Ids

func (ListenersResultOutput) ListenerName

func (o ListenersResultOutput) ListenerName() pulumi.StringPtrOutput

The name of the Listener.

func (ListenersResultOutput) Listeners

The collection of Listener query.

func (ListenersResultOutput) LoadBalancerId

func (o ListenersResultOutput) LoadBalancerId() pulumi.StringPtrOutput

func (ListenersResultOutput) NameRegex

func (ListenersResultOutput) OutputFile

func (ListenersResultOutput) ToListenersResultOutput

func (o ListenersResultOutput) ToListenersResultOutput() ListenersResultOutput

func (ListenersResultOutput) ToListenersResultOutputWithContext

func (o ListenersResultOutput) ToListenersResultOutputWithContext(ctx context.Context) ListenersResultOutput

func (ListenersResultOutput) TotalCount

func (o ListenersResultOutput) TotalCount() pulumi.IntOutput

The total count of Listener query.

type Rule

type Rule struct {
	pulumi.CustomResourceState

	// The description of the Rule.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The domain of Rule.
	Domain pulumi.StringPtrOutput `pulumi:"domain"`
	// The ID of listener.
	ListenerId pulumi.StringOutput `pulumi:"listenerId"`
	// Server Group Id.
	ServerGroupId pulumi.StringOutput `pulumi:"serverGroupId"`
	// The Url of Rule.
	Url pulumi.StringPtrOutput `pulumi:"url"`
}

Provides a resource to manage clb rule ## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/clb"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		fooZones, err := ecs.Zones(ctx, nil, nil)
		if err != nil {
			return err
		}
		fooVpc, err := vpc.NewVpc(ctx, "fooVpc", &vpc.VpcArgs{
			VpcName:   pulumi.String("acc-test-vpc"),
			CidrBlock: pulumi.String("172.16.0.0/16"),
		})
		if err != nil {
			return err
		}
		fooSubnet, err := vpc.NewSubnet(ctx, "fooSubnet", &vpc.SubnetArgs{
			SubnetName: pulumi.String("acc-test-subnet"),
			CidrBlock:  pulumi.String("172.16.0.0/24"),
			ZoneId:     *pulumi.String(fooZones.Zones[0].Id),
			VpcId:      fooVpc.ID(),
		})
		if err != nil {
			return err
		}
		fooClb, err := clb.NewClb(ctx, "fooClb", &clb.ClbArgs{
			Type:             pulumi.String("public"),
			SubnetId:         fooSubnet.ID(),
			LoadBalancerSpec: pulumi.String("small_1"),
			Description:      pulumi.String("acc0Demo"),
			LoadBalancerName: pulumi.String("acc-test-create"),
			EipBillingConfig: &clb.ClbEipBillingConfigArgs{
				Isp:            pulumi.String("BGP"),
				EipBillingType: pulumi.String("PostPaidByBandwidth"),
				Bandwidth:      pulumi.Int(1),
			},
		})
		if err != nil {
			return err
		}
		fooServerGroup, err := clb.NewServerGroup(ctx, "fooServerGroup", &clb.ServerGroupArgs{
			LoadBalancerId:  fooClb.ID(),
			ServerGroupName: pulumi.String("acc-test-create"),
			Description:     pulumi.String("hello demo11"),
		})
		if err != nil {
			return err
		}
		fooListener, err := clb.NewListener(ctx, "fooListener", &clb.ListenerArgs{
			LoadBalancerId: fooClb.ID(),
			ListenerName:   pulumi.String("acc-test-listener"),
			Protocol:       pulumi.String("HTTP"),
			Port:           pulumi.Int(90),
			ServerGroupId:  fooServerGroup.ID(),
			HealthCheck: &clb.ListenerHealthCheckArgs{
				Enabled:            pulumi.String("on"),
				Interval:           pulumi.Int(10),
				Timeout:            pulumi.Int(3),
				HealthyThreshold:   pulumi.Int(5),
				UnHealthyThreshold: pulumi.Int(2),
				Domain:             pulumi.String("volcengine.com"),
				HttpCode:           pulumi.String("http_2xx"),
				Method:             pulumi.String("GET"),
				Uri:                pulumi.String("/"),
			},
			Enabled: pulumi.String("on"),
		})
		if err != nil {
			return err
		}
		_, err = clb.NewRule(ctx, "fooRule", &clb.RuleArgs{
			ListenerId:    fooListener.ID(),
			ServerGroupId: fooServerGroup.ID(),
			Domain:        pulumi.String("test-volc123.com"),
			Url:           pulumi.String("/tftest"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Rule can be imported using the id, e.g. NoticeresourceId is ruleId, due to the lack of describeRuleAttributes in openapi, for import resources, please use ruleId:listenerId to import. we will fix this problem later.

```sh

$ pulumi import volcengine:clb/rule:Rule foo rule-273zb9hzi1gqo7fap8u1k3utb:lsn-273ywvnmiu70g7fap8u2xzg9d

```

func GetRule

func GetRule(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RuleState, opts ...pulumi.ResourceOption) (*Rule, error)

GetRule gets an existing Rule 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 NewRule

func NewRule(ctx *pulumi.Context,
	name string, args *RuleArgs, opts ...pulumi.ResourceOption) (*Rule, error)

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

func (*Rule) ElementType

func (*Rule) ElementType() reflect.Type

func (*Rule) ToRuleOutput

func (i *Rule) ToRuleOutput() RuleOutput

func (*Rule) ToRuleOutputWithContext

func (i *Rule) ToRuleOutputWithContext(ctx context.Context) RuleOutput

type RuleArgs

type RuleArgs struct {
	// The description of the Rule.
	Description pulumi.StringPtrInput
	// The domain of Rule.
	Domain pulumi.StringPtrInput
	// The ID of listener.
	ListenerId pulumi.StringInput
	// Server Group Id.
	ServerGroupId pulumi.StringInput
	// The Url of Rule.
	Url pulumi.StringPtrInput
}

The set of arguments for constructing a Rule resource.

func (RuleArgs) ElementType

func (RuleArgs) ElementType() reflect.Type

type RuleArray

type RuleArray []RuleInput

func (RuleArray) ElementType

func (RuleArray) ElementType() reflect.Type

func (RuleArray) ToRuleArrayOutput

func (i RuleArray) ToRuleArrayOutput() RuleArrayOutput

func (RuleArray) ToRuleArrayOutputWithContext

func (i RuleArray) ToRuleArrayOutputWithContext(ctx context.Context) RuleArrayOutput

type RuleArrayInput

type RuleArrayInput interface {
	pulumi.Input

	ToRuleArrayOutput() RuleArrayOutput
	ToRuleArrayOutputWithContext(context.Context) RuleArrayOutput
}

RuleArrayInput is an input type that accepts RuleArray and RuleArrayOutput values. You can construct a concrete instance of `RuleArrayInput` via:

RuleArray{ RuleArgs{...} }

type RuleArrayOutput

type RuleArrayOutput struct{ *pulumi.OutputState }

func (RuleArrayOutput) ElementType

func (RuleArrayOutput) ElementType() reflect.Type

func (RuleArrayOutput) Index

func (RuleArrayOutput) ToRuleArrayOutput

func (o RuleArrayOutput) ToRuleArrayOutput() RuleArrayOutput

func (RuleArrayOutput) ToRuleArrayOutputWithContext

func (o RuleArrayOutput) ToRuleArrayOutputWithContext(ctx context.Context) RuleArrayOutput

type RuleInput

type RuleInput interface {
	pulumi.Input

	ToRuleOutput() RuleOutput
	ToRuleOutputWithContext(ctx context.Context) RuleOutput
}

type RuleMap

type RuleMap map[string]RuleInput

func (RuleMap) ElementType

func (RuleMap) ElementType() reflect.Type

func (RuleMap) ToRuleMapOutput

func (i RuleMap) ToRuleMapOutput() RuleMapOutput

func (RuleMap) ToRuleMapOutputWithContext

func (i RuleMap) ToRuleMapOutputWithContext(ctx context.Context) RuleMapOutput

type RuleMapInput

type RuleMapInput interface {
	pulumi.Input

	ToRuleMapOutput() RuleMapOutput
	ToRuleMapOutputWithContext(context.Context) RuleMapOutput
}

RuleMapInput is an input type that accepts RuleMap and RuleMapOutput values. You can construct a concrete instance of `RuleMapInput` via:

RuleMap{ "key": RuleArgs{...} }

type RuleMapOutput

type RuleMapOutput struct{ *pulumi.OutputState }

func (RuleMapOutput) ElementType

func (RuleMapOutput) ElementType() reflect.Type

func (RuleMapOutput) MapIndex

func (RuleMapOutput) ToRuleMapOutput

func (o RuleMapOutput) ToRuleMapOutput() RuleMapOutput

func (RuleMapOutput) ToRuleMapOutputWithContext

func (o RuleMapOutput) ToRuleMapOutputWithContext(ctx context.Context) RuleMapOutput

type RuleOutput

type RuleOutput struct{ *pulumi.OutputState }

func (RuleOutput) Description

func (o RuleOutput) Description() pulumi.StringPtrOutput

The description of the Rule.

func (RuleOutput) Domain

func (o RuleOutput) Domain() pulumi.StringPtrOutput

The domain of Rule.

func (RuleOutput) ElementType

func (RuleOutput) ElementType() reflect.Type

func (RuleOutput) ListenerId

func (o RuleOutput) ListenerId() pulumi.StringOutput

The ID of listener.

func (RuleOutput) ServerGroupId

func (o RuleOutput) ServerGroupId() pulumi.StringOutput

Server Group Id.

func (RuleOutput) ToRuleOutput

func (o RuleOutput) ToRuleOutput() RuleOutput

func (RuleOutput) ToRuleOutputWithContext

func (o RuleOutput) ToRuleOutputWithContext(ctx context.Context) RuleOutput

func (RuleOutput) Url

The Url of Rule.

type RuleState

type RuleState struct {
	// The description of the Rule.
	Description pulumi.StringPtrInput
	// The domain of Rule.
	Domain pulumi.StringPtrInput
	// The ID of listener.
	ListenerId pulumi.StringPtrInput
	// Server Group Id.
	ServerGroupId pulumi.StringPtrInput
	// The Url of Rule.
	Url pulumi.StringPtrInput
}

func (RuleState) ElementType

func (RuleState) ElementType() reflect.Type

type RulesArgs

type RulesArgs struct {
	// A list of Rule IDs.
	Ids []string `pulumi:"ids"`
	// The Id of listener.
	ListenerId string `pulumi:"listenerId"`
	// File name where to save data source results.
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking Rules.

type RulesOutputArgs

type RulesOutputArgs struct {
	// A list of Rule IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// The Id of listener.
	ListenerId pulumi.StringInput `pulumi:"listenerId"`
	// File name where to save data source results.
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking Rules.

func (RulesOutputArgs) ElementType

func (RulesOutputArgs) ElementType() reflect.Type

type RulesResult

type RulesResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id         string   `pulumi:"id"`
	Ids        []string `pulumi:"ids"`
	ListenerId string   `pulumi:"listenerId"`
	OutputFile *string  `pulumi:"outputFile"`
	// The collection of Rule query.
	Rules []RulesRule `pulumi:"rules"`
}

A collection of values returned by Rules.

func Rules

func Rules(ctx *pulumi.Context, args *RulesArgs, opts ...pulumi.InvokeOption) (*RulesResult, error)

Use this data source to query detailed information of clb rules ## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/clb"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		fooZones, err := ecs.Zones(ctx, nil, nil)
		if err != nil {
			return err
		}
		fooVpc, err := vpc.NewVpc(ctx, "fooVpc", &vpc.VpcArgs{
			VpcName:   pulumi.String("acc-test-vpc"),
			CidrBlock: pulumi.String("172.16.0.0/16"),
		})
		if err != nil {
			return err
		}
		fooSubnet, err := vpc.NewSubnet(ctx, "fooSubnet", &vpc.SubnetArgs{
			SubnetName: pulumi.String("acc-test-subnet"),
			CidrBlock:  pulumi.String("172.16.0.0/24"),
			ZoneId:     *pulumi.String(fooZones.Zones[0].Id),
			VpcId:      fooVpc.ID(),
		})
		if err != nil {
			return err
		}
		fooClb, err := clb.NewClb(ctx, "fooClb", &clb.ClbArgs{
			Type:             pulumi.String("public"),
			SubnetId:         fooSubnet.ID(),
			LoadBalancerSpec: pulumi.String("small_1"),
			Description:      pulumi.String("acc0Demo"),
			LoadBalancerName: pulumi.String("acc-test-create"),
			EipBillingConfig: &clb.ClbEipBillingConfigArgs{
				Isp:            pulumi.String("BGP"),
				EipBillingType: pulumi.String("PostPaidByBandwidth"),
				Bandwidth:      pulumi.Int(1),
			},
		})
		if err != nil {
			return err
		}
		fooServerGroup, err := clb.NewServerGroup(ctx, "fooServerGroup", &clb.ServerGroupArgs{
			LoadBalancerId:  fooClb.ID(),
			ServerGroupName: pulumi.String("acc-test-create"),
			Description:     pulumi.String("hello demo11"),
		})
		if err != nil {
			return err
		}
		fooListener, err := clb.NewListener(ctx, "fooListener", &clb.ListenerArgs{
			LoadBalancerId: fooClb.ID(),
			ListenerName:   pulumi.String("acc-test-listener"),
			Protocol:       pulumi.String("HTTP"),
			Port:           pulumi.Int(90),
			ServerGroupId:  fooServerGroup.ID(),
			HealthCheck: &clb.ListenerHealthCheckArgs{
				Enabled:            pulumi.String("on"),
				Interval:           pulumi.Int(10),
				Timeout:            pulumi.Int(3),
				HealthyThreshold:   pulumi.Int(5),
				UnHealthyThreshold: pulumi.Int(2),
				Domain:             pulumi.String("volcengine.com"),
				HttpCode:           pulumi.String("http_2xx"),
				Method:             pulumi.String("GET"),
				Uri:                pulumi.String("/"),
			},
			Enabled: pulumi.String("on"),
		})
		if err != nil {
			return err
		}
		fooRule, err := clb.NewRule(ctx, "fooRule", &clb.RuleArgs{
			ListenerId:    fooListener.ID(),
			ServerGroupId: fooServerGroup.ID(),
			Domain:        pulumi.String("test-volc123.com"),
			Url:           pulumi.String("/yyyy"),
		})
		if err != nil {
			return err
		}
		_ = clb.RulesOutput(ctx, clb.RulesOutputArgs{
			Ids: pulumi.StringArray{
				fooRule.ID(),
			},
			ListenerId: fooListener.ID(),
		}, nil)
		return nil
	})
}

```

type RulesResultOutput

type RulesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by Rules.

func RulesOutput

func RulesOutput(ctx *pulumi.Context, args RulesOutputArgs, opts ...pulumi.InvokeOption) RulesResultOutput

func (RulesResultOutput) ElementType

func (RulesResultOutput) ElementType() reflect.Type

func (RulesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (RulesResultOutput) Ids

func (RulesResultOutput) ListenerId

func (o RulesResultOutput) ListenerId() pulumi.StringOutput

func (RulesResultOutput) OutputFile

func (o RulesResultOutput) OutputFile() pulumi.StringPtrOutput

func (RulesResultOutput) Rules

The collection of Rule query.

func (RulesResultOutput) ToRulesResultOutput

func (o RulesResultOutput) ToRulesResultOutput() RulesResultOutput

func (RulesResultOutput) ToRulesResultOutputWithContext

func (o RulesResultOutput) ToRulesResultOutputWithContext(ctx context.Context) RulesResultOutput

type RulesRule

type RulesRule struct {
	// The Description of Rule.
	Description string `pulumi:"description"`
	// The Domain of Rule.
	Domain string `pulumi:"domain"`
	// The Id of Rule.
	Id string `pulumi:"id"`
	// The Id of Rule.
	RuleId string `pulumi:"ruleId"`
	// The Id of Server Group.
	ServerGroupId string `pulumi:"serverGroupId"`
	// The Url of Rule.
	Url string `pulumi:"url"`
}

type RulesRuleArgs

type RulesRuleArgs struct {
	// The Description of Rule.
	Description pulumi.StringInput `pulumi:"description"`
	// The Domain of Rule.
	Domain pulumi.StringInput `pulumi:"domain"`
	// The Id of Rule.
	Id pulumi.StringInput `pulumi:"id"`
	// The Id of Rule.
	RuleId pulumi.StringInput `pulumi:"ruleId"`
	// The Id of Server Group.
	ServerGroupId pulumi.StringInput `pulumi:"serverGroupId"`
	// The Url of Rule.
	Url pulumi.StringInput `pulumi:"url"`
}

func (RulesRuleArgs) ElementType

func (RulesRuleArgs) ElementType() reflect.Type

func (RulesRuleArgs) ToRulesRuleOutput

func (i RulesRuleArgs) ToRulesRuleOutput() RulesRuleOutput

func (RulesRuleArgs) ToRulesRuleOutputWithContext

func (i RulesRuleArgs) ToRulesRuleOutputWithContext(ctx context.Context) RulesRuleOutput

type RulesRuleArray

type RulesRuleArray []RulesRuleInput

func (RulesRuleArray) ElementType

func (RulesRuleArray) ElementType() reflect.Type

func (RulesRuleArray) ToRulesRuleArrayOutput

func (i RulesRuleArray) ToRulesRuleArrayOutput() RulesRuleArrayOutput

func (RulesRuleArray) ToRulesRuleArrayOutputWithContext

func (i RulesRuleArray) ToRulesRuleArrayOutputWithContext(ctx context.Context) RulesRuleArrayOutput

type RulesRuleArrayInput

type RulesRuleArrayInput interface {
	pulumi.Input

	ToRulesRuleArrayOutput() RulesRuleArrayOutput
	ToRulesRuleArrayOutputWithContext(context.Context) RulesRuleArrayOutput
}

RulesRuleArrayInput is an input type that accepts RulesRuleArray and RulesRuleArrayOutput values. You can construct a concrete instance of `RulesRuleArrayInput` via:

RulesRuleArray{ RulesRuleArgs{...} }

type RulesRuleArrayOutput

type RulesRuleArrayOutput struct{ *pulumi.OutputState }

func (RulesRuleArrayOutput) ElementType

func (RulesRuleArrayOutput) ElementType() reflect.Type

func (RulesRuleArrayOutput) Index

func (RulesRuleArrayOutput) ToRulesRuleArrayOutput

func (o RulesRuleArrayOutput) ToRulesRuleArrayOutput() RulesRuleArrayOutput

func (RulesRuleArrayOutput) ToRulesRuleArrayOutputWithContext

func (o RulesRuleArrayOutput) ToRulesRuleArrayOutputWithContext(ctx context.Context) RulesRuleArrayOutput

type RulesRuleInput

type RulesRuleInput interface {
	pulumi.Input

	ToRulesRuleOutput() RulesRuleOutput
	ToRulesRuleOutputWithContext(context.Context) RulesRuleOutput
}

RulesRuleInput is an input type that accepts RulesRuleArgs and RulesRuleOutput values. You can construct a concrete instance of `RulesRuleInput` via:

RulesRuleArgs{...}

type RulesRuleOutput

type RulesRuleOutput struct{ *pulumi.OutputState }

func (RulesRuleOutput) Description

func (o RulesRuleOutput) Description() pulumi.StringOutput

The Description of Rule.

func (RulesRuleOutput) Domain

func (o RulesRuleOutput) Domain() pulumi.StringOutput

The Domain of Rule.

func (RulesRuleOutput) ElementType

func (RulesRuleOutput) ElementType() reflect.Type

func (RulesRuleOutput) Id

The Id of Rule.

func (RulesRuleOutput) RuleId

func (o RulesRuleOutput) RuleId() pulumi.StringOutput

The Id of Rule.

func (RulesRuleOutput) ServerGroupId

func (o RulesRuleOutput) ServerGroupId() pulumi.StringOutput

The Id of Server Group.

func (RulesRuleOutput) ToRulesRuleOutput

func (o RulesRuleOutput) ToRulesRuleOutput() RulesRuleOutput

func (RulesRuleOutput) ToRulesRuleOutputWithContext

func (o RulesRuleOutput) ToRulesRuleOutputWithContext(ctx context.Context) RulesRuleOutput

func (RulesRuleOutput) Url

The Url of Rule.

type ServerGroup

type ServerGroup struct {
	pulumi.CustomResourceState

	// The address ip version of the ServerGroup. Valid values: `ipv4`, `ipv6`. Default is `ipv4`.
	AddressIpVersion pulumi.StringPtrOutput `pulumi:"addressIpVersion"`
	// The description of ServerGroup.
	Description pulumi.StringOutput `pulumi:"description"`
	// The ID of the Clb.
	LoadBalancerId pulumi.StringOutput `pulumi:"loadBalancerId"`
	// The ID of the ServerGroup.
	ServerGroupId pulumi.StringOutput `pulumi:"serverGroupId"`
	// The name of the ServerGroup.
	ServerGroupName pulumi.StringOutput `pulumi:"serverGroupName"`
}

Provides a resource to manage server group ## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/clb"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		fooZones, err := ecs.Zones(ctx, nil, nil)
		if err != nil {
			return err
		}
		fooVpc, err := vpc.NewVpc(ctx, "fooVpc", &vpc.VpcArgs{
			VpcName:   pulumi.String("acc-test-vpc"),
			CidrBlock: pulumi.String("172.16.0.0/16"),
		})
		if err != nil {
			return err
		}
		fooSubnet, err := vpc.NewSubnet(ctx, "fooSubnet", &vpc.SubnetArgs{
			SubnetName: pulumi.String("acc-test-subnet"),
			CidrBlock:  pulumi.String("172.16.0.0/24"),
			ZoneId:     *pulumi.String(fooZones.Zones[0].Id),
			VpcId:      fooVpc.ID(),
		})
		if err != nil {
			return err
		}
		fooClb, err := clb.NewClb(ctx, "fooClb", &clb.ClbArgs{
			Type:             pulumi.String("public"),
			SubnetId:         fooSubnet.ID(),
			LoadBalancerSpec: pulumi.String("small_1"),
			Description:      pulumi.String("acc0Demo"),
			LoadBalancerName: pulumi.String("acc-test-create"),
			EipBillingConfig: &clb.ClbEipBillingConfigArgs{
				Isp:            pulumi.String("BGP"),
				EipBillingType: pulumi.String("PostPaidByBandwidth"),
				Bandwidth:      pulumi.Int(1),
			},
		})
		if err != nil {
			return err
		}
		_, err = clb.NewServerGroup(ctx, "fooServerGroup", &clb.ServerGroupArgs{
			LoadBalancerId:  fooClb.ID(),
			ServerGroupName: pulumi.String("acc-test-create"),
			Description:     pulumi.String("hello demo11"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

ServerGroup can be imported using the id, e.g.

```sh

$ pulumi import volcengine:clb/serverGroup:ServerGroup default rsp-273yv0kir1vk07fap8tt9jtwg

```

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

type ServerGroupArgs

type ServerGroupArgs struct {
	// The address ip version of the ServerGroup. Valid values: `ipv4`, `ipv6`. Default is `ipv4`.
	AddressIpVersion pulumi.StringPtrInput
	// The description of ServerGroup.
	Description pulumi.StringPtrInput
	// The ID of the Clb.
	LoadBalancerId pulumi.StringInput
	// The ID of the ServerGroup.
	ServerGroupId pulumi.StringPtrInput
	// The name of the ServerGroup.
	ServerGroupName 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 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) AddressIpVersion added in v0.0.19

func (o ServerGroupOutput) AddressIpVersion() pulumi.StringPtrOutput

The address ip version of the ServerGroup. Valid values: `ipv4`, `ipv6`. Default is `ipv4`.

func (ServerGroupOutput) Description

func (o ServerGroupOutput) Description() pulumi.StringOutput

The description of ServerGroup.

func (ServerGroupOutput) ElementType

func (ServerGroupOutput) ElementType() reflect.Type

func (ServerGroupOutput) LoadBalancerId

func (o ServerGroupOutput) LoadBalancerId() pulumi.StringOutput

The ID of the Clb.

func (ServerGroupOutput) ServerGroupId

func (o ServerGroupOutput) ServerGroupId() pulumi.StringOutput

The ID of the ServerGroup.

func (ServerGroupOutput) ServerGroupName

func (o ServerGroupOutput) ServerGroupName() pulumi.StringOutput

The name of the ServerGroup.

func (ServerGroupOutput) ToServerGroupOutput

func (o ServerGroupOutput) ToServerGroupOutput() ServerGroupOutput

func (ServerGroupOutput) ToServerGroupOutputWithContext

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

type ServerGroupServer

type ServerGroupServer struct {
	pulumi.CustomResourceState

	// The description of the instance.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The ID of ecs instance or the network card bound to ecs instance.
	InstanceId pulumi.StringOutput `pulumi:"instanceId"`
	// The private ip of the instance.
	Ip pulumi.StringOutput `pulumi:"ip"`
	// The port receiving request.
	Port pulumi.IntOutput `pulumi:"port"`
	// The ID of the ServerGroup.
	ServerGroupId pulumi.StringOutput `pulumi:"serverGroupId"`
	// The server id of instance in ServerGroup.
	ServerId pulumi.StringOutput `pulumi:"serverId"`
	// The type of instance. Optional choice contains `ecs`, `eni`.
	Type pulumi.StringOutput `pulumi:"type"`
	// The weight of the instance, range in 0~100.
	Weight pulumi.IntPtrOutput `pulumi:"weight"`
}

Provides a resource to manage server group server ## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/clb"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		fooZones, err := ecs.Zones(ctx, nil, nil)
		if err != nil {
			return err
		}
		fooVpc, err := vpc.NewVpc(ctx, "fooVpc", &vpc.VpcArgs{
			VpcName:   pulumi.String("acc-test-vpc"),
			CidrBlock: pulumi.String("172.16.0.0/16"),
		})
		if err != nil {
			return err
		}
		fooSubnet, err := vpc.NewSubnet(ctx, "fooSubnet", &vpc.SubnetArgs{
			SubnetName: pulumi.String("acc-test-subnet"),
			CidrBlock:  pulumi.String("172.16.0.0/24"),
			ZoneId:     *pulumi.String(fooZones.Zones[0].Id),
			VpcId:      fooVpc.ID(),
		})
		if err != nil {
			return err
		}
		fooClb, err := clb.NewClb(ctx, "fooClb", &clb.ClbArgs{
			Type:             pulumi.String("public"),
			SubnetId:         fooSubnet.ID(),
			LoadBalancerSpec: pulumi.String("small_1"),
			Description:      pulumi.String("acc0Demo"),
			LoadBalancerName: pulumi.String("acc-test-create"),
			EipBillingConfig: &clb.ClbEipBillingConfigArgs{
				Isp:            pulumi.String("BGP"),
				EipBillingType: pulumi.String("PostPaidByBandwidth"),
				Bandwidth:      pulumi.Int(1),
			},
		})
		if err != nil {
			return err
		}
		fooServerGroup, err := clb.NewServerGroup(ctx, "fooServerGroup", &clb.ServerGroupArgs{
			LoadBalancerId:  fooClb.ID(),
			ServerGroupName: pulumi.String("acc-test-create"),
			Description:     pulumi.String("hello demo11"),
		})
		if err != nil {
			return err
		}
		fooSecurityGroup, err := vpc.NewSecurityGroup(ctx, "fooSecurityGroup", &vpc.SecurityGroupArgs{
			VpcId:             fooVpc.ID(),
			SecurityGroupName: pulumi.String("acc-test-security-group"),
		})
		if err != nil {
			return err
		}
		fooInstance, err := ecs.NewInstance(ctx, "fooInstance", &ecs.InstanceArgs{
			ImageId:            pulumi.String("image-ycjwwciuzy5pkh54xx8f"),
			InstanceType:       pulumi.String("ecs.c3i.large"),
			InstanceName:       pulumi.String("acc-test-ecs-name"),
			Password:           pulumi.String("93f0cb0614Aab12"),
			InstanceChargeType: pulumi.String("PostPaid"),
			SystemVolumeType:   pulumi.String("ESSD_PL0"),
			SystemVolumeSize:   pulumi.Int(40),
			SubnetId:           fooSubnet.ID(),
			SecurityGroupIds: pulumi.StringArray{
				fooSecurityGroup.ID(),
			},
		})
		if err != nil {
			return err
		}
		_, err = clb.NewServerGroupServer(ctx, "fooServerGroupServer", &clb.ServerGroupServerArgs{
			ServerGroupId: fooServerGroup.ID(),
			InstanceId:    fooInstance.ID(),
			Type:          pulumi.String("ecs"),
			Weight:        pulumi.Int(100),
			Port:          pulumi.Int(80),
			Description:   pulumi.String("This is a acc test server"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

ServerGroupServer can be imported using the id, e.g.

```sh

$ pulumi import volcengine:clb/serverGroupServer:ServerGroupServer default rsp-274xltv2*****8tlv3q3s:rs-3ciynux6i1x4w****rszh49sj

```

func GetServerGroupServer

func GetServerGroupServer(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServerGroupServerState, opts ...pulumi.ResourceOption) (*ServerGroupServer, error)

GetServerGroupServer gets an existing ServerGroupServer 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 NewServerGroupServer

func NewServerGroupServer(ctx *pulumi.Context,
	name string, args *ServerGroupServerArgs, opts ...pulumi.ResourceOption) (*ServerGroupServer, error)

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

func (*ServerGroupServer) ElementType

func (*ServerGroupServer) ElementType() reflect.Type

func (*ServerGroupServer) ToServerGroupServerOutput

func (i *ServerGroupServer) ToServerGroupServerOutput() ServerGroupServerOutput

func (*ServerGroupServer) ToServerGroupServerOutputWithContext

func (i *ServerGroupServer) ToServerGroupServerOutputWithContext(ctx context.Context) ServerGroupServerOutput

type ServerGroupServerArgs

type ServerGroupServerArgs struct {
	// The description of the instance.
	Description pulumi.StringPtrInput
	// The ID of ecs instance or the network card bound to ecs instance.
	InstanceId pulumi.StringInput
	// The private ip of the instance.
	Ip pulumi.StringPtrInput
	// The port receiving request.
	Port pulumi.IntInput
	// The ID of the ServerGroup.
	ServerGroupId pulumi.StringInput
	// The type of instance. Optional choice contains `ecs`, `eni`.
	Type pulumi.StringInput
	// The weight of the instance, range in 0~100.
	Weight pulumi.IntPtrInput
}

The set of arguments for constructing a ServerGroupServer resource.

func (ServerGroupServerArgs) ElementType

func (ServerGroupServerArgs) ElementType() reflect.Type

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(ctx context.Context) ServerGroupServerOutput
}

type ServerGroupServerMap

type ServerGroupServerMap map[string]ServerGroupServerInput

func (ServerGroupServerMap) ElementType

func (ServerGroupServerMap) ElementType() reflect.Type

func (ServerGroupServerMap) ToServerGroupServerMapOutput

func (i ServerGroupServerMap) ToServerGroupServerMapOutput() ServerGroupServerMapOutput

func (ServerGroupServerMap) ToServerGroupServerMapOutputWithContext

func (i ServerGroupServerMap) ToServerGroupServerMapOutputWithContext(ctx context.Context) ServerGroupServerMapOutput

type ServerGroupServerMapInput

type ServerGroupServerMapInput interface {
	pulumi.Input

	ToServerGroupServerMapOutput() ServerGroupServerMapOutput
	ToServerGroupServerMapOutputWithContext(context.Context) ServerGroupServerMapOutput
}

ServerGroupServerMapInput is an input type that accepts ServerGroupServerMap and ServerGroupServerMapOutput values. You can construct a concrete instance of `ServerGroupServerMapInput` via:

ServerGroupServerMap{ "key": ServerGroupServerArgs{...} }

type ServerGroupServerMapOutput

type ServerGroupServerMapOutput struct{ *pulumi.OutputState }

func (ServerGroupServerMapOutput) ElementType

func (ServerGroupServerMapOutput) ElementType() reflect.Type

func (ServerGroupServerMapOutput) MapIndex

func (ServerGroupServerMapOutput) ToServerGroupServerMapOutput

func (o ServerGroupServerMapOutput) ToServerGroupServerMapOutput() ServerGroupServerMapOutput

func (ServerGroupServerMapOutput) ToServerGroupServerMapOutputWithContext

func (o ServerGroupServerMapOutput) ToServerGroupServerMapOutputWithContext(ctx context.Context) ServerGroupServerMapOutput

type ServerGroupServerOutput

type ServerGroupServerOutput struct{ *pulumi.OutputState }

func (ServerGroupServerOutput) Description

The description of the instance.

func (ServerGroupServerOutput) ElementType

func (ServerGroupServerOutput) ElementType() reflect.Type

func (ServerGroupServerOutput) InstanceId

The ID of ecs instance or the network card bound to ecs instance.

func (ServerGroupServerOutput) Ip

The private ip of the instance.

func (ServerGroupServerOutput) Port

The port receiving request.

func (ServerGroupServerOutput) ServerGroupId

func (o ServerGroupServerOutput) ServerGroupId() pulumi.StringOutput

The ID of the ServerGroup.

func (ServerGroupServerOutput) ServerId

The server id of instance in ServerGroup.

func (ServerGroupServerOutput) ToServerGroupServerOutput

func (o ServerGroupServerOutput) ToServerGroupServerOutput() ServerGroupServerOutput

func (ServerGroupServerOutput) ToServerGroupServerOutputWithContext

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

func (ServerGroupServerOutput) Type

The type of instance. Optional choice contains `ecs`, `eni`.

func (ServerGroupServerOutput) Weight

The weight of the instance, range in 0~100.

type ServerGroupServerState

type ServerGroupServerState struct {
	// The description of the instance.
	Description pulumi.StringPtrInput
	// The ID of ecs instance or the network card bound to ecs instance.
	InstanceId pulumi.StringPtrInput
	// The private ip of the instance.
	Ip pulumi.StringPtrInput
	// The port receiving request.
	Port pulumi.IntPtrInput
	// The ID of the ServerGroup.
	ServerGroupId pulumi.StringPtrInput
	// The server id of instance in ServerGroup.
	ServerId pulumi.StringPtrInput
	// The type of instance. Optional choice contains `ecs`, `eni`.
	Type pulumi.StringPtrInput
	// The weight of the instance, range in 0~100.
	Weight pulumi.IntPtrInput
}

func (ServerGroupServerState) ElementType

func (ServerGroupServerState) ElementType() reflect.Type

type ServerGroupServersArgs

type ServerGroupServersArgs struct {
	// The list of ServerGroupServer IDs.
	Ids []string `pulumi:"ids"`
	// A Name Regex of ServerGroupServer.
	NameRegex *string `pulumi:"nameRegex"`
	// File name where to save data source results.
	OutputFile *string `pulumi:"outputFile"`
	// The ID of the ServerGroup.
	ServerGroupId string `pulumi:"serverGroupId"`
}

A collection of arguments for invoking ServerGroupServers.

type ServerGroupServersOutputArgs

type ServerGroupServersOutputArgs struct {
	// The list of ServerGroupServer IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A Name Regex of ServerGroupServer.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	// File name where to save data source results.
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The ID of the ServerGroup.
	ServerGroupId pulumi.StringInput `pulumi:"serverGroupId"`
}

A collection of arguments for invoking ServerGroupServers.

func (ServerGroupServersOutputArgs) ElementType

type ServerGroupServersResult

type ServerGroupServersResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id            string   `pulumi:"id"`
	Ids           []string `pulumi:"ids"`
	NameRegex     *string  `pulumi:"nameRegex"`
	OutputFile    *string  `pulumi:"outputFile"`
	ServerGroupId string   `pulumi:"serverGroupId"`
	// The server list of ServerGroup.
	Servers []ServerGroupServersServer `pulumi:"servers"`
	// The total count of ServerGroupServer query.
	TotalCount int `pulumi:"totalCount"`
}

A collection of values returned by ServerGroupServers.

func ServerGroupServers

func ServerGroupServers(ctx *pulumi.Context, args *ServerGroupServersArgs, opts ...pulumi.InvokeOption) (*ServerGroupServersResult, error)

Use this data source to query detailed information of server group servers ## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/clb"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		fooZones, err := ecs.Zones(ctx, nil, nil)
		if err != nil {
			return err
		}
		fooVpc, err := vpc.NewVpc(ctx, "fooVpc", &vpc.VpcArgs{
			VpcName:   pulumi.String("acc-test-vpc"),
			CidrBlock: pulumi.String("172.16.0.0/16"),
		})
		if err != nil {
			return err
		}
		fooSubnet, err := vpc.NewSubnet(ctx, "fooSubnet", &vpc.SubnetArgs{
			SubnetName: pulumi.String("acc-test-subnet"),
			CidrBlock:  pulumi.String("172.16.0.0/24"),
			ZoneId:     *pulumi.String(fooZones.Zones[0].Id),
			VpcId:      fooVpc.ID(),
		})
		if err != nil {
			return err
		}
		fooClb, err := clb.NewClb(ctx, "fooClb", &clb.ClbArgs{
			Type:             pulumi.String("public"),
			SubnetId:         fooSubnet.ID(),
			LoadBalancerSpec: pulumi.String("small_1"),
			Description:      pulumi.String("acc0Demo"),
			LoadBalancerName: pulumi.String("acc-test-create"),
			EipBillingConfig: &clb.ClbEipBillingConfigArgs{
				Isp:            pulumi.String("BGP"),
				EipBillingType: pulumi.String("PostPaidByBandwidth"),
				Bandwidth:      pulumi.Int(1),
			},
		})
		if err != nil {
			return err
		}
		fooServerGroup, err := clb.NewServerGroup(ctx, "fooServerGroup", &clb.ServerGroupArgs{
			LoadBalancerId:  fooClb.ID(),
			ServerGroupName: pulumi.String("acc-test-create"),
			Description:     pulumi.String("hello demo11"),
		})
		if err != nil {
			return err
		}
		fooSecurityGroup, err := vpc.NewSecurityGroup(ctx, "fooSecurityGroup", &vpc.SecurityGroupArgs{
			VpcId:             fooVpc.ID(),
			SecurityGroupName: pulumi.String("acc-test-security-group"),
		})
		if err != nil {
			return err
		}
		fooInstance, err := ecs.NewInstance(ctx, "fooInstance", &ecs.InstanceArgs{
			ImageId:            pulumi.String("image-ycjwwciuzy5pkh54xx8f"),
			InstanceType:       pulumi.String("ecs.c3i.large"),
			InstanceName:       pulumi.String("acc-test-ecs-name"),
			Password:           pulumi.String("93f0cb0614Aab12"),
			InstanceChargeType: pulumi.String("PostPaid"),
			SystemVolumeType:   pulumi.String("ESSD_PL0"),
			SystemVolumeSize:   pulumi.Int(40),
			SubnetId:           fooSubnet.ID(),
			SecurityGroupIds: pulumi.StringArray{
				fooSecurityGroup.ID(),
			},
		})
		if err != nil {
			return err
		}
		fooServerGroupServer, err := clb.NewServerGroupServer(ctx, "fooServerGroupServer", &clb.ServerGroupServerArgs{
			ServerGroupId: fooServerGroup.ID(),
			InstanceId:    fooInstance.ID(),
			Type:          pulumi.String("ecs"),
			Weight:        pulumi.Int(100),
			Port:          pulumi.Int(80),
			Description:   pulumi.String("This is a acc test server"),
		})
		if err != nil {
			return err
		}
		_ = clb.ServerGroupServersOutput(ctx, clb.ServerGroupServersOutputArgs{
			Ids: pulumi.StringArray{
				pulumi.All(fooServerGroupServer.ID().ApplyT(func(id string) (pulumi.StringArray, error) {
					return pulumi.StringArray("TODO: call split"), nil
				}).(pulumi.StringArrayOutput), len(fooServerGroupServer.ID().ApplyT(func(id string) (pulumi.StringArray, error) {
					return pulumi.StringArray("TODO: call split"), nil
				}).(pulumi.StringArrayOutput))).ApplyT(func(_args []interface{}) (string, error) {
					split := _args[0].([]string)
					length := _args[1].(int)
					return "TODO: element", nil
				}).(pulumi.StringOutput),
			},
			ServerGroupId: fooServerGroup.ID(),
		}, nil)
		return nil
	})
}

```

type ServerGroupServersResultOutput

type ServerGroupServersResultOutput struct{ *pulumi.OutputState }

A collection of values returned by ServerGroupServers.

func (ServerGroupServersResultOutput) ElementType

func (ServerGroupServersResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (ServerGroupServersResultOutput) Ids

func (ServerGroupServersResultOutput) NameRegex

func (ServerGroupServersResultOutput) OutputFile

func (ServerGroupServersResultOutput) ServerGroupId

func (ServerGroupServersResultOutput) Servers

The server list of ServerGroup.

func (ServerGroupServersResultOutput) ToServerGroupServersResultOutput

func (o ServerGroupServersResultOutput) ToServerGroupServersResultOutput() ServerGroupServersResultOutput

func (ServerGroupServersResultOutput) ToServerGroupServersResultOutputWithContext

func (o ServerGroupServersResultOutput) ToServerGroupServersResultOutputWithContext(ctx context.Context) ServerGroupServersResultOutput

func (ServerGroupServersResultOutput) TotalCount

The total count of ServerGroupServer query.

type ServerGroupServersServer

type ServerGroupServersServer struct {
	// The description of the instance.
	Description string `pulumi:"description"`
	// The server id of instance in ServerGroup.
	Id string `pulumi:"id"`
	// The ID of ecs instance or the network card bound to ecs instance.
	InstanceId string `pulumi:"instanceId"`
	// The private ip of the instance.
	Ip string `pulumi:"ip"`
	// The port receiving request.
	Port int `pulumi:"port"`
	// The server id of instance in ServerGroup.
	ServerId string `pulumi:"serverId"`
	// The type of instance. Optional choice contains `ecs`, `eni`.
	Type string `pulumi:"type"`
	// The weight of the instance.
	Weight int `pulumi:"weight"`
}

type ServerGroupServersServerArgs

type ServerGroupServersServerArgs struct {
	// The description of the instance.
	Description pulumi.StringInput `pulumi:"description"`
	// The server id of instance in ServerGroup.
	Id pulumi.StringInput `pulumi:"id"`
	// The ID of ecs instance or the network card bound to ecs instance.
	InstanceId pulumi.StringInput `pulumi:"instanceId"`
	// The private ip of the instance.
	Ip pulumi.StringInput `pulumi:"ip"`
	// The port receiving request.
	Port pulumi.IntInput `pulumi:"port"`
	// The server id of instance in ServerGroup.
	ServerId pulumi.StringInput `pulumi:"serverId"`
	// The type of instance. Optional choice contains `ecs`, `eni`.
	Type pulumi.StringInput `pulumi:"type"`
	// The weight of the instance.
	Weight pulumi.IntInput `pulumi:"weight"`
}

func (ServerGroupServersServerArgs) ElementType

func (ServerGroupServersServerArgs) ToServerGroupServersServerOutput

func (i ServerGroupServersServerArgs) ToServerGroupServersServerOutput() ServerGroupServersServerOutput

func (ServerGroupServersServerArgs) ToServerGroupServersServerOutputWithContext

func (i ServerGroupServersServerArgs) ToServerGroupServersServerOutputWithContext(ctx context.Context) ServerGroupServersServerOutput

type ServerGroupServersServerArray

type ServerGroupServersServerArray []ServerGroupServersServerInput

func (ServerGroupServersServerArray) ElementType

func (ServerGroupServersServerArray) ToServerGroupServersServerArrayOutput

func (i ServerGroupServersServerArray) ToServerGroupServersServerArrayOutput() ServerGroupServersServerArrayOutput

func (ServerGroupServersServerArray) ToServerGroupServersServerArrayOutputWithContext

func (i ServerGroupServersServerArray) ToServerGroupServersServerArrayOutputWithContext(ctx context.Context) ServerGroupServersServerArrayOutput

type ServerGroupServersServerArrayInput

type ServerGroupServersServerArrayInput interface {
	pulumi.Input

	ToServerGroupServersServerArrayOutput() ServerGroupServersServerArrayOutput
	ToServerGroupServersServerArrayOutputWithContext(context.Context) ServerGroupServersServerArrayOutput
}

ServerGroupServersServerArrayInput is an input type that accepts ServerGroupServersServerArray and ServerGroupServersServerArrayOutput values. You can construct a concrete instance of `ServerGroupServersServerArrayInput` via:

ServerGroupServersServerArray{ ServerGroupServersServerArgs{...} }

type ServerGroupServersServerArrayOutput

type ServerGroupServersServerArrayOutput struct{ *pulumi.OutputState }

func (ServerGroupServersServerArrayOutput) ElementType

func (ServerGroupServersServerArrayOutput) Index

func (ServerGroupServersServerArrayOutput) ToServerGroupServersServerArrayOutput

func (o ServerGroupServersServerArrayOutput) ToServerGroupServersServerArrayOutput() ServerGroupServersServerArrayOutput

func (ServerGroupServersServerArrayOutput) ToServerGroupServersServerArrayOutputWithContext

func (o ServerGroupServersServerArrayOutput) ToServerGroupServersServerArrayOutputWithContext(ctx context.Context) ServerGroupServersServerArrayOutput

type ServerGroupServersServerInput

type ServerGroupServersServerInput interface {
	pulumi.Input

	ToServerGroupServersServerOutput() ServerGroupServersServerOutput
	ToServerGroupServersServerOutputWithContext(context.Context) ServerGroupServersServerOutput
}

ServerGroupServersServerInput is an input type that accepts ServerGroupServersServerArgs and ServerGroupServersServerOutput values. You can construct a concrete instance of `ServerGroupServersServerInput` via:

ServerGroupServersServerArgs{...}

type ServerGroupServersServerOutput

type ServerGroupServersServerOutput struct{ *pulumi.OutputState }

func (ServerGroupServersServerOutput) Description

The description of the instance.

func (ServerGroupServersServerOutput) ElementType

func (ServerGroupServersServerOutput) Id

The server id of instance in ServerGroup.

func (ServerGroupServersServerOutput) InstanceId

The ID of ecs instance or the network card bound to ecs instance.

func (ServerGroupServersServerOutput) Ip

The private ip of the instance.

func (ServerGroupServersServerOutput) Port

The port receiving request.

func (ServerGroupServersServerOutput) ServerId

The server id of instance in ServerGroup.

func (ServerGroupServersServerOutput) ToServerGroupServersServerOutput

func (o ServerGroupServersServerOutput) ToServerGroupServersServerOutput() ServerGroupServersServerOutput

func (ServerGroupServersServerOutput) ToServerGroupServersServerOutputWithContext

func (o ServerGroupServersServerOutput) ToServerGroupServersServerOutputWithContext(ctx context.Context) ServerGroupServersServerOutput

func (ServerGroupServersServerOutput) Type

The type of instance. Optional choice contains `ecs`, `eni`.

func (ServerGroupServersServerOutput) Weight

The weight of the instance.

type ServerGroupState

type ServerGroupState struct {
	// The address ip version of the ServerGroup. Valid values: `ipv4`, `ipv6`. Default is `ipv4`.
	AddressIpVersion pulumi.StringPtrInput
	// The description of ServerGroup.
	Description pulumi.StringPtrInput
	// The ID of the Clb.
	LoadBalancerId pulumi.StringPtrInput
	// The ID of the ServerGroup.
	ServerGroupId pulumi.StringPtrInput
	// The name of the ServerGroup.
	ServerGroupName pulumi.StringPtrInput
}

func (ServerGroupState) ElementType

func (ServerGroupState) ElementType() reflect.Type

type ServerGroupsArgs

type ServerGroupsArgs struct {
	// A list of ServerGroup IDs.
	Ids []string `pulumi:"ids"`
	// The id of the Clb.
	LoadBalancerId *string `pulumi:"loadBalancerId"`
	// A Name Regex of ServerGroup.
	NameRegex *string `pulumi:"nameRegex"`
	// File name where to save data source results.
	OutputFile *string `pulumi:"outputFile"`
	// The name of the ServerGroup.
	ServerGroupName *string `pulumi:"serverGroupName"`
}

A collection of arguments for invoking ServerGroups.

type ServerGroupsGroup

type ServerGroupsGroup struct {
	// The address ip version of the ServerGroup.
	AddressIpVersion string `pulumi:"addressIpVersion"`
	// The create time of the ServerGroup.
	CreateTime string `pulumi:"createTime"`
	// The description of the ServerGroup.
	Description string `pulumi:"description"`
	// The ID of the ServerGroup.
	Id string `pulumi:"id"`
	// The ID of the ServerGroup.
	ServerGroupId string `pulumi:"serverGroupId"`
	// The name of the ServerGroup.
	ServerGroupName string `pulumi:"serverGroupName"`
	// The update time of the ServerGroup.
	UpdateTime string `pulumi:"updateTime"`
}

type ServerGroupsGroupArgs

type ServerGroupsGroupArgs struct {
	// The address ip version of the ServerGroup.
	AddressIpVersion pulumi.StringInput `pulumi:"addressIpVersion"`
	// The create time of the ServerGroup.
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// The description of the ServerGroup.
	Description pulumi.StringInput `pulumi:"description"`
	// The ID of the ServerGroup.
	Id pulumi.StringInput `pulumi:"id"`
	// The ID of the ServerGroup.
	ServerGroupId pulumi.StringInput `pulumi:"serverGroupId"`
	// The name of the ServerGroup.
	ServerGroupName pulumi.StringInput `pulumi:"serverGroupName"`
	// The update time of the ServerGroup.
	UpdateTime pulumi.StringInput `pulumi:"updateTime"`
}

func (ServerGroupsGroupArgs) ElementType

func (ServerGroupsGroupArgs) ElementType() reflect.Type

func (ServerGroupsGroupArgs) ToServerGroupsGroupOutput

func (i ServerGroupsGroupArgs) ToServerGroupsGroupOutput() ServerGroupsGroupOutput

func (ServerGroupsGroupArgs) ToServerGroupsGroupOutputWithContext

func (i ServerGroupsGroupArgs) ToServerGroupsGroupOutputWithContext(ctx context.Context) ServerGroupsGroupOutput

type ServerGroupsGroupArray

type ServerGroupsGroupArray []ServerGroupsGroupInput

func (ServerGroupsGroupArray) ElementType

func (ServerGroupsGroupArray) ElementType() reflect.Type

func (ServerGroupsGroupArray) ToServerGroupsGroupArrayOutput

func (i ServerGroupsGroupArray) ToServerGroupsGroupArrayOutput() ServerGroupsGroupArrayOutput

func (ServerGroupsGroupArray) ToServerGroupsGroupArrayOutputWithContext

func (i ServerGroupsGroupArray) ToServerGroupsGroupArrayOutputWithContext(ctx context.Context) ServerGroupsGroupArrayOutput

type ServerGroupsGroupArrayInput

type ServerGroupsGroupArrayInput interface {
	pulumi.Input

	ToServerGroupsGroupArrayOutput() ServerGroupsGroupArrayOutput
	ToServerGroupsGroupArrayOutputWithContext(context.Context) ServerGroupsGroupArrayOutput
}

ServerGroupsGroupArrayInput is an input type that accepts ServerGroupsGroupArray and ServerGroupsGroupArrayOutput values. You can construct a concrete instance of `ServerGroupsGroupArrayInput` via:

ServerGroupsGroupArray{ ServerGroupsGroupArgs{...} }

type ServerGroupsGroupArrayOutput

type ServerGroupsGroupArrayOutput struct{ *pulumi.OutputState }

func (ServerGroupsGroupArrayOutput) ElementType

func (ServerGroupsGroupArrayOutput) Index

func (ServerGroupsGroupArrayOutput) ToServerGroupsGroupArrayOutput

func (o ServerGroupsGroupArrayOutput) ToServerGroupsGroupArrayOutput() ServerGroupsGroupArrayOutput

func (ServerGroupsGroupArrayOutput) ToServerGroupsGroupArrayOutputWithContext

func (o ServerGroupsGroupArrayOutput) ToServerGroupsGroupArrayOutputWithContext(ctx context.Context) ServerGroupsGroupArrayOutput

type ServerGroupsGroupInput

type ServerGroupsGroupInput interface {
	pulumi.Input

	ToServerGroupsGroupOutput() ServerGroupsGroupOutput
	ToServerGroupsGroupOutputWithContext(context.Context) ServerGroupsGroupOutput
}

ServerGroupsGroupInput is an input type that accepts ServerGroupsGroupArgs and ServerGroupsGroupOutput values. You can construct a concrete instance of `ServerGroupsGroupInput` via:

ServerGroupsGroupArgs{...}

type ServerGroupsGroupOutput

type ServerGroupsGroupOutput struct{ *pulumi.OutputState }

func (ServerGroupsGroupOutput) AddressIpVersion added in v0.0.19

func (o ServerGroupsGroupOutput) AddressIpVersion() pulumi.StringOutput

The address ip version of the ServerGroup.

func (ServerGroupsGroupOutput) CreateTime

The create time of the ServerGroup.

func (ServerGroupsGroupOutput) Description

The description of the ServerGroup.

func (ServerGroupsGroupOutput) ElementType

func (ServerGroupsGroupOutput) ElementType() reflect.Type

func (ServerGroupsGroupOutput) Id

The ID of the ServerGroup.

func (ServerGroupsGroupOutput) ServerGroupId

func (o ServerGroupsGroupOutput) ServerGroupId() pulumi.StringOutput

The ID of the ServerGroup.

func (ServerGroupsGroupOutput) ServerGroupName

func (o ServerGroupsGroupOutput) ServerGroupName() pulumi.StringOutput

The name of the ServerGroup.

func (ServerGroupsGroupOutput) ToServerGroupsGroupOutput

func (o ServerGroupsGroupOutput) ToServerGroupsGroupOutput() ServerGroupsGroupOutput

func (ServerGroupsGroupOutput) ToServerGroupsGroupOutputWithContext

func (o ServerGroupsGroupOutput) ToServerGroupsGroupOutputWithContext(ctx context.Context) ServerGroupsGroupOutput

func (ServerGroupsGroupOutput) UpdateTime

The update time of the ServerGroup.

type ServerGroupsOutputArgs

type ServerGroupsOutputArgs struct {
	// A list of ServerGroup IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// The id of the Clb.
	LoadBalancerId pulumi.StringPtrInput `pulumi:"loadBalancerId"`
	// A Name Regex of ServerGroup.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	// File name where to save data source results.
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The name of the ServerGroup.
	ServerGroupName pulumi.StringPtrInput `pulumi:"serverGroupName"`
}

A collection of arguments for invoking ServerGroups.

func (ServerGroupsOutputArgs) ElementType

func (ServerGroupsOutputArgs) ElementType() reflect.Type

type ServerGroupsResult

type ServerGroupsResult struct {
	// The collection of ServerGroup query.
	Groups []ServerGroupsGroup `pulumi:"groups"`
	// The provider-assigned unique ID for this managed resource.
	Id             string   `pulumi:"id"`
	Ids            []string `pulumi:"ids"`
	LoadBalancerId *string  `pulumi:"loadBalancerId"`
	NameRegex      *string  `pulumi:"nameRegex"`
	OutputFile     *string  `pulumi:"outputFile"`
	// The name of the ServerGroup.
	ServerGroupName *string `pulumi:"serverGroupName"`
	// The total count of ServerGroup query.
	TotalCount int `pulumi:"totalCount"`
}

A collection of values returned by ServerGroups.

func ServerGroups

func ServerGroups(ctx *pulumi.Context, args *ServerGroupsArgs, opts ...pulumi.InvokeOption) (*ServerGroupsResult, error)

Use this data source to query detailed information of server groups ## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/clb"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		fooZones, err := ecs.Zones(ctx, nil, nil)
		if err != nil {
			return err
		}
		fooVpc, err := vpc.NewVpc(ctx, "fooVpc", &vpc.VpcArgs{
			VpcName:   pulumi.String("acc-test-vpc"),
			CidrBlock: pulumi.String("172.16.0.0/16"),
		})
		if err != nil {
			return err
		}
		fooSubnet, err := vpc.NewSubnet(ctx, "fooSubnet", &vpc.SubnetArgs{
			SubnetName: pulumi.String("acc-test-subnet"),
			CidrBlock:  pulumi.String("172.16.0.0/24"),
			ZoneId:     *pulumi.String(fooZones.Zones[0].Id),
			VpcId:      fooVpc.ID(),
		})
		if err != nil {
			return err
		}
		fooClb, err := clb.NewClb(ctx, "fooClb", &clb.ClbArgs{
			Type:             pulumi.String("public"),
			SubnetId:         fooSubnet.ID(),
			LoadBalancerSpec: pulumi.String("small_1"),
			Description:      pulumi.String("acc0Demo"),
			LoadBalancerName: pulumi.String("acc-test-create"),
			EipBillingConfig: &clb.ClbEipBillingConfigArgs{
				Isp:            pulumi.String("BGP"),
				EipBillingType: pulumi.String("PostPaidByBandwidth"),
				Bandwidth:      pulumi.Int(1),
			},
		})
		if err != nil {
			return err
		}
		fooServerGroup, err := clb.NewServerGroup(ctx, "fooServerGroup", &clb.ServerGroupArgs{
			LoadBalancerId:  fooClb.ID(),
			ServerGroupName: pulumi.String("acc-test-create"),
			Description:     pulumi.String("hello demo11"),
		})
		if err != nil {
			return err
		}
		_ = clb.ServerGroupsOutput(ctx, clb.ServerGroupsOutputArgs{
			Ids: pulumi.StringArray{
				fooServerGroup.ID(),
			},
		}, nil)
		return nil
	})
}

```

type ServerGroupsResultOutput

type ServerGroupsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by ServerGroups.

func (ServerGroupsResultOutput) ElementType

func (ServerGroupsResultOutput) ElementType() reflect.Type

func (ServerGroupsResultOutput) Groups

The collection of ServerGroup query.

func (ServerGroupsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (ServerGroupsResultOutput) Ids

func (ServerGroupsResultOutput) LoadBalancerId

func (o ServerGroupsResultOutput) LoadBalancerId() pulumi.StringPtrOutput

func (ServerGroupsResultOutput) NameRegex

func (ServerGroupsResultOutput) OutputFile

func (ServerGroupsResultOutput) ServerGroupName

func (o ServerGroupsResultOutput) ServerGroupName() pulumi.StringPtrOutput

The name of the ServerGroup.

func (ServerGroupsResultOutput) ToServerGroupsResultOutput

func (o ServerGroupsResultOutput) ToServerGroupsResultOutput() ServerGroupsResultOutput

func (ServerGroupsResultOutput) ToServerGroupsResultOutputWithContext

func (o ServerGroupsResultOutput) ToServerGroupsResultOutputWithContext(ctx context.Context) ServerGroupsResultOutput

func (ServerGroupsResultOutput) TotalCount

func (o ServerGroupsResultOutput) TotalCount() pulumi.IntOutput

The total count of ServerGroup query.

type ZonesArgs

type ZonesArgs struct {
	// File name where to save data source results.
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking Zones.

type ZonesMasterZone

type ZonesMasterZone struct {
	// The slave zones list.
	SlaveZones []ZonesMasterZoneSlaveZone `pulumi:"slaveZones"`
	// The master zone id.
	ZoneId string `pulumi:"zoneId"`
}

type ZonesMasterZoneArgs

type ZonesMasterZoneArgs struct {
	// The slave zones list.
	SlaveZones ZonesMasterZoneSlaveZoneArrayInput `pulumi:"slaveZones"`
	// The master zone id.
	ZoneId pulumi.StringInput `pulumi:"zoneId"`
}

func (ZonesMasterZoneArgs) ElementType

func (ZonesMasterZoneArgs) ElementType() reflect.Type

func (ZonesMasterZoneArgs) ToZonesMasterZoneOutput

func (i ZonesMasterZoneArgs) ToZonesMasterZoneOutput() ZonesMasterZoneOutput

func (ZonesMasterZoneArgs) ToZonesMasterZoneOutputWithContext

func (i ZonesMasterZoneArgs) ToZonesMasterZoneOutputWithContext(ctx context.Context) ZonesMasterZoneOutput

type ZonesMasterZoneArray

type ZonesMasterZoneArray []ZonesMasterZoneInput

func (ZonesMasterZoneArray) ElementType

func (ZonesMasterZoneArray) ElementType() reflect.Type

func (ZonesMasterZoneArray) ToZonesMasterZoneArrayOutput

func (i ZonesMasterZoneArray) ToZonesMasterZoneArrayOutput() ZonesMasterZoneArrayOutput

func (ZonesMasterZoneArray) ToZonesMasterZoneArrayOutputWithContext

func (i ZonesMasterZoneArray) ToZonesMasterZoneArrayOutputWithContext(ctx context.Context) ZonesMasterZoneArrayOutput

type ZonesMasterZoneArrayInput

type ZonesMasterZoneArrayInput interface {
	pulumi.Input

	ToZonesMasterZoneArrayOutput() ZonesMasterZoneArrayOutput
	ToZonesMasterZoneArrayOutputWithContext(context.Context) ZonesMasterZoneArrayOutput
}

ZonesMasterZoneArrayInput is an input type that accepts ZonesMasterZoneArray and ZonesMasterZoneArrayOutput values. You can construct a concrete instance of `ZonesMasterZoneArrayInput` via:

ZonesMasterZoneArray{ ZonesMasterZoneArgs{...} }

type ZonesMasterZoneArrayOutput

type ZonesMasterZoneArrayOutput struct{ *pulumi.OutputState }

func (ZonesMasterZoneArrayOutput) ElementType

func (ZonesMasterZoneArrayOutput) ElementType() reflect.Type

func (ZonesMasterZoneArrayOutput) Index

func (ZonesMasterZoneArrayOutput) ToZonesMasterZoneArrayOutput

func (o ZonesMasterZoneArrayOutput) ToZonesMasterZoneArrayOutput() ZonesMasterZoneArrayOutput

func (ZonesMasterZoneArrayOutput) ToZonesMasterZoneArrayOutputWithContext

func (o ZonesMasterZoneArrayOutput) ToZonesMasterZoneArrayOutputWithContext(ctx context.Context) ZonesMasterZoneArrayOutput

type ZonesMasterZoneInput

type ZonesMasterZoneInput interface {
	pulumi.Input

	ToZonesMasterZoneOutput() ZonesMasterZoneOutput
	ToZonesMasterZoneOutputWithContext(context.Context) ZonesMasterZoneOutput
}

ZonesMasterZoneInput is an input type that accepts ZonesMasterZoneArgs and ZonesMasterZoneOutput values. You can construct a concrete instance of `ZonesMasterZoneInput` via:

ZonesMasterZoneArgs{...}

type ZonesMasterZoneOutput

type ZonesMasterZoneOutput struct{ *pulumi.OutputState }

func (ZonesMasterZoneOutput) ElementType

func (ZonesMasterZoneOutput) ElementType() reflect.Type

func (ZonesMasterZoneOutput) SlaveZones

The slave zones list.

func (ZonesMasterZoneOutput) ToZonesMasterZoneOutput

func (o ZonesMasterZoneOutput) ToZonesMasterZoneOutput() ZonesMasterZoneOutput

func (ZonesMasterZoneOutput) ToZonesMasterZoneOutputWithContext

func (o ZonesMasterZoneOutput) ToZonesMasterZoneOutputWithContext(ctx context.Context) ZonesMasterZoneOutput

func (ZonesMasterZoneOutput) ZoneId

The master zone id.

type ZonesMasterZoneSlaveZone

type ZonesMasterZoneSlaveZone struct {
	// The master zone id.
	ZoneId string `pulumi:"zoneId"`
}

type ZonesMasterZoneSlaveZoneArgs

type ZonesMasterZoneSlaveZoneArgs struct {
	// The master zone id.
	ZoneId pulumi.StringInput `pulumi:"zoneId"`
}

func (ZonesMasterZoneSlaveZoneArgs) ElementType

func (ZonesMasterZoneSlaveZoneArgs) ToZonesMasterZoneSlaveZoneOutput

func (i ZonesMasterZoneSlaveZoneArgs) ToZonesMasterZoneSlaveZoneOutput() ZonesMasterZoneSlaveZoneOutput

func (ZonesMasterZoneSlaveZoneArgs) ToZonesMasterZoneSlaveZoneOutputWithContext

func (i ZonesMasterZoneSlaveZoneArgs) ToZonesMasterZoneSlaveZoneOutputWithContext(ctx context.Context) ZonesMasterZoneSlaveZoneOutput

type ZonesMasterZoneSlaveZoneArray

type ZonesMasterZoneSlaveZoneArray []ZonesMasterZoneSlaveZoneInput

func (ZonesMasterZoneSlaveZoneArray) ElementType

func (ZonesMasterZoneSlaveZoneArray) ToZonesMasterZoneSlaveZoneArrayOutput

func (i ZonesMasterZoneSlaveZoneArray) ToZonesMasterZoneSlaveZoneArrayOutput() ZonesMasterZoneSlaveZoneArrayOutput

func (ZonesMasterZoneSlaveZoneArray) ToZonesMasterZoneSlaveZoneArrayOutputWithContext

func (i ZonesMasterZoneSlaveZoneArray) ToZonesMasterZoneSlaveZoneArrayOutputWithContext(ctx context.Context) ZonesMasterZoneSlaveZoneArrayOutput

type ZonesMasterZoneSlaveZoneArrayInput

type ZonesMasterZoneSlaveZoneArrayInput interface {
	pulumi.Input

	ToZonesMasterZoneSlaveZoneArrayOutput() ZonesMasterZoneSlaveZoneArrayOutput
	ToZonesMasterZoneSlaveZoneArrayOutputWithContext(context.Context) ZonesMasterZoneSlaveZoneArrayOutput
}

ZonesMasterZoneSlaveZoneArrayInput is an input type that accepts ZonesMasterZoneSlaveZoneArray and ZonesMasterZoneSlaveZoneArrayOutput values. You can construct a concrete instance of `ZonesMasterZoneSlaveZoneArrayInput` via:

ZonesMasterZoneSlaveZoneArray{ ZonesMasterZoneSlaveZoneArgs{...} }

type ZonesMasterZoneSlaveZoneArrayOutput

type ZonesMasterZoneSlaveZoneArrayOutput struct{ *pulumi.OutputState }

func (ZonesMasterZoneSlaveZoneArrayOutput) ElementType

func (ZonesMasterZoneSlaveZoneArrayOutput) Index

func (ZonesMasterZoneSlaveZoneArrayOutput) ToZonesMasterZoneSlaveZoneArrayOutput

func (o ZonesMasterZoneSlaveZoneArrayOutput) ToZonesMasterZoneSlaveZoneArrayOutput() ZonesMasterZoneSlaveZoneArrayOutput

func (ZonesMasterZoneSlaveZoneArrayOutput) ToZonesMasterZoneSlaveZoneArrayOutputWithContext

func (o ZonesMasterZoneSlaveZoneArrayOutput) ToZonesMasterZoneSlaveZoneArrayOutputWithContext(ctx context.Context) ZonesMasterZoneSlaveZoneArrayOutput

type ZonesMasterZoneSlaveZoneInput

type ZonesMasterZoneSlaveZoneInput interface {
	pulumi.Input

	ToZonesMasterZoneSlaveZoneOutput() ZonesMasterZoneSlaveZoneOutput
	ToZonesMasterZoneSlaveZoneOutputWithContext(context.Context) ZonesMasterZoneSlaveZoneOutput
}

ZonesMasterZoneSlaveZoneInput is an input type that accepts ZonesMasterZoneSlaveZoneArgs and ZonesMasterZoneSlaveZoneOutput values. You can construct a concrete instance of `ZonesMasterZoneSlaveZoneInput` via:

ZonesMasterZoneSlaveZoneArgs{...}

type ZonesMasterZoneSlaveZoneOutput

type ZonesMasterZoneSlaveZoneOutput struct{ *pulumi.OutputState }

func (ZonesMasterZoneSlaveZoneOutput) ElementType

func (ZonesMasterZoneSlaveZoneOutput) ToZonesMasterZoneSlaveZoneOutput

func (o ZonesMasterZoneSlaveZoneOutput) ToZonesMasterZoneSlaveZoneOutput() ZonesMasterZoneSlaveZoneOutput

func (ZonesMasterZoneSlaveZoneOutput) ToZonesMasterZoneSlaveZoneOutputWithContext

func (o ZonesMasterZoneSlaveZoneOutput) ToZonesMasterZoneSlaveZoneOutputWithContext(ctx context.Context) ZonesMasterZoneSlaveZoneOutput

func (ZonesMasterZoneSlaveZoneOutput) ZoneId

The master zone id.

type ZonesOutputArgs

type ZonesOutputArgs struct {
	// File name where to save data source results.
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking Zones.

func (ZonesOutputArgs) ElementType

func (ZonesOutputArgs) ElementType() reflect.Type

type ZonesResult

type ZonesResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The master zones list.
	MasterZones []ZonesMasterZone `pulumi:"masterZones"`
	OutputFile  *string           `pulumi:"outputFile"`
	// The total count of zone query.
	TotalCount int `pulumi:"totalCount"`
}

A collection of values returned by Zones.

func Zones

func Zones(ctx *pulumi.Context, args *ZonesArgs, opts ...pulumi.InvokeOption) (*ZonesResult, error)

Use this data source to query detailed information of clb zones ## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/clb"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := clb.Zones(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type ZonesResultOutput

type ZonesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by Zones.

func ZonesOutput

func ZonesOutput(ctx *pulumi.Context, args ZonesOutputArgs, opts ...pulumi.InvokeOption) ZonesResultOutput

func (ZonesResultOutput) ElementType

func (ZonesResultOutput) ElementType() reflect.Type

func (ZonesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (ZonesResultOutput) MasterZones

The master zones list.

func (ZonesResultOutput) OutputFile

func (o ZonesResultOutput) OutputFile() pulumi.StringPtrOutput

func (ZonesResultOutput) ToZonesResultOutput

func (o ZonesResultOutput) ToZonesResultOutput() ZonesResultOutput

func (ZonesResultOutput) ToZonesResultOutputWithContext

func (o ZonesResultOutput) ToZonesResultOutputWithContext(ctx context.Context) ZonesResultOutput

func (ZonesResultOutput) TotalCount

func (o ZonesResultOutput) TotalCount() pulumi.IntOutput

The total count of zone query.

Jump to

Keyboard shortcuts

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