Use case: docker run --rm -it --name FlashArray-HOSTANME buildanddestroy/purity-rest-tool /bin/bash
root@3541bbbb70d6:/# rest_api fa-hostname.domain.com APITOKENHERE -h usage: rest_api [-h] [-s] working_array api_token {list,create,disconnect,destroy} ...
REST API client for hosts connecting to Pure Storage Flash Arrays. Copyright (C) 2017 Mitch O'Donnell [email protected]
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
positional arguments:
working_array subdomain.domain.com or .
api_token API token generated for user.
{list,create,disconnect,destroy}
commands
list List contents.
create Create an option on the array.
disconnect Disconnect options on the array.
destroy Destroy an option on the array.
!!### WARNING DATA LOSS ###!!
optional arguments: -h, --help show this help message and exit -s, --secure Enable HTTPS to the array, use only if HTTPS is configured.
rest_session.py Copyright (C) 2017 Mitch O'Donnell This program comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions.
Pure Storage PyPi Documentation: https://pythonhosted.org/purestorage/quick_start.html
Content type
Image
Digest
Size
222.9 MB
Last updated
over 6 years ago
docker pull buildanddestroy/purity-rest-tool