All URIs are relative to https://localhost
| Method | HTTP request | Description |
|---|---|---|
| create_snapshot_aliase | POST /platform/1/snapshot/aliases | |
| create_snapshot_changelist | POST /platform/1/snapshot/changelists | |
| create_snapshot_repstate | POST /platform/1/snapshot/repstates | |
| create_snapshot_schedule | POST /platform/3/snapshot/schedules | |
| create_snapshot_snapshot | POST /platform/1/snapshot/snapshots | |
| delete_snapshot_aliase | DELETE /platform/1/snapshot/aliases/{SnapshotAliaseId} | |
| delete_snapshot_aliases | DELETE /platform/1/snapshot/aliases | |
| delete_snapshot_changelist | DELETE /platform/1/snapshot/changelists/{SnapshotChangelistId} | |
| delete_snapshot_repstate | DELETE /platform/1/snapshot/repstates/{SnapshotRepstateId} | |
| delete_snapshot_schedule | DELETE /platform/3/snapshot/schedules/{SnapshotScheduleId} | |
| delete_snapshot_schedules | DELETE /platform/3/snapshot/schedules | |
| delete_snapshot_snapshot | DELETE /platform/1/snapshot/snapshots/{SnapshotSnapshotId} | |
| delete_snapshot_snapshots | DELETE /platform/1/snapshot/snapshots | |
| get_snapshot_aliase | GET /platform/1/snapshot/aliases/{SnapshotAliaseId} | |
| get_snapshot_changelist | GET /platform/1/snapshot/changelists/{SnapshotChangelistId} | |
| get_snapshot_license | GET /platform/1/snapshot/license | |
| get_snapshot_pending | GET /platform/1/snapshot/pending | |
| get_snapshot_repstate | GET /platform/1/snapshot/repstates/{SnapshotRepstateId} | |
| get_snapshot_schedule | GET /platform/3/snapshot/schedules/{SnapshotScheduleId} | |
| get_snapshot_settings | GET /platform/1/snapshot/settings | |
| get_snapshot_snapshot | GET /platform/1/snapshot/snapshots/{SnapshotSnapshotId} | |
| get_snapshot_snapshots_summary | GET /platform/1/snapshot/snapshots-summary | |
| list_snapshot_aliases | GET /platform/1/snapshot/aliases | |
| list_snapshot_changelists | GET /platform/1/snapshot/changelists | |
| list_snapshot_repstates | GET /platform/1/snapshot/repstates | |
| list_snapshot_schedules | GET /platform/3/snapshot/schedules | |
| list_snapshot_snapshots | GET /platform/1/snapshot/snapshots | |
| update_snapshot_aliase | PUT /platform/1/snapshot/aliases/{SnapshotAliaseId} | |
| update_snapshot_schedule | PUT /platform/3/snapshot/schedules/{SnapshotScheduleId} | |
| update_snapshot_settings | PUT /platform/1/snapshot/settings | |
| update_snapshot_snapshot | PUT /platform/1/snapshot/snapshots/{SnapshotSnapshotId} |
CreateSnapshotAliaseResponse create_snapshot_aliase(snapshot_aliase)
Create a new snapshot alias.
import time
import isi_sdk
from isi_sdk.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basic_auth
isi_sdk.configuration.username = 'YOUR_USERNAME'
isi_sdk.configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = isi_sdk.SnapshotApi()
snapshot_aliase = isi_sdk.SnapshotAliaseCreateParams() # SnapshotAliaseCreateParams |
try:
api_response = api_instance.create_snapshot_aliase(snapshot_aliase)
pprint(api_response)
except ApiException as e:
print "Exception when calling SnapshotApi->create_snapshot_aliase: %s\n" % e| Name | Type | Description | Notes |
|---|---|---|---|
| snapshot_aliase | SnapshotAliaseCreateParams |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CreateSnapshotChangelistResponse create_snapshot_changelist(snapshot_changelist)
Create a new changelist.
import time
import isi_sdk
from isi_sdk.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basic_auth
isi_sdk.configuration.username = 'YOUR_USERNAME'
isi_sdk.configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = isi_sdk.SnapshotApi()
snapshot_changelist = isi_sdk.SnapshotChangelists() # SnapshotChangelists |
try:
api_response = api_instance.create_snapshot_changelist(snapshot_changelist)
pprint(api_response)
except ApiException as e:
print "Exception when calling SnapshotApi->create_snapshot_changelist: %s\n" % e| Name | Type | Description | Notes |
|---|---|---|---|
| snapshot_changelist | SnapshotChangelists |
CreateSnapshotChangelistResponse
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CreateSnapshotRepstateResponse create_snapshot_repstate(snapshot_repstate)
Create a new repstates.
import time
import isi_sdk
from isi_sdk.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basic_auth
isi_sdk.configuration.username = 'YOUR_USERNAME'
isi_sdk.configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = isi_sdk.SnapshotApi()
snapshot_repstate = isi_sdk.SnapshotRepstates() # SnapshotRepstates |
try:
api_response = api_instance.create_snapshot_repstate(snapshot_repstate)
pprint(api_response)
except ApiException as e:
print "Exception when calling SnapshotApi->create_snapshot_repstate: %s\n" % e| Name | Type | Description | Notes |
|---|---|---|---|
| snapshot_repstate | SnapshotRepstates |
CreateSnapshotRepstateResponse
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CreateSnapshotScheduleResponse create_snapshot_schedule(snapshot_schedule)
Create a new schedule.
import time
import isi_sdk
from isi_sdk.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basic_auth
isi_sdk.configuration.username = 'YOUR_USERNAME'
isi_sdk.configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = isi_sdk.SnapshotApi()
snapshot_schedule = isi_sdk.SnapshotScheduleCreateParams() # SnapshotScheduleCreateParams |
try:
api_response = api_instance.create_snapshot_schedule(snapshot_schedule)
pprint(api_response)
except ApiException as e:
print "Exception when calling SnapshotApi->create_snapshot_schedule: %s\n" % e| Name | Type | Description | Notes |
|---|---|---|---|
| snapshot_schedule | SnapshotScheduleCreateParams |
CreateSnapshotScheduleResponse
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SnapshotSnapshotExtended create_snapshot_snapshot(snapshot_snapshot)
Create a new snapshot.
import time
import isi_sdk
from isi_sdk.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basic_auth
isi_sdk.configuration.username = 'YOUR_USERNAME'
isi_sdk.configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = isi_sdk.SnapshotApi()
snapshot_snapshot = isi_sdk.SnapshotSnapshotCreateParams() # SnapshotSnapshotCreateParams |
try:
api_response = api_instance.create_snapshot_snapshot(snapshot_snapshot)
pprint(api_response)
except ApiException as e:
print "Exception when calling SnapshotApi->create_snapshot_snapshot: %s\n" % e| Name | Type | Description | Notes |
|---|---|---|---|
| snapshot_snapshot | SnapshotSnapshotCreateParams |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
delete_snapshot_aliase(snapshot_aliase_id)
Delete the snapshot alias
import time
import isi_sdk
from isi_sdk.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basic_auth
isi_sdk.configuration.username = 'YOUR_USERNAME'
isi_sdk.configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = isi_sdk.SnapshotApi()
snapshot_aliase_id = 'snapshot_aliase_id_example' # str | Delete the snapshot alias
try:
api_instance.delete_snapshot_aliase(snapshot_aliase_id)
except ApiException as e:
print "Exception when calling SnapshotApi->delete_snapshot_aliase: %s\n" % e| Name | Type | Description | Notes |
|---|---|---|---|
| snapshot_aliase_id | str | Delete the snapshot alias |
void (empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
delete_snapshot_aliases()
Delete all or matching snapshot aliases.
import time
import isi_sdk
from isi_sdk.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basic_auth
isi_sdk.configuration.username = 'YOUR_USERNAME'
isi_sdk.configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = isi_sdk.SnapshotApi()
try:
api_instance.delete_snapshot_aliases()
except ApiException as e:
print "Exception when calling SnapshotApi->delete_snapshot_aliases: %s\n" % eThis endpoint does not need any parameter.
void (empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
delete_snapshot_changelist(snapshot_changelist_id)
Delete the specified changelist.
import time
import isi_sdk
from isi_sdk.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basic_auth
isi_sdk.configuration.username = 'YOUR_USERNAME'
isi_sdk.configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = isi_sdk.SnapshotApi()
snapshot_changelist_id = 'snapshot_changelist_id_example' # str | Delete the specified changelist.
try:
api_instance.delete_snapshot_changelist(snapshot_changelist_id)
except ApiException as e:
print "Exception when calling SnapshotApi->delete_snapshot_changelist: %s\n" % e| Name | Type | Description | Notes |
|---|---|---|---|
| snapshot_changelist_id | str | Delete the specified changelist. |
void (empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
delete_snapshot_repstate(snapshot_repstate_id)
Delete the specified repstate.
import time
import isi_sdk
from isi_sdk.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basic_auth
isi_sdk.configuration.username = 'YOUR_USERNAME'
isi_sdk.configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = isi_sdk.SnapshotApi()
snapshot_repstate_id = 'snapshot_repstate_id_example' # str | Delete the specified repstate.
try:
api_instance.delete_snapshot_repstate(snapshot_repstate_id)
except ApiException as e:
print "Exception when calling SnapshotApi->delete_snapshot_repstate: %s\n" % e| Name | Type | Description | Notes |
|---|---|---|---|
| snapshot_repstate_id | str | Delete the specified repstate. |
void (empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
delete_snapshot_schedule(snapshot_schedule_id)
Delete the schedule. This does not affect already created snapshots.
import time
import isi_sdk
from isi_sdk.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basic_auth
isi_sdk.configuration.username = 'YOUR_USERNAME'
isi_sdk.configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = isi_sdk.SnapshotApi()
snapshot_schedule_id = 'snapshot_schedule_id_example' # str | Delete the schedule. This does not affect already created snapshots.
try:
api_instance.delete_snapshot_schedule(snapshot_schedule_id)
except ApiException as e:
print "Exception when calling SnapshotApi->delete_snapshot_schedule: %s\n" % e| Name | Type | Description | Notes |
|---|---|---|---|
| snapshot_schedule_id | str | Delete the schedule. This does not affect already created snapshots. |
void (empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
delete_snapshot_schedules()
Delete all snapshot schedules.
import time
import isi_sdk
from isi_sdk.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basic_auth
isi_sdk.configuration.username = 'YOUR_USERNAME'
isi_sdk.configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = isi_sdk.SnapshotApi()
try:
api_instance.delete_snapshot_schedules()
except ApiException as e:
print "Exception when calling SnapshotApi->delete_snapshot_schedules: %s\n" % eThis endpoint does not need any parameter.
void (empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
delete_snapshot_snapshot(snapshot_snapshot_id)
Delete the snapshot. Deleted snapshots will be placed into a deleting state until the system can reclaim the space used by the snapshot.
import time
import isi_sdk
from isi_sdk.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basic_auth
isi_sdk.configuration.username = 'YOUR_USERNAME'
isi_sdk.configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = isi_sdk.SnapshotApi()
snapshot_snapshot_id = 'snapshot_snapshot_id_example' # str | Delete the snapshot. Deleted snapshots will be placed into a deleting state until the system can reclaim the space used by the snapshot.
try:
api_instance.delete_snapshot_snapshot(snapshot_snapshot_id)
except ApiException as e:
print "Exception when calling SnapshotApi->delete_snapshot_snapshot: %s\n" % e| Name | Type | Description | Notes |
|---|---|---|---|
| snapshot_snapshot_id | str | Delete the snapshot. Deleted snapshots will be placed into a deleting state until the system can reclaim the space used by the snapshot. |
void (empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
delete_snapshot_snapshots(type=type, schedule=schedule)
Delete all or matching snapshots.
import time
import isi_sdk
from isi_sdk.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basic_auth
isi_sdk.configuration.username = 'YOUR_USERNAME'
isi_sdk.configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = isi_sdk.SnapshotApi()
type = 'type_example' # str | Only list snapshots matching this type. (optional)
schedule = 'schedule_example' # str | Only list snapshots created by this schedule. (optional)
try:
api_instance.delete_snapshot_snapshots(type=type, schedule=schedule)
except ApiException as e:
print "Exception when calling SnapshotApi->delete_snapshot_snapshots: %s\n" % e| Name | Type | Description | Notes |
|---|---|---|---|
| type | str | Only list snapshots matching this type. | [optional] |
| schedule | str | Only list snapshots created by this schedule. | [optional] |
void (empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SnapshotAliases get_snapshot_aliase(snapshot_aliase_id)
Retrieve snapshot alias information.
import time
import isi_sdk
from isi_sdk.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basic_auth
isi_sdk.configuration.username = 'YOUR_USERNAME'
isi_sdk.configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = isi_sdk.SnapshotApi()
snapshot_aliase_id = 'snapshot_aliase_id_example' # str | Retrieve snapshot alias information.
try:
api_response = api_instance.get_snapshot_aliase(snapshot_aliase_id)
pprint(api_response)
except ApiException as e:
print "Exception when calling SnapshotApi->get_snapshot_aliase: %s\n" % e| Name | Type | Description | Notes |
|---|---|---|---|
| snapshot_aliase_id | str | Retrieve snapshot alias information. |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SnapshotChangelists get_snapshot_changelist(snapshot_changelist_id)
Retrieve basic information on a changelist.
import time
import isi_sdk
from isi_sdk.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basic_auth
isi_sdk.configuration.username = 'YOUR_USERNAME'
isi_sdk.configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = isi_sdk.SnapshotApi()
snapshot_changelist_id = 'snapshot_changelist_id_example' # str | Retrieve basic information on a changelist.
try:
api_response = api_instance.get_snapshot_changelist(snapshot_changelist_id)
pprint(api_response)
except ApiException as e:
print "Exception when calling SnapshotApi->get_snapshot_changelist: %s\n" % e| Name | Type | Description | Notes |
|---|---|---|---|
| snapshot_changelist_id | str | Retrieve basic information on a changelist. |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
LicenseLicense get_snapshot_license()
Retrieve license information.
import time
import isi_sdk
from isi_sdk.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basic_auth
isi_sdk.configuration.username = 'YOUR_USERNAME'
isi_sdk.configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = isi_sdk.SnapshotApi()
try:
api_response = api_instance.get_snapshot_license()
pprint(api_response)
except ApiException as e:
print "Exception when calling SnapshotApi->get_snapshot_license: %s\n" % eThis endpoint does not need any parameter.
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SnapshotPending get_snapshot_pending(limit=limit, begin=begin, schedule=schedule, end=end, resume=resume)
Return list of snapshots to be taken.
import time
import isi_sdk
from isi_sdk.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basic_auth
isi_sdk.configuration.username = 'YOUR_USERNAME'
isi_sdk.configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = isi_sdk.SnapshotApi()
limit = 56 # int | Return no more than this many result at once (see resume). (optional)
begin = 56 # int | Unix Epoch time to start generating matches. Default is now. (optional)
schedule = 'schedule_example' # str | Limit output only to the named schedule. (optional)
end = 56 # int | Unix Epoch time to end generating matches. Default is forever. (optional)
resume = 'resume_example' # str | Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options). (optional)
try:
api_response = api_instance.get_snapshot_pending(limit=limit, begin=begin, schedule=schedule, end=end, resume=resume)
pprint(api_response)
except ApiException as e:
print "Exception when calling SnapshotApi->get_snapshot_pending: %s\n" % e| Name | Type | Description | Notes |
|---|---|---|---|
| limit | int | Return no more than this many result at once (see resume). | [optional] |
| begin | int | Unix Epoch time to start generating matches. Default is now. | [optional] |
| schedule | str | Limit output only to the named schedule. | [optional] |
| end | int | Unix Epoch time to end generating matches. Default is forever. | [optional] |
| resume | str | Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options). | [optional] |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SnapshotRepstates get_snapshot_repstate(snapshot_repstate_id)
Retrieve basic information on a repstate.
import time
import isi_sdk
from isi_sdk.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basic_auth
isi_sdk.configuration.username = 'YOUR_USERNAME'
isi_sdk.configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = isi_sdk.SnapshotApi()
snapshot_repstate_id = 'snapshot_repstate_id_example' # str | Retrieve basic information on a repstate.
try:
api_response = api_instance.get_snapshot_repstate(snapshot_repstate_id)
pprint(api_response)
except ApiException as e:
print "Exception when calling SnapshotApi->get_snapshot_repstate: %s\n" % e| Name | Type | Description | Notes |
|---|---|---|---|
| snapshot_repstate_id | str | Retrieve basic information on a repstate. |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SnapshotSchedules get_snapshot_schedule(snapshot_schedule_id)
Retrieve the schedule.
import time
import isi_sdk
from isi_sdk.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basic_auth
isi_sdk.configuration.username = 'YOUR_USERNAME'
isi_sdk.configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = isi_sdk.SnapshotApi()
snapshot_schedule_id = 'snapshot_schedule_id_example' # str | Retrieve the schedule.
try:
api_response = api_instance.get_snapshot_schedule(snapshot_schedule_id)
pprint(api_response)
except ApiException as e:
print "Exception when calling SnapshotApi->get_snapshot_schedule: %s\n" % e| Name | Type | Description | Notes |
|---|---|---|---|
| snapshot_schedule_id | str | Retrieve the schedule. |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SnapshotSettings get_snapshot_settings()
List all settings
import time
import isi_sdk
from isi_sdk.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basic_auth
isi_sdk.configuration.username = 'YOUR_USERNAME'
isi_sdk.configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = isi_sdk.SnapshotApi()
try:
api_response = api_instance.get_snapshot_settings()
pprint(api_response)
except ApiException as e:
print "Exception when calling SnapshotApi->get_snapshot_settings: %s\n" % eThis endpoint does not need any parameter.
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SnapshotSnapshots get_snapshot_snapshot(snapshot_snapshot_id)
Retrieve snapshot information.
import time
import isi_sdk
from isi_sdk.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basic_auth
isi_sdk.configuration.username = 'YOUR_USERNAME'
isi_sdk.configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = isi_sdk.SnapshotApi()
snapshot_snapshot_id = 'snapshot_snapshot_id_example' # str | Retrieve snapshot information.
try:
api_response = api_instance.get_snapshot_snapshot(snapshot_snapshot_id)
pprint(api_response)
except ApiException as e:
print "Exception when calling SnapshotApi->get_snapshot_snapshot: %s\n" % e| Name | Type | Description | Notes |
|---|---|---|---|
| snapshot_snapshot_id | str | Retrieve snapshot information. |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SnapshotSnapshotsSummary get_snapshot_snapshots_summary()
Return summary information about snapshots.
import time
import isi_sdk
from isi_sdk.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basic_auth
isi_sdk.configuration.username = 'YOUR_USERNAME'
isi_sdk.configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = isi_sdk.SnapshotApi()
try:
api_response = api_instance.get_snapshot_snapshots_summary()
pprint(api_response)
except ApiException as e:
print "Exception when calling SnapshotApi->get_snapshot_snapshots_summary: %s\n" % eThis endpoint does not need any parameter.
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SnapshotAliasesExtended list_snapshot_aliases(sort=sort, limit=limit, dir=dir, resume=resume)
List all or matching snapshot aliases.
import time
import isi_sdk
from isi_sdk.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basic_auth
isi_sdk.configuration.username = 'YOUR_USERNAME'
isi_sdk.configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = isi_sdk.SnapshotApi()
sort = 'sort_example' # str | The field that will be used for sorting. Choices are id, name, snapshot, and created. Default is id. (optional)
limit = 56 # int | Return no more than this many results at once (see resume). (optional)
dir = 'dir_example' # str | The direction of the sort. (optional)
resume = 'resume_example' # str | Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options). (optional)
try:
api_response = api_instance.list_snapshot_aliases(sort=sort, limit=limit, dir=dir, resume=resume)
pprint(api_response)
except ApiException as e:
print "Exception when calling SnapshotApi->list_snapshot_aliases: %s\n" % e| Name | Type | Description | Notes |
|---|---|---|---|
| sort | str | The field that will be used for sorting. Choices are id, name, snapshot, and created. Default is id. | [optional] |
| limit | int | Return no more than this many results at once (see resume). | [optional] |
| dir | str | The direction of the sort. | [optional] |
| resume | str | Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options). | [optional] |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SnapshotChangelistsExtended list_snapshot_changelists()
List all changelists.
import time
import isi_sdk
from isi_sdk.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basic_auth
isi_sdk.configuration.username = 'YOUR_USERNAME'
isi_sdk.configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = isi_sdk.SnapshotApi()
try:
api_response = api_instance.list_snapshot_changelists()
pprint(api_response)
except ApiException as e:
print "Exception when calling SnapshotApi->list_snapshot_changelists: %s\n" % eThis endpoint does not need any parameter.
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SnapshotRepstatesExtended list_snapshot_repstates()
List all repstates.
import time
import isi_sdk
from isi_sdk.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basic_auth
isi_sdk.configuration.username = 'YOUR_USERNAME'
isi_sdk.configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = isi_sdk.SnapshotApi()
try:
api_response = api_instance.list_snapshot_repstates()
pprint(api_response)
except ApiException as e:
print "Exception when calling SnapshotApi->list_snapshot_repstates: %s\n" % eThis endpoint does not need any parameter.
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SnapshotSchedulesExtended list_snapshot_schedules(sort=sort, limit=limit, dir=dir, resume=resume)
List all or matching schedules.
import time
import isi_sdk
from isi_sdk.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basic_auth
isi_sdk.configuration.username = 'YOUR_USERNAME'
isi_sdk.configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = isi_sdk.SnapshotApi()
sort = 'sort_example' # str | The field that will be used for sorting. Choices are id, name, path, pattern, schedule, duration, alias, next_run, and next_snapshot. Default is id. (optional)
limit = 56 # int | Return no more than this many results at once (see resume). (optional)
dir = 'dir_example' # str | The direction of the sort. (optional)
resume = 'resume_example' # str | Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options). (optional)
try:
api_response = api_instance.list_snapshot_schedules(sort=sort, limit=limit, dir=dir, resume=resume)
pprint(api_response)
except ApiException as e:
print "Exception when calling SnapshotApi->list_snapshot_schedules: %s\n" % e| Name | Type | Description | Notes |
|---|---|---|---|
| sort | str | The field that will be used for sorting. Choices are id, name, path, pattern, schedule, duration, alias, next_run, and next_snapshot. Default is id. | [optional] |
| limit | int | Return no more than this many results at once (see resume). | [optional] |
| dir | str | The direction of the sort. | [optional] |
| resume | str | Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options). | [optional] |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SnapshotSnapshotsExtended list_snapshot_snapshots(sort=sort, schedule=schedule, resume=resume, state=state, limit=limit, type=type, dir=dir)
List all or matching snapshots.
import time
import isi_sdk
from isi_sdk.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basic_auth
isi_sdk.configuration.username = 'YOUR_USERNAME'
isi_sdk.configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = isi_sdk.SnapshotApi()
sort = 'sort_example' # str | The field that will be used for sorting. Choices are id, name, path, created, expires, size, has_locks, schedule, alias_target, alias_target_name, pct_filesystem, pct_reserve, and state. Default is id. (optional)
schedule = 'schedule_example' # str | Only list snapshots created by this schedule. (optional)
resume = 'resume_example' # str | Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options). (optional)
state = 'state_example' # str | Only list snapshots matching this state. (optional)
limit = 56 # int | Return no more than this many results at once (see resume). (optional)
type = 'type_example' # str | Only list snapshots matching this type. (optional)
dir = 'dir_example' # str | The direction of the sort. (optional)
try:
api_response = api_instance.list_snapshot_snapshots(sort=sort, schedule=schedule, resume=resume, state=state, limit=limit, type=type, dir=dir)
pprint(api_response)
except ApiException as e:
print "Exception when calling SnapshotApi->list_snapshot_snapshots: %s\n" % e| Name | Type | Description | Notes |
|---|---|---|---|
| sort | str | The field that will be used for sorting. Choices are id, name, path, created, expires, size, has_locks, schedule, alias_target, alias_target_name, pct_filesystem, pct_reserve, and state. Default is id. | [optional] |
| schedule | str | Only list snapshots created by this schedule. | [optional] |
| resume | str | Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options). | [optional] |
| state | str | Only list snapshots matching this state. | [optional] |
| limit | int | Return no more than this many results at once (see resume). | [optional] |
| type | str | Only list snapshots matching this type. | [optional] |
| dir | str | The direction of the sort. | [optional] |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
update_snapshot_aliase(snapshot_aliase, snapshot_aliase_id)
Modify snapshot alias. All input fields are optional, but one or more must be supplied.
import time
import isi_sdk
from isi_sdk.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basic_auth
isi_sdk.configuration.username = 'YOUR_USERNAME'
isi_sdk.configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = isi_sdk.SnapshotApi()
snapshot_aliase = isi_sdk.SnapshotAliase() # SnapshotAliase |
snapshot_aliase_id = 'snapshot_aliase_id_example' # str | Modify snapshot alias. All input fields are optional, but one or more must be supplied.
try:
api_instance.update_snapshot_aliase(snapshot_aliase, snapshot_aliase_id)
except ApiException as e:
print "Exception when calling SnapshotApi->update_snapshot_aliase: %s\n" % e| Name | Type | Description | Notes |
|---|---|---|---|
| snapshot_aliase | SnapshotAliase | ||
| snapshot_aliase_id | str | Modify snapshot alias. All input fields are optional, but one or more must be supplied. |
void (empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
update_snapshot_schedule(snapshot_schedule, snapshot_schedule_id)
Modify the schedule. All input fields are optional, but one or more must be supplied.
import time
import isi_sdk
from isi_sdk.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basic_auth
isi_sdk.configuration.username = 'YOUR_USERNAME'
isi_sdk.configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = isi_sdk.SnapshotApi()
snapshot_schedule = isi_sdk.SnapshotSchedule() # SnapshotSchedule |
snapshot_schedule_id = 'snapshot_schedule_id_example' # str | Modify the schedule. All input fields are optional, but one or more must be supplied.
try:
api_instance.update_snapshot_schedule(snapshot_schedule, snapshot_schedule_id)
except ApiException as e:
print "Exception when calling SnapshotApi->update_snapshot_schedule: %s\n" % e| Name | Type | Description | Notes |
|---|---|---|---|
| snapshot_schedule | SnapshotSchedule | ||
| snapshot_schedule_id | str | Modify the schedule. All input fields are optional, but one or more must be supplied. |
void (empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
update_snapshot_settings(snapshot_settings)
Modify one or more settings.
import time
import isi_sdk
from isi_sdk.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basic_auth
isi_sdk.configuration.username = 'YOUR_USERNAME'
isi_sdk.configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = isi_sdk.SnapshotApi()
snapshot_settings = isi_sdk.SnapshotSettingsExtended() # SnapshotSettingsExtended |
try:
api_instance.update_snapshot_settings(snapshot_settings)
except ApiException as e:
print "Exception when calling SnapshotApi->update_snapshot_settings: %s\n" % e| Name | Type | Description | Notes |
|---|---|---|---|
| snapshot_settings | SnapshotSettingsExtended |
void (empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
update_snapshot_snapshot(snapshot_snapshot, snapshot_snapshot_id)
Modify snapshot. All input fields are optional, but one or more must be supplied.
import time
import isi_sdk
from isi_sdk.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basic_auth
isi_sdk.configuration.username = 'YOUR_USERNAME'
isi_sdk.configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = isi_sdk.SnapshotApi()
snapshot_snapshot = isi_sdk.SnapshotSnapshot() # SnapshotSnapshot |
snapshot_snapshot_id = 'snapshot_snapshot_id_example' # str | Modify snapshot. All input fields are optional, but one or more must be supplied.
try:
api_instance.update_snapshot_snapshot(snapshot_snapshot, snapshot_snapshot_id)
except ApiException as e:
print "Exception when calling SnapshotApi->update_snapshot_snapshot: %s\n" % e| Name | Type | Description | Notes |
|---|---|---|---|
| snapshot_snapshot | SnapshotSnapshot | ||
| snapshot_snapshot_id | str | Modify snapshot. All input fields are optional, but one or more must be supplied. |
void (empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]