Network Security Group

A Network Security Group (NSG) in OCI is a virtual firewall that lets you define and enforce security rules for a set of cloud resources. It provides fine-grained control over both inbound and outbound traffic at the virtual network interface level, independent of the subnet’s security rules. NSGs make it easier to apply consistent security policies across multiple resources without changing subnet configurations.

oci.network_security_group

Fields

TitleIDTypeData TypeDescription
_keycorestring
cloud_account_idcorestringThe identifier of the related cloud account. The concept of an account might have different names in different cloud providers. AWS is calling it account, GCP calls it project and Azure uses the term subscription.
cloud_account_namecorestringThe name of the account this resource belongs to.
cloud_providercorestringThe name of the cloud provider.
cloud_tagscorehstore
compartment_idcorestringThe value to assign to the compartment_id property of this NetworkSecurityGroup.
created_atcoretimestampTime when the resource has been created.
freeform_tagscorehstoreThe value to assign to the freeform_tags property of this NetworkSecurityGroup.
idcorestringThe value to assign to the id property of this NetworkSecurityGroup.
lifecycle_statecorestringThe value to assign to the lifecycle_state property of this NetworkSecurityGroup. Allowed values for this property are: "PROVISIONING", "AVAILABLE", "TERMINATING", "TERMINATED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
namecorestringThe name of this resource.
region_idcorestringThe region this resource resides within.
resource_typecorestringThe name of the resource type.
security_rulescorejson
tagscorehstore_csv
time_createdcoretimestampThe value to assign to the time_created property of this NetworkSecurityGroup.
updated_atcoretimestampTime when the resource has been updated the last time.
vcn_idcorestringThe value to assign to the vcn_id property of this NetworkSecurityGroup.
zone_idcorestringThe zone this resource resides within.