tencentcloud_mysql_switch_master_slave_operation

Nivis Nix constructor for the tencentcloud_mysql_switch_master_slave_operation resource (provider tencentcloud). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.

Constructor
{
  name,
  instance_id,
  dst_slave ? null,
  force_switch ? null,
  id ? null,
  wait_switch ? null,
  overrides ? {}
}
Required arguments
  • instance_id
Optional arguments
  • dst_slave (defaults to null)
  • force_switch (defaults to null)
  • id (defaults to null)
  • wait_switch (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • (none)
Example
tencentcloud_mysql_switch_master_slave_operation {
  name = "mysql_switch_master_slave_operation";
  instance_id = …;  # required
}

The reference for every provider is generated from the provider's own schema, not copied from its documentation.