purest 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +30 -4
- data/lib/purest.rb +0 -1
- data/lib/purest/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 39e177ed2d3cf0ba903e3fb03b415ec27e010df415a1a967257f1af13b9f007e
|
|
4
|
+
data.tar.gz: 4e8a9a979354ed87f239c7185fffed070d9c548a568f4e2436f95ec63b1faf75
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7143346aa454306f0e471e0eb0cb6b55dc1f4742d2d15b8873f68b029aaf740e8097dae0e8c9b4e4e08a430357e2785870867cfbe6989c770e841bb44840b497
|
|
7
|
+
data.tar.gz: 87de96a184585d1d533baa7ed77792081f2ff886e1a7125ab21d8c4bc58dd2b0e1b721f3d630161bc35ec2c4b195265a776259e1d959882a0e7511595d1eedfb
|
data/README.md
CHANGED
|
@@ -11,21 +11,47 @@ This started as sort of a labor of love/learning exercise, and sort of blossomed
|
|
|
11
11
|
|
|
12
12
|
3) While all of the classes exist, currently only up to API version 1.12 is 'officially' supported- meaning it may work on newer versions, but I can't verify since I've only been able to develop against versions 1.12 and lower.
|
|
13
13
|
|
|
14
|
+
Table of contents
|
|
15
|
+
=================
|
|
16
|
+
|
|
17
|
+
<!--ts-->
|
|
18
|
+
* [Requirements](#requirements)
|
|
19
|
+
* [Installation](#installation)
|
|
20
|
+
* [Configuration](#configuration)
|
|
21
|
+
* [Usage](#usage)
|
|
22
|
+
* [Alerts](#alerts)
|
|
23
|
+
* [Apps](#app)
|
|
24
|
+
* [Certs](#cert)
|
|
25
|
+
* [Directory Service](#directory-service)
|
|
26
|
+
* [DNS](#dns)
|
|
27
|
+
* [Drives](#drive-information)
|
|
28
|
+
* [Hardware](#hardware)
|
|
29
|
+
* [Hosts](#hosts)
|
|
30
|
+
* [Host Groups](#host-groups)
|
|
31
|
+
* [Messages](#messages)
|
|
32
|
+
* [Network](#network)
|
|
33
|
+
* [Physical Arrays](#physical-arrays)
|
|
34
|
+
* [Ports](#port)
|
|
35
|
+
* [Protection Groups](#protection-groups)
|
|
36
|
+
* [SNMP](#snmp)
|
|
37
|
+
* [Subnets](#subnet)
|
|
38
|
+
* [Users](#users)
|
|
39
|
+
* [Volumes](#volumes)
|
|
40
|
+
* [Specs](#specs)
|
|
41
|
+
<!--te-->
|
|
42
|
+
|
|
14
43
|
## Requirements
|
|
15
44
|
|
|
16
45
|
To be captain obvious, this does require you have access to a Pure Storage array.
|
|
17
46
|
|
|
18
47
|
This library requires you use Ruby 2.3 or above.
|
|
19
48
|
|
|
20
|
-
# Usage
|
|
21
|
-
|
|
22
49
|
## Installation
|
|
23
50
|
```
|
|
24
51
|
gem install purest
|
|
25
52
|
```
|
|
26
53
|
|
|
27
54
|
## Configuration
|
|
28
|
-
|
|
29
55
|
```rb
|
|
30
56
|
require 'purest'
|
|
31
57
|
|
|
@@ -49,7 +75,7 @@ https://purehost.yourdomain.com/static/0/help/rest/.
|
|
|
49
75
|
|
|
50
76
|
Below I'll provide a large group of examples, but I won't be detailing every single method call with all of its possible options, for that I will again refer you to Pure's REST API docs.
|
|
51
77
|
|
|
52
|
-
#
|
|
78
|
+
# Usage
|
|
53
79
|
|
|
54
80
|
## Alerts
|
|
55
81
|
Get information about alerts/alerting
|
data/lib/purest.rb
CHANGED
data/lib/purest/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: purest
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sean McKinley
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-
|
|
11
|
+
date: 2018-10-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cucumber
|