tencentcloud_bh_resourceNivis Nix constructor for the tencentcloud_bh_resource 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,
auto_renew_flag,
cidr_block,
deploy_region,
deploy_zone,
pay_mode,
resource_edition,
resource_node,
subnet_id,
time_span,
time_unit,
vpc_cidr_block,
vpc_id,
client_access ? null,
external_access ? null,
id ? null,
intranet_access ? null,
share_clb ? null,
trial ? null,
web_access ? null,
overrides ? {}
}Required arguments
auto_renew_flagcidr_blockdeploy_regiondeploy_zonepay_moderesource_editionresource_nodesubnet_idtime_spantime_unitvpc_cidr_blockvpc_id
Optional arguments
client_access(defaults tonull)external_access(defaults tonull)id(defaults tonull)intranet_access(defaults tonull)share_clb(defaults tonull)trial(defaults tonull)web_access(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
private_ip_setpublic_ip_setresource_id
Example
tencentcloud_bh_resource {
name = "bh_resource";
auto_renew_flag = …; # required
cidr_block = …; # required
deploy_region = …; # required
deploy_zone = …; # required
pay_mode = …; # required
resource_edition = …; # required
resource_node = …; # required
subnet_id = …; # required
time_span = …; # required
time_unit = …; # required
vpc_cidr_block = …; # required
vpc_id = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.