code: def _get_server(vm_, volumes, nics):
      '''
      Construct server instance from cloud profile config
      '''
      # Apply component overrides to the size from the cloud profile config
      vm_size = _override_size(vm_)
  
      # Set the server availability zone from the cloud profile config
      availability_zone = config.get_cloud_config_value(
          'availability_zone', vm_, __opts__, default=None,
          search_global=False
      )
  
      # Assign CPU family from the cloud profile config
      cpu_family = config.get_cloud_config_value(
          'cpu_family', vm_, __opts__, default=None,
          search_global=False
      )
  
      # Contruct server object
      return Server(
          name=vm_['name'],
          ram=vm_size['ram'],
          availability_zone=availability_zone,
          cores=vm_size['cores'],
          cpu_family=cpu_family,
          create_volumes=volumes,
          nics=nics
      f _get_server(vm_, volumes, nics):
      '''
      Construct server instance from cloud profile config
      '''
      # Apply component overrides to the size from the cloud profile config
      vm_size = _override_size(vm_)
  
      # Set the server availability zone from the cloud profile config
      availability_zone = config.get_cloud_config_value(
          'availability_zone', vm_, __opts__, default=None,
          search_global=False
      )
  
      # Assign CPU family from the cloud profile config
      cpu_family = config.get_cloud_config_value(
          'cpu_family', vm_, __opts__, default=None,
          search_global=False
      )
  
      # Contruct server object
      return Server(
          name=vm_['name'],
          ram=vm_size['ram'],
          availability_zone=availability_zone,
          cores=vm_size['cores'],
          cpu_family=cpu_family,
          create_volumes=volumes,
          nics=nics
      )
docs: Construct server instance from cloud profile config