code: def cli(env, identifier, uri, ibm_api_key):
      
  
      image_mgr = SoftLayer.ImageManager(env.client)
      image_id = helpers.resolve_id(image_mgr.resolve_ids, identifier, 'image')
      result = image_mgr.export_image_to_uri(image_id, uri, ibm_api_key)
  
      if not result:
          raise exceptions.CLIAbort("Failed to export Image")
docs: Export an image to object storage.
  
      The URI for an object storage object (.vhd/.iso file) of the format:
      swift://<objectStorageAccount>@<cluster>/<container>/<objectPath>
      or cos://<regionName>/<bucketName>/<objectPath> if using IBM Cloud
      Object Storage