IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
/*
$params['master_timeout'] = (time) Explicit operation timeout for connection to master node
['wait_for_completion'] = (bool) Should this request wait until the operation has completed before returning
['body'] = (array) Request body
*/
$params = [
// ...
];
$client = ClientBuilder::create()->build();
$response = $client->snapshot()->create($params);
/*
$params['master_timeout'] = (time) Explicit operation timeout for connection to master node
['wait_for_completion'] = (bool) Should this request wait until the operation has completed before returning
['body'] = (array) Request body
*/
$params = [
// ...
];
$client = ClientBuilder::create()->build();
$response = $client->snapshot()->restore($params);
status()
/*
$params['master_timeout'] = (time) Explicit operation timeout for connection to master node
['body'] = (array) Request body
*/
$params = [
// ...
];
$client = ClientBuilder::create()->build();
$response = $client->snapshot()->status($params);