sdk/python/pulumi_azure_nextgen/network/v20150501preview/network_interface.py
def network_security_group(self) -> pulumi.Output[Optional['outputs.SubResourceResponse']]:
        """
        Gets or sets the reference of the NetworkSecurityGroup resource
        """
        return pulumi.get(self, "network_security_group")

        Gets or sets the reference of the NetworkSecurityGroup resource
        
Gets or sets the reference of the NetworkSecurityGroup resource
Gets or sets the reference of the NetworkSecurityGroup resource
def network_security_group(self) -> pulumi.Output[Optional['outputs.SubResourceResponse']]:
        return pulumi.get(self, "network_security_group")
def network_security_group ( self ) -> pulumi . Output [ Optional [ 'outputs.SubResourceResponse' ] ] : return pulumi . get ( self , "network_security_group" )
Gets or sets the reference of the NetworkSecurityGroup resource
Gets or sets the reference of the NetworkSecurityGroup resource
"""
        Gets or sets the reference of the NetworkSecurityGroup resource
        """
self