'Create backing for the volume.
Creates a VM with one VMDK based on the given inputs.
:param name: Name of the backing
:param size_kb: Size in KB of the backing
:param disk_type: VMDK type for the disk
:param folder: Folder, where to create the backing under
:param resource_pool: Resource pool reference
:param host: Host reference
:param ds_name: Datastore name where the disk is to be provisioned
:param profileId: Storage profile ID to be associated with backing
:param adapter_type: Disk adapter type
:param extra_config: Key-value pairs to be written to backing\'s
extra-config
:return: Reference to the created backing entity'

def create_backing(self, name, size_kb, disk_type, folder, resource_pool, host, ds_name, profileId=None, adapter_type='lsiLogic', extra_config=None):

    LOG.debug('Creating    volume    backing    with    name:    %(name)s    disk_type:    %(disk_type)s    size_kb:    %(size_kb)s    adapter_type:    %(adapter_type)s    profileId:    %(profile)s    at    folder:    %(folder)s    resource_pool:    %(resource_pool)s    host:    %(host)s    datastore_name:    %(ds_name)s.', {'name': name, 'disk_type': disk_type, 'size_kb': size_kb, 'folder': folder, 'resource_pool': resource_pool, 'ds_name': ds_name, 'profile': profileId, 'host': host, 'adapter_type': adapter_type})
    create_spec = self.get_create_spec(name, size_kb, disk_type, ds_name, profile_id=profileId, adapter_type=adapter_type, extra_config=extra_config)
    return self._create_backing_int(folder, resource_pool, host, create_spec)
