def show_security_rule(call=None, kwargs=None):
 global netconn
 if (not netconn):
  netconn = get_conn(NetworkManagementClient)
 if (kwargs is None):
  kwargs = {}
 if (kwargs.get('resource_group') is None):
  kwargs['resource_group'] = config.get_cloud_config_value('resource_group', {}, __opts__, search_global=True)
 rule = netconn.security_rules.get(resource_group_name=kwargs['resource_group'], network_security_group_name=kwargs['security_group'], security_rule_name=kwargs['name'])
 return make_safe(rule)

def show_security_rule ( call = None , kwargs = None ) : global netconn if ( not netconn ) : netconn = get_conn ( NetworkManagementClient ) if ( kwargs is None ) : kwargs = { } if ( kwargs . get ( 'resource_group' ) is None ) : kwargs [ 'resource_group' ] = config . get_cloud_config_value ( 'resource_group' , { } , __opts__ , search_global = True ) rule = netconn . security_rules . get ( resource_group_name = kwargs [ 'resource_group' ] , network_security_group_name = kwargs [ 'security_group' ] , security_rule_name = kwargs [ 'name' ] ) return make_safe ( rule )
create a network security_rule .