dms

package
v2.13.0 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EnterpriseInstance

type EnterpriseInstance struct {
	pulumi.CustomResourceState

	// Cross-database query datalink name.
	DataLinkName pulumi.StringPtrOutput `pulumi:"dataLinkName"`
	// Database access password.
	DatabasePassword pulumi.StringOutput `pulumi:"databasePassword"`
	// Database access account.
	DatabaseUser pulumi.StringOutput `pulumi:"databaseUser"`
	DbaId        pulumi.StringOutput `pulumi:"dbaId"`
	// The instance dba nickname.
	DbaNickName pulumi.StringOutput `pulumi:"dbaNickName"`
	// The DBA of the instance is passed into the Alibaba Cloud uid of the DBA.
	DbaUid pulumi.IntOutput `pulumi:"dbaUid"`
	// Whether to use online services, currently only supports MySQL and PolarDB. Valid values: `0` Not used, `1` Native online DDL priority, `2` DMS lock-free table structure change priority.
	DdlOnline pulumi.IntPtrOutput `pulumi:"ddlOnline"`
	// ECS instance ID. The value of InstanceSource is the ECS self-built library. This value must be passed.
	EcsInstanceId pulumi.StringOutput `pulumi:"ecsInstanceId"`
	// The region where the instance is located. This value must be passed when the value of InstanceSource is RDS, ECS self-built library, and VPC dedicated line IDC.
	EcsRegion pulumi.StringPtrOutput `pulumi:"ecsRegion"`
	// Environment type. Valid values: `product` production environment, `dev` development environment, `pre` pre-release environment, `test` test environment, `sit` SIT environment, `uat` UAT environment, `pet` pressure test environment, `stag` STAG environment.
	EnvType pulumi.StringOutput `pulumi:"envType"`
	// Export timeout, unit: s (seconds).
	ExportTimeout pulumi.IntOutput `pulumi:"exportTimeout"`
	// Host address of the target database.
	Host pulumi.StringOutput `pulumi:"host"`
	// Instance alias, to help users quickly distinguish positioning.
	InstanceAlias pulumi.StringOutput `pulumi:"instanceAlias"`
	InstanceId    pulumi.StringOutput `pulumi:"instanceId"`
	// The source of the database instance. Valid values: `PUBLIC_OWN`, `RDS`, `ECS_OWN`, `VPC_IDC`.
	InstanceSource pulumi.StringOutput `pulumi:"instanceSource"`
	// Database type. Valid values: `MySQL`, `SQLServer`, `PostgreSQL`, `Oracle,` `DRDS`, `OceanBase`, `Mongo`, `Redis`.
	InstanceType pulumi.StringOutput `pulumi:"instanceType"`
	// Network type. Valid values: `CLASSIC`, `VPC`.
	NetworkType pulumi.StringOutput `pulumi:"networkType"`
	// Access port of the target database.
	Port pulumi.IntOutput `pulumi:"port"`
	// Query timeout time, unit: s (seconds).
	QueryTimeout pulumi.IntOutput `pulumi:"queryTimeout"`
	// The security rule of the instance is passed into the name of the security rule in the enterprise.
	SafeRule   pulumi.StringOutput `pulumi:"safeRule"`
	SafeRuleId pulumi.StringOutput `pulumi:"safeRuleId"`
	// The SID. This value must be passed when InstanceType is PostgreSQL or Oracle.
	Sid pulumi.StringPtrOutput `pulumi:"sid"`
	// The instance status.
	State pulumi.StringOutput `pulumi:"state"`
	// The tenant ID.
	Tid pulumi.IntPtrOutput `pulumi:"tid"`
	// Whether to enable cross-instance query. Valid values: `0` not open, `1` open.
	UseDsql pulumi.IntPtrOutput `pulumi:"useDsql"`
	// VPC ID. This value must be passed when the value of InstanceSource is VPC dedicated line IDC.
	VpcId pulumi.StringPtrOutput `pulumi:"vpcId"`
}

Provides a DMS Enterprise Instance resource.

> **NOTE:** API users must first register in DMS. > **NOTE:** Available in 1.81.0+.

func GetEnterpriseInstance

func GetEnterpriseInstance(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EnterpriseInstanceState, opts ...pulumi.ResourceOption) (*EnterpriseInstance, error)

GetEnterpriseInstance gets an existing EnterpriseInstance 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 NewEnterpriseInstance

func NewEnterpriseInstance(ctx *pulumi.Context,
	name string, args *EnterpriseInstanceArgs, opts ...pulumi.ResourceOption) (*EnterpriseInstance, error)

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

type EnterpriseInstanceArgs

