sdk/python/pulumi_azure_nextgen/network/v20150501preview/get_subnet.py
def network_security_group(self) -> 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) -> Optional['outputs.SubResourceResponse']:
        return pulumi.get(self, "network_security_group")
def network_security_group ( self ) -> 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