tencentcloud_api_gateway_import_open_api

Nivis Nix constructor for the tencentcloud_api_gateway_import_open_api 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,
  content,
  service_id,
  content_version ? null,
  encode_type ? null,
  id ? null,
  overrides ? {}
}
Required arguments
  • content
  • service_id
Optional arguments
  • content_version (defaults to null)
  • encode_type (defaults to null)
  • id (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • api_business_type
  • api_desc
  • api_id
  • api_name
  • api_type
  • auth_relation_api_id
  • auth_type
  • constant_parameters
  • create_time
  • enable_cors
  • is_base64_encoded
  • is_debug_after_charge
  • is_delete_response_error_codes
  • micro_services
  • oauth_config
  • protocol
  • request_config_method
  • request_config_path
  • request_parameters
  • response_error_codes
  • response_fail_example
  • response_success_example
  • response_type
  • service_config_cos_config
  • service_config_method
  • service_config_mock_return_message
  • service_config_path
  • service_config_product
  • service_config_scf_function_name
  • service_config_scf_function_namespace
  • service_config_scf_function_qualifier
  • service_config_scf_function_type
  • service_config_scf_is_integrated_response
  • service_config_timeout
  • service_config_type
  • service_config_upstream_id
  • service_config_url
  • service_config_vpc_id
  • service_config_websocket_cleanup_function_name
  • service_config_websocket_cleanup_function_namespace
  • service_config_websocket_cleanup_function_qualifier
  • service_config_websocket_register_function_name
  • service_config_websocket_register_function_namespace
  • service_config_websocket_register_function_qualifier
  • service_config_websocket_transport_function_name
  • service_config_websocket_transport_function_namespace
  • service_config_websocket_transport_function_qualifier
  • service_parameters
  • service_tsf_health_check_conf
  • service_tsf_load_balance_conf
  • update_time
Example
tencentcloud_api_gateway_import_open_api {
  name = "api_gateway_import_open_api";
  content = …;  # required
  service_id = …;  # required
}

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