type EnterpriseInstanceArgs struct {
	// Cross-database query datalink name.
	DataLinkName pulumi.StringPtrInput
	// Database access password.
	DatabasePassword pulumi.StringInput
	// Database access account.
	DatabaseUser pulumi.StringInput
	DbaId        pulumi.StringPtrInput
	// The DBA of the instance is passed into the Alibaba Cloud uid of the DBA.
	DbaUid pulumi.IntInput
	// Whether to use online services, currently only supports MySQL and PolarDB. Valid values: `0` Not used, `1` Native online DDL priority, `2` DMS lock-free table structure change priority.
	DdlOnline pulumi.IntPtrInput
	// ECS instance ID. The value of InstanceSource is the ECS self-built library. This value must be passed.
	EcsInstanceId pulumi.StringPtrInput
	// The region where the instance is located. This value must be passed when the value of InstanceSource is RDS, ECS self-built library, and VPC dedicated line IDC.
	EcsRegion pulumi.StringPtrInput
	// Environment type. Valid values: `product` production environment, `dev` development environment, `pre` pre-release environment, `test` test environment, `sit` SIT environment, `uat` UAT environment, `pet` pressure test environment, `stag` STAG environment.
	EnvType pulumi.StringInput
	// Export timeout, unit: s (seconds).
	ExportTimeout pulumi.IntInput
	// Host address of the target database.
	Host pulumi.StringInput
	// Instance alias, to help users quickly distinguish positioning.
	InstanceAlias pulumi.StringInput
	InstanceId    pulumi.StringPtrInput
	// The source of the database instance. Valid values: `PUBLIC_OWN`, `RDS`, `ECS_OWN`, `VPC_IDC`.
	InstanceSource pulumi.StringInput
	// Database type. Valid values: `MySQL`, `SQLServer`, `PostgreSQL`, `Oracle,` `DRDS`, `OceanBase`, `Mongo`, `Redis`.
	InstanceType pulumi.StringInput
	// Network type. Valid values: `CLASSIC`, `VPC`.
	NetworkType pulumi.StringInput
	// Access port of the target database.
	Port pulumi.IntInput
	// Query timeout time, unit: s (seconds).
	QueryTimeout pulumi.IntInput
	// The security rule of the instance is passed into the name of the security rule in the enterprise.
	SafeRule   pulumi.StringInput
	SafeRuleId pulumi.StringPtrInput
	// The SID. This value must be passed when InstanceType is PostgreSQL or Oracle.
	Sid pulumi.StringPtrInput
	// The tenant ID.
	Tid pulumi.IntPtrInput
	// Whether to enable cross-instance query. Valid values: `0` not open, `1` open.
	UseDsql pulumi.IntPtrInput
	// VPC ID. This value must be passed when the value of InstanceSource is VPC dedicated line IDC.
	VpcId pulumi.StringPtrInput
}

The set of arguments for constructing a EnterpriseInstance resource.

func (EnterpriseInstanceArgs) ElementType

func (EnterpriseInstanceArgs) ElementType() reflect.Type

type EnterpriseInstanceState

type EnterpriseInstanceState struct {
	// Cross-database query datalink name.
	DataLinkName pulumi.StringPtrInput
	// Database access password.
	DatabasePassword pulumi.StringPtrInput
	// Database access account.
	DatabaseUser pulumi.StringPtrInput
	DbaId        pulumi.StringPtrInput
	// The instance dba nickname.
	DbaNickName pulumi.StringPtrInput
	// The DBA of the instance is passed into the Alibaba Cloud uid of the DBA.
	DbaUid pulumi.IntPtrInput
	// Whether to use online services, currently only supports MySQL and PolarDB. Valid values: `0` Not used, `1` Native online DDL priority, `2` DMS lock-free table structure change priority.
	DdlOnline pulumi.IntPtrInput
	// ECS instance ID. The value of InstanceSource is the ECS self-built library. This value must be passed.
	EcsInstanceId pulumi.StringPtrInput
	// The region where the instance is located. This value must be passed when the value of InstanceSource is RDS, ECS self-built library, and VPC dedicated line IDC.
	EcsRegion pulumi.StringPtrInput
	// Environment type. Valid values: `product` production environment, `dev` development environment, `pre` pre-release environment, `test` test environment, `sit` SIT environment, `uat` UAT environment, `pet` pressure test environment, `stag` STAG environment.
	EnvType pulumi.StringPtrInput
	// Export timeout, unit: s (seconds).
	ExportTimeout pulumi.IntPtrInput
	// Host address of the target database.
	Host pulumi.StringPtrInput
	// Instance alias, to help users quickly distinguish positioning.
	InstanceAlias pulumi.StringPtrInput
	InstanceId    pulumi.StringPtrInput
	// The source of the database instance. Valid values: `PUBLIC_OWN`, `RDS`, `ECS_OWN`, `VPC_IDC`.
	InstanceSource pulumi.StringPtrInput
	// Database type. Valid values: `MySQL`, `SQLServer`, `PostgreSQL`, `Oracle,` `DRDS`, `OceanBase`, `Mongo`, `Redis`.
	InstanceType pulumi.StringPtrInput
	// Network type. Valid values: `CLASSIC`, `VPC`.
	NetworkType pulumi.StringPtrInput
	// Access port of the target database.
	Port pulumi.IntPtrInput
	// Query timeout time, unit: s (seconds).
	QueryTimeout pulumi.IntPtrInput
	// The security rule of the instance is passed into the name of the security rule in the enterprise.
	SafeRule   pulumi.StringPtrInput
	SafeRuleId pulumi.StringPtrInput
	// The SID. This value must be passed when InstanceType is PostgreSQL or Oracle.
	Sid pulumi.StringPtrInput
	// The instance status.
	State pulumi.StringPtrInput
	// The tenant ID.
	Tid pulumi.IntPtrInput
	// Whether to enable cross-instance query. Valid values: `0` not open, `1` open.
	UseDsql pulumi.IntPtrInput
	// VPC ID. This value must be passed when the value of InstanceSource is VPC dedicated line IDC.
	VpcId pulumi.StringPtrInput
}

