getTables

Deprecated

alicloud.oss.getTables has been deprecated in favor of alicloud.ots.getTables

This data source provides the ots tables of the current Alibaba Cloud user.

NOTE: Available in v1.40.0+.

Example Usage

data "alicloud_ots_tables" "tables_ds" {
instance_name = "sample-instance"
name_regex = "sample-table"
output_file = "tables.txt"
}
output "first_table_id" {
value = "${data.alicloud_ots_tables.tables_ds.tables.0.id}"
}

Return

A collection of values returned by getTables.

Parameters

argument

A collection of arguments for invoking getTables.


suspend fun getTables(ids: List<String>? = null, instanceName: String, nameRegex: String? = null, outputFile: String? = null): GetTablesResult

Deprecated

alicloud.oss.getTables has been deprecated in favor of alicloud.ots.getTables

Return

A collection of values returned by getTables.

Parameters

ids

A list of table IDs.

instanceName

The name of OTS instance.

nameRegex

A regex string to filter results by table name.

outputFile

File name where to save data source results (after running pulumi preview).

See also


suspend fun getTables(argument: suspend GetTablesPlainArgsBuilder.() -> Unit): GetTablesResult

Deprecated

alicloud.oss.getTables has been deprecated in favor of alicloud.ots.getTables

Return

A collection of values returned by getTables.

Parameters

argument

Builder for com.pulumi.alicloud.oss.kotlin.inputs.GetTablesPlainArgs.

See also