Pure Storage Python REST Client s.org

Pure Storage REST Client Documentation

Release 1.16.0

Pure Storage

Oct 30, 2018

Contents

1 Installation Guide

1

1.1 Python Package Index Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1

1.2 Source Code Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1

2 Quick Start Guide

3

2.1 Before You Begin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

2.2 Starting A Session . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

2.3 Creating Volumes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4

2.4 Creating Hosts and Hgroups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4

2.5 Connecting Volumes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

2.6 Using Snapshots . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

2.7 Disconnecting and Destroying Volumes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

2.8 Enable Secure HTTPS Requests . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8

3 API Glossary

9

4 Indices and tables

51

5 Change Log

53

6 Overview

55

7 Community

57

8 Changes

59

9 License

61

10 Indices and tables

63

Python Module Index

65

i

ii

1 CHAPTER

Installation Guide

The Pure Storage FlashArray REST Client is available through the Python Package Index. The code is available on github and can optionally be built and installed from source.

1.1 Python Package Index Installation

$ pip install purestorage Or $ easy_install purestorage

1.2 Source Code Installation

$ mkdir purestorage $ cd purestorage $ git clone $ cd rest-client $ python setup.py install Or to build HTML documentation from source: $ cd docs/ $ make html This creates a _build/ directory under docs/.

1

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download