func (EnterpriseInstanceState) ElementType

func (EnterpriseInstanceState) ElementType() reflect.Type

type EnterpriseUser added in v2.12.0

type EnterpriseUser struct {
	pulumi.CustomResourceState

	// Maximum number of inquiries on the day.
	MaxExecuteCount pulumi.IntPtrOutput `pulumi:"maxExecuteCount"`
	// Query the maximum number of rows on the day.
	MaxResultCount pulumi.IntPtrOutput `pulumi:"maxResultCount"`
	// The DingTalk number or mobile number of the user.
	Mobile pulumi.StringPtrOutput `pulumi:"mobile"`
	// The nickname of the user.
	NickName pulumi.StringPtrOutput `pulumi:"nickName"`
	// The roles that the user plays.
	RoleNames pulumi.StringArrayOutput `pulumi:"roleNames"`
	// The state of DMS Enterprise User. Valid values: `NORMAL`, `DISABLE`.
	Status pulumi.StringPtrOutput `pulumi:"status"`
	// The tenant ID.
	Tid pulumi.IntPtrOutput `pulumi:"tid"`
	// The Alibaba Cloud unique ID (UID) of the user to add.
	Uid pulumi.StringOutput `pulumi:"uid"`
}

Provides a DMS Enterprise User resource. For information about Alidms Enterprise User and how to use it, see [What is Resource Alidms Enterprise User](https://www.alibabacloud.com/help/doc-detail/98001.htm).

> **NOTE:** Available in 1.90.0+.

func GetEnterpriseUser added in v2.12.0

func GetEnterpriseUser(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EnterpriseUserState, opts ...pulumi.ResourceOption) (*EnterpriseUser, error)

GetEnterpriseUser gets an existing EnterpriseUser 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 NewEnterpriseUser added in v2.12.0

func NewEnterpriseUser(ctx *pulumi.Context,
	name string, args *EnterpriseUserArgs, opts ...pulumi.ResourceOption) (*EnterpriseUser, error)

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

type EnterpriseUserArgs added in v2.12.0

type EnterpriseUserArgs struct {
	// Maximum number of inquiries on the day.
	MaxExecuteCount pulumi.IntPtrInput
	// Query the maximum number of rows on the day.
	MaxResultCount pulumi.IntPtrInput
	// The DingTalk number or mobile number of the user.
	Mobile pulumi.StringPtrInput
	// The nickname of the user.
	NickName pulumi.StringPtrInput
	// The roles that the user plays.
	RoleNames pulumi.StringArrayInput
	// The state of DMS Enterprise User. Valid values: `NORMAL`, `DISABLE`.
	Status pulumi.StringPtrInput
	// The tenant ID.
	Tid pulumi.IntPtrInput
	// The Alibaba Cloud unique ID (UID) of the user to add.
	Uid pulumi.StringInput
}

The set of arguments for constructing a EnterpriseUser resource.

func (EnterpriseUserArgs) ElementType added in v2.12.0

func (EnterpriseUserArgs) ElementType() reflect.Type

type EnterpriseUserState added in v2.12.0

type EnterpriseUserState struct {
	// Maximum number of inquiries on the day.
	MaxExecuteCount pulumi.IntPtrInput
	// Query the maximum number of rows on the day.
	MaxResultCount pulumi.IntPtrInput
	// The DingTalk number or mobile number of the user.
	Mobile pulumi.StringPtrInput
	// The nickname of the user.
	NickName pulumi.StringPtrInput
	// The roles that the user plays.
	RoleNames pulumi.StringArrayInput
	// The state of DMS Enterprise User. Valid values: `NORMAL`, `DISABLE`.
	Status pulumi.StringPtrInput
	// The tenant ID.
	Tid pulumi.IntPtrInput
	// The Alibaba Cloud unique ID (UID) of the user to add.
	Uid pulumi.StringPtrInput
}

func (EnterpriseUserState) ElementType added in v2.12.0

func (EnterpriseUserState) ElementType() reflect.Type

type GetEnterpriseInstancesArgs added in v2.10.0

type GetEnterpriseInstancesArgs struct {
	// The type of the environment to which the database instance belongs.
	EnvType *string `pulumi:"envType"`
	// A regex string to filter the results by the DMS Enterprise Instance instance_alias.
	InstanceAliasRegex *string `pulumi:"instanceAliasRegex"`
	// The source of the database instance.
	InstanceSource *string `pulumi:"instanceSource"`
	// The ID of the database instance.
	InstanceType *string `pulumi:"instanceType"`
	// The network type of the database instance. Valid values: CLASSIC and VPC. For more information about the valid values, see the description of the RegisterInstance operation.
	NetType    *string `pulumi:"netType"`
	OutputFile *string `pulumi:"outputFile"`
	// The keyword used to query database instances.
	SearchKey *string `pulumi:"searchKey"`
	// Filter the results by status of the DMS Enterprise Instances. Valid values: `NORMAL`, `UNAVAILABLE`, `UNKNOWN`, `DELETED`, `DISABLE`.
	Status *string `pulumi:"status"`
	// The ID of the tenant in Data Management (DMS) Enterprise.
	Tid *int `pulumi:"tid"`
}

A collection of arguments for invoking getEnterpriseInstances.

type GetEnterpriseInstancesInstance added in v2.10.0

type GetEnterpriseInstancesInstance struct {
	// The name of the data link for the database instance.
	DataLinkName string `pulumi:"dataLinkName"`
	// The logon password of the database instance.
	DatabasePassword string `pulumi:"databasePassword"`
	// The logon username of the database instance.
	DatabaseUser string `pulumi:"databaseUser"`
	// The ID of the database administrator (DBA) of the database instance.
	DbaId string `pulumi:"dbaId"`
	// The nickname of the DBA.
	DbaNickName string `pulumi:"dbaNickName"`
	// Indicates whether the online data description language (DDL) service was enabled for the database instance.
	DdlOnline int `pulumi:"ddlOnline"`
	// The ID of the Elastic Compute Service (ECS) instance to which the database instance belongs.
	EcsInstanceId string `pulumi:"ecsInstanceId"`
	// The region where the database instance resides.
	EcsRegion string `pulumi:"ecsRegion"`
	// The type of the environment to which the database instance belongs.
	EnvType string `pulumi:"envType"`
	// The timeout period for exporting the database instance.
	ExportTimeout int `pulumi:"exportTimeout"`
	// The endpoint of the database instance.
	Host string `pulumi:"host"`
	// The alias of the database instance.
	InstanceAlias string `pulumi:"instanceAlias"`
	// The ID of the database instance.
	InstanceId string `pulumi:"instanceId"`
	// The source of the database instance.
	InstanceSource string `pulumi:"instanceSource"`
	// The ID of the database instance.
	InstanceType string `pulumi:"instanceType"`
	// The connection port of the database instance.
	Port int `pulumi:"port"`
	// The timeout period for querying the database instance.
	QueryTimeout int `pulumi:"queryTimeout"`
	// The ID of the security rule for the database instance.
	SafeRuleId string `pulumi:"safeRuleId"`
	// The system ID (SID) of the database instance.
	Sid string `pulumi:"sid"`
	// Filter the results by status of the DMS Enterprise Instances. Valid values: `NORMAL`, `UNAVAILABLE`, `UNKNOWN`, `DELETED`, `DISABLE`.
	Status string `pulumi:"status"`
	// Indicates whether cross-database query was enabled for the database instance.
	UseDsql int `pulumi:"useDsql"`
	// The ID of the Virtual Private Cloud (VPC) to which the database instance belongs.
	VpcId string `pulumi:"vpcId"`
}

type GetEnterpriseInstancesInstanceArgs added in v2.10.0

type GetEnterpriseInstancesInstanceArgs struct {
	// The name of the data link for the database instance.
	DataLinkName pulumi.StringInput `pulumi:"dataLinkName"`
	// The logon password of the database instance.
	DatabasePassword pulumi.StringInput `pulumi:"databasePassword"`
	// The logon username of the database instance.
	DatabaseUser pulumi.StringInput `pulumi:"databaseUser"`
	// The ID of the database administrator (DBA) of the database instance.
	DbaId pulumi.StringInput `pulumi:"dbaId"`
	// The nickname of the DBA.
	DbaNickName pulumi.StringInput `pulumi:"dbaNickName"`
	// Indicates whether the online data description language (DDL) service was enabled for the database instance.
	DdlOnline pulumi.IntInput `pulumi:"ddlOnline"`
	// The ID of the Elastic Compute Service (ECS) instance to which the database instance belongs.
	EcsInstanceId pulumi.StringInput `pulumi:"ecsInstanceId"`
	// The region where the database instance resides.
	EcsRegion pulumi.StringInput `pulumi:"ecsRegion"`
	// The type of the environment to which the database instance belongs.
	EnvType pulumi.StringInput `pulumi:"envType"`
	// The timeout period for exporting the database instance.
	ExportTimeout pulumi.IntInput `pulumi:"exportTimeout"`
	// The endpoint of the database instance.
	Host pulumi.StringInput `pulumi:"host"`
	// The alias of the database instance.
	InstanceAlias pulumi.StringInput `pulumi:"instanceAlias"`
	// The ID of the database instance.
	InstanceId pulumi.StringInput `pulumi:"instanceId"`
	// The source of the database instance.
	InstanceSource pulumi.StringInput `pulumi:"instanceSource"`
	// The ID of the database instance.
	InstanceType pulumi.StringInput `pulumi:"instanceType"`
	// The connection port of the database instance.
	Port pulumi.IntInput `pulumi:"port"`
	// The timeout period for querying the database instance.
	QueryTimeout pulumi.IntInput `pulumi:"queryTimeout"`
	// The ID of the security rule for the database instance.
	SafeRuleId pulumi.StringInput `pulumi:"safeRuleId"`
	// The system ID (SID) of the database instance.
	Sid pulumi.StringInput `pulumi:"sid"`
	// Filter the results by status of the DMS Enterprise Instances. Valid values: `NORMAL`, `UNAVAILABLE`, `UNKNOWN`, `DELETED`, `DISABLE`.
	Status pulumi.StringInput `pulumi:"status"`
	// Indicates whether cross-database query was enabled for the database instance.
	UseDsql pulumi.IntInput `pulumi:"useDsql"`
	// The ID of the Virtual Private Cloud (VPC) to which the database instance belongs.
	VpcId pulumi.StringInput `pulumi:"vpcId"`
}

func (GetEnterpriseInstancesInstanceArgs) ElementType added in v2.10.0

func (GetEnterpriseInstancesInstanceArgs) ToGetEnterpriseInstancesInstanceOutput added in v2.10.0

func (i GetEnterpriseInstancesInstanceArgs) ToGetEnterpriseInstancesInstanceOutput() GetEnterpriseInstancesInstanceOutput

func (GetEnterpriseInstancesInstanceArgs) ToGetEnterpriseInstancesInstanceOutputWithContext added in v2.10.0

func (i GetEnterpriseInstancesInstanceArgs) ToGetEnterpriseInstancesInstanceOutputWithContext(ctx context.Context) GetEnterpriseInstancesInstanceOutput

type GetEnterpriseInstancesInstanceArray added in v2.10.0

type GetEnterpriseInstancesInstanceArray []GetEnterpriseInstancesInstanceInput

func (GetEnterpriseInstancesInstanceArray) ElementType added in v2.10.0

func (GetEnterpriseInstancesInstanceArray) ToGetEnterpriseInstancesInstanceArrayOutput added in v2.10.0

func (i GetEnterpriseInstancesInstanceArray) ToGetEnterpriseInstancesInstanceArrayOutput() GetEnterpriseInstancesInstanceArrayOutput

func (GetEnterpriseInstancesInstanceArray) ToGetEnterpriseInstancesInstanceArrayOutputWithContext added in v2.10.0

func (i GetEnterpriseInstancesInstanceArray) ToGetEnterpriseInstancesInstanceArrayOutputWithContext(ctx context.Context) GetEnterpriseInstancesInstanceArrayOutput

type GetEnterpriseInstancesInstanceArrayInput added in v2.10.0

type GetEnterpriseInstancesInstanceArrayInput interface {
	pulumi.Input

	ToGetEnterpriseInstancesInstanceArrayOutput() GetEnterpriseInstancesInstanceArrayOutput
	ToGetEnterpriseInstancesInstanceArrayOutputWithContext(context.Context) GetEnterpriseInstancesInstanceArrayOutput
}

GetEnterpriseInstancesInstanceArrayInput is an input type that accepts GetEnterpriseInstancesInstanceArray and GetEnterpriseInstancesInstanceArrayOutput values. You can construct a concrete instance of `GetEnterpriseInstancesInstanceArrayInput` via:

GetEnterpriseInstancesInstanceArray{ GetEnterpriseInstancesInstanceArgs{...} }

type GetEnterpriseInstancesInstanceArrayOutput added in v2.10.0

type GetEnterpriseInstancesInstanceArrayOutput struct{ *pulumi.OutputState }

func (GetEnterpriseInstancesInstanceArrayOutput) ElementType added in v2.10.0

func (GetEnterpriseInstancesInstanceArrayOutput) Index added in v2.10.0

func (GetEnterpriseInstancesInstanceArrayOutput) ToGetEnterpriseInstancesInstanceArrayOutput added in v2.10.0

func (o GetEnterpriseInstancesInstanceArrayOutput) ToGetEnterpriseInstancesInstanceArrayOutput() GetEnterpriseInstancesInstanceArrayOutput

func (GetEnterpriseInstancesInstanceArrayOutput) ToGetEnterpriseInstancesInstanceArrayOutputWithContext added in v2.10.0

func (o GetEnterpriseInstancesInstanceArrayOutput) ToGetEnterpriseInstancesInstanceArrayOutputWithContext(ctx context.Context) GetEnterpriseInstancesInstanceArrayOutput

type GetEnterpriseInstancesInstanceInput added in v2.10.0

type GetEnterpriseInstancesInstanceInput interface {
	pulumi.Input

	ToGetEnterpriseInstancesInstanceOutput() GetEnterpriseInstancesInstanceOutput
	ToGetEnterpriseInstancesInstanceOutputWithContext(context.Context) GetEnterpriseInstancesInstanceOutput
}

GetEnterpriseInstancesInstanceInput is an input type that accepts GetEnterpriseInstancesInstanceArgs and GetEnterpriseInstancesInstanceOutput values. You can construct a concrete instance of `GetEnterpriseInstancesInstanceInput` via:

GetEnterpriseInstancesInstanceArgs{...}

type GetEnterpriseInstancesInstanceOutput added in v2.10.0

type GetEnterpriseInstancesInstanceOutput struct{ *pulumi.OutputState }

func (GetEnterpriseInstancesInstanceOutput) DataLinkName added in v2.10.0

The name of the data link for the database instance.

func (GetEnterpriseInstancesInstanceOutput) DatabasePassword added in v2.10.0

The logon password of the database instance.

func (GetEnterpriseInstancesInstanceOutput) DatabaseUser added in v2.10.0

The logon username of the database instance.

func (GetEnterpriseInstancesInstanceOutput) DbaId added in v2.10.0

The ID of the database administrator (DBA) of the database instance.

func (GetEnterpriseInstancesInstanceOutput) DbaNickName added in v2.10.0

The nickname of the DBA.

func (GetEnterpriseInstancesInstanceOutput) DdlOnline added in v2.10.0

Indicates whether the online data description language (DDL) service was enabled for the database instance.

func (GetEnterpriseInstancesInstanceOutput) EcsInstanceId added in v2.10.0

The ID of the Elastic Compute Service (ECS) instance to which the database instance belongs.

func (GetEnterpriseInstancesInstanceOutput) EcsRegion added in v2.10.0

The region where the database instance resides.

func (GetEnterpriseInstancesInstanceOutput) ElementType added in v2.10.0

func (GetEnterpriseInstancesInstanceOutput) EnvType added in v2.10.0

The type of the environment to which the database instance belongs.

func (GetEnterpriseInstancesInstanceOutput) ExportTimeout added in v2.10.0

The timeout period for exporting the database instance.

func (GetEnterpriseInstancesInstanceOutput) Host added in v2.10.0

The endpoint of the database instance.

func (GetEnterpriseInstancesInstanceOutput) InstanceAlias added in v2.10.0

The alias of the database instance.

func (GetEnterpriseInstancesInstanceOutput) InstanceId added in v2.10.0

The ID of the database instance.

func (GetEnterpriseInstancesInstanceOutput) InstanceSource added in v2.10.0

The source of the database instance.

func (GetEnterpriseInstancesInstanceOutput) InstanceType added in v2.10.0

The ID of the database instance.

func (GetEnterpriseInstancesInstanceOutput) Port added in v2.10.0

The connection port of the database instance.

func (GetEnterpriseInstancesInstanceOutput) QueryTimeout added in v2.10.0

The timeout period for querying the database instance.

func (GetEnterpriseInstancesInstanceOutput) SafeRuleId added in v2.10.0

The ID of the security rule for the database instance.

func (GetEnterpriseInstancesInstanceOutput) Sid added in v2.10.0

The system ID (SID) of the database instance.

func (GetEnterpriseInstancesInstanceOutput) Status added in v2.10.0

Filter the results by status of the DMS Enterprise Instances. Valid values: `NORMAL`, `UNAVAILABLE`, `UNKNOWN`, `DELETED`, `DISABLE`.

func (GetEnterpriseInstancesInstanceOutput) ToGetEnterpriseInstancesInstanceOutput added in v2.10.0

func (o GetEnterpriseInstancesInstanceOutput) ToGetEnterpriseInstancesInstanceOutput() GetEnterpriseInstancesInstanceOutput

func (GetEnterpriseInstancesInstanceOutput) ToGetEnterpriseInstancesInstanceOutputWithContext added in v2.10.0

func (o GetEnterpriseInstancesInstanceOutput) ToGetEnterpriseInstancesInstanceOutputWithContext(ctx context.Context) GetEnterpriseInstancesInstanceOutput

func (GetEnterpriseInstancesInstanceOutput) UseDsql added in v2.10.0

Indicates whether cross-database query was enabled for the database instance.

func (GetEnterpriseInstancesInstanceOutput) VpcId added in v2.10.0

The ID of the Virtual Private Cloud (VPC) to which the database instance belongs.

type GetEnterpriseInstancesResult added in v2.10.0

type GetEnterpriseInstancesResult struct {
	// The type of the environment to which the database instance belongs..
	EnvType *string `pulumi:"envType"`
	// The provider-assigned unique ID for this managed resource.
	Id                 string  `pulumi:"id"`
	InstanceAliasRegex *string `pulumi:"instanceAliasRegex"`
	// The ID of the database instance.
	InstanceSource *string `pulumi:"instanceSource"`
	// The ID of the database instance.
	InstanceType *string `pulumi:"instanceType"`
	// A list of KMS keys. Each element contains the following attributes:
	Instances  []GetEnterpriseInstancesInstance `pulumi:"instances"`
	NetType    *string                          `pulumi:"netType"`
	OutputFile *string                          `pulumi:"outputFile"`
	SearchKey  *string                          `pulumi:"searchKey"`
	// The status of the database instance.
	Status *string `pulumi:"status"`
	Tid    *int    `pulumi:"tid"`
}

A collection of values returned by getEnterpriseInstances.

func GetEnterpriseInstances added in v2.10.0

func GetEnterpriseInstances(ctx *pulumi.Context, args *GetEnterpriseInstancesArgs, opts ...pulumi.InvokeOption) (*GetEnterpriseInstancesResult, error)

This data source provides a list of DMS Enterprise Instances in an Alibaba Cloud account according to the specified filters.

> **NOTE:** Available in 1.88.0+

type GetEnterpriseUsersArgs added in v2.12.0

type GetEnterpriseUsersArgs struct {
	// A list of DMS Enterprise User IDs (UID).
	Ids        []string `pulumi:"ids"`
	OutputFile *string  `pulumi:"outputFile"`
	// The role of the user to query.
	Role *string `pulumi:"role"`
	// The keyword used to query users.
	SearchKey *string `pulumi:"searchKey"`
	// The status of the user.
	Status *string `pulumi:"status"`
	// The ID of the tenant in DMS Enterprise.
	Tid *int `pulumi:"tid"`
}

A collection of arguments for invoking getEnterpriseUsers.

type GetEnterpriseUsersResult added in v2.12.0

type GetEnterpriseUsersResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of DMS Enterprise User IDs (UID).
	Ids        []string `pulumi:"ids"`
	OutputFile *string  `pulumi:"outputFile"`
	Role       *string  `pulumi:"role"`
	SearchKey  *string  `pulumi:"searchKey"`
	// The status of the user.
	Status *string `pulumi:"status"`
	Tid    *int    `pulumi:"tid"`
	// A list of DMS Enterprise Users. Each element contains the following attributes:
	Users []GetEnterpriseUsersUser `pulumi:"users"`
}

