code: def policy_definition_delete(name, **kwargs):
      '''
      .. versionadded:: 2019.2.0
  
      Delete a policy definition.
  
      :param name: The name of the policy definition to delete.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt-call azurearm_resource.policy_definition_delete testpolicy
  
      '''
      result = False
      polconn = __utils__['azurearm.get_client']('policy', **kwargs)
      try:
          # pylint: disable=unused-variable
          policy = polconn.policy_definitions.delete(
              policy_definition_name=name
          )
          result = True
      except CloudError as exc:
          __utils__['azurearm.log_cloud_error']('resource', str(exc), **kwargs)
  
      return resulf policy_definition_delete(name, **kwargs):
      '''
      .. versionadded:: 2019.2.0
  
      Delete a policy definition.
  
      :param name: The name of the policy definition to delete.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt-call azurearm_resource.policy_definition_delete testpolicy
  
      '''
      result = False
      polconn = __utils__['azurearm.get_client']('policy', **kwargs)
      try:
          # pylint: disable=unused-variable
          policy = polconn.policy_definitions.delete(
              policy_definition_name=name
          )
          result = True
      except CloudError as exc:
          __utils__['azurearm.log_cloud_error']('resource', str(exc), **kwargs)
  
      return result
docs: .. versionadded:: 2019.2.0
  
      Delete a policy definition.
  
      :param name: The name of the policy definition to delete.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt-call azurearm_resource.policy_definition_delete testpolicy