original_docstring: Removes the server's vulnerability assessment.
  
          :param resource_group_name: The name of the resource group that contains the resource. You can
           obtain this value from the Azure Resource Manager API or the portal.
          :type resource_group_name: str
          :param server_name: The name of the server for which the vulnerability assessment is defined.
          :type server_name: str
          :param vulnerability_assessment_name: The name of the vulnerability assessment.
          :type vulnerability_assessment_name: str or ~azure.mgmt.sql.models.VulnerabilityAssessmentName
          :keyword callable cls: A custom type or function that will be passed the direct response
          :return: None, or the result of cls(response)
          :rtype: None
          :raises: ~azure.core.exceptions.HttpResponseError
          
docstring: Removes the server's vulnerability assessment.
docstring_tokens: Removes the server ' s vulnerability assessment .
code: async def delete(
          self,
          resource_group_name: str,
          server_name: str,
          vulnerability_assessment_name: Union[str, "_models.VulnerabilityAssessmentName"],
          **kwargs: Any
      ) -> None:
          """Removes the server's vulnerability assessment.
  
          :param resource_group_name: The name of the resource group that contains the resource. You can
           obtain this value from the Azure Resource Manager API or the portal.
          :type resource_group_name: str
          :param server_name: The name of the server for which the vulnerability assessment is defined.
          :type server_name: str
          :param vulnerability_assessment_name: The name of the vulnerability assessment.
          :type vulnerability_assessment_name: str or ~azure.mgmt.sql.models.VulnerabilityAssessmentName
          :keyword callable cls: A custom type or function that will be passed the direct response
          :return: None, or the result of cls(response)
          :rtype: None
          :raises: ~azure.core.exceptions.HttpResponseError
          """
          cls = kwargs.pop('cls', None)  # type: ClsType[None]
          error_map = {
              401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
          }
          error_map.update(kwargs.pop('error_map', {}))
  
          
          request = build_delete_request(
              resource_group_name=resource_group_name,
              server_name=server_name,
              vulnerability_assessment_name=vulnerability_assessment_name,
              subscription_id=self._config.subscription_id,
              template_url=self.delete.metadata['url'],
          )
          request = _convert_request(request)
          request.url = self._client.format_url(request.url)
  
          pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
          response = pipeline_response.http_response
  
          if response.status_code not in [200]:
              map_error(status_code=response.status_code, response=response, error_map=error_map)
              raise HttpResponseError(response=response, error_format=ARMErrorFormat)
  
          if cls:
              return cls(pipeline_response, None, {})
code_tokens: async def delete ( self , resource_group_name : str , server_name : str , vulnerability_assessment_name : Union [ str , "_models.VulnerabilityAssessmentName" ] , ** kwargs : Any ) -> None : cls = kwargs . pop ( 'cls' , None ) error_map = { 401 : ClientAuthenticationError , 404 : ResourceNotFoundError , 409 : ResourceExistsError } error_map . update ( kwargs . pop ( 'error_map' , { } ) ) request = build_delete_request ( resource_group_name = resource_group_name , server_name = server_name , vulnerability_assessment_name = vulnerability_assessment_name , subscription_id = self . _config . subscription_id , template_url = self . delete . metadata [ 'url' ] , ) request = _convert_request ( request ) request . url = self . _client . format_url ( request . url ) pipeline_response = await self . _client . _pipeline . run ( request , stream = False , ** kwargs ) response = pipeline_response . http_response if response . status_code not in [ 200 ] : map_error ( status_code = response . status_code , response = response , error_map = error_map ) raise HttpResponseError ( response = response , error_format = ARMErrorFormat ) if cls : return cls ( pipeline_response , None , { } )
short_docstring: Removes the server's vulnerability assessment.
short_docstring_tokens: Removes the server ' s vulnerability assessment .
comment: """Removes the server's vulnerability assessment.
  
          :param resource_group_name: The name of the resource group that contains the resource. You can
           obtain this value from the Azure Resource Manager API or the portal.
          :type resource_group_name: str
          :param server_name: The name of the server for which the vulnerability assessment is defined.
          :type server_name: str
          :param vulnerability_assessment_name: The name of the vulnerability assessment.
          :type vulnerability_assessment_name: str or ~azure.mgmt.sql.models.VulnerabilityAssessmentName
          :keyword callable cls: A custom type or function that will be passed the direct response
          :return: None, or the result of cls(response)
          :rtype: None
          :raises: ~azure.core.exceptions.HttpResponseError
          """$SEP$# type: ClsType[None]