Add api ref link for import_backup
import_backup in backups_client.py has kwargs parameter, but no api ref link for a full list of available parameters, this is to add the link. Change-Id: Ie30eb1ee76ee6521c5bdc9c8c3349a17ad6604b3
This commit is contained in:
parent
39002077df
commit
e80266a71b
|
@ -104,7 +104,12 @@ class BackupsClient(base_client.BaseClient):
|
|||
return rest_client.ResponseBody(resp, body)
|
||||
|
||||
def import_backup(self, **kwargs):
|
||||
"""Import backup metadata record."""
|
||||
"""Import backup metadata record.
|
||||
|
||||
For a full list of available parameters, please refer to the official
|
||||
API reference:
|
||||
https://developer.openstack.org/api-ref/block-storage/v3/index.html#import-a-backup
|
||||
"""
|
||||
post_body = json.dumps({'backup-record': kwargs})
|
||||
resp, body = self.post("backups/import_record", post_body)
|
||||
body = json.loads(body)
|
||||
|
|
Loading…
Reference in New Issue