code: def virtual_network_get(name, resource_group, **kwargs):
      '''
      .. versionadded:: 2019.2.0
  
      Get details about a specific virtual network.
  
      :param name: The name of the virtual network to query.
  
      :param resource_group: The resource group name assigned to the
          virtual network.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt-call azurearm_network.virtual_network_get testnet testgroup
  
      '''
      netconn = __utils__['azurearm.get_client']('network', **kwargs)
      try:
          vnet = netconn.virtual_networks.get(
              virtual_network_name=name,
              resource_group_name=resource_group
          )
          result = vnet.as_dict()
      except CloudError as exc:
          __utils__['azurearm.log_cloud_error']('network', str(exc), **kwargs)
          result = {'error': str(exc)}
  
      return resulf virtual_network_get(name, resource_group, **kwargs):
      '''
      .. versionadded:: 2019.2.0
  
      Get details about a specific virtual network.
  
      :param name: The name of the virtual network to query.
  
      :param resource_group: The resource group name assigned to the
          virtual network.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt-call azurearm_network.virtual_network_get testnet testgroup
  
      '''
      netconn = __utils__['azurearm.get_client']('network', **kwargs)
      try:
          vnet = netconn.virtual_networks.get(
              virtual_network_name=name,
              resource_group_name=resource_group
          )
          result = vnet.as_dict()
      except CloudError as exc:
          __utils__['azurearm.log_cloud_error']('network', str(exc), **kwargs)
          result = {'error': str(exc)}
  
      return result
docs: .. versionadded:: 2019.2.0
  
      Get details about a specific virtual network.
  
      :param name: The name of the virtual network to query.
  
      :param resource_group: The resource group name assigned to the
          virtual network.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt-call azurearm_network.virtual_network_get testnet testgroup