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 Python Package Index Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

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

1

1

1

2

Quick Start Guide

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

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

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

2.4 Creating Hosts and Hgroups . . . . . .

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

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

2.7 Disconnecting and Destroying Volumes

2.8 Enable Secure HTTPS Requests . . . .

3

3

3

4

4

5

6

7

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

CHAPTER

1

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