ListInstanceResourceTables

更新时间:
复制 MD 格式

Retrieves a list of data tables for a specified instance and data source.

Operation description

Description

Provide the instance ID (InstanceId) and data source ID (ResourceId) to retrieve a list of data tables from the specified data source. Use the optional MaxcomputeSchema parameter to filter the results by a MaxCompute schema.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

GET /api/v1/instances/{InstanceId}/resources/{ResourceId}/tables HTTP/1.1

Path Parameters

Parameter

Type

Required

Description

Example

InstanceId

string

No

The instance ID.

pairec-cn-xxx

ResourceId

string

No

The data source ID.

reso-*********

Request parameters

Parameter

Type

Required

Description

Example

MaxcomputeSchema

string

No

The MaxCompute schema.

jackal

Response elements

Element

Type

Description

Example

object

The response object.

RequestId

string

The ID of the request.

01D22D08-BA20-5F35-8302-99115F288220

TotalCount

string

The total count of data tables.

30

Tables

array<object>

A list of data tables.

object

The details of a data table.

TableName

string

The table name.

table-1

Examples

Success response

JSON format

{
  "RequestId": "01D22D08-BA20-5F35-8302-99115F288220",
  "TotalCount": "30",
  "Tables": [
    {
      "TableName": "table-1"
    }
  ]
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.