tencentcloud_security_group_ruleNivis Nix constructor for the tencentcloud_security_group_rule 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,
policy,
security_group_id,
type,
cidr_ip ? null,
description ? null,
id ? null,
ip_protocol ? null,
policy_index ? null,
port_range ? null,
source_sgid ? null,
address_template ? null,
protocol_template ? null,
overrides ? {}
}Required arguments
policysecurity_group_idtype
Optional arguments
cidr_ip(defaults tonull)description(defaults tonull)id(defaults tonull)ip_protocol(defaults tonull)policy_index(defaults tonull)port_range(defaults tonull)source_sgid(defaults tonull)address_template(defaults tonull)protocol_template(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
(none)
Example
tencentcloud_security_group_rule {
name = "security_group_rule";
policy = …; # required
security_group_id = …; # required
type = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.