Skip to content

Commit f1d6014

Browse files
authored
Merge pull request #16 from purestorage/release-python-rest-client-v1-6-for-2-3-0
Release the source code for the 1.6 python REST client for FlashBlade.
2 parents d3da2fb + 2b6f665 commit f1d6014

File tree

242 files changed

+36289
-417
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

242 files changed

+36289
-417
lines changed

PKG-INFO

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Metadata-Version: 1.4
22
Name: purity_fb
3-
Version: 1.5.1
3+
Version: 1.6.0
44
Summary: A python client for Purity//FB REST API.
55
License: Apache 2.0

docs/AdminsApi.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
# purity_fb_1dot5.AdminsApi
1+
# purity_fb_1dot6.AdminsApi
22

33
All URIs are relative to *https://purity_fb_server/api*
44

55
Method | HTTP request | Description
66
------------- | ------------- | -------------
7-
[**list_admins**](AdminsApi.md#list_admins) | **GET** /1.5/admins |
8-
[**update_admins**](AdminsApi.md#update_admins) | **PATCH** /1.5/admins |
7+
[**list_admins**](AdminsApi.md#list_admins) | **GET** /1.6/admins |
8+
[**update_admins**](AdminsApi.md#update_admins) | **PATCH** /1.6/admins |
99

1010

1111
# **list_admins**

docs/AdminsCacheApi.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
# purity_fb_1dot5.AdminsCacheApi
1+
# purity_fb_1dot6.AdminsCacheApi
22

33
All URIs are relative to *https://purity_fb_server/api*
44

55
Method | HTTP request | Description
66
------------- | ------------- | -------------
7-
[**delete_admin_cache**](AdminsCacheApi.md#delete_admin_cache) | **DELETE** /1.5/admins/cache |
8-
[**list_admin_cache**](AdminsCacheApi.md#list_admin_cache) | **GET** /1.5/admins/cache |
7+
[**delete_admin_cache**](AdminsCacheApi.md#delete_admin_cache) | **DELETE** /1.6/admins/cache |
8+
[**list_admin_cache**](AdminsCacheApi.md#list_admin_cache) | **GET** /1.6/admins/cache |
99

1010

1111
# **delete_admin_cache**

docs/AlertWatchersApi.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
# purity_fb_1dot5.AlertWatchersApi
1+
# purity_fb_1dot6.AlertWatchersApi
22

33
All URIs are relative to *https://purity_fb_server/api*
44

55
Method | HTTP request | Description
66
------------- | ------------- | -------------
7-
[**create_alert_watchers**](AlertWatchersApi.md#create_alert_watchers) | **POST** /1.5/alert-watchers |
8-
[**delete_alert_watchers**](AlertWatchersApi.md#delete_alert_watchers) | **DELETE** /1.5/alert-watchers |
9-
[**list_alert_watchers**](AlertWatchersApi.md#list_alert_watchers) | **GET** /1.5/alert-watchers |
10-
[**test_alert_watchers**](AlertWatchersApi.md#test_alert_watchers) | **GET** /1.5/alert-watchers/test |
11-
[**update_alert_watchers**](AlertWatchersApi.md#update_alert_watchers) | **PATCH** /1.5/alert-watchers |
7+
[**create_alert_watchers**](AlertWatchersApi.md#create_alert_watchers) | **POST** /1.6/alert-watchers |
8+
[**delete_alert_watchers**](AlertWatchersApi.md#delete_alert_watchers) | **DELETE** /1.6/alert-watchers |
9+
[**list_alert_watchers**](AlertWatchersApi.md#list_alert_watchers) | **GET** /1.6/alert-watchers |
10+
[**test_alert_watchers**](AlertWatchersApi.md#test_alert_watchers) | **GET** /1.6/alert-watchers/test |
11+
[**update_alert_watchers**](AlertWatchersApi.md#update_alert_watchers) | **PATCH** /1.6/alert-watchers |
1212

1313

1414
# **create_alert_watchers**

docs/AlertsApi.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
# purity_fb_1dot5.AlertsApi
1+
# purity_fb_1dot6.AlertsApi
22

33
All URIs are relative to *https://purity_fb_server/api*
44

55
Method | HTTP request | Description
66
------------- | ------------- | -------------
7-
[**list_alerts**](AlertsApi.md#list_alerts) | **GET** /1.5/alerts |
8-
[**update_alerts**](AlertsApi.md#update_alerts) | **PATCH** /1.5/alerts |
7+
[**list_alerts**](AlertsApi.md#list_alerts) | **GET** /1.6/alerts |
8+
[**update_alerts**](AlertsApi.md#update_alerts) | **PATCH** /1.6/alerts |
99

1010

1111
# **list_alerts**

docs/ArraysApi.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
# purity_fb_1dot5.ArraysApi
1+
# purity_fb_1dot6.ArraysApi
22

33
All URIs are relative to *https://purity_fb_server/api*
44

55
Method | HTTP request | Description
66
------------- | ------------- | -------------
7-
[**list_arrays**](ArraysApi.md#list_arrays) | **GET** /1.5/arrays |
8-
[**list_arrays_http_specific_performance**](ArraysApi.md#list_arrays_http_specific_performance) | **GET** /1.5/arrays/http-specific-performance |
9-
[**list_arrays_performance**](ArraysApi.md#list_arrays_performance) | **GET** /1.5/arrays/performance |
10-
[**list_arrays_s3_specific_performance**](ArraysApi.md#list_arrays_s3_specific_performance) | **GET** /1.5/arrays/s3-specific-performance |
11-
[**list_arrays_space**](ArraysApi.md#list_arrays_space) | **GET** /1.5/arrays/space |
12-
[**list_clients_performance**](ArraysApi.md#list_clients_performance) | **GET** /1.5/arrays/clients/performance |
13-
[**update_arrays**](ArraysApi.md#update_arrays) | **PATCH** /1.5/arrays |
7+
[**list_arrays**](ArraysApi.md#list_arrays) | **GET** /1.6/arrays |
8+
[**list_arrays_http_specific_performance**](ArraysApi.md#list_arrays_http_specific_performance) | **GET** /1.6/arrays/http-specific-performance |
9+
[**list_arrays_performance**](ArraysApi.md#list_arrays_performance) | **GET** /1.6/arrays/performance |
10+
[**list_arrays_s3_specific_performance**](ArraysApi.md#list_arrays_s3_specific_performance) | **GET** /1.6/arrays/s3-specific-performance |
11+
[**list_arrays_space**](ArraysApi.md#list_arrays_space) | **GET** /1.6/arrays/space |
12+
[**list_clients_performance**](ArraysApi.md#list_clients_performance) | **GET** /1.6/arrays/clients/performance |
13+
[**update_arrays**](ArraysApi.md#update_arrays) | **PATCH** /1.6/arrays |
1414

1515

1616
# **list_arrays**
@@ -92,8 +92,8 @@ if res:
9292

9393
Name | Type | Description | Notes
9494
------------- | ------------- | ------------- | -------------
95-
**start_time** | **int**| time to start sample in milliseconds since epoch | [optional]
96-
**end_time** | **int**| time to end sample in milliseconds since epoch | [optional]
95+
**start_time** | **int**| Time to start sample in milliseconds since epoch. | [optional]
96+
**end_time** | **int**| Time to end sample in milliseconds since epoch. | [optional]
9797
**resolution** | **int**| sample frequency in milliseconds | [optional] [default to 30000]
9898

9999
### Return type
@@ -151,8 +151,8 @@ if res:
151151

152152
Name | Type | Description | Notes
153153
------------- | ------------- | ------------- | -------------
154-
**start_time** | **int**| time to start sample in milliseconds since epoch | [optional]
155-
**end_time** | **int**| time to end sample in milliseconds since epoch | [optional]
154+
**start_time** | **int**| Time to start sample in milliseconds since epoch. | [optional]
155+
**end_time** | **int**| Time to end sample in milliseconds since epoch. | [optional]
156156
**resolution** | **int**| sample frequency in milliseconds | [optional] [default to 30000]
157157
**protocol** | **str**| to sample performance of a certain protocol | [optional]
158158

@@ -207,8 +207,8 @@ if res:
207207

208208
Name | Type | Description | Notes
209209
------------- | ------------- | ------------- | -------------
210-
**start_time** | **int**| time to start sample in milliseconds since epoch | [optional]
211-
**end_time** | **int**| time to end sample in milliseconds since epoch | [optional]
210+
**start_time** | **int**| Time to start sample in milliseconds since epoch. | [optional]
211+
**end_time** | **int**| Time to end sample in milliseconds since epoch. | [optional]
212212
**resolution** | **int**| sample frequency in milliseconds | [optional] [default to 30000]
213213

214214
### Return type
@@ -265,8 +265,8 @@ if res:
265265

266266
Name | Type | Description | Notes
267267
------------- | ------------- | ------------- | -------------
268-
**start_time** | **int**| time to start sample in milliseconds since epoch | [optional]
269-
**end_time** | **int**| time to end sample in milliseconds since epoch | [optional]
268+
**start_time** | **int**| Time to start sample in milliseconds since epoch. | [optional]
269+
**end_time** | **int**| Time to end sample in milliseconds since epoch. | [optional]
270270
**resolution** | **int**| sample frequency in milliseconds | [optional] [default to 30000]
271271
**type** | **str**| to sample space of either file systems or object store | [optional]
272272

docs/AuthenticationApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# purity_fb_1dot5.AuthenticationApi
1+
# purity_fb_1dot6.AuthenticationApi
22

33
All URIs are relative to *https://purity_fb_server/api*
44

docs/BladeApi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
# purity_fb_1dot5.BladeApi
1+
# purity_fb_1dot6.BladeApi
22

33
All URIs are relative to *https://purity_fb_server/api*
44

55
Method | HTTP request | Description
66
------------- | ------------- | -------------
7-
[**list_blades**](BladeApi.md#list_blades) | **GET** /1.5/blades |
7+
[**list_blades**](BladeApi.md#list_blades) | **GET** /1.6/blades |
88

99

1010
# **list_blades**

docs/Bucket.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
1010
**destroyed** | **bool** | is the bucket destroyed? False by default. Modifiable. | [optional]
1111
**time_remaining** | **int** | time in milliseconds before the bucket is eradicated. Null if not destroyed. | [optional]
1212
**object_count** | **int** | the number of object within the bucket. | [optional]
13+
**versioning** | **str** | the versioning state for objects within the bucket. Possible values are none, enabled, and suspended. | [optional]
1314

1415
[[Back to Model list]](index.md#documentation-for-models) [[Back to API list]](index.md#endpoint-properties) [[Back to Overview]](index.md)
1516

docs/BucketsApi.md

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
# purity_fb_1dot5.BucketsApi
1+
# purity_fb_1dot6.BucketsApi
22

33
All URIs are relative to *https://purity_fb_server/api*
44

55
Method | HTTP request | Description
66
------------- | ------------- | -------------
7-
[**create_buckets**](BucketsApi.md#create_buckets) | **POST** /1.5/buckets |
8-
[**delete_buckets**](BucketsApi.md#delete_buckets) | **DELETE** /1.5/buckets |
9-
[**list_buckets**](BucketsApi.md#list_buckets) | **GET** /1.5/buckets |
10-
[**update_buckets**](BucketsApi.md#update_buckets) | **PATCH** /1.5/buckets |
7+
[**create_buckets**](BucketsApi.md#create_buckets) | **POST** /1.6/buckets |
8+
[**delete_buckets**](BucketsApi.md#delete_buckets) | **DELETE** /1.6/buckets |
9+
[**list_buckets**](BucketsApi.md#list_buckets) | **GET** /1.6/buckets |
10+
[**update_buckets**](BucketsApi.md#update_buckets) | **PATCH** /1.6/buckets |
1111

1212

1313
# **create_buckets**
@@ -35,8 +35,7 @@ if res:
3535
res = fb.buckets.create_buckets(names=["mybucket"], account=attr)
3636
print(res)
3737
except rest.ApiException as e:
38-
print("Exception when creating bucket: %s\n" % e)
39-
```
38+
print("Exception when creating bucket: %s\n" % e) print("Exception when creating bucket: %s\n" % e)```
4039

4140
### Parameters
4241

@@ -83,8 +82,7 @@ if res:
8382
res = fb.buckets.delete_buckets(names=["mybucket"])
8483
print(res)
8584
except rest.ApiException as e:
86-
print("Exception when creating object store account: %s\n" % e)
87-
```
85+
print("Exception when creating object store account: %s\n" % e) print("Exception when creating object store account: %s\n" % e)```
8886

8987
### Parameters
9088

@@ -142,8 +140,7 @@ if res:
142140
res = fb.buckets.list_buckets(filter='name=\'mybucket*\'')
143141
print(res)
144142
except rest.ApiException as e:
145-
print("Exception when listing buckets: %s\n" % e) print("Exception when listing buckets: %s\n" % e)
146-
```
143+
print("Exception when listing buckets: %s\n" % e) print("Exception when listing buckets: %s\n" % e) print("Exception when listing buckets: %s\n" % e)```
147144

148145
### Parameters
149146

@@ -154,7 +151,7 @@ Name | Type | Description | Notes
154151
**start** | **int**| start | [optional]
155152
**limit** | **int**| limit, should be >= 0 | [optional]
156153
**token** | **str**| token | [optional]
157-
**total_only** | **bool**| return only the total object | [optional] [default to false]
154+
**total_only** | **bool**| Return only the total object. | [optional] [default to false]
158155
**names** | [**list[str]**](str.md)| A list of names. | [optional]
159156

160157
### Return type
@@ -195,8 +192,7 @@ if res:
195192
res = fb.buckets.update_buckets(names=["mybucket"], destroyed=Bucket(destroyed=True))
196193
print(res)
197194
except rest.ApiException as e:
198-
print("Exception when creating object store account: %s\n" % e)
199-
```
195+
print("Exception when creating object store account: %s\n" % e) print("Exception when creating object store account: %s\n" % e)```
200196

201197
### Parameters
202198

0 commit comments

Comments
 (0)