A collection of values returned by getEnterpriseUsers.

func GetEnterpriseUsers added in v2.12.0

func GetEnterpriseUsers(ctx *pulumi.Context, args *GetEnterpriseUsersArgs, opts ...pulumi.InvokeOption) (*GetEnterpriseUsersResult, error)

This data source provides a list of DMS Enterprise Users in an Alibaba Cloud account according to the specified filters.

> **NOTE:** Available in 1.90.0+

type GetEnterpriseUsersUser added in v2.12.0

type GetEnterpriseUsersUser struct {
	// The Alibaba Cloud unique ID (UID) of the user.
	Id string `pulumi:"id"`
	// The DingTalk number or mobile number of the user.
	Mobile string `pulumi:"mobile"`
	// The nickname of the user.
	NickName string `pulumi:"nickName"`
	// The Alibaba Cloud unique ID (UID) of the parent account if the user corresponds to a Resource Access Management (RAM) user.
	ParentUid int `pulumi:"parentUid"`
	// The list ids of the role that the user plays.
	RoleIds []int `pulumi:"roleIds"`
	// The list names of the role that he user plays.
	RoleNames []string `pulumi:"roleNames"`
	// The status of the user.
	Status string `pulumi:"status"`
	Uid    string `pulumi:"uid"`
	// The ID of the user.
	UserId string `pulumi:"userId"`
}

