dcdb

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: May 11, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PkgVersion

func PkgVersion() (semver.Version, error)

PkgVersion uses reflection to determine the version of the current package. If a version cannot be determined, v1 will be assumed. The second return value is always nil.

Types

type Account

type Account struct {
	pulumi.CustomResourceState

	// description for account.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// db host.
	Host pulumi.StringOutput `pulumi:"host"`
	// instance id.
	InstanceId pulumi.StringOutput `pulumi:"instanceId"`
	// max user connections.
	MaxUserConnections pulumi.IntPtrOutput `pulumi:"maxUserConnections"`
	// password.
	Password pulumi.StringOutput `pulumi:"password"`
	// whether the account is readonly. 0 means not a readonly account.
	ReadOnly pulumi.IntPtrOutput `pulumi:"readOnly"`
	// account name.
	UserName pulumi.StringOutput `pulumi:"userName"`
}

Provides a resource to create a dcdb account

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Dcdb"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Dcdb.NewAccount(ctx, "account", &Dcdb.AccountArgs{
			Description:        pulumi.String("this is a test account"),
			Host:               pulumi.String("127.0.0.1"),
			InstanceId:         pulumi.String("tdsqlshard-kkpoxvnv"),
			MaxUserConnections: pulumi.Int(10),
			Password:           pulumi.String("===password==="),
			ReadOnly:           pulumi.Int(0),
			UserName:           pulumi.String("mysql"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

dcdb account can be imported using the id, e.g.

```sh

$ pulumi import tencentcloud:Dcdb/account:Account account account_id

```

func GetAccount

func GetAccount(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AccountState, opts ...pulumi.ResourceOption) (*Account, error)

GetAccount gets an existing Account 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 NewAccount

func NewAccount(ctx *pulumi.Context,
	name string, args *AccountArgs, opts ...pulumi.ResourceOption) (*Account, error)

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

func (*Account) ElementType

func (*Account) ElementType() reflect.Type

func (*Account) ToAccountOutput

func (i *Account) ToAccountOutput() AccountOutput

func (*Account) ToAccountOutputWithContext

func (i *Account) ToAccountOutputWithContext(ctx context.Context) AccountOutput

type AccountArgs

type AccountArgs struct {
	// description for account.
	Description pulumi.StringPtrInput
	// db host.
	Host pulumi.StringInput
	// instance id.
	InstanceId pulumi.StringInput
	// max user connections.
	MaxUserConnections pulumi.IntPtrInput
	// password.
	Password pulumi.StringInput
	// whether the account is readonly. 0 means not a readonly account.
	ReadOnly pulumi.IntPtrInput
	// account name.
	UserName pulumi.StringInput
}

The set of arguments for constructing a Account resource.

func (AccountArgs) ElementType

func (AccountArgs) ElementType() reflect.Type

type AccountArray

type AccountArray []AccountInput

func (AccountArray) ElementType

func (AccountArray) ElementType() reflect.Type

func (AccountArray) ToAccountArrayOutput

func (i AccountArray) ToAccountArrayOutput() AccountArrayOutput

func (AccountArray) ToAccountArrayOutputWithContext

func (i AccountArray) ToAccountArrayOutputWithContext(ctx context.Context) AccountArrayOutput

type AccountArrayInput

type AccountArrayInput interface {
	pulumi.Input

	ToAccountArrayOutput() AccountArrayOutput
	ToAccountArrayOutputWithContext(context.Context) AccountArrayOutput
}

AccountArrayInput is an input type that accepts AccountArray and AccountArrayOutput values. You can construct a concrete instance of `AccountArrayInput` via:

AccountArray{ AccountArgs{...} }

type AccountArrayOutput

type AccountArrayOutput struct{ *pulumi.OutputState }

func (AccountArrayOutput) ElementType

func (AccountArrayOutput) ElementType() reflect.Type

func (AccountArrayOutput) Index

func (AccountArrayOutput) ToAccountArrayOutput

func (o AccountArrayOutput) ToAccountArrayOutput() AccountArrayOutput

func (AccountArrayOutput) ToAccountArrayOutputWithContext

func (o AccountArrayOutput) ToAccountArrayOutputWithContext(ctx context.Context) AccountArrayOutput

type AccountInput

type AccountInput interface {
	pulumi.Input

	ToAccountOutput() AccountOutput
	ToAccountOutputWithContext(ctx context.Context) AccountOutput
}

type AccountMap

type AccountMap map[string]AccountInput

func (AccountMap) ElementType

func (AccountMap) ElementType() reflect.Type

func (AccountMap) ToAccountMapOutput

func (i AccountMap) ToAccountMapOutput() AccountMapOutput

func (AccountMap) ToAccountMapOutputWithContext

func (i AccountMap) ToAccountMapOutputWithContext(ctx context.Context) AccountMapOutput

type AccountMapInput

type AccountMapInput interface {
	pulumi.Input

	ToAccountMapOutput() AccountMapOutput
	ToAccountMapOutputWithContext(context.Context) AccountMapOutput
}

AccountMapInput is an input type that accepts AccountMap and AccountMapOutput values. You can construct a concrete instance of `AccountMapInput` via:

AccountMap{ "key": AccountArgs{...} }

type AccountMapOutput

type AccountMapOutput struct{ *pulumi.OutputState }

func (AccountMapOutput) ElementType

func (AccountMapOutput) ElementType() reflect.Type

func (AccountMapOutput) MapIndex

func (AccountMapOutput) ToAccountMapOutput

func (o AccountMapOutput) ToAccountMapOutput() AccountMapOutput

func (AccountMapOutput) ToAccountMapOutputWithContext

func (o AccountMapOutput) ToAccountMapOutputWithContext(ctx context.Context) AccountMapOutput

type AccountOutput

type AccountOutput struct{ *pulumi.OutputState }

func (AccountOutput) Description

func (o AccountOutput) Description() pulumi.StringPtrOutput

description for account.

func (AccountOutput) ElementType

func (AccountOutput) ElementType() reflect.Type

func (AccountOutput) Host

db host.

func (AccountOutput) InstanceId

func (o AccountOutput) InstanceId() pulumi.StringOutput

instance id.

func (AccountOutput) MaxUserConnections

func (o AccountOutput) MaxUserConnections() pulumi.IntPtrOutput

max user connections.

func (AccountOutput) Password

func (o AccountOutput) Password() pulumi.StringOutput

password.

func (AccountOutput) ReadOnly

func (o AccountOutput) ReadOnly() pulumi.IntPtrOutput

whether the account is readonly. 0 means not a readonly account.

func (AccountOutput) ToAccountOutput

func (o AccountOutput) ToAccountOutput() AccountOutput

func (AccountOutput) ToAccountOutputWithContext

func (o AccountOutput) ToAccountOutputWithContext(ctx context.Context) AccountOutput

func (AccountOutput) UserName

func (o AccountOutput) UserName() pulumi.StringOutput

account name.

type AccountPrivileges

type AccountPrivileges struct {
	pulumi.CustomResourceState

	// The account of the database, including username and host.
	Account AccountPrivilegesAccountOutput `pulumi:"account"`
	// "Permissions for columns in database tables. Optional values for the Privileges permission are:""SELECT, INSERT, UPDATE, REFERENCES.""Note that if this parameter is not passed, the existing privileges are reserved. If you need to clear them, please pass an empty array in the complex type Privileges field.".
	ColumnPrivileges AccountPrivilegesColumnPrivilegesPtrOutput `pulumi:"columnPrivileges"`
	// "Database permissions. Optional values for the Privileges permission are:""SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, REFERENCES, INDEX, ALTER, CREATE TEMPORARY TABLES,""LOCK TABLES, EXECUTE, CREATE VIEW, SHOW VIEW, CREATE ROUTINE, ALTER ROUTINE, EVENT, TRIGGER.""Note that if this parameter is not passed, the existing privileges are reserved. If you need to clear them, please pass an empty array in the complex type Privileges field.".
	DatabasePrivileges AccountPrivilegesDatabasePrivilegesPtrOutput `pulumi:"databasePrivileges"`
	// "Global permissions. Among them, the optional value of the permission in GlobalPrivileges is:""SELECT, INSERT, UPDATE, DELETE, CREATE, PROCESS, DROP, REFERENCES, INDEX, ALTER, SHOW DATABASES,""CREATE TEMPORARY TABLES, LOCK TABLES, EXECUTE, CREATE VIEW, SHOW VIEW, CREATE ROUTINE, ALTER ROUTINE, EVENT, TRIGGER.""Note that if this parameter is not passed, it means that the existing permissions are reserved. If it needs to be cleared, pass an empty array in this field.".
	GlobalPrivileges pulumi.StringArrayOutput `pulumi:"globalPrivileges"`
	// The ID of instance.
	InstanceId pulumi.StringOutput `pulumi:"instanceId"`
	// "Permissions for tables in the database. Optional values for the Privileges permission are:""SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, REFERENCES, INDEX, ALTER, CREATE VIEW, SHOW VIEW, TRIGGER.""Note that if this parameter is not passed, the existing privileges are reserved. If you need to clear them, please pass an empty array in the complex type Privileges field.".
	TablePrivileges AccountPrivilegesTablePrivilegesPtrOutput `pulumi:"tablePrivileges"`
	// "Permissions for database views. Optional values for the Privileges permission are:""SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, REFERENCES, INDEX, ALTER, CREATE VIEW, SHOW VIEW, TRIGGER.""Note that if this parameter is not passed, the existing privileges are reserved. If you need to clear them, please pass an empty array in the complex type Privileges field.".
	ViewPrivileges AccountPrivilegesViewPrivilegesPtrOutput `pulumi:"viewPrivileges"`
}

Provides a resource to create a dcdb accountPrivileges

## Import

dcdb account_privileges can be imported using the id, e.g.

```sh

$ pulumi import tencentcloud:Dcdb/accountPrivileges:AccountPrivileges account_privileges instanceId#userName#host#dbName#tabName#viewName#colName

```

func GetAccountPrivileges

func GetAccountPrivileges(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AccountPrivilegesState, opts ...pulumi.ResourceOption) (*AccountPrivileges, error)

GetAccountPrivileges gets an existing AccountPrivileges 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 NewAccountPrivileges

func NewAccountPrivileges(ctx *pulumi.Context,
	name string, args *AccountPrivilegesArgs, opts ...pulumi.ResourceOption) (*AccountPrivileges, error)

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

func (*AccountPrivileges) ElementType

func (*AccountPrivileges) ElementType() reflect.Type

func (*AccountPrivileges) ToAccountPrivilegesOutput

func (i *AccountPrivileges) ToAccountPrivilegesOutput() AccountPrivilegesOutput

func (*AccountPrivileges) ToAccountPrivilegesOutputWithContext

func (i *AccountPrivileges) ToAccountPrivilegesOutputWithContext(ctx context.Context) AccountPrivilegesOutput

type AccountPrivilegesAccount

type AccountPrivilegesAccount struct {
	// account host.
	Host string `pulumi:"host"`
	// account name.
	User string `pulumi:"user"`
}

type AccountPrivilegesAccountArgs

type AccountPrivilegesAccountArgs struct {
	// account host.
	Host pulumi.StringInput `pulumi:"host"`
	// account name.
	User pulumi.StringInput `pulumi:"user"`
}

func (AccountPrivilegesAccountArgs) ElementType

func (AccountPrivilegesAccountArgs) ToAccountPrivilegesAccountOutput

func (i AccountPrivilegesAccountArgs) ToAccountPrivilegesAccountOutput() AccountPrivilegesAccountOutput

func (AccountPrivilegesAccountArgs) ToAccountPrivilegesAccountOutputWithContext

func (i AccountPrivilegesAccountArgs) ToAccountPrivilegesAccountOutputWithContext(ctx context.Context) AccountPrivilegesAccountOutput

func (AccountPrivilegesAccountArgs) ToAccountPrivilegesAccountPtrOutput

func (i AccountPrivilegesAccountArgs) ToAccountPrivilegesAccountPtrOutput() AccountPrivilegesAccountPtrOutput

func (AccountPrivilegesAccountArgs) ToAccountPrivilegesAccountPtrOutputWithContext

func (i AccountPrivilegesAccountArgs) ToAccountPrivilegesAccountPtrOutputWithContext(ctx context.Context) AccountPrivilegesAccountPtrOutput

type AccountPrivilegesAccountInput

type AccountPrivilegesAccountInput interface {
	pulumi.Input

	ToAccountPrivilegesAccountOutput() AccountPrivilegesAccountOutput
	ToAccountPrivilegesAccountOutputWithContext(context.Context) AccountPrivilegesAccountOutput
}

AccountPrivilegesAccountInput is an input type that accepts AccountPrivilegesAccountArgs and AccountPrivilegesAccountOutput values. You can construct a concrete instance of `AccountPrivilegesAccountInput` via:

AccountPrivilegesAccountArgs{...}

type AccountPrivilegesAccountOutput

type AccountPrivilegesAccountOutput struct{ *pulumi.OutputState }

func (AccountPrivilegesAccountOutput) ElementType

func (AccountPrivilegesAccountOutput) Host

account host.

func (AccountPrivilegesAccountOutput) ToAccountPrivilegesAccountOutput

func (o AccountPrivilegesAccountOutput) ToAccountPrivilegesAccountOutput() AccountPrivilegesAccountOutput

func (AccountPrivilegesAccountOutput) ToAccountPrivilegesAccountOutputWithContext

func (o AccountPrivilegesAccountOutput) ToAccountPrivilegesAccountOutputWithContext(ctx context.Context) AccountPrivilegesAccountOutput

func (AccountPrivilegesAccountOutput) ToAccountPrivilegesAccountPtrOutput

func (o AccountPrivilegesAccountOutput) ToAccountPrivilegesAccountPtrOutput() AccountPrivilegesAccountPtrOutput

func (AccountPrivilegesAccountOutput) ToAccountPrivilegesAccountPtrOutputWithContext

func (o AccountPrivilegesAccountOutput) ToAccountPrivilegesAccountPtrOutputWithContext(ctx context.Context) AccountPrivilegesAccountPtrOutput

func (AccountPrivilegesAccountOutput) User

account name.

type AccountPrivilegesAccountPtrInput

type AccountPrivilegesAccountPtrInput interface {
	pulumi.Input

	ToAccountPrivilegesAccountPtrOutput() AccountPrivilegesAccountPtrOutput
	ToAccountPrivilegesAccountPtrOutputWithContext(context.Context) AccountPrivilegesAccountPtrOutput
}

AccountPrivilegesAccountPtrInput is an input type that accepts AccountPrivilegesAccountArgs, AccountPrivilegesAccountPtr and AccountPrivilegesAccountPtrOutput values. You can construct a concrete instance of `AccountPrivilegesAccountPtrInput` via:

        AccountPrivilegesAccountArgs{...}

or:

        nil

type AccountPrivilegesAccountPtrOutput

type AccountPrivilegesAccountPtrOutput struct{ *pulumi.OutputState }

func (AccountPrivilegesAccountPtrOutput) Elem

func (AccountPrivilegesAccountPtrOutput) ElementType

func (AccountPrivilegesAccountPtrOutput) Host

account host.

func (AccountPrivilegesAccountPtrOutput) ToAccountPrivilegesAccountPtrOutput

func (o AccountPrivilegesAccountPtrOutput) ToAccountPrivilegesAccountPtrOutput() AccountPrivilegesAccountPtrOutput

func (AccountPrivilegesAccountPtrOutput) ToAccountPrivilegesAccountPtrOutputWithContext

func (o AccountPrivilegesAccountPtrOutput) ToAccountPrivilegesAccountPtrOutputWithContext(ctx context.Context) AccountPrivilegesAccountPtrOutput

func (AccountPrivilegesAccountPtrOutput) User

account name.

type AccountPrivilegesArgs

type AccountPrivilegesArgs struct {
	// The account of the database, including username and host.
	Account AccountPrivilegesAccountInput
	// "Permissions for columns in database tables. Optional values for the Privileges permission are:""SELECT, INSERT, UPDATE, REFERENCES.""Note that if this parameter is not passed, the existing privileges are reserved. If you need to clear them, please pass an empty array in the complex type Privileges field.".
	ColumnPrivileges AccountPrivilegesColumnPrivilegesPtrInput
	// "Database permissions. Optional values for the Privileges permission are:""SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, REFERENCES, INDEX, ALTER, CREATE TEMPORARY TABLES,""LOCK TABLES, EXECUTE, CREATE VIEW, SHOW VIEW, CREATE ROUTINE, ALTER ROUTINE, EVENT, TRIGGER.""Note that if this parameter is not passed, the existing privileges are reserved. If you need to clear them, please pass an empty array in the complex type Privileges field.".
	DatabasePrivileges AccountPrivilegesDatabasePrivilegesPtrInput
	// "Global permissions. Among them, the optional value of the permission in GlobalPrivileges is:""SELECT, INSERT, UPDATE, DELETE, CREATE, PROCESS, DROP, REFERENCES, INDEX, ALTER, SHOW DATABASES,""CREATE TEMPORARY TABLES, LOCK TABLES, EXECUTE, CREATE VIEW, SHOW VIEW, CREATE ROUTINE, ALTER ROUTINE, EVENT, TRIGGER.""Note that if this parameter is not passed, it means that the existing permissions are reserved. If it needs to be cleared, pass an empty array in this field.".
	GlobalPrivileges pulumi.StringArrayInput
	// The ID of instance.
	InstanceId pulumi.StringInput
	// "Permissions for tables in the database. Optional values for the Privileges permission are:""SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, REFERENCES, INDEX, ALTER, CREATE VIEW, SHOW VIEW, TRIGGER.""Note that if this parameter is not passed, the existing privileges are reserved. If you need to clear them, please pass an empty array in the complex type Privileges field.".
	TablePrivileges AccountPrivilegesTablePrivilegesPtrInput
	// "Permissions for database views. Optional values for the Privileges permission are:""SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, REFERENCES, INDEX, ALTER, CREATE VIEW, SHOW VIEW, TRIGGER.""Note that if this parameter is not passed, the existing privileges are reserved. If you need to clear them, please pass an empty array in the complex type Privileges field.".
	ViewPrivileges AccountPrivilegesViewPrivilegesPtrInput
}

The set of arguments for constructing a AccountPrivileges resource.

func (AccountPrivilegesArgs) ElementType

func (AccountPrivilegesArgs) ElementType() reflect.Type

type AccountPrivilegesArray

type AccountPrivilegesArray []AccountPrivilegesInput

func (AccountPrivilegesArray) ElementType

func (AccountPrivilegesArray) ElementType() reflect.Type

func (AccountPrivilegesArray) ToAccountPrivilegesArrayOutput

func (i AccountPrivilegesArray) ToAccountPrivilegesArrayOutput() AccountPrivilegesArrayOutput

func (AccountPrivilegesArray) ToAccountPrivilegesArrayOutputWithContext

func (i AccountPrivilegesArray) ToAccountPrivilegesArrayOutputWithContext(ctx context.Context) AccountPrivilegesArrayOutput

type AccountPrivilegesArrayInput

type AccountPrivilegesArrayInput interface {
	pulumi.Input

	ToAccountPrivilegesArrayOutput() AccountPrivilegesArrayOutput
	ToAccountPrivilegesArrayOutputWithContext(context.Context) AccountPrivilegesArrayOutput
}

AccountPrivilegesArrayInput is an input type that accepts AccountPrivilegesArray and AccountPrivilegesArrayOutput values. You can construct a concrete instance of `AccountPrivilegesArrayInput` via:

AccountPrivilegesArray{ AccountPrivilegesArgs{...} }

type AccountPrivilegesArrayOutput

type AccountPrivilegesArrayOutput struct{ *pulumi.OutputState }

func (AccountPrivilegesArrayOutput) ElementType

func (AccountPrivilegesArrayOutput) Index

func (AccountPrivilegesArrayOutput) ToAccountPrivilegesArrayOutput

func (o AccountPrivilegesArrayOutput) ToAccountPrivilegesArrayOutput() AccountPrivilegesArrayOutput

func (AccountPrivilegesArrayOutput) ToAccountPrivilegesArrayOutputWithContext

func (o AccountPrivilegesArrayOutput) ToAccountPrivilegesArrayOutputWithContext(ctx context.Context) AccountPrivilegesArrayOutput

type AccountPrivilegesColumnPrivileges

type AccountPrivilegesColumnPrivileges struct {
	// Database column name.
	Column string `pulumi:"column"`
	// The name of database.
	Database string `pulumi:"database"`
	// Permission information.
	Privileges []string `pulumi:"privileges"`
	// Database table name.
	Table string `pulumi:"table"`
}

type AccountPrivilegesColumnPrivilegesArgs

type AccountPrivilegesColumnPrivilegesArgs struct {
	// Database column name.
	Column pulumi.StringInput `pulumi:"column"`
	// The name of database.
	Database pulumi.StringInput `pulumi:"database"`
	// Permission information.
	Privileges pulumi.StringArrayInput `pulumi:"privileges"`
	// Database table name.
	Table pulumi.StringInput `pulumi:"table"`
}

func (AccountPrivilegesColumnPrivilegesArgs) ElementType

func (AccountPrivilegesColumnPrivilegesArgs) ToAccountPrivilegesColumnPrivilegesOutput

func (i AccountPrivilegesColumnPrivilegesArgs) ToAccountPrivilegesColumnPrivilegesOutput() AccountPrivilegesColumnPrivilegesOutput

func (AccountPrivilegesColumnPrivilegesArgs) ToAccountPrivilegesColumnPrivilegesOutputWithContext

func (i AccountPrivilegesColumnPrivilegesArgs) ToAccountPrivilegesColumnPrivilegesOutputWithContext(ctx context.Context) AccountPrivilegesColumnPrivilegesOutput

func (AccountPrivilegesColumnPrivilegesArgs) ToAccountPrivilegesColumnPrivilegesPtrOutput

func (i AccountPrivilegesColumnPrivilegesArgs) ToAccountPrivilegesColumnPrivilegesPtrOutput() AccountPrivilegesColumnPrivilegesPtrOutput

func (AccountPrivilegesColumnPrivilegesArgs) ToAccountPrivilegesColumnPrivilegesPtrOutputWithContext

func (i AccountPrivilegesColumnPrivilegesArgs) ToAccountPrivilegesColumnPrivilegesPtrOutputWithContext(ctx context.Context) AccountPrivilegesColumnPrivilegesPtrOutput

type AccountPrivilegesColumnPrivilegesInput

type AccountPrivilegesColumnPrivilegesInput interface {
	pulumi.Input

	ToAccountPrivilegesColumnPrivilegesOutput() AccountPrivilegesColumnPrivilegesOutput
	ToAccountPrivilegesColumnPrivilegesOutputWithContext(context.Context) AccountPrivilegesColumnPrivilegesOutput
}

AccountPrivilegesColumnPrivilegesInput is an input type that accepts AccountPrivilegesColumnPrivilegesArgs and AccountPrivilegesColumnPrivilegesOutput values. You can construct a concrete instance of `AccountPrivilegesColumnPrivilegesInput` via:

AccountPrivilegesColumnPrivilegesArgs{...}

type AccountPrivilegesColumnPrivilegesOutput

type AccountPrivilegesColumnPrivilegesOutput struct{ *pulumi.OutputState }

func (AccountPrivilegesColumnPrivilegesOutput) Column

Database column name.

func (AccountPrivilegesColumnPrivilegesOutput) Database

The name of database.

func (AccountPrivilegesColumnPrivilegesOutput) ElementType

func (AccountPrivilegesColumnPrivilegesOutput) Privileges

Permission information.

func (AccountPrivilegesColumnPrivilegesOutput) Table

Database table name.

func (AccountPrivilegesColumnPrivilegesOutput) ToAccountPrivilegesColumnPrivilegesOutput

func (o AccountPrivilegesColumnPrivilegesOutput) ToAccountPrivilegesColumnPrivilegesOutput() AccountPrivilegesColumnPrivilegesOutput

func (AccountPrivilegesColumnPrivilegesOutput) ToAccountPrivilegesColumnPrivilegesOutputWithContext

func (o AccountPrivilegesColumnPrivilegesOutput) ToAccountPrivilegesColumnPrivilegesOutputWithContext(ctx context.Context) AccountPrivilegesColumnPrivilegesOutput

func (AccountPrivilegesColumnPrivilegesOutput) ToAccountPrivilegesColumnPrivilegesPtrOutput

func (o AccountPrivilegesColumnPrivilegesOutput) ToAccountPrivilegesColumnPrivilegesPtrOutput() AccountPrivilegesColumnPrivilegesPtrOutput

func (AccountPrivilegesColumnPrivilegesOutput) ToAccountPrivilegesColumnPrivilegesPtrOutputWithContext

func (o AccountPrivilegesColumnPrivilegesOutput) ToAccountPrivilegesColumnPrivilegesPtrOutputWithContext(ctx context.Context) AccountPrivilegesColumnPrivilegesPtrOutput

type AccountPrivilegesColumnPrivilegesPtrInput

type AccountPrivilegesColumnPrivilegesPtrInput interface {
	pulumi.Input

	ToAccountPrivilegesColumnPrivilegesPtrOutput() AccountPrivilegesColumnPrivilegesPtrOutput
	ToAccountPrivilegesColumnPrivilegesPtrOutputWithContext(context.Context) AccountPrivilegesColumnPrivilegesPtrOutput
}

AccountPrivilegesColumnPrivilegesPtrInput is an input type that accepts AccountPrivilegesColumnPrivilegesArgs, AccountPrivilegesColumnPrivilegesPtr and AccountPrivilegesColumnPrivilegesPtrOutput values. You can construct a concrete instance of `AccountPrivilegesColumnPrivilegesPtrInput` via:

        AccountPrivilegesColumnPrivilegesArgs{...}

or:

        nil

type AccountPrivilegesColumnPrivilegesPtrOutput

type AccountPrivilegesColumnPrivilegesPtrOutput struct{ *pulumi.OutputState }

func (AccountPrivilegesColumnPrivilegesPtrOutput) Column

Database column name.

func (AccountPrivilegesColumnPrivilegesPtrOutput) Database

The name of database.

func (AccountPrivilegesColumnPrivilegesPtrOutput) Elem

func (AccountPrivilegesColumnPrivilegesPtrOutput) ElementType

func (AccountPrivilegesColumnPrivilegesPtrOutput) Privileges

Permission information.

func (AccountPrivilegesColumnPrivilegesPtrOutput) Table

Database table name.

func (AccountPrivilegesColumnPrivilegesPtrOutput) ToAccountPrivilegesColumnPrivilegesPtrOutput

func (o AccountPrivilegesColumnPrivilegesPtrOutput) ToAccountPrivilegesColumnPrivilegesPtrOutput() AccountPrivilegesColumnPrivilegesPtrOutput

func (AccountPrivilegesColumnPrivilegesPtrOutput) ToAccountPrivilegesColumnPrivilegesPtrOutputWithContext

func (o AccountPrivilegesColumnPrivilegesPtrOutput) ToAccountPrivilegesColumnPrivilegesPtrOutputWithContext(ctx context.Context) AccountPrivilegesColumnPrivilegesPtrOutput

type AccountPrivilegesDatabasePrivileges

type AccountPrivilegesDatabasePrivileges struct {
	// The name of database.
	Database string `pulumi:"database"`
	// Permission information.
	Privileges []string `pulumi:"privileges"`
}

type AccountPrivilegesDatabasePrivilegesArgs

type AccountPrivilegesDatabasePrivilegesArgs struct {
	// The name of database.
	Database pulumi.StringInput `pulumi:"database"`
	// Permission information.
	Privileges pulumi.StringArrayInput `pulumi:"privileges"`
}

func (AccountPrivilegesDatabasePrivilegesArgs) ElementType

func (AccountPrivilegesDatabasePrivilegesArgs) ToAccountPrivilegesDatabasePrivilegesOutput

func (i AccountPrivilegesDatabasePrivilegesArgs) ToAccountPrivilegesDatabasePrivilegesOutput() AccountPrivilegesDatabasePrivilegesOutput

func (AccountPrivilegesDatabasePrivilegesArgs) ToAccountPrivilegesDatabasePrivilegesOutputWithContext

func (i AccountPrivilegesDatabasePrivilegesArgs) ToAccountPrivilegesDatabasePrivilegesOutputWithContext(ctx context.Context) AccountPrivilegesDatabasePrivilegesOutput

func (AccountPrivilegesDatabasePrivilegesArgs) ToAccountPrivilegesDatabasePrivilegesPtrOutput

func (i AccountPrivilegesDatabasePrivilegesArgs) ToAccountPrivilegesDatabasePrivilegesPtrOutput() AccountPrivilegesDatabasePrivilegesPtrOutput

func (AccountPrivilegesDatabasePrivilegesArgs) ToAccountPrivilegesDatabasePrivilegesPtrOutputWithContext

func (i AccountPrivilegesDatabasePrivilegesArgs) ToAccountPrivilegesDatabasePrivilegesPtrOutputWithContext(ctx context.Context) AccountPrivilegesDatabasePrivilegesPtrOutput

type AccountPrivilegesDatabasePrivilegesInput

type AccountPrivilegesDatabasePrivilegesInput interface {
	pulumi.Input

	ToAccountPrivilegesDatabasePrivilegesOutput() AccountPrivilegesDatabasePrivilegesOutput
	ToAccountPrivilegesDatabasePrivilegesOutputWithContext(context.Context) AccountPrivilegesDatabasePrivilegesOutput
}

AccountPrivilegesDatabasePrivilegesInput is an input type that accepts AccountPrivilegesDatabasePrivilegesArgs and AccountPrivilegesDatabasePrivilegesOutput values. You can construct a concrete instance of `AccountPrivilegesDatabasePrivilegesInput` via:

AccountPrivilegesDatabasePrivilegesArgs{...}

type AccountPrivilegesDatabasePrivilegesOutput

type AccountPrivilegesDatabasePrivilegesOutput struct{ *pulumi.OutputState }

func (AccountPrivilegesDatabasePrivilegesOutput) Database

The name of database.

func (AccountPrivilegesDatabasePrivilegesOutput) ElementType

func (AccountPrivilegesDatabasePrivilegesOutput) Privileges

Permission information.

func (AccountPrivilegesDatabasePrivilegesOutput) ToAccountPrivilegesDatabasePrivilegesOutput

func (o AccountPrivilegesDatabasePrivilegesOutput) ToAccountPrivilegesDatabasePrivilegesOutput() AccountPrivilegesDatabasePrivilegesOutput

func (AccountPrivilegesDatabasePrivilegesOutput) ToAccountPrivilegesDatabasePrivilegesOutputWithContext

func (o AccountPrivilegesDatabasePrivilegesOutput) ToAccountPrivilegesDatabasePrivilegesOutputWithContext(ctx context.Context) AccountPrivilegesDatabasePrivilegesOutput

func (AccountPrivilegesDatabasePrivilegesOutput) ToAccountPrivilegesDatabasePrivilegesPtrOutput

func (o AccountPrivilegesDatabasePrivilegesOutput) ToAccountPrivilegesDatabasePrivilegesPtrOutput() AccountPrivilegesDatabasePrivilegesPtrOutput

func (AccountPrivilegesDatabasePrivilegesOutput) ToAccountPrivilegesDatabasePrivilegesPtrOutputWithContext

func (o AccountPrivilegesDatabasePrivilegesOutput) ToAccountPrivilegesDatabasePrivilegesPtrOutputWithContext(ctx context.Context) AccountPrivilegesDatabasePrivilegesPtrOutput

type AccountPrivilegesDatabasePrivilegesPtrInput

type AccountPrivilegesDatabasePrivilegesPtrInput interface {
	pulumi.Input

	ToAccountPrivilegesDatabasePrivilegesPtrOutput() AccountPrivilegesDatabasePrivilegesPtrOutput
	ToAccountPrivilegesDatabasePrivilegesPtrOutputWithContext(context.Context) AccountPrivilegesDatabasePrivilegesPtrOutput
}

AccountPrivilegesDatabasePrivilegesPtrInput is an input type that accepts AccountPrivilegesDatabasePrivilegesArgs, AccountPrivilegesDatabasePrivilegesPtr and AccountPrivilegesDatabasePrivilegesPtrOutput values. You can construct a concrete instance of `AccountPrivilegesDatabasePrivilegesPtrInput` via:

        AccountPrivilegesDatabasePrivilegesArgs{...}

or:

        nil

type AccountPrivilegesDatabasePrivilegesPtrOutput

type AccountPrivilegesDatabasePrivilegesPtrOutput struct{ *pulumi.OutputState }

func (AccountPrivilegesDatabasePrivilegesPtrOutput) Database

The name of database.

func (AccountPrivilegesDatabasePrivilegesPtrOutput) Elem

func (AccountPrivilegesDatabasePrivilegesPtrOutput) ElementType

func (AccountPrivilegesDatabasePrivilegesPtrOutput) Privileges

Permission information.

func (AccountPrivilegesDatabasePrivilegesPtrOutput) ToAccountPrivilegesDatabasePrivilegesPtrOutput

func (o AccountPrivilegesDatabasePrivilegesPtrOutput) ToAccountPrivilegesDatabasePrivilegesPtrOutput() AccountPrivilegesDatabasePrivilegesPtrOutput

func (AccountPrivilegesDatabasePrivilegesPtrOutput) ToAccountPrivilegesDatabasePrivilegesPtrOutputWithContext

func (o AccountPrivilegesDatabasePrivilegesPtrOutput) ToAccountPrivilegesDatabasePrivilegesPtrOutputWithContext(ctx context.Context) AccountPrivilegesDatabasePrivilegesPtrOutput

type AccountPrivilegesInput

type AccountPrivilegesInput interface {
	pulumi.Input

	ToAccountPrivilegesOutput() AccountPrivilegesOutput
	ToAccountPrivilegesOutputWithContext(ctx context.Context) AccountPrivilegesOutput
}

type AccountPrivilegesMap

type AccountPrivilegesMap map[string]AccountPrivilegesInput

func (AccountPrivilegesMap) ElementType

func (AccountPrivilegesMap) ElementType() reflect.Type

func (AccountPrivilegesMap) ToAccountPrivilegesMapOutput

func (i AccountPrivilegesMap) ToAccountPrivilegesMapOutput() AccountPrivilegesMapOutput

func (AccountPrivilegesMap) ToAccountPrivilegesMapOutputWithContext

func (i AccountPrivilegesMap) ToAccountPrivilegesMapOutputWithContext(ctx context.Context) AccountPrivilegesMapOutput

type AccountPrivilegesMapInput

type AccountPrivilegesMapInput interface {
	pulumi.Input

	ToAccountPrivilegesMapOutput() AccountPrivilegesMapOutput
	ToAccountPrivilegesMapOutputWithContext(context.Context) AccountPrivilegesMapOutput
}

AccountPrivilegesMapInput is an input type that accepts AccountPrivilegesMap and AccountPrivilegesMapOutput values. You can construct a concrete instance of `AccountPrivilegesMapInput` via:

AccountPrivilegesMap{ "key": AccountPrivilegesArgs{...} }

type AccountPrivilegesMapOutput

type AccountPrivilegesMapOutput struct{ *pulumi.OutputState }

func (AccountPrivilegesMapOutput) ElementType

func (AccountPrivilegesMapOutput) ElementType() reflect.Type

func (AccountPrivilegesMapOutput) MapIndex

func (AccountPrivilegesMapOutput) ToAccountPrivilegesMapOutput

func (o AccountPrivilegesMapOutput) ToAccountPrivilegesMapOutput() AccountPrivilegesMapOutput

func (AccountPrivilegesMapOutput) ToAccountPrivilegesMapOutputWithContext

func (o AccountPrivilegesMapOutput) ToAccountPrivilegesMapOutputWithContext(ctx context.Context) AccountPrivilegesMapOutput

type AccountPrivilegesOutput

type AccountPrivilegesOutput struct{ *pulumi.OutputState }

func (AccountPrivilegesOutput) Account

The account of the database, including username and host.

func (AccountPrivilegesOutput) ColumnPrivileges

"Permissions for columns in database tables. Optional values for the Privileges permission are:""SELECT, INSERT, UPDATE, REFERENCES.""Note that if this parameter is not passed, the existing privileges are reserved. If you need to clear them, please pass an empty array in the complex type Privileges field.".

func (AccountPrivilegesOutput) DatabasePrivileges

"Database permissions. Optional values for the Privileges permission are:""SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, REFERENCES, INDEX, ALTER, CREATE TEMPORARY TABLES,""LOCK TABLES, EXECUTE, CREATE VIEW, SHOW VIEW, CREATE ROUTINE, ALTER ROUTINE, EVENT, TRIGGER.""Note that if this parameter is not passed, the existing privileges are reserved. If you need to clear them, please pass an empty array in the complex type Privileges field.".

func (AccountPrivilegesOutput) ElementType

func (AccountPrivilegesOutput) ElementType() reflect.Type

func (AccountPrivilegesOutput) GlobalPrivileges

func (o AccountPrivilegesOutput) GlobalPrivileges() pulumi.StringArrayOutput

"Global permissions. Among them, the optional value of the permission in GlobalPrivileges is:""SELECT, INSERT, UPDATE, DELETE, CREATE, PROCESS, DROP, REFERENCES, INDEX, ALTER, SHOW DATABASES,""CREATE TEMPORARY TABLES, LOCK TABLES, EXECUTE, CREATE VIEW, SHOW VIEW, CREATE ROUTINE, ALTER ROUTINE, EVENT, TRIGGER.""Note that if this parameter is not passed, it means that the existing permissions are reserved. If it needs to be cleared, pass an empty array in this field.".

func (AccountPrivilegesOutput) InstanceId

The ID of instance.

func (AccountPrivilegesOutput) TablePrivileges

"Permissions for tables in the database. Optional values for the Privileges permission are:""SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, REFERENCES, INDEX, ALTER, CREATE VIEW, SHOW VIEW, TRIGGER.""Note that if this parameter is not passed, the existing privileges are reserved. If you need to clear them, please pass an empty array in the complex type Privileges field.".

func (AccountPrivilegesOutput) ToAccountPrivilegesOutput

func (o AccountPrivilegesOutput) ToAccountPrivilegesOutput() AccountPrivilegesOutput

func (AccountPrivilegesOutput) ToAccountPrivilegesOutputWithContext

func (o AccountPrivilegesOutput) ToAccountPrivilegesOutputWithContext(ctx context.Context) AccountPrivilegesOutput

func (AccountPrivilegesOutput) ViewPrivileges

"Permissions for database views. Optional values for the Privileges permission are:""SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, REFERENCES, INDEX, ALTER, CREATE VIEW, SHOW VIEW, TRIGGER.""Note that if this parameter is not passed, the existing privileges are reserved. If you need to clear them, please pass an empty array in the complex type Privileges field.".

type AccountPrivilegesState

type AccountPrivilegesState struct {
	// The account of the database, including username and host.
	Account AccountPrivilegesAccountPtrInput
	// "Permissions for columns in database tables. Optional values for the Privileges permission are:""SELECT, INSERT, UPDATE, REFERENCES.""Note that if this parameter is not passed, the existing privileges are reserved. If you need to clear them, please pass an empty array in the complex type Privileges field.".
	ColumnPrivileges AccountPrivilegesColumnPrivilegesPtrInput
	// "Database permissions. Optional values for the Privileges permission are:""SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, REFERENCES, INDEX, ALTER, CREATE TEMPORARY TABLES,""LOCK TABLES, EXECUTE, CREATE VIEW, SHOW VIEW, CREATE ROUTINE, ALTER ROUTINE, EVENT, TRIGGER.""Note that if this parameter is not passed, the existing privileges are reserved. If you need to clear them, please pass an empty array in the complex type Privileges field.".
	DatabasePrivileges AccountPrivilegesDatabasePrivilegesPtrInput
	// "Global permissions. Among them, the optional value of the permission in GlobalPrivileges is:""SELECT, INSERT, UPDATE, DELETE, CREATE, PROCESS, DROP, REFERENCES, INDEX, ALTER, SHOW DATABASES,""CREATE TEMPORARY TABLES, LOCK TABLES, EXECUTE, CREATE VIEW, SHOW VIEW, CREATE ROUTINE, ALTER ROUTINE, EVENT, TRIGGER.""Note that if this parameter is not passed, it means that the existing permissions are reserved. If it needs to be cleared, pass an empty array in this field.".
	GlobalPrivileges pulumi.StringArrayInput
	// The ID of instance.
	InstanceId pulumi.StringPtrInput
	// "Permissions for tables in the database. Optional values for the Privileges permission are:""SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, REFERENCES, INDEX, ALTER, CREATE VIEW, SHOW VIEW, TRIGGER.""Note that if this parameter is not passed, the existing privileges are reserved. If you need to clear them, please pass an empty array in the complex type Privileges field.".
	TablePrivileges AccountPrivilegesTablePrivilegesPtrInput
	// "Permissions for database views. Optional values for the Privileges permission are:""SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, REFERENCES, INDEX, ALTER, CREATE VIEW, SHOW VIEW, TRIGGER.""Note that if this parameter is not passed, the existing privileges are reserved. If you need to clear them, please pass an empty array in the complex type Privileges field.".
	ViewPrivileges AccountPrivilegesViewPrivilegesPtrInput
}

func (AccountPrivilegesState) ElementType

func (AccountPrivilegesState) ElementType() reflect.Type

type AccountPrivilegesTablePrivileges

type AccountPrivilegesTablePrivileges struct {
	// The name of database.
	Database string `pulumi:"database"`
	// Permission information.
	Privileges []string `pulumi:"privileges"`
	// Database table name.
	Table string `pulumi:"table"`
}

type AccountPrivilegesTablePrivilegesArgs

type AccountPrivilegesTablePrivilegesArgs struct {
	// The name of database.
	Database pulumi.StringInput `pulumi:"database"`
	// Permission information.
	Privileges pulumi.StringArrayInput `pulumi:"privileges"`
	// Database table name.
	Table pulumi.StringInput `pulumi:"table"`
}

func (AccountPrivilegesTablePrivilegesArgs) ElementType

func (AccountPrivilegesTablePrivilegesArgs) ToAccountPrivilegesTablePrivilegesOutput

func (i AccountPrivilegesTablePrivilegesArgs) ToAccountPrivilegesTablePrivilegesOutput() AccountPrivilegesTablePrivilegesOutput

func (AccountPrivilegesTablePrivilegesArgs) ToAccountPrivilegesTablePrivilegesOutputWithContext

func (i AccountPrivilegesTablePrivilegesArgs) ToAccountPrivilegesTablePrivilegesOutputWithContext(ctx context.Context) AccountPrivilegesTablePrivilegesOutput

func (AccountPrivilegesTablePrivilegesArgs) ToAccountPrivilegesTablePrivilegesPtrOutput

func (i AccountPrivilegesTablePrivilegesArgs) ToAccountPrivilegesTablePrivilegesPtrOutput() AccountPrivilegesTablePrivilegesPtrOutput

func (AccountPrivilegesTablePrivilegesArgs) ToAccountPrivilegesTablePrivilegesPtrOutputWithContext

func (i AccountPrivilegesTablePrivilegesArgs) ToAccountPrivilegesTablePrivilegesPtrOutputWithContext(ctx context.Context) AccountPrivilegesTablePrivilegesPtrOutput

type AccountPrivilegesTablePrivilegesInput

type AccountPrivilegesTablePrivilegesInput interface {
	pulumi.Input

	ToAccountPrivilegesTablePrivilegesOutput() AccountPrivilegesTablePrivilegesOutput
	ToAccountPrivilegesTablePrivilegesOutputWithContext(context.Context) AccountPrivilegesTablePrivilegesOutput
}

AccountPrivilegesTablePrivilegesInput is an input type that accepts AccountPrivilegesTablePrivilegesArgs and AccountPrivilegesTablePrivilegesOutput values. You can construct a concrete instance of `AccountPrivilegesTablePrivilegesInput` via:

AccountPrivilegesTablePrivilegesArgs{...}

type AccountPrivilegesTablePrivilegesOutput

type AccountPrivilegesTablePrivilegesOutput struct{ *pulumi.OutputState }

func (AccountPrivilegesTablePrivilegesOutput) Database

The name of database.

func (AccountPrivilegesTablePrivilegesOutput) ElementType

func (AccountPrivilegesTablePrivilegesOutput) Privileges

Permission information.

func (AccountPrivilegesTablePrivilegesOutput) Table

Database table name.

func (AccountPrivilegesTablePrivilegesOutput) ToAccountPrivilegesTablePrivilegesOutput

func (o AccountPrivilegesTablePrivilegesOutput) ToAccountPrivilegesTablePrivilegesOutput() AccountPrivilegesTablePrivilegesOutput

func (AccountPrivilegesTablePrivilegesOutput) ToAccountPrivilegesTablePrivilegesOutputWithContext

func (o AccountPrivilegesTablePrivilegesOutput) ToAccountPrivilegesTablePrivilegesOutputWithContext(ctx context.Context) AccountPrivilegesTablePrivilegesOutput

func (AccountPrivilegesTablePrivilegesOutput) ToAccountPrivilegesTablePrivilegesPtrOutput

func (o AccountPrivilegesTablePrivilegesOutput) ToAccountPrivilegesTablePrivilegesPtrOutput() AccountPrivilegesTablePrivilegesPtrOutput

func (AccountPrivilegesTablePrivilegesOutput) ToAccountPrivilegesTablePrivilegesPtrOutputWithContext

func (o AccountPrivilegesTablePrivilegesOutput) ToAccountPrivilegesTablePrivilegesPtrOutputWithContext(ctx context.Context) AccountPrivilegesTablePrivilegesPtrOutput

type AccountPrivilegesTablePrivilegesPtrInput

type AccountPrivilegesTablePrivilegesPtrInput interface {
	pulumi.Input

	ToAccountPrivilegesTablePrivilegesPtrOutput() AccountPrivilegesTablePrivilegesPtrOutput
	ToAccountPrivilegesTablePrivilegesPtrOutputWithContext(context.Context) AccountPrivilegesTablePrivilegesPtrOutput
}

AccountPrivilegesTablePrivilegesPtrInput is an input type that accepts AccountPrivilegesTablePrivilegesArgs, AccountPrivilegesTablePrivilegesPtr and AccountPrivilegesTablePrivilegesPtrOutput values. You can construct a concrete instance of `AccountPrivilegesTablePrivilegesPtrInput` via:

        AccountPrivilegesTablePrivilegesArgs{...}

or:

        nil

type AccountPrivilegesTablePrivilegesPtrOutput

type AccountPrivilegesTablePrivilegesPtrOutput struct{ *pulumi.OutputState }

func (AccountPrivilegesTablePrivilegesPtrOutput) Database

The name of database.

func (AccountPrivilegesTablePrivilegesPtrOutput) Elem

func (AccountPrivilegesTablePrivilegesPtrOutput) ElementType

func (AccountPrivilegesTablePrivilegesPtrOutput) Privileges

Permission information.

func (AccountPrivilegesTablePrivilegesPtrOutput) Table

Database table name.

func (AccountPrivilegesTablePrivilegesPtrOutput) ToAccountPrivilegesTablePrivilegesPtrOutput

func (o AccountPrivilegesTablePrivilegesPtrOutput) ToAccountPrivilegesTablePrivilegesPtrOutput() AccountPrivilegesTablePrivilegesPtrOutput

func (AccountPrivilegesTablePrivilegesPtrOutput) ToAccountPrivilegesTablePrivilegesPtrOutputWithContext

func (o AccountPrivilegesTablePrivilegesPtrOutput) ToAccountPrivilegesTablePrivilegesPtrOutputWithContext(ctx context.Context) AccountPrivilegesTablePrivilegesPtrOutput

type AccountPrivilegesViewPrivileges

type AccountPrivilegesViewPrivileges struct {
	// The name of database.
	Database string `pulumi:"database"`
	// Permission information.
	Privileges []string `pulumi:"privileges"`
	// Database view name.
	View string `pulumi:"view"`
}

type AccountPrivilegesViewPrivilegesArgs

type AccountPrivilegesViewPrivilegesArgs struct {
	// The name of database.
	Database pulumi.StringInput `pulumi:"database"`
	// Permission information.
	Privileges pulumi.StringArrayInput `pulumi:"privileges"`
	// Database view name.
	View pulumi.StringInput `pulumi:"view"`
}

func (AccountPrivilegesViewPrivilegesArgs) ElementType

func (AccountPrivilegesViewPrivilegesArgs) ToAccountPrivilegesViewPrivilegesOutput

func (i AccountPrivilegesViewPrivilegesArgs) ToAccountPrivilegesViewPrivilegesOutput() AccountPrivilegesViewPrivilegesOutput

func (AccountPrivilegesViewPrivilegesArgs) ToAccountPrivilegesViewPrivilegesOutputWithContext

func (i AccountPrivilegesViewPrivilegesArgs) ToAccountPrivilegesViewPrivilegesOutputWithContext(ctx context.Context) AccountPrivilegesViewPrivilegesOutput

func (AccountPrivilegesViewPrivilegesArgs) ToAccountPrivilegesViewPrivilegesPtrOutput

func (i AccountPrivilegesViewPrivilegesArgs) ToAccountPrivilegesViewPrivilegesPtrOutput() AccountPrivilegesViewPrivilegesPtrOutput

func (AccountPrivilegesViewPrivilegesArgs) ToAccountPrivilegesViewPrivilegesPtrOutputWithContext

func (i AccountPrivilegesViewPrivilegesArgs) ToAccountPrivilegesViewPrivilegesPtrOutputWithContext(ctx context.Context) AccountPrivilegesViewPrivilegesPtrOutput

type AccountPrivilegesViewPrivilegesInput

type AccountPrivilegesViewPrivilegesInput interface {
	pulumi.Input

	ToAccountPrivilegesViewPrivilegesOutput() AccountPrivilegesViewPrivilegesOutput
	ToAccountPrivilegesViewPrivilegesOutputWithContext(context.Context) AccountPrivilegesViewPrivilegesOutput
}

AccountPrivilegesViewPrivilegesInput is an input type that accepts AccountPrivilegesViewPrivilegesArgs and AccountPrivilegesViewPrivilegesOutput values. You can construct a concrete instance of `AccountPrivilegesViewPrivilegesInput` via:

AccountPrivilegesViewPrivilegesArgs{...}

type AccountPrivilegesViewPrivilegesOutput

type AccountPrivilegesViewPrivilegesOutput struct{ *pulumi.OutputState }

func (AccountPrivilegesViewPrivilegesOutput) Database

The name of database.

func (AccountPrivilegesViewPrivilegesOutput) ElementType

func (AccountPrivilegesViewPrivilegesOutput) Privileges

Permission information.

func (AccountPrivilegesViewPrivilegesOutput) ToAccountPrivilegesViewPrivilegesOutput

func (o AccountPrivilegesViewPrivilegesOutput) ToAccountPrivilegesViewPrivilegesOutput() AccountPrivilegesViewPrivilegesOutput

func (AccountPrivilegesViewPrivilegesOutput) ToAccountPrivilegesViewPrivilegesOutputWithContext

func (o AccountPrivilegesViewPrivilegesOutput) ToAccountPrivilegesViewPrivilegesOutputWithContext(ctx context.Context) AccountPrivilegesViewPrivilegesOutput

func (AccountPrivilegesViewPrivilegesOutput) ToAccountPrivilegesViewPrivilegesPtrOutput

func (o AccountPrivilegesViewPrivilegesOutput) ToAccountPrivilegesViewPrivilegesPtrOutput() AccountPrivilegesViewPrivilegesPtrOutput

func (AccountPrivilegesViewPrivilegesOutput) ToAccountPrivilegesViewPrivilegesPtrOutputWithContext

func (o AccountPrivilegesViewPrivilegesOutput) ToAccountPrivilegesViewPrivilegesPtrOutputWithContext(ctx context.Context) AccountPrivilegesViewPrivilegesPtrOutput

func (AccountPrivilegesViewPrivilegesOutput) View

Database view name.

type AccountPrivilegesViewPrivilegesPtrInput

type AccountPrivilegesViewPrivilegesPtrInput interface {
	pulumi.Input

	ToAccountPrivilegesViewPrivilegesPtrOutput() AccountPrivilegesViewPrivilegesPtrOutput
	ToAccountPrivilegesViewPrivilegesPtrOutputWithContext(context.Context) AccountPrivilegesViewPrivilegesPtrOutput
}

AccountPrivilegesViewPrivilegesPtrInput is an input type that accepts AccountPrivilegesViewPrivilegesArgs, AccountPrivilegesViewPrivilegesPtr and AccountPrivilegesViewPrivilegesPtrOutput values. You can construct a concrete instance of `AccountPrivilegesViewPrivilegesPtrInput` via:

        AccountPrivilegesViewPrivilegesArgs{...}

or:

        nil

type AccountPrivilegesViewPrivilegesPtrOutput

type AccountPrivilegesViewPrivilegesPtrOutput struct{ *pulumi.OutputState }

func (AccountPrivilegesViewPrivilegesPtrOutput) Database

The name of database.

func (AccountPrivilegesViewPrivilegesPtrOutput) Elem

func (AccountPrivilegesViewPrivilegesPtrOutput) ElementType

func (AccountPrivilegesViewPrivilegesPtrOutput) Privileges

Permission information.

func (AccountPrivilegesViewPrivilegesPtrOutput) ToAccountPrivilegesViewPrivilegesPtrOutput

func (o AccountPrivilegesViewPrivilegesPtrOutput) ToAccountPrivilegesViewPrivilegesPtrOutput() AccountPrivilegesViewPrivilegesPtrOutput

func (AccountPrivilegesViewPrivilegesPtrOutput) ToAccountPrivilegesViewPrivilegesPtrOutputWithContext

func (o AccountPrivilegesViewPrivilegesPtrOutput) ToAccountPrivilegesViewPrivilegesPtrOutputWithContext(ctx context.Context) AccountPrivilegesViewPrivilegesPtrOutput

func (AccountPrivilegesViewPrivilegesPtrOutput) View

Database view name.

type AccountState

type AccountState struct {
	// description for account.
	Description pulumi.StringPtrInput
	// db host.
	Host pulumi.StringPtrInput
	// instance id.
	InstanceId pulumi.StringPtrInput
	// max user connections.
	MaxUserConnections pulumi.IntPtrInput
	// password.
	Password pulumi.StringPtrInput
	// whether the account is readonly. 0 means not a readonly account.
	ReadOnly pulumi.IntPtrInput
	// account name.
	UserName pulumi.StringPtrInput
}

func (AccountState) ElementType

func (AccountState) ElementType() reflect.Type

type DbInstance

type DbInstance struct {
	pulumi.CustomResourceState

	// "Automatic renewal flag, 0 means the default state (the user has not set it, that is, the initial state is manual renewal, and the user has activated the prepaid non-stop privilege and will also perform automatic renewal).""1 means automatic renewal, 2 means no automatic renewal (user setting).""if the business has no concept of renewal or automatic renewal is not required, it needs to be set to 0.".
	AutoRenewFlag pulumi.IntPtrOutput `pulumi:"autoRenewFlag"`
	// Whether to automatically use vouchers for payment, not used by default.
	AutoVoucher pulumi.BoolPtrOutput `pulumi:"autoVoucher"`
	// "Database engine version, currently available: 8.0.18, 10.1.9, 5.7.17.""8.0.18 - MySQL 8.0.18;""10.1.9 - Mariadb 10.1.9;""5.7.17 - Percona 5.7.17""If not filled, the default is 5.7.17, which means Percona 5.7.17.".
	DbVersionId pulumi.StringPtrOutput `pulumi:"dbVersionId"`
	// DCN source instance ID.
	DcnInstanceId pulumi.StringPtrOutput `pulumi:"dcnInstanceId"`
	// DCN source region.
	DcnRegion pulumi.StringPtrOutput `pulumi:"dcnRegion"`
	// "parameter list. The optional values of this interface are:""character_set_server (character set, must be passed),""lower_case_table_names (table name is case sensitive, must be passed, 0 - sensitive; 1 - insensitive),""innodb_page_size (innodb data page, default 16K),""sync_mode ( Synchronous mode: 0 - asynchronous; 1 - strong synchronous; 2 - strong synchronous degenerate. The default is strong synchronous degenerate)".
	InitParams DbInstanceInitParamArrayOutput `pulumi:"initParams"`
	// Instance name, you can set the name of the instance independently through this field.
	InstanceName pulumi.StringPtrOutput `pulumi:"instanceName"`
	// Whether to support IPv6.
	Ipv6Flag pulumi.IntPtrOutput `pulumi:"ipv6Flag"`
	// The length of time you want to buy, unit: month.
	Period pulumi.IntOutput `pulumi:"period"`
	// Project ID, which can be obtained by viewing the project list, if not passed, it will be associated with the default project.
	ProjectId pulumi.IntPtrOutput `pulumi:"projectId"`
	// Array of tag key-value pairs.
	ResourceTags DbInstanceResourceTagArrayOutput `pulumi:"resourceTags"`
	// Security group ids, the security group can be passed in the form of an array, compatible with the previous SecurityGroupId parameter.
	SecurityGroupIds pulumi.StringArrayOutput `pulumi:"securityGroupIds"`
	// The number of instance fragments, the optional range is 2-8, and new fragments can be added to a maximum of 64 fragments by upgrading the instance.
	ShardCount pulumi.IntOutput `pulumi:"shardCount"`
	// "Shard memory size, unit: GB, can pass DescribeShardSpec""Query the instance specification to obtain.".
	ShardMemory pulumi.IntOutput `pulumi:"shardMemory"`
	// "Number of single shard nodes, can pass DescribeShardSpec""Query the instance specification to obtain.".
	ShardNodeCount pulumi.IntOutput `pulumi:"shardNodeCount"`
	// "Shard storage size, unit: GB, can pass DescribeShardSpec""Query the instance specification to obtain.".
	ShardStorage pulumi.IntOutput `pulumi:"shardStorage"`
	// Virtual private network subnet ID, required when VpcId is not empty.
	SubnetId pulumi.StringPtrOutput `pulumi:"subnetId"`
	// Voucher ID list, currently only supports specifying one voucher.
	VoucherIds pulumi.StringArrayOutput `pulumi:"voucherIds"`
	// Virtual private network ID, if not passed or passed empty, it means that it is created as a basic network.
	VpcId pulumi.StringPtrOutput `pulumi:"vpcId"`
	// "The availability zone distribution of shard nodes can be filled with up to two availability zones. When the shard specification is one master and two slaves, two of the nodes are in the first availability zone.""Note that the current availability zone that can be sold needs to be pulled through the DescribeDCDBSaleInfo interface.".
	Zones pulumi.StringArrayOutput `pulumi:"zones"`
}

Provides a resource to create a dcdb dbInstance

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Dcdb"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Dcdb"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Dcdb.NewDbInstance(ctx, "dbInstance", &Dcdb.DbInstanceArgs{
			InstanceName: pulumi.String("test_dcdb_db_instance"),
			Zones: pulumi.StringArray{
				pulumi.String("ap-guangzhou-5"),
			},
			Period:         pulumi.Int(1),
			ShardMemory:    pulumi.Int(2),
			ShardStorage:   pulumi.Int(10),
			ShardNodeCount: pulumi.Int(2),
			ShardCount:     pulumi.Int(2),
			VpcId:          pulumi.Any(local.Vpc_id),
			SubnetId:       pulumi.Any(local.Subnet_id),
			DbVersionId:    pulumi.String("8.0"),
			ResourceTags: dcdb.DbInstanceResourceTagArray{
				&dcdb.DbInstanceResourceTagArgs{
					TagKey:   pulumi.String("aaa"),
					TagValue: pulumi.String("bbb"),
				},
			},
			InitParams: dcdb.DbInstanceInitParamArray{
				&dcdb.DbInstanceInitParamArgs{
					Param: pulumi.String("character_set_server"),
					Value: pulumi.String("utf8mb4"),
				},
				&dcdb.DbInstanceInitParamArgs{
					Param: pulumi.String("lower_case_table_names"),
					Value: pulumi.String("1"),
				},
				&dcdb.DbInstanceInitParamArgs{
					Param: pulumi.String("sync_mode"),
					Value: pulumi.String("2"),
				},
				&dcdb.DbInstanceInitParamArgs{
					Param: pulumi.String("innodb_page_size"),
					Value: pulumi.String("16384"),
				},
			},
			SecurityGroupIds: pulumi.StringArray{
				pulumi.Any(local.Sg_id),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

dcdb db_instance can be imported using the id, e.g.

```sh

$ pulumi import tencentcloud:Dcdb/dbInstance:DbInstance db_instance db_instance_id

```

func GetDbInstance

func GetDbInstance(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DbInstanceState, opts ...pulumi.ResourceOption) (*DbInstance, error)

GetDbInstance gets an existing DbInstance 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 NewDbInstance

func NewDbInstance(ctx *pulumi.Context,
	name string, args *DbInstanceArgs, opts ...pulumi.ResourceOption) (*DbInstance, error)

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

func (*DbInstance) ElementType

func (*DbInstance) ElementType() reflect.Type

func (*DbInstance) ToDbInstanceOutput

func (i *DbInstance) ToDbInstanceOutput() DbInstanceOutput

func (*DbInstance) ToDbInstanceOutputWithContext

func (i *DbInstance) ToDbInstanceOutputWithContext(ctx context.Context) DbInstanceOutput

type DbInstanceArgs

type DbInstanceArgs struct {
	// "Automatic renewal flag, 0 means the default state (the user has not set it, that is, the initial state is manual renewal, and the user has activated the prepaid non-stop privilege and will also perform automatic renewal).""1 means automatic renewal, 2 means no automatic renewal (user setting).""if the business has no concept of renewal or automatic renewal is not required, it needs to be set to 0.".
	AutoRenewFlag pulumi.IntPtrInput
	// Whether to automatically use vouchers for payment, not used by default.
	AutoVoucher pulumi.BoolPtrInput
	// "Database engine version, currently available: 8.0.18, 10.1.9, 5.7.17.""8.0.18 - MySQL 8.0.18;""10.1.9 - Mariadb 10.1.9;""5.7.17 - Percona 5.7.17""If not filled, the default is 5.7.17, which means Percona 5.7.17.".
	DbVersionId pulumi.StringPtrInput
	// DCN source instance ID.
	DcnInstanceId pulumi.StringPtrInput
	// DCN source region.
	DcnRegion pulumi.StringPtrInput
	// "parameter list. The optional values of this interface are:""character_set_server (character set, must be passed),""lower_case_table_names (table name is case sensitive, must be passed, 0 - sensitive; 1 - insensitive),""innodb_page_size (innodb data page, default 16K),""sync_mode ( Synchronous mode: 0 - asynchronous; 1 - strong synchronous; 2 - strong synchronous degenerate. The default is strong synchronous degenerate)".
	InitParams DbInstanceInitParamArrayInput
	// Instance name, you can set the name of the instance independently through this field.
	InstanceName pulumi.StringPtrInput
	// Whether to support IPv6.
	Ipv6Flag pulumi.IntPtrInput
	// The length of time you want to buy, unit: month.
	Period pulumi.IntInput
	// Project ID, which can be obtained by viewing the project list, if not passed, it will be associated with the default project.
	ProjectId pulumi.IntPtrInput
	// Array of tag key-value pairs.
	ResourceTags DbInstanceResourceTagArrayInput
	// Security group ids, the security group can be passed in the form of an array, compatible with the previous SecurityGroupId parameter.
	SecurityGroupIds pulumi.StringArrayInput
	// The number of instance fragments, the optional range is 2-8, and new fragments can be added to a maximum of 64 fragments by upgrading the instance.
	ShardCount pulumi.IntInput
	// "Shard memory size, unit: GB, can pass DescribeShardSpec""Query the instance specification to obtain.".
	ShardMemory pulumi.IntInput
	// "Number of single shard nodes, can pass DescribeShardSpec""Query the instance specification to obtain.".
	ShardNodeCount pulumi.IntInput
	// "Shard storage size, unit: GB, can pass DescribeShardSpec""Query the instance specification to obtain.".
	ShardStorage pulumi.IntInput
	// Virtual private network subnet ID, required when VpcId is not empty.
	SubnetId pulumi.StringPtrInput
	// Voucher ID list, currently only supports specifying one voucher.
	VoucherIds pulumi.StringArrayInput
	// Virtual private network ID, if not passed or passed empty, it means that it is created as a basic network.
	VpcId pulumi.StringPtrInput
	// "The availability zone distribution of shard nodes can be filled with up to two availability zones. When the shard specification is one master and two slaves, two of the nodes are in the first availability zone.""Note that the current availability zone that can be sold needs to be pulled through the DescribeDCDBSaleInfo interface.".
	Zones pulumi.StringArrayInput
}

The set of arguments for constructing a DbInstance resource.

func (DbInstanceArgs) ElementType

func (DbInstanceArgs) ElementType() reflect.Type

type DbInstanceArray

type DbInstanceArray []DbInstanceInput

func (DbInstanceArray) ElementType

func (DbInstanceArray) ElementType() reflect.Type

func (DbInstanceArray) ToDbInstanceArrayOutput

func (i DbInstanceArray) ToDbInstanceArrayOutput() DbInstanceArrayOutput

func (DbInstanceArray) ToDbInstanceArrayOutputWithContext

func (i DbInstanceArray) ToDbInstanceArrayOutputWithContext(ctx context.Context) DbInstanceArrayOutput

type DbInstanceArrayInput

type DbInstanceArrayInput interface {
	pulumi.Input

	ToDbInstanceArrayOutput() DbInstanceArrayOutput
	ToDbInstanceArrayOutputWithContext(context.Context) DbInstanceArrayOutput
}

DbInstanceArrayInput is an input type that accepts DbInstanceArray and DbInstanceArrayOutput values. You can construct a concrete instance of `DbInstanceArrayInput` via:

DbInstanceArray{ DbInstanceArgs{...} }

type DbInstanceArrayOutput

type DbInstanceArrayOutput struct{ *pulumi.OutputState }

func (DbInstanceArrayOutput) ElementType

func (DbInstanceArrayOutput) ElementType() reflect.Type

func (DbInstanceArrayOutput) Index

func (DbInstanceArrayOutput) ToDbInstanceArrayOutput

func (o DbInstanceArrayOutput) ToDbInstanceArrayOutput() DbInstanceArrayOutput

func (DbInstanceArrayOutput) ToDbInstanceArrayOutputWithContext

func (o DbInstanceArrayOutput) ToDbInstanceArrayOutputWithContext(ctx context.Context) DbInstanceArrayOutput

type DbInstanceInitParam

type DbInstanceInitParam struct {
	// The name of parameter.
	Param string `pulumi:"param"`
	// The value of parameter.
	Value string `pulumi:"value"`
}

type DbInstanceInitParamArgs

type DbInstanceInitParamArgs struct {
	// The name of parameter.
	Param pulumi.StringInput `pulumi:"param"`
	// The value of parameter.
	Value pulumi.StringInput `pulumi:"value"`
}

func (DbInstanceInitParamArgs) ElementType

func (DbInstanceInitParamArgs) ElementType() reflect.Type

func (DbInstanceInitParamArgs) ToDbInstanceInitParamOutput

func (i DbInstanceInitParamArgs) ToDbInstanceInitParamOutput() DbInstanceInitParamOutput

func (DbInstanceInitParamArgs) ToDbInstanceInitParamOutputWithContext

func (i DbInstanceInitParamArgs) ToDbInstanceInitParamOutputWithContext(ctx context.Context) DbInstanceInitParamOutput

type DbInstanceInitParamArray

type DbInstanceInitParamArray []DbInstanceInitParamInput

func (DbInstanceInitParamArray) ElementType

func (DbInstanceInitParamArray) ElementType() reflect.Type

func (DbInstanceInitParamArray) ToDbInstanceInitParamArrayOutput

func (i DbInstanceInitParamArray) ToDbInstanceInitParamArrayOutput() DbInstanceInitParamArrayOutput

func (DbInstanceInitParamArray) ToDbInstanceInitParamArrayOutputWithContext

func (i DbInstanceInitParamArray) ToDbInstanceInitParamArrayOutputWithContext(ctx context.Context) DbInstanceInitParamArrayOutput

type DbInstanceInitParamArrayInput

type DbInstanceInitParamArrayInput interface {
	pulumi.Input

	ToDbInstanceInitParamArrayOutput() DbInstanceInitParamArrayOutput
	ToDbInstanceInitParamArrayOutputWithContext(context.Context) DbInstanceInitParamArrayOutput
}

DbInstanceInitParamArrayInput is an input type that accepts DbInstanceInitParamArray and DbInstanceInitParamArrayOutput values. You can construct a concrete instance of `DbInstanceInitParamArrayInput` via:

DbInstanceInitParamArray{ DbInstanceInitParamArgs{...} }

type DbInstanceInitParamArrayOutput

type DbInstanceInitParamArrayOutput struct{ *pulumi.OutputState }

func (DbInstanceInitParamArrayOutput) ElementType

func (DbInstanceInitParamArrayOutput) Index

func (DbInstanceInitParamArrayOutput) ToDbInstanceInitParamArrayOutput

func (o DbInstanceInitParamArrayOutput) ToDbInstanceInitParamArrayOutput() DbInstanceInitParamArrayOutput

func (DbInstanceInitParamArrayOutput) ToDbInstanceInitParamArrayOutputWithContext

func (o DbInstanceInitParamArrayOutput) ToDbInstanceInitParamArrayOutputWithContext(ctx context.Context) DbInstanceInitParamArrayOutput

type DbInstanceInitParamInput

type DbInstanceInitParamInput interface {
	pulumi.Input

	ToDbInstanceInitParamOutput() DbInstanceInitParamOutput
	ToDbInstanceInitParamOutputWithContext(context.Context) DbInstanceInitParamOutput
}

DbInstanceInitParamInput is an input type that accepts DbInstanceInitParamArgs and DbInstanceInitParamOutput values. You can construct a concrete instance of `DbInstanceInitParamInput` via:

DbInstanceInitParamArgs{...}

type DbInstanceInitParamOutput

type DbInstanceInitParamOutput struct{ *pulumi.OutputState }

func (DbInstanceInitParamOutput) ElementType

func (DbInstanceInitParamOutput) ElementType() reflect.Type

func (DbInstanceInitParamOutput) Param

The name of parameter.

func (DbInstanceInitParamOutput) ToDbInstanceInitParamOutput

func (o DbInstanceInitParamOutput) ToDbInstanceInitParamOutput() DbInstanceInitParamOutput

func (DbInstanceInitParamOutput) ToDbInstanceInitParamOutputWithContext

func (o DbInstanceInitParamOutput) ToDbInstanceInitParamOutputWithContext(ctx context.Context) DbInstanceInitParamOutput

func (DbInstanceInitParamOutput) Value

The value of parameter.

type DbInstanceInput

type DbInstanceInput interface {
	pulumi.Input

	ToDbInstanceOutput() DbInstanceOutput
	ToDbInstanceOutputWithContext(ctx context.Context) DbInstanceOutput
}

type DbInstanceMap

type DbInstanceMap map[string]DbInstanceInput

func (DbInstanceMap) ElementType

func (DbInstanceMap) ElementType() reflect.Type

func (DbInstanceMap) ToDbInstanceMapOutput

func (i DbInstanceMap) ToDbInstanceMapOutput() DbInstanceMapOutput

func (DbInstanceMap) ToDbInstanceMapOutputWithContext

func (i DbInstanceMap) ToDbInstanceMapOutputWithContext(ctx context.Context) DbInstanceMapOutput

type DbInstanceMapInput

type DbInstanceMapInput interface {
	pulumi.Input

	ToDbInstanceMapOutput() DbInstanceMapOutput
	ToDbInstanceMapOutputWithContext(context.Context) DbInstanceMapOutput
}

DbInstanceMapInput is an input type that accepts DbInstanceMap and DbInstanceMapOutput values. You can construct a concrete instance of `DbInstanceMapInput` via:

DbInstanceMap{ "key": DbInstanceArgs{...} }

type DbInstanceMapOutput

type DbInstanceMapOutput struct{ *pulumi.OutputState }

func (DbInstanceMapOutput) ElementType

func (DbInstanceMapOutput) ElementType() reflect.Type

func (DbInstanceMapOutput) MapIndex

func (DbInstanceMapOutput) ToDbInstanceMapOutput

func (o DbInstanceMapOutput) ToDbInstanceMapOutput() DbInstanceMapOutput

func (DbInstanceMapOutput) ToDbInstanceMapOutputWithContext

func (o DbInstanceMapOutput) ToDbInstanceMapOutputWithContext(ctx context.Context) DbInstanceMapOutput

type DbInstanceOutput

type DbInstanceOutput struct{ *pulumi.OutputState }

func (DbInstanceOutput) AutoRenewFlag

func (o DbInstanceOutput) AutoRenewFlag() pulumi.IntPtrOutput

"Automatic renewal flag, 0 means the default state (the user has not set it, that is, the initial state is manual renewal, and the user has activated the prepaid non-stop privilege and will also perform automatic renewal).""1 means automatic renewal, 2 means no automatic renewal (user setting).""if the business has no concept of renewal or automatic renewal is not required, it needs to be set to 0.".

func (DbInstanceOutput) AutoVoucher

func (o DbInstanceOutput) AutoVoucher() pulumi.BoolPtrOutput

Whether to automatically use vouchers for payment, not used by default.

func (DbInstanceOutput) DbVersionId

func (o DbInstanceOutput) DbVersionId() pulumi.StringPtrOutput

"Database engine version, currently available: 8.0.18, 10.1.9, 5.7.17.""8.0.18 - MySQL 8.0.18;""10.1.9 - Mariadb 10.1.9;""5.7.17 - Percona 5.7.17""If not filled, the default is 5.7.17, which means Percona 5.7.17.".

func (DbInstanceOutput) DcnInstanceId

func (o DbInstanceOutput) DcnInstanceId() pulumi.StringPtrOutput

DCN source instance ID.

func (DbInstanceOutput) DcnRegion

func (o DbInstanceOutput) DcnRegion() pulumi.StringPtrOutput

DCN source region.

func (DbInstanceOutput) ElementType

func (DbInstanceOutput) ElementType() reflect.Type

func (DbInstanceOutput) InitParams

"parameter list. The optional values of this interface are:""character_set_server (character set, must be passed),""lower_case_table_names (table name is case sensitive, must be passed, 0 - sensitive; 1 - insensitive),""innodb_page_size (innodb data page, default 16K),""sync_mode ( Synchronous mode: 0 - asynchronous; 1 - strong synchronous; 2 - strong synchronous degenerate. The default is strong synchronous degenerate)".

func (DbInstanceOutput) InstanceName

func (o DbInstanceOutput) InstanceName() pulumi.StringPtrOutput

Instance name, you can set the name of the instance independently through this field.

func (DbInstanceOutput) Ipv6Flag

func (o DbInstanceOutput) Ipv6Flag() pulumi.IntPtrOutput

Whether to support IPv6.

func (DbInstanceOutput) Period

func (o DbInstanceOutput) Period() pulumi.IntOutput

The length of time you want to buy, unit: month.

func (DbInstanceOutput) ProjectId

func (o DbInstanceOutput) ProjectId() pulumi.IntPtrOutput

Project ID, which can be obtained by viewing the project list, if not passed, it will be associated with the default project.

func (DbInstanceOutput) ResourceTags

Array of tag key-value pairs.

func (DbInstanceOutput) SecurityGroupIds

func (o DbInstanceOutput) SecurityGroupIds() pulumi.StringArrayOutput

Security group ids, the security group can be passed in the form of an array, compatible with the previous SecurityGroupId parameter.

func (DbInstanceOutput) ShardCount

func (o DbInstanceOutput) ShardCount() pulumi.IntOutput

The number of instance fragments, the optional range is 2-8, and new fragments can be added to a maximum of 64 fragments by upgrading the instance.

func (DbInstanceOutput) ShardMemory

func (o DbInstanceOutput) ShardMemory() pulumi.IntOutput

"Shard memory size, unit: GB, can pass DescribeShardSpec""Query the instance specification to obtain.".

func (DbInstanceOutput) ShardNodeCount

func (o DbInstanceOutput) ShardNodeCount() pulumi.IntOutput

"Number of single shard nodes, can pass DescribeShardSpec""Query the instance specification to obtain.".

func (DbInstanceOutput) ShardStorage

func (o DbInstanceOutput) ShardStorage() pulumi.IntOutput

"Shard storage size, unit: GB, can pass DescribeShardSpec""Query the instance specification to obtain.".

func (DbInstanceOutput) SubnetId

Virtual private network subnet ID, required when VpcId is not empty.

func (DbInstanceOutput) ToDbInstanceOutput

func (o DbInstanceOutput) ToDbInstanceOutput() DbInstanceOutput

func (DbInstanceOutput) ToDbInstanceOutputWithContext

func (o DbInstanceOutput) ToDbInstanceOutputWithContext(ctx context.Context) DbInstanceOutput

func (DbInstanceOutput) VoucherIds

func (o DbInstanceOutput) VoucherIds() pulumi.StringArrayOutput

Voucher ID list, currently only supports specifying one voucher.

func (DbInstanceOutput) VpcId

Virtual private network ID, if not passed or passed empty, it means that it is created as a basic network.

func (DbInstanceOutput) Zones

"The availability zone distribution of shard nodes can be filled with up to two availability zones. When the shard specification is one master and two slaves, two of the nodes are in the first availability zone.""Note that the current availability zone that can be sold needs to be pulled through the DescribeDCDBSaleInfo interface.".

type DbInstanceResourceTag

type DbInstanceResourceTag struct {
	// The key of tag.
	TagKey string `pulumi:"tagKey"`
	// The value of tag.
	TagValue string `pulumi:"tagValue"`
}

type DbInstanceResourceTagArgs

type DbInstanceResourceTagArgs struct {
	// The key of tag.
	TagKey pulumi.StringInput `pulumi:"tagKey"`
	// The value of tag.
	TagValue pulumi.StringInput `pulumi:"tagValue"`
}

func (DbInstanceResourceTagArgs) ElementType

func (DbInstanceResourceTagArgs) ElementType() reflect.Type

func (DbInstanceResourceTagArgs) ToDbInstanceResourceTagOutput

func (i DbInstanceResourceTagArgs) ToDbInstanceResourceTagOutput() DbInstanceResourceTagOutput

func (DbInstanceResourceTagArgs) ToDbInstanceResourceTagOutputWithContext

func (i DbInstanceResourceTagArgs) ToDbInstanceResourceTagOutputWithContext(ctx context.Context) DbInstanceResourceTagOutput

type DbInstanceResourceTagArray

type DbInstanceResourceTagArray []DbInstanceResourceTagInput

func (DbInstanceResourceTagArray) ElementType

func (DbInstanceResourceTagArray) ElementType() reflect.Type

func (DbInstanceResourceTagArray) ToDbInstanceResourceTagArrayOutput

func (i DbInstanceResourceTagArray) ToDbInstanceResourceTagArrayOutput() DbInstanceResourceTagArrayOutput

func (DbInstanceResourceTagArray) ToDbInstanceResourceTagArrayOutputWithContext

func (i DbInstanceResourceTagArray) ToDbInstanceResourceTagArrayOutputWithContext(ctx context.Context) DbInstanceResourceTagArrayOutput

type DbInstanceResourceTagArrayInput

type DbInstanceResourceTagArrayInput interface {
	pulumi.Input

	ToDbInstanceResourceTagArrayOutput() DbInstanceResourceTagArrayOutput
	ToDbInstanceResourceTagArrayOutputWithContext(context.Context) DbInstanceResourceTagArrayOutput
}

DbInstanceResourceTagArrayInput is an input type that accepts DbInstanceResourceTagArray and DbInstanceResourceTagArrayOutput values. You can construct a concrete instance of `DbInstanceResourceTagArrayInput` via:

DbInstanceResourceTagArray{ DbInstanceResourceTagArgs{...} }

type DbInstanceResourceTagArrayOutput

type DbInstanceResourceTagArrayOutput struct{ *pulumi.OutputState }

func (DbInstanceResourceTagArrayOutput) ElementType

func (DbInstanceResourceTagArrayOutput) Index

func (DbInstanceResourceTagArrayOutput) ToDbInstanceResourceTagArrayOutput

func (o DbInstanceResourceTagArrayOutput) ToDbInstanceResourceTagArrayOutput() DbInstanceResourceTagArrayOutput

func (DbInstanceResourceTagArrayOutput) ToDbInstanceResourceTagArrayOutputWithContext

func (o DbInstanceResourceTagArrayOutput) ToDbInstanceResourceTagArrayOutputWithContext(ctx context.Context) DbInstanceResourceTagArrayOutput

type DbInstanceResourceTagInput

type DbInstanceResourceTagInput interface {
	pulumi.Input

	ToDbInstanceResourceTagOutput() DbInstanceResourceTagOutput
	ToDbInstanceResourceTagOutputWithContext(context.Context) DbInstanceResourceTagOutput
}

DbInstanceResourceTagInput is an input type that accepts DbInstanceResourceTagArgs and DbInstanceResourceTagOutput values. You can construct a concrete instance of `DbInstanceResourceTagInput` via:

DbInstanceResourceTagArgs{...}

type DbInstanceResourceTagOutput

type DbInstanceResourceTagOutput struct{ *pulumi.OutputState }

func (DbInstanceResourceTagOutput) ElementType

func (DbInstanceResourceTagOutput) TagKey

The key of tag.

func (DbInstanceResourceTagOutput) TagValue

The value of tag.

func (DbInstanceResourceTagOutput) ToDbInstanceResourceTagOutput

func (o DbInstanceResourceTagOutput) ToDbInstanceResourceTagOutput() DbInstanceResourceTagOutput

func (DbInstanceResourceTagOutput) ToDbInstanceResourceTagOutputWithContext

func (o DbInstanceResourceTagOutput) ToDbInstanceResourceTagOutputWithContext(ctx context.Context) DbInstanceResourceTagOutput

type DbInstanceState

type DbInstanceState struct {
	// "Automatic renewal flag, 0 means the default state (the user has not set it, that is, the initial state is manual renewal, and the user has activated the prepaid non-stop privilege and will also perform automatic renewal).""1 means automatic renewal, 2 means no automatic renewal (user setting).""if the business has no concept of renewal or automatic renewal is not required, it needs to be set to 0.".
	AutoRenewFlag pulumi.IntPtrInput
	// Whether to automatically use vouchers for payment, not used by default.
	AutoVoucher pulumi.BoolPtrInput
	// "Database engine version, currently available: 8.0.18, 10.1.9, 5.7.17.""8.0.18 - MySQL 8.0.18;""10.1.9 - Mariadb 10.1.9;""5.7.17 - Percona 5.7.17""If not filled, the default is 5.7.17, which means Percona 5.7.17.".
	DbVersionId pulumi.StringPtrInput
	// DCN source instance ID.
	DcnInstanceId pulumi.StringPtrInput
	// DCN source region.
	DcnRegion pulumi.StringPtrInput
	// "parameter list. The optional values of this interface are:""character_set_server (character set, must be passed),""lower_case_table_names (table name is case sensitive, must be passed, 0 - sensitive; 1 - insensitive),""innodb_page_size (innodb data page, default 16K),""sync_mode ( Synchronous mode: 0 - asynchronous; 1 - strong synchronous; 2 - strong synchronous degenerate. The default is strong synchronous degenerate)".
	InitParams DbInstanceInitParamArrayInput
	// Instance name, you can set the name of the instance independently through this field.
	InstanceName pulumi.StringPtrInput
	// Whether to support IPv6.
	Ipv6Flag pulumi.IntPtrInput
	// The length of time you want to buy, unit: month.
	Period pulumi.IntPtrInput
	// Project ID, which can be obtained by viewing the project list, if not passed, it will be associated with the default project.
	ProjectId pulumi.IntPtrInput
	// Array of tag key-value pairs.
	ResourceTags DbInstanceResourceTagArrayInput
	// Security group ids, the security group can be passed in the form of an array, compatible with the previous SecurityGroupId parameter.
	SecurityGroupIds pulumi.StringArrayInput
	// The number of instance fragments, the optional range is 2-8, and new fragments can be added to a maximum of 64 fragments by upgrading the instance.
	ShardCount pulumi.IntPtrInput
	// "Shard memory size, unit: GB, can pass DescribeShardSpec""Query the instance specification to obtain.".
	ShardMemory pulumi.IntPtrInput
	// "Number of single shard nodes, can pass DescribeShardSpec""Query the instance specification to obtain.".
	ShardNodeCount pulumi.IntPtrInput
	// "Shard storage size, unit: GB, can pass DescribeShardSpec""Query the instance specification to obtain.".
	ShardStorage pulumi.IntPtrInput
	// Virtual private network subnet ID, required when VpcId is not empty.
	SubnetId pulumi.StringPtrInput
	// Voucher ID list, currently only supports specifying one voucher.
	VoucherIds pulumi.StringArrayInput
	// Virtual private network ID, if not passed or passed empty, it means that it is created as a basic network.
	VpcId pulumi.StringPtrInput
	// "The availability zone distribution of shard nodes can be filled with up to two availability zones. When the shard specification is one master and two slaves, two of the nodes are in the first availability zone.""Note that the current availability zone that can be sold needs to be pulled through the DescribeDCDBSaleInfo interface.".
	Zones pulumi.StringArrayInput
}

func (DbInstanceState) ElementType

func (DbInstanceState) ElementType() reflect.Type

type DbParameters

type DbParameters struct {
	pulumi.CustomResourceState

	// The ID of instance.
	InstanceId pulumi.StringOutput `pulumi:"instanceId"`
	// Parameter list, each element is a combination of Param and Value.
	Params DbParametersParamsOutput `pulumi:"params"`
}

Provides a resource to create a dcdb dbParameters

## Example Usage

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Dcdb"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Dcdb"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Dcdb.NewDbParameters(ctx, "dbParameters", &Dcdb.DbParametersArgs{
			InstanceId: pulumi.String(fmt.Sprintf("%v%v", "%", "s")),
			Params: &dcdb.DbParametersParamsArgs{
				Param: pulumi.String("max_connections"),
				Value: pulumi.String("9999"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

dcdb db_parameters can be imported using the id, e.g.

```sh

$ pulumi import tencentcloud:Dcdb/dbParameters:DbParameters db_parameters instanceId#paramName

```

func GetDbParameters

func GetDbParameters(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DbParametersState, opts ...pulumi.ResourceOption) (*DbParameters, error)

GetDbParameters gets an existing DbParameters 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 NewDbParameters

func NewDbParameters(ctx *pulumi.Context,
	name string, args *DbParametersArgs, opts ...pulumi.ResourceOption) (*DbParameters, error)

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

func (*DbParameters) ElementType

func (*DbParameters) ElementType() reflect.Type

func (*DbParameters) ToDbParametersOutput

func (i *DbParameters) ToDbParametersOutput() DbParametersOutput

func (*DbParameters) ToDbParametersOutputWithContext

func (i *DbParameters) ToDbParametersOutputWithContext(ctx context.Context) DbParametersOutput

type DbParametersArgs

type DbParametersArgs struct {
	// The ID of instance.
	InstanceId pulumi.StringInput
	// Parameter list, each element is a combination of Param and Value.
	Params DbParametersParamsInput
}

The set of arguments for constructing a DbParameters resource.

func (DbParametersArgs) ElementType

func (DbParametersArgs) ElementType() reflect.Type

type DbParametersArray

type DbParametersArray []DbParametersInput

func (DbParametersArray) ElementType

func (DbParametersArray) ElementType() reflect.Type

func (DbParametersArray) ToDbParametersArrayOutput

func (i DbParametersArray) ToDbParametersArrayOutput() DbParametersArrayOutput

func (DbParametersArray) ToDbParametersArrayOutputWithContext

func (i DbParametersArray) ToDbParametersArrayOutputWithContext(ctx context.Context) DbParametersArrayOutput

type DbParametersArrayInput

type DbParametersArrayInput interface {
	pulumi.Input

	ToDbParametersArrayOutput() DbParametersArrayOutput
	ToDbParametersArrayOutputWithContext(context.Context) DbParametersArrayOutput
}

DbParametersArrayInput is an input type that accepts DbParametersArray and DbParametersArrayOutput values. You can construct a concrete instance of `DbParametersArrayInput` via:

DbParametersArray{ DbParametersArgs{...} }

type DbParametersArrayOutput

type DbParametersArrayOutput struct{ *pulumi.OutputState }

func (DbParametersArrayOutput) ElementType

func (DbParametersArrayOutput) ElementType() reflect.Type

func (DbParametersArrayOutput) Index

func (DbParametersArrayOutput) ToDbParametersArrayOutput

func (o DbParametersArrayOutput) ToDbParametersArrayOutput() DbParametersArrayOutput

func (DbParametersArrayOutput) ToDbParametersArrayOutputWithContext

func (o DbParametersArrayOutput) ToDbParametersArrayOutputWithContext(ctx context.Context) DbParametersArrayOutput

type DbParametersInput

type DbParametersInput interface {
	pulumi.Input

	ToDbParametersOutput() DbParametersOutput
	ToDbParametersOutputWithContext(ctx context.Context) DbParametersOutput
}

type DbParametersMap

type DbParametersMap map[string]DbParametersInput

func (DbParametersMap) ElementType

func (DbParametersMap) ElementType() reflect.Type

func (DbParametersMap) ToDbParametersMapOutput

func (i DbParametersMap) ToDbParametersMapOutput() DbParametersMapOutput

func (DbParametersMap) ToDbParametersMapOutputWithContext

func (i DbParametersMap) ToDbParametersMapOutputWithContext(ctx context.Context) DbParametersMapOutput

type DbParametersMapInput

type DbParametersMapInput interface {
	pulumi.Input

	ToDbParametersMapOutput() DbParametersMapOutput
	ToDbParametersMapOutputWithContext(context.Context) DbParametersMapOutput
}

DbParametersMapInput is an input type that accepts DbParametersMap and DbParametersMapOutput values. You can construct a concrete instance of `DbParametersMapInput` via:

DbParametersMap{ "key": DbParametersArgs{...} }

type DbParametersMapOutput

type DbParametersMapOutput struct{ *pulumi.OutputState }

func (DbParametersMapOutput) ElementType

func (DbParametersMapOutput) ElementType() reflect.Type

func (DbParametersMapOutput) MapIndex

func (DbParametersMapOutput) ToDbParametersMapOutput

func (o DbParametersMapOutput) ToDbParametersMapOutput() DbParametersMapOutput

func (DbParametersMapOutput) ToDbParametersMapOutputWithContext

func (o DbParametersMapOutput) ToDbParametersMapOutputWithContext(ctx context.Context) DbParametersMapOutput

type DbParametersOutput

type DbParametersOutput struct{ *pulumi.OutputState }

func (DbParametersOutput) ElementType

func (DbParametersOutput) ElementType() reflect.Type

func (DbParametersOutput) InstanceId

func (o DbParametersOutput) InstanceId() pulumi.StringOutput

The ID of instance.

func (DbParametersOutput) Params

Parameter list, each element is a combination of Param and Value.

func (DbParametersOutput) ToDbParametersOutput

func (o DbParametersOutput) ToDbParametersOutput() DbParametersOutput

func (DbParametersOutput) ToDbParametersOutputWithContext

func (o DbParametersOutput) ToDbParametersOutputWithContext(ctx context.Context) DbParametersOutput

type DbParametersParams

type DbParametersParams struct {
	// The name of parameter.
	Param string `pulumi:"param"`
	// The value of parameter.
	Value string `pulumi:"value"`
}

type DbParametersParamsArgs

type DbParametersParamsArgs struct {
	// The name of parameter.
	Param pulumi.StringInput `pulumi:"param"`
	// The value of parameter.
	Value pulumi.StringInput `pulumi:"value"`
}

func (DbParametersParamsArgs) ElementType

func (DbParametersParamsArgs) ElementType() reflect.Type

func (DbParametersParamsArgs) ToDbParametersParamsOutput

func (i DbParametersParamsArgs) ToDbParametersParamsOutput() DbParametersParamsOutput

func (DbParametersParamsArgs) ToDbParametersParamsOutputWithContext

func (i DbParametersParamsArgs) ToDbParametersParamsOutputWithContext(ctx context.Context) DbParametersParamsOutput

func (DbParametersParamsArgs) ToDbParametersParamsPtrOutput

func (i DbParametersParamsArgs) ToDbParametersParamsPtrOutput() DbParametersParamsPtrOutput

func (DbParametersParamsArgs) ToDbParametersParamsPtrOutputWithContext

func (i DbParametersParamsArgs) ToDbParametersParamsPtrOutputWithContext(ctx context.Context) DbParametersParamsPtrOutput

type DbParametersParamsInput

type DbParametersParamsInput interface {
	pulumi.Input

	ToDbParametersParamsOutput() DbParametersParamsOutput
	ToDbParametersParamsOutputWithContext(context.Context) DbParametersParamsOutput
}

DbParametersParamsInput is an input type that accepts DbParametersParamsArgs and DbParametersParamsOutput values. You can construct a concrete instance of `DbParametersParamsInput` via:

DbParametersParamsArgs{...}

type DbParametersParamsOutput

type DbParametersParamsOutput struct{ *pulumi.OutputState }

func (DbParametersParamsOutput) ElementType

func (DbParametersParamsOutput) ElementType() reflect.Type

func (DbParametersParamsOutput) Param

The name of parameter.

func (DbParametersParamsOutput) ToDbParametersParamsOutput

func (o DbParametersParamsOutput) ToDbParametersParamsOutput() DbParametersParamsOutput

func (DbParametersParamsOutput) ToDbParametersParamsOutputWithContext

func (o DbParametersParamsOutput) ToDbParametersParamsOutputWithContext(ctx context.Context) DbParametersParamsOutput

func (DbParametersParamsOutput) ToDbParametersParamsPtrOutput

func (o DbParametersParamsOutput) ToDbParametersParamsPtrOutput() DbParametersParamsPtrOutput

func (DbParametersParamsOutput) ToDbParametersParamsPtrOutputWithContext

func (o DbParametersParamsOutput) ToDbParametersParamsPtrOutputWithContext(ctx context.Context) DbParametersParamsPtrOutput

func (DbParametersParamsOutput) Value

The value of parameter.

type DbParametersParamsPtrInput

type DbParametersParamsPtrInput interface {
	pulumi.Input

	ToDbParametersParamsPtrOutput() DbParametersParamsPtrOutput
	ToDbParametersParamsPtrOutputWithContext(context.Context) DbParametersParamsPtrOutput
}

DbParametersParamsPtrInput is an input type that accepts DbParametersParamsArgs, DbParametersParamsPtr and DbParametersParamsPtrOutput values. You can construct a concrete instance of `DbParametersParamsPtrInput` via:

        DbParametersParamsArgs{...}

or:

        nil

type DbParametersParamsPtrOutput

type DbParametersParamsPtrOutput struct{ *pulumi.OutputState }

func (DbParametersParamsPtrOutput) Elem

func (DbParametersParamsPtrOutput) ElementType

func (DbParametersParamsPtrOutput) Param

The name of parameter.

func (DbParametersParamsPtrOutput) ToDbParametersParamsPtrOutput

func (o DbParametersParamsPtrOutput) ToDbParametersParamsPtrOutput() DbParametersParamsPtrOutput

func (DbParametersParamsPtrOutput) ToDbParametersParamsPtrOutputWithContext

func (o DbParametersParamsPtrOutput) ToDbParametersParamsPtrOutputWithContext(ctx context.Context) DbParametersParamsPtrOutput

func (DbParametersParamsPtrOutput) Value

The value of parameter.

type DbParametersState

type DbParametersState struct {
	// The ID of instance.
	InstanceId pulumi.StringPtrInput
	// Parameter list, each element is a combination of Param and Value.
	Params DbParametersParamsPtrInput
}

func (DbParametersState) ElementType

func (DbParametersState) ElementType() reflect.Type

type GetAccountsArgs

type GetAccountsArgs struct {
	// instance id.
	InstanceId string `pulumi:"instanceId"`
	// Used to save results.
	ResultOutputFile *string `pulumi:"resultOutputFile"`
}

A collection of arguments for invoking getAccounts.

type GetAccountsList

type GetAccountsList struct {
	// Creation time.
	CreateTime string `pulumi:"createTime"`
	// If the standby machine delay exceeds the setting value of this parameter, the system will consider that the standby machine is faulty and recommend that the parameter value be greater than 10. This parameter takes effect when ReadOnly selects 1 and 2.
	DelayThresh int `pulumi:"delayThresh"`
	// User remarks info.
	Description string `pulumi:"description"`
	// From which host the user can log in (corresponding to the host field of MySQL users, UserName + Host uniquely identifies a user, in the form of IP, the IP segment ends with %; supports filling in %; if it is empty, it defaults to %).
	Host string `pulumi:"host"`
	// Read-only flag, 0: No, 1: The SQL request of this account is preferentially executed on the standby machine, and the host is selected for execution when the standby machine is unavailable. 2: The standby machine is preferentially selected for execution, and the operation fails when the standby machine is unavailable.
	ReadOnly int `pulumi:"readOnly"`
	// For read-only accounts, set the policy whether to fix the standby machine, 0: not fix the standby machine, that is, the standby machine will not disconnect from the client if it does not meet the conditions, the Proxy selects other available standby machines, 1: the standby machine will be disconnected if the conditions are not met, Make sure a connection is secured to the standby machine.
	SlaveConst int `pulumi:"slaveConst"`
	// Last update time.
	UpdateTime string `pulumi:"updateTime"`
	// User Name.
	UserName string `pulumi:"userName"`
}

type GetAccountsListArgs

type GetAccountsListArgs struct {
	// Creation time.
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// If the standby machine delay exceeds the setting value of this parameter, the system will consider that the standby machine is faulty and recommend that the parameter value be greater than 10. This parameter takes effect when ReadOnly selects 1 and 2.
	DelayThresh pulumi.IntInput `pulumi:"delayThresh"`
	// User remarks info.
	Description pulumi.StringInput `pulumi:"description"`
	// From which host the user can log in (corresponding to the host field of MySQL users, UserName + Host uniquely identifies a user, in the form of IP, the IP segment ends with %; supports filling in %; if it is empty, it defaults to %).
	Host pulumi.StringInput `pulumi:"host"`
	// Read-only flag, 0: No, 1: The SQL request of this account is preferentially executed on the standby machine, and the host is selected for execution when the standby machine is unavailable. 2: The standby machine is preferentially selected for execution, and the operation fails when the standby machine is unavailable.
	ReadOnly pulumi.IntInput `pulumi:"readOnly"`
	// For read-only accounts, set the policy whether to fix the standby machine, 0: not fix the standby machine, that is, the standby machine will not disconnect from the client if it does not meet the conditions, the Proxy selects other available standby machines, 1: the standby machine will be disconnected if the conditions are not met, Make sure a connection is secured to the standby machine.
	SlaveConst pulumi.IntInput `pulumi:"slaveConst"`
	// Last update time.
	UpdateTime pulumi.StringInput `pulumi:"updateTime"`
	// User Name.
	UserName pulumi.StringInput `pulumi:"userName"`
}

func (GetAccountsListArgs) ElementType

func (GetAccountsListArgs) ElementType() reflect.Type

func (GetAccountsListArgs) ToGetAccountsListOutput

func (i GetAccountsListArgs) ToGetAccountsListOutput() GetAccountsListOutput

func (GetAccountsListArgs) ToGetAccountsListOutputWithContext

func (i GetAccountsListArgs) ToGetAccountsListOutputWithContext(ctx context.Context) GetAccountsListOutput

type GetAccountsListArray

type GetAccountsListArray []GetAccountsListInput

func (GetAccountsListArray) ElementType

func (GetAccountsListArray) ElementType() reflect.Type

func (GetAccountsListArray) ToGetAccountsListArrayOutput

func (i GetAccountsListArray) ToGetAccountsListArrayOutput() GetAccountsListArrayOutput

func (GetAccountsListArray) ToGetAccountsListArrayOutputWithContext

func (i GetAccountsListArray) ToGetAccountsListArrayOutputWithContext(ctx context.Context) GetAccountsListArrayOutput

type GetAccountsListArrayInput

type GetAccountsListArrayInput interface {
	pulumi.Input

	ToGetAccountsListArrayOutput() GetAccountsListArrayOutput
	ToGetAccountsListArrayOutputWithContext(context.Context) GetAccountsListArrayOutput
}

GetAccountsListArrayInput is an input type that accepts GetAccountsListArray and GetAccountsListArrayOutput values. You can construct a concrete instance of `GetAccountsListArrayInput` via:

GetAccountsListArray{ GetAccountsListArgs{...} }

type GetAccountsListArrayOutput

type GetAccountsListArrayOutput struct{ *pulumi.OutputState }

func (GetAccountsListArrayOutput) ElementType

func (GetAccountsListArrayOutput) ElementType() reflect.Type

func (GetAccountsListArrayOutput) Index

func (GetAccountsListArrayOutput) ToGetAccountsListArrayOutput

func (o GetAccountsListArrayOutput) ToGetAccountsListArrayOutput() GetAccountsListArrayOutput

func (GetAccountsListArrayOutput) ToGetAccountsListArrayOutputWithContext

func (o GetAccountsListArrayOutput) ToGetAccountsListArrayOutputWithContext(ctx context.Context) GetAccountsListArrayOutput

type GetAccountsListInput

type GetAccountsListInput interface {
	pulumi.Input

	ToGetAccountsListOutput() GetAccountsListOutput
	ToGetAccountsListOutputWithContext(context.Context) GetAccountsListOutput
}

GetAccountsListInput is an input type that accepts GetAccountsListArgs and GetAccountsListOutput values. You can construct a concrete instance of `GetAccountsListInput` via:

GetAccountsListArgs{...}

type GetAccountsListOutput

type GetAccountsListOutput struct{ *pulumi.OutputState }

func (GetAccountsListOutput) CreateTime

func (o GetAccountsListOutput) CreateTime() pulumi.StringOutput

Creation time.

func (GetAccountsListOutput) DelayThresh

func (o GetAccountsListOutput) DelayThresh() pulumi.IntOutput

If the standby machine delay exceeds the setting value of this parameter, the system will consider that the standby machine is faulty and recommend that the parameter value be greater than 10. This parameter takes effect when ReadOnly selects 1 and 2.

func (GetAccountsListOutput) Description

func (o GetAccountsListOutput) Description() pulumi.StringOutput

User remarks info.

func (GetAccountsListOutput) ElementType

func (GetAccountsListOutput) ElementType() reflect.Type

func (GetAccountsListOutput) Host

From which host the user can log in (corresponding to the host field of MySQL users, UserName + Host uniquely identifies a user, in the form of IP, the IP segment ends with %; supports filling in %; if it is empty, it defaults to %).

func (GetAccountsListOutput) ReadOnly

func (o GetAccountsListOutput) ReadOnly() pulumi.IntOutput

Read-only flag, 0: No, 1: The SQL request of this account is preferentially executed on the standby machine, and the host is selected for execution when the standby machine is unavailable. 2: The standby machine is preferentially selected for execution, and the operation fails when the standby machine is unavailable.

func (GetAccountsListOutput) SlaveConst

func (o GetAccountsListOutput) SlaveConst() pulumi.IntOutput

For read-only accounts, set the policy whether to fix the standby machine, 0: not fix the standby machine, that is, the standby machine will not disconnect from the client if it does not meet the conditions, the Proxy selects other available standby machines, 1: the standby machine will be disconnected if the conditions are not met, Make sure a connection is secured to the standby machine.

func (GetAccountsListOutput) ToGetAccountsListOutput

func (o GetAccountsListOutput) ToGetAccountsListOutput() GetAccountsListOutput

func (GetAccountsListOutput) ToGetAccountsListOutputWithContext

func (o GetAccountsListOutput) ToGetAccountsListOutputWithContext(ctx context.Context) GetAccountsListOutput

func (GetAccountsListOutput) UpdateTime

func (o GetAccountsListOutput) UpdateTime() pulumi.StringOutput

Last update time.

func (GetAccountsListOutput) UserName

User Name.

type GetAccountsOutputArgs

type GetAccountsOutputArgs struct {
	// instance id.
	InstanceId pulumi.StringInput `pulumi:"instanceId"`
	// Used to save results.
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
}

A collection of arguments for invoking getAccounts.

func (GetAccountsOutputArgs) ElementType

func (GetAccountsOutputArgs) ElementType() reflect.Type

type GetAccountsResult

type GetAccountsResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id         string `pulumi:"id"`
	InstanceId string `pulumi:"instanceId"`
	// Cloud database account information.
	Lists            []GetAccountsList `pulumi:"lists"`
	ResultOutputFile *string           `pulumi:"resultOutputFile"`
}

A collection of values returned by getAccounts.

func GetAccounts

func GetAccounts(ctx *pulumi.Context, args *GetAccountsArgs, opts ...pulumi.InvokeOption) (*GetAccountsResult, error)

Use this data source to query detailed information of dcdb accounts.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Dcdb"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Dcdb"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Dcdb.GetAccounts(ctx, &dcdb.GetAccountsArgs{
			InstanceId: tencentcloud_dcdb_account.Foo.Instance_id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetAccountsResultOutput

type GetAccountsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAccounts.

func (GetAccountsResultOutput) ElementType

func (GetAccountsResultOutput) ElementType() reflect.Type

func (GetAccountsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetAccountsResultOutput) InstanceId

func (GetAccountsResultOutput) Lists

Cloud database account information.

func (GetAccountsResultOutput) ResultOutputFile

func (o GetAccountsResultOutput) ResultOutputFile() pulumi.StringPtrOutput

func (GetAccountsResultOutput) ToGetAccountsResultOutput

func (o GetAccountsResultOutput) ToGetAccountsResultOutput() GetAccountsResultOutput

func (GetAccountsResultOutput) ToGetAccountsResultOutputWithContext

func (o GetAccountsResultOutput) ToGetAccountsResultOutputWithContext(ctx context.Context) GetAccountsResultOutput

type GetDatabaseObjectsArgs

type GetDatabaseObjectsArgs struct {
	// Database name, obtained through the DescribeDatabases api.
	DbName string `pulumi:"dbName"`
	// The ID of instance.
	InstanceId string `pulumi:"instanceId"`
	// Used to save results.
	ResultOutputFile *string `pulumi:"resultOutputFile"`
}

A collection of arguments for invoking getDatabaseObjects.

type GetDatabaseObjectsFunc

type GetDatabaseObjectsFunc struct {
	// The name of function.
	Func string `pulumi:"func"`
}

type GetDatabaseObjectsFuncArgs

type GetDatabaseObjectsFuncArgs struct {
	// The name of function.
	Func pulumi.StringInput `pulumi:"func"`
}

func (GetDatabaseObjectsFuncArgs) ElementType

func (GetDatabaseObjectsFuncArgs) ElementType() reflect.Type

func (GetDatabaseObjectsFuncArgs) ToGetDatabaseObjectsFuncOutput

func (i GetDatabaseObjectsFuncArgs) ToGetDatabaseObjectsFuncOutput() GetDatabaseObjectsFuncOutput

func (GetDatabaseObjectsFuncArgs) ToGetDatabaseObjectsFuncOutputWithContext

func (i GetDatabaseObjectsFuncArgs) ToGetDatabaseObjectsFuncOutputWithContext(ctx context.Context) GetDatabaseObjectsFuncOutput

type GetDatabaseObjectsFuncArray

type GetDatabaseObjectsFuncArray []GetDatabaseObjectsFuncInput

func (GetDatabaseObjectsFuncArray) ElementType

func (GetDatabaseObjectsFuncArray) ToGetDatabaseObjectsFuncArrayOutput

func (i GetDatabaseObjectsFuncArray) ToGetDatabaseObjectsFuncArrayOutput() GetDatabaseObjectsFuncArrayOutput

func (GetDatabaseObjectsFuncArray) ToGetDatabaseObjectsFuncArrayOutputWithContext

func (i GetDatabaseObjectsFuncArray) ToGetDatabaseObjectsFuncArrayOutputWithContext(ctx context.Context) GetDatabaseObjectsFuncArrayOutput

type GetDatabaseObjectsFuncArrayInput

type GetDatabaseObjectsFuncArrayInput interface {
	pulumi.Input

	ToGetDatabaseObjectsFuncArrayOutput() GetDatabaseObjectsFuncArrayOutput
	ToGetDatabaseObjectsFuncArrayOutputWithContext(context.Context) GetDatabaseObjectsFuncArrayOutput
}

GetDatabaseObjectsFuncArrayInput is an input type that accepts GetDatabaseObjectsFuncArray and GetDatabaseObjectsFuncArrayOutput values. You can construct a concrete instance of `GetDatabaseObjectsFuncArrayInput` via:

GetDatabaseObjectsFuncArray{ GetDatabaseObjectsFuncArgs{...} }

type GetDatabaseObjectsFuncArrayOutput

type GetDatabaseObjectsFuncArrayOutput struct{ *pulumi.OutputState }

func (GetDatabaseObjectsFuncArrayOutput) ElementType

func (GetDatabaseObjectsFuncArrayOutput) Index

func (GetDatabaseObjectsFuncArrayOutput) ToGetDatabaseObjectsFuncArrayOutput

func (o GetDatabaseObjectsFuncArrayOutput) ToGetDatabaseObjectsFuncArrayOutput() GetDatabaseObjectsFuncArrayOutput

func (GetDatabaseObjectsFuncArrayOutput) ToGetDatabaseObjectsFuncArrayOutputWithContext

func (o GetDatabaseObjectsFuncArrayOutput) ToGetDatabaseObjectsFuncArrayOutputWithContext(ctx context.Context) GetDatabaseObjectsFuncArrayOutput

type GetDatabaseObjectsFuncInput

type GetDatabaseObjectsFuncInput interface {
	pulumi.Input

	ToGetDatabaseObjectsFuncOutput() GetDatabaseObjectsFuncOutput
	ToGetDatabaseObjectsFuncOutputWithContext(context.Context) GetDatabaseObjectsFuncOutput
}

GetDatabaseObjectsFuncInput is an input type that accepts GetDatabaseObjectsFuncArgs and GetDatabaseObjectsFuncOutput values. You can construct a concrete instance of `GetDatabaseObjectsFuncInput` via:

GetDatabaseObjectsFuncArgs{...}

type GetDatabaseObjectsFuncOutput

type GetDatabaseObjectsFuncOutput struct{ *pulumi.OutputState }

func (GetDatabaseObjectsFuncOutput) ElementType

func (GetDatabaseObjectsFuncOutput) Func

The name of function.

func (GetDatabaseObjectsFuncOutput) ToGetDatabaseObjectsFuncOutput

func (o GetDatabaseObjectsFuncOutput) ToGetDatabaseObjectsFuncOutput() GetDatabaseObjectsFuncOutput

func (GetDatabaseObjectsFuncOutput) ToGetDatabaseObjectsFuncOutputWithContext

func (o GetDatabaseObjectsFuncOutput) ToGetDatabaseObjectsFuncOutputWithContext(ctx context.Context) GetDatabaseObjectsFuncOutput

type GetDatabaseObjectsOutputArgs

type GetDatabaseObjectsOutputArgs struct {
	// Database name, obtained through the DescribeDatabases api.
	DbName pulumi.StringInput `pulumi:"dbName"`
	// The ID of instance.
	InstanceId pulumi.StringInput `pulumi:"instanceId"`
	// Used to save results.
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
}

A collection of arguments for invoking getDatabaseObjects.

func (GetDatabaseObjectsOutputArgs) ElementType

type GetDatabaseObjectsProc

type GetDatabaseObjectsProc struct {
	// The name of procedure.
	Proc string `pulumi:"proc"`
}

type GetDatabaseObjectsProcArgs

type GetDatabaseObjectsProcArgs struct {
	// The name of procedure.
	Proc pulumi.StringInput `pulumi:"proc"`
}

func (GetDatabaseObjectsProcArgs) ElementType

func (GetDatabaseObjectsProcArgs) ElementType() reflect.Type

func (GetDatabaseObjectsProcArgs) ToGetDatabaseObjectsProcOutput

func (i GetDatabaseObjectsProcArgs) ToGetDatabaseObjectsProcOutput() GetDatabaseObjectsProcOutput

func (GetDatabaseObjectsProcArgs) ToGetDatabaseObjectsProcOutputWithContext

func (i GetDatabaseObjectsProcArgs) ToGetDatabaseObjectsProcOutputWithContext(ctx context.Context) GetDatabaseObjectsProcOutput

type GetDatabaseObjectsProcArray

type GetDatabaseObjectsProcArray []GetDatabaseObjectsProcInput

func (GetDatabaseObjectsProcArray) ElementType

func (GetDatabaseObjectsProcArray) ToGetDatabaseObjectsProcArrayOutput

func (i GetDatabaseObjectsProcArray) ToGetDatabaseObjectsProcArrayOutput() GetDatabaseObjectsProcArrayOutput

func (GetDatabaseObjectsProcArray) ToGetDatabaseObjectsProcArrayOutputWithContext

func (i GetDatabaseObjectsProcArray) ToGetDatabaseObjectsProcArrayOutputWithContext(ctx context.Context) GetDatabaseObjectsProcArrayOutput

type GetDatabaseObjectsProcArrayInput

type GetDatabaseObjectsProcArrayInput interface {
	pulumi.Input

	ToGetDatabaseObjectsProcArrayOutput() GetDatabaseObjectsProcArrayOutput
	ToGetDatabaseObjectsProcArrayOutputWithContext(context.Context) GetDatabaseObjectsProcArrayOutput
}

GetDatabaseObjectsProcArrayInput is an input type that accepts GetDatabaseObjectsProcArray and GetDatabaseObjectsProcArrayOutput values. You can construct a concrete instance of `GetDatabaseObjectsProcArrayInput` via:

GetDatabaseObjectsProcArray{ GetDatabaseObjectsProcArgs{...} }

type GetDatabaseObjectsProcArrayOutput

type GetDatabaseObjectsProcArrayOutput struct{ *pulumi.OutputState }

func (GetDatabaseObjectsProcArrayOutput) ElementType

func (GetDatabaseObjectsProcArrayOutput) Index

func (GetDatabaseObjectsProcArrayOutput) ToGetDatabaseObjectsProcArrayOutput

func (o GetDatabaseObjectsProcArrayOutput) ToGetDatabaseObjectsProcArrayOutput() GetDatabaseObjectsProcArrayOutput

func (GetDatabaseObjectsProcArrayOutput) ToGetDatabaseObjectsProcArrayOutputWithContext

func (o GetDatabaseObjectsProcArrayOutput) ToGetDatabaseObjectsProcArrayOutputWithContext(ctx context.Context) GetDatabaseObjectsProcArrayOutput

type GetDatabaseObjectsProcInput

type GetDatabaseObjectsProcInput interface {
	pulumi.Input

	ToGetDatabaseObjectsProcOutput() GetDatabaseObjectsProcOutput
	ToGetDatabaseObjectsProcOutputWithContext(context.Context) GetDatabaseObjectsProcOutput
}

GetDatabaseObjectsProcInput is an input type that accepts GetDatabaseObjectsProcArgs and GetDatabaseObjectsProcOutput values. You can construct a concrete instance of `GetDatabaseObjectsProcInput` via:

GetDatabaseObjectsProcArgs{...}

type GetDatabaseObjectsProcOutput

type GetDatabaseObjectsProcOutput struct{ *pulumi.OutputState }

func (GetDatabaseObjectsProcOutput) ElementType

func (GetDatabaseObjectsProcOutput) Proc

The name of procedure.

func (GetDatabaseObjectsProcOutput) ToGetDatabaseObjectsProcOutput

func (o GetDatabaseObjectsProcOutput) ToGetDatabaseObjectsProcOutput() GetDatabaseObjectsProcOutput

func (GetDatabaseObjectsProcOutput) ToGetDatabaseObjectsProcOutputWithContext

func (o GetDatabaseObjectsProcOutput) ToGetDatabaseObjectsProcOutputWithContext(ctx context.Context) GetDatabaseObjectsProcOutput

type GetDatabaseObjectsResult

type GetDatabaseObjectsResult struct {
	DbName string `pulumi:"dbName"`
	// Function list.
	Funcs []GetDatabaseObjectsFunc `pulumi:"funcs"`
	// The provider-assigned unique ID for this managed resource.
	Id         string `pulumi:"id"`
	InstanceId string `pulumi:"instanceId"`
	// Procedure list.
	Procs            []GetDatabaseObjectsProc `pulumi:"procs"`
	ResultOutputFile *string                  `pulumi:"resultOutputFile"`
	// Table list.
	Tables []GetDatabaseObjectsTable `pulumi:"tables"`
	// View list.
	Views []GetDatabaseObjectsView `pulumi:"views"`
}

A collection of values returned by getDatabaseObjects.

func GetDatabaseObjects

func GetDatabaseObjects(ctx *pulumi.Context, args *GetDatabaseObjectsArgs, opts ...pulumi.InvokeOption) (*GetDatabaseObjectsResult, error)

Use this data source to query detailed information of dcdb databaseObjects

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Dcdb"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Dcdb"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Dcdb.GetDatabaseObjects(ctx, &dcdb.GetDatabaseObjectsArgs{
			DbName: "",
			Gt: []map[string]interface{}{
				nil,
			},
			InstanceId: "dcdbt-ow7t8lmc",
			Lt: []map[string]interface{}{
				nil,
			},
			Nil: []map[string]interface{}{
				nil,
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetDatabaseObjectsResultOutput

type GetDatabaseObjectsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDatabaseObjects.

func (GetDatabaseObjectsResultOutput) DbName

func (GetDatabaseObjectsResultOutput) ElementType

func (GetDatabaseObjectsResultOutput) Funcs

Function list.

func (GetDatabaseObjectsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetDatabaseObjectsResultOutput) InstanceId

func (GetDatabaseObjectsResultOutput) Procs

Procedure list.

func (GetDatabaseObjectsResultOutput) ResultOutputFile

func (GetDatabaseObjectsResultOutput) Tables

Table list.

func (GetDatabaseObjectsResultOutput) ToGetDatabaseObjectsResultOutput

func (o GetDatabaseObjectsResultOutput) ToGetDatabaseObjectsResultOutput() GetDatabaseObjectsResultOutput

func (GetDatabaseObjectsResultOutput) ToGetDatabaseObjectsResultOutputWithContext

func (o GetDatabaseObjectsResultOutput) ToGetDatabaseObjectsResultOutputWithContext(ctx context.Context) GetDatabaseObjectsResultOutput

func (GetDatabaseObjectsResultOutput) Views

View list.

type GetDatabaseObjectsTable

type GetDatabaseObjectsTable struct {
	// The name of table.
	Table string `pulumi:"table"`
}

type GetDatabaseObjectsTableArgs

type GetDatabaseObjectsTableArgs struct {
	// The name of table.
	Table pulumi.StringInput `pulumi:"table"`
}

func (GetDatabaseObjectsTableArgs) ElementType

func (GetDatabaseObjectsTableArgs) ToGetDatabaseObjectsTableOutput

func (i GetDatabaseObjectsTableArgs) ToGetDatabaseObjectsTableOutput() GetDatabaseObjectsTableOutput

func (GetDatabaseObjectsTableArgs) ToGetDatabaseObjectsTableOutputWithContext

func (i GetDatabaseObjectsTableArgs) ToGetDatabaseObjectsTableOutputWithContext(ctx context.Context) GetDatabaseObjectsTableOutput

type GetDatabaseObjectsTableArray

type GetDatabaseObjectsTableArray []GetDatabaseObjectsTableInput

func (GetDatabaseObjectsTableArray) ElementType

func (GetDatabaseObjectsTableArray) ToGetDatabaseObjectsTableArrayOutput

func (i GetDatabaseObjectsTableArray) ToGetDatabaseObjectsTableArrayOutput() GetDatabaseObjectsTableArrayOutput

func (GetDatabaseObjectsTableArray) ToGetDatabaseObjectsTableArrayOutputWithContext

func (i GetDatabaseObjectsTableArray) ToGetDatabaseObjectsTableArrayOutputWithContext(ctx context.Context) GetDatabaseObjectsTableArrayOutput

type GetDatabaseObjectsTableArrayInput

type GetDatabaseObjectsTableArrayInput interface {
	pulumi.Input

	ToGetDatabaseObjectsTableArrayOutput() GetDatabaseObjectsTableArrayOutput
	ToGetDatabaseObjectsTableArrayOutputWithContext(context.Context) GetDatabaseObjectsTableArrayOutput
}

GetDatabaseObjectsTableArrayInput is an input type that accepts GetDatabaseObjectsTableArray and GetDatabaseObjectsTableArrayOutput values. You can construct a concrete instance of `GetDatabaseObjectsTableArrayInput` via:

GetDatabaseObjectsTableArray{ GetDatabaseObjectsTableArgs{...} }

type GetDatabaseObjectsTableArrayOutput

type GetDatabaseObjectsTableArrayOutput struct{ *pulumi.OutputState }

func (GetDatabaseObjectsTableArrayOutput) ElementType

func (GetDatabaseObjectsTableArrayOutput) Index

func (GetDatabaseObjectsTableArrayOutput) ToGetDatabaseObjectsTableArrayOutput

func (o GetDatabaseObjectsTableArrayOutput) ToGetDatabaseObjectsTableArrayOutput() GetDatabaseObjectsTableArrayOutput

func (GetDatabaseObjectsTableArrayOutput) ToGetDatabaseObjectsTableArrayOutputWithContext

func (o GetDatabaseObjectsTableArrayOutput) ToGetDatabaseObjectsTableArrayOutputWithContext(ctx context.Context) GetDatabaseObjectsTableArrayOutput

type GetDatabaseObjectsTableInput

type GetDatabaseObjectsTableInput interface {
	pulumi.Input

	ToGetDatabaseObjectsTableOutput() GetDatabaseObjectsTableOutput
	ToGetDatabaseObjectsTableOutputWithContext(context.Context) GetDatabaseObjectsTableOutput
}

GetDatabaseObjectsTableInput is an input type that accepts GetDatabaseObjectsTableArgs and GetDatabaseObjectsTableOutput values. You can construct a concrete instance of `GetDatabaseObjectsTableInput` via:

GetDatabaseObjectsTableArgs{...}

type GetDatabaseObjectsTableOutput

type GetDatabaseObjectsTableOutput struct{ *pulumi.OutputState }

func (GetDatabaseObjectsTableOutput) ElementType

func (GetDatabaseObjectsTableOutput) Table

The name of table.

func (GetDatabaseObjectsTableOutput) ToGetDatabaseObjectsTableOutput

func (o GetDatabaseObjectsTableOutput) ToGetDatabaseObjectsTableOutput() GetDatabaseObjectsTableOutput

func (GetDatabaseObjectsTableOutput) ToGetDatabaseObjectsTableOutputWithContext

func (o GetDatabaseObjectsTableOutput) ToGetDatabaseObjectsTableOutputWithContext(ctx context.Context) GetDatabaseObjectsTableOutput

type GetDatabaseObjectsView

type GetDatabaseObjectsView struct {
	// The name of view.
	View string `pulumi:"view"`
}

type GetDatabaseObjectsViewArgs

type GetDatabaseObjectsViewArgs struct {
	// The name of view.
	View pulumi.StringInput `pulumi:"view"`
}

func (GetDatabaseObjectsViewArgs) ElementType

func (GetDatabaseObjectsViewArgs) ElementType() reflect.Type

func (GetDatabaseObjectsViewArgs) ToGetDatabaseObjectsViewOutput

func (i GetDatabaseObjectsViewArgs) ToGetDatabaseObjectsViewOutput() GetDatabaseObjectsViewOutput

func (GetDatabaseObjectsViewArgs) ToGetDatabaseObjectsViewOutputWithContext

func (i GetDatabaseObjectsViewArgs) ToGetDatabaseObjectsViewOutputWithContext(ctx context.Context) GetDatabaseObjectsViewOutput

type GetDatabaseObjectsViewArray

type GetDatabaseObjectsViewArray []GetDatabaseObjectsViewInput

func (GetDatabaseObjectsViewArray) ElementType

func (GetDatabaseObjectsViewArray) ToGetDatabaseObjectsViewArrayOutput

func (i GetDatabaseObjectsViewArray) ToGetDatabaseObjectsViewArrayOutput() GetDatabaseObjectsViewArrayOutput

func (GetDatabaseObjectsViewArray) ToGetDatabaseObjectsViewArrayOutputWithContext

func (i GetDatabaseObjectsViewArray) ToGetDatabaseObjectsViewArrayOutputWithContext(ctx context.Context) GetDatabaseObjectsViewArrayOutput

type GetDatabaseObjectsViewArrayInput

type GetDatabaseObjectsViewArrayInput interface {
	pulumi.Input

	ToGetDatabaseObjectsViewArrayOutput() GetDatabaseObjectsViewArrayOutput
	ToGetDatabaseObjectsViewArrayOutputWithContext(context.Context) GetDatabaseObjectsViewArrayOutput
}

GetDatabaseObjectsViewArrayInput is an input type that accepts GetDatabaseObjectsViewArray and GetDatabaseObjectsViewArrayOutput values. You can construct a concrete instance of `GetDatabaseObjectsViewArrayInput` via:

GetDatabaseObjectsViewArray{ GetDatabaseObjectsViewArgs{...} }

type GetDatabaseObjectsViewArrayOutput

type GetDatabaseObjectsViewArrayOutput struct{ *pulumi.OutputState }

func (GetDatabaseObjectsViewArrayOutput) ElementType

func (GetDatabaseObjectsViewArrayOutput) Index

func (GetDatabaseObjectsViewArrayOutput) ToGetDatabaseObjectsViewArrayOutput

func (o GetDatabaseObjectsViewArrayOutput) ToGetDatabaseObjectsViewArrayOutput() GetDatabaseObjectsViewArrayOutput

func (GetDatabaseObjectsViewArrayOutput) ToGetDatabaseObjectsViewArrayOutputWithContext

func (o GetDatabaseObjectsViewArrayOutput) ToGetDatabaseObjectsViewArrayOutputWithContext(ctx context.Context) GetDatabaseObjectsViewArrayOutput

type GetDatabaseObjectsViewInput

type GetDatabaseObjectsViewInput interface {
	pulumi.Input

	ToGetDatabaseObjectsViewOutput() GetDatabaseObjectsViewOutput
	ToGetDatabaseObjectsViewOutputWithContext(context.Context) GetDatabaseObjectsViewOutput
}

GetDatabaseObjectsViewInput is an input type that accepts GetDatabaseObjectsViewArgs and GetDatabaseObjectsViewOutput values. You can construct a concrete instance of `GetDatabaseObjectsViewInput` via:

GetDatabaseObjectsViewArgs{...}

type GetDatabaseObjectsViewOutput

type GetDatabaseObjectsViewOutput struct{ *pulumi.OutputState }

func (GetDatabaseObjectsViewOutput) ElementType

func (GetDatabaseObjectsViewOutput) ToGetDatabaseObjectsViewOutput

func (o GetDatabaseObjectsViewOutput) ToGetDatabaseObjectsViewOutput() GetDatabaseObjectsViewOutput

func (GetDatabaseObjectsViewOutput) ToGetDatabaseObjectsViewOutputWithContext

func (o GetDatabaseObjectsViewOutput) ToGetDatabaseObjectsViewOutputWithContext(ctx context.Context) GetDatabaseObjectsViewOutput

func (GetDatabaseObjectsViewOutput) View

The name of view.

type GetDatabaseTablesArgs

type GetDatabaseTablesArgs struct {
	// Database name, obtained through the DescribeDatabases api.
	DbName string `pulumi:"dbName"`
	// The ID of instance.
	InstanceId string `pulumi:"instanceId"`
	// Used to save results.
	ResultOutputFile *string `pulumi:"resultOutputFile"`
	// Table name, obtained through the DescribeDatabaseObjects api.
	Table string `pulumi:"table"`
}

A collection of arguments for invoking getDatabaseTables.

type GetDatabaseTablesCol

type GetDatabaseTablesCol struct {
	// The name of column.
	Col string `pulumi:"col"`
	// Column type.
	Type string `pulumi:"type"`
}

type GetDatabaseTablesColArgs

type GetDatabaseTablesColArgs struct {
	// The name of column.
	Col pulumi.StringInput `pulumi:"col"`
	// Column type.
	Type pulumi.StringInput `pulumi:"type"`
}

func (GetDatabaseTablesColArgs) ElementType

func (GetDatabaseTablesColArgs) ElementType() reflect.Type

func (GetDatabaseTablesColArgs) ToGetDatabaseTablesColOutput

func (i GetDatabaseTablesColArgs) ToGetDatabaseTablesColOutput() GetDatabaseTablesColOutput

func (GetDatabaseTablesColArgs) ToGetDatabaseTablesColOutputWithContext

func (i GetDatabaseTablesColArgs) ToGetDatabaseTablesColOutputWithContext(ctx context.Context) GetDatabaseTablesColOutput

type GetDatabaseTablesColArray

type GetDatabaseTablesColArray []GetDatabaseTablesColInput

func (GetDatabaseTablesColArray) ElementType

func (GetDatabaseTablesColArray) ElementType() reflect.Type

func (GetDatabaseTablesColArray) ToGetDatabaseTablesColArrayOutput

func (i GetDatabaseTablesColArray) ToGetDatabaseTablesColArrayOutput() GetDatabaseTablesColArrayOutput

func (GetDatabaseTablesColArray) ToGetDatabaseTablesColArrayOutputWithContext

func (i GetDatabaseTablesColArray) ToGetDatabaseTablesColArrayOutputWithContext(ctx context.Context) GetDatabaseTablesColArrayOutput

type GetDatabaseTablesColArrayInput

type GetDatabaseTablesColArrayInput interface {
	pulumi.Input

	ToGetDatabaseTablesColArrayOutput() GetDatabaseTablesColArrayOutput
	ToGetDatabaseTablesColArrayOutputWithContext(context.Context) GetDatabaseTablesColArrayOutput
}

GetDatabaseTablesColArrayInput is an input type that accepts GetDatabaseTablesColArray and GetDatabaseTablesColArrayOutput values. You can construct a concrete instance of `GetDatabaseTablesColArrayInput` via:

GetDatabaseTablesColArray{ GetDatabaseTablesColArgs{...} }

type GetDatabaseTablesColArrayOutput

type GetDatabaseTablesColArrayOutput struct{ *pulumi.OutputState }

func (GetDatabaseTablesColArrayOutput) ElementType

func (GetDatabaseTablesColArrayOutput) Index

func (GetDatabaseTablesColArrayOutput) ToGetDatabaseTablesColArrayOutput

func (o GetDatabaseTablesColArrayOutput) ToGetDatabaseTablesColArrayOutput() GetDatabaseTablesColArrayOutput

func (GetDatabaseTablesColArrayOutput) ToGetDatabaseTablesColArrayOutputWithContext

func (o GetDatabaseTablesColArrayOutput) ToGetDatabaseTablesColArrayOutputWithContext(ctx context.Context) GetDatabaseTablesColArrayOutput

type GetDatabaseTablesColInput

type GetDatabaseTablesColInput interface {
	pulumi.Input

	ToGetDatabaseTablesColOutput() GetDatabaseTablesColOutput
	ToGetDatabaseTablesColOutputWithContext(context.Context) GetDatabaseTablesColOutput
}

GetDatabaseTablesColInput is an input type that accepts GetDatabaseTablesColArgs and GetDatabaseTablesColOutput values. You can construct a concrete instance of `GetDatabaseTablesColInput` via:

GetDatabaseTablesColArgs{...}

type GetDatabaseTablesColOutput

type GetDatabaseTablesColOutput struct{ *pulumi.OutputState }

func (GetDatabaseTablesColOutput) Col

The name of column.

func (GetDatabaseTablesColOutput) ElementType

func (GetDatabaseTablesColOutput) ElementType() reflect.Type

func (GetDatabaseTablesColOutput) ToGetDatabaseTablesColOutput

func (o GetDatabaseTablesColOutput) ToGetDatabaseTablesColOutput() GetDatabaseTablesColOutput

func (GetDatabaseTablesColOutput) ToGetDatabaseTablesColOutputWithContext

func (o GetDatabaseTablesColOutput) ToGetDatabaseTablesColOutputWithContext(ctx context.Context) GetDatabaseTablesColOutput

func (GetDatabaseTablesColOutput) Type

Column type.

type GetDatabaseTablesOutputArgs

type GetDatabaseTablesOutputArgs struct {
	// Database name, obtained through the DescribeDatabases api.
	DbName pulumi.StringInput `pulumi:"dbName"`
	// The ID of instance.
	InstanceId pulumi.StringInput `pulumi:"instanceId"`
	// Used to save results.
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
	// Table name, obtained through the DescribeDatabaseObjects api.
	Table pulumi.StringInput `pulumi:"table"`
}

A collection of arguments for invoking getDatabaseTables.

func (GetDatabaseTablesOutputArgs) ElementType

type GetDatabaseTablesResult

type GetDatabaseTablesResult struct {
	// Column information.
	Cols   []GetDatabaseTablesCol `pulumi:"cols"`
	DbName string                 `pulumi:"dbName"`
	// The provider-assigned unique ID for this managed resource.
	Id               string  `pulumi:"id"`
	InstanceId       string  `pulumi:"instanceId"`
	ResultOutputFile *string `pulumi:"resultOutputFile"`
	Table            string  `pulumi:"table"`
}

A collection of values returned by getDatabaseTables.

func GetDatabaseTables

func GetDatabaseTables(ctx *pulumi.Context, args *GetDatabaseTablesArgs, opts ...pulumi.InvokeOption) (*GetDatabaseTablesResult, error)

Use this data source to query detailed information of dcdb databaseTables

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Dcdb"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Dcdb"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Dcdb.GetDatabaseTables(ctx, &dcdb.GetDatabaseTablesArgs{
			Cols: []map[string]interface{}{
				map[string]interface{}{
					"col": "",
					"gt": []map[string]interface{}{
						nil,
						nil,
					},
					"lt": []map[string]interface{}{
						nil,
						nil,
					},
					"nil": []map[string]interface{}{
						nil,
						nil,
					},
					"type": "",
				},
			},
			DbName: "",
			Gt: []map[string]interface{}{
				nil,
				nil,
				nil,
			},
			InstanceId: "dcdbt-ow7t8lmc",
			Lt: []map[string]interface{}{
				nil,
				nil,
				nil,
			},
			Nil: []map[string]interface{}{
				nil,
				nil,
				nil,
			},
			Table: "",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetDatabaseTablesResultOutput

type GetDatabaseTablesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDatabaseTables.

func (GetDatabaseTablesResultOutput) Cols

Column information.

func (GetDatabaseTablesResultOutput) DbName

func (GetDatabaseTablesResultOutput) ElementType

func (GetDatabaseTablesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetDatabaseTablesResultOutput) InstanceId

func (GetDatabaseTablesResultOutput) ResultOutputFile

func (GetDatabaseTablesResultOutput) Table

func (GetDatabaseTablesResultOutput) ToGetDatabaseTablesResultOutput

func (o GetDatabaseTablesResultOutput) ToGetDatabaseTablesResultOutput() GetDatabaseTablesResultOutput

func (GetDatabaseTablesResultOutput) ToGetDatabaseTablesResultOutputWithContext

func (o GetDatabaseTablesResultOutput) ToGetDatabaseTablesResultOutputWithContext(ctx context.Context) GetDatabaseTablesResultOutput

type GetDatabasesArgs

type GetDatabasesArgs struct {
	// instance id.
	InstanceId string `pulumi:"instanceId"`
	// Used to save results.
	ResultOutputFile *string `pulumi:"resultOutputFile"`
}

A collection of arguments for invoking getDatabases.

type GetDatabasesList

type GetDatabasesList struct {
	// Database Name.
	DbName string `pulumi:"dbName"`
}

type GetDatabasesListArgs

type GetDatabasesListArgs struct {
	// Database Name.
	DbName pulumi.StringInput `pulumi:"dbName"`
}

func (GetDatabasesListArgs) ElementType

func (GetDatabasesListArgs) ElementType() reflect.Type

func (GetDatabasesListArgs) ToGetDatabasesListOutput

func (i GetDatabasesListArgs) ToGetDatabasesListOutput() GetDatabasesListOutput

func (GetDatabasesListArgs) ToGetDatabasesListOutputWithContext

func (i GetDatabasesListArgs) ToGetDatabasesListOutputWithContext(ctx context.Context) GetDatabasesListOutput

type GetDatabasesListArray

type GetDatabasesListArray []GetDatabasesListInput

func (GetDatabasesListArray) ElementType

func (GetDatabasesListArray) ElementType() reflect.Type

func (GetDatabasesListArray) ToGetDatabasesListArrayOutput

func (i GetDatabasesListArray) ToGetDatabasesListArrayOutput() GetDatabasesListArrayOutput

func (GetDatabasesListArray) ToGetDatabasesListArrayOutputWithContext

func (i GetDatabasesListArray) ToGetDatabasesListArrayOutputWithContext(ctx context.Context) GetDatabasesListArrayOutput

type GetDatabasesListArrayInput

type GetDatabasesListArrayInput interface {
	pulumi.Input

	ToGetDatabasesListArrayOutput() GetDatabasesListArrayOutput
	ToGetDatabasesListArrayOutputWithContext(context.Context) GetDatabasesListArrayOutput
}

GetDatabasesListArrayInput is an input type that accepts GetDatabasesListArray and GetDatabasesListArrayOutput values. You can construct a concrete instance of `GetDatabasesListArrayInput` via:

GetDatabasesListArray{ GetDatabasesListArgs{...} }

type GetDatabasesListArrayOutput

type GetDatabasesListArrayOutput struct{ *pulumi.OutputState }

func (GetDatabasesListArrayOutput) ElementType

func (GetDatabasesListArrayOutput) Index

func (GetDatabasesListArrayOutput) ToGetDatabasesListArrayOutput

func (o GetDatabasesListArrayOutput) ToGetDatabasesListArrayOutput() GetDatabasesListArrayOutput

func (GetDatabasesListArrayOutput) ToGetDatabasesListArrayOutputWithContext

func (o GetDatabasesListArrayOutput) ToGetDatabasesListArrayOutputWithContext(ctx context.Context) GetDatabasesListArrayOutput

type GetDatabasesListInput

type GetDatabasesListInput interface {
	pulumi.Input

	ToGetDatabasesListOutput() GetDatabasesListOutput
	ToGetDatabasesListOutputWithContext(context.Context) GetDatabasesListOutput
}

GetDatabasesListInput is an input type that accepts GetDatabasesListArgs and GetDatabasesListOutput values. You can construct a concrete instance of `GetDatabasesListInput` via:

GetDatabasesListArgs{...}

type GetDatabasesListOutput

type GetDatabasesListOutput struct{ *pulumi.OutputState }

func (GetDatabasesListOutput) DbName

Database Name.

func (GetDatabasesListOutput) ElementType

func (GetDatabasesListOutput) ElementType() reflect.Type

func (GetDatabasesListOutput) ToGetDatabasesListOutput

func (o GetDatabasesListOutput) ToGetDatabasesListOutput() GetDatabasesListOutput

func (GetDatabasesListOutput) ToGetDatabasesListOutputWithContext

func (o GetDatabasesListOutput) ToGetDatabasesListOutputWithContext(ctx context.Context) GetDatabasesListOutput

type GetDatabasesOutputArgs

type GetDatabasesOutputArgs struct {
	// instance id.
	InstanceId pulumi.StringInput `pulumi:"instanceId"`
	// Used to save results.
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
}

A collection of arguments for invoking getDatabases.

func (GetDatabasesOutputArgs) ElementType

func (GetDatabasesOutputArgs) ElementType() reflect.Type

type GetDatabasesResult

type GetDatabasesResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id         string `pulumi:"id"`
	InstanceId string `pulumi:"instanceId"`
	// Database information.
	Lists            []GetDatabasesList `pulumi:"lists"`
	ResultOutputFile *string            `pulumi:"resultOutputFile"`
}

A collection of values returned by getDatabases.

func GetDatabases

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

Use this data source to query detailed information of dcdb databases

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Dcdb"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Dcdb"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Dcdb.GetDatabases(ctx, &dcdb.GetDatabasesArgs{
			InstanceId: "your_dcdb_instance_id",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetDatabasesResultOutput

type GetDatabasesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDatabases.

func (GetDatabasesResultOutput) ElementType

func (GetDatabasesResultOutput) ElementType() reflect.Type

func (GetDatabasesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetDatabasesResultOutput) InstanceId

func (GetDatabasesResultOutput) Lists

Database information.

func (GetDatabasesResultOutput) ResultOutputFile

func (o GetDatabasesResultOutput) ResultOutputFile() pulumi.StringPtrOutput

func (GetDatabasesResultOutput) ToGetDatabasesResultOutput

func (o GetDatabasesResultOutput) ToGetDatabasesResultOutput() GetDatabasesResultOutput

func (GetDatabasesResultOutput) ToGetDatabasesResultOutputWithContext

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

type GetInstancesArgs

type GetInstancesArgs struct {
	// cluster excluster type.
	ExclusterType *int `pulumi:"exclusterType"`
	// instance ids.
	InstanceIds []string `pulumi:"instanceIds"`
	// search according to the cluster excluter type.
	IsFilterExcluster *bool `pulumi:"isFilterExcluster"`
	// search according to the vpc.
	IsFilterVpc *bool `pulumi:"isFilterVpc"`
	// project ids.
	ProjectIds []int `pulumi:"projectIds"`
	// Used to save results.
	ResultOutputFile *string `pulumi:"resultOutputFile"`
	// search key, support fuzzy query.
	SearchKey *string `pulumi:"searchKey"`
	// search name, support instancename, vip, all.
	SearchName *string `pulumi:"searchName"`
	// subnet id, valid when IsFilterVpc is true.
	SubnetId *string `pulumi:"subnetId"`
	// vpc id, valid when IsFilterVpc is true.
	VpcId *string `pulumi:"vpcId"`
}

A collection of arguments for invoking getInstances.

type GetInstancesList

type GetInstancesList struct {
	// app id.
	AppId int `pulumi:"appId"`
	// auto renew flag.
	AutoRenewFlag int `pulumi:"autoRenewFlag"`
	// create time.
	CreateTime string `pulumi:"createTime"`
	// db engine.
	DbEngine string `pulumi:"dbEngine"`
	// db engine version.
	DbVersion string `pulumi:"dbVersion"`
	// instance id.
	InstanceId string `pulumi:"instanceId"`
	// instance name.
	InstanceName string `pulumi:"instanceName"`
	// instance type.
	InstanceType int `pulumi:"instanceType"`
	// aduit support, 0:support, 1:unsupport.
	IsAuditSupported int `pulumi:"isAuditSupported"`
	// tmp instance mark.
	IsTmp int `pulumi:"isTmp"`
	// isolated time.
	IsolatedTimestamp string `pulumi:"isolatedTimestamp"`
	// memory.
	Memory int `pulumi:"memory"`
	// node count.
	NodeCount int `pulumi:"nodeCount"`
	// pay mode.
	Paymode string `pulumi:"paymode"`
	// expired time.
	PeriodEndTime string `pulumi:"periodEndTime"`
	// project id.
	ProjectId int `pulumi:"projectId"`
	// region.
	Region string `pulumi:"region"`
	// resource tags.
	ResourceTags []GetInstancesListResourceTag `pulumi:"resourceTags"`
	// shard count.
	ShardCount int `pulumi:"shardCount"`
	// shard detail.
	ShardDetails []GetInstancesListShardDetail `pulumi:"shardDetails"`
	// status.
	Status int `pulumi:"status"`
	// status description.
	StatusDesc string `pulumi:"statusDesc"`
	// memory, the unit is GB.
	Storage int `pulumi:"storage"`
	// subnet id, valid when IsFilterVpc is true.
	SubnetId int `pulumi:"subnetId"`
	// account uin.
	Uin string `pulumi:"uin"`
	// update time.
	UpdateTime string `pulumi:"updateTime"`
	// vip.
	Vip string `pulumi:"vip"`
	// vpc id, valid when IsFilterVpc is true.
	VpcId int `pulumi:"vpcId"`
	// vport.
	Vport int `pulumi:"vport"`
	// wan domain.
	WanDomain string `pulumi:"wanDomain"`
	// wan port.
	WanPort int `pulumi:"wanPort"`
	// wan status, 0:nonactivated, 1:activated, 2:closed, 3:activating.
	WanStatus int `pulumi:"wanStatus"`
	// wan vip.
	WanVip string `pulumi:"wanVip"`
}

type GetInstancesListArgs

type GetInstancesListArgs struct {
	// app id.
	AppId pulumi.IntInput `pulumi:"appId"`
	// auto renew flag.
	AutoRenewFlag pulumi.IntInput `pulumi:"autoRenewFlag"`
	// create time.
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// db engine.
	DbEngine pulumi.StringInput `pulumi:"dbEngine"`
	// db engine version.
	DbVersion pulumi.StringInput `pulumi:"dbVersion"`
	// instance id.
	InstanceId pulumi.StringInput `pulumi:"instanceId"`
	// instance name.
	InstanceName pulumi.StringInput `pulumi:"instanceName"`
	// instance type.
	InstanceType pulumi.IntInput `pulumi:"instanceType"`
	// aduit support, 0:support, 1:unsupport.
	IsAuditSupported pulumi.IntInput `pulumi:"isAuditSupported"`
	// tmp instance mark.
	IsTmp pulumi.IntInput `pulumi:"isTmp"`
	// isolated time.
	IsolatedTimestamp pulumi.StringInput `pulumi:"isolatedTimestamp"`
	// memory.
	Memory pulumi.IntInput `pulumi:"memory"`
	// node count.
	NodeCount pulumi.IntInput `pulumi:"nodeCount"`
	// pay mode.
	Paymode pulumi.StringInput `pulumi:"paymode"`
	// expired time.
	PeriodEndTime pulumi.StringInput `pulumi:"periodEndTime"`
	// project id.
	ProjectId pulumi.IntInput `pulumi:"projectId"`
	// region.
	Region pulumi.StringInput `pulumi:"region"`
	// resource tags.
	ResourceTags GetInstancesListResourceTagArrayInput `pulumi:"resourceTags"`
	// shard count.
	ShardCount pulumi.IntInput `pulumi:"shardCount"`
	// shard detail.
	ShardDetails GetInstancesListShardDetailArrayInput `pulumi:"shardDetails"`
	// status.
	Status pulumi.IntInput `pulumi:"status"`
	// status description.
	StatusDesc pulumi.StringInput `pulumi:"statusDesc"`
	// memory, the unit is GB.
	Storage pulumi.IntInput `pulumi:"storage"`
	// subnet id, valid when IsFilterVpc is true.
	SubnetId pulumi.IntInput `pulumi:"subnetId"`
	// account uin.
	Uin pulumi.StringInput `pulumi:"uin"`
	// update time.
	UpdateTime pulumi.StringInput `pulumi:"updateTime"`
	// vip.
	Vip pulumi.StringInput `pulumi:"vip"`
	// vpc id, valid when IsFilterVpc is true.
	VpcId pulumi.IntInput `pulumi:"vpcId"`
	// vport.
	Vport pulumi.IntInput `pulumi:"vport"`
	// wan domain.
	WanDomain pulumi.StringInput `pulumi:"wanDomain"`
	// wan port.
	WanPort pulumi.IntInput `pulumi:"wanPort"`
	// wan status, 0:nonactivated, 1:activated, 2:closed, 3:activating.
	WanStatus pulumi.IntInput `pulumi:"wanStatus"`
	// wan vip.
	WanVip pulumi.StringInput `pulumi:"wanVip"`
}

func (GetInstancesListArgs) ElementType

func (GetInstancesListArgs) ElementType() reflect.Type

func (GetInstancesListArgs) ToGetInstancesListOutput

func (i GetInstancesListArgs) ToGetInstancesListOutput() GetInstancesListOutput

func (GetInstancesListArgs) ToGetInstancesListOutputWithContext

func (i GetInstancesListArgs) ToGetInstancesListOutputWithContext(ctx context.Context) GetInstancesListOutput

type GetInstancesListArray

type GetInstancesListArray []GetInstancesListInput

func (GetInstancesListArray) ElementType

func (GetInstancesListArray) ElementType() reflect.Type

func (GetInstancesListArray) ToGetInstancesListArrayOutput

func (i GetInstancesListArray) ToGetInstancesListArrayOutput() GetInstancesListArrayOutput

func (GetInstancesListArray) ToGetInstancesListArrayOutputWithContext

func (i GetInstancesListArray) ToGetInstancesListArrayOutputWithContext(ctx context.Context) GetInstancesListArrayOutput

type GetInstancesListArrayInput

type GetInstancesListArrayInput interface {
	pulumi.Input

	ToGetInstancesListArrayOutput() GetInstancesListArrayOutput
	ToGetInstancesListArrayOutputWithContext(context.Context) GetInstancesListArrayOutput
}

GetInstancesListArrayInput is an input type that accepts GetInstancesListArray and GetInstancesListArrayOutput values. You can construct a concrete instance of `GetInstancesListArrayInput` via:

GetInstancesListArray{ GetInstancesListArgs{...} }

type GetInstancesListArrayOutput

type GetInstancesListArrayOutput struct{ *pulumi.OutputState }

func (GetInstancesListArrayOutput) ElementType

func (GetInstancesListArrayOutput) Index

func (GetInstancesListArrayOutput) ToGetInstancesListArrayOutput

func (o GetInstancesListArrayOutput) ToGetInstancesListArrayOutput() GetInstancesListArrayOutput

func (GetInstancesListArrayOutput) ToGetInstancesListArrayOutputWithContext

func (o GetInstancesListArrayOutput) ToGetInstancesListArrayOutputWithContext(ctx context.Context) GetInstancesListArrayOutput

type GetInstancesListInput

type GetInstancesListInput interface {
	pulumi.Input

	ToGetInstancesListOutput() GetInstancesListOutput
	ToGetInstancesListOutputWithContext(context.Context) GetInstancesListOutput
}

GetInstancesListInput is an input type that accepts GetInstancesListArgs and GetInstancesListOutput values. You can construct a concrete instance of `GetInstancesListInput` via:

GetInstancesListArgs{...}

type GetInstancesListOutput

type GetInstancesListOutput struct{ *pulumi.OutputState }

func (GetInstancesListOutput) AppId

app id.

func (GetInstancesListOutput) AutoRenewFlag

func (o GetInstancesListOutput) AutoRenewFlag() pulumi.IntOutput

auto renew flag.

func (GetInstancesListOutput) CreateTime

create time.

func (GetInstancesListOutput) DbEngine

db engine.

func (GetInstancesListOutput) DbVersion

db engine version.

func (GetInstancesListOutput) ElementType

func (GetInstancesListOutput) ElementType() reflect.Type

func (GetInstancesListOutput) InstanceId

instance id.

func (GetInstancesListOutput) InstanceName

func (o GetInstancesListOutput) InstanceName() pulumi.StringOutput

instance name.

func (GetInstancesListOutput) InstanceType

func (o GetInstancesListOutput) InstanceType() pulumi.IntOutput

instance type.

func (GetInstancesListOutput) IsAuditSupported

func (o GetInstancesListOutput) IsAuditSupported() pulumi.IntOutput

aduit support, 0:support, 1:unsupport.

func (GetInstancesListOutput) IsTmp

tmp instance mark.

func (GetInstancesListOutput) IsolatedTimestamp

func (o GetInstancesListOutput) IsolatedTimestamp() pulumi.StringOutput

isolated time.

func (GetInstancesListOutput) Memory

memory.

func (GetInstancesListOutput) NodeCount

func (o GetInstancesListOutput) NodeCount() pulumi.IntOutput

node count.

func (GetInstancesListOutput) Paymode

pay mode.

func (GetInstancesListOutput) PeriodEndTime

func (o GetInstancesListOutput) PeriodEndTime() pulumi.StringOutput

expired time.

func (GetInstancesListOutput) ProjectId

func (o GetInstancesListOutput) ProjectId() pulumi.IntOutput

project id.

func (GetInstancesListOutput) Region

region.

func (GetInstancesListOutput) ResourceTags

resource tags.

func (GetInstancesListOutput) ShardCount

func (o GetInstancesListOutput) ShardCount() pulumi.IntOutput

shard count.

func (GetInstancesListOutput) ShardDetails

shard detail.

func (GetInstancesListOutput) Status

status.

func (GetInstancesListOutput) StatusDesc

status description.

func (GetInstancesListOutput) Storage

memory, the unit is GB.

func (GetInstancesListOutput) SubnetId

subnet id, valid when IsFilterVpc is true.

func (GetInstancesListOutput) ToGetInstancesListOutput

func (o GetInstancesListOutput) ToGetInstancesListOutput() GetInstancesListOutput

func (GetInstancesListOutput) ToGetInstancesListOutputWithContext

func (o GetInstancesListOutput) ToGetInstancesListOutputWithContext(ctx context.Context) GetInstancesListOutput

func (GetInstancesListOutput) Uin

account uin.

func (GetInstancesListOutput) UpdateTime

update time.

func (GetInstancesListOutput) Vip

vip.

func (GetInstancesListOutput) VpcId

vpc id, valid when IsFilterVpc is true.

func (GetInstancesListOutput) Vport

vport.

func (GetInstancesListOutput) WanDomain

wan domain.

func (GetInstancesListOutput) WanPort

wan port.

func (GetInstancesListOutput) WanStatus

func (o GetInstancesListOutput) WanStatus() pulumi.IntOutput

wan status, 0:nonactivated, 1:activated, 2:closed, 3:activating.

func (GetInstancesListOutput) WanVip

wan vip.

type GetInstancesListResourceTag

type GetInstancesListResourceTag struct {
	// tag key.
	TagKey string `pulumi:"tagKey"`
	// tag value.
	TagValue string `pulumi:"tagValue"`
}

type GetInstancesListResourceTagArgs

type GetInstancesListResourceTagArgs struct {
	// tag key.
	TagKey pulumi.StringInput `pulumi:"tagKey"`
	// tag value.
	TagValue pulumi.StringInput `pulumi:"tagValue"`
}

func (GetInstancesListResourceTagArgs) ElementType

func (GetInstancesListResourceTagArgs) ToGetInstancesListResourceTagOutput

func (i GetInstancesListResourceTagArgs) ToGetInstancesListResourceTagOutput() GetInstancesListResourceTagOutput

func (GetInstancesListResourceTagArgs) ToGetInstancesListResourceTagOutputWithContext

func (i GetInstancesListResourceTagArgs) ToGetInstancesListResourceTagOutputWithContext(ctx context.Context) GetInstancesListResourceTagOutput

type GetInstancesListResourceTagArray

type GetInstancesListResourceTagArray []GetInstancesListResourceTagInput

func (GetInstancesListResourceTagArray) ElementType

func (GetInstancesListResourceTagArray) ToGetInstancesListResourceTagArrayOutput

func (i GetInstancesListResourceTagArray) ToGetInstancesListResourceTagArrayOutput() GetInstancesListResourceTagArrayOutput

func (GetInstancesListResourceTagArray) ToGetInstancesListResourceTagArrayOutputWithContext

func (i GetInstancesListResourceTagArray) ToGetInstancesListResourceTagArrayOutputWithContext(ctx context.Context) GetInstancesListResourceTagArrayOutput

type GetInstancesListResourceTagArrayInput

type GetInstancesListResourceTagArrayInput interface {
	pulumi.Input

	ToGetInstancesListResourceTagArrayOutput() GetInstancesListResourceTagArrayOutput
	ToGetInstancesListResourceTagArrayOutputWithContext(context.Context) GetInstancesListResourceTagArrayOutput
}

GetInstancesListResourceTagArrayInput is an input type that accepts GetInstancesListResourceTagArray and GetInstancesListResourceTagArrayOutput values. You can construct a concrete instance of `GetInstancesListResourceTagArrayInput` via:

GetInstancesListResourceTagArray{ GetInstancesListResourceTagArgs{...} }

type GetInstancesListResourceTagArrayOutput

type GetInstancesListResourceTagArrayOutput struct{ *pulumi.OutputState }

func (GetInstancesListResourceTagArrayOutput) ElementType

func (GetInstancesListResourceTagArrayOutput) Index

func (GetInstancesListResourceTagArrayOutput) ToGetInstancesListResourceTagArrayOutput

func (o GetInstancesListResourceTagArrayOutput) ToGetInstancesListResourceTagArrayOutput() GetInstancesListResourceTagArrayOutput

func (GetInstancesListResourceTagArrayOutput) ToGetInstancesListResourceTagArrayOutputWithContext

func (o GetInstancesListResourceTagArrayOutput) ToGetInstancesListResourceTagArrayOutputWithContext(ctx context.Context) GetInstancesListResourceTagArrayOutput

type GetInstancesListResourceTagInput

type GetInstancesListResourceTagInput interface {
	pulumi.Input

	ToGetInstancesListResourceTagOutput() GetInstancesListResourceTagOutput
	ToGetInstancesListResourceTagOutputWithContext(context.Context) GetInstancesListResourceTagOutput
}

GetInstancesListResourceTagInput is an input type that accepts GetInstancesListResourceTagArgs and GetInstancesListResourceTagOutput values. You can construct a concrete instance of `GetInstancesListResourceTagInput` via:

GetInstancesListResourceTagArgs{...}

type GetInstancesListResourceTagOutput

type GetInstancesListResourceTagOutput struct{ *pulumi.OutputState }

func (GetInstancesListResourceTagOutput) ElementType

func (GetInstancesListResourceTagOutput) TagKey

tag key.

func (GetInstancesListResourceTagOutput) TagValue

tag value.

func (GetInstancesListResourceTagOutput) ToGetInstancesListResourceTagOutput

func (o GetInstancesListResourceTagOutput) ToGetInstancesListResourceTagOutput() GetInstancesListResourceTagOutput

func (GetInstancesListResourceTagOutput) ToGetInstancesListResourceTagOutputWithContext

func (o GetInstancesListResourceTagOutput) ToGetInstancesListResourceTagOutputWithContext(ctx context.Context) GetInstancesListResourceTagOutput

type GetInstancesListShardDetail

type GetInstancesListShardDetail struct {
	// cpu cores.
	Cpu int `pulumi:"cpu"`
	// shard create time.
	Createtime string `pulumi:"createtime"`
	// memory.
	Memory int `pulumi:"memory"`
	// node count.
	NodeCount int `pulumi:"nodeCount"`
	// shard id.
	ShardId int `pulumi:"shardId"`
	// shard instance id.
	ShardInstanceId string `pulumi:"shardInstanceId"`
	// shard serial id.
	ShardSerialId string `pulumi:"shardSerialId"`
	// status.
	Status int `pulumi:"status"`
	// memory, the unit is GB.
	Storage int `pulumi:"storage"`
}

type GetInstancesListShardDetailArgs

type GetInstancesListShardDetailArgs struct {
	// cpu cores.
	Cpu pulumi.IntInput `pulumi:"cpu"`
	// shard create time.
	Createtime pulumi.StringInput `pulumi:"createtime"`
	// memory.
	Memory pulumi.IntInput `pulumi:"memory"`
	// node count.
	NodeCount pulumi.IntInput `pulumi:"nodeCount"`
	// shard id.
	ShardId pulumi.IntInput `pulumi:"shardId"`
	// shard instance id.
	ShardInstanceId pulumi.StringInput `pulumi:"shardInstanceId"`
	// shard serial id.
	ShardSerialId pulumi.StringInput `pulumi:"shardSerialId"`
	// status.
	Status pulumi.IntInput `pulumi:"status"`
	// memory, the unit is GB.
	Storage pulumi.IntInput `pulumi:"storage"`
}

func (GetInstancesListShardDetailArgs) ElementType

func (GetInstancesListShardDetailArgs) ToGetInstancesListShardDetailOutput

func (i GetInstancesListShardDetailArgs) ToGetInstancesListShardDetailOutput() GetInstancesListShardDetailOutput

func (GetInstancesListShardDetailArgs) ToGetInstancesListShardDetailOutputWithContext

func (i GetInstancesListShardDetailArgs) ToGetInstancesListShardDetailOutputWithContext(ctx context.Context) GetInstancesListShardDetailOutput

type GetInstancesListShardDetailArray

type GetInstancesListShardDetailArray []GetInstancesListShardDetailInput

func (GetInstancesListShardDetailArray) ElementType

func (GetInstancesListShardDetailArray) ToGetInstancesListShardDetailArrayOutput

func (i GetInstancesListShardDetailArray) ToGetInstancesListShardDetailArrayOutput() GetInstancesListShardDetailArrayOutput

func (GetInstancesListShardDetailArray) ToGetInstancesListShardDetailArrayOutputWithContext

func (i GetInstancesListShardDetailArray) ToGetInstancesListShardDetailArrayOutputWithContext(ctx context.Context) GetInstancesListShardDetailArrayOutput

type GetInstancesListShardDetailArrayInput

type GetInstancesListShardDetailArrayInput interface {
	pulumi.Input

	ToGetInstancesListShardDetailArrayOutput() GetInstancesListShardDetailArrayOutput
	ToGetInstancesListShardDetailArrayOutputWithContext(context.Context) GetInstancesListShardDetailArrayOutput
}

GetInstancesListShardDetailArrayInput is an input type that accepts GetInstancesListShardDetailArray and GetInstancesListShardDetailArrayOutput values. You can construct a concrete instance of `GetInstancesListShardDetailArrayInput` via:

GetInstancesListShardDetailArray{ GetInstancesListShardDetailArgs{...} }

type GetInstancesListShardDetailArrayOutput

type GetInstancesListShardDetailArrayOutput struct{ *pulumi.OutputState }

func (GetInstancesListShardDetailArrayOutput) ElementType

func (GetInstancesListShardDetailArrayOutput) Index

func (GetInstancesListShardDetailArrayOutput) ToGetInstancesListShardDetailArrayOutput

func (o GetInstancesListShardDetailArrayOutput) ToGetInstancesListShardDetailArrayOutput() GetInstancesListShardDetailArrayOutput

func (GetInstancesListShardDetailArrayOutput) ToGetInstancesListShardDetailArrayOutputWithContext

func (o GetInstancesListShardDetailArrayOutput) ToGetInstancesListShardDetailArrayOutputWithContext(ctx context.Context) GetInstancesListShardDetailArrayOutput

type GetInstancesListShardDetailInput

type GetInstancesListShardDetailInput interface {
	pulumi.Input

	ToGetInstancesListShardDetailOutput() GetInstancesListShardDetailOutput
	ToGetInstancesListShardDetailOutputWithContext(context.Context) GetInstancesListShardDetailOutput
}

GetInstancesListShardDetailInput is an input type that accepts GetInstancesListShardDetailArgs and GetInstancesListShardDetailOutput values. You can construct a concrete instance of `GetInstancesListShardDetailInput` via:

GetInstancesListShardDetailArgs{...}

type GetInstancesListShardDetailOutput

type GetInstancesListShardDetailOutput struct{ *pulumi.OutputState }

func (GetInstancesListShardDetailOutput) Cpu

cpu cores.

func (GetInstancesListShardDetailOutput) Createtime

shard create time.

func (GetInstancesListShardDetailOutput) ElementType

func (GetInstancesListShardDetailOutput) Memory

memory.

func (GetInstancesListShardDetailOutput) NodeCount

node count.

func (GetInstancesListShardDetailOutput) ShardId

shard id.

func (GetInstancesListShardDetailOutput) ShardInstanceId

shard instance id.

func (GetInstancesListShardDetailOutput) ShardSerialId

shard serial id.

func (GetInstancesListShardDetailOutput) Status

status.

func (GetInstancesListShardDetailOutput) Storage

memory, the unit is GB.

func (GetInstancesListShardDetailOutput) ToGetInstancesListShardDetailOutput

func (o GetInstancesListShardDetailOutput) ToGetInstancesListShardDetailOutput() GetInstancesListShardDetailOutput

func (GetInstancesListShardDetailOutput) ToGetInstancesListShardDetailOutputWithContext

func (o GetInstancesListShardDetailOutput) ToGetInstancesListShardDetailOutputWithContext(ctx context.Context) GetInstancesListShardDetailOutput

type GetInstancesOutputArgs

type GetInstancesOutputArgs struct {
	// cluster excluster type.
	ExclusterType pulumi.IntPtrInput `pulumi:"exclusterType"`
	// instance ids.
	InstanceIds pulumi.StringArrayInput `pulumi:"instanceIds"`
	// search according to the cluster excluter type.
	IsFilterExcluster pulumi.BoolPtrInput `pulumi:"isFilterExcluster"`
	// search according to the vpc.
	IsFilterVpc pulumi.BoolPtrInput `pulumi:"isFilterVpc"`
	// project ids.
	ProjectIds pulumi.IntArrayInput `pulumi:"projectIds"`
	// Used to save results.
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
	// search key, support fuzzy query.
	SearchKey pulumi.StringPtrInput `pulumi:"searchKey"`
	// search name, support instancename, vip, all.
	SearchName pulumi.StringPtrInput `pulumi:"searchName"`
	// subnet id, valid when IsFilterVpc is true.
	SubnetId pulumi.StringPtrInput `pulumi:"subnetId"`
	// vpc id, valid when IsFilterVpc is true.
	VpcId pulumi.StringPtrInput `pulumi:"vpcId"`
}

A collection of arguments for invoking getInstances.

func (GetInstancesOutputArgs) ElementType

func (GetInstancesOutputArgs) ElementType() reflect.Type

type GetInstancesResult

type GetInstancesResult struct {
	ExclusterType *int `pulumi:"exclusterType"`
	// The provider-assigned unique ID for this managed resource.
	Id                string   `pulumi:"id"`
	InstanceIds       []string `pulumi:"instanceIds"`
	IsFilterExcluster *bool    `pulumi:"isFilterExcluster"`
	IsFilterVpc       *bool    `pulumi:"isFilterVpc"`
	// instance list.
	Lists            []GetInstancesList `pulumi:"lists"`
	ProjectIds       []int              `pulumi:"projectIds"`
	ResultOutputFile *string            `pulumi:"resultOutputFile"`
	SearchKey        *string            `pulumi:"searchKey"`
	SearchName       *string            `pulumi:"searchName"`
	// subnet id.
	SubnetId *string `pulumi:"subnetId"`
	// vpc id.
	VpcId string `pulumi:"vpcId"`
}

A collection of values returned by getInstances.

func GetInstances

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

Use this data source to query detailed information of dcdb instances

type GetInstancesResultOutput

type GetInstancesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getInstances.

func (GetInstancesResultOutput) ElementType

func (GetInstancesResultOutput) ElementType() reflect.Type

func (GetInstancesResultOutput) ExclusterType

func (o GetInstancesResultOutput) ExclusterType() pulumi.IntPtrOutput

func (GetInstancesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetInstancesResultOutput) InstanceIds

func (GetInstancesResultOutput) IsFilterExcluster

func (o GetInstancesResultOutput) IsFilterExcluster() pulumi.BoolPtrOutput

func (GetInstancesResultOutput) IsFilterVpc

func (GetInstancesResultOutput) Lists

instance list.

func (GetInstancesResultOutput) ProjectIds

func (GetInstancesResultOutput) ResultOutputFile

func (o GetInstancesResultOutput) ResultOutputFile() pulumi.StringPtrOutput

func (GetInstancesResultOutput) SearchKey

func (GetInstancesResultOutput) SearchName

func (GetInstancesResultOutput) SubnetId

subnet id.

func (GetInstancesResultOutput) ToGetInstancesResultOutput

func (o GetInstancesResultOutput) ToGetInstancesResultOutput() GetInstancesResultOutput

func (GetInstancesResultOutput) ToGetInstancesResultOutputWithContext

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

func (GetInstancesResultOutput) VpcId

vpc id.

type GetParametersArgs

type GetParametersArgs struct {
	// instance id.
	InstanceId string `pulumi:"instanceId"`
	// Used to save results.
	ResultOutputFile *string `pulumi:"resultOutputFile"`
}

A collection of arguments for invoking getParameters.

type GetParametersList

type GetParametersList struct {
	// params constraint.
	Constraints []GetParametersListConstraint `pulumi:"constraints"`
	// default value.
	Default string `pulumi:"default"`
	// have set value.
	HaveSetValue bool `pulumi:"haveSetValue"`
	// need restart.
	NeedRestart bool `pulumi:"needRestart"`
	// parameter name.
	Param string `pulumi:"param"`
	// parameter value.
	Value string `pulumi:"value"`
}

type GetParametersListArgs

type GetParametersListArgs struct {
	// params constraint.
	Constraints GetParametersListConstraintArrayInput `pulumi:"constraints"`
	// default value.
	Default pulumi.StringInput `pulumi:"default"`
	// have set value.
	HaveSetValue pulumi.BoolInput `pulumi:"haveSetValue"`
	// need restart.
	NeedRestart pulumi.BoolInput `pulumi:"needRestart"`
	// parameter name.
	Param pulumi.StringInput `pulumi:"param"`
	// parameter value.
	Value pulumi.StringInput `pulumi:"value"`
}

func (GetParametersListArgs) ElementType

func (GetParametersListArgs) ElementType() reflect.Type

func (GetParametersListArgs) ToGetParametersListOutput

func (i GetParametersListArgs) ToGetParametersListOutput() GetParametersListOutput

func (GetParametersListArgs) ToGetParametersListOutputWithContext

func (i GetParametersListArgs) ToGetParametersListOutputWithContext(ctx context.Context) GetParametersListOutput

type GetParametersListArray

type GetParametersListArray []GetParametersListInput

func (GetParametersListArray) ElementType

func (GetParametersListArray) ElementType() reflect.Type

func (GetParametersListArray) ToGetParametersListArrayOutput

func (i GetParametersListArray) ToGetParametersListArrayOutput() GetParametersListArrayOutput

func (GetParametersListArray) ToGetParametersListArrayOutputWithContext

func (i GetParametersListArray) ToGetParametersListArrayOutputWithContext(ctx context.Context) GetParametersListArrayOutput

type GetParametersListArrayInput

type GetParametersListArrayInput interface {
	pulumi.Input

	ToGetParametersListArrayOutput() GetParametersListArrayOutput
	ToGetParametersListArrayOutputWithContext(context.Context) GetParametersListArrayOutput
}

GetParametersListArrayInput is an input type that accepts GetParametersListArray and GetParametersListArrayOutput values. You can construct a concrete instance of `GetParametersListArrayInput` via:

GetParametersListArray{ GetParametersListArgs{...} }

type GetParametersListArrayOutput

type GetParametersListArrayOutput struct{ *pulumi.OutputState }

func (GetParametersListArrayOutput) ElementType

func (GetParametersListArrayOutput) Index

func (GetParametersListArrayOutput) ToGetParametersListArrayOutput

func (o GetParametersListArrayOutput) ToGetParametersListArrayOutput() GetParametersListArrayOutput

func (GetParametersListArrayOutput) ToGetParametersListArrayOutputWithContext

func (o GetParametersListArrayOutput) ToGetParametersListArrayOutputWithContext(ctx context.Context) GetParametersListArrayOutput

type GetParametersListConstraint

type GetParametersListConstraint struct {
	// a list of optional values of type num.
	Enum string `pulumi:"enum"`
	// range constraint.
	Ranges []GetParametersListConstraintRange `pulumi:"ranges"`
	// constraint type is string.
	String string `pulumi:"string"`
	// type.
	Type string `pulumi:"type"`
}

type GetParametersListConstraintArgs

type GetParametersListConstraintArgs struct {
	// a list of optional values of type num.
	Enum pulumi.StringInput `pulumi:"enum"`
	// range constraint.
	Ranges GetParametersListConstraintRangeArrayInput `pulumi:"ranges"`
	// constraint type is string.
	String pulumi.StringInput `pulumi:"string"`
	// type.
	Type pulumi.StringInput `pulumi:"type"`
}

func (GetParametersListConstraintArgs) ElementType

func (GetParametersListConstraintArgs) ToGetParametersListConstraintOutput

func (i GetParametersListConstraintArgs) ToGetParametersListConstraintOutput() GetParametersListConstraintOutput

func (GetParametersListConstraintArgs) ToGetParametersListConstraintOutputWithContext

func (i GetParametersListConstraintArgs) ToGetParametersListConstraintOutputWithContext(ctx context.Context) GetParametersListConstraintOutput

type GetParametersListConstraintArray

type GetParametersListConstraintArray []GetParametersListConstraintInput

func (GetParametersListConstraintArray) ElementType

func (GetParametersListConstraintArray) ToGetParametersListConstraintArrayOutput

func (i GetParametersListConstraintArray) ToGetParametersListConstraintArrayOutput() GetParametersListConstraintArrayOutput

func (GetParametersListConstraintArray) ToGetParametersListConstraintArrayOutputWithContext

func (i GetParametersListConstraintArray) ToGetParametersListConstraintArrayOutputWithContext(ctx context.Context) GetParametersListConstraintArrayOutput

type GetParametersListConstraintArrayInput

type GetParametersListConstraintArrayInput interface {
	pulumi.Input

	ToGetParametersListConstraintArrayOutput() GetParametersListConstraintArrayOutput
	ToGetParametersListConstraintArrayOutputWithContext(context.Context) GetParametersListConstraintArrayOutput
}

GetParametersListConstraintArrayInput is an input type that accepts GetParametersListConstraintArray and GetParametersListConstraintArrayOutput values. You can construct a concrete instance of `GetParametersListConstraintArrayInput` via:

GetParametersListConstraintArray{ GetParametersListConstraintArgs{...} }

type GetParametersListConstraintArrayOutput

type GetParametersListConstraintArrayOutput struct{ *pulumi.OutputState }

func (GetParametersListConstraintArrayOutput) ElementType

func (GetParametersListConstraintArrayOutput) Index

func (GetParametersListConstraintArrayOutput) ToGetParametersListConstraintArrayOutput

func (o GetParametersListConstraintArrayOutput) ToGetParametersListConstraintArrayOutput() GetParametersListConstraintArrayOutput

func (GetParametersListConstraintArrayOutput) ToGetParametersListConstraintArrayOutputWithContext

func (o GetParametersListConstraintArrayOutput) ToGetParametersListConstraintArrayOutputWithContext(ctx context.Context) GetParametersListConstraintArrayOutput

type GetParametersListConstraintInput

type GetParametersListConstraintInput interface {
	pulumi.Input

	ToGetParametersListConstraintOutput() GetParametersListConstraintOutput
	ToGetParametersListConstraintOutputWithContext(context.Context) GetParametersListConstraintOutput
}

GetParametersListConstraintInput is an input type that accepts GetParametersListConstraintArgs and GetParametersListConstraintOutput values. You can construct a concrete instance of `GetParametersListConstraintInput` via:

GetParametersListConstraintArgs{...}

type GetParametersListConstraintOutput

type GetParametersListConstraintOutput struct{ *pulumi.OutputState }

func (GetParametersListConstraintOutput) ElementType

func (GetParametersListConstraintOutput) Enum

a list of optional values of type num.

func (GetParametersListConstraintOutput) Ranges

range constraint.

func (GetParametersListConstraintOutput) String

constraint type is string.

func (GetParametersListConstraintOutput) ToGetParametersListConstraintOutput

func (o GetParametersListConstraintOutput) ToGetParametersListConstraintOutput() GetParametersListConstraintOutput

func (GetParametersListConstraintOutput) ToGetParametersListConstraintOutputWithContext

func (o GetParametersListConstraintOutput) ToGetParametersListConstraintOutputWithContext(ctx context.Context) GetParametersListConstraintOutput

func (GetParametersListConstraintOutput) Type

type.

type GetParametersListConstraintRange

type GetParametersListConstraintRange struct {
	// max value.
	Max string `pulumi:"max"`
	// min value.
	Min string `pulumi:"min"`
}

type GetParametersListConstraintRangeArgs

type GetParametersListConstraintRangeArgs struct {
	// max value.
	Max pulumi.StringInput `pulumi:"max"`
	// min value.
	Min pulumi.StringInput `pulumi:"min"`
}

func (GetParametersListConstraintRangeArgs) ElementType

func (GetParametersListConstraintRangeArgs) ToGetParametersListConstraintRangeOutput

func (i GetParametersListConstraintRangeArgs) ToGetParametersListConstraintRangeOutput() GetParametersListConstraintRangeOutput

func (GetParametersListConstraintRangeArgs) ToGetParametersListConstraintRangeOutputWithContext

func (i GetParametersListConstraintRangeArgs) ToGetParametersListConstraintRangeOutputWithContext(ctx context.Context) GetParametersListConstraintRangeOutput

type GetParametersListConstraintRangeArray

type GetParametersListConstraintRangeArray []GetParametersListConstraintRangeInput

func (GetParametersListConstraintRangeArray) ElementType

func (GetParametersListConstraintRangeArray) ToGetParametersListConstraintRangeArrayOutput

func (i GetParametersListConstraintRangeArray) ToGetParametersListConstraintRangeArrayOutput() GetParametersListConstraintRangeArrayOutput

func (GetParametersListConstraintRangeArray) ToGetParametersListConstraintRangeArrayOutputWithContext

func (i GetParametersListConstraintRangeArray) ToGetParametersListConstraintRangeArrayOutputWithContext(ctx context.Context) GetParametersListConstraintRangeArrayOutput

type GetParametersListConstraintRangeArrayInput

type GetParametersListConstraintRangeArrayInput interface {
	pulumi.Input

	ToGetParametersListConstraintRangeArrayOutput() GetParametersListConstraintRangeArrayOutput
	ToGetParametersListConstraintRangeArrayOutputWithContext(context.Context) GetParametersListConstraintRangeArrayOutput
}

GetParametersListConstraintRangeArrayInput is an input type that accepts GetParametersListConstraintRangeArray and GetParametersListConstraintRangeArrayOutput values. You can construct a concrete instance of `GetParametersListConstraintRangeArrayInput` via:

GetParametersListConstraintRangeArray{ GetParametersListConstraintRangeArgs{...} }

type GetParametersListConstraintRangeArrayOutput

type GetParametersListConstraintRangeArrayOutput struct{ *pulumi.OutputState }

func (GetParametersListConstraintRangeArrayOutput) ElementType

func (GetParametersListConstraintRangeArrayOutput) Index

func (GetParametersListConstraintRangeArrayOutput) ToGetParametersListConstraintRangeArrayOutput

func (o GetParametersListConstraintRangeArrayOutput) ToGetParametersListConstraintRangeArrayOutput() GetParametersListConstraintRangeArrayOutput

func (GetParametersListConstraintRangeArrayOutput) ToGetParametersListConstraintRangeArrayOutputWithContext

func (o GetParametersListConstraintRangeArrayOutput) ToGetParametersListConstraintRangeArrayOutputWithContext(ctx context.Context) GetParametersListConstraintRangeArrayOutput

type GetParametersListConstraintRangeInput

type GetParametersListConstraintRangeInput interface {
	pulumi.Input

	ToGetParametersListConstraintRangeOutput() GetParametersListConstraintRangeOutput
	ToGetParametersListConstraintRangeOutputWithContext(context.Context) GetParametersListConstraintRangeOutput
}

GetParametersListConstraintRangeInput is an input type that accepts GetParametersListConstraintRangeArgs and GetParametersListConstraintRangeOutput values. You can construct a concrete instance of `GetParametersListConstraintRangeInput` via:

GetParametersListConstraintRangeArgs{...}

type GetParametersListConstraintRangeOutput

type GetParametersListConstraintRangeOutput struct{ *pulumi.OutputState }

func (GetParametersListConstraintRangeOutput) ElementType

func (GetParametersListConstraintRangeOutput) Max

max value.

func (GetParametersListConstraintRangeOutput) Min

min value.

func (GetParametersListConstraintRangeOutput) ToGetParametersListConstraintRangeOutput

func (o GetParametersListConstraintRangeOutput) ToGetParametersListConstraintRangeOutput() GetParametersListConstraintRangeOutput

func (GetParametersListConstraintRangeOutput) ToGetParametersListConstraintRangeOutputWithContext

func (o GetParametersListConstraintRangeOutput) ToGetParametersListConstraintRangeOutputWithContext(ctx context.Context) GetParametersListConstraintRangeOutput

type GetParametersListInput

type GetParametersListInput interface {
	pulumi.Input

	ToGetParametersListOutput() GetParametersListOutput
	ToGetParametersListOutputWithContext(context.Context) GetParametersListOutput
}

GetParametersListInput is an input type that accepts GetParametersListArgs and GetParametersListOutput values. You can construct a concrete instance of `GetParametersListInput` via:

GetParametersListArgs{...}

type GetParametersListOutput

type GetParametersListOutput struct{ *pulumi.OutputState }

func (GetParametersListOutput) Constraints

params constraint.

func (GetParametersListOutput) Default

default value.

func (GetParametersListOutput) ElementType

func (GetParametersListOutput) ElementType() reflect.Type

func (GetParametersListOutput) HaveSetValue

func (o GetParametersListOutput) HaveSetValue() pulumi.BoolOutput

have set value.

func (GetParametersListOutput) NeedRestart

func (o GetParametersListOutput) NeedRestart() pulumi.BoolOutput

need restart.

func (GetParametersListOutput) Param

parameter name.

func (GetParametersListOutput) ToGetParametersListOutput

func (o GetParametersListOutput) ToGetParametersListOutput() GetParametersListOutput

func (GetParametersListOutput) ToGetParametersListOutputWithContext

func (o GetParametersListOutput) ToGetParametersListOutputWithContext(ctx context.Context) GetParametersListOutput

func (GetParametersListOutput) Value

parameter value.

type GetParametersOutputArgs

type GetParametersOutputArgs struct {
	// instance id.
	InstanceId pulumi.StringInput `pulumi:"instanceId"`
	// Used to save results.
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
}

A collection of arguments for invoking getParameters.

func (GetParametersOutputArgs) ElementType

func (GetParametersOutputArgs) ElementType() reflect.Type

type GetParametersResult

type GetParametersResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id         string `pulumi:"id"`
	InstanceId string `pulumi:"instanceId"`
	// parameter list.
	Lists            []GetParametersList `pulumi:"lists"`
	ResultOutputFile *string             `pulumi:"resultOutputFile"`
}

A collection of values returned by getParameters.

func GetParameters

func GetParameters(ctx *pulumi.Context, args *GetParametersArgs, opts ...pulumi.InvokeOption) (*GetParametersResult, error)

Use this data source to query detailed information of dcdb parameters

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Dcdb"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Dcdb"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Dcdb.GetParameters(ctx, &dcdb.GetParametersArgs{
			InstanceId: "your_instance_id",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetParametersResultOutput

type GetParametersResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getParameters.

func (GetParametersResultOutput) ElementType

func (GetParametersResultOutput) ElementType() reflect.Type

func (GetParametersResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetParametersResultOutput) InstanceId

func (GetParametersResultOutput) Lists

parameter list.

func (GetParametersResultOutput) ResultOutputFile

func (o GetParametersResultOutput) ResultOutputFile() pulumi.StringPtrOutput

func (GetParametersResultOutput) ToGetParametersResultOutput

func (o GetParametersResultOutput) ToGetParametersResultOutput() GetParametersResultOutput

func (GetParametersResultOutput) ToGetParametersResultOutputWithContext

func (o GetParametersResultOutput) ToGetParametersResultOutputWithContext(ctx context.Context) GetParametersResultOutput

type GetSecurityGroupsArgs

type GetSecurityGroupsArgs struct {
	// instance id.
	InstanceId string `pulumi:"instanceId"`
	// Used to save results.
	ResultOutputFile *string `pulumi:"resultOutputFile"`
}

A collection of arguments for invoking getSecurityGroups.

type GetSecurityGroupsList

type GetSecurityGroupsList struct {
	// create time.
	CreateTime string `pulumi:"createTime"`
	// inbound rules.
	Inbounds []GetSecurityGroupsListInbound `pulumi:"inbounds"`
	// outbound rules.
	Outbounds []GetSecurityGroupsListOutbound `pulumi:"outbounds"`
	// project id.
	ProjectId int `pulumi:"projectId"`
	// security group id.
	SecurityGroupId string `pulumi:"securityGroupId"`
	// security group name.
	SecurityGroupName string `pulumi:"securityGroupName"`
}

type GetSecurityGroupsListArgs

type GetSecurityGroupsListArgs struct {
	// create time.
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// inbound rules.
	Inbounds GetSecurityGroupsListInboundArrayInput `pulumi:"inbounds"`
	// outbound rules.
	Outbounds GetSecurityGroupsListOutboundArrayInput `pulumi:"outbounds"`
	// project id.
	ProjectId pulumi.IntInput `pulumi:"projectId"`
	// security group id.
	SecurityGroupId pulumi.StringInput `pulumi:"securityGroupId"`
	// security group name.
	SecurityGroupName pulumi.StringInput `pulumi:"securityGroupName"`
}

func (GetSecurityGroupsListArgs) ElementType

func (GetSecurityGroupsListArgs) ElementType() reflect.Type

func (GetSecurityGroupsListArgs) ToGetSecurityGroupsListOutput

func (i GetSecurityGroupsListArgs) ToGetSecurityGroupsListOutput() GetSecurityGroupsListOutput

func (GetSecurityGroupsListArgs) ToGetSecurityGroupsListOutputWithContext

func (i GetSecurityGroupsListArgs) ToGetSecurityGroupsListOutputWithContext(ctx context.Context) GetSecurityGroupsListOutput

type GetSecurityGroupsListArray

type GetSecurityGroupsListArray []GetSecurityGroupsListInput

func (GetSecurityGroupsListArray) ElementType

func (GetSecurityGroupsListArray) ElementType() reflect.Type

func (GetSecurityGroupsListArray) ToGetSecurityGroupsListArrayOutput

func (i GetSecurityGroupsListArray) ToGetSecurityGroupsListArrayOutput() GetSecurityGroupsListArrayOutput

func (GetSecurityGroupsListArray) ToGetSecurityGroupsListArrayOutputWithContext

func (i GetSecurityGroupsListArray) ToGetSecurityGroupsListArrayOutputWithContext(ctx context.Context) GetSecurityGroupsListArrayOutput

type GetSecurityGroupsListArrayInput

type GetSecurityGroupsListArrayInput interface {
	pulumi.Input

	ToGetSecurityGroupsListArrayOutput() GetSecurityGroupsListArrayOutput
	ToGetSecurityGroupsListArrayOutputWithContext(context.Context) GetSecurityGroupsListArrayOutput
}

GetSecurityGroupsListArrayInput is an input type that accepts GetSecurityGroupsListArray and GetSecurityGroupsListArrayOutput values. You can construct a concrete instance of `GetSecurityGroupsListArrayInput` via:

GetSecurityGroupsListArray{ GetSecurityGroupsListArgs{...} }

type GetSecurityGroupsListArrayOutput

type GetSecurityGroupsListArrayOutput struct{ *pulumi.OutputState }

func (GetSecurityGroupsListArrayOutput) ElementType

func (GetSecurityGroupsListArrayOutput) Index

func (GetSecurityGroupsListArrayOutput) ToGetSecurityGroupsListArrayOutput

func (o GetSecurityGroupsListArrayOutput) ToGetSecurityGroupsListArrayOutput() GetSecurityGroupsListArrayOutput

func (GetSecurityGroupsListArrayOutput) ToGetSecurityGroupsListArrayOutputWithContext

func (o GetSecurityGroupsListArrayOutput) ToGetSecurityGroupsListArrayOutputWithContext(ctx context.Context) GetSecurityGroupsListArrayOutput

type GetSecurityGroupsListInbound

type GetSecurityGroupsListInbound struct {
	// policy action.
	Action string `pulumi:"action"`
	// cidr ip.
	CidrIp string `pulumi:"cidrIp"`
	// internet protocol.
	IpProtocol string `pulumi:"ipProtocol"`
	// port range.
	PortRange string `pulumi:"portRange"`
}

type GetSecurityGroupsListInboundArgs

type GetSecurityGroupsListInboundArgs struct {
	// policy action.
	Action pulumi.StringInput `pulumi:"action"`
	// cidr ip.
	CidrIp pulumi.StringInput `pulumi:"cidrIp"`
	// internet protocol.
	IpProtocol pulumi.StringInput `pulumi:"ipProtocol"`
	// port range.
	PortRange pulumi.StringInput `pulumi:"portRange"`
}

func (GetSecurityGroupsListInboundArgs) ElementType

func (GetSecurityGroupsListInboundArgs) ToGetSecurityGroupsListInboundOutput

func (i GetSecurityGroupsListInboundArgs) ToGetSecurityGroupsListInboundOutput() GetSecurityGroupsListInboundOutput

func (GetSecurityGroupsListInboundArgs) ToGetSecurityGroupsListInboundOutputWithContext

func (i GetSecurityGroupsListInboundArgs) ToGetSecurityGroupsListInboundOutputWithContext(ctx context.Context) GetSecurityGroupsListInboundOutput

type GetSecurityGroupsListInboundArray

type GetSecurityGroupsListInboundArray []GetSecurityGroupsListInboundInput

func (GetSecurityGroupsListInboundArray) ElementType

func (GetSecurityGroupsListInboundArray) ToGetSecurityGroupsListInboundArrayOutput

func (i GetSecurityGroupsListInboundArray) ToGetSecurityGroupsListInboundArrayOutput() GetSecurityGroupsListInboundArrayOutput

func (GetSecurityGroupsListInboundArray) ToGetSecurityGroupsListInboundArrayOutputWithContext

func (i GetSecurityGroupsListInboundArray) ToGetSecurityGroupsListInboundArrayOutputWithContext(ctx context.Context) GetSecurityGroupsListInboundArrayOutput

type GetSecurityGroupsListInboundArrayInput

type GetSecurityGroupsListInboundArrayInput interface {
	pulumi.Input

	ToGetSecurityGroupsListInboundArrayOutput() GetSecurityGroupsListInboundArrayOutput
	ToGetSecurityGroupsListInboundArrayOutputWithContext(context.Context) GetSecurityGroupsListInboundArrayOutput
}

GetSecurityGroupsListInboundArrayInput is an input type that accepts GetSecurityGroupsListInboundArray and GetSecurityGroupsListInboundArrayOutput values. You can construct a concrete instance of `GetSecurityGroupsListInboundArrayInput` via:

GetSecurityGroupsListInboundArray{ GetSecurityGroupsListInboundArgs{...} }

type GetSecurityGroupsListInboundArrayOutput

type GetSecurityGroupsListInboundArrayOutput struct{ *pulumi.OutputState }

func (GetSecurityGroupsListInboundArrayOutput) ElementType

func (GetSecurityGroupsListInboundArrayOutput) Index

func (GetSecurityGroupsListInboundArrayOutput) ToGetSecurityGroupsListInboundArrayOutput

func (o GetSecurityGroupsListInboundArrayOutput) ToGetSecurityGroupsListInboundArrayOutput() GetSecurityGroupsListInboundArrayOutput

func (GetSecurityGroupsListInboundArrayOutput) ToGetSecurityGroupsListInboundArrayOutputWithContext

func (o GetSecurityGroupsListInboundArrayOutput) ToGetSecurityGroupsListInboundArrayOutputWithContext(ctx context.Context) GetSecurityGroupsListInboundArrayOutput

type GetSecurityGroupsListInboundInput

type GetSecurityGroupsListInboundInput interface {
	pulumi.Input

	ToGetSecurityGroupsListInboundOutput() GetSecurityGroupsListInboundOutput
	ToGetSecurityGroupsListInboundOutputWithContext(context.Context) GetSecurityGroupsListInboundOutput
}

GetSecurityGroupsListInboundInput is an input type that accepts GetSecurityGroupsListInboundArgs and GetSecurityGroupsListInboundOutput values. You can construct a concrete instance of `GetSecurityGroupsListInboundInput` via:

GetSecurityGroupsListInboundArgs{...}

type GetSecurityGroupsListInboundOutput

type GetSecurityGroupsListInboundOutput struct{ *pulumi.OutputState }

func (GetSecurityGroupsListInboundOutput) Action

policy action.

func (GetSecurityGroupsListInboundOutput) CidrIp

cidr ip.

func (GetSecurityGroupsListInboundOutput) ElementType

func (GetSecurityGroupsListInboundOutput) IpProtocol

internet protocol.

func (GetSecurityGroupsListInboundOutput) PortRange

port range.

func (GetSecurityGroupsListInboundOutput) ToGetSecurityGroupsListInboundOutput

func (o GetSecurityGroupsListInboundOutput) ToGetSecurityGroupsListInboundOutput() GetSecurityGroupsListInboundOutput

func (GetSecurityGroupsListInboundOutput) ToGetSecurityGroupsListInboundOutputWithContext

func (o GetSecurityGroupsListInboundOutput) ToGetSecurityGroupsListInboundOutputWithContext(ctx context.Context) GetSecurityGroupsListInboundOutput

type GetSecurityGroupsListInput

type GetSecurityGroupsListInput interface {
	pulumi.Input

	ToGetSecurityGroupsListOutput() GetSecurityGroupsListOutput
	ToGetSecurityGroupsListOutputWithContext(context.Context) GetSecurityGroupsListOutput
}

GetSecurityGroupsListInput is an input type that accepts GetSecurityGroupsListArgs and GetSecurityGroupsListOutput values. You can construct a concrete instance of `GetSecurityGroupsListInput` via:

GetSecurityGroupsListArgs{...}

type GetSecurityGroupsListOutbound

type GetSecurityGroupsListOutbound struct {
	// policy action.
	Action string `pulumi:"action"`
	// cidr ip.
	CidrIp string `pulumi:"cidrIp"`
	// internet protocol.
	IpProtocol string `pulumi:"ipProtocol"`
	// port range.
	PortRange string `pulumi:"portRange"`
}

type GetSecurityGroupsListOutboundArgs

type GetSecurityGroupsListOutboundArgs struct {
	// policy action.
	Action pulumi.StringInput `pulumi:"action"`
	// cidr ip.
	CidrIp pulumi.StringInput `pulumi:"cidrIp"`
	// internet protocol.
	IpProtocol pulumi.StringInput `pulumi:"ipProtocol"`
	// port range.
	PortRange pulumi.StringInput `pulumi:"portRange"`
}

func (GetSecurityGroupsListOutboundArgs) ElementType

func (GetSecurityGroupsListOutboundArgs) ToGetSecurityGroupsListOutboundOutput

func (i GetSecurityGroupsListOutboundArgs) ToGetSecurityGroupsListOutboundOutput() GetSecurityGroupsListOutboundOutput

func (GetSecurityGroupsListOutboundArgs) ToGetSecurityGroupsListOutboundOutputWithContext

func (i GetSecurityGroupsListOutboundArgs) ToGetSecurityGroupsListOutboundOutputWithContext(ctx context.Context) GetSecurityGroupsListOutboundOutput

type GetSecurityGroupsListOutboundArray

type GetSecurityGroupsListOutboundArray []GetSecurityGroupsListOutboundInput

func (GetSecurityGroupsListOutboundArray) ElementType

func (GetSecurityGroupsListOutboundArray) ToGetSecurityGroupsListOutboundArrayOutput

func (i GetSecurityGroupsListOutboundArray) ToGetSecurityGroupsListOutboundArrayOutput() GetSecurityGroupsListOutboundArrayOutput

func (GetSecurityGroupsListOutboundArray) ToGetSecurityGroupsListOutboundArrayOutputWithContext

func (i GetSecurityGroupsListOutboundArray) ToGetSecurityGroupsListOutboundArrayOutputWithContext(ctx context.Context) GetSecurityGroupsListOutboundArrayOutput

type GetSecurityGroupsListOutboundArrayInput

type GetSecurityGroupsListOutboundArrayInput interface {
	pulumi.Input

	ToGetSecurityGroupsListOutboundArrayOutput() GetSecurityGroupsListOutboundArrayOutput
	ToGetSecurityGroupsListOutboundArrayOutputWithContext(context.Context) GetSecurityGroupsListOutboundArrayOutput
}

GetSecurityGroupsListOutboundArrayInput is an input type that accepts GetSecurityGroupsListOutboundArray and GetSecurityGroupsListOutboundArrayOutput values. You can construct a concrete instance of `GetSecurityGroupsListOutboundArrayInput` via:

GetSecurityGroupsListOutboundArray{ GetSecurityGroupsListOutboundArgs{...} }

type GetSecurityGroupsListOutboundArrayOutput

type GetSecurityGroupsListOutboundArrayOutput struct{ *pulumi.OutputState }

func (GetSecurityGroupsListOutboundArrayOutput) ElementType

func (GetSecurityGroupsListOutboundArrayOutput) Index

func (GetSecurityGroupsListOutboundArrayOutput) ToGetSecurityGroupsListOutboundArrayOutput

func (o GetSecurityGroupsListOutboundArrayOutput) ToGetSecurityGroupsListOutboundArrayOutput() GetSecurityGroupsListOutboundArrayOutput

func (GetSecurityGroupsListOutboundArrayOutput) ToGetSecurityGroupsListOutboundArrayOutputWithContext

func (o GetSecurityGroupsListOutboundArrayOutput) ToGetSecurityGroupsListOutboundArrayOutputWithContext(ctx context.Context) GetSecurityGroupsListOutboundArrayOutput

type GetSecurityGroupsListOutboundInput

type GetSecurityGroupsListOutboundInput interface {
	pulumi.Input

	ToGetSecurityGroupsListOutboundOutput() GetSecurityGroupsListOutboundOutput
	ToGetSecurityGroupsListOutboundOutputWithContext(context.Context) GetSecurityGroupsListOutboundOutput
}

GetSecurityGroupsListOutboundInput is an input type that accepts GetSecurityGroupsListOutboundArgs and GetSecurityGroupsListOutboundOutput values. You can construct a concrete instance of `GetSecurityGroupsListOutboundInput` via:

GetSecurityGroupsListOutboundArgs{...}

type GetSecurityGroupsListOutboundOutput

type GetSecurityGroupsListOutboundOutput struct{ *pulumi.OutputState }

func (GetSecurityGroupsListOutboundOutput) Action

policy action.

func (GetSecurityGroupsListOutboundOutput) CidrIp

cidr ip.

func (GetSecurityGroupsListOutboundOutput) ElementType

func (GetSecurityGroupsListOutboundOutput) IpProtocol

internet protocol.

func (GetSecurityGroupsListOutboundOutput) PortRange

port range.

func (GetSecurityGroupsListOutboundOutput) ToGetSecurityGroupsListOutboundOutput

func (o GetSecurityGroupsListOutboundOutput) ToGetSecurityGroupsListOutboundOutput() GetSecurityGroupsListOutboundOutput

func (GetSecurityGroupsListOutboundOutput) ToGetSecurityGroupsListOutboundOutputWithContext

func (o GetSecurityGroupsListOutboundOutput) ToGetSecurityGroupsListOutboundOutputWithContext(ctx context.Context) GetSecurityGroupsListOutboundOutput

type GetSecurityGroupsListOutput

type GetSecurityGroupsListOutput struct{ *pulumi.OutputState }

func (GetSecurityGroupsListOutput) CreateTime

create time.

func (GetSecurityGroupsListOutput) ElementType

func (GetSecurityGroupsListOutput) Inbounds

inbound rules.

func (GetSecurityGroupsListOutput) Outbounds

outbound rules.

func (GetSecurityGroupsListOutput) ProjectId

project id.

func (GetSecurityGroupsListOutput) SecurityGroupId

func (o GetSecurityGroupsListOutput) SecurityGroupId() pulumi.StringOutput

security group id.

func (GetSecurityGroupsListOutput) SecurityGroupName

func (o GetSecurityGroupsListOutput) SecurityGroupName() pulumi.StringOutput

security group name.

func (GetSecurityGroupsListOutput) ToGetSecurityGroupsListOutput

func (o GetSecurityGroupsListOutput) ToGetSecurityGroupsListOutput() GetSecurityGroupsListOutput

func (GetSecurityGroupsListOutput) ToGetSecurityGroupsListOutputWithContext

func (o GetSecurityGroupsListOutput) ToGetSecurityGroupsListOutputWithContext(ctx context.Context) GetSecurityGroupsListOutput

type GetSecurityGroupsOutputArgs

type GetSecurityGroupsOutputArgs struct {
	// instance id.
	InstanceId pulumi.StringInput `pulumi:"instanceId"`
	// Used to save results.
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
}

A collection of arguments for invoking getSecurityGroups.

func (GetSecurityGroupsOutputArgs) ElementType

type GetSecurityGroupsResult

type GetSecurityGroupsResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id         string `pulumi:"id"`
	InstanceId string `pulumi:"instanceId"`
	// security group list.
	Lists            []GetSecurityGroupsList `pulumi:"lists"`
	ResultOutputFile *string                 `pulumi:"resultOutputFile"`
}

A collection of values returned by getSecurityGroups.

func GetSecurityGroups

func GetSecurityGroups(ctx *pulumi.Context, args *GetSecurityGroupsArgs, opts ...pulumi.InvokeOption) (*GetSecurityGroupsResult, error)

Use this data source to query detailed information of dcdb securityGroups

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Dcdb"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Dcdb"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Dcdb.GetSecurityGroups(ctx, &dcdb.GetSecurityGroupsArgs{
			InstanceId: "your_instance_id",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetSecurityGroupsResultOutput

type GetSecurityGroupsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSecurityGroups.

func (GetSecurityGroupsResultOutput) ElementType

func (GetSecurityGroupsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetSecurityGroupsResultOutput) InstanceId

func (GetSecurityGroupsResultOutput) Lists

security group list.

func (GetSecurityGroupsResultOutput) ResultOutputFile

func (GetSecurityGroupsResultOutput) ToGetSecurityGroupsResultOutput

func (o GetSecurityGroupsResultOutput) ToGetSecurityGroupsResultOutput() GetSecurityGroupsResultOutput

func (GetSecurityGroupsResultOutput) ToGetSecurityGroupsResultOutputWithContext

func (o GetSecurityGroupsResultOutput) ToGetSecurityGroupsResultOutputWithContext(ctx context.Context) GetSecurityGroupsResultOutput

type GetShardsArgs

type GetShardsArgs struct {
	// instance id.
	InstanceId string `pulumi:"instanceId"`
	// Used to save results.
	ResultOutputFile *string `pulumi:"resultOutputFile"`
	// shard instance ids.
	ShardInstanceIds []string `pulumi:"shardInstanceIds"`
}

A collection of arguments for invoking getShards.

type GetShardsList

type GetShardsList struct {
	// cpu cores.
	Cpu int `pulumi:"cpu"`
	// create time.
	CreateTime string `pulumi:"createTime"`
	// instance id.
	InstanceId string `pulumi:"instanceId"`
	// memory, the unit is GB.
	Memory int `pulumi:"memory"`
	// memory usage.
	MemoryUsage int `pulumi:"memoryUsage"`
	// node count.
	NodeCount int `pulumi:"nodeCount"`
	// pay mode.
	Paymode string `pulumi:"paymode"`
	// expired time.
	PeriodEndTime string `pulumi:"periodEndTime"`
	// project id.
	ProjectId int `pulumi:"projectId"`
	// proxy version.
	ProxyVersion string `pulumi:"proxyVersion"`
	// the range of shard key.
	Range string `pulumi:"range"`
	// region.
	Region string `pulumi:"region"`
	// shard instance id.
	ShardInstanceId string `pulumi:"shardInstanceId"`
	// shard master zone.
	ShardMasterZone string `pulumi:"shardMasterZone"`
	// shard serial id.
	ShardSerialId string `pulumi:"shardSerialId"`
	// shard slave zones.
	ShardSlaveZones []string `pulumi:"shardSlaveZones"`
	// status.
	Status int `pulumi:"status"`
	// status description.
	StatusDesc string `pulumi:"statusDesc"`
	// memory, the unit is GB.
	Storage int `pulumi:"storage"`
	// storage usage.
	StorageUsage int `pulumi:"storageUsage"`
	// subnet id.
	SubnetId string `pulumi:"subnetId"`
	// vpc id.
	VpcId string `pulumi:"vpcId"`
	// zone.
	Zone string `pulumi:"zone"`
}

type GetShardsListArgs

type GetShardsListArgs struct {
	// cpu cores.
	Cpu pulumi.IntInput `pulumi:"cpu"`
	// create time.
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// instance id.
	InstanceId pulumi.StringInput `pulumi:"instanceId"`
	// memory, the unit is GB.
	Memory pulumi.IntInput `pulumi:"memory"`
	// memory usage.
	MemoryUsage pulumi.IntInput `pulumi:"memoryUsage"`
	// node count.
	NodeCount pulumi.IntInput `pulumi:"nodeCount"`
	// pay mode.
	Paymode pulumi.StringInput `pulumi:"paymode"`
	// expired time.
	PeriodEndTime pulumi.StringInput `pulumi:"periodEndTime"`
	// project id.
	ProjectId pulumi.IntInput `pulumi:"projectId"`
	// proxy version.
	ProxyVersion pulumi.StringInput `pulumi:"proxyVersion"`
	// the range of shard key.
	Range pulumi.StringInput `pulumi:"range"`
	// region.
	Region pulumi.StringInput `pulumi:"region"`
	// shard instance id.
	ShardInstanceId pulumi.StringInput `pulumi:"shardInstanceId"`
	// shard master zone.
	ShardMasterZone pulumi.StringInput `pulumi:"shardMasterZone"`
	// shard serial id.
	ShardSerialId pulumi.StringInput `pulumi:"shardSerialId"`
	// shard slave zones.
	ShardSlaveZones pulumi.StringArrayInput `pulumi:"shardSlaveZones"`
	// status.
	Status pulumi.IntInput `pulumi:"status"`
	// status description.
	StatusDesc pulumi.StringInput `pulumi:"statusDesc"`
	// memory, the unit is GB.
	Storage pulumi.IntInput `pulumi:"storage"`
	// storage usage.
	StorageUsage pulumi.IntInput `pulumi:"storageUsage"`
	// subnet id.
	SubnetId pulumi.StringInput `pulumi:"subnetId"`
	// vpc id.
	VpcId pulumi.StringInput `pulumi:"vpcId"`
	// zone.
	Zone pulumi.StringInput `pulumi:"zone"`
}

func (GetShardsListArgs) ElementType

func (GetShardsListArgs) ElementType() reflect.Type

func (GetShardsListArgs) ToGetShardsListOutput

func (i GetShardsListArgs) ToGetShardsListOutput() GetShardsListOutput

func (GetShardsListArgs) ToGetShardsListOutputWithContext

func (i GetShardsListArgs) ToGetShardsListOutputWithContext(ctx context.Context) GetShardsListOutput

type GetShardsListArray

type GetShardsListArray []GetShardsListInput

func (GetShardsListArray) ElementType

func (GetShardsListArray) ElementType() reflect.Type

func (GetShardsListArray) ToGetShardsListArrayOutput

func (i GetShardsListArray) ToGetShardsListArrayOutput() GetShardsListArrayOutput

func (GetShardsListArray) ToGetShardsListArrayOutputWithContext

func (i GetShardsListArray) ToGetShardsListArrayOutputWithContext(ctx context.Context) GetShardsListArrayOutput

type GetShardsListArrayInput

type GetShardsListArrayInput interface {
	pulumi.Input

	ToGetShardsListArrayOutput() GetShardsListArrayOutput
	ToGetShardsListArrayOutputWithContext(context.Context) GetShardsListArrayOutput
}

GetShardsListArrayInput is an input type that accepts GetShardsListArray and GetShardsListArrayOutput values. You can construct a concrete instance of `GetShardsListArrayInput` via:

GetShardsListArray{ GetShardsListArgs{...} }

type GetShardsListArrayOutput

type GetShardsListArrayOutput struct{ *pulumi.OutputState }

func (GetShardsListArrayOutput) ElementType

func (GetShardsListArrayOutput) ElementType() reflect.Type

func (GetShardsListArrayOutput) Index

func (GetShardsListArrayOutput) ToGetShardsListArrayOutput

func (o GetShardsListArrayOutput) ToGetShardsListArrayOutput() GetShardsListArrayOutput

func (GetShardsListArrayOutput) ToGetShardsListArrayOutputWithContext

func (o GetShardsListArrayOutput) ToGetShardsListArrayOutputWithContext(ctx context.Context) GetShardsListArrayOutput

type GetShardsListInput

type GetShardsListInput interface {
	pulumi.Input

	ToGetShardsListOutput() GetShardsListOutput
	ToGetShardsListOutputWithContext(context.Context) GetShardsListOutput
}

GetShardsListInput is an input type that accepts GetShardsListArgs and GetShardsListOutput values. You can construct a concrete instance of `GetShardsListInput` via:

GetShardsListArgs{...}

type GetShardsListOutput

type GetShardsListOutput struct{ *pulumi.OutputState }

func (GetShardsListOutput) Cpu

cpu cores.

func (GetShardsListOutput) CreateTime

func (o GetShardsListOutput) CreateTime() pulumi.StringOutput

create time.

func (GetShardsListOutput) ElementType

func (GetShardsListOutput) ElementType() reflect.Type

func (GetShardsListOutput) InstanceId

func (o GetShardsListOutput) InstanceId() pulumi.StringOutput

instance id.

func (GetShardsListOutput) Memory

memory, the unit is GB.

func (GetShardsListOutput) MemoryUsage

func (o GetShardsListOutput) MemoryUsage() pulumi.IntOutput

memory usage.

func (GetShardsListOutput) NodeCount

func (o GetShardsListOutput) NodeCount() pulumi.IntOutput

node count.

func (GetShardsListOutput) Paymode

pay mode.

func (GetShardsListOutput) PeriodEndTime

func (o GetShardsListOutput) PeriodEndTime() pulumi.StringOutput

expired time.

func (GetShardsListOutput) ProjectId

func (o GetShardsListOutput) ProjectId() pulumi.IntOutput

project id.

func (GetShardsListOutput) ProxyVersion

func (o GetShardsListOutput) ProxyVersion() pulumi.StringOutput

proxy version.

func (GetShardsListOutput) Range

the range of shard key.

func (GetShardsListOutput) Region

region.

func (GetShardsListOutput) ShardInstanceId

func (o GetShardsListOutput) ShardInstanceId() pulumi.StringOutput

shard instance id.

func (GetShardsListOutput) ShardMasterZone

func (o GetShardsListOutput) ShardMasterZone() pulumi.StringOutput

shard master zone.

func (GetShardsListOutput) ShardSerialId

func (o GetShardsListOutput) ShardSerialId() pulumi.StringOutput

shard serial id.

func (GetShardsListOutput) ShardSlaveZones

func (o GetShardsListOutput) ShardSlaveZones() pulumi.StringArrayOutput

shard slave zones.

func (GetShardsListOutput) Status

status.

func (GetShardsListOutput) StatusDesc

func (o GetShardsListOutput) StatusDesc() pulumi.StringOutput

status description.

func (GetShardsListOutput) Storage

func (o GetShardsListOutput) Storage() pulumi.IntOutput

memory, the unit is GB.

func (GetShardsListOutput) StorageUsage

func (o GetShardsListOutput) StorageUsage() pulumi.IntOutput

storage usage.

func (GetShardsListOutput) SubnetId

subnet id.

func (GetShardsListOutput) ToGetShardsListOutput

func (o GetShardsListOutput) ToGetShardsListOutput() GetShardsListOutput

func (GetShardsListOutput) ToGetShardsListOutputWithContext

func (o GetShardsListOutput) ToGetShardsListOutputWithContext(ctx context.Context) GetShardsListOutput

func (GetShardsListOutput) VpcId

vpc id.

func (GetShardsListOutput) Zone

zone.

type GetShardsOutputArgs

type GetShardsOutputArgs struct {
	// instance id.
	InstanceId pulumi.StringInput `pulumi:"instanceId"`
	// Used to save results.
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
	// shard instance ids.
	ShardInstanceIds pulumi.StringArrayInput `pulumi:"shardInstanceIds"`
}

A collection of arguments for invoking getShards.

func (GetShardsOutputArgs) ElementType

func (GetShardsOutputArgs) ElementType() reflect.Type

type GetShardsResult

type GetShardsResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// instance id.
	InstanceId string `pulumi:"instanceId"`
	// shard list.
	Lists            []GetShardsList `pulumi:"lists"`
	ResultOutputFile *string         `pulumi:"resultOutputFile"`
	ShardInstanceIds []string        `pulumi:"shardInstanceIds"`
}

A collection of values returned by getShards.

func GetShards

func GetShards(ctx *pulumi.Context, args *GetShardsArgs, opts ...pulumi.InvokeOption) (*GetShardsResult, error)

Use this data source to query detailed information of dcdb shards

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Dcdb"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Dcdb"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Dcdb.GetShards(ctx, &dcdb.GetShardsArgs{
			InstanceId: "your_instance_id",
			ShardInstanceIds: []string{
				"shard1_id",
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetShardsResultOutput

type GetShardsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getShards.

func (GetShardsResultOutput) ElementType

func (GetShardsResultOutput) ElementType() reflect.Type

func (GetShardsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetShardsResultOutput) InstanceId

func (o GetShardsResultOutput) InstanceId() pulumi.StringOutput

instance id.

func (GetShardsResultOutput) Lists

shard list.

func (GetShardsResultOutput) ResultOutputFile

func (o GetShardsResultOutput) ResultOutputFile() pulumi.StringPtrOutput

func (GetShardsResultOutput) ShardInstanceIds

func (o GetShardsResultOutput) ShardInstanceIds() pulumi.StringArrayOutput

func (GetShardsResultOutput) ToGetShardsResultOutput

func (o GetShardsResultOutput) ToGetShardsResultOutput() GetShardsResultOutput

func (GetShardsResultOutput) ToGetShardsResultOutputWithContext

func (o GetShardsResultOutput) ToGetShardsResultOutputWithContext(ctx context.Context) GetShardsResultOutput

type HourdbInstance

type HourdbInstance struct {
	pulumi.CustomResourceState

	// db engine version, default to Percona 5.7.17.
	DbVersionId pulumi.StringPtrOutput `pulumi:"dbVersionId"`
	// name of this instance.
	InstanceName pulumi.StringPtrOutput `pulumi:"instanceName"`
	// project id.
	ProjectId pulumi.IntPtrOutput `pulumi:"projectId"`
	// resource tags.
	ResourceTags HourdbInstanceResourceTagArrayOutput `pulumi:"resourceTags"`
	// security group id.
	SecurityGroupId pulumi.StringPtrOutput `pulumi:"securityGroupId"`
	// instance shard count.
	ShardCount pulumi.IntOutput `pulumi:"shardCount"`
	// memory(GB) for each shard. It can be obtained by querying api DescribeShardSpec.
	ShardMemory pulumi.IntOutput `pulumi:"shardMemory"`
	// node count for each shard. It can be obtained by querying api DescribeShardSpec.
	ShardNodeCount pulumi.IntOutput `pulumi:"shardNodeCount"`
	// storage(GB) for each shard. It can be obtained by querying api DescribeShardSpec.
	ShardStorage pulumi.IntOutput `pulumi:"shardStorage"`
	// subnet id, it's required when vpcId is set.
	SubnetId pulumi.StringPtrOutput `pulumi:"subnetId"`
	// vpc id.
	VpcId pulumi.StringPtrOutput `pulumi:"vpcId"`
	// available zone.
	Zones pulumi.StringArrayOutput `pulumi:"zones"`
}

Provides a resource to create a dcdb hourdbInstance

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Dcdb"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Dcdb"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Dcdb.NewHourdbInstance(ctx, "hourdbInstance", &Dcdb.HourdbInstanceArgs{
			InstanceName: pulumi.String("test_dcdc_dc_instance"),
			Zones: pulumi.StringArray{
				pulumi.String("ap-guangzhou-5"),
				pulumi.String("ap-guangzhou-6"),
			},
			ShardMemory:     pulumi.Int(2),
			ShardStorage:    pulumi.Int(10),
			ShardNodeCount:  pulumi.Int(2),
			ShardCount:      pulumi.Int(2),
			VpcId:           pulumi.Any(local.Vpc_id),
			SubnetId:        pulumi.Any(local.Subnet_id),
			SecurityGroupId: pulumi.Any(local.Sg_id),
			DbVersionId:     pulumi.String("8.0"),
			ResourceTags: dcdb.HourdbInstanceResourceTagArray{
				&dcdb.HourdbInstanceResourceTagArgs{
					TagKey:   pulumi.String("aaa"),
					TagValue: pulumi.String("bbb"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

dcdb hourdb_instance can be imported using the id, e.g.

```sh

$ pulumi import tencentcloud:Dcdb/hourdbInstance:HourdbInstance hourdb_instance hourdbInstance_id

```

func GetHourdbInstance

func GetHourdbInstance(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *HourdbInstanceState, opts ...pulumi.ResourceOption) (*HourdbInstance, error)

GetHourdbInstance gets an existing HourdbInstance 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 NewHourdbInstance

func NewHourdbInstance(ctx *pulumi.Context,
	name string, args *HourdbInstanceArgs, opts ...pulumi.ResourceOption) (*HourdbInstance, error)

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

func (*HourdbInstance) ElementType

func (*HourdbInstance) ElementType() reflect.Type

func (*HourdbInstance) ToHourdbInstanceOutput

func (i *HourdbInstance) ToHourdbInstanceOutput() HourdbInstanceOutput

func (*HourdbInstance) ToHourdbInstanceOutputWithContext

func (i *HourdbInstance) ToHourdbInstanceOutputWithContext(ctx context.Context) HourdbInstanceOutput

type HourdbInstanceArgs

type HourdbInstanceArgs struct {
	// db engine version, default to Percona 5.7.17.
	DbVersionId pulumi.StringPtrInput
	// name of this instance.
	InstanceName pulumi.StringPtrInput
	// project id.
	ProjectId pulumi.IntPtrInput
	// resource tags.
	ResourceTags HourdbInstanceResourceTagArrayInput
	// security group id.
	SecurityGroupId pulumi.StringPtrInput
	// instance shard count.
	ShardCount pulumi.IntInput
	// memory(GB) for each shard. It can be obtained by querying api DescribeShardSpec.
	ShardMemory pulumi.IntInput
	// node count for each shard. It can be obtained by querying api DescribeShardSpec.
	ShardNodeCount pulumi.IntInput
	// storage(GB) for each shard. It can be obtained by querying api DescribeShardSpec.
	ShardStorage pulumi.IntInput
	// subnet id, it's required when vpcId is set.
	SubnetId pulumi.StringPtrInput
	// vpc id.
	VpcId pulumi.StringPtrInput
	// available zone.
	Zones pulumi.StringArrayInput
}

The set of arguments for constructing a HourdbInstance resource.

func (HourdbInstanceArgs) ElementType

func (HourdbInstanceArgs) ElementType() reflect.Type

type HourdbInstanceArray

type HourdbInstanceArray []HourdbInstanceInput

func (HourdbInstanceArray) ElementType

func (HourdbInstanceArray) ElementType() reflect.Type

func (HourdbInstanceArray) ToHourdbInstanceArrayOutput

func (i HourdbInstanceArray) ToHourdbInstanceArrayOutput() HourdbInstanceArrayOutput

func (HourdbInstanceArray) ToHourdbInstanceArrayOutputWithContext

func (i HourdbInstanceArray) ToHourdbInstanceArrayOutputWithContext(ctx context.Context) HourdbInstanceArrayOutput

type HourdbInstanceArrayInput

type HourdbInstanceArrayInput interface {
	pulumi.Input

	ToHourdbInstanceArrayOutput() HourdbInstanceArrayOutput
	ToHourdbInstanceArrayOutputWithContext(context.Context) HourdbInstanceArrayOutput
}

HourdbInstanceArrayInput is an input type that accepts HourdbInstanceArray and HourdbInstanceArrayOutput values. You can construct a concrete instance of `HourdbInstanceArrayInput` via:

HourdbInstanceArray{ HourdbInstanceArgs{...} }

type HourdbInstanceArrayOutput

type HourdbInstanceArrayOutput struct{ *pulumi.OutputState }

func (HourdbInstanceArrayOutput) ElementType

func (HourdbInstanceArrayOutput) ElementType() reflect.Type

func (HourdbInstanceArrayOutput) Index

func (HourdbInstanceArrayOutput) ToHourdbInstanceArrayOutput

func (o HourdbInstanceArrayOutput) ToHourdbInstanceArrayOutput() HourdbInstanceArrayOutput

func (HourdbInstanceArrayOutput) ToHourdbInstanceArrayOutputWithContext

func (o HourdbInstanceArrayOutput) ToHourdbInstanceArrayOutputWithContext(ctx context.Context) HourdbInstanceArrayOutput

type HourdbInstanceInput

type HourdbInstanceInput interface {
	pulumi.Input

	ToHourdbInstanceOutput() HourdbInstanceOutput
	ToHourdbInstanceOutputWithContext(ctx context.Context) HourdbInstanceOutput
}

type HourdbInstanceMap

type HourdbInstanceMap map[string]HourdbInstanceInput

func (HourdbInstanceMap) ElementType

func (HourdbInstanceMap) ElementType() reflect.Type

func (HourdbInstanceMap) ToHourdbInstanceMapOutput

func (i HourdbInstanceMap) ToHourdbInstanceMapOutput() HourdbInstanceMapOutput

func (HourdbInstanceMap) ToHourdbInstanceMapOutputWithContext

func (i HourdbInstanceMap) ToHourdbInstanceMapOutputWithContext(ctx context.Context) HourdbInstanceMapOutput

type HourdbInstanceMapInput

type HourdbInstanceMapInput interface {
	pulumi.Input

	ToHourdbInstanceMapOutput() HourdbInstanceMapOutput
	ToHourdbInstanceMapOutputWithContext(context.Context) HourdbInstanceMapOutput
}

HourdbInstanceMapInput is an input type that accepts HourdbInstanceMap and HourdbInstanceMapOutput values. You can construct a concrete instance of `HourdbInstanceMapInput` via:

HourdbInstanceMap{ "key": HourdbInstanceArgs{...} }

type HourdbInstanceMapOutput

type HourdbInstanceMapOutput struct{ *pulumi.OutputState }

func (HourdbInstanceMapOutput) ElementType

func (HourdbInstanceMapOutput) ElementType() reflect.Type

func (HourdbInstanceMapOutput) MapIndex

func (HourdbInstanceMapOutput) ToHourdbInstanceMapOutput

func (o HourdbInstanceMapOutput) ToHourdbInstanceMapOutput() HourdbInstanceMapOutput

func (HourdbInstanceMapOutput) ToHourdbInstanceMapOutputWithContext

func (o HourdbInstanceMapOutput) ToHourdbInstanceMapOutputWithContext(ctx context.Context) HourdbInstanceMapOutput

type HourdbInstanceOutput

type HourdbInstanceOutput struct{ *pulumi.OutputState }

func (HourdbInstanceOutput) DbVersionId

db engine version, default to Percona 5.7.17.

func (HourdbInstanceOutput) ElementType

func (HourdbInstanceOutput) ElementType() reflect.Type

func (HourdbInstanceOutput) InstanceName

func (o HourdbInstanceOutput) InstanceName() pulumi.StringPtrOutput

name of this instance.

func (HourdbInstanceOutput) ProjectId

project id.

func (HourdbInstanceOutput) ResourceTags

resource tags.

func (HourdbInstanceOutput) SecurityGroupId

func (o HourdbInstanceOutput) SecurityGroupId() pulumi.StringPtrOutput

security group id.

func (HourdbInstanceOutput) ShardCount

func (o HourdbInstanceOutput) ShardCount() pulumi.IntOutput

instance shard count.

func (HourdbInstanceOutput) ShardMemory

func (o HourdbInstanceOutput) ShardMemory() pulumi.IntOutput

memory(GB) for each shard. It can be obtained by querying api DescribeShardSpec.

func (HourdbInstanceOutput) ShardNodeCount

func (o HourdbInstanceOutput) ShardNodeCount() pulumi.IntOutput

node count for each shard. It can be obtained by querying api DescribeShardSpec.

func (HourdbInstanceOutput) ShardStorage

func (o HourdbInstanceOutput) ShardStorage() pulumi.IntOutput

storage(GB) for each shard. It can be obtained by querying api DescribeShardSpec.

func (HourdbInstanceOutput) SubnetId

subnet id, it's required when vpcId is set.

func (HourdbInstanceOutput) ToHourdbInstanceOutput

func (o HourdbInstanceOutput) ToHourdbInstanceOutput() HourdbInstanceOutput

func (HourdbInstanceOutput) ToHourdbInstanceOutputWithContext

func (o HourdbInstanceOutput) ToHourdbInstanceOutputWithContext(ctx context.Context) HourdbInstanceOutput

func (HourdbInstanceOutput) VpcId

vpc id.

func (HourdbInstanceOutput) Zones

available zone.

type HourdbInstanceResourceTag

type HourdbInstanceResourceTag struct {
	// tag key.
	TagKey string `pulumi:"tagKey"`
	// tag value.
	TagValue string `pulumi:"tagValue"`
}

type HourdbInstanceResourceTagArgs

type HourdbInstanceResourceTagArgs struct {
	// tag key.
	TagKey pulumi.StringInput `pulumi:"tagKey"`
	// tag value.
	TagValue pulumi.StringInput `pulumi:"tagValue"`
}

func (HourdbInstanceResourceTagArgs) ElementType

func (HourdbInstanceResourceTagArgs) ToHourdbInstanceResourceTagOutput

func (i HourdbInstanceResourceTagArgs) ToHourdbInstanceResourceTagOutput() HourdbInstanceResourceTagOutput

func (HourdbInstanceResourceTagArgs) ToHourdbInstanceResourceTagOutputWithContext

func (i HourdbInstanceResourceTagArgs) ToHourdbInstanceResourceTagOutputWithContext(ctx context.Context) HourdbInstanceResourceTagOutput

type HourdbInstanceResourceTagArray

type HourdbInstanceResourceTagArray []HourdbInstanceResourceTagInput

func (HourdbInstanceResourceTagArray) ElementType

func (HourdbInstanceResourceTagArray) ToHourdbInstanceResourceTagArrayOutput

func (i HourdbInstanceResourceTagArray) ToHourdbInstanceResourceTagArrayOutput() HourdbInstanceResourceTagArrayOutput

func (HourdbInstanceResourceTagArray) ToHourdbInstanceResourceTagArrayOutputWithContext

func (i HourdbInstanceResourceTagArray) ToHourdbInstanceResourceTagArrayOutputWithContext(ctx context.Context) HourdbInstanceResourceTagArrayOutput

type HourdbInstanceResourceTagArrayInput

type HourdbInstanceResourceTagArrayInput interface {
	pulumi.Input

	ToHourdbInstanceResourceTagArrayOutput() HourdbInstanceResourceTagArrayOutput
	ToHourdbInstanceResourceTagArrayOutputWithContext(context.Context) HourdbInstanceResourceTagArrayOutput
}

HourdbInstanceResourceTagArrayInput is an input type that accepts HourdbInstanceResourceTagArray and HourdbInstanceResourceTagArrayOutput values. You can construct a concrete instance of `HourdbInstanceResourceTagArrayInput` via:

HourdbInstanceResourceTagArray{ HourdbInstanceResourceTagArgs{...} }

type HourdbInstanceResourceTagArrayOutput

type HourdbInstanceResourceTagArrayOutput struct{ *pulumi.OutputState }

func (HourdbInstanceResourceTagArrayOutput) ElementType

func (HourdbInstanceResourceTagArrayOutput) Index

func (HourdbInstanceResourceTagArrayOutput) ToHourdbInstanceResourceTagArrayOutput

func (o HourdbInstanceResourceTagArrayOutput) ToHourdbInstanceResourceTagArrayOutput() HourdbInstanceResourceTagArrayOutput

func (HourdbInstanceResourceTagArrayOutput) ToHourdbInstanceResourceTagArrayOutputWithContext

func (o HourdbInstanceResourceTagArrayOutput) ToHourdbInstanceResourceTagArrayOutputWithContext(ctx context.Context) HourdbInstanceResourceTagArrayOutput

type HourdbInstanceResourceTagInput

type HourdbInstanceResourceTagInput interface {
	pulumi.Input

	ToHourdbInstanceResourceTagOutput() HourdbInstanceResourceTagOutput
	ToHourdbInstanceResourceTagOutputWithContext(context.Context) HourdbInstanceResourceTagOutput
}

HourdbInstanceResourceTagInput is an input type that accepts HourdbInstanceResourceTagArgs and HourdbInstanceResourceTagOutput values. You can construct a concrete instance of `HourdbInstanceResourceTagInput` via:

HourdbInstanceResourceTagArgs{...}

type HourdbInstanceResourceTagOutput

type HourdbInstanceResourceTagOutput struct{ *pulumi.OutputState }

func (HourdbInstanceResourceTagOutput) ElementType

func (HourdbInstanceResourceTagOutput) TagKey

tag key.

func (HourdbInstanceResourceTagOutput) TagValue

tag value.

func (HourdbInstanceResourceTagOutput) ToHourdbInstanceResourceTagOutput

func (o HourdbInstanceResourceTagOutput) ToHourdbInstanceResourceTagOutput() HourdbInstanceResourceTagOutput

func (HourdbInstanceResourceTagOutput) ToHourdbInstanceResourceTagOutputWithContext

func (o HourdbInstanceResourceTagOutput) ToHourdbInstanceResourceTagOutputWithContext(ctx context.Context) HourdbInstanceResourceTagOutput

type HourdbInstanceState

type HourdbInstanceState struct {
	// db engine version, default to Percona 5.7.17.
	DbVersionId pulumi.StringPtrInput
	// name of this instance.
	InstanceName pulumi.StringPtrInput
	// project id.
	ProjectId pulumi.IntPtrInput
	// resource tags.
	ResourceTags HourdbInstanceResourceTagArrayInput
	// security group id.
	SecurityGroupId pulumi.StringPtrInput
	// instance shard count.
	ShardCount pulumi.IntPtrInput
	// memory(GB) for each shard. It can be obtained by querying api DescribeShardSpec.
	ShardMemory pulumi.IntPtrInput
	// node count for each shard. It can be obtained by querying api DescribeShardSpec.
	ShardNodeCount pulumi.IntPtrInput
	// storage(GB) for each shard. It can be obtained by querying api DescribeShardSpec.
	ShardStorage pulumi.IntPtrInput
	// subnet id, it's required when vpcId is set.
	SubnetId pulumi.StringPtrInput
	// vpc id.
	VpcId pulumi.StringPtrInput
	// available zone.
	Zones pulumi.StringArrayInput
}

func (HourdbInstanceState) ElementType

func (HourdbInstanceState) ElementType() reflect.Type

type SecurityGroupAttachment

type SecurityGroupAttachment struct {
	pulumi.CustomResourceState

	// attached instance id.
	InstanceId pulumi.StringOutput `pulumi:"instanceId"`
	// security group id.
	SecurityGroupId pulumi.StringOutput `pulumi:"securityGroupId"`
}

Provides a resource to create a dcdb securityGroupAttachment

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Dcdb"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Dcdb.NewSecurityGroupAttachment(ctx, "securityGroupAttachment", &Dcdb.SecurityGroupAttachmentArgs{
			InstanceId:      pulumi.String(""),
			SecurityGroupId: pulumi.String(""),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

dcdb security_group_attachment can be imported using the id, e.g.

```sh

$ pulumi import tencentcloud:Dcdb/securityGroupAttachment:SecurityGroupAttachment security_group_attachment securityGroupAttachment_id

```

func GetSecurityGroupAttachment

func GetSecurityGroupAttachment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SecurityGroupAttachmentState, opts ...pulumi.ResourceOption) (*SecurityGroupAttachment, error)

GetSecurityGroupAttachment gets an existing SecurityGroupAttachment 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 NewSecurityGroupAttachment

func NewSecurityGroupAttachment(ctx *pulumi.Context,
	name string, args *SecurityGroupAttachmentArgs, opts ...pulumi.ResourceOption) (*SecurityGroupAttachment, error)

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

func (*SecurityGroupAttachment) ElementType

func (*SecurityGroupAttachment) ElementType() reflect.Type

func (*SecurityGroupAttachment) ToSecurityGroupAttachmentOutput

func (i *SecurityGroupAttachment) ToSecurityGroupAttachmentOutput() SecurityGroupAttachmentOutput

func (*SecurityGroupAttachment) ToSecurityGroupAttachmentOutputWithContext

func (i *SecurityGroupAttachment) ToSecurityGroupAttachmentOutputWithContext(ctx context.Context) SecurityGroupAttachmentOutput

type SecurityGroupAttachmentArgs

type SecurityGroupAttachmentArgs struct {
	// attached instance id.
	InstanceId pulumi.StringInput
	// security group id.
	SecurityGroupId pulumi.StringInput
}

The set of arguments for constructing a SecurityGroupAttachment resource.

func (SecurityGroupAttachmentArgs) ElementType

type SecurityGroupAttachmentArray

type SecurityGroupAttachmentArray []SecurityGroupAttachmentInput

func (SecurityGroupAttachmentArray) ElementType

func (SecurityGroupAttachmentArray) ToSecurityGroupAttachmentArrayOutput

func (i SecurityGroupAttachmentArray) ToSecurityGroupAttachmentArrayOutput() SecurityGroupAttachmentArrayOutput

func (SecurityGroupAttachmentArray) ToSecurityGroupAttachmentArrayOutputWithContext

func (i SecurityGroupAttachmentArray) ToSecurityGroupAttachmentArrayOutputWithContext(ctx context.Context) SecurityGroupAttachmentArrayOutput

type SecurityGroupAttachmentArrayInput

type SecurityGroupAttachmentArrayInput interface {
	pulumi.Input

	ToSecurityGroupAttachmentArrayOutput() SecurityGroupAttachmentArrayOutput
	ToSecurityGroupAttachmentArrayOutputWithContext(context.Context) SecurityGroupAttachmentArrayOutput
}

SecurityGroupAttachmentArrayInput is an input type that accepts SecurityGroupAttachmentArray and SecurityGroupAttachmentArrayOutput values. You can construct a concrete instance of `SecurityGroupAttachmentArrayInput` via:

SecurityGroupAttachmentArray{ SecurityGroupAttachmentArgs{...} }

type SecurityGroupAttachmentArrayOutput

type SecurityGroupAttachmentArrayOutput struct{ *pulumi.OutputState }

func (SecurityGroupAttachmentArrayOutput) ElementType

func (SecurityGroupAttachmentArrayOutput) Index

func (SecurityGroupAttachmentArrayOutput) ToSecurityGroupAttachmentArrayOutput

func (o SecurityGroupAttachmentArrayOutput) ToSecurityGroupAttachmentArrayOutput() SecurityGroupAttachmentArrayOutput

func (SecurityGroupAttachmentArrayOutput) ToSecurityGroupAttachmentArrayOutputWithContext

func (o SecurityGroupAttachmentArrayOutput) ToSecurityGroupAttachmentArrayOutputWithContext(ctx context.Context) SecurityGroupAttachmentArrayOutput

type SecurityGroupAttachmentInput

type SecurityGroupAttachmentInput interface {
	pulumi.Input

	ToSecurityGroupAttachmentOutput() SecurityGroupAttachmentOutput
	ToSecurityGroupAttachmentOutputWithContext(ctx context.Context) SecurityGroupAttachmentOutput
}

type SecurityGroupAttachmentMap

type SecurityGroupAttachmentMap map[string]SecurityGroupAttachmentInput

func (SecurityGroupAttachmentMap) ElementType

func (SecurityGroupAttachmentMap) ElementType() reflect.Type

func (SecurityGroupAttachmentMap) ToSecurityGroupAttachmentMapOutput

func (i SecurityGroupAttachmentMap) ToSecurityGroupAttachmentMapOutput() SecurityGroupAttachmentMapOutput

func (SecurityGroupAttachmentMap) ToSecurityGroupAttachmentMapOutputWithContext

func (i SecurityGroupAttachmentMap) ToSecurityGroupAttachmentMapOutputWithContext(ctx context.Context) SecurityGroupAttachmentMapOutput

type SecurityGroupAttachmentMapInput

type SecurityGroupAttachmentMapInput interface {
	pulumi.Input

	ToSecurityGroupAttachmentMapOutput() SecurityGroupAttachmentMapOutput
	ToSecurityGroupAttachmentMapOutputWithContext(context.Context) SecurityGroupAttachmentMapOutput
}

SecurityGroupAttachmentMapInput is an input type that accepts SecurityGroupAttachmentMap and SecurityGroupAttachmentMapOutput values. You can construct a concrete instance of `SecurityGroupAttachmentMapInput` via:

SecurityGroupAttachmentMap{ "key": SecurityGroupAttachmentArgs{...} }

type SecurityGroupAttachmentMapOutput

type SecurityGroupAttachmentMapOutput struct{ *pulumi.OutputState }

func (SecurityGroupAttachmentMapOutput) ElementType

func (SecurityGroupAttachmentMapOutput) MapIndex

func (SecurityGroupAttachmentMapOutput) ToSecurityGroupAttachmentMapOutput

func (o SecurityGroupAttachmentMapOutput) ToSecurityGroupAttachmentMapOutput() SecurityGroupAttachmentMapOutput

func (SecurityGroupAttachmentMapOutput) ToSecurityGroupAttachmentMapOutputWithContext

func (o SecurityGroupAttachmentMapOutput) ToSecurityGroupAttachmentMapOutputWithContext(ctx context.Context) SecurityGroupAttachmentMapOutput

type SecurityGroupAttachmentOutput

type SecurityGroupAttachmentOutput struct{ *pulumi.OutputState }

func (SecurityGroupAttachmentOutput) ElementType

func (SecurityGroupAttachmentOutput) InstanceId

attached instance id.

func (SecurityGroupAttachmentOutput) SecurityGroupId

security group id.

func (SecurityGroupAttachmentOutput) ToSecurityGroupAttachmentOutput

func (o SecurityGroupAttachmentOutput) ToSecurityGroupAttachmentOutput() SecurityGroupAttachmentOutput

func (SecurityGroupAttachmentOutput) ToSecurityGroupAttachmentOutputWithContext

func (o SecurityGroupAttachmentOutput) ToSecurityGroupAttachmentOutputWithContext(ctx context.Context) SecurityGroupAttachmentOutput

type SecurityGroupAttachmentState

type SecurityGroupAttachmentState struct {
	// attached instance id.
	InstanceId pulumi.StringPtrInput
	// security group id.
	SecurityGroupId pulumi.StringPtrInput
}

func (SecurityGroupAttachmentState) ElementType

Jump to

Keyboard shortcuts

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