tencentcloud_api_gateway_import_open_apiNivis 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
contentservice_id
Optional arguments
content_version(defaults tonull)encode_type(defaults tonull)id(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
api_business_typeapi_descapi_idapi_nameapi_typeauth_relation_api_idauth_typeconstant_parameterscreate_timeenable_corsis_base64_encodedis_debug_after_chargeis_delete_response_error_codesmicro_servicesoauth_configprotocolrequest_config_methodrequest_config_pathrequest_parametersresponse_error_codesresponse_fail_exampleresponse_success_exampleresponse_typeservice_config_cos_configservice_config_methodservice_config_mock_return_messageservice_config_pathservice_config_productservice_config_scf_function_nameservice_config_scf_function_namespaceservice_config_scf_function_qualifierservice_config_scf_function_typeservice_config_scf_is_integrated_responseservice_config_timeoutservice_config_typeservice_config_upstream_idservice_config_urlservice_config_vpc_idservice_config_websocket_cleanup_function_nameservice_config_websocket_cleanup_function_namespaceservice_config_websocket_cleanup_function_qualifierservice_config_websocket_register_function_nameservice_config_websocket_register_function_namespaceservice_config_websocket_register_function_qualifierservice_config_websocket_transport_function_nameservice_config_websocket_transport_function_namespaceservice_config_websocket_transport_function_qualifierservice_parametersservice_tsf_health_check_confservice_tsf_load_balance_confupdate_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.