type GetEnterpriseUsersUserArgs added in v2.12.0

type GetEnterpriseUsersUserArgs struct {
	// The Alibaba Cloud unique ID (UID) of the user.
	Id pulumi.StringInput `pulumi:"id"`
	// The DingTalk number or mobile number of the user.
	Mobile pulumi.StringInput `pulumi:"mobile"`
	// The nickname of the user.
	NickName pulumi.StringInput `pulumi:"nickName"`
	// The Alibaba Cloud unique ID (UID) of the parent account if the user corresponds to a Resource Access Management (RAM) user.
	ParentUid pulumi.IntInput `pulumi:"parentUid"`
	// The list ids of the role that the user plays.
	RoleIds pulumi.IntArrayInput `pulumi:"roleIds"`
	// The list names of the role that he user plays.
	RoleNames pulumi.StringArrayInput `pulumi:"roleNames"`
	// The status of the user.
	Status pulumi.StringInput `pulumi:"status"`
	Uid    pulumi.StringInput `pulumi:"uid"`
	// The ID of the user.
	UserId pulumi.StringInput `pulumi:"userId"`
}

func (GetEnterpriseUsersUserArgs) ElementType added in v2.12.0

func (GetEnterpriseUsersUserArgs) ElementType() reflect.Type

func (GetEnterpriseUsersUserArgs) ToGetEnterpriseUsersUserOutput added in v2.12.0

