TunnelInfo especifica as informações do túnel na resposta das operações ListTunnel e DescribeTunnel.
Estrutura de dados
message TunnelInfo {
required string tunnel_id = 1;
required string tunnel_type = 2;
required string table_name = 3;
required string instance_name = 4;
required string stream_id = 5;
required string stage = 6;
optional bool expired = 7;
optional string tunnel_name = 8;
optional StreamTunnelConfig stream_tunnel_config = 10;
optional int64 create_time = 11;
}
|
Parâmetro |
Tipo |
Obrigatório |
Descrição |
|
tunnel_id |
string |
Sim |
ID do túnel. Cada ID de túnel é único. |
|
tunnel_type |
string |
Sim |
Tipo do túnel. |
|
table_name |
string |
Sim |
Nome da tabela. |
|
instance_name |
string |
Sim |
Nome da instância. |
|
stream_id |
string |
Sim |
ID do stream. |
|
stage |
string |
Sim |
Estágio do túnel. Valores válidos:
|
|
expired |
bool |
Não |
Indica se o túnel expirou. |
|
tunnel_name |
string |
Não |
Nome do túnel. |
|
stream_tunnel_config |
Não |
Configuração de stream para o estágio incremental do túnel. |
|
|
create_time |
int64 |
Não |
Hora de criação do túnel. |