isi-sdk-8-0

Isilon SDK - Language bindings for the OneFS API

This Python package is automatically generated by the Swagger Codegen project:

Requirements.

Python 2.7 and 3.4+

Installation & Usage

pip install

If the python package is hosted on Github, you can install directly from Github

pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git

(you may need to run pip with root permission: sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git)

Then import the package:

import isi_sdk_8_0

Getting Started

Please follow the installation procedure and then run the following:

from __future__ import print_function
import time
import isi_sdk_8_0
from isi_sdk_8_0.rest import ApiException
from pprint import pprint

api_instance = isi_sdk_8_0.AntivirusApi()
antivirus_policy = isi_sdk_8_0.AntivirusPolicyCreateParams() # AntivirusPolicyCreateParams |

try:
    api_response = api_instance.create_antivirus_policy(antivirus_policy)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AntivirusApi->create_antivirus_policy: %s\n" % e)