func (i GetEnterpriseUsersUserArgs) ToGetEnterpriseUsersUserOutput() GetEnterpriseUsersUserOutput

func (GetEnterpriseUsersUserArgs) ToGetEnterpriseUsersUserOutputWithContext added in v2.12.0

func (i GetEnterpriseUsersUserArgs) ToGetEnterpriseUsersUserOutputWithContext(ctx context.Context) GetEnterpriseUsersUserOutput

type GetEnterpriseUsersUserArray added in v2.12.0

type GetEnterpriseUsersUserArray []GetEnterpriseUsersUserInput

func (GetEnterpriseUsersUserArray) ElementType added in v2.12.0

func (GetEnterpriseUsersUserArray) ToGetEnterpriseUsersUserArrayOutput added in v2.12.0

func (i GetEnterpriseUsersUserArray) ToGetEnterpriseUsersUserArrayOutput() GetEnterpriseUsersUserArrayOutput

func (GetEnterpriseUsersUserArray) ToGetEnterpriseUsersUserArrayOutputWithContext added in v2.12.0

func (i GetEnterpriseUsersUserArray) ToGetEnterpriseUsersUserArrayOutputWithContext(ctx context.Context) GetEnterpriseUsersUserArrayOutput

type GetEnterpriseUsersUserArrayInput added in v2.12.0

