GetEnterpriseInstances
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+
Using GetEnterpriseInstances
function getEnterpriseInstances(args: GetEnterpriseInstancesArgs, opts?: InvokeOptions): Promise<GetEnterpriseInstancesResult>function get_enterprise_instances(env_type=None, instance_alias_regex=None, instance_source=None, instance_type=None, net_type=None, output_file=None, search_key=None, status=None, tid=None, opts=None)func GetEnterpriseInstances(ctx *Context, args *GetEnterpriseInstancesArgs, opts ...InvokeOption) (*GetEnterpriseInstancesResult, error)public static class GetEnterpriseInstances {
public static Task<GetEnterpriseInstancesResult> InvokeAsync(GetEnterpriseInstancesArgs args, InvokeOptions? opts = null)
}The following arguments are supported:
- Env
Type string The type of the environment to which the database instance belongs.
- Instance
Alias stringRegex A regex string to filter the results by the DMS Enterprise Instance instance_alias.
- Instance
Source string The source of the database instance.
- Instance
Type string The ID of the database instance.
- Net
Type string 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.
- Output
File string - Search
Key string The keyword used to query database instances.
- Status string
Filter the results by status of the DMS Enterprise Instances. Valid values:
NORMAL,UNAVAILABLE,UNKNOWN,DELETED,DISABLE.- Tid int
The ID of the tenant in Data Management (DMS) Enterprise.
- Env
Type string The type of the environment to which the database instance belongs.
- Instance
Alias stringRegex A regex string to filter the results by the DMS Enterprise Instance instance_alias.
- Instance
Source string The source of the database instance.
- Instance
Type string The ID of the database instance.
- Net
Type string 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.
- Output
File string - Search
Key string The keyword used to query database instances.
- Status string
Filter the results by status of the DMS Enterprise Instances. Valid values:
NORMAL,UNAVAILABLE,UNKNOWN,DELETED,DISABLE.- Tid int
The ID of the tenant in Data Management (DMS) Enterprise.
- env
Type string The type of the environment to which the database instance belongs.
- instance
Alias stringRegex A regex string to filter the results by the DMS Enterprise Instance instance_alias.
- instance
Source string The source of the database instance.
- instance
Type string The ID of the database instance.
- net
Type string 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.
- output
File string - search
Key string The keyword used to query database instances.
- status string
Filter the results by status of the DMS Enterprise Instances. Valid values:
NORMAL,UNAVAILABLE,UNKNOWN,DELETED,DISABLE.- tid number
The ID of the tenant in Data Management (DMS) Enterprise.
- env_
type str The type of the environment to which the database instance belongs.
- instance_
alias_ strregex A regex string to filter the results by the DMS Enterprise Instance instance_alias.
- instance_
source str The source of the database instance.
- instance_
type str The ID of the database instance.
- net_
type str 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.
- output_
file str - search_
key str The keyword used to query database instances.
- status str
Filter the results by status of the DMS Enterprise Instances. Valid values:
NORMAL,UNAVAILABLE,UNKNOWN,DELETED,DISABLE.- tid float
The ID of the tenant in Data Management (DMS) Enterprise.
GetEnterpriseInstances Result
The following output properties are available:
- Id string
The provider-assigned unique ID for this managed resource.
- Instances
List<Pulumi.
Ali Cloud. Dms. Outputs. Get Enterprise Instances Instance> A list of KMS keys. Each element contains the following attributes:
- Env
Type string The type of the environment to which the database instance belongs..
- Instance
Alias stringRegex - Instance
Source string The ID of the database instance.
- Instance
Type string The ID of the database instance.
- Net
Type string - Output
File string - Search
Key string - Status string
The status of the database instance.
- Tid int
- Id string
The provider-assigned unique ID for this managed resource.
- Instances
[]Get
Enterprise Instances Instance A list of KMS keys. Each element contains the following attributes:
- Env
Type string The type of the environment to which the database instance belongs..
- Instance
Alias stringRegex - Instance
Source string The ID of the database instance.
- Instance
Type string The ID of the database instance.
- Net
Type string - Output
File string - Search
Key string - Status string
The status of the database instance.
- Tid int
- id string
The provider-assigned unique ID for this managed resource.
- instances
Get
Enterprise Instances Instance[] A list of KMS keys. Each element contains the following attributes:
- env
Type string The type of the environment to which the database instance belongs..
- instance
Alias stringRegex - instance
Source string The ID of the database instance.
- instance
Type string The ID of the database instance.
- net
Type string - output
File string - search
Key string - status string
The status of the database instance.
- tid number
- id str
The provider-assigned unique ID for this managed resource.
- instances
List[Get
Enterprise Instances Instance] A list of KMS keys. Each element contains the following attributes:
- env_
type str The type of the environment to which the database instance belongs..
- instance_
alias_ strregex - instance_
source str The ID of the database instance.
- instance_
type str The ID of the database instance.
- net_
type str - output_
file str - search_
key str - status str
The status of the database instance.
- tid float
Supporting Types
GetEnterpriseInstancesInstance
See the output API doc for this type.
See the output API doc for this type.
See the output API doc for this type.
- Data
Link stringName The name of the data link for the database instance.
- Database
Password string The logon password of the database instance.
- Database
User string The logon username of the database instance.
- Dba
Id string The ID of the database administrator (DBA) of the database instance.
- Dba
Nick stringName The nickname of the DBA.
- Ddl
Online int Indicates whether the online data description language (DDL) service was enabled for the database instance.
- Ecs
Instance stringId The ID of the Elastic Compute Service (ECS) instance to which the database instance belongs.
- Ecs
Region string The region where the database instance resides.
- Env
Type string The type of the environment to which the database instance belongs.
- Export
Timeout int The timeout period for exporting the database instance.
- Host string
The endpoint of the database instance.
- Instance
Alias string The alias of the database instance.
- Instance
Id string The ID of the database instance.
- Instance
Source string The source of the database instance.
- Instance
Type string The ID of the database instance.
- Port int
The connection port of the database instance.
- Query
Timeout int The timeout period for querying the database instance.
- Safe
Rule stringId The ID of the security rule for the database instance.
- Sid string
The system ID (SID) of the database instance.
- Status string
Filter the results by status of the DMS Enterprise Instances. Valid values:
NORMAL,UNAVAILABLE,UNKNOWN,DELETED,DISABLE.- Use
Dsql int Indicates whether cross-database query was enabled for the database instance.
- Vpc
Id string The ID of the Virtual Private Cloud (VPC) to which the database instance belongs.
- Data
Link stringName The name of the data link for the database instance.
- Database
Password string The logon password of the database instance.
- Database
User string The logon username of the database instance.
- Dba
Id string The ID of the database administrator (DBA) of the database instance.
- Dba
Nick stringName The nickname of the DBA.
- Ddl
Online int Indicates whether the online data description language (DDL) service was enabled for the database instance.
- Ecs
Instance stringId The ID of the Elastic Compute Service (ECS) instance to which the database instance belongs.
- Ecs
Region string The region where the database instance resides.
- Env
Type string The type of the environment to which the database instance belongs.
- Export
Timeout int The timeout period for exporting the database instance.
- Host string
The endpoint of the database instance.
- Instance
Alias string The alias of the database instance.
- Instance
Id string The ID of the database instance.
- Instance
Source string The source of the database instance.
- Instance
Type string The ID of the database instance.
- Port int
The connection port of the database instance.
- Query
Timeout int The timeout period for querying the database instance.
- Safe
Rule stringId The ID of the security rule for the database instance.
- Sid string
The system ID (SID) of the database instance.
- Status string
Filter the results by status of the DMS Enterprise Instances. Valid values:
NORMAL,UNAVAILABLE,UNKNOWN,DELETED,DISABLE.- Use
Dsql int Indicates whether cross-database query was enabled for the database instance.
- Vpc
Id string The ID of the Virtual Private Cloud (VPC) to which the database instance belongs.
- data
Link stringName The name of the data link for the database instance.
- database
Password string The logon password of the database instance.
- database
User string The logon username of the database instance.
- dba
Id string The ID of the database administrator (DBA) of the database instance.
- dba
Nick stringName The nickname of the DBA.
- ddl
Online number Indicates whether the online data description language (DDL) service was enabled for the database instance.
- ecs
Instance stringId The ID of the Elastic Compute Service (ECS) instance to which the database instance belongs.
- ecs
Region string The region where the database instance resides.
- env
Type string The type of the environment to which the database instance belongs.
- export
Timeout number The timeout period for exporting the database instance.
- host string
The endpoint of the database instance.
- instance
Alias string The alias of the database instance.
- instance
Id string The ID of the database instance.
- instance
Source string The source of the database instance.
- instance
Type string The ID of the database instance.
- port number
The connection port of the database instance.
- query
Timeout number The timeout period for querying the database instance.
- safe
Rule stringId The ID of the security rule for the database instance.
- sid string
The system ID (SID) of the database instance.
- status string
Filter the results by status of the DMS Enterprise Instances. Valid values:
NORMAL,UNAVAILABLE,UNKNOWN,DELETED,DISABLE.- use
Dsql number Indicates whether cross-database query was enabled for the database instance.
- vpc
Id string The ID of the Virtual Private Cloud (VPC) to which the database instance belongs.
- data_
link_ strname The name of the data link for the database instance.
- database_
password str The logon password of the database instance.
- database_
user str The logon username of the database instance.
- dba_
id str The ID of the database administrator (DBA) of the database instance.
- dba_
nick_ strname The nickname of the DBA.
- ddl_
online float Indicates whether the online data description language (DDL) service was enabled for the database instance.
- ecs_
instance_ strid The ID of the Elastic Compute Service (ECS) instance to which the database instance belongs.
- ecs_
region str The region where the database instance resides.
- env_
type str The type of the environment to which the database instance belongs.
- export_
timeout float The timeout period for exporting the database instance.
- host str
The endpoint of the database instance.
- instance_
alias str The alias of the database instance.
- instance_
id str The ID of the database instance.
- instance_
source str The source of the database instance.
- instance_
type str The ID of the database instance.
- port float
The connection port of the database instance.
- query_
timeout float The timeout period for querying the database instance.
- safe_
rule_ strid The ID of the security rule for the database instance.
- sid str
The system ID (SID) of the database instance.
- status str
Filter the results by status of the DMS Enterprise Instances. Valid values:
NORMAL,UNAVAILABLE,UNKNOWN,DELETED,DISABLE.- use_
dsql float Indicates whether cross-database query was enabled for the database instance.
- vpc_
id str The ID of the Virtual Private Cloud (VPC) to which the database instance belongs.
Package Details
- Repository
- https://github.com/pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloudTerraform Provider.