rdspostgresql

package
v0.0.58 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2026 License: MPL-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 AllowList

type AllowList struct {
	pulumi.CustomResourceState

	// Allowlist category. Values: Ordinary: ordinary allowlist; Default: default allowlist. Note: This parameter has no default value when used as a request parameter. If not provided, all categories of allowlists are queried.
	AllowListCategory pulumi.StringOutput `pulumi:"allowListCategory"`
	// Description of the allowlist. Up to 200 characters. Default value is an empty string.
	AllowListDesc pulumi.StringOutput `pulumi:"allowListDesc"`
	// Allowlist ID.
	AllowListId pulumi.StringOutput `pulumi:"allowListId"`
	// Number of IP addresses or IP segments in the allowlist.
	AllowListIpNum pulumi.IntOutput `pulumi:"allowListIpNum"`
	// Allowlist naming rules: The allowlist name must be unique within the current region. It must start with a Chinese character, letter, or underscore (*). It can only contain Chinese characters, letters, numbers, underscores (*), and hyphens (-). Length must be 1–128 characters.
	AllowListName pulumi.StringOutput `pulumi:"allowListName"`
	// Network protocol type used by the allowlist. Value: IPv4 (default).
	AllowListType pulumi.StringOutput `pulumi:"allowListType"`
	// IP addresses included in the allowlist. Supports the following two formats: IP address format, for example: 10.23.12.24. CIDR IP address range format, for example: 10.23.12.0/24 (Classless Inter-Domain Routing, 24 indicates the prefix length, range is 1–32). Note: Each allowlist can add up to 300 IP addresses or IP ranges. If there are many IPs, it is recommended to merge them into IP ranges, such as 10.23.12.0/24. Do not add IP addresses ending with x.x.x.x/0 except for 0.0.0.0/0 to the allowlist. This field cannot be used together with the UserAllowList field.
	AllowLists pulumi.StringArrayOutput `pulumi:"allowLists"`
	// Number of instances bound to this allowlist.
	AssociatedInstanceNum pulumi.IntOutput `pulumi:"associatedInstanceNum"`
	// List of instances bound to this allowlist, including instance ID and instance name.
	// Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
	AssociatedInstances AllowListAssociatedInstanceArrayOutput `pulumi:"associatedInstances"`
	// Instance ID. When UpgradeAllowListVersion is set to true, you must provide this field to specify the instance for upgrading the allowlist version.
	InstanceId pulumi.StringOutput `pulumi:"instanceId"`
	// Query allowlist by IP address. Supports multiple IP addresses separated by commas (,). Note: If the allowlist contains any subset of the provided IP addresses, that allowlist will be returned.
	IpAddress pulumi.StringOutput `pulumi:"ipAddress"`
	// Allowlist modification mode. Values: Cover (default): overwrite, use the value of the AllowList field to overwrite the original allowlist. Append: add, add the IP addresses in the AllowList field to the original allowlist. Delete: remove, remove the IP addresses in the AllowList field from the original allowlist. At least one IP address must remain. Note: If the allowlist to be modified is bound to a security group, or if you need to bind a security group when modifying the allowlist, ModifyMode can only be set to Cover.
	ModifyMode pulumi.StringOutput `pulumi:"modifyMode"`
	// List of security groups bound to this allowlist.
	// Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
	SecurityGroupBindInfos AllowListSecurityGroupBindInfoArrayOutput `pulumi:"securityGroupBindInfos"`
	// Whether to update the security group bound to the allowlist. Values: true: update; false: do not update. Default value.
	UpdateSecurityGroup pulumi.BoolOutput `pulumi:"updateSecurityGroup"`
	// Whether to upgrade the allowlist version. Values: true: upgrade; false: do not upgrade (default). You must also provide the InstanceId field.
	UpgradeAllowListVersion pulumi.BoolOutput `pulumi:"upgradeAllowListVersion"`
	// IP addresses outside the security group that need to be added to the allowlist. You can enter IP addresses or CIDR IP ranges. Note: This field cannot be used together with the AllowList field.
	UserAllowList pulumi.StringOutput `pulumi:"userAllowList"`
}

An allowlist is a security measure for database connections. Only IP addresses in the allowlist can access the database. After a PostgreSQL instance is created, it is not bound to any allowlist, and all IP addresses are denied access by default. To connect to the instance via private or public network, you must first configure an allowlist for the instance to ensure connectivity.

## Example Usage

```go package main

import (

"github.com/byteplus-sdk/pulumi-bytepluscc/sdk/go/bytepluscc/rdspostgresql"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := rdspostgresql.NewAllowList(ctx, "RdsPostgresqlAllowListDemo", &rdspostgresql.AllowListArgs{
			AllowListCategory: pulumi.String("Default"),
			AllowListDesc:     pulumi.String("test"),
			AllowListName:     pulumi.String("ccapi-dx-2"),
			AllowListType:     pulumi.String("IPv4"),
			SecurityGroupBindInfos: rdspostgresql.AllowListSecurityGroupBindInfoArray{
				&rdspostgresql.AllowListSecurityGroupBindInfoArgs{
					Bind_mode:         "AssociateEcsIp",
					Security_group_id: "sg-w06pxxxxx5yk9xgrubx",
				},
				&rdspostgresql.AllowListSecurityGroupBindInfoArgs{
					Bind_mode: "IngressDirectionIp",
					Ip_list: []string{
						"100.70.0.0/16",
						"100.72.0.0/16",
						"100.73.0.0/16",
					},
					Security_group_id: "sg-1v9zvjxxxxxj8e73vhtg8",
				},
			},
			UserAllowList: pulumi.String("1.2.4.0/24"),
			AssociatedInstances: rdspostgresql.AllowListAssociatedInstanceArray{
				&rdspostgresql.AllowListAssociatedInstanceArgs{
					Instance_id: "postgres-cxxxx3b95",
				},
			},
			InstanceId:              pulumi.String("postgres-60xxxxx5ed9"),
			UpgradeAllowListVersion: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

```sh $ pulumi import bytepluscc:rdspostgresql/allowList:AllowList example "allow_list_id" ```

func GetAllowList

func GetAllowList(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AllowListState, opts ...pulumi.ResourceOption) (*AllowList, error)

GetAllowList gets an existing AllowList 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 NewAllowList

func NewAllowList(ctx *pulumi.Context,
	name string, args *AllowListArgs, opts ...pulumi.ResourceOption) (*AllowList, error)

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

func (*AllowList) ElementType

func (*AllowList) ElementType() reflect.Type

func (*AllowList) ToAllowListOutput

func (i *AllowList) ToAllowListOutput() AllowListOutput

func (*AllowList) ToAllowListOutputWithContext

func (i *AllowList) ToAllowListOutputWithContext(ctx context.Context) AllowListOutput

type AllowListArgs

type AllowListArgs struct {
	// Allowlist category. Values: Ordinary: ordinary allowlist; Default: default allowlist. Note: This parameter has no default value when used as a request parameter. If not provided, all categories of allowlists are queried.
	AllowListCategory pulumi.StringPtrInput
	// Description of the allowlist. Up to 200 characters. Default value is an empty string.
	AllowListDesc pulumi.StringPtrInput
	// Allowlist naming rules: The allowlist name must be unique within the current region. It must start with a Chinese character, letter, or underscore (*). It can only contain Chinese characters, letters, numbers, underscores (*), and hyphens (-). Length must be 1–128 characters.
	AllowListName pulumi.StringPtrInput
	// Network protocol type used by the allowlist. Value: IPv4 (default).
	AllowListType pulumi.StringPtrInput
	// IP addresses included in the allowlist. Supports the following two formats: IP address format, for example: 10.23.12.24. CIDR IP address range format, for example: 10.23.12.0/24 (Classless Inter-Domain Routing, 24 indicates the prefix length, range is 1–32). Note: Each allowlist can add up to 300 IP addresses or IP ranges. If there are many IPs, it is recommended to merge them into IP ranges, such as 10.23.12.0/24. Do not add IP addresses ending with x.x.x.x/0 except for 0.0.0.0/0 to the allowlist. This field cannot be used together with the UserAllowList field.
	AllowLists pulumi.StringArrayInput
	// List of instances bound to this allowlist, including instance ID and instance name.
	// Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
	AssociatedInstances AllowListAssociatedInstanceArrayInput
	// Instance ID. When UpgradeAllowListVersion is set to true, you must provide this field to specify the instance for upgrading the allowlist version.
	InstanceId pulumi.StringPtrInput
	// Query allowlist by IP address. Supports multiple IP addresses separated by commas (,). Note: If the allowlist contains any subset of the provided IP addresses, that allowlist will be returned.
	IpAddress pulumi.StringPtrInput
	// Allowlist modification mode. Values: Cover (default): overwrite, use the value of the AllowList field to overwrite the original allowlist. Append: add, add the IP addresses in the AllowList field to the original allowlist. Delete: remove, remove the IP addresses in the AllowList field from the original allowlist. At least one IP address must remain. Note: If the allowlist to be modified is bound to a security group, or if you need to bind a security group when modifying the allowlist, ModifyMode can only be set to Cover.
	ModifyMode pulumi.StringPtrInput
	// List of security groups bound to this allowlist.
	// Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
	SecurityGroupBindInfos AllowListSecurityGroupBindInfoArrayInput
	// Whether to update the security group bound to the allowlist. Values: true: update; false: do not update. Default value.
	UpdateSecurityGroup pulumi.BoolPtrInput
	// Whether to upgrade the allowlist version. Values: true: upgrade; false: do not upgrade (default). You must also provide the InstanceId field.
	UpgradeAllowListVersion pulumi.BoolPtrInput
	// IP addresses outside the security group that need to be added to the allowlist. You can enter IP addresses or CIDR IP ranges. Note: This field cannot be used together with the AllowList field.
	UserAllowList pulumi.StringPtrInput
}

The set of arguments for constructing a AllowList resource.

func (AllowListArgs) ElementType

func (AllowListArgs) ElementType() reflect.Type

type AllowListArray

type AllowListArray []AllowListInput

func (AllowListArray) ElementType

func (AllowListArray) ElementType() reflect.Type

func (AllowListArray) ToAllowListArrayOutput

func (i AllowListArray) ToAllowListArrayOutput() AllowListArrayOutput

func (AllowListArray) ToAllowListArrayOutputWithContext

func (i AllowListArray) ToAllowListArrayOutputWithContext(ctx context.Context) AllowListArrayOutput

type AllowListArrayInput

type AllowListArrayInput interface {
	pulumi.Input

	ToAllowListArrayOutput() AllowListArrayOutput
	ToAllowListArrayOutputWithContext(context.Context) AllowListArrayOutput
}

AllowListArrayInput is an input type that accepts AllowListArray and AllowListArrayOutput values. You can construct a concrete instance of `AllowListArrayInput` via:

AllowListArray{ AllowListArgs{...} }

type AllowListArrayOutput

type AllowListArrayOutput struct{ *pulumi.OutputState }

func (AllowListArrayOutput) ElementType

func (AllowListArrayOutput) ElementType() reflect.Type

func (AllowListArrayOutput) Index

func (AllowListArrayOutput) ToAllowListArrayOutput

func (o AllowListArrayOutput) ToAllowListArrayOutput() AllowListArrayOutput

func (AllowListArrayOutput) ToAllowListArrayOutputWithContext

func (o AllowListArrayOutput) ToAllowListArrayOutputWithContext(ctx context.Context) AllowListArrayOutput

type AllowListAssociatedInstance

type AllowListAssociatedInstance struct {
	// Instance ID.
	InstanceId *string `pulumi:"instanceId"`
}

type AllowListAssociatedInstanceArgs

type AllowListAssociatedInstanceArgs struct {
	// Instance ID.
	InstanceId pulumi.StringPtrInput `pulumi:"instanceId"`
}

func (AllowListAssociatedInstanceArgs) ElementType

func (AllowListAssociatedInstanceArgs) ToAllowListAssociatedInstanceOutput

func (i AllowListAssociatedInstanceArgs) ToAllowListAssociatedInstanceOutput() AllowListAssociatedInstanceOutput

func (AllowListAssociatedInstanceArgs) ToAllowListAssociatedInstanceOutputWithContext

func (i AllowListAssociatedInstanceArgs) ToAllowListAssociatedInstanceOutputWithContext(ctx context.Context) AllowListAssociatedInstanceOutput

type AllowListAssociatedInstanceArray

type AllowListAssociatedInstanceArray []AllowListAssociatedInstanceInput

func (AllowListAssociatedInstanceArray) ElementType

func (AllowListAssociatedInstanceArray) ToAllowListAssociatedInstanceArrayOutput

func (i AllowListAssociatedInstanceArray) ToAllowListAssociatedInstanceArrayOutput() AllowListAssociatedInstanceArrayOutput

func (AllowListAssociatedInstanceArray) ToAllowListAssociatedInstanceArrayOutputWithContext

func (i AllowListAssociatedInstanceArray) ToAllowListAssociatedInstanceArrayOutputWithContext(ctx context.Context) AllowListAssociatedInstanceArrayOutput

type AllowListAssociatedInstanceArrayInput

type AllowListAssociatedInstanceArrayInput interface {
	pulumi.Input

	ToAllowListAssociatedInstanceArrayOutput() AllowListAssociatedInstanceArrayOutput
	ToAllowListAssociatedInstanceArrayOutputWithContext(context.Context) AllowListAssociatedInstanceArrayOutput
}

AllowListAssociatedInstanceArrayInput is an input type that accepts AllowListAssociatedInstanceArray and AllowListAssociatedInstanceArrayOutput values. You can construct a concrete instance of `AllowListAssociatedInstanceArrayInput` via:

AllowListAssociatedInstanceArray{ AllowListAssociatedInstanceArgs{...} }

type AllowListAssociatedInstanceArrayOutput

type AllowListAssociatedInstanceArrayOutput struct{ *pulumi.OutputState }

func (AllowListAssociatedInstanceArrayOutput) ElementType

func (AllowListAssociatedInstanceArrayOutput) Index

func (AllowListAssociatedInstanceArrayOutput) ToAllowListAssociatedInstanceArrayOutput

func (o AllowListAssociatedInstanceArrayOutput) ToAllowListAssociatedInstanceArrayOutput() AllowListAssociatedInstanceArrayOutput

func (AllowListAssociatedInstanceArrayOutput) ToAllowListAssociatedInstanceArrayOutputWithContext

func (o AllowListAssociatedInstanceArrayOutput) ToAllowListAssociatedInstanceArrayOutputWithContext(ctx context.Context) AllowListAssociatedInstanceArrayOutput

type AllowListAssociatedInstanceInput

type AllowListAssociatedInstanceInput interface {
	pulumi.Input

	ToAllowListAssociatedInstanceOutput() AllowListAssociatedInstanceOutput
	ToAllowListAssociatedInstanceOutputWithContext(context.Context) AllowListAssociatedInstanceOutput
}

AllowListAssociatedInstanceInput is an input type that accepts AllowListAssociatedInstanceArgs and AllowListAssociatedInstanceOutput values. You can construct a concrete instance of `AllowListAssociatedInstanceInput` via:

AllowListAssociatedInstanceArgs{...}

type AllowListAssociatedInstanceOutput

type AllowListAssociatedInstanceOutput struct{ *pulumi.OutputState }

func (AllowListAssociatedInstanceOutput) ElementType

func (AllowListAssociatedInstanceOutput) InstanceId

Instance ID.

func (AllowListAssociatedInstanceOutput) ToAllowListAssociatedInstanceOutput

func (o AllowListAssociatedInstanceOutput) ToAllowListAssociatedInstanceOutput() AllowListAssociatedInstanceOutput

func (AllowListAssociatedInstanceOutput) ToAllowListAssociatedInstanceOutputWithContext

func (o AllowListAssociatedInstanceOutput) ToAllowListAssociatedInstanceOutputWithContext(ctx context.Context) AllowListAssociatedInstanceOutput

type AllowListInput

type AllowListInput interface {
	pulumi.Input

	ToAllowListOutput() AllowListOutput
	ToAllowListOutputWithContext(ctx context.Context) AllowListOutput
}

type AllowListMap

type AllowListMap map[string]AllowListInput

func (AllowListMap) ElementType

func (AllowListMap) ElementType() reflect.Type

func (AllowListMap) ToAllowListMapOutput

func (i AllowListMap) ToAllowListMapOutput() AllowListMapOutput

func (AllowListMap) ToAllowListMapOutputWithContext

func (i AllowListMap) ToAllowListMapOutputWithContext(ctx context.Context) AllowListMapOutput

type AllowListMapInput

type AllowListMapInput interface {
	pulumi.Input

	ToAllowListMapOutput() AllowListMapOutput
	ToAllowListMapOutputWithContext(context.Context) AllowListMapOutput
}

AllowListMapInput is an input type that accepts AllowListMap and AllowListMapOutput values. You can construct a concrete instance of `AllowListMapInput` via:

AllowListMap{ "key": AllowListArgs{...} }

type AllowListMapOutput

type AllowListMapOutput struct{ *pulumi.OutputState }

func (AllowListMapOutput) ElementType

func (AllowListMapOutput) ElementType() reflect.Type

func (AllowListMapOutput) MapIndex

func (AllowListMapOutput) ToAllowListMapOutput

func (o AllowListMapOutput) ToAllowListMapOutput() AllowListMapOutput

func (AllowListMapOutput) ToAllowListMapOutputWithContext

func (o AllowListMapOutput) ToAllowListMapOutputWithContext(ctx context.Context) AllowListMapOutput

type AllowListOutput

type AllowListOutput struct{ *pulumi.OutputState }

func (AllowListOutput) AllowListCategory

func (o AllowListOutput) AllowListCategory() pulumi.StringOutput

Allowlist category. Values: Ordinary: ordinary allowlist; Default: default allowlist. Note: This parameter has no default value when used as a request parameter. If not provided, all categories of allowlists are queried.

func (AllowListOutput) AllowListDesc

func (o AllowListOutput) AllowListDesc() pulumi.StringOutput

Description of the allowlist. Up to 200 characters. Default value is an empty string.

func (AllowListOutput) AllowListId

func (o AllowListOutput) AllowListId() pulumi.StringOutput

Allowlist ID.

func (AllowListOutput) AllowListIpNum

func (o AllowListOutput) AllowListIpNum() pulumi.IntOutput

Number of IP addresses or IP segments in the allowlist.

func (AllowListOutput) AllowListName

func (o AllowListOutput) AllowListName() pulumi.StringOutput

Allowlist naming rules: The allowlist name must be unique within the current region. It must start with a Chinese character, letter, or underscore (*). It can only contain Chinese characters, letters, numbers, underscores (*), and hyphens (-). Length must be 1–128 characters.

func (AllowListOutput) AllowListType

func (o AllowListOutput) AllowListType() pulumi.StringOutput

Network protocol type used by the allowlist. Value: IPv4 (default).

func (AllowListOutput) AllowLists

func (o AllowListOutput) AllowLists() pulumi.StringArrayOutput

IP addresses included in the allowlist. Supports the following two formats: IP address format, for example: 10.23.12.24. CIDR IP address range format, for example: 10.23.12.0/24 (Classless Inter-Domain Routing, 24 indicates the prefix length, range is 1–32). Note: Each allowlist can add up to 300 IP addresses or IP ranges. If there are many IPs, it is recommended to merge them into IP ranges, such as 10.23.12.0/24. Do not add IP addresses ending with x.x.x.x/0 except for 0.0.0.0/0 to the allowlist. This field cannot be used together with the UserAllowList field.

func (AllowListOutput) AssociatedInstanceNum

func (o AllowListOutput) AssociatedInstanceNum() pulumi.IntOutput

Number of instances bound to this allowlist.

func (AllowListOutput) AssociatedInstances

List of instances bound to this allowlist, including instance ID and instance name. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.

func (AllowListOutput) ElementType

func (AllowListOutput) ElementType() reflect.Type

func (AllowListOutput) InstanceId added in v0.0.35

func (o AllowListOutput) InstanceId() pulumi.StringOutput

Instance ID. When UpgradeAllowListVersion is set to true, you must provide this field to specify the instance for upgrading the allowlist version.

func (AllowListOutput) IpAddress

func (o AllowListOutput) IpAddress() pulumi.StringOutput

Query allowlist by IP address. Supports multiple IP addresses separated by commas (,). Note: If the allowlist contains any subset of the provided IP addresses, that allowlist will be returned.

func (AllowListOutput) ModifyMode

func (o AllowListOutput) ModifyMode() pulumi.StringOutput

Allowlist modification mode. Values: Cover (default): overwrite, use the value of the AllowList field to overwrite the original allowlist. Append: add, add the IP addresses in the AllowList field to the original allowlist. Delete: remove, remove the IP addresses in the AllowList field from the original allowlist. At least one IP address must remain. Note: If the allowlist to be modified is bound to a security group, or if you need to bind a security group when modifying the allowlist, ModifyMode can only be set to Cover.

func (AllowListOutput) SecurityGroupBindInfos

List of security groups bound to this allowlist. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.

func (AllowListOutput) ToAllowListOutput

func (o AllowListOutput) ToAllowListOutput() AllowListOutput

func (AllowListOutput) ToAllowListOutputWithContext

func (o AllowListOutput) ToAllowListOutputWithContext(ctx context.Context) AllowListOutput

func (AllowListOutput) UpdateSecurityGroup

func (o AllowListOutput) UpdateSecurityGroup() pulumi.BoolOutput

Whether to update the security group bound to the allowlist. Values: true: update; false: do not update. Default value.

func (AllowListOutput) UpgradeAllowListVersion added in v0.0.35

func (o AllowListOutput) UpgradeAllowListVersion() pulumi.BoolOutput

Whether to upgrade the allowlist version. Values: true: upgrade; false: do not upgrade (default). You must also provide the InstanceId field.

func (AllowListOutput) UserAllowList

func (o AllowListOutput) UserAllowList() pulumi.StringOutput

IP addresses outside the security group that need to be added to the allowlist. You can enter IP addresses or CIDR IP ranges. Note: This field cannot be used together with the AllowList field.

type AllowListSecurityGroupBindInfo

type AllowListSecurityGroupBindInfo struct {
	// Mode for associating security groups. Values: IngressDirectionIp: inbound IP. AssociateEcsIp: associate ECS IP.
	BindMode *string `pulumi:"bindMode"`
	// IP address list in the security group.
	IpLists []string `pulumi:"ipLists"`
	// Security group ID.
	SecurityGroupId *string `pulumi:"securityGroupId"`
	// Security group name.
	SecurityGroupName *string `pulumi:"securityGroupName"`
}

type AllowListSecurityGroupBindInfoArgs

type AllowListSecurityGroupBindInfoArgs struct {
	// Mode for associating security groups. Values: IngressDirectionIp: inbound IP. AssociateEcsIp: associate ECS IP.
	BindMode pulumi.StringPtrInput `pulumi:"bindMode"`
	// IP address list in the security group.
	IpLists pulumi.StringArrayInput `pulumi:"ipLists"`
	// Security group ID.
	SecurityGroupId pulumi.StringPtrInput `pulumi:"securityGroupId"`
	// Security group name.
	SecurityGroupName pulumi.StringPtrInput `pulumi:"securityGroupName"`
}

func (AllowListSecurityGroupBindInfoArgs) ElementType

func (AllowListSecurityGroupBindInfoArgs) ToAllowListSecurityGroupBindInfoOutput

func (i AllowListSecurityGroupBindInfoArgs) ToAllowListSecurityGroupBindInfoOutput() AllowListSecurityGroupBindInfoOutput

func (AllowListSecurityGroupBindInfoArgs) ToAllowListSecurityGroupBindInfoOutputWithContext

func (i AllowListSecurityGroupBindInfoArgs) ToAllowListSecurityGroupBindInfoOutputWithContext(ctx context.Context) AllowListSecurityGroupBindInfoOutput

type AllowListSecurityGroupBindInfoArray

type AllowListSecurityGroupBindInfoArray []AllowListSecurityGroupBindInfoInput

func (AllowListSecurityGroupBindInfoArray) ElementType

func (AllowListSecurityGroupBindInfoArray) ToAllowListSecurityGroupBindInfoArrayOutput

func (i AllowListSecurityGroupBindInfoArray) ToAllowListSecurityGroupBindInfoArrayOutput() AllowListSecurityGroupBindInfoArrayOutput

func (AllowListSecurityGroupBindInfoArray) ToAllowListSecurityGroupBindInfoArrayOutputWithContext

func (i AllowListSecurityGroupBindInfoArray) ToAllowListSecurityGroupBindInfoArrayOutputWithContext(ctx context.Context) AllowListSecurityGroupBindInfoArrayOutput

type AllowListSecurityGroupBindInfoArrayInput

type AllowListSecurityGroupBindInfoArrayInput interface {
	pulumi.Input

	ToAllowListSecurityGroupBindInfoArrayOutput() AllowListSecurityGroupBindInfoArrayOutput
	ToAllowListSecurityGroupBindInfoArrayOutputWithContext(context.Context) AllowListSecurityGroupBindInfoArrayOutput
}

AllowListSecurityGroupBindInfoArrayInput is an input type that accepts AllowListSecurityGroupBindInfoArray and AllowListSecurityGroupBindInfoArrayOutput values. You can construct a concrete instance of `AllowListSecurityGroupBindInfoArrayInput` via:

AllowListSecurityGroupBindInfoArray{ AllowListSecurityGroupBindInfoArgs{...} }

type AllowListSecurityGroupBindInfoArrayOutput

type AllowListSecurityGroupBindInfoArrayOutput struct{ *pulumi.OutputState }

func (AllowListSecurityGroupBindInfoArrayOutput) ElementType

func (AllowListSecurityGroupBindInfoArrayOutput) Index

func (AllowListSecurityGroupBindInfoArrayOutput) ToAllowListSecurityGroupBindInfoArrayOutput

func (o AllowListSecurityGroupBindInfoArrayOutput) ToAllowListSecurityGroupBindInfoArrayOutput() AllowListSecurityGroupBindInfoArrayOutput

func (AllowListSecurityGroupBindInfoArrayOutput) ToAllowListSecurityGroupBindInfoArrayOutputWithContext

func (o AllowListSecurityGroupBindInfoArrayOutput) ToAllowListSecurityGroupBindInfoArrayOutputWithContext(ctx context.Context) AllowListSecurityGroupBindInfoArrayOutput

type AllowListSecurityGroupBindInfoInput

type AllowListSecurityGroupBindInfoInput interface {
	pulumi.Input

	ToAllowListSecurityGroupBindInfoOutput() AllowListSecurityGroupBindInfoOutput
	ToAllowListSecurityGroupBindInfoOutputWithContext(context.Context) AllowListSecurityGroupBindInfoOutput
}

AllowListSecurityGroupBindInfoInput is an input type that accepts AllowListSecurityGroupBindInfoArgs and AllowListSecurityGroupBindInfoOutput values. You can construct a concrete instance of `AllowListSecurityGroupBindInfoInput` via:

AllowListSecurityGroupBindInfoArgs{...}

type AllowListSecurityGroupBindInfoOutput

type AllowListSecurityGroupBindInfoOutput struct{ *pulumi.OutputState }

func (AllowListSecurityGroupBindInfoOutput) BindMode

Mode for associating security groups. Values: IngressDirectionIp: inbound IP. AssociateEcsIp: associate ECS IP.

func (AllowListSecurityGroupBindInfoOutput) ElementType

func (AllowListSecurityGroupBindInfoOutput) IpLists

IP address list in the security group.

func (AllowListSecurityGroupBindInfoOutput) SecurityGroupId

Security group ID.

func (AllowListSecurityGroupBindInfoOutput) SecurityGroupName

Security group name.

func (AllowListSecurityGroupBindInfoOutput) ToAllowListSecurityGroupBindInfoOutput

func (o AllowListSecurityGroupBindInfoOutput) ToAllowListSecurityGroupBindInfoOutput() AllowListSecurityGroupBindInfoOutput

func (AllowListSecurityGroupBindInfoOutput) ToAllowListSecurityGroupBindInfoOutputWithContext

func (o AllowListSecurityGroupBindInfoOutput) ToAllowListSecurityGroupBindInfoOutputWithContext(ctx context.Context) AllowListSecurityGroupBindInfoOutput

type AllowListState

type AllowListState struct {
	// Allowlist category. Values: Ordinary: ordinary allowlist; Default: default allowlist. Note: This parameter has no default value when used as a request parameter. If not provided, all categories of allowlists are queried.
	AllowListCategory pulumi.StringPtrInput
	// Description of the allowlist. Up to 200 characters. Default value is an empty string.
	AllowListDesc pulumi.StringPtrInput
	// Allowlist ID.
	AllowListId pulumi.StringPtrInput
	// Number of IP addresses or IP segments in the allowlist.
	AllowListIpNum pulumi.IntPtrInput
	// Allowlist naming rules: The allowlist name must be unique within the current region. It must start with a Chinese character, letter, or underscore (*). It can only contain Chinese characters, letters, numbers, underscores (*), and hyphens (-). Length must be 1–128 characters.
	AllowListName pulumi.StringPtrInput
	// Network protocol type used by the allowlist. Value: IPv4 (default).
	AllowListType pulumi.StringPtrInput
	// IP addresses included in the allowlist. Supports the following two formats: IP address format, for example: 10.23.12.24. CIDR IP address range format, for example: 10.23.12.0/24 (Classless Inter-Domain Routing, 24 indicates the prefix length, range is 1–32). Note: Each allowlist can add up to 300 IP addresses or IP ranges. If there are many IPs, it is recommended to merge them into IP ranges, such as 10.23.12.0/24. Do not add IP addresses ending with x.x.x.x/0 except for 0.0.0.0/0 to the allowlist. This field cannot be used together with the UserAllowList field.
	AllowLists pulumi.StringArrayInput
	// Number of instances bound to this allowlist.
	AssociatedInstanceNum pulumi.IntPtrInput
	// List of instances bound to this allowlist, including instance ID and instance name.
	// Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
	AssociatedInstances AllowListAssociatedInstanceArrayInput
	// Instance ID. When UpgradeAllowListVersion is set to true, you must provide this field to specify the instance for upgrading the allowlist version.
	InstanceId pulumi.StringPtrInput
	// Query allowlist by IP address. Supports multiple IP addresses separated by commas (,). Note: If the allowlist contains any subset of the provided IP addresses, that allowlist will be returned.
	IpAddress pulumi.StringPtrInput
	// Allowlist modification mode. Values: Cover (default): overwrite, use the value of the AllowList field to overwrite the original allowlist. Append: add, add the IP addresses in the AllowList field to the original allowlist. Delete: remove, remove the IP addresses in the AllowList field from the original allowlist. At least one IP address must remain. Note: If the allowlist to be modified is bound to a security group, or if you need to bind a security group when modifying the allowlist, ModifyMode can only be set to Cover.
	ModifyMode pulumi.StringPtrInput
	// List of security groups bound to this allowlist.
	// Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
	SecurityGroupBindInfos AllowListSecurityGroupBindInfoArrayInput
	// Whether to update the security group bound to the allowlist. Values: true: update; false: do not update. Default value.
	UpdateSecurityGroup pulumi.BoolPtrInput
	// Whether to upgrade the allowlist version. Values: true: upgrade; false: do not upgrade (default). You must also provide the InstanceId field.
	UpgradeAllowListVersion pulumi.BoolPtrInput
	// IP addresses outside the security group that need to be added to the allowlist. You can enter IP addresses or CIDR IP ranges. Note: This field cannot be used together with the AllowList field.
	UserAllowList pulumi.StringPtrInput
}

func (AllowListState) ElementType

func (AllowListState) ElementType() reflect.Type

type Backup added in v0.0.29

type Backup struct {
	pulumi.CustomResourceState

	// Backup data size (bytes).
	BackupDataSize pulumi.IntOutput `pulumi:"backupDataSize"`
	// Backup description.
	BackupDescription pulumi.StringOutput `pulumi:"backupDescription"`
	// Backup end time.
	BackupEndTime pulumi.StringOutput `pulumi:"backupEndTime"`
	// Backup file name.
	BackupFileName pulumi.StringOutput `pulumi:"backupFileName"`
	// Backup file size (bytes).
	BackupFileSize pulumi.IntOutput `pulumi:"backupFileSize"`
	// Backup ID.
	BackupId pulumi.StringOutput `pulumi:"backupId"`
	// Backup metadata, used to specify the database list for logical backups.
	// Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
	BackupMetas BackupBackupMetaArrayOutput `pulumi:"backupMetas"`
	// Backup method: Physical for physical backup, Logical for logical backup.
	BackupMethod pulumi.StringOutput `pulumi:"backupMethod"`
	// Backup policy configuration information.
	BackupPolicy BackupBackupPolicyOutput `pulumi:"backupPolicy"`
	// Backup progress percentage.
	BackupProgress pulumi.IntOutput `pulumi:"backupProgress"`
	// Backup scope: Instance for instance-level backup, Database for database-level backup.
	BackupScope pulumi.StringOutput `pulumi:"backupScope"`
	// Backup start time.
	BackupStartTime pulumi.StringOutput `pulumi:"backupStartTime"`
	// Backup status, such as Success, Running, Failed.
	BackupStatus pulumi.StringOutput `pulumi:"backupStatus"`
	// Backup type: Full for full backup, Increment for incremental backup.
	BackupType pulumi.StringOutput `pulumi:"backupType"`
	// Creation method: Manual for manual creation, Automated for automatic creation.
	CreateType pulumi.StringOutput `pulumi:"createType"`
	// Download logical backup file after creation. Only valid for logical backups.
	DownloadBackup pulumi.BoolOutput `pulumi:"downloadBackup"`
	// Download preparation progress percentage.
	DownloadProgress pulumi.IntOutput `pulumi:"downloadProgress"`
	// Download status.
	DownloadStatus pulumi.StringOutput `pulumi:"downloadStatus"`
	// RDS PostgreSQL instance ID.
	InstanceId pulumi.StringOutput `pulumi:"instanceId"`
}

RDS PostgreSQL backup resources support both physical and logical backups. Physical backups can be created and queried; logical backups can be created, deleted, downloaded, and queried.

## Example Usage

```go package main

import (

"github.com/byteplus-sdk/pulumi-bytepluscc/sdk/go/bytepluscc/rdspostgresql"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := rdspostgresql.NewBackup(ctx, "RDSPostgreSQLBackupDemo", &rdspostgresql.BackupArgs{
			BackupMethod: pulumi.String("Logical"),
			BackupScope:  pulumi.String("Database"),
			InstanceId:   pulumi.String("postgres-09xxxxxxxxx"),
			BackupMetas: rdspostgresql.BackupBackupMetaArray{
				&rdspostgresql.BackupBackupMetaArgs{
					Db_name: "test_db",
				},
			},
			BackupDescription: pulumi.String("逻辑增量库级备份并下载测试"),
			BackupPolicy: &rdspostgresql.BackupBackupPolicyArgs{
				Data_incr_backup_periods:   "Wednesday",
				Full_backup_period:         "Tuesday,Thursday,Saturday",
				Hourly_incr_backup_enable:  true,
				Full_backup_time:           "01:00Z-02:00Z",
				Increment_backup_frequency: 2,
				Backup_retention_period:    14,
				Wal_log_space_limit_enable: true,
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

```sh $ pulumi import bytepluscc:rdspostgresql/backup:Backup example "backup_id|instance_id" ```

func GetBackup added in v0.0.29

func GetBackup(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BackupState, opts ...pulumi.ResourceOption) (*Backup, error)

GetBackup gets an existing Backup 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 NewBackup added in v0.0.29

func NewBackup(ctx *pulumi.Context,
	name string, args *BackupArgs, opts ...pulumi.ResourceOption) (*Backup, error)

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

func (*Backup) ElementType added in v0.0.29

func (*Backup) ElementType() reflect.Type

func (*Backup) ToBackupOutput added in v0.0.29

func (i *Backup) ToBackupOutput() BackupOutput

func (*Backup) ToBackupOutputWithContext added in v0.0.29

func (i *Backup) ToBackupOutputWithContext(ctx context.Context) BackupOutput

type BackupArgs added in v0.0.29

type BackupArgs struct {
	// Backup description.
	BackupDescription pulumi.StringPtrInput
	// Backup metadata, used to specify the database list for logical backups.
	// Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
	BackupMetas BackupBackupMetaArrayInput
	// Backup method: Physical for physical backup, Logical for logical backup.
	BackupMethod pulumi.StringPtrInput
	// Backup policy configuration information.
	BackupPolicy BackupBackupPolicyPtrInput
	// Backup scope: Instance for instance-level backup, Database for database-level backup.
	BackupScope pulumi.StringPtrInput
	// Backup type: Full for full backup, Increment for incremental backup.
	BackupType pulumi.StringPtrInput
	// Download logical backup file after creation. Only valid for logical backups.
	DownloadBackup pulumi.BoolPtrInput
	// RDS PostgreSQL instance ID.
	InstanceId pulumi.StringInput
}

The set of arguments for constructing a Backup resource.

func (BackupArgs) ElementType added in v0.0.29

func (BackupArgs) ElementType() reflect.Type

type BackupArray added in v0.0.29

type BackupArray []BackupInput

func (BackupArray) ElementType added in v0.0.29

func (BackupArray) ElementType() reflect.Type

func (BackupArray) ToBackupArrayOutput added in v0.0.29

func (i BackupArray) ToBackupArrayOutput() BackupArrayOutput

func (BackupArray) ToBackupArrayOutputWithContext added in v0.0.29

func (i BackupArray) ToBackupArrayOutputWithContext(ctx context.Context) BackupArrayOutput

type BackupArrayInput added in v0.0.29

type BackupArrayInput interface {
	pulumi.Input

	ToBackupArrayOutput() BackupArrayOutput
	ToBackupArrayOutputWithContext(context.Context) BackupArrayOutput
}

BackupArrayInput is an input type that accepts BackupArray and BackupArrayOutput values. You can construct a concrete instance of `BackupArrayInput` via:

BackupArray{ BackupArgs{...} }

type BackupArrayOutput added in v0.0.29

type BackupArrayOutput struct{ *pulumi.OutputState }

func (BackupArrayOutput) ElementType added in v0.0.29

func (BackupArrayOutput) ElementType() reflect.Type

func (BackupArrayOutput) Index added in v0.0.29

func (BackupArrayOutput) ToBackupArrayOutput added in v0.0.29

func (o BackupArrayOutput) ToBackupArrayOutput() BackupArrayOutput

func (BackupArrayOutput) ToBackupArrayOutputWithContext added in v0.0.29

func (o BackupArrayOutput) ToBackupArrayOutputWithContext(ctx context.Context) BackupArrayOutput

type BackupBackupMeta added in v0.0.29

type BackupBackupMeta struct {
	// Database name.
	DbName *string `pulumi:"dbName"`
}

type BackupBackupMetaArgs added in v0.0.29

type BackupBackupMetaArgs struct {
	// Database name.
	DbName pulumi.StringPtrInput `pulumi:"dbName"`
}

func (BackupBackupMetaArgs) ElementType added in v0.0.29

func (BackupBackupMetaArgs) ElementType() reflect.Type

func (BackupBackupMetaArgs) ToBackupBackupMetaOutput added in v0.0.29

func (i BackupBackupMetaArgs) ToBackupBackupMetaOutput() BackupBackupMetaOutput

func (BackupBackupMetaArgs) ToBackupBackupMetaOutputWithContext added in v0.0.29

func (i BackupBackupMetaArgs) ToBackupBackupMetaOutputWithContext(ctx context.Context) BackupBackupMetaOutput

type BackupBackupMetaArray added in v0.0.29

type BackupBackupMetaArray []BackupBackupMetaInput

func (BackupBackupMetaArray) ElementType added in v0.0.29

func (BackupBackupMetaArray) ElementType() reflect.Type

func (BackupBackupMetaArray) ToBackupBackupMetaArrayOutput added in v0.0.29

func (i BackupBackupMetaArray) ToBackupBackupMetaArrayOutput() BackupBackupMetaArrayOutput

func (BackupBackupMetaArray) ToBackupBackupMetaArrayOutputWithContext added in v0.0.29

func (i BackupBackupMetaArray) ToBackupBackupMetaArrayOutputWithContext(ctx context.Context) BackupBackupMetaArrayOutput

type BackupBackupMetaArrayInput added in v0.0.29

type BackupBackupMetaArrayInput interface {
	pulumi.Input

	ToBackupBackupMetaArrayOutput() BackupBackupMetaArrayOutput
	ToBackupBackupMetaArrayOutputWithContext(context.Context) BackupBackupMetaArrayOutput
}

BackupBackupMetaArrayInput is an input type that accepts BackupBackupMetaArray and BackupBackupMetaArrayOutput values. You can construct a concrete instance of `BackupBackupMetaArrayInput` via:

BackupBackupMetaArray{ BackupBackupMetaArgs{...} }

type BackupBackupMetaArrayOutput added in v0.0.29

type BackupBackupMetaArrayOutput struct{ *pulumi.OutputState }

func (BackupBackupMetaArrayOutput) ElementType added in v0.0.29

func (BackupBackupMetaArrayOutput) Index added in v0.0.29

func (BackupBackupMetaArrayOutput) ToBackupBackupMetaArrayOutput added in v0.0.29

func (o BackupBackupMetaArrayOutput) ToBackupBackupMetaArrayOutput() BackupBackupMetaArrayOutput

func (BackupBackupMetaArrayOutput) ToBackupBackupMetaArrayOutputWithContext added in v0.0.29

func (o BackupBackupMetaArrayOutput) ToBackupBackupMetaArrayOutputWithContext(ctx context.Context) BackupBackupMetaArrayOutput

type BackupBackupMetaInput added in v0.0.29

type BackupBackupMetaInput interface {
	pulumi.Input

	ToBackupBackupMetaOutput() BackupBackupMetaOutput
	ToBackupBackupMetaOutputWithContext(context.Context) BackupBackupMetaOutput
}

BackupBackupMetaInput is an input type that accepts BackupBackupMetaArgs and BackupBackupMetaOutput values. You can construct a concrete instance of `BackupBackupMetaInput` via:

BackupBackupMetaArgs{...}

type BackupBackupMetaOutput added in v0.0.29

type BackupBackupMetaOutput struct{ *pulumi.OutputState }

func (BackupBackupMetaOutput) DbName added in v0.0.29

Database name.

func (BackupBackupMetaOutput) ElementType added in v0.0.29

func (BackupBackupMetaOutput) ElementType() reflect.Type

func (BackupBackupMetaOutput) ToBackupBackupMetaOutput added in v0.0.29

func (o BackupBackupMetaOutput) ToBackupBackupMetaOutput() BackupBackupMetaOutput

func (BackupBackupMetaOutput) ToBackupBackupMetaOutputWithContext added in v0.0.29

func (o BackupBackupMetaOutput) ToBackupBackupMetaOutputWithContext(ctx context.Context) BackupBackupMetaOutput

type BackupBackupPolicy added in v0.0.29

type BackupBackupPolicy struct {
	// Backup retention days.
	BackupRetentionPeriod *int `pulumi:"backupRetentionPeriod"`
	// Data incremental backup schedule.
	DataIncrBackupPeriods *string `pulumi:"dataIncrBackupPeriods"`
	// Full backup schedule, such as Monday,Tuesday.
	FullBackupPeriod *string `pulumi:"fullBackupPeriod"`
	// Full backup time window, such as 00:00Z-01:00Z.
	FullBackupTime *string `pulumi:"fullBackupTime"`
	// Enable hourly incremental backup.
	HourlyIncrBackupEnable *bool `pulumi:"hourlyIncrBackupEnable"`
	// Incremental backup frequency (hours).
	IncrementBackupFrequency *int `pulumi:"incrementBackupFrequency"`
	// Enable WAL log space limit.
	WalLogSpaceLimitEnable *bool `pulumi:"walLogSpaceLimitEnable"`
}

type BackupBackupPolicyArgs added in v0.0.29

type BackupBackupPolicyArgs struct {
	// Backup retention days.
	BackupRetentionPeriod pulumi.IntPtrInput `pulumi:"backupRetentionPeriod"`
	// Data incremental backup schedule.
	DataIncrBackupPeriods pulumi.StringPtrInput `pulumi:"dataIncrBackupPeriods"`
	// Full backup schedule, such as Monday,Tuesday.
	FullBackupPeriod pulumi.StringPtrInput `pulumi:"fullBackupPeriod"`
	// Full backup time window, such as 00:00Z-01:00Z.
	FullBackupTime pulumi.StringPtrInput `pulumi:"fullBackupTime"`
	// Enable hourly incremental backup.
	HourlyIncrBackupEnable pulumi.BoolPtrInput `pulumi:"hourlyIncrBackupEnable"`
	// Incremental backup frequency (hours).
	IncrementBackupFrequency pulumi.IntPtrInput `pulumi:"incrementBackupFrequency"`
	// Enable WAL log space limit.
	WalLogSpaceLimitEnable pulumi.BoolPtrInput `pulumi:"walLogSpaceLimitEnable"`
}

func (BackupBackupPolicyArgs) ElementType added in v0.0.29

func (BackupBackupPolicyArgs) ElementType() reflect.Type

func (BackupBackupPolicyArgs) ToBackupBackupPolicyOutput added in v0.0.29

func (i BackupBackupPolicyArgs) ToBackupBackupPolicyOutput() BackupBackupPolicyOutput

func (BackupBackupPolicyArgs) ToBackupBackupPolicyOutputWithContext added in v0.0.29

func (i BackupBackupPolicyArgs) ToBackupBackupPolicyOutputWithContext(ctx context.Context) BackupBackupPolicyOutput

func (BackupBackupPolicyArgs) ToBackupBackupPolicyPtrOutput added in v0.0.29

func (i BackupBackupPolicyArgs) ToBackupBackupPolicyPtrOutput() BackupBackupPolicyPtrOutput

func (BackupBackupPolicyArgs) ToBackupBackupPolicyPtrOutputWithContext added in v0.0.29

func (i BackupBackupPolicyArgs) ToBackupBackupPolicyPtrOutputWithContext(ctx context.Context) BackupBackupPolicyPtrOutput

type BackupBackupPolicyInput added in v0.0.29

type BackupBackupPolicyInput interface {
	pulumi.Input

	ToBackupBackupPolicyOutput() BackupBackupPolicyOutput
	ToBackupBackupPolicyOutputWithContext(context.Context) BackupBackupPolicyOutput
}

BackupBackupPolicyInput is an input type that accepts BackupBackupPolicyArgs and BackupBackupPolicyOutput values. You can construct a concrete instance of `BackupBackupPolicyInput` via:

BackupBackupPolicyArgs{...}

type BackupBackupPolicyOutput added in v0.0.29

type BackupBackupPolicyOutput struct{ *pulumi.OutputState }

func (BackupBackupPolicyOutput) BackupRetentionPeriod added in v0.0.29

func (o BackupBackupPolicyOutput) BackupRetentionPeriod() pulumi.IntPtrOutput

Backup retention days.

func (BackupBackupPolicyOutput) DataIncrBackupPeriods added in v0.0.29

func (o BackupBackupPolicyOutput) DataIncrBackupPeriods() pulumi.StringPtrOutput

Data incremental backup schedule.

func (BackupBackupPolicyOutput) ElementType added in v0.0.29

func (BackupBackupPolicyOutput) ElementType() reflect.Type

func (BackupBackupPolicyOutput) FullBackupPeriod added in v0.0.29

func (o BackupBackupPolicyOutput) FullBackupPeriod() pulumi.StringPtrOutput

Full backup schedule, such as Monday,Tuesday.

func (BackupBackupPolicyOutput) FullBackupTime added in v0.0.29

func (o BackupBackupPolicyOutput) FullBackupTime() pulumi.StringPtrOutput

Full backup time window, such as 00:00Z-01:00Z.

func (BackupBackupPolicyOutput) HourlyIncrBackupEnable added in v0.0.29

func (o BackupBackupPolicyOutput) HourlyIncrBackupEnable() pulumi.BoolPtrOutput

Enable hourly incremental backup.

func (BackupBackupPolicyOutput) IncrementBackupFrequency added in v0.0.29

func (o BackupBackupPolicyOutput) IncrementBackupFrequency() pulumi.IntPtrOutput

Incremental backup frequency (hours).

func (BackupBackupPolicyOutput) ToBackupBackupPolicyOutput added in v0.0.29

func (o BackupBackupPolicyOutput) ToBackupBackupPolicyOutput() BackupBackupPolicyOutput

func (BackupBackupPolicyOutput) ToBackupBackupPolicyOutputWithContext added in v0.0.29

func (o BackupBackupPolicyOutput) ToBackupBackupPolicyOutputWithContext(ctx context.Context) BackupBackupPolicyOutput

func (BackupBackupPolicyOutput) ToBackupBackupPolicyPtrOutput added in v0.0.29

func (o BackupBackupPolicyOutput) ToBackupBackupPolicyPtrOutput() BackupBackupPolicyPtrOutput

func (BackupBackupPolicyOutput) ToBackupBackupPolicyPtrOutputWithContext added in v0.0.29

func (o BackupBackupPolicyOutput) ToBackupBackupPolicyPtrOutputWithContext(ctx context.Context) BackupBackupPolicyPtrOutput

func (BackupBackupPolicyOutput) WalLogSpaceLimitEnable added in v0.0.29

func (o BackupBackupPolicyOutput) WalLogSpaceLimitEnable() pulumi.BoolPtrOutput

Enable WAL log space limit.

type BackupBackupPolicyPtrInput added in v0.0.29

type BackupBackupPolicyPtrInput interface {
	pulumi.Input

	ToBackupBackupPolicyPtrOutput() BackupBackupPolicyPtrOutput
	ToBackupBackupPolicyPtrOutputWithContext(context.Context) BackupBackupPolicyPtrOutput
}

BackupBackupPolicyPtrInput is an input type that accepts BackupBackupPolicyArgs, BackupBackupPolicyPtr and BackupBackupPolicyPtrOutput values. You can construct a concrete instance of `BackupBackupPolicyPtrInput` via:

        BackupBackupPolicyArgs{...}

or:

        nil

func BackupBackupPolicyPtr added in v0.0.29

func BackupBackupPolicyPtr(v *BackupBackupPolicyArgs) BackupBackupPolicyPtrInput

type BackupBackupPolicyPtrOutput added in v0.0.29

type BackupBackupPolicyPtrOutput struct{ *pulumi.OutputState }

func (BackupBackupPolicyPtrOutput) BackupRetentionPeriod added in v0.0.29

func (o BackupBackupPolicyPtrOutput) BackupRetentionPeriod() pulumi.IntPtrOutput

Backup retention days.

func (BackupBackupPolicyPtrOutput) DataIncrBackupPeriods added in v0.0.29

func (o BackupBackupPolicyPtrOutput) DataIncrBackupPeriods() pulumi.StringPtrOutput

Data incremental backup schedule.

func (BackupBackupPolicyPtrOutput) Elem added in v0.0.29

func (BackupBackupPolicyPtrOutput) ElementType added in v0.0.29

func (BackupBackupPolicyPtrOutput) FullBackupPeriod added in v0.0.29

func (o BackupBackupPolicyPtrOutput) FullBackupPeriod() pulumi.StringPtrOutput

Full backup schedule, such as Monday,Tuesday.

func (BackupBackupPolicyPtrOutput) FullBackupTime added in v0.0.29

Full backup time window, such as 00:00Z-01:00Z.

func (BackupBackupPolicyPtrOutput) HourlyIncrBackupEnable added in v0.0.29

func (o BackupBackupPolicyPtrOutput) HourlyIncrBackupEnable() pulumi.BoolPtrOutput

Enable hourly incremental backup.

func (BackupBackupPolicyPtrOutput) IncrementBackupFrequency added in v0.0.29

func (o BackupBackupPolicyPtrOutput) IncrementBackupFrequency() pulumi.IntPtrOutput

Incremental backup frequency (hours).

func (BackupBackupPolicyPtrOutput) ToBackupBackupPolicyPtrOutput added in v0.0.29

func (o BackupBackupPolicyPtrOutput) ToBackupBackupPolicyPtrOutput() BackupBackupPolicyPtrOutput

func (BackupBackupPolicyPtrOutput) ToBackupBackupPolicyPtrOutputWithContext added in v0.0.29

func (o BackupBackupPolicyPtrOutput) ToBackupBackupPolicyPtrOutputWithContext(ctx context.Context) BackupBackupPolicyPtrOutput

func (BackupBackupPolicyPtrOutput) WalLogSpaceLimitEnable added in v0.0.29

func (o BackupBackupPolicyPtrOutput) WalLogSpaceLimitEnable() pulumi.BoolPtrOutput

Enable WAL log space limit.

type BackupInput added in v0.0.29

type BackupInput interface {
	pulumi.Input

	ToBackupOutput() BackupOutput
	ToBackupOutputWithContext(ctx context.Context) BackupOutput
}

type BackupMap added in v0.0.29

type BackupMap map[string]BackupInput

func (BackupMap) ElementType added in v0.0.29

func (BackupMap) ElementType() reflect.Type

func (BackupMap) ToBackupMapOutput added in v0.0.29

func (i BackupMap) ToBackupMapOutput() BackupMapOutput

func (BackupMap) ToBackupMapOutputWithContext added in v0.0.29

func (i BackupMap) ToBackupMapOutputWithContext(ctx context.Context) BackupMapOutput

type BackupMapInput added in v0.0.29

type BackupMapInput interface {
	pulumi.Input

	ToBackupMapOutput() BackupMapOutput
	ToBackupMapOutputWithContext(context.Context) BackupMapOutput
}

BackupMapInput is an input type that accepts BackupMap and BackupMapOutput values. You can construct a concrete instance of `BackupMapInput` via:

BackupMap{ "key": BackupArgs{...} }

type BackupMapOutput added in v0.0.29

type BackupMapOutput struct{ *pulumi.OutputState }

func (BackupMapOutput) ElementType added in v0.0.29

func (BackupMapOutput) ElementType() reflect.Type

func (BackupMapOutput) MapIndex added in v0.0.29

func (BackupMapOutput) ToBackupMapOutput added in v0.0.29

func (o BackupMapOutput) ToBackupMapOutput() BackupMapOutput

func (BackupMapOutput) ToBackupMapOutputWithContext added in v0.0.29

func (o BackupMapOutput) ToBackupMapOutputWithContext(ctx context.Context) BackupMapOutput

type BackupOutput added in v0.0.29

type BackupOutput struct{ *pulumi.OutputState }

func (BackupOutput) BackupDataSize added in v0.0.29

func (o BackupOutput) BackupDataSize() pulumi.IntOutput

Backup data size (bytes).

func (BackupOutput) BackupDescription added in v0.0.29

func (o BackupOutput) BackupDescription() pulumi.StringOutput

Backup description.

func (BackupOutput) BackupEndTime added in v0.0.29

func (o BackupOutput) BackupEndTime() pulumi.StringOutput

Backup end time.

func (BackupOutput) BackupFileName added in v0.0.29

func (o BackupOutput) BackupFileName() pulumi.StringOutput

Backup file name.

func (BackupOutput) BackupFileSize added in v0.0.29

func (o BackupOutput) BackupFileSize() pulumi.IntOutput

Backup file size (bytes).

func (BackupOutput) BackupId added in v0.0.29

func (o BackupOutput) BackupId() pulumi.StringOutput

Backup ID.

func (BackupOutput) BackupMetas added in v0.0.29

func (o BackupOutput) BackupMetas() BackupBackupMetaArrayOutput

Backup metadata, used to specify the database list for logical backups. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.

func (BackupOutput) BackupMethod added in v0.0.29

func (o BackupOutput) BackupMethod() pulumi.StringOutput

Backup method: Physical for physical backup, Logical for logical backup.

func (BackupOutput) BackupPolicy added in v0.0.29

func (o BackupOutput) BackupPolicy() BackupBackupPolicyOutput

Backup policy configuration information.

func (BackupOutput) BackupProgress added in v0.0.29

func (o BackupOutput) BackupProgress() pulumi.IntOutput

Backup progress percentage.

func (BackupOutput) BackupScope added in v0.0.29

func (o BackupOutput) BackupScope() pulumi.StringOutput

Backup scope: Instance for instance-level backup, Database for database-level backup.

func (BackupOutput) BackupStartTime added in v0.0.29

func (o BackupOutput) BackupStartTime() pulumi.StringOutput

Backup start time.

func (BackupOutput) BackupStatus added in v0.0.29

func (o BackupOutput) BackupStatus() pulumi.StringOutput

Backup status, such as Success, Running, Failed.

func (BackupOutput) BackupType added in v0.0.29

func (o BackupOutput) BackupType() pulumi.StringOutput

Backup type: Full for full backup, Increment for incremental backup.

func (BackupOutput) CreateType added in v0.0.29

func (o BackupOutput) CreateType() pulumi.StringOutput

Creation method: Manual for manual creation, Automated for automatic creation.

func (BackupOutput) DownloadBackup added in v0.0.29

func (o BackupOutput) DownloadBackup() pulumi.BoolOutput

Download logical backup file after creation. Only valid for logical backups.

func (BackupOutput) DownloadProgress added in v0.0.29

func (o BackupOutput) DownloadProgress() pulumi.IntOutput

Download preparation progress percentage.

func (BackupOutput) DownloadStatus added in v0.0.29

func (o BackupOutput) DownloadStatus() pulumi.StringOutput

Download status.

func (BackupOutput) ElementType added in v0.0.29

func (BackupOutput) ElementType() reflect.Type

func (BackupOutput) InstanceId added in v0.0.29

func (o BackupOutput) InstanceId() pulumi.StringOutput

RDS PostgreSQL instance ID.

func (BackupOutput) ToBackupOutput added in v0.0.29

func (o BackupOutput) ToBackupOutput() BackupOutput

func (BackupOutput) ToBackupOutputWithContext added in v0.0.29

func (o BackupOutput) ToBackupOutputWithContext(ctx context.Context) BackupOutput

type BackupState added in v0.0.29

type BackupState struct {
	// Backup data size (bytes).
	BackupDataSize pulumi.IntPtrInput
	// Backup description.
	BackupDescription pulumi.StringPtrInput
	// Backup end time.
	BackupEndTime pulumi.StringPtrInput
	// Backup file name.
	BackupFileName pulumi.StringPtrInput
	// Backup file size (bytes).
	BackupFileSize pulumi.IntPtrInput
	// Backup ID.
	BackupId pulumi.StringPtrInput
	// Backup metadata, used to specify the database list for logical backups.
	// Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
	BackupMetas BackupBackupMetaArrayInput
	// Backup method: Physical for physical backup, Logical for logical backup.
	BackupMethod pulumi.StringPtrInput
	// Backup policy configuration information.
	BackupPolicy BackupBackupPolicyPtrInput
	// Backup progress percentage.
	BackupProgress pulumi.IntPtrInput
	// Backup scope: Instance for instance-level backup, Database for database-level backup.
	BackupScope pulumi.StringPtrInput
	// Backup start time.
	BackupStartTime pulumi.StringPtrInput
	// Backup status, such as Success, Running, Failed.
	BackupStatus pulumi.StringPtrInput
	// Backup type: Full for full backup, Increment for incremental backup.
	BackupType pulumi.StringPtrInput
	// Creation method: Manual for manual creation, Automated for automatic creation.
	CreateType pulumi.StringPtrInput
	// Download logical backup file after creation. Only valid for logical backups.
	DownloadBackup pulumi.BoolPtrInput
	// Download preparation progress percentage.
	DownloadProgress pulumi.IntPtrInput
	// Download status.
	DownloadStatus pulumi.StringPtrInput
	// RDS PostgreSQL instance ID.
	InstanceId pulumi.StringPtrInput
}

func (BackupState) ElementType added in v0.0.29

func (BackupState) ElementType() reflect.Type

type Database added in v0.0.17

type Database struct {
	pulumi.CustomResourceState

	// Character classification. Supported values: C (default), C.UTF-8, en*US.utf8, zh*CN.utf8, and POSIX
	CType pulumi.StringOutput `pulumi:"cType"`
	// Database character set. Supported character sets: utf8 (default), latin1, ascii
	CharacterSetName pulumi.StringOutput `pulumi:"characterSetName"`
	// Collation. Supported values: C (default), C.UTF-8, en*US.utf8, zh*CN.utf8, and POSIX
	Collate pulumi.StringOutput `pulumi:"collate"`
	// Database name. Naming rules: Length must be 2–63 characters. Can contain letters, numbers, underscores, or hyphens. Must start with a letter and end with a letter or number. Reserved keywords are not allowed. For a list of all disabled keywords, see Disabled Keywords.
	DbName pulumi.StringOutput `pulumi:"dbName"`
	// Database status: Unavailable: Not available. Available: Available.
	DbStatus pulumi.StringOutput `pulumi:"dbStatus"`
	// Instance ID
	InstanceId pulumi.StringOutput `pulumi:"instanceId"`
	// Database owner. Note: Read-only instance accounts, high-privilege accounts with DDL permissions disabled, or regular accounts with DDL permissions disabled cannot be set as the database owner. If no value is provided or the value is empty, this field defaults to rds superuser
	Owner pulumi.StringOutput `pulumi:"owner"`
}

The database is an independent database within a PostgreSQL instance, used to store and manage data.

## Example Usage

```go package main

import (

"github.com/byteplus-sdk/pulumi-bytepluscc/sdk/go/bytepluscc/rdspostgresql"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := rdspostgresql.NewDatabase(ctx, "RDSPostgreSQLDatabaseDemo", &rdspostgresql.DatabaseArgs{
			InstanceId:       pulumi.String("postgres-8d1fcxxxxxx"),
			DbName:           pulumi.String("ccapi-terraform-1001"),
			CharacterSetName: pulumi.String("utf8"),
			Owner:            pulumi.String("test-1"),
			Collate:          pulumi.String("C"),
			CType:            pulumi.String("C.UTF-8"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

```sh $ pulumi import bytepluscc:rdspostgresql/database:Database example "instance_id|db_name" ```

func GetDatabase added in v0.0.17

func GetDatabase(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DatabaseState, opts ...pulumi.ResourceOption) (*Database, error)

GetDatabase gets an existing Database 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 NewDatabase added in v0.0.17

func NewDatabase(ctx *pulumi.Context,
	name string, args *DatabaseArgs, opts ...pulumi.ResourceOption) (*Database, error)

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

func (*Database) ElementType added in v0.0.17

func (*Database) ElementType() reflect.Type

func (*Database) ToDatabaseOutput added in v0.0.17

func (i *Database) ToDatabaseOutput() DatabaseOutput

func (*Database) ToDatabaseOutputWithContext added in v0.0.17

func (i *Database) ToDatabaseOutputWithContext(ctx context.Context) DatabaseOutput

type DatabaseArgs added in v0.0.17

type DatabaseArgs struct {
	// Character classification. Supported values: C (default), C.UTF-8, en*US.utf8, zh*CN.utf8, and POSIX
	CType pulumi.StringPtrInput
	// Database character set. Supported character sets: utf8 (default), latin1, ascii
	CharacterSetName pulumi.StringPtrInput
	// Collation. Supported values: C (default), C.UTF-8, en*US.utf8, zh*CN.utf8, and POSIX
	Collate pulumi.StringPtrInput
	// Database name. Naming rules: Length must be 2–63 characters. Can contain letters, numbers, underscores, or hyphens. Must start with a letter and end with a letter or number. Reserved keywords are not allowed. For a list of all disabled keywords, see Disabled Keywords.
	DbName pulumi.StringInput
	// Instance ID
	InstanceId pulumi.StringInput
	// Database owner. Note: Read-only instance accounts, high-privilege accounts with DDL permissions disabled, or regular accounts with DDL permissions disabled cannot be set as the database owner. If no value is provided or the value is empty, this field defaults to rds superuser
	Owner pulumi.StringPtrInput
}

The set of arguments for constructing a Database resource.

func (DatabaseArgs) ElementType added in v0.0.17

func (DatabaseArgs) ElementType() reflect.Type

type DatabaseArray added in v0.0.17

type DatabaseArray []DatabaseInput

func (DatabaseArray) ElementType added in v0.0.17

func (DatabaseArray) ElementType() reflect.Type

func (DatabaseArray) ToDatabaseArrayOutput added in v0.0.17

func (i DatabaseArray) ToDatabaseArrayOutput() DatabaseArrayOutput

func (DatabaseArray) ToDatabaseArrayOutputWithContext added in v0.0.17

func (i DatabaseArray) ToDatabaseArrayOutputWithContext(ctx context.Context) DatabaseArrayOutput

type DatabaseArrayInput added in v0.0.17

type DatabaseArrayInput interface {
	pulumi.Input

	ToDatabaseArrayOutput() DatabaseArrayOutput
	ToDatabaseArrayOutputWithContext(context.Context) DatabaseArrayOutput
}

DatabaseArrayInput is an input type that accepts DatabaseArray and DatabaseArrayOutput values. You can construct a concrete instance of `DatabaseArrayInput` via:

DatabaseArray{ DatabaseArgs{...} }

type DatabaseArrayOutput added in v0.0.17

type DatabaseArrayOutput struct{ *pulumi.OutputState }

func (DatabaseArrayOutput) ElementType added in v0.0.17

func (DatabaseArrayOutput) ElementType() reflect.Type

func (DatabaseArrayOutput) Index added in v0.0.17

func (DatabaseArrayOutput) ToDatabaseArrayOutput added in v0.0.17

func (o DatabaseArrayOutput) ToDatabaseArrayOutput() DatabaseArrayOutput

func (DatabaseArrayOutput) ToDatabaseArrayOutputWithContext added in v0.0.17

func (o DatabaseArrayOutput) ToDatabaseArrayOutputWithContext(ctx context.Context) DatabaseArrayOutput

type DatabaseInput added in v0.0.17

type DatabaseInput interface {
	pulumi.Input

	ToDatabaseOutput() DatabaseOutput
	ToDatabaseOutputWithContext(ctx context.Context) DatabaseOutput
}

type DatabaseMap added in v0.0.17

type DatabaseMap map[string]DatabaseInput

func (DatabaseMap) ElementType added in v0.0.17

func (DatabaseMap) ElementType() reflect.Type

func (DatabaseMap) ToDatabaseMapOutput added in v0.0.17

func (i DatabaseMap) ToDatabaseMapOutput() DatabaseMapOutput

func (DatabaseMap) ToDatabaseMapOutputWithContext added in v0.0.17

func (i DatabaseMap) ToDatabaseMapOutputWithContext(ctx context.Context) DatabaseMapOutput

type DatabaseMapInput added in v0.0.17

type DatabaseMapInput interface {
	pulumi.Input

	ToDatabaseMapOutput() DatabaseMapOutput
	ToDatabaseMapOutputWithContext(context.Context) DatabaseMapOutput
}

DatabaseMapInput is an input type that accepts DatabaseMap and DatabaseMapOutput values. You can construct a concrete instance of `DatabaseMapInput` via:

DatabaseMap{ "key": DatabaseArgs{...} }

type DatabaseMapOutput added in v0.0.17

type DatabaseMapOutput struct{ *pulumi.OutputState }

func (DatabaseMapOutput) ElementType added in v0.0.17

func (DatabaseMapOutput) ElementType() reflect.Type

func (DatabaseMapOutput) MapIndex added in v0.0.17

func (DatabaseMapOutput) ToDatabaseMapOutput added in v0.0.17

func (o DatabaseMapOutput) ToDatabaseMapOutput() DatabaseMapOutput

func (DatabaseMapOutput) ToDatabaseMapOutputWithContext added in v0.0.17

func (o DatabaseMapOutput) ToDatabaseMapOutputWithContext(ctx context.Context) DatabaseMapOutput

type DatabaseOutput added in v0.0.17

type DatabaseOutput struct{ *pulumi.OutputState }

func (DatabaseOutput) CType added in v0.0.17

Character classification. Supported values: C (default), C.UTF-8, en*US.utf8, zh*CN.utf8, and POSIX

func (DatabaseOutput) CharacterSetName added in v0.0.17

func (o DatabaseOutput) CharacterSetName() pulumi.StringOutput

Database character set. Supported character sets: utf8 (default), latin1, ascii

func (DatabaseOutput) Collate added in v0.0.17

func (o DatabaseOutput) Collate() pulumi.StringOutput

Collation. Supported values: C (default), C.UTF-8, en*US.utf8, zh*CN.utf8, and POSIX

func (DatabaseOutput) DbName added in v0.0.17

func (o DatabaseOutput) DbName() pulumi.StringOutput

Database name. Naming rules: Length must be 2–63 characters. Can contain letters, numbers, underscores, or hyphens. Must start with a letter and end with a letter or number. Reserved keywords are not allowed. For a list of all disabled keywords, see Disabled Keywords.

func (DatabaseOutput) DbStatus added in v0.0.17

func (o DatabaseOutput) DbStatus() pulumi.StringOutput

Database status: Unavailable: Not available. Available: Available.

func (DatabaseOutput) ElementType added in v0.0.17

func (DatabaseOutput) ElementType() reflect.Type

func (DatabaseOutput) InstanceId added in v0.0.17

func (o DatabaseOutput) InstanceId() pulumi.StringOutput

Instance ID

func (DatabaseOutput) Owner added in v0.0.17

Database owner. Note: Read-only instance accounts, high-privilege accounts with DDL permissions disabled, or regular accounts with DDL permissions disabled cannot be set as the database owner. If no value is provided or the value is empty, this field defaults to rds superuser

func (DatabaseOutput) ToDatabaseOutput added in v0.0.17

func (o DatabaseOutput) ToDatabaseOutput() DatabaseOutput

func (DatabaseOutput) ToDatabaseOutputWithContext added in v0.0.17

func (o DatabaseOutput) ToDatabaseOutputWithContext(ctx context.Context) DatabaseOutput

type DatabaseState added in v0.0.17

type DatabaseState struct {
	// Character classification. Supported values: C (default), C.UTF-8, en*US.utf8, zh*CN.utf8, and POSIX
	CType pulumi.StringPtrInput
	// Database character set. Supported character sets: utf8 (default), latin1, ascii
	CharacterSetName pulumi.StringPtrInput
	// Collation. Supported values: C (default), C.UTF-8, en*US.utf8, zh*CN.utf8, and POSIX
	Collate pulumi.StringPtrInput
	// Database name. Naming rules: Length must be 2–63 characters. Can contain letters, numbers, underscores, or hyphens. Must start with a letter and end with a letter or number. Reserved keywords are not allowed. For a list of all disabled keywords, see Disabled Keywords.
	DbName pulumi.StringPtrInput
	// Database status: Unavailable: Not available. Available: Available.
	DbStatus pulumi.StringPtrInput
	// Instance ID
	InstanceId pulumi.StringPtrInput
	// Database owner. Note: Read-only instance accounts, high-privilege accounts with DDL permissions disabled, or regular accounts with DDL permissions disabled cannot be set as the database owner. If no value is provided or the value is empty, this field defaults to rds superuser
	Owner pulumi.StringPtrInput
}

func (DatabaseState) ElementType added in v0.0.17

func (DatabaseState) ElementType() reflect.Type

type DbAccount added in v0.0.15

type DbAccount struct {
	pulumi.CustomResourceState

	// Database account name. The account name rules are as follows: Length must be 2–63 characters. Can contain letters, numbers, underscores (*), or hyphens (-). Must start with a letter and end with a letter or number. Cannot start with pg*. Reserved keywords cannot be used. For all disabled keywords, see Disabled Keywords.
	AccountName pulumi.StringOutput `pulumi:"accountName"`
	// Database account password. The password rules are as follows: Length must be 8–32 characters. Must contain any three of the following: uppercase letters, lowercase letters, numbers, special characters. Supported special characters: !@#$%^*()&_+-=.
	AccountPassword pulumi.StringOutput `pulumi:"accountPassword"`
	// Account permission information. Separate multiple permissions with commas (,). Valid values: Login: Login permission. Inherit: Inherit permission. CreateRole: Create role permission. CreateDB: Create database permission. Note: If the account type is high privilege, you do not need to provide this parameter; all permissions are supported by default. If the account type is normal, you can provide this parameter; the default values are Login and Inherit. If the account type is instance read-only, that is, AccountType is set to InstanceReadOnly, this parameter is not supported.
	AccountPrivileges pulumi.StringOutput `pulumi:"accountPrivileges"`
	// Database account type. Valid values: Super: High privilege account. Normal: Normal account. InstanceReadOnly: Instance read-only account.
	AccountType pulumi.StringOutput `pulumi:"accountType"`
	// Instance ID
	InstanceId pulumi.StringOutput `pulumi:"instanceId"`
	// Permissions disabled for the account. Currently, only DDL is supported. Note: This field can only be provided for high privilege or normal accounts, that is, when AccountType is set to Super or Normal.
	NotAllowPrivileges pulumi.StringArrayOutput `pulumi:"notAllowPrivileges"`
}

RDS PostgreSQL Database Account

## Example Usage

```go package main

import (

"github.com/byteplus-sdk/pulumi-bytepluscc/sdk/go/bytepluscc/rdspostgresql"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := rdspostgresql.NewDbAccount(ctx, "RDSPostgreSQLDBAccountNormalDemo", &rdspostgresql.DbAccountArgs{
			InstanceId:        pulumi.String("postgres-xxxxxxx"),
			AccountName:       pulumi.String("ccapi-test-Normal"),
			AccountPassword:   pulumi.String("**********"),
			AccountType:       pulumi.String("Normal"),
			AccountPrivileges: pulumi.String("Inherit,Login,CreateRole,CreateDB"),
			NotAllowPrivileges: pulumi.StringArray{
				pulumi.String("DDL"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

```sh $ pulumi import bytepluscc:rdspostgresql/dbAccount:DbAccount example "instance_id|account_name" ```

func GetDbAccount added in v0.0.15

func GetDbAccount(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DbAccountState, opts ...pulumi.ResourceOption) (*DbAccount, error)

GetDbAccount gets an existing DbAccount 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 NewDbAccount added in v0.0.15

func NewDbAccount(ctx *pulumi.Context,
	name string, args *DbAccountArgs, opts ...pulumi.ResourceOption) (*DbAccount, error)

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

func (*DbAccount) ElementType added in v0.0.15

func (*DbAccount) ElementType() reflect.Type

func (*DbAccount) ToDbAccountOutput added in v0.0.15

func (i *DbAccount) ToDbAccountOutput() DbAccountOutput

func (*DbAccount) ToDbAccountOutputWithContext added in v0.0.15

func (i *DbAccount) ToDbAccountOutputWithContext(ctx context.Context) DbAccountOutput

type DbAccountArgs added in v0.0.15

type DbAccountArgs struct {
	// Database account name. The account name rules are as follows: Length must be 2–63 characters. Can contain letters, numbers, underscores (*), or hyphens (-). Must start with a letter and end with a letter or number. Cannot start with pg*. Reserved keywords cannot be used. For all disabled keywords, see Disabled Keywords.
	AccountName pulumi.StringInput
	// Database account password. The password rules are as follows: Length must be 8–32 characters. Must contain any three of the following: uppercase letters, lowercase letters, numbers, special characters. Supported special characters: !@#$%^*()&_+-=.
	AccountPassword pulumi.StringInput
	// Account permission information. Separate multiple permissions with commas (,). Valid values: Login: Login permission. Inherit: Inherit permission. CreateRole: Create role permission. CreateDB: Create database permission. Note: If the account type is high privilege, you do not need to provide this parameter; all permissions are supported by default. If the account type is normal, you can provide this parameter; the default values are Login and Inherit. If the account type is instance read-only, that is, AccountType is set to InstanceReadOnly, this parameter is not supported.
	AccountPrivileges pulumi.StringPtrInput
	// Database account type. Valid values: Super: High privilege account. Normal: Normal account. InstanceReadOnly: Instance read-only account.
	AccountType pulumi.StringInput
	// Instance ID
	InstanceId pulumi.StringPtrInput
	// Permissions disabled for the account. Currently, only DDL is supported. Note: This field can only be provided for high privilege or normal accounts, that is, when AccountType is set to Super or Normal.
	NotAllowPrivileges pulumi.StringArrayInput
}

The set of arguments for constructing a DbAccount resource.

func (DbAccountArgs) ElementType added in v0.0.15

func (DbAccountArgs) ElementType() reflect.Type

type DbAccountArray added in v0.0.15

type DbAccountArray []DbAccountInput

func (DbAccountArray) ElementType added in v0.0.15

func (DbAccountArray) ElementType() reflect.Type

func (DbAccountArray) ToDbAccountArrayOutput added in v0.0.15

func (i DbAccountArray) ToDbAccountArrayOutput() DbAccountArrayOutput

func (DbAccountArray) ToDbAccountArrayOutputWithContext added in v0.0.15

func (i DbAccountArray) ToDbAccountArrayOutputWithContext(ctx context.Context) DbAccountArrayOutput

type DbAccountArrayInput added in v0.0.15

type DbAccountArrayInput interface {
	pulumi.Input

	ToDbAccountArrayOutput() DbAccountArrayOutput
	ToDbAccountArrayOutputWithContext(context.Context) DbAccountArrayOutput
}

DbAccountArrayInput is an input type that accepts DbAccountArray and DbAccountArrayOutput values. You can construct a concrete instance of `DbAccountArrayInput` via:

DbAccountArray{ DbAccountArgs{...} }

type DbAccountArrayOutput added in v0.0.15

type DbAccountArrayOutput struct{ *pulumi.OutputState }

func (DbAccountArrayOutput) ElementType added in v0.0.15

func (DbAccountArrayOutput) ElementType() reflect.Type

func (DbAccountArrayOutput) Index added in v0.0.15

func (DbAccountArrayOutput) ToDbAccountArrayOutput added in v0.0.15

func (o DbAccountArrayOutput) ToDbAccountArrayOutput() DbAccountArrayOutput

func (DbAccountArrayOutput) ToDbAccountArrayOutputWithContext added in v0.0.15

func (o DbAccountArrayOutput) ToDbAccountArrayOutputWithContext(ctx context.Context) DbAccountArrayOutput

type DbAccountInput added in v0.0.15

type DbAccountInput interface {
	pulumi.Input

	ToDbAccountOutput() DbAccountOutput
	ToDbAccountOutputWithContext(ctx context.Context) DbAccountOutput
}

type DbAccountMap added in v0.0.15

type DbAccountMap map[string]DbAccountInput

func (DbAccountMap) ElementType added in v0.0.15

func (DbAccountMap) ElementType() reflect.Type

func (DbAccountMap) ToDbAccountMapOutput added in v0.0.15

func (i DbAccountMap) ToDbAccountMapOutput() DbAccountMapOutput

func (DbAccountMap) ToDbAccountMapOutputWithContext added in v0.0.15

func (i DbAccountMap) ToDbAccountMapOutputWithContext(ctx context.Context) DbAccountMapOutput

type DbAccountMapInput added in v0.0.15

type DbAccountMapInput interface {
	pulumi.Input

	ToDbAccountMapOutput() DbAccountMapOutput
	ToDbAccountMapOutputWithContext(context.Context) DbAccountMapOutput
}

DbAccountMapInput is an input type that accepts DbAccountMap and DbAccountMapOutput values. You can construct a concrete instance of `DbAccountMapInput` via:

DbAccountMap{ "key": DbAccountArgs{...} }

type DbAccountMapOutput added in v0.0.15

type DbAccountMapOutput struct{ *pulumi.OutputState }

func (DbAccountMapOutput) ElementType added in v0.0.15

func (DbAccountMapOutput) ElementType() reflect.Type

func (DbAccountMapOutput) MapIndex added in v0.0.15

func (DbAccountMapOutput) ToDbAccountMapOutput added in v0.0.15

func (o DbAccountMapOutput) ToDbAccountMapOutput() DbAccountMapOutput

func (DbAccountMapOutput) ToDbAccountMapOutputWithContext added in v0.0.15

func (o DbAccountMapOutput) ToDbAccountMapOutputWithContext(ctx context.Context) DbAccountMapOutput

type DbAccountOutput added in v0.0.15

type DbAccountOutput struct{ *pulumi.OutputState }

func (DbAccountOutput) AccountName added in v0.0.15

func (o DbAccountOutput) AccountName() pulumi.StringOutput

Database account name. The account name rules are as follows: Length must be 2–63 characters. Can contain letters, numbers, underscores (*), or hyphens (-). Must start with a letter and end with a letter or number. Cannot start with pg*. Reserved keywords cannot be used. For all disabled keywords, see Disabled Keywords.

func (DbAccountOutput) AccountPassword added in v0.0.15

func (o DbAccountOutput) AccountPassword() pulumi.StringOutput

Database account password. The password rules are as follows: Length must be 8–32 characters. Must contain any three of the following: uppercase letters, lowercase letters, numbers, special characters. Supported special characters: !@#$%^*()&_+-=.

func (DbAccountOutput) AccountPrivileges added in v0.0.15

func (o DbAccountOutput) AccountPrivileges() pulumi.StringOutput

Account permission information. Separate multiple permissions with commas (,). Valid values: Login: Login permission. Inherit: Inherit permission. CreateRole: Create role permission. CreateDB: Create database permission. Note: If the account type is high privilege, you do not need to provide this parameter; all permissions are supported by default. If the account type is normal, you can provide this parameter; the default values are Login and Inherit. If the account type is instance read-only, that is, AccountType is set to InstanceReadOnly, this parameter is not supported.

func (DbAccountOutput) AccountType added in v0.0.15

func (o DbAccountOutput) AccountType() pulumi.StringOutput

Database account type. Valid values: Super: High privilege account. Normal: Normal account. InstanceReadOnly: Instance read-only account.

func (DbAccountOutput) ElementType added in v0.0.15

func (DbAccountOutput) ElementType() reflect.Type

func (DbAccountOutput) InstanceId added in v0.0.15

func (o DbAccountOutput) InstanceId() pulumi.StringOutput

Instance ID

func (DbAccountOutput) NotAllowPrivileges added in v0.0.15

func (o DbAccountOutput) NotAllowPrivileges() pulumi.StringArrayOutput

Permissions disabled for the account. Currently, only DDL is supported. Note: This field can only be provided for high privilege or normal accounts, that is, when AccountType is set to Super or Normal.

func (DbAccountOutput) ToDbAccountOutput added in v0.0.15

func (o DbAccountOutput) ToDbAccountOutput() DbAccountOutput

func (DbAccountOutput) ToDbAccountOutputWithContext added in v0.0.15

func (o DbAccountOutput) ToDbAccountOutputWithContext(ctx context.Context) DbAccountOutput

type DbAccountState added in v0.0.15

type DbAccountState struct {
	// Database account name. The account name rules are as follows: Length must be 2–63 characters. Can contain letters, numbers, underscores (*), or hyphens (-). Must start with a letter and end with a letter or number. Cannot start with pg*. Reserved keywords cannot be used. For all disabled keywords, see Disabled Keywords.
	AccountName pulumi.StringPtrInput
	// Database account password. The password rules are as follows: Length must be 8–32 characters. Must contain any three of the following: uppercase letters, lowercase letters, numbers, special characters. Supported special characters: !@#$%^*()&_+-=.
	AccountPassword pulumi.StringPtrInput
	// Account permission information. Separate multiple permissions with commas (,). Valid values: Login: Login permission. Inherit: Inherit permission. CreateRole: Create role permission. CreateDB: Create database permission. Note: If the account type is high privilege, you do not need to provide this parameter; all permissions are supported by default. If the account type is normal, you can provide this parameter; the default values are Login and Inherit. If the account type is instance read-only, that is, AccountType is set to InstanceReadOnly, this parameter is not supported.
	AccountPrivileges pulumi.StringPtrInput
	// Database account type. Valid values: Super: High privilege account. Normal: Normal account. InstanceReadOnly: Instance read-only account.
	AccountType pulumi.StringPtrInput
	// Instance ID
	InstanceId pulumi.StringPtrInput
	// Permissions disabled for the account. Currently, only DDL is supported. Note: This field can only be provided for high privilege or normal accounts, that is, when AccountType is set to Super or Normal.
	NotAllowPrivileges pulumi.StringArrayInput
}

func (DbAccountState) ElementType added in v0.0.15

func (DbAccountState) ElementType() reflect.Type

type DbEndpoint added in v0.0.17

type DbEndpoint struct {
	pulumi.CustomResourceState

	// When the endpoint type is read/write or read-only, you can configure whether new nodes are automatically added. Values: Enable: Automatically add. Disable: Do not automatically add (default).
	AutoAddNewNodes pulumi.StringOutput `pulumi:"autoAddNewNodes"`
	// Address description
	Description pulumi.StringOutput `pulumi:"description"`
	// Whether global read-only is enabled. Enable: Enabled. Disable: Not enabled.
	EnableReadOnly pulumi.StringOutput `pulumi:"enableReadOnly"`
	// Whether read/write splitting is enabled. Values: Enable: Enabled. Disable: Not enabled.
	EnableReadWriteSplitting pulumi.StringOutput `pulumi:"enableReadWriteSplitting"`
	// Instance connection endpoint ID.
	EndpointId pulumi.StringOutput `pulumi:"endpointId"`
	// Instance connection endpoint name.
	EndpointName pulumi.StringOutput `pulumi:"endpointName"`
	// Endpoint type: Cluster: default endpoint (created by default). Custom: custom endpoint.
	EndpointType pulumi.StringOutput `pulumi:"endpointType"`
	// Public service zone connection address
	InnerAddresses DbEndpointInnerAddressesOutput `pulumi:"innerAddresses"`
	// Instance ID.
	InstanceId pulumi.StringOutput `pulumi:"instanceId"`
	// List of nodes configured for the connection endpoint. Note: Required when EndpointType is Custom. The primary node does not require a node ID; use the string 'Primary'.
	Nodes pulumi.StringOutput `pulumi:"nodes"`
	// Private network connection address
	PrivateAddresses DbEndpointPrivateAddressesOutput `pulumi:"privateAddresses"`
	// Public network connection address
	PublicAddresses DbEndpointPublicAddressesOutput `pulumi:"publicAddresses"`
	// Read-only weight allocation mode. Values: Default: standard weight allocation (default). Custom: custom weight allocation.
	ReadOnlyNodeDistributionType pulumi.StringOutput `pulumi:"readOnlyNodeDistributionType"`
	// Maximum latency threshold for read-only nodes. When the latency of a read-only node exceeds this value, read traffic will not be sent to that node. Unit: seconds. Range: 0~3600. Default: 30. Note: This parameter can be set for default endpoints with read/write splitting enabled.
	ReadOnlyNodeMaxDelayTime pulumi.IntOutput `pulumi:"readOnlyNodeMaxDelayTime"`
	// List of nodes configured for the connection endpoint and their corresponding read-only weights.
	// Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
	ReadOnlyNodeWeights DbEndpointReadOnlyNodeWeightArrayOutput `pulumi:"readOnlyNodeWeights"`
	// Read/write mode: ReadWrite: read/write. ReadOnly: read-only.
	ReadWriteMode pulumi.StringOutput `pulumi:"readWriteMode"`
	// After enabling read/write splitting for the endpoint, set the number of proxy connections for the endpoint. The minimum value for proxy connections is 20. The maximum value depends on the specifications of the primary node; different specifications support different maximum proxy connections. For details, see product specifications.
	ReadWriteProxyConnection pulumi.IntOutput `pulumi:"readWriteProxyConnection"`
	// Whether the endpoint sends write requests to the write node (currently only the primary node is the write node). Values: true: Yes (default). false: No.
	WriteNodeHaltWriting pulumi.BoolOutput `pulumi:"writeNodeHaltWriting"`
}

The connection endpoint is a network proxy service positioned between the database and the application, handling all requests from the application to the database. It features high availability, high performance, maintainability, and ease of use, and supports advanced functions such as read/write splitting and load balancing. The PostgreSQL cloud database provides two types of endpoints: default endpoint and custom read-only endpoint.

## Example Usage

```go package main

import (

"github.com/byteplus-sdk/pulumi-bytepluscc/sdk/go/bytepluscc/rdspostgresql"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := rdspostgresql.NewDbEndpoint(ctx, "RdsPostgresqlDbEndpointDemo", &rdspostgresql.DbEndpointArgs{
			EndpointName:  pulumi.String("ccapi-test-1"),
			EndpointType:  pulumi.String("Custom"),
			InstanceId:    pulumi.String("postgres-9dxxxxxd"),
			Nodes:         pulumi.String("Primary"),
			ReadWriteMode: pulumi.String("ReadWrite"),
			PublicAddresses: &rdspostgresql.DbEndpointPublicAddressesArgs{
				Eip_id: "eip-0xxxxx8c45",
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

```sh $ pulumi import bytepluscc:rdspostgresql/dbEndpoint:DbEndpoint example "instance_id|endpoint_id" ```

func GetDbEndpoint added in v0.0.17

func GetDbEndpoint(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DbEndpointState, opts ...pulumi.ResourceOption) (*DbEndpoint, error)

GetDbEndpoint gets an existing DbEndpoint 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 NewDbEndpoint added in v0.0.17

func NewDbEndpoint(ctx *pulumi.Context,
	name string, args *DbEndpointArgs, opts ...pulumi.ResourceOption) (*DbEndpoint, error)

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

func (*DbEndpoint) ElementType added in v0.0.17

func (*DbEndpoint) ElementType() reflect.Type

func (*DbEndpoint) ToDbEndpointOutput added in v0.0.17

func (i *DbEndpoint) ToDbEndpointOutput() DbEndpointOutput

func (*DbEndpoint) ToDbEndpointOutputWithContext added in v0.0.17

func (i *DbEndpoint) ToDbEndpointOutputWithContext(ctx context.Context) DbEndpointOutput

type DbEndpointArgs added in v0.0.17

type DbEndpointArgs struct {
	// Whether read/write splitting is enabled. Values: Enable: Enabled. Disable: Not enabled.
	EnableReadWriteSplitting pulumi.StringPtrInput
	// Instance connection endpoint name.
	EndpointName pulumi.StringPtrInput
	// Endpoint type: Cluster: default endpoint (created by default). Custom: custom endpoint.
	EndpointType pulumi.StringPtrInput
	// Public service zone connection address
	InnerAddresses DbEndpointInnerAddressesPtrInput
	// Instance ID.
	InstanceId pulumi.StringPtrInput
	// List of nodes configured for the connection endpoint. Note: Required when EndpointType is Custom. The primary node does not require a node ID; use the string 'Primary'.
	Nodes pulumi.StringPtrInput
	// Private network connection address
	PrivateAddresses DbEndpointPrivateAddressesPtrInput
	// Public network connection address
	PublicAddresses DbEndpointPublicAddressesPtrInput
	// Read-only weight allocation mode. Values: Default: standard weight allocation (default). Custom: custom weight allocation.
	ReadOnlyNodeDistributionType pulumi.StringPtrInput
	// Maximum latency threshold for read-only nodes. When the latency of a read-only node exceeds this value, read traffic will not be sent to that node. Unit: seconds. Range: 0~3600. Default: 30. Note: This parameter can be set for default endpoints with read/write splitting enabled.
	ReadOnlyNodeMaxDelayTime pulumi.IntPtrInput
	// List of nodes configured for the connection endpoint and their corresponding read-only weights.
	// Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
	ReadOnlyNodeWeights DbEndpointReadOnlyNodeWeightArrayInput
	// Read/write mode: ReadWrite: read/write. ReadOnly: read-only.
	ReadWriteMode pulumi.StringPtrInput
	// After enabling read/write splitting for the endpoint, set the number of proxy connections for the endpoint. The minimum value for proxy connections is 20. The maximum value depends on the specifications of the primary node; different specifications support different maximum proxy connections. For details, see product specifications.
	ReadWriteProxyConnection pulumi.IntPtrInput
	// Whether the endpoint sends write requests to the write node (currently only the primary node is the write node). Values: true: Yes (default). false: No.
	WriteNodeHaltWriting pulumi.BoolPtrInput
}

The set of arguments for constructing a DbEndpoint resource.

func (DbEndpointArgs) ElementType added in v0.0.17

func (DbEndpointArgs) ElementType() reflect.Type

type DbEndpointArray added in v0.0.17

type DbEndpointArray []DbEndpointInput

func (DbEndpointArray) ElementType added in v0.0.17

func (DbEndpointArray) ElementType() reflect.Type

func (DbEndpointArray) ToDbEndpointArrayOutput added in v0.0.17

func (i DbEndpointArray) ToDbEndpointArrayOutput() DbEndpointArrayOutput

func (DbEndpointArray) ToDbEndpointArrayOutputWithContext added in v0.0.17

func (i DbEndpointArray) ToDbEndpointArrayOutputWithContext(ctx context.Context) DbEndpointArrayOutput

type DbEndpointArrayInput added in v0.0.17

type DbEndpointArrayInput interface {
	pulumi.Input

	ToDbEndpointArrayOutput() DbEndpointArrayOutput
	ToDbEndpointArrayOutputWithContext(context.Context) DbEndpointArrayOutput
}

DbEndpointArrayInput is an input type that accepts DbEndpointArray and DbEndpointArrayOutput values. You can construct a concrete instance of `DbEndpointArrayInput` via:

DbEndpointArray{ DbEndpointArgs{...} }

type DbEndpointArrayOutput added in v0.0.17

type DbEndpointArrayOutput struct{ *pulumi.OutputState }

func (DbEndpointArrayOutput) ElementType added in v0.0.17

func (DbEndpointArrayOutput) ElementType() reflect.Type

func (DbEndpointArrayOutput) Index added in v0.0.17

func (DbEndpointArrayOutput) ToDbEndpointArrayOutput added in v0.0.17

func (o DbEndpointArrayOutput) ToDbEndpointArrayOutput() DbEndpointArrayOutput

func (DbEndpointArrayOutput) ToDbEndpointArrayOutputWithContext added in v0.0.17

func (o DbEndpointArrayOutput) ToDbEndpointArrayOutputWithContext(ctx context.Context) DbEndpointArrayOutput

type DbEndpointInnerAddresses added in v0.0.29

type DbEndpointInnerAddresses struct {
	// Private network address accessible across regions. Note: If this address is unavailable, this field will not be returned.
	CrossRegionDomain *string `pulumi:"crossRegionDomain"`
	// Whether public network resolution is enabled. Values: false: Default, private network resolution. true: Both private and public network resolution.
	DnsVisibility *bool `pulumi:"dnsVisibility"`
	// Connection domain name
	Domain *string `pulumi:"domain"`
	// New access address prefix. The access address prefix must meet the following rules: consists of lowercase letters, numbers, and hyphens (-). Must contain at least 8 characters. The total length (including suffix) must not exceed 63 characters. Must start with a lowercase letter and end with a lowercase letter or number.
	DomainPrefix *string `pulumi:"domainPrefix"`
	// Type of private network address. Values: LocalDomain: Local region domain name. CrossRegionDomain: Domain name accessible across regions.
	DomainVisibilitySetting *string `pulumi:"domainVisibilitySetting"`
	// EIP ID, valid only for Public addresses.
	EipId *string `pulumi:"eipId"`
	// IP address
	IpAddress *string `pulumi:"ipAddress"`
	// Network address type. Values: Private: private network connection address. Public: public network connection address. Inner: public service zone address.
	NetworkType *string `pulumi:"networkType"`
	// Port number.
	Port *string `pulumi:"port"`
	// Subnet ID
	SubnetId *string `pulumi:"subnetId"`
}

type DbEndpointInnerAddressesArgs added in v0.0.29

type DbEndpointInnerAddressesArgs struct {
	// Private network address accessible across regions. Note: If this address is unavailable, this field will not be returned.
	CrossRegionDomain pulumi.StringPtrInput `pulumi:"crossRegionDomain"`
	// Whether public network resolution is enabled. Values: false: Default, private network resolution. true: Both private and public network resolution.
	DnsVisibility pulumi.BoolPtrInput `pulumi:"dnsVisibility"`
	// Connection domain name
	Domain pulumi.StringPtrInput `pulumi:"domain"`
	// New access address prefix. The access address prefix must meet the following rules: consists of lowercase letters, numbers, and hyphens (-). Must contain at least 8 characters. The total length (including suffix) must not exceed 63 characters. Must start with a lowercase letter and end with a lowercase letter or number.
	DomainPrefix pulumi.StringPtrInput `pulumi:"domainPrefix"`
	// Type of private network address. Values: LocalDomain: Local region domain name. CrossRegionDomain: Domain name accessible across regions.
	DomainVisibilitySetting pulumi.StringPtrInput `pulumi:"domainVisibilitySetting"`
	// EIP ID, valid only for Public addresses.
	EipId pulumi.StringPtrInput `pulumi:"eipId"`
	// IP address
	IpAddress pulumi.StringPtrInput `pulumi:"ipAddress"`
	// Network address type. Values: Private: private network connection address. Public: public network connection address. Inner: public service zone address.
	NetworkType pulumi.StringPtrInput `pulumi:"networkType"`
	// Port number.
	Port pulumi.StringPtrInput `pulumi:"port"`
	// Subnet ID
	SubnetId pulumi.StringPtrInput `pulumi:"subnetId"`
}

func (DbEndpointInnerAddressesArgs) ElementType added in v0.0.29

func (DbEndpointInnerAddressesArgs) ToDbEndpointInnerAddressesOutput added in v0.0.29

func (i DbEndpointInnerAddressesArgs) ToDbEndpointInnerAddressesOutput() DbEndpointInnerAddressesOutput

func (DbEndpointInnerAddressesArgs) ToDbEndpointInnerAddressesOutputWithContext added in v0.0.29

func (i DbEndpointInnerAddressesArgs) ToDbEndpointInnerAddressesOutputWithContext(ctx context.Context) DbEndpointInnerAddressesOutput

func (DbEndpointInnerAddressesArgs) ToDbEndpointInnerAddressesPtrOutput added in v0.0.29

func (i DbEndpointInnerAddressesArgs) ToDbEndpointInnerAddressesPtrOutput() DbEndpointInnerAddressesPtrOutput

func (DbEndpointInnerAddressesArgs) ToDbEndpointInnerAddressesPtrOutputWithContext added in v0.0.29

func (i DbEndpointInnerAddressesArgs) ToDbEndpointInnerAddressesPtrOutputWithContext(ctx context.Context) DbEndpointInnerAddressesPtrOutput

type DbEndpointInnerAddressesInput added in v0.0.29

type DbEndpointInnerAddressesInput interface {
	pulumi.Input

	ToDbEndpointInnerAddressesOutput() DbEndpointInnerAddressesOutput
	ToDbEndpointInnerAddressesOutputWithContext(context.Context) DbEndpointInnerAddressesOutput
}

DbEndpointInnerAddressesInput is an input type that accepts DbEndpointInnerAddressesArgs and DbEndpointInnerAddressesOutput values. You can construct a concrete instance of `DbEndpointInnerAddressesInput` via:

DbEndpointInnerAddressesArgs{...}

type DbEndpointInnerAddressesOutput added in v0.0.29

type DbEndpointInnerAddressesOutput struct{ *pulumi.OutputState }

func (DbEndpointInnerAddressesOutput) CrossRegionDomain added in v0.0.29

Private network address accessible across regions. Note: If this address is unavailable, this field will not be returned.

func (DbEndpointInnerAddressesOutput) DnsVisibility added in v0.0.29

Whether public network resolution is enabled. Values: false: Default, private network resolution. true: Both private and public network resolution.

func (DbEndpointInnerAddressesOutput) Domain added in v0.0.29

Connection domain name

func (DbEndpointInnerAddressesOutput) DomainPrefix added in v0.0.29

New access address prefix. The access address prefix must meet the following rules: consists of lowercase letters, numbers, and hyphens (-). Must contain at least 8 characters. The total length (including suffix) must not exceed 63 characters. Must start with a lowercase letter and end with a lowercase letter or number.

func (DbEndpointInnerAddressesOutput) DomainVisibilitySetting added in v0.0.29

func (o DbEndpointInnerAddressesOutput) DomainVisibilitySetting() pulumi.StringPtrOutput

Type of private network address. Values: LocalDomain: Local region domain name. CrossRegionDomain: Domain name accessible across regions.

func (DbEndpointInnerAddressesOutput) EipId added in v0.0.29

EIP ID, valid only for Public addresses.

func (DbEndpointInnerAddressesOutput) ElementType added in v0.0.29

func (DbEndpointInnerAddressesOutput) IpAddress added in v0.0.29

IP address

func (DbEndpointInnerAddressesOutput) NetworkType added in v0.0.29

Network address type. Values: Private: private network connection address. Public: public network connection address. Inner: public service zone address.

func (DbEndpointInnerAddressesOutput) Port added in v0.0.29

Port number.

func (DbEndpointInnerAddressesOutput) SubnetId added in v0.0.29

Subnet ID

func (DbEndpointInnerAddressesOutput) ToDbEndpointInnerAddressesOutput added in v0.0.29

func (o DbEndpointInnerAddressesOutput) ToDbEndpointInnerAddressesOutput() DbEndpointInnerAddressesOutput

func (DbEndpointInnerAddressesOutput) ToDbEndpointInnerAddressesOutputWithContext added in v0.0.29

func (o DbEndpointInnerAddressesOutput) ToDbEndpointInnerAddressesOutputWithContext(ctx context.Context) DbEndpointInnerAddressesOutput

func (DbEndpointInnerAddressesOutput) ToDbEndpointInnerAddressesPtrOutput added in v0.0.29

func (o DbEndpointInnerAddressesOutput) ToDbEndpointInnerAddressesPtrOutput() DbEndpointInnerAddressesPtrOutput

func (DbEndpointInnerAddressesOutput) ToDbEndpointInnerAddressesPtrOutputWithContext added in v0.0.29

func (o DbEndpointInnerAddressesOutput) ToDbEndpointInnerAddressesPtrOutputWithContext(ctx context.Context) DbEndpointInnerAddressesPtrOutput

type DbEndpointInnerAddressesPtrInput added in v0.0.29

type DbEndpointInnerAddressesPtrInput interface {
	pulumi.Input

	ToDbEndpointInnerAddressesPtrOutput() DbEndpointInnerAddressesPtrOutput
	ToDbEndpointInnerAddressesPtrOutputWithContext(context.Context) DbEndpointInnerAddressesPtrOutput
}

DbEndpointInnerAddressesPtrInput is an input type that accepts DbEndpointInnerAddressesArgs, DbEndpointInnerAddressesPtr and DbEndpointInnerAddressesPtrOutput values. You can construct a concrete instance of `DbEndpointInnerAddressesPtrInput` via:

        DbEndpointInnerAddressesArgs{...}

or:

        nil

func DbEndpointInnerAddressesPtr added in v0.0.29

func DbEndpointInnerAddressesPtr(v *DbEndpointInnerAddressesArgs) DbEndpointInnerAddressesPtrInput

type DbEndpointInnerAddressesPtrOutput added in v0.0.29

type DbEndpointInnerAddressesPtrOutput struct{ *pulumi.OutputState }

func (DbEndpointInnerAddressesPtrOutput) CrossRegionDomain added in v0.0.29

Private network address accessible across regions. Note: If this address is unavailable, this field will not be returned.

func (DbEndpointInnerAddressesPtrOutput) DnsVisibility added in v0.0.29

Whether public network resolution is enabled. Values: false: Default, private network resolution. true: Both private and public network resolution.

func (DbEndpointInnerAddressesPtrOutput) Domain added in v0.0.29

Connection domain name

func (DbEndpointInnerAddressesPtrOutput) DomainPrefix added in v0.0.29

New access address prefix. The access address prefix must meet the following rules: consists of lowercase letters, numbers, and hyphens (-). Must contain at least 8 characters. The total length (including suffix) must not exceed 63 characters. Must start with a lowercase letter and end with a lowercase letter or number.

func (DbEndpointInnerAddressesPtrOutput) DomainVisibilitySetting added in v0.0.29

func (o DbEndpointInnerAddressesPtrOutput) DomainVisibilitySetting() pulumi.StringPtrOutput

Type of private network address. Values: LocalDomain: Local region domain name. CrossRegionDomain: Domain name accessible across regions.

func (DbEndpointInnerAddressesPtrOutput) EipId added in v0.0.29

EIP ID, valid only for Public addresses.

func (DbEndpointInnerAddressesPtrOutput) Elem added in v0.0.29

func (DbEndpointInnerAddressesPtrOutput) ElementType added in v0.0.29

func (DbEndpointInnerAddressesPtrOutput) IpAddress added in v0.0.29

IP address

func (DbEndpointInnerAddressesPtrOutput) NetworkType added in v0.0.29

Network address type. Values: Private: private network connection address. Public: public network connection address. Inner: public service zone address.

func (DbEndpointInnerAddressesPtrOutput) Port added in v0.0.29

Port number.

func (DbEndpointInnerAddressesPtrOutput) SubnetId added in v0.0.29

Subnet ID

func (DbEndpointInnerAddressesPtrOutput) ToDbEndpointInnerAddressesPtrOutput added in v0.0.29

func (o DbEndpointInnerAddressesPtrOutput) ToDbEndpointInnerAddressesPtrOutput() DbEndpointInnerAddressesPtrOutput

func (DbEndpointInnerAddressesPtrOutput) ToDbEndpointInnerAddressesPtrOutputWithContext added in v0.0.29

func (o DbEndpointInnerAddressesPtrOutput) ToDbEndpointInnerAddressesPtrOutputWithContext(ctx context.Context) DbEndpointInnerAddressesPtrOutput

type DbEndpointInput added in v0.0.17

type DbEndpointInput interface {
	pulumi.Input

	ToDbEndpointOutput() DbEndpointOutput
	ToDbEndpointOutputWithContext(ctx context.Context) DbEndpointOutput
}

type DbEndpointMap added in v0.0.17

type DbEndpointMap map[string]DbEndpointInput

func (DbEndpointMap) ElementType added in v0.0.17

func (DbEndpointMap) ElementType() reflect.Type

func (DbEndpointMap) ToDbEndpointMapOutput added in v0.0.17

func (i DbEndpointMap) ToDbEndpointMapOutput() DbEndpointMapOutput

func (DbEndpointMap) ToDbEndpointMapOutputWithContext added in v0.0.17

func (i DbEndpointMap) ToDbEndpointMapOutputWithContext(ctx context.Context) DbEndpointMapOutput

type DbEndpointMapInput added in v0.0.17

type DbEndpointMapInput interface {
	pulumi.Input

	ToDbEndpointMapOutput() DbEndpointMapOutput
	ToDbEndpointMapOutputWithContext(context.Context) DbEndpointMapOutput
}

DbEndpointMapInput is an input type that accepts DbEndpointMap and DbEndpointMapOutput values. You can construct a concrete instance of `DbEndpointMapInput` via:

DbEndpointMap{ "key": DbEndpointArgs{...} }

type DbEndpointMapOutput added in v0.0.17

type DbEndpointMapOutput struct{ *pulumi.OutputState }

func (DbEndpointMapOutput) ElementType added in v0.0.17

func (DbEndpointMapOutput) ElementType() reflect.Type

func (DbEndpointMapOutput) MapIndex added in v0.0.17

func (DbEndpointMapOutput) ToDbEndpointMapOutput added in v0.0.17

func (o DbEndpointMapOutput) ToDbEndpointMapOutput() DbEndpointMapOutput

func (DbEndpointMapOutput) ToDbEndpointMapOutputWithContext added in v0.0.17

func (o DbEndpointMapOutput) ToDbEndpointMapOutputWithContext(ctx context.Context) DbEndpointMapOutput

type DbEndpointOutput added in v0.0.17

type DbEndpointOutput struct{ *pulumi.OutputState }

func (DbEndpointOutput) AutoAddNewNodes added in v0.0.17

func (o DbEndpointOutput) AutoAddNewNodes() pulumi.StringOutput

When the endpoint type is read/write or read-only, you can configure whether new nodes are automatically added. Values: Enable: Automatically add. Disable: Do not automatically add (default).

func (DbEndpointOutput) Description added in v0.0.17

func (o DbEndpointOutput) Description() pulumi.StringOutput

Address description

func (DbEndpointOutput) ElementType added in v0.0.17

func (DbEndpointOutput) ElementType() reflect.Type

func (DbEndpointOutput) EnableReadOnly added in v0.0.17

func (o DbEndpointOutput) EnableReadOnly() pulumi.StringOutput

Whether global read-only is enabled. Enable: Enabled. Disable: Not enabled.

func (DbEndpointOutput) EnableReadWriteSplitting added in v0.0.17

func (o DbEndpointOutput) EnableReadWriteSplitting() pulumi.StringOutput

Whether read/write splitting is enabled. Values: Enable: Enabled. Disable: Not enabled.

func (DbEndpointOutput) EndpointId added in v0.0.17

func (o DbEndpointOutput) EndpointId() pulumi.StringOutput

Instance connection endpoint ID.

func (DbEndpointOutput) EndpointName added in v0.0.17

func (o DbEndpointOutput) EndpointName() pulumi.StringOutput

Instance connection endpoint name.

func (DbEndpointOutput) EndpointType added in v0.0.17

func (o DbEndpointOutput) EndpointType() pulumi.StringOutput

Endpoint type: Cluster: default endpoint (created by default). Custom: custom endpoint.

func (DbEndpointOutput) InnerAddresses added in v0.0.29

Public service zone connection address

func (DbEndpointOutput) InstanceId added in v0.0.17

func (o DbEndpointOutput) InstanceId() pulumi.StringOutput

Instance ID.

func (DbEndpointOutput) Nodes added in v0.0.17

List of nodes configured for the connection endpoint. Note: Required when EndpointType is Custom. The primary node does not require a node ID; use the string 'Primary'.

func (DbEndpointOutput) PrivateAddresses added in v0.0.29

Private network connection address

func (DbEndpointOutput) PublicAddresses added in v0.0.29

Public network connection address

func (DbEndpointOutput) ReadOnlyNodeDistributionType added in v0.0.17

func (o DbEndpointOutput) ReadOnlyNodeDistributionType() pulumi.StringOutput

Read-only weight allocation mode. Values: Default: standard weight allocation (default). Custom: custom weight allocation.

func (DbEndpointOutput) ReadOnlyNodeMaxDelayTime added in v0.0.17

func (o DbEndpointOutput) ReadOnlyNodeMaxDelayTime() pulumi.IntOutput

Maximum latency threshold for read-only nodes. When the latency of a read-only node exceeds this value, read traffic will not be sent to that node. Unit: seconds. Range: 0~3600. Default: 30. Note: This parameter can be set for default endpoints with read/write splitting enabled.

func (DbEndpointOutput) ReadOnlyNodeWeights added in v0.0.17

List of nodes configured for the connection endpoint and their corresponding read-only weights. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.

func (DbEndpointOutput) ReadWriteMode added in v0.0.17

func (o DbEndpointOutput) ReadWriteMode() pulumi.StringOutput

Read/write mode: ReadWrite: read/write. ReadOnly: read-only.

func (DbEndpointOutput) ReadWriteProxyConnection added in v0.0.17

func (o DbEndpointOutput) ReadWriteProxyConnection() pulumi.IntOutput

After enabling read/write splitting for the endpoint, set the number of proxy connections for the endpoint. The minimum value for proxy connections is 20. The maximum value depends on the specifications of the primary node; different specifications support different maximum proxy connections. For details, see product specifications.

func (DbEndpointOutput) ToDbEndpointOutput added in v0.0.17

func (o DbEndpointOutput) ToDbEndpointOutput() DbEndpointOutput

func (DbEndpointOutput) ToDbEndpointOutputWithContext added in v0.0.17

func (o DbEndpointOutput) ToDbEndpointOutputWithContext(ctx context.Context) DbEndpointOutput

func (DbEndpointOutput) WriteNodeHaltWriting added in v0.0.17

func (o DbEndpointOutput) WriteNodeHaltWriting() pulumi.BoolOutput

Whether the endpoint sends write requests to the write node (currently only the primary node is the write node). Values: true: Yes (default). false: No.

type DbEndpointPrivateAddresses added in v0.0.29

type DbEndpointPrivateAddresses struct {
	// Private network address accessible across regions. Note: If this address is unavailable, this field will not be returned.
	CrossRegionDomain *string `pulumi:"crossRegionDomain"`
	// Whether public network resolution is enabled. Values: false: Default, private network resolution. true: Both private and public network resolution.
	DnsVisibility *bool `pulumi:"dnsVisibility"`
	// Connection domain name
	Domain *string `pulumi:"domain"`
	// New access address prefix. The access address prefix must meet the following rules: consists of lowercase letters, numbers, and hyphens (-). Must contain at least 8 characters. The total length (including suffix) must not exceed 63 characters. Must start with a lowercase letter and end with a lowercase letter or number.
	DomainPrefix *string `pulumi:"domainPrefix"`
	// Type of private network address. Values: LocalDomain: Local region domain name. CrossRegionDomain: Domain name accessible across regions.
	DomainVisibilitySetting *string `pulumi:"domainVisibilitySetting"`
	// EIP ID, valid only for Public addresses.
	EipId *string `pulumi:"eipId"`
	// IP address
	IpAddress *string `pulumi:"ipAddress"`
	// Network address type. Values: Private: private network connection address. Public: public network connection address. Inner: public service zone address.
	NetworkType *string `pulumi:"networkType"`
	// Port number.
	Port *string `pulumi:"port"`
	// Subnet ID
	SubnetId *string `pulumi:"subnetId"`
}

type DbEndpointPrivateAddressesArgs added in v0.0.29

type DbEndpointPrivateAddressesArgs struct {
	// Private network address accessible across regions. Note: If this address is unavailable, this field will not be returned.
	CrossRegionDomain pulumi.StringPtrInput `pulumi:"crossRegionDomain"`
	// Whether public network resolution is enabled. Values: false: Default, private network resolution. true: Both private and public network resolution.
	DnsVisibility pulumi.BoolPtrInput `pulumi:"dnsVisibility"`
	// Connection domain name
	Domain pulumi.StringPtrInput `pulumi:"domain"`
	// New access address prefix. The access address prefix must meet the following rules: consists of lowercase letters, numbers, and hyphens (-). Must contain at least 8 characters. The total length (including suffix) must not exceed 63 characters. Must start with a lowercase letter and end with a lowercase letter or number.
	DomainPrefix pulumi.StringPtrInput `pulumi:"domainPrefix"`
	// Type of private network address. Values: LocalDomain: Local region domain name. CrossRegionDomain: Domain name accessible across regions.
	DomainVisibilitySetting pulumi.StringPtrInput `pulumi:"domainVisibilitySetting"`
	// EIP ID, valid only for Public addresses.
	EipId pulumi.StringPtrInput `pulumi:"eipId"`
	// IP address
	IpAddress pulumi.StringPtrInput `pulumi:"ipAddress"`
	// Network address type. Values: Private: private network connection address. Public: public network connection address. Inner: public service zone address.
	NetworkType pulumi.StringPtrInput `pulumi:"networkType"`
	// Port number.
	Port pulumi.StringPtrInput `pulumi:"port"`
	// Subnet ID
	SubnetId pulumi.StringPtrInput `pulumi:"subnetId"`
}

func (DbEndpointPrivateAddressesArgs) ElementType added in v0.0.29

func (DbEndpointPrivateAddressesArgs) ToDbEndpointPrivateAddressesOutput added in v0.0.29

func (i DbEndpointPrivateAddressesArgs) ToDbEndpointPrivateAddressesOutput() DbEndpointPrivateAddressesOutput

func (DbEndpointPrivateAddressesArgs) ToDbEndpointPrivateAddressesOutputWithContext added in v0.0.29

func (i DbEndpointPrivateAddressesArgs) ToDbEndpointPrivateAddressesOutputWithContext(ctx context.Context) DbEndpointPrivateAddressesOutput

func (DbEndpointPrivateAddressesArgs) ToDbEndpointPrivateAddressesPtrOutput added in v0.0.29

func (i DbEndpointPrivateAddressesArgs) ToDbEndpointPrivateAddressesPtrOutput() DbEndpointPrivateAddressesPtrOutput

func (DbEndpointPrivateAddressesArgs) ToDbEndpointPrivateAddressesPtrOutputWithContext added in v0.0.29

func (i DbEndpointPrivateAddressesArgs) ToDbEndpointPrivateAddressesPtrOutputWithContext(ctx context.Context) DbEndpointPrivateAddressesPtrOutput

type DbEndpointPrivateAddressesInput added in v0.0.29

type DbEndpointPrivateAddressesInput interface {
	pulumi.Input

	ToDbEndpointPrivateAddressesOutput() DbEndpointPrivateAddressesOutput
	ToDbEndpointPrivateAddressesOutputWithContext(context.Context) DbEndpointPrivateAddressesOutput
}

DbEndpointPrivateAddressesInput is an input type that accepts DbEndpointPrivateAddressesArgs and DbEndpointPrivateAddressesOutput values. You can construct a concrete instance of `DbEndpointPrivateAddressesInput` via:

DbEndpointPrivateAddressesArgs{...}

type DbEndpointPrivateAddressesOutput added in v0.0.29

type DbEndpointPrivateAddressesOutput struct{ *pulumi.OutputState }

func (DbEndpointPrivateAddressesOutput) CrossRegionDomain added in v0.0.29

Private network address accessible across regions. Note: If this address is unavailable, this field will not be returned.

func (DbEndpointPrivateAddressesOutput) DnsVisibility added in v0.0.29

Whether public network resolution is enabled. Values: false: Default, private network resolution. true: Both private and public network resolution.

func (DbEndpointPrivateAddressesOutput) Domain added in v0.0.29

Connection domain name

func (DbEndpointPrivateAddressesOutput) DomainPrefix added in v0.0.29

New access address prefix. The access address prefix must meet the following rules: consists of lowercase letters, numbers, and hyphens (-). Must contain at least 8 characters. The total length (including suffix) must not exceed 63 characters. Must start with a lowercase letter and end with a lowercase letter or number.

func (DbEndpointPrivateAddressesOutput) DomainVisibilitySetting added in v0.0.29

func (o DbEndpointPrivateAddressesOutput) DomainVisibilitySetting() pulumi.StringPtrOutput

Type of private network address. Values: LocalDomain: Local region domain name. CrossRegionDomain: Domain name accessible across regions.

func (DbEndpointPrivateAddressesOutput) EipId added in v0.0.29

EIP ID, valid only for Public addresses.

func (DbEndpointPrivateAddressesOutput) ElementType added in v0.0.29

func (DbEndpointPrivateAddressesOutput) IpAddress added in v0.0.29

IP address

func (DbEndpointPrivateAddressesOutput) NetworkType added in v0.0.29

Network address type. Values: Private: private network connection address. Public: public network connection address. Inner: public service zone address.

func (DbEndpointPrivateAddressesOutput) Port added in v0.0.29

Port number.

func (DbEndpointPrivateAddressesOutput) SubnetId added in v0.0.29

Subnet ID

func (DbEndpointPrivateAddressesOutput) ToDbEndpointPrivateAddressesOutput added in v0.0.29

func (o DbEndpointPrivateAddressesOutput) ToDbEndpointPrivateAddressesOutput() DbEndpointPrivateAddressesOutput

func (DbEndpointPrivateAddressesOutput) ToDbEndpointPrivateAddressesOutputWithContext added in v0.0.29

func (o DbEndpointPrivateAddressesOutput) ToDbEndpointPrivateAddressesOutputWithContext(ctx context.Context) DbEndpointPrivateAddressesOutput

func (DbEndpointPrivateAddressesOutput) ToDbEndpointPrivateAddressesPtrOutput added in v0.0.29

func (o DbEndpointPrivateAddressesOutput) ToDbEndpointPrivateAddressesPtrOutput() DbEndpointPrivateAddressesPtrOutput

func (DbEndpointPrivateAddressesOutput) ToDbEndpointPrivateAddressesPtrOutputWithContext added in v0.0.29

func (o DbEndpointPrivateAddressesOutput) ToDbEndpointPrivateAddressesPtrOutputWithContext(ctx context.Context) DbEndpointPrivateAddressesPtrOutput

type DbEndpointPrivateAddressesPtrInput added in v0.0.29

type DbEndpointPrivateAddressesPtrInput interface {
	pulumi.Input

	ToDbEndpointPrivateAddressesPtrOutput() DbEndpointPrivateAddressesPtrOutput
	ToDbEndpointPrivateAddressesPtrOutputWithContext(context.Context) DbEndpointPrivateAddressesPtrOutput
}

DbEndpointPrivateAddressesPtrInput is an input type that accepts DbEndpointPrivateAddressesArgs, DbEndpointPrivateAddressesPtr and DbEndpointPrivateAddressesPtrOutput values. You can construct a concrete instance of `DbEndpointPrivateAddressesPtrInput` via:

        DbEndpointPrivateAddressesArgs{...}

or:

        nil

func DbEndpointPrivateAddressesPtr added in v0.0.29

type DbEndpointPrivateAddressesPtrOutput added in v0.0.29

type DbEndpointPrivateAddressesPtrOutput struct{ *pulumi.OutputState }

func (DbEndpointPrivateAddressesPtrOutput) CrossRegionDomain added in v0.0.29

Private network address accessible across regions. Note: If this address is unavailable, this field will not be returned.

func (DbEndpointPrivateAddressesPtrOutput) DnsVisibility added in v0.0.29

Whether public network resolution is enabled. Values: false: Default, private network resolution. true: Both private and public network resolution.

func (DbEndpointPrivateAddressesPtrOutput) Domain added in v0.0.29

Connection domain name

func (DbEndpointPrivateAddressesPtrOutput) DomainPrefix added in v0.0.29

New access address prefix. The access address prefix must meet the following rules: consists of lowercase letters, numbers, and hyphens (-). Must contain at least 8 characters. The total length (including suffix) must not exceed 63 characters. Must start with a lowercase letter and end with a lowercase letter or number.

func (DbEndpointPrivateAddressesPtrOutput) DomainVisibilitySetting added in v0.0.29

func (o DbEndpointPrivateAddressesPtrOutput) DomainVisibilitySetting() pulumi.StringPtrOutput

Type of private network address. Values: LocalDomain: Local region domain name. CrossRegionDomain: Domain name accessible across regions.

func (DbEndpointPrivateAddressesPtrOutput) EipId added in v0.0.29

EIP ID, valid only for Public addresses.

func (DbEndpointPrivateAddressesPtrOutput) Elem added in v0.0.29

func (DbEndpointPrivateAddressesPtrOutput) ElementType added in v0.0.29

func (DbEndpointPrivateAddressesPtrOutput) IpAddress added in v0.0.29

IP address

func (DbEndpointPrivateAddressesPtrOutput) NetworkType added in v0.0.29

Network address type. Values: Private: private network connection address. Public: public network connection address. Inner: public service zone address.

func (DbEndpointPrivateAddressesPtrOutput) Port added in v0.0.29

Port number.

func (DbEndpointPrivateAddressesPtrOutput) SubnetId added in v0.0.29

Subnet ID

func (DbEndpointPrivateAddressesPtrOutput) ToDbEndpointPrivateAddressesPtrOutput added in v0.0.29

func (o DbEndpointPrivateAddressesPtrOutput) ToDbEndpointPrivateAddressesPtrOutput() DbEndpointPrivateAddressesPtrOutput

func (DbEndpointPrivateAddressesPtrOutput) ToDbEndpointPrivateAddressesPtrOutputWithContext added in v0.0.29

func (o DbEndpointPrivateAddressesPtrOutput) ToDbEndpointPrivateAddressesPtrOutputWithContext(ctx context.Context) DbEndpointPrivateAddressesPtrOutput

type DbEndpointPublicAddresses added in v0.0.29

type DbEndpointPublicAddresses struct {
	// Private network address accessible across regions. Note: If this address is unavailable, this field will not be returned.
	CrossRegionDomain *string `pulumi:"crossRegionDomain"`
	// Whether public network resolution is enabled. Values: false: Default, private network resolution. true: Both private and public network resolution.
	DnsVisibility *bool `pulumi:"dnsVisibility"`
	// Connection domain name
	Domain *string `pulumi:"domain"`
	// New access address prefix. The access address prefix must meet the following rules: consists of lowercase letters, numbers, and hyphens (-). Must contain at least 8 characters. The total length (including suffix) must not exceed 63 characters. Must start with a lowercase letter and end with a lowercase letter or number.
	DomainPrefix *string `pulumi:"domainPrefix"`
	// Type of private network address. Values: LocalDomain: Local region domain name. CrossRegionDomain: Domain name accessible across regions.
	DomainVisibilitySetting *string `pulumi:"domainVisibilitySetting"`
	// EIP ID, valid only for Public addresses.
	EipId *string `pulumi:"eipId"`
	// IP address
	IpAddress *string `pulumi:"ipAddress"`
	// Network address type. Values: Private: private network connection address. Public: public network connection address. Inner: public service zone address.
	NetworkType *string `pulumi:"networkType"`
	// Port number.
	Port *string `pulumi:"port"`
	// Subnet ID
	SubnetId *string `pulumi:"subnetId"`
}

type DbEndpointPublicAddressesArgs added in v0.0.29

type DbEndpointPublicAddressesArgs struct {
	// Private network address accessible across regions. Note: If this address is unavailable, this field will not be returned.
	CrossRegionDomain pulumi.StringPtrInput `pulumi:"crossRegionDomain"`
	// Whether public network resolution is enabled. Values: false: Default, private network resolution. true: Both private and public network resolution.
	DnsVisibility pulumi.BoolPtrInput `pulumi:"dnsVisibility"`
	// Connection domain name
	Domain pulumi.StringPtrInput `pulumi:"domain"`
	// New access address prefix. The access address prefix must meet the following rules: consists of lowercase letters, numbers, and hyphens (-). Must contain at least 8 characters. The total length (including suffix) must not exceed 63 characters. Must start with a lowercase letter and end with a lowercase letter or number.
	DomainPrefix pulumi.StringPtrInput `pulumi:"domainPrefix"`
	// Type of private network address. Values: LocalDomain: Local region domain name. CrossRegionDomain: Domain name accessible across regions.
	DomainVisibilitySetting pulumi.StringPtrInput `pulumi:"domainVisibilitySetting"`
	// EIP ID, valid only for Public addresses.
	EipId pulumi.StringPtrInput `pulumi:"eipId"`
	// IP address
	IpAddress pulumi.StringPtrInput `pulumi:"ipAddress"`
	// Network address type. Values: Private: private network connection address. Public: public network connection address. Inner: public service zone address.
	NetworkType pulumi.StringPtrInput `pulumi:"networkType"`
	// Port number.
	Port pulumi.StringPtrInput `pulumi:"port"`
	// Subnet ID
	SubnetId pulumi.StringPtrInput `pulumi:"subnetId"`
}

func (DbEndpointPublicAddressesArgs) ElementType added in v0.0.29

func (DbEndpointPublicAddressesArgs) ToDbEndpointPublicAddressesOutput added in v0.0.29

func (i DbEndpointPublicAddressesArgs) ToDbEndpointPublicAddressesOutput() DbEndpointPublicAddressesOutput

func (DbEndpointPublicAddressesArgs) ToDbEndpointPublicAddressesOutputWithContext added in v0.0.29

func (i DbEndpointPublicAddressesArgs) ToDbEndpointPublicAddressesOutputWithContext(ctx context.Context) DbEndpointPublicAddressesOutput

func (DbEndpointPublicAddressesArgs) ToDbEndpointPublicAddressesPtrOutput added in v0.0.29

func (i DbEndpointPublicAddressesArgs) ToDbEndpointPublicAddressesPtrOutput() DbEndpointPublicAddressesPtrOutput

func (DbEndpointPublicAddressesArgs) ToDbEndpointPublicAddressesPtrOutputWithContext added in v0.0.29

func (i DbEndpointPublicAddressesArgs) ToDbEndpointPublicAddressesPtrOutputWithContext(ctx context.Context) DbEndpointPublicAddressesPtrOutput

type DbEndpointPublicAddressesInput added in v0.0.29

type DbEndpointPublicAddressesInput interface {
	pulumi.Input

	ToDbEndpointPublicAddressesOutput() DbEndpointPublicAddressesOutput
	ToDbEndpointPublicAddressesOutputWithContext(context.Context) DbEndpointPublicAddressesOutput
}

DbEndpointPublicAddressesInput is an input type that accepts DbEndpointPublicAddressesArgs and DbEndpointPublicAddressesOutput values. You can construct a concrete instance of `DbEndpointPublicAddressesInput` via:

DbEndpointPublicAddressesArgs{...}

type DbEndpointPublicAddressesOutput added in v0.0.29

type DbEndpointPublicAddressesOutput struct{ *pulumi.OutputState }

func (DbEndpointPublicAddressesOutput) CrossRegionDomain added in v0.0.29

Private network address accessible across regions. Note: If this address is unavailable, this field will not be returned.

func (DbEndpointPublicAddressesOutput) DnsVisibility added in v0.0.29

Whether public network resolution is enabled. Values: false: Default, private network resolution. true: Both private and public network resolution.

func (DbEndpointPublicAddressesOutput) Domain added in v0.0.29

Connection domain name

func (DbEndpointPublicAddressesOutput) DomainPrefix added in v0.0.29

New access address prefix. The access address prefix must meet the following rules: consists of lowercase letters, numbers, and hyphens (-). Must contain at least 8 characters. The total length (including suffix) must not exceed 63 characters. Must start with a lowercase letter and end with a lowercase letter or number.

func (DbEndpointPublicAddressesOutput) DomainVisibilitySetting added in v0.0.29

func (o DbEndpointPublicAddressesOutput) DomainVisibilitySetting() pulumi.StringPtrOutput

Type of private network address. Values: LocalDomain: Local region domain name. CrossRegionDomain: Domain name accessible across regions.

func (DbEndpointPublicAddressesOutput) EipId added in v0.0.29

EIP ID, valid only for Public addresses.

func (DbEndpointPublicAddressesOutput) ElementType added in v0.0.29

func (DbEndpointPublicAddressesOutput) IpAddress added in v0.0.29

IP address

func (DbEndpointPublicAddressesOutput) NetworkType added in v0.0.29

Network address type. Values: Private: private network connection address. Public: public network connection address. Inner: public service zone address.

func (DbEndpointPublicAddressesOutput) Port added in v0.0.29

Port number.

func (DbEndpointPublicAddressesOutput) SubnetId added in v0.0.29

Subnet ID

func (DbEndpointPublicAddressesOutput) ToDbEndpointPublicAddressesOutput added in v0.0.29

func (o DbEndpointPublicAddressesOutput) ToDbEndpointPublicAddressesOutput() DbEndpointPublicAddressesOutput

func (DbEndpointPublicAddressesOutput) ToDbEndpointPublicAddressesOutputWithContext added in v0.0.29

func (o DbEndpointPublicAddressesOutput) ToDbEndpointPublicAddressesOutputWithContext(ctx context.Context) DbEndpointPublicAddressesOutput

func (DbEndpointPublicAddressesOutput) ToDbEndpointPublicAddressesPtrOutput added in v0.0.29

func (o DbEndpointPublicAddressesOutput) ToDbEndpointPublicAddressesPtrOutput() DbEndpointPublicAddressesPtrOutput

func (DbEndpointPublicAddressesOutput) ToDbEndpointPublicAddressesPtrOutputWithContext added in v0.0.29

func (o DbEndpointPublicAddressesOutput) ToDbEndpointPublicAddressesPtrOutputWithContext(ctx context.Context) DbEndpointPublicAddressesPtrOutput

type DbEndpointPublicAddressesPtrInput added in v0.0.29

type DbEndpointPublicAddressesPtrInput interface {
	pulumi.Input

	ToDbEndpointPublicAddressesPtrOutput() DbEndpointPublicAddressesPtrOutput
	ToDbEndpointPublicAddressesPtrOutputWithContext(context.Context) DbEndpointPublicAddressesPtrOutput
}

DbEndpointPublicAddressesPtrInput is an input type that accepts DbEndpointPublicAddressesArgs, DbEndpointPublicAddressesPtr and DbEndpointPublicAddressesPtrOutput values. You can construct a concrete instance of `DbEndpointPublicAddressesPtrInput` via:

        DbEndpointPublicAddressesArgs{...}

or:

        nil

func DbEndpointPublicAddressesPtr added in v0.0.29

type DbEndpointPublicAddressesPtrOutput added in v0.0.29

type DbEndpointPublicAddressesPtrOutput struct{ *pulumi.OutputState }

func (DbEndpointPublicAddressesPtrOutput) CrossRegionDomain added in v0.0.29

Private network address accessible across regions. Note: If this address is unavailable, this field will not be returned.

func (DbEndpointPublicAddressesPtrOutput) DnsVisibility added in v0.0.29

Whether public network resolution is enabled. Values: false: Default, private network resolution. true: Both private and public network resolution.

func (DbEndpointPublicAddressesPtrOutput) Domain added in v0.0.29

Connection domain name

func (DbEndpointPublicAddressesPtrOutput) DomainPrefix added in v0.0.29

New access address prefix. The access address prefix must meet the following rules: consists of lowercase letters, numbers, and hyphens (-). Must contain at least 8 characters. The total length (including suffix) must not exceed 63 characters. Must start with a lowercase letter and end with a lowercase letter or number.

func (DbEndpointPublicAddressesPtrOutput) DomainVisibilitySetting added in v0.0.29

func (o DbEndpointPublicAddressesPtrOutput) DomainVisibilitySetting() pulumi.StringPtrOutput

Type of private network address. Values: LocalDomain: Local region domain name. CrossRegionDomain: Domain name accessible across regions.

func (DbEndpointPublicAddressesPtrOutput) EipId added in v0.0.29

EIP ID, valid only for Public addresses.

func (DbEndpointPublicAddressesPtrOutput) Elem added in v0.0.29

func (DbEndpointPublicAddressesPtrOutput) ElementType added in v0.0.29

func (DbEndpointPublicAddressesPtrOutput) IpAddress added in v0.0.29

IP address

func (DbEndpointPublicAddressesPtrOutput) NetworkType added in v0.0.29

Network address type. Values: Private: private network connection address. Public: public network connection address. Inner: public service zone address.

func (DbEndpointPublicAddressesPtrOutput) Port added in v0.0.29

Port number.

func (DbEndpointPublicAddressesPtrOutput) SubnetId added in v0.0.29

Subnet ID

func (DbEndpointPublicAddressesPtrOutput) ToDbEndpointPublicAddressesPtrOutput added in v0.0.29

func (o DbEndpointPublicAddressesPtrOutput) ToDbEndpointPublicAddressesPtrOutput() DbEndpointPublicAddressesPtrOutput

func (DbEndpointPublicAddressesPtrOutput) ToDbEndpointPublicAddressesPtrOutputWithContext added in v0.0.29

func (o DbEndpointPublicAddressesPtrOutput) ToDbEndpointPublicAddressesPtrOutputWithContext(ctx context.Context) DbEndpointPublicAddressesPtrOutput

type DbEndpointReadOnlyNodeWeight added in v0.0.17

type DbEndpointReadOnlyNodeWeight struct {
	// Read-only nodes require the NodeId to be provided.
	NodeId *string `pulumi:"nodeId"`
	// Node type. Values: Primary: primary node. ReadOnly: read-only node.
	NodeType *string `pulumi:"nodeType"`
	// Read weight of the node, increases in increments of 100, maximum value is 40000. Note: Weights cannot all be set to 0.
	Weight *int `pulumi:"weight"`
}

type DbEndpointReadOnlyNodeWeightArgs added in v0.0.17

type DbEndpointReadOnlyNodeWeightArgs struct {
	// Read-only nodes require the NodeId to be provided.
	NodeId pulumi.StringPtrInput `pulumi:"nodeId"`
	// Node type. Values: Primary: primary node. ReadOnly: read-only node.
	NodeType pulumi.StringPtrInput `pulumi:"nodeType"`
	// Read weight of the node, increases in increments of 100, maximum value is 40000. Note: Weights cannot all be set to 0.
	Weight pulumi.IntPtrInput `pulumi:"weight"`
}

func (DbEndpointReadOnlyNodeWeightArgs) ElementType added in v0.0.17

func (DbEndpointReadOnlyNodeWeightArgs) ToDbEndpointReadOnlyNodeWeightOutput added in v0.0.17

func (i DbEndpointReadOnlyNodeWeightArgs) ToDbEndpointReadOnlyNodeWeightOutput() DbEndpointReadOnlyNodeWeightOutput

func (DbEndpointReadOnlyNodeWeightArgs) ToDbEndpointReadOnlyNodeWeightOutputWithContext added in v0.0.17

func (i DbEndpointReadOnlyNodeWeightArgs) ToDbEndpointReadOnlyNodeWeightOutputWithContext(ctx context.Context) DbEndpointReadOnlyNodeWeightOutput

type DbEndpointReadOnlyNodeWeightArray added in v0.0.17

type DbEndpointReadOnlyNodeWeightArray []DbEndpointReadOnlyNodeWeightInput

func (DbEndpointReadOnlyNodeWeightArray) ElementType added in v0.0.17

func (DbEndpointReadOnlyNodeWeightArray) ToDbEndpointReadOnlyNodeWeightArrayOutput added in v0.0.17

func (i DbEndpointReadOnlyNodeWeightArray) ToDbEndpointReadOnlyNodeWeightArrayOutput() DbEndpointReadOnlyNodeWeightArrayOutput

func (DbEndpointReadOnlyNodeWeightArray) ToDbEndpointReadOnlyNodeWeightArrayOutputWithContext added in v0.0.17

func (i DbEndpointReadOnlyNodeWeightArray) ToDbEndpointReadOnlyNodeWeightArrayOutputWithContext(ctx context.Context) DbEndpointReadOnlyNodeWeightArrayOutput

type DbEndpointReadOnlyNodeWeightArrayInput added in v0.0.17

type DbEndpointReadOnlyNodeWeightArrayInput interface {
	pulumi.Input

	ToDbEndpointReadOnlyNodeWeightArrayOutput() DbEndpointReadOnlyNodeWeightArrayOutput
	ToDbEndpointReadOnlyNodeWeightArrayOutputWithContext(context.Context) DbEndpointReadOnlyNodeWeightArrayOutput
}

DbEndpointReadOnlyNodeWeightArrayInput is an input type that accepts DbEndpointReadOnlyNodeWeightArray and DbEndpointReadOnlyNodeWeightArrayOutput values. You can construct a concrete instance of `DbEndpointReadOnlyNodeWeightArrayInput` via:

DbEndpointReadOnlyNodeWeightArray{ DbEndpointReadOnlyNodeWeightArgs{...} }

type DbEndpointReadOnlyNodeWeightArrayOutput added in v0.0.17

type DbEndpointReadOnlyNodeWeightArrayOutput struct{ *pulumi.OutputState }

func (DbEndpointReadOnlyNodeWeightArrayOutput) ElementType added in v0.0.17

func (DbEndpointReadOnlyNodeWeightArrayOutput) Index added in v0.0.17

func (DbEndpointReadOnlyNodeWeightArrayOutput) ToDbEndpointReadOnlyNodeWeightArrayOutput added in v0.0.17

func (o DbEndpointReadOnlyNodeWeightArrayOutput) ToDbEndpointReadOnlyNodeWeightArrayOutput() DbEndpointReadOnlyNodeWeightArrayOutput

func (DbEndpointReadOnlyNodeWeightArrayOutput) ToDbEndpointReadOnlyNodeWeightArrayOutputWithContext added in v0.0.17

func (o DbEndpointReadOnlyNodeWeightArrayOutput) ToDbEndpointReadOnlyNodeWeightArrayOutputWithContext(ctx context.Context) DbEndpointReadOnlyNodeWeightArrayOutput

type DbEndpointReadOnlyNodeWeightInput added in v0.0.17

type DbEndpointReadOnlyNodeWeightInput interface {
	pulumi.Input

	ToDbEndpointReadOnlyNodeWeightOutput() DbEndpointReadOnlyNodeWeightOutput
	ToDbEndpointReadOnlyNodeWeightOutputWithContext(context.Context) DbEndpointReadOnlyNodeWeightOutput
}

DbEndpointReadOnlyNodeWeightInput is an input type that accepts DbEndpointReadOnlyNodeWeightArgs and DbEndpointReadOnlyNodeWeightOutput values. You can construct a concrete instance of `DbEndpointReadOnlyNodeWeightInput` via:

DbEndpointReadOnlyNodeWeightArgs{...}

type DbEndpointReadOnlyNodeWeightOutput added in v0.0.17

type DbEndpointReadOnlyNodeWeightOutput struct{ *pulumi.OutputState }

func (DbEndpointReadOnlyNodeWeightOutput) ElementType added in v0.0.17

func (DbEndpointReadOnlyNodeWeightOutput) NodeId added in v0.0.17

Read-only nodes require the NodeId to be provided.

func (DbEndpointReadOnlyNodeWeightOutput) NodeType added in v0.0.17

Node type. Values: Primary: primary node. ReadOnly: read-only node.

func (DbEndpointReadOnlyNodeWeightOutput) ToDbEndpointReadOnlyNodeWeightOutput added in v0.0.17

func (o DbEndpointReadOnlyNodeWeightOutput) ToDbEndpointReadOnlyNodeWeightOutput() DbEndpointReadOnlyNodeWeightOutput

func (DbEndpointReadOnlyNodeWeightOutput) ToDbEndpointReadOnlyNodeWeightOutputWithContext added in v0.0.17

func (o DbEndpointReadOnlyNodeWeightOutput) ToDbEndpointReadOnlyNodeWeightOutputWithContext(ctx context.Context) DbEndpointReadOnlyNodeWeightOutput

func (DbEndpointReadOnlyNodeWeightOutput) Weight added in v0.0.17

Read weight of the node, increases in increments of 100, maximum value is 40000. Note: Weights cannot all be set to 0.

type DbEndpointState added in v0.0.17

type DbEndpointState struct {
	// When the endpoint type is read/write or read-only, you can configure whether new nodes are automatically added. Values: Enable: Automatically add. Disable: Do not automatically add (default).
	AutoAddNewNodes pulumi.StringPtrInput
	// Address description
	Description pulumi.StringPtrInput
	// Whether global read-only is enabled. Enable: Enabled. Disable: Not enabled.
	EnableReadOnly pulumi.StringPtrInput
	// Whether read/write splitting is enabled. Values: Enable: Enabled. Disable: Not enabled.
	EnableReadWriteSplitting pulumi.StringPtrInput
	// Instance connection endpoint ID.
	EndpointId pulumi.StringPtrInput
	// Instance connection endpoint name.
	EndpointName pulumi.StringPtrInput
	// Endpoint type: Cluster: default endpoint (created by default). Custom: custom endpoint.
	EndpointType pulumi.StringPtrInput
	// Public service zone connection address
	InnerAddresses DbEndpointInnerAddressesPtrInput
	// Instance ID.
	InstanceId pulumi.StringPtrInput
	// List of nodes configured for the connection endpoint. Note: Required when EndpointType is Custom. The primary node does not require a node ID; use the string 'Primary'.
	Nodes pulumi.StringPtrInput
	// Private network connection address
	PrivateAddresses DbEndpointPrivateAddressesPtrInput
	// Public network connection address
	PublicAddresses DbEndpointPublicAddressesPtrInput
	// Read-only weight allocation mode. Values: Default: standard weight allocation (default). Custom: custom weight allocation.
	ReadOnlyNodeDistributionType pulumi.StringPtrInput
	// Maximum latency threshold for read-only nodes. When the latency of a read-only node exceeds this value, read traffic will not be sent to that node. Unit: seconds. Range: 0~3600. Default: 30. Note: This parameter can be set for default endpoints with read/write splitting enabled.
	ReadOnlyNodeMaxDelayTime pulumi.IntPtrInput
	// List of nodes configured for the connection endpoint and their corresponding read-only weights.
	// Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
	ReadOnlyNodeWeights DbEndpointReadOnlyNodeWeightArrayInput
	// Read/write mode: ReadWrite: read/write. ReadOnly: read-only.
	ReadWriteMode pulumi.StringPtrInput
	// After enabling read/write splitting for the endpoint, set the number of proxy connections for the endpoint. The minimum value for proxy connections is 20. The maximum value depends on the specifications of the primary node; different specifications support different maximum proxy connections. For details, see product specifications.
	ReadWriteProxyConnection pulumi.IntPtrInput
	// Whether the endpoint sends write requests to the write node (currently only the primary node is the write node). Values: true: Yes (default). false: No.
	WriteNodeHaltWriting pulumi.BoolPtrInput
}

func (DbEndpointState) ElementType added in v0.0.17

func (DbEndpointState) ElementType() reflect.Type

type GetAllowListAssociatedInstance

type GetAllowListAssociatedInstance struct {
	// Instance ID.
	InstanceId string `pulumi:"instanceId"`
	// Instance name.
	InstanceName string `pulumi:"instanceName"`
	// VPC ID to which the instance belongs.
	Vpc string `pulumi:"vpc"`
}

type GetAllowListAssociatedInstanceArgs

type GetAllowListAssociatedInstanceArgs struct {
	// Instance ID.
	InstanceId pulumi.StringInput `pulumi:"instanceId"`
	// Instance name.
	InstanceName pulumi.StringInput `pulumi:"instanceName"`
	// VPC ID to which the instance belongs.
	Vpc pulumi.StringInput `pulumi:"vpc"`
}

func (GetAllowListAssociatedInstanceArgs) ElementType

func (GetAllowListAssociatedInstanceArgs) ToGetAllowListAssociatedInstanceOutput

func (i GetAllowListAssociatedInstanceArgs) ToGetAllowListAssociatedInstanceOutput() GetAllowListAssociatedInstanceOutput

func (GetAllowListAssociatedInstanceArgs) ToGetAllowListAssociatedInstanceOutputWithContext

func (i GetAllowListAssociatedInstanceArgs) ToGetAllowListAssociatedInstanceOutputWithContext(ctx context.Context) GetAllowListAssociatedInstanceOutput

type GetAllowListAssociatedInstanceArray

type GetAllowListAssociatedInstanceArray []GetAllowListAssociatedInstanceInput

func (GetAllowListAssociatedInstanceArray) ElementType

func (GetAllowListAssociatedInstanceArray) ToGetAllowListAssociatedInstanceArrayOutput

func (i GetAllowListAssociatedInstanceArray) ToGetAllowListAssociatedInstanceArrayOutput() GetAllowListAssociatedInstanceArrayOutput

func (GetAllowListAssociatedInstanceArray) ToGetAllowListAssociatedInstanceArrayOutputWithContext

func (i GetAllowListAssociatedInstanceArray) ToGetAllowListAssociatedInstanceArrayOutputWithContext(ctx context.Context) GetAllowListAssociatedInstanceArrayOutput

type GetAllowListAssociatedInstanceArrayInput

type GetAllowListAssociatedInstanceArrayInput interface {
	pulumi.Input

	ToGetAllowListAssociatedInstanceArrayOutput() GetAllowListAssociatedInstanceArrayOutput
	ToGetAllowListAssociatedInstanceArrayOutputWithContext(context.Context) GetAllowListAssociatedInstanceArrayOutput
}

GetAllowListAssociatedInstanceArrayInput is an input type that accepts GetAllowListAssociatedInstanceArray and GetAllowListAssociatedInstanceArrayOutput values. You can construct a concrete instance of `GetAllowListAssociatedInstanceArrayInput` via:

GetAllowListAssociatedInstanceArray{ GetAllowListAssociatedInstanceArgs{...} }

type GetAllowListAssociatedInstanceArrayOutput

type GetAllowListAssociatedInstanceArrayOutput struct{ *pulumi.OutputState }

func (GetAllowListAssociatedInstanceArrayOutput) ElementType

func (GetAllowListAssociatedInstanceArrayOutput) Index

func (GetAllowListAssociatedInstanceArrayOutput) ToGetAllowListAssociatedInstanceArrayOutput

func (o GetAllowListAssociatedInstanceArrayOutput) ToGetAllowListAssociatedInstanceArrayOutput() GetAllowListAssociatedInstanceArrayOutput

func (GetAllowListAssociatedInstanceArrayOutput) ToGetAllowListAssociatedInstanceArrayOutputWithContext

func (o GetAllowListAssociatedInstanceArrayOutput) ToGetAllowListAssociatedInstanceArrayOutputWithContext(ctx context.Context) GetAllowListAssociatedInstanceArrayOutput

type GetAllowListAssociatedInstanceInput

type GetAllowListAssociatedInstanceInput interface {
	pulumi.Input

	ToGetAllowListAssociatedInstanceOutput() GetAllowListAssociatedInstanceOutput
	ToGetAllowListAssociatedInstanceOutputWithContext(context.Context) GetAllowListAssociatedInstanceOutput
}

GetAllowListAssociatedInstanceInput is an input type that accepts GetAllowListAssociatedInstanceArgs and GetAllowListAssociatedInstanceOutput values. You can construct a concrete instance of `GetAllowListAssociatedInstanceInput` via:

GetAllowListAssociatedInstanceArgs{...}

type GetAllowListAssociatedInstanceOutput

type GetAllowListAssociatedInstanceOutput struct{ *pulumi.OutputState }

func (GetAllowListAssociatedInstanceOutput) ElementType

func (GetAllowListAssociatedInstanceOutput) InstanceId

Instance ID.

func (GetAllowListAssociatedInstanceOutput) InstanceName

Instance name.

func (GetAllowListAssociatedInstanceOutput) ToGetAllowListAssociatedInstanceOutput

func (o GetAllowListAssociatedInstanceOutput) ToGetAllowListAssociatedInstanceOutput() GetAllowListAssociatedInstanceOutput

func (GetAllowListAssociatedInstanceOutput) ToGetAllowListAssociatedInstanceOutputWithContext

func (o GetAllowListAssociatedInstanceOutput) ToGetAllowListAssociatedInstanceOutputWithContext(ctx context.Context) GetAllowListAssociatedInstanceOutput

func (GetAllowListAssociatedInstanceOutput) Vpc

VPC ID to which the instance belongs.

type GetAllowListSecurityGroupBindInfo

type GetAllowListSecurityGroupBindInfo struct {
	// Mode for associating security groups. Values: IngressDirectionIp: inbound IP. AssociateEcsIp: associate ECS IP.
	BindMode string `pulumi:"bindMode"`
	// IP address list in the security group.
	IpLists []string `pulumi:"ipLists"`
	// Security group ID.
	SecurityGroupId string `pulumi:"securityGroupId"`
	// Security group name.
	SecurityGroupName string `pulumi:"securityGroupName"`
}

type GetAllowListSecurityGroupBindInfoArgs

type GetAllowListSecurityGroupBindInfoArgs struct {
	// Mode for associating security groups. Values: IngressDirectionIp: inbound IP. AssociateEcsIp: associate ECS IP.
	BindMode pulumi.StringInput `pulumi:"bindMode"`
	// IP address list in the security group.
	IpLists pulumi.StringArrayInput `pulumi:"ipLists"`
	// Security group ID.
	SecurityGroupId pulumi.StringInput `pulumi:"securityGroupId"`
	// Security group name.
	SecurityGroupName pulumi.StringInput `pulumi:"securityGroupName"`
}

func (GetAllowListSecurityGroupBindInfoArgs) ElementType

func (GetAllowListSecurityGroupBindInfoArgs) ToGetAllowListSecurityGroupBindInfoOutput

func (i GetAllowListSecurityGroupBindInfoArgs) ToGetAllowListSecurityGroupBindInfoOutput() GetAllowListSecurityGroupBindInfoOutput

func (GetAllowListSecurityGroupBindInfoArgs) ToGetAllowListSecurityGroupBindInfoOutputWithContext

func (i GetAllowListSecurityGroupBindInfoArgs) ToGetAllowListSecurityGroupBindInfoOutputWithContext(ctx context.Context) GetAllowListSecurityGroupBindInfoOutput

type GetAllowListSecurityGroupBindInfoArray

type GetAllowListSecurityGroupBindInfoArray []GetAllowListSecurityGroupBindInfoInput

func (GetAllowListSecurityGroupBindInfoArray) ElementType

func (GetAllowListSecurityGroupBindInfoArray) ToGetAllowListSecurityGroupBindInfoArrayOutput

func (i GetAllowListSecurityGroupBindInfoArray) ToGetAllowListSecurityGroupBindInfoArrayOutput() GetAllowListSecurityGroupBindInfoArrayOutput

func (GetAllowListSecurityGroupBindInfoArray) ToGetAllowListSecurityGroupBindInfoArrayOutputWithContext

func (i GetAllowListSecurityGroupBindInfoArray) ToGetAllowListSecurityGroupBindInfoArrayOutputWithContext(ctx context.Context) GetAllowListSecurityGroupBindInfoArrayOutput

type GetAllowListSecurityGroupBindInfoArrayInput

type GetAllowListSecurityGroupBindInfoArrayInput interface {
	pulumi.Input

	ToGetAllowListSecurityGroupBindInfoArrayOutput() GetAllowListSecurityGroupBindInfoArrayOutput
	ToGetAllowListSecurityGroupBindInfoArrayOutputWithContext(context.Context) GetAllowListSecurityGroupBindInfoArrayOutput
}

GetAllowListSecurityGroupBindInfoArrayInput is an input type that accepts GetAllowListSecurityGroupBindInfoArray and GetAllowListSecurityGroupBindInfoArrayOutput values. You can construct a concrete instance of `GetAllowListSecurityGroupBindInfoArrayInput` via:

GetAllowListSecurityGroupBindInfoArray{ GetAllowListSecurityGroupBindInfoArgs{...} }

type GetAllowListSecurityGroupBindInfoArrayOutput

type GetAllowListSecurityGroupBindInfoArrayOutput struct{ *pulumi.OutputState }

func (GetAllowListSecurityGroupBindInfoArrayOutput) ElementType

func (GetAllowListSecurityGroupBindInfoArrayOutput) Index

func (GetAllowListSecurityGroupBindInfoArrayOutput) ToGetAllowListSecurityGroupBindInfoArrayOutput

func (o GetAllowListSecurityGroupBindInfoArrayOutput) ToGetAllowListSecurityGroupBindInfoArrayOutput() GetAllowListSecurityGroupBindInfoArrayOutput

func (GetAllowListSecurityGroupBindInfoArrayOutput) ToGetAllowListSecurityGroupBindInfoArrayOutputWithContext

func (o GetAllowListSecurityGroupBindInfoArrayOutput) ToGetAllowListSecurityGroupBindInfoArrayOutputWithContext(ctx context.Context) GetAllowListSecurityGroupBindInfoArrayOutput

type GetAllowListSecurityGroupBindInfoInput

type GetAllowListSecurityGroupBindInfoInput interface {
	pulumi.Input

	ToGetAllowListSecurityGroupBindInfoOutput() GetAllowListSecurityGroupBindInfoOutput
	ToGetAllowListSecurityGroupBindInfoOutputWithContext(context.Context) GetAllowListSecurityGroupBindInfoOutput
}

GetAllowListSecurityGroupBindInfoInput is an input type that accepts GetAllowListSecurityGroupBindInfoArgs and GetAllowListSecurityGroupBindInfoOutput values. You can construct a concrete instance of `GetAllowListSecurityGroupBindInfoInput` via:

GetAllowListSecurityGroupBindInfoArgs{...}

type GetAllowListSecurityGroupBindInfoOutput

type GetAllowListSecurityGroupBindInfoOutput struct{ *pulumi.OutputState }

func (GetAllowListSecurityGroupBindInfoOutput) BindMode

Mode for associating security groups. Values: IngressDirectionIp: inbound IP. AssociateEcsIp: associate ECS IP.

func (GetAllowListSecurityGroupBindInfoOutput) ElementType

func (GetAllowListSecurityGroupBindInfoOutput) IpLists

IP address list in the security group.

func (GetAllowListSecurityGroupBindInfoOutput) SecurityGroupId

Security group ID.

func (GetAllowListSecurityGroupBindInfoOutput) SecurityGroupName

Security group name.

func (GetAllowListSecurityGroupBindInfoOutput) ToGetAllowListSecurityGroupBindInfoOutput

func (o GetAllowListSecurityGroupBindInfoOutput) ToGetAllowListSecurityGroupBindInfoOutput() GetAllowListSecurityGroupBindInfoOutput

func (GetAllowListSecurityGroupBindInfoOutput) ToGetAllowListSecurityGroupBindInfoOutputWithContext

func (o GetAllowListSecurityGroupBindInfoOutput) ToGetAllowListSecurityGroupBindInfoOutputWithContext(ctx context.Context) GetAllowListSecurityGroupBindInfoOutput

type GetAllowListsResult

type GetAllowListsResult struct {
	// Uniquely identifies the data source.
	Id string `pulumi:"id"`
	// Set of Resource Identifiers.
	Ids []string `pulumi:"ids"`
}

A collection of values returned by getAllowLists.

func GetAllowLists

func GetAllowLists(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetAllowListsResult, error)

Plural Data Source schema for Byteplus::RDSPostgreSQL::AllowList

type GetAllowListsResultOutput

type GetAllowListsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAllowLists.

func GetAllowListsOutput

func GetAllowListsOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetAllowListsResultOutput

func (GetAllowListsResultOutput) ElementType

func (GetAllowListsResultOutput) ElementType() reflect.Type

func (GetAllowListsResultOutput) Id

Uniquely identifies the data source.

func (GetAllowListsResultOutput) Ids

Set of Resource Identifiers.

func (GetAllowListsResultOutput) ToGetAllowListsResultOutput

func (o GetAllowListsResultOutput) ToGetAllowListsResultOutput() GetAllowListsResultOutput

func (GetAllowListsResultOutput) ToGetAllowListsResultOutputWithContext

func (o GetAllowListsResultOutput) ToGetAllowListsResultOutputWithContext(ctx context.Context) GetAllowListsResultOutput

type GetBackupBackupMeta added in v0.0.29

type GetBackupBackupMeta struct {
	// Database name.
	DbName string `pulumi:"dbName"`
}

type GetBackupBackupMetaArgs added in v0.0.29

type GetBackupBackupMetaArgs struct {
	// Database name.
	DbName pulumi.StringInput `pulumi:"dbName"`
}

func (GetBackupBackupMetaArgs) ElementType added in v0.0.29

func (GetBackupBackupMetaArgs) ElementType() reflect.Type

func (GetBackupBackupMetaArgs) ToGetBackupBackupMetaOutput added in v0.0.29

func (i GetBackupBackupMetaArgs) ToGetBackupBackupMetaOutput() GetBackupBackupMetaOutput

func (GetBackupBackupMetaArgs) ToGetBackupBackupMetaOutputWithContext added in v0.0.29

func (i GetBackupBackupMetaArgs) ToGetBackupBackupMetaOutputWithContext(ctx context.Context) GetBackupBackupMetaOutput

type GetBackupBackupMetaArray added in v0.0.29

type GetBackupBackupMetaArray []GetBackupBackupMetaInput

func (GetBackupBackupMetaArray) ElementType added in v0.0.29

func (GetBackupBackupMetaArray) ElementType() reflect.Type

func (GetBackupBackupMetaArray) ToGetBackupBackupMetaArrayOutput added in v0.0.29

func (i GetBackupBackupMetaArray) ToGetBackupBackupMetaArrayOutput() GetBackupBackupMetaArrayOutput

func (GetBackupBackupMetaArray) ToGetBackupBackupMetaArrayOutputWithContext added in v0.0.29

func (i GetBackupBackupMetaArray) ToGetBackupBackupMetaArrayOutputWithContext(ctx context.Context) GetBackupBackupMetaArrayOutput

type GetBackupBackupMetaArrayInput added in v0.0.29

type GetBackupBackupMetaArrayInput interface {
	pulumi.Input

	ToGetBackupBackupMetaArrayOutput() GetBackupBackupMetaArrayOutput
	ToGetBackupBackupMetaArrayOutputWithContext(context.Context) GetBackupBackupMetaArrayOutput
}

GetBackupBackupMetaArrayInput is an input type that accepts GetBackupBackupMetaArray and GetBackupBackupMetaArrayOutput values. You can construct a concrete instance of `GetBackupBackupMetaArrayInput` via:

GetBackupBackupMetaArray{ GetBackupBackupMetaArgs{...} }

type GetBackupBackupMetaArrayOutput added in v0.0.29

type GetBackupBackupMetaArrayOutput struct{ *pulumi.OutputState }

func (GetBackupBackupMetaArrayOutput) ElementType added in v0.0.29

func (GetBackupBackupMetaArrayOutput) Index added in v0.0.29

func (GetBackupBackupMetaArrayOutput) ToGetBackupBackupMetaArrayOutput added in v0.0.29

func (o GetBackupBackupMetaArrayOutput) ToGetBackupBackupMetaArrayOutput() GetBackupBackupMetaArrayOutput

func (GetBackupBackupMetaArrayOutput) ToGetBackupBackupMetaArrayOutputWithContext added in v0.0.29

func (o GetBackupBackupMetaArrayOutput) ToGetBackupBackupMetaArrayOutputWithContext(ctx context.Context) GetBackupBackupMetaArrayOutput

type GetBackupBackupMetaInput added in v0.0.29

type GetBackupBackupMetaInput interface {
	pulumi.Input

	ToGetBackupBackupMetaOutput() GetBackupBackupMetaOutput
	ToGetBackupBackupMetaOutputWithContext(context.Context) GetBackupBackupMetaOutput
}

GetBackupBackupMetaInput is an input type that accepts GetBackupBackupMetaArgs and GetBackupBackupMetaOutput values. You can construct a concrete instance of `GetBackupBackupMetaInput` via:

GetBackupBackupMetaArgs{...}

type GetBackupBackupMetaOutput added in v0.0.29

type GetBackupBackupMetaOutput struct{ *pulumi.OutputState }

func (GetBackupBackupMetaOutput) DbName added in v0.0.29

Database name.

func (GetBackupBackupMetaOutput) ElementType added in v0.0.29

func (GetBackupBackupMetaOutput) ElementType() reflect.Type

func (GetBackupBackupMetaOutput) ToGetBackupBackupMetaOutput added in v0.0.29

func (o GetBackupBackupMetaOutput) ToGetBackupBackupMetaOutput() GetBackupBackupMetaOutput

func (GetBackupBackupMetaOutput) ToGetBackupBackupMetaOutputWithContext added in v0.0.29

func (o GetBackupBackupMetaOutput) ToGetBackupBackupMetaOutputWithContext(ctx context.Context) GetBackupBackupMetaOutput

type GetBackupBackupPolicy added in v0.0.29

type GetBackupBackupPolicy struct {
	// Backup retention days.
	BackupRetentionPeriod int `pulumi:"backupRetentionPeriod"`
	// Data incremental backup schedule.
	DataIncrBackupPeriods string `pulumi:"dataIncrBackupPeriods"`
	// Full backup schedule, such as Monday,Tuesday.
	FullBackupPeriod string `pulumi:"fullBackupPeriod"`
	// Full backup time window, such as 00:00Z-01:00Z.
	FullBackupTime string `pulumi:"fullBackupTime"`
	// Enable hourly incremental backup.
	HourlyIncrBackupEnable bool `pulumi:"hourlyIncrBackupEnable"`
	// Incremental backup frequency (hours).
	IncrementBackupFrequency int `pulumi:"incrementBackupFrequency"`
	// Enable WAL log space limit.
	WalLogSpaceLimitEnable bool `pulumi:"walLogSpaceLimitEnable"`
}

type GetBackupBackupPolicyArgs added in v0.0.29

type GetBackupBackupPolicyArgs struct {
	// Backup retention days.
	BackupRetentionPeriod pulumi.IntInput `pulumi:"backupRetentionPeriod"`
	// Data incremental backup schedule.
	DataIncrBackupPeriods pulumi.StringInput `pulumi:"dataIncrBackupPeriods"`
	// Full backup schedule, such as Monday,Tuesday.
	FullBackupPeriod pulumi.StringInput `pulumi:"fullBackupPeriod"`
	// Full backup time window, such as 00:00Z-01:00Z.
	FullBackupTime pulumi.StringInput `pulumi:"fullBackupTime"`
	// Enable hourly incremental backup.
	HourlyIncrBackupEnable pulumi.BoolInput `pulumi:"hourlyIncrBackupEnable"`
	// Incremental backup frequency (hours).
	IncrementBackupFrequency pulumi.IntInput `pulumi:"incrementBackupFrequency"`
	// Enable WAL log space limit.
	WalLogSpaceLimitEnable pulumi.BoolInput `pulumi:"walLogSpaceLimitEnable"`
}

func (GetBackupBackupPolicyArgs) ElementType added in v0.0.29

func (GetBackupBackupPolicyArgs) ElementType() reflect.Type

func (GetBackupBackupPolicyArgs) ToGetBackupBackupPolicyOutput added in v0.0.29

func (i GetBackupBackupPolicyArgs) ToGetBackupBackupPolicyOutput() GetBackupBackupPolicyOutput

func (GetBackupBackupPolicyArgs) ToGetBackupBackupPolicyOutputWithContext added in v0.0.29

func (i GetBackupBackupPolicyArgs) ToGetBackupBackupPolicyOutputWithContext(ctx context.Context) GetBackupBackupPolicyOutput

type GetBackupBackupPolicyInput added in v0.0.29

type GetBackupBackupPolicyInput interface {
	pulumi.Input

	ToGetBackupBackupPolicyOutput() GetBackupBackupPolicyOutput
	ToGetBackupBackupPolicyOutputWithContext(context.Context) GetBackupBackupPolicyOutput
}

GetBackupBackupPolicyInput is an input type that accepts GetBackupBackupPolicyArgs and GetBackupBackupPolicyOutput values. You can construct a concrete instance of `GetBackupBackupPolicyInput` via:

GetBackupBackupPolicyArgs{...}

type GetBackupBackupPolicyOutput added in v0.0.29

type GetBackupBackupPolicyOutput struct{ *pulumi.OutputState }

func (GetBackupBackupPolicyOutput) BackupRetentionPeriod added in v0.0.29

func (o GetBackupBackupPolicyOutput) BackupRetentionPeriod() pulumi.IntOutput

Backup retention days.

func (GetBackupBackupPolicyOutput) DataIncrBackupPeriods added in v0.0.29

func (o GetBackupBackupPolicyOutput) DataIncrBackupPeriods() pulumi.StringOutput

Data incremental backup schedule.

func (GetBackupBackupPolicyOutput) ElementType added in v0.0.29

func (GetBackupBackupPolicyOutput) FullBackupPeriod added in v0.0.29

func (o GetBackupBackupPolicyOutput) FullBackupPeriod() pulumi.StringOutput

Full backup schedule, such as Monday,Tuesday.

func (GetBackupBackupPolicyOutput) FullBackupTime added in v0.0.29

func (o GetBackupBackupPolicyOutput) FullBackupTime() pulumi.StringOutput

Full backup time window, such as 00:00Z-01:00Z.

func (GetBackupBackupPolicyOutput) HourlyIncrBackupEnable added in v0.0.29

func (o GetBackupBackupPolicyOutput) HourlyIncrBackupEnable() pulumi.BoolOutput

Enable hourly incremental backup.

func (GetBackupBackupPolicyOutput) IncrementBackupFrequency added in v0.0.29

func (o GetBackupBackupPolicyOutput) IncrementBackupFrequency() pulumi.IntOutput

Incremental backup frequency (hours).

func (GetBackupBackupPolicyOutput) ToGetBackupBackupPolicyOutput added in v0.0.29

func (o GetBackupBackupPolicyOutput) ToGetBackupBackupPolicyOutput() GetBackupBackupPolicyOutput

func (GetBackupBackupPolicyOutput) ToGetBackupBackupPolicyOutputWithContext added in v0.0.29

func (o GetBackupBackupPolicyOutput) ToGetBackupBackupPolicyOutputWithContext(ctx context.Context) GetBackupBackupPolicyOutput

func (GetBackupBackupPolicyOutput) WalLogSpaceLimitEnable added in v0.0.29

func (o GetBackupBackupPolicyOutput) WalLogSpaceLimitEnable() pulumi.BoolOutput

Enable WAL log space limit.

type GetBackupsResult added in v0.0.29

type GetBackupsResult struct {
	// Uniquely identifies the data source.
	Id string `pulumi:"id"`
	// Set of Resource Identifiers.
	Ids []string `pulumi:"ids"`
}

A collection of values returned by getBackups.

func GetBackups added in v0.0.29

func GetBackups(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetBackupsResult, error)

Plural Data Source schema for Byteplus::RDSPostgreSQL::Backup

type GetBackupsResultOutput added in v0.0.29

type GetBackupsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getBackups.

func GetBackupsOutput added in v0.0.29

func GetBackupsOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetBackupsResultOutput

func (GetBackupsResultOutput) ElementType added in v0.0.29

func (GetBackupsResultOutput) ElementType() reflect.Type

func (GetBackupsResultOutput) Id added in v0.0.29

Uniquely identifies the data source.

func (GetBackupsResultOutput) Ids added in v0.0.29

Set of Resource Identifiers.

func (GetBackupsResultOutput) ToGetBackupsResultOutput added in v0.0.29

func (o GetBackupsResultOutput) ToGetBackupsResultOutput() GetBackupsResultOutput

func (GetBackupsResultOutput) ToGetBackupsResultOutputWithContext added in v0.0.29

func (o GetBackupsResultOutput) ToGetBackupsResultOutputWithContext(ctx context.Context) GetBackupsResultOutput

type GetDatabasesResult added in v0.0.17

type GetDatabasesResult struct {
	// Uniquely identifies the data source.
	Id string `pulumi:"id"`
	// Set of Resource Identifiers.
	Ids []string `pulumi:"ids"`
}

A collection of values returned by getDatabases.

func GetDatabases added in v0.0.17

func GetDatabases(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetDatabasesResult, error)

Plural Data Source schema for Byteplus::RDSPostgreSQL::Database

type GetDatabasesResultOutput added in v0.0.17

type GetDatabasesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDatabases.

func GetDatabasesOutput added in v0.0.17

func GetDatabasesOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetDatabasesResultOutput

func (GetDatabasesResultOutput) ElementType added in v0.0.17

func (GetDatabasesResultOutput) ElementType() reflect.Type

func (GetDatabasesResultOutput) Id added in v0.0.17

Uniquely identifies the data source.

func (GetDatabasesResultOutput) Ids added in v0.0.17

Set of Resource Identifiers.

func (GetDatabasesResultOutput) ToGetDatabasesResultOutput added in v0.0.17

func (o GetDatabasesResultOutput) ToGetDatabasesResultOutput() GetDatabasesResultOutput

func (GetDatabasesResultOutput) ToGetDatabasesResultOutputWithContext added in v0.0.17

func (o GetDatabasesResultOutput) ToGetDatabasesResultOutputWithContext(ctx context.Context) GetDatabasesResultOutput

type GetDbAccountsResult added in v0.0.15

type GetDbAccountsResult struct {
	// Uniquely identifies the data source.
	Id string `pulumi:"id"`
	// Set of Resource Identifiers.
	Ids []string `pulumi:"ids"`
}

A collection of values returned by getDbAccounts.

func GetDbAccounts added in v0.0.15

func GetDbAccounts(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetDbAccountsResult, error)

Plural Data Source schema for Byteplus::RDSPostgreSQL::DBAccount

type GetDbAccountsResultOutput added in v0.0.15

type GetDbAccountsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDbAccounts.

func GetDbAccountsOutput added in v0.0.15

func GetDbAccountsOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetDbAccountsResultOutput

func (GetDbAccountsResultOutput) ElementType added in v0.0.15

func (GetDbAccountsResultOutput) ElementType() reflect.Type

func (GetDbAccountsResultOutput) Id added in v0.0.15

Uniquely identifies the data source.

func (GetDbAccountsResultOutput) Ids added in v0.0.15

Set of Resource Identifiers.

func (GetDbAccountsResultOutput) ToGetDbAccountsResultOutput added in v0.0.15

func (o GetDbAccountsResultOutput) ToGetDbAccountsResultOutput() GetDbAccountsResultOutput

func (GetDbAccountsResultOutput) ToGetDbAccountsResultOutputWithContext added in v0.0.15

func (o GetDbAccountsResultOutput) ToGetDbAccountsResultOutputWithContext(ctx context.Context) GetDbAccountsResultOutput

type GetDbEndpointInnerAddresses added in v0.0.29

type GetDbEndpointInnerAddresses struct {
	// Private network address accessible across regions. Note: If this address is unavailable, this field will not be returned.
	CrossRegionDomain string `pulumi:"crossRegionDomain"`
	// Whether public network resolution is enabled. Values: false: Default, private network resolution. true: Both private and public network resolution.
	DnsVisibility bool `pulumi:"dnsVisibility"`
	// Connection domain name
	Domain string `pulumi:"domain"`
	// New access address prefix. The access address prefix must meet the following rules: consists of lowercase letters, numbers, and hyphens (-). Must contain at least 8 characters. The total length (including suffix) must not exceed 63 characters. Must start with a lowercase letter and end with a lowercase letter or number.
	DomainPrefix string `pulumi:"domainPrefix"`
	// Type of private network address. Values: LocalDomain: Local region domain name. CrossRegionDomain: Domain name accessible across regions.
	DomainVisibilitySetting string `pulumi:"domainVisibilitySetting"`
	// EIP ID, valid only for Public addresses.
	EipId string `pulumi:"eipId"`
	// IP address
	IpAddress string `pulumi:"ipAddress"`
	// Network address type. Values: Private: private network connection address. Public: public network connection address. Inner: public service zone address.
	NetworkType string `pulumi:"networkType"`
	// Port number.
	Port string `pulumi:"port"`
	// Subnet ID
	SubnetId string `pulumi:"subnetId"`
}

type GetDbEndpointInnerAddressesArgs added in v0.0.29

type GetDbEndpointInnerAddressesArgs struct {
	// Private network address accessible across regions. Note: If this address is unavailable, this field will not be returned.
	CrossRegionDomain pulumi.StringInput `pulumi:"crossRegionDomain"`
	// Whether public network resolution is enabled. Values: false: Default, private network resolution. true: Both private and public network resolution.
	DnsVisibility pulumi.BoolInput `pulumi:"dnsVisibility"`
	// Connection domain name
	Domain pulumi.StringInput `pulumi:"domain"`
	// New access address prefix. The access address prefix must meet the following rules: consists of lowercase letters, numbers, and hyphens (-). Must contain at least 8 characters. The total length (including suffix) must not exceed 63 characters. Must start with a lowercase letter and end with a lowercase letter or number.
	DomainPrefix pulumi.StringInput `pulumi:"domainPrefix"`
	// Type of private network address. Values: LocalDomain: Local region domain name. CrossRegionDomain: Domain name accessible across regions.
	DomainVisibilitySetting pulumi.StringInput `pulumi:"domainVisibilitySetting"`
	// EIP ID, valid only for Public addresses.
	EipId pulumi.StringInput `pulumi:"eipId"`
	// IP address
	IpAddress pulumi.StringInput `pulumi:"ipAddress"`
	// Network address type. Values: Private: private network connection address. Public: public network connection address. Inner: public service zone address.
	NetworkType pulumi.StringInput `pulumi:"networkType"`
	// Port number.
	Port pulumi.StringInput `pulumi:"port"`
	// Subnet ID
	SubnetId pulumi.StringInput `pulumi:"subnetId"`
}

func (GetDbEndpointInnerAddressesArgs) ElementType added in v0.0.29

func (GetDbEndpointInnerAddressesArgs) ToGetDbEndpointInnerAddressesOutput added in v0.0.29

func (i GetDbEndpointInnerAddressesArgs) ToGetDbEndpointInnerAddressesOutput() GetDbEndpointInnerAddressesOutput

func (GetDbEndpointInnerAddressesArgs) ToGetDbEndpointInnerAddressesOutputWithContext added in v0.0.29

func (i GetDbEndpointInnerAddressesArgs) ToGetDbEndpointInnerAddressesOutputWithContext(ctx context.Context) GetDbEndpointInnerAddressesOutput

type GetDbEndpointInnerAddressesInput added in v0.0.29

type GetDbEndpointInnerAddressesInput interface {
	pulumi.Input

	ToGetDbEndpointInnerAddressesOutput() GetDbEndpointInnerAddressesOutput
	ToGetDbEndpointInnerAddressesOutputWithContext(context.Context) GetDbEndpointInnerAddressesOutput
}

GetDbEndpointInnerAddressesInput is an input type that accepts GetDbEndpointInnerAddressesArgs and GetDbEndpointInnerAddressesOutput values. You can construct a concrete instance of `GetDbEndpointInnerAddressesInput` via:

GetDbEndpointInnerAddressesArgs{...}

type GetDbEndpointInnerAddressesOutput added in v0.0.29

type GetDbEndpointInnerAddressesOutput struct{ *pulumi.OutputState }

func (GetDbEndpointInnerAddressesOutput) CrossRegionDomain added in v0.0.29

Private network address accessible across regions. Note: If this address is unavailable, this field will not be returned.

func (GetDbEndpointInnerAddressesOutput) DnsVisibility added in v0.0.29

Whether public network resolution is enabled. Values: false: Default, private network resolution. true: Both private and public network resolution.

func (GetDbEndpointInnerAddressesOutput) Domain added in v0.0.29

Connection domain name

func (GetDbEndpointInnerAddressesOutput) DomainPrefix added in v0.0.29

New access address prefix. The access address prefix must meet the following rules: consists of lowercase letters, numbers, and hyphens (-). Must contain at least 8 characters. The total length (including suffix) must not exceed 63 characters. Must start with a lowercase letter and end with a lowercase letter or number.

func (GetDbEndpointInnerAddressesOutput) DomainVisibilitySetting added in v0.0.29

func (o GetDbEndpointInnerAddressesOutput) DomainVisibilitySetting() pulumi.StringOutput

Type of private network address. Values: LocalDomain: Local region domain name. CrossRegionDomain: Domain name accessible across regions.

func (GetDbEndpointInnerAddressesOutput) EipId added in v0.0.29

EIP ID, valid only for Public addresses.

func (GetDbEndpointInnerAddressesOutput) ElementType added in v0.0.29

func (GetDbEndpointInnerAddressesOutput) IpAddress added in v0.0.29

IP address

func (GetDbEndpointInnerAddressesOutput) NetworkType added in v0.0.29

Network address type. Values: Private: private network connection address. Public: public network connection address. Inner: public service zone address.

func (GetDbEndpointInnerAddressesOutput) Port added in v0.0.29

Port number.

func (GetDbEndpointInnerAddressesOutput) SubnetId added in v0.0.29

Subnet ID

func (GetDbEndpointInnerAddressesOutput) ToGetDbEndpointInnerAddressesOutput added in v0.0.29

func (o GetDbEndpointInnerAddressesOutput) ToGetDbEndpointInnerAddressesOutput() GetDbEndpointInnerAddressesOutput

func (GetDbEndpointInnerAddressesOutput) ToGetDbEndpointInnerAddressesOutputWithContext added in v0.0.29

func (o GetDbEndpointInnerAddressesOutput) ToGetDbEndpointInnerAddressesOutputWithContext(ctx context.Context) GetDbEndpointInnerAddressesOutput

type GetDbEndpointPrivateAddresses added in v0.0.29

type GetDbEndpointPrivateAddresses struct {
	// Private network address accessible across regions. Note: If this address is unavailable, this field will not be returned.
	CrossRegionDomain string `pulumi:"crossRegionDomain"`
	// Whether public network resolution is enabled. Values: false: Default, private network resolution. true: Both private and public network resolution.
	DnsVisibility bool `pulumi:"dnsVisibility"`
	// Connection domain name
	Domain string `pulumi:"domain"`
	// New access address prefix. The access address prefix must meet the following rules: consists of lowercase letters, numbers, and hyphens (-). Must contain at least 8 characters. The total length (including suffix) must not exceed 63 characters. Must start with a lowercase letter and end with a lowercase letter or number.
	DomainPrefix string `pulumi:"domainPrefix"`
	// Type of private network address. Values: LocalDomain: Local region domain name. CrossRegionDomain: Domain name accessible across regions.
	DomainVisibilitySetting string `pulumi:"domainVisibilitySetting"`
	// EIP ID, valid only for Public addresses.
	EipId string `pulumi:"eipId"`
	// IP address
	IpAddress string `pulumi:"ipAddress"`
	// Network address type. Values: Private: private network connection address. Public: public network connection address. Inner: public service zone address.
	NetworkType string `pulumi:"networkType"`
	// Port number.
	Port string `pulumi:"port"`
	// Subnet ID
	SubnetId string `pulumi:"subnetId"`
}

type GetDbEndpointPrivateAddressesArgs added in v0.0.29

type GetDbEndpointPrivateAddressesArgs struct {
	// Private network address accessible across regions. Note: If this address is unavailable, this field will not be returned.
	CrossRegionDomain pulumi.StringInput `pulumi:"crossRegionDomain"`
	// Whether public network resolution is enabled. Values: false: Default, private network resolution. true: Both private and public network resolution.
	DnsVisibility pulumi.BoolInput `pulumi:"dnsVisibility"`
	// Connection domain name
	Domain pulumi.StringInput `pulumi:"domain"`
	// New access address prefix. The access address prefix must meet the following rules: consists of lowercase letters, numbers, and hyphens (-). Must contain at least 8 characters. The total length (including suffix) must not exceed 63 characters. Must start with a lowercase letter and end with a lowercase letter or number.
	DomainPrefix pulumi.StringInput `pulumi:"domainPrefix"`
	// Type of private network address. Values: LocalDomain: Local region domain name. CrossRegionDomain: Domain name accessible across regions.
	DomainVisibilitySetting pulumi.StringInput `pulumi:"domainVisibilitySetting"`
	// EIP ID, valid only for Public addresses.
	EipId pulumi.StringInput `pulumi:"eipId"`
	// IP address
	IpAddress pulumi.StringInput `pulumi:"ipAddress"`
	// Network address type. Values: Private: private network connection address. Public: public network connection address. Inner: public service zone address.
	NetworkType pulumi.StringInput `pulumi:"networkType"`
	// Port number.
	Port pulumi.StringInput `pulumi:"port"`
	// Subnet ID
	SubnetId pulumi.StringInput `pulumi:"subnetId"`
}

func (GetDbEndpointPrivateAddressesArgs) ElementType added in v0.0.29

func (GetDbEndpointPrivateAddressesArgs) ToGetDbEndpointPrivateAddressesOutput added in v0.0.29

func (i GetDbEndpointPrivateAddressesArgs) ToGetDbEndpointPrivateAddressesOutput() GetDbEndpointPrivateAddressesOutput

func (GetDbEndpointPrivateAddressesArgs) ToGetDbEndpointPrivateAddressesOutputWithContext added in v0.0.29

func (i GetDbEndpointPrivateAddressesArgs) ToGetDbEndpointPrivateAddressesOutputWithContext(ctx context.Context) GetDbEndpointPrivateAddressesOutput

type GetDbEndpointPrivateAddressesInput added in v0.0.29

type GetDbEndpointPrivateAddressesInput interface {
	pulumi.Input

	ToGetDbEndpointPrivateAddressesOutput() GetDbEndpointPrivateAddressesOutput
	ToGetDbEndpointPrivateAddressesOutputWithContext(context.Context) GetDbEndpointPrivateAddressesOutput
}

GetDbEndpointPrivateAddressesInput is an input type that accepts GetDbEndpointPrivateAddressesArgs and GetDbEndpointPrivateAddressesOutput values. You can construct a concrete instance of `GetDbEndpointPrivateAddressesInput` via:

GetDbEndpointPrivateAddressesArgs{...}

type GetDbEndpointPrivateAddressesOutput added in v0.0.29

type GetDbEndpointPrivateAddressesOutput struct{ *pulumi.OutputState }

func (GetDbEndpointPrivateAddressesOutput) CrossRegionDomain added in v0.0.29

Private network address accessible across regions. Note: If this address is unavailable, this field will not be returned.

func (GetDbEndpointPrivateAddressesOutput) DnsVisibility added in v0.0.29

Whether public network resolution is enabled. Values: false: Default, private network resolution. true: Both private and public network resolution.

func (GetDbEndpointPrivateAddressesOutput) Domain added in v0.0.29

Connection domain name

func (GetDbEndpointPrivateAddressesOutput) DomainPrefix added in v0.0.29

New access address prefix. The access address prefix must meet the following rules: consists of lowercase letters, numbers, and hyphens (-). Must contain at least 8 characters. The total length (including suffix) must not exceed 63 characters. Must start with a lowercase letter and end with a lowercase letter or number.

func (GetDbEndpointPrivateAddressesOutput) DomainVisibilitySetting added in v0.0.29

func (o GetDbEndpointPrivateAddressesOutput) DomainVisibilitySetting() pulumi.StringOutput

Type of private network address. Values: LocalDomain: Local region domain name. CrossRegionDomain: Domain name accessible across regions.

func (GetDbEndpointPrivateAddressesOutput) EipId added in v0.0.29

EIP ID, valid only for Public addresses.

func (GetDbEndpointPrivateAddressesOutput) ElementType added in v0.0.29

func (GetDbEndpointPrivateAddressesOutput) IpAddress added in v0.0.29

IP address

func (GetDbEndpointPrivateAddressesOutput) NetworkType added in v0.0.29

Network address type. Values: Private: private network connection address. Public: public network connection address. Inner: public service zone address.

func (GetDbEndpointPrivateAddressesOutput) Port added in v0.0.29

Port number.

func (GetDbEndpointPrivateAddressesOutput) SubnetId added in v0.0.29

Subnet ID

func (GetDbEndpointPrivateAddressesOutput) ToGetDbEndpointPrivateAddressesOutput added in v0.0.29

func (o GetDbEndpointPrivateAddressesOutput) ToGetDbEndpointPrivateAddressesOutput() GetDbEndpointPrivateAddressesOutput

func (GetDbEndpointPrivateAddressesOutput) ToGetDbEndpointPrivateAddressesOutputWithContext added in v0.0.29

func (o GetDbEndpointPrivateAddressesOutput) ToGetDbEndpointPrivateAddressesOutputWithContext(ctx context.Context) GetDbEndpointPrivateAddressesOutput

type GetDbEndpointPublicAddresses added in v0.0.29

type GetDbEndpointPublicAddresses struct {
	// Private network address accessible across regions. Note: If this address is unavailable, this field will not be returned.
	CrossRegionDomain string `pulumi:"crossRegionDomain"`
	// Whether public network resolution is enabled. Values: false: Default, private network resolution. true: Both private and public network resolution.
	DnsVisibility bool `pulumi:"dnsVisibility"`
	// Connection domain name
	Domain string `pulumi:"domain"`
	// New access address prefix. The access address prefix must meet the following rules: consists of lowercase letters, numbers, and hyphens (-). Must contain at least 8 characters. The total length (including suffix) must not exceed 63 characters. Must start with a lowercase letter and end with a lowercase letter or number.
	DomainPrefix string `pulumi:"domainPrefix"`
	// Type of private network address. Values: LocalDomain: Local region domain name. CrossRegionDomain: Domain name accessible across regions.
	DomainVisibilitySetting string `pulumi:"domainVisibilitySetting"`
	// EIP ID, valid only for Public addresses.
	EipId string `pulumi:"eipId"`
	// IP address
	IpAddress string `pulumi:"ipAddress"`
	// Network address type. Values: Private: private network connection address. Public: public network connection address. Inner: public service zone address.
	NetworkType string `pulumi:"networkType"`
	// Port number.
	Port string `pulumi:"port"`
	// Subnet ID
	SubnetId string `pulumi:"subnetId"`
}

type GetDbEndpointPublicAddressesArgs added in v0.0.29

type GetDbEndpointPublicAddressesArgs struct {
	// Private network address accessible across regions. Note: If this address is unavailable, this field will not be returned.
	CrossRegionDomain pulumi.StringInput `pulumi:"crossRegionDomain"`
	// Whether public network resolution is enabled. Values: false: Default, private network resolution. true: Both private and public network resolution.
	DnsVisibility pulumi.BoolInput `pulumi:"dnsVisibility"`
	// Connection domain name
	Domain pulumi.StringInput `pulumi:"domain"`
	// New access address prefix. The access address prefix must meet the following rules: consists of lowercase letters, numbers, and hyphens (-). Must contain at least 8 characters. The total length (including suffix) must not exceed 63 characters. Must start with a lowercase letter and end with a lowercase letter or number.
	DomainPrefix pulumi.StringInput `pulumi:"domainPrefix"`
	// Type of private network address. Values: LocalDomain: Local region domain name. CrossRegionDomain: Domain name accessible across regions.
	DomainVisibilitySetting pulumi.StringInput `pulumi:"domainVisibilitySetting"`
	// EIP ID, valid only for Public addresses.
	EipId pulumi.StringInput `pulumi:"eipId"`
	// IP address
	IpAddress pulumi.StringInput `pulumi:"ipAddress"`
	// Network address type. Values: Private: private network connection address. Public: public network connection address. Inner: public service zone address.
	NetworkType pulumi.StringInput `pulumi:"networkType"`
	// Port number.
	Port pulumi.StringInput `pulumi:"port"`
	// Subnet ID
	SubnetId pulumi.StringInput `pulumi:"subnetId"`
}

func (GetDbEndpointPublicAddressesArgs) ElementType added in v0.0.29

func (GetDbEndpointPublicAddressesArgs) ToGetDbEndpointPublicAddressesOutput added in v0.0.29

func (i GetDbEndpointPublicAddressesArgs) ToGetDbEndpointPublicAddressesOutput() GetDbEndpointPublicAddressesOutput

func (GetDbEndpointPublicAddressesArgs) ToGetDbEndpointPublicAddressesOutputWithContext added in v0.0.29

func (i GetDbEndpointPublicAddressesArgs) ToGetDbEndpointPublicAddressesOutputWithContext(ctx context.Context) GetDbEndpointPublicAddressesOutput

type GetDbEndpointPublicAddressesInput added in v0.0.29

type GetDbEndpointPublicAddressesInput interface {
	pulumi.Input

	ToGetDbEndpointPublicAddressesOutput() GetDbEndpointPublicAddressesOutput
	ToGetDbEndpointPublicAddressesOutputWithContext(context.Context) GetDbEndpointPublicAddressesOutput
}

GetDbEndpointPublicAddressesInput is an input type that accepts GetDbEndpointPublicAddressesArgs and GetDbEndpointPublicAddressesOutput values. You can construct a concrete instance of `GetDbEndpointPublicAddressesInput` via:

GetDbEndpointPublicAddressesArgs{...}

type GetDbEndpointPublicAddressesOutput added in v0.0.29

type GetDbEndpointPublicAddressesOutput struct{ *pulumi.OutputState }

func (GetDbEndpointPublicAddressesOutput) CrossRegionDomain added in v0.0.29

Private network address accessible across regions. Note: If this address is unavailable, this field will not be returned.

func (GetDbEndpointPublicAddressesOutput) DnsVisibility added in v0.0.29

Whether public network resolution is enabled. Values: false: Default, private network resolution. true: Both private and public network resolution.

func (GetDbEndpointPublicAddressesOutput) Domain added in v0.0.29

Connection domain name

func (GetDbEndpointPublicAddressesOutput) DomainPrefix added in v0.0.29

New access address prefix. The access address prefix must meet the following rules: consists of lowercase letters, numbers, and hyphens (-). Must contain at least 8 characters. The total length (including suffix) must not exceed 63 characters. Must start with a lowercase letter and end with a lowercase letter or number.

func (GetDbEndpointPublicAddressesOutput) DomainVisibilitySetting added in v0.0.29

func (o GetDbEndpointPublicAddressesOutput) DomainVisibilitySetting() pulumi.StringOutput

Type of private network address. Values: LocalDomain: Local region domain name. CrossRegionDomain: Domain name accessible across regions.

func (GetDbEndpointPublicAddressesOutput) EipId added in v0.0.29

EIP ID, valid only for Public addresses.

func (GetDbEndpointPublicAddressesOutput) ElementType added in v0.0.29

func (GetDbEndpointPublicAddressesOutput) IpAddress added in v0.0.29

IP address

func (GetDbEndpointPublicAddressesOutput) NetworkType added in v0.0.29

Network address type. Values: Private: private network connection address. Public: public network connection address. Inner: public service zone address.

func (GetDbEndpointPublicAddressesOutput) Port added in v0.0.29

Port number.

func (GetDbEndpointPublicAddressesOutput) SubnetId added in v0.0.29

Subnet ID

func (GetDbEndpointPublicAddressesOutput) ToGetDbEndpointPublicAddressesOutput added in v0.0.29

func (o GetDbEndpointPublicAddressesOutput) ToGetDbEndpointPublicAddressesOutput() GetDbEndpointPublicAddressesOutput

func (GetDbEndpointPublicAddressesOutput) ToGetDbEndpointPublicAddressesOutputWithContext added in v0.0.29

func (o GetDbEndpointPublicAddressesOutput) ToGetDbEndpointPublicAddressesOutputWithContext(ctx context.Context) GetDbEndpointPublicAddressesOutput

type GetDbEndpointReadOnlyNodeWeight added in v0.0.17

type GetDbEndpointReadOnlyNodeWeight struct {
	// Read-only nodes require the NodeId to be provided.
	NodeId string `pulumi:"nodeId"`
	// Node type. Values: Primary: primary node. ReadOnly: read-only node.
	NodeType string `pulumi:"nodeType"`
	// Read weight of the node, increases in increments of 100, maximum value is 40000. Note: Weights cannot all be set to 0.
	Weight int `pulumi:"weight"`
}

type GetDbEndpointReadOnlyNodeWeightArgs added in v0.0.17

type GetDbEndpointReadOnlyNodeWeightArgs struct {
	// Read-only nodes require the NodeId to be provided.
	NodeId pulumi.StringInput `pulumi:"nodeId"`
	// Node type. Values: Primary: primary node. ReadOnly: read-only node.
	NodeType pulumi.StringInput `pulumi:"nodeType"`
	// Read weight of the node, increases in increments of 100, maximum value is 40000. Note: Weights cannot all be set to 0.
	Weight pulumi.IntInput `pulumi:"weight"`
}

func (GetDbEndpointReadOnlyNodeWeightArgs) ElementType added in v0.0.17

func (GetDbEndpointReadOnlyNodeWeightArgs) ToGetDbEndpointReadOnlyNodeWeightOutput added in v0.0.17

func (i GetDbEndpointReadOnlyNodeWeightArgs) ToGetDbEndpointReadOnlyNodeWeightOutput() GetDbEndpointReadOnlyNodeWeightOutput

func (GetDbEndpointReadOnlyNodeWeightArgs) ToGetDbEndpointReadOnlyNodeWeightOutputWithContext added in v0.0.17

func (i GetDbEndpointReadOnlyNodeWeightArgs) ToGetDbEndpointReadOnlyNodeWeightOutputWithContext(ctx context.Context) GetDbEndpointReadOnlyNodeWeightOutput

type GetDbEndpointReadOnlyNodeWeightArray added in v0.0.17

type GetDbEndpointReadOnlyNodeWeightArray []GetDbEndpointReadOnlyNodeWeightInput

func (GetDbEndpointReadOnlyNodeWeightArray) ElementType added in v0.0.17

func (GetDbEndpointReadOnlyNodeWeightArray) ToGetDbEndpointReadOnlyNodeWeightArrayOutput added in v0.0.17

func (i GetDbEndpointReadOnlyNodeWeightArray) ToGetDbEndpointReadOnlyNodeWeightArrayOutput() GetDbEndpointReadOnlyNodeWeightArrayOutput

func (GetDbEndpointReadOnlyNodeWeightArray) ToGetDbEndpointReadOnlyNodeWeightArrayOutputWithContext added in v0.0.17

func (i GetDbEndpointReadOnlyNodeWeightArray) ToGetDbEndpointReadOnlyNodeWeightArrayOutputWithContext(ctx context.Context) GetDbEndpointReadOnlyNodeWeightArrayOutput

type GetDbEndpointReadOnlyNodeWeightArrayInput added in v0.0.17

type GetDbEndpointReadOnlyNodeWeightArrayInput interface {
	pulumi.Input

	ToGetDbEndpointReadOnlyNodeWeightArrayOutput() GetDbEndpointReadOnlyNodeWeightArrayOutput
	ToGetDbEndpointReadOnlyNodeWeightArrayOutputWithContext(context.Context) GetDbEndpointReadOnlyNodeWeightArrayOutput
}

GetDbEndpointReadOnlyNodeWeightArrayInput is an input type that accepts GetDbEndpointReadOnlyNodeWeightArray and GetDbEndpointReadOnlyNodeWeightArrayOutput values. You can construct a concrete instance of `GetDbEndpointReadOnlyNodeWeightArrayInput` via:

GetDbEndpointReadOnlyNodeWeightArray{ GetDbEndpointReadOnlyNodeWeightArgs{...} }

type GetDbEndpointReadOnlyNodeWeightArrayOutput added in v0.0.17

type GetDbEndpointReadOnlyNodeWeightArrayOutput struct{ *pulumi.OutputState }

func (GetDbEndpointReadOnlyNodeWeightArrayOutput) ElementType added in v0.0.17

func (GetDbEndpointReadOnlyNodeWeightArrayOutput) Index added in v0.0.17

func (GetDbEndpointReadOnlyNodeWeightArrayOutput) ToGetDbEndpointReadOnlyNodeWeightArrayOutput added in v0.0.17

func (o GetDbEndpointReadOnlyNodeWeightArrayOutput) ToGetDbEndpointReadOnlyNodeWeightArrayOutput() GetDbEndpointReadOnlyNodeWeightArrayOutput

func (GetDbEndpointReadOnlyNodeWeightArrayOutput) ToGetDbEndpointReadOnlyNodeWeightArrayOutputWithContext added in v0.0.17

func (o GetDbEndpointReadOnlyNodeWeightArrayOutput) ToGetDbEndpointReadOnlyNodeWeightArrayOutputWithContext(ctx context.Context) GetDbEndpointReadOnlyNodeWeightArrayOutput

type GetDbEndpointReadOnlyNodeWeightInput added in v0.0.17

type GetDbEndpointReadOnlyNodeWeightInput interface {
	pulumi.Input

	ToGetDbEndpointReadOnlyNodeWeightOutput() GetDbEndpointReadOnlyNodeWeightOutput
	ToGetDbEndpointReadOnlyNodeWeightOutputWithContext(context.Context) GetDbEndpointReadOnlyNodeWeightOutput
}

GetDbEndpointReadOnlyNodeWeightInput is an input type that accepts GetDbEndpointReadOnlyNodeWeightArgs and GetDbEndpointReadOnlyNodeWeightOutput values. You can construct a concrete instance of `GetDbEndpointReadOnlyNodeWeightInput` via:

GetDbEndpointReadOnlyNodeWeightArgs{...}

type GetDbEndpointReadOnlyNodeWeightOutput added in v0.0.17

type GetDbEndpointReadOnlyNodeWeightOutput struct{ *pulumi.OutputState }

func (GetDbEndpointReadOnlyNodeWeightOutput) ElementType added in v0.0.17

func (GetDbEndpointReadOnlyNodeWeightOutput) NodeId added in v0.0.17

Read-only nodes require the NodeId to be provided.

func (GetDbEndpointReadOnlyNodeWeightOutput) NodeType added in v0.0.17

Node type. Values: Primary: primary node. ReadOnly: read-only node.

func (GetDbEndpointReadOnlyNodeWeightOutput) ToGetDbEndpointReadOnlyNodeWeightOutput added in v0.0.17

func (o GetDbEndpointReadOnlyNodeWeightOutput) ToGetDbEndpointReadOnlyNodeWeightOutput() GetDbEndpointReadOnlyNodeWeightOutput

func (GetDbEndpointReadOnlyNodeWeightOutput) ToGetDbEndpointReadOnlyNodeWeightOutputWithContext added in v0.0.17

func (o GetDbEndpointReadOnlyNodeWeightOutput) ToGetDbEndpointReadOnlyNodeWeightOutputWithContext(ctx context.Context) GetDbEndpointReadOnlyNodeWeightOutput

func (GetDbEndpointReadOnlyNodeWeightOutput) Weight added in v0.0.17

Read weight of the node, increases in increments of 100, maximum value is 40000. Note: Weights cannot all be set to 0.

type GetDbEndpointsResult added in v0.0.17

type GetDbEndpointsResult struct {
	// Uniquely identifies the data source.
	Id string `pulumi:"id"`
	// Set of Resource Identifiers.
	Ids []string `pulumi:"ids"`
}

A collection of values returned by getDbEndpoints.

func GetDbEndpoints added in v0.0.17

func GetDbEndpoints(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetDbEndpointsResult, error)

Plural Data Source schema for Byteplus::RDSPostgreSQL::DBEndpoint

type GetDbEndpointsResultOutput added in v0.0.17

type GetDbEndpointsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDbEndpoints.

func GetDbEndpointsOutput added in v0.0.17

func GetDbEndpointsOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetDbEndpointsResultOutput

func (GetDbEndpointsResultOutput) ElementType added in v0.0.17

func (GetDbEndpointsResultOutput) ElementType() reflect.Type

func (GetDbEndpointsResultOutput) Id added in v0.0.17

Uniquely identifies the data source.

func (GetDbEndpointsResultOutput) Ids added in v0.0.17

Set of Resource Identifiers.

func (GetDbEndpointsResultOutput) ToGetDbEndpointsResultOutput added in v0.0.17

func (o GetDbEndpointsResultOutput) ToGetDbEndpointsResultOutput() GetDbEndpointsResultOutput

func (GetDbEndpointsResultOutput) ToGetDbEndpointsResultOutputWithContext added in v0.0.17

func (o GetDbEndpointsResultOutput) ToGetDbEndpointsResultOutputWithContext(ctx context.Context) GetDbEndpointsResultOutput

type GetInstanceChargeDetail added in v0.0.23

type GetInstanceChargeDetail struct {
	// Enable auto-renewal for prepaid scenarios
	AutoRenew bool `pulumi:"autoRenew"`
	// Billing expiration time for yearly/monthly instances
	ChargeEndTime string `pulumi:"chargeEndTime"`
	// Instance billing start time
	ChargeStartTime string `pulumi:"chargeStartTime"`
	// Payment status. Value:   - `Normal`: Normal   - `Overdue`: Overdue and suspended   - `Unpaid`: Unpaid
	ChargeStatus string `pulumi:"chargeStatus"`
	// Payment type. Value:   - `PostPaid`: Postpaid   - `PrePaid`: Prepaid
	ChargeType string `pulumi:"chargeType"`
	// Estimated release time after instance suspension due to overdue payment
	OverdueReclaimTime string `pulumi:"overdueReclaimTime"`
	// Instance shutdown time due to overdue payment
	OverdueTime string `pulumi:"overdueTime"`
	// Purchase duration for prepaid scenarios
	Period float64 `pulumi:"period"`
	// Purchase period for prepaid scenarios. Values:   - `Month`: month   - `Year`: year
	PeriodUnit string `pulumi:"periodUnit"`
	// Rollback time for temporary upgrade
	TempModifyEndTime string `pulumi:"tempModifyEndTime"`
	// Start time of temporary scaling
	TempModifyStartTime string `pulumi:"tempModifyStartTime"`
}

type GetInstanceChargeDetailArgs added in v0.0.23

type GetInstanceChargeDetailArgs struct {
	// Enable auto-renewal for prepaid scenarios
	AutoRenew pulumi.BoolInput `pulumi:"autoRenew"`
	// Billing expiration time for yearly/monthly instances
	ChargeEndTime pulumi.StringInput `pulumi:"chargeEndTime"`
	// Instance billing start time
	ChargeStartTime pulumi.StringInput `pulumi:"chargeStartTime"`
	// Payment status. Value:   - `Normal`: Normal   - `Overdue`: Overdue and suspended   - `Unpaid`: Unpaid
	ChargeStatus pulumi.StringInput `pulumi:"chargeStatus"`
	// Payment type. Value:   - `PostPaid`: Postpaid   - `PrePaid`: Prepaid
	ChargeType pulumi.StringInput `pulumi:"chargeType"`
	// Estimated release time after instance suspension due to overdue payment
	OverdueReclaimTime pulumi.StringInput `pulumi:"overdueReclaimTime"`
	// Instance shutdown time due to overdue payment
	OverdueTime pulumi.StringInput `pulumi:"overdueTime"`
	// Purchase duration for prepaid scenarios
	Period pulumi.Float64Input `pulumi:"period"`
	// Purchase period for prepaid scenarios. Values:   - `Month`: month   - `Year`: year
	PeriodUnit pulumi.StringInput `pulumi:"periodUnit"`
	// Rollback time for temporary upgrade
	TempModifyEndTime pulumi.StringInput `pulumi:"tempModifyEndTime"`
	// Start time of temporary scaling
	TempModifyStartTime pulumi.StringInput `pulumi:"tempModifyStartTime"`
}

func (GetInstanceChargeDetailArgs) ElementType added in v0.0.23

func (GetInstanceChargeDetailArgs) ToGetInstanceChargeDetailOutput added in v0.0.23

func (i GetInstanceChargeDetailArgs) ToGetInstanceChargeDetailOutput() GetInstanceChargeDetailOutput

func (GetInstanceChargeDetailArgs) ToGetInstanceChargeDetailOutputWithContext added in v0.0.23

func (i GetInstanceChargeDetailArgs) ToGetInstanceChargeDetailOutputWithContext(ctx context.Context) GetInstanceChargeDetailOutput

type GetInstanceChargeDetailInput added in v0.0.23

type GetInstanceChargeDetailInput interface {
	pulumi.Input

	ToGetInstanceChargeDetailOutput() GetInstanceChargeDetailOutput
	ToGetInstanceChargeDetailOutputWithContext(context.Context) GetInstanceChargeDetailOutput
}

GetInstanceChargeDetailInput is an input type that accepts GetInstanceChargeDetailArgs and GetInstanceChargeDetailOutput values. You can construct a concrete instance of `GetInstanceChargeDetailInput` via:

GetInstanceChargeDetailArgs{...}

type GetInstanceChargeDetailOutput added in v0.0.23

type GetInstanceChargeDetailOutput struct{ *pulumi.OutputState }

func (GetInstanceChargeDetailOutput) AutoRenew added in v0.0.23

Enable auto-renewal for prepaid scenarios

func (GetInstanceChargeDetailOutput) ChargeEndTime added in v0.0.23

Billing expiration time for yearly/monthly instances

func (GetInstanceChargeDetailOutput) ChargeStartTime added in v0.0.23

Instance billing start time

func (GetInstanceChargeDetailOutput) ChargeStatus added in v0.0.23

Payment status. Value: - `Normal`: Normal - `Overdue`: Overdue and suspended - `Unpaid`: Unpaid

func (GetInstanceChargeDetailOutput) ChargeType added in v0.0.23

Payment type. Value: - `PostPaid`: Postpaid - `PrePaid`: Prepaid

func (GetInstanceChargeDetailOutput) ElementType added in v0.0.23

func (GetInstanceChargeDetailOutput) OverdueReclaimTime added in v0.0.23

func (o GetInstanceChargeDetailOutput) OverdueReclaimTime() pulumi.StringOutput

Estimated release time after instance suspension due to overdue payment

func (GetInstanceChargeDetailOutput) OverdueTime added in v0.0.23

Instance shutdown time due to overdue payment

func (GetInstanceChargeDetailOutput) Period added in v0.0.23

Purchase duration for prepaid scenarios

func (GetInstanceChargeDetailOutput) PeriodUnit added in v0.0.23

Purchase period for prepaid scenarios. Values: - `Month`: month - `Year`: year

func (GetInstanceChargeDetailOutput) TempModifyEndTime added in v0.0.23

func (o GetInstanceChargeDetailOutput) TempModifyEndTime() pulumi.StringOutput

Rollback time for temporary upgrade

func (GetInstanceChargeDetailOutput) TempModifyStartTime added in v0.0.23

func (o GetInstanceChargeDetailOutput) TempModifyStartTime() pulumi.StringOutput

Start time of temporary scaling

func (GetInstanceChargeDetailOutput) ToGetInstanceChargeDetailOutput added in v0.0.23

func (o GetInstanceChargeDetailOutput) ToGetInstanceChargeDetailOutput() GetInstanceChargeDetailOutput

func (GetInstanceChargeDetailOutput) ToGetInstanceChargeDetailOutputWithContext added in v0.0.23

func (o GetInstanceChargeDetailOutput) ToGetInstanceChargeDetailOutputWithContext(ctx context.Context) GetInstanceChargeDetailOutput

type GetInstanceEndpoint added in v0.0.23

type GetInstanceEndpoint struct {
	// Address list.
	Addresses []GetInstanceEndpointAddress `pulumi:"addresses"`
	// When the terminal type is read-write or read-only, you can set whether new nodes join automatically. Values:   - `Enable`: join automatically   - `Disable`: do not join automatically (default)
	AutoAddNewNodes string `pulumi:"autoAddNewNodes"`
	// Address description.
	Description string `pulumi:"description"`
	// Enable global read-only mode.   - `Enable`: enabled   - `Disable`: not enabled
	EnableReadOnly string `pulumi:"enableReadOnly"`
	// Enable read-write separation. Values:   - `Enable`: enabled   - `Disable`: not enabled
	EnableReadWriteSplitting string `pulumi:"enableReadWriteSplitting"`
	// Instance connection terminal ID
	EndpointId string `pulumi:"endpointId"`
	// Instance connection terminal name
	EndpointName string `pulumi:"endpointName"`
	// Endpoint type:   - `Cluster`: Default endpoint (created by default)   - `Custom`: Custom endpoint
	EndpointType string `pulumi:"endpointType"`
	// Read-only weight allocation mode. Options:   - `Default`: Standard weight allocation (default).   - `Custom`: Custom weight allocation
	ReadOnlyNodeDistributionType string `pulumi:"readOnlyNodeDistributionType"`
	// Maximum latency threshold for read-only nodes. If a read-only node's latency exceeds this value, read traffic will not be sent to that node. Unit: seconds. Range: 0~3600. Default: 30.
	// **Note:** This parameter can be set for the default endpoint when read/write splitting is enabled.
	ReadOnlyNodeMaxDelayTime float64 `pulumi:"readOnlyNodeMaxDelayTime"`
	// List of nodes configured for the endpoint and their corresponding read-only weights.
	ReadOnlyNodeWeights []GetInstanceEndpointReadOnlyNodeWeight `pulumi:"readOnlyNodeWeights"`
	// Read/write mode:   - `ReadWrite`: Read/write   - `ReadOnly`: Read-only
	ReadWriteMode string `pulumi:"readWriteMode"`
	// After read/write splitting is enabled for the terminal, set the number of proxy connections for the terminal.   - The minimum value for proxy connections is 20.   - The maximum value depends on the specification of the instance's primary node. Different specifications support different maximum proxy connections. For details, see [Product Specifications]
	ReadWriteProxyConnection float64 `pulumi:"readWriteProxyConnection"`
	// Whether the endpoint sends write requests to the write node (currently, only the primary node is the write node). Value:   - `true`: Yes. (Default)   - `false`: No
	WriteNodeHaltWriting bool `pulumi:"writeNodeHaltWriting"`
}

type GetInstanceEndpointAddress added in v0.0.23

type GetInstanceEndpointAddress struct {
	// Private network address accessible across regions
	CrossRegionDomain string `pulumi:"crossRegionDomain"`
	// Enable public network resolution. Values:   - false: default, private network resolution   - true: private and public network resolution
	DnsVisibility bool `pulumi:"dnsVisibility"`
	// Connection domain name
	Domain string `pulumi:"domain"`
	// Private network address type. Values: LocalDomain: local region domain name CrossRegionDomain: cross-region accessible domain name
	DomainVisibilitySetting string `pulumi:"domainVisibilitySetting"`
	// EIP ID, valid only for Public addresses
	EipId string `pulumi:"eipId"`
	// IP address
	IpAddress string `pulumi:"ipAddress"`
	// Network address type. Value:   - `Private`: Private network address   - `Public`: Public network address   - `Inner`: Public service zone address
	NetworkType string `pulumi:"networkType"`
	// Port.
	Port string `pulumi:"port"`
	// Subnet ID
	SubnetId string `pulumi:"subnetId"`
}

type GetInstanceEndpointAddressArgs added in v0.0.23

type GetInstanceEndpointAddressArgs struct {
	// Private network address accessible across regions
	CrossRegionDomain pulumi.StringInput `pulumi:"crossRegionDomain"`
	// Enable public network resolution. Values:   - false: default, private network resolution   - true: private and public network resolution
	DnsVisibility pulumi.BoolInput `pulumi:"dnsVisibility"`
	// Connection domain name
	Domain pulumi.StringInput `pulumi:"domain"`
	// Private network address type. Values: LocalDomain: local region domain name CrossRegionDomain: cross-region accessible domain name
	DomainVisibilitySetting pulumi.StringInput `pulumi:"domainVisibilitySetting"`
	// EIP ID, valid only for Public addresses
	EipId pulumi.StringInput `pulumi:"eipId"`
	// IP address
	IpAddress pulumi.StringInput `pulumi:"ipAddress"`
	// Network address type. Value:   - `Private`: Private network address   - `Public`: Public network address   - `Inner`: Public service zone address
	NetworkType pulumi.StringInput `pulumi:"networkType"`
	// Port.
	Port pulumi.StringInput `pulumi:"port"`
	// Subnet ID
	SubnetId pulumi.StringInput `pulumi:"subnetId"`
}

func (GetInstanceEndpointAddressArgs) ElementType added in v0.0.23

func (GetInstanceEndpointAddressArgs) ToGetInstanceEndpointAddressOutput added in v0.0.23

func (i GetInstanceEndpointAddressArgs) ToGetInstanceEndpointAddressOutput() GetInstanceEndpointAddressOutput

func (GetInstanceEndpointAddressArgs) ToGetInstanceEndpointAddressOutputWithContext added in v0.0.23

func (i GetInstanceEndpointAddressArgs) ToGetInstanceEndpointAddressOutputWithContext(ctx context.Context) GetInstanceEndpointAddressOutput

type GetInstanceEndpointAddressArray added in v0.0.23

type GetInstanceEndpointAddressArray []GetInstanceEndpointAddressInput

func (GetInstanceEndpointAddressArray) ElementType added in v0.0.23

func (GetInstanceEndpointAddressArray) ToGetInstanceEndpointAddressArrayOutput added in v0.0.23

func (i GetInstanceEndpointAddressArray) ToGetInstanceEndpointAddressArrayOutput() GetInstanceEndpointAddressArrayOutput

func (GetInstanceEndpointAddressArray) ToGetInstanceEndpointAddressArrayOutputWithContext added in v0.0.23

func (i GetInstanceEndpointAddressArray) ToGetInstanceEndpointAddressArrayOutputWithContext(ctx context.Context) GetInstanceEndpointAddressArrayOutput

type GetInstanceEndpointAddressArrayInput added in v0.0.23

type GetInstanceEndpointAddressArrayInput interface {
	pulumi.Input

	ToGetInstanceEndpointAddressArrayOutput() GetInstanceEndpointAddressArrayOutput
	ToGetInstanceEndpointAddressArrayOutputWithContext(context.Context) GetInstanceEndpointAddressArrayOutput
}

GetInstanceEndpointAddressArrayInput is an input type that accepts GetInstanceEndpointAddressArray and GetInstanceEndpointAddressArrayOutput values. You can construct a concrete instance of `GetInstanceEndpointAddressArrayInput` via:

GetInstanceEndpointAddressArray{ GetInstanceEndpointAddressArgs{...} }

type GetInstanceEndpointAddressArrayOutput added in v0.0.23

type GetInstanceEndpointAddressArrayOutput struct{ *pulumi.OutputState }

func (GetInstanceEndpointAddressArrayOutput) ElementType added in v0.0.23

func (GetInstanceEndpointAddressArrayOutput) Index added in v0.0.23

func (GetInstanceEndpointAddressArrayOutput) ToGetInstanceEndpointAddressArrayOutput added in v0.0.23

func (o GetInstanceEndpointAddressArrayOutput) ToGetInstanceEndpointAddressArrayOutput() GetInstanceEndpointAddressArrayOutput

func (GetInstanceEndpointAddressArrayOutput) ToGetInstanceEndpointAddressArrayOutputWithContext added in v0.0.23

func (o GetInstanceEndpointAddressArrayOutput) ToGetInstanceEndpointAddressArrayOutputWithContext(ctx context.Context) GetInstanceEndpointAddressArrayOutput

type GetInstanceEndpointAddressInput added in v0.0.23

type GetInstanceEndpointAddressInput interface {
	pulumi.Input

	ToGetInstanceEndpointAddressOutput() GetInstanceEndpointAddressOutput
	ToGetInstanceEndpointAddressOutputWithContext(context.Context) GetInstanceEndpointAddressOutput
}

GetInstanceEndpointAddressInput is an input type that accepts GetInstanceEndpointAddressArgs and GetInstanceEndpointAddressOutput values. You can construct a concrete instance of `GetInstanceEndpointAddressInput` via:

GetInstanceEndpointAddressArgs{...}

type GetInstanceEndpointAddressOutput added in v0.0.23

type GetInstanceEndpointAddressOutput struct{ *pulumi.OutputState }

func (GetInstanceEndpointAddressOutput) CrossRegionDomain added in v0.0.23

Private network address accessible across regions

func (GetInstanceEndpointAddressOutput) DnsVisibility added in v0.0.23

Enable public network resolution. Values: - false: default, private network resolution - true: private and public network resolution

func (GetInstanceEndpointAddressOutput) Domain added in v0.0.23

Connection domain name

func (GetInstanceEndpointAddressOutput) DomainVisibilitySetting added in v0.0.23

func (o GetInstanceEndpointAddressOutput) DomainVisibilitySetting() pulumi.StringOutput

Private network address type. Values: LocalDomain: local region domain name CrossRegionDomain: cross-region accessible domain name

func (GetInstanceEndpointAddressOutput) EipId added in v0.0.23

EIP ID, valid only for Public addresses

func (GetInstanceEndpointAddressOutput) ElementType added in v0.0.23

func (GetInstanceEndpointAddressOutput) IpAddress added in v0.0.23

IP address

func (GetInstanceEndpointAddressOutput) NetworkType added in v0.0.23

Network address type. Value: - `Private`: Private network address - `Public`: Public network address - `Inner`: Public service zone address

func (GetInstanceEndpointAddressOutput) Port added in v0.0.23

Port.

func (GetInstanceEndpointAddressOutput) SubnetId added in v0.0.23

Subnet ID

func (GetInstanceEndpointAddressOutput) ToGetInstanceEndpointAddressOutput added in v0.0.23

func (o GetInstanceEndpointAddressOutput) ToGetInstanceEndpointAddressOutput() GetInstanceEndpointAddressOutput

func (GetInstanceEndpointAddressOutput) ToGetInstanceEndpointAddressOutputWithContext added in v0.0.23

func (o GetInstanceEndpointAddressOutput) ToGetInstanceEndpointAddressOutputWithContext(ctx context.Context) GetInstanceEndpointAddressOutput

type GetInstanceEndpointArgs added in v0.0.23

type GetInstanceEndpointArgs struct {
	// Address list.
	Addresses GetInstanceEndpointAddressArrayInput `pulumi:"addresses"`
	// When the terminal type is read-write or read-only, you can set whether new nodes join automatically. Values:   - `Enable`: join automatically   - `Disable`: do not join automatically (default)
	AutoAddNewNodes pulumi.StringInput `pulumi:"autoAddNewNodes"`
	// Address description.
	Description pulumi.StringInput `pulumi:"description"`
	// Enable global read-only mode.   - `Enable`: enabled   - `Disable`: not enabled
	EnableReadOnly pulumi.StringInput `pulumi:"enableReadOnly"`
	// Enable read-write separation. Values:   - `Enable`: enabled   - `Disable`: not enabled
	EnableReadWriteSplitting pulumi.StringInput `pulumi:"enableReadWriteSplitting"`
	// Instance connection terminal ID
	EndpointId pulumi.StringInput `pulumi:"endpointId"`
	// Instance connection terminal name
	EndpointName pulumi.StringInput `pulumi:"endpointName"`
	// Endpoint type:   - `Cluster`: Default endpoint (created by default)   - `Custom`: Custom endpoint
	EndpointType pulumi.StringInput `pulumi:"endpointType"`
	// Read-only weight allocation mode. Options:   - `Default`: Standard weight allocation (default).   - `Custom`: Custom weight allocation
	ReadOnlyNodeDistributionType pulumi.StringInput `pulumi:"readOnlyNodeDistributionType"`
	// Maximum latency threshold for read-only nodes. If a read-only node's latency exceeds this value, read traffic will not be sent to that node. Unit: seconds. Range: 0~3600. Default: 30.
	// **Note:** This parameter can be set for the default endpoint when read/write splitting is enabled.
	ReadOnlyNodeMaxDelayTime pulumi.Float64Input `pulumi:"readOnlyNodeMaxDelayTime"`
	// List of nodes configured for the endpoint and their corresponding read-only weights.
	ReadOnlyNodeWeights GetInstanceEndpointReadOnlyNodeWeightArrayInput `pulumi:"readOnlyNodeWeights"`
	// Read/write mode:   - `ReadWrite`: Read/write   - `ReadOnly`: Read-only
	ReadWriteMode pulumi.StringInput `pulumi:"readWriteMode"`
	// After read/write splitting is enabled for the terminal, set the number of proxy connections for the terminal.   - The minimum value for proxy connections is 20.   - The maximum value depends on the specification of the instance's primary node. Different specifications support different maximum proxy connections. For details, see [Product Specifications]
	ReadWriteProxyConnection pulumi.Float64Input `pulumi:"readWriteProxyConnection"`
	// Whether the endpoint sends write requests to the write node (currently, only the primary node is the write node). Value:   - `true`: Yes. (Default)   - `false`: No
	WriteNodeHaltWriting pulumi.BoolInput `pulumi:"writeNodeHaltWriting"`
}

func (GetInstanceEndpointArgs) ElementType added in v0.0.23

func (GetInstanceEndpointArgs) ElementType() reflect.Type

func (GetInstanceEndpointArgs) ToGetInstanceEndpointOutput added in v0.0.23

func (i GetInstanceEndpointArgs) ToGetInstanceEndpointOutput() GetInstanceEndpointOutput

func (GetInstanceEndpointArgs) ToGetInstanceEndpointOutputWithContext added in v0.0.23

func (i GetInstanceEndpointArgs) ToGetInstanceEndpointOutputWithContext(ctx context.Context) GetInstanceEndpointOutput

type GetInstanceEndpointArray added in v0.0.23

type GetInstanceEndpointArray []GetInstanceEndpointInput

func (GetInstanceEndpointArray) ElementType added in v0.0.23

func (GetInstanceEndpointArray) ElementType() reflect.Type

func (GetInstanceEndpointArray) ToGetInstanceEndpointArrayOutput added in v0.0.23

func (i GetInstanceEndpointArray) ToGetInstanceEndpointArrayOutput() GetInstanceEndpointArrayOutput

func (GetInstanceEndpointArray) ToGetInstanceEndpointArrayOutputWithContext added in v0.0.23

func (i GetInstanceEndpointArray) ToGetInstanceEndpointArrayOutputWithContext(ctx context.Context) GetInstanceEndpointArrayOutput

type GetInstanceEndpointArrayInput added in v0.0.23

type GetInstanceEndpointArrayInput interface {
	pulumi.Input

	ToGetInstanceEndpointArrayOutput() GetInstanceEndpointArrayOutput
	ToGetInstanceEndpointArrayOutputWithContext(context.Context) GetInstanceEndpointArrayOutput
}

GetInstanceEndpointArrayInput is an input type that accepts GetInstanceEndpointArray and GetInstanceEndpointArrayOutput values. You can construct a concrete instance of `GetInstanceEndpointArrayInput` via:

GetInstanceEndpointArray{ GetInstanceEndpointArgs{...} }

type GetInstanceEndpointArrayOutput added in v0.0.23

type GetInstanceEndpointArrayOutput struct{ *pulumi.OutputState }

func (GetInstanceEndpointArrayOutput) ElementType added in v0.0.23

func (GetInstanceEndpointArrayOutput) Index added in v0.0.23

func (GetInstanceEndpointArrayOutput) ToGetInstanceEndpointArrayOutput added in v0.0.23

func (o GetInstanceEndpointArrayOutput) ToGetInstanceEndpointArrayOutput() GetInstanceEndpointArrayOutput

func (GetInstanceEndpointArrayOutput) ToGetInstanceEndpointArrayOutputWithContext added in v0.0.23

func (o GetInstanceEndpointArrayOutput) ToGetInstanceEndpointArrayOutputWithContext(ctx context.Context) GetInstanceEndpointArrayOutput

type GetInstanceEndpointInput added in v0.0.23

type GetInstanceEndpointInput interface {
	pulumi.Input

	ToGetInstanceEndpointOutput() GetInstanceEndpointOutput
	ToGetInstanceEndpointOutputWithContext(context.Context) GetInstanceEndpointOutput
}

GetInstanceEndpointInput is an input type that accepts GetInstanceEndpointArgs and GetInstanceEndpointOutput values. You can construct a concrete instance of `GetInstanceEndpointInput` via:

GetInstanceEndpointArgs{...}

type GetInstanceEndpointOutput added in v0.0.23

type GetInstanceEndpointOutput struct{ *pulumi.OutputState }

func (GetInstanceEndpointOutput) Addresses added in v0.0.23

Address list.

func (GetInstanceEndpointOutput) AutoAddNewNodes added in v0.0.23

func (o GetInstanceEndpointOutput) AutoAddNewNodes() pulumi.StringOutput

When the terminal type is read-write or read-only, you can set whether new nodes join automatically. Values: - `Enable`: join automatically - `Disable`: do not join automatically (default)

func (GetInstanceEndpointOutput) Description added in v0.0.23

Address description.

func (GetInstanceEndpointOutput) ElementType added in v0.0.23

func (GetInstanceEndpointOutput) ElementType() reflect.Type

func (GetInstanceEndpointOutput) EnableReadOnly added in v0.0.23

func (o GetInstanceEndpointOutput) EnableReadOnly() pulumi.StringOutput

Enable global read-only mode. - `Enable`: enabled - `Disable`: not enabled

func (GetInstanceEndpointOutput) EnableReadWriteSplitting added in v0.0.23

func (o GetInstanceEndpointOutput) EnableReadWriteSplitting() pulumi.StringOutput

Enable read-write separation. Values: - `Enable`: enabled - `Disable`: not enabled

func (GetInstanceEndpointOutput) EndpointId added in v0.0.23

Instance connection terminal ID

func (GetInstanceEndpointOutput) EndpointName added in v0.0.23

Instance connection terminal name

func (GetInstanceEndpointOutput) EndpointType added in v0.0.23

Endpoint type: - `Cluster`: Default endpoint (created by default) - `Custom`: Custom endpoint

func (GetInstanceEndpointOutput) ReadOnlyNodeDistributionType added in v0.0.23

func (o GetInstanceEndpointOutput) ReadOnlyNodeDistributionType() pulumi.StringOutput

Read-only weight allocation mode. Options: - `Default`: Standard weight allocation (default). - `Custom`: Custom weight allocation

func (GetInstanceEndpointOutput) ReadOnlyNodeMaxDelayTime added in v0.0.23

func (o GetInstanceEndpointOutput) ReadOnlyNodeMaxDelayTime() pulumi.Float64Output

Maximum latency threshold for read-only nodes. If a read-only node's latency exceeds this value, read traffic will not be sent to that node. Unit: seconds. Range: 0~3600. Default: 30. **Note:** This parameter can be set for the default endpoint when read/write splitting is enabled.

func (GetInstanceEndpointOutput) ReadOnlyNodeWeights added in v0.0.23

List of nodes configured for the endpoint and their corresponding read-only weights.

func (GetInstanceEndpointOutput) ReadWriteMode added in v0.0.23

func (o GetInstanceEndpointOutput) ReadWriteMode() pulumi.StringOutput

Read/write mode: - `ReadWrite`: Read/write - `ReadOnly`: Read-only

func (GetInstanceEndpointOutput) ReadWriteProxyConnection added in v0.0.23

func (o GetInstanceEndpointOutput) ReadWriteProxyConnection() pulumi.Float64Output

After read/write splitting is enabled for the terminal, set the number of proxy connections for the terminal. - The minimum value for proxy connections is 20. - The maximum value depends on the specification of the instance's primary node. Different specifications support different maximum proxy connections. For details, see [Product Specifications]

func (GetInstanceEndpointOutput) ToGetInstanceEndpointOutput added in v0.0.23

func (o GetInstanceEndpointOutput) ToGetInstanceEndpointOutput() GetInstanceEndpointOutput

func (GetInstanceEndpointOutput) ToGetInstanceEndpointOutputWithContext added in v0.0.23

func (o GetInstanceEndpointOutput) ToGetInstanceEndpointOutputWithContext(ctx context.Context) GetInstanceEndpointOutput

func (GetInstanceEndpointOutput) WriteNodeHaltWriting added in v0.0.23

func (o GetInstanceEndpointOutput) WriteNodeHaltWriting() pulumi.BoolOutput

Whether the endpoint sends write requests to the write node (currently, only the primary node is the write node). Value: - `true`: Yes. (Default) - `false`: No

type GetInstanceEndpointReadOnlyNodeWeight added in v0.0.23

type GetInstanceEndpointReadOnlyNodeWeight struct {
	// Read-only nodes require NodeId
	NodeId string `pulumi:"nodeId"`
	// Node type
	NodeType string `pulumi:"nodeType"`
	// Node read weight, increases by 100, maximum value is 10000
	Weight float64 `pulumi:"weight"`
}

type GetInstanceEndpointReadOnlyNodeWeightArgs added in v0.0.23

type GetInstanceEndpointReadOnlyNodeWeightArgs struct {
	// Read-only nodes require NodeId
	NodeId pulumi.StringInput `pulumi:"nodeId"`
	// Node type
	NodeType pulumi.StringInput `pulumi:"nodeType"`
	// Node read weight, increases by 100, maximum value is 10000
	Weight pulumi.Float64Input `pulumi:"weight"`
}

func (GetInstanceEndpointReadOnlyNodeWeightArgs) ElementType added in v0.0.23

func (GetInstanceEndpointReadOnlyNodeWeightArgs) ToGetInstanceEndpointReadOnlyNodeWeightOutput added in v0.0.23

func (i GetInstanceEndpointReadOnlyNodeWeightArgs) ToGetInstanceEndpointReadOnlyNodeWeightOutput() GetInstanceEndpointReadOnlyNodeWeightOutput

func (GetInstanceEndpointReadOnlyNodeWeightArgs) ToGetInstanceEndpointReadOnlyNodeWeightOutputWithContext added in v0.0.23

func (i GetInstanceEndpointReadOnlyNodeWeightArgs) ToGetInstanceEndpointReadOnlyNodeWeightOutputWithContext(ctx context.Context) GetInstanceEndpointReadOnlyNodeWeightOutput

type GetInstanceEndpointReadOnlyNodeWeightArray added in v0.0.23

type GetInstanceEndpointReadOnlyNodeWeightArray []GetInstanceEndpointReadOnlyNodeWeightInput

func (GetInstanceEndpointReadOnlyNodeWeightArray) ElementType added in v0.0.23

func (GetInstanceEndpointReadOnlyNodeWeightArray) ToGetInstanceEndpointReadOnlyNodeWeightArrayOutput added in v0.0.23

func (i GetInstanceEndpointReadOnlyNodeWeightArray) ToGetInstanceEndpointReadOnlyNodeWeightArrayOutput() GetInstanceEndpointReadOnlyNodeWeightArrayOutput

func (GetInstanceEndpointReadOnlyNodeWeightArray) ToGetInstanceEndpointReadOnlyNodeWeightArrayOutputWithContext added in v0.0.23

func (i GetInstanceEndpointReadOnlyNodeWeightArray) ToGetInstanceEndpointReadOnlyNodeWeightArrayOutputWithContext(ctx context.Context) GetInstanceEndpointReadOnlyNodeWeightArrayOutput

type GetInstanceEndpointReadOnlyNodeWeightArrayInput added in v0.0.23

type GetInstanceEndpointReadOnlyNodeWeightArrayInput interface {
	pulumi.Input

	ToGetInstanceEndpointReadOnlyNodeWeightArrayOutput() GetInstanceEndpointReadOnlyNodeWeightArrayOutput
	ToGetInstanceEndpointReadOnlyNodeWeightArrayOutputWithContext(context.Context) GetInstanceEndpointReadOnlyNodeWeightArrayOutput
}

GetInstanceEndpointReadOnlyNodeWeightArrayInput is an input type that accepts GetInstanceEndpointReadOnlyNodeWeightArray and GetInstanceEndpointReadOnlyNodeWeightArrayOutput values. You can construct a concrete instance of `GetInstanceEndpointReadOnlyNodeWeightArrayInput` via:

GetInstanceEndpointReadOnlyNodeWeightArray{ GetInstanceEndpointReadOnlyNodeWeightArgs{...} }

type GetInstanceEndpointReadOnlyNodeWeightArrayOutput added in v0.0.23

type GetInstanceEndpointReadOnlyNodeWeightArrayOutput struct{ *pulumi.OutputState }

func (GetInstanceEndpointReadOnlyNodeWeightArrayOutput) ElementType added in v0.0.23

func (GetInstanceEndpointReadOnlyNodeWeightArrayOutput) Index added in v0.0.23

func (GetInstanceEndpointReadOnlyNodeWeightArrayOutput) ToGetInstanceEndpointReadOnlyNodeWeightArrayOutput added in v0.0.23

func (o GetInstanceEndpointReadOnlyNodeWeightArrayOutput) ToGetInstanceEndpointReadOnlyNodeWeightArrayOutput() GetInstanceEndpointReadOnlyNodeWeightArrayOutput

func (GetInstanceEndpointReadOnlyNodeWeightArrayOutput) ToGetInstanceEndpointReadOnlyNodeWeightArrayOutputWithContext added in v0.0.23

func (o GetInstanceEndpointReadOnlyNodeWeightArrayOutput) ToGetInstanceEndpointReadOnlyNodeWeightArrayOutputWithContext(ctx context.Context) GetInstanceEndpointReadOnlyNodeWeightArrayOutput

type GetInstanceEndpointReadOnlyNodeWeightInput added in v0.0.23

type GetInstanceEndpointReadOnlyNodeWeightInput interface {
	pulumi.Input

	ToGetInstanceEndpointReadOnlyNodeWeightOutput() GetInstanceEndpointReadOnlyNodeWeightOutput
	ToGetInstanceEndpointReadOnlyNodeWeightOutputWithContext(context.Context) GetInstanceEndpointReadOnlyNodeWeightOutput
}

GetInstanceEndpointReadOnlyNodeWeightInput is an input type that accepts GetInstanceEndpointReadOnlyNodeWeightArgs and GetInstanceEndpointReadOnlyNodeWeightOutput values. You can construct a concrete instance of `GetInstanceEndpointReadOnlyNodeWeightInput` via:

GetInstanceEndpointReadOnlyNodeWeightArgs{...}

type GetInstanceEndpointReadOnlyNodeWeightOutput added in v0.0.23

type GetInstanceEndpointReadOnlyNodeWeightOutput struct{ *pulumi.OutputState }

func (GetInstanceEndpointReadOnlyNodeWeightOutput) ElementType added in v0.0.23

func (GetInstanceEndpointReadOnlyNodeWeightOutput) NodeId added in v0.0.23

Read-only nodes require NodeId

func (GetInstanceEndpointReadOnlyNodeWeightOutput) NodeType added in v0.0.23

Node type

func (GetInstanceEndpointReadOnlyNodeWeightOutput) ToGetInstanceEndpointReadOnlyNodeWeightOutput added in v0.0.23

func (o GetInstanceEndpointReadOnlyNodeWeightOutput) ToGetInstanceEndpointReadOnlyNodeWeightOutput() GetInstanceEndpointReadOnlyNodeWeightOutput

func (GetInstanceEndpointReadOnlyNodeWeightOutput) ToGetInstanceEndpointReadOnlyNodeWeightOutputWithContext added in v0.0.23

func (o GetInstanceEndpointReadOnlyNodeWeightOutput) ToGetInstanceEndpointReadOnlyNodeWeightOutputWithContext(ctx context.Context) GetInstanceEndpointReadOnlyNodeWeightOutput

func (GetInstanceEndpointReadOnlyNodeWeightOutput) Weight added in v0.0.23

Node read weight, increases by 100, maximum value is 10000

type GetInstanceMaintenanceWindow added in v0.0.23

type GetInstanceMaintenanceWindow struct {
	// Granularity of the maintenance cycle. Value: Week (week)
	DayKind string `pulumi:"dayKind"`
	// Detailed information about the instance's maintenance window.
	DayOfWeekMaintenanceTimes []GetInstanceMaintenanceWindowDayOfWeekMaintenanceTime `pulumi:"dayOfWeekMaintenanceTimes"`
}

type GetInstanceMaintenanceWindowArgs added in v0.0.23

type GetInstanceMaintenanceWindowArgs struct {
	// Granularity of the maintenance cycle. Value: Week (week)
	DayKind pulumi.StringInput `pulumi:"dayKind"`
	// Detailed information about the instance's maintenance window.
	DayOfWeekMaintenanceTimes GetInstanceMaintenanceWindowDayOfWeekMaintenanceTimeArrayInput `pulumi:"dayOfWeekMaintenanceTimes"`
}

func (GetInstanceMaintenanceWindowArgs) ElementType added in v0.0.23

func (GetInstanceMaintenanceWindowArgs) ToGetInstanceMaintenanceWindowOutput added in v0.0.23

func (i GetInstanceMaintenanceWindowArgs) ToGetInstanceMaintenanceWindowOutput() GetInstanceMaintenanceWindowOutput

func (GetInstanceMaintenanceWindowArgs) ToGetInstanceMaintenanceWindowOutputWithContext added in v0.0.23

func (i GetInstanceMaintenanceWindowArgs) ToGetInstanceMaintenanceWindowOutputWithContext(ctx context.Context) GetInstanceMaintenanceWindowOutput

type GetInstanceMaintenanceWindowDayOfWeekMaintenanceTime added in v0.0.23

type GetInstanceMaintenanceWindowDayOfWeekMaintenanceTime struct {
	// Specify maintenance days for the instance each week. Multiple selections allowed. Monday: Monday. Tuesday: Tuesday. Wednesday: Wednesday. Thursday: Thursday. Friday: Friday. Saturday: Saturday. Sunday: Sunday. Note: If not specified or left blank, all seven days are enabled by default.
	DayOfWeek string `pulumi:"dayOfWeek"`
	// Start time of the maintenance window on the maintenance day. Format: HH:mmZ (UTC time). Currently, only start times between 16:00Z and 20:00Z are supported.
	MaintenanceWindowStartTime string `pulumi:"maintenanceWindowStartTime"`
	// Duration of the maintenance window on the maintenance day. Minimum duration is 2 hours, maximum is 6 hours.
	Period int `pulumi:"period"`
}

type GetInstanceMaintenanceWindowDayOfWeekMaintenanceTimeArgs added in v0.0.23

type GetInstanceMaintenanceWindowDayOfWeekMaintenanceTimeArgs struct {
	// Specify maintenance days for the instance each week. Multiple selections allowed. Monday: Monday. Tuesday: Tuesday. Wednesday: Wednesday. Thursday: Thursday. Friday: Friday. Saturday: Saturday. Sunday: Sunday. Note: If not specified or left blank, all seven days are enabled by default.
	DayOfWeek pulumi.StringInput `pulumi:"dayOfWeek"`
	// Start time of the maintenance window on the maintenance day. Format: HH:mmZ (UTC time). Currently, only start times between 16:00Z and 20:00Z are supported.
	MaintenanceWindowStartTime pulumi.StringInput `pulumi:"maintenanceWindowStartTime"`
	// Duration of the maintenance window on the maintenance day. Minimum duration is 2 hours, maximum is 6 hours.
	Period pulumi.IntInput `pulumi:"period"`
}

func (GetInstanceMaintenanceWindowDayOfWeekMaintenanceTimeArgs) ElementType added in v0.0.23

func (GetInstanceMaintenanceWindowDayOfWeekMaintenanceTimeArgs) ToGetInstanceMaintenanceWindowDayOfWeekMaintenanceTimeOutput added in v0.0.23

func (GetInstanceMaintenanceWindowDayOfWeekMaintenanceTimeArgs) ToGetInstanceMaintenanceWindowDayOfWeekMaintenanceTimeOutputWithContext added in v0.0.23

func (i GetInstanceMaintenanceWindowDayOfWeekMaintenanceTimeArgs) ToGetInstanceMaintenanceWindowDayOfWeekMaintenanceTimeOutputWithContext(ctx context.Context) GetInstanceMaintenanceWindowDayOfWeekMaintenanceTimeOutput

type GetInstanceMaintenanceWindowDayOfWeekMaintenanceTimeArray added in v0.0.23

type GetInstanceMaintenanceWindowDayOfWeekMaintenanceTimeArray []GetInstanceMaintenanceWindowDayOfWeekMaintenanceTimeInput

func (GetInstanceMaintenanceWindowDayOfWeekMaintenanceTimeArray) ElementType added in v0.0.23

func (GetInstanceMaintenanceWindowDayOfWeekMaintenanceTimeArray) ToGetInstanceMaintenanceWindowDayOfWeekMaintenanceTimeArrayOutput added in v0.0.23

func (i GetInstanceMaintenanceWindowDayOfWeekMaintenanceTimeArray) ToGetInstanceMaintenanceWindowDayOfWeekMaintenanceTimeArrayOutput() GetInstanceMaintenanceWindowDayOfWeekMaintenanceTimeArrayOutput

func (GetInstanceMaintenanceWindowDayOfWeekMaintenanceTimeArray) ToGetInstanceMaintenanceWindowDayOfWeekMaintenanceTimeArrayOutputWithContext added in v0.0.23

func (i GetInstanceMaintenanceWindowDayOfWeekMaintenanceTimeArray) ToGetInstanceMaintenanceWindowDayOfWeekMaintenanceTimeArrayOutputWithContext(ctx context.Context) GetInstanceMaintenanceWindowDayOfWeekMaintenanceTimeArrayOutput

type GetInstanceMaintenanceWindowDayOfWeekMaintenanceTimeArrayInput added in v0.0.23

type GetInstanceMaintenanceWindowDayOfWeekMaintenanceTimeArrayInput interface {
	pulumi.Input

	ToGetInstanceMaintenanceWindowDayOfWeekMaintenanceTimeArrayOutput() GetInstanceMaintenanceWindowDayOfWeekMaintenanceTimeArrayOutput
	ToGetInstanceMaintenanceWindowDayOfWeekMaintenanceTimeArrayOutputWithContext(context.Context) GetInstanceMaintenanceWindowDayOfWeekMaintenanceTimeArrayOutput
}

GetInstanceMaintenanceWindowDayOfWeekMaintenanceTimeArrayInput is an input type that accepts GetInstanceMaintenanceWindowDayOfWeekMaintenanceTimeArray and GetInstanceMaintenanceWindowDayOfWeekMaintenanceTimeArrayOutput values. You can construct a concrete instance of `GetInstanceMaintenanceWindowDayOfWeekMaintenanceTimeArrayInput` via:

GetInstanceMaintenanceWindowDayOfWeekMaintenanceTimeArray{ GetInstanceMaintenanceWindowDayOfWeekMaintenanceTimeArgs{...} }

type GetInstanceMaintenanceWindowDayOfWeekMaintenanceTimeArrayOutput added in v0.0.23

type GetInstanceMaintenanceWindowDayOfWeekMaintenanceTimeArrayOutput struct{ *pulumi.OutputState }

func (GetInstanceMaintenanceWindowDayOfWeekMaintenanceTimeArrayOutput) ElementType added in v0.0.23

func (GetInstanceMaintenanceWindowDayOfWeekMaintenanceTimeArrayOutput) Index added in v0.0.23

func (GetInstanceMaintenanceWindowDayOfWeekMaintenanceTimeArrayOutput) ToGetInstanceMaintenanceWindowDayOfWeekMaintenanceTimeArrayOutput added in v0.0.23

func (GetInstanceMaintenanceWindowDayOfWeekMaintenanceTimeArrayOutput) ToGetInstanceMaintenanceWindowDayOfWeekMaintenanceTimeArrayOutputWithContext added in v0.0.23

func (o GetInstanceMaintenanceWindowDayOfWeekMaintenanceTimeArrayOutput) ToGetInstanceMaintenanceWindowDayOfWeekMaintenanceTimeArrayOutputWithContext(ctx context.Context) GetInstanceMaintenanceWindowDayOfWeekMaintenanceTimeArrayOutput

type GetInstanceMaintenanceWindowDayOfWeekMaintenanceTimeInput added in v0.0.23

type GetInstanceMaintenanceWindowDayOfWeekMaintenanceTimeInput interface {
	pulumi.Input

	ToGetInstanceMaintenanceWindowDayOfWeekMaintenanceTimeOutput() GetInstanceMaintenanceWindowDayOfWeekMaintenanceTimeOutput
	ToGetInstanceMaintenanceWindowDayOfWeekMaintenanceTimeOutputWithContext(context.Context) GetInstanceMaintenanceWindowDayOfWeekMaintenanceTimeOutput
}

GetInstanceMaintenanceWindowDayOfWeekMaintenanceTimeInput is an input type that accepts GetInstanceMaintenanceWindowDayOfWeekMaintenanceTimeArgs and GetInstanceMaintenanceWindowDayOfWeekMaintenanceTimeOutput values. You can construct a concrete instance of `GetInstanceMaintenanceWindowDayOfWeekMaintenanceTimeInput` via:

GetInstanceMaintenanceWindowDayOfWeekMaintenanceTimeArgs{...}

type GetInstanceMaintenanceWindowDayOfWeekMaintenanceTimeOutput added in v0.0.23

type GetInstanceMaintenanceWindowDayOfWeekMaintenanceTimeOutput struct{ *pulumi.OutputState }

func (GetInstanceMaintenanceWindowDayOfWeekMaintenanceTimeOutput) DayOfWeek added in v0.0.23

Specify maintenance days for the instance each week. Multiple selections allowed. Monday: Monday. Tuesday: Tuesday. Wednesday: Wednesday. Thursday: Thursday. Friday: Friday. Saturday: Saturday. Sunday: Sunday. Note: If not specified or left blank, all seven days are enabled by default.

func (GetInstanceMaintenanceWindowDayOfWeekMaintenanceTimeOutput) ElementType added in v0.0.23

func (GetInstanceMaintenanceWindowDayOfWeekMaintenanceTimeOutput) MaintenanceWindowStartTime added in v0.0.23

Start time of the maintenance window on the maintenance day. Format: HH:mmZ (UTC time). Currently, only start times between 16:00Z and 20:00Z are supported.

func (GetInstanceMaintenanceWindowDayOfWeekMaintenanceTimeOutput) Period added in v0.0.23

Duration of the maintenance window on the maintenance day. Minimum duration is 2 hours, maximum is 6 hours.

func (GetInstanceMaintenanceWindowDayOfWeekMaintenanceTimeOutput) ToGetInstanceMaintenanceWindowDayOfWeekMaintenanceTimeOutput added in v0.0.23

func (GetInstanceMaintenanceWindowDayOfWeekMaintenanceTimeOutput) ToGetInstanceMaintenanceWindowDayOfWeekMaintenanceTimeOutputWithContext added in v0.0.23

func (o GetInstanceMaintenanceWindowDayOfWeekMaintenanceTimeOutput) ToGetInstanceMaintenanceWindowDayOfWeekMaintenanceTimeOutputWithContext(ctx context.Context) GetInstanceMaintenanceWindowDayOfWeekMaintenanceTimeOutput

type GetInstanceMaintenanceWindowInput added in v0.0.23

type GetInstanceMaintenanceWindowInput interface {
	pulumi.Input

	ToGetInstanceMaintenanceWindowOutput() GetInstanceMaintenanceWindowOutput
	ToGetInstanceMaintenanceWindowOutputWithContext(context.Context) GetInstanceMaintenanceWindowOutput
}

GetInstanceMaintenanceWindowInput is an input type that accepts GetInstanceMaintenanceWindowArgs and GetInstanceMaintenanceWindowOutput values. You can construct a concrete instance of `GetInstanceMaintenanceWindowInput` via:

GetInstanceMaintenanceWindowArgs{...}

type GetInstanceMaintenanceWindowOutput added in v0.0.23

type GetInstanceMaintenanceWindowOutput struct{ *pulumi.OutputState }

func (GetInstanceMaintenanceWindowOutput) DayKind added in v0.0.23

Granularity of the maintenance cycle. Value: Week (week)

func (GetInstanceMaintenanceWindowOutput) DayOfWeekMaintenanceTimes added in v0.0.23

Detailed information about the instance's maintenance window.

func (GetInstanceMaintenanceWindowOutput) ElementType added in v0.0.23

func (GetInstanceMaintenanceWindowOutput) ToGetInstanceMaintenanceWindowOutput added in v0.0.23

func (o GetInstanceMaintenanceWindowOutput) ToGetInstanceMaintenanceWindowOutput() GetInstanceMaintenanceWindowOutput

func (GetInstanceMaintenanceWindowOutput) ToGetInstanceMaintenanceWindowOutputWithContext added in v0.0.23

func (o GetInstanceMaintenanceWindowOutput) ToGetInstanceMaintenanceWindowOutputWithContext(ctx context.Context) GetInstanceMaintenanceWindowOutput

type GetInstanceNodeInfo added in v0.0.23

type GetInstanceNodeInfo struct {
	// Node creation time. Format: yyyy-MM-ddTHH:mm:ss.sssZ (UTC time)
	CreateTime string `pulumi:"createTime"`
	// Instance ID
	InstanceId string `pulumi:"instanceId"`
	// Memory size, unit: GB
	Memory float64 `pulumi:"memory"`
	// Node ID
	NodeId string `pulumi:"nodeId"`
	// Node specification
	NodeSpec string `pulumi:"nodeSpec"`
	// Node status
	NodeStatus string `pulumi:"nodeStatus"`
	// Node type
	NodeType string `pulumi:"nodeType"`
	// Region ID
	RegionId string `pulumi:"regionId"`
	// Node update time. Format: yyyy-MM-ddTHH:mm:ss.sssZ (UTC time)
	UpdateTime string `pulumi:"updateTime"`
	// CPU size. For example: 1 means 1U
	Vcpu float64 `pulumi:"vcpu"`
	// Availability zone of the node
	ZoneId string `pulumi:"zoneId"`
}

type GetInstanceNodeInfoArgs added in v0.0.23

type GetInstanceNodeInfoArgs struct {
	// Node creation time. Format: yyyy-MM-ddTHH:mm:ss.sssZ (UTC time)
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// Instance ID
	InstanceId pulumi.StringInput `pulumi:"instanceId"`
	// Memory size, unit: GB
	Memory pulumi.Float64Input `pulumi:"memory"`
	// Node ID
	NodeId pulumi.StringInput `pulumi:"nodeId"`
	// Node specification
	NodeSpec pulumi.StringInput `pulumi:"nodeSpec"`
	// Node status
	NodeStatus pulumi.StringInput `pulumi:"nodeStatus"`
	// Node type
	NodeType pulumi.StringInput `pulumi:"nodeType"`
	// Region ID
	RegionId pulumi.StringInput `pulumi:"regionId"`
	// Node update time. Format: yyyy-MM-ddTHH:mm:ss.sssZ (UTC time)
	UpdateTime pulumi.StringInput `pulumi:"updateTime"`
	// CPU size. For example: 1 means 1U
	Vcpu pulumi.Float64Input `pulumi:"vcpu"`
	// Availability zone of the node
	ZoneId pulumi.StringInput `pulumi:"zoneId"`
}

func (GetInstanceNodeInfoArgs) ElementType added in v0.0.23

func (GetInstanceNodeInfoArgs) ElementType() reflect.Type

func (GetInstanceNodeInfoArgs) ToGetInstanceNodeInfoOutput added in v0.0.23

func (i GetInstanceNodeInfoArgs) ToGetInstanceNodeInfoOutput() GetInstanceNodeInfoOutput

func (GetInstanceNodeInfoArgs) ToGetInstanceNodeInfoOutputWithContext added in v0.0.23

func (i GetInstanceNodeInfoArgs) ToGetInstanceNodeInfoOutputWithContext(ctx context.Context) GetInstanceNodeInfoOutput

type GetInstanceNodeInfoArray added in v0.0.23

type GetInstanceNodeInfoArray []GetInstanceNodeInfoInput

func (GetInstanceNodeInfoArray) ElementType added in v0.0.23

func (GetInstanceNodeInfoArray) ElementType() reflect.Type

func (GetInstanceNodeInfoArray) ToGetInstanceNodeInfoArrayOutput added in v0.0.23

func (i GetInstanceNodeInfoArray) ToGetInstanceNodeInfoArrayOutput() GetInstanceNodeInfoArrayOutput

func (GetInstanceNodeInfoArray) ToGetInstanceNodeInfoArrayOutputWithContext added in v0.0.23

func (i GetInstanceNodeInfoArray) ToGetInstanceNodeInfoArrayOutputWithContext(ctx context.Context) GetInstanceNodeInfoArrayOutput

type GetInstanceNodeInfoArrayInput added in v0.0.23

type GetInstanceNodeInfoArrayInput interface {
	pulumi.Input

	ToGetInstanceNodeInfoArrayOutput() GetInstanceNodeInfoArrayOutput
	ToGetInstanceNodeInfoArrayOutputWithContext(context.Context) GetInstanceNodeInfoArrayOutput
}

GetInstanceNodeInfoArrayInput is an input type that accepts GetInstanceNodeInfoArray and GetInstanceNodeInfoArrayOutput values. You can construct a concrete instance of `GetInstanceNodeInfoArrayInput` via:

GetInstanceNodeInfoArray{ GetInstanceNodeInfoArgs{...} }

type GetInstanceNodeInfoArrayOutput added in v0.0.23

type GetInstanceNodeInfoArrayOutput struct{ *pulumi.OutputState }

func (GetInstanceNodeInfoArrayOutput) ElementType added in v0.0.23

func (GetInstanceNodeInfoArrayOutput) Index added in v0.0.23

func (GetInstanceNodeInfoArrayOutput) ToGetInstanceNodeInfoArrayOutput added in v0.0.23

func (o GetInstanceNodeInfoArrayOutput) ToGetInstanceNodeInfoArrayOutput() GetInstanceNodeInfoArrayOutput

func (GetInstanceNodeInfoArrayOutput) ToGetInstanceNodeInfoArrayOutputWithContext added in v0.0.23

func (o GetInstanceNodeInfoArrayOutput) ToGetInstanceNodeInfoArrayOutputWithContext(ctx context.Context) GetInstanceNodeInfoArrayOutput

type GetInstanceNodeInfoInput added in v0.0.23

type GetInstanceNodeInfoInput interface {
	pulumi.Input

	ToGetInstanceNodeInfoOutput() GetInstanceNodeInfoOutput
	ToGetInstanceNodeInfoOutputWithContext(context.Context) GetInstanceNodeInfoOutput
}

GetInstanceNodeInfoInput is an input type that accepts GetInstanceNodeInfoArgs and GetInstanceNodeInfoOutput values. You can construct a concrete instance of `GetInstanceNodeInfoInput` via:

GetInstanceNodeInfoArgs{...}

type GetInstanceNodeInfoOutput added in v0.0.23

type GetInstanceNodeInfoOutput struct{ *pulumi.OutputState }

func (GetInstanceNodeInfoOutput) CreateTime added in v0.0.23

Node creation time. Format: yyyy-MM-ddTHH:mm:ss.sssZ (UTC time)

func (GetInstanceNodeInfoOutput) ElementType added in v0.0.23

func (GetInstanceNodeInfoOutput) ElementType() reflect.Type

func (GetInstanceNodeInfoOutput) InstanceId added in v0.0.23

Instance ID

func (GetInstanceNodeInfoOutput) Memory added in v0.0.23

Memory size, unit: GB

func (GetInstanceNodeInfoOutput) NodeId added in v0.0.23

Node ID

func (GetInstanceNodeInfoOutput) NodeSpec added in v0.0.23

Node specification

func (GetInstanceNodeInfoOutput) NodeStatus added in v0.0.23

Node status

func (GetInstanceNodeInfoOutput) NodeType added in v0.0.23

Node type

func (GetInstanceNodeInfoOutput) RegionId added in v0.0.23

Region ID

func (GetInstanceNodeInfoOutput) ToGetInstanceNodeInfoOutput added in v0.0.23

func (o GetInstanceNodeInfoOutput) ToGetInstanceNodeInfoOutput() GetInstanceNodeInfoOutput

func (GetInstanceNodeInfoOutput) ToGetInstanceNodeInfoOutputWithContext added in v0.0.23

func (o GetInstanceNodeInfoOutput) ToGetInstanceNodeInfoOutputWithContext(ctx context.Context) GetInstanceNodeInfoOutput

func (GetInstanceNodeInfoOutput) UpdateTime added in v0.0.23

Node update time. Format: yyyy-MM-ddTHH:mm:ss.sssZ (UTC time)

func (GetInstanceNodeInfoOutput) Vcpu added in v0.0.23

CPU size. For example: 1 means 1U

func (GetInstanceNodeInfoOutput) ZoneId added in v0.0.23

Availability zone of the node

type GetInstanceReplicationSlot added in v0.0.33

type GetInstanceReplicationSlot struct {
	// Database associated with the slot
	Database string `pulumi:"database"`
	// Connected client IP address
	IpAddress string `pulumi:"ipAddress"`
	// Plugin used by the slot
	Plugin string `pulumi:"plugin"`
	// Slot name
	SlotName string `pulumi:"slotName"`
	// Slot status
	SlotStatus string `pulumi:"slotStatus"`
	// Slot type
	SlotType string `pulumi:"slotType"`
	// Whether it is a temporary slot
	Temporary bool `pulumi:"temporary"`
	// WAL delay size
	WalDelay int `pulumi:"walDelay"`
}

type GetInstanceReplicationSlotArgs added in v0.0.33

type GetInstanceReplicationSlotArgs struct {
	// Database associated with the slot
	Database pulumi.StringInput `pulumi:"database"`
	// Connected client IP address
	IpAddress pulumi.StringInput `pulumi:"ipAddress"`
	// Plugin used by the slot
	Plugin pulumi.StringInput `pulumi:"plugin"`
	// Slot name
	SlotName pulumi.StringInput `pulumi:"slotName"`
	// Slot status
	SlotStatus pulumi.StringInput `pulumi:"slotStatus"`
	// Slot type
	SlotType pulumi.StringInput `pulumi:"slotType"`
	// Whether it is a temporary slot
	Temporary pulumi.BoolInput `pulumi:"temporary"`
	// WAL delay size
	WalDelay pulumi.IntInput `pulumi:"walDelay"`
}

func (GetInstanceReplicationSlotArgs) ElementType added in v0.0.33

func (GetInstanceReplicationSlotArgs) ToGetInstanceReplicationSlotOutput added in v0.0.33

func (i GetInstanceReplicationSlotArgs) ToGetInstanceReplicationSlotOutput() GetInstanceReplicationSlotOutput

func (GetInstanceReplicationSlotArgs) ToGetInstanceReplicationSlotOutputWithContext added in v0.0.33

func (i GetInstanceReplicationSlotArgs) ToGetInstanceReplicationSlotOutputWithContext(ctx context.Context) GetInstanceReplicationSlotOutput

type GetInstanceReplicationSlotArray added in v0.0.33

type GetInstanceReplicationSlotArray []GetInstanceReplicationSlotInput

func (GetInstanceReplicationSlotArray) ElementType added in v0.0.33

func (GetInstanceReplicationSlotArray) ToGetInstanceReplicationSlotArrayOutput added in v0.0.33

func (i GetInstanceReplicationSlotArray) ToGetInstanceReplicationSlotArrayOutput() GetInstanceReplicationSlotArrayOutput

func (GetInstanceReplicationSlotArray) ToGetInstanceReplicationSlotArrayOutputWithContext added in v0.0.33

func (i GetInstanceReplicationSlotArray) ToGetInstanceReplicationSlotArrayOutputWithContext(ctx context.Context) GetInstanceReplicationSlotArrayOutput

type GetInstanceReplicationSlotArrayInput added in v0.0.33

type GetInstanceReplicationSlotArrayInput interface {
	pulumi.Input

	ToGetInstanceReplicationSlotArrayOutput() GetInstanceReplicationSlotArrayOutput
	ToGetInstanceReplicationSlotArrayOutputWithContext(context.Context) GetInstanceReplicationSlotArrayOutput
}

GetInstanceReplicationSlotArrayInput is an input type that accepts GetInstanceReplicationSlotArray and GetInstanceReplicationSlotArrayOutput values. You can construct a concrete instance of `GetInstanceReplicationSlotArrayInput` via:

GetInstanceReplicationSlotArray{ GetInstanceReplicationSlotArgs{...} }

type GetInstanceReplicationSlotArrayOutput added in v0.0.33

type GetInstanceReplicationSlotArrayOutput struct{ *pulumi.OutputState }

func (GetInstanceReplicationSlotArrayOutput) ElementType added in v0.0.33

func (GetInstanceReplicationSlotArrayOutput) Index added in v0.0.33

func (GetInstanceReplicationSlotArrayOutput) ToGetInstanceReplicationSlotArrayOutput added in v0.0.33

func (o GetInstanceReplicationSlotArrayOutput) ToGetInstanceReplicationSlotArrayOutput() GetInstanceReplicationSlotArrayOutput

func (GetInstanceReplicationSlotArrayOutput) ToGetInstanceReplicationSlotArrayOutputWithContext added in v0.0.33

func (o GetInstanceReplicationSlotArrayOutput) ToGetInstanceReplicationSlotArrayOutputWithContext(ctx context.Context) GetInstanceReplicationSlotArrayOutput

type GetInstanceReplicationSlotInput added in v0.0.33

type GetInstanceReplicationSlotInput interface {
	pulumi.Input

	ToGetInstanceReplicationSlotOutput() GetInstanceReplicationSlotOutput
	ToGetInstanceReplicationSlotOutputWithContext(context.Context) GetInstanceReplicationSlotOutput
}

GetInstanceReplicationSlotInput is an input type that accepts GetInstanceReplicationSlotArgs and GetInstanceReplicationSlotOutput values. You can construct a concrete instance of `GetInstanceReplicationSlotInput` via:

GetInstanceReplicationSlotArgs{...}

type GetInstanceReplicationSlotOutput added in v0.0.33

type GetInstanceReplicationSlotOutput struct{ *pulumi.OutputState }

func (GetInstanceReplicationSlotOutput) Database added in v0.0.33

Database associated with the slot

func (GetInstanceReplicationSlotOutput) ElementType added in v0.0.33

func (GetInstanceReplicationSlotOutput) IpAddress added in v0.0.33

Connected client IP address

func (GetInstanceReplicationSlotOutput) Plugin added in v0.0.33

Plugin used by the slot

func (GetInstanceReplicationSlotOutput) SlotName added in v0.0.33

Slot name

func (GetInstanceReplicationSlotOutput) SlotStatus added in v0.0.33

Slot status

func (GetInstanceReplicationSlotOutput) SlotType added in v0.0.33

Slot type

func (GetInstanceReplicationSlotOutput) Temporary added in v0.0.33

Whether it is a temporary slot

func (GetInstanceReplicationSlotOutput) ToGetInstanceReplicationSlotOutput added in v0.0.33

func (o GetInstanceReplicationSlotOutput) ToGetInstanceReplicationSlotOutput() GetInstanceReplicationSlotOutput

func (GetInstanceReplicationSlotOutput) ToGetInstanceReplicationSlotOutputWithContext added in v0.0.33

func (o GetInstanceReplicationSlotOutput) ToGetInstanceReplicationSlotOutputWithContext(ctx context.Context) GetInstanceReplicationSlotOutput

func (GetInstanceReplicationSlotOutput) WalDelay added in v0.0.33

WAL delay size

type GetInstanceRestoreToExistedInstance added in v0.0.33

type GetInstanceRestoreToExistedInstance struct {
	// Backup set ID
	BackupId string `pulumi:"backupId"`
	// List of databases to restore
	Databases []GetInstanceRestoreToExistedInstanceDatabase `pulumi:"databases"`
	// Source instance ID
	SourceDbInstanceId string `pulumi:"sourceDbInstanceId"`
	// Database account for the target instance
	TargetDbInstanceAccount string `pulumi:"targetDbInstanceAccount"`
}

type GetInstanceRestoreToExistedInstanceArgs added in v0.0.33

type GetInstanceRestoreToExistedInstanceArgs struct {
	// Backup set ID
	BackupId pulumi.StringInput `pulumi:"backupId"`
	// List of databases to restore
	Databases GetInstanceRestoreToExistedInstanceDatabaseArrayInput `pulumi:"databases"`
	// Source instance ID
	SourceDbInstanceId pulumi.StringInput `pulumi:"sourceDbInstanceId"`
	// Database account for the target instance
	TargetDbInstanceAccount pulumi.StringInput `pulumi:"targetDbInstanceAccount"`
}

func (GetInstanceRestoreToExistedInstanceArgs) ElementType added in v0.0.33

func (GetInstanceRestoreToExistedInstanceArgs) ToGetInstanceRestoreToExistedInstanceOutput added in v0.0.33

func (i GetInstanceRestoreToExistedInstanceArgs) ToGetInstanceRestoreToExistedInstanceOutput() GetInstanceRestoreToExistedInstanceOutput

func (GetInstanceRestoreToExistedInstanceArgs) ToGetInstanceRestoreToExistedInstanceOutputWithContext added in v0.0.33

func (i GetInstanceRestoreToExistedInstanceArgs) ToGetInstanceRestoreToExistedInstanceOutputWithContext(ctx context.Context) GetInstanceRestoreToExistedInstanceOutput

type GetInstanceRestoreToExistedInstanceDatabase added in v0.0.33

type GetInstanceRestoreToExistedInstanceDatabase struct {
	// Source database name
	DbName string `pulumi:"dbName"`
	// Name of the new database after restoration
	NewDbName string `pulumi:"newDbName"`
}

type GetInstanceRestoreToExistedInstanceDatabaseArgs added in v0.0.33

type GetInstanceRestoreToExistedInstanceDatabaseArgs struct {
	// Source database name
	DbName pulumi.StringInput `pulumi:"dbName"`
	// Name of the new database after restoration
	NewDbName pulumi.StringInput `pulumi:"newDbName"`
}

func (GetInstanceRestoreToExistedInstanceDatabaseArgs) ElementType added in v0.0.33

func (GetInstanceRestoreToExistedInstanceDatabaseArgs) ToGetInstanceRestoreToExistedInstanceDatabaseOutput added in v0.0.33

func (i GetInstanceRestoreToExistedInstanceDatabaseArgs) ToGetInstanceRestoreToExistedInstanceDatabaseOutput() GetInstanceRestoreToExistedInstanceDatabaseOutput

func (GetInstanceRestoreToExistedInstanceDatabaseArgs) ToGetInstanceRestoreToExistedInstanceDatabaseOutputWithContext added in v0.0.33

func (i GetInstanceRestoreToExistedInstanceDatabaseArgs) ToGetInstanceRestoreToExistedInstanceDatabaseOutputWithContext(ctx context.Context) GetInstanceRestoreToExistedInstanceDatabaseOutput

type GetInstanceRestoreToExistedInstanceDatabaseArray added in v0.0.33

type GetInstanceRestoreToExistedInstanceDatabaseArray []GetInstanceRestoreToExistedInstanceDatabaseInput

func (GetInstanceRestoreToExistedInstanceDatabaseArray) ElementType added in v0.0.33

func (GetInstanceRestoreToExistedInstanceDatabaseArray) ToGetInstanceRestoreToExistedInstanceDatabaseArrayOutput added in v0.0.33

func (i GetInstanceRestoreToExistedInstanceDatabaseArray) ToGetInstanceRestoreToExistedInstanceDatabaseArrayOutput() GetInstanceRestoreToExistedInstanceDatabaseArrayOutput

func (GetInstanceRestoreToExistedInstanceDatabaseArray) ToGetInstanceRestoreToExistedInstanceDatabaseArrayOutputWithContext added in v0.0.33

func (i GetInstanceRestoreToExistedInstanceDatabaseArray) ToGetInstanceRestoreToExistedInstanceDatabaseArrayOutputWithContext(ctx context.Context) GetInstanceRestoreToExistedInstanceDatabaseArrayOutput

type GetInstanceRestoreToExistedInstanceDatabaseArrayInput added in v0.0.33

type GetInstanceRestoreToExistedInstanceDatabaseArrayInput interface {
	pulumi.Input

	ToGetInstanceRestoreToExistedInstanceDatabaseArrayOutput() GetInstanceRestoreToExistedInstanceDatabaseArrayOutput
	ToGetInstanceRestoreToExistedInstanceDatabaseArrayOutputWithContext(context.Context) GetInstanceRestoreToExistedInstanceDatabaseArrayOutput
}

GetInstanceRestoreToExistedInstanceDatabaseArrayInput is an input type that accepts GetInstanceRestoreToExistedInstanceDatabaseArray and GetInstanceRestoreToExistedInstanceDatabaseArrayOutput values. You can construct a concrete instance of `GetInstanceRestoreToExistedInstanceDatabaseArrayInput` via:

GetInstanceRestoreToExistedInstanceDatabaseArray{ GetInstanceRestoreToExistedInstanceDatabaseArgs{...} }

type GetInstanceRestoreToExistedInstanceDatabaseArrayOutput added in v0.0.33

type GetInstanceRestoreToExistedInstanceDatabaseArrayOutput struct{ *pulumi.OutputState }

func (GetInstanceRestoreToExistedInstanceDatabaseArrayOutput) ElementType added in v0.0.33

func (GetInstanceRestoreToExistedInstanceDatabaseArrayOutput) Index added in v0.0.33

func (GetInstanceRestoreToExistedInstanceDatabaseArrayOutput) ToGetInstanceRestoreToExistedInstanceDatabaseArrayOutput added in v0.0.33

func (GetInstanceRestoreToExistedInstanceDatabaseArrayOutput) ToGetInstanceRestoreToExistedInstanceDatabaseArrayOutputWithContext added in v0.0.33

func (o GetInstanceRestoreToExistedInstanceDatabaseArrayOutput) ToGetInstanceRestoreToExistedInstanceDatabaseArrayOutputWithContext(ctx context.Context) GetInstanceRestoreToExistedInstanceDatabaseArrayOutput

type GetInstanceRestoreToExistedInstanceDatabaseInput added in v0.0.33

type GetInstanceRestoreToExistedInstanceDatabaseInput interface {
	pulumi.Input

	ToGetInstanceRestoreToExistedInstanceDatabaseOutput() GetInstanceRestoreToExistedInstanceDatabaseOutput
	ToGetInstanceRestoreToExistedInstanceDatabaseOutputWithContext(context.Context) GetInstanceRestoreToExistedInstanceDatabaseOutput
}

GetInstanceRestoreToExistedInstanceDatabaseInput is an input type that accepts GetInstanceRestoreToExistedInstanceDatabaseArgs and GetInstanceRestoreToExistedInstanceDatabaseOutput values. You can construct a concrete instance of `GetInstanceRestoreToExistedInstanceDatabaseInput` via:

GetInstanceRestoreToExistedInstanceDatabaseArgs{...}

type GetInstanceRestoreToExistedInstanceDatabaseOutput added in v0.0.33

type GetInstanceRestoreToExistedInstanceDatabaseOutput struct{ *pulumi.OutputState }

func (GetInstanceRestoreToExistedInstanceDatabaseOutput) DbName added in v0.0.33

Source database name

func (GetInstanceRestoreToExistedInstanceDatabaseOutput) ElementType added in v0.0.33

func (GetInstanceRestoreToExistedInstanceDatabaseOutput) NewDbName added in v0.0.33

Name of the new database after restoration

func (GetInstanceRestoreToExistedInstanceDatabaseOutput) ToGetInstanceRestoreToExistedInstanceDatabaseOutput added in v0.0.33

func (o GetInstanceRestoreToExistedInstanceDatabaseOutput) ToGetInstanceRestoreToExistedInstanceDatabaseOutput() GetInstanceRestoreToExistedInstanceDatabaseOutput

func (GetInstanceRestoreToExistedInstanceDatabaseOutput) ToGetInstanceRestoreToExistedInstanceDatabaseOutputWithContext added in v0.0.33

func (o GetInstanceRestoreToExistedInstanceDatabaseOutput) ToGetInstanceRestoreToExistedInstanceDatabaseOutputWithContext(ctx context.Context) GetInstanceRestoreToExistedInstanceDatabaseOutput

type GetInstanceRestoreToExistedInstanceInput added in v0.0.33

type GetInstanceRestoreToExistedInstanceInput interface {
	pulumi.Input

	ToGetInstanceRestoreToExistedInstanceOutput() GetInstanceRestoreToExistedInstanceOutput
	ToGetInstanceRestoreToExistedInstanceOutputWithContext(context.Context) GetInstanceRestoreToExistedInstanceOutput
}

GetInstanceRestoreToExistedInstanceInput is an input type that accepts GetInstanceRestoreToExistedInstanceArgs and GetInstanceRestoreToExistedInstanceOutput values. You can construct a concrete instance of `GetInstanceRestoreToExistedInstanceInput` via:

GetInstanceRestoreToExistedInstanceArgs{...}

type GetInstanceRestoreToExistedInstanceOutput added in v0.0.33

type GetInstanceRestoreToExistedInstanceOutput struct{ *pulumi.OutputState }

func (GetInstanceRestoreToExistedInstanceOutput) BackupId added in v0.0.33

Backup set ID

func (GetInstanceRestoreToExistedInstanceOutput) Databases added in v0.0.33

List of databases to restore

func (GetInstanceRestoreToExistedInstanceOutput) ElementType added in v0.0.33

func (GetInstanceRestoreToExistedInstanceOutput) SourceDbInstanceId added in v0.0.33

Source instance ID

func (GetInstanceRestoreToExistedInstanceOutput) TargetDbInstanceAccount added in v0.0.33

Database account for the target instance

func (GetInstanceRestoreToExistedInstanceOutput) ToGetInstanceRestoreToExistedInstanceOutput added in v0.0.33

func (o GetInstanceRestoreToExistedInstanceOutput) ToGetInstanceRestoreToExistedInstanceOutput() GetInstanceRestoreToExistedInstanceOutput

func (GetInstanceRestoreToExistedInstanceOutput) ToGetInstanceRestoreToExistedInstanceOutputWithContext added in v0.0.33

func (o GetInstanceRestoreToExistedInstanceOutput) ToGetInstanceRestoreToExistedInstanceOutputWithContext(ctx context.Context) GetInstanceRestoreToExistedInstanceOutput

type GetInstanceSslsResult added in v0.0.35

type GetInstanceSslsResult struct {
	// Uniquely identifies the data source.
	Id string `pulumi:"id"`
	// Set of Resource Identifiers.
	Ids []string `pulumi:"ids"`
}

A collection of values returned by getInstanceSsls.

func GetInstanceSsls added in v0.0.35

func GetInstanceSsls(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetInstanceSslsResult, error)

Plural Data Source schema for Byteplus::RDSPostgreSQL::InstanceSSL

type GetInstanceSslsResultOutput added in v0.0.35

type GetInstanceSslsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getInstanceSsls.

func GetInstanceSslsOutput added in v0.0.35

func GetInstanceSslsOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetInstanceSslsResultOutput

func (GetInstanceSslsResultOutput) ElementType added in v0.0.35

func (GetInstanceSslsResultOutput) Id added in v0.0.35

Uniquely identifies the data source.

func (GetInstanceSslsResultOutput) Ids added in v0.0.35

Set of Resource Identifiers.

func (GetInstanceSslsResultOutput) ToGetInstanceSslsResultOutput added in v0.0.35

func (o GetInstanceSslsResultOutput) ToGetInstanceSslsResultOutput() GetInstanceSslsResultOutput

func (GetInstanceSslsResultOutput) ToGetInstanceSslsResultOutputWithContext added in v0.0.35

func (o GetInstanceSslsResultOutput) ToGetInstanceSslsResultOutputWithContext(ctx context.Context) GetInstanceSslsResultOutput

type GetInstanceTag added in v0.0.23

type GetInstanceTag struct {
	// Tag key
	Key string `pulumi:"key"`
	// Tag value
	Value string `pulumi:"value"`
}

type GetInstanceTagArgs added in v0.0.23

type GetInstanceTagArgs struct {
	// Tag key
	Key pulumi.StringInput `pulumi:"key"`
	// Tag value
	Value pulumi.StringInput `pulumi:"value"`
}

func (GetInstanceTagArgs) ElementType added in v0.0.23

func (GetInstanceTagArgs) ElementType() reflect.Type

func (GetInstanceTagArgs) ToGetInstanceTagOutput added in v0.0.23

func (i GetInstanceTagArgs) ToGetInstanceTagOutput() GetInstanceTagOutput

func (GetInstanceTagArgs) ToGetInstanceTagOutputWithContext added in v0.0.23

func (i GetInstanceTagArgs) ToGetInstanceTagOutputWithContext(ctx context.Context) GetInstanceTagOutput

type GetInstanceTagArray added in v0.0.23

type GetInstanceTagArray []GetInstanceTagInput

func (GetInstanceTagArray) ElementType added in v0.0.23

func (GetInstanceTagArray) ElementType() reflect.Type

func (GetInstanceTagArray) ToGetInstanceTagArrayOutput added in v0.0.23

func (i GetInstanceTagArray) ToGetInstanceTagArrayOutput() GetInstanceTagArrayOutput

func (GetInstanceTagArray) ToGetInstanceTagArrayOutputWithContext added in v0.0.23

func (i GetInstanceTagArray) ToGetInstanceTagArrayOutputWithContext(ctx context.Context) GetInstanceTagArrayOutput

type GetInstanceTagArrayInput added in v0.0.23

type GetInstanceTagArrayInput interface {
	pulumi.Input

	ToGetInstanceTagArrayOutput() GetInstanceTagArrayOutput
	ToGetInstanceTagArrayOutputWithContext(context.Context) GetInstanceTagArrayOutput
}

GetInstanceTagArrayInput is an input type that accepts GetInstanceTagArray and GetInstanceTagArrayOutput values. You can construct a concrete instance of `GetInstanceTagArrayInput` via:

GetInstanceTagArray{ GetInstanceTagArgs{...} }

type GetInstanceTagArrayOutput added in v0.0.23

type GetInstanceTagArrayOutput struct{ *pulumi.OutputState }

func (GetInstanceTagArrayOutput) ElementType added in v0.0.23

func (GetInstanceTagArrayOutput) ElementType() reflect.Type

func (GetInstanceTagArrayOutput) Index added in v0.0.23

func (GetInstanceTagArrayOutput) ToGetInstanceTagArrayOutput added in v0.0.23

func (o GetInstanceTagArrayOutput) ToGetInstanceTagArrayOutput() GetInstanceTagArrayOutput

func (GetInstanceTagArrayOutput) ToGetInstanceTagArrayOutputWithContext added in v0.0.23

func (o GetInstanceTagArrayOutput) ToGetInstanceTagArrayOutputWithContext(ctx context.Context) GetInstanceTagArrayOutput

type GetInstanceTagInput added in v0.0.23

type GetInstanceTagInput interface {
	pulumi.Input

	ToGetInstanceTagOutput() GetInstanceTagOutput
	ToGetInstanceTagOutputWithContext(context.Context) GetInstanceTagOutput
}

GetInstanceTagInput is an input type that accepts GetInstanceTagArgs and GetInstanceTagOutput values. You can construct a concrete instance of `GetInstanceTagInput` via:

GetInstanceTagArgs{...}

type GetInstanceTagOutput added in v0.0.23

type GetInstanceTagOutput struct{ *pulumi.OutputState }

func (GetInstanceTagOutput) ElementType added in v0.0.23

func (GetInstanceTagOutput) ElementType() reflect.Type

func (GetInstanceTagOutput) Key added in v0.0.23

Tag key

func (GetInstanceTagOutput) ToGetInstanceTagOutput added in v0.0.23

func (o GetInstanceTagOutput) ToGetInstanceTagOutput() GetInstanceTagOutput

func (GetInstanceTagOutput) ToGetInstanceTagOutputWithContext added in v0.0.23

func (o GetInstanceTagOutput) ToGetInstanceTagOutputWithContext(ctx context.Context) GetInstanceTagOutput

func (GetInstanceTagOutput) Value added in v0.0.23

Tag value

type GetInstancesResult added in v0.0.23

type GetInstancesResult struct {
	// Uniquely identifies the data source.
	Id string `pulumi:"id"`
	// Set of Resource Identifiers.
	Ids []string `pulumi:"ids"`
}

A collection of values returned by getInstances.

func GetInstances added in v0.0.23

func GetInstances(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetInstancesResult, error)

Plural Data Source schema for Byteplus::RDSPostgreSQL::Instance

type GetInstancesResultOutput added in v0.0.23

type GetInstancesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getInstances.

func GetInstancesOutput added in v0.0.23

func GetInstancesOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetInstancesResultOutput

func (GetInstancesResultOutput) ElementType added in v0.0.23

func (GetInstancesResultOutput) ElementType() reflect.Type

func (GetInstancesResultOutput) Id added in v0.0.23

Uniquely identifies the data source.

func (GetInstancesResultOutput) Ids added in v0.0.23

Set of Resource Identifiers.

func (GetInstancesResultOutput) ToGetInstancesResultOutput added in v0.0.23

func (o GetInstancesResultOutput) ToGetInstancesResultOutput() GetInstancesResultOutput

func (GetInstancesResultOutput) ToGetInstancesResultOutputWithContext added in v0.0.23

func (o GetInstancesResultOutput) ToGetInstancesResultOutputWithContext(ctx context.Context) GetInstancesResultOutput

type GetParameterTemplateTemplateParam added in v0.0.31

type GetParameterTemplateTemplateParam struct {
	// Parameter validation rules
	CheckingCode string `pulumi:"checkingCode"`
	// Default value of the parameter
	DefaultValue string `pulumi:"defaultValue"`
	// Parameter description information in English
	Description string `pulumi:"description"`
	// Parameter description information in Chinese
	DescriptionZh string `pulumi:"descriptionZh"`
	// Whether modifying this parameter requires a restart
	ForceRestart bool `pulumi:"forceRestart"`
	// Parameter name
	Name string `pulumi:"name"`
	// Data type of the parameter
	Type string `pulumi:"type"`
	// Parameter value
	Value string `pulumi:"value"`
}

type GetParameterTemplateTemplateParamArgs added in v0.0.31

type GetParameterTemplateTemplateParamArgs struct {
	// Parameter validation rules
	CheckingCode pulumi.StringInput `pulumi:"checkingCode"`
	// Default value of the parameter
	DefaultValue pulumi.StringInput `pulumi:"defaultValue"`
	// Parameter description information in English
	Description pulumi.StringInput `pulumi:"description"`
	// Parameter description information in Chinese
	DescriptionZh pulumi.StringInput `pulumi:"descriptionZh"`
	// Whether modifying this parameter requires a restart
	ForceRestart pulumi.BoolInput `pulumi:"forceRestart"`
	// Parameter name
	Name pulumi.StringInput `pulumi:"name"`
	// Data type of the parameter
	Type pulumi.StringInput `pulumi:"type"`
	// Parameter value
	Value pulumi.StringInput `pulumi:"value"`
}

func (GetParameterTemplateTemplateParamArgs) ElementType added in v0.0.31

func (GetParameterTemplateTemplateParamArgs) ToGetParameterTemplateTemplateParamOutput added in v0.0.31

func (i GetParameterTemplateTemplateParamArgs) ToGetParameterTemplateTemplateParamOutput() GetParameterTemplateTemplateParamOutput

func (GetParameterTemplateTemplateParamArgs) ToGetParameterTemplateTemplateParamOutputWithContext added in v0.0.31

func (i GetParameterTemplateTemplateParamArgs) ToGetParameterTemplateTemplateParamOutputWithContext(ctx context.Context) GetParameterTemplateTemplateParamOutput

type GetParameterTemplateTemplateParamArray added in v0.0.31

type GetParameterTemplateTemplateParamArray []GetParameterTemplateTemplateParamInput

func (GetParameterTemplateTemplateParamArray) ElementType added in v0.0.31

func (GetParameterTemplateTemplateParamArray) ToGetParameterTemplateTemplateParamArrayOutput added in v0.0.31

func (i GetParameterTemplateTemplateParamArray) ToGetParameterTemplateTemplateParamArrayOutput() GetParameterTemplateTemplateParamArrayOutput

func (GetParameterTemplateTemplateParamArray) ToGetParameterTemplateTemplateParamArrayOutputWithContext added in v0.0.31

func (i GetParameterTemplateTemplateParamArray) ToGetParameterTemplateTemplateParamArrayOutputWithContext(ctx context.Context) GetParameterTemplateTemplateParamArrayOutput

type GetParameterTemplateTemplateParamArrayInput added in v0.0.31

type GetParameterTemplateTemplateParamArrayInput interface {
	pulumi.Input

	ToGetParameterTemplateTemplateParamArrayOutput() GetParameterTemplateTemplateParamArrayOutput
	ToGetParameterTemplateTemplateParamArrayOutputWithContext(context.Context) GetParameterTemplateTemplateParamArrayOutput
}

GetParameterTemplateTemplateParamArrayInput is an input type that accepts GetParameterTemplateTemplateParamArray and GetParameterTemplateTemplateParamArrayOutput values. You can construct a concrete instance of `GetParameterTemplateTemplateParamArrayInput` via:

GetParameterTemplateTemplateParamArray{ GetParameterTemplateTemplateParamArgs{...} }

type GetParameterTemplateTemplateParamArrayOutput added in v0.0.31

type GetParameterTemplateTemplateParamArrayOutput struct{ *pulumi.OutputState }

func (GetParameterTemplateTemplateParamArrayOutput) ElementType added in v0.0.31

func (GetParameterTemplateTemplateParamArrayOutput) Index added in v0.0.31

func (GetParameterTemplateTemplateParamArrayOutput) ToGetParameterTemplateTemplateParamArrayOutput added in v0.0.31

func (o GetParameterTemplateTemplateParamArrayOutput) ToGetParameterTemplateTemplateParamArrayOutput() GetParameterTemplateTemplateParamArrayOutput

func (GetParameterTemplateTemplateParamArrayOutput) ToGetParameterTemplateTemplateParamArrayOutputWithContext added in v0.0.31

func (o GetParameterTemplateTemplateParamArrayOutput) ToGetParameterTemplateTemplateParamArrayOutputWithContext(ctx context.Context) GetParameterTemplateTemplateParamArrayOutput

type GetParameterTemplateTemplateParamInput added in v0.0.31

type GetParameterTemplateTemplateParamInput interface {
	pulumi.Input

	ToGetParameterTemplateTemplateParamOutput() GetParameterTemplateTemplateParamOutput
	ToGetParameterTemplateTemplateParamOutputWithContext(context.Context) GetParameterTemplateTemplateParamOutput
}

GetParameterTemplateTemplateParamInput is an input type that accepts GetParameterTemplateTemplateParamArgs and GetParameterTemplateTemplateParamOutput values. You can construct a concrete instance of `GetParameterTemplateTemplateParamInput` via:

GetParameterTemplateTemplateParamArgs{...}

type GetParameterTemplateTemplateParamOutput added in v0.0.31

type GetParameterTemplateTemplateParamOutput struct{ *pulumi.OutputState }

func (GetParameterTemplateTemplateParamOutput) CheckingCode added in v0.0.31

Parameter validation rules

func (GetParameterTemplateTemplateParamOutput) DefaultValue added in v0.0.31

Default value of the parameter

func (GetParameterTemplateTemplateParamOutput) Description added in v0.0.31

Parameter description information in English

func (GetParameterTemplateTemplateParamOutput) DescriptionZh added in v0.0.31

Parameter description information in Chinese

func (GetParameterTemplateTemplateParamOutput) ElementType added in v0.0.31

func (GetParameterTemplateTemplateParamOutput) ForceRestart added in v0.0.31

Whether modifying this parameter requires a restart

func (GetParameterTemplateTemplateParamOutput) Name added in v0.0.31

Parameter name

func (GetParameterTemplateTemplateParamOutput) ToGetParameterTemplateTemplateParamOutput added in v0.0.31

func (o GetParameterTemplateTemplateParamOutput) ToGetParameterTemplateTemplateParamOutput() GetParameterTemplateTemplateParamOutput

func (GetParameterTemplateTemplateParamOutput) ToGetParameterTemplateTemplateParamOutputWithContext added in v0.0.31

func (o GetParameterTemplateTemplateParamOutput) ToGetParameterTemplateTemplateParamOutputWithContext(ctx context.Context) GetParameterTemplateTemplateParamOutput

func (GetParameterTemplateTemplateParamOutput) Type added in v0.0.31

Data type of the parameter

func (GetParameterTemplateTemplateParamOutput) Value added in v0.0.31

Parameter value

type GetParameterTemplatesResult added in v0.0.31

type GetParameterTemplatesResult struct {
	// Uniquely identifies the data source.
	Id string `pulumi:"id"`
	// Set of Resource Identifiers.
	Ids []string `pulumi:"ids"`
}

A collection of values returned by getParameterTemplates.

func GetParameterTemplates added in v0.0.31

func GetParameterTemplates(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetParameterTemplatesResult, error)

Plural Data Source schema for Byteplus::RDSPostgreSQL::ParameterTemplate

type GetParameterTemplatesResultOutput added in v0.0.31

type GetParameterTemplatesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getParameterTemplates.

func GetParameterTemplatesOutput added in v0.0.31

func GetParameterTemplatesOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetParameterTemplatesResultOutput

func (GetParameterTemplatesResultOutput) ElementType added in v0.0.31

func (GetParameterTemplatesResultOutput) Id added in v0.0.31

Uniquely identifies the data source.

func (GetParameterTemplatesResultOutput) Ids added in v0.0.31

Set of Resource Identifiers.

func (GetParameterTemplatesResultOutput) ToGetParameterTemplatesResultOutput added in v0.0.31

func (o GetParameterTemplatesResultOutput) ToGetParameterTemplatesResultOutput() GetParameterTemplatesResultOutput

func (GetParameterTemplatesResultOutput) ToGetParameterTemplatesResultOutputWithContext added in v0.0.31

func (o GetParameterTemplatesResultOutput) ToGetParameterTemplatesResultOutputWithContext(ctx context.Context) GetParameterTemplatesResultOutput

type GetSchemasResult added in v0.0.17

type GetSchemasResult struct {
	// Uniquely identifies the data source.
	Id string `pulumi:"id"`
	// Set of Resource Identifiers.
	Ids []string `pulumi:"ids"`
}

A collection of values returned by getSchemas.

func GetSchemas added in v0.0.17

func GetSchemas(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetSchemasResult, error)

Plural Data Source schema for Byteplus::RDSPostgreSQL::Schema

type GetSchemasResultOutput added in v0.0.17

type GetSchemasResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSchemas.

func GetSchemasOutput added in v0.0.17

func GetSchemasOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetSchemasResultOutput

func (GetSchemasResultOutput) ElementType added in v0.0.17

func (GetSchemasResultOutput) ElementType() reflect.Type

func (GetSchemasResultOutput) Id added in v0.0.17

Uniquely identifies the data source.

func (GetSchemasResultOutput) Ids added in v0.0.17

Set of Resource Identifiers.

func (GetSchemasResultOutput) ToGetSchemasResultOutput added in v0.0.17

func (o GetSchemasResultOutput) ToGetSchemasResultOutput() GetSchemasResultOutput

func (GetSchemasResultOutput) ToGetSchemasResultOutputWithContext added in v0.0.17

func (o GetSchemasResultOutput) ToGetSchemasResultOutputWithContext(ctx context.Context) GetSchemasResultOutput

type Instance added in v0.0.23

type Instance struct {
	pulumi.CustomResourceState

	// Allowlist ID. To bind multiple allowlists, separate allowlist IDs with commas (,). An instance can bind up to 100 allowlists.
	AllowListIds pulumi.StringArrayOutput `pulumi:"allowListIds"`
	// Payment method
	ChargeDetail InstanceChargeDetailOutput `pulumi:"chargeDetail"`
	// Instance creation time
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Synchronization mode. Value: Async (asynchronous synchronization)
	DataSyncMode pulumi.StringOutput `pulumi:"dataSyncMode"`
	// Compatible version
	DbEngineVersion pulumi.StringOutput `pulumi:"dbEngineVersion"`
	// Instance connection information
	// Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
	Endpoints InstanceEndpointArrayOutput `pulumi:"endpoints"`
	// Instance ID
	InstanceId pulumi.StringOutput `pulumi:"instanceId"`
	// Instance name
	InstanceName pulumi.StringOutput `pulumi:"instanceName"`
	// Instance status
	InstanceStatus pulumi.StringOutput `pulumi:"instanceStatus"`
	// Instance type. Value: HA (high availability edition)
	InstanceType pulumi.StringOutput `pulumi:"instanceType"`
	// KMS key ring TRN, format: trn:kms:\n\n:\n\n:keyrings/\n\n/keys/\n\n. This parameter is required when TDEEnable is true.
	KmsTrn pulumi.StringOutput `pulumi:"kmsTrn"`
	// Instance maintenance window
	MaintenanceWindow InstanceMaintenanceWindowOutput `pulumi:"maintenanceWindow"`
	// Memory size, unit: GB
	Memory pulumi.Float64Output `pulumi:"memory"`
	// Instance specification configuration
	// Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
	NodeInfos InstanceNodeInfoArrayOutput `pulumi:"nodeInfos"`
	// Number of nodes
	NodeNumber pulumi.Float64Output `pulumi:"nodeNumber"`
	// Primary node specification
	NodeSpec pulumi.StringOutput `pulumi:"nodeSpec"`
	// Project. Default value: default project
	ProjectName pulumi.StringOutput `pulumi:"projectName"`
	// Replication slot list for the instance
	// Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
	ReplicationSlots InstanceReplicationSlotArrayOutput `pulumi:"replicationSlots"`
	// Restore backup data to the current instance
	RestoreToExistedInstance InstanceRestoreToExistedInstanceOutput `pulumi:"restoreToExistedInstance"`
	// Data file space used by the primary node. Unit: Byte
	StorageDataUse pulumi.Float64Output `pulumi:"storageDataUse"`
	// Log file space used by the primary node. Unit: Byte
	StorageLogUse pulumi.Float64Output `pulumi:"storageLogUse"`
	// Instance storage space. Value range: [20, 3000], unit: GB, increment: 10GB. Default value is 100
	StorageSpace pulumi.Float64Output `pulumi:"storageSpace"`
	// Temporary file space used by the primary node. Unit: Byte
	StorageTempUse pulumi.Float64Output `pulumi:"storageTempUse"`
	// Instance storage type, fixed value LocalSSD (local SSD disk)
	StorageType pulumi.StringOutput `pulumi:"storageType"`
	// Used storage space of the instance. Unit: Byte
	StorageUse pulumi.Float64Output `pulumi:"storageUse"`
	// Used WAL file space of the instance's primary node. Unit: Byte
	StorageWalUse pulumi.Float64Output `pulumi:"storageWalUse"`
	// Subnet ID
	SubnetId pulumi.StringOutput `pulumi:"subnetId"`
	// Tag information of the cloud disk
	// Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
	Tags InstanceTagArrayOutput `pulumi:"tags"`
	// Specifies whether to enable the Transparent Data Encryption (TDE) feature. The default value is false (disabled). This feature can only be enabled when creating an instance, and is supported only for PostgreSQL 17 with local SSD storage. Once enabled, it cannot be disabled.
	TdeEnable pulumi.BoolOutput `pulumi:"tdeEnable"`
	// Instance update time
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
	// CPU size. For example: 1 means 1U
	Vcpu pulumi.Float64Output `pulumi:"vcpu"`
	// Use this parameter to specify the private network for the instance
	VpcId pulumi.StringOutput `pulumi:"vpcId"`
	// Availability zone ID
	ZoneId pulumi.StringOutput `pulumi:"zoneId"`
}

Cloud database instance management

## Example Usage

```go package main

import (

"github.com/byteplus-sdk/pulumi-bytepluscc/sdk/go/bytepluscc/rdspostgresql"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := rdspostgresql.NewInstance(ctx, "RDSPostgreSQLInstanceDemo", &rdspostgresql.InstanceArgs{
			DbEngineVersion: pulumi.String("PostgreSQL_14"),
			NodeInfos: rdspostgresql.InstanceNodeInfoArray{
				&rdspostgresql.InstanceNodeInfoArgs{
					Zone_id:   "cn-beijing-a",
					Node_spec: "rds.postgres.1c2g",
					Node_type: "Primary",
				},
				&rdspostgresql.InstanceNodeInfoArgs{
					Zone_id:   "cn-beijing-a",
					Node_spec: "rds.postgres.1c2g",
					Node_type: "Secondary",
				},
			},
			StorageType: pulumi.String("LocalSSD"),
			VpcId:       pulumi.String("vpc-***"),
			SubnetId:    pulumi.String("subnet-***"),
			ChargeDetail: &rdspostgresql.InstanceChargeDetailArgs{
				Charge_type: "PostPaid",
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

```sh $ pulumi import bytepluscc:rdspostgresql/instance:Instance example "instance_id" ```

func GetInstance added in v0.0.23

func GetInstance(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *InstanceState, opts ...pulumi.ResourceOption) (*Instance, error)

GetInstance gets an existing Instance 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 NewInstance added in v0.0.23

func NewInstance(ctx *pulumi.Context,
	name string, args *InstanceArgs, opts ...pulumi.ResourceOption) (*Instance, error)

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

func (*Instance) ElementType added in v0.0.23

func (*Instance) ElementType() reflect.Type

func (*Instance) ToInstanceOutput added in v0.0.23

func (i *Instance) ToInstanceOutput() InstanceOutput

func (*Instance) ToInstanceOutputWithContext added in v0.0.23

func (i *Instance) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput

type InstanceArgs added in v0.0.23

type InstanceArgs struct {
	// Allowlist ID. To bind multiple allowlists, separate allowlist IDs with commas (,). An instance can bind up to 100 allowlists.
	AllowListIds pulumi.StringArrayInput
	// Payment method
	ChargeDetail InstanceChargeDetailInput
	// Compatible version
	DbEngineVersion pulumi.StringInput
	// Instance name
	InstanceName pulumi.StringPtrInput
	// KMS key ring TRN, format: trn:kms:\n\n:\n\n:keyrings/\n\n/keys/\n\n. This parameter is required when TDEEnable is true.
	KmsTrn pulumi.StringPtrInput
	// Instance maintenance window
	MaintenanceWindow InstanceMaintenanceWindowPtrInput
	// Instance specification configuration
	// Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
	NodeInfos InstanceNodeInfoArrayInput
	// Project. Default value: default project
	ProjectName pulumi.StringPtrInput
	// Replication slot list for the instance
	// Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
	ReplicationSlots InstanceReplicationSlotArrayInput
	// Restore backup data to the current instance
	RestoreToExistedInstance InstanceRestoreToExistedInstancePtrInput
	// Instance storage space. Value range: [20, 3000], unit: GB, increment: 10GB. Default value is 100
	StorageSpace pulumi.Float64PtrInput
	// Instance storage type, fixed value LocalSSD (local SSD disk)
	StorageType pulumi.StringInput
	// Subnet ID
	SubnetId pulumi.StringInput
	// Tag information of the cloud disk
	// Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
	Tags InstanceTagArrayInput
	// Specifies whether to enable the Transparent Data Encryption (TDE) feature. The default value is false (disabled). This feature can only be enabled when creating an instance, and is supported only for PostgreSQL 17 with local SSD storage. Once enabled, it cannot be disabled.
	TdeEnable pulumi.BoolPtrInput
	// Use this parameter to specify the private network for the instance
	VpcId pulumi.StringInput
}

The set of arguments for constructing a Instance resource.

func (InstanceArgs) ElementType added in v0.0.23

func (InstanceArgs) ElementType() reflect.Type

type InstanceArray added in v0.0.23

type InstanceArray []InstanceInput

func (InstanceArray) ElementType added in v0.0.23

func (InstanceArray) ElementType() reflect.Type

func (InstanceArray) ToInstanceArrayOutput added in v0.0.23

func (i InstanceArray) ToInstanceArrayOutput() InstanceArrayOutput

func (InstanceArray) ToInstanceArrayOutputWithContext added in v0.0.23

func (i InstanceArray) ToInstanceArrayOutputWithContext(ctx context.Context) InstanceArrayOutput

type InstanceArrayInput added in v0.0.23

type InstanceArrayInput interface {
	pulumi.Input

	ToInstanceArrayOutput() InstanceArrayOutput
	ToInstanceArrayOutputWithContext(context.Context) InstanceArrayOutput
}

InstanceArrayInput is an input type that accepts InstanceArray and InstanceArrayOutput values. You can construct a concrete instance of `InstanceArrayInput` via:

InstanceArray{ InstanceArgs{...} }

type InstanceArrayOutput added in v0.0.23

type InstanceArrayOutput struct{ *pulumi.OutputState }

func (InstanceArrayOutput) ElementType added in v0.0.23

func (InstanceArrayOutput) ElementType() reflect.Type

func (InstanceArrayOutput) Index added in v0.0.23

func (InstanceArrayOutput) ToInstanceArrayOutput added in v0.0.23

func (o InstanceArrayOutput) ToInstanceArrayOutput() InstanceArrayOutput

func (InstanceArrayOutput) ToInstanceArrayOutputWithContext added in v0.0.23

func (o InstanceArrayOutput) ToInstanceArrayOutputWithContext(ctx context.Context) InstanceArrayOutput

type InstanceChargeDetail added in v0.0.23

type InstanceChargeDetail struct {
	// Enable auto-renewal for prepaid scenarios
	AutoRenew *bool `pulumi:"autoRenew"`
	// Billing expiration time for yearly/monthly instances
	ChargeEndTime *string `pulumi:"chargeEndTime"`
	// Instance billing start time
	ChargeStartTime *string `pulumi:"chargeStartTime"`
	// Payment status. Value:   - `Normal`: Normal   - `Overdue`: Overdue and suspended   - `Unpaid`: Unpaid
	ChargeStatus *string `pulumi:"chargeStatus"`
	// Payment type. Value:   - `PostPaid`: Postpaid   - `PrePaid`: Prepaid
	ChargeType string `pulumi:"chargeType"`
	// Estimated release time after instance suspension due to overdue payment
	OverdueReclaimTime *string `pulumi:"overdueReclaimTime"`
	// Instance shutdown time due to overdue payment
	OverdueTime *string `pulumi:"overdueTime"`
	// Purchase duration for prepaid scenarios
	Period *float64 `pulumi:"period"`
	// Purchase period for prepaid scenarios. Values:   - `Month`: month   - `Year`: year
	PeriodUnit *string `pulumi:"periodUnit"`
	// Rollback time for temporary upgrade
	TempModifyEndTime *string `pulumi:"tempModifyEndTime"`
	// Start time of temporary scaling
	TempModifyStartTime *string `pulumi:"tempModifyStartTime"`
}

type InstanceChargeDetailArgs added in v0.0.23

type InstanceChargeDetailArgs struct {
	// Enable auto-renewal for prepaid scenarios
	AutoRenew pulumi.BoolPtrInput `pulumi:"autoRenew"`
	// Billing expiration time for yearly/monthly instances
	ChargeEndTime pulumi.StringPtrInput `pulumi:"chargeEndTime"`
	// Instance billing start time
	ChargeStartTime pulumi.StringPtrInput `pulumi:"chargeStartTime"`
	// Payment status. Value:   - `Normal`: Normal   - `Overdue`: Overdue and suspended   - `Unpaid`: Unpaid
	ChargeStatus pulumi.StringPtrInput `pulumi:"chargeStatus"`
	// Payment type. Value:   - `PostPaid`: Postpaid   - `PrePaid`: Prepaid
	ChargeType pulumi.StringInput `pulumi:"chargeType"`
	// Estimated release time after instance suspension due to overdue payment
	OverdueReclaimTime pulumi.StringPtrInput `pulumi:"overdueReclaimTime"`
	// Instance shutdown time due to overdue payment
	OverdueTime pulumi.StringPtrInput `pulumi:"overdueTime"`
	// Purchase duration for prepaid scenarios
	Period pulumi.Float64PtrInput `pulumi:"period"`
	// Purchase period for prepaid scenarios. Values:   - `Month`: month   - `Year`: year
	PeriodUnit pulumi.StringPtrInput `pulumi:"periodUnit"`
	// Rollback time for temporary upgrade
	TempModifyEndTime pulumi.StringPtrInput `pulumi:"tempModifyEndTime"`
	// Start time of temporary scaling
	TempModifyStartTime pulumi.StringPtrInput `pulumi:"tempModifyStartTime"`
}

func (InstanceChargeDetailArgs) ElementType added in v0.0.23

func (InstanceChargeDetailArgs) ElementType() reflect.Type

func (InstanceChargeDetailArgs) ToInstanceChargeDetailOutput added in v0.0.23

func (i InstanceChargeDetailArgs) ToInstanceChargeDetailOutput() InstanceChargeDetailOutput

func (InstanceChargeDetailArgs) ToInstanceChargeDetailOutputWithContext added in v0.0.23

func (i InstanceChargeDetailArgs) ToInstanceChargeDetailOutputWithContext(ctx context.Context) InstanceChargeDetailOutput

func (InstanceChargeDetailArgs) ToInstanceChargeDetailPtrOutput added in v0.0.23

func (i InstanceChargeDetailArgs) ToInstanceChargeDetailPtrOutput() InstanceChargeDetailPtrOutput

func (InstanceChargeDetailArgs) ToInstanceChargeDetailPtrOutputWithContext added in v0.0.23

func (i InstanceChargeDetailArgs) ToInstanceChargeDetailPtrOutputWithContext(ctx context.Context) InstanceChargeDetailPtrOutput

type InstanceChargeDetailInput added in v0.0.23

type InstanceChargeDetailInput interface {
	pulumi.Input

	ToInstanceChargeDetailOutput() InstanceChargeDetailOutput
	ToInstanceChargeDetailOutputWithContext(context.Context) InstanceChargeDetailOutput
}

InstanceChargeDetailInput is an input type that accepts InstanceChargeDetailArgs and InstanceChargeDetailOutput values. You can construct a concrete instance of `InstanceChargeDetailInput` via:

InstanceChargeDetailArgs{...}

type InstanceChargeDetailOutput added in v0.0.23

type InstanceChargeDetailOutput struct{ *pulumi.OutputState }

func (InstanceChargeDetailOutput) AutoRenew added in v0.0.23

Enable auto-renewal for prepaid scenarios

func (InstanceChargeDetailOutput) ChargeEndTime added in v0.0.23

Billing expiration time for yearly/monthly instances

func (InstanceChargeDetailOutput) ChargeStartTime added in v0.0.23

Instance billing start time

func (InstanceChargeDetailOutput) ChargeStatus added in v0.0.23

Payment status. Value: - `Normal`: Normal - `Overdue`: Overdue and suspended - `Unpaid`: Unpaid

func (InstanceChargeDetailOutput) ChargeType added in v0.0.23

Payment type. Value: - `PostPaid`: Postpaid - `PrePaid`: Prepaid

func (InstanceChargeDetailOutput) ElementType added in v0.0.23

func (InstanceChargeDetailOutput) ElementType() reflect.Type

func (InstanceChargeDetailOutput) OverdueReclaimTime added in v0.0.23

func (o InstanceChargeDetailOutput) OverdueReclaimTime() pulumi.StringPtrOutput

Estimated release time after instance suspension due to overdue payment

func (InstanceChargeDetailOutput) OverdueTime added in v0.0.23

Instance shutdown time due to overdue payment

func (InstanceChargeDetailOutput) Period added in v0.0.23

Purchase duration for prepaid scenarios

func (InstanceChargeDetailOutput) PeriodUnit added in v0.0.23

Purchase period for prepaid scenarios. Values: - `Month`: month - `Year`: year

func (InstanceChargeDetailOutput) TempModifyEndTime added in v0.0.23

func (o InstanceChargeDetailOutput) TempModifyEndTime() pulumi.StringPtrOutput

Rollback time for temporary upgrade

func (InstanceChargeDetailOutput) TempModifyStartTime added in v0.0.23

func (o InstanceChargeDetailOutput) TempModifyStartTime() pulumi.StringPtrOutput

Start time of temporary scaling

func (InstanceChargeDetailOutput) ToInstanceChargeDetailOutput added in v0.0.23

func (o InstanceChargeDetailOutput) ToInstanceChargeDetailOutput() InstanceChargeDetailOutput

func (InstanceChargeDetailOutput) ToInstanceChargeDetailOutputWithContext added in v0.0.23

func (o InstanceChargeDetailOutput) ToInstanceChargeDetailOutputWithContext(ctx context.Context) InstanceChargeDetailOutput

func (InstanceChargeDetailOutput) ToInstanceChargeDetailPtrOutput added in v0.0.23

func (o InstanceChargeDetailOutput) ToInstanceChargeDetailPtrOutput() InstanceChargeDetailPtrOutput

func (InstanceChargeDetailOutput) ToInstanceChargeDetailPtrOutputWithContext added in v0.0.23

func (o InstanceChargeDetailOutput) ToInstanceChargeDetailPtrOutputWithContext(ctx context.Context) InstanceChargeDetailPtrOutput

type InstanceChargeDetailPtrInput added in v0.0.23

type InstanceChargeDetailPtrInput interface {
	pulumi.Input

	ToInstanceChargeDetailPtrOutput() InstanceChargeDetailPtrOutput
	ToInstanceChargeDetailPtrOutputWithContext(context.Context) InstanceChargeDetailPtrOutput
}

InstanceChargeDetailPtrInput is an input type that accepts InstanceChargeDetailArgs, InstanceChargeDetailPtr and InstanceChargeDetailPtrOutput values. You can construct a concrete instance of `InstanceChargeDetailPtrInput` via:

        InstanceChargeDetailArgs{...}

or:

        nil

func InstanceChargeDetailPtr added in v0.0.23

func InstanceChargeDetailPtr(v *InstanceChargeDetailArgs) InstanceChargeDetailPtrInput

type InstanceChargeDetailPtrOutput added in v0.0.23

type InstanceChargeDetailPtrOutput struct{ *pulumi.OutputState }

func (InstanceChargeDetailPtrOutput) AutoRenew added in v0.0.23

Enable auto-renewal for prepaid scenarios

func (InstanceChargeDetailPtrOutput) ChargeEndTime added in v0.0.23

Billing expiration time for yearly/monthly instances

func (InstanceChargeDetailPtrOutput) ChargeStartTime added in v0.0.23

Instance billing start time

func (InstanceChargeDetailPtrOutput) ChargeStatus added in v0.0.23

Payment status. Value: - `Normal`: Normal - `Overdue`: Overdue and suspended - `Unpaid`: Unpaid

func (InstanceChargeDetailPtrOutput) ChargeType added in v0.0.23

Payment type. Value: - `PostPaid`: Postpaid - `PrePaid`: Prepaid

func (InstanceChargeDetailPtrOutput) Elem added in v0.0.23

func (InstanceChargeDetailPtrOutput) ElementType added in v0.0.23

func (InstanceChargeDetailPtrOutput) OverdueReclaimTime added in v0.0.23

func (o InstanceChargeDetailPtrOutput) OverdueReclaimTime() pulumi.StringPtrOutput

Estimated release time after instance suspension due to overdue payment

func (InstanceChargeDetailPtrOutput) OverdueTime added in v0.0.23

Instance shutdown time due to overdue payment

func (InstanceChargeDetailPtrOutput) Period added in v0.0.23

Purchase duration for prepaid scenarios

func (InstanceChargeDetailPtrOutput) PeriodUnit added in v0.0.23

Purchase period for prepaid scenarios. Values: - `Month`: month - `Year`: year

func (InstanceChargeDetailPtrOutput) TempModifyEndTime added in v0.0.23

Rollback time for temporary upgrade

func (InstanceChargeDetailPtrOutput) TempModifyStartTime added in v0.0.23

func (o InstanceChargeDetailPtrOutput) TempModifyStartTime() pulumi.StringPtrOutput

Start time of temporary scaling

func (InstanceChargeDetailPtrOutput) ToInstanceChargeDetailPtrOutput added in v0.0.23

func (o InstanceChargeDetailPtrOutput) ToInstanceChargeDetailPtrOutput() InstanceChargeDetailPtrOutput

func (InstanceChargeDetailPtrOutput) ToInstanceChargeDetailPtrOutputWithContext added in v0.0.23

func (o InstanceChargeDetailPtrOutput) ToInstanceChargeDetailPtrOutputWithContext(ctx context.Context) InstanceChargeDetailPtrOutput

type InstanceEndpoint added in v0.0.23

type InstanceEndpoint struct {
	// Address list.
	// Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
	Addresses []InstanceEndpointAddress `pulumi:"addresses"`
	// When the terminal type is read-write or read-only, you can set whether new nodes join automatically. Values:   - `Enable`: join automatically   - `Disable`: do not join automatically (default)
	AutoAddNewNodes *string `pulumi:"autoAddNewNodes"`
	// Address description.
	Description *string `pulumi:"description"`
	// Enable global read-only mode.   - `Enable`: enabled   - `Disable`: not enabled
	EnableReadOnly *string `pulumi:"enableReadOnly"`
	// Enable read-write separation. Values:   - `Enable`: enabled   - `Disable`: not enabled
	EnableReadWriteSplitting *string `pulumi:"enableReadWriteSplitting"`
	// Instance connection terminal ID
	EndpointId *string `pulumi:"endpointId"`
	// Instance connection terminal name
	EndpointName *string `pulumi:"endpointName"`
	// Endpoint type:   - `Cluster`: Default endpoint (created by default)   - `Custom`: Custom endpoint
	EndpointType *string `pulumi:"endpointType"`
	// Read-only weight allocation mode. Options:   - `Default`: Standard weight allocation (default).   - `Custom`: Custom weight allocation
	ReadOnlyNodeDistributionType *string `pulumi:"readOnlyNodeDistributionType"`
	// Maximum latency threshold for read-only nodes. If a read-only node's latency exceeds this value, read traffic will not be sent to that node. Unit: seconds. Range: 0~3600. Default: 30.
	// **Note:** This parameter can be set for the default endpoint when read/write splitting is enabled.
	ReadOnlyNodeMaxDelayTime *float64 `pulumi:"readOnlyNodeMaxDelayTime"`
	// List of nodes configured for the endpoint and their corresponding read-only weights.
	// Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
	ReadOnlyNodeWeights []InstanceEndpointReadOnlyNodeWeight `pulumi:"readOnlyNodeWeights"`
	// Read/write mode:   - `ReadWrite`: Read/write   - `ReadOnly`: Read-only
	ReadWriteMode *string `pulumi:"readWriteMode"`
	// After read/write splitting is enabled for the terminal, set the number of proxy connections for the terminal.   - The minimum value for proxy connections is 20.   - The maximum value depends on the specification of the instance's primary node. Different specifications support different maximum proxy connections. For details, see [Product Specifications]
	ReadWriteProxyConnection *float64 `pulumi:"readWriteProxyConnection"`
	// Whether the endpoint sends write requests to the write node (currently, only the primary node is the write node). Value:   - `true`: Yes. (Default)   - `false`: No
	WriteNodeHaltWriting *bool `pulumi:"writeNodeHaltWriting"`
}

type InstanceEndpointAddress added in v0.0.23

type InstanceEndpointAddress struct {
	// Private network address accessible across regions
	CrossRegionDomain *string `pulumi:"crossRegionDomain"`
	// Enable public network resolution. Values:   - false: default, private network resolution   - true: private and public network resolution
	DnsVisibility *bool `pulumi:"dnsVisibility"`
	// Connection domain name
	Domain *string `pulumi:"domain"`
	// Private network address type. Values: LocalDomain: local region domain name CrossRegionDomain: cross-region accessible domain name
	DomainVisibilitySetting *string `pulumi:"domainVisibilitySetting"`
	// EIP ID, valid only for Public addresses
	EipId *string `pulumi:"eipId"`
	// IP address
	IpAddress *string `pulumi:"ipAddress"`
	// Network address type. Value:   - `Private`: Private network address   - `Public`: Public network address   - `Inner`: Public service zone address
	NetworkType *string `pulumi:"networkType"`
	// Port.
	Port *string `pulumi:"port"`
	// Subnet ID
	SubnetId *string `pulumi:"subnetId"`
}

type InstanceEndpointAddressArgs added in v0.0.23

type InstanceEndpointAddressArgs struct {
	// Private network address accessible across regions
	CrossRegionDomain pulumi.StringPtrInput `pulumi:"crossRegionDomain"`
	// Enable public network resolution. Values:   - false: default, private network resolution   - true: private and public network resolution
	DnsVisibility pulumi.BoolPtrInput `pulumi:"dnsVisibility"`
	// Connection domain name
	Domain pulumi.StringPtrInput `pulumi:"domain"`
	// Private network address type. Values: LocalDomain: local region domain name CrossRegionDomain: cross-region accessible domain name
	DomainVisibilitySetting pulumi.StringPtrInput `pulumi:"domainVisibilitySetting"`
	// EIP ID, valid only for Public addresses
	EipId pulumi.StringPtrInput `pulumi:"eipId"`
	// IP address
	IpAddress pulumi.StringPtrInput `pulumi:"ipAddress"`
	// Network address type. Value:   - `Private`: Private network address   - `Public`: Public network address   - `Inner`: Public service zone address
	NetworkType pulumi.StringPtrInput `pulumi:"networkType"`
	// Port.
	Port pulumi.StringPtrInput `pulumi:"port"`
	// Subnet ID
	SubnetId pulumi.StringPtrInput `pulumi:"subnetId"`
}

func (InstanceEndpointAddressArgs) ElementType added in v0.0.23

func (InstanceEndpointAddressArgs) ToInstanceEndpointAddressOutput added in v0.0.23

func (i InstanceEndpointAddressArgs) ToInstanceEndpointAddressOutput() InstanceEndpointAddressOutput

func (InstanceEndpointAddressArgs) ToInstanceEndpointAddressOutputWithContext added in v0.0.23

func (i InstanceEndpointAddressArgs) ToInstanceEndpointAddressOutputWithContext(ctx context.Context) InstanceEndpointAddressOutput

type InstanceEndpointAddressArray added in v0.0.23

type InstanceEndpointAddressArray []InstanceEndpointAddressInput

func (InstanceEndpointAddressArray) ElementType added in v0.0.23

func (InstanceEndpointAddressArray) ToInstanceEndpointAddressArrayOutput added in v0.0.23

func (i InstanceEndpointAddressArray) ToInstanceEndpointAddressArrayOutput() InstanceEndpointAddressArrayOutput

func (InstanceEndpointAddressArray) ToInstanceEndpointAddressArrayOutputWithContext added in v0.0.23

func (i InstanceEndpointAddressArray) ToInstanceEndpointAddressArrayOutputWithContext(ctx context.Context) InstanceEndpointAddressArrayOutput

type InstanceEndpointAddressArrayInput added in v0.0.23

type InstanceEndpointAddressArrayInput interface {
	pulumi.Input

	ToInstanceEndpointAddressArrayOutput() InstanceEndpointAddressArrayOutput
	ToInstanceEndpointAddressArrayOutputWithContext(context.Context) InstanceEndpointAddressArrayOutput
}

InstanceEndpointAddressArrayInput is an input type that accepts InstanceEndpointAddressArray and InstanceEndpointAddressArrayOutput values. You can construct a concrete instance of `InstanceEndpointAddressArrayInput` via:

InstanceEndpointAddressArray{ InstanceEndpointAddressArgs{...} }

type InstanceEndpointAddressArrayOutput added in v0.0.23

type InstanceEndpointAddressArrayOutput struct{ *pulumi.OutputState }

func (InstanceEndpointAddressArrayOutput) ElementType added in v0.0.23

func (InstanceEndpointAddressArrayOutput) Index added in v0.0.23

func (InstanceEndpointAddressArrayOutput) ToInstanceEndpointAddressArrayOutput added in v0.0.23

func (o InstanceEndpointAddressArrayOutput) ToInstanceEndpointAddressArrayOutput() InstanceEndpointAddressArrayOutput

func (InstanceEndpointAddressArrayOutput) ToInstanceEndpointAddressArrayOutputWithContext added in v0.0.23

func (o InstanceEndpointAddressArrayOutput) ToInstanceEndpointAddressArrayOutputWithContext(ctx context.Context) InstanceEndpointAddressArrayOutput

type InstanceEndpointAddressInput added in v0.0.23

type InstanceEndpointAddressInput interface {
	pulumi.Input

	ToInstanceEndpointAddressOutput() InstanceEndpointAddressOutput
	ToInstanceEndpointAddressOutputWithContext(context.Context) InstanceEndpointAddressOutput
}

InstanceEndpointAddressInput is an input type that accepts InstanceEndpointAddressArgs and InstanceEndpointAddressOutput values. You can construct a concrete instance of `InstanceEndpointAddressInput` via:

InstanceEndpointAddressArgs{...}

type InstanceEndpointAddressOutput added in v0.0.23

type InstanceEndpointAddressOutput struct{ *pulumi.OutputState }

func (InstanceEndpointAddressOutput) CrossRegionDomain added in v0.0.23

Private network address accessible across regions

func (InstanceEndpointAddressOutput) DnsVisibility added in v0.0.23

Enable public network resolution. Values: - false: default, private network resolution - true: private and public network resolution

func (InstanceEndpointAddressOutput) Domain added in v0.0.23

Connection domain name

func (InstanceEndpointAddressOutput) DomainVisibilitySetting added in v0.0.23

func (o InstanceEndpointAddressOutput) DomainVisibilitySetting() pulumi.StringPtrOutput

Private network address type. Values: LocalDomain: local region domain name CrossRegionDomain: cross-region accessible domain name

func (InstanceEndpointAddressOutput) EipId added in v0.0.23

EIP ID, valid only for Public addresses

func (InstanceEndpointAddressOutput) ElementType added in v0.0.23

func (InstanceEndpointAddressOutput) IpAddress added in v0.0.23

IP address

func (InstanceEndpointAddressOutput) NetworkType added in v0.0.23

Network address type. Value: - `Private`: Private network address - `Public`: Public network address - `Inner`: Public service zone address

func (InstanceEndpointAddressOutput) Port added in v0.0.23

Port.

func (InstanceEndpointAddressOutput) SubnetId added in v0.0.23

Subnet ID

func (InstanceEndpointAddressOutput) ToInstanceEndpointAddressOutput added in v0.0.23

func (o InstanceEndpointAddressOutput) ToInstanceEndpointAddressOutput() InstanceEndpointAddressOutput

func (InstanceEndpointAddressOutput) ToInstanceEndpointAddressOutputWithContext added in v0.0.23

func (o InstanceEndpointAddressOutput) ToInstanceEndpointAddressOutputWithContext(ctx context.Context) InstanceEndpointAddressOutput

type InstanceEndpointArgs added in v0.0.23

type InstanceEndpointArgs struct {
	// Address list.
	// Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
	Addresses InstanceEndpointAddressArrayInput `pulumi:"addresses"`
	// When the terminal type is read-write or read-only, you can set whether new nodes join automatically. Values:   - `Enable`: join automatically   - `Disable`: do not join automatically (default)
	AutoAddNewNodes pulumi.StringPtrInput `pulumi:"autoAddNewNodes"`
	// Address description.
	Description pulumi.StringPtrInput `pulumi:"description"`
	// Enable global read-only mode.   - `Enable`: enabled   - `Disable`: not enabled
	EnableReadOnly pulumi.StringPtrInput `pulumi:"enableReadOnly"`
	// Enable read-write separation. Values:   - `Enable`: enabled   - `Disable`: not enabled
	EnableReadWriteSplitting pulumi.StringPtrInput `pulumi:"enableReadWriteSplitting"`
	// Instance connection terminal ID
	EndpointId pulumi.StringPtrInput `pulumi:"endpointId"`
	// Instance connection terminal name
	EndpointName pulumi.StringPtrInput `pulumi:"endpointName"`
	// Endpoint type:   - `Cluster`: Default endpoint (created by default)   - `Custom`: Custom endpoint
	EndpointType pulumi.StringPtrInput `pulumi:"endpointType"`
	// Read-only weight allocation mode. Options:   - `Default`: Standard weight allocation (default).   - `Custom`: Custom weight allocation
	ReadOnlyNodeDistributionType pulumi.StringPtrInput `pulumi:"readOnlyNodeDistributionType"`
	// Maximum latency threshold for read-only nodes. If a read-only node's latency exceeds this value, read traffic will not be sent to that node. Unit: seconds. Range: 0~3600. Default: 30.
	// **Note:** This parameter can be set for the default endpoint when read/write splitting is enabled.
	ReadOnlyNodeMaxDelayTime pulumi.Float64PtrInput `pulumi:"readOnlyNodeMaxDelayTime"`
	// List of nodes configured for the endpoint and their corresponding read-only weights.
	// Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
	ReadOnlyNodeWeights InstanceEndpointReadOnlyNodeWeightArrayInput `pulumi:"readOnlyNodeWeights"`
	// Read/write mode:   - `ReadWrite`: Read/write   - `ReadOnly`: Read-only
	ReadWriteMode pulumi.StringPtrInput `pulumi:"readWriteMode"`
	// After read/write splitting is enabled for the terminal, set the number of proxy connections for the terminal.   - The minimum value for proxy connections is 20.   - The maximum value depends on the specification of the instance's primary node. Different specifications support different maximum proxy connections. For details, see [Product Specifications]
	ReadWriteProxyConnection pulumi.Float64PtrInput `pulumi:"readWriteProxyConnection"`
	// Whether the endpoint sends write requests to the write node (currently, only the primary node is the write node). Value:   - `true`: Yes. (Default)   - `false`: No
	WriteNodeHaltWriting pulumi.BoolPtrInput `pulumi:"writeNodeHaltWriting"`
}

func (InstanceEndpointArgs) ElementType added in v0.0.23

func (InstanceEndpointArgs) ElementType() reflect.Type

func (InstanceEndpointArgs) ToInstanceEndpointOutput added in v0.0.23

func (i InstanceEndpointArgs) ToInstanceEndpointOutput() InstanceEndpointOutput

func (InstanceEndpointArgs) ToInstanceEndpointOutputWithContext added in v0.0.23

func (i InstanceEndpointArgs) ToInstanceEndpointOutputWithContext(ctx context.Context) InstanceEndpointOutput

type InstanceEndpointArray added in v0.0.23

type InstanceEndpointArray []InstanceEndpointInput

func (InstanceEndpointArray) ElementType added in v0.0.23

func (InstanceEndpointArray) ElementType() reflect.Type

func (InstanceEndpointArray) ToInstanceEndpointArrayOutput added in v0.0.23

func (i InstanceEndpointArray) ToInstanceEndpointArrayOutput() InstanceEndpointArrayOutput

func (InstanceEndpointArray) ToInstanceEndpointArrayOutputWithContext added in v0.0.23

func (i InstanceEndpointArray) ToInstanceEndpointArrayOutputWithContext(ctx context.Context) InstanceEndpointArrayOutput

type InstanceEndpointArrayInput added in v0.0.23

type InstanceEndpointArrayInput interface {
	pulumi.Input

	ToInstanceEndpointArrayOutput() InstanceEndpointArrayOutput
	ToInstanceEndpointArrayOutputWithContext(context.Context) InstanceEndpointArrayOutput
}

InstanceEndpointArrayInput is an input type that accepts InstanceEndpointArray and InstanceEndpointArrayOutput values. You can construct a concrete instance of `InstanceEndpointArrayInput` via:

InstanceEndpointArray{ InstanceEndpointArgs{...} }

type InstanceEndpointArrayOutput added in v0.0.23

type InstanceEndpointArrayOutput struct{ *pulumi.OutputState }

func (InstanceEndpointArrayOutput) ElementType added in v0.0.23

func (InstanceEndpointArrayOutput) Index added in v0.0.23

func (InstanceEndpointArrayOutput) ToInstanceEndpointArrayOutput added in v0.0.23

func (o InstanceEndpointArrayOutput) ToInstanceEndpointArrayOutput() InstanceEndpointArrayOutput

func (InstanceEndpointArrayOutput) ToInstanceEndpointArrayOutputWithContext added in v0.0.23

func (o InstanceEndpointArrayOutput) ToInstanceEndpointArrayOutputWithContext(ctx context.Context) InstanceEndpointArrayOutput

type InstanceEndpointInput added in v0.0.23

type InstanceEndpointInput interface {
	pulumi.Input

	ToInstanceEndpointOutput() InstanceEndpointOutput
	ToInstanceEndpointOutputWithContext(context.Context) InstanceEndpointOutput
}

InstanceEndpointInput is an input type that accepts InstanceEndpointArgs and InstanceEndpointOutput values. You can construct a concrete instance of `InstanceEndpointInput` via:

InstanceEndpointArgs{...}

type InstanceEndpointOutput added in v0.0.23

type InstanceEndpointOutput struct{ *pulumi.OutputState }

func (InstanceEndpointOutput) Addresses added in v0.0.23

Address list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.

func (InstanceEndpointOutput) AutoAddNewNodes added in v0.0.23

func (o InstanceEndpointOutput) AutoAddNewNodes() pulumi.StringPtrOutput

When the terminal type is read-write or read-only, you can set whether new nodes join automatically. Values: - `Enable`: join automatically - `Disable`: do not join automatically (default)

func (InstanceEndpointOutput) Description added in v0.0.23

Address description.

func (InstanceEndpointOutput) ElementType added in v0.0.23

func (InstanceEndpointOutput) ElementType() reflect.Type

func (InstanceEndpointOutput) EnableReadOnly added in v0.0.23

func (o InstanceEndpointOutput) EnableReadOnly() pulumi.StringPtrOutput

Enable global read-only mode. - `Enable`: enabled - `Disable`: not enabled

func (InstanceEndpointOutput) EnableReadWriteSplitting added in v0.0.23

func (o InstanceEndpointOutput) EnableReadWriteSplitting() pulumi.StringPtrOutput

Enable read-write separation. Values: - `Enable`: enabled - `Disable`: not enabled

func (InstanceEndpointOutput) EndpointId added in v0.0.23

Instance connection terminal ID

func (InstanceEndpointOutput) EndpointName added in v0.0.23

Instance connection terminal name

func (InstanceEndpointOutput) EndpointType added in v0.0.23

Endpoint type: - `Cluster`: Default endpoint (created by default) - `Custom`: Custom endpoint

func (InstanceEndpointOutput) ReadOnlyNodeDistributionType added in v0.0.23

func (o InstanceEndpointOutput) ReadOnlyNodeDistributionType() pulumi.StringPtrOutput

Read-only weight allocation mode. Options: - `Default`: Standard weight allocation (default). - `Custom`: Custom weight allocation

func (InstanceEndpointOutput) ReadOnlyNodeMaxDelayTime added in v0.0.23

func (o InstanceEndpointOutput) ReadOnlyNodeMaxDelayTime() pulumi.Float64PtrOutput

Maximum latency threshold for read-only nodes. If a read-only node's latency exceeds this value, read traffic will not be sent to that node. Unit: seconds. Range: 0~3600. Default: 30. **Note:** This parameter can be set for the default endpoint when read/write splitting is enabled.

func (InstanceEndpointOutput) ReadOnlyNodeWeights added in v0.0.23

List of nodes configured for the endpoint and their corresponding read-only weights. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.

func (InstanceEndpointOutput) ReadWriteMode added in v0.0.23

func (o InstanceEndpointOutput) ReadWriteMode() pulumi.StringPtrOutput

Read/write mode: - `ReadWrite`: Read/write - `ReadOnly`: Read-only

func (InstanceEndpointOutput) ReadWriteProxyConnection added in v0.0.23

func (o InstanceEndpointOutput) ReadWriteProxyConnection() pulumi.Float64PtrOutput

After read/write splitting is enabled for the terminal, set the number of proxy connections for the terminal. - The minimum value for proxy connections is 20. - The maximum value depends on the specification of the instance's primary node. Different specifications support different maximum proxy connections. For details, see [Product Specifications]

func (InstanceEndpointOutput) ToInstanceEndpointOutput added in v0.0.23

func (o InstanceEndpointOutput) ToInstanceEndpointOutput() InstanceEndpointOutput

func (InstanceEndpointOutput) ToInstanceEndpointOutputWithContext added in v0.0.23

func (o InstanceEndpointOutput) ToInstanceEndpointOutputWithContext(ctx context.Context) InstanceEndpointOutput

func (InstanceEndpointOutput) WriteNodeHaltWriting added in v0.0.23

func (o InstanceEndpointOutput) WriteNodeHaltWriting() pulumi.BoolPtrOutput

Whether the endpoint sends write requests to the write node (currently, only the primary node is the write node). Value: - `true`: Yes. (Default) - `false`: No

type InstanceEndpointReadOnlyNodeWeight added in v0.0.23

type InstanceEndpointReadOnlyNodeWeight struct {
	// Read-only nodes require NodeId
	NodeId *string `pulumi:"nodeId"`
	// Node type
	NodeType *string `pulumi:"nodeType"`
	// Node read weight, increases by 100, maximum value is 10000
	Weight *float64 `pulumi:"weight"`
}

type InstanceEndpointReadOnlyNodeWeightArgs added in v0.0.23

type InstanceEndpointReadOnlyNodeWeightArgs struct {
	// Read-only nodes require NodeId
	NodeId pulumi.StringPtrInput `pulumi:"nodeId"`
	// Node type
	NodeType pulumi.StringPtrInput `pulumi:"nodeType"`
	// Node read weight, increases by 100, maximum value is 10000
	Weight pulumi.Float64PtrInput `pulumi:"weight"`
}

func (InstanceEndpointReadOnlyNodeWeightArgs) ElementType added in v0.0.23

func (InstanceEndpointReadOnlyNodeWeightArgs) ToInstanceEndpointReadOnlyNodeWeightOutput added in v0.0.23

func (i InstanceEndpointReadOnlyNodeWeightArgs) ToInstanceEndpointReadOnlyNodeWeightOutput() InstanceEndpointReadOnlyNodeWeightOutput

func (InstanceEndpointReadOnlyNodeWeightArgs) ToInstanceEndpointReadOnlyNodeWeightOutputWithContext added in v0.0.23

func (i InstanceEndpointReadOnlyNodeWeightArgs) ToInstanceEndpointReadOnlyNodeWeightOutputWithContext(ctx context.Context) InstanceEndpointReadOnlyNodeWeightOutput

type InstanceEndpointReadOnlyNodeWeightArray added in v0.0.23

type InstanceEndpointReadOnlyNodeWeightArray []InstanceEndpointReadOnlyNodeWeightInput

func (InstanceEndpointReadOnlyNodeWeightArray) ElementType added in v0.0.23

func (InstanceEndpointReadOnlyNodeWeightArray) ToInstanceEndpointReadOnlyNodeWeightArrayOutput added in v0.0.23

func (i InstanceEndpointReadOnlyNodeWeightArray) ToInstanceEndpointReadOnlyNodeWeightArrayOutput() InstanceEndpointReadOnlyNodeWeightArrayOutput

func (InstanceEndpointReadOnlyNodeWeightArray) ToInstanceEndpointReadOnlyNodeWeightArrayOutputWithContext added in v0.0.23

func (i InstanceEndpointReadOnlyNodeWeightArray) ToInstanceEndpointReadOnlyNodeWeightArrayOutputWithContext(ctx context.Context) InstanceEndpointReadOnlyNodeWeightArrayOutput

type InstanceEndpointReadOnlyNodeWeightArrayInput added in v0.0.23

type InstanceEndpointReadOnlyNodeWeightArrayInput interface {
	pulumi.Input

	ToInstanceEndpointReadOnlyNodeWeightArrayOutput() InstanceEndpointReadOnlyNodeWeightArrayOutput
	ToInstanceEndpointReadOnlyNodeWeightArrayOutputWithContext(context.Context) InstanceEndpointReadOnlyNodeWeightArrayOutput
}

InstanceEndpointReadOnlyNodeWeightArrayInput is an input type that accepts InstanceEndpointReadOnlyNodeWeightArray and InstanceEndpointReadOnlyNodeWeightArrayOutput values. You can construct a concrete instance of `InstanceEndpointReadOnlyNodeWeightArrayInput` via:

InstanceEndpointReadOnlyNodeWeightArray{ InstanceEndpointReadOnlyNodeWeightArgs{...} }

type InstanceEndpointReadOnlyNodeWeightArrayOutput added in v0.0.23

type InstanceEndpointReadOnlyNodeWeightArrayOutput struct{ *pulumi.OutputState }

func (InstanceEndpointReadOnlyNodeWeightArrayOutput) ElementType added in v0.0.23

func (InstanceEndpointReadOnlyNodeWeightArrayOutput) Index added in v0.0.23

func (InstanceEndpointReadOnlyNodeWeightArrayOutput) ToInstanceEndpointReadOnlyNodeWeightArrayOutput added in v0.0.23

func (o InstanceEndpointReadOnlyNodeWeightArrayOutput) ToInstanceEndpointReadOnlyNodeWeightArrayOutput() InstanceEndpointReadOnlyNodeWeightArrayOutput

func (InstanceEndpointReadOnlyNodeWeightArrayOutput) ToInstanceEndpointReadOnlyNodeWeightArrayOutputWithContext added in v0.0.23

func (o InstanceEndpointReadOnlyNodeWeightArrayOutput) ToInstanceEndpointReadOnlyNodeWeightArrayOutputWithContext(ctx context.Context) InstanceEndpointReadOnlyNodeWeightArrayOutput

type InstanceEndpointReadOnlyNodeWeightInput added in v0.0.23

type InstanceEndpointReadOnlyNodeWeightInput interface {
	pulumi.Input

	ToInstanceEndpointReadOnlyNodeWeightOutput() InstanceEndpointReadOnlyNodeWeightOutput
	ToInstanceEndpointReadOnlyNodeWeightOutputWithContext(context.Context) InstanceEndpointReadOnlyNodeWeightOutput
}

InstanceEndpointReadOnlyNodeWeightInput is an input type that accepts InstanceEndpointReadOnlyNodeWeightArgs and InstanceEndpointReadOnlyNodeWeightOutput values. You can construct a concrete instance of `InstanceEndpointReadOnlyNodeWeightInput` via:

InstanceEndpointReadOnlyNodeWeightArgs{...}

type InstanceEndpointReadOnlyNodeWeightOutput added in v0.0.23

type InstanceEndpointReadOnlyNodeWeightOutput struct{ *pulumi.OutputState }

func (InstanceEndpointReadOnlyNodeWeightOutput) ElementType added in v0.0.23

func (InstanceEndpointReadOnlyNodeWeightOutput) NodeId added in v0.0.23

Read-only nodes require NodeId

func (InstanceEndpointReadOnlyNodeWeightOutput) NodeType added in v0.0.23

Node type

func (InstanceEndpointReadOnlyNodeWeightOutput) ToInstanceEndpointReadOnlyNodeWeightOutput added in v0.0.23

func (o InstanceEndpointReadOnlyNodeWeightOutput) ToInstanceEndpointReadOnlyNodeWeightOutput() InstanceEndpointReadOnlyNodeWeightOutput

func (InstanceEndpointReadOnlyNodeWeightOutput) ToInstanceEndpointReadOnlyNodeWeightOutputWithContext added in v0.0.23

func (o InstanceEndpointReadOnlyNodeWeightOutput) ToInstanceEndpointReadOnlyNodeWeightOutputWithContext(ctx context.Context) InstanceEndpointReadOnlyNodeWeightOutput

func (InstanceEndpointReadOnlyNodeWeightOutput) Weight added in v0.0.23

Node read weight, increases by 100, maximum value is 10000

type InstanceInput added in v0.0.23

type InstanceInput interface {
	pulumi.Input

	ToInstanceOutput() InstanceOutput
	ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
}

type InstanceMaintenanceWindow added in v0.0.23

type InstanceMaintenanceWindow struct {
	// Granularity of the maintenance cycle. Value: Week (week)
	DayKind *string `pulumi:"dayKind"`
	// Detailed information about the instance's maintenance window.
	// Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
	DayOfWeekMaintenanceTimes []InstanceMaintenanceWindowDayOfWeekMaintenanceTime `pulumi:"dayOfWeekMaintenanceTimes"`
}

type InstanceMaintenanceWindowArgs added in v0.0.23

type InstanceMaintenanceWindowArgs struct {
	// Granularity of the maintenance cycle. Value: Week (week)
	DayKind pulumi.StringPtrInput `pulumi:"dayKind"`
	// Detailed information about the instance's maintenance window.
	// Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
	DayOfWeekMaintenanceTimes InstanceMaintenanceWindowDayOfWeekMaintenanceTimeArrayInput `pulumi:"dayOfWeekMaintenanceTimes"`
}

func (InstanceMaintenanceWindowArgs) ElementType added in v0.0.23

func (InstanceMaintenanceWindowArgs) ToInstanceMaintenanceWindowOutput added in v0.0.23

func (i InstanceMaintenanceWindowArgs) ToInstanceMaintenanceWindowOutput() InstanceMaintenanceWindowOutput

func (InstanceMaintenanceWindowArgs) ToInstanceMaintenanceWindowOutputWithContext added in v0.0.23

func (i InstanceMaintenanceWindowArgs) ToInstanceMaintenanceWindowOutputWithContext(ctx context.Context) InstanceMaintenanceWindowOutput

func (InstanceMaintenanceWindowArgs) ToInstanceMaintenanceWindowPtrOutput added in v0.0.23

func (i InstanceMaintenanceWindowArgs) ToInstanceMaintenanceWindowPtrOutput() InstanceMaintenanceWindowPtrOutput

func (InstanceMaintenanceWindowArgs) ToInstanceMaintenanceWindowPtrOutputWithContext added in v0.0.23

func (i InstanceMaintenanceWindowArgs) ToInstanceMaintenanceWindowPtrOutputWithContext(ctx context.Context) InstanceMaintenanceWindowPtrOutput

type InstanceMaintenanceWindowDayOfWeekMaintenanceTime added in v0.0.23

type InstanceMaintenanceWindowDayOfWeekMaintenanceTime struct {
	// Specify maintenance days for the instance each week. Multiple selections allowed. Monday: Monday. Tuesday: Tuesday. Wednesday: Wednesday. Thursday: Thursday. Friday: Friday. Saturday: Saturday. Sunday: Sunday. Note: If not specified or left blank, all seven days are enabled by default.
	DayOfWeek *string `pulumi:"dayOfWeek"`
	// Start time of the maintenance window on the maintenance day. Format: HH:mmZ (UTC time). Currently, only start times between 16:00Z and 20:00Z are supported.
	MaintenanceWindowStartTime *string `pulumi:"maintenanceWindowStartTime"`
	// Duration of the maintenance window on the maintenance day. Minimum duration is 2 hours, maximum is 6 hours.
	Period *int `pulumi:"period"`
}

type InstanceMaintenanceWindowDayOfWeekMaintenanceTimeArgs added in v0.0.23

type InstanceMaintenanceWindowDayOfWeekMaintenanceTimeArgs struct {
	// Specify maintenance days for the instance each week. Multiple selections allowed. Monday: Monday. Tuesday: Tuesday. Wednesday: Wednesday. Thursday: Thursday. Friday: Friday. Saturday: Saturday. Sunday: Sunday. Note: If not specified or left blank, all seven days are enabled by default.
	DayOfWeek pulumi.StringPtrInput `pulumi:"dayOfWeek"`
	// Start time of the maintenance window on the maintenance day. Format: HH:mmZ (UTC time). Currently, only start times between 16:00Z and 20:00Z are supported.
	MaintenanceWindowStartTime pulumi.StringPtrInput `pulumi:"maintenanceWindowStartTime"`
	// Duration of the maintenance window on the maintenance day. Minimum duration is 2 hours, maximum is 6 hours.
	Period pulumi.IntPtrInput `pulumi:"period"`
}

func (InstanceMaintenanceWindowDayOfWeekMaintenanceTimeArgs) ElementType added in v0.0.23

func (InstanceMaintenanceWindowDayOfWeekMaintenanceTimeArgs) ToInstanceMaintenanceWindowDayOfWeekMaintenanceTimeOutput added in v0.0.23

func (i InstanceMaintenanceWindowDayOfWeekMaintenanceTimeArgs) ToInstanceMaintenanceWindowDayOfWeekMaintenanceTimeOutput() InstanceMaintenanceWindowDayOfWeekMaintenanceTimeOutput

func (InstanceMaintenanceWindowDayOfWeekMaintenanceTimeArgs) ToInstanceMaintenanceWindowDayOfWeekMaintenanceTimeOutputWithContext added in v0.0.23

func (i InstanceMaintenanceWindowDayOfWeekMaintenanceTimeArgs) ToInstanceMaintenanceWindowDayOfWeekMaintenanceTimeOutputWithContext(ctx context.Context) InstanceMaintenanceWindowDayOfWeekMaintenanceTimeOutput

type InstanceMaintenanceWindowDayOfWeekMaintenanceTimeArray added in v0.0.23

type InstanceMaintenanceWindowDayOfWeekMaintenanceTimeArray []InstanceMaintenanceWindowDayOfWeekMaintenanceTimeInput

func (InstanceMaintenanceWindowDayOfWeekMaintenanceTimeArray) ElementType added in v0.0.23

func (InstanceMaintenanceWindowDayOfWeekMaintenanceTimeArray) ToInstanceMaintenanceWindowDayOfWeekMaintenanceTimeArrayOutput added in v0.0.23

func (i InstanceMaintenanceWindowDayOfWeekMaintenanceTimeArray) ToInstanceMaintenanceWindowDayOfWeekMaintenanceTimeArrayOutput() InstanceMaintenanceWindowDayOfWeekMaintenanceTimeArrayOutput

func (InstanceMaintenanceWindowDayOfWeekMaintenanceTimeArray) ToInstanceMaintenanceWindowDayOfWeekMaintenanceTimeArrayOutputWithContext added in v0.0.23

func (i InstanceMaintenanceWindowDayOfWeekMaintenanceTimeArray) ToInstanceMaintenanceWindowDayOfWeekMaintenanceTimeArrayOutputWithContext(ctx context.Context) InstanceMaintenanceWindowDayOfWeekMaintenanceTimeArrayOutput

type InstanceMaintenanceWindowDayOfWeekMaintenanceTimeArrayInput added in v0.0.23

type InstanceMaintenanceWindowDayOfWeekMaintenanceTimeArrayInput interface {
	pulumi.Input

	ToInstanceMaintenanceWindowDayOfWeekMaintenanceTimeArrayOutput() InstanceMaintenanceWindowDayOfWeekMaintenanceTimeArrayOutput
	ToInstanceMaintenanceWindowDayOfWeekMaintenanceTimeArrayOutputWithContext(context.Context) InstanceMaintenanceWindowDayOfWeekMaintenanceTimeArrayOutput
}

InstanceMaintenanceWindowDayOfWeekMaintenanceTimeArrayInput is an input type that accepts InstanceMaintenanceWindowDayOfWeekMaintenanceTimeArray and InstanceMaintenanceWindowDayOfWeekMaintenanceTimeArrayOutput values. You can construct a concrete instance of `InstanceMaintenanceWindowDayOfWeekMaintenanceTimeArrayInput` via:

InstanceMaintenanceWindowDayOfWeekMaintenanceTimeArray{ InstanceMaintenanceWindowDayOfWeekMaintenanceTimeArgs{...} }

type InstanceMaintenanceWindowDayOfWeekMaintenanceTimeArrayOutput added in v0.0.23

type InstanceMaintenanceWindowDayOfWeekMaintenanceTimeArrayOutput struct{ *pulumi.OutputState }

func (InstanceMaintenanceWindowDayOfWeekMaintenanceTimeArrayOutput) ElementType added in v0.0.23

func (InstanceMaintenanceWindowDayOfWeekMaintenanceTimeArrayOutput) Index added in v0.0.23

func (InstanceMaintenanceWindowDayOfWeekMaintenanceTimeArrayOutput) ToInstanceMaintenanceWindowDayOfWeekMaintenanceTimeArrayOutput added in v0.0.23

func (InstanceMaintenanceWindowDayOfWeekMaintenanceTimeArrayOutput) ToInstanceMaintenanceWindowDayOfWeekMaintenanceTimeArrayOutputWithContext added in v0.0.23

func (o InstanceMaintenanceWindowDayOfWeekMaintenanceTimeArrayOutput) ToInstanceMaintenanceWindowDayOfWeekMaintenanceTimeArrayOutputWithContext(ctx context.Context) InstanceMaintenanceWindowDayOfWeekMaintenanceTimeArrayOutput

type InstanceMaintenanceWindowDayOfWeekMaintenanceTimeInput added in v0.0.23

type InstanceMaintenanceWindowDayOfWeekMaintenanceTimeInput interface {
	pulumi.Input

	ToInstanceMaintenanceWindowDayOfWeekMaintenanceTimeOutput() InstanceMaintenanceWindowDayOfWeekMaintenanceTimeOutput
	ToInstanceMaintenanceWindowDayOfWeekMaintenanceTimeOutputWithContext(context.Context) InstanceMaintenanceWindowDayOfWeekMaintenanceTimeOutput
}

InstanceMaintenanceWindowDayOfWeekMaintenanceTimeInput is an input type that accepts InstanceMaintenanceWindowDayOfWeekMaintenanceTimeArgs and InstanceMaintenanceWindowDayOfWeekMaintenanceTimeOutput values. You can construct a concrete instance of `InstanceMaintenanceWindowDayOfWeekMaintenanceTimeInput` via:

InstanceMaintenanceWindowDayOfWeekMaintenanceTimeArgs{...}

type InstanceMaintenanceWindowDayOfWeekMaintenanceTimeOutput added in v0.0.23

type InstanceMaintenanceWindowDayOfWeekMaintenanceTimeOutput struct{ *pulumi.OutputState }

func (InstanceMaintenanceWindowDayOfWeekMaintenanceTimeOutput) DayOfWeek added in v0.0.23

Specify maintenance days for the instance each week. Multiple selections allowed. Monday: Monday. Tuesday: Tuesday. Wednesday: Wednesday. Thursday: Thursday. Friday: Friday. Saturday: Saturday. Sunday: Sunday. Note: If not specified or left blank, all seven days are enabled by default.

func (InstanceMaintenanceWindowDayOfWeekMaintenanceTimeOutput) ElementType added in v0.0.23

func (InstanceMaintenanceWindowDayOfWeekMaintenanceTimeOutput) MaintenanceWindowStartTime added in v0.0.23

Start time of the maintenance window on the maintenance day. Format: HH:mmZ (UTC time). Currently, only start times between 16:00Z and 20:00Z are supported.

func (InstanceMaintenanceWindowDayOfWeekMaintenanceTimeOutput) Period added in v0.0.23

Duration of the maintenance window on the maintenance day. Minimum duration is 2 hours, maximum is 6 hours.

func (InstanceMaintenanceWindowDayOfWeekMaintenanceTimeOutput) ToInstanceMaintenanceWindowDayOfWeekMaintenanceTimeOutput added in v0.0.23

func (InstanceMaintenanceWindowDayOfWeekMaintenanceTimeOutput) ToInstanceMaintenanceWindowDayOfWeekMaintenanceTimeOutputWithContext added in v0.0.23

func (o InstanceMaintenanceWindowDayOfWeekMaintenanceTimeOutput) ToInstanceMaintenanceWindowDayOfWeekMaintenanceTimeOutputWithContext(ctx context.Context) InstanceMaintenanceWindowDayOfWeekMaintenanceTimeOutput

type InstanceMaintenanceWindowInput added in v0.0.23

type InstanceMaintenanceWindowInput interface {
	pulumi.Input

	ToInstanceMaintenanceWindowOutput() InstanceMaintenanceWindowOutput
	ToInstanceMaintenanceWindowOutputWithContext(context.Context) InstanceMaintenanceWindowOutput
}

InstanceMaintenanceWindowInput is an input type that accepts InstanceMaintenanceWindowArgs and InstanceMaintenanceWindowOutput values. You can construct a concrete instance of `InstanceMaintenanceWindowInput` via:

InstanceMaintenanceWindowArgs{...}

type InstanceMaintenanceWindowOutput added in v0.0.23

type InstanceMaintenanceWindowOutput struct{ *pulumi.OutputState }

func (InstanceMaintenanceWindowOutput) DayKind added in v0.0.23

Granularity of the maintenance cycle. Value: Week (week)

func (InstanceMaintenanceWindowOutput) DayOfWeekMaintenanceTimes added in v0.0.23

Detailed information about the instance's maintenance window. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.

func (InstanceMaintenanceWindowOutput) ElementType added in v0.0.23

func (InstanceMaintenanceWindowOutput) ToInstanceMaintenanceWindowOutput added in v0.0.23

func (o InstanceMaintenanceWindowOutput) ToInstanceMaintenanceWindowOutput() InstanceMaintenanceWindowOutput

func (InstanceMaintenanceWindowOutput) ToInstanceMaintenanceWindowOutputWithContext added in v0.0.23

func (o InstanceMaintenanceWindowOutput) ToInstanceMaintenanceWindowOutputWithContext(ctx context.Context) InstanceMaintenanceWindowOutput

func (InstanceMaintenanceWindowOutput) ToInstanceMaintenanceWindowPtrOutput added in v0.0.23

func (o InstanceMaintenanceWindowOutput) ToInstanceMaintenanceWindowPtrOutput() InstanceMaintenanceWindowPtrOutput

func (InstanceMaintenanceWindowOutput) ToInstanceMaintenanceWindowPtrOutputWithContext added in v0.0.23

func (o InstanceMaintenanceWindowOutput) ToInstanceMaintenanceWindowPtrOutputWithContext(ctx context.Context) InstanceMaintenanceWindowPtrOutput

type InstanceMaintenanceWindowPtrInput added in v0.0.23

type InstanceMaintenanceWindowPtrInput interface {
	pulumi.Input

	ToInstanceMaintenanceWindowPtrOutput() InstanceMaintenanceWindowPtrOutput
	ToInstanceMaintenanceWindowPtrOutputWithContext(context.Context) InstanceMaintenanceWindowPtrOutput
}

InstanceMaintenanceWindowPtrInput is an input type that accepts InstanceMaintenanceWindowArgs, InstanceMaintenanceWindowPtr and InstanceMaintenanceWindowPtrOutput values. You can construct a concrete instance of `InstanceMaintenanceWindowPtrInput` via:

        InstanceMaintenanceWindowArgs{...}

or:

        nil

func InstanceMaintenanceWindowPtr added in v0.0.23

type InstanceMaintenanceWindowPtrOutput added in v0.0.23

type InstanceMaintenanceWindowPtrOutput struct{ *pulumi.OutputState }

func (InstanceMaintenanceWindowPtrOutput) DayKind added in v0.0.23

Granularity of the maintenance cycle. Value: Week (week)

func (InstanceMaintenanceWindowPtrOutput) DayOfWeekMaintenanceTimes added in v0.0.23

Detailed information about the instance's maintenance window. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.

func (InstanceMaintenanceWindowPtrOutput) Elem added in v0.0.23

func (InstanceMaintenanceWindowPtrOutput) ElementType added in v0.0.23

func (InstanceMaintenanceWindowPtrOutput) ToInstanceMaintenanceWindowPtrOutput added in v0.0.23

func (o InstanceMaintenanceWindowPtrOutput) ToInstanceMaintenanceWindowPtrOutput() InstanceMaintenanceWindowPtrOutput

func (InstanceMaintenanceWindowPtrOutput) ToInstanceMaintenanceWindowPtrOutputWithContext added in v0.0.23

func (o InstanceMaintenanceWindowPtrOutput) ToInstanceMaintenanceWindowPtrOutputWithContext(ctx context.Context) InstanceMaintenanceWindowPtrOutput

type InstanceMap added in v0.0.23

type InstanceMap map[string]InstanceInput

func (InstanceMap) ElementType added in v0.0.23

func (InstanceMap) ElementType() reflect.Type

func (InstanceMap) ToInstanceMapOutput added in v0.0.23

func (i InstanceMap) ToInstanceMapOutput() InstanceMapOutput

func (InstanceMap) ToInstanceMapOutputWithContext added in v0.0.23

func (i InstanceMap) ToInstanceMapOutputWithContext(ctx context.Context) InstanceMapOutput

type InstanceMapInput added in v0.0.23

type InstanceMapInput interface {
	pulumi.Input

	ToInstanceMapOutput() InstanceMapOutput
	ToInstanceMapOutputWithContext(context.Context) InstanceMapOutput
}

InstanceMapInput is an input type that accepts InstanceMap and InstanceMapOutput values. You can construct a concrete instance of `InstanceMapInput` via:

InstanceMap{ "key": InstanceArgs{...} }

type InstanceMapOutput added in v0.0.23

type InstanceMapOutput struct{ *pulumi.OutputState }

func (InstanceMapOutput) ElementType added in v0.0.23

func (InstanceMapOutput) ElementType() reflect.Type

func (InstanceMapOutput) MapIndex added in v0.0.23

func (InstanceMapOutput) ToInstanceMapOutput added in v0.0.23

func (o InstanceMapOutput) ToInstanceMapOutput() InstanceMapOutput

func (InstanceMapOutput) ToInstanceMapOutputWithContext added in v0.0.23

func (o InstanceMapOutput) ToInstanceMapOutputWithContext(ctx context.Context) InstanceMapOutput

type InstanceNodeInfo added in v0.0.23

type InstanceNodeInfo struct {
	// Node creation time. Format: yyyy-MM-ddTHH:mm:ss.sssZ (UTC time)
	CreateTime *string `pulumi:"createTime"`
	// Instance ID
	InstanceId *string `pulumi:"instanceId"`
	// Memory size, unit: GB
	Memory *float64 `pulumi:"memory"`
	// Node ID
	NodeId *string `pulumi:"nodeId"`
	// Node specification
	NodeSpec string `pulumi:"nodeSpec"`
	// Node status
	NodeStatus *string `pulumi:"nodeStatus"`
	// Node type
	NodeType string `pulumi:"nodeType"`
	// Region ID
	RegionId *string `pulumi:"regionId"`
	// Node update time. Format: yyyy-MM-ddTHH:mm:ss.sssZ (UTC time)
	UpdateTime *string `pulumi:"updateTime"`
	// CPU size. For example: 1 means 1U
	Vcpu *float64 `pulumi:"vcpu"`
	// Availability zone of the node
	ZoneId string `pulumi:"zoneId"`
}

type InstanceNodeInfoArgs added in v0.0.23

type InstanceNodeInfoArgs struct {
	// Node creation time. Format: yyyy-MM-ddTHH:mm:ss.sssZ (UTC time)
	CreateTime pulumi.StringPtrInput `pulumi:"createTime"`
	// Instance ID
	InstanceId pulumi.StringPtrInput `pulumi:"instanceId"`
	// Memory size, unit: GB
	Memory pulumi.Float64PtrInput `pulumi:"memory"`
	// Node ID
	NodeId pulumi.StringPtrInput `pulumi:"nodeId"`
	// Node specification
	NodeSpec pulumi.StringInput `pulumi:"nodeSpec"`
	// Node status
	NodeStatus pulumi.StringPtrInput `pulumi:"nodeStatus"`
	// Node type
	NodeType pulumi.StringInput `pulumi:"nodeType"`
	// Region ID
	RegionId pulumi.StringPtrInput `pulumi:"regionId"`
	// Node update time. Format: yyyy-MM-ddTHH:mm:ss.sssZ (UTC time)
	UpdateTime pulumi.StringPtrInput `pulumi:"updateTime"`
	// CPU size. For example: 1 means 1U
	Vcpu pulumi.Float64PtrInput `pulumi:"vcpu"`
	// Availability zone of the node
	ZoneId pulumi.StringInput `pulumi:"zoneId"`
}

func (InstanceNodeInfoArgs) ElementType added in v0.0.23

func (InstanceNodeInfoArgs) ElementType() reflect.Type

func (InstanceNodeInfoArgs) ToInstanceNodeInfoOutput added in v0.0.23

func (i InstanceNodeInfoArgs) ToInstanceNodeInfoOutput() InstanceNodeInfoOutput

func (InstanceNodeInfoArgs) ToInstanceNodeInfoOutputWithContext added in v0.0.23

func (i InstanceNodeInfoArgs) ToInstanceNodeInfoOutputWithContext(ctx context.Context) InstanceNodeInfoOutput

type InstanceNodeInfoArray added in v0.0.23

type InstanceNodeInfoArray []InstanceNodeInfoInput

func (InstanceNodeInfoArray) ElementType added in v0.0.23

func (InstanceNodeInfoArray) ElementType() reflect.Type

func (InstanceNodeInfoArray) ToInstanceNodeInfoArrayOutput added in v0.0.23

func (i InstanceNodeInfoArray) ToInstanceNodeInfoArrayOutput() InstanceNodeInfoArrayOutput

func (InstanceNodeInfoArray) ToInstanceNodeInfoArrayOutputWithContext added in v0.0.23

func (i InstanceNodeInfoArray) ToInstanceNodeInfoArrayOutputWithContext(ctx context.Context) InstanceNodeInfoArrayOutput

type InstanceNodeInfoArrayInput added in v0.0.23

type InstanceNodeInfoArrayInput interface {
	pulumi.Input

	ToInstanceNodeInfoArrayOutput() InstanceNodeInfoArrayOutput
	ToInstanceNodeInfoArrayOutputWithContext(context.Context) InstanceNodeInfoArrayOutput
}

InstanceNodeInfoArrayInput is an input type that accepts InstanceNodeInfoArray and InstanceNodeInfoArrayOutput values. You can construct a concrete instance of `InstanceNodeInfoArrayInput` via:

InstanceNodeInfoArray{ InstanceNodeInfoArgs{...} }

type InstanceNodeInfoArrayOutput added in v0.0.23

type InstanceNodeInfoArrayOutput struct{ *pulumi.OutputState }

func (InstanceNodeInfoArrayOutput) ElementType added in v0.0.23

func (InstanceNodeInfoArrayOutput) Index added in v0.0.23

func (InstanceNodeInfoArrayOutput) ToInstanceNodeInfoArrayOutput added in v0.0.23

func (o InstanceNodeInfoArrayOutput) ToInstanceNodeInfoArrayOutput() InstanceNodeInfoArrayOutput

func (InstanceNodeInfoArrayOutput) ToInstanceNodeInfoArrayOutputWithContext added in v0.0.23

func (o InstanceNodeInfoArrayOutput) ToInstanceNodeInfoArrayOutputWithContext(ctx context.Context) InstanceNodeInfoArrayOutput

type InstanceNodeInfoInput added in v0.0.23

type InstanceNodeInfoInput interface {
	pulumi.Input

	ToInstanceNodeInfoOutput() InstanceNodeInfoOutput
	ToInstanceNodeInfoOutputWithContext(context.Context) InstanceNodeInfoOutput
}

InstanceNodeInfoInput is an input type that accepts InstanceNodeInfoArgs and InstanceNodeInfoOutput values. You can construct a concrete instance of `InstanceNodeInfoInput` via:

InstanceNodeInfoArgs{...}

type InstanceNodeInfoOutput added in v0.0.23

type InstanceNodeInfoOutput struct{ *pulumi.OutputState }

func (InstanceNodeInfoOutput) CreateTime added in v0.0.23

Node creation time. Format: yyyy-MM-ddTHH:mm:ss.sssZ (UTC time)

func (InstanceNodeInfoOutput) ElementType added in v0.0.23

func (InstanceNodeInfoOutput) ElementType() reflect.Type

func (InstanceNodeInfoOutput) InstanceId added in v0.0.23

Instance ID

func (InstanceNodeInfoOutput) Memory added in v0.0.23

Memory size, unit: GB

func (InstanceNodeInfoOutput) NodeId added in v0.0.23

Node ID

func (InstanceNodeInfoOutput) NodeSpec added in v0.0.23

Node specification

func (InstanceNodeInfoOutput) NodeStatus added in v0.0.23

Node status

func (InstanceNodeInfoOutput) NodeType added in v0.0.23

Node type

func (InstanceNodeInfoOutput) RegionId added in v0.0.23

Region ID

func (InstanceNodeInfoOutput) ToInstanceNodeInfoOutput added in v0.0.23

func (o InstanceNodeInfoOutput) ToInstanceNodeInfoOutput() InstanceNodeInfoOutput

func (InstanceNodeInfoOutput) ToInstanceNodeInfoOutputWithContext added in v0.0.23

func (o InstanceNodeInfoOutput) ToInstanceNodeInfoOutputWithContext(ctx context.Context) InstanceNodeInfoOutput

func (InstanceNodeInfoOutput) UpdateTime added in v0.0.23

Node update time. Format: yyyy-MM-ddTHH:mm:ss.sssZ (UTC time)

func (InstanceNodeInfoOutput) Vcpu added in v0.0.23

CPU size. For example: 1 means 1U

func (InstanceNodeInfoOutput) ZoneId added in v0.0.23

Availability zone of the node

type InstanceOutput added in v0.0.23

type InstanceOutput struct{ *pulumi.OutputState }

func (InstanceOutput) AllowListIds added in v0.0.23

func (o InstanceOutput) AllowListIds() pulumi.StringArrayOutput

Allowlist ID. To bind multiple allowlists, separate allowlist IDs with commas (,). An instance can bind up to 100 allowlists.

func (InstanceOutput) ChargeDetail added in v0.0.23

func (o InstanceOutput) ChargeDetail() InstanceChargeDetailOutput

Payment method

func (InstanceOutput) CreateTime added in v0.0.23

func (o InstanceOutput) CreateTime() pulumi.StringOutput

Instance creation time

func (InstanceOutput) DataSyncMode added in v0.0.23

func (o InstanceOutput) DataSyncMode() pulumi.StringOutput

Synchronization mode. Value: Async (asynchronous synchronization)

func (InstanceOutput) DbEngineVersion added in v0.0.23

func (o InstanceOutput) DbEngineVersion() pulumi.StringOutput

Compatible version

func (InstanceOutput) ElementType added in v0.0.23

func (InstanceOutput) ElementType() reflect.Type

func (InstanceOutput) Endpoints added in v0.0.23

Instance connection information Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.

func (InstanceOutput) InstanceId added in v0.0.23

func (o InstanceOutput) InstanceId() pulumi.StringOutput

Instance ID

func (InstanceOutput) InstanceName added in v0.0.23

func (o InstanceOutput) InstanceName() pulumi.StringOutput

Instance name

func (InstanceOutput) InstanceStatus added in v0.0.23

func (o InstanceOutput) InstanceStatus() pulumi.StringOutput

Instance status

func (InstanceOutput) InstanceType added in v0.0.23

func (o InstanceOutput) InstanceType() pulumi.StringOutput

Instance type. Value: HA (high availability edition)

func (InstanceOutput) KmsTrn

func (o InstanceOutput) KmsTrn() pulumi.StringOutput

KMS key ring TRN, format: trn:kms:\n\n:\n\n:keyrings/\n\n/keys/\n\n. This parameter is required when TDEEnable is true.

func (InstanceOutput) MaintenanceWindow added in v0.0.23

func (o InstanceOutput) MaintenanceWindow() InstanceMaintenanceWindowOutput

Instance maintenance window

func (InstanceOutput) Memory added in v0.0.23

func (o InstanceOutput) Memory() pulumi.Float64Output

Memory size, unit: GB

func (InstanceOutput) NodeInfos added in v0.0.23

Instance specification configuration Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.

func (InstanceOutput) NodeNumber added in v0.0.23

func (o InstanceOutput) NodeNumber() pulumi.Float64Output

Number of nodes

func (InstanceOutput) NodeSpec added in v0.0.23

func (o InstanceOutput) NodeSpec() pulumi.StringOutput

Primary node specification

func (InstanceOutput) ProjectName added in v0.0.23

func (o InstanceOutput) ProjectName() pulumi.StringOutput

Project. Default value: default project

func (InstanceOutput) ReplicationSlots added in v0.0.33

Replication slot list for the instance Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.

func (InstanceOutput) RestoreToExistedInstance added in v0.0.33

func (o InstanceOutput) RestoreToExistedInstance() InstanceRestoreToExistedInstanceOutput

Restore backup data to the current instance

func (InstanceOutput) StorageDataUse added in v0.0.23

func (o InstanceOutput) StorageDataUse() pulumi.Float64Output

Data file space used by the primary node. Unit: Byte

func (InstanceOutput) StorageLogUse added in v0.0.23

func (o InstanceOutput) StorageLogUse() pulumi.Float64Output

Log file space used by the primary node. Unit: Byte

func (InstanceOutput) StorageSpace added in v0.0.23

func (o InstanceOutput) StorageSpace() pulumi.Float64Output

Instance storage space. Value range: [20, 3000], unit: GB, increment: 10GB. Default value is 100

func (InstanceOutput) StorageTempUse added in v0.0.23

func (o InstanceOutput) StorageTempUse() pulumi.Float64Output

Temporary file space used by the primary node. Unit: Byte

func (InstanceOutput) StorageType added in v0.0.23

func (o InstanceOutput) StorageType() pulumi.StringOutput

Instance storage type, fixed value LocalSSD (local SSD disk)

func (InstanceOutput) StorageUse added in v0.0.23

func (o InstanceOutput) StorageUse() pulumi.Float64Output

Used storage space of the instance. Unit: Byte

func (InstanceOutput) StorageWalUse added in v0.0.23

func (o InstanceOutput) StorageWalUse() pulumi.Float64Output

Used WAL file space of the instance's primary node. Unit: Byte

func (InstanceOutput) SubnetId added in v0.0.23

func (o InstanceOutput) SubnetId() pulumi.StringOutput

Subnet ID

func (InstanceOutput) Tags added in v0.0.23

Tag information of the cloud disk Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.

func (InstanceOutput) TdeEnable

func (o InstanceOutput) TdeEnable() pulumi.BoolOutput

Specifies whether to enable the Transparent Data Encryption (TDE) feature. The default value is false (disabled). This feature can only be enabled when creating an instance, and is supported only for PostgreSQL 17 with local SSD storage. Once enabled, it cannot be disabled.

func (InstanceOutput) ToInstanceOutput added in v0.0.23

func (o InstanceOutput) ToInstanceOutput() InstanceOutput

func (InstanceOutput) ToInstanceOutputWithContext added in v0.0.23

func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput

func (InstanceOutput) UpdateTime added in v0.0.23

func (o InstanceOutput) UpdateTime() pulumi.StringOutput

Instance update time

func (InstanceOutput) Vcpu added in v0.0.23

CPU size. For example: 1 means 1U

func (InstanceOutput) VpcId added in v0.0.23

Use this parameter to specify the private network for the instance

func (InstanceOutput) ZoneId added in v0.0.23

func (o InstanceOutput) ZoneId() pulumi.StringOutput

Availability zone ID

type InstanceReplicationSlot added in v0.0.33

type InstanceReplicationSlot struct {
	// Database associated with the slot
	Database *string `pulumi:"database"`
	// Connected client IP address
	IpAddress *string `pulumi:"ipAddress"`
	// Plugin used by the slot
	Plugin *string `pulumi:"plugin"`
	// Slot name
	SlotName *string `pulumi:"slotName"`
	// Slot status
	SlotStatus *string `pulumi:"slotStatus"`
	// Slot type
	SlotType *string `pulumi:"slotType"`
	// Whether it is a temporary slot
	Temporary *bool `pulumi:"temporary"`
	// WAL delay size
	WalDelay *int `pulumi:"walDelay"`
}

type InstanceReplicationSlotArgs added in v0.0.33

type InstanceReplicationSlotArgs struct {
	// Database associated with the slot
	Database pulumi.StringPtrInput `pulumi:"database"`
	// Connected client IP address
	IpAddress pulumi.StringPtrInput `pulumi:"ipAddress"`
	// Plugin used by the slot
	Plugin pulumi.StringPtrInput `pulumi:"plugin"`
	// Slot name
	SlotName pulumi.StringPtrInput `pulumi:"slotName"`
	// Slot status
	SlotStatus pulumi.StringPtrInput `pulumi:"slotStatus"`
	// Slot type
	SlotType pulumi.StringPtrInput `pulumi:"slotType"`
	// Whether it is a temporary slot
	Temporary pulumi.BoolPtrInput `pulumi:"temporary"`
	// WAL delay size
	WalDelay pulumi.IntPtrInput `pulumi:"walDelay"`
}

func (InstanceReplicationSlotArgs) ElementType added in v0.0.33

func (InstanceReplicationSlotArgs) ToInstanceReplicationSlotOutput added in v0.0.33

func (i InstanceReplicationSlotArgs) ToInstanceReplicationSlotOutput() InstanceReplicationSlotOutput

func (InstanceReplicationSlotArgs) ToInstanceReplicationSlotOutputWithContext added in v0.0.33

func (i InstanceReplicationSlotArgs) ToInstanceReplicationSlotOutputWithContext(ctx context.Context) InstanceReplicationSlotOutput

type InstanceReplicationSlotArray added in v0.0.33

type InstanceReplicationSlotArray []InstanceReplicationSlotInput

func (InstanceReplicationSlotArray) ElementType added in v0.0.33

func (InstanceReplicationSlotArray) ToInstanceReplicationSlotArrayOutput added in v0.0.33

func (i InstanceReplicationSlotArray) ToInstanceReplicationSlotArrayOutput() InstanceReplicationSlotArrayOutput

func (InstanceReplicationSlotArray) ToInstanceReplicationSlotArrayOutputWithContext added in v0.0.33

func (i InstanceReplicationSlotArray) ToInstanceReplicationSlotArrayOutputWithContext(ctx context.Context) InstanceReplicationSlotArrayOutput

type InstanceReplicationSlotArrayInput added in v0.0.33

type InstanceReplicationSlotArrayInput interface {
	pulumi.Input

	ToInstanceReplicationSlotArrayOutput() InstanceReplicationSlotArrayOutput
	ToInstanceReplicationSlotArrayOutputWithContext(context.Context) InstanceReplicationSlotArrayOutput
}

InstanceReplicationSlotArrayInput is an input type that accepts InstanceReplicationSlotArray and InstanceReplicationSlotArrayOutput values. You can construct a concrete instance of `InstanceReplicationSlotArrayInput` via:

InstanceReplicationSlotArray{ InstanceReplicationSlotArgs{...} }

type InstanceReplicationSlotArrayOutput added in v0.0.33

type InstanceReplicationSlotArrayOutput struct{ *pulumi.OutputState }

func (InstanceReplicationSlotArrayOutput) ElementType added in v0.0.33

func (InstanceReplicationSlotArrayOutput) Index added in v0.0.33

func (InstanceReplicationSlotArrayOutput) ToInstanceReplicationSlotArrayOutput added in v0.0.33

func (o InstanceReplicationSlotArrayOutput) ToInstanceReplicationSlotArrayOutput() InstanceReplicationSlotArrayOutput

func (InstanceReplicationSlotArrayOutput) ToInstanceReplicationSlotArrayOutputWithContext added in v0.0.33

func (o InstanceReplicationSlotArrayOutput) ToInstanceReplicationSlotArrayOutputWithContext(ctx context.Context) InstanceReplicationSlotArrayOutput

type InstanceReplicationSlotInput added in v0.0.33

type InstanceReplicationSlotInput interface {
	pulumi.Input

	ToInstanceReplicationSlotOutput() InstanceReplicationSlotOutput
	ToInstanceReplicationSlotOutputWithContext(context.Context) InstanceReplicationSlotOutput
}

InstanceReplicationSlotInput is an input type that accepts InstanceReplicationSlotArgs and InstanceReplicationSlotOutput values. You can construct a concrete instance of `InstanceReplicationSlotInput` via:

InstanceReplicationSlotArgs{...}

type InstanceReplicationSlotOutput added in v0.0.33

type InstanceReplicationSlotOutput struct{ *pulumi.OutputState }

func (InstanceReplicationSlotOutput) Database added in v0.0.33

Database associated with the slot

func (InstanceReplicationSlotOutput) ElementType added in v0.0.33

func (InstanceReplicationSlotOutput) IpAddress added in v0.0.33

Connected client IP address

func (InstanceReplicationSlotOutput) Plugin added in v0.0.33

Plugin used by the slot

func (InstanceReplicationSlotOutput) SlotName added in v0.0.33

Slot name

func (InstanceReplicationSlotOutput) SlotStatus added in v0.0.33

Slot status

func (InstanceReplicationSlotOutput) SlotType added in v0.0.33

Slot type

func (InstanceReplicationSlotOutput) Temporary added in v0.0.33

Whether it is a temporary slot

func (InstanceReplicationSlotOutput) ToInstanceReplicationSlotOutput added in v0.0.33

func (o InstanceReplicationSlotOutput) ToInstanceReplicationSlotOutput() InstanceReplicationSlotOutput

func (InstanceReplicationSlotOutput) ToInstanceReplicationSlotOutputWithContext added in v0.0.33

func (o InstanceReplicationSlotOutput) ToInstanceReplicationSlotOutputWithContext(ctx context.Context) InstanceReplicationSlotOutput

func (InstanceReplicationSlotOutput) WalDelay added in v0.0.33

WAL delay size

type InstanceRestoreToExistedInstance added in v0.0.33

type InstanceRestoreToExistedInstance struct {
	// Backup set ID
	BackupId *string `pulumi:"backupId"`
	// List of databases to restore
	// Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
	Databases []InstanceRestoreToExistedInstanceDatabase `pulumi:"databases"`
	// Source instance ID
	SourceDbInstanceId *string `pulumi:"sourceDbInstanceId"`
	// Database account for the target instance
	TargetDbInstanceAccount *string `pulumi:"targetDbInstanceAccount"`
}

type InstanceRestoreToExistedInstanceArgs added in v0.0.33

type InstanceRestoreToExistedInstanceArgs struct {
	// Backup set ID
	BackupId pulumi.StringPtrInput `pulumi:"backupId"`
	// List of databases to restore
	// Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
	Databases InstanceRestoreToExistedInstanceDatabaseArrayInput `pulumi:"databases"`
	// Source instance ID
	SourceDbInstanceId pulumi.StringPtrInput `pulumi:"sourceDbInstanceId"`
	// Database account for the target instance
	TargetDbInstanceAccount pulumi.StringPtrInput `pulumi:"targetDbInstanceAccount"`
}

func (InstanceRestoreToExistedInstanceArgs) ElementType added in v0.0.33

func (InstanceRestoreToExistedInstanceArgs) ToInstanceRestoreToExistedInstanceOutput added in v0.0.33

func (i InstanceRestoreToExistedInstanceArgs) ToInstanceRestoreToExistedInstanceOutput() InstanceRestoreToExistedInstanceOutput

func (InstanceRestoreToExistedInstanceArgs) ToInstanceRestoreToExistedInstanceOutputWithContext added in v0.0.33

func (i InstanceRestoreToExistedInstanceArgs) ToInstanceRestoreToExistedInstanceOutputWithContext(ctx context.Context) InstanceRestoreToExistedInstanceOutput

func (InstanceRestoreToExistedInstanceArgs) ToInstanceRestoreToExistedInstancePtrOutput added in v0.0.33

func (i InstanceRestoreToExistedInstanceArgs) ToInstanceRestoreToExistedInstancePtrOutput() InstanceRestoreToExistedInstancePtrOutput

func (InstanceRestoreToExistedInstanceArgs) ToInstanceRestoreToExistedInstancePtrOutputWithContext added in v0.0.33

func (i InstanceRestoreToExistedInstanceArgs) ToInstanceRestoreToExistedInstancePtrOutputWithContext(ctx context.Context) InstanceRestoreToExistedInstancePtrOutput

type InstanceRestoreToExistedInstanceDatabase added in v0.0.33

type InstanceRestoreToExistedInstanceDatabase struct {
	// Source database name
	DbName *string `pulumi:"dbName"`
	// Name of the new database after restoration
	NewDbName *string `pulumi:"newDbName"`
}

type InstanceRestoreToExistedInstanceDatabaseArgs added in v0.0.33

type InstanceRestoreToExistedInstanceDatabaseArgs struct {
	// Source database name
	DbName pulumi.StringPtrInput `pulumi:"dbName"`
	// Name of the new database after restoration
	NewDbName pulumi.StringPtrInput `pulumi:"newDbName"`
}

func (InstanceRestoreToExistedInstanceDatabaseArgs) ElementType added in v0.0.33

func (InstanceRestoreToExistedInstanceDatabaseArgs) ToInstanceRestoreToExistedInstanceDatabaseOutput added in v0.0.33

func (i InstanceRestoreToExistedInstanceDatabaseArgs) ToInstanceRestoreToExistedInstanceDatabaseOutput() InstanceRestoreToExistedInstanceDatabaseOutput

func (InstanceRestoreToExistedInstanceDatabaseArgs) ToInstanceRestoreToExistedInstanceDatabaseOutputWithContext added in v0.0.33

func (i InstanceRestoreToExistedInstanceDatabaseArgs) ToInstanceRestoreToExistedInstanceDatabaseOutputWithContext(ctx context.Context) InstanceRestoreToExistedInstanceDatabaseOutput

type InstanceRestoreToExistedInstanceDatabaseArray added in v0.0.33

type InstanceRestoreToExistedInstanceDatabaseArray []InstanceRestoreToExistedInstanceDatabaseInput

func (InstanceRestoreToExistedInstanceDatabaseArray) ElementType added in v0.0.33

func (InstanceRestoreToExistedInstanceDatabaseArray) ToInstanceRestoreToExistedInstanceDatabaseArrayOutput added in v0.0.33

func (i InstanceRestoreToExistedInstanceDatabaseArray) ToInstanceRestoreToExistedInstanceDatabaseArrayOutput() InstanceRestoreToExistedInstanceDatabaseArrayOutput

func (InstanceRestoreToExistedInstanceDatabaseArray) ToInstanceRestoreToExistedInstanceDatabaseArrayOutputWithContext added in v0.0.33

func (i InstanceRestoreToExistedInstanceDatabaseArray) ToInstanceRestoreToExistedInstanceDatabaseArrayOutputWithContext(ctx context.Context) InstanceRestoreToExistedInstanceDatabaseArrayOutput

type InstanceRestoreToExistedInstanceDatabaseArrayInput added in v0.0.33

type InstanceRestoreToExistedInstanceDatabaseArrayInput interface {
	pulumi.Input

	ToInstanceRestoreToExistedInstanceDatabaseArrayOutput() InstanceRestoreToExistedInstanceDatabaseArrayOutput
	ToInstanceRestoreToExistedInstanceDatabaseArrayOutputWithContext(context.Context) InstanceRestoreToExistedInstanceDatabaseArrayOutput
}

InstanceRestoreToExistedInstanceDatabaseArrayInput is an input type that accepts InstanceRestoreToExistedInstanceDatabaseArray and InstanceRestoreToExistedInstanceDatabaseArrayOutput values. You can construct a concrete instance of `InstanceRestoreToExistedInstanceDatabaseArrayInput` via:

InstanceRestoreToExistedInstanceDatabaseArray{ InstanceRestoreToExistedInstanceDatabaseArgs{...} }

type InstanceRestoreToExistedInstanceDatabaseArrayOutput added in v0.0.33

type InstanceRestoreToExistedInstanceDatabaseArrayOutput struct{ *pulumi.OutputState }

func (InstanceRestoreToExistedInstanceDatabaseArrayOutput) ElementType added in v0.0.33

func (InstanceRestoreToExistedInstanceDatabaseArrayOutput) Index added in v0.0.33

func (InstanceRestoreToExistedInstanceDatabaseArrayOutput) ToInstanceRestoreToExistedInstanceDatabaseArrayOutput added in v0.0.33

func (o InstanceRestoreToExistedInstanceDatabaseArrayOutput) ToInstanceRestoreToExistedInstanceDatabaseArrayOutput() InstanceRestoreToExistedInstanceDatabaseArrayOutput

func (InstanceRestoreToExistedInstanceDatabaseArrayOutput) ToInstanceRestoreToExistedInstanceDatabaseArrayOutputWithContext added in v0.0.33

func (o InstanceRestoreToExistedInstanceDatabaseArrayOutput) ToInstanceRestoreToExistedInstanceDatabaseArrayOutputWithContext(ctx context.Context) InstanceRestoreToExistedInstanceDatabaseArrayOutput

type InstanceRestoreToExistedInstanceDatabaseInput added in v0.0.33

type InstanceRestoreToExistedInstanceDatabaseInput interface {
	pulumi.Input

	ToInstanceRestoreToExistedInstanceDatabaseOutput() InstanceRestoreToExistedInstanceDatabaseOutput
	ToInstanceRestoreToExistedInstanceDatabaseOutputWithContext(context.Context) InstanceRestoreToExistedInstanceDatabaseOutput
}

InstanceRestoreToExistedInstanceDatabaseInput is an input type that accepts InstanceRestoreToExistedInstanceDatabaseArgs and InstanceRestoreToExistedInstanceDatabaseOutput values. You can construct a concrete instance of `InstanceRestoreToExistedInstanceDatabaseInput` via:

InstanceRestoreToExistedInstanceDatabaseArgs{...}

type InstanceRestoreToExistedInstanceDatabaseOutput added in v0.0.33

type InstanceRestoreToExistedInstanceDatabaseOutput struct{ *pulumi.OutputState }

func (InstanceRestoreToExistedInstanceDatabaseOutput) DbName added in v0.0.33

Source database name

func (InstanceRestoreToExistedInstanceDatabaseOutput) ElementType added in v0.0.33

func (InstanceRestoreToExistedInstanceDatabaseOutput) NewDbName added in v0.0.33

Name of the new database after restoration

func (InstanceRestoreToExistedInstanceDatabaseOutput) ToInstanceRestoreToExistedInstanceDatabaseOutput added in v0.0.33

func (o InstanceRestoreToExistedInstanceDatabaseOutput) ToInstanceRestoreToExistedInstanceDatabaseOutput() InstanceRestoreToExistedInstanceDatabaseOutput

func (InstanceRestoreToExistedInstanceDatabaseOutput) ToInstanceRestoreToExistedInstanceDatabaseOutputWithContext added in v0.0.33

func (o InstanceRestoreToExistedInstanceDatabaseOutput) ToInstanceRestoreToExistedInstanceDatabaseOutputWithContext(ctx context.Context) InstanceRestoreToExistedInstanceDatabaseOutput

type InstanceRestoreToExistedInstanceInput added in v0.0.33

type InstanceRestoreToExistedInstanceInput interface {
	pulumi.Input

	ToInstanceRestoreToExistedInstanceOutput() InstanceRestoreToExistedInstanceOutput
	ToInstanceRestoreToExistedInstanceOutputWithContext(context.Context) InstanceRestoreToExistedInstanceOutput
}

InstanceRestoreToExistedInstanceInput is an input type that accepts InstanceRestoreToExistedInstanceArgs and InstanceRestoreToExistedInstanceOutput values. You can construct a concrete instance of `InstanceRestoreToExistedInstanceInput` via:

InstanceRestoreToExistedInstanceArgs{...}

type InstanceRestoreToExistedInstanceOutput added in v0.0.33

type InstanceRestoreToExistedInstanceOutput struct{ *pulumi.OutputState }

func (InstanceRestoreToExistedInstanceOutput) BackupId added in v0.0.33

Backup set ID

func (InstanceRestoreToExistedInstanceOutput) Databases added in v0.0.33

List of databases to restore Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.

func (InstanceRestoreToExistedInstanceOutput) ElementType added in v0.0.33

func (InstanceRestoreToExistedInstanceOutput) SourceDbInstanceId added in v0.0.33

Source instance ID

func (InstanceRestoreToExistedInstanceOutput) TargetDbInstanceAccount added in v0.0.33

Database account for the target instance

func (InstanceRestoreToExistedInstanceOutput) ToInstanceRestoreToExistedInstanceOutput added in v0.0.33

func (o InstanceRestoreToExistedInstanceOutput) ToInstanceRestoreToExistedInstanceOutput() InstanceRestoreToExistedInstanceOutput

func (InstanceRestoreToExistedInstanceOutput) ToInstanceRestoreToExistedInstanceOutputWithContext added in v0.0.33

func (o InstanceRestoreToExistedInstanceOutput) ToInstanceRestoreToExistedInstanceOutputWithContext(ctx context.Context) InstanceRestoreToExistedInstanceOutput

func (InstanceRestoreToExistedInstanceOutput) ToInstanceRestoreToExistedInstancePtrOutput added in v0.0.33

func (o InstanceRestoreToExistedInstanceOutput) ToInstanceRestoreToExistedInstancePtrOutput() InstanceRestoreToExistedInstancePtrOutput

func (InstanceRestoreToExistedInstanceOutput) ToInstanceRestoreToExistedInstancePtrOutputWithContext added in v0.0.33

func (o InstanceRestoreToExistedInstanceOutput) ToInstanceRestoreToExistedInstancePtrOutputWithContext(ctx context.Context) InstanceRestoreToExistedInstancePtrOutput

type InstanceRestoreToExistedInstancePtrInput added in v0.0.33

type InstanceRestoreToExistedInstancePtrInput interface {
	pulumi.Input

	ToInstanceRestoreToExistedInstancePtrOutput() InstanceRestoreToExistedInstancePtrOutput
	ToInstanceRestoreToExistedInstancePtrOutputWithContext(context.Context) InstanceRestoreToExistedInstancePtrOutput
}

InstanceRestoreToExistedInstancePtrInput is an input type that accepts InstanceRestoreToExistedInstanceArgs, InstanceRestoreToExistedInstancePtr and InstanceRestoreToExistedInstancePtrOutput values. You can construct a concrete instance of `InstanceRestoreToExistedInstancePtrInput` via:

        InstanceRestoreToExistedInstanceArgs{...}

or:

        nil

type InstanceRestoreToExistedInstancePtrOutput added in v0.0.33

type InstanceRestoreToExistedInstancePtrOutput struct{ *pulumi.OutputState }

func (InstanceRestoreToExistedInstancePtrOutput) BackupId added in v0.0.33

Backup set ID

func (InstanceRestoreToExistedInstancePtrOutput) Databases added in v0.0.33

List of databases to restore Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.

func (InstanceRestoreToExistedInstancePtrOutput) Elem added in v0.0.33

func (InstanceRestoreToExistedInstancePtrOutput) ElementType added in v0.0.33

func (InstanceRestoreToExistedInstancePtrOutput) SourceDbInstanceId added in v0.0.33

Source instance ID

func (InstanceRestoreToExistedInstancePtrOutput) TargetDbInstanceAccount added in v0.0.33

Database account for the target instance

func (InstanceRestoreToExistedInstancePtrOutput) ToInstanceRestoreToExistedInstancePtrOutput added in v0.0.33

func (o InstanceRestoreToExistedInstancePtrOutput) ToInstanceRestoreToExistedInstancePtrOutput() InstanceRestoreToExistedInstancePtrOutput

func (InstanceRestoreToExistedInstancePtrOutput) ToInstanceRestoreToExistedInstancePtrOutputWithContext added in v0.0.33

func (o InstanceRestoreToExistedInstancePtrOutput) ToInstanceRestoreToExistedInstancePtrOutputWithContext(ctx context.Context) InstanceRestoreToExistedInstancePtrOutput

type InstanceSsl added in v0.0.35

type InstanceSsl struct {
	pulumi.CustomResourceState

	// Protected address.
	Addresses pulumi.StringArrayOutput `pulumi:"addresses"`
	// Is force encryption enabled? Value: true: Yes. false: No.
	ForceEncryption pulumi.BoolOutput `pulumi:"forceEncryption"`
	// Instance ID.
	InstanceId pulumi.StringOutput `pulumi:"instanceId"`
	// Is the SSL certificate valid? Value: true: Yes. false: No.
	IsValid pulumi.BoolOutput `pulumi:"isValid"`
	// If set to true, the SSL certificate validity period will be updated.
	ReloadSslCertificate pulumi.BoolOutput `pulumi:"reloadSslCertificate"`
	// Is SSL functionality enabled? Value: true: Yes. false: No.
	SslEnable pulumi.BoolOutput `pulumi:"sslEnable"`
	// SSL certificate expiration time. Format: yyyy-MM-ddTHH:mm:ss (UTC).
	SslExpireTime pulumi.StringOutput `pulumi:"sslExpireTime"`
	// Supported TLS versions.
	TlsVersions pulumi.StringArrayOutput `pulumi:"tlsVersions"`
}

Instance SSL configuration.

## Example Usage

```go package main

import (

"github.com/byteplus-sdk/pulumi-bytepluscc/sdk/go/bytepluscc/rdspostgresql"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := rdspostgresql.NewInstanceSsl(ctx, "RDSPostgreSQLInstanceSSLDemo", &rdspostgresql.InstanceSslArgs{
			ReloadSslCertificate: pulumi.Bool(true),
			InstanceId:           pulumi.String("postgres-60xxxx5ed9"),
			ForceEncryption:      pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

```sh $ pulumi import bytepluscc:rdspostgresql/instanceSsl:InstanceSsl example "instance_id" ```

func GetInstanceSsl added in v0.0.35

func GetInstanceSsl(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *InstanceSslState, opts ...pulumi.ResourceOption) (*InstanceSsl, error)

GetInstanceSsl gets an existing InstanceSsl 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 NewInstanceSsl added in v0.0.35

func NewInstanceSsl(ctx *pulumi.Context,
	name string, args *InstanceSslArgs, opts ...pulumi.ResourceOption) (*InstanceSsl, error)

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

func (*InstanceSsl) ElementType added in v0.0.35

func (*InstanceSsl) ElementType() reflect.Type

func (*InstanceSsl) ToInstanceSslOutput added in v0.0.35

func (i *InstanceSsl) ToInstanceSslOutput() InstanceSslOutput

func (*InstanceSsl) ToInstanceSslOutputWithContext added in v0.0.35

func (i *InstanceSsl) ToInstanceSslOutputWithContext(ctx context.Context) InstanceSslOutput

type InstanceSslArgs added in v0.0.35

type InstanceSslArgs struct {
	// Is force encryption enabled? Value: true: Yes. false: No.
	ForceEncryption pulumi.BoolPtrInput
	// Instance ID.
	InstanceId pulumi.StringInput
	// If set to true, the SSL certificate validity period will be updated.
	ReloadSslCertificate pulumi.BoolPtrInput
}

The set of arguments for constructing a InstanceSsl resource.

func (InstanceSslArgs) ElementType added in v0.0.35

func (InstanceSslArgs) ElementType() reflect.Type

type InstanceSslArray added in v0.0.35

type InstanceSslArray []InstanceSslInput

func (InstanceSslArray) ElementType added in v0.0.35

func (InstanceSslArray) ElementType() reflect.Type

func (InstanceSslArray) ToInstanceSslArrayOutput added in v0.0.35

func (i InstanceSslArray) ToInstanceSslArrayOutput() InstanceSslArrayOutput

func (InstanceSslArray) ToInstanceSslArrayOutputWithContext added in v0.0.35

func (i InstanceSslArray) ToInstanceSslArrayOutputWithContext(ctx context.Context) InstanceSslArrayOutput

type InstanceSslArrayInput added in v0.0.35

type InstanceSslArrayInput interface {
	pulumi.Input

	ToInstanceSslArrayOutput() InstanceSslArrayOutput
	ToInstanceSslArrayOutputWithContext(context.Context) InstanceSslArrayOutput
}

InstanceSslArrayInput is an input type that accepts InstanceSslArray and InstanceSslArrayOutput values. You can construct a concrete instance of `InstanceSslArrayInput` via:

InstanceSslArray{ InstanceSslArgs{...} }

type InstanceSslArrayOutput added in v0.0.35

type InstanceSslArrayOutput struct{ *pulumi.OutputState }

func (InstanceSslArrayOutput) ElementType added in v0.0.35

func (InstanceSslArrayOutput) ElementType() reflect.Type

func (InstanceSslArrayOutput) Index added in v0.0.35

func (InstanceSslArrayOutput) ToInstanceSslArrayOutput added in v0.0.35

func (o InstanceSslArrayOutput) ToInstanceSslArrayOutput() InstanceSslArrayOutput

func (InstanceSslArrayOutput) ToInstanceSslArrayOutputWithContext added in v0.0.35

func (o InstanceSslArrayOutput) ToInstanceSslArrayOutputWithContext(ctx context.Context) InstanceSslArrayOutput

type InstanceSslInput added in v0.0.35

type InstanceSslInput interface {
	pulumi.Input

	ToInstanceSslOutput() InstanceSslOutput
	ToInstanceSslOutputWithContext(ctx context.Context) InstanceSslOutput
}

type InstanceSslMap added in v0.0.35

type InstanceSslMap map[string]InstanceSslInput

func (InstanceSslMap) ElementType added in v0.0.35

func (InstanceSslMap) ElementType() reflect.Type

func (InstanceSslMap) ToInstanceSslMapOutput added in v0.0.35

func (i InstanceSslMap) ToInstanceSslMapOutput() InstanceSslMapOutput

func (InstanceSslMap) ToInstanceSslMapOutputWithContext added in v0.0.35

func (i InstanceSslMap) ToInstanceSslMapOutputWithContext(ctx context.Context) InstanceSslMapOutput

type InstanceSslMapInput added in v0.0.35

type InstanceSslMapInput interface {
	pulumi.Input

	ToInstanceSslMapOutput() InstanceSslMapOutput
	ToInstanceSslMapOutputWithContext(context.Context) InstanceSslMapOutput
}

InstanceSslMapInput is an input type that accepts InstanceSslMap and InstanceSslMapOutput values. You can construct a concrete instance of `InstanceSslMapInput` via:

InstanceSslMap{ "key": InstanceSslArgs{...} }

type InstanceSslMapOutput added in v0.0.35

type InstanceSslMapOutput struct{ *pulumi.OutputState }

func (InstanceSslMapOutput) ElementType added in v0.0.35

func (InstanceSslMapOutput) ElementType() reflect.Type

func (InstanceSslMapOutput) MapIndex added in v0.0.35

func (InstanceSslMapOutput) ToInstanceSslMapOutput added in v0.0.35

func (o InstanceSslMapOutput) ToInstanceSslMapOutput() InstanceSslMapOutput

func (InstanceSslMapOutput) ToInstanceSslMapOutputWithContext added in v0.0.35

func (o InstanceSslMapOutput) ToInstanceSslMapOutputWithContext(ctx context.Context) InstanceSslMapOutput

type InstanceSslOutput added in v0.0.35

type InstanceSslOutput struct{ *pulumi.OutputState }

func (InstanceSslOutput) Addresses added in v0.0.35

Protected address.

func (InstanceSslOutput) ElementType added in v0.0.35

func (InstanceSslOutput) ElementType() reflect.Type

func (InstanceSslOutput) ForceEncryption added in v0.0.35

func (o InstanceSslOutput) ForceEncryption() pulumi.BoolOutput

Is force encryption enabled? Value: true: Yes. false: No.

func (InstanceSslOutput) InstanceId added in v0.0.35

func (o InstanceSslOutput) InstanceId() pulumi.StringOutput

Instance ID.

func (InstanceSslOutput) IsValid added in v0.0.35

func (o InstanceSslOutput) IsValid() pulumi.BoolOutput

Is the SSL certificate valid? Value: true: Yes. false: No.

func (InstanceSslOutput) ReloadSslCertificate added in v0.0.35

func (o InstanceSslOutput) ReloadSslCertificate() pulumi.BoolOutput

If set to true, the SSL certificate validity period will be updated.

func (InstanceSslOutput) SslEnable added in v0.0.35

func (o InstanceSslOutput) SslEnable() pulumi.BoolOutput

Is SSL functionality enabled? Value: true: Yes. false: No.

func (InstanceSslOutput) SslExpireTime added in v0.0.35

func (o InstanceSslOutput) SslExpireTime() pulumi.StringOutput

SSL certificate expiration time. Format: yyyy-MM-ddTHH:mm:ss (UTC).

func (InstanceSslOutput) TlsVersions added in v0.0.35

func (o InstanceSslOutput) TlsVersions() pulumi.StringArrayOutput

Supported TLS versions.

func (InstanceSslOutput) ToInstanceSslOutput added in v0.0.35

func (o InstanceSslOutput) ToInstanceSslOutput() InstanceSslOutput

func (InstanceSslOutput) ToInstanceSslOutputWithContext added in v0.0.35

func (o InstanceSslOutput) ToInstanceSslOutputWithContext(ctx context.Context) InstanceSslOutput

type InstanceSslState added in v0.0.35

type InstanceSslState struct {
	// Protected address.
	Addresses pulumi.StringArrayInput
	// Is force encryption enabled? Value: true: Yes. false: No.
	ForceEncryption pulumi.BoolPtrInput
	// Instance ID.
	InstanceId pulumi.StringPtrInput
	// Is the SSL certificate valid? Value: true: Yes. false: No.
	IsValid pulumi.BoolPtrInput
	// If set to true, the SSL certificate validity period will be updated.
	ReloadSslCertificate pulumi.BoolPtrInput
	// Is SSL functionality enabled? Value: true: Yes. false: No.
	SslEnable pulumi.BoolPtrInput
	// SSL certificate expiration time. Format: yyyy-MM-ddTHH:mm:ss (UTC).
	SslExpireTime pulumi.StringPtrInput
	// Supported TLS versions.
	TlsVersions pulumi.StringArrayInput
}

func (InstanceSslState) ElementType added in v0.0.35

func (InstanceSslState) ElementType() reflect.Type

type InstanceState added in v0.0.23

type InstanceState struct {
	// Allowlist ID. To bind multiple allowlists, separate allowlist IDs with commas (,). An instance can bind up to 100 allowlists.
	AllowListIds pulumi.StringArrayInput
	// Payment method
	ChargeDetail InstanceChargeDetailPtrInput
	// Instance creation time
	CreateTime pulumi.StringPtrInput
	// Synchronization mode. Value: Async (asynchronous synchronization)
	DataSyncMode pulumi.StringPtrInput
	// Compatible version
	DbEngineVersion pulumi.StringPtrInput
	// Instance connection information
	// Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
	Endpoints InstanceEndpointArrayInput
	// Instance ID
	InstanceId pulumi.StringPtrInput
	// Instance name
	InstanceName pulumi.StringPtrInput
	// Instance status
	InstanceStatus pulumi.StringPtrInput
	// Instance type. Value: HA (high availability edition)
	InstanceType pulumi.StringPtrInput
	// KMS key ring TRN, format: trn:kms:\n\n:\n\n:keyrings/\n\n/keys/\n\n. This parameter is required when TDEEnable is true.
	KmsTrn pulumi.StringPtrInput
	// Instance maintenance window
	MaintenanceWindow InstanceMaintenanceWindowPtrInput
	// Memory size, unit: GB
	Memory pulumi.Float64PtrInput
	// Instance specification configuration
	// Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
	NodeInfos InstanceNodeInfoArrayInput
	// Number of nodes
	NodeNumber pulumi.Float64PtrInput
	// Primary node specification
	NodeSpec pulumi.StringPtrInput
	// Project. Default value: default project
	ProjectName pulumi.StringPtrInput
	// Replication slot list for the instance
	// Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
	ReplicationSlots InstanceReplicationSlotArrayInput
	// Restore backup data to the current instance
	RestoreToExistedInstance InstanceRestoreToExistedInstancePtrInput
	// Data file space used by the primary node. Unit: Byte
	StorageDataUse pulumi.Float64PtrInput
	// Log file space used by the primary node. Unit: Byte
	StorageLogUse pulumi.Float64PtrInput
	// Instance storage space. Value range: [20, 3000], unit: GB, increment: 10GB. Default value is 100
	StorageSpace pulumi.Float64PtrInput
	// Temporary file space used by the primary node. Unit: Byte
	StorageTempUse pulumi.Float64PtrInput
	// Instance storage type, fixed value LocalSSD (local SSD disk)
	StorageType pulumi.StringPtrInput
	// Used storage space of the instance. Unit: Byte
	StorageUse pulumi.Float64PtrInput
	// Used WAL file space of the instance's primary node. Unit: Byte
	StorageWalUse pulumi.Float64PtrInput
	// Subnet ID
	SubnetId pulumi.StringPtrInput
	// Tag information of the cloud disk
	// Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
	Tags InstanceTagArrayInput
	// Specifies whether to enable the Transparent Data Encryption (TDE) feature. The default value is false (disabled). This feature can only be enabled when creating an instance, and is supported only for PostgreSQL 17 with local SSD storage. Once enabled, it cannot be disabled.
	TdeEnable pulumi.BoolPtrInput
	// Instance update time
	UpdateTime pulumi.StringPtrInput
	// CPU size. For example: 1 means 1U
	Vcpu pulumi.Float64PtrInput
	// Use this parameter to specify the private network for the instance
	VpcId pulumi.StringPtrInput
	// Availability zone ID
	ZoneId pulumi.StringPtrInput
}

func (InstanceState) ElementType added in v0.0.23

func (InstanceState) ElementType() reflect.Type

type InstanceTag added in v0.0.23

type InstanceTag struct {
	// Tag key
	Key *string `pulumi:"key"`
	// Tag value
	Value *string `pulumi:"value"`
}

type InstanceTagArgs added in v0.0.23

type InstanceTagArgs struct {
	// Tag key
	Key pulumi.StringPtrInput `pulumi:"key"`
	// Tag value
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (InstanceTagArgs) ElementType added in v0.0.23

func (InstanceTagArgs) ElementType() reflect.Type

func (InstanceTagArgs) ToInstanceTagOutput added in v0.0.23

func (i InstanceTagArgs) ToInstanceTagOutput() InstanceTagOutput

func (InstanceTagArgs) ToInstanceTagOutputWithContext added in v0.0.23

func (i InstanceTagArgs) ToInstanceTagOutputWithContext(ctx context.Context) InstanceTagOutput

type InstanceTagArray added in v0.0.23

type InstanceTagArray []InstanceTagInput

func (InstanceTagArray) ElementType added in v0.0.23

func (InstanceTagArray) ElementType() reflect.Type

func (InstanceTagArray) ToInstanceTagArrayOutput added in v0.0.23

func (i InstanceTagArray) ToInstanceTagArrayOutput() InstanceTagArrayOutput

func (InstanceTagArray) ToInstanceTagArrayOutputWithContext added in v0.0.23

func (i InstanceTagArray) ToInstanceTagArrayOutputWithContext(ctx context.Context) InstanceTagArrayOutput

type InstanceTagArrayInput added in v0.0.23

type InstanceTagArrayInput interface {
	pulumi.Input

	ToInstanceTagArrayOutput() InstanceTagArrayOutput
	ToInstanceTagArrayOutputWithContext(context.Context) InstanceTagArrayOutput
}

InstanceTagArrayInput is an input type that accepts InstanceTagArray and InstanceTagArrayOutput values. You can construct a concrete instance of `InstanceTagArrayInput` via:

InstanceTagArray{ InstanceTagArgs{...} }

type InstanceTagArrayOutput added in v0.0.23

type InstanceTagArrayOutput struct{ *pulumi.OutputState }

func (InstanceTagArrayOutput) ElementType added in v0.0.23

func (InstanceTagArrayOutput) ElementType() reflect.Type

func (InstanceTagArrayOutput) Index added in v0.0.23

func (InstanceTagArrayOutput) ToInstanceTagArrayOutput added in v0.0.23

func (o InstanceTagArrayOutput) ToInstanceTagArrayOutput() InstanceTagArrayOutput

func (InstanceTagArrayOutput) ToInstanceTagArrayOutputWithContext added in v0.0.23

func (o InstanceTagArrayOutput) ToInstanceTagArrayOutputWithContext(ctx context.Context) InstanceTagArrayOutput

type InstanceTagInput added in v0.0.23

type InstanceTagInput interface {
	pulumi.Input

	ToInstanceTagOutput() InstanceTagOutput
	ToInstanceTagOutputWithContext(context.Context) InstanceTagOutput
}

InstanceTagInput is an input type that accepts InstanceTagArgs and InstanceTagOutput values. You can construct a concrete instance of `InstanceTagInput` via:

InstanceTagArgs{...}

type InstanceTagOutput added in v0.0.23

type InstanceTagOutput struct{ *pulumi.OutputState }

func (InstanceTagOutput) ElementType added in v0.0.23

func (InstanceTagOutput) ElementType() reflect.Type

func (InstanceTagOutput) Key added in v0.0.23

Tag key

func (InstanceTagOutput) ToInstanceTagOutput added in v0.0.23

func (o InstanceTagOutput) ToInstanceTagOutput() InstanceTagOutput

func (InstanceTagOutput) ToInstanceTagOutputWithContext added in v0.0.23

func (o InstanceTagOutput) ToInstanceTagOutputWithContext(ctx context.Context) InstanceTagOutput

func (InstanceTagOutput) Value added in v0.0.23

Tag value

type LookupAllowListArgs

type LookupAllowListArgs struct {
	// Uniquely identifies the resource.
	Id string `pulumi:"id"`
}

A collection of arguments for invoking getAllowList.

type LookupAllowListOutputArgs

type LookupAllowListOutputArgs struct {
	// Uniquely identifies the resource.
	Id pulumi.StringInput `pulumi:"id"`
}

A collection of arguments for invoking getAllowList.

func (LookupAllowListOutputArgs) ElementType

func (LookupAllowListOutputArgs) ElementType() reflect.Type

type LookupAllowListResult

type LookupAllowListResult struct {
	// Allowlist category. Values: Ordinary: ordinary allowlist; Default: default allowlist. Note: This parameter has no default value when used as a request parameter. If not provided, all categories of allowlists are queried.
	AllowListCategory string `pulumi:"allowListCategory"`
	// Description of the allowlist. Up to 200 characters. Default value is an empty string.
	AllowListDesc string `pulumi:"allowListDesc"`
	// Allowlist ID.
	AllowListId string `pulumi:"allowListId"`
	// Number of IP addresses or IP segments in the allowlist.
	AllowListIpNum int `pulumi:"allowListIpNum"`
	// Allowlist naming rules: The allowlist name must be unique within the current region. It must start with a Chinese character, letter, or underscore (*). It can only contain Chinese characters, letters, numbers, underscores (*), and hyphens (-). Length must be 1–128 characters.
	AllowListName string `pulumi:"allowListName"`
	// Network protocol type used by the allowlist. Value: IPv4 (default).
	AllowListType string `pulumi:"allowListType"`
	// IP addresses included in the allowlist. Supports the following two formats: IP address format, for example: 10.23.12.24. CIDR IP address range format, for example: 10.23.12.0/24 (Classless Inter-Domain Routing, 24 indicates the prefix length, range is 1–32). Note: Each allowlist can add up to 300 IP addresses or IP ranges. If there are many IPs, it is recommended to merge them into IP ranges, such as 10.23.12.0/24. Do not add IP addresses ending with x.x.x.x/0 except for 0.0.0.0/0 to the allowlist. This field cannot be used together with the UserAllowList field.
	AllowLists []string `pulumi:"allowLists"`
	// Number of instances bound to this allowlist.
	AssociatedInstanceNum int `pulumi:"associatedInstanceNum"`
	// List of instances bound to this allowlist, including instance ID and instance name.
	AssociatedInstances []GetAllowListAssociatedInstance `pulumi:"associatedInstances"`
	// Uniquely identifies the resource.
	Id string `pulumi:"id"`
	// Instance ID. When UpgradeAllowListVersion is set to true, you must provide this field to specify the instance for upgrading the allowlist version.
	InstanceId string `pulumi:"instanceId"`
	// Query allowlist by IP address. Supports multiple IP addresses separated by commas (,). Note: If the allowlist contains any subset of the provided IP addresses, that allowlist will be returned.
	IpAddress string `pulumi:"ipAddress"`
	// Allowlist modification mode. Values: Cover (default): overwrite, use the value of the AllowList field to overwrite the original allowlist. Append: add, add the IP addresses in the AllowList field to the original allowlist. Delete: remove, remove the IP addresses in the AllowList field from the original allowlist. At least one IP address must remain. Note: If the allowlist to be modified is bound to a security group, or if you need to bind a security group when modifying the allowlist, ModifyMode can only be set to Cover.
	ModifyMode string `pulumi:"modifyMode"`
	// List of security groups bound to this allowlist.
	SecurityGroupBindInfos []GetAllowListSecurityGroupBindInfo `pulumi:"securityGroupBindInfos"`
	// Whether to update the security group bound to the allowlist. Values: true: update; false: do not update. Default value.
	UpdateSecurityGroup bool `pulumi:"updateSecurityGroup"`
	// Whether to upgrade the allowlist version. Values: true: upgrade; false: do not upgrade (default). You must also provide the InstanceId field.
	UpgradeAllowListVersion bool `pulumi:"upgradeAllowListVersion"`
	// IP addresses outside the security group that need to be added to the allowlist. You can enter IP addresses or CIDR IP ranges. Note: This field cannot be used together with the AllowList field.
	UserAllowList string `pulumi:"userAllowList"`
}

A collection of values returned by getAllowList.

func LookupAllowList

func LookupAllowList(ctx *pulumi.Context, args *LookupAllowListArgs, opts ...pulumi.InvokeOption) (*LookupAllowListResult, error)

Data Source schema for Byteplus::RDSPostgreSQL::AllowList

type LookupAllowListResultOutput

type LookupAllowListResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAllowList.

func (LookupAllowListResultOutput) AllowListCategory

func (o LookupAllowListResultOutput) AllowListCategory() pulumi.StringOutput

Allowlist category. Values: Ordinary: ordinary allowlist; Default: default allowlist. Note: This parameter has no default value when used as a request parameter. If not provided, all categories of allowlists are queried.

func (LookupAllowListResultOutput) AllowListDesc

Description of the allowlist. Up to 200 characters. Default value is an empty string.

func (LookupAllowListResultOutput) AllowListId

Allowlist ID.

func (LookupAllowListResultOutput) AllowListIpNum

func (o LookupAllowListResultOutput) AllowListIpNum() pulumi.IntOutput

Number of IP addresses or IP segments in the allowlist.

func (LookupAllowListResultOutput) AllowListName

Allowlist naming rules: The allowlist name must be unique within the current region. It must start with a Chinese character, letter, or underscore (*). It can only contain Chinese characters, letters, numbers, underscores (*), and hyphens (-). Length must be 1–128 characters.

func (LookupAllowListResultOutput) AllowListType

Network protocol type used by the allowlist. Value: IPv4 (default).

func (LookupAllowListResultOutput) AllowLists

IP addresses included in the allowlist. Supports the following two formats: IP address format, for example: 10.23.12.24. CIDR IP address range format, for example: 10.23.12.0/24 (Classless Inter-Domain Routing, 24 indicates the prefix length, range is 1–32). Note: Each allowlist can add up to 300 IP addresses or IP ranges. If there are many IPs, it is recommended to merge them into IP ranges, such as 10.23.12.0/24. Do not add IP addresses ending with x.x.x.x/0 except for 0.0.0.0/0 to the allowlist. This field cannot be used together with the UserAllowList field.

func (LookupAllowListResultOutput) AssociatedInstanceNum

func (o LookupAllowListResultOutput) AssociatedInstanceNum() pulumi.IntOutput

Number of instances bound to this allowlist.

func (LookupAllowListResultOutput) AssociatedInstances

List of instances bound to this allowlist, including instance ID and instance name.

func (LookupAllowListResultOutput) ElementType

func (LookupAllowListResultOutput) Id

Uniquely identifies the resource.

func (LookupAllowListResultOutput) InstanceId added in v0.0.35

Instance ID. When UpgradeAllowListVersion is set to true, you must provide this field to specify the instance for upgrading the allowlist version.

func (LookupAllowListResultOutput) IpAddress

Query allowlist by IP address. Supports multiple IP addresses separated by commas (,). Note: If the allowlist contains any subset of the provided IP addresses, that allowlist will be returned.

func (LookupAllowListResultOutput) ModifyMode

Allowlist modification mode. Values: Cover (default): overwrite, use the value of the AllowList field to overwrite the original allowlist. Append: add, add the IP addresses in the AllowList field to the original allowlist. Delete: remove, remove the IP addresses in the AllowList field from the original allowlist. At least one IP address must remain. Note: If the allowlist to be modified is bound to a security group, or if you need to bind a security group when modifying the allowlist, ModifyMode can only be set to Cover.

func (LookupAllowListResultOutput) SecurityGroupBindInfos

List of security groups bound to this allowlist.

func (LookupAllowListResultOutput) ToLookupAllowListResultOutput

func (o LookupAllowListResultOutput) ToLookupAllowListResultOutput() LookupAllowListResultOutput

func (LookupAllowListResultOutput) ToLookupAllowListResultOutputWithContext

func (o LookupAllowListResultOutput) ToLookupAllowListResultOutputWithContext(ctx context.Context) LookupAllowListResultOutput

func (LookupAllowListResultOutput) UpdateSecurityGroup

func (o LookupAllowListResultOutput) UpdateSecurityGroup() pulumi.BoolOutput

Whether to update the security group bound to the allowlist. Values: true: update; false: do not update. Default value.

func (LookupAllowListResultOutput) UpgradeAllowListVersion added in v0.0.35

func (o LookupAllowListResultOutput) UpgradeAllowListVersion() pulumi.BoolOutput

Whether to upgrade the allowlist version. Values: true: upgrade; false: do not upgrade (default). You must also provide the InstanceId field.

func (LookupAllowListResultOutput) UserAllowList

IP addresses outside the security group that need to be added to the allowlist. You can enter IP addresses or CIDR IP ranges. Note: This field cannot be used together with the AllowList field.

type LookupBackupArgs added in v0.0.29

type LookupBackupArgs struct {
	// Uniquely identifies the resource.
	Id string `pulumi:"id"`
}

A collection of arguments for invoking getBackup.

type LookupBackupOutputArgs added in v0.0.29

type LookupBackupOutputArgs struct {
	// Uniquely identifies the resource.
	Id pulumi.StringInput `pulumi:"id"`
}

A collection of arguments for invoking getBackup.

func (LookupBackupOutputArgs) ElementType added in v0.0.29

func (LookupBackupOutputArgs) ElementType() reflect.Type

type LookupBackupResult added in v0.0.29

type LookupBackupResult struct {
	// Backup data size (bytes).
	BackupDataSize int `pulumi:"backupDataSize"`
	// Backup description.
	BackupDescription string `pulumi:"backupDescription"`
	// Backup end time.
	BackupEndTime string `pulumi:"backupEndTime"`
	// Backup file name.
	BackupFileName string `pulumi:"backupFileName"`
	// Backup file size (bytes).
	BackupFileSize int `pulumi:"backupFileSize"`
	// Backup ID.
	BackupId string `pulumi:"backupId"`
	// Backup metadata, used to specify the database list for logical backups.
	BackupMetas []GetBackupBackupMeta `pulumi:"backupMetas"`
	// Backup method: Physical for physical backup, Logical for logical backup.
	BackupMethod string `pulumi:"backupMethod"`
	// Backup policy configuration information.
	BackupPolicy GetBackupBackupPolicy `pulumi:"backupPolicy"`
	// Backup progress percentage.
	BackupProgress int `pulumi:"backupProgress"`
	// Backup scope: Instance for instance-level backup, Database for database-level backup.
	BackupScope string `pulumi:"backupScope"`
	// Backup start time.
	BackupStartTime string `pulumi:"backupStartTime"`
	// Backup status, such as Success, Running, Failed.
	BackupStatus string `pulumi:"backupStatus"`
	// Backup type: Full for full backup, Increment for incremental backup.
	BackupType string `pulumi:"backupType"`
	// Creation method: Manual for manual creation, Automated for automatic creation.
	CreateType string `pulumi:"createType"`
	// Download logical backup file after creation. Only valid for logical backups.
	DownloadBackup bool `pulumi:"downloadBackup"`
	// Download preparation progress percentage.
	DownloadProgress int `pulumi:"downloadProgress"`
	// Download status.
	DownloadStatus string `pulumi:"downloadStatus"`
	// Uniquely identifies the resource.
	Id string `pulumi:"id"`
	// RDS PostgreSQL instance ID.
	InstanceId string `pulumi:"instanceId"`
}

A collection of values returned by getBackup.

func LookupBackup added in v0.0.29

func LookupBackup(ctx *pulumi.Context, args *LookupBackupArgs, opts ...pulumi.InvokeOption) (*LookupBackupResult, error)

Data Source schema for Byteplus::RDSPostgreSQL::Backup

type LookupBackupResultOutput added in v0.0.29

type LookupBackupResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getBackup.

func LookupBackupOutput added in v0.0.29

func LookupBackupOutput(ctx *pulumi.Context, args LookupBackupOutputArgs, opts ...pulumi.InvokeOption) LookupBackupResultOutput

func (LookupBackupResultOutput) BackupDataSize added in v0.0.29

func (o LookupBackupResultOutput) BackupDataSize() pulumi.IntOutput

Backup data size (bytes).

func (LookupBackupResultOutput) BackupDescription added in v0.0.29

func (o LookupBackupResultOutput) BackupDescription() pulumi.StringOutput

Backup description.

func (LookupBackupResultOutput) BackupEndTime added in v0.0.29

func (o LookupBackupResultOutput) BackupEndTime() pulumi.StringOutput

Backup end time.

func (LookupBackupResultOutput) BackupFileName added in v0.0.29

func (o LookupBackupResultOutput) BackupFileName() pulumi.StringOutput

Backup file name.

func (LookupBackupResultOutput) BackupFileSize added in v0.0.29

func (o LookupBackupResultOutput) BackupFileSize() pulumi.IntOutput

Backup file size (bytes).

func (LookupBackupResultOutput) BackupId added in v0.0.29

Backup ID.

func (LookupBackupResultOutput) BackupMetas added in v0.0.29

Backup metadata, used to specify the database list for logical backups.

func (LookupBackupResultOutput) BackupMethod added in v0.0.29

func (o LookupBackupResultOutput) BackupMethod() pulumi.StringOutput

Backup method: Physical for physical backup, Logical for logical backup.

func (LookupBackupResultOutput) BackupPolicy added in v0.0.29

Backup policy configuration information.

func (LookupBackupResultOutput) BackupProgress added in v0.0.29

func (o LookupBackupResultOutput) BackupProgress() pulumi.IntOutput

Backup progress percentage.

func (LookupBackupResultOutput) BackupScope added in v0.0.29

Backup scope: Instance for instance-level backup, Database for database-level backup.

func (LookupBackupResultOutput) BackupStartTime added in v0.0.29

func (o LookupBackupResultOutput) BackupStartTime() pulumi.StringOutput

Backup start time.

func (LookupBackupResultOutput) BackupStatus added in v0.0.29

func (o LookupBackupResultOutput) BackupStatus() pulumi.StringOutput

Backup status, such as Success, Running, Failed.

func (LookupBackupResultOutput) BackupType added in v0.0.29

Backup type: Full for full backup, Increment for incremental backup.

func (LookupBackupResultOutput) CreateType added in v0.0.29

Creation method: Manual for manual creation, Automated for automatic creation.

func (LookupBackupResultOutput) DownloadBackup added in v0.0.29

func (o LookupBackupResultOutput) DownloadBackup() pulumi.BoolOutput

Download logical backup file after creation. Only valid for logical backups.

func (LookupBackupResultOutput) DownloadProgress added in v0.0.29

func (o LookupBackupResultOutput) DownloadProgress() pulumi.IntOutput

Download preparation progress percentage.

func (LookupBackupResultOutput) DownloadStatus added in v0.0.29

func (o LookupBackupResultOutput) DownloadStatus() pulumi.StringOutput

Download status.

func (LookupBackupResultOutput) ElementType added in v0.0.29

func (LookupBackupResultOutput) ElementType() reflect.Type

func (LookupBackupResultOutput) Id added in v0.0.29

Uniquely identifies the resource.

func (LookupBackupResultOutput) InstanceId added in v0.0.29

RDS PostgreSQL instance ID.

func (LookupBackupResultOutput) ToLookupBackupResultOutput added in v0.0.29

func (o LookupBackupResultOutput) ToLookupBackupResultOutput() LookupBackupResultOutput

func (LookupBackupResultOutput) ToLookupBackupResultOutputWithContext added in v0.0.29

func (o LookupBackupResultOutput) ToLookupBackupResultOutputWithContext(ctx context.Context) LookupBackupResultOutput

type LookupDatabaseArgs added in v0.0.17

type LookupDatabaseArgs struct {
	// Uniquely identifies the resource.
	Id string `pulumi:"id"`
}

A collection of arguments for invoking getDatabase.

type LookupDatabaseOutputArgs added in v0.0.17

type LookupDatabaseOutputArgs struct {
	// Uniquely identifies the resource.
	Id pulumi.StringInput `pulumi:"id"`
}

A collection of arguments for invoking getDatabase.

func (LookupDatabaseOutputArgs) ElementType added in v0.0.17

func (LookupDatabaseOutputArgs) ElementType() reflect.Type

type LookupDatabaseResult added in v0.0.17

type LookupDatabaseResult struct {
	// Character classification. Supported values: C (default), C.UTF-8, en*US.utf8, zh*CN.utf8, and POSIX
	CType string `pulumi:"cType"`
	// Database character set. Supported character sets: utf8 (default), latin1, ascii
	CharacterSetName string `pulumi:"characterSetName"`
	// Collation. Supported values: C (default), C.UTF-8, en*US.utf8, zh*CN.utf8, and POSIX
	Collate string `pulumi:"collate"`
	// Database name. Naming rules: Length must be 2–63 characters. Can contain letters, numbers, underscores, or hyphens. Must start with a letter and end with a letter or number. Reserved keywords are not allowed. For a list of all disabled keywords, see Disabled Keywords.
	DbName string `pulumi:"dbName"`
	// Database status: Unavailable: Not available. Available: Available.
	DbStatus string `pulumi:"dbStatus"`
	// Uniquely identifies the resource.
	Id string `pulumi:"id"`
	// Instance ID
	InstanceId string `pulumi:"instanceId"`
	// Database owner. Note: Read-only instance accounts, high-privilege accounts with DDL permissions disabled, or regular accounts with DDL permissions disabled cannot be set as the database owner. If no value is provided or the value is empty, this field defaults to rds superuser
	Owner string `pulumi:"owner"`
}

A collection of values returned by getDatabase.

func LookupDatabase added in v0.0.17

func LookupDatabase(ctx *pulumi.Context, args *LookupDatabaseArgs, opts ...pulumi.InvokeOption) (*LookupDatabaseResult, error)

Data Source schema for Byteplus::RDSPostgreSQL::Database

type LookupDatabaseResultOutput added in v0.0.17

type LookupDatabaseResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDatabase.

func LookupDatabaseOutput added in v0.0.17

func LookupDatabaseOutput(ctx *pulumi.Context, args LookupDatabaseOutputArgs, opts ...pulumi.InvokeOption) LookupDatabaseResultOutput

func (LookupDatabaseResultOutput) CType added in v0.0.17

Character classification. Supported values: C (default), C.UTF-8, en*US.utf8, zh*CN.utf8, and POSIX

func (LookupDatabaseResultOutput) CharacterSetName added in v0.0.17

func (o LookupDatabaseResultOutput) CharacterSetName() pulumi.StringOutput

Database character set. Supported character sets: utf8 (default), latin1, ascii

func (LookupDatabaseResultOutput) Collate added in v0.0.17

Collation. Supported values: C (default), C.UTF-8, en*US.utf8, zh*CN.utf8, and POSIX

func (LookupDatabaseResultOutput) DbName added in v0.0.17

Database name. Naming rules: Length must be 2–63 characters. Can contain letters, numbers, underscores, or hyphens. Must start with a letter and end with a letter or number. Reserved keywords are not allowed. For a list of all disabled keywords, see Disabled Keywords.

func (LookupDatabaseResultOutput) DbStatus added in v0.0.17

Database status: Unavailable: Not available. Available: Available.

func (LookupDatabaseResultOutput) ElementType added in v0.0.17

func (LookupDatabaseResultOutput) ElementType() reflect.Type

func (LookupDatabaseResultOutput) Id added in v0.0.17

Uniquely identifies the resource.

func (LookupDatabaseResultOutput) InstanceId added in v0.0.17

Instance ID

func (LookupDatabaseResultOutput) Owner added in v0.0.17

Database owner. Note: Read-only instance accounts, high-privilege accounts with DDL permissions disabled, or regular accounts with DDL permissions disabled cannot be set as the database owner. If no value is provided or the value is empty, this field defaults to rds superuser

func (LookupDatabaseResultOutput) ToLookupDatabaseResultOutput added in v0.0.17

func (o LookupDatabaseResultOutput) ToLookupDatabaseResultOutput() LookupDatabaseResultOutput

func (LookupDatabaseResultOutput) ToLookupDatabaseResultOutputWithContext added in v0.0.17

func (o LookupDatabaseResultOutput) ToLookupDatabaseResultOutputWithContext(ctx context.Context) LookupDatabaseResultOutput

type LookupDbAccountArgs added in v0.0.15

type LookupDbAccountArgs struct {
	// Uniquely identifies the resource.
	Id string `pulumi:"id"`
}

A collection of arguments for invoking getDbAccount.

type LookupDbAccountOutputArgs added in v0.0.15

type LookupDbAccountOutputArgs struct {
	// Uniquely identifies the resource.
	Id pulumi.StringInput `pulumi:"id"`
}

A collection of arguments for invoking getDbAccount.

func (LookupDbAccountOutputArgs) ElementType added in v0.0.15

func (LookupDbAccountOutputArgs) ElementType() reflect.Type

type LookupDbAccountResult added in v0.0.15

type LookupDbAccountResult struct {
	// Database account name. The account name rules are as follows: Length must be 2–63 characters. Can contain letters, numbers, underscores (*), or hyphens (-). Must start with a letter and end with a letter or number. Cannot start with pg*. Reserved keywords cannot be used. For all disabled keywords, see Disabled Keywords.
	AccountName string `pulumi:"accountName"`
	// Database account password. The password rules are as follows: Length must be 8–32 characters. Must contain any three of the following: uppercase letters, lowercase letters, numbers, special characters. Supported special characters: !@#$%^*()&_+-=.
	AccountPassword string `pulumi:"accountPassword"`
	// Account permission information. Separate multiple permissions with commas (,). Valid values: Login: Login permission. Inherit: Inherit permission. CreateRole: Create role permission. CreateDB: Create database permission. Note: If the account type is high privilege, you do not need to provide this parameter; all permissions are supported by default. If the account type is normal, you can provide this parameter; the default values are Login and Inherit. If the account type is instance read-only, that is, AccountType is set to InstanceReadOnly, this parameter is not supported.
	AccountPrivileges string `pulumi:"accountPrivileges"`
	// Database account type. Valid values: Super: High privilege account. Normal: Normal account. InstanceReadOnly: Instance read-only account.
	AccountType string `pulumi:"accountType"`
	// Uniquely identifies the resource.
	Id string `pulumi:"id"`
	// Instance ID
	InstanceId string `pulumi:"instanceId"`
	// Permissions disabled for the account. Currently, only DDL is supported. Note: This field can only be provided for high privilege or normal accounts, that is, when AccountType is set to Super or Normal.
	NotAllowPrivileges []string `pulumi:"notAllowPrivileges"`
}

A collection of values returned by getDbAccount.

func LookupDbAccount added in v0.0.15

func LookupDbAccount(ctx *pulumi.Context, args *LookupDbAccountArgs, opts ...pulumi.InvokeOption) (*LookupDbAccountResult, error)

Data Source schema for Byteplus::RDSPostgreSQL::DBAccount

type LookupDbAccountResultOutput added in v0.0.15

type LookupDbAccountResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDbAccount.

func LookupDbAccountOutput added in v0.0.15

func (LookupDbAccountResultOutput) AccountName added in v0.0.15

Database account name. The account name rules are as follows: Length must be 2–63 characters. Can contain letters, numbers, underscores (*), or hyphens (-). Must start with a letter and end with a letter or number. Cannot start with pg*. Reserved keywords cannot be used. For all disabled keywords, see Disabled Keywords.

func (LookupDbAccountResultOutput) AccountPassword added in v0.0.15

func (o LookupDbAccountResultOutput) AccountPassword() pulumi.StringOutput

Database account password. The password rules are as follows: Length must be 8–32 characters. Must contain any three of the following: uppercase letters, lowercase letters, numbers, special characters. Supported special characters: !@#$%^*()&_+-=.

func (LookupDbAccountResultOutput) AccountPrivileges added in v0.0.15

func (o LookupDbAccountResultOutput) AccountPrivileges() pulumi.StringOutput

Account permission information. Separate multiple permissions with commas (,). Valid values: Login: Login permission. Inherit: Inherit permission. CreateRole: Create role permission. CreateDB: Create database permission. Note: If the account type is high privilege, you do not need to provide this parameter; all permissions are supported by default. If the account type is normal, you can provide this parameter; the default values are Login and Inherit. If the account type is instance read-only, that is, AccountType is set to InstanceReadOnly, this parameter is not supported.

func (LookupDbAccountResultOutput) AccountType added in v0.0.15

Database account type. Valid values: Super: High privilege account. Normal: Normal account. InstanceReadOnly: Instance read-only account.

func (LookupDbAccountResultOutput) ElementType added in v0.0.15

func (LookupDbAccountResultOutput) Id added in v0.0.15

Uniquely identifies the resource.

func (LookupDbAccountResultOutput) InstanceId added in v0.0.15

Instance ID

func (LookupDbAccountResultOutput) NotAllowPrivileges added in v0.0.15

func (o LookupDbAccountResultOutput) NotAllowPrivileges() pulumi.StringArrayOutput

Permissions disabled for the account. Currently, only DDL is supported. Note: This field can only be provided for high privilege or normal accounts, that is, when AccountType is set to Super or Normal.

func (LookupDbAccountResultOutput) ToLookupDbAccountResultOutput added in v0.0.15

func (o LookupDbAccountResultOutput) ToLookupDbAccountResultOutput() LookupDbAccountResultOutput

func (LookupDbAccountResultOutput) ToLookupDbAccountResultOutputWithContext added in v0.0.15

func (o LookupDbAccountResultOutput) ToLookupDbAccountResultOutputWithContext(ctx context.Context) LookupDbAccountResultOutput

type LookupDbEndpointArgs added in v0.0.17

type LookupDbEndpointArgs struct {
	// Uniquely identifies the resource.
	Id string `pulumi:"id"`
}

A collection of arguments for invoking getDbEndpoint.

type LookupDbEndpointOutputArgs added in v0.0.17

type LookupDbEndpointOutputArgs struct {
	// Uniquely identifies the resource.
	Id pulumi.StringInput `pulumi:"id"`
}

A collection of arguments for invoking getDbEndpoint.

func (LookupDbEndpointOutputArgs) ElementType added in v0.0.17

func (LookupDbEndpointOutputArgs) ElementType() reflect.Type

type LookupDbEndpointResult added in v0.0.17

type LookupDbEndpointResult struct {
	// When the endpoint type is read/write or read-only, you can configure whether new nodes are automatically added. Values: Enable: Automatically add. Disable: Do not automatically add (default).
	AutoAddNewNodes string `pulumi:"autoAddNewNodes"`
	// Address description
	Description string `pulumi:"description"`
	// Whether global read-only is enabled. Enable: Enabled. Disable: Not enabled.
	EnableReadOnly string `pulumi:"enableReadOnly"`
	// Whether read/write splitting is enabled. Values: Enable: Enabled. Disable: Not enabled.
	EnableReadWriteSplitting string `pulumi:"enableReadWriteSplitting"`
	// Instance connection endpoint ID.
	EndpointId string `pulumi:"endpointId"`
	// Instance connection endpoint name.
	EndpointName string `pulumi:"endpointName"`
	// Endpoint type: Cluster: default endpoint (created by default). Custom: custom endpoint.
	EndpointType string `pulumi:"endpointType"`
	// Uniquely identifies the resource.
	Id string `pulumi:"id"`
	// Public service zone connection address
	InnerAddresses GetDbEndpointInnerAddresses `pulumi:"innerAddresses"`
	// Instance ID.
	InstanceId string `pulumi:"instanceId"`
	// List of nodes configured for the connection endpoint. Note: Required when EndpointType is Custom. The primary node does not require a node ID; use the string 'Primary'.
	Nodes string `pulumi:"nodes"`
	// Private network connection address
	PrivateAddresses GetDbEndpointPrivateAddresses `pulumi:"privateAddresses"`
	// Public network connection address
	PublicAddresses GetDbEndpointPublicAddresses `pulumi:"publicAddresses"`
	// Read-only weight allocation mode. Values: Default: standard weight allocation (default). Custom: custom weight allocation.
	ReadOnlyNodeDistributionType string `pulumi:"readOnlyNodeDistributionType"`
	// Maximum latency threshold for read-only nodes. When the latency of a read-only node exceeds this value, read traffic will not be sent to that node. Unit: seconds. Range: 0~3600. Default: 30. Note: This parameter can be set for default endpoints with read/write splitting enabled.
	ReadOnlyNodeMaxDelayTime int `pulumi:"readOnlyNodeMaxDelayTime"`
	// List of nodes configured for the connection endpoint and their corresponding read-only weights.
	ReadOnlyNodeWeights []GetDbEndpointReadOnlyNodeWeight `pulumi:"readOnlyNodeWeights"`
	// Read/write mode: ReadWrite: read/write. ReadOnly: read-only.
	ReadWriteMode string `pulumi:"readWriteMode"`
	// After enabling read/write splitting for the endpoint, set the number of proxy connections for the endpoint. The minimum value for proxy connections is 20. The maximum value depends on the specifications of the primary node; different specifications support different maximum proxy connections. For details, see product specifications.
	ReadWriteProxyConnection int `pulumi:"readWriteProxyConnection"`
	// Whether the endpoint sends write requests to the write node (currently only the primary node is the write node). Values: true: Yes (default). false: No.
	WriteNodeHaltWriting bool `pulumi:"writeNodeHaltWriting"`
}

A collection of values returned by getDbEndpoint.

func LookupDbEndpoint added in v0.0.17

func LookupDbEndpoint(ctx *pulumi.Context, args *LookupDbEndpointArgs, opts ...pulumi.InvokeOption) (*LookupDbEndpointResult, error)

Data Source schema for Byteplus::RDSPostgreSQL::DBEndpoint

type LookupDbEndpointResultOutput added in v0.0.17

type LookupDbEndpointResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDbEndpoint.

func LookupDbEndpointOutput added in v0.0.17

func (LookupDbEndpointResultOutput) AutoAddNewNodes added in v0.0.17

func (o LookupDbEndpointResultOutput) AutoAddNewNodes() pulumi.StringOutput

When the endpoint type is read/write or read-only, you can configure whether new nodes are automatically added. Values: Enable: Automatically add. Disable: Do not automatically add (default).

func (LookupDbEndpointResultOutput) Description added in v0.0.17

Address description

func (LookupDbEndpointResultOutput) ElementType added in v0.0.17

func (LookupDbEndpointResultOutput) EnableReadOnly added in v0.0.17

Whether global read-only is enabled. Enable: Enabled. Disable: Not enabled.

func (LookupDbEndpointResultOutput) EnableReadWriteSplitting added in v0.0.17

func (o LookupDbEndpointResultOutput) EnableReadWriteSplitting() pulumi.StringOutput

Whether read/write splitting is enabled. Values: Enable: Enabled. Disable: Not enabled.

func (LookupDbEndpointResultOutput) EndpointId added in v0.0.17

Instance connection endpoint ID.

func (LookupDbEndpointResultOutput) EndpointName added in v0.0.17

Instance connection endpoint name.

func (LookupDbEndpointResultOutput) EndpointType added in v0.0.17

Endpoint type: Cluster: default endpoint (created by default). Custom: custom endpoint.

func (LookupDbEndpointResultOutput) Id added in v0.0.17

Uniquely identifies the resource.

func (LookupDbEndpointResultOutput) InnerAddresses added in v0.0.29

Public service zone connection address

func (LookupDbEndpointResultOutput) InstanceId added in v0.0.17

Instance ID.

func (LookupDbEndpointResultOutput) Nodes added in v0.0.17

List of nodes configured for the connection endpoint. Note: Required when EndpointType is Custom. The primary node does not require a node ID; use the string 'Primary'.

func (LookupDbEndpointResultOutput) PrivateAddresses added in v0.0.29

Private network connection address

func (LookupDbEndpointResultOutput) PublicAddresses added in v0.0.29

Public network connection address

func (LookupDbEndpointResultOutput) ReadOnlyNodeDistributionType added in v0.0.17

func (o LookupDbEndpointResultOutput) ReadOnlyNodeDistributionType() pulumi.StringOutput

Read-only weight allocation mode. Values: Default: standard weight allocation (default). Custom: custom weight allocation.

func (LookupDbEndpointResultOutput) ReadOnlyNodeMaxDelayTime added in v0.0.17

func (o LookupDbEndpointResultOutput) ReadOnlyNodeMaxDelayTime() pulumi.IntOutput

Maximum latency threshold for read-only nodes. When the latency of a read-only node exceeds this value, read traffic will not be sent to that node. Unit: seconds. Range: 0~3600. Default: 30. Note: This parameter can be set for default endpoints with read/write splitting enabled.

func (LookupDbEndpointResultOutput) ReadOnlyNodeWeights added in v0.0.17

List of nodes configured for the connection endpoint and their corresponding read-only weights.

func (LookupDbEndpointResultOutput) ReadWriteMode added in v0.0.17

Read/write mode: ReadWrite: read/write. ReadOnly: read-only.

func (LookupDbEndpointResultOutput) ReadWriteProxyConnection added in v0.0.17

func (o LookupDbEndpointResultOutput) ReadWriteProxyConnection() pulumi.IntOutput

After enabling read/write splitting for the endpoint, set the number of proxy connections for the endpoint. The minimum value for proxy connections is 20. The maximum value depends on the specifications of the primary node; different specifications support different maximum proxy connections. For details, see product specifications.

func (LookupDbEndpointResultOutput) ToLookupDbEndpointResultOutput added in v0.0.17

func (o LookupDbEndpointResultOutput) ToLookupDbEndpointResultOutput() LookupDbEndpointResultOutput

func (LookupDbEndpointResultOutput) ToLookupDbEndpointResultOutputWithContext added in v0.0.17

func (o LookupDbEndpointResultOutput) ToLookupDbEndpointResultOutputWithContext(ctx context.Context) LookupDbEndpointResultOutput

func (LookupDbEndpointResultOutput) WriteNodeHaltWriting added in v0.0.17

func (o LookupDbEndpointResultOutput) WriteNodeHaltWriting() pulumi.BoolOutput

Whether the endpoint sends write requests to the write node (currently only the primary node is the write node). Values: true: Yes (default). false: No.

type LookupInstanceArgs added in v0.0.23

type LookupInstanceArgs struct {
	// Uniquely identifies the resource.
	Id string `pulumi:"id"`
}

A collection of arguments for invoking getInstance.

type LookupInstanceOutputArgs added in v0.0.23

type LookupInstanceOutputArgs struct {
	// Uniquely identifies the resource.
	Id pulumi.StringInput `pulumi:"id"`
}

A collection of arguments for invoking getInstance.

func (LookupInstanceOutputArgs) ElementType added in v0.0.23

func (LookupInstanceOutputArgs) ElementType() reflect.Type

type LookupInstanceResult added in v0.0.23

type LookupInstanceResult struct {
	// Allowlist ID. To bind multiple allowlists, separate allowlist IDs with commas (,). An instance can bind up to 100 allowlists.
	AllowListIds []string `pulumi:"allowListIds"`
	// Payment method
	ChargeDetail GetInstanceChargeDetail `pulumi:"chargeDetail"`
	// Instance creation time
	CreateTime string `pulumi:"createTime"`
	// Synchronization mode. Value: Async (asynchronous synchronization)
	DataSyncMode string `pulumi:"dataSyncMode"`
	// Compatible version
	DbEngineVersion string `pulumi:"dbEngineVersion"`
	// Instance connection information
	Endpoints []GetInstanceEndpoint `pulumi:"endpoints"`
	// Uniquely identifies the resource.
	Id string `pulumi:"id"`
	// Instance ID
	InstanceId string `pulumi:"instanceId"`
	// Instance name
	InstanceName string `pulumi:"instanceName"`
	// Instance status
	InstanceStatus string `pulumi:"instanceStatus"`
	// Instance type. Value: HA (high availability edition)
	InstanceType string `pulumi:"instanceType"`
	// KMS key ring TRN, format: trn:kms:\n\n:\n\n:keyrings/\n\n/keys/\n\n. This parameter is required when TDEEnable is true.
	KmsTrn string `pulumi:"kmsTrn"`
	// Instance maintenance window
	MaintenanceWindow GetInstanceMaintenanceWindow `pulumi:"maintenanceWindow"`
	// Memory size, unit: GB
	Memory float64 `pulumi:"memory"`
	// Instance specification configuration
	NodeInfos []GetInstanceNodeInfo `pulumi:"nodeInfos"`
	// Number of nodes
	NodeNumber float64 `pulumi:"nodeNumber"`
	// Primary node specification
	NodeSpec string `pulumi:"nodeSpec"`
	// Project. Default value: default project
	ProjectName string `pulumi:"projectName"`
	// Replication slot list for the instance
	ReplicationSlots []GetInstanceReplicationSlot `pulumi:"replicationSlots"`
	// Restore backup data to the current instance
	RestoreToExistedInstance GetInstanceRestoreToExistedInstance `pulumi:"restoreToExistedInstance"`
	// Data file space used by the primary node. Unit: Byte
	StorageDataUse float64 `pulumi:"storageDataUse"`
	// Log file space used by the primary node. Unit: Byte
	StorageLogUse float64 `pulumi:"storageLogUse"`
	// Instance storage space. Value range: [20, 3000], unit: GB, increment: 10GB. Default value is 100
	StorageSpace float64 `pulumi:"storageSpace"`
	// Temporary file space used by the primary node. Unit: Byte
	StorageTempUse float64 `pulumi:"storageTempUse"`
	// Instance storage type, fixed value LocalSSD (local SSD disk)
	StorageType string `pulumi:"storageType"`
	// Used storage space of the instance. Unit: Byte
	StorageUse float64 `pulumi:"storageUse"`
	// Used WAL file space of the instance's primary node. Unit: Byte
	StorageWalUse float64 `pulumi:"storageWalUse"`
	// Subnet ID
	SubnetId string `pulumi:"subnetId"`
	// Tag information of the cloud disk
	Tags []GetInstanceTag `pulumi:"tags"`
	// Specifies whether to enable the Transparent Data Encryption (TDE) feature. The default value is false (disabled). This feature can only be enabled when creating an instance, and is supported only for PostgreSQL 17 with local SSD storage. Once enabled, it cannot be disabled.
	TdeEnable bool `pulumi:"tdeEnable"`
	// Instance update time
	UpdateTime string `pulumi:"updateTime"`
	// CPU size. For example: 1 means 1U
	Vcpu float64 `pulumi:"vcpu"`
	// Use this parameter to specify the private network for the instance
	VpcId string `pulumi:"vpcId"`
	// Availability zone ID
	ZoneId string `pulumi:"zoneId"`
}

A collection of values returned by getInstance.

func LookupInstance added in v0.0.23

func LookupInstance(ctx *pulumi.Context, args *LookupInstanceArgs, opts ...pulumi.InvokeOption) (*LookupInstanceResult, error)

Data Source schema for Byteplus::RDSPostgreSQL::Instance

type LookupInstanceResultOutput added in v0.0.23

type LookupInstanceResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getInstance.

func LookupInstanceOutput added in v0.0.23

func LookupInstanceOutput(ctx *pulumi.Context, args LookupInstanceOutputArgs, opts ...pulumi.InvokeOption) LookupInstanceResultOutput

func (LookupInstanceResultOutput) AllowListIds added in v0.0.23

Allowlist ID. To bind multiple allowlists, separate allowlist IDs with commas (,). An instance can bind up to 100 allowlists.

func (LookupInstanceResultOutput) ChargeDetail added in v0.0.23

Payment method

func (LookupInstanceResultOutput) CreateTime added in v0.0.23

Instance creation time

func (LookupInstanceResultOutput) DataSyncMode added in v0.0.23

Synchronization mode. Value: Async (asynchronous synchronization)

func (LookupInstanceResultOutput) DbEngineVersion added in v0.0.23

func (o LookupInstanceResultOutput) DbEngineVersion() pulumi.StringOutput

Compatible version

func (LookupInstanceResultOutput) ElementType added in v0.0.23

func (LookupInstanceResultOutput) ElementType() reflect.Type

func (LookupInstanceResultOutput) Endpoints added in v0.0.23

Instance connection information

func (LookupInstanceResultOutput) Id added in v0.0.23

Uniquely identifies the resource.

func (LookupInstanceResultOutput) InstanceId added in v0.0.23

Instance ID

func (LookupInstanceResultOutput) InstanceName added in v0.0.23

Instance name

func (LookupInstanceResultOutput) InstanceStatus added in v0.0.23

func (o LookupInstanceResultOutput) InstanceStatus() pulumi.StringOutput

Instance status

func (LookupInstanceResultOutput) InstanceType added in v0.0.23

Instance type. Value: HA (high availability edition)

func (LookupInstanceResultOutput) KmsTrn

KMS key ring TRN, format: trn:kms:\n\n:\n\n:keyrings/\n\n/keys/\n\n. This parameter is required when TDEEnable is true.

func (LookupInstanceResultOutput) MaintenanceWindow added in v0.0.23

Instance maintenance window

func (LookupInstanceResultOutput) Memory added in v0.0.23

Memory size, unit: GB

func (LookupInstanceResultOutput) NodeInfos added in v0.0.23

Instance specification configuration

func (LookupInstanceResultOutput) NodeNumber added in v0.0.23

Number of nodes

func (LookupInstanceResultOutput) NodeSpec added in v0.0.23

Primary node specification

func (LookupInstanceResultOutput) ProjectName added in v0.0.23

Project. Default value: default project

func (LookupInstanceResultOutput) ReplicationSlots added in v0.0.33

Replication slot list for the instance

func (LookupInstanceResultOutput) RestoreToExistedInstance added in v0.0.33

Restore backup data to the current instance

func (LookupInstanceResultOutput) StorageDataUse added in v0.0.23

func (o LookupInstanceResultOutput) StorageDataUse() pulumi.Float64Output

Data file space used by the primary node. Unit: Byte

func (LookupInstanceResultOutput) StorageLogUse added in v0.0.23

Log file space used by the primary node. Unit: Byte

func (LookupInstanceResultOutput) StorageSpace added in v0.0.23

Instance storage space. Value range: [20, 3000], unit: GB, increment: 10GB. Default value is 100

func (LookupInstanceResultOutput) StorageTempUse added in v0.0.23

func (o LookupInstanceResultOutput) StorageTempUse() pulumi.Float64Output

Temporary file space used by the primary node. Unit: Byte

func (LookupInstanceResultOutput) StorageType added in v0.0.23

Instance storage type, fixed value LocalSSD (local SSD disk)

func (LookupInstanceResultOutput) StorageUse added in v0.0.23

Used storage space of the instance. Unit: Byte

func (LookupInstanceResultOutput) StorageWalUse added in v0.0.23

Used WAL file space of the instance's primary node. Unit: Byte

func (LookupInstanceResultOutput) SubnetId added in v0.0.23

Subnet ID

func (LookupInstanceResultOutput) Tags added in v0.0.23

Tag information of the cloud disk

func (LookupInstanceResultOutput) TdeEnable

Specifies whether to enable the Transparent Data Encryption (TDE) feature. The default value is false (disabled). This feature can only be enabled when creating an instance, and is supported only for PostgreSQL 17 with local SSD storage. Once enabled, it cannot be disabled.

func (LookupInstanceResultOutput) ToLookupInstanceResultOutput added in v0.0.23

func (o LookupInstanceResultOutput) ToLookupInstanceResultOutput() LookupInstanceResultOutput

func (LookupInstanceResultOutput) ToLookupInstanceResultOutputWithContext added in v0.0.23

func (o LookupInstanceResultOutput) ToLookupInstanceResultOutputWithContext(ctx context.Context) LookupInstanceResultOutput

func (LookupInstanceResultOutput) UpdateTime added in v0.0.23

Instance update time

func (LookupInstanceResultOutput) Vcpu added in v0.0.23

CPU size. For example: 1 means 1U

func (LookupInstanceResultOutput) VpcId added in v0.0.23

Use this parameter to specify the private network for the instance

func (LookupInstanceResultOutput) ZoneId added in v0.0.23

Availability zone ID

type LookupInstanceSslArgs added in v0.0.35

type LookupInstanceSslArgs struct {
	// Uniquely identifies the resource.
	Id string `pulumi:"id"`
}

A collection of arguments for invoking getInstanceSsl.

type LookupInstanceSslOutputArgs added in v0.0.35

type LookupInstanceSslOutputArgs struct {
	// Uniquely identifies the resource.
	Id pulumi.StringInput `pulumi:"id"`
}

A collection of arguments for invoking getInstanceSsl.

func (LookupInstanceSslOutputArgs) ElementType added in v0.0.35

type LookupInstanceSslResult added in v0.0.35

type LookupInstanceSslResult struct {
	// Protected address.
	Addresses []string `pulumi:"addresses"`
	// Is force encryption enabled? Value: true: Yes. false: No.
	ForceEncryption bool `pulumi:"forceEncryption"`
	// Uniquely identifies the resource.
	Id string `pulumi:"id"`
	// Instance ID.
	InstanceId string `pulumi:"instanceId"`
	// Is the SSL certificate valid? Value: true: Yes. false: No.
	IsValid bool `pulumi:"isValid"`
	// If set to true, the SSL certificate validity period will be updated.
	ReloadSslCertificate bool `pulumi:"reloadSslCertificate"`
	// Is SSL functionality enabled? Value: true: Yes. false: No.
	SslEnable bool `pulumi:"sslEnable"`
	// SSL certificate expiration time. Format: yyyy-MM-ddTHH:mm:ss (UTC).
	SslExpireTime string `pulumi:"sslExpireTime"`
	// Supported TLS versions.
	TlsVersions []string `pulumi:"tlsVersions"`
}

A collection of values returned by getInstanceSsl.

func LookupInstanceSsl added in v0.0.35

func LookupInstanceSsl(ctx *pulumi.Context, args *LookupInstanceSslArgs, opts ...pulumi.InvokeOption) (*LookupInstanceSslResult, error)

Data Source schema for Byteplus::RDSPostgreSQL::InstanceSSL

type LookupInstanceSslResultOutput added in v0.0.35

type LookupInstanceSslResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getInstanceSsl.

func LookupInstanceSslOutput added in v0.0.35

func (LookupInstanceSslResultOutput) Addresses added in v0.0.35

Protected address.

func (LookupInstanceSslResultOutput) ElementType added in v0.0.35

func (LookupInstanceSslResultOutput) ForceEncryption added in v0.0.35

func (o LookupInstanceSslResultOutput) ForceEncryption() pulumi.BoolOutput

Is force encryption enabled? Value: true: Yes. false: No.

func (LookupInstanceSslResultOutput) Id added in v0.0.35

Uniquely identifies the resource.

func (LookupInstanceSslResultOutput) InstanceId added in v0.0.35

Instance ID.

func (LookupInstanceSslResultOutput) IsValid added in v0.0.35

Is the SSL certificate valid? Value: true: Yes. false: No.

func (LookupInstanceSslResultOutput) ReloadSslCertificate added in v0.0.35

func (o LookupInstanceSslResultOutput) ReloadSslCertificate() pulumi.BoolOutput

If set to true, the SSL certificate validity period will be updated.

func (LookupInstanceSslResultOutput) SslEnable added in v0.0.35

Is SSL functionality enabled? Value: true: Yes. false: No.

func (LookupInstanceSslResultOutput) SslExpireTime added in v0.0.35

SSL certificate expiration time. Format: yyyy-MM-ddTHH:mm:ss (UTC).

func (LookupInstanceSslResultOutput) TlsVersions added in v0.0.35

Supported TLS versions.

func (LookupInstanceSslResultOutput) ToLookupInstanceSslResultOutput added in v0.0.35

func (o LookupInstanceSslResultOutput) ToLookupInstanceSslResultOutput() LookupInstanceSslResultOutput

func (LookupInstanceSslResultOutput) ToLookupInstanceSslResultOutputWithContext added in v0.0.35

func (o LookupInstanceSslResultOutput) ToLookupInstanceSslResultOutputWithContext(ctx context.Context) LookupInstanceSslResultOutput

type LookupParameterTemplateArgs added in v0.0.31

type LookupParameterTemplateArgs struct {
	// Uniquely identifies the resource.
	Id string `pulumi:"id"`
}

A collection of arguments for invoking getParameterTemplate.

type LookupParameterTemplateOutputArgs added in v0.0.31

type LookupParameterTemplateOutputArgs struct {
	// Uniquely identifies the resource.
	Id pulumi.StringInput `pulumi:"id"`
}

A collection of arguments for invoking getParameterTemplate.

func (LookupParameterTemplateOutputArgs) ElementType added in v0.0.31

type LookupParameterTemplateResult added in v0.0.31

type LookupParameterTemplateResult struct {
	// Account ID
	AccountId string `pulumi:"accountId"`
	// Parameter template creation time
	CreateTime string `pulumi:"createTime"`
	// Uniquely identifies the resource.
	Id string `pulumi:"id"`
	// Whether the template contains parameters that require a restart to take effect
	NeedRestart bool `pulumi:"needRestart"`
	// Number of parameters included in the template
	ParameterNum int `pulumi:"parameterNum"`
	// Template category
	TemplateCategory string `pulumi:"templateCategory"`
	// Parameter template description information
	TemplateDesc string `pulumi:"templateDesc"`
	// Parameter template ID, automatically generated by the system
	TemplateId string `pulumi:"templateId"`
	// Parameter template name
	TemplateName string `pulumi:"templateName"`
	// List of parameters included in the parameter template
	TemplateParams []GetParameterTemplateTemplateParam `pulumi:"templateParams"`
	// Parameter template source type. Options: System (system template), User (user template)
	TemplateSource string `pulumi:"templateSource"`
	// Database type of the parameter template. Value: PostgreSQL
	TemplateType string `pulumi:"templateType"`
	// Database version of the parameter template, such as PostgreSQL*13, PostgreSQL*14, PostgreSQL_15, etc
	TemplateTypeVersion string `pulumi:"templateTypeVersion"`
	// Last modified time of the parameter template
	UpdateTime string `pulumi:"updateTime"`
}

A collection of values returned by getParameterTemplate.

func LookupParameterTemplate added in v0.0.31

func LookupParameterTemplate(ctx *pulumi.Context, args *LookupParameterTemplateArgs, opts ...pulumi.InvokeOption) (*LookupParameterTemplateResult, error)

Data Source schema for Byteplus::RDSPostgreSQL::ParameterTemplate

type LookupParameterTemplateResultOutput added in v0.0.31

type LookupParameterTemplateResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getParameterTemplate.

func LookupParameterTemplateOutput added in v0.0.31

func (LookupParameterTemplateResultOutput) AccountId added in v0.0.31

Account ID

func (LookupParameterTemplateResultOutput) CreateTime added in v0.0.31

Parameter template creation time

func (LookupParameterTemplateResultOutput) ElementType added in v0.0.31

func (LookupParameterTemplateResultOutput) Id added in v0.0.31

Uniquely identifies the resource.

func (LookupParameterTemplateResultOutput) NeedRestart added in v0.0.31

Whether the template contains parameters that require a restart to take effect

func (LookupParameterTemplateResultOutput) ParameterNum added in v0.0.31

Number of parameters included in the template

func (LookupParameterTemplateResultOutput) TemplateCategory added in v0.0.31

Template category

func (LookupParameterTemplateResultOutput) TemplateDesc added in v0.0.31

Parameter template description information

func (LookupParameterTemplateResultOutput) TemplateId added in v0.0.31

Parameter template ID, automatically generated by the system

func (LookupParameterTemplateResultOutput) TemplateName added in v0.0.31

Parameter template name

func (LookupParameterTemplateResultOutput) TemplateParams added in v0.0.31

List of parameters included in the parameter template

func (LookupParameterTemplateResultOutput) TemplateSource added in v0.0.31

Parameter template source type. Options: System (system template), User (user template)

func (LookupParameterTemplateResultOutput) TemplateType added in v0.0.31

Database type of the parameter template. Value: PostgreSQL

func (LookupParameterTemplateResultOutput) TemplateTypeVersion added in v0.0.31

Database version of the parameter template, such as PostgreSQL*13, PostgreSQL*14, PostgreSQL_15, etc

func (LookupParameterTemplateResultOutput) ToLookupParameterTemplateResultOutput added in v0.0.31

func (o LookupParameterTemplateResultOutput) ToLookupParameterTemplateResultOutput() LookupParameterTemplateResultOutput

func (LookupParameterTemplateResultOutput) ToLookupParameterTemplateResultOutputWithContext added in v0.0.31

func (o LookupParameterTemplateResultOutput) ToLookupParameterTemplateResultOutputWithContext(ctx context.Context) LookupParameterTemplateResultOutput

func (LookupParameterTemplateResultOutput) UpdateTime added in v0.0.31

Last modified time of the parameter template

type LookupSchemaArgs added in v0.0.17

type LookupSchemaArgs struct {
	// Uniquely identifies the resource.
	Id string `pulumi:"id"`
}

A collection of arguments for invoking getSchema.

type LookupSchemaOutputArgs added in v0.0.17

type LookupSchemaOutputArgs struct {
	// Uniquely identifies the resource.
	Id pulumi.StringInput `pulumi:"id"`
}

A collection of arguments for invoking getSchema.

func (LookupSchemaOutputArgs) ElementType added in v0.0.17

func (LookupSchemaOutputArgs) ElementType() reflect.Type

type LookupSchemaResult added in v0.0.17

type LookupSchemaResult struct {
	// Database name
	DbName string `pulumi:"dbName"`
	// Uniquely identifies the resource.
	Id string `pulumi:"id"`
	// Instance ID
	InstanceId string `pulumi:"instanceId"`
	// Schema owner. Note that instance read-only accounts, high-privilege accounts with DDL permissions disabled, or regular accounts with DDL permissions disabled cannot be set as the Schema owner.
	Owner string `pulumi:"owner"`
	// Schema name. Length: 2–63 characters. Can contain letters, numbers, underscores (*), or hyphens (-). Must start with a letter and end with a letter or number. Reserved keywords are not allowed; for all disabled keywords, see Disabled Keywords. Cannot start with pg*
	SchemaName string `pulumi:"schemaName"`
}

A collection of values returned by getSchema.

func LookupSchema added in v0.0.17

func LookupSchema(ctx *pulumi.Context, args *LookupSchemaArgs, opts ...pulumi.InvokeOption) (*LookupSchemaResult, error)

Data Source schema for Byteplus::RDSPostgreSQL::Schema

type LookupSchemaResultOutput added in v0.0.17

type LookupSchemaResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSchema.

func LookupSchemaOutput added in v0.0.17

func LookupSchemaOutput(ctx *pulumi.Context, args LookupSchemaOutputArgs, opts ...pulumi.InvokeOption) LookupSchemaResultOutput

func (LookupSchemaResultOutput) DbName added in v0.0.17

Database name

func (LookupSchemaResultOutput) ElementType added in v0.0.17

func (LookupSchemaResultOutput) ElementType() reflect.Type

func (LookupSchemaResultOutput) Id added in v0.0.17

Uniquely identifies the resource.

func (LookupSchemaResultOutput) InstanceId added in v0.0.17

Instance ID

func (LookupSchemaResultOutput) Owner added in v0.0.17

Schema owner. Note that instance read-only accounts, high-privilege accounts with DDL permissions disabled, or regular accounts with DDL permissions disabled cannot be set as the Schema owner.

func (LookupSchemaResultOutput) SchemaName added in v0.0.17

Schema name. Length: 2–63 characters. Can contain letters, numbers, underscores (*), or hyphens (-). Must start with a letter and end with a letter or number. Reserved keywords are not allowed; for all disabled keywords, see Disabled Keywords. Cannot start with pg*

func (LookupSchemaResultOutput) ToLookupSchemaResultOutput added in v0.0.17

func (o LookupSchemaResultOutput) ToLookupSchemaResultOutput() LookupSchemaResultOutput

func (LookupSchemaResultOutput) ToLookupSchemaResultOutputWithContext added in v0.0.17

func (o LookupSchemaResultOutput) ToLookupSchemaResultOutputWithContext(ctx context.Context) LookupSchemaResultOutput

type ParameterTemplate added in v0.0.31

type ParameterTemplate struct {
	pulumi.CustomResourceState

	// Account ID
	AccountId pulumi.StringOutput `pulumi:"accountId"`
	// Parameter template creation time
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Whether the template contains parameters that require a restart to take effect
	NeedRestart pulumi.BoolOutput `pulumi:"needRestart"`
	// Number of parameters included in the template
	ParameterNum pulumi.IntOutput `pulumi:"parameterNum"`
	// Template category
	TemplateCategory pulumi.StringOutput `pulumi:"templateCategory"`
	// Parameter template description information
	TemplateDesc pulumi.StringOutput `pulumi:"templateDesc"`
	// Parameter template ID, automatically generated by the system
	TemplateId pulumi.StringOutput `pulumi:"templateId"`
	// Parameter template name
	TemplateName pulumi.StringOutput `pulumi:"templateName"`
	// List of parameters included in the parameter template
	// Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
	TemplateParams ParameterTemplateTemplateParamArrayOutput `pulumi:"templateParams"`
	// Parameter template source type. Options: System (system template), User (user template)
	TemplateSource pulumi.StringOutput `pulumi:"templateSource"`
	// Database type of the parameter template. Value: PostgreSQL
	TemplateType pulumi.StringOutput `pulumi:"templateType"`
	// Database version of the parameter template, such as PostgreSQL*13, PostgreSQL*14, PostgreSQL_15, etc
	TemplateTypeVersion pulumi.StringOutput `pulumi:"templateTypeVersion"`
	// Last modified time of the parameter template
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
}

Volcano Engine Cloud Database PostgreSQL parameter template, used for managing and batch applying PostgreSQL instance parameter configurations

## Example Usage

```go package main

import (

"github.com/byteplus-sdk/pulumi-bytepluscc/sdk/go/bytepluscc/rdspostgresql"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := rdspostgresql.NewParameterTemplate(ctx, "RDSPostgreSQLParameterTemplatDdemo", &rdspostgresql.ParameterTemplateArgs{
			TemplateName:        pulumi.String("全部测试参数模板"),
			TemplateType:        pulumi.String("PostgreSQL"),
			TemplateTypeVersion: pulumi.String("PostgreSQL_13"),
			TemplateDesc:        pulumi.String("全部测试参数模板,描述场景"),
			TemplateParams: rdspostgresql.ParameterTemplateTemplateParamArray{
				&rdspostgresql.ParameterTemplateTemplateParamArgs{
					Name:  pulumi.String("auto_explain.log_analyze"),
					Value: pulumi.String("on"),
				},
				&rdspostgresql.ParameterTemplateTemplateParamArgs{
					Name:  pulumi.String("auto_explain.log_buffers"),
					Value: pulumi.String("off"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

```sh $ pulumi import bytepluscc:rdspostgresql/parameterTemplate:ParameterTemplate example "template_id" ```

func GetParameterTemplate added in v0.0.31

func GetParameterTemplate(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ParameterTemplateState, opts ...pulumi.ResourceOption) (*ParameterTemplate, error)

GetParameterTemplate gets an existing ParameterTemplate 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 NewParameterTemplate added in v0.0.31

func NewParameterTemplate(ctx *pulumi.Context,
	name string, args *ParameterTemplateArgs, opts ...pulumi.ResourceOption) (*ParameterTemplate, error)

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

func (*ParameterTemplate) ElementType added in v0.0.31

func (*ParameterTemplate) ElementType() reflect.Type

func (*ParameterTemplate) ToParameterTemplateOutput added in v0.0.31

func (i *ParameterTemplate) ToParameterTemplateOutput() ParameterTemplateOutput

func (*ParameterTemplate) ToParameterTemplateOutputWithContext added in v0.0.31

func (i *ParameterTemplate) ToParameterTemplateOutputWithContext(ctx context.Context) ParameterTemplateOutput

type ParameterTemplateArgs added in v0.0.31

type ParameterTemplateArgs struct {
	// Parameter template description information
	TemplateDesc pulumi.StringPtrInput
	// Parameter template name
	TemplateName pulumi.StringInput
	// List of parameters included in the parameter template
	// Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
	TemplateParams ParameterTemplateTemplateParamArrayInput
	// Database type of the parameter template. Value: PostgreSQL
	TemplateType pulumi.StringInput
	// Database version of the parameter template, such as PostgreSQL*13, PostgreSQL*14, PostgreSQL_15, etc
	TemplateTypeVersion pulumi.StringInput
}

The set of arguments for constructing a ParameterTemplate resource.

func (ParameterTemplateArgs) ElementType added in v0.0.31

func (ParameterTemplateArgs) ElementType() reflect.Type

type ParameterTemplateArray added in v0.0.31

type ParameterTemplateArray []ParameterTemplateInput

func (ParameterTemplateArray) ElementType added in v0.0.31

func (ParameterTemplateArray) ElementType() reflect.Type

func (ParameterTemplateArray) ToParameterTemplateArrayOutput added in v0.0.31

func (i ParameterTemplateArray) ToParameterTemplateArrayOutput() ParameterTemplateArrayOutput

func (ParameterTemplateArray) ToParameterTemplateArrayOutputWithContext added in v0.0.31

func (i ParameterTemplateArray) ToParameterTemplateArrayOutputWithContext(ctx context.Context) ParameterTemplateArrayOutput

type ParameterTemplateArrayInput added in v0.0.31

type ParameterTemplateArrayInput interface {
	pulumi.Input

	ToParameterTemplateArrayOutput() ParameterTemplateArrayOutput
	ToParameterTemplateArrayOutputWithContext(context.Context) ParameterTemplateArrayOutput
}

ParameterTemplateArrayInput is an input type that accepts ParameterTemplateArray and ParameterTemplateArrayOutput values. You can construct a concrete instance of `ParameterTemplateArrayInput` via:

ParameterTemplateArray{ ParameterTemplateArgs{...} }

type ParameterTemplateArrayOutput added in v0.0.31

type ParameterTemplateArrayOutput struct{ *pulumi.OutputState }

func (ParameterTemplateArrayOutput) ElementType added in v0.0.31

func (ParameterTemplateArrayOutput) Index added in v0.0.31

func (ParameterTemplateArrayOutput) ToParameterTemplateArrayOutput added in v0.0.31

func (o ParameterTemplateArrayOutput) ToParameterTemplateArrayOutput() ParameterTemplateArrayOutput

func (ParameterTemplateArrayOutput) ToParameterTemplateArrayOutputWithContext added in v0.0.31

func (o ParameterTemplateArrayOutput) ToParameterTemplateArrayOutputWithContext(ctx context.Context) ParameterTemplateArrayOutput

type ParameterTemplateInput added in v0.0.31

type ParameterTemplateInput interface {
	pulumi.Input

	ToParameterTemplateOutput() ParameterTemplateOutput
	ToParameterTemplateOutputWithContext(ctx context.Context) ParameterTemplateOutput
}

type ParameterTemplateMap added in v0.0.31

type ParameterTemplateMap map[string]ParameterTemplateInput

func (ParameterTemplateMap) ElementType added in v0.0.31

func (ParameterTemplateMap) ElementType() reflect.Type

func (ParameterTemplateMap) ToParameterTemplateMapOutput added in v0.0.31

func (i ParameterTemplateMap) ToParameterTemplateMapOutput() ParameterTemplateMapOutput

func (ParameterTemplateMap) ToParameterTemplateMapOutputWithContext added in v0.0.31

func (i ParameterTemplateMap) ToParameterTemplateMapOutputWithContext(ctx context.Context) ParameterTemplateMapOutput

type ParameterTemplateMapInput added in v0.0.31

type ParameterTemplateMapInput interface {
	pulumi.Input

	ToParameterTemplateMapOutput() ParameterTemplateMapOutput
	ToParameterTemplateMapOutputWithContext(context.Context) ParameterTemplateMapOutput
}

ParameterTemplateMapInput is an input type that accepts ParameterTemplateMap and ParameterTemplateMapOutput values. You can construct a concrete instance of `ParameterTemplateMapInput` via:

ParameterTemplateMap{ "key": ParameterTemplateArgs{...} }

type ParameterTemplateMapOutput added in v0.0.31

type ParameterTemplateMapOutput struct{ *pulumi.OutputState }

func (ParameterTemplateMapOutput) ElementType added in v0.0.31

func (ParameterTemplateMapOutput) ElementType() reflect.Type

func (ParameterTemplateMapOutput) MapIndex added in v0.0.31

func (ParameterTemplateMapOutput) ToParameterTemplateMapOutput added in v0.0.31

func (o ParameterTemplateMapOutput) ToParameterTemplateMapOutput() ParameterTemplateMapOutput

func (ParameterTemplateMapOutput) ToParameterTemplateMapOutputWithContext added in v0.0.31

func (o ParameterTemplateMapOutput) ToParameterTemplateMapOutputWithContext(ctx context.Context) ParameterTemplateMapOutput

type ParameterTemplateOutput added in v0.0.31

type ParameterTemplateOutput struct{ *pulumi.OutputState }

func (ParameterTemplateOutput) AccountId added in v0.0.31

Account ID

func (ParameterTemplateOutput) CreateTime added in v0.0.31

Parameter template creation time

func (ParameterTemplateOutput) ElementType added in v0.0.31

func (ParameterTemplateOutput) ElementType() reflect.Type

func (ParameterTemplateOutput) NeedRestart added in v0.0.31

func (o ParameterTemplateOutput) NeedRestart() pulumi.BoolOutput

Whether the template contains parameters that require a restart to take effect

func (ParameterTemplateOutput) ParameterNum added in v0.0.31

func (o ParameterTemplateOutput) ParameterNum() pulumi.IntOutput

Number of parameters included in the template

func (ParameterTemplateOutput) TemplateCategory added in v0.0.31

func (o ParameterTemplateOutput) TemplateCategory() pulumi.StringOutput

Template category

func (ParameterTemplateOutput) TemplateDesc added in v0.0.31

func (o ParameterTemplateOutput) TemplateDesc() pulumi.StringOutput

Parameter template description information

func (ParameterTemplateOutput) TemplateId added in v0.0.31

Parameter template ID, automatically generated by the system

func (ParameterTemplateOutput) TemplateName added in v0.0.31

func (o ParameterTemplateOutput) TemplateName() pulumi.StringOutput

Parameter template name

func (ParameterTemplateOutput) TemplateParams added in v0.0.31

List of parameters included in the parameter template Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.

func (ParameterTemplateOutput) TemplateSource added in v0.0.31

func (o ParameterTemplateOutput) TemplateSource() pulumi.StringOutput

Parameter template source type. Options: System (system template), User (user template)

func (ParameterTemplateOutput) TemplateType added in v0.0.31

func (o ParameterTemplateOutput) TemplateType() pulumi.StringOutput

Database type of the parameter template. Value: PostgreSQL

func (ParameterTemplateOutput) TemplateTypeVersion added in v0.0.31

func (o ParameterTemplateOutput) TemplateTypeVersion() pulumi.StringOutput

Database version of the parameter template, such as PostgreSQL*13, PostgreSQL*14, PostgreSQL_15, etc

func (ParameterTemplateOutput) ToParameterTemplateOutput added in v0.0.31

func (o ParameterTemplateOutput) ToParameterTemplateOutput() ParameterTemplateOutput

func (ParameterTemplateOutput) ToParameterTemplateOutputWithContext added in v0.0.31

func (o ParameterTemplateOutput) ToParameterTemplateOutputWithContext(ctx context.Context) ParameterTemplateOutput

func (ParameterTemplateOutput) UpdateTime added in v0.0.31

Last modified time of the parameter template

type ParameterTemplateState added in v0.0.31

type ParameterTemplateState struct {
	// Account ID
	AccountId pulumi.StringPtrInput
	// Parameter template creation time
	CreateTime pulumi.StringPtrInput
	// Whether the template contains parameters that require a restart to take effect
	NeedRestart pulumi.BoolPtrInput
	// Number of parameters included in the template
	ParameterNum pulumi.IntPtrInput
	// Template category
	TemplateCategory pulumi.StringPtrInput
	// Parameter template description information
	TemplateDesc pulumi.StringPtrInput
	// Parameter template ID, automatically generated by the system
	TemplateId pulumi.StringPtrInput
	// Parameter template name
	TemplateName pulumi.StringPtrInput
	// List of parameters included in the parameter template
	// Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
	TemplateParams ParameterTemplateTemplateParamArrayInput
	// Parameter template source type. Options: System (system template), User (user template)
	TemplateSource pulumi.StringPtrInput
	// Database type of the parameter template. Value: PostgreSQL
	TemplateType pulumi.StringPtrInput
	// Database version of the parameter template, such as PostgreSQL*13, PostgreSQL*14, PostgreSQL_15, etc
	TemplateTypeVersion pulumi.StringPtrInput
	// Last modified time of the parameter template
	UpdateTime pulumi.StringPtrInput
}

func (ParameterTemplateState) ElementType added in v0.0.31

func (ParameterTemplateState) ElementType() reflect.Type

type ParameterTemplateTemplateParam added in v0.0.31

type ParameterTemplateTemplateParam struct {
	// Parameter name
	Name string `pulumi:"name"`
	// Parameter value
	Value string `pulumi:"value"`
}

type ParameterTemplateTemplateParamArgs added in v0.0.31

type ParameterTemplateTemplateParamArgs struct {
	// Parameter name
	Name pulumi.StringInput `pulumi:"name"`
	// Parameter value
	Value pulumi.StringInput `pulumi:"value"`
}

func (ParameterTemplateTemplateParamArgs) ElementType added in v0.0.31

func (ParameterTemplateTemplateParamArgs) ToParameterTemplateTemplateParamOutput added in v0.0.31

func (i ParameterTemplateTemplateParamArgs) ToParameterTemplateTemplateParamOutput() ParameterTemplateTemplateParamOutput

func (ParameterTemplateTemplateParamArgs) ToParameterTemplateTemplateParamOutputWithContext added in v0.0.31

func (i ParameterTemplateTemplateParamArgs) ToParameterTemplateTemplateParamOutputWithContext(ctx context.Context) ParameterTemplateTemplateParamOutput

type ParameterTemplateTemplateParamArray added in v0.0.31

type ParameterTemplateTemplateParamArray []ParameterTemplateTemplateParamInput

func (ParameterTemplateTemplateParamArray) ElementType added in v0.0.31

func (ParameterTemplateTemplateParamArray) ToParameterTemplateTemplateParamArrayOutput added in v0.0.31

func (i ParameterTemplateTemplateParamArray) ToParameterTemplateTemplateParamArrayOutput() ParameterTemplateTemplateParamArrayOutput

func (ParameterTemplateTemplateParamArray) ToParameterTemplateTemplateParamArrayOutputWithContext added in v0.0.31

func (i ParameterTemplateTemplateParamArray) ToParameterTemplateTemplateParamArrayOutputWithContext(ctx context.Context) ParameterTemplateTemplateParamArrayOutput

type ParameterTemplateTemplateParamArrayInput added in v0.0.31

type ParameterTemplateTemplateParamArrayInput interface {
	pulumi.Input

	ToParameterTemplateTemplateParamArrayOutput() ParameterTemplateTemplateParamArrayOutput
	ToParameterTemplateTemplateParamArrayOutputWithContext(context.Context) ParameterTemplateTemplateParamArrayOutput
}

ParameterTemplateTemplateParamArrayInput is an input type that accepts ParameterTemplateTemplateParamArray and ParameterTemplateTemplateParamArrayOutput values. You can construct a concrete instance of `ParameterTemplateTemplateParamArrayInput` via:

ParameterTemplateTemplateParamArray{ ParameterTemplateTemplateParamArgs{...} }

type ParameterTemplateTemplateParamArrayOutput added in v0.0.31

type ParameterTemplateTemplateParamArrayOutput struct{ *pulumi.OutputState }

func (ParameterTemplateTemplateParamArrayOutput) ElementType added in v0.0.31

func (ParameterTemplateTemplateParamArrayOutput) Index added in v0.0.31

func (ParameterTemplateTemplateParamArrayOutput) ToParameterTemplateTemplateParamArrayOutput added in v0.0.31

func (o ParameterTemplateTemplateParamArrayOutput) ToParameterTemplateTemplateParamArrayOutput() ParameterTemplateTemplateParamArrayOutput

func (ParameterTemplateTemplateParamArrayOutput) ToParameterTemplateTemplateParamArrayOutputWithContext added in v0.0.31

func (o ParameterTemplateTemplateParamArrayOutput) ToParameterTemplateTemplateParamArrayOutputWithContext(ctx context.Context) ParameterTemplateTemplateParamArrayOutput

type ParameterTemplateTemplateParamInput added in v0.0.31

type ParameterTemplateTemplateParamInput interface {
	pulumi.Input

	ToParameterTemplateTemplateParamOutput() ParameterTemplateTemplateParamOutput
	ToParameterTemplateTemplateParamOutputWithContext(context.Context) ParameterTemplateTemplateParamOutput
}

ParameterTemplateTemplateParamInput is an input type that accepts ParameterTemplateTemplateParamArgs and ParameterTemplateTemplateParamOutput values. You can construct a concrete instance of `ParameterTemplateTemplateParamInput` via:

ParameterTemplateTemplateParamArgs{...}

type ParameterTemplateTemplateParamOutput added in v0.0.31

type ParameterTemplateTemplateParamOutput struct{ *pulumi.OutputState }

func (ParameterTemplateTemplateParamOutput) ElementType added in v0.0.31

func (ParameterTemplateTemplateParamOutput) Name added in v0.0.31

Parameter name

func (ParameterTemplateTemplateParamOutput) ToParameterTemplateTemplateParamOutput added in v0.0.31

func (o ParameterTemplateTemplateParamOutput) ToParameterTemplateTemplateParamOutput() ParameterTemplateTemplateParamOutput

func (ParameterTemplateTemplateParamOutput) ToParameterTemplateTemplateParamOutputWithContext added in v0.0.31

func (o ParameterTemplateTemplateParamOutput) ToParameterTemplateTemplateParamOutputWithContext(ctx context.Context) ParameterTemplateTemplateParamOutput

func (ParameterTemplateTemplateParamOutput) Value added in v0.0.31

Parameter value

type Schema added in v0.0.17

type Schema struct {
	pulumi.CustomResourceState

	// Database name
	DbName pulumi.StringOutput `pulumi:"dbName"`
	// Instance ID
	InstanceId pulumi.StringOutput `pulumi:"instanceId"`
	// Schema owner. Note that instance read-only accounts, high-privilege accounts with DDL permissions disabled, or regular accounts with DDL permissions disabled cannot be set as the Schema owner.
	Owner pulumi.StringOutput `pulumi:"owner"`
	// Schema name. Length: 2–63 characters. Can contain letters, numbers, underscores (*), or hyphens (-). Must start with a letter and end with a letter or number. Reserved keywords are not allowed; for all disabled keywords, see Disabled Keywords. Cannot start with pg*
	SchemaName pulumi.StringOutput `pulumi:"schemaName"`
}

RDS PostgreSQL Schema resource type

## Example Usage

```go package main

import (

"github.com/byteplus-sdk/pulumi-bytepluscc/sdk/go/bytepluscc/rdspostgresql"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := rdspostgresql.NewSchema(ctx, "RDSPostgreSQLSchemaDemo", &rdspostgresql.SchemaArgs{
			InstanceId: pulumi.String("postgres-8d1fcxxxxx"),
			DbName:     pulumi.String("ccapi-terraform-1001"),
			SchemaName: pulumi.String("ccapi-terraform-1"),
			Owner:      pulumi.String("test"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

```sh $ pulumi import bytepluscc:rdspostgresql/schema:Schema example "instance_id|db_name|schema_name" ```

func GetSchema added in v0.0.17

func GetSchema(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SchemaState, opts ...pulumi.ResourceOption) (*Schema, error)

GetSchema gets an existing Schema 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 NewSchema added in v0.0.17

func NewSchema(ctx *pulumi.Context,
	name string, args *SchemaArgs, opts ...pulumi.ResourceOption) (*Schema, error)

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

func (*Schema) ElementType added in v0.0.17

func (*Schema) ElementType() reflect.Type

func (*Schema) ToSchemaOutput added in v0.0.17

func (i *Schema) ToSchemaOutput() SchemaOutput

func (*Schema) ToSchemaOutputWithContext added in v0.0.17

func (i *Schema) ToSchemaOutputWithContext(ctx context.Context) SchemaOutput

type SchemaArgs added in v0.0.17

type SchemaArgs struct {
	// Database name
	DbName pulumi.StringInput
	// Instance ID
	InstanceId pulumi.StringInput
	// Schema owner. Note that instance read-only accounts, high-privilege accounts with DDL permissions disabled, or regular accounts with DDL permissions disabled cannot be set as the Schema owner.
	Owner pulumi.StringInput
	// Schema name. Length: 2–63 characters. Can contain letters, numbers, underscores (*), or hyphens (-). Must start with a letter and end with a letter or number. Reserved keywords are not allowed; for all disabled keywords, see Disabled Keywords. Cannot start with pg*
	SchemaName pulumi.StringInput
}

The set of arguments for constructing a Schema resource.

func (SchemaArgs) ElementType added in v0.0.17

func (SchemaArgs) ElementType() reflect.Type

type SchemaArray added in v0.0.17

type SchemaArray []SchemaInput

func (SchemaArray) ElementType added in v0.0.17

func (SchemaArray) ElementType() reflect.Type

func (SchemaArray) ToSchemaArrayOutput added in v0.0.17

func (i SchemaArray) ToSchemaArrayOutput() SchemaArrayOutput

func (SchemaArray) ToSchemaArrayOutputWithContext added in v0.0.17

func (i SchemaArray) ToSchemaArrayOutputWithContext(ctx context.Context) SchemaArrayOutput

type SchemaArrayInput added in v0.0.17

type SchemaArrayInput interface {
	pulumi.Input

	ToSchemaArrayOutput() SchemaArrayOutput
	ToSchemaArrayOutputWithContext(context.Context) SchemaArrayOutput
}

SchemaArrayInput is an input type that accepts SchemaArray and SchemaArrayOutput values. You can construct a concrete instance of `SchemaArrayInput` via:

SchemaArray{ SchemaArgs{...} }

type SchemaArrayOutput added in v0.0.17

type SchemaArrayOutput struct{ *pulumi.OutputState }

func (SchemaArrayOutput) ElementType added in v0.0.17

func (SchemaArrayOutput) ElementType() reflect.Type

func (SchemaArrayOutput) Index added in v0.0.17

func (SchemaArrayOutput) ToSchemaArrayOutput added in v0.0.17

func (o SchemaArrayOutput) ToSchemaArrayOutput() SchemaArrayOutput

func (SchemaArrayOutput) ToSchemaArrayOutputWithContext added in v0.0.17

func (o SchemaArrayOutput) ToSchemaArrayOutputWithContext(ctx context.Context) SchemaArrayOutput

type SchemaInput added in v0.0.17

type SchemaInput interface {
	pulumi.Input

	ToSchemaOutput() SchemaOutput
	ToSchemaOutputWithContext(ctx context.Context) SchemaOutput
}

type SchemaMap added in v0.0.17

type SchemaMap map[string]SchemaInput

func (SchemaMap) ElementType added in v0.0.17

func (SchemaMap) ElementType() reflect.Type

func (SchemaMap) ToSchemaMapOutput added in v0.0.17

func (i SchemaMap) ToSchemaMapOutput() SchemaMapOutput

func (SchemaMap) ToSchemaMapOutputWithContext added in v0.0.17

func (i SchemaMap) ToSchemaMapOutputWithContext(ctx context.Context) SchemaMapOutput

type SchemaMapInput added in v0.0.17

type SchemaMapInput interface {
	pulumi.Input

	ToSchemaMapOutput() SchemaMapOutput
	ToSchemaMapOutputWithContext(context.Context) SchemaMapOutput
}

SchemaMapInput is an input type that accepts SchemaMap and SchemaMapOutput values. You can construct a concrete instance of `SchemaMapInput` via:

SchemaMap{ "key": SchemaArgs{...} }

type SchemaMapOutput added in v0.0.17

type SchemaMapOutput struct{ *pulumi.OutputState }

func (SchemaMapOutput) ElementType added in v0.0.17

func (SchemaMapOutput) ElementType() reflect.Type

func (SchemaMapOutput) MapIndex added in v0.0.17

func (SchemaMapOutput) ToSchemaMapOutput added in v0.0.17

func (o SchemaMapOutput) ToSchemaMapOutput() SchemaMapOutput

func (SchemaMapOutput) ToSchemaMapOutputWithContext added in v0.0.17

func (o SchemaMapOutput) ToSchemaMapOutputWithContext(ctx context.Context) SchemaMapOutput

type SchemaOutput added in v0.0.17

type SchemaOutput struct{ *pulumi.OutputState }

func (SchemaOutput) DbName added in v0.0.17

func (o SchemaOutput) DbName() pulumi.StringOutput

Database name

func (SchemaOutput) ElementType added in v0.0.17

func (SchemaOutput) ElementType() reflect.Type

func (SchemaOutput) InstanceId added in v0.0.17

func (o SchemaOutput) InstanceId() pulumi.StringOutput

Instance ID

func (SchemaOutput) Owner added in v0.0.17

func (o SchemaOutput) Owner() pulumi.StringOutput

Schema owner. Note that instance read-only accounts, high-privilege accounts with DDL permissions disabled, or regular accounts with DDL permissions disabled cannot be set as the Schema owner.

func (SchemaOutput) SchemaName added in v0.0.17

func (o SchemaOutput) SchemaName() pulumi.StringOutput

Schema name. Length: 2–63 characters. Can contain letters, numbers, underscores (*), or hyphens (-). Must start with a letter and end with a letter or number. Reserved keywords are not allowed; for all disabled keywords, see Disabled Keywords. Cannot start with pg*

func (SchemaOutput) ToSchemaOutput added in v0.0.17

func (o SchemaOutput) ToSchemaOutput() SchemaOutput

func (SchemaOutput) ToSchemaOutputWithContext added in v0.0.17

func (o SchemaOutput) ToSchemaOutputWithContext(ctx context.Context) SchemaOutput

type SchemaState added in v0.0.17

type SchemaState struct {
	// Database name
	DbName pulumi.StringPtrInput
	// Instance ID
	InstanceId pulumi.StringPtrInput
	// Schema owner. Note that instance read-only accounts, high-privilege accounts with DDL permissions disabled, or regular accounts with DDL permissions disabled cannot be set as the Schema owner.
	Owner pulumi.StringPtrInput
	// Schema name. Length: 2–63 characters. Can contain letters, numbers, underscores (*), or hyphens (-). Must start with a letter and end with a letter or number. Reserved keywords are not allowed; for all disabled keywords, see Disabled Keywords. Cannot start with pg*
	SchemaName pulumi.StringPtrInput
}

func (SchemaState) ElementType added in v0.0.17

func (SchemaState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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