type GetEnterpriseUsersUserArrayInput interface {
	pulumi.Input

	ToGetEnterpriseUsersUserArrayOutput() GetEnterpriseUsersUserArrayOutput
	ToGetEnterpriseUsersUserArrayOutputWithContext(context.Context) GetEnterpriseUsersUserArrayOutput
}

GetEnterpriseUsersUserArrayInput is an input type that accepts GetEnterpriseUsersUserArray and GetEnterpriseUsersUserArrayOutput values. You can construct a concrete instance of `GetEnterpriseUsersUserArrayInput` via:

GetEnterpriseUsersUserArray{ GetEnterpriseUsersUserArgs{...} }

type GetEnterpriseUsersUserArrayOutput added in v2.12.0

type GetEnterpriseUsersUserArrayOutput struct{ *pulumi.OutputState }

func (GetEnterpriseUsersUserArrayOutput) ElementType added in v2.12.0

func (GetEnterpriseUsersUserArrayOutput) Index added in v2.12.0

func (GetEnterpriseUsersUserArrayOutput) ToGetEnterpriseUsersUserArrayOutput added in v2.12.0

func (o GetEnterpriseUsersUserArrayOutput) ToGetEnterpriseUsersUserArrayOutput() GetEnterpriseUsersUserArrayOutput

