original_docstring: Convert an existing scan result to a human readable format. If already exists nothing happens.
  
          :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.
          :type server_name: str
          :param database_name: The name of the scanned database.
          :type database_name: str
          :param vulnerability_assessment_name: The name of the vulnerability assessment.
          :type vulnerability_assessment_name: str or ~azure.mgmt.sql.models.VulnerabilityAssessmentName
          :param scan_id: The vulnerability assessment scan Id.
          :type scan_id: str
          :keyword callable cls: A custom type or function that will be passed the direct response
          :return: DatabaseVulnerabilityAssessmentScansExport, or the result of cls(response)
          :rtype: ~azure.mgmt.sql.models.DatabaseVulnerabilityAssessmentScansExport
          :raises: ~azure.core.exceptions.HttpResponseError
          
docstring: Convert an existing scan result to a human readable format. If already exists nothing happens.
docstring_tokens: Convert an existing scan result to a human readable format . If already exists nothing happens .
code: def export(
          self,
          resource_group_name,  # type: str
          server_name,  # type: str
          database_name,  # type: str
          vulnerability_assessment_name,  # type: Union[str, "models.VulnerabilityAssessmentName"]
          scan_id,  # type: str
          **kwargs  # type: Any
      ):
          # type: (...) -> "models.DatabaseVulnerabilityAssessmentScansExport"
          """Convert an existing scan result to a human readable format. If already exists nothing happens.
  
          :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.
          :type server_name: str
          :param database_name: The name of the scanned database.
          :type database_name: str
          :param vulnerability_assessment_name: The name of the vulnerability assessment.
          :type vulnerability_assessment_name: str or ~azure.mgmt.sql.models.VulnerabilityAssessmentName
          :param scan_id: The vulnerability assessment scan Id.
          :type scan_id: str
          :keyword callable cls: A custom type or function that will be passed the direct response
          :return: DatabaseVulnerabilityAssessmentScansExport, or the result of cls(response)
          :rtype: ~azure.mgmt.sql.models.DatabaseVulnerabilityAssessmentScansExport
          :raises: ~azure.core.exceptions.HttpResponseError
          """
          cls = kwargs.pop('cls', None)  # type: ClsType["models.DatabaseVulnerabilityAssessmentScansExport"]
          error_map = {
              401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
          }
          error_map.update(kwargs.pop('error_map', {}))
          api_version = "2017-10-01-preview"
          accept = "application/json"
  
          # Construct URL
          url = self.export.metadata['url']  # type: ignore
          path_format_arguments = {
              'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'),
              'serverName': self._serialize.url("server_name", server_name, 'str'),
              'databaseName': self._serialize.url("database_name", database_name, 'str'),
              'vulnerabilityAssessmentName': self._serialize.url("vulnerability_assessment_name", vulnerability_assessment_name, 'str'),
              'scanId': self._serialize.url("scan_id", scan_id, 'str'),
              'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'),
          }
          url = self._client.format_url(url, **path_format_arguments)
  
          # Construct parameters
          query_parameters = {}  # type: Dict[str, Any]
          query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str')
  
          # Construct headers
          header_parameters = {}  # type: Dict[str, Any]
          header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
  
          request = self._client.post(url, query_parameters, header_parameters)
          pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
          response = pipeline_response.http_response
  
          if response.status_code not in [200, 201]:
              map_error(status_code=response.status_code, response=response, error_map=error_map)
              raise HttpResponseError(response=response, error_format=ARMErrorFormat)
  
          if response.status_code == 200:
              deserialized = self._deserialize('DatabaseVulnerabilityAssessmentScansExport', pipeline_response)
  
          if response.status_code == 201:
              deserialized = self._deserialize('DatabaseVulnerabilityAssessmentScansExport', pipeline_response)
  
          if cls:
              return cls(pipeline_response, deserialized, {})
  
          return deserialized
code_tokens: def export ( self , resource_group_name , server_name , database_name , vulnerability_assessment_name , scan_id , ** kwargs ) : cls = kwargs . pop ( 'cls' , None ) error_map = { 401 : ClientAuthenticationError , 404 : ResourceNotFoundError , 409 : ResourceExistsError } error_map . update ( kwargs . pop ( 'error_map' , { } ) ) api_version = "2017-10-01-preview" accept = "application/json" url = self . export . metadata [ 'url' ] path_format_arguments = { 'resourceGroupName' : self . _serialize . url ( "resource_group_name" , resource_group_name , 'str' ) , 'serverName' : self . _serialize . url ( "server_name" , server_name , 'str' ) , 'databaseName' : self . _serialize . url ( "database_name" , database_name , 'str' ) , 'vulnerabilityAssessmentName' : self . _serialize . url ( "vulnerability_assessment_name" , vulnerability_assessment_name , 'str' ) , 'scanId' : self . _serialize . url ( "scan_id" , scan_id , 'str' ) , 'subscriptionId' : self . _serialize . url ( "self._config.subscription_id" , self . _config . subscription_id , 'str' ) , } url = self . _client . format_url ( url , ** path_format_arguments ) query_parameters = { } query_parameters [ 'api-version' ] = self . _serialize . query ( "api_version" , api_version , 'str' ) header_parameters = { } header_parameters [ 'Accept' ] = self . _serialize . header ( "accept" , accept , 'str' ) request = self . _client . post ( url , query_parameters , header_parameters ) pipeline_response = self . _client . _pipeline . run ( request , stream = False , ** kwargs ) response = pipeline_response . http_response if response . status_code not in [ 200 , 201 ] : map_error ( status_code = response . status_code , response = response , error_map = error_map ) raise HttpResponseError ( response = response , error_format = ARMErrorFormat ) if response . status_code == 200 : deserialized = self . _deserialize ( 'DatabaseVulnerabilityAssessmentScansExport' , pipeline_response ) if response . status_code == 201 : deserialized = self . _deserialize ( 'DatabaseVulnerabilityAssessmentScansExport' , pipeline_response ) if cls : return cls ( pipeline_response , deserialized , { } ) return deserialized
short_docstring: Convert an existing scan result to a human readable format.
short_docstring_tokens: Convert an existing scan result to a human readable format .
comment: # type: str$SEP$# type: str$SEP$# type: str$SEP$# type: Union[str, "models.VulnerabilityAssessmentName"]$SEP$# type: str$SEP$# type: Any$SEP$# type: (...) -> "models.DatabaseVulnerabilityAssessmentScansExport"$SEP$"""Convert an existing scan result to a human readable format. If already exists nothing happens.
  
          :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.
          :type server_name: str
          :param database_name: The name of the scanned database.
          :type database_name: str
          :param vulnerability_assessment_name: The name of the vulnerability assessment.
          :type vulnerability_assessment_name: str or ~azure.mgmt.sql.models.VulnerabilityAssessmentName
          :param scan_id: The vulnerability assessment scan Id.
          :type scan_id: str
          :keyword callable cls: A custom type or function that will be passed the direct response
          :return: DatabaseVulnerabilityAssessmentScansExport, or the result of cls(response)
          :rtype: ~azure.mgmt.sql.models.DatabaseVulnerabilityAssessmentScansExport
          :raises: ~azure.core.exceptions.HttpResponseError
          """$SEP$# type: ClsType["models.DatabaseVulnerabilityAssessmentScansExport"]$SEP$# Construct URL$SEP$# type: ignore$SEP$# Construct parameters$SEP$# type: Dict[str, Any]$SEP$# Construct headers$SEP$# type: Dict[str, Any]