:doc:`BackupGateway <../../backup-gateway>` / Client / import_hypervisor_configuration

*******************************
import_hypervisor_configuration
*******************************



.. py:method:: BackupGateway.Client.import_hypervisor_configuration(**kwargs)

  

  Connect to a hypervisor by importing its configuration.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/ImportHypervisorConfiguration>`_  


  **Request Syntax**
  ::

    response = client.import_hypervisor_configuration(
        Host='string',
        KmsKeyArn='string',
        Name='string',
        Password='string',
        Tags=[
            {
                'Key': 'string',
                'Value': 'string'
            },
        ],
        Username='string'
    )
    
  :type Host: string
  :param Host: **[REQUIRED]** 

    The server host of the hypervisor. This can be either an IP address or a fully-qualified domain name (FQDN).

    

  
  :type KmsKeyArn: string
  :param KmsKeyArn: 

    The Key Management Service for the hypervisor.

    

  
  :type Name: string
  :param Name: **[REQUIRED]** 

    The name of the hypervisor.

    

  
  :type Password: string
  :param Password: 

    The password for the hypervisor.

    

  
  :type Tags: list
  :param Tags: 

    The tags of the hypervisor configuration to import.

    

  
    - *(dict) --* 

      A key-value pair you can use to manage, filter, and search for your resources. Allowed characters include UTF-8 letters, numbers, spaces, and the following characters: + - = . _ : /.

      

    
      - **Key** *(string) --* **[REQUIRED]** 

        The key part of a tag's key-value pair. The key can't start with ``aws:``.

        

      
      - **Value** *(string) --* **[REQUIRED]** 

        The value part of a tag's key-value pair.

        

      
    

  :type Username: string
  :param Username: 

    The username for the hypervisor.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'HypervisorArn': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **HypervisorArn** *(string) --* 

        The Amazon Resource Name (ARN) of the hypervisor you disassociated.

        
  
  **Exceptions**
  
  *   :py:class:`BackupGateway.Client.exceptions.ValidationException`

  
  *   :py:class:`BackupGateway.Client.exceptions.ConflictException`

  
  *   :py:class:`BackupGateway.Client.exceptions.InternalServerException`

  
  *   :py:class:`BackupGateway.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`BackupGateway.Client.exceptions.ThrottlingException`

  