func (GetEnterpriseUsersUserArrayOutput) ToGetEnterpriseUsersUserArrayOutputWithContext added in v2.12.0

func (o GetEnterpriseUsersUserArrayOutput) ToGetEnterpriseUsersUserArrayOutputWithContext(ctx context.Context) GetEnterpriseUsersUserArrayOutput

type GetEnterpriseUsersUserInput added in v2.12.0

type GetEnterpriseUsersUserInput interface {
	pulumi.Input

	ToGetEnterpriseUsersUserOutput() GetEnterpriseUsersUserOutput
	ToGetEnterpriseUsersUserOutputWithContext(context.Context) GetEnterpriseUsersUserOutput
}

GetEnterpriseUsersUserInput is an input type that accepts GetEnterpriseUsersUserArgs and GetEnterpriseUsersUserOutput values. You can construct a concrete instance of `GetEnterpriseUsersUserInput` via:

GetEnterpriseUsersUserArgs{...}

type GetEnterpriseUsersUserOutput added in v2.12.0

type GetEnterpriseUsersUserOutput struct{ *pulumi.OutputState }

func (GetEnterpriseUsersUserOutput) ElementType added in v2.12.0

func (GetEnterpriseUsersUserOutput) Id added in v2.12.0

The Alibaba Cloud unique ID (UID) of the user.

func (GetEnterpriseUsersUserOutput) Mobile added in v2.12.0

The DingTalk number or mobile number of the user.

func (GetEnterpriseUsersUserOutput) NickName added in v2.12.0

The nickname of the user.

func (GetEnterpriseUsersUserOutput) ParentUid added in v2.12.0

The Alibaba Cloud unique ID (UID) of the parent account if the user corresponds to a Resource Access Management (RAM) user.

func (GetEnterpriseUsersUserOutput) RoleIds added in v2.12.0

The list ids of the role that the user plays.

func (GetEnterpriseUsersUserOutput) RoleNames added in v2.12.0

The list names of the role that he user plays.

func (GetEnterpriseUsersUserOutput) Status added in v2.12.0

The status of the user.

func (GetEnterpriseUsersUserOutput) ToGetEnterpriseUsersUserOutput added in v2.12.0

func (o GetEnterpriseUsersUserOutput) ToGetEnterpriseUsersUserOutput() GetEnterpriseUsersUserOutput

func (GetEnterpriseUsersUserOutput) ToGetEnterpriseUsersUserOutputWithContext added in v2.12.0

func (o GetEnterpriseUsersUserOutput) ToGetEnterpriseUsersUserOutputWithContext(ctx context.Context) GetEnterpriseUsersUserOutput

func (GetEnterpriseUsersUserOutput) Uid added in v2.12.0

func (GetEnterpriseUsersUserOutput) UserId added in v2.12.0

The ID of the user.

Jump to

Keyboard shortcuts

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