code: def delete_managed_disk(call=None, kwargs=None):  # pylint: disable=unused-argument
      '''
      Delete a managed disk from a resource group.
      '''
  
      compconn = get_conn(client_type='compute')
  
      try:
          compconn.disks.delete(kwargs['resource_group'], kwargs['blob'])
      except Exception as exc:
          log.error('Error deleting managed disk %s - %s', kwargs.get('blob'), six.text_type(exc))
          return False
  
      return Truf delete_managed_disk(call=None, kwargs=None):  # pylint: disable=unused-argument
      '''
      Delete a managed disk from a resource group.
      '''
  
      compconn = get_conn(client_type='compute')
  
      try:
          compconn.disks.delete(kwargs['resource_group'], kwargs['blob'])
      except Exception as exc:
          log.error('Error deleting managed disk %s - %s', kwargs.get('blob'), six.text_type(exc))
          return False
  
      return True
docs: Delete a managed disk from a resource group.