diff --git a/.DS_Store b/.DS_Store deleted file mode 100644 index c5c864be1..000000000 Binary files a/.DS_Store and /dev/null differ diff --git a/.dockerignore b/.dockerignore deleted file mode 100644 index 299a20858..000000000 --- a/.dockerignore +++ /dev/null @@ -1,6 +0,0 @@ -.gitignore -LICENSE -*.md -reference/ -.mypy_cache/ -.pytest_cache/ diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 448ab4da3..000000000 --- a/.gitignore +++ /dev/null @@ -1,108 +0,0 @@ -# Byte-compiled / optimized / DLL files -__pycache__/ -*.py[cod] -*$py.class - -# C extensions -*.so - -# Docs -_build/ - -# Distribution / packaging -.Python -build/ -develop-eggs/ -dist/ -downloads/ -eggs/ -.eggs/ -lib/ -lib64/ -parts/ -sdist/ -var/ -wheels/ -*.egg-info/ -.installed.cfg -*.egg -MANIFEST - -# PyInstaller -# Usually these files are written by a python script from a template -# before PyInstaller builds the exe, so as to inject date/other infos into it. -*.manifest -*.spec - -# Installer logs -pip-log.txt -pip-delete-this-directory.txt - -# Unit test / coverage reports -htmlcov/ -.tox/ -.coverage -.coverage.* -.cache -nosetests.xml -coverage.xml -*.cover -.hypothesis/ -.pytest_cache/ - -# Translations -*.mo -*.pot - -# Django stuff: -*.log -local_settings.py -db.sqlite3 - -# Flask stuff: -instance/ -.webassets-cache - -# Scrapy stuff: -.scrapy - -# Sphinx documentation -docs/_build/ - -# PyBuilder -target/ - -# Jupyter Notebook -.ipynb_checkpoints - -# pyenv -.python-version - -# celery beat schedule file -celerybeat-schedule - -# SageMath parsed files -*.sage.py - -# Environments -.env -.venv -env/ -venv/ -ENV/ -env.bak/ -venv.bak/ - -# Spyder project settings -.spyderproject -.spyproject - -# Rope project settings -.ropeproject - -# mkdocs documentation -/site - -# mypy -.mypy_cache/ -.vscode/settings.json diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml deleted file mode 100644 index 36df43c44..000000000 --- a/.pre-commit-config.yaml +++ /dev/null @@ -1,25 +0,0 @@ -repos: -- repo: https://github.com/pre-commit/pre-commit-hooks - rev: 'v2.1.0' - hooks: - - id: trailing-whitespace - - id: check-executables-have-shebangs - - id: check-merge-conflict - - id: debug-statements - - id: end-of-file-fixer - - id: fix-encoding-pragma -- repo: https://github.com/antonbabenko/pre-commit-terraform - rev: 'v1.11.0' - hooks: - - id: terraform_fmt - - id: terraform_docs -- repo: https://github.com/jumanjihouse/pre-commit-hooks - sha: '1.11.0' - hooks: - - id: forbid-binary - - id: markdownlint - - id: require-ascii -- repo: https://github.com/pre-commit/mirrors-isort - rev: 'v4.3.17' - hooks: - - id: isort diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 02e7d6a74..000000000 --- a/.travis.yml +++ /dev/null @@ -1,53 +0,0 @@ -language: python -dist: xenial -sudo: true -os: - - linux -install: "make" - -services: - - docker - -cache: pip - -script: - - | - if [[ "$TRAVIS_PYTHON_VERSION" != "2.6" ]] ; then make test-readme; fi - - make ci - -jobs: - include: - - stage: lint - script: - - make lint - python: '3.7' - - stage: test - script: - - make ci - python: '3.6' - - stage: test - script: - - make ci - python: '3.7' - dist: xenial - # - stage: test - # script: - # - make ci - # python: '3.8' - # dist: xenial - - stage: coverage - python: '3.7' - script: codecov - - stage: build-docs - python: '3.7' - script: pydocmd build - deploy: - provider: pages - skip-cleanup: true - github-token: $GITHUB_TOKEN - keep-history: true - local-dir: _build/site - fqdn: cloudendurepy.github.io - target-branch: gh-pages - on: - branch: master diff --git a/404.html b/404.html new file mode 100644 index 000000000..f9932c36b --- /dev/null +++ b/404.html @@ -0,0 +1,1800 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + + +
+
+ +

404 - Not found

+ + + + + + +
+
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index ffdafa02e..000000000 --- a/Dockerfile +++ /dev/null @@ -1,19 +0,0 @@ -FROM python:3.7.3-slim-stretch - -WORKDIR /app - -ARG SYSTEM_PACKAGES="make" - -RUN apt-get -qq update -RUN apt-get -qq upgrade -RUN apt-get -qq install ${SYSTEM_PACKAGES} - -COPY . /app - -RUN pip install --upgrade pip -RUN pip install --upgrade wheel setuptools twine pipenv -RUN pipenv install --dev --system --deploy - -RUN apt-get clean autoclean && \ - apt-get autoremove --yes && \ - rm -rf /var/lib/{apt,dpkg,cache,log}/ diff --git a/Dockerfile-py38 b/Dockerfile-py38 deleted file mode 100644 index a62309bb0..000000000 --- a/Dockerfile-py38 +++ /dev/null @@ -1,11 +0,0 @@ -FROM python:3.8-rc-slim-stretch - -ARG SYSTEM_PACKAGES="make" - -RUN apt-get -qq update && \ - apt-get -qq upgrade && \ - apt-get -qq install ${SYSTEM_PACKAGES} - -RUN pip install --upgrade pip && \ - pip install --upgrade wheel setuptools twine pipenv && \ - pipenv install --dev --system --deploy diff --git a/LICENSE b/LICENSE deleted file mode 100644 index 842732752..000000000 --- a/LICENSE +++ /dev/null @@ -1,7 +0,0 @@ -Copyright 2019 Mark Beacom - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/MANIFEST.in b/MANIFEST.in deleted file mode 100644 index 64ad321df..000000000 --- a/MANIFEST.in +++ /dev/null @@ -1 +0,0 @@ -include README.md LICENSE diff --git a/Makefile b/Makefile deleted file mode 100644 index 8b51aebbf..000000000 --- a/Makefile +++ /dev/null @@ -1,69 +0,0 @@ -# Define make entry and help functionality -.DEFAULT_GOAL := help - -.PHONY: help - -REPO_NAME := mbeacom/cloudendure-py -SHA1 := $$(git log -1 --pretty=%h) -CURRENT_BRANCH := $$(git symbolic-ref -q --short HEAD) - -info: ## Show information about the current git state. - @echo "Github Project: https://github.com/${REPO_NAME}\nCurrent Branch: ${CURRENT_BRANCH}\nSHA1: ${SHA1}\n" - -update_prereqs: ## Update the local development pre-requisite packages. - @pip install --upgrade pipenv wheel setuptools pip - -install-py-deps: update_prereqs ## Install the Python dependencies specified in the Pipfile.lock. - @echo "Installing Python project dependencies..." - @pipenv install --dev --pre - @echo "Python dependencies installed!" - -init: ## Initialize the project. - @pip install --upgrade pipenv wheel setuptools pip - @pipenv install --dev --pre - -ci: ## Run the CI specific tests. - @pipenv run py.test -n 8 --boxed --junitxml=report.xml - -flake8: ## Run Flake8 against the project. - @pipenv run flake8 --ignore=E501,F401,E128,E402,E731,F821 cloudendure - -yapf: ## Run YAPF against the project. - @pipenv run yapf cloudendure - -isort: ## Run isort against the project. - @pipenv run isort -sp=setup.cfg -rc . - -coverage: ## Generate a test coverage report. - pipenv run py.test --cov-config .coveragerc --verbose --cov-report term --cov-report xml --cov=cloudendure tests - -publish: ## Publish the package to PyPi. - pipenv run python3 setup.py sdist bdist_wheel --universal - pipenv run twine upload dist/* - rm -fr build dist .egg requests.egg-info - -docs: ## Build the documentation. - pipenv run pydocmd build - -update_fork: ## Update the current fork master branch with upstream master. - @echo "Updating the current fork with the upstream master branch..." - @git checkout master - @git fetch upstream - @git merge upstream/master - @git push origin master - @echo "Updated!" - -gen_client: ## Generate the swagger client from the API config. - @swagger-codegen generate -i https://console.cloudendure.com/api_doc/apis.json -l python --model-name-prefix CloudEndure --git-user-id mbeacom --git-repo-id cloudendure-py -c reference/swagger_config.json -o gen/ - -update_deps: update_prereqs ## Update the package dependencies via pipenv. - @pipenv update --pre --dev - -build: update_deps ## Build and package the project for PyPi source and wheel distribution. - @pipenv run python3 setup.py sdist bdist_wheel --universal - -install: isort build ## Install the local development version of the module. - @pipenv install . - -help: ## Show this help information. - @grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[33m%-25s\033[0m %s\n", $$1, $$2}' diff --git a/Pipfile b/Pipfile deleted file mode 100644 index 08c4a107e..000000000 --- a/Pipfile +++ /dev/null @@ -1,51 +0,0 @@ -[[source]] -name = "pypi" -url = "https://pypi.org/simple" -verify_ssl = true - -[dev-packages] -isort = "*" -yapf = "*" -pylint = "*" -flake8 = "*" -black = "*" -bandit = "*" -autopep8 = "*" -pycodestyle = "*" -pydocstyle = "*" -pytest = "*" -pytest-sugar = "*" -pytest-isort = "*" -coverage = "*" -codecov = "*" -pytest-cov = "*" -mock = "*" -responses = "*" -twine = "*" -mypy = "*" -pep8 = "*" -pymdown-extensions = "*" -mkdocs = "*" -mkdocs-material = "*" -pydoc-markdown = "*" -nose = "*" -pluggy = "*" -py = "*" -randomize = "*" - -[packages] -requests = "*" -boto3 = "*" -fire = "*" -cloudendure = {path = "."} -six = "*" -certifi = "*" -python-dateutil = "*" -setuptools = "*" -urllib3 = "*" - -[requires] -python_version = "3.7" - -[pipenv] -allow_prereleases = true diff --git a/Pipfile.lock b/Pipfile.lock deleted file mode 100644 index 08898a76c..000000000 --- a/Pipfile.lock +++ /dev/null @@ -1,781 +0,0 @@ -{ - "_meta": { - "hash": { - "sha256": "0e6d838a8de168670c947866dd12d0818fc8f53914dd0c7f034a00397a1b54ca" - }, - "pipfile-spec": 6, - "requires": { - "python_version": "3.7" - }, - "sources": [ - { - "name": "pypi", - "url": "https://pypi.org/simple", - "verify_ssl": true - } - ] - }, - "default": { - "boto3": { - "hashes": [ - "sha256:98516650f72c02d0c7b47e6f0df69c19a0d1046d3973783ed7b0f093e8e81adb", - "sha256:aa06b240e49dbc8443bd96086c92baa0275281e0f7cc0439a328fef9ac254253" - ], - "index": "pypi", - "version": "==1.9.157" - }, - "botocore": { - "hashes": [ - "sha256:2ded06af31f9e423fcf549e35f2fa0fd618e12995e37ebc52186dbaa870316c6", - "sha256:473955cd4eda6121047205fc43c56ab0e0616b93651bac5e9c747fc180603fe2" - ], - "version": "==1.12.157" - }, - "certifi": { - "hashes": [ - "sha256:59b7658e26ca9c7339e00f8f4636cdfe59d34fa37b9b04f6f9e9926b3cece1a5", - "sha256:b26104d6835d1f5e49452a26eb2ff87fe7090b89dfcaee5ea2212697e1e1d7ae" - ], - "index": "pypi", - "version": "==2019.3.9" - }, - "chardet": { - "hashes": [ - "sha256:84ab92ed1c4d4f16916e05906b6b75a6c0fb5db821cc65e70cbd64a3e2a5eaae", - "sha256:fc323ffcaeaed0e0a02bf4d117757b98aed530d9ed4531e3e15460124c106691" - ], - "version": "==3.0.4" - }, - "cloudendure": { - "path": "." - }, - "docutils": { - "hashes": [ - "sha256:02aec4bd92ab067f6ff27a38a38a41173bf01bed8f89157768c1573f53e474a6", - "sha256:51e64ef2ebfb29cae1faa133b3710143496eca21c530f3f71424d77687764274", - "sha256:7a4bd47eaf6596e1295ecb11361139febe29b084a87bf005bf899f9a42edc3c6" - ], - "version": "==0.14" - }, - "fire": { - "hashes": [ - "sha256:c299d16064ff81cbb649b65988300d4a28b71ecfb789d1fb74d99ea98ae4d2eb" - ], - "index": "pypi", - "version": "==0.1.3" - }, - "idna": { - "hashes": [ - "sha256:c357b3f628cf53ae2c4c05627ecc484553142ca23264e593d327bcde5e9c3407", - "sha256:ea8b7f6188e6fa117537c3df7da9fc686d485087abf6ac197f9c46432f7e4a3c" - ], - "version": "==2.8" - }, - "jmespath": { - "hashes": [ - "sha256:3720a4b1bd659dd2eecad0666459b9788813e032b83e7ba58578e48254e0a0e6", - "sha256:bde2aef6f44302dfb30320115b17d030798de8c4110e28d5cf6cf91a7a31074c" - ], - "version": "==0.9.4" - }, - "python-dateutil": { - "hashes": [ - "sha256:7e6584c74aeed623791615e26efd690f29817a27c73085b78e4bad02493df2fb", - "sha256:c89805f6f4d64db21ed966fda138f8a5ed7a4fdbc1a8ee329ce1b74e3c74da9e" - ], - "index": "pypi", - "version": "==2.8.0" - }, - "requests": { - "hashes": [ - "sha256:11e007a8a2aa0323f5a921e9e6a2d7e4e67d9877e85773fba9ba6419025cbeb4", - "sha256:9cf5292fcd0f598c671cfc1e0d7d1a7f13bb8085e9a590f48c010551dc6c4b31" - ], - "index": "pypi", - "version": "==2.22.0" - }, - "s3transfer": { - "hashes": [ - "sha256:7b9ad3213bff7d357f888e0fab5101b56fa1a0548ee77d121c3a3dbfbef4cb2e", - "sha256:f23d5cb7d862b104401d9021fc82e5fa0e0cf57b7660a1331425aab0c691d021" - ], - "version": "==0.2.0" - }, - "six": { - "hashes": [ - "sha256:3350809f0555b11f552448330d0b52d5f24c91a322ea4a15ef22629740f3761c", - "sha256:d16a0141ec1a18405cd4ce8b4613101da75da0e9a7aec5bdd4fa804d0e0eba73" - ], - "index": "pypi", - "version": "==1.12.0" - }, - "urllib3": { - "hashes": [ - "sha256:b246607a25ac80bedac05c6f282e3cdaf3afb65420fd024ac94435cabe6e18d1", - "sha256:dbe59173209418ae49d485b87d1681aefa36252ee85884c31346debd19463232" - ], - "index": "pypi", - "version": "==1.25.3" - } - }, - "develop": { - "appdirs": { - "hashes": [ - "sha256:9e5896d1372858f8dd3344faf4e5014d21849c756c8d5701f78f8a103b372d92", - "sha256:d8b24664561d0d34ddfaec54636d502d7cea6e29c3eaf68f3df6180863e2166e" - ], - "version": "==1.4.3" - }, - "astroid": { - "hashes": [ - "sha256:6560e1e1749f68c64a4b5dee4e091fce798d2f0d84ebe638cf0e0585a343acf4", - "sha256:b65db1bbaac9f9f4d190199bb8680af6f6f84fd3769a5ea883df8a91fe68b4c4" - ], - "version": "==2.2.5" - }, - "atomicwrites": { - "hashes": [ - "sha256:03472c30eb2c5d1ba9227e4c2ca66ab8287fbfbbda3888aa93dc2e28fc6811b4", - "sha256:75a9445bac02d8d058d5e1fe689654ba5a6556a1dfd8ce6ec55a0ed79866cfa6" - ], - "version": "==1.3.0" - }, - "attrs": { - "hashes": [ - "sha256:69c0dbf2ed392de1cb5ec704444b08a5ef81680a61cb899dc08127123af36a79", - "sha256:f0b870f674851ecbfbbbd364d6b5cbdff9dcedbc7f3f5e18a6891057f21fe399" - ], - "version": "==19.1.0" - }, - "autopep8": { - "hashes": [ - "sha256:4d8eec30cc81bc5617dbf1218201d770dc35629363547f17577c61683ccfb3ee" - ], - "index": "pypi", - "version": "==1.4.4" - }, - "bandit": { - "hashes": [ - "sha256:d31a7b0819fe95d591106ba2d6c35568a513aba24db537ca71984781312a8e95", - "sha256:e50fb4ed4ee8a98b8329385e48e606fded0999a2cb3e2acb6e7213c962ff0de1" - ], - "index": "pypi", - "version": "==1.6.0" - }, - "black": { - "hashes": [ - "sha256:09a9dcb7c46ed496a9850b76e4e825d6049ecd38b611f1224857a79bd985a8cf", - "sha256:68950ffd4d9169716bcb8719a56c07a2f4485354fec061cdd5910aa07369731c" - ], - "index": "pypi", - "version": "==19.3b0" - }, - "bleach": { - "hashes": [ - "sha256:213336e49e102af26d9cde77dd2d0397afabc5a6bf2fed985dc35b5d1e285a16", - "sha256:3fdf7f77adcf649c9911387df51254b813185e32b2c6619f690b593a617e19fa" - ], - "version": "==3.1.0" - }, - "certifi": { - "hashes": [ - "sha256:59b7658e26ca9c7339e00f8f4636cdfe59d34fa37b9b04f6f9e9926b3cece1a5", - "sha256:b26104d6835d1f5e49452a26eb2ff87fe7090b89dfcaee5ea2212697e1e1d7ae" - ], - "index": "pypi", - "version": "==2019.3.9" - }, - "chardet": { - "hashes": [ - "sha256:84ab92ed1c4d4f16916e05906b6b75a6c0fb5db821cc65e70cbd64a3e2a5eaae", - "sha256:fc323ffcaeaed0e0a02bf4d117757b98aed530d9ed4531e3e15460124c106691" - ], - "version": "==3.0.4" - }, - "click": { - "hashes": [ - "sha256:2335065e6395b9e67ca716de5f7526736bfa6ceead690adf616d925bdc622b13", - "sha256:5b94b49521f6456670fdb30cd82a4eca9412788a93fa6dd6df72c94d5a8ff2d7" - ], - "version": "==7.0" - }, - "codecov": { - "hashes": [ - "sha256:8ed8b7c6791010d359baed66f84f061bba5bd41174bf324c31311e8737602788", - "sha256:ae00d68e18d8a20e9c3288ba3875ae03db3a8e892115bf9b83ef20507732bed4" - ], - "index": "pypi", - "version": "==2.0.15" - }, - "coverage": { - "hashes": [ - "sha256:0402b1822d513d0231589494bceddb067d20581f5083598c451b56c684b0e5d6", - "sha256:0644e28e8aea9d9d563607ee8b7071b07dd57a4a3de11f8684cd33c51c0d1b93", - "sha256:0874a283686803884ec0665018881130604956dbaa344f2539c46d82cbe29eda", - "sha256:0988c3837df4bc371189bb3425d5232cf150055452034c232dda9cbe04f9c38e", - "sha256:20bc3205b3100956bb72293fabb97f0ed972c81fed10b3251c90c70dcb0599ab", - "sha256:2cc9142a3367e74eb6b19d58c53ebb1dfd7336b91cdcc91a6a2888bf8c7af984", - "sha256:3ae9a0a59b058ce0761c3bd2c2d66ecb2ee2b8ac592620184370577f7a546fb3", - "sha256:3b2e30b835df58cb973f478d09f3d82e90c98c8e5059acc245a8e4607e023801", - "sha256:401e9b04894eb1498c639c6623ee78a646990ce5f095248e2440968aafd6e90e", - "sha256:41ec5812d5decdaa72708be3018e7443e90def4b5a71294236a4df192cf9eab9", - "sha256:475769b638a055e75b3d3219e054fe2a023c0b077ff15bff6c95aba7e93e6cac", - "sha256:61424f4e2e82c4129a4ba71e10ebacb32a9ecd6f80de2cd05bdead6ba75ed736", - "sha256:811969904d4dd0bee7d958898be8d9d75cef672d9b7e7db819dfeac3d20d2d0c", - "sha256:86224bb99abfd672bf2f9fcecad5e8d7a3fa94f7f71513f2210460a0350307cd", - "sha256:9a238a20a3af00665f8381f7e53e9c606f9bb652d2423f6b822f6cb790d887e8", - "sha256:a23b3fbc14d4e6182ecebfd22f3729beef0636d151d94764a1c28330d185e4e5", - "sha256:ac162b4ebe51b7a2b7f5e462c4402802633eb81e77c94f8a7c1ed8a556e72c75", - "sha256:b6187378726c84365bf297b5dcdae8789b6a5823b200bea23797777e5a63be09", - "sha256:bcd5723d905ed4a825f17410a53535f880b6d7548ae3d89078db7b1ceefcd853", - "sha256:c48a4f9c5fb385269bb7fbaf9c1326a94863b65ec7f5c96b2ea56b252f01ad08", - "sha256:cd40199d6f1c29c85b170d25589be9a97edff8ee7e62be180a2a137823896030", - "sha256:d1bc331a7d069485ac1d8c25a0ea1f6aab6cb2a87146fb652222481c1bddc9ff", - "sha256:d7e0cdc249aa0f94aa2e531b03999ddaf03a10b4fa090a894712d4c8066abd89", - "sha256:e9ee8fcd8e067fcc5d7276d46e07e863102b70a52545ef4254df1ff0893ce75f", - "sha256:eb313c23d983b7810504f42104e8dcd1c7ccdda8fbaab82aab92ab79fea19345", - "sha256:f9cfd478654b509941b85ed70f870f5e3c74678f566bec12fd26545e5340ba47", - "sha256:fae1fa144034d021a52cb9ea200eb8dedf91869c6df8202ad5d149b41ed91cc8" - ], - "index": "pypi", - "version": "==5.0a5" - }, - "docutils": { - "hashes": [ - "sha256:02aec4bd92ab067f6ff27a38a38a41173bf01bed8f89157768c1573f53e474a6", - "sha256:51e64ef2ebfb29cae1faa133b3710143496eca21c530f3f71424d77687764274", - "sha256:7a4bd47eaf6596e1295ecb11361139febe29b084a87bf005bf899f9a42edc3c6" - ], - "version": "==0.14" - }, - "entrypoints": { - "hashes": [ - "sha256:589f874b313739ad35be6e0cd7efde2a4e9b6fea91edcc34e58ecbb8dbe56d19", - "sha256:c70dd71abe5a8c85e55e12c19bd91ccfeec11a6e99044204511f9ed547d48451" - ], - "version": "==0.3" - }, - "flake8": { - "hashes": [ - "sha256:859996073f341f2670741b51ec1e67a01da142831aa1fdc6242dbf88dffbe661", - "sha256:a796a115208f5c03b18f332f7c11729812c8c3ded6c46319c59b53efd3819da8" - ], - "index": "pypi", - "version": "==3.7.7" - }, - "gitdb2": { - "hashes": [ - "sha256:83361131a1836661a155172932a13c08bda2db3674e4caa32368aa6eb02f38c2", - "sha256:e3a0141c5f2a3f635c7209d56c496ebe1ad35da82fe4d3ec4aaa36278d70648a" - ], - "version": "==2.0.5" - }, - "gitpython": { - "hashes": [ - "sha256:563221e5a44369c6b79172f455584c9ebbb122a13368cc82cb4b5addff788f82", - "sha256:8237dc5bfd6f1366abeee5624111b9d6879393d84745a507de0fda86043b65a8" - ], - "version": "==2.1.11" - }, - "idna": { - "hashes": [ - "sha256:c357b3f628cf53ae2c4c05627ecc484553142ca23264e593d327bcde5e9c3407", - "sha256:ea8b7f6188e6fa117537c3df7da9fc686d485087abf6ac197f9c46432f7e4a3c" - ], - "version": "==2.8" - }, - "importlib-metadata": { - "hashes": [ - "sha256:027cfc6524613de726789072f95d2e4cc64dd1dee8096d42d13f2ead5bd302f5", - "sha256:0d05199e1f0b1a8707a1b9c46476d4a49807fb56cb1b0737db1d37feb42fe31d" - ], - "version": "==0.15" - }, - "isort": { - "hashes": [ - "sha256:c40744b6bc5162bbb39c1257fe298b7a393861d50978b565f3ccd9cb9de0182a", - "sha256:f57abacd059dc3bd666258d1efb0377510a89777fda3e3274e3c01f7c03ae22d" - ], - "index": "pypi", - "version": "==4.3.20" - }, - "jinja2": { - "hashes": [ - "sha256:065c4f02ebe7f7cf559e49ee5a95fb800a9e4528727aec6f24402a5374c65013", - "sha256:14dd6caf1527abb21f08f86c784eac40853ba93edb79552aa1e4b8aef1b61c7b" - ], - "version": "==2.10.1" - }, - "lazy-object-proxy": { - "hashes": [ - "sha256:159a745e61422217881c4de71f9eafd9d703b93af95618635849fe469a283661", - "sha256:23f63c0821cc96a23332e45dfaa83266feff8adc72b9bcaef86c202af765244f", - "sha256:3b11be575475db2e8a6e11215f5aa95b9ec14de658628776e10d96fa0b4dac13", - "sha256:3f447aff8bc61ca8b42b73304f6a44fa0d915487de144652816f950a3f1ab821", - "sha256:4ba73f6089cd9b9478bc0a4fa807b47dbdb8fad1d8f31a0f0a5dbf26a4527a71", - "sha256:4f53eadd9932055eac465bd3ca1bd610e4d7141e1278012bd1f28646aebc1d0e", - "sha256:64483bd7154580158ea90de5b8e5e6fc29a16a9b4db24f10193f0c1ae3f9d1ea", - "sha256:6f72d42b0d04bfee2397aa1862262654b56922c20a9bb66bb76b6f0e5e4f9229", - "sha256:7c7f1ec07b227bdc561299fa2328e85000f90179a2f44ea30579d38e037cb3d4", - "sha256:7c8b1ba1e15c10b13cad4171cfa77f5bb5ec2580abc5a353907780805ebe158e", - "sha256:8559b94b823f85342e10d3d9ca4ba5478168e1ac5658a8a2f18c991ba9c52c20", - "sha256:a262c7dfb046f00e12a2bdd1bafaed2408114a89ac414b0af8755c696eb3fc16", - "sha256:acce4e3267610c4fdb6632b3886fe3f2f7dd641158a843cf6b6a68e4ce81477b", - "sha256:be089bb6b83fac7f29d357b2dc4cf2b8eb8d98fe9d9ff89f9ea6012970a853c7", - "sha256:bfab710d859c779f273cc48fb86af38d6e9210f38287df0069a63e40b45a2f5c", - "sha256:c10d29019927301d524a22ced72706380de7cfc50f767217485a912b4c8bd82a", - "sha256:dd6e2b598849b3d7aee2295ac765a578879830fb8966f70be8cd472e6069932e", - "sha256:e408f1eacc0a68fed0c08da45f31d0ebb38079f043328dce69ff133b95c29dc1" - ], - "version": "==1.4.1" - }, - "livereload": { - "hashes": [ - "sha256:78d55f2c268a8823ba499305dcac64e28ddeb9a92571e12d543cd304faf5817b", - "sha256:89254f78d7529d7ea0a3417d224c34287ebfe266b05e67e51facaf82c27f0f66" - ], - "version": "==2.6.1" - }, - "markdown": { - "hashes": [ - "sha256:2e50876bcdd74517e7b71f3e7a76102050edec255b3983403f1a63e7c8a41e7a", - "sha256:56a46ac655704b91e5b7e6326ce43d5ef72411376588afa1dd90e881b83c7e8c" - ], - "version": "==3.1.1" - }, - "markupsafe": { - "hashes": [ - "sha256:00bc623926325b26bb9605ae9eae8a215691f33cae5df11ca5424f06f2d1f473", - "sha256:09027a7803a62ca78792ad89403b1b7a73a01c8cb65909cd876f7fcebd79b161", - "sha256:09c4b7f37d6c648cb13f9230d847adf22f8171b1ccc4d5682398e77f40309235", - "sha256:1027c282dad077d0bae18be6794e6b6b8c91d58ed8a8d89a89d59693b9131db5", - "sha256:24982cc2533820871eba85ba648cd53d8623687ff11cbb805be4ff7b4c971aff", - "sha256:29872e92839765e546828bb7754a68c418d927cd064fd4708fab9fe9c8bb116b", - "sha256:43a55c2930bbc139570ac2452adf3d70cdbb3cfe5912c71cdce1c2c6bbd9c5d1", - "sha256:46c99d2de99945ec5cb54f23c8cd5689f6d7177305ebff350a58ce5f8de1669e", - "sha256:500d4957e52ddc3351cabf489e79c91c17f6e0899158447047588650b5e69183", - "sha256:535f6fc4d397c1563d08b88e485c3496cf5784e927af890fb3c3aac7f933ec66", - "sha256:62fe6c95e3ec8a7fad637b7f3d372c15ec1caa01ab47926cfdf7a75b40e0eac1", - "sha256:6dd73240d2af64df90aa7c4e7481e23825ea70af4b4922f8ede5b9e35f78a3b1", - "sha256:717ba8fe3ae9cc0006d7c451f0bb265ee07739daf76355d06366154ee68d221e", - "sha256:79855e1c5b8da654cf486b830bd42c06e8780cea587384cf6545b7d9ac013a0b", - "sha256:7c1699dfe0cf8ff607dbdcc1e9b9af1755371f92a68f706051cc8c37d447c905", - "sha256:88e5fcfb52ee7b911e8bb6d6aa2fd21fbecc674eadd44118a9cc3863f938e735", - "sha256:8defac2f2ccd6805ebf65f5eeb132adcf2ab57aa11fdf4c0dd5169a004710e7d", - "sha256:98c7086708b163d425c67c7a91bad6e466bb99d797aa64f965e9d25c12111a5e", - "sha256:9add70b36c5666a2ed02b43b335fe19002ee5235efd4b8a89bfcf9005bebac0d", - "sha256:9bf40443012702a1d2070043cb6291650a0841ece432556f784f004937f0f32c", - "sha256:ade5e387d2ad0d7ebf59146cc00c8044acbd863725f887353a10df825fc8ae21", - "sha256:b00c1de48212e4cc9603895652c5c410df699856a2853135b3967591e4beebc2", - "sha256:b1282f8c00509d99fef04d8ba936b156d419be841854fe901d8ae224c59f0be5", - "sha256:b2051432115498d3562c084a49bba65d97cf251f5a331c64a12ee7e04dacc51b", - "sha256:ba59edeaa2fc6114428f1637ffff42da1e311e29382d81b339c1817d37ec93c6", - "sha256:c8716a48d94b06bb3b2524c2b77e055fb313aeb4ea620c8dd03a105574ba704f", - "sha256:cd5df75523866410809ca100dc9681e301e3c27567cf498077e8551b6d20e42f", - "sha256:e249096428b3ae81b08327a63a485ad0878de3fb939049038579ac0ef61e17e7" - ], - "version": "==1.1.1" - }, - "mccabe": { - "hashes": [ - "sha256:ab8a6258860da4b6677da4bd2fe5dc2c659cff31b3ee4f7f5d64e79735b80d42", - "sha256:dd8d182285a0fe56bace7f45b5e7d1a6ebcbf524e8f3bd87eb0f125271b8831f" - ], - "version": "==0.6.1" - }, - "mkdocs": { - "hashes": [ - "sha256:17d34329aad75d5de604b9ed4e31df3a4d235afefdc46ce7b1964fddb2e1e939", - "sha256:8cc8b38325456b9e942c981a209eaeb1e9f3f77b493ad755bfef889b9c8d356a" - ], - "index": "pypi", - "version": "==1.0.4" - }, - "mkdocs-material": { - "hashes": [ - "sha256:84835f2f2244c29cafdcf489f66f575e5791a1062a441f52f53027a5d5570e29", - "sha256:f6b8d6c0fcdf0b05913225c85fa858c687cfe6a850e0bd01ccd7bb68d82463af" - ], - "index": "pypi", - "version": "==4.3.1" - }, - "mock": { - "hashes": [ - "sha256:83657d894c90d5681d62155c82bda9c1187827525880eda8ff5df4ec813437c3", - "sha256:d157e52d4e5b938c550f39eb2fd15610db062441a9c2747d3dbfa9298211d0f8" - ], - "index": "pypi", - "version": "==3.0.5" - }, - "more-itertools": { - "hashes": [ - "sha256:2112d2ca570bb7c3e53ea1a35cd5df42bb0fd10c45f0fb97178679c3c03d64c7", - "sha256:c3e4748ba1aad8dba30a4886b0b1a2004f9a863837b8654e7059eebf727afa5a" - ], - "markers": "python_version > '2.7'", - "version": "==7.0.0" - }, - "mypy": { - "hashes": [ - "sha256:2afe51527b1f6cdc4a5f34fc90473109b22bf7f21086ba3e9451857cf11489e6", - "sha256:56a16df3e0abb145d8accd5dbb70eba6c4bd26e2f89042b491faa78c9635d1e2", - "sha256:5764f10d27b2e93c84f70af5778941b8f4aa1379b2430f85c827e0f5464e8714", - "sha256:5bbc86374f04a3aa817622f98e40375ccb28c4836f36b66706cf3c6ccce86eda", - "sha256:6a9343089f6377e71e20ca734cd8e7ac25d36478a9df580efabfe9059819bf82", - "sha256:6c9851bc4a23dc1d854d3f5dfd5f20a016f8da86bcdbb42687879bb5f86434b0", - "sha256:b8e85956af3fcf043d6f87c91cbe8705073fc67029ba6e22d3468bfee42c4823", - "sha256:b9a0af8fae490306bc112229000aa0c2ccc837b49d29a5c42e088c132a2334dd", - "sha256:bbf643528e2a55df2c1587008d6e3bda5c0445f1240dfa85129af22ae16d7a9a", - "sha256:c46ab3438bd21511db0f2c612d89d8344154c0c9494afc7fbc932de514cf8d15", - "sha256:f7a83d6bd805855ef83ec605eb01ab4fa42bcef254b13631e451cbb44914a9b0" - ], - "index": "pypi", - "version": "==0.701" - }, - "mypy-extensions": { - "hashes": [ - "sha256:37e0e956f41369209a3d5f34580150bcacfabaa57b33a15c0b25f4b5725e0812", - "sha256:b16cabe759f55e3409a7d231ebd2841378fb0c27a5d1994719e340e4f429ac3e" - ], - "version": "==0.4.1" - }, - "nose": { - "hashes": [ - "sha256:9ff7c6cc443f8c51994b34a667bbcf45afd6d945be7477b52e97516fd17c53ac", - "sha256:dadcddc0aefbf99eea214e0f1232b94f2fa9bd98fa8353711dacb112bfcbbb2a", - "sha256:f1bffef9cbc82628f6e7d7b40d7e255aefaa1adb6a1b1d26c69a8b79e6208a98" - ], - "index": "pypi", - "version": "==1.3.7" - }, - "packaging": { - "hashes": [ - "sha256:0c98a5d0be38ed775798ece1b9727178c4469d9c3b4ada66e8e6b7849f8732af", - "sha256:9e1cbf8c12b1f1ce0bb5344b8d7ecf66a6f8a6e91bcb0c84593ed6d3ab5c4ab3" - ], - "version": "==19.0" - }, - "pbr": { - "hashes": [ - "sha256:6901995b9b686cb90cceba67a0f6d4d14ae003cd59bc12beb61549bdfbe3bc89", - "sha256:d950c64aeea5456bbd147468382a5bb77fe692c13c9f00f0219814ce5b642755" - ], - "version": "==5.2.0" - }, - "pep8": { - "hashes": [ - "sha256:b22cfae5db09833bb9bd7c8463b53e1a9c9b39f12e304a8d0bba729c501827ee", - "sha256:fe249b52e20498e59e0b5c5256aa52ee99fc295b26ec9eaa85776ffdb9fe6374" - ], - "index": "pypi", - "version": "==1.7.1" - }, - "pkginfo": { - "hashes": [ - "sha256:7424f2c8511c186cd5424bbf31045b77435b37a8d604990b79d4e70d741148bb", - "sha256:a6d9e40ca61ad3ebd0b72fbadd4fba16e4c0e4df0428c041e01e06eb6ee71f32" - ], - "version": "==1.5.0.1" - }, - "pluggy": { - "hashes": [ - "sha256:0825a152ac059776623854c1543d65a4ad408eb3d33ee114dff91e57ec6ae6fc", - "sha256:b9817417e95936bf75d85d3f8767f7df6cdde751fc40aed3bb3074cbcb77757c" - ], - "index": "pypi", - "version": "==0.12.0" - }, - "py": { - "hashes": [ - "sha256:64f65755aee5b381cea27766a3a147c3f15b9b6b9ac88676de66ba2ae36793fa", - "sha256:dc639b046a6e2cff5bbe40194ad65936d6ba360b52b3c3fe1d08a82dd50b5e53" - ], - "index": "pypi", - "version": "==1.8.0" - }, - "pycodestyle": { - "hashes": [ - "sha256:95a2219d12372f05704562a14ec30bc76b05a5b297b21a5dfe3f6fac3491ae56", - "sha256:e40a936c9a450ad81df37f549d676d127b1b66000a6c500caa2b085bc0ca976c" - ], - "index": "pypi", - "version": "==2.5.0" - }, - "pydoc-markdown": { - "hashes": [ - "sha256:f1511ad5a6ca33a52dd2010651d18e9debb57bcf36ab87eca560dd15a753ce1f" - ], - "index": "pypi", - "version": "==2.0.5" - }, - "pydocstyle": { - "hashes": [ - "sha256:2258f9b0df68b97bf3a6c29003edc5238ff8879f1efb6f1999988d934e432bd8", - "sha256:5741c85e408f9e0ddf873611085e819b809fca90b619f5fd7f34bd4959da3dd4", - "sha256:ed79d4ec5e92655eccc21eb0c6cf512e69512b4a97d215ace46d17e4990f2039" - ], - "index": "pypi", - "version": "==3.0.0" - }, - "pyflakes": { - "hashes": [ - "sha256:17dbeb2e3f4d772725c777fabc446d5634d1038f234e77343108ce445ea69ce0", - "sha256:d976835886f8c5b31d47970ed689944a0262b5f3afa00a5a7b4dc81e5449f8a2" - ], - "version": "==2.1.1" - }, - "pygments": { - "hashes": [ - "sha256:71e430bc85c88a430f000ac1d9b331d2407f681d6f6aec95e8bcfbc3df5b0127", - "sha256:881c4c157e45f30af185c1ffe8d549d48ac9127433f2c380c24b84572ad66297" - ], - "version": "==2.4.2" - }, - "pylint": { - "hashes": [ - "sha256:5d77031694a5fb97ea95e828c8d10fc770a1df6eb3906067aaed42201a8a6a09", - "sha256:723e3db49555abaf9bf79dc474c6b9e2935ad82230b10c1138a71ea41ac0fff1" - ], - "index": "pypi", - "version": "==2.3.1" - }, - "pymdown-extensions": { - "hashes": [ - "sha256:25b0a7967fa697b5035e23340a48594e3e93acb10b06d74574218ace3347d1df", - "sha256:6cf0cf36b5a03b291ace22dc2f320f4789ce56fbdb6635a3be5fadbf5d7694dd" - ], - "index": "pypi", - "version": "==6.0" - }, - "pyparsing": { - "hashes": [ - "sha256:1873c03321fc118f4e9746baf201ff990ceb915f433f23b395f5580d1840cb2a", - "sha256:9b6323ef4ab914af344ba97510e966d64ba91055d6b9afa6b30799340e89cc03" - ], - "version": "==2.4.0" - }, - "pytest": { - "hashes": [ - "sha256:1a8aa4fa958f8f451ac5441f3ac130d9fc86ea38780dd2715e6d5c5882700b24", - "sha256:b8bf138592384bd4e87338cb0f256bf5f615398a649d4bd83915f0e4047a5ca6" - ], - "index": "pypi", - "version": "==4.5.0" - }, - "pytest-cov": { - "hashes": [ - "sha256:2b097cde81a302e1047331b48cadacf23577e431b61e9c6f49a1170bbe3d3da6", - "sha256:e00ea4fdde970725482f1f35630d12f074e121a23801aabf2ae154ec6bdd343a" - ], - "index": "pypi", - "version": "==2.7.1" - }, - "pytest-isort": { - "hashes": [ - "sha256:3be60e0de277b420ff89303ca6494320c41f7819ffa898756b90ef976e4c636a", - "sha256:4bfee60dad1870b51700d55a85f5ceda766bd9d3d2878c1bbabee80e61b1be1a" - ], - "index": "pypi", - "version": "==0.3.1" - }, - "pytest-sugar": { - "hashes": [ - "sha256:26cf8289fe10880cbbc130bd77398c4e6a8b936d8393b116a5c16121d95ab283", - "sha256:fcd87a74b2bce5386d244b49ad60549bfbc4602527797fac167da147983f58ab" - ], - "index": "pypi", - "version": "==0.9.2" - }, - "pyyaml": { - "hashes": [ - "sha256:1adecc22f88d38052fb787d959f003811ca858b799590a5eaa70e63dca50308c", - "sha256:436bc774ecf7c103814098159fbb84c2715d25980175292c648f2da143909f95", - "sha256:460a5a4248763f6f37ea225d19d5c205677d8d525f6a83357ca622ed541830c2", - "sha256:5a22a9c84653debfbf198d02fe592c176ea548cccce47553f35f466e15cf2fd4", - "sha256:7a5d3f26b89d688db27822343dfa25c599627bc92093e788956372285c6298ad", - "sha256:9372b04a02080752d9e6f990179a4ab840227c6e2ce15b95e1278456664cf2ba", - "sha256:a5dcbebee834eaddf3fa7366316b880ff4062e4bcc9787b78c7fbb4a26ff2dd1", - "sha256:aee5bab92a176e7cd034e57f46e9df9a9862a71f8f37cad167c6fc74c65f5b4e", - "sha256:c51f642898c0bacd335fc119da60baae0824f2cde95b0330b56c0553439f0673", - "sha256:c68ea4d3ba1705da1e0d85da6684ac657912679a649e8868bd850d2c299cce13", - "sha256:e23d0cc5299223dcc37885dae624f382297717e459ea24053709675a976a3e19" - ], - "version": "==5.1" - }, - "randomize": { - "hashes": [ - "sha256:79c72c1465060e7d22d8fa147fa0452550db83bf0bcf8c0b0694277ebc6f6ff6", - "sha256:fe977435ed8f9786c891a0299c99a710751b748d4ddc23ff85fb5eba73983b6b" - ], - "index": "pypi", - "version": "==0.14" - }, - "readme-renderer": { - "hashes": [ - "sha256:bb16f55b259f27f75f640acf5e00cf897845a8b3e4731b5c1a436e4b8529202f", - "sha256:c8532b79afc0375a85f10433eca157d6b50f7d6990f337fa498c96cd4bfc203d" - ], - "version": "==24.0" - }, - "requests": { - "hashes": [ - "sha256:11e007a8a2aa0323f5a921e9e6a2d7e4e67d9877e85773fba9ba6419025cbeb4", - "sha256:9cf5292fcd0f598c671cfc1e0d7d1a7f13bb8085e9a590f48c010551dc6c4b31" - ], - "index": "pypi", - "version": "==2.22.0" - }, - "requests-toolbelt": { - "hashes": [ - "sha256:380606e1d10dc85c3bd47bf5a6095f815ec007be7a8b69c878507068df059e6f", - "sha256:968089d4584ad4ad7c171454f0a5c6dac23971e9472521ea3b6d49d610aa6fc0" - ], - "version": "==0.9.1" - }, - "responses": { - "hashes": [ - "sha256:502d9c0c8008439cfcdef7e251f507fcfdd503b56e8c0c87c3c3e3393953f790", - "sha256:97193c0183d63fba8cd3a041c75464e4b09ea0aff6328800d1546598567dde0b" - ], - "index": "pypi", - "version": "==0.10.6" - }, - "six": { - "hashes": [ - "sha256:3350809f0555b11f552448330d0b52d5f24c91a322ea4a15ef22629740f3761c", - "sha256:d16a0141ec1a18405cd4ce8b4613101da75da0e9a7aec5bdd4fa804d0e0eba73" - ], - "index": "pypi", - "version": "==1.12.0" - }, - "smmap2": { - "hashes": [ - "sha256:0555a7bf4df71d1ef4218e4807bbf9b201f910174e6e08af2e138d4e517b4dde", - "sha256:29a9ffa0497e7f2be94ca0ed1ca1aa3cd4cf25a1f6b4f5f87f74b46ed91d609a" - ], - "version": "==2.0.5" - }, - "snowballstemmer": { - "hashes": [ - "sha256:919f26a68b2c17a7634da993d91339e288964f93c274f1343e3bbbe2096e1128", - "sha256:9f3bcd3c401c3e862ec0ebe6d2c069ebc012ce142cce209c098ccb5b09136e89" - ], - "version": "==1.2.1" - }, - "stevedore": { - "hashes": [ - "sha256:7be098ff53d87f23d798a7ce7ae5c31f094f3deb92ba18059b1aeb1ca9fec0a0", - "sha256:7d1ce610a87d26f53c087da61f06f9b7f7e552efad2a7f6d2322632b5f932ea2" - ], - "version": "==1.30.1" - }, - "termcolor": { - "hashes": [ - "sha256:1d6d69ce66211143803fbc56652b41d73b4a400a2891d7bf7a1cdf4c02de613b" - ], - "version": "==1.1.0" - }, - "toml": { - "hashes": [ - "sha256:229f81c57791a41d65e399fc06bf0848bab550a9dfd5ed66df18ce5f05e73d5c", - "sha256:235682dd292d5899d361a811df37e04a8828a5b1da3115886b73cf81ebc9100e" - ], - "version": "==0.10.0" - }, - "tornado": { - "hashes": [ - "sha256:1174dcb84d08887b55defb2cda1986faeeea715fff189ef3dc44cce99f5fca6b", - "sha256:2613fab506bd2aedb3722c8c64c17f8f74f4070afed6eea17f20b2115e445aec", - "sha256:44b82bc1146a24e5b9853d04c142576b4e8fa7a92f2e30bc364a85d1f75c4de2", - "sha256:457fcbee4df737d2defc181b9073758d73f54a6cfc1f280533ff48831b39f4a8", - "sha256:49603e1a6e24104961497ad0c07c799aec1caac7400a6762b687e74c8206677d", - "sha256:8c2f40b99a8153893793559919a355d7b74649a11e59f411b0b0a1793e160bc0", - "sha256:e1d897889c3b5a829426b7d52828fb37b28bc181cd598624e65c8be40ee3f7fa" - ], - "version": "==6.0.2" - }, - "tqdm": { - "hashes": [ - "sha256:0a860bf2683fdbb4812fe539a6c22ea3f1777843ea985cb8c3807db448a0f7ab", - "sha256:e288416eecd4df19d12407d0c913cbf77aa8009d7fddb18f632aded3bdbdda6b" - ], - "version": "==4.32.1" - }, - "twine": { - "hashes": [ - "sha256:0fb0bfa3df4f62076cab5def36b1a71a2e4acb4d1fa5c97475b048117b1a6446", - "sha256:d6c29c933ecfc74e9b1d9fa13aa1f87c5d5770e119f5a4ce032092f0ff5b14dc" - ], - "index": "pypi", - "version": "==1.13.0" - }, - "typed-ast": { - "hashes": [ - "sha256:132eae51d6ef3ff4a8c47c393a4ef5ebf0d1aecc96880eb5d6c8ceab7017cc9b", - "sha256:18141c1484ab8784006c839be8b985cfc82a2e9725837b0ecfa0203f71c4e39d", - "sha256:2baf617f5bbbfe73fd8846463f5aeafc912b5ee247f410700245d68525ec584a", - "sha256:3d90063f2cbbe39177e9b4d888e45777012652d6110156845b828908c51ae462", - "sha256:4304b2218b842d610aa1a1d87e1dc9559597969acc62ce717ee4dfeaa44d7eee", - "sha256:4983ede548ffc3541bae49a82675996497348e55bafd1554dc4e4a5d6eda541a", - "sha256:5315f4509c1476718a4825f45a203b82d7fdf2a6f5f0c8f166435975b1c9f7d4", - "sha256:6cdfb1b49d5345f7c2b90d638822d16ba62dc82f7616e9b4caa10b72f3f16649", - "sha256:7b325f12635598c604690efd7a0197d0b94b7d7778498e76e0710cd582fd1c7a", - "sha256:8d3b0e3b8626615826f9a626548057c5275a9733512b137984a68ba1598d3d2f", - "sha256:8f8631160c79f53081bd23446525db0bc4c5616f78d04021e6e434b286493fd7", - "sha256:912de10965f3dc89da23936f1cc4ed60764f712e5fa603a09dd904f88c996760", - "sha256:b010c07b975fe853c65d7bbe9d4ac62f1c69086750a574f6292597763781ba18", - "sha256:c908c10505904c48081a5415a1e295d8403e353e0c14c42b6d67f8f97fae6616", - "sha256:c94dd3807c0c0610f7c76f078119f4ea48235a953512752b9175f9f98f5ae2bd", - "sha256:ce65dee7594a84c466e79d7fb7d3303e7295d16a83c22c7c4037071b059e2c21", - "sha256:eaa9cfcb221a8a4c2889be6f93da141ac777eb8819f077e1d09fb12d00a09a93", - "sha256:f3376bc31bad66d46d44b4e6522c5c21976bf9bca4ef5987bb2bf727f4506cbb", - "sha256:f9202fa138544e13a4ec1a6792c35834250a85958fde1251b6a22e07d1260ae7" - ], - "markers": "implementation_name == 'cpython'", - "version": "==1.3.5" - }, - "urllib3": { - "hashes": [ - "sha256:b246607a25ac80bedac05c6f282e3cdaf3afb65420fd024ac94435cabe6e18d1", - "sha256:dbe59173209418ae49d485b87d1681aefa36252ee85884c31346debd19463232" - ], - "index": "pypi", - "version": "==1.25.3" - }, - "wcwidth": { - "hashes": [ - "sha256:3df37372226d6e63e1b1e1eda15c594bca98a22d33a23832a90998faa96bc65e", - "sha256:f4ebe71925af7b40a864553f761ed559b43544f8f71746c2d756c7fe788ade7c" - ], - "version": "==0.1.7" - }, - "webencodings": { - "hashes": [ - "sha256:a0af1213f3c2226497a97e2b3aa01a7e4bee4f403f95be16fc9acd2947514a78", - "sha256:b36a1c245f2d304965eb4e0a82848379241dc04b865afcc4aab16748587e1923" - ], - "version": "==0.5.1" - }, - "wrapt": { - "hashes": [ - "sha256:4aea003270831cceb8a90ff27c4031da6ead7ec1886023b80ce0dfe0adf61533" - ], - "version": "==1.11.1" - }, - "yapf": { - "hashes": [ - "sha256:34f6f80c446dcb2c44bd644c4037a2024b6645e293a4c9c4521983dd0bb247a1", - "sha256:613deba14233623ff3432d9d5032631b5f600be97b39f66932cbe67648bfa8ea" - ], - "index": "pypi", - "version": "==0.27.0" - }, - "zipp": { - "hashes": [ - "sha256:8c1019c6aad13642199fbe458275ad6a84907634cc9f0989877ccc4a2840139d", - "sha256:ca943a7e809cc12257001ccfb99e3563da9af99d52f261725e96dfe0f9275bc3" - ], - "version": "==0.5.1" - } - } -} diff --git a/README.md b/README.md deleted file mode 100644 index b83cec7c1..000000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# cloudendure-py - -Python wrapper and CLI for CloudEndure diff --git a/REFERENCE.md b/REFERENCE.md deleted file mode 100644 index c40959eb5..000000000 --- a/REFERENCE.md +++ /dev/null @@ -1,57 +0,0 @@ -# Reference Materials - -## Documentation - -### CloudEndure - -- [General Documentation](https://docs.cloudendure.com/) -- [Getting Started - API](https://docs.cloudendure.com/Content/Getting_Started_with_CloudEndure/API/API.htm) -- [REST API](https://console.cloudendure.com/api_doc/apis.html) - -## API References - -### Errors - -Some errors are not specifically written in every method since they may always return. Those are: - -- 401 (Unauthorized) - for unauthenticated requests. -- 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). -- 403 (Forbidden) - request is authenticated, but the user is not allowed to access. -- 422 (Unprocessable Entity) - for invalid input. - -## Package Related - -### General Guidance - -- [Python 3 - Type hints](https://docs.python.org/3/library/typing.html) -- [MyPy - Python 3 Cheat Sheet](https://mypy.readthedocs.io/en/latest/cheat_sheet_py3.html) - -### Packages & Dependencies - -#### Package Dependencies - -- [Boto3 - AWS SDK](https://github.com/boto/boto3) -- [Requests - Python HTTP module](https://github.com/kennethreitz/requests) -- [Python Fire - CLI module](https://github.com/google/python-fire) - -#### Build/Dev/Testing Dependencies - -- [black - Python linter]() -- [isort - Python import automatic sorting]() -- [pydocstyle - Python docstring/pep-257 linting]() -- [pycodestyle - Python code complexity / McCabe validation]() -- [yapf - Python linter / automatic styling]() -- [pylint - Python linter]() -- [flake8 - Python linter]() -- [bandit]() -- [autopep8 - Python automatic styling/linting]() -- [pytest - Python test module]() -- [pytest-sugar - PyTest plugin]() -- [pytest-isort - PyTest isort plugin]() -- [coverage - Python Coverage module]() -- [codecov - CodeCov.io coverage service]() -- [pytest-cov - PyTest coverage plugin]() -- [mock - Python test mocking module]() -- [responses - Python request response testing module]() -- [twine - Python package bundling]() -- [mypy - Python type validation]() diff --git a/api/API_README/index.html b/api/API_README/index.html new file mode 100644 index 000000000..e5eee5c14 --- /dev/null +++ b/api/API_README/index.html @@ -0,0 +1,2573 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + MAIN - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+ +
+
+ + +
+
+ + + + + +

cloudendure_api

+

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

+
    +
  • API version: 5
  • +
  • Package version: 0.1.7
  • +
  • Build package: io.swagger.codegen.v3.generators.python.PythonClientCodegen
  • +
+

Requirements

+

Python 3.6+

+

Installation & Usage

+

pip install via Poetry

+

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

+
poetry install cloudendure
+
+ +

Then import the package:

+
from cloudendure import cloudendure_api
+
+ +

Getting Started

+

Please follow the installation procedure and then run the following:

+
import time
+
+from cloudendure import cloudendure_api
+from cloudendure.cloudendure_api.rest import ApiException
+
+# create an instance of the API class
+api_instance = cloudendure_api.AccountApi(cloudendure_api.ApiClient(configuration))
+account_id = 'account_id_example' # str |
+
+try:
+    # Get Account information
+    api_response = api_instance.accounts_account_id_get(account_id)
+    print(api_response)
+except ApiException as e:
+    print('Exception when calling AccountApi->accounts_account_id_get: %s\n '% e)
+
+
+ +

Documentation for API Endpoints

+

All URIs are relative to https://console.cloudendure.com/api/latest

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ClassMethodHTTP requestDescription
AccountApiaccounts_account_id_getGET /accounts/{accountId}Get Account information
ActionsApiprojects_project_id_find_files_postPOST /projects/{projectId}/findFilesSearch for files in a backup project
ActionsApiprojects_project_id_jobs_getGET /projects/{projectId}/jobsList Jobs
ActionsApiprojects_project_id_jobs_job_id_getGET /projects/{projectId}/jobs/{jobId}Get Job
ActionsApiprojects_project_id_launch_machines_postPOST /projects/{projectId}/launchMachinesLaunch target machines
ActionsApiprojects_project_id_launch_restore_servers_postPOST /projects/{projectId}/launchRestoreServersLaunch restore servers @todo
ActionsApiprojects_project_id_move_machines_postPOST /projects/{projectId}/moveMachinesMoves machines to another project
ActionsApiprojects_project_id_pause_replication_postPOST /projects/{projectId}/pauseReplicationPause replication
ActionsApiprojects_project_id_replicas_deleteDELETE /projects/{projectId}/replicasPerform Cleanup
ActionsApiprojects_project_id_restore_files_postPOST /projects/{projectId}/restoreFilesRestore selected files in a backup project
ActionsApiprojects_project_id_reverse_replication_postPOST /projects/{projectId}/reverseReplicationReverse replication direction
ActionsApiprojects_project_id_start_replication_postPOST /projects/{projectId}/startReplicationStart replication
ActionsApiprojects_project_id_stop_replication_postPOST /projects/{projectId}/stopReplicationStop replication
AuthenticationApilogin_postPOST /loginLogin
AuthenticationApilogout_postPOST /logoutLogout
BlueprintApiprojects_project_id_blueprints_blueprint_id_getGET /projects/{projectId}/blueprints/{blueprintId}Get Blueprint
BlueprintApiprojects_project_id_blueprints_blueprint_id_patchPATCH /projects/{projectId}/blueprints/{blueprintId}Configure Blueprint
BlueprintApiprojects_project_id_blueprints_getGET /projects/{projectId}/blueprintsList Blueprints
BlueprintApiprojects_project_id_blueprints_postPOST /projects/{projectId}/blueprintsCreate Blueprint
CloudApicloud_credentials_creds_id_regions_getGET /cloudCredentials/{credsId}/regionsList Regions
CloudApicloud_credentials_creds_id_regions_region_id_deleteDELETE /cloudCredentials/{credsId}/regions/{regionId}Delete region (VCenter)
CloudApicloud_credentials_creds_id_regions_region_id_getGET /cloudCredentials/{credsId}/regions/{regionId}Get Region
CloudApicloud_credentials_creds_id_regions_region_id_patchPATCH /cloudCredentials/{credsId}/regions/{regionId}Patch region (rename)
CloudApiclouds_getGET /cloudsList Clouds
CloudCredentialsApicloud_credentials_creds_id_getGET /cloudCredentials/{credsId}Get Credentials
CloudCredentialsApicloud_credentials_creds_id_patchPATCH /cloudCredentials/{credsId}Change Credentials
CloudCredentialsApicloud_credentials_getGET /cloudCredentialsList Credentials
CloudCredentialsApicloud_credentials_postPOST /cloudCredentialsCreate Credentials
DefaultApiaccounts_account_id_access_getGET /accounts/{accountId}/accessget a temporary token by email
DefaultApiextended_account_info_getGET /extendedAccountInfoReturns the extended current account information.
DefaultApiprojects_assign_users_postPOST /projects/assignUserstodo
DefaultApiprojects_project_id_audit_log_getGET /projects/{projectId}/auditLogGet audit log
DefaultApiprojects_project_id_storage_getGET /projects/{projectId}/storageproject's storage
DefaultApiprojects_remove_users_postPOST /projects/removeUserstodo
DefaultApireplace_api_token_postPOST /replaceApiTokenReplaces API token
DefaultApiset_password_postPOST /setPasswordSet password for invited user
DefaultApiusers_assign_roles_postPOST /users/assignRolesAdd roles to users
DefaultApiusers_postPOST /usersCreate a new User
DefaultApiusers_revoke_roles_postPOST /users/revokeRolesAdd roles to users
LicensingApilicenses_getGET /licensesList Licenses
LicensingApilicenses_license_id_getGET /licenses/{licenseId}Get License
MachinesApiprojects_project_id_machines_deleteDELETE /projects/{projectId}/machinesUninstall agent
MachinesApiprojects_project_id_machines_getGET /projects/{projectId}/machinesList Machines
MachinesApiprojects_project_id_machines_machine_id_getGET /projects/{projectId}/machines/{machineId}Get a specific machine.
MachinesApiprojects_project_id_machines_machine_id_patchPATCH /projects/{projectId}/machines/{machineId}Update a machine. Accepts only Launch time updates.
MachinesApiprojects_project_id_machines_patchPATCH /projects/{projectId}/machinesBatch-update multiple machines
MachinesApiprojects_project_id_replicas_replica_id_getGET /projects/{projectId}/replicas/{replicaId}Get Target Machine
ProjectApiprojects_getGET /projectsList Projects
ProjectApiprojects_postPOST /projectsCreate Project
ProjectApiprojects_project_id_deleteDELETE /projects/{projectId}Delete Project and all sub-resources including cloud assets other than launched target machines
ProjectApiprojects_project_id_getGET /projects/{projectId}Get Project
ProjectApiprojects_project_id_patchPATCH /projects/{projectId}Update Project (including partial update)
ProjectApiprojects_project_id_tags_getGET /projects/{projectId}/tagsGets all instance tags of all machines in the project.
RecoveryPlansApiprojects_project_id_recovery_plans_getGET /projects/{projectId}/recoveryPlansGets all recovery plans for the project.
RecoveryPlansApiprojects_project_id_recovery_plans_postPOST /projects/{projectId}/recoveryPlansCreates a new recovery plan.
RecoveryPlansApiprojects_project_id_recovery_plans_recovery_plan_id_deleteDELETE /projects/{projectId}/recoveryPlans/{recoveryPlanId}Deletes a recovery plan.
RecoveryPlansApiprojects_project_id_recovery_plans_recovery_plan_id_getGET /projects/{projectId}/recoveryPlans/{recoveryPlanId}Gets a recovery plan.
RecoveryPlansApiprojects_project_id_recovery_plans_recovery_plan_id_patchPATCH /projects/{projectId}/recoveryPlans/{recoveryPlanId}Updates a new recovery plan.
RecoveryPlansApiprojects_project_id_run_recovery_plan_postPOST /projects/{projectId}/runRecoveryPlanLaunch a recovery plan.
ReplicationApiprojects_project_id_machines_machine_id_bandwidth_throttling_getGET /projects/{projectId}/machines/{machineId}/bandwidthThrottlingGet value of network bandwidth throttling setting for Machine
ReplicationApiprojects_project_id_machines_machine_id_bandwidth_throttling_patchPATCH /projects/{projectId}/machines/{machineId}/bandwidthThrottlingSet value of network bandwidth throttling setting for Machine
ReplicationApiprojects_project_id_machines_machine_id_deleteDELETE /projects/{projectId}/machines/{machineId}Uninstall agent
ReplicationApiprojects_project_id_machines_machine_id_pointsintime_getGET /projects/{projectId}/machines/{machineId}/pointsintimeList Available Points-in-time
ReplicationApiprojects_project_id_replication_configurations_getGET /projects/{projectId}/replicationConfigurationsList Replication Configurations
ReplicationApiprojects_project_id_replication_configurations_postPOST /projects/{projectId}/replicationConfigurationsCreate Replication Configuration
ReplicationApiprojects_project_id_replication_configurations_replication_configuration_id_patchPATCH /projects/{projectId}/replicationConfigurations/{replicationConfigurationId}Modify Replication Configuration
UserApichange_password_postPOST /changePasswordChange Password
UserApime_getGET /meMe
UserApiusers_user_id_deleteDELETE /users/{userId}Delete a User
UserApiusers_user_id_patchPATCH /users/{userId}Modify user settings
+

Documentation For Models

+ +

Documentation For Authorization

+

All endpoints do not require authorization.

+ + + + + + + + + + +
+
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/AccountApi/index.html b/api/AccountApi/index.html new file mode 100644 index 000000000..56660fc22 --- /dev/null +++ b/api/AccountApi/index.html @@ -0,0 +1,2076 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + AccountApi - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+
+ + + + + +

cloudendure.cloudendure_api.AccountApi

+

All URIs are relative to https://console.cloudendure.com/api/latest

+ + + + + + + + + + + + + + + +
MethodHTTP requestDescription
accounts_account_id_getGET /accounts/{accountId}Get Account information
+

accounts_account_id_get

+
+

CloudEndureAccount accounts_account_id_get(account_id)

+
+

Get Account information

+

Example

+
from __future__ import print_function
+
+import time
+
+from pprint import pprint
+
+from cloudendure import cloudendure_api
+from cloudendure.cloudendure_api.rest import ApiException
+
+
+# create an instance of the API class
+api_instance = cloudendure_api.AccountApi()
+account_id = 'account_id_example' # str |
+
+try:
+    # Get Account information
+    api_response = api_instance.accounts_account_id_get(account_id)
+    pprint(api_response)
+except ApiException as e:
+    print("Exception when calling AccountApi->accounts_account_id_get: %s\n" % e)
+
+ +

Parameters

+ + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
account_idstr
+

Return type

+

CloudEndureAccount

+

Authorization

+

No authorization required

+

HTTP request headers

+
    +
  • Content-Type: Not defined
  • +
  • Accept: application/json
  • +
+

[Back to top] [Back to API list] [Back to Model list] [Back to README]

+ + + + + + + + + + +
+
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/ActionsApi/index.html b/api/ActionsApi/index.html new file mode 100644 index 000000000..717bcde05 --- /dev/null +++ b/api/ActionsApi/index.html @@ -0,0 +1,2673 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ActionsApi - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+
+ + + + + +

cloudendure_api.ActionsApi

+

All URIs are relative to https://console.cloudendure.com/api/latest

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
MethodHTTP requestDescription
projects_project_id_find_files_postPOST /projects/{projectId}/findFilesSearch for files in a backup project
projects_project_id_jobs_getGET /projects/{projectId}/jobsList Jobs
projects_project_id_jobs_job_id_getGET /projects/{projectId}/jobs/{jobId}Get Job
projects_project_id_launch_machines_postPOST /projects/{projectId}/launchMachinesLaunch target machines
projects_project_id_launch_restore_servers_postPOST /projects/{projectId}/launchRestoreServersLaunch restore servers @todo
projects_project_id_move_machines_postPOST /projects/{projectId}/moveMachinesMoves machines to another project
projects_project_id_pause_replication_postPOST /projects/{projectId}/pauseReplicationPause replication
projects_project_id_replicas_deleteDELETE /projects/{projectId}/replicasPerform Cleanup
projects_project_id_restore_files_postPOST /projects/{projectId}/restoreFilesRestore selected files in a backup project
projects_project_id_reverse_replication_postPOST /projects/{projectId}/reverseReplicationReverse replication direction
projects_project_id_start_replication_postPOST /projects/{projectId}/startReplicationStart replication
projects_project_id_stop_replication_postPOST /projects/{projectId}/stopReplicationStop replication
+

projects_project_id_find_files_post

+
+

CloudEndureFindFilesResults projects_project_id_find_files_post(body, project_id)

+
+

Search for files in a backup project

+

Example

+
from __future__ import print_function
+import time
+from cloudendure import cloudendure_api
+from cloudendure.cloudendure_api.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = cloudendure_api.ActionsApi()
+body = cloudendure_api.CloudEndureFindFilesParameters() # CloudEndureFindFilesParameters | The query string and the machine id's to use it in
+project_id = 'project_id_example' # str |
+
+try:
+    # Search for files in a backup project
+    api_response = api_instance.projects_project_id_find_files_post(body, project_id)
+    pprint(api_response)
+except ApiException as e:
+    print("Exception when calling ActionsApi->projects_project_id_find_files_post: %s\n" % e)
+
+ +

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
bodyCloudEndureFindFilesParametersThe query string and the machine id's to use it in
project_idstr
+

Return type

+

CloudEndureFindFilesResults

+

Authorization

+

No authorization required

+

HTTP request headers

+
    +
  • Content-Type: application/json
  • +
  • Accept: application/json
  • +
+

[Back to top] [Back to API list] [Back to Model list] [Back to README]

+

projects_project_id_jobs_get

+
+

CloudEndureJobsList projects_project_id_jobs_get(project_id, offset=offset, limit=limit)

+
+

List Jobs

+

Returns the list of jobs in the project.

+

Example

+
from __future__ import print_function
+import time
+from cloudendure import cloudendure_api
+from cloudendure.cloudendure_api.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = cloudendure_api.ActionsApi()
+project_id = 'project_id_example' # str |
+offset = 56 # int | With which item to start (0 based). (optional)
+limit = 56 # int | A number specifying how many entries to return. (optional)
+
+try:
+    # List Jobs
+    api_response = api_instance.projects_project_id_jobs_get(project_id, offset=offset, limit=limit)
+    pprint(api_response)
+except ApiException as e:
+    print("Exception when calling ActionsApi->projects_project_id_jobs_get: %s\n" % e)
+
+ +

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
project_idstr
offsetintWith which item to start (0 based).[optional]
limitintA number specifying how many entries to return.[optional]
+

Return type

+

CloudEndureJobsList

+

Authorization

+

No authorization required

+

HTTP request headers

+
    +
  • Content-Type: Not defined
  • +
  • Accept: application/json
  • +
+

[Back to top] [Back to API list] [Back to Model list] [Back to README]

+

projects_project_id_jobs_job_id_get

+
+

CloudEndureJob projects_project_id_jobs_job_id_get(project_id, job_id)

+
+

Get Job

+

Example

+
from __future__ import print_function
+import time
+from cloudendure import cloudendure_api
+from cloudendure.cloudendure_api.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = cloudendure_api.ActionsApi()
+project_id = 'project_id_example' # str |
+job_id = 'job_id_example' # str |
+
+try:
+    # Get Job
+    api_response = api_instance.projects_project_id_jobs_job_id_get(project_id, job_id)
+    pprint(api_response)
+except ApiException as e:
+    print("Exception when calling ActionsApi->projects_project_id_jobs_job_id_get: %s\n" % e)
+
+ +

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
project_idstr
job_idstr
+

Return type

+

CloudEndureJob

+

Authorization

+

No authorization required

+

HTTP request headers

+
    +
  • Content-Type: Not defined
  • +
  • Accept: application/json
  • +
+

[Back to top] [Back to API list] [Back to Model list] [Back to README]

+

projects_project_id_launch_machines_post

+
+

CloudEndureJob projects_project_id_launch_machines_post(body, project_id)

+
+

Launch target machines

+

Launch target machines for test, recovery or cutover (by passing enum value to launchType param)

+

Example

+
from __future__ import print_function
+import time
+from cloudendure import cloudendure_api
+from cloudendure.cloudendure_api.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = cloudendure_api.ActionsApi()
+body = cloudendure_api.CloudEndureLaunchMachinesParameters() # CloudEndureLaunchMachinesParameters | Machines to launch
+project_id = 'project_id_example' # str |
+
+try:
+    # Launch target machines
+    api_response = api_instance.projects_project_id_launch_machines_post(body, project_id)
+    pprint(api_response)
+except ApiException as e:
+    print("Exception when calling ActionsApi->projects_project_id_launch_machines_post: %s\n" % e)
+
+ +

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
bodyCloudEndureLaunchMachinesParametersMachines to launch
project_idstr
+

Return type

+

CloudEndureJob

+

Authorization

+

No authorization required

+

HTTP request headers

+
    +
  • Content-Type: application/json
  • +
  • Accept: application/json
  • +
+

[Back to top] [Back to API list] [Back to Model list] [Back to README]

+

projects_project_id_launch_restore_servers_post

+
+

CloudEndureJob projects_project_id_launch_restore_servers_post(body, project_id)

+
+

Launch restore servers @todo

+

todo

+

Example

+
from __future__ import print_function
+import time
+from cloudendure import cloudendure_api
+from cloudendure.cloudendure_api.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = cloudendure_api.ActionsApi()
+body = cloudendure_api.CloudEndureLaunchMachinesParameters() # CloudEndureLaunchMachinesParameters | todo
+project_id = 'project_id_example' # str |
+
+try:
+    # Launch restore servers @todo
+    api_response = api_instance.projects_project_id_launch_restore_servers_post(body, project_id)
+    pprint(api_response)
+except ApiException as e:
+    print("Exception when calling ActionsApi->projects_project_id_launch_restore_servers_post: %s\n" % e)
+
+ +

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
bodyCloudEndureLaunchMachinesParameterstodo
project_idstr
+

Return type

+

CloudEndureJob

+

Authorization

+

No authorization required

+

HTTP request headers

+
    +
  • Content-Type: application/json
  • +
  • Accept: application/json
  • +
+

[Back to top] [Back to API list] [Back to Model list] [Back to README]

+

projects_project_id_move_machines_post

+
+

projects_project_id_move_machines_post(body, project_id)

+
+

Moves machines to another project

+

TBC

+

Example

+
from __future__ import print_function
+import time
+from cloudendure import cloudendure_api
+from cloudendure.cloudendure_api.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = cloudendure_api.ActionsApi()
+body = NULL # object |
+project_id = 'project_id_example' # str |
+
+try:
+    # Moves machines to another project
+    api_instance.projects_project_id_move_machines_post(body, project_id)
+except ApiException as e:
+    print("Exception when calling ActionsApi->projects_project_id_move_machines_post: %s\n" % e)
+
+ +

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
bodyobject
project_idstr
+

Return type

+

void (empty response body)

+

Authorization

+

No authorization required

+

HTTP request headers

+
    +
  • Content-Type: application/json
  • +
  • Accept: application/json
  • +
+

[Back to top] [Back to API list] [Back to Model list] [Back to README]

+

projects_project_id_pause_replication_post

+
+

CloudEndureMachinesListInvalidIDsAndJob projects_project_id_pause_replication_post(body, project_id)

+
+

Pause replication

+

Pause replication for given machines

+

Example

+
from __future__ import print_function
+import time
+from cloudendure import cloudendure_api
+from cloudendure.cloudendure_api.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = cloudendure_api.ActionsApi()
+body = NULL # object | The machine IDs for which to pause replication.
+project_id = 'project_id_example' # str |
+
+try:
+    # Pause replication
+    api_response = api_instance.projects_project_id_pause_replication_post(body, project_id)
+    pprint(api_response)
+except ApiException as e:
+    print("Exception when calling ActionsApi->projects_project_id_pause_replication_post: %s\n" % e)
+
+ +

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
bodyobjectThe machine IDs for which to pause replication.
project_idstr
+

Return type

+

CloudEndureMachinesListInvalidIDsAndJob

+

Authorization

+

No authorization required

+

HTTP request headers

+
    +
  • Content-Type: application/json
  • +
  • Accept: application/json
  • +
+

[Back to top] [Back to API list] [Back to Model list] [Back to README]

+

projects_project_id_replicas_delete

+
+

CloudEndureJob projects_project_id_replicas_delete(body, project_id)

+
+

Perform Cleanup

+

Spawns a cleanup job to remove the specified target machines from the cloud. Returns the job information.

+

Example

+
from __future__ import print_function
+import time
+from cloudendure import cloudendure_api
+from cloudendure.cloudendure_api.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = cloudendure_api.ActionsApi()
+body = NULL # object | The list of replica IDs to delete (corresponding to the 'replica' field in the machine object.
+project_id = 'project_id_example' # str |
+
+try:
+    # Perform Cleanup
+    api_response = api_instance.projects_project_id_replicas_delete(body, project_id)
+    pprint(api_response)
+except ApiException as e:
+    print("Exception when calling ActionsApi->projects_project_id_replicas_delete: %s\n" % e)
+
+ +

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
bodyobjectThe list of replica IDs to delete (corresponding to the 'replica' field in the machine object.
project_idstr
+

Return type

+

CloudEndureJob

+

Authorization

+

No authorization required

+

HTTP request headers

+
    +
  • Content-Type: application/json
  • +
  • Accept: application/json
  • +
+

[Back to top] [Back to API list] [Back to Model list] [Back to README]

+

projects_project_id_restore_files_post

+
+

CloudEndureJob projects_project_id_restore_files_post(body, project_id)

+
+

Restore selected files in a backup project

+

Example

+
from __future__ import print_function
+import time
+from cloudendure import cloudendure_api
+from cloudendure.cloudendure_api.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = cloudendure_api.ActionsApi()
+body = cloudendure_api.CloudEndureRestoreFilesParameters() # CloudEndureRestoreFilesParameters | A list of file origins, each origin includes file path, machine id, and pit id.
+project_id = 'project_id_example' # str |
+
+try:
+    # Restore selected files in a backup project
+    api_response = api_instance.projects_project_id_restore_files_post(body, project_id)
+    pprint(api_response)
+except ApiException as e:
+    print("Exception when calling ActionsApi->projects_project_id_restore_files_post: %s\n" % e)
+
+ +

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
bodyCloudEndureRestoreFilesParametersA list of file origins, each origin includes file path, machine id, and pit id.
project_idstr
+

Return type

+

CloudEndureJob

+

Authorization

+

No authorization required

+

HTTP request headers

+
    +
  • Content-Type: application/json
  • +
  • Accept: application/json
  • +
+

[Back to top] [Back to API list] [Back to Model list] [Back to README]

+

projects_project_id_reverse_replication_post

+
+

projects_project_id_reverse_replication_post(project_id)

+
+

Reverse replication direction

+

Example

+
from __future__ import print_function
+import time
+from cloudendure import cloudendure_api
+from cloudendure.cloudendure_api.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = cloudendure_api.ActionsApi()
+project_id = 'project_id_example' # str |
+
+try:
+    # Reverse replication direction
+    api_instance.projects_project_id_reverse_replication_post(project_id)
+except ApiException as e:
+    print("Exception when calling ActionsApi->projects_project_id_reverse_replication_post: %s\n" % e)
+
+ +

Parameters

+ + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
project_idstr
+

Return type

+

void (empty response body)

+

Authorization

+

No authorization required

+

HTTP request headers

+
    +
  • Content-Type: Not defined
  • +
  • Accept: application/json
  • +
+

[Back to top] [Back to API list] [Back to Model list] [Back to README]

+

projects_project_id_start_replication_post

+
+

CloudEndureMachinesListInvalidIDsAndJob projects_project_id_start_replication_post(body, project_id)

+
+

Start replication

+

Start replication of the specified source machines. Returns the machine for which replication has been successfully started, and the IDs for which replication could not be started.

+

Example

+
from __future__ import print_function
+import time
+from cloudendure import cloudendure_api
+from cloudendure.cloudendure_api.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = cloudendure_api.ActionsApi()
+body = NULL # object | Specification of the machines for which replication will start.
+project_id = 'project_id_example' # str |
+
+try:
+    # Start replication
+    api_response = api_instance.projects_project_id_start_replication_post(body, project_id)
+    pprint(api_response)
+except ApiException as e:
+    print("Exception when calling ActionsApi->projects_project_id_start_replication_post: %s\n" % e)
+
+ +

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
bodyobjectSpecification of the machines for which replication will start.
project_idstr
+

Return type

+

CloudEndureMachinesListInvalidIDsAndJob

+

Authorization

+

No authorization required

+

HTTP request headers

+
    +
  • Content-Type: application/json
  • +
  • Accept: application/json
  • +
+

[Back to top] [Back to API list] [Back to Model list] [Back to README]

+

projects_project_id_stop_replication_post

+
+

CloudEndureMachinesListInvalidIDsAndJob projects_project_id_stop_replication_post(body, project_id)

+
+

Stop replication

+

Stop replication of the specified source machines. Returns the machine for which replication has been successfully stopped, and the IDs for which replication could not be stopped.

+

Example

+
from __future__ import print_function
+import time
+from cloudendure import cloudendure_api
+from cloudendure.cloudendure_api.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = cloudendure_api.ActionsApi()
+body = NULL # object | Specification of the machines for which replication will stop.
+project_id = 'project_id_example' # str |
+
+try:
+    # Stop replication
+    api_response = api_instance.projects_project_id_stop_replication_post(body, project_id)
+    pprint(api_response)
+except ApiException as e:
+    print("Exception when calling ActionsApi->projects_project_id_stop_replication_post: %s\n" % e)
+
+ +

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
bodyobjectSpecification of the machines for which replication will stop.
project_idstr
+

Return type

+

CloudEndureMachinesListInvalidIDsAndJob

+

Authorization

+

No authorization required

+

HTTP request headers

+
    +
  • Content-Type: application/json
  • +
  • Accept: application/json
  • +
+

[Back to top] [Back to API list] [Back to Model list] [Back to README]

+ + + + + + + + + + +
+
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/AuthenticationApi/index.html b/api/AuthenticationApi/index.html new file mode 100644 index 000000000..3b3980bc0 --- /dev/null +++ b/api/AuthenticationApi/index.html @@ -0,0 +1,1986 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + AuthenticationApi - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+
+ + + + + +

cloudendure_api.AuthenticationApi

+

All URIs are relative to https://console.cloudendure.com/api/latest

+ + + + + + + + + + + + + + + + + + + + +
MethodHTTP requestDescription
login_postPOST /loginLogin
logout_postPOST /logoutLogout
+

login_post

+
+

CloudEndureUser login_post(body)

+
+

Login

+

@todo: fix re use of XSRF-TOKEN cookie + X-XSRF-TOKEN header Upon successful authentication, this method returns a session identifier cookie that can be used to authenticate subsequent API calls.

+

Example

+
from __future__ import print_function
+import time
+from cloudendure import cloudendure_api
+from cloudendure.cloudendure_api.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = cloudendure_api.AuthenticationApi()
+body = NULL # object | Login info
+
+try:
+    # Login
+    api_response = api_instance.login_post(body)
+    pprint(api_response)
+except ApiException as e:
+    print("Exception when calling AuthenticationApi->login_post: %s\n" % e)
+
+ +

Parameters

+ + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
bodyobjectLogin info
+

Return type

+

CloudEndureUser

+

Authorization

+

No authorization required

+

HTTP request headers

+
    +
  • Content-Type: application/json
  • +
  • Accept: application/json
  • +
+

[Back to top] [Back to API list] [Back to Model list] [Back to README]

+

logout_post

+
+

logout_post()

+
+

Logout

+

Invalidates the session identifier associated with this session.

+

Example

+
from __future__ import print_function
+import time
+from cloudendure import cloudendure_api
+from cloudendure.cloudendure_api.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = cloudendure_api.AuthenticationApi()
+
+try:
+    # Logout
+    api_instance.logout_post()
+except ApiException as e:
+    print("Exception when calling AuthenticationApi->logout_post: %s\n" % e)
+
+ +

Parameters

+

This endpoint does not need any parameter.

+

Return type

+

void (empty response body)

+

Authorization

+

No authorization required

+

HTTP request headers

+
    +
  • Content-Type: Not defined
  • +
  • Accept: Not defined
  • +
+

[Back to top] [Back to API list] [Back to Model list] [Back to README]

+ + + + + + + + + + +
+
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/BlueprintApi/index.html b/api/BlueprintApi/index.html new file mode 100644 index 000000000..9e6955d4a --- /dev/null +++ b/api/BlueprintApi/index.html @@ -0,0 +1,2164 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + BlueprintApi - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+
+ + + + + +

cloudendure_api.BlueprintApi

+

All URIs are relative to https://console.cloudendure.com/api/latest

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
MethodHTTP requestDescription
projects_project_id_blueprints_blueprint_id_getGET /projects/{projectId}/blueprints/{blueprintId}Get Blueprint
projects_project_id_blueprints_blueprint_id_patchPATCH /projects/{projectId}/blueprints/{blueprintId}Configure Blueprint
projects_project_id_blueprints_getGET /projects/{projectId}/blueprintsList Blueprints
projects_project_id_blueprints_postPOST /projects/{projectId}/blueprintsCreate Blueprint
+

projects_project_id_blueprints_blueprint_id_get

+
+

CloudEndureBlueprint projects_project_id_blueprints_blueprint_id_get(project_id, blueprint_id)

+
+

Get Blueprint

+

Example

+
from __future__ import print_function
+import time
+from cloudendure import cloudendure_api
+from cloudendure.cloudendure_api.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = cloudendure_api.BlueprintApi()
+project_id = 'project_id_example' # str |
+blueprint_id = 'blueprint_id_example' # str |
+
+try:
+    # Get Blueprint
+    api_response = api_instance.projects_project_id_blueprints_blueprint_id_get(project_id, blueprint_id)
+    pprint(api_response)
+except ApiException as e:
+    print("Exception when calling BlueprintApi->projects_project_id_blueprints_blueprint_id_get: %s\n" % e)
+
+ +

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
project_idstr
blueprint_idstr
+

Return type

+

CloudEndureBlueprint

+

Authorization

+

No authorization required

+

HTTP request headers

+
    +
  • Content-Type: Not defined
  • +
  • Accept: application/json
  • +
+

[Back to top] [Back to API list] [Back to Model list] [Back to README]

+

projects_project_id_blueprints_blueprint_id_patch

+
+

CloudEndureBlueprint projects_project_id_blueprints_blueprint_id_patch(body, project_id, blueprint_id)

+
+

Configure Blueprint

+

Configure target machine characteristics: machine and disk types, network configuration, etc. Returns the modified object.

+

Example

+
from __future__ import print_function
+import time
+from cloudendure import cloudendure_api
+from cloudendure.cloudendure_api.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = cloudendure_api.BlueprintApi()
+body = cloudendure_api.CloudEndureBlueprint() # CloudEndureBlueprint |
+project_id = 'project_id_example' # str |
+blueprint_id = 'blueprint_id_example' # str |
+
+try:
+    # Configure Blueprint
+    api_response = api_instance.projects_project_id_blueprints_blueprint_id_patch(body, project_id, blueprint_id)
+    pprint(api_response)
+except ApiException as e:
+    print("Exception when calling BlueprintApi->projects_project_id_blueprints_blueprint_id_patch: %s\n" % e)
+
+ +

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
bodyCloudEndureBlueprint
project_idstr
blueprint_idstr
+

Return type

+

CloudEndureBlueprint

+

Authorization

+

No authorization required

+

HTTP request headers

+
    +
  • Content-Type: application/json
  • +
  • Accept: application/json
  • +
+

[Back to top] [Back to API list] [Back to Model list] [Back to README]

+

projects_project_id_blueprints_get

+
+

CloudEndureBlueprintList projects_project_id_blueprints_get(project_id, offset=offset, limit=limit)

+
+

List Blueprints

+

Returns the list of available blueprints in the project.

+

Example

+
from __future__ import print_function
+import time
+from cloudendure import cloudendure_api
+from cloudendure.cloudendure_api.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = cloudendure_api.BlueprintApi()
+project_id = 'project_id_example' # str |
+offset = 56 # int | With which item to start (0 based). (optional)
+limit = 56 # int | A number specifying how many entries to return. (optional)
+
+try:
+    # List Blueprints
+    api_response = api_instance.projects_project_id_blueprints_get(project_id, offset=offset, limit=limit)
+    pprint(api_response)
+except ApiException as e:
+    print("Exception when calling BlueprintApi->projects_project_id_blueprints_get: %s\n" % e)
+
+ +

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
project_idstr
offsetintWith which item to start (0 based).[optional]
limitintA number specifying how many entries to return.[optional]
+

Return type

+

CloudEndureBlueprintList

+

Authorization

+

No authorization required

+

HTTP request headers

+
    +
  • Content-Type: Not defined
  • +
  • Accept: application/json
  • +
+

[Back to top] [Back to API list] [Back to Model list] [Back to README]

+

projects_project_id_blueprints_post

+
+

CloudEndureBlueprint projects_project_id_blueprints_post(body, project_id)

+
+

Create Blueprint

+

Define the target machine characteristics: machine and disk types, network configuration, etc. There can be only one blueprint per machine per region. Returns the newly created object.

+

Example

+
from __future__ import print_function
+import time
+from cloudendure import cloudendure_api
+from cloudendure.cloudendure_api.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = cloudendure_api.BlueprintApi()
+body = cloudendure_api.CloudEndureBlueprint() # CloudEndureBlueprint |
+project_id = 'project_id_example' # str |
+
+try:
+    # Create Blueprint
+    api_response = api_instance.projects_project_id_blueprints_post(body, project_id)
+    pprint(api_response)
+except ApiException as e:
+    print("Exception when calling BlueprintApi->projects_project_id_blueprints_post: %s\n" % e)
+
+ +

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
bodyCloudEndureBlueprint
project_idstr
+

Return type

+

CloudEndureBlueprint

+

Authorization

+

No authorization required

+

HTTP request headers

+
    +
  • Content-Type: application/json
  • +
  • Accept: application/json
  • +
+

[Back to top] [Back to API list] [Back to Model list] [Back to README]

+ + + + + + + + + + +
+
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudApi/index.html b/api/CloudApi/index.html new file mode 100644 index 000000000..b1778a137 --- /dev/null +++ b/api/CloudApi/index.html @@ -0,0 +1,2227 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudApi - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+
+ + + + + +

cloudendure_api.CloudApi

+

All URIs are relative to https://console.cloudendure.com/api/latest

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
MethodHTTP requestDescription
cloud_credentials_creds_id_regions_getGET /cloudCredentials/{credsId}/regionsList Regions
cloud_credentials_creds_id_regions_region_id_deleteDELETE /cloudCredentials/{credsId}/regions/{regionId}Delete region (VCenter)
cloud_credentials_creds_id_regions_region_id_getGET /cloudCredentials/{credsId}/regions/{regionId}Get Region
cloud_credentials_creds_id_regions_region_id_patchPATCH /cloudCredentials/{credsId}/regions/{regionId}Patch region (rename)
clouds_getGET /cloudsList Clouds
+

cloud_credentials_creds_id_regions_get

+
+

CloudEndureRegionsList cloud_credentials_creds_id_regions_get(creds_id, offset=offset, limit=limit)

+
+

List Regions

+

Returns the list of regions these credentials provide access to.

+

Example

+
from __future__ import print_function
+import time
+from cloudendure import cloudendure_api
+from cloudendure.cloudendure_api.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = cloudendure_api.CloudApi()
+creds_id = 'creds_id_example' # str | UUID of the credentials to use. In case of on-premise, you should use the null UUID \"00000000-0000-0000-0000-000000000000\".
+offset = 56 # int | With which item to start (0 based). (optional)
+limit = 56 # int | A number specifying how many entries to return. (optional)
+
+try:
+    # List Regions
+    api_response = api_instance.cloud_credentials_creds_id_regions_get(creds_id, offset=offset, limit=limit)
+    pprint(api_response)
+except ApiException as e:
+    print("Exception when calling CloudApi->cloud_credentials_creds_id_regions_get: %s\n" % e)
+
+ +

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
creds_idstrUUID of the credentials to use. In case of on-premise, you should use the null UUID \"00000000-0000-0000-0000-000000000000\".
offsetintWith which item to start (0 based).[optional]
limitintA number specifying how many entries to return.[optional]
+

Return type

+

CloudEndureRegionsList

+

Authorization

+

No authorization required

+

HTTP request headers

+
    +
  • Content-Type: Not defined
  • +
  • Accept: application/json
  • +
+

[Back to top] [Back to API list] [Back to Model list] [Back to README]

+

cloud_credentials_creds_id_regions_region_id_delete

+
+

cloud_credentials_creds_id_regions_region_id_delete(creds_id, region_id)

+
+

Delete region (VCenter)

+

Example

+
from __future__ import print_function
+import time
+from cloudendure import cloudendure_api
+from cloudendure.cloudendure_api.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = cloudendure_api.CloudApi()
+creds_id = 'creds_id_example' # str | UUID of the credentials to use. In case of on-premise, you should use the null UUID \"00000000-0000-0000-0000-000000000000\".
+region_id = 'region_id_example' # str |
+
+try:
+    # Delete region (VCenter)
+    api_instance.cloud_credentials_creds_id_regions_region_id_delete(creds_id, region_id)
+except ApiException as e:
+    print("Exception when calling CloudApi->cloud_credentials_creds_id_regions_region_id_delete: %s\n" % e)
+
+ +

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
creds_idstrUUID of the credentials to use. In case of on-premise, you should use the null UUID \"00000000-0000-0000-0000-000000000000\".
region_idstr
+

Return type

+

void (empty response body)

+

Authorization

+

No authorization required

+

HTTP request headers

+
    +
  • Content-Type: Not defined
  • +
  • Accept: Not defined
  • +
+

[Back to top] [Back to API list] [Back to Model list] [Back to README]

+

cloud_credentials_creds_id_regions_region_id_get

+
+

CloudEndureRegion cloud_credentials_creds_id_regions_region_id_get(creds_id, region_id)

+
+

Get Region

+

Example

+
from __future__ import print_function
+import time
+from cloudendure import cloudendure_api
+from cloudendure.cloudendure_api.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = cloudendure_api.CloudApi()
+creds_id = 'creds_id_example' # str | UUID of the credentials to use. In case of on-premise, you should use the null UUID \"00000000-0000-0000-0000-000000000000\".
+region_id = 'region_id_example' # str |
+
+try:
+    # Get Region
+    api_response = api_instance.cloud_credentials_creds_id_regions_region_id_get(creds_id, region_id)
+    pprint(api_response)
+except ApiException as e:
+    print("Exception when calling CloudApi->cloud_credentials_creds_id_regions_region_id_get: %s\n" % e)
+
+ +

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
creds_idstrUUID of the credentials to use. In case of on-premise, you should use the null UUID \"00000000-0000-0000-0000-000000000000\".
region_idstr
+

Return type

+

CloudEndureRegion

+

Authorization

+

No authorization required

+

HTTP request headers

+
    +
  • Content-Type: Not defined
  • +
  • Accept: application/json
  • +
+

[Back to top] [Back to API list] [Back to Model list] [Back to README]

+

cloud_credentials_creds_id_regions_region_id_patch

+
+

CloudEndureRegion cloud_credentials_creds_id_regions_region_id_patch(body, creds_id, region_id)

+
+

Patch region (rename)

+

Example

+
from __future__ import print_function
+import time
+from cloudendure import cloudendure_api
+from cloudendure.cloudendure_api.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = cloudendure_api.CloudApi()
+body = cloudendure_api.CloudEndureRegion() # CloudEndureRegion |
+creds_id = 'creds_id_example' # str | UUID of the credentials to use. In case of on-premise, you should use the null UUID \"00000000-0000-0000-0000-000000000000\".
+region_id = 'region_id_example' # str |
+
+try:
+    # Patch region (rename)
+    api_response = api_instance.cloud_credentials_creds_id_regions_region_id_patch(body, creds_id, region_id)
+    pprint(api_response)
+except ApiException as e:
+    print("Exception when calling CloudApi->cloud_credentials_creds_id_regions_region_id_patch: %s\n" % e)
+
+ +

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
bodyCloudEndureRegion
creds_idstrUUID of the credentials to use. In case of on-premise, you should use the null UUID \"00000000-0000-0000-0000-000000000000\".
region_idstr
+

Return type

+

CloudEndureRegion

+

Authorization

+

No authorization required

+

HTTP request headers

+
    +
  • Content-Type: application/json
  • +
  • Accept: application/json
  • +
+

[Back to top] [Back to API list] [Back to Model list] [Back to README]

+

clouds_get

+
+

CloudEndureCloudsList clouds_get(offset=offset, limit=limit)

+
+

List Clouds

+

Returns a list of clouds that can be used with CloudEndure. The roles array determines whether this cloud can be used as source, target, or both.

+

Example

+
from __future__ import print_function
+import time
+from cloudendure import cloudendure_api
+from cloudendure.cloudendure_api.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = cloudendure_api.CloudApi()
+offset = 56 # int | With which item to start (0 based). (optional)
+limit = 56 # int | A number specifying how many entries to return. (optional)
+
+try:
+    # List Clouds
+    api_response = api_instance.clouds_get(offset=offset, limit=limit)
+    pprint(api_response)
+except ApiException as e:
+    print("Exception when calling CloudApi->clouds_get: %s\n" % e)
+
+ +

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
offsetintWith which item to start (0 based).[optional]
limitintA number specifying how many entries to return.[optional]
+

Return type

+

CloudEndureCloudsList

+

Authorization

+

No authorization required

+

HTTP request headers

+
    +
  • Content-Type: Not defined
  • +
  • Accept: application/json
  • +
+

[Back to top] [Back to API list] [Back to Model list] [Back to README]

+ + + + + + + + + + +
+
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudCredentialsApi/index.html b/api/CloudCredentialsApi/index.html new file mode 100644 index 000000000..273348fce --- /dev/null +++ b/api/CloudCredentialsApi/index.html @@ -0,0 +1,2136 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudCredentialsApi - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+
+ + + + + +

cloudendure_api.CloudCredentialsApi

+

All URIs are relative to https://console.cloudendure.com/api/latest

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
MethodHTTP requestDescription
cloud_credentials_creds_id_getGET /cloudCredentials/{credsId}Get Credentials
cloud_credentials_creds_id_patchPATCH /cloudCredentials/{credsId}Change Credentials
cloud_credentials_getGET /cloudCredentialsList Credentials
cloud_credentials_postPOST /cloudCredentialsCreate Credentials
+

cloud_credentials_creds_id_get

+
+

CloudEndureCloudCredentials cloud_credentials_creds_id_get(creds_id)

+
+

Get Credentials

+

Example

+
from __future__ import print_function
+import time
+from cloudendure import cloudendure_api
+from cloudendure.cloudendure_api.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = cloudendure_api.CloudCredentialsApi()
+creds_id = 'creds_id_example' # str | UUID of the credentials to use. In case of on-premise, you should use the null UUID \"00000000-0000-0000-0000-000000000000\".
+
+try:
+    # Get Credentials
+    api_response = api_instance.cloud_credentials_creds_id_get(creds_id)
+    pprint(api_response)
+except ApiException as e:
+    print("Exception when calling CloudCredentialsApi->cloud_credentials_creds_id_get: %s\n" % e)
+
+ +

Parameters

+ + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
creds_idstrUUID of the credentials to use. In case of on-premise, you should use the null UUID \"00000000-0000-0000-0000-000000000000\".
+

Return type

+

CloudEndureCloudCredentials

+

Authorization

+

No authorization required

+

HTTP request headers

+
    +
  • Content-Type: Not defined
  • +
  • Accept: application/json
  • +
+

[Back to top] [Back to API list] [Back to Model list] [Back to README]

+

cloud_credentials_creds_id_patch

+
+

CloudEndureCloudCredentials cloud_credentials_creds_id_patch(body, creds_id)

+
+

Change Credentials

+

Changes the cloud credentials. @todo:v15 If the new Cloud Credentials are to a different cloud account (or different cloud), than PATCH should fail with ??? error code and ??? error message. Old v14 behavior: If the these cloud credentials are used with the current replication, and the new credentials are to a different cloud account (or different cloud), all agents will be uninstalled and replication will stop on them.

+

Example

+
from __future__ import print_function
+import time
+from cloudendure import cloudendure_api
+from cloudendure.cloudendure_api.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = cloudendure_api.CloudCredentialsApi()
+body = cloudendure_api.CloudEndureCloudCredentialsRequest() # CloudEndureCloudCredentialsRequest |
+creds_id = 'creds_id_example' # str | UUID of the credentials to use. In case of on-premise, you should use the null UUID \"00000000-0000-0000-0000-000000000000\".
+
+try:
+    # Change Credentials
+    api_response = api_instance.cloud_credentials_creds_id_patch(body, creds_id)
+    pprint(api_response)
+except ApiException as e:
+    print("Exception when calling CloudCredentialsApi->cloud_credentials_creds_id_patch: %s\n" % e)
+
+ +

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
bodyCloudEndureCloudCredentialsRequest
creds_idstrUUID of the credentials to use. In case of on-premise, you should use the null UUID \"00000000-0000-0000-0000-000000000000\".
+

Return type

+

CloudEndureCloudCredentials

+

Authorization

+

No authorization required

+

HTTP request headers

+
    +
  • Content-Type: application/json
  • +
  • Accept: application/json
  • +
+

[Back to top] [Back to API list] [Back to Model list] [Back to README]

+

cloud_credentials_get

+
+

CloudEndureCloudCredentialsList cloud_credentials_get(offset=offset, limit=limit)

+
+

List Credentials

+

Returns the list of cloudCredentials in the account.

+

Example

+
from __future__ import print_function
+import time
+from cloudendure import cloudendure_api
+from cloudendure.cloudendure_api.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = cloudendure_api.CloudCredentialsApi()
+offset = 56 # int | With which item to start (0 based). (optional)
+limit = 56 # int | A number specifying how many entries to return. (optional)
+
+try:
+    # List Credentials
+    api_response = api_instance.cloud_credentials_get(offset=offset, limit=limit)
+    pprint(api_response)
+except ApiException as e:
+    print("Exception when calling CloudCredentialsApi->cloud_credentials_get: %s\n" % e)
+
+ +

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
offsetintWith which item to start (0 based).[optional]
limitintA number specifying how many entries to return.[optional]
+

Return type

+

CloudEndureCloudCredentialsList

+

Authorization

+

No authorization required

+

HTTP request headers

+
    +
  • Content-Type: Not defined
  • +
  • Accept: application/json
  • +
+

[Back to top] [Back to API list] [Back to Model list] [Back to README]

+

cloud_credentials_post

+
+

CloudEndureCloudCredentials cloud_credentials_post(body)

+
+

Create Credentials

+

Provide the credentials with which to access the cloud API. Returns the newly created object.

+

Example

+
from __future__ import print_function
+import time
+from cloudendure import cloudendure_api
+from cloudendure.cloudendure_api.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = cloudendure_api.CloudCredentialsApi()
+body = cloudendure_api.CloudEndureCloudCredentialsRequest() # CloudEndureCloudCredentialsRequest |
+
+try:
+    # Create Credentials
+    api_response = api_instance.cloud_credentials_post(body)
+    pprint(api_response)
+except ApiException as e:
+    print("Exception when calling CloudCredentialsApi->cloud_credentials_post: %s\n" % e)
+
+ +

Parameters

+ + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
bodyCloudEndureCloudCredentialsRequest
+

Return type

+

CloudEndureCloudCredentials

+

Authorization

+

No authorization required

+

HTTP request headers

+
    +
  • Content-Type: application/json
  • +
  • Accept: application/json
  • +
+

[Back to top] [Back to API list] [Back to Model list] [Back to README]

+ + + + + + + + + + +
+
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureAccount/index.html b/api/CloudEndureAccount/index.html new file mode 100644 index 000000000..465ea2f2e --- /dev/null +++ b/api/CloudEndureAccount/index.html @@ -0,0 +1,2024 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureAccount - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+
+ + + + + +

CloudEndureAccount

+

Properties

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
invite_token_expiry_minutesint[optional]
allow_archiving_default_valuebool[optional]
per_account_user_poolbool[optional]
is_gcp_self_servicebool[optional]
is_dr_trialbool[optional]
is_arm_self_servicebool[optional]
is_aws_self_servicebool[optional]
saml_settingsCloudEndureSamlSettings[optional]
is_right_sizing_enabledbool[optional]
default_license_typestr[optional]
max_projects_allowedint[optional]
ce_admin_propertiesobjectFor internal use.[optional]
owner_idstrAccount Owner (a User)[optional]
is_med_onebool[optional]
idstrUUID of the account[optional]
+

[Back to Model list] [Back to API list] [Back to README]

+ + + + + + + + + + +
+
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureAccountRequest/index.html b/api/CloudEndureAccountRequest/index.html new file mode 100644 index 000000000..a51da224a --- /dev/null +++ b/api/CloudEndureAccountRequest/index.html @@ -0,0 +1,1964 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureAccountRequest - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+
+ + + + + +

CloudEndureAccountRequest

+

Properties

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
idstr[optional]
request_typestr[optional]
emailstr[optional]
request_linkstr[optional]
registration_tokenstr[optional]
+

[Back to Model list] [Back to API list] [Back to README]

+ + + + + + + + + + +
+
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureAccountRequestList/index.html b/api/CloudEndureAccountRequestList/index.html new file mode 100644 index 000000000..c4e1c927f --- /dev/null +++ b/api/CloudEndureAccountRequestList/index.html @@ -0,0 +1,1940 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureAccountRequestList - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+ +
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureAccountsList/index.html b/api/CloudEndureAccountsList/index.html new file mode 100644 index 000000000..870deda76 --- /dev/null +++ b/api/CloudEndureAccountsList/index.html @@ -0,0 +1,1940 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureAccountsList - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+ +
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureAgentNextReplicationInitRequest/index.html b/api/CloudEndureAgentNextReplicationInitRequest/index.html new file mode 100644 index 000000000..6ecdcdf89 --- /dev/null +++ b/api/CloudEndureAgentNextReplicationInitRequest/index.html @@ -0,0 +1,1940 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureAgentNextReplicationInitRequest - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+ +
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureAllProjectFeatures/index.html b/api/CloudEndureAllProjectFeatures/index.html new file mode 100644 index 000000000..7a5fe1d96 --- /dev/null +++ b/api/CloudEndureAllProjectFeatures/index.html @@ -0,0 +1,2126 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureAllProjectFeatures - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+
+ + + + + +

CloudEndureAllProjectFeatures

+

Properties

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
googlebool[optional]
is_demobool[optional]
windows_convertersbool[optional]
force_reversed_handshake_directionbool[optional]
no_convertersbool[optional]
viobool[optional]
no_cloudbool[optional]
consistent_snapshot_creation_interval_minint[optional]
no_public_ipsbool[optional]
daily_pit_numberint[optional]
mtu_sizeint[optional]
allow_byol_on_dedicated_instancebool[optional]
max_converter_volumesint[optional]
azurearmbool[optional]
vcenterbool[optional]
subnet_filterstr[optional]
no_snapshot_considered_lag_millisecondsint[optional]
no_converters_windowsbool[optional]
disable_replica_creationbool[optional]
awsbool[optional]
max_replicator_volumesint[optional]
allow_recovery_plansbool[optional]
snapshot_creation_interval_minint[optional]
snapshot_on_demand_timeoutint[optional]
allow_archivingbool[optional]
custom_replicator_instance_typestr[optional]
disable_snapshot_on_demandbool[optional]
disable_installbool[optional]
hddbool[optional]
snapshot_creation_interval_maxint[optional]
ce_admin_propertiesobjectFor internal use.[optional]
azurebool[optional]
+

[Back to Model list] [Back to API list] [Back to README]

+ + + + + + + + + + +
+
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureAuditLog/index.html b/api/CloudEndureAuditLog/index.html new file mode 100644 index 000000000..a6ff148a5 --- /dev/null +++ b/api/CloudEndureAuditLog/index.html @@ -0,0 +1,1946 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureAuditLog - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+ +
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureAuditLogChangedField/index.html b/api/CloudEndureAuditLogChangedField/index.html new file mode 100644 index 000000000..c2889dc1a --- /dev/null +++ b/api/CloudEndureAuditLogChangedField/index.html @@ -0,0 +1,1952 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureAuditLogChangedField - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+
+ + + + + +

CloudEndureAuditLogChangedField

+

Properties

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
field_namestr[optional]
new_valuestr[optional]
old_valuestr[optional]
+

[Back to Model list] [Back to API list] [Back to README]

+ + + + + + + + + + +
+
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureAuditLogEntry/index.html b/api/CloudEndureAuditLogEntry/index.html new file mode 100644 index 000000000..0fba17d40 --- /dev/null +++ b/api/CloudEndureAuditLogEntry/index.html @@ -0,0 +1,2012 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureAuditLogEntry - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+
+ + + + + +

CloudEndureAuditLogEntry

+

Properties

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
usernamestrusername (typically an email) of user who initiated action (in UI or via API) which resulted in this audit log entry being added.[optional]
event_namestrUnique event name. One of: - replicationConfigurationChanged - blueprintChanged - ... @todo: complete[optional]
participating_machineslist[object]List of machine-identifiers objects. Only present if Audit Log entry relates to one or more machines.[optional]
descriptionstrLong-form human-readable description of Audit Log entry.[optional]
changed_fieldslist[CloudEndureAuditLogChangedField]Map of fields that have been changed and their old an new values. Only present when eventName is replicationConfigurationChanged or blueprintChanged[optional]
timestampdatetimeRFC 3339 compliant date-time string of when Audit Log entry was created/ event described by audit log entry happened.[optional]
job_idstrID of Job due to which this log entry was created (only included if log entry is result of a Job)[optional]
+

[Back to Model list] [Back to API list] [Back to README]

+ + + + + + + + + + +
+
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureBandwidthThrottling/index.html b/api/CloudEndureBandwidthThrottling/index.html new file mode 100644 index 000000000..06de8ad91 --- /dev/null +++ b/api/CloudEndureBandwidthThrottling/index.html @@ -0,0 +1,1940 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureBandwidthThrottling - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+
+ + + + + +

CloudEndureBandwidthThrottling

+

Properties

+ + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
bandwidth_throttlingintMbps to use for Data Replication (zero means no throttling).[optional]
+

[Back to Model list] [Back to API list] [Back to README]

+ + + + + + + + + + +
+
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureBlueprint/index.html b/api/CloudEndureBlueprint/index.html new file mode 100644 index 000000000..6bb5a5201 --- /dev/null +++ b/api/CloudEndureBlueprint/index.html @@ -0,0 +1,2132 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureBlueprint - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+
+ + + + + +

CloudEndureBlueprint

+

Properties

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
iam_rolestrAWS only. Possible values can be fetched from the Region object.[optional]
scsi_adapter_typestrCurrently relevant for vCenter cloud only. Possible values can be fetched from the Region object.[optional]
public_ip_actionstrWhether to allocate an ephemeral public IP, or not. AS_SUBNET causes CloudEndure to copy this property from the source machine.[optional]
machine_namestr[optional]
cpusintNumber of CPUs per per Target machine; Currently relevant for vCenter cloud only; Max value can be fetched from the maxCpusPerMachine property of the Region object.[optional]
security_group_i_dslist[str]AWS only. The security groups that will be applied to the target machine. Possible values can be fetched from the Region object.[optional]
run_after_launchboolAWS only. Whether to power on the launched target machine after launch. True by default.[optional]
recommended_private_ipstrThe private IP address recommended for use with this machine.[optional]
network_interfacestr[optional]
idstr[optional]
mb_ramintMB RAM per Target machine; Currently relevant for vCenter cloud only; Max value can be fetched from the maxMbRamPerMachine property of the Region object.[optional]
instance_typestrPossible values can be fetched from the Region object, plus special values \"COPY_ORIGIN\" or \"CUSTOM\"[optional]
subnet_i_dslist[str]AWS only. Configures a subnets in which the instance network interface will take part. Possible values can be fetched from the Region object.[optional]
cores_per_cpuintNumber of CPU cores per CPU in Target machine; Currently relevant for vCenter cloud only.[optional]
recommended_instance_typestrWhen instance rightsizing is enabled, the instance type suitable for the source machine's HW[optional]
static_ipstrPossible values can be fetched from the Region object.[optional]
tagslist[object]AWS only. Tags that will be applied to the target machine.[optional]
security_group_actionstrHow to assign a security group to the target machine.[optional]
private_i_pslist[str][optional]
tenancystr[optional]
compute_location_idstrtodo[optional]
subnets_host_projectstrGCP only. Host project for cross project network subnet.[optional]
logical_location_idstrvcenter = vmFolder; relates to $ref LogicalLocation[optional]
network_adapter_typestrCurrently relevant for vCenter cloud only. Possible values can be fetched from the Region object.[optional]
byol_on_dedicated_instanceboolspecifies whether to use byol windows license if dedicated instance tenancy is selected.[optional]
placement_groupstrAWS only. Possible values can be fetched from the Region object.[optional]
machine_idstr[optional]
regionstr[optional]
diskslist[object]AWS only. Target machine disk properties.[optional]
private_ip_actionstr[optional]
static_ip_actionstr[optional]
dedicated_host_identifierstr[optional]
use_shared_rambooltodo[optional]
+

[Back to Model list] [Back to API list] [Back to README]

+ + + + + + + + + + +
+
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureBlueprintList/index.html b/api/CloudEndureBlueprintList/index.html new file mode 100644 index 000000000..c6c80e86a --- /dev/null +++ b/api/CloudEndureBlueprintList/index.html @@ -0,0 +1,1940 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureBlueprintList - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+ +
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureCloud/index.html b/api/CloudEndureCloud/index.html new file mode 100644 index 000000000..188b906f4 --- /dev/null +++ b/api/CloudEndureCloud/index.html @@ -0,0 +1,1952 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureCloud - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+ +
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureCloudCredentials/index.html b/api/CloudEndureCloudCredentials/index.html new file mode 100644 index 000000000..8d591cedf --- /dev/null +++ b/api/CloudEndureCloudCredentials/index.html @@ -0,0 +1,1964 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureCloudCredentials - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+
+ + + + + +

CloudEndureCloudCredentials

+

Properties

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
idstr[optional]
public_keystrThe public part of the Cloud credentials. For AWS - access key ID; for GCP - user email; for Azure - SHA1 digestion of the certificate file.[optional]
account_identifierstrAn ID provided by the cloud for the user account.[optional]
cloudstr[optional]
namestrAn optional (can be empty), user provided, descriptive name.[optional]
+

[Back to Model list] [Back to API list] [Back to README]

+ + + + + + + + + + +
+
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureCloudCredentialsList/index.html b/api/CloudEndureCloudCredentialsList/index.html new file mode 100644 index 000000000..24ec181ea --- /dev/null +++ b/api/CloudEndureCloudCredentialsList/index.html @@ -0,0 +1,1940 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureCloudCredentialsList - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+ +
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureCloudCredentialsRequest/index.html b/api/CloudEndureCloudCredentialsRequest/index.html new file mode 100644 index 000000000..f9c87d1b1 --- /dev/null +++ b/api/CloudEndureCloudCredentialsRequest/index.html @@ -0,0 +1,1970 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureCloudCredentialsRequest - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+
+ + + + + +

CloudEndureCloudCredentialsRequest

+

Properties

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
public_keystrThe public part of the Cloud credentials. For AWS - The access key ID, For GCP and Azure - N/A.[optional]
namestrAn optional (can be empty), user provided, descriptive name.[optional]
cloud_idstr
private_keystrCloud credentials secret. For AWS - The secret access key, For GCP - The private key in JSON format, For Azure - The certificate file.[optional]
account_identifierstrCloud account identifier. For AWS - N/A, For GCP - The project ID, For Azure - The subscription ID.[optional]
idstr[optional]
+

[Back to Model list] [Back to API list] [Back to README]

+ + + + + + + + + + +
+
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureCloudsList/index.html b/api/CloudEndureCloudsList/index.html new file mode 100644 index 000000000..f5eae5d8f --- /dev/null +++ b/api/CloudEndureCloudsList/index.html @@ -0,0 +1,1940 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureCloudsList - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+ +
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureComputeLocation/index.html b/api/CloudEndureComputeLocation/index.html new file mode 100644 index 000000000..d642c0f5f --- /dev/null +++ b/api/CloudEndureComputeLocation/index.html @@ -0,0 +1,1952 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureComputeLocation - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+
+ + + + + +

CloudEndureComputeLocation

+

Properties

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
is_encryption_supportedbool[optional]
location_idstr[optional]
namestr[optional]
+

[Back to Model list] [Back to API list] [Back to README]

+ + + + + + + + + + +
+
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureConfigurations/index.html b/api/CloudEndureConfigurations/index.html new file mode 100644 index 000000000..c27df28cd --- /dev/null +++ b/api/CloudEndureConfigurations/index.html @@ -0,0 +1,1946 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureConfigurations - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+ +
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureConfigurationsList/index.html b/api/CloudEndureConfigurationsList/index.html new file mode 100644 index 000000000..d455a610a --- /dev/null +++ b/api/CloudEndureConfigurationsList/index.html @@ -0,0 +1,1940 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureConfigurationsList - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+ +
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureError/index.html b/api/CloudEndureError/index.html new file mode 100644 index 000000000..e526acc07 --- /dev/null +++ b/api/CloudEndureError/index.html @@ -0,0 +1,1946 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureError - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+ +
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureExtendedAccountInfo/index.html b/api/CloudEndureExtendedAccountInfo/index.html new file mode 100644 index 000000000..083c6866e --- /dev/null +++ b/api/CloudEndureExtendedAccountInfo/index.html @@ -0,0 +1,1982 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureExtendedAccountInfo - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+
+ + + + + +

CloudEndureExtendedAccountInfo

+

Properties

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
accountCloudEndureAccount[optional]
cloudsCloudEndureCloudsList[optional]
generic_regionCloudEndureRegion[optional]
date_timeCloudEndureTime[optional]
userCloudEndureUser[optional]
projectsCloudEndureProjectsList[optional]
is_newly_registeredbool[optional]
replication_configurationsCloudEndureReplicationConfigurationList[optional]
+

[Back to Model list] [Back to API list] [Back to README]

+ + + + + + + + + + +
+
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureFindFilesParameters/index.html b/api/CloudEndureFindFilesParameters/index.html new file mode 100644 index 000000000..a38f6ae9e --- /dev/null +++ b/api/CloudEndureFindFilesParameters/index.html @@ -0,0 +1,1946 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureFindFilesParameters - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+ +
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureFindFilesResult/index.html b/api/CloudEndureFindFilesResult/index.html new file mode 100644 index 000000000..855593325 --- /dev/null +++ b/api/CloudEndureFindFilesResult/index.html @@ -0,0 +1,1952 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureFindFilesResult - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+ +
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureFindFilesResultPit/index.html b/api/CloudEndureFindFilesResultPit/index.html new file mode 100644 index 000000000..414d6e047 --- /dev/null +++ b/api/CloudEndureFindFilesResultPit/index.html @@ -0,0 +1,1946 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureFindFilesResultPit - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+ +
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureFindFilesResults/index.html b/api/CloudEndureFindFilesResults/index.html new file mode 100644 index 000000000..dd782d37c --- /dev/null +++ b/api/CloudEndureFindFilesResults/index.html @@ -0,0 +1,1958 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureFindFilesResults - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+ +
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureGcpMachinesFinanceData/index.html b/api/CloudEndureGcpMachinesFinanceData/index.html new file mode 100644 index 000000000..ab9b01a82 --- /dev/null +++ b/api/CloudEndureGcpMachinesFinanceData/index.html @@ -0,0 +1,1982 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureGcpMachinesFinanceData - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+
+ + + + + +

CloudEndureGcpMachinesFinanceData

+

Properties

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
gcp_project_namestr[optional]
machine_namestr[optional]
number_of_coresint[optional]
creation_timedatetime[optional]
is_preemptiblebool[optional]
has_gpubool[optional]
machine_idstr[optional]
ce_project_namestr[optional]
+

[Back to Model list] [Back to API list] [Back to README]

+ + + + + + + + + + +
+
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureIdentityProviderRedirectResponse/index.html b/api/CloudEndureIdentityProviderRedirectResponse/index.html new file mode 100644 index 000000000..54f75f82c --- /dev/null +++ b/api/CloudEndureIdentityProviderRedirectResponse/index.html @@ -0,0 +1,1940 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureIdentityProviderRedirectResponse - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+ +
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureInitializationStep/index.html b/api/CloudEndureInitializationStep/index.html new file mode 100644 index 000000000..06971eb64 --- /dev/null +++ b/api/CloudEndureInitializationStep/index.html @@ -0,0 +1,1952 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureInitializationStep - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+ +
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureJob/index.html b/api/CloudEndureJob/index.html new file mode 100644 index 000000000..562fc0618 --- /dev/null +++ b/api/CloudEndureJob/index.html @@ -0,0 +1,1982 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureJob - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+
+ + + + + +

CloudEndureJob

+

Properties

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
statusstr[optional]
participating_machineslist[str][optional]
loglist[object][optional]
typestrtodo explian that cleanup is also for restore servers[optional]
end_date_timedatetime[optional]
creation_date_timedatetime[optional]
idstr[optional]
initiated_bystrusername of user who initiated the job[optional]
+

[Back to Model list] [Back to API list] [Back to README]

+ + + + + + + + + + +
+
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureJobsList/index.html b/api/CloudEndureJobsList/index.html new file mode 100644 index 000000000..d0c811bc1 --- /dev/null +++ b/api/CloudEndureJobsList/index.html @@ -0,0 +1,1940 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureJobsList - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+ +
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureKeyValueList/index.html b/api/CloudEndureKeyValueList/index.html new file mode 100644 index 000000000..3b5f2038c --- /dev/null +++ b/api/CloudEndureKeyValueList/index.html @@ -0,0 +1,1940 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureKeyValueList - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+ +
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureLaunchMachinesParameters/index.html b/api/CloudEndureLaunchMachinesParameters/index.html new file mode 100644 index 000000000..54203cbd7 --- /dev/null +++ b/api/CloudEndureLaunchMachinesParameters/index.html @@ -0,0 +1,1952 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureLaunchMachinesParameters - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+ +
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureLicense/index.html b/api/CloudEndureLicense/index.html new file mode 100644 index 000000000..063735cad --- /dev/null +++ b/api/CloudEndureLicense/index.html @@ -0,0 +1,1982 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureLicense - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+
+ + + + + +

CloudEndureLicense

+

Properties

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
countintThe total number of licenses.[optional]
duration_from_start_of_usestrValidity period for a a single license from the time of agent installation.[optional]
usedintHow many licenses have already been consumed.[optional]
featuresCloudEndureLicenseFeatures[optional]
expiration_date_timedatetime[optional]
ce_admin_propertiesobjectFor internal use.[optional]
typestrLicense type. DR licenses can be moved from one machine to another. Migration licenses are consumed upon installation.[optional]
idstr[optional]
+

[Back to Model list] [Back to API list] [Back to README]

+ + + + + + + + + + +
+
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureLicenseFeatures/index.html b/api/CloudEndureLicenseFeatures/index.html new file mode 100644 index 000000000..9a3fe7243 --- /dev/null +++ b/api/CloudEndureLicenseFeatures/index.html @@ -0,0 +1,1946 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureLicenseFeatures - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+ +
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureLicenseList/index.html b/api/CloudEndureLicenseList/index.html new file mode 100644 index 000000000..16d4b1c23 --- /dev/null +++ b/api/CloudEndureLicenseList/index.html @@ -0,0 +1,1940 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureLicenseList - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+ +
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureListUsersResult/index.html b/api/CloudEndureListUsersResult/index.html new file mode 100644 index 000000000..01fa63955 --- /dev/null +++ b/api/CloudEndureListUsersResult/index.html @@ -0,0 +1,1964 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureListUsersResult - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+
+ + + + + +

CloudEndureListUsersResult

+

Properties

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
usernamestr[optional]
is_account_ownerbool[optional]
statestr[optional]
versionstr[optional]
account_uuidstr[optional]
+

[Back to Model list] [Back to API list] [Back to README]

+ + + + + + + + + + +
+
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureListUsersResults/index.html b/api/CloudEndureListUsersResults/index.html new file mode 100644 index 000000000..cdca12c93 --- /dev/null +++ b/api/CloudEndureListUsersResults/index.html @@ -0,0 +1,1940 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureListUsersResults - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+ +
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureLogicalLocation/index.html b/api/CloudEndureLogicalLocation/index.html new file mode 100644 index 000000000..1adbaba80 --- /dev/null +++ b/api/CloudEndureLogicalLocation/index.html @@ -0,0 +1,1946 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureLogicalLocation - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+ +
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureMachine/index.html b/api/CloudEndureMachine/index.html new file mode 100644 index 000000000..ffa90290a --- /dev/null +++ b/api/CloudEndureMachine/index.html @@ -0,0 +1,2006 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureMachine - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+
+ + + + + +

CloudEndureMachine

+

Properties

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
source_propertiesobjectSource machine properties.[optional]
replication_infoobjectDetailed information on the state of replication.[optional]
licenseobjectDetailed machine license consumption information.[optional]
tagslist[str][optional]
restore_serverslist[str]todo restoreServer ids[optional]
from_point_in_timeCloudEndurePointInTime[optional]
replication_statusstrIs replication started, paused or stopped[optional]
replicastrThe ID of the target machine that has been previously launched, if such exists.[optional]
idstr[optional]
replication_configurationCloudEndureMachineReplicationConfiguration[optional]
life_cycleobjectDetailed machine lifecycle information.[optional]
is_agent_installedboolWhether a CloudEndure agent is currently installed on this machine.[optional]
+

[Back to Model list] [Back to API list] [Back to README]

+ + + + + + + + + + +
+
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureMachineAndPathAndPointInTime/index.html b/api/CloudEndureMachineAndPathAndPointInTime/index.html new file mode 100644 index 000000000..73e22286f --- /dev/null +++ b/api/CloudEndureMachineAndPathAndPointInTime/index.html @@ -0,0 +1,1952 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureMachineAndPathAndPointInTime - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+
+ + + + + +

CloudEndureMachineAndPathAndPointInTime

+

Properties

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
machine_idstr
point_in_time_idstr[optional]
file_pathstr
+

[Back to Model list] [Back to API list] [Back to README]

+ + + + + + + + + + +
+
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureMachineAndPointInTime/index.html b/api/CloudEndureMachineAndPointInTime/index.html new file mode 100644 index 000000000..75577c1c3 --- /dev/null +++ b/api/CloudEndureMachineAndPointInTime/index.html @@ -0,0 +1,1946 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureMachineAndPointInTime - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+
+ + + + + +

CloudEndureMachineAndPointInTime

+

Properties

+ + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
machine_idstrA source machine to launch a target machine for.
point_in_time_idstrThe ID of the pointInTime to launch a target machine from. If omitted, CloudEndure will use the latest pointInTime.[optional]
+

[Back to Model list] [Back to API list] [Back to README]

+ + + + + + + + + + +
+
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureMachineReplicationConfiguration/index.html b/api/CloudEndureMachineReplicationConfiguration/index.html new file mode 100644 index 000000000..bfefcb880 --- /dev/null +++ b/api/CloudEndureMachineReplicationConfiguration/index.html @@ -0,0 +1,2036 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureMachineReplicationConfiguration - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+
+ + + + + +

CloudEndureMachineReplicationConfiguration

+

Properties

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
volume_encryption_keystrAWS only. ARN to private key for Volume Encryption. Possible values can be fetched from the Region object.[optional]
replication_tagslist[object]AWS only. Tags that will be applied to every cloud resource created in the CloudEndure Staging Area.[optional]
subnet_host_projectstrGCP only. Host project of cross project network subnet.[optional]
replication_server_typestr[optional]
compute_location_idstrtodo vcenter only[optional]
subnet_idstrSubnet where replication servers will be created. Possible values can be fetched from the Region object.[optional]
logical_location_idstrvcenter = vmFolder[optional]
bandwidth_throttlingintMbps to use for Data Replication (zero means no throttling).[optional]
storage_location_idstr@todo backend creates cloudendure bla bla storage account upon need (empty string).[optional]
use_dedicated_serverbool[optional]
zonestrRelevant for GCP and Azure ARM. The Zone to replicate into.[optional]
replicator_security_group_i_dslist[str]AWS only. The security groups that will be applied to the replication servers. Possible values can be fetched from the Region object.[optional]
use_private_ipboolShould the CloudEndure agent access the replication server using its private IP address.[optional]
proxy_urlstrThe full URI for a proxy (schema, username, password, domain, port) if required for the CloudEndure agent.[optional]
volume_encryption_allowedbooltodo AWS only... not relevant for Backup Projects because EBS is not used[optional]
archiving_enabledbool[optional]
object_storage_locationstrbucket in aws[optional]
+

[Back to Model list] [Back to API list] [Back to README]

+ + + + + + + + + + +
+
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureMachineSnapshotCredits/index.html b/api/CloudEndureMachineSnapshotCredits/index.html new file mode 100644 index 000000000..20a642fe1 --- /dev/null +++ b/api/CloudEndureMachineSnapshotCredits/index.html @@ -0,0 +1,1940 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureMachineSnapshotCredits - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+ +
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureMachineThrottleTimeSeconds/index.html b/api/CloudEndureMachineThrottleTimeSeconds/index.html new file mode 100644 index 000000000..3aed27956 --- /dev/null +++ b/api/CloudEndureMachineThrottleTimeSeconds/index.html @@ -0,0 +1,1940 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureMachineThrottleTimeSeconds - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+ +
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureMachinesList/index.html b/api/CloudEndureMachinesList/index.html new file mode 100644 index 000000000..17e13fcac --- /dev/null +++ b/api/CloudEndureMachinesList/index.html @@ -0,0 +1,1940 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureMachinesList - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+ +
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureMachinesListInvalidIDsAndJob/index.html b/api/CloudEndureMachinesListInvalidIDsAndJob/index.html new file mode 100644 index 000000000..6bfa8f5ed --- /dev/null +++ b/api/CloudEndureMachinesListInvalidIDsAndJob/index.html @@ -0,0 +1,1952 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureMachinesListInvalidIDsAndJob - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+ +
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureNetworkInterface/index.html b/api/CloudEndureNetworkInterface/index.html new file mode 100644 index 000000000..102db7dfb --- /dev/null +++ b/api/CloudEndureNetworkInterface/index.html @@ -0,0 +1,1952 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureNetworkInterface - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+ +
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndurePointInTime/index.html b/api/CloudEndurePointInTime/index.html new file mode 100644 index 000000000..f511e3ddc --- /dev/null +++ b/api/CloudEndurePointInTime/index.html @@ -0,0 +1,1946 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndurePointInTime - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+
+ + + + + +

CloudEndurePointInTime

+

Properties

+ + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
idstr[optional]
date_timedatetimeTimestamp for this Recovery Point. A NULL value signifies there is no later point available.[optional]
+

[Back to Model list] [Back to API list] [Back to README]

+ + + + + + + + + + +
+
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndurePointInTimeList/index.html b/api/CloudEndurePointInTimeList/index.html new file mode 100644 index 000000000..8087eb485 --- /dev/null +++ b/api/CloudEndurePointInTimeList/index.html @@ -0,0 +1,1940 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndurePointInTimeList - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+ +
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureProject/index.html b/api/CloudEndureProject/index.html new file mode 100644 index 000000000..a240fd3d4 --- /dev/null +++ b/api/CloudEndureProject/index.html @@ -0,0 +1,2024 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureProject - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+
+ + + + + +

CloudEndureProject

+

Properties

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
target_cloud_idstr[optional]
agent_installation_tokenstr[optional]
namestr[optional]
users_i_dslist[str]todo empty array unless AO or ce admin[optional]
typestr[optional]
replication_reversedbool[optional]
source_cloud_credentials_idstr[optional]
cloud_credentials_i_dslist[str]The IDs of the cloud credentials to use (array of one).[optional]
source_regionstrThe ID of the region to use as source.[optional]
licenses_i_dslist[str]The IDs of the licenses associated with this project (array of one).[optional]
ce_admin_propertiesobjectFor internal use.[optional]
replication_configurationstrThe ID of the replication configuration object to use (corresponding to the ones available in /projects/{projectId}/replicationConfigurations).[optional]
source_cloud_idstr[optional]
idstr[optional]
featuresobject[optional]
+

[Back to Model list] [Back to API list] [Back to README]

+ + + + + + + + + + +
+
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureProjectStorage/index.html b/api/CloudEndureProjectStorage/index.html new file mode 100644 index 000000000..7b6d75dc9 --- /dev/null +++ b/api/CloudEndureProjectStorage/index.html @@ -0,0 +1,1964 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureProjectStorage - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+
+ + + + + +

CloudEndureProjectStorage

+

Properties

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
project_idstr[optional]
points_in_time_total_bytesint[optional]
running_machines_total_bytesint[optional]
working_storageobject[optional]
calculation_date_timedatetime[optional]
+

[Back to Model list] [Back to API list] [Back to README]

+ + + + + + + + + + +
+
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureProjectsAndUsers/index.html b/api/CloudEndureProjectsAndUsers/index.html new file mode 100644 index 000000000..18676399f --- /dev/null +++ b/api/CloudEndureProjectsAndUsers/index.html @@ -0,0 +1,1940 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureProjectsAndUsers - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+ +
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureProjectsList/index.html b/api/CloudEndureProjectsList/index.html new file mode 100644 index 000000000..68320f65f --- /dev/null +++ b/api/CloudEndureProjectsList/index.html @@ -0,0 +1,1940 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureProjectsList - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+ +
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureRecoveryPlan/index.html b/api/CloudEndureRecoveryPlan/index.html new file mode 100644 index 000000000..39c010739 --- /dev/null +++ b/api/CloudEndureRecoveryPlan/index.html @@ -0,0 +1,1952 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureRecoveryPlan - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+ +
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureRecoveryPlanList/index.html b/api/CloudEndureRecoveryPlanList/index.html new file mode 100644 index 000000000..2e00e9787 --- /dev/null +++ b/api/CloudEndureRecoveryPlanList/index.html @@ -0,0 +1,1940 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureRecoveryPlanList - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+ +
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureRecoveryPlanStep/index.html b/api/CloudEndureRecoveryPlanStep/index.html new file mode 100644 index 000000000..18bce5452 --- /dev/null +++ b/api/CloudEndureRecoveryPlanStep/index.html @@ -0,0 +1,1952 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureRecoveryPlanStep - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+
+ + + + + +

CloudEndureRecoveryPlanStep

+

Properties

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
machine_i_dslist[str][optional]
wait_beforestr[optional]
namestr[optional]
+

[Back to Model list] [Back to API list] [Back to README]

+ + + + + + + + + + +
+
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureRecoveryPlanSteps/index.html b/api/CloudEndureRecoveryPlanSteps/index.html new file mode 100644 index 000000000..e45269065 --- /dev/null +++ b/api/CloudEndureRecoveryPlanSteps/index.html @@ -0,0 +1,1940 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureRecoveryPlanSteps - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+ +
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureRegion/index.html b/api/CloudEndureRegion/index.html new file mode 100644 index 000000000..72fa32512 --- /dev/null +++ b/api/CloudEndureRegion/index.html @@ -0,0 +1,2060 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureRegion - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+
+ + + + + +

CloudEndureRegion

+

Properties

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
subnetslist[CloudEndureSubnet][optional]
placement_groupslist[str][optional]
scsi_adapter_typeslist[str]todo[optional]
instance_typeslist[str][optional]
zoneslist[str][optional]
volume_encryption_keyslist[str][optional]
cloudstr[optional]
security_groupslist[CloudEndureSecurityGroup][optional]
logical_locationslist[CloudEndureLogicalLocation][optional]
static_ipslist[str][optional]
max_cpus_per_machineintMaximum CPUs per per Target machine (currently relevant for vCenter cloud only)[optional]
network_interfaceslist[CloudEndureNetworkInterface][optional]
compute_locationslist[CloudEndureComputeLocation]Compute location (e.g. vCenter Host)[optional]
namestr[optional]
storage_locationslist[CloudEndureStorageLocation]Storage location (e.g. Azure Storage Account, vCenter Data Store)[optional]
iam_roleslist[str][optional]
idstr[optional]
max_cores_per_machine_cpuintMaximum CPU cores per CPU in Target machines (currently relevant for vCenter cloud only)[optional]
dedicated_hostslist[str][optional]
network_adapter_typeslist[str]todo[optional]
max_mb_ram_per_machineintMaximum MB RAM per Target machine (currently relevant for vCenter cloud only)[optional]
+

[Back to Model list] [Back to API list] [Back to README]

+ + + + + + + + + + +
+
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureRegionsList/index.html b/api/CloudEndureRegionsList/index.html new file mode 100644 index 000000000..70b0297df --- /dev/null +++ b/api/CloudEndureRegionsList/index.html @@ -0,0 +1,1940 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureRegionsList - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+ +
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureReplica/index.html b/api/CloudEndureReplica/index.html new file mode 100644 index 000000000..11f7aa707 --- /dev/null +++ b/api/CloudEndureReplica/index.html @@ -0,0 +1,1988 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureReplica - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+
+ + + + + +

CloudEndureReplica

+

Properties

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
machinestrThe ID of the source machine for this target machine.[optional]
cloud_endure_creation_date_timedatetimeTimestamp for launching this target machine.[optional]
namestrTarget machine name in the target environment.[optional]
point_in_timestrThe ID of the pointInTime object from which this target machine was created.[optional]
machine_cloud_statestrTarget machine state in the target environment.[optional]
public_ipslist[str]Static (non-ephemral) public IPs. On some clouds this also includes ephemeral IPs.[optional]
region_idstrThe ID of the region where this target machine has been launched.[optional]
idstr[optional]
machine_cloud_idstrTarget machine ID in the target environment.[optional]
+

[Back to Model list] [Back to API list] [Back to README]

+ + + + + + + + + + +
+
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureReplicationConfiguration/index.html b/api/CloudEndureReplicationConfiguration/index.html new file mode 100644 index 000000000..f1296e1f3 --- /dev/null +++ b/api/CloudEndureReplicationConfiguration/index.html @@ -0,0 +1,2054 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureReplicationConfiguration - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+
+ + + + + +

CloudEndureReplicationConfiguration

+

Properties

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
volume_encryption_keystrAWS only. ARN to private key for Volume Encryption. Possible values can be fetched from the Region object.[optional]
replication_tagslist[object]AWS only. Tags that will be applied to every cloud resource created in the CloudEndure Staging Area.[optional]
subnet_host_projectstrGCP only. Host project of cross project network subnet.[optional]
replication_server_typestr[optional]
compute_location_idstrtodo vcenter only[optional]
cloud_credentialsstrThe ID for the cloudCredentials object containing the credentials to be used for accessing the target cloud.[optional]
subnet_idstrSubnet where replication servers will be created. Possible values can be fetched from the Region object.[optional]
logical_location_idstrvcenter = vmFolder[optional]
bandwidth_throttlingintMbps to use for Data Replication (zero means no throttling).[optional]
storage_location_idstr@todo backend creates cloudendure bla bla storage account upon need (empty string).[optional]
use_dedicated_serverbool[optional]
zonestrRelevant for GCP and Azure ARM. The Zone to replicate into.[optional]
replicator_security_group_i_dslist[str]AWS only. The security groups that will be applied to the replication servers. Possible values can be fetched from the Region object.[optional]
use_private_ipboolShould the CloudEndure agent access the replication server using its private IP address.[optional]
regionstr[optional]
idstr[optional]
proxy_urlstrThe full URI for a proxy (schema, username, password, domain, port) if required for the CloudEndure agent.[optional]
volume_encryption_allowedbooltodo[optional]
archiving_enabledbool[optional]
object_storage_locationstrbucket in aws[optional]
+

[Back to Model list] [Back to API list] [Back to README]

+ + + + + + + + + + +
+
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureReplicationConfigurationList/index.html b/api/CloudEndureReplicationConfigurationList/index.html new file mode 100644 index 000000000..efd2517c1 --- /dev/null +++ b/api/CloudEndureReplicationConfigurationList/index.html @@ -0,0 +1,1940 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureReplicationConfigurationList - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+ +
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureReplicationServerConfig/index.html b/api/CloudEndureReplicationServerConfig/index.html new file mode 100644 index 000000000..1812986c7 --- /dev/null +++ b/api/CloudEndureReplicationServerConfig/index.html @@ -0,0 +1,1940 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureReplicationServerConfig - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+ +
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureRestoreFilesParameters/index.html b/api/CloudEndureRestoreFilesParameters/index.html new file mode 100644 index 000000000..ca8a405aa --- /dev/null +++ b/api/CloudEndureRestoreFilesParameters/index.html @@ -0,0 +1,1940 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureRestoreFilesParameters - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+ +
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureSamlSettings/index.html b/api/CloudEndureSamlSettings/index.html new file mode 100644 index 000000000..0af387091 --- /dev/null +++ b/api/CloudEndureSamlSettings/index.html @@ -0,0 +1,1952 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureSamlSettings - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+
+ + + + + +

CloudEndureSamlSettings

+

Properties

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
identity_provider_certificatestr[optional]
identity_provider_urlstr[optional]
identity_provider_idstr[optional]
+

[Back to Model list] [Back to API list] [Back to README]

+ + + + + + + + + + +
+
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureSecurityGroup/index.html b/api/CloudEndureSecurityGroup/index.html new file mode 100644 index 000000000..d6c5684e8 --- /dev/null +++ b/api/CloudEndureSecurityGroup/index.html @@ -0,0 +1,1952 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureSecurityGroup - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+
+ + + + + +

CloudEndureSecurityGroup

+

Properties

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
network_idstr[optional]
security_group_idstr[optional]
namestr[optional]
+

[Back to Model list] [Back to API list] [Back to README]

+ + + + + + + + + + +
+
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureStorageLocation/index.html b/api/CloudEndureStorageLocation/index.html new file mode 100644 index 000000000..bedf109a9 --- /dev/null +++ b/api/CloudEndureStorageLocation/index.html @@ -0,0 +1,1946 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureStorageLocation - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+ +
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureSubnet/index.html b/api/CloudEndureSubnet/index.html new file mode 100644 index 000000000..dde51ee09 --- /dev/null +++ b/api/CloudEndureSubnet/index.html @@ -0,0 +1,1952 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureSubnet - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+ +
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureTime/index.html b/api/CloudEndureTime/index.html new file mode 100644 index 000000000..0399180cd --- /dev/null +++ b/api/CloudEndureTime/index.html @@ -0,0 +1,1940 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureTime - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+ +
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureUpdateableScripts/index.html b/api/CloudEndureUpdateableScripts/index.html new file mode 100644 index 000000000..63ee08d77 --- /dev/null +++ b/api/CloudEndureUpdateableScripts/index.html @@ -0,0 +1,1946 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureUpdateableScripts - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+ +
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureUpgradeCounterDelay/index.html b/api/CloudEndureUpgradeCounterDelay/index.html new file mode 100644 index 000000000..abe243782 --- /dev/null +++ b/api/CloudEndureUpgradeCounterDelay/index.html @@ -0,0 +1,1940 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureUpgradeCounterDelay - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+ +
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureUsage/index.html b/api/CloudEndureUsage/index.html new file mode 100644 index 000000000..9421668e5 --- /dev/null +++ b/api/CloudEndureUsage/index.html @@ -0,0 +1,1958 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureUsage - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+
+ + + + + +

CloudEndureUsage

+

Properties

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
start_of_use_date_timedatetime[optional]
cloud_idstrThe ID in the cloud[optional]
namestrThe name of the machine.[optional]
machine_idstr[optional]
+

[Back to Model list] [Back to API list] [Back to README]

+ + + + + + + + + + +
+
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureUsageList/index.html b/api/CloudEndureUsageList/index.html new file mode 100644 index 000000000..036a7ffed --- /dev/null +++ b/api/CloudEndureUsageList/index.html @@ -0,0 +1,1940 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureUsageList - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+ +
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureUser/index.html b/api/CloudEndureUser/index.html new file mode 100644 index 000000000..890c541e1 --- /dev/null +++ b/api/CloudEndureUser/index.html @@ -0,0 +1,1994 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureUser - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+
+ + + + + +

CloudEndureUser

+

Properties

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
usernamestr[optional]
statusstr[optional]
accountstr[optional]
roleslist[str][optional]
settingsobject[optional]
api_tokenstr[optional]
has_passwordbool[optional]
terms_acceptedbooltodo one-way; cannot be set at time of POST[optional]
idstr[optional]
self_linkstr[optional]
+

[Back to Model list] [Back to API list] [Back to README]

+ + + + + + + + + + +
+
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureUserReport/index.html b/api/CloudEndureUserReport/index.html new file mode 100644 index 000000000..886d3fab1 --- /dev/null +++ b/api/CloudEndureUserReport/index.html @@ -0,0 +1,1994 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureUserReport - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+
+ + + + + +

CloudEndureUserReport

+

Properties

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
n_protected_machinesint[optional]
project_namestr[optional]
is_activatedbool[optional]
n_license_usagesint[optional]
gcp_machines_finance_dataobject[optional]
total_tested_or_cutoverint[optional]
owner_namestr[optional]
n_lagging_machinesint[optional]
n_active_target_machinesint[optional]
n_test_machinesint[optional]
+

[Back to Model list] [Back to API list] [Back to README]

+ + + + + + + + + + +
+
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureUserReports/index.html b/api/CloudEndureUserReports/index.html new file mode 100644 index 000000000..17c27d6f4 --- /dev/null +++ b/api/CloudEndureUserReports/index.html @@ -0,0 +1,1940 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureUserReports - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+ +
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureUsersAndRoles/index.html b/api/CloudEndureUsersAndRoles/index.html new file mode 100644 index 000000000..576bc5134 --- /dev/null +++ b/api/CloudEndureUsersAndRoles/index.html @@ -0,0 +1,1940 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureUsersAndRoles - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+ +
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureUsersList/index.html b/api/CloudEndureUsersList/index.html new file mode 100644 index 000000000..8ffdee02f --- /dev/null +++ b/api/CloudEndureUsersList/index.html @@ -0,0 +1,1940 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureUsersList - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+ +
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/CloudEndureVCenterSubnet/index.html b/api/CloudEndureVCenterSubnet/index.html new file mode 100644 index 000000000..5a5e53cd0 --- /dev/null +++ b/api/CloudEndureVCenterSubnet/index.html @@ -0,0 +1,1946 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CloudEndureVCenterSubnet - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+ +
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/DefaultApi/index.html b/api/DefaultApi/index.html new file mode 100644 index 000000000..5457928c0 --- /dev/null +++ b/api/DefaultApi/index.html @@ -0,0 +1,2526 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + DefaultApi - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+
+ + + + + +

cloudendure_api.DefaultApi

+

All URIs are relative to https://console.cloudendure.com/api/latest

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
MethodHTTP requestDescription
accounts_account_id_access_getGET /accounts/{accountId}/accessget a temporary token by email
extended_account_info_getGET /extendedAccountInfoReturns the extended current account information.
projects_assign_users_postPOST /projects/assignUserstodo
projects_project_id_audit_log_getGET /projects/{projectId}/auditLogGet audit log
projects_project_id_storage_getGET /projects/{projectId}/storageproject's storage
projects_remove_users_postPOST /projects/removeUserstodo
replace_api_token_postPOST /replaceApiTokenReplaces API token
set_password_postPOST /setPasswordSet password for invited user
users_assign_roles_postPOST /users/assignRolesAdd roles to users
users_postPOST /usersCreate a new User
users_revoke_roles_postPOST /users/revokeRolesAdd roles to users
+

accounts_account_id_access_get

+
+

object accounts_account_id_access_get(account_id, username)

+
+

get a temporary token by email

+

get a temporary token by email. Available for account owner when SSO is used

+

Example

+
from __future__ import print_function
+import time
+from cloudendure import cloudendure_api
+from cloudendure.cloudendure_api.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = cloudendure_api.DefaultApi()
+account_id = 'account_id_example' # str |
+username = 'username_example' # str |
+
+try:
+    # get a temporary token by email
+    api_response = api_instance.accounts_account_id_access_get(account_id, username)
+    pprint(api_response)
+except ApiException as e:
+    print("Exception when calling DefaultApi->accounts_account_id_access_get: %s\n" % e)
+
+ +

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
account_idstr
usernamestr
+

Return type

+

object

+

Authorization

+

No authorization required

+

HTTP request headers

+
    +
  • Content-Type: Not defined
  • +
  • Accept: application/json
  • +
+

[Back to top] [Back to API list] [Back to Model list] [Back to README]

+

extended_account_info_get

+
+

CloudEndureExtendedAccountInfo extended_account_info_get()

+
+

Returns the extended current account information.

+

Example

+
from __future__ import print_function
+import time
+from cloudendure import cloudendure_api
+from cloudendure.cloudendure_api.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = cloudendure_api.DefaultApi()
+
+try:
+    # Returns the extended current account information.
+    api_response = api_instance.extended_account_info_get()
+    pprint(api_response)
+except ApiException as e:
+    print("Exception when calling DefaultApi->extended_account_info_get: %s\n" % e)
+
+ +

Parameters

+

This endpoint does not need any parameter.

+

Return type

+

CloudEndureExtendedAccountInfo

+

Authorization

+

No authorization required

+

HTTP request headers

+
    +
  • Content-Type: Not defined
  • +
  • Accept: application/json
  • +
+

[Back to top] [Back to API list] [Back to Model list] [Back to README]

+

projects_assign_users_post

+
+

projects_assign_users_post(body)

+
+

todo

+

todo

+

Example

+
from __future__ import print_function
+import time
+from cloudendure import cloudendure_api
+from cloudendure.cloudendure_api.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = cloudendure_api.DefaultApi()
+body = cloudendure_api.CloudEndureProjectsAndUsers() # CloudEndureProjectsAndUsers |
+
+try:
+    # todo
+    api_instance.projects_assign_users_post(body)
+except ApiException as e:
+    print("Exception when calling DefaultApi->projects_assign_users_post: %s\n" % e)
+
+ +

Parameters

+ + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
bodyCloudEndureProjectsAndUsers
+

Return type

+

void (empty response body)

+

Authorization

+

No authorization required

+

HTTP request headers

+
    +
  • Content-Type: application/json
  • +
  • Accept: Not defined
  • +
+

[Back to top] [Back to API list] [Back to Model list] [Back to README]

+

projects_project_id_audit_log_get

+
+

CloudEndureAuditLog projects_project_id_audit_log_get(project_id, limit=limit, from_date_time=from_date_time, to_date_time=to_date_time, format=format)

+
+

Get audit log

+

Example

+
from __future__ import print_function
+import time
+from cloudendure import cloudendure_api
+from cloudendure.cloudendure_api.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = cloudendure_api.DefaultApi()
+project_id = 'project_id_example' # str |
+limit = 56 # int | A number specifying how many entries to return. (optional)
+from_date_time = '2013-10-20T19:20:30+01:00' # datetime | Used to limit the response to a specific date range. Must be used in conjunction with toDateTime param. (optional)
+to_date_time = '2013-10-20T19:20:30+01:00' # datetime | Used to limit the response to a specific date range. Must be used in conjunction with fromDateTime param. (optional)
+format = 'format_example' # str |  (optional)
+
+try:
+    # Get audit log
+    api_response = api_instance.projects_project_id_audit_log_get(project_id, limit=limit, from_date_time=from_date_time, to_date_time=to_date_time, format=format)
+    pprint(api_response)
+except ApiException as e:
+    print("Exception when calling DefaultApi->projects_project_id_audit_log_get: %s\n" % e)
+
+ +

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
project_idstr
limitintA number specifying how many entries to return.[optional]
from_date_timedatetimeUsed to limit the response to a specific date range. Must be used in conjunction with toDateTime param.[optional]
to_date_timedatetimeUsed to limit the response to a specific date range. Must be used in conjunction with fromDateTime param.[optional]
formatstr[optional]
+

Return type

+

CloudEndureAuditLog

+

Authorization

+

No authorization required

+

HTTP request headers

+
    +
  • Content-Type: Not defined
  • +
  • Accept: application/json, text/csv
  • +
+

[Back to top] [Back to API list] [Back to Model list] [Back to README]

+

projects_project_id_storage_get

+
+

CloudEndureProjectStorage projects_project_id_storage_get(project_id)

+
+

project's storage

+

get project's storage usage (vCenter only)

+

Example

+
from __future__ import print_function
+import time
+from cloudendure import cloudendure_api
+from cloudendure.cloudendure_api.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = cloudendure_api.DefaultApi()
+project_id = 'project_id_example' # str |
+
+try:
+    # project's storage
+    api_response = api_instance.projects_project_id_storage_get(project_id)
+    pprint(api_response)
+except ApiException as e:
+    print("Exception when calling DefaultApi->projects_project_id_storage_get: %s\n" % e)
+
+ +

Parameters

+ + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
project_idstr
+

Return type

+

CloudEndureProjectStorage

+

Authorization

+

No authorization required

+

HTTP request headers

+
    +
  • Content-Type: Not defined
  • +
  • Accept: application/json
  • +
+

[Back to top] [Back to API list] [Back to Model list] [Back to README]

+

projects_remove_users_post

+
+

projects_remove_users_post(body)

+
+

todo

+

todo

+

Example

+
from __future__ import print_function
+import time
+from cloudendure import cloudendure_api
+from cloudendure.cloudendure_api.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = cloudendure_api.DefaultApi()
+body = cloudendure_api.CloudEndureProjectsAndUsers() # CloudEndureProjectsAndUsers |
+
+try:
+    # todo
+    api_instance.projects_remove_users_post(body)
+except ApiException as e:
+    print("Exception when calling DefaultApi->projects_remove_users_post: %s\n" % e)
+
+ +

Parameters

+ + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
bodyCloudEndureProjectsAndUsers
+

Return type

+

void (empty response body)

+

Authorization

+

No authorization required

+

HTTP request headers

+
    +
  • Content-Type: application/json
  • +
  • Accept: Not defined
  • +
+

[Back to top] [Back to API list] [Back to Model list] [Back to README]

+

replace_api_token_post

+
+

object replace_api_token_post()

+
+

Replaces API token

+

Replaces API token

+

Example

+
from __future__ import print_function
+import time
+from cloudendure import cloudendure_api
+from cloudendure.cloudendure_api.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = cloudendure_api.DefaultApi()
+
+try:
+    # Replaces API token
+    api_response = api_instance.replace_api_token_post()
+    pprint(api_response)
+except ApiException as e:
+    print("Exception when calling DefaultApi->replace_api_token_post: %s\n" % e)
+
+ +

Parameters

+

This endpoint does not need any parameter.

+

Return type

+

object

+

Authorization

+

No authorization required

+

HTTP request headers

+
    +
  • Content-Type: Not defined
  • +
  • Accept: application/json
  • +
+

[Back to top] [Back to API list] [Back to Model list] [Back to README]

+

set_password_post

+
+

set_password_post(body)

+
+

Set password for invited user

+

Example

+
from __future__ import print_function
+import time
+from cloudendure import cloudendure_api
+from cloudendure.cloudendure_api.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = cloudendure_api.DefaultApi()
+body = NULL # object | set password token and new password
+
+try:
+    # Set password for invited user
+    api_instance.set_password_post(body)
+except ApiException as e:
+    print("Exception when calling DefaultApi->set_password_post: %s\n" % e)
+
+ +

Parameters

+ + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
bodyobjectset password token and new password
+

Return type

+

void (empty response body)

+

Authorization

+

No authorization required

+

HTTP request headers

+
    +
  • Content-Type: application/json
  • +
  • Accept: application/json
  • +
+

[Back to top] [Back to API list] [Back to Model list] [Back to README]

+

users_assign_roles_post

+
+

CloudEndureUsersList users_assign_roles_post(body)

+
+

Add roles to users

+

Example

+
from __future__ import print_function
+import time
+from cloudendure import cloudendure_api
+from cloudendure.cloudendure_api.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = cloudendure_api.DefaultApi()
+body = cloudendure_api.CloudEndureUsersAndRoles() # CloudEndureUsersAndRoles |
+
+try:
+    # Add roles to users
+    api_response = api_instance.users_assign_roles_post(body)
+    pprint(api_response)
+except ApiException as e:
+    print("Exception when calling DefaultApi->users_assign_roles_post: %s\n" % e)
+
+ +

Parameters

+ + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
bodyCloudEndureUsersAndRoles
+

Return type

+

CloudEndureUsersList

+

Authorization

+

No authorization required

+

HTTP request headers

+
    +
  • Content-Type: application/json
  • +
  • Accept: application/json
  • +
+

[Back to top] [Back to API list] [Back to Model list] [Back to README]

+

users_post

+
+

CloudEndureUser users_post(body)

+
+

Create a new User

+

Example

+
from __future__ import print_function
+import time
+from cloudendure import cloudendure_api
+from cloudendure.cloudendure_api.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = cloudendure_api.DefaultApi()
+body = NULL # object |
+
+try:
+    # Create a new User
+    api_response = api_instance.users_post(body)
+    pprint(api_response)
+except ApiException as e:
+    print("Exception when calling DefaultApi->users_post: %s\n" % e)
+
+ +

Parameters

+ + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
bodyobject
+

Return type

+

CloudEndureUser

+

Authorization

+

No authorization required

+

HTTP request headers

+
    +
  • Content-Type: application/json
  • +
  • Accept: application/json
  • +
+

[Back to top] [Back to API list] [Back to Model list] [Back to README]

+

users_revoke_roles_post

+
+

CloudEndureUsersList users_revoke_roles_post(body)

+
+

Add roles to users

+

Example

+
from __future__ import print_function
+import time
+from cloudendure import cloudendure_api
+from cloudendure.cloudendure_api.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = cloudendure_api.DefaultApi()
+body = cloudendure_api.CloudEndureUsersAndRoles() # CloudEndureUsersAndRoles |
+
+try:
+    # Add roles to users
+    api_response = api_instance.users_revoke_roles_post(body)
+    pprint(api_response)
+except ApiException as e:
+    print("Exception when calling DefaultApi->users_revoke_roles_post: %s\n" % e)
+
+ +

Parameters

+ + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
bodyCloudEndureUsersAndRoles
+

Return type

+

CloudEndureUsersList

+

Authorization

+

No authorization required

+

HTTP request headers

+
    +
  • Content-Type: application/json
  • +
  • Accept: application/json
  • +
+

[Back to top] [Back to API list] [Back to Model list] [Back to README]

+ + + + + + + + + + +
+
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/LicensingApi/index.html b/api/LicensingApi/index.html new file mode 100644 index 000000000..7cfaa96be --- /dev/null +++ b/api/LicensingApi/index.html @@ -0,0 +1,2011 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + LicensingApi - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+
+ + + + + +

cloudendure_api.LicensingApi

+

All URIs are relative to https://console.cloudendure.com/api/latest

+ + + + + + + + + + + + + + + + + + + + +
MethodHTTP requestDescription
licenses_getGET /licensesList Licenses
licenses_license_id_getGET /licenses/{licenseId}Get License
+

licenses_get

+
+

CloudEndureLicenseList licenses_get(offset=offset, limit=limit)

+
+

List Licenses

+

Returns the list of licenses currently associated with this user.

+

Example

+
from __future__ import print_function
+import time
+from cloudendure import cloudendure_api
+from cloudendure.cloudendure_api.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = cloudendure_api.LicensingApi()
+offset = 56 # int | With which item to start (0 based). (optional)
+limit = 56 # int | A number specifying how many entries to return. (optional)
+
+try:
+    # List Licenses
+    api_response = api_instance.licenses_get(offset=offset, limit=limit)
+    pprint(api_response)
+except ApiException as e:
+    print("Exception when calling LicensingApi->licenses_get: %s\n" % e)
+
+ +

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
offsetintWith which item to start (0 based).[optional]
limitintA number specifying how many entries to return.[optional]
+

Return type

+

CloudEndureLicenseList

+

Authorization

+

No authorization required

+

HTTP request headers

+
    +
  • Content-Type: Not defined
  • +
  • Accept: application/json
  • +
+

[Back to top] [Back to API list] [Back to Model list] [Back to README]

+

licenses_license_id_get

+
+

CloudEndureLicense licenses_license_id_get(license_id)

+
+

Get License

+

Example

+
from __future__ import print_function
+import time
+from cloudendure import cloudendure_api
+from cloudendure.cloudendure_api.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = cloudendure_api.LicensingApi()
+license_id = 'license_id_example' # str |
+
+try:
+    # Get License
+    api_response = api_instance.licenses_license_id_get(license_id)
+    pprint(api_response)
+except ApiException as e:
+    print("Exception when calling LicensingApi->licenses_license_id_get: %s\n" % e)
+
+ +

Parameters

+ + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
license_idstr
+

Return type

+

CloudEndureLicense

+

Authorization

+

No authorization required

+

HTTP request headers

+
    +
  • Content-Type: Not defined
  • +
  • Accept: application/json
  • +
+

[Back to top] [Back to API list] [Back to Model list] [Back to README]

+ + + + + + + + + + +
+
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/MachinesApi/index.html b/api/MachinesApi/index.html new file mode 100644 index 000000000..4a7ea1651 --- /dev/null +++ b/api/MachinesApi/index.html @@ -0,0 +1,2307 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + MachinesApi - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+
+ + + + + +

cloudendure_api.MachinesApi

+

All URIs are relative to https://console.cloudendure.com/api/latest

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
MethodHTTP requestDescription
projects_project_id_machines_deleteDELETE /projects/{projectId}/machinesUninstall agent
projects_project_id_machines_getGET /projects/{projectId}/machinesList Machines
projects_project_id_machines_machine_id_getGET /projects/{projectId}/machines/{machineId}Get a specific machine.
projects_project_id_machines_machine_id_patchPATCH /projects/{projectId}/machines/{machineId}Update a machine. Accepts only Launch time updates.
projects_project_id_machines_patchPATCH /projects/{projectId}/machinesBatch-update multiple machines
projects_project_id_replicas_replica_id_getGET /projects/{projectId}/replicas/{replicaId}Get Target Machine
+

projects_project_id_machines_delete

+
+

projects_project_id_machines_delete(body, project_id)

+
+

Uninstall agent

+

Stops replication and removes the cloudendure agent from the specified machines. All cloud artifacts associated with those machines with the exception of launched target machines are deleted.

+

Example

+
from __future__ import print_function
+import time
+from cloudendure import cloudendure_api
+from cloudendure.cloudendure_api.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = cloudendure_api.MachinesApi()
+body = NULL # object | The list of machine IDs to remove from the CloudEndure service.
+project_id = 'project_id_example' # str |
+
+try:
+    # Uninstall agent
+    api_instance.projects_project_id_machines_delete(body, project_id)
+except ApiException as e:
+    print("Exception when calling MachinesApi->projects_project_id_machines_delete: %s\n" % e)
+
+ +

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
bodyobjectThe list of machine IDs to remove from the CloudEndure service.
project_idstr
+

Return type

+

void (empty response body)

+

Authorization

+

No authorization required

+

HTTP request headers

+
    +
  • Content-Type: application/json
  • +
  • Accept: Not defined
  • +
+

[Back to top] [Back to API list] [Back to Model list] [Back to README]

+

projects_project_id_machines_get

+
+

CloudEndureMachinesList projects_project_id_machines_get(project_id, offset=offset, limit=limit, all=all, types=types)

+
+

List Machines

+

Returns the list of all source machines in the Project (i.e. machines that have an Agent installed).

+

Example

+
from __future__ import print_function
+import time
+from cloudendure import cloudendure_api
+from cloudendure.cloudendure_api.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = cloudendure_api.MachinesApi()
+project_id = 'project_id_example' # str |
+offset = 56 # int | With which item to start (0 based). (optional)
+limit = 56 # int | A number specifying how many entries to return. (optional)
+all = true # bool | When set to false, returns only currently replicating machines. When set to true, returns all machines in the project regardless of replications status. machines are consuming/ have consumed licenses.  Note that some license types are transferable and therefore once you remove the and set to true false, returns only currently replicating machines. When set to true, returns all machines in the project regardless of replications status.  (optional)
+types = 'types_example' # str | Use this url query param to control which machines are returned when doing GET.  If you do not include the \\\"types\\\" query param, you will only get source machines  (optional)
+
+try:
+    # List Machines
+    api_response = api_instance.projects_project_id_machines_get(project_id, offset=offset, limit=limit, all=all, types=types)
+    pprint(api_response)
+except ApiException as e:
+    print("Exception when calling MachinesApi->projects_project_id_machines_get: %s\n" % e)
+
+ +

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
project_idstr
offsetintWith which item to start (0 based).[optional]
limitintA number specifying how many entries to return.[optional]
allboolWhen set to false, returns only currently replicating machines. When set to true, returns all machines in the project regardless of replications status. machines are consuming/ have consumed licenses. Note that some license types are transferable and therefore once you remove the and set to true false, returns only currently replicating machines. When set to true, returns all machines in the project regardless of replications status.[optional]
typesstrUse this url query param to control which machines are returned when doing GET. If you do not include the \\"types\\" query param, you will only get source machines[optional]
+

Return type

+

CloudEndureMachinesList

+

Authorization

+

No authorization required

+

HTTP request headers

+
    +
  • Content-Type: Not defined
  • +
  • Accept: application/json
  • +
+

[Back to top] [Back to API list] [Back to Model list] [Back to README]

+

projects_project_id_machines_machine_id_get

+
+

CloudEndureMachine projects_project_id_machines_machine_id_get(project_id, machine_id)

+
+

Get a specific machine.

+

Example

+
from __future__ import print_function
+import time
+from cloudendure import cloudendure_api
+from cloudendure.cloudendure_api.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = cloudendure_api.MachinesApi()
+project_id = 'project_id_example' # str |
+machine_id = 'machine_id_example' # str |
+
+try:
+    # Get a specific machine.
+    api_response = api_instance.projects_project_id_machines_machine_id_get(project_id, machine_id)
+    pprint(api_response)
+except ApiException as e:
+    print("Exception when calling MachinesApi->projects_project_id_machines_machine_id_get: %s\n" % e)
+
+ +

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
project_idstr
machine_idstr
+

Return type

+

CloudEndureMachine

+

Authorization

+

No authorization required

+

HTTP request headers

+
    +
  • Content-Type: Not defined
  • +
  • Accept: application/json
  • +
+

[Back to top] [Back to API list] [Back to Model list] [Back to README]

+

projects_project_id_machines_machine_id_patch

+
+

CloudEndureMachine projects_project_id_machines_machine_id_patch(body, project_id, machine_id)

+
+

Update a machine. Accepts only Launch time updates.

+

Example

+
from __future__ import print_function
+import time
+from cloudendure import cloudendure_api
+from cloudendure.cloudendure_api.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = cloudendure_api.MachinesApi()
+body = cloudendure_api.CloudEndureMachine() # CloudEndureMachine |
+project_id = 'project_id_example' # str |
+machine_id = 'machine_id_example' # str |
+
+try:
+    # Update a machine. Accepts only Launch time updates.
+    api_response = api_instance.projects_project_id_machines_machine_id_patch(body, project_id, machine_id)
+    pprint(api_response)
+except ApiException as e:
+    print("Exception when calling MachinesApi->projects_project_id_machines_machine_id_patch: %s\n" % e)
+
+ +

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
bodyCloudEndureMachine
project_idstr
machine_idstr
+

Return type

+

CloudEndureMachine

+

Authorization

+

No authorization required

+

HTTP request headers

+
    +
  • Content-Type: application/json
  • +
  • Accept: application/json
  • +
+

[Back to top] [Back to API list] [Back to Model list] [Back to README]

+

projects_project_id_machines_patch

+
+

CloudEndureMachinesList projects_project_id_machines_patch(body, project_id)

+
+

Batch-update multiple machines

+

todo must allow update of tags, update of replicationConfiguration; may allow update of launch times

+

Example

+
from __future__ import print_function
+import time
+from cloudendure import cloudendure_api
+from cloudendure.cloudendure_api.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = cloudendure_api.MachinesApi()
+body = cloudendure_api.CloudEndureMachinesList() # CloudEndureMachinesList |
+project_id = 'project_id_example' # str |
+
+try:
+    # Batch-update multiple machines
+    api_response = api_instance.projects_project_id_machines_patch(body, project_id)
+    pprint(api_response)
+except ApiException as e:
+    print("Exception when calling MachinesApi->projects_project_id_machines_patch: %s\n" % e)
+
+ +

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
bodyCloudEndureMachinesList
project_idstr
+

Return type

+

CloudEndureMachinesList

+

Authorization

+

No authorization required

+

HTTP request headers

+
    +
  • Content-Type: application/json
  • +
  • Accept: application/json
  • +
+

[Back to top] [Back to API list] [Back to Model list] [Back to README]

+

projects_project_id_replicas_replica_id_get

+
+

CloudEndureReplica projects_project_id_replicas_replica_id_get(project_id, replica_id)

+
+

Get Target Machine

+

Example

+
from __future__ import print_function
+import time
+from cloudendure import cloudendure_api
+from cloudendure.cloudendure_api.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = cloudendure_api.MachinesApi()
+project_id = 'project_id_example' # str |
+replica_id = 'replica_id_example' # str |
+
+try:
+    # Get Target Machine
+    api_response = api_instance.projects_project_id_replicas_replica_id_get(project_id, replica_id)
+    pprint(api_response)
+except ApiException as e:
+    print("Exception when calling MachinesApi->projects_project_id_replicas_replica_id_get: %s\n" % e)
+
+ +

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
project_idstr
replica_idstr
+

Return type

+

CloudEndureReplica

+

Authorization

+

No authorization required

+

HTTP request headers

+
    +
  • Content-Type: Not defined
  • +
  • Accept: application/json
  • +
+

[Back to top] [Back to API list] [Back to Model list] [Back to README]

+ + + + + + + + + + +
+
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/ProjectApi/index.html b/api/ProjectApi/index.html new file mode 100644 index 000000000..ba1ee8fb1 --- /dev/null +++ b/api/ProjectApi/index.html @@ -0,0 +1,2266 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ProjectApi - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+
+ + + + + +

cloudendure_api.ProjectApi

+

All URIs are relative to https://console.cloudendure.com/api/latest

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
MethodHTTP requestDescription
projects_getGET /projectsList Projects
projects_postPOST /projectsCreate Project
projects_project_id_deleteDELETE /projects/{projectId}Delete Project and all sub-resources including cloud assets other than launched target machines
projects_project_id_getGET /projects/{projectId}Get Project
projects_project_id_patchPATCH /projects/{projectId}Update Project (including partial update)
projects_project_id_tags_getGET /projects/{projectId}/tagsGets all instance tags of all machines in the project.
+

projects_get

+
+

CloudEndureProjectsList projects_get(offset=offset, limit=limit)

+
+

List Projects

+

Returns the list of projects defined in this account.

+

Example

+
from __future__ import print_function
+import time
+from cloudendure import cloudendure_api
+from cloudendure.cloudendure_api.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = cloudendure_api.ProjectApi()
+offset = 56 # int | With which item to start (0 based). (optional)
+limit = 56 # int | A number specifying how many entries to return. (optional)
+
+try:
+    # List Projects
+    api_response = api_instance.projects_get(offset=offset, limit=limit)
+    pprint(api_response)
+except ApiException as e:
+    print("Exception when calling ProjectApi->projects_get: %s\n" % e)
+
+ +

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
offsetintWith which item to start (0 based).[optional]
limitintA number specifying how many entries to return.[optional]
+

Return type

+

CloudEndureProjectsList

+

Authorization

+

No authorization required

+

HTTP request headers

+
    +
  • Content-Type: Not defined
  • +
  • Accept: application/json
  • +
+

[Back to top] [Back to API list] [Back to Model list] [Back to README]

+

projects_post

+
+

CloudEndureProject projects_post(body)

+
+

Create Project

+

Create project

+

Example

+
from __future__ import print_function
+import time
+from cloudendure import cloudendure_api
+from cloudendure.cloudendure_api.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = cloudendure_api.ProjectApi()
+body = cloudendure_api.CloudEndureProject() # CloudEndureProject |
+
+try:
+    # Create Project
+    api_response = api_instance.projects_post(body)
+    pprint(api_response)
+except ApiException as e:
+    print("Exception when calling ProjectApi->projects_post: %s\n" % e)
+
+ +

Parameters

+ + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
bodyCloudEndureProject
+

Return type

+

CloudEndureProject

+

Authorization

+

No authorization required

+

HTTP request headers

+
    +
  • Content-Type: application/json
  • +
  • Accept: application/json
  • +
+

[Back to top] [Back to API list] [Back to Model list] [Back to README]

+

projects_project_id_delete

+
+

projects_project_id_delete(project_id)

+
+

Delete Project and all sub-resources including cloud assets other than launched target machines

+

Example

+
from __future__ import print_function
+import time
+from cloudendure import cloudendure_api
+from cloudendure.cloudendure_api.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = cloudendure_api.ProjectApi()
+project_id = 'project_id_example' # str |
+
+try:
+    # Delete Project and all sub-resources including cloud assets other than launched target machines
+    api_instance.projects_project_id_delete(project_id)
+except ApiException as e:
+    print("Exception when calling ProjectApi->projects_project_id_delete: %s\n" % e)
+
+ +

Parameters

+ + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
project_idstr
+

Return type

+

void (empty response body)

+

Authorization

+

No authorization required

+

HTTP request headers

+
    +
  • Content-Type: Not defined
  • +
  • Accept: Not defined
  • +
+

[Back to top] [Back to API list] [Back to Model list] [Back to README]

+

projects_project_id_get

+
+

CloudEndureProject projects_project_id_get(project_id)

+
+

Get Project

+

Example

+
from __future__ import print_function
+import time
+from cloudendure import cloudendure_api
+from cloudendure.cloudendure_api.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = cloudendure_api.ProjectApi()
+project_id = 'project_id_example' # str |
+
+try:
+    # Get Project
+    api_response = api_instance.projects_project_id_get(project_id)
+    pprint(api_response)
+except ApiException as e:
+    print("Exception when calling ProjectApi->projects_project_id_get: %s\n" % e)
+
+ +

Parameters

+ + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
project_idstr
+

Return type

+

CloudEndureProject

+

Authorization

+

No authorization required

+

HTTP request headers

+
    +
  • Content-Type: Not defined
  • +
  • Accept: application/json
  • +
+

[Back to top] [Back to API list] [Back to Model list] [Back to README]

+

projects_project_id_patch

+
+

CloudEndureProject projects_project_id_patch(body, project_id)

+
+

Update Project (including partial update)

+

Set project properties including Data Replication source location and replicationConfiguration to use.

+

Example

+
from __future__ import print_function
+import time
+from cloudendure import cloudendure_api
+from cloudendure.cloudendure_api.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = cloudendure_api.ProjectApi()
+body = cloudendure_api.CloudEndureProject() # CloudEndureProject |
+project_id = 'project_id_example' # str |
+
+try:
+    # Update Project (including partial update)
+    api_response = api_instance.projects_project_id_patch(body, project_id)
+    pprint(api_response)
+except ApiException as e:
+    print("Exception when calling ProjectApi->projects_project_id_patch: %s\n" % e)
+
+ +

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
bodyCloudEndureProject
project_idstr
+

Return type

+

CloudEndureProject

+

Authorization

+

No authorization required

+

HTTP request headers

+
    +
  • Content-Type: application/json
  • +
  • Accept: application/json
  • +
+

[Back to top] [Back to API list] [Back to Model list] [Back to README]

+

projects_project_id_tags_get

+
+

object projects_project_id_tags_get(project_id, offset=offset, limit=limit)

+
+

Gets all instance tags of all machines in the project.

+

Returns all instance tags of all machines in the project.

+

Example

+
from __future__ import print_function
+import time
+from cloudendure import cloudendure_api
+from cloudendure.cloudendure_api.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = cloudendure_api.ProjectApi()
+project_id = 'project_id_example' # str |
+offset = 56 # int | With which item to start (0 based). (optional)
+limit = 56 # int | A number specifying how many entries to return. (optional)
+
+try:
+    # Gets all instance tags of all machines in the project.
+    api_response = api_instance.projects_project_id_tags_get(project_id, offset=offset, limit=limit)
+    pprint(api_response)
+except ApiException as e:
+    print("Exception when calling ProjectApi->projects_project_id_tags_get: %s\n" % e)
+
+ +

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
project_idstr
offsetintWith which item to start (0 based).[optional]
limitintA number specifying how many entries to return.[optional]
+

Return type

+

object

+

Authorization

+

No authorization required

+

HTTP request headers

+
    +
  • Content-Type: Not defined
  • +
  • Accept: application/json
  • +
+

[Back to top] [Back to API list] [Back to Model list] [Back to README]

+ + + + + + + + + + +
+
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/RecoveryPlansApi/index.html b/api/RecoveryPlansApi/index.html new file mode 100644 index 000000000..bc2ac1cee --- /dev/null +++ b/api/RecoveryPlansApi/index.html @@ -0,0 +1,2276 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + RecoveryPlansApi - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+
+ + + + + +

cloudendure_api.RecoveryPlansApi

+

All URIs are relative to https://console.cloudendure.com/api/latest

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
MethodHTTP requestDescription
projects_project_id_recovery_plans_getGET /projects/{projectId}/recoveryPlansGets all recovery plans for the project.
projects_project_id_recovery_plans_postPOST /projects/{projectId}/recoveryPlansCreates a new recovery plan.
projects_project_id_recovery_plans_recovery_plan_id_deleteDELETE /projects/{projectId}/recoveryPlans/{recoveryPlanId}Deletes a recovery plan.
projects_project_id_recovery_plans_recovery_plan_id_getGET /projects/{projectId}/recoveryPlans/{recoveryPlanId}Gets a recovery plan.
projects_project_id_recovery_plans_recovery_plan_id_patchPATCH /projects/{projectId}/recoveryPlans/{recoveryPlanId}Updates a new recovery plan.
projects_project_id_run_recovery_plan_postPOST /projects/{projectId}/runRecoveryPlanLaunch a recovery plan.
+

projects_project_id_recovery_plans_get

+
+

CloudEndureRecoveryPlanList projects_project_id_recovery_plans_get(project_id)

+
+

Gets all recovery plans for the project.

+

Example

+
from __future__ import print_function
+import time
+from cloudendure import cloudendure_api
+from cloudendure.cloudendure_api.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = cloudendure_api.RecoveryPlansApi()
+project_id = 'project_id_example' # str |
+
+try:
+    # Gets all recovery plans for the project.
+    api_response = api_instance.projects_project_id_recovery_plans_get(project_id)
+    pprint(api_response)
+except ApiException as e:
+    print("Exception when calling RecoveryPlansApi->projects_project_id_recovery_plans_get: %s\n" % e)
+
+ +

Parameters

+ + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
project_idstr
+

Return type

+

CloudEndureRecoveryPlanList

+

Authorization

+

No authorization required

+

HTTP request headers

+
    +
  • Content-Type: Not defined
  • +
  • Accept: application/json
  • +
+

[Back to top] [Back to API list] [Back to Model list] [Back to README]

+

projects_project_id_recovery_plans_post

+
+

CloudEndureRecoveryPlan projects_project_id_recovery_plans_post(body, project_id)

+
+

Creates a new recovery plan.

+

Example

+
from __future__ import print_function
+import time
+from cloudendure import cloudendure_api
+from cloudendure.cloudendure_api.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = cloudendure_api.RecoveryPlansApi()
+body = cloudendure_api.CloudEndureRecoveryPlan() # CloudEndureRecoveryPlan | Recovery Plan to create
+project_id = 'project_id_example' # str |
+
+try:
+    # Creates a new recovery plan.
+    api_response = api_instance.projects_project_id_recovery_plans_post(body, project_id)
+    pprint(api_response)
+except ApiException as e:
+    print("Exception when calling RecoveryPlansApi->projects_project_id_recovery_plans_post: %s\n" % e)
+
+ +

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
bodyCloudEndureRecoveryPlanRecovery Plan to create
project_idstr
+

Return type

+

CloudEndureRecoveryPlan

+

Authorization

+

No authorization required

+

HTTP request headers

+
    +
  • Content-Type: application/json
  • +
  • Accept: application/json
  • +
+

[Back to top] [Back to API list] [Back to Model list] [Back to README]

+

projects_project_id_recovery_plans_recovery_plan_id_delete

+
+

projects_project_id_recovery_plans_recovery_plan_id_delete(project_id, recovery_plan_id)

+
+

Deletes a recovery plan.

+

Example

+
from __future__ import print_function
+import time
+from cloudendure import cloudendure_api
+from cloudendure.cloudendure_api.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = cloudendure_api.RecoveryPlansApi()
+project_id = 'project_id_example' # str |
+recovery_plan_id = 'recovery_plan_id_example' # str |
+
+try:
+    # Deletes a recovery plan.
+    api_instance.projects_project_id_recovery_plans_recovery_plan_id_delete(project_id, recovery_plan_id)
+except ApiException as e:
+    print("Exception when calling RecoveryPlansApi->projects_project_id_recovery_plans_recovery_plan_id_delete: %s\n" % e)
+
+ +

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
project_idstr
recovery_plan_idstr
+

Return type

+

void (empty response body)

+

Authorization

+

No authorization required

+

HTTP request headers

+
    +
  • Content-Type: Not defined
  • +
  • Accept: Not defined
  • +
+

[Back to top] [Back to API list] [Back to Model list] [Back to README]

+

projects_project_id_recovery_plans_recovery_plan_id_get

+
+

CloudEndureRecoveryPlan projects_project_id_recovery_plans_recovery_plan_id_get(project_id, recovery_plan_id)

+
+

Gets a recovery plan.

+

Example

+
from __future__ import print_function
+import time
+from cloudendure import cloudendure_api
+from cloudendure.cloudendure_api.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = cloudendure_api.RecoveryPlansApi()
+project_id = 'project_id_example' # str |
+recovery_plan_id = 'recovery_plan_id_example' # str |
+
+try:
+    # Gets a recovery plan.
+    api_response = api_instance.projects_project_id_recovery_plans_recovery_plan_id_get(project_id, recovery_plan_id)
+    pprint(api_response)
+except ApiException as e:
+    print("Exception when calling RecoveryPlansApi->projects_project_id_recovery_plans_recovery_plan_id_get: %s\n" % e)
+
+ +

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
project_idstr
recovery_plan_idstr
+

Return type

+

CloudEndureRecoveryPlan

+

Authorization

+

No authorization required

+

HTTP request headers

+
    +
  • Content-Type: Not defined
  • +
  • Accept: application/json
  • +
+

[Back to top] [Back to API list] [Back to Model list] [Back to README]

+

projects_project_id_recovery_plans_recovery_plan_id_patch

+
+

CloudEndureRecoveryPlan projects_project_id_recovery_plans_recovery_plan_id_patch(body, project_id, recovery_plan_id)

+
+

Updates a new recovery plan.

+

Example

+
from __future__ import print_function
+import time
+from cloudendure import cloudendure_api
+from cloudendure.cloudendure_api.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = cloudendure_api.RecoveryPlansApi()
+body = cloudendure_api.CloudEndureRecoveryPlan() # CloudEndureRecoveryPlan | Recovery Plan to create
+project_id = 'project_id_example' # str |
+recovery_plan_id = 'recovery_plan_id_example' # str |
+
+try:
+    # Updates a new recovery plan.
+    api_response = api_instance.projects_project_id_recovery_plans_recovery_plan_id_patch(body, project_id, recovery_plan_id)
+    pprint(api_response)
+except ApiException as e:
+    print("Exception when calling RecoveryPlansApi->projects_project_id_recovery_plans_recovery_plan_id_patch: %s\n" % e)
+
+ +

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
bodyCloudEndureRecoveryPlanRecovery Plan to create
project_idstr
recovery_plan_idstr
+

Return type

+

CloudEndureRecoveryPlan

+

Authorization

+

No authorization required

+

HTTP request headers

+
    +
  • Content-Type: application/json
  • +
  • Accept: application/json
  • +
+

[Back to top] [Back to API list] [Back to Model list] [Back to README]

+

projects_project_id_run_recovery_plan_post

+
+

CloudEndureJob projects_project_id_run_recovery_plan_post(body, project_id)

+
+

Launch a recovery plan.

+

Example

+
from __future__ import print_function
+import time
+from cloudendure import cloudendure_api
+from cloudendure.cloudendure_api.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = cloudendure_api.RecoveryPlansApi()
+body = NULL # object | Recovery Plan to create
+project_id = 'project_id_example' # str |
+
+try:
+    # Launch a recovery plan.
+    api_response = api_instance.projects_project_id_run_recovery_plan_post(body, project_id)
+    pprint(api_response)
+except ApiException as e:
+    print("Exception when calling RecoveryPlansApi->projects_project_id_run_recovery_plan_post: %s\n" % e)
+
+ +

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
bodyobjectRecovery Plan to create
project_idstr
+

Return type

+

CloudEndureJob

+

Authorization

+

No authorization required

+

HTTP request headers

+
    +
  • Content-Type: application/json
  • +
  • Accept: application/json
  • +
+

[Back to top] [Back to API list] [Back to Model list] [Back to README]

+ + + + + + + + + + +
+
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/ReplicationApi/index.html b/api/ReplicationApi/index.html new file mode 100644 index 000000000..4cb8c6d1a --- /dev/null +++ b/api/ReplicationApi/index.html @@ -0,0 +1,2381 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ReplicationApi - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+
+ + + + + +

cloudendure_api.ReplicationApi

+

All URIs are relative to https://console.cloudendure.com/api/latest

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
MethodHTTP requestDescription
projects_project_id_machines_machine_id_bandwidth_throttling_getGET /projects/{projectId}/machines/{machineId}/bandwidthThrottlingGet value of network bandwidth throttling setting for Machine
projects_project_id_machines_machine_id_bandwidth_throttling_patchPATCH /projects/{projectId}/machines/{machineId}/bandwidthThrottlingSet value of network bandwidth throttling setting for Machine
projects_project_id_machines_machine_id_deleteDELETE /projects/{projectId}/machines/{machineId}Uninstall agent
projects_project_id_machines_machine_id_pointsintime_getGET /projects/{projectId}/machines/{machineId}/pointsintimeList Available Points-in-time
projects_project_id_replication_configurations_getGET /projects/{projectId}/replicationConfigurationsList Replication Configurations
projects_project_id_replication_configurations_postPOST /projects/{projectId}/replicationConfigurationsCreate Replication Configuration
projects_project_id_replication_configurations_replication_configuration_id_patchPATCH /projects/{projectId}/replicationConfigurations/{replicationConfigurationId}Modify Replication Configuration
+

projects_project_id_machines_machine_id_bandwidth_throttling_get

+
+

CloudEndureBandwidthThrottling projects_project_id_machines_machine_id_bandwidth_throttling_get(project_id, machine_id)

+
+

Get value of network bandwidth throttling setting for Machine

+

Example

+
from __future__ import print_function
+import time
+from cloudendure import cloudendure_api
+from cloudendure.cloudendure_api.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = cloudendure_api.ReplicationApi()
+project_id = 'project_id_example' # str |
+machine_id = 'machine_id_example' # str |
+
+try:
+    # Get value of network bandwidth throttling setting for Machine
+    api_response = api_instance.projects_project_id_machines_machine_id_bandwidth_throttling_get(project_id, machine_id)
+    pprint(api_response)
+except ApiException as e:
+    print("Exception when calling ReplicationApi->projects_project_id_machines_machine_id_bandwidth_throttling_get: %s\n" % e)
+
+ +

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
project_idstr
machine_idstr
+

Return type

+

CloudEndureBandwidthThrottling

+

Authorization

+

No authorization required

+

HTTP request headers

+
    +
  • Content-Type: Not defined
  • +
  • Accept: application/json
  • +
+

[Back to top] [Back to API list] [Back to Model list] [Back to README]

+

projects_project_id_machines_machine_id_bandwidth_throttling_patch

+
+

CloudEndureBandwidthThrottling projects_project_id_machines_machine_id_bandwidth_throttling_patch(body, project_id, machine_id)

+
+

Set value of network bandwidth throttling setting for Machine

+

Example

+
from __future__ import print_function
+import time
+from cloudendure import cloudendure_api
+from cloudendure.cloudendure_api.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = cloudendure_api.ReplicationApi()
+body = cloudendure_api.CloudEndureBandwidthThrottling() # CloudEndureBandwidthThrottling |
+project_id = 'project_id_example' # str |
+machine_id = 'machine_id_example' # str |
+
+try:
+    # Set value of network bandwidth throttling setting for Machine
+    api_response = api_instance.projects_project_id_machines_machine_id_bandwidth_throttling_patch(body, project_id, machine_id)
+    pprint(api_response)
+except ApiException as e:
+    print("Exception when calling ReplicationApi->projects_project_id_machines_machine_id_bandwidth_throttling_patch: %s\n" % e)
+
+ +

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
bodyCloudEndureBandwidthThrottling
project_idstr
machine_idstr
+

Return type

+

CloudEndureBandwidthThrottling

+

Authorization

+

No authorization required

+

HTTP request headers

+
    +
  • Content-Type: application/json
  • +
  • Accept: application/json
  • +
+

[Back to top] [Back to API list] [Back to Model list] [Back to README]

+

projects_project_id_machines_machine_id_delete

+
+

projects_project_id_machines_machine_id_delete(project_id, machine_id)

+
+

Uninstall agent

+

Stops replication and removes the cloudendure agent from this machine. All cloud artifacts associated with those machines with the exception of launched target machine are deleted.

+

Example

+
from __future__ import print_function
+import time
+from cloudendure import cloudendure_api
+from cloudendure.cloudendure_api.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = cloudendure_api.ReplicationApi()
+project_id = 'project_id_example' # str |
+machine_id = 'machine_id_example' # str |
+
+try:
+    # Uninstall agent
+    api_instance.projects_project_id_machines_machine_id_delete(project_id, machine_id)
+except ApiException as e:
+    print("Exception when calling ReplicationApi->projects_project_id_machines_machine_id_delete: %s\n" % e)
+
+ +

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
project_idstr
machine_idstr
+

Return type

+

void (empty response body)

+

Authorization

+

No authorization required

+

HTTP request headers

+
    +
  • Content-Type: Not defined
  • +
  • Accept: Not defined
  • +
+

[Back to top] [Back to API list] [Back to Model list] [Back to README]

+

projects_project_id_machines_machine_id_pointsintime_get

+
+

CloudEndurePointInTimeList projects_project_id_machines_machine_id_pointsintime_get(project_id, machine_id, offset=offset, limit=limit)

+
+

List Available Points-in-time

+

Returns the list of available recovery points for this machine.

+

Example

+
from __future__ import print_function
+import time
+from cloudendure import cloudendure_api
+from cloudendure.cloudendure_api.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = cloudendure_api.ReplicationApi()
+project_id = 'project_id_example' # str |
+machine_id = 'machine_id_example' # str |
+offset = 56 # int | With which item to start (0 based). (optional)
+limit = 56 # int | A number specifying how many entries to return. (optional)
+
+try:
+    # List Available Points-in-time
+    api_response = api_instance.projects_project_id_machines_machine_id_pointsintime_get(project_id, machine_id, offset=offset, limit=limit)
+    pprint(api_response)
+except ApiException as e:
+    print("Exception when calling ReplicationApi->projects_project_id_machines_machine_id_pointsintime_get: %s\n" % e)
+
+ +

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
project_idstr
machine_idstr
offsetintWith which item to start (0 based).[optional]
limitintA number specifying how many entries to return.[optional]
+

Return type

+

CloudEndurePointInTimeList

+

Authorization

+

No authorization required

+

HTTP request headers

+
    +
  • Content-Type: Not defined
  • +
  • Accept: application/json
  • +
+

[Back to top] [Back to API list] [Back to Model list] [Back to README]

+

projects_project_id_replication_configurations_get

+
+

CloudEndureReplicationConfigurationList projects_project_id_replication_configurations_get(project_id, offset=offset, limit=limit)

+
+

List Replication Configurations

+

Returns the list of replication configuration objects defined in this project.

+

Example

+
from __future__ import print_function
+import time
+from cloudendure import cloudendure_api
+from cloudendure.cloudendure_api.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = cloudendure_api.ReplicationApi()
+project_id = 'project_id_example' # str |
+offset = 56 # int | With which item to start (0 based). (optional)
+limit = 56 # int | A number specifying how many entries to return. (optional)
+
+try:
+    # List Replication Configurations
+    api_response = api_instance.projects_project_id_replication_configurations_get(project_id, offset=offset, limit=limit)
+    pprint(api_response)
+except ApiException as e:
+    print("Exception when calling ReplicationApi->projects_project_id_replication_configurations_get: %s\n" % e)
+
+ +

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
project_idstr
offsetintWith which item to start (0 based).[optional]
limitintA number specifying how many entries to return.[optional]
+

Return type

+

CloudEndureReplicationConfigurationList

+

Authorization

+

No authorization required

+

HTTP request headers

+
    +
  • Content-Type: Not defined
  • +
  • Accept: application/json
  • +
+

[Back to top] [Back to API list] [Back to Model list] [Back to README]

+

projects_project_id_replication_configurations_post

+
+

CloudEndureReplicationConfiguration projects_project_id_replication_configurations_post(body, project_id)

+
+

Create Replication Configuration

+

Control Data Replication parameters such as target cloud credentials, Staging Area and replication network configuration. A single configuration can exist per target region. Returns the newly created object.

+

Example

+
from __future__ import print_function
+import time
+from cloudendure import cloudendure_api
+from cloudendure.cloudendure_api.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = cloudendure_api.ReplicationApi()
+body = cloudendure_api.CloudEndureReplicationConfiguration() # CloudEndureReplicationConfiguration |
+project_id = 'project_id_example' # str |
+
+try:
+    # Create Replication Configuration
+    api_response = api_instance.projects_project_id_replication_configurations_post(body, project_id)
+    pprint(api_response)
+except ApiException as e:
+    print("Exception when calling ReplicationApi->projects_project_id_replication_configurations_post: %s\n" % e)
+
+ +

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
bodyCloudEndureReplicationConfiguration
project_idstr
+

Return type

+

CloudEndureReplicationConfiguration

+

Authorization

+

No authorization required

+

HTTP request headers

+
    +
  • Content-Type: application/json
  • +
  • Accept: application/json
  • +
+

[Back to top] [Back to API list] [Back to Model list] [Back to README]

+

projects_project_id_replication_configurations_replication_configuration_id_patch

+
+

CloudEndureReplicationConfiguration projects_project_id_replication_configurations_replication_configuration_id_patch(body, project_id, replication_configuration_id)

+
+

Modify Replication Configuration

+

Modifying volumeEncryptionKey or modifying cloudCredentials to ones matching a different cloud account will result in replication restarting from initial sync. Returns the modified object.

+

Example

+
from __future__ import print_function
+import time
+from cloudendure import cloudendure_api
+from cloudendure.cloudendure_api.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = cloudendure_api.ReplicationApi()
+body = cloudendure_api.CloudEndureReplicationConfiguration() # CloudEndureReplicationConfiguration |
+project_id = 'project_id_example' # str |
+replication_configuration_id = 'replication_configuration_id_example' # str |
+
+try:
+    # Modify Replication Configuration
+    api_response = api_instance.projects_project_id_replication_configurations_replication_configuration_id_patch(body, project_id, replication_configuration_id)
+    pprint(api_response)
+except ApiException as e:
+    print("Exception when calling ReplicationApi->projects_project_id_replication_configurations_replication_configuration_id_patch: %s\n" % e)
+
+ +

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
bodyCloudEndureReplicationConfiguration
project_idstr
replication_configuration_idstr
+

Return type

+

CloudEndureReplicationConfiguration

+

Authorization

+

No authorization required

+

HTTP request headers

+
    +
  • Content-Type: application/json
  • +
  • Accept: application/json
  • +
+

[Back to top] [Back to API list] [Back to Model list] [Back to README]

+ + + + + + + + + + +
+
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/api/UserApi/index.html b/api/UserApi/index.html new file mode 100644 index 000000000..ed29a2ce2 --- /dev/null +++ b/api/UserApi/index.html @@ -0,0 +1,2109 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + UserApi - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+
+ + + + + +

cloudendure_api.UserApi

+

All URIs are relative to https://console.cloudendure.com/api/latest

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
MethodHTTP requestDescription
change_password_postPOST /changePasswordChange Password
me_getGET /meMe
users_user_id_deleteDELETE /users/{userId}Delete a User
users_user_id_patchPATCH /users/{userId}Modify user settings
+

change_password_post

+
+

change_password_post(body)

+
+

Change Password

+

Example

+
from __future__ import print_function
+import time
+from cloudendure import cloudendure_api
+from cloudendure.cloudendure_api.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = cloudendure_api.UserApi()
+body = NULL # object |
+
+try:
+    # Change Password
+    api_instance.change_password_post(body)
+except ApiException as e:
+    print("Exception when calling UserApi->change_password_post: %s\n" % e)
+
+ +

Parameters

+ + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
bodyobject
+

Return type

+

void (empty response body)

+

Authorization

+

No authorization required

+

HTTP request headers

+
    +
  • Content-Type: application/json
  • +
  • Accept: application/json
  • +
+

[Back to top] [Back to API list] [Back to Model list] [Back to README]

+

me_get

+
+

CloudEndureUser me_get()

+
+

Me

+

Provides user configuration information for the currently logged in user.

+

Example

+
from __future__ import print_function
+import time
+from cloudendure import cloudendure_api
+from cloudendure.cloudendure_api.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = cloudendure_api.UserApi()
+
+try:
+    # Me
+    api_response = api_instance.me_get()
+    pprint(api_response)
+except ApiException as e:
+    print("Exception when calling UserApi->me_get: %s\n" % e)
+
+ +

Parameters

+

This endpoint does not need any parameter.

+

Return type

+

CloudEndureUser

+

Authorization

+

No authorization required

+

HTTP request headers

+
    +
  • Content-Type: Not defined
  • +
  • Accept: application/json
  • +
+

[Back to top] [Back to API list] [Back to Model list] [Back to README]

+

users_user_id_delete

+
+

users_user_id_delete(user_id)

+
+

Delete a User

+

todo

+

Example

+
from __future__ import print_function
+import time
+from cloudendure import cloudendure_api
+from cloudendure.cloudendure_api.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = cloudendure_api.UserApi()
+user_id = 'user_id_example' # str |
+
+try:
+    # Delete a User
+    api_instance.users_user_id_delete(user_id)
+except ApiException as e:
+    print("Exception when calling UserApi->users_user_id_delete: %s\n" % e)
+
+ +

Parameters

+ + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
user_idstr
+

Return type

+

void (empty response body)

+

Authorization

+

No authorization required

+

HTTP request headers

+
    +
  • Content-Type: Not defined
  • +
  • Accept: Not defined
  • +
+

[Back to top] [Back to API list] [Back to Model list] [Back to README]

+

users_user_id_patch

+
+

CloudEndureUser users_user_id_patch(body, user_id)

+
+

Modify user settings

+

Configure which projects this user can receive e-mail notifications for.

+

Example

+
from __future__ import print_function
+import time
+from cloudendure import cloudendure_api
+from cloudendure.cloudendure_api.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = cloudendure_api.UserApi()
+body = cloudendure_api.CloudEndureUser() # CloudEndureUser |
+user_id = 'user_id_example' # str |
+
+try:
+    # Modify user settings
+    api_response = api_instance.users_user_id_patch(body, user_id)
+    pprint(api_response)
+except ApiException as e:
+    print("Exception when calling UserApi->users_user_id_patch: %s\n" % e)
+
+ +

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionNotes
bodyCloudEndureUser
user_idstr
+

Return type

+

CloudEndureUser

+

Authorization

+

No authorization required

+

HTTP request headers

+
    +
  • Content-Type: application/json
  • +
  • Accept: application/json
  • +
+

[Back to top] [Back to API list] [Back to Model list] [Back to README]

+ + + + + + + + + + +
+
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/assets/fonts/font-awesome.css b/assets/fonts/font-awesome.css new file mode 100644 index 000000000..b476b53e3 --- /dev/null +++ b/assets/fonts/font-awesome.css @@ -0,0 +1,4 @@ +/*! + * Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome + * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) + */@font-face{font-family:FontAwesome;font-style:normal;font-weight:400;src:url("specimen/FontAwesome.woff2") format("woff2"),url("specimen/FontAwesome.woff") format("woff"),url("specimen/FontAwesome.ttf") format("truetype")}.fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-lg{font-size:1.33333333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.28571429em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14285714em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14285714em;width:2.14285714em;top:.14285714em;text-align:center}.fa-li.fa-lg{left:-1.85714286em}.fa-border{padding:.2em .25em .15em;border:solid .08em #eee;border-radius:.1em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left{margin-right:.3em}.fa.fa-pull-right{margin-left:.3em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left{margin-right:.3em}.fa.pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}.fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";-webkit-transform:scale(-1,1);-ms-transform:scale(-1,1);transform:scale(-1,1)}.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";-webkit-transform:scale(1,-1);-ms-transform:scale(1,-1);transform:scale(1,-1)}:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270,:root .fa-flip-horizontal,:root .fa-flip-vertical{filter:none}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-glass:before{content:"\f000"}.fa-music:before{content:"\f001"}.fa-search:before{content:"\f002"}.fa-envelope-o:before{content:"\f003"}.fa-heart:before{content:"\f004"}.fa-star:before{content:"\f005"}.fa-star-o:before{content:"\f006"}.fa-user:before{content:"\f007"}.fa-film:before{content:"\f008"}.fa-th-large:before{content:"\f009"}.fa-th:before{content:"\f00a"}.fa-th-list:before{content:"\f00b"}.fa-check:before{content:"\f00c"}.fa-remove:before,.fa-close:before,.fa-times:before{content:"\f00d"}.fa-search-plus:before{content:"\f00e"}.fa-search-minus:before{content:"\f010"}.fa-power-off:before{content:"\f011"}.fa-signal:before{content:"\f012"}.fa-gear:before,.fa-cog:before{content:"\f013"}.fa-trash-o:before{content:"\f014"}.fa-home:before{content:"\f015"}.fa-file-o:before{content:"\f016"}.fa-clock-o:before{content:"\f017"}.fa-road:before{content:"\f018"}.fa-download:before{content:"\f019"}.fa-arrow-circle-o-down:before{content:"\f01a"}.fa-arrow-circle-o-up:before{content:"\f01b"}.fa-inbox:before{content:"\f01c"}.fa-play-circle-o:before{content:"\f01d"}.fa-rotate-right:before,.fa-repeat:before{content:"\f01e"}.fa-refresh:before{content:"\f021"}.fa-list-alt:before{content:"\f022"}.fa-lock:before{content:"\f023"}.fa-flag:before{content:"\f024"}.fa-headphones:before{content:"\f025"}.fa-volume-off:before{content:"\f026"}.fa-volume-down:before{content:"\f027"}.fa-volume-up:before{content:"\f028"}.fa-qrcode:before{content:"\f029"}.fa-barcode:before{content:"\f02a"}.fa-tag:before{content:"\f02b"}.fa-tags:before{content:"\f02c"}.fa-book:before{content:"\f02d"}.fa-bookmark:before{content:"\f02e"}.fa-print:before{content:"\f02f"}.fa-camera:before{content:"\f030"}.fa-font:before{content:"\f031"}.fa-bold:before{content:"\f032"}.fa-italic:before{content:"\f033"}.fa-text-height:before{content:"\f034"}.fa-text-width:before{content:"\f035"}.fa-align-left:before{content:"\f036"}.fa-align-center:before{content:"\f037"}.fa-align-right:before{content:"\f038"}.fa-align-justify:before{content:"\f039"}.fa-list:before{content:"\f03a"}.fa-dedent:before,.fa-outdent:before{content:"\f03b"}.fa-indent:before{content:"\f03c"}.fa-video-camera:before{content:"\f03d"}.fa-photo:before,.fa-image:before,.fa-picture-o:before{content:"\f03e"}.fa-pencil:before{content:"\f040"}.fa-map-marker:before{content:"\f041"}.fa-adjust:before{content:"\f042"}.fa-tint:before{content:"\f043"}.fa-edit:before,.fa-pencil-square-o:before{content:"\f044"}.fa-share-square-o:before{content:"\f045"}.fa-check-square-o:before{content:"\f046"}.fa-arrows:before{content:"\f047"}.fa-step-backward:before{content:"\f048"}.fa-fast-backward:before{content:"\f049"}.fa-backward:before{content:"\f04a"}.fa-play:before{content:"\f04b"}.fa-pause:before{content:"\f04c"}.fa-stop:before{content:"\f04d"}.fa-forward:before{content:"\f04e"}.fa-fast-forward:before{content:"\f050"}.fa-step-forward:before{content:"\f051"}.fa-eject:before{content:"\f052"}.fa-chevron-left:before{content:"\f053"}.fa-chevron-right:before{content:"\f054"}.fa-plus-circle:before{content:"\f055"}.fa-minus-circle:before{content:"\f056"}.fa-times-circle:before{content:"\f057"}.fa-check-circle:before{content:"\f058"}.fa-question-circle:before{content:"\f059"}.fa-info-circle:before{content:"\f05a"}.fa-crosshairs:before{content:"\f05b"}.fa-times-circle-o:before{content:"\f05c"}.fa-check-circle-o:before{content:"\f05d"}.fa-ban:before{content:"\f05e"}.fa-arrow-left:before{content:"\f060"}.fa-arrow-right:before{content:"\f061"}.fa-arrow-up:before{content:"\f062"}.fa-arrow-down:before{content:"\f063"}.fa-mail-forward:before,.fa-share:before{content:"\f064"}.fa-expand:before{content:"\f065"}.fa-compress:before{content:"\f066"}.fa-plus:before{content:"\f067"}.fa-minus:before{content:"\f068"}.fa-asterisk:before{content:"\f069"}.fa-exclamation-circle:before{content:"\f06a"}.fa-gift:before{content:"\f06b"}.fa-leaf:before{content:"\f06c"}.fa-fire:before{content:"\f06d"}.fa-eye:before{content:"\f06e"}.fa-eye-slash:before{content:"\f070"}.fa-warning:before,.fa-exclamation-triangle:before{content:"\f071"}.fa-plane:before{content:"\f072"}.fa-calendar:before{content:"\f073"}.fa-random:before{content:"\f074"}.fa-comment:before{content:"\f075"}.fa-magnet:before{content:"\f076"}.fa-chevron-up:before{content:"\f077"}.fa-chevron-down:before{content:"\f078"}.fa-retweet:before{content:"\f079"}.fa-shopping-cart:before{content:"\f07a"}.fa-folder:before{content:"\f07b"}.fa-folder-open:before{content:"\f07c"}.fa-arrows-v:before{content:"\f07d"}.fa-arrows-h:before{content:"\f07e"}.fa-bar-chart-o:before,.fa-bar-chart:before{content:"\f080"}.fa-twitter-square:before{content:"\f081"}.fa-facebook-square:before{content:"\f082"}.fa-camera-retro:before{content:"\f083"}.fa-key:before{content:"\f084"}.fa-gears:before,.fa-cogs:before{content:"\f085"}.fa-comments:before{content:"\f086"}.fa-thumbs-o-up:before{content:"\f087"}.fa-thumbs-o-down:before{content:"\f088"}.fa-star-half:before{content:"\f089"}.fa-heart-o:before{content:"\f08a"}.fa-sign-out:before{content:"\f08b"}.fa-linkedin-square:before{content:"\f08c"}.fa-thumb-tack:before{content:"\f08d"}.fa-external-link:before{content:"\f08e"}.fa-sign-in:before{content:"\f090"}.fa-trophy:before{content:"\f091"}.fa-github-square:before{content:"\f092"}.fa-upload:before{content:"\f093"}.fa-lemon-o:before{content:"\f094"}.fa-phone:before{content:"\f095"}.fa-square-o:before{content:"\f096"}.fa-bookmark-o:before{content:"\f097"}.fa-phone-square:before{content:"\f098"}.fa-twitter:before{content:"\f099"}.fa-facebook-f:before,.fa-facebook:before{content:"\f09a"}.fa-github:before{content:"\f09b"}.fa-unlock:before{content:"\f09c"}.fa-credit-card:before{content:"\f09d"}.fa-feed:before,.fa-rss:before{content:"\f09e"}.fa-hdd-o:before{content:"\f0a0"}.fa-bullhorn:before{content:"\f0a1"}.fa-bell:before{content:"\f0f3"}.fa-certificate:before{content:"\f0a3"}.fa-hand-o-right:before{content:"\f0a4"}.fa-hand-o-left:before{content:"\f0a5"}.fa-hand-o-up:before{content:"\f0a6"}.fa-hand-o-down:before{content:"\f0a7"}.fa-arrow-circle-left:before{content:"\f0a8"}.fa-arrow-circle-right:before{content:"\f0a9"}.fa-arrow-circle-up:before{content:"\f0aa"}.fa-arrow-circle-down:before{content:"\f0ab"}.fa-globe:before{content:"\f0ac"}.fa-wrench:before{content:"\f0ad"}.fa-tasks:before{content:"\f0ae"}.fa-filter:before{content:"\f0b0"}.fa-briefcase:before{content:"\f0b1"}.fa-arrows-alt:before{content:"\f0b2"}.fa-group:before,.fa-users:before{content:"\f0c0"}.fa-chain:before,.fa-link:before{content:"\f0c1"}.fa-cloud:before{content:"\f0c2"}.fa-flask:before{content:"\f0c3"}.fa-cut:before,.fa-scissors:before{content:"\f0c4"}.fa-copy:before,.fa-files-o:before{content:"\f0c5"}.fa-paperclip:before{content:"\f0c6"}.fa-save:before,.fa-floppy-o:before{content:"\f0c7"}.fa-square:before{content:"\f0c8"}.fa-navicon:before,.fa-reorder:before,.fa-bars:before{content:"\f0c9"}.fa-list-ul:before{content:"\f0ca"}.fa-list-ol:before{content:"\f0cb"}.fa-strikethrough:before{content:"\f0cc"}.fa-underline:before{content:"\f0cd"}.fa-table:before{content:"\f0ce"}.fa-magic:before{content:"\f0d0"}.fa-truck:before{content:"\f0d1"}.fa-pinterest:before{content:"\f0d2"}.fa-pinterest-square:before{content:"\f0d3"}.fa-google-plus-square:before{content:"\f0d4"}.fa-google-plus:before{content:"\f0d5"}.fa-money:before{content:"\f0d6"}.fa-caret-down:before{content:"\f0d7"}.fa-caret-up:before{content:"\f0d8"}.fa-caret-left:before{content:"\f0d9"}.fa-caret-right:before{content:"\f0da"}.fa-columns:before{content:"\f0db"}.fa-unsorted:before,.fa-sort:before{content:"\f0dc"}.fa-sort-down:before,.fa-sort-desc:before{content:"\f0dd"}.fa-sort-up:before,.fa-sort-asc:before{content:"\f0de"}.fa-envelope:before{content:"\f0e0"}.fa-linkedin:before{content:"\f0e1"}.fa-rotate-left:before,.fa-undo:before{content:"\f0e2"}.fa-legal:before,.fa-gavel:before{content:"\f0e3"}.fa-dashboard:before,.fa-tachometer:before{content:"\f0e4"}.fa-comment-o:before{content:"\f0e5"}.fa-comments-o:before{content:"\f0e6"}.fa-flash:before,.fa-bolt:before{content:"\f0e7"}.fa-sitemap:before{content:"\f0e8"}.fa-umbrella:before{content:"\f0e9"}.fa-paste:before,.fa-clipboard:before{content:"\f0ea"}.fa-lightbulb-o:before{content:"\f0eb"}.fa-exchange:before{content:"\f0ec"}.fa-cloud-download:before{content:"\f0ed"}.fa-cloud-upload:before{content:"\f0ee"}.fa-user-md:before{content:"\f0f0"}.fa-stethoscope:before{content:"\f0f1"}.fa-suitcase:before{content:"\f0f2"}.fa-bell-o:before{content:"\f0a2"}.fa-coffee:before{content:"\f0f4"}.fa-cutlery:before{content:"\f0f5"}.fa-file-text-o:before{content:"\f0f6"}.fa-building-o:before{content:"\f0f7"}.fa-hospital-o:before{content:"\f0f8"}.fa-ambulance:before{content:"\f0f9"}.fa-medkit:before{content:"\f0fa"}.fa-fighter-jet:before{content:"\f0fb"}.fa-beer:before{content:"\f0fc"}.fa-h-square:before{content:"\f0fd"}.fa-plus-square:before{content:"\f0fe"}.fa-angle-double-left:before{content:"\f100"}.fa-angle-double-right:before{content:"\f101"}.fa-angle-double-up:before{content:"\f102"}.fa-angle-double-down:before{content:"\f103"}.fa-angle-left:before{content:"\f104"}.fa-angle-right:before{content:"\f105"}.fa-angle-up:before{content:"\f106"}.fa-angle-down:before{content:"\f107"}.fa-desktop:before{content:"\f108"}.fa-laptop:before{content:"\f109"}.fa-tablet:before{content:"\f10a"}.fa-mobile-phone:before,.fa-mobile:before{content:"\f10b"}.fa-circle-o:before{content:"\f10c"}.fa-quote-left:before{content:"\f10d"}.fa-quote-right:before{content:"\f10e"}.fa-spinner:before{content:"\f110"}.fa-circle:before{content:"\f111"}.fa-mail-reply:before,.fa-reply:before{content:"\f112"}.fa-github-alt:before{content:"\f113"}.fa-folder-o:before{content:"\f114"}.fa-folder-open-o:before{content:"\f115"}.fa-smile-o:before{content:"\f118"}.fa-frown-o:before{content:"\f119"}.fa-meh-o:before{content:"\f11a"}.fa-gamepad:before{content:"\f11b"}.fa-keyboard-o:before{content:"\f11c"}.fa-flag-o:before{content:"\f11d"}.fa-flag-checkered:before{content:"\f11e"}.fa-terminal:before{content:"\f120"}.fa-code:before{content:"\f121"}.fa-mail-reply-all:before,.fa-reply-all:before{content:"\f122"}.fa-star-half-empty:before,.fa-star-half-full:before,.fa-star-half-o:before{content:"\f123"}.fa-location-arrow:before{content:"\f124"}.fa-crop:before{content:"\f125"}.fa-code-fork:before{content:"\f126"}.fa-unlink:before,.fa-chain-broken:before{content:"\f127"}.fa-question:before{content:"\f128"}.fa-info:before{content:"\f129"}.fa-exclamation:before{content:"\f12a"}.fa-superscript:before{content:"\f12b"}.fa-subscript:before{content:"\f12c"}.fa-eraser:before{content:"\f12d"}.fa-puzzle-piece:before{content:"\f12e"}.fa-microphone:before{content:"\f130"}.fa-microphone-slash:before{content:"\f131"}.fa-shield:before{content:"\f132"}.fa-calendar-o:before{content:"\f133"}.fa-fire-extinguisher:before{content:"\f134"}.fa-rocket:before{content:"\f135"}.fa-maxcdn:before{content:"\f136"}.fa-chevron-circle-left:before{content:"\f137"}.fa-chevron-circle-right:before{content:"\f138"}.fa-chevron-circle-up:before{content:"\f139"}.fa-chevron-circle-down:before{content:"\f13a"}.fa-html5:before{content:"\f13b"}.fa-css3:before{content:"\f13c"}.fa-anchor:before{content:"\f13d"}.fa-unlock-alt:before{content:"\f13e"}.fa-bullseye:before{content:"\f140"}.fa-ellipsis-h:before{content:"\f141"}.fa-ellipsis-v:before{content:"\f142"}.fa-rss-square:before{content:"\f143"}.fa-play-circle:before{content:"\f144"}.fa-ticket:before{content:"\f145"}.fa-minus-square:before{content:"\f146"}.fa-minus-square-o:before{content:"\f147"}.fa-level-up:before{content:"\f148"}.fa-level-down:before{content:"\f149"}.fa-check-square:before{content:"\f14a"}.fa-pencil-square:before{content:"\f14b"}.fa-external-link-square:before{content:"\f14c"}.fa-share-square:before{content:"\f14d"}.fa-compass:before{content:"\f14e"}.fa-toggle-down:before,.fa-caret-square-o-down:before{content:"\f150"}.fa-toggle-up:before,.fa-caret-square-o-up:before{content:"\f151"}.fa-toggle-right:before,.fa-caret-square-o-right:before{content:"\f152"}.fa-euro:before,.fa-eur:before{content:"\f153"}.fa-gbp:before{content:"\f154"}.fa-dollar:before,.fa-usd:before{content:"\f155"}.fa-rupee:before,.fa-inr:before{content:"\f156"}.fa-cny:before,.fa-rmb:before,.fa-yen:before,.fa-jpy:before{content:"\f157"}.fa-ruble:before,.fa-rouble:before,.fa-rub:before{content:"\f158"}.fa-won:before,.fa-krw:before{content:"\f159"}.fa-bitcoin:before,.fa-btc:before{content:"\f15a"}.fa-file:before{content:"\f15b"}.fa-file-text:before{content:"\f15c"}.fa-sort-alpha-asc:before{content:"\f15d"}.fa-sort-alpha-desc:before{content:"\f15e"}.fa-sort-amount-asc:before{content:"\f160"}.fa-sort-amount-desc:before{content:"\f161"}.fa-sort-numeric-asc:before{content:"\f162"}.fa-sort-numeric-desc:before{content:"\f163"}.fa-thumbs-up:before{content:"\f164"}.fa-thumbs-down:before{content:"\f165"}.fa-youtube-square:before{content:"\f166"}.fa-youtube:before{content:"\f167"}.fa-xing:before{content:"\f168"}.fa-xing-square:before{content:"\f169"}.fa-youtube-play:before{content:"\f16a"}.fa-dropbox:before{content:"\f16b"}.fa-stack-overflow:before{content:"\f16c"}.fa-instagram:before{content:"\f16d"}.fa-flickr:before{content:"\f16e"}.fa-adn:before{content:"\f170"}.fa-bitbucket:before{content:"\f171"}.fa-bitbucket-square:before{content:"\f172"}.fa-tumblr:before{content:"\f173"}.fa-tumblr-square:before{content:"\f174"}.fa-long-arrow-down:before{content:"\f175"}.fa-long-arrow-up:before{content:"\f176"}.fa-long-arrow-left:before{content:"\f177"}.fa-long-arrow-right:before{content:"\f178"}.fa-apple:before{content:"\f179"}.fa-windows:before{content:"\f17a"}.fa-android:before{content:"\f17b"}.fa-linux:before{content:"\f17c"}.fa-dribbble:before{content:"\f17d"}.fa-skype:before{content:"\f17e"}.fa-foursquare:before{content:"\f180"}.fa-trello:before{content:"\f181"}.fa-female:before{content:"\f182"}.fa-male:before{content:"\f183"}.fa-gittip:before,.fa-gratipay:before{content:"\f184"}.fa-sun-o:before{content:"\f185"}.fa-moon-o:before{content:"\f186"}.fa-archive:before{content:"\f187"}.fa-bug:before{content:"\f188"}.fa-vk:before{content:"\f189"}.fa-weibo:before{content:"\f18a"}.fa-renren:before{content:"\f18b"}.fa-pagelines:before{content:"\f18c"}.fa-stack-exchange:before{content:"\f18d"}.fa-arrow-circle-o-right:before{content:"\f18e"}.fa-arrow-circle-o-left:before{content:"\f190"}.fa-toggle-left:before,.fa-caret-square-o-left:before{content:"\f191"}.fa-dot-circle-o:before{content:"\f192"}.fa-wheelchair:before{content:"\f193"}.fa-vimeo-square:before{content:"\f194"}.fa-turkish-lira:before,.fa-try:before{content:"\f195"}.fa-plus-square-o:before{content:"\f196"}.fa-space-shuttle:before{content:"\f197"}.fa-slack:before{content:"\f198"}.fa-envelope-square:before{content:"\f199"}.fa-wordpress:before{content:"\f19a"}.fa-openid:before{content:"\f19b"}.fa-institution:before,.fa-bank:before,.fa-university:before{content:"\f19c"}.fa-mortar-board:before,.fa-graduation-cap:before{content:"\f19d"}.fa-yahoo:before{content:"\f19e"}.fa-google:before{content:"\f1a0"}.fa-reddit:before{content:"\f1a1"}.fa-reddit-square:before{content:"\f1a2"}.fa-stumbleupon-circle:before{content:"\f1a3"}.fa-stumbleupon:before{content:"\f1a4"}.fa-delicious:before{content:"\f1a5"}.fa-digg:before{content:"\f1a6"}.fa-pied-piper-pp:before{content:"\f1a7"}.fa-pied-piper-alt:before{content:"\f1a8"}.fa-drupal:before{content:"\f1a9"}.fa-joomla:before{content:"\f1aa"}.fa-language:before{content:"\f1ab"}.fa-fax:before{content:"\f1ac"}.fa-building:before{content:"\f1ad"}.fa-child:before{content:"\f1ae"}.fa-paw:before{content:"\f1b0"}.fa-spoon:before{content:"\f1b1"}.fa-cube:before{content:"\f1b2"}.fa-cubes:before{content:"\f1b3"}.fa-behance:before{content:"\f1b4"}.fa-behance-square:before{content:"\f1b5"}.fa-steam:before{content:"\f1b6"}.fa-steam-square:before{content:"\f1b7"}.fa-recycle:before{content:"\f1b8"}.fa-automobile:before,.fa-car:before{content:"\f1b9"}.fa-cab:before,.fa-taxi:before{content:"\f1ba"}.fa-tree:before{content:"\f1bb"}.fa-spotify:before{content:"\f1bc"}.fa-deviantart:before{content:"\f1bd"}.fa-soundcloud:before{content:"\f1be"}.fa-database:before{content:"\f1c0"}.fa-file-pdf-o:before{content:"\f1c1"}.fa-file-word-o:before{content:"\f1c2"}.fa-file-excel-o:before{content:"\f1c3"}.fa-file-powerpoint-o:before{content:"\f1c4"}.fa-file-photo-o:before,.fa-file-picture-o:before,.fa-file-image-o:before{content:"\f1c5"}.fa-file-zip-o:before,.fa-file-archive-o:before{content:"\f1c6"}.fa-file-sound-o:before,.fa-file-audio-o:before{content:"\f1c7"}.fa-file-movie-o:before,.fa-file-video-o:before{content:"\f1c8"}.fa-file-code-o:before{content:"\f1c9"}.fa-vine:before{content:"\f1ca"}.fa-codepen:before{content:"\f1cb"}.fa-jsfiddle:before{content:"\f1cc"}.fa-life-bouy:before,.fa-life-buoy:before,.fa-life-saver:before,.fa-support:before,.fa-life-ring:before{content:"\f1cd"}.fa-circle-o-notch:before{content:"\f1ce"}.fa-ra:before,.fa-resistance:before,.fa-rebel:before{content:"\f1d0"}.fa-ge:before,.fa-empire:before{content:"\f1d1"}.fa-git-square:before{content:"\f1d2"}.fa-git:before{content:"\f1d3"}.fa-y-combinator-square:before,.fa-yc-square:before,.fa-hacker-news:before{content:"\f1d4"}.fa-tencent-weibo:before{content:"\f1d5"}.fa-qq:before{content:"\f1d6"}.fa-wechat:before,.fa-weixin:before{content:"\f1d7"}.fa-send:before,.fa-paper-plane:before{content:"\f1d8"}.fa-send-o:before,.fa-paper-plane-o:before{content:"\f1d9"}.fa-history:before{content:"\f1da"}.fa-circle-thin:before{content:"\f1db"}.fa-header:before{content:"\f1dc"}.fa-paragraph:before{content:"\f1dd"}.fa-sliders:before{content:"\f1de"}.fa-share-alt:before{content:"\f1e0"}.fa-share-alt-square:before{content:"\f1e1"}.fa-bomb:before{content:"\f1e2"}.fa-soccer-ball-o:before,.fa-futbol-o:before{content:"\f1e3"}.fa-tty:before{content:"\f1e4"}.fa-binoculars:before{content:"\f1e5"}.fa-plug:before{content:"\f1e6"}.fa-slideshare:before{content:"\f1e7"}.fa-twitch:before{content:"\f1e8"}.fa-yelp:before{content:"\f1e9"}.fa-newspaper-o:before{content:"\f1ea"}.fa-wifi:before{content:"\f1eb"}.fa-calculator:before{content:"\f1ec"}.fa-paypal:before{content:"\f1ed"}.fa-google-wallet:before{content:"\f1ee"}.fa-cc-visa:before{content:"\f1f0"}.fa-cc-mastercard:before{content:"\f1f1"}.fa-cc-discover:before{content:"\f1f2"}.fa-cc-amex:before{content:"\f1f3"}.fa-cc-paypal:before{content:"\f1f4"}.fa-cc-stripe:before{content:"\f1f5"}.fa-bell-slash:before{content:"\f1f6"}.fa-bell-slash-o:before{content:"\f1f7"}.fa-trash:before{content:"\f1f8"}.fa-copyright:before{content:"\f1f9"}.fa-at:before{content:"\f1fa"}.fa-eyedropper:before{content:"\f1fb"}.fa-paint-brush:before{content:"\f1fc"}.fa-birthday-cake:before{content:"\f1fd"}.fa-area-chart:before{content:"\f1fe"}.fa-pie-chart:before{content:"\f200"}.fa-line-chart:before{content:"\f201"}.fa-lastfm:before{content:"\f202"}.fa-lastfm-square:before{content:"\f203"}.fa-toggle-off:before{content:"\f204"}.fa-toggle-on:before{content:"\f205"}.fa-bicycle:before{content:"\f206"}.fa-bus:before{content:"\f207"}.fa-ioxhost:before{content:"\f208"}.fa-angellist:before{content:"\f209"}.fa-cc:before{content:"\f20a"}.fa-shekel:before,.fa-sheqel:before,.fa-ils:before{content:"\f20b"}.fa-meanpath:before{content:"\f20c"}.fa-buysellads:before{content:"\f20d"}.fa-connectdevelop:before{content:"\f20e"}.fa-dashcube:before{content:"\f210"}.fa-forumbee:before{content:"\f211"}.fa-leanpub:before{content:"\f212"}.fa-sellsy:before{content:"\f213"}.fa-shirtsinbulk:before{content:"\f214"}.fa-simplybuilt:before{content:"\f215"}.fa-skyatlas:before{content:"\f216"}.fa-cart-plus:before{content:"\f217"}.fa-cart-arrow-down:before{content:"\f218"}.fa-diamond:before{content:"\f219"}.fa-ship:before{content:"\f21a"}.fa-user-secret:before{content:"\f21b"}.fa-motorcycle:before{content:"\f21c"}.fa-street-view:before{content:"\f21d"}.fa-heartbeat:before{content:"\f21e"}.fa-venus:before{content:"\f221"}.fa-mars:before{content:"\f222"}.fa-mercury:before{content:"\f223"}.fa-intersex:before,.fa-transgender:before{content:"\f224"}.fa-transgender-alt:before{content:"\f225"}.fa-venus-double:before{content:"\f226"}.fa-mars-double:before{content:"\f227"}.fa-venus-mars:before{content:"\f228"}.fa-mars-stroke:before{content:"\f229"}.fa-mars-stroke-v:before{content:"\f22a"}.fa-mars-stroke-h:before{content:"\f22b"}.fa-neuter:before{content:"\f22c"}.fa-genderless:before{content:"\f22d"}.fa-facebook-official:before{content:"\f230"}.fa-pinterest-p:before{content:"\f231"}.fa-whatsapp:before{content:"\f232"}.fa-server:before{content:"\f233"}.fa-user-plus:before{content:"\f234"}.fa-user-times:before{content:"\f235"}.fa-hotel:before,.fa-bed:before{content:"\f236"}.fa-viacoin:before{content:"\f237"}.fa-train:before{content:"\f238"}.fa-subway:before{content:"\f239"}.fa-medium:before{content:"\f23a"}.fa-yc:before,.fa-y-combinator:before{content:"\f23b"}.fa-optin-monster:before{content:"\f23c"}.fa-opencart:before{content:"\f23d"}.fa-expeditedssl:before{content:"\f23e"}.fa-battery-4:before,.fa-battery:before,.fa-battery-full:before{content:"\f240"}.fa-battery-3:before,.fa-battery-three-quarters:before{content:"\f241"}.fa-battery-2:before,.fa-battery-half:before{content:"\f242"}.fa-battery-1:before,.fa-battery-quarter:before{content:"\f243"}.fa-battery-0:before,.fa-battery-empty:before{content:"\f244"}.fa-mouse-pointer:before{content:"\f245"}.fa-i-cursor:before{content:"\f246"}.fa-object-group:before{content:"\f247"}.fa-object-ungroup:before{content:"\f248"}.fa-sticky-note:before{content:"\f249"}.fa-sticky-note-o:before{content:"\f24a"}.fa-cc-jcb:before{content:"\f24b"}.fa-cc-diners-club:before{content:"\f24c"}.fa-clone:before{content:"\f24d"}.fa-balance-scale:before{content:"\f24e"}.fa-hourglass-o:before{content:"\f250"}.fa-hourglass-1:before,.fa-hourglass-start:before{content:"\f251"}.fa-hourglass-2:before,.fa-hourglass-half:before{content:"\f252"}.fa-hourglass-3:before,.fa-hourglass-end:before{content:"\f253"}.fa-hourglass:before{content:"\f254"}.fa-hand-grab-o:before,.fa-hand-rock-o:before{content:"\f255"}.fa-hand-stop-o:before,.fa-hand-paper-o:before{content:"\f256"}.fa-hand-scissors-o:before{content:"\f257"}.fa-hand-lizard-o:before{content:"\f258"}.fa-hand-spock-o:before{content:"\f259"}.fa-hand-pointer-o:before{content:"\f25a"}.fa-hand-peace-o:before{content:"\f25b"}.fa-trademark:before{content:"\f25c"}.fa-registered:before{content:"\f25d"}.fa-creative-commons:before{content:"\f25e"}.fa-gg:before{content:"\f260"}.fa-gg-circle:before{content:"\f261"}.fa-tripadvisor:before{content:"\f262"}.fa-odnoklassniki:before{content:"\f263"}.fa-odnoklassniki-square:before{content:"\f264"}.fa-get-pocket:before{content:"\f265"}.fa-wikipedia-w:before{content:"\f266"}.fa-safari:before{content:"\f267"}.fa-chrome:before{content:"\f268"}.fa-firefox:before{content:"\f269"}.fa-opera:before{content:"\f26a"}.fa-internet-explorer:before{content:"\f26b"}.fa-tv:before,.fa-television:before{content:"\f26c"}.fa-contao:before{content:"\f26d"}.fa-500px:before{content:"\f26e"}.fa-amazon:before{content:"\f270"}.fa-calendar-plus-o:before{content:"\f271"}.fa-calendar-minus-o:before{content:"\f272"}.fa-calendar-times-o:before{content:"\f273"}.fa-calendar-check-o:before{content:"\f274"}.fa-industry:before{content:"\f275"}.fa-map-pin:before{content:"\f276"}.fa-map-signs:before{content:"\f277"}.fa-map-o:before{content:"\f278"}.fa-map:before{content:"\f279"}.fa-commenting:before{content:"\f27a"}.fa-commenting-o:before{content:"\f27b"}.fa-houzz:before{content:"\f27c"}.fa-vimeo:before{content:"\f27d"}.fa-black-tie:before{content:"\f27e"}.fa-fonticons:before{content:"\f280"}.fa-reddit-alien:before{content:"\f281"}.fa-edge:before{content:"\f282"}.fa-credit-card-alt:before{content:"\f283"}.fa-codiepie:before{content:"\f284"}.fa-modx:before{content:"\f285"}.fa-fort-awesome:before{content:"\f286"}.fa-usb:before{content:"\f287"}.fa-product-hunt:before{content:"\f288"}.fa-mixcloud:before{content:"\f289"}.fa-scribd:before{content:"\f28a"}.fa-pause-circle:before{content:"\f28b"}.fa-pause-circle-o:before{content:"\f28c"}.fa-stop-circle:before{content:"\f28d"}.fa-stop-circle-o:before{content:"\f28e"}.fa-shopping-bag:before{content:"\f290"}.fa-shopping-basket:before{content:"\f291"}.fa-hashtag:before{content:"\f292"}.fa-bluetooth:before{content:"\f293"}.fa-bluetooth-b:before{content:"\f294"}.fa-percent:before{content:"\f295"}.fa-gitlab:before{content:"\f296"}.fa-wpbeginner:before{content:"\f297"}.fa-wpforms:before{content:"\f298"}.fa-envira:before{content:"\f299"}.fa-universal-access:before{content:"\f29a"}.fa-wheelchair-alt:before{content:"\f29b"}.fa-question-circle-o:before{content:"\f29c"}.fa-blind:before{content:"\f29d"}.fa-audio-description:before{content:"\f29e"}.fa-volume-control-phone:before{content:"\f2a0"}.fa-braille:before{content:"\f2a1"}.fa-assistive-listening-systems:before{content:"\f2a2"}.fa-asl-interpreting:before,.fa-american-sign-language-interpreting:before{content:"\f2a3"}.fa-deafness:before,.fa-hard-of-hearing:before,.fa-deaf:before{content:"\f2a4"}.fa-glide:before{content:"\f2a5"}.fa-glide-g:before{content:"\f2a6"}.fa-signing:before,.fa-sign-language:before{content:"\f2a7"}.fa-low-vision:before{content:"\f2a8"}.fa-viadeo:before{content:"\f2a9"}.fa-viadeo-square:before{content:"\f2aa"}.fa-snapchat:before{content:"\f2ab"}.fa-snapchat-ghost:before{content:"\f2ac"}.fa-snapchat-square:before{content:"\f2ad"}.fa-pied-piper:before{content:"\f2ae"}.fa-first-order:before{content:"\f2b0"}.fa-yoast:before{content:"\f2b1"}.fa-themeisle:before{content:"\f2b2"}.fa-google-plus-circle:before,.fa-google-plus-official:before{content:"\f2b3"}.fa-fa:before,.fa-font-awesome:before{content:"\f2b4"}.fa-handshake-o:before{content:"\f2b5"}.fa-envelope-open:before{content:"\f2b6"}.fa-envelope-open-o:before{content:"\f2b7"}.fa-linode:before{content:"\f2b8"}.fa-address-book:before{content:"\f2b9"}.fa-address-book-o:before{content:"\f2ba"}.fa-vcard:before,.fa-address-card:before{content:"\f2bb"}.fa-vcard-o:before,.fa-address-card-o:before{content:"\f2bc"}.fa-user-circle:before{content:"\f2bd"}.fa-user-circle-o:before{content:"\f2be"}.fa-user-o:before{content:"\f2c0"}.fa-id-badge:before{content:"\f2c1"}.fa-drivers-license:before,.fa-id-card:before{content:"\f2c2"}.fa-drivers-license-o:before,.fa-id-card-o:before{content:"\f2c3"}.fa-quora:before{content:"\f2c4"}.fa-free-code-camp:before{content:"\f2c5"}.fa-telegram:before{content:"\f2c6"}.fa-thermometer-4:before,.fa-thermometer:before,.fa-thermometer-full:before{content:"\f2c7"}.fa-thermometer-3:before,.fa-thermometer-three-quarters:before{content:"\f2c8"}.fa-thermometer-2:before,.fa-thermometer-half:before{content:"\f2c9"}.fa-thermometer-1:before,.fa-thermometer-quarter:before{content:"\f2ca"}.fa-thermometer-0:before,.fa-thermometer-empty:before{content:"\f2cb"}.fa-shower:before{content:"\f2cc"}.fa-bathtub:before,.fa-s15:before,.fa-bath:before{content:"\f2cd"}.fa-podcast:before{content:"\f2ce"}.fa-window-maximize:before{content:"\f2d0"}.fa-window-minimize:before{content:"\f2d1"}.fa-window-restore:before{content:"\f2d2"}.fa-times-rectangle:before,.fa-window-close:before{content:"\f2d3"}.fa-times-rectangle-o:before,.fa-window-close-o:before{content:"\f2d4"}.fa-bandcamp:before{content:"\f2d5"}.fa-grav:before{content:"\f2d6"}.fa-etsy:before{content:"\f2d7"}.fa-imdb:before{content:"\f2d8"}.fa-ravelry:before{content:"\f2d9"}.fa-eercast:before{content:"\f2da"}.fa-microchip:before{content:"\f2db"}.fa-snowflake-o:before{content:"\f2dc"}.fa-superpowers:before{content:"\f2dd"}.fa-wpexplorer:before{content:"\f2de"}.fa-meetup:before{content:"\f2e0"}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto} \ No newline at end of file diff --git a/assets/fonts/material-icons.css b/assets/fonts/material-icons.css new file mode 100644 index 000000000..d23d365ed --- /dev/null +++ b/assets/fonts/material-icons.css @@ -0,0 +1,13 @@ +/*! + * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy + * of the License at: + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING, SOFTWARE + * DISTRIBUTED UNDER THE LICENSE IS DISTRIBUTED ON AN "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. + * SEE THE LICENSE FOR THE SPECIFIC LANGUAGE GOVERNING PERMISSIONS AND + * LIMITATIONS UNDER THE LICENSE. + */@font-face{font-family:"Material Icons";font-style:normal;font-weight:400;src:local("Material Icons"),local("MaterialIcons-Regular"),url("specimen/MaterialIcons-Regular.woff2") format("woff2"),url("specimen/MaterialIcons-Regular.woff") format("woff"),url("specimen/MaterialIcons-Regular.ttf") format("truetype")} \ No newline at end of file diff --git a/assets/fonts/specimen/FontAwesome.ttf b/assets/fonts/specimen/FontAwesome.ttf new file mode 100644 index 000000000..35acda2fa Binary files /dev/null and b/assets/fonts/specimen/FontAwesome.ttf differ diff --git a/assets/fonts/specimen/FontAwesome.woff b/assets/fonts/specimen/FontAwesome.woff new file mode 100644 index 000000000..400014a4b Binary files /dev/null and b/assets/fonts/specimen/FontAwesome.woff differ diff --git a/assets/fonts/specimen/FontAwesome.woff2 b/assets/fonts/specimen/FontAwesome.woff2 new file mode 100644 index 000000000..4d13fc604 Binary files /dev/null and b/assets/fonts/specimen/FontAwesome.woff2 differ diff --git a/assets/fonts/specimen/MaterialIcons-Regular.ttf b/assets/fonts/specimen/MaterialIcons-Regular.ttf new file mode 100644 index 000000000..7015564ad Binary files /dev/null and b/assets/fonts/specimen/MaterialIcons-Regular.ttf differ diff --git a/assets/fonts/specimen/MaterialIcons-Regular.woff b/assets/fonts/specimen/MaterialIcons-Regular.woff new file mode 100644 index 000000000..b648a3eea Binary files /dev/null and b/assets/fonts/specimen/MaterialIcons-Regular.woff differ diff --git a/assets/fonts/specimen/MaterialIcons-Regular.woff2 b/assets/fonts/specimen/MaterialIcons-Regular.woff2 new file mode 100644 index 000000000..9fa211252 Binary files /dev/null and b/assets/fonts/specimen/MaterialIcons-Regular.woff2 differ diff --git a/assets/images/favicon.png b/assets/images/favicon.png new file mode 100644 index 000000000..76d17f57a Binary files /dev/null and b/assets/images/favicon.png differ diff --git a/assets/images/icons/bitbucket.1b09e088.svg b/assets/images/icons/bitbucket.1b09e088.svg new file mode 100644 index 000000000..cf58c14fb --- /dev/null +++ b/assets/images/icons/bitbucket.1b09e088.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/images/icons/github.f0b8504a.svg b/assets/images/icons/github.f0b8504a.svg new file mode 100644 index 000000000..3d13b1975 --- /dev/null +++ b/assets/images/icons/github.f0b8504a.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/images/icons/gitlab.6dd19c00.svg b/assets/images/icons/gitlab.6dd19c00.svg new file mode 100644 index 000000000..1d9fffa74 --- /dev/null +++ b/assets/images/icons/gitlab.6dd19c00.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/javascripts/application.c33a9706.js b/assets/javascripts/application.c33a9706.js new file mode 100644 index 000000000..3da6d0caf --- /dev/null +++ b/assets/javascripts/application.c33a9706.js @@ -0,0 +1,60 @@ +!function(e,t){for(var n in t)e[n]=t[n]}(window,function(n){var r={};function i(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,i),t.l=!0,t.exports}return i.m=n,i.c=r,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)i.d(n,r,function(e){return t[e]}.bind(null,r));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s=13)}([function(e,t,n){"use strict";var r={Listener:function(){function e(e,t,n){var r=this;this.els_=Array.prototype.slice.call("string"==typeof e?document.querySelectorAll(e):[].concat(e)),this.handler_="function"==typeof n?{update:n}:n,this.events_=[].concat(t),this.update_=function(e){return r.handler_.update(e)}}var t=e.prototype;return t.listen=function(){var n=this;this.els_.forEach(function(t){n.events_.forEach(function(e){t.addEventListener(e,n.update_,!1)})}),"function"==typeof this.handler_.setup&&this.handler_.setup()},t.unlisten=function(){var n=this;this.els_.forEach(function(t){n.events_.forEach(function(e){t.removeEventListener(e,n.update_)})}),"function"==typeof this.handler_.reset&&this.handler_.reset()},e}(),MatchMedia:function(e,t){this.handler_=function(e){e.matches?t.listen():t.unlisten()};var n=window.matchMedia(e);n.addListener(this.handler_),this.handler_(n)}},i={Shadow:function(){function e(e,t){var n="string"==typeof e?document.querySelector(e):e;if(!(n instanceof HTMLElement&&n.parentNode instanceof HTMLElement))throw new ReferenceError;if(this.el_=n.parentNode,!((n="string"==typeof t?document.querySelector(t):t)instanceof HTMLElement))throw new ReferenceError;this.header_=n,this.height_=0,this.active_=!1}var t=e.prototype;return t.setup=function(){for(var e=this.el_;e=e.previousElementSibling;){if(!(e instanceof HTMLElement))throw new ReferenceError;this.height_+=e.offsetHeight}this.update()},t.update=function(e){if(!e||"resize"!==e.type&&"orientationchange"!==e.type){var t=window.pageYOffset>=this.height_;t!==this.active_&&(this.header_.dataset.mdState=(this.active_=t)?"shadow":"")}else this.height_=0,this.setup()},t.reset=function(){this.header_.dataset.mdState="",this.height_=0,this.active_=!1},e}(),Title:function(){function e(e,t){var n="string"==typeof e?document.querySelector(e):e;if(!(n instanceof HTMLElement))throw new ReferenceError;if(this.el_=n,!((n="string"==typeof t?document.querySelector(t):t)instanceof HTMLHeadingElement))throw new ReferenceError;this.header_=n,this.active_=!1}var t=e.prototype;return t.setup=function(){var t=this;Array.prototype.forEach.call(this.el_.children,function(e){e.style.width=t.el_.offsetWidth-20+"px"})},t.update=function(e){var t=this,n=window.pageYOffset>=this.header_.offsetTop;n!==this.active_&&(this.el_.dataset.mdState=(this.active_=n)?"active":""),"resize"!==e.type&&"orientationchange"!==e.type||Array.prototype.forEach.call(this.el_.children,function(e){e.style.width=t.el_.offsetWidth-20+"px"})},t.reset=function(){this.el_.dataset.mdState="",this.el_.style.width="",this.active_=!1},e}()},o={Blur:function(){function e(e){this.els_="string"==typeof e?document.querySelectorAll(e):e,this.index_=0,this.offset_=window.pageYOffset,this.dir_=!1,this.anchors_=[].reduce.call(this.els_,function(e,t){var n=decodeURIComponent(t.hash);return e.concat(document.getElementById(n.substring(1))||[])},[])}var t=e.prototype;return t.setup=function(){this.update()},t.update=function(){var e=window.pageYOffset,t=this.offset_-e<0;if(this.dir_!==t&&(this.index_=this.index_=t?0:this.els_.length-1),0!==this.anchors_.length){if(this.offset_<=e)for(var n=this.index_+1;ne)){this.index_=r;break}0=this.offset_?"lock"!==this.el_.dataset.mdState&&(this.el_.dataset.mdState="lock"):"lock"===this.el_.dataset.mdState&&(this.el_.dataset.mdState="")},t.reset=function(){this.el_.dataset.mdState="",this.el_.style.height="",this.height_=0},e}()},c=n(6),l=n.n(c);var u={Adapter:{GitHub:function(o){var e,t;function n(e){var t;t=o.call(this,e)||this;var n=/^.+github\.com\/([^/]+)\/?([^/]+)?.*$/.exec(t.base_);if(n&&3===n.length){var r=n[1],i=n[2];t.base_="https://api.github.com/users/"+r+"/repos",t.name_=i}return t}return t=o,(e=n).prototype=Object.create(t.prototype),(e.prototype.constructor=e).__proto__=t,n.prototype.fetch_=function(){var i=this;return function n(r){return void 0===r&&(r=0),fetch(i.base_+"?per_page=100&sort=updated&page="+r).then(function(e){return e.json()}).then(function(e){if(!(e instanceof Array))return[];if(i.name_){var t=e.find(function(e){return e.name===i.name_});return t||30!==e.length?t?[i.format_(t.stargazers_count)+" Stars",i.format_(t.forks_count)+" Forks"]:[]:n(r+1)}return[e.length+" Repositories"]})}()},n}(function(){function e(e){var t="string"==typeof e?document.querySelector(e):e;if(!(t instanceof HTMLAnchorElement))throw new ReferenceError;this.el_=t,this.base_=this.el_.href,this.salt_=this.hash_(this.base_)}var t=e.prototype;return t.fetch=function(){var n=this;return new Promise(function(t){var e=l.a.getJSON(n.salt_+".cache-source");void 0!==e?t(e):n.fetch_().then(function(e){l.a.set(n.salt_+".cache-source",e,{expires:1/96}),t(e)})})},t.fetch_=function(){throw new Error("fetch_(): Not implemented")},t.format_=function(e){return 1e4=this.el_.children[0].offsetTop+(5-this.height_);e!==this.active_&&(this.el_.dataset.mdState=(this.active_=e)?"hidden":"")},t.reset=function(){this.el_.dataset.mdState="",this.active_=!1},e}()};t.a={Event:r,Header:i,Nav:o,Search:a,Sidebar:s,Source:u,Tabs:f}},function(t,e,n){(function(e){t.exports=e.lunr=n(24)}).call(this,n(4))},function(e,d,h){"use strict";(function(t){var e=h(8),n=setTimeout;function c(e){return Boolean(e&&void 0!==e.length)}function r(){}function o(e){if(!(this instanceof o))throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],f(e,this)}function i(n,r){for(;3===n._state;)n=n._value;0!==n._state?(n._handled=!0,o._immediateFn(function(){var e=1===n._state?r.onFulfilled:r.onRejected;if(null!==e){var t;try{t=e(n._value)}catch(e){return void s(r.promise,e)}a(r.promise,t)}else(1===n._state?a:s)(r.promise,n._value)})):n._deferreds.push(r)}function a(t,e){try{if(e===t)throw new TypeError("A promise cannot be resolved with itself.");if(e&&("object"==typeof e||"function"==typeof e)){var n=e.then;if(e instanceof o)return t._state=3,t._value=e,void l(t);if("function"==typeof n)return void f((r=n,i=e,function(){r.apply(i,arguments)}),t)}t._state=1,t._value=e,l(t)}catch(e){s(t,e)}var r,i}function s(e,t){e._state=2,e._value=t,l(e)}function l(e){2===e._state&&0===e._deferreds.length&&o._immediateFn(function(){e._handled||o._unhandledRejectionFn(e._value)});for(var t=0,n=e._deferreds.length;t"+n+""};this.stack_=[],r.forEach(function(e,t){var n,r=a.docs_.get(t),i=f.createElement("li",{class:"md-search-result__item"},f.createElement("a",{href:r.location,title:r.title,class:"md-search-result__link",tabindex:"-1"},f.createElement("article",{class:"md-search-result__article md-search-result__article--document"},f.createElement("h1",{class:"md-search-result__title"},{__html:r.title.replace(s,c)}),r.text.length?f.createElement("p",{class:"md-search-result__teaser"},{__html:r.text.replace(s,c)}):{}))),o=e.map(function(t){return function(){var e=a.docs_.get(t.ref);i.appendChild(f.createElement("a",{href:e.location,title:e.title,class:"md-search-result__link","data-md-rel":"anchor",tabindex:"-1"},f.createElement("article",{class:"md-search-result__article"},f.createElement("h1",{class:"md-search-result__title"},{__html:e.title.replace(s,c)}),e.text.length?f.createElement("p",{class:"md-search-result__teaser"},{__html:function(e,t){var n=t;if(e.length>n){for(;" "!==e[n]&&0<--n;);return e.substring(0,n)+"..."}return e}(e.text.replace(s,c),400)}):{})))}});(n=a.stack_).push.apply(n,[function(){return a.list_.appendChild(i)}].concat(o))});var o=this.el_.parentNode;if(!(o instanceof HTMLElement))throw new ReferenceError;for(;this.stack_.length&&o.offsetHeight>=o.scrollHeight-16;)this.stack_.shift()();var l=this.list_.querySelectorAll("[data-md-rel=anchor]");switch(Array.prototype.forEach.call(l,function(r){["click","keydown"].forEach(function(n){r.addEventListener(n,function(e){if("keydown"!==n||13===e.keyCode){var t=document.querySelector("[data-md-toggle=search]");if(!(t instanceof HTMLInputElement))throw new ReferenceError;t.checked&&(t.checked=!1,t.dispatchEvent(new CustomEvent("change"))),e.preventDefault(),setTimeout(function(){document.location.href=r.href},100)}})})}),r.size){case 0:this.meta_.textContent=this.message_.none;break;case 1:this.meta_.textContent=this.message_.one;break;default:this.meta_.textContent=this.message_.other.replace("#",r.size)}}}else{var u=function(e){a.docs_=e.reduce(function(e,t){var n,r,i,o=t.location.split("#"),a=o[0],s=o[1];return t.text=(n=t.text,r=document.createTextNode(n),(i=document.createElement("p")).appendChild(r),i.innerHTML),s&&(t.parent=e.get(a),t.parent&&!t.parent.done&&(t.parent.title=t.title,t.parent.text=t.text,t.parent.done=!0)),t.text=t.text.replace(/\n/g," ").replace(/\s+/g," ").replace(/\s+([,.:;!?])/g,function(e,t){return t}),t.parent&&t.parent.title===t.title||e.set(t.location,t),e},new Map);var i=a.docs_,o=a.lang_;a.stack_=[],a.index_=d()(function(){var e,t=this,n={"search.pipeline.trimmer":d.a.trimmer,"search.pipeline.stopwords":d.a.stopWordFilter},r=Object.keys(n).reduce(function(e,t){return h(t).match(/^false$/i)||e.push(n[t]),e},[]);this.pipeline.reset(),r&&(e=this.pipeline).add.apply(e,r),1===o.length&&"en"!==o[0]&&d.a[o[0]]?this.use(d.a[o[0]]):1=t.scrollHeight-16;)a.stack_.splice(0,10).forEach(function(e){return e()})})};setTimeout(function(){return"function"==typeof a.data_?a.data_().then(u):u(a.data_)},250)}},e}()}).call(this,r(3))},function(e,n,r){"use strict";(function(t){r.d(n,"a",function(){return e});var e=function(){function e(e){var t="string"==typeof e?document.querySelector(e):e;if(!(t instanceof HTMLElement))throw new ReferenceError;this.el_=t}return e.prototype.initialize=function(e){e.length&&this.el_.children.length&&this.el_.children[this.el_.children.length-1].appendChild(t.createElement("ul",{class:"md-source__facts"},e.map(function(e){return t.createElement("li",{class:"md-source__fact"},e)}))),this.el_.dataset.mdState="done"},e}()}).call(this,r(3))},,,function(e,n,c){"use strict";c.r(n),function(o){c.d(n,"app",function(){return t});c(14),c(15),c(16),c(17),c(18),c(19),c(20);var r=c(2),e=c(5),a=c.n(e),i=c(0);window.Promise=window.Promise||r.a;var s=function(e){var t=document.getElementsByName("lang:"+e)[0];if(!(t instanceof HTMLMetaElement))throw new ReferenceError;return t.content};var t={initialize:function(t){new i.a.Event.Listener(document,"DOMContentLoaded",function(){if(!(document.body instanceof HTMLElement))throw new ReferenceError;Modernizr.addTest("ios",function(){return!!navigator.userAgent.match(/(iPad|iPhone|iPod)/g)});var e=document.querySelectorAll("table:not([class])");if(Array.prototype.forEach.call(e,function(e){var t=o.createElement("div",{class:"md-typeset__scrollwrap"},o.createElement("div",{class:"md-typeset__table"}));e.nextSibling?e.parentNode.insertBefore(t,e.nextSibling):e.parentNode.appendChild(t),t.children[0].appendChild(e)}),a.a.isSupported()){var t=document.querySelectorAll("pre > code");Array.prototype.forEach.call(t,function(e,t){var n="__code_"+t,r=o.createElement("button",{class:"md-clipboard",title:s("clipboard.copy"),"data-clipboard-target":"#"+n+" pre, #"+n+" code"},o.createElement("span",{class:"md-clipboard__message"})),i=e.parentNode;i.id=n,i.insertBefore(r,e)}),new a.a(".md-clipboard").on("success",function(e){var t=e.trigger.querySelector(".md-clipboard__message");if(!(t instanceof HTMLElement))throw new ReferenceError;e.clearSelection(),t.dataset.mdTimer&&clearTimeout(parseInt(t.dataset.mdTimer,10)),t.classList.add("md-clipboard__message--active"),t.innerHTML=s("clipboard.copied"),t.dataset.mdTimer=setTimeout(function(){t.classList.remove("md-clipboard__message--active"),t.dataset.mdTimer=""},2e3).toString()})}if(!Modernizr.details){var n=document.querySelectorAll("details > summary");Array.prototype.forEach.call(n,function(e){e.addEventListener("click",function(e){var t=e.target.parentNode;t.hasAttribute("open")?t.removeAttribute("open"):t.setAttribute("open","")})})}var r=function(){if(document.location.hash){var e=document.getElementById(document.location.hash.substring(1));if(!e)return;for(var t=e.parentNode;t&&!(t instanceof HTMLDetailsElement);)t=t.parentNode;if(t&&!t.open){t.open=!0;var n=location.hash;location.hash=" ",location.hash=n}}};if(window.addEventListener("hashchange",r),r(),Modernizr.ios){var i=document.querySelectorAll("[data-md-scrollfix]");Array.prototype.forEach.call(i,function(t){t.addEventListener("touchstart",function(){var e=t.scrollTop;0===e?t.scrollTop=1:e+t.offsetHeight===t.scrollHeight&&(t.scrollTop=e-1)})})}}).listen(),new i.a.Event.Listener(window,["scroll","resize","orientationchange"],new i.a.Header.Shadow("[data-md-component=container]","[data-md-component=header]")).listen(),new i.a.Event.Listener(window,["scroll","resize","orientationchange"],new i.a.Header.Title("[data-md-component=title]",".md-typeset h1")).listen(),document.querySelector("[data-md-component=hero]")&&new i.a.Event.Listener(window,["scroll","resize","orientationchange"],new i.a.Tabs.Toggle("[data-md-component=hero]")).listen(),document.querySelector("[data-md-component=tabs]")&&new i.a.Event.Listener(window,["scroll","resize","orientationchange"],new i.a.Tabs.Toggle("[data-md-component=tabs]")).listen(),new i.a.Event.MatchMedia("(min-width: 1220px)",new i.a.Event.Listener(window,["scroll","resize","orientationchange"],new i.a.Sidebar.Position("[data-md-component=navigation]","[data-md-component=header]"))),document.querySelector("[data-md-component=toc]")&&new i.a.Event.MatchMedia("(min-width: 960px)",new i.a.Event.Listener(window,["scroll","resize","orientationchange"],new i.a.Sidebar.Position("[data-md-component=toc]","[data-md-component=header]"))),new i.a.Event.MatchMedia("(min-width: 960px)",new i.a.Event.Listener(window,"scroll",new i.a.Nav.Blur("[data-md-component=toc] .md-nav__link")));var e=document.querySelectorAll("[data-md-component=collapsible]");Array.prototype.forEach.call(e,function(e){new i.a.Event.MatchMedia("(min-width: 1220px)",new i.a.Event.Listener(e.previousElementSibling,"click",new i.a.Nav.Collapse(e)))}),new i.a.Event.MatchMedia("(max-width: 1219px)",new i.a.Event.Listener("[data-md-component=navigation] [data-md-toggle]","change",new i.a.Nav.Scrolling("[data-md-component=navigation] nav"))),document.querySelector("[data-md-component=search]")&&(new i.a.Event.MatchMedia("(max-width: 959px)",new i.a.Event.Listener("[data-md-toggle=search]","change",new i.a.Search.Lock("[data-md-toggle=search]"))),new i.a.Event.Listener("[data-md-component=query]",["focus","keyup","change"],new i.a.Search.Result("[data-md-component=result]",function(){return fetch(t.url.base+"/search/search_index.json",{credentials:"same-origin"}).then(function(e){return e.json()}).then(function(e){return e.docs.map(function(e){return e.location=t.url.base+"/"+e.location,e})})})).listen(),new i.a.Event.Listener("[data-md-component=reset]","click",function(){setTimeout(function(){var e=document.querySelector("[data-md-component=query]");if(!(e instanceof HTMLInputElement))throw new ReferenceError;e.focus()},10)}).listen(),new i.a.Event.Listener("[data-md-toggle=search]","change",function(e){setTimeout(function(e){if(!(e instanceof HTMLInputElement))throw new ReferenceError;if(e.checked){var t=document.querySelector("[data-md-component=query]");if(!(t instanceof HTMLInputElement))throw new ReferenceError;t.focus()}},400,e.target)}).listen(),new i.a.Event.Listener("[data-md-component=query]","focus",function(){var e=document.querySelector("[data-md-toggle=search]");if(!(e instanceof HTMLInputElement))throw new ReferenceError;e.checked||(e.checked=!0,e.dispatchEvent(new CustomEvent("change")))}).listen(),new i.a.Event.Listener(window,"keydown",function(e){var t=document.querySelector("[data-md-toggle=search]");if(!(t instanceof HTMLInputElement))throw new ReferenceError;var n=document.querySelector("[data-md-component=query]");if(!(n instanceof HTMLInputElement))throw new ReferenceError;if(!(document.activeElement instanceof HTMLElement&&document.activeElement.isContentEditable||e.metaKey||e.ctrlKey))if(t.checked){if(13===e.keyCode){if(n===document.activeElement){e.preventDefault();var r=document.querySelector("[data-md-component=search] [href][data-md-state=active]");r instanceof HTMLLinkElement&&(window.location=r.getAttribute("href"),t.checked=!1,t.dispatchEvent(new CustomEvent("change")),n.blur())}}else if(9===e.keyCode||27===e.keyCode)t.checked=!1,t.dispatchEvent(new CustomEvent("change")),n.blur();else if(-1!==[8,37,39].indexOf(e.keyCode))n!==document.activeElement&&n.focus();else if(-1!==[38,40].indexOf(e.keyCode)){var i=e.keyCode,o=Array.prototype.slice.call(document.querySelectorAll("[data-md-component=query], [data-md-component=search] [href]")),a=o.find(function(e){if(!(e instanceof HTMLElement))throw new ReferenceError;return"active"===e.dataset.mdState});a&&(a.dataset.mdState="");var s=Math.max(0,(o.indexOf(a)+o.length+(38===i?-1:1))%o.length);return o[s]&&(o[s].dataset.mdState="active",o[s].focus()),e.preventDefault(),e.stopPropagation(),!1}}else if(document.activeElement&&!document.activeElement.form){if("TEXTAREA"===document.activeElement.tagName||"INPUT"===document.activeElement.tagName)return;70!==e.keyCode&&83!==e.keyCode||(n.focus(),e.preventDefault())}}).listen(),new i.a.Event.Listener(window,"keypress",function(){var e=document.querySelector("[data-md-toggle=search]");if(!(e instanceof HTMLInputElement))throw new ReferenceError;if(e.checked){var t=document.querySelector("[data-md-component=query]");if(!(t instanceof HTMLInputElement))throw new ReferenceError;t!==document.activeElement&&t.focus()}}).listen()),new i.a.Event.Listener(document.body,"keydown",function(e){if(9===e.keyCode){var t=document.querySelectorAll("[data-md-component=navigation] .md-nav__link[for]:not([tabindex])");Array.prototype.forEach.call(t,function(e){e.offsetHeight&&(e.tabIndex=0)})}}).listen(),new i.a.Event.Listener(document.body,"mousedown",function(){var e=document.querySelectorAll("[data-md-component=navigation] .md-nav__link[tabindex]");Array.prototype.forEach.call(e,function(e){e.removeAttribute("tabIndex")})}).listen(),document.body.addEventListener("click",function(){"tabbing"===document.body.dataset.mdState&&(document.body.dataset.mdState="")}),new i.a.Event.MatchMedia("(max-width: 959px)",new i.a.Event.Listener("[data-md-component=navigation] [href^='#']","click",function(){var e=document.querySelector("[data-md-toggle=drawer]");if(!(e instanceof HTMLInputElement))throw new ReferenceError;e.checked&&(e.checked=!1,e.dispatchEvent(new CustomEvent("change")))})),function(){var e=document.querySelector("[data-md-source]");if(!e)return r.a.resolve([]);if(!(e instanceof HTMLAnchorElement))throw new ReferenceError;switch(e.dataset.mdSource){case"github":return new i.a.Source.Adapter.GitHub(e).fetch();default:return r.a.resolve([])}}().then(function(t){var e=document.querySelectorAll("[data-md-source]");Array.prototype.forEach.call(e,function(e){new i.a.Source.Repository(e).initialize(t)})});var n=function(){var e=document.querySelectorAll("details");Array.prototype.forEach.call(e,function(e){e.setAttribute("open","")})};new i.a.Event.MatchMedia("print",{listen:n,unlisten:function(){}}),window.onbeforeprint=n}}}.call(this,c(3))},function(e,t,n){"use strict";n.p},function(e,t,n){"use strict";n.p},function(e,t,n){"use strict";n.p},function(e,t,n){"use strict"},function(e,t,n){"use strict"},function(e,t){!function(){if("undefined"!=typeof window)try{var e=new window.CustomEvent("test",{cancelable:!0});if(e.preventDefault(),!0!==e.defaultPrevented)throw new Error("Could not prevent default")}catch(e){var t=function(e,t){var n,r;return(t=t||{}).bubbles=!!t.bubbles,t.cancelable=!!t.cancelable,(n=document.createEvent("CustomEvent")).initCustomEvent(e,t.bubbles,t.cancelable,t.detail),r=n.preventDefault,n.preventDefault=function(){r.call(this);try{Object.defineProperty(this,"defaultPrevented",{get:function(){return!0}})}catch(e){this.defaultPrevented=!0}},n};t.prototype=window.Event.prototype,window.CustomEvent=t}}()},function(e,t,n){window.fetch||(window.fetch=n(7).default||n(7))},function(e,i,o){(function(e){var t=void 0!==e&&e||"undefined"!=typeof self&&self||window,n=Function.prototype.apply;function r(e,t){this._id=e,this._clearFn=t}i.setTimeout=function(){return new r(n.call(setTimeout,t,arguments),clearTimeout)},i.setInterval=function(){return new r(n.call(setInterval,t,arguments),clearInterval)},i.clearTimeout=i.clearInterval=function(e){e&&e.close()},r.prototype.unref=r.prototype.ref=function(){},r.prototype.close=function(){this._clearFn.call(t,this._id)},i.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},i.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},i._unrefActive=i.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;0<=t&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},o(22),i.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,i.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,o(4))},function(e,t,n){(function(e,p){!function(n,r){"use strict";if(!n.setImmediate){var i,o,t,a,e,s=1,c={},l=!1,u=n.document,f=Object.getPrototypeOf&&Object.getPrototypeOf(n);f=f&&f.setTimeout?f:n,i="[object process]"==={}.toString.call(n.process)?function(e){p.nextTick(function(){h(e)})}:function(){if(n.postMessage&&!n.importScripts){var e=!0,t=n.onmessage;return n.onmessage=function(){e=!1},n.postMessage("","*"),n.onmessage=t,e}}()?(a="setImmediate$"+Math.random()+"$",e=function(e){e.source===n&&"string"==typeof e.data&&0===e.data.indexOf(a)&&h(+e.data.slice(a.length))},n.addEventListener?n.addEventListener("message",e,!1):n.attachEvent("onmessage",e),function(e){n.postMessage(a+e,"*")}):n.MessageChannel?((t=new MessageChannel).port1.onmessage=function(e){h(e.data)},function(e){t.port2.postMessage(e)}):u&&"onreadystatechange"in u.createElement("script")?(o=u.documentElement,function(e){var t=u.createElement("script");t.onreadystatechange=function(){h(e),t.onreadystatechange=null,o.removeChild(t),t=null},o.appendChild(t)}):function(e){setTimeout(h,0,e)},f.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n=this.length)return D.QueryLexer.EOS;var e=this.str.charAt(this.pos);return this.pos+=1,e},D.QueryLexer.prototype.width=function(){return this.pos-this.start},D.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},D.QueryLexer.prototype.backup=function(){this.pos-=1},D.QueryLexer.prototype.acceptDigitRun=function(){for(var e,t;47<(t=(e=this.next()).charCodeAt(0))&&t<58;);e!=D.QueryLexer.EOS&&this.backup()},D.QueryLexer.prototype.more=function(){return this.pos=t&&(e=c.limit_backward,c.limit_backward=t,c.ket=c.cursor,c.find_among_b(o,4)?(c.bra=c.cursor,c.limit_backward=e,c.cursor=c.limit-r,c.cursor>c.limit_backward&&(c.cursor--,c.bra=c.cursor,c.slice_del())):c.limit_backward=e)}this.setCurrent=function(e){c.setCurrent(e)},this.getCurrent=function(){return c.getCurrent()},this.stem=function(){var e,r=c.cursor;return function(){var e,r=c.cursor+3;if(t=c.limit,0<=r&&r<=c.limit){for(i=r;;){if(e=c.cursor,c.in_grouping(d,97,248)){c.cursor=e;break}if((c.cursor=e)>=c.limit)return;c.cursor++}for(;!c.out_grouping(d,97,248);){if(c.cursor>=c.limit)return;c.cursor++}(t=c.cursor)=t&&(r=c.limit_backward,c.limit_backward=t,c.ket=c.cursor,e=c.find_among_b(s,32),c.limit_backward=r,e))switch(c.bra=c.cursor,e){case 1:c.slice_del();break;case 2:c.in_grouping_b(u,97,229)&&c.slice_del()}}(),c.cursor=c.limit,l(),c.cursor=c.limit,function(){var e,r,i,n=c.limit-c.cursor;if(c.ket=c.cursor,c.eq_s_b(2,"st")&&(c.bra=c.cursor,c.eq_s_b(2,"ig")&&c.slice_del()),c.cursor=c.limit-n,c.cursor>=t&&(r=c.limit_backward,c.limit_backward=t,c.ket=c.cursor,e=c.find_among_b(a,5),c.limit_backward=r,e))switch(c.bra=c.cursor,e){case 1:c.slice_del(),i=c.limit-c.cursor,l(),c.cursor=c.limit-i;break;case 2:c.slice_from("løs")}}(),c.cursor=c.limit,c.cursor>=t&&(e=c.limit_backward,c.limit_backward=t,c.ket=c.cursor,c.out_grouping_b(d,97,248)?(c.bra=c.cursor,n=c.slice_to(n),c.limit_backward=e,c.eq_v_b(n)&&c.slice_del()):c.limit_backward=e),!0}},function(e){return"function"==typeof e.update?e.update(function(e){return i.setCurrent(e),i.stem(),i.getCurrent()}):(i.setCurrent(e),i.stem(),i.getCurrent())}),e.Pipeline.registerFunction(e.da.stemmer,"stemmer-da"),e.da.stopWordFilter=e.generateStopWordFilter("ad af alle alt anden at blev blive bliver da de dem den denne der deres det dette dig din disse dog du efter eller en end er et for fra ham han hans har havde have hende hendes her hos hun hvad hvis hvor i ikke ind jeg jer jo kunne man mange med meget men mig min mine mit mod ned noget nogle nu når og også om op os over på selv sig sin sine sit skal skulle som sådan thi til ud under var vi vil ville vor være været".split(" ")),e.Pipeline.registerFunction(e.da.stopWordFilter,"stopWordFilter-da")}}); \ No newline at end of file diff --git a/assets/javascripts/lunr/lunr.de.js b/assets/javascripts/lunr/lunr.de.js new file mode 100644 index 000000000..73e55eb09 --- /dev/null +++ b/assets/javascripts/lunr/lunr.de.js @@ -0,0 +1,17 @@ +/*! + * Lunr languages, `German` language + * https://github.com/MihaiValentin/lunr-languages + * + * Copyright 2014, Mihai Valentin + * http://www.mozilla.org/MPL/ + */ +/*! + * based on + * Snowball JavaScript Library v0.3 + * http://code.google.com/p/urim/ + * http://snowball.tartarus.org/ + * + * Copyright 2010, Oleg Mazko + * http://www.mozilla.org/MPL/ + */ +!function(e,r){"function"==typeof define&&define.amd?define(r):"object"==typeof exports?module.exports=r():r()(e.lunr)}(this,function(){return function(e){if(void 0===e)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===e.stemmerSupport)throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");var _,p,r;e.de=function(){this.pipeline.reset(),this.pipeline.add(e.de.trimmer,e.de.stopWordFilter,e.de.stemmer),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add(e.de.stemmer))},e.de.wordCharacters="A-Za-zªºÀ-ÖØ-öø-ʸˠ-ˤᴀ-ᴥᴬ-ᵜᵢ-ᵥᵫ-ᵷᵹ-ᶾḀ-ỿⁱⁿₐ-ₜKÅℲⅎⅠ-ↈⱠ-ⱿꜢ-ꞇꞋ-ꞭꞰ-ꞷꟷ-ꟿꬰ-ꭚꭜ-ꭤff-stA-Za-z",e.de.trimmer=e.trimmerSupport.generateTrimmer(e.de.wordCharacters),e.Pipeline.registerFunction(e.de.trimmer,"trimmer-de"),e.de.stemmer=(_=e.stemmerSupport.Among,p=e.stemmerSupport.SnowballProgram,r=new function(){var r,n,i,s=[new _("",-1,6),new _("U",0,2),new _("Y",0,1),new _("ä",0,3),new _("ö",0,4),new _("ü",0,5)],o=[new _("e",-1,2),new _("em",-1,1),new _("en",-1,2),new _("ern",-1,1),new _("er",-1,1),new _("s",-1,3),new _("es",5,2)],c=[new _("en",-1,1),new _("er",-1,1),new _("st",-1,2),new _("est",2,1)],u=[new _("ig",-1,1),new _("lich",-1,1)],a=[new _("end",-1,1),new _("ig",-1,2),new _("ung",-1,1),new _("lich",-1,3),new _("isch",-1,2),new _("ik",-1,2),new _("heit",-1,3),new _("keit",-1,4)],t=[17,65,16,1,0,0,0,0,0,0,0,0,0,0,0,0,8,0,32,8],d=[117,30,5],l=[117,30,4],m=new p;function h(e,r,n){return!(!m.eq_s(1,e)||(m.ket=m.cursor,!m.in_grouping(t,97,252)))&&(m.slice_from(r),m.cursor=n,!0)}function w(){for(;!m.in_grouping(t,97,252);){if(m.cursor>=m.limit)return!0;m.cursor++}for(;!m.out_grouping(t,97,252);){if(m.cursor>=m.limit)return!0;m.cursor++}return!1}function f(){return i<=m.cursor}function b(){return n<=m.cursor}this.setCurrent=function(e){m.setCurrent(e)},this.getCurrent=function(){return m.getCurrent()},this.stem=function(){var e=m.cursor;return function(){for(var e,r,n,i,s=m.cursor;;)if(e=m.cursor,m.bra=e,m.eq_s(1,"ß"))m.ket=m.cursor,m.slice_from("ss");else{if(e>=m.limit)break;m.cursor=e+1}for(m.cursor=s;;)for(r=m.cursor;;){if(n=m.cursor,m.in_grouping(t,97,252)){if(i=m.cursor,m.bra=i,h("u","U",n))break;if(m.cursor=i,h("y","Y",n))break}if(n>=m.limit)return m.cursor=r;m.cursor=n+1}}(),m.cursor=e,function(){i=m.limit,n=i;var e=m.cursor+3;0<=e&&e<=m.limit&&(r=e,w()||((i=m.cursor)=m.limit)return;m.cursor++}}}(),!0}},function(e){return"function"==typeof e.update?e.update(function(e){return r.setCurrent(e),r.stem(),r.getCurrent()}):(r.setCurrent(e),r.stem(),r.getCurrent())}),e.Pipeline.registerFunction(e.de.stemmer,"stemmer-de"),e.de.stopWordFilter=e.generateStopWordFilter("aber alle allem allen aller alles als also am an ander andere anderem anderen anderer anderes anderm andern anderr anders auch auf aus bei bin bis bist da damit dann das dasselbe dazu daß dein deine deinem deinen deiner deines dem demselben den denn denselben der derer derselbe derselben des desselben dessen dich die dies diese dieselbe dieselben diesem diesen dieser dieses dir doch dort du durch ein eine einem einen einer eines einig einige einigem einigen einiger einiges einmal er es etwas euch euer eure eurem euren eurer eures für gegen gewesen hab habe haben hat hatte hatten hier hin hinter ich ihm ihn ihnen ihr ihre ihrem ihren ihrer ihres im in indem ins ist jede jedem jeden jeder jedes jene jenem jenen jener jenes jetzt kann kein keine keinem keinen keiner keines können könnte machen man manche manchem manchen mancher manches mein meine meinem meinen meiner meines mich mir mit muss musste nach nicht nichts noch nun nur ob oder ohne sehr sein seine seinem seinen seiner seines selbst sich sie sind so solche solchem solchen solcher solches soll sollte sondern sonst um und uns unse unsem unsen unser unses unter viel vom von vor war waren warst was weg weil weiter welche welchem welchen welcher welches wenn werde werden wie wieder will wir wird wirst wo wollen wollte während würde würden zu zum zur zwar zwischen über".split(" ")),e.Pipeline.registerFunction(e.de.stopWordFilter,"stopWordFilter-de")}}); \ No newline at end of file diff --git a/assets/javascripts/lunr/lunr.du.js b/assets/javascripts/lunr/lunr.du.js new file mode 100644 index 000000000..e9c672998 --- /dev/null +++ b/assets/javascripts/lunr/lunr.du.js @@ -0,0 +1,17 @@ +/*! + * Lunr languages, `Dutch` language + * https://github.com/MihaiValentin/lunr-languages + * + * Copyright 2014, Mihai Valentin + * http://www.mozilla.org/MPL/ + */ +/*! + * based on + * Snowball JavaScript Library v0.3 + * http://code.google.com/p/urim/ + * http://snowball.tartarus.org/ + * + * Copyright 2010, Oleg Mazko + * http://www.mozilla.org/MPL/ + */ +!function(e,r){"function"==typeof define&&define.amd?define(r):"object"==typeof exports?module.exports=r():r()(e.lunr)}(this,function(){return function(e){if(void 0===e)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===e.stemmerSupport)throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");var v,q,r;console.warn('[Lunr Languages] Please use the "nl" instead of the "du". The "nl" code is the standard code for Dutch language, and "du" will be removed in the next major versions.'),e.du=function(){this.pipeline.reset(),this.pipeline.add(e.du.trimmer,e.du.stopWordFilter,e.du.stemmer),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add(e.du.stemmer))},e.du.wordCharacters="A-Za-zªºÀ-ÖØ-öø-ʸˠ-ˤᴀ-ᴥᴬ-ᵜᵢ-ᵥᵫ-ᵷᵹ-ᶾḀ-ỿⁱⁿₐ-ₜKÅℲⅎⅠ-ↈⱠ-ⱿꜢ-ꞇꞋ-ꞭꞰ-ꞷꟷ-ꟿꬰ-ꭚꭜ-ꭤff-stA-Za-z",e.du.trimmer=e.trimmerSupport.generateTrimmer(e.du.wordCharacters),e.Pipeline.registerFunction(e.du.trimmer,"trimmer-du"),e.du.stemmer=(v=e.stemmerSupport.Among,q=e.stemmerSupport.SnowballProgram,r=new function(){var r,i,u,o=[new v("",-1,6),new v("á",0,1),new v("ä",0,1),new v("é",0,2),new v("ë",0,2),new v("í",0,3),new v("ï",0,3),new v("ó",0,4),new v("ö",0,4),new v("ú",0,5),new v("ü",0,5)],n=[new v("",-1,3),new v("I",0,2),new v("Y",0,1)],t=[new v("dd",-1,-1),new v("kk",-1,-1),new v("tt",-1,-1)],c=[new v("ene",-1,2),new v("se",-1,3),new v("en",-1,2),new v("heden",2,1),new v("s",-1,3)],a=[new v("end",-1,1),new v("ig",-1,2),new v("ing",-1,1),new v("lijk",-1,3),new v("baar",-1,4),new v("bar",-1,5)],l=[new v("aa",-1,-1),new v("ee",-1,-1),new v("oo",-1,-1),new v("uu",-1,-1)],m=[17,65,16,1,0,0,0,0,0,0,0,0,0,0,0,0,128],d=[1,0,0,17,65,16,1,0,0,0,0,0,0,0,0,0,0,0,0,128],f=[17,67,16,1,0,0,0,0,0,0,0,0,0,0,0,0,128],_=new q;function s(e){return(_.cursor=e)>=_.limit||(_.cursor++,!1)}function w(){for(;!_.in_grouping(m,97,232);){if(_.cursor>=_.limit)return!0;_.cursor++}for(;!_.out_grouping(m,97,232);){if(_.cursor>=_.limit)return!0;_.cursor++}return!1}function b(){return i<=_.cursor}function p(){return r<=_.cursor}function g(){var e=_.limit-_.cursor;_.find_among_b(t,3)&&(_.cursor=_.limit-e,_.ket=_.cursor,_.cursor>_.limit_backward&&(_.cursor--,_.bra=_.cursor,_.slice_del()))}function h(){var e;u=!1,_.ket=_.cursor,_.eq_s_b(1,"e")&&(_.bra=_.cursor,b()&&(e=_.limit-_.cursor,_.out_grouping_b(m,97,232)&&(_.cursor=_.limit-e,_.slice_del(),u=!0,g())))}function k(){var e;b()&&(e=_.limit-_.cursor,_.out_grouping_b(m,97,232)&&(_.cursor=_.limit-e,_.eq_s_b(3,"gem")||(_.cursor=_.limit-e,_.slice_del(),g())))}this.setCurrent=function(e){_.setCurrent(e)},this.getCurrent=function(){return _.getCurrent()},this.stem=function(){var e=_.cursor;return function(){for(var e,r,i,n=_.cursor;;){if(_.bra=_.cursor,e=_.find_among(o,11))switch(_.ket=_.cursor,e){case 1:_.slice_from("a");continue;case 2:_.slice_from("e");continue;case 3:_.slice_from("i");continue;case 4:_.slice_from("o");continue;case 5:_.slice_from("u");continue;case 6:if(_.cursor>=_.limit)break;_.cursor++;continue}break}for(_.cursor=n,_.bra=n,_.eq_s(1,"y")?(_.ket=_.cursor,_.slice_from("Y")):_.cursor=n;;)if(r=_.cursor,_.in_grouping(m,97,232)){if(i=_.cursor,_.bra=i,_.eq_s(1,"i"))_.ket=_.cursor,_.in_grouping(m,97,232)&&(_.slice_from("I"),_.cursor=r);else if(_.cursor=i,_.eq_s(1,"y"))_.ket=_.cursor,_.slice_from("Y"),_.cursor=r;else if(s(r))break}else if(s(r))break}(),_.cursor=e,i=_.limit,r=i,w()||((i=_.cursor)<3&&(i=3),w()||(r=_.cursor)),_.limit_backward=e,_.cursor=_.limit,function(){var e,r,i,n,o,t,s=_.limit-_.cursor;if(_.ket=_.cursor,e=_.find_among_b(c,5))switch(_.bra=_.cursor,e){case 1:b()&&_.slice_from("heid");break;case 2:k();break;case 3:b()&&_.out_grouping_b(f,97,232)&&_.slice_del()}if(_.cursor=_.limit-s,h(),_.cursor=_.limit-s,_.ket=_.cursor,_.eq_s_b(4,"heid")&&(_.bra=_.cursor,p()&&(r=_.limit-_.cursor,_.eq_s_b(1,"c")||(_.cursor=_.limit-r,_.slice_del(),_.ket=_.cursor,_.eq_s_b(2,"en")&&(_.bra=_.cursor,k())))),_.cursor=_.limit-s,_.ket=_.cursor,e=_.find_among_b(a,6))switch(_.bra=_.cursor,e){case 1:if(p()){if(_.slice_del(),i=_.limit-_.cursor,_.ket=_.cursor,_.eq_s_b(2,"ig")&&(_.bra=_.cursor,p()&&(n=_.limit-_.cursor,!_.eq_s_b(1,"e")))){_.cursor=_.limit-n,_.slice_del();break}_.cursor=_.limit-i,g()}break;case 2:p()&&(o=_.limit-_.cursor,_.eq_s_b(1,"e")||(_.cursor=_.limit-o,_.slice_del()));break;case 3:p()&&(_.slice_del(),h());break;case 4:p()&&_.slice_del();break;case 5:p()&&u&&_.slice_del()}_.cursor=_.limit-s,_.out_grouping_b(d,73,232)&&(t=_.limit-_.cursor,_.find_among_b(l,4)&&_.out_grouping_b(m,97,232)&&(_.cursor=_.limit-t,_.ket=_.cursor,_.cursor>_.limit_backward&&(_.cursor--,_.bra=_.cursor,_.slice_del())))}(),_.cursor=_.limit_backward,function(){for(var e;;)if(_.bra=_.cursor,e=_.find_among(n,3))switch(_.ket=_.cursor,e){case 1:_.slice_from("y");break;case 2:_.slice_from("i");break;case 3:if(_.cursor>=_.limit)return;_.cursor++}}(),!0}},function(e){return"function"==typeof e.update?e.update(function(e){return r.setCurrent(e),r.stem(),r.getCurrent()}):(r.setCurrent(e),r.stem(),r.getCurrent())}),e.Pipeline.registerFunction(e.du.stemmer,"stemmer-du"),e.du.stopWordFilter=e.generateStopWordFilter(" aan al alles als altijd andere ben bij daar dan dat de der deze die dit doch doen door dus een eens en er ge geen geweest haar had heb hebben heeft hem het hier hij hoe hun iemand iets ik in is ja je kan kon kunnen maar me meer men met mij mijn moet na naar niet niets nog nu of om omdat onder ons ook op over reeds te tegen toch toen tot u uit uw van veel voor want waren was wat werd wezen wie wil worden wordt zal ze zelf zich zij zijn zo zonder zou".split(" ")),e.Pipeline.registerFunction(e.du.stopWordFilter,"stopWordFilter-du")}}); \ No newline at end of file diff --git a/assets/javascripts/lunr/lunr.es.js b/assets/javascripts/lunr/lunr.es.js new file mode 100644 index 000000000..2918bd19e --- /dev/null +++ b/assets/javascripts/lunr/lunr.es.js @@ -0,0 +1,17 @@ +/*! + * Lunr languages, `Spanish` language + * https://github.com/MihaiValentin/lunr-languages + * + * Copyright 2014, Mihai Valentin + * http://www.mozilla.org/MPL/ + */ +/*! + * based on + * Snowball JavaScript Library v0.3 + * http://code.google.com/p/urim/ + * http://snowball.tartarus.org/ + * + * Copyright 2010, Oleg Mazko + * http://www.mozilla.org/MPL/ + */ +!function(e,s){"function"==typeof define&&define.amd?define(s):"object"==typeof exports?module.exports=s():s()(e.lunr)}(this,function(){return function(e){if(void 0===e)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===e.stemmerSupport)throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");var C,P,s;e.es=function(){this.pipeline.reset(),this.pipeline.add(e.es.trimmer,e.es.stopWordFilter,e.es.stemmer),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add(e.es.stemmer))},e.es.wordCharacters="A-Za-zªºÀ-ÖØ-öø-ʸˠ-ˤᴀ-ᴥᴬ-ᵜᵢ-ᵥᵫ-ᵷᵹ-ᶾḀ-ỿⁱⁿₐ-ₜKÅℲⅎⅠ-ↈⱠ-ⱿꜢ-ꞇꞋ-ꞭꞰ-ꞷꟷ-ꟿꬰ-ꭚꭜ-ꭤff-stA-Za-z",e.es.trimmer=e.trimmerSupport.generateTrimmer(e.es.wordCharacters),e.Pipeline.registerFunction(e.es.trimmer,"trimmer-es"),e.es.stemmer=(C=e.stemmerSupport.Among,P=e.stemmerSupport.SnowballProgram,s=new function(){var r,n,i,a=[new C("",-1,6),new C("á",0,1),new C("é",0,2),new C("í",0,3),new C("ó",0,4),new C("ú",0,5)],t=[new C("la",-1,-1),new C("sela",0,-1),new C("le",-1,-1),new C("me",-1,-1),new C("se",-1,-1),new C("lo",-1,-1),new C("selo",5,-1),new C("las",-1,-1),new C("selas",7,-1),new C("les",-1,-1),new C("los",-1,-1),new C("selos",10,-1),new C("nos",-1,-1)],o=[new C("ando",-1,6),new C("iendo",-1,6),new C("yendo",-1,7),new C("ándo",-1,2),new C("iéndo",-1,1),new C("ar",-1,6),new C("er",-1,6),new C("ir",-1,6),new C("ár",-1,3),new C("ér",-1,4),new C("ír",-1,5)],s=[new C("ic",-1,-1),new C("ad",-1,-1),new C("os",-1,-1),new C("iv",-1,1)],u=[new C("able",-1,1),new C("ible",-1,1),new C("ante",-1,1)],w=[new C("ic",-1,1),new C("abil",-1,1),new C("iv",-1,1)],c=[new C("ica",-1,1),new C("ancia",-1,2),new C("encia",-1,5),new C("adora",-1,2),new C("osa",-1,1),new C("ista",-1,1),new C("iva",-1,9),new C("anza",-1,1),new C("logía",-1,3),new C("idad",-1,8),new C("able",-1,1),new C("ible",-1,1),new C("ante",-1,2),new C("mente",-1,7),new C("amente",13,6),new C("ación",-1,2),new C("ución",-1,4),new C("ico",-1,1),new C("ismo",-1,1),new C("oso",-1,1),new C("amiento",-1,1),new C("imiento",-1,1),new C("ivo",-1,9),new C("ador",-1,2),new C("icas",-1,1),new C("ancias",-1,2),new C("encias",-1,5),new C("adoras",-1,2),new C("osas",-1,1),new C("istas",-1,1),new C("ivas",-1,9),new C("anzas",-1,1),new C("logías",-1,3),new C("idades",-1,8),new C("ables",-1,1),new C("ibles",-1,1),new C("aciones",-1,2),new C("uciones",-1,4),new C("adores",-1,2),new C("antes",-1,2),new C("icos",-1,1),new C("ismos",-1,1),new C("osos",-1,1),new C("amientos",-1,1),new C("imientos",-1,1),new C("ivos",-1,9)],m=[new C("ya",-1,1),new C("ye",-1,1),new C("yan",-1,1),new C("yen",-1,1),new C("yeron",-1,1),new C("yendo",-1,1),new C("yo",-1,1),new C("yas",-1,1),new C("yes",-1,1),new C("yais",-1,1),new C("yamos",-1,1),new C("yó",-1,1)],l=[new C("aba",-1,2),new C("ada",-1,2),new C("ida",-1,2),new C("ara",-1,2),new C("iera",-1,2),new C("ía",-1,2),new C("aría",5,2),new C("ería",5,2),new C("iría",5,2),new C("ad",-1,2),new C("ed",-1,2),new C("id",-1,2),new C("ase",-1,2),new C("iese",-1,2),new C("aste",-1,2),new C("iste",-1,2),new C("an",-1,2),new C("aban",16,2),new C("aran",16,2),new C("ieran",16,2),new C("ían",16,2),new C("arían",20,2),new C("erían",20,2),new C("irían",20,2),new C("en",-1,1),new C("asen",24,2),new C("iesen",24,2),new C("aron",-1,2),new C("ieron",-1,2),new C("arán",-1,2),new C("erán",-1,2),new C("irán",-1,2),new C("ado",-1,2),new C("ido",-1,2),new C("ando",-1,2),new C("iendo",-1,2),new C("ar",-1,2),new C("er",-1,2),new C("ir",-1,2),new C("as",-1,2),new C("abas",39,2),new C("adas",39,2),new C("idas",39,2),new C("aras",39,2),new C("ieras",39,2),new C("ías",39,2),new C("arías",45,2),new C("erías",45,2),new C("irías",45,2),new C("es",-1,1),new C("ases",49,2),new C("ieses",49,2),new C("abais",-1,2),new C("arais",-1,2),new C("ierais",-1,2),new C("íais",-1,2),new C("aríais",55,2),new C("eríais",55,2),new C("iríais",55,2),new C("aseis",-1,2),new C("ieseis",-1,2),new C("asteis",-1,2),new C("isteis",-1,2),new C("áis",-1,2),new C("éis",-1,1),new C("aréis",64,2),new C("eréis",64,2),new C("iréis",64,2),new C("ados",-1,2),new C("idos",-1,2),new C("amos",-1,2),new C("ábamos",70,2),new C("áramos",70,2),new C("iéramos",70,2),new C("íamos",70,2),new C("aríamos",74,2),new C("eríamos",74,2),new C("iríamos",74,2),new C("emos",-1,1),new C("aremos",78,2),new C("eremos",78,2),new C("iremos",78,2),new C("ásemos",78,2),new C("iésemos",78,2),new C("imos",-1,2),new C("arás",-1,2),new C("erás",-1,2),new C("irás",-1,2),new C("ís",-1,2),new C("ará",-1,2),new C("erá",-1,2),new C("irá",-1,2),new C("aré",-1,2),new C("eré",-1,2),new C("iré",-1,2),new C("ió",-1,2)],d=[new C("a",-1,1),new C("e",-1,2),new C("o",-1,1),new C("os",-1,1),new C("á",-1,1),new C("é",-1,2),new C("í",-1,1),new C("ó",-1,1)],b=[17,65,16,0,0,0,0,0,0,0,0,0,0,0,0,0,1,17,4,10],f=new P;function _(){if(f.out_grouping(b,97,252)){for(;!f.in_grouping(b,97,252);){if(f.cursor>=f.limit)return!0;f.cursor++}return!1}return!0}function h(){var e,s=f.cursor;if(function(){if(f.in_grouping(b,97,252)){var e=f.cursor;if(_()){if(f.cursor=e,!f.in_grouping(b,97,252))return!0;for(;!f.out_grouping(b,97,252);){if(f.cursor>=f.limit)return!0;f.cursor++}}return!1}return!0}()){if(f.cursor=s,!f.out_grouping(b,97,252))return;if(e=f.cursor,_()){if(f.cursor=e,!f.in_grouping(b,97,252)||f.cursor>=f.limit)return;f.cursor++}}i=f.cursor}function v(){for(;!f.in_grouping(b,97,252);){if(f.cursor>=f.limit)return!1;f.cursor++}for(;!f.out_grouping(b,97,252);){if(f.cursor>=f.limit)return!1;f.cursor++}return!0}function p(){return i<=f.cursor}function g(){return r<=f.cursor}function k(e,s){if(!g())return!0;f.slice_del(),f.ket=f.cursor;var r=f.find_among_b(e,s);return r&&(f.bra=f.cursor,1==r&&g()&&f.slice_del()),!1}function y(e){return!g()||(f.slice_del(),f.ket=f.cursor,f.eq_s_b(2,e)&&(f.bra=f.cursor,g()&&f.slice_del()),!1)}function q(){var e;if(f.ket=f.cursor,e=f.find_among_b(c,46)){switch(f.bra=f.cursor,e){case 1:if(!g())return!1;f.slice_del();break;case 2:if(y("ic"))return!1;break;case 3:if(!g())return!1;f.slice_from("log");break;case 4:if(!g())return!1;f.slice_from("u");break;case 5:if(!g())return!1;f.slice_from("ente");break;case 6:if(!(n<=f.cursor))return!1;f.slice_del(),f.ket=f.cursor,(e=f.find_among_b(s,4))&&(f.bra=f.cursor,g()&&(f.slice_del(),1==e&&(f.ket=f.cursor,f.eq_s_b(2,"at")&&(f.bra=f.cursor,g()&&f.slice_del()))));break;case 7:if(k(u,3))return!1;break;case 8:if(k(w,3))return!1;break;case 9:if(y("at"))return!1}return!0}return!1}this.setCurrent=function(e){f.setCurrent(e)},this.getCurrent=function(){return f.getCurrent()},this.stem=function(){var e,s=f.cursor;return e=f.cursor,i=f.limit,r=n=i,h(),f.cursor=e,v()&&(n=f.cursor,v()&&(r=f.cursor)),f.limit_backward=s,f.cursor=f.limit,function(){var e;if(f.ket=f.cursor,f.find_among_b(t,13)&&(f.bra=f.cursor,(e=f.find_among_b(o,11))&&p()))switch(e){case 1:f.bra=f.cursor,f.slice_from("iendo");break;case 2:f.bra=f.cursor,f.slice_from("ando");break;case 3:f.bra=f.cursor,f.slice_from("ar");break;case 4:f.bra=f.cursor,f.slice_from("er");break;case 5:f.bra=f.cursor,f.slice_from("ir");break;case 6:f.slice_del();break;case 7:f.eq_s_b(1,"u")&&f.slice_del()}}(),f.cursor=f.limit,q()||(f.cursor=f.limit,function(){var e,s;if(f.cursor>=i&&(s=f.limit_backward,f.limit_backward=i,f.ket=f.cursor,e=f.find_among_b(m,12),f.limit_backward=s,e)){if(f.bra=f.cursor,1==e){if(!f.eq_s_b(1,"u"))return!1;f.slice_del()}return!0}return!1}()||(f.cursor=f.limit,function(){var e,s,r,n;if(f.cursor>=i&&(s=f.limit_backward,f.limit_backward=i,f.ket=f.cursor,e=f.find_among_b(l,96),f.limit_backward=s,e))switch(f.bra=f.cursor,e){case 1:r=f.limit-f.cursor,f.eq_s_b(1,"u")?(n=f.limit-f.cursor,f.eq_s_b(1,"g")?f.cursor=f.limit-n:f.cursor=f.limit-r):f.cursor=f.limit-r,f.bra=f.cursor;case 2:f.slice_del()}}())),f.cursor=f.limit,function(){var e,s;if(f.ket=f.cursor,e=f.find_among_b(d,8))switch(f.bra=f.cursor,e){case 1:p()&&f.slice_del();break;case 2:p()&&(f.slice_del(),f.ket=f.cursor,f.eq_s_b(1,"u")&&(f.bra=f.cursor,s=f.limit-f.cursor,f.eq_s_b(1,"g")&&(f.cursor=f.limit-s,p()&&f.slice_del())))}}(),f.cursor=f.limit_backward,function(){for(var e;;){if(f.bra=f.cursor,e=f.find_among(a,6))switch(f.ket=f.cursor,e){case 1:f.slice_from("a");continue;case 2:f.slice_from("e");continue;case 3:f.slice_from("i");continue;case 4:f.slice_from("o");continue;case 5:f.slice_from("u");continue;case 6:if(f.cursor>=f.limit)break;f.cursor++;continue}break}}(),!0}},function(e){return"function"==typeof e.update?e.update(function(e){return s.setCurrent(e),s.stem(),s.getCurrent()}):(s.setCurrent(e),s.stem(),s.getCurrent())}),e.Pipeline.registerFunction(e.es.stemmer,"stemmer-es"),e.es.stopWordFilter=e.generateStopWordFilter("a al algo algunas algunos ante antes como con contra cual cuando de del desde donde durante e el ella ellas ellos en entre era erais eran eras eres es esa esas ese eso esos esta estaba estabais estaban estabas estad estada estadas estado estados estamos estando estar estaremos estará estarán estarás estaré estaréis estaría estaríais estaríamos estarían estarías estas este estemos esto estos estoy estuve estuviera estuvierais estuvieran estuvieras estuvieron estuviese estuvieseis estuviesen estuvieses estuvimos estuviste estuvisteis estuviéramos estuviésemos estuvo está estábamos estáis están estás esté estéis estén estés fue fuera fuerais fueran fueras fueron fuese fueseis fuesen fueses fui fuimos fuiste fuisteis fuéramos fuésemos ha habida habidas habido habidos habiendo habremos habrá habrán habrás habré habréis habría habríais habríamos habrían habrías habéis había habíais habíamos habían habías han has hasta hay haya hayamos hayan hayas hayáis he hemos hube hubiera hubierais hubieran hubieras hubieron hubiese hubieseis hubiesen hubieses hubimos hubiste hubisteis hubiéramos hubiésemos hubo la las le les lo los me mi mis mucho muchos muy más mí mía mías mío míos nada ni no nos nosotras nosotros nuestra nuestras nuestro nuestros o os otra otras otro otros para pero poco por porque que quien quienes qué se sea seamos sean seas seremos será serán serás seré seréis sería seríais seríamos serían serías seáis sido siendo sin sobre sois somos son soy su sus suya suyas suyo suyos sí también tanto te tendremos tendrá tendrán tendrás tendré tendréis tendría tendríais tendríamos tendrían tendrías tened tenemos tenga tengamos tengan tengas tengo tengáis tenida tenidas tenido tenidos teniendo tenéis tenía teníais teníamos tenían tenías ti tiene tienen tienes todo todos tu tus tuve tuviera tuvierais tuvieran tuvieras tuvieron tuviese tuvieseis tuviesen tuvieses tuvimos tuviste tuvisteis tuviéramos tuviésemos tuvo tuya tuyas tuyo tuyos tú un una uno unos vosotras vosotros vuestra vuestras vuestro vuestros y ya yo él éramos".split(" ")),e.Pipeline.registerFunction(e.es.stopWordFilter,"stopWordFilter-es")}}); \ No newline at end of file diff --git a/assets/javascripts/lunr/lunr.fi.js b/assets/javascripts/lunr/lunr.fi.js new file mode 100644 index 000000000..f34d10e0d --- /dev/null +++ b/assets/javascripts/lunr/lunr.fi.js @@ -0,0 +1,17 @@ +/*! + * Lunr languages, `Finnish` language + * https://github.com/MihaiValentin/lunr-languages + * + * Copyright 2014, Mihai Valentin + * http://www.mozilla.org/MPL/ + */ +/*! + * based on + * Snowball JavaScript Library v0.3 + * http://code.google.com/p/urim/ + * http://snowball.tartarus.org/ + * + * Copyright 2010, Oleg Mazko + * http://www.mozilla.org/MPL/ + */ +!function(i,e){"function"==typeof define&&define.amd?define(e):"object"==typeof exports?module.exports=e():e()(i.lunr)}(this,function(){return function(i){if(void 0===i)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===i.stemmerSupport)throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");var v,C,e;i.fi=function(){this.pipeline.reset(),this.pipeline.add(i.fi.trimmer,i.fi.stopWordFilter,i.fi.stemmer),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add(i.fi.stemmer))},i.fi.wordCharacters="A-Za-zªºÀ-ÖØ-öø-ʸˠ-ˤᴀ-ᴥᴬ-ᵜᵢ-ᵥᵫ-ᵷᵹ-ᶾḀ-ỿⁱⁿₐ-ₜKÅℲⅎⅠ-ↈⱠ-ⱿꜢ-ꞇꞋ-ꞭꞰ-ꞷꟷ-ꟿꬰ-ꭚꭜ-ꭤff-stA-Za-z",i.fi.trimmer=i.trimmerSupport.generateTrimmer(i.fi.wordCharacters),i.Pipeline.registerFunction(i.fi.trimmer,"trimmer-fi"),i.fi.stemmer=(v=i.stemmerSupport.Among,C=i.stemmerSupport.SnowballProgram,e=new function(){var n,t,l,o,r=[new v("pa",-1,1),new v("sti",-1,2),new v("kaan",-1,1),new v("han",-1,1),new v("kin",-1,1),new v("hän",-1,1),new v("kään",-1,1),new v("ko",-1,1),new v("pä",-1,1),new v("kö",-1,1)],s=[new v("lla",-1,-1),new v("na",-1,-1),new v("ssa",-1,-1),new v("ta",-1,-1),new v("lta",3,-1),new v("sta",3,-1)],a=[new v("llä",-1,-1),new v("nä",-1,-1),new v("ssä",-1,-1),new v("tä",-1,-1),new v("ltä",3,-1),new v("stä",3,-1)],u=[new v("lle",-1,-1),new v("ine",-1,-1)],c=[new v("nsa",-1,3),new v("mme",-1,3),new v("nne",-1,3),new v("ni",-1,2),new v("si",-1,1),new v("an",-1,4),new v("en",-1,6),new v("än",-1,5),new v("nsä",-1,3)],i=[new v("aa",-1,-1),new v("ee",-1,-1),new v("ii",-1,-1),new v("oo",-1,-1),new v("uu",-1,-1),new v("ää",-1,-1),new v("öö",-1,-1)],m=[new v("a",-1,8),new v("lla",0,-1),new v("na",0,-1),new v("ssa",0,-1),new v("ta",0,-1),new v("lta",4,-1),new v("sta",4,-1),new v("tta",4,9),new v("lle",-1,-1),new v("ine",-1,-1),new v("ksi",-1,-1),new v("n",-1,7),new v("han",11,1),new v("den",11,-1,q),new v("seen",11,-1,j),new v("hen",11,2),new v("tten",11,-1,q),new v("hin",11,3),new v("siin",11,-1,q),new v("hon",11,4),new v("hän",11,5),new v("hön",11,6),new v("ä",-1,8),new v("llä",22,-1),new v("nä",22,-1),new v("ssä",22,-1),new v("tä",22,-1),new v("ltä",26,-1),new v("stä",26,-1),new v("ttä",26,9)],w=[new v("eja",-1,-1),new v("mma",-1,1),new v("imma",1,-1),new v("mpa",-1,1),new v("impa",3,-1),new v("mmi",-1,1),new v("immi",5,-1),new v("mpi",-1,1),new v("impi",7,-1),new v("ejä",-1,-1),new v("mmä",-1,1),new v("immä",10,-1),new v("mpä",-1,1),new v("impä",12,-1)],_=[new v("i",-1,-1),new v("j",-1,-1)],k=[new v("mma",-1,1),new v("imma",0,-1)],b=[17,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8],d=[17,65,16,1,0,0,0,0,0,0,0,0,0,0,0,0,8,0,32],e=[17,65,16,0,0,0,0,0,0,0,0,0,0,0,0,0,8,0,32],f=[17,97,24,1,0,0,0,0,0,0,0,0,0,0,0,0,8,0,32],h=new C;function p(){for(var i;i=h.cursor,!h.in_grouping(d,97,246);){if((h.cursor=i)>=h.limit)return!0;h.cursor++}for(h.cursor=i;!h.out_grouping(d,97,246);){if(h.cursor>=h.limit)return!0;h.cursor++}return!1}function g(){var i,e;if(h.cursor>=o)if(e=h.limit_backward,h.limit_backward=o,h.ket=h.cursor,i=h.find_among_b(r,10)){switch(h.bra=h.cursor,h.limit_backward=e,i){case 1:if(!h.in_grouping_b(f,97,246))return;break;case 2:if(!(l<=h.cursor))return}h.slice_del()}else h.limit_backward=e}function j(){return h.find_among_b(i,7)}function q(){return h.eq_s_b(1,"i")&&h.in_grouping_b(e,97,246)}this.setCurrent=function(i){h.setCurrent(i)},this.getCurrent=function(){return h.getCurrent()},this.stem=function(){var i,e=h.cursor;return o=h.limit,l=o,p()||(o=h.cursor,p()||(l=h.cursor)),n=!1,h.limit_backward=e,h.cursor=h.limit,g(),h.cursor=h.limit,function(){var i,e,r;if(h.cursor>=o)if(e=h.limit_backward,h.limit_backward=o,h.ket=h.cursor,i=h.find_among_b(c,9))switch(h.bra=h.cursor,h.limit_backward=e,i){case 1:r=h.limit-h.cursor,h.eq_s_b(1,"k")||(h.cursor=h.limit-r,h.slice_del());break;case 2:h.slice_del(),h.ket=h.cursor,h.eq_s_b(3,"kse")&&(h.bra=h.cursor,h.slice_from("ksi"));break;case 3:h.slice_del();break;case 4:h.find_among_b(s,6)&&h.slice_del();break;case 5:h.find_among_b(a,6)&&h.slice_del();break;case 6:h.find_among_b(u,2)&&h.slice_del()}else h.limit_backward=e}(),h.cursor=h.limit,function(){var i,e,r;if(h.cursor>=o)if(e=h.limit_backward,h.limit_backward=o,h.ket=h.cursor,i=h.find_among_b(m,30)){switch(h.bra=h.cursor,h.limit_backward=e,i){case 1:if(!h.eq_s_b(1,"a"))return;break;case 2:case 9:if(!h.eq_s_b(1,"e"))return;break;case 3:if(!h.eq_s_b(1,"i"))return;break;case 4:if(!h.eq_s_b(1,"o"))return;break;case 5:if(!h.eq_s_b(1,"ä"))return;break;case 6:if(!h.eq_s_b(1,"ö"))return;break;case 7:if(r=h.limit-h.cursor,!j()&&(h.cursor=h.limit-r,!h.eq_s_b(2,"ie"))){h.cursor=h.limit-r;break}if(h.cursor=h.limit-r,h.cursor<=h.limit_backward){h.cursor=h.limit-r;break}h.cursor--,h.bra=h.cursor;break;case 8:if(!h.in_grouping_b(d,97,246)||!h.out_grouping_b(d,97,246))return}h.slice_del(),n=!0}else h.limit_backward=e}(),h.cursor=h.limit,function(){var i,e,r;if(h.cursor>=l)if(e=h.limit_backward,h.limit_backward=l,h.ket=h.cursor,i=h.find_among_b(w,14)){if(h.bra=h.cursor,h.limit_backward=e,1==i){if(r=h.limit-h.cursor,h.eq_s_b(2,"po"))return;h.cursor=h.limit-r}h.slice_del()}else h.limit_backward=e}(),h.cursor=h.limit,h.cursor=(n?h.cursor>=o&&(i=h.limit_backward,h.limit_backward=o,h.ket=h.cursor,h.find_among_b(_,2)?(h.bra=h.cursor,h.limit_backward=i,h.slice_del()):h.limit_backward=i):(h.cursor=h.limit,function(){var i,e,r,n,t,s;if(h.cursor>=o){if(e=h.limit_backward,h.limit_backward=o,h.ket=h.cursor,h.eq_s_b(1,"t")&&(h.bra=h.cursor,r=h.limit-h.cursor,h.in_grouping_b(d,97,246)&&(h.cursor=h.limit-r,h.slice_del(),h.limit_backward=e,n=h.limit-h.cursor,h.cursor>=l&&(h.cursor=l,t=h.limit_backward,h.limit_backward=h.cursor,h.cursor=h.limit-n,h.ket=h.cursor,i=h.find_among_b(k,2))))){if(h.bra=h.cursor,h.limit_backward=t,1==i){if(s=h.limit-h.cursor,h.eq_s_b(2,"po"))return;h.cursor=h.limit-s}return h.slice_del()}h.limit_backward=e}}()),h.limit),function(){var i,e,r,n;if(h.cursor>=o){for(i=h.limit_backward,h.limit_backward=o,e=h.limit-h.cursor,j()&&(h.cursor=h.limit-e,h.ket=h.cursor,h.cursor>h.limit_backward&&(h.cursor--,h.bra=h.cursor,h.slice_del())),h.cursor=h.limit-e,h.ket=h.cursor,h.in_grouping_b(b,97,228)&&(h.bra=h.cursor,h.out_grouping_b(d,97,246)&&h.slice_del()),h.cursor=h.limit-e,h.ket=h.cursor,h.eq_s_b(1,"j")&&(h.bra=h.cursor,r=h.limit-h.cursor,h.eq_s_b(1,"o")?h.slice_del():(h.cursor=h.limit-r,h.eq_s_b(1,"u")&&h.slice_del())),h.cursor=h.limit-e,h.ket=h.cursor,h.eq_s_b(1,"o")&&(h.bra=h.cursor,h.eq_s_b(1,"j")&&h.slice_del()),h.cursor=h.limit-e,h.limit_backward=i;;){if(n=h.limit-h.cursor,h.out_grouping_b(d,97,246)){h.cursor=h.limit-n;break}if(h.cursor=h.limit-n,h.cursor<=h.limit_backward)return;h.cursor--}h.ket=h.cursor,h.cursor>h.limit_backward&&(h.cursor--,h.bra=h.cursor,t=h.slice_to(),h.eq_v_b(t)&&h.slice_del())}}(),!0}},function(i){return"function"==typeof i.update?i.update(function(i){return e.setCurrent(i),e.stem(),e.getCurrent()}):(e.setCurrent(i),e.stem(),e.getCurrent())}),i.Pipeline.registerFunction(i.fi.stemmer,"stemmer-fi"),i.fi.stopWordFilter=i.generateStopWordFilter("ei eivät emme en et ette että he heidän heidät heihin heille heillä heiltä heissä heistä heitä hän häneen hänelle hänellä häneltä hänen hänessä hänestä hänet häntä itse ja johon joiden joihin joiksi joilla joille joilta joina joissa joista joita joka joksi jolla jolle jolta jona jonka jos jossa josta jota jotka kanssa keiden keihin keiksi keille keillä keiltä keinä keissä keistä keitä keneen keneksi kenelle kenellä keneltä kenen kenenä kenessä kenestä kenet ketkä ketkä ketä koska kuin kuka kun me meidän meidät meihin meille meillä meiltä meissä meistä meitä mihin miksi mikä mille millä miltä minkä minkä minua minulla minulle minulta minun minussa minusta minut minuun minä minä missä mistä mitkä mitä mukaan mutta ne niiden niihin niiksi niille niillä niiltä niin niin niinä niissä niistä niitä noiden noihin noiksi noilla noille noilta noin noina noissa noista noita nuo nyt näiden näihin näiksi näille näillä näiltä näinä näissä näistä näitä nämä ole olemme olen olet olette oli olimme olin olisi olisimme olisin olisit olisitte olisivat olit olitte olivat olla olleet ollut on ovat poikki se sekä sen siihen siinä siitä siksi sille sillä sillä siltä sinua sinulla sinulle sinulta sinun sinussa sinusta sinut sinuun sinä sinä sitä tai te teidän teidät teihin teille teillä teiltä teissä teistä teitä tuo tuohon tuoksi tuolla tuolle tuolta tuon tuona tuossa tuosta tuota tähän täksi tälle tällä tältä tämä tämän tänä tässä tästä tätä vaan vai vaikka yli".split(" ")),i.Pipeline.registerFunction(i.fi.stopWordFilter,"stopWordFilter-fi")}}); \ No newline at end of file diff --git a/assets/javascripts/lunr/lunr.fr.js b/assets/javascripts/lunr/lunr.fr.js new file mode 100644 index 000000000..d043ec654 --- /dev/null +++ b/assets/javascripts/lunr/lunr.fr.js @@ -0,0 +1,17 @@ +/*! + * Lunr languages, `French` language + * https://github.com/MihaiValentin/lunr-languages + * + * Copyright 2014, Mihai Valentin + * http://www.mozilla.org/MPL/ + */ +/*! + * based on + * Snowball JavaScript Library v0.3 + * http://code.google.com/p/urim/ + * http://snowball.tartarus.org/ + * + * Copyright 2010, Oleg Mazko + * http://www.mozilla.org/MPL/ + */ +!function(e,r){"function"==typeof define&&define.amd?define(r):"object"==typeof exports?module.exports=r():r()(e.lunr)}(this,function(){return function(e){if(void 0===e)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===e.stemmerSupport)throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");var r,y,s;e.fr=function(){this.pipeline.reset(),this.pipeline.add(e.fr.trimmer,e.fr.stopWordFilter,e.fr.stemmer),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add(e.fr.stemmer))},e.fr.wordCharacters="A-Za-zªºÀ-ÖØ-öø-ʸˠ-ˤᴀ-ᴥᴬ-ᵜᵢ-ᵥᵫ-ᵷᵹ-ᶾḀ-ỿⁱⁿₐ-ₜKÅℲⅎⅠ-ↈⱠ-ⱿꜢ-ꞇꞋ-ꞭꞰ-ꞷꟷ-ꟿꬰ-ꭚꭜ-ꭤff-stA-Za-z",e.fr.trimmer=e.trimmerSupport.generateTrimmer(e.fr.wordCharacters),e.Pipeline.registerFunction(e.fr.trimmer,"trimmer-fr"),e.fr.stemmer=(r=e.stemmerSupport.Among,y=e.stemmerSupport.SnowballProgram,s=new function(){var s,i,t,n=[new r("col",-1,-1),new r("par",-1,-1),new r("tap",-1,-1)],u=[new r("",-1,4),new r("I",0,1),new r("U",0,2),new r("Y",0,3)],o=[new r("iqU",-1,3),new r("abl",-1,3),new r("Ièr",-1,4),new r("ièr",-1,4),new r("eus",-1,2),new r("iv",-1,1)],c=[new r("ic",-1,2),new r("abil",-1,1),new r("iv",-1,3)],a=[new r("iqUe",-1,1),new r("atrice",-1,2),new r("ance",-1,1),new r("ence",-1,5),new r("logie",-1,3),new r("able",-1,1),new r("isme",-1,1),new r("euse",-1,11),new r("iste",-1,1),new r("ive",-1,8),new r("if",-1,8),new r("usion",-1,4),new r("ation",-1,2),new r("ution",-1,4),new r("ateur",-1,2),new r("iqUes",-1,1),new r("atrices",-1,2),new r("ances",-1,1),new r("ences",-1,5),new r("logies",-1,3),new r("ables",-1,1),new r("ismes",-1,1),new r("euses",-1,11),new r("istes",-1,1),new r("ives",-1,8),new r("ifs",-1,8),new r("usions",-1,4),new r("ations",-1,2),new r("utions",-1,4),new r("ateurs",-1,2),new r("ments",-1,15),new r("ements",30,6),new r("issements",31,12),new r("ités",-1,7),new r("ment",-1,15),new r("ement",34,6),new r("issement",35,12),new r("amment",34,13),new r("emment",34,14),new r("aux",-1,10),new r("eaux",39,9),new r("eux",-1,1),new r("ité",-1,7)],l=[new r("ira",-1,1),new r("ie",-1,1),new r("isse",-1,1),new r("issante",-1,1),new r("i",-1,1),new r("irai",4,1),new r("ir",-1,1),new r("iras",-1,1),new r("ies",-1,1),new r("îmes",-1,1),new r("isses",-1,1),new r("issantes",-1,1),new r("îtes",-1,1),new r("is",-1,1),new r("irais",13,1),new r("issais",13,1),new r("irions",-1,1),new r("issions",-1,1),new r("irons",-1,1),new r("issons",-1,1),new r("issants",-1,1),new r("it",-1,1),new r("irait",21,1),new r("issait",21,1),new r("issant",-1,1),new r("iraIent",-1,1),new r("issaIent",-1,1),new r("irent",-1,1),new r("issent",-1,1),new r("iront",-1,1),new r("ît",-1,1),new r("iriez",-1,1),new r("issiez",-1,1),new r("irez",-1,1),new r("issez",-1,1)],w=[new r("a",-1,3),new r("era",0,2),new r("asse",-1,3),new r("ante",-1,3),new r("ée",-1,2),new r("ai",-1,3),new r("erai",5,2),new r("er",-1,2),new r("as",-1,3),new r("eras",8,2),new r("âmes",-1,3),new r("asses",-1,3),new r("antes",-1,3),new r("âtes",-1,3),new r("ées",-1,2),new r("ais",-1,3),new r("erais",15,2),new r("ions",-1,1),new r("erions",17,2),new r("assions",17,3),new r("erons",-1,2),new r("ants",-1,3),new r("és",-1,2),new r("ait",-1,3),new r("erait",23,2),new r("ant",-1,3),new r("aIent",-1,3),new r("eraIent",26,2),new r("èrent",-1,2),new r("assent",-1,3),new r("eront",-1,2),new r("ât",-1,3),new r("ez",-1,2),new r("iez",32,2),new r("eriez",33,2),new r("assiez",33,3),new r("erez",32,2),new r("é",-1,2)],f=[new r("e",-1,3),new r("Ière",0,2),new r("ière",0,2),new r("ion",-1,1),new r("Ier",-1,2),new r("ier",-1,2),new r("ë",-1,4)],m=[new r("ell",-1,-1),new r("eill",-1,-1),new r("enn",-1,-1),new r("onn",-1,-1),new r("ett",-1,-1)],_=[17,65,16,1,0,0,0,0,0,0,0,0,0,0,0,128,130,103,8,5],b=[1,65,20,0,0,0,0,0,0,0,0,0,0,0,0,0,128],d=new y;function k(e,r,s){return!(!d.eq_s(1,e)||(d.ket=d.cursor,!d.in_grouping(_,97,251)))&&(d.slice_from(r),d.cursor=s,!0)}function p(e,r,s){return!!d.eq_s(1,e)&&(d.ket=d.cursor,d.slice_from(r),d.cursor=s,!0)}function g(){for(;!d.in_grouping(_,97,251);){if(d.cursor>=d.limit)return!0;d.cursor++}for(;!d.out_grouping(_,97,251);){if(d.cursor>=d.limit)return!0;d.cursor++}return!1}function q(){return t<=d.cursor}function v(){return i<=d.cursor}function h(){return s<=d.cursor}function z(){if(!function(){var e,r;if(d.ket=d.cursor,e=d.find_among_b(a,43)){switch(d.bra=d.cursor,e){case 1:if(!h())return!1;d.slice_del();break;case 2:if(!h())return!1;d.slice_del(),d.ket=d.cursor,d.eq_s_b(2,"ic")&&(d.bra=d.cursor,h()?d.slice_del():d.slice_from("iqU"));break;case 3:if(!h())return!1;d.slice_from("log");break;case 4:if(!h())return!1;d.slice_from("u");break;case 5:if(!h())return!1;d.slice_from("ent");break;case 6:if(!q())return!1;if(d.slice_del(),d.ket=d.cursor,e=d.find_among_b(o,6))switch(d.bra=d.cursor,e){case 1:h()&&(d.slice_del(),d.ket=d.cursor,d.eq_s_b(2,"at")&&(d.bra=d.cursor,h()&&d.slice_del()));break;case 2:h()?d.slice_del():v()&&d.slice_from("eux");break;case 3:h()&&d.slice_del();break;case 4:q()&&d.slice_from("i")}break;case 7:if(!h())return!1;if(d.slice_del(),d.ket=d.cursor,e=d.find_among_b(c,3))switch(d.bra=d.cursor,e){case 1:h()?d.slice_del():d.slice_from("abl");break;case 2:h()?d.slice_del():d.slice_from("iqU");break;case 3:h()&&d.slice_del()}break;case 8:if(!h())return!1;if(d.slice_del(),d.ket=d.cursor,d.eq_s_b(2,"at")&&(d.bra=d.cursor,h()&&(d.slice_del(),d.ket=d.cursor,d.eq_s_b(2,"ic")))){d.bra=d.cursor,h()?d.slice_del():d.slice_from("iqU");break}break;case 9:d.slice_from("eau");break;case 10:if(!v())return!1;d.slice_from("al");break;case 11:if(h())d.slice_del();else{if(!v())return!1;d.slice_from("eux")}break;case 12:if(!v()||!d.out_grouping_b(_,97,251))return!1;d.slice_del();break;case 13:return q()&&d.slice_from("ant"),!1;case 14:return q()&&d.slice_from("ent"),!1;case 15:return r=d.limit-d.cursor,d.in_grouping_b(_,97,251)&&q()&&(d.cursor=d.limit-r,d.slice_del()),!1}return!0}return!1}()&&(d.cursor=d.limit,!function(){var e,r;if(d.cursor=t){if(s=d.limit_backward,d.limit_backward=t,d.ket=d.cursor,e=d.find_among_b(f,7))switch(d.bra=d.cursor,e){case 1:if(h()){if(i=d.limit-d.cursor,!d.eq_s_b(1,"s")&&(d.cursor=d.limit-i,!d.eq_s_b(1,"t")))break;d.slice_del()}break;case 2:d.slice_from("i");break;case 3:d.slice_del();break;case 4:d.eq_s_b(2,"gu")&&d.slice_del()}d.limit_backward=s}}();d.cursor=d.limit,d.ket=d.cursor,d.eq_s_b(1,"Y")?(d.bra=d.cursor,d.slice_from("i")):(d.cursor=d.limit,d.eq_s_b(1,"ç")&&(d.bra=d.cursor,d.slice_from("c")))}this.setCurrent=function(e){d.setCurrent(e)},this.getCurrent=function(){return d.getCurrent()},this.stem=function(){var e,r=d.cursor;return function(){for(var e,r;;){if(e=d.cursor,d.in_grouping(_,97,251)){if(d.bra=d.cursor,r=d.cursor,k("u","U",e))continue;if(d.cursor=r,k("i","I",e))continue;if(d.cursor=r,p("y","Y",e))continue}if(d.cursor=e,!k("y","Y",d.bra=e)){if(d.cursor=e,d.eq_s(1,"q")&&(d.bra=d.cursor,p("u","U",e)))continue;if((d.cursor=e)>=d.limit)return;d.cursor++}}}(),d.cursor=r,function(){var e=d.cursor;if(t=d.limit,s=i=t,d.in_grouping(_,97,251)&&d.in_grouping(_,97,251)&&d.cursor=d.limit){d.cursor=t;break}d.cursor++}while(!d.in_grouping(_,97,251))}t=d.cursor,d.cursor=e,g()||(i=d.cursor,g()||(s=d.cursor))}(),d.limit_backward=r,d.cursor=d.limit,z(),d.cursor=d.limit,e=d.limit-d.cursor,d.find_among_b(m,5)&&(d.cursor=d.limit-e,d.ket=d.cursor,d.cursor>d.limit_backward&&(d.cursor--,d.bra=d.cursor,d.slice_del())),d.cursor=d.limit,function(){for(var e,r=1;d.out_grouping_b(_,97,251);)r--;if(r<=0){if(d.ket=d.cursor,e=d.limit-d.cursor,!d.eq_s_b(1,"é")&&(d.cursor=d.limit-e,!d.eq_s_b(1,"è")))return;d.bra=d.cursor,d.slice_from("e")}}(),d.cursor=d.limit_backward,function(){for(var e,r;r=d.cursor,d.bra=r,e=d.find_among(u,4);)switch(d.ket=d.cursor,e){case 1:d.slice_from("i");break;case 2:d.slice_from("u");break;case 3:d.slice_from("y");break;case 4:if(d.cursor>=d.limit)return;d.cursor++}}(),!0}},function(e){return"function"==typeof e.update?e.update(function(e){return s.setCurrent(e),s.stem(),s.getCurrent()}):(s.setCurrent(e),s.stem(),s.getCurrent())}),e.Pipeline.registerFunction(e.fr.stemmer,"stemmer-fr"),e.fr.stopWordFilter=e.generateStopWordFilter("ai aie aient aies ait as au aura aurai auraient aurais aurait auras aurez auriez aurions aurons auront aux avaient avais avait avec avez aviez avions avons ayant ayez ayons c ce ceci celà ces cet cette d dans de des du elle en es est et eu eue eues eurent eus eusse eussent eusses eussiez eussions eut eux eûmes eût eûtes furent fus fusse fussent fusses fussiez fussions fut fûmes fût fûtes ici il ils j je l la le les leur leurs lui m ma mais me mes moi mon même n ne nos notre nous on ont ou par pas pour qu que quel quelle quelles quels qui s sa sans se sera serai seraient serais serait seras serez seriez serions serons seront ses soi soient sois soit sommes son sont soyez soyons suis sur t ta te tes toi ton tu un une vos votre vous y à étaient étais était étant étiez étions été étée étées étés êtes".split(" ")),e.Pipeline.registerFunction(e.fr.stopWordFilter,"stopWordFilter-fr")}}); \ No newline at end of file diff --git a/assets/javascripts/lunr/lunr.hu.js b/assets/javascripts/lunr/lunr.hu.js new file mode 100644 index 000000000..bfc68db84 --- /dev/null +++ b/assets/javascripts/lunr/lunr.hu.js @@ -0,0 +1,17 @@ +/*! + * Lunr languages, `Hungarian` language + * https://github.com/MihaiValentin/lunr-languages + * + * Copyright 2014, Mihai Valentin + * http://www.mozilla.org/MPL/ + */ +/*! + * based on + * Snowball JavaScript Library v0.3 + * http://code.google.com/p/urim/ + * http://snowball.tartarus.org/ + * + * Copyright 2010, Oleg Mazko + * http://www.mozilla.org/MPL/ + */ +!function(e,n){"function"==typeof define&&define.amd?define(n):"object"==typeof exports?module.exports=n():n()(e.lunr)}(this,function(){return function(e){if(void 0===e)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===e.stemmerSupport)throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");var p,_,n;e.hu=function(){this.pipeline.reset(),this.pipeline.add(e.hu.trimmer,e.hu.stopWordFilter,e.hu.stemmer),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add(e.hu.stemmer))},e.hu.wordCharacters="A-Za-zªºÀ-ÖØ-öø-ʸˠ-ˤᴀ-ᴥᴬ-ᵜᵢ-ᵥᵫ-ᵷᵹ-ᶾḀ-ỿⁱⁿₐ-ₜKÅℲⅎⅠ-ↈⱠ-ⱿꜢ-ꞇꞋ-ꞭꞰ-ꞷꟷ-ꟿꬰ-ꭚꭜ-ꭤff-stA-Za-z",e.hu.trimmer=e.trimmerSupport.generateTrimmer(e.hu.wordCharacters),e.Pipeline.registerFunction(e.hu.trimmer,"trimmer-hu"),e.hu.stemmer=(p=e.stemmerSupport.Among,_=e.stemmerSupport.SnowballProgram,n=new function(){var r,i=[new p("cs",-1,-1),new p("dzs",-1,-1),new p("gy",-1,-1),new p("ly",-1,-1),new p("ny",-1,-1),new p("sz",-1,-1),new p("ty",-1,-1),new p("zs",-1,-1)],n=[new p("á",-1,1),new p("é",-1,2)],a=[new p("bb",-1,-1),new p("cc",-1,-1),new p("dd",-1,-1),new p("ff",-1,-1),new p("gg",-1,-1),new p("jj",-1,-1),new p("kk",-1,-1),new p("ll",-1,-1),new p("mm",-1,-1),new p("nn",-1,-1),new p("pp",-1,-1),new p("rr",-1,-1),new p("ccs",-1,-1),new p("ss",-1,-1),new p("zzs",-1,-1),new p("tt",-1,-1),new p("vv",-1,-1),new p("ggy",-1,-1),new p("lly",-1,-1),new p("nny",-1,-1),new p("tty",-1,-1),new p("ssz",-1,-1),new p("zz",-1,-1)],t=[new p("al",-1,1),new p("el",-1,2)],e=[new p("ba",-1,-1),new p("ra",-1,-1),new p("be",-1,-1),new p("re",-1,-1),new p("ig",-1,-1),new p("nak",-1,-1),new p("nek",-1,-1),new p("val",-1,-1),new p("vel",-1,-1),new p("ul",-1,-1),new p("nál",-1,-1),new p("nél",-1,-1),new p("ból",-1,-1),new p("ról",-1,-1),new p("tól",-1,-1),new p("bõl",-1,-1),new p("rõl",-1,-1),new p("tõl",-1,-1),new p("ül",-1,-1),new p("n",-1,-1),new p("an",19,-1),new p("ban",20,-1),new p("en",19,-1),new p("ben",22,-1),new p("képpen",22,-1),new p("on",19,-1),new p("ön",19,-1),new p("képp",-1,-1),new p("kor",-1,-1),new p("t",-1,-1),new p("at",29,-1),new p("et",29,-1),new p("ként",29,-1),new p("anként",32,-1),new p("enként",32,-1),new p("onként",32,-1),new p("ot",29,-1),new p("ért",29,-1),new p("öt",29,-1),new p("hez",-1,-1),new p("hoz",-1,-1),new p("höz",-1,-1),new p("vá",-1,-1),new p("vé",-1,-1)],s=[new p("án",-1,2),new p("én",-1,1),new p("ánként",-1,3)],c=[new p("stul",-1,2),new p("astul",0,1),new p("ástul",0,3),new p("stül",-1,2),new p("estül",3,1),new p("éstül",3,4)],w=[new p("á",-1,1),new p("é",-1,2)],o=[new p("k",-1,7),new p("ak",0,4),new p("ek",0,6),new p("ok",0,5),new p("ák",0,1),new p("ék",0,2),new p("ök",0,3)],l=[new p("éi",-1,7),new p("áéi",0,6),new p("ééi",0,5),new p("é",-1,9),new p("ké",3,4),new p("aké",4,1),new p("eké",4,1),new p("oké",4,1),new p("áké",4,3),new p("éké",4,2),new p("öké",4,1),new p("éé",3,8)],u=[new p("a",-1,18),new p("ja",0,17),new p("d",-1,16),new p("ad",2,13),new p("ed",2,13),new p("od",2,13),new p("ád",2,14),new p("éd",2,15),new p("öd",2,13),new p("e",-1,18),new p("je",9,17),new p("nk",-1,4),new p("unk",11,1),new p("ánk",11,2),new p("énk",11,3),new p("ünk",11,1),new p("uk",-1,8),new p("juk",16,7),new p("ájuk",17,5),new p("ük",-1,8),new p("jük",19,7),new p("éjük",20,6),new p("m",-1,12),new p("am",22,9),new p("em",22,9),new p("om",22,9),new p("ám",22,10),new p("ém",22,11),new p("o",-1,18),new p("á",-1,19),new p("é",-1,20)],m=[new p("id",-1,10),new p("aid",0,9),new p("jaid",1,6),new p("eid",0,9),new p("jeid",3,6),new p("áid",0,7),new p("éid",0,8),new p("i",-1,15),new p("ai",7,14),new p("jai",8,11),new p("ei",7,14),new p("jei",10,11),new p("ái",7,12),new p("éi",7,13),new p("itek",-1,24),new p("eitek",14,21),new p("jeitek",15,20),new p("éitek",14,23),new p("ik",-1,29),new p("aik",18,26),new p("jaik",19,25),new p("eik",18,26),new p("jeik",21,25),new p("áik",18,27),new p("éik",18,28),new p("ink",-1,20),new p("aink",25,17),new p("jaink",26,16),new p("eink",25,17),new p("jeink",28,16),new p("áink",25,18),new p("éink",25,19),new p("aitok",-1,21),new p("jaitok",32,20),new p("áitok",-1,22),new p("im",-1,5),new p("aim",35,4),new p("jaim",36,1),new p("eim",35,4),new p("jeim",38,1),new p("áim",35,2),new p("éim",35,3)],k=[17,65,16,0,0,0,0,0,0,0,0,0,0,0,0,0,1,17,52,14],f=new _;function b(){return r<=f.cursor}function d(){var e=f.limit-f.cursor;return!!f.find_among_b(a,23)&&(f.cursor=f.limit-e,!0)}function g(){if(f.cursor>f.limit_backward){f.cursor--,f.ket=f.cursor;var e=f.cursor-1;f.limit_backward<=e&&e<=f.limit&&(f.cursor=e,f.bra=e,f.slice_del())}}function h(){f.ket=f.cursor,f.find_among_b(e,44)&&(f.bra=f.cursor,b()&&(f.slice_del(),function(){var e;if(f.ket=f.cursor,(e=f.find_among_b(n,2))&&(f.bra=f.cursor,b()))switch(e){case 1:f.slice_from("a");break;case 2:f.slice_from("e")}}()))}this.setCurrent=function(e){f.setCurrent(e)},this.getCurrent=function(){return f.getCurrent()},this.stem=function(){var e=f.cursor;return function(){var e,n=f.cursor;if(r=f.limit,f.in_grouping(k,97,252))for(;;){if(e=f.cursor,f.out_grouping(k,97,252))return f.cursor=e,f.find_among(i,8)||(f.cursor=e)=f.limit)return r=e;f.cursor++}if(f.cursor=n,f.out_grouping(k,97,252)){for(;!f.in_grouping(k,97,252);){if(f.cursor>=f.limit)return;f.cursor++}r=f.cursor}}(),f.limit_backward=e,f.cursor=f.limit,function(){var e;if(f.ket=f.cursor,(e=f.find_among_b(t,2))&&(f.bra=f.cursor,b())){if((1==e||2==e)&&!d())return;f.slice_del(),g()}}(),f.cursor=f.limit,h(),f.cursor=f.limit,function(){var e;if(f.ket=f.cursor,(e=f.find_among_b(s,3))&&(f.bra=f.cursor,b()))switch(e){case 1:f.slice_from("e");break;case 2:case 3:f.slice_from("a")}}(),f.cursor=f.limit,function(){var e;if(f.ket=f.cursor,(e=f.find_among_b(c,6))&&(f.bra=f.cursor,b()))switch(e){case 1:case 2:f.slice_del();break;case 3:f.slice_from("a");break;case 4:f.slice_from("e")}}(),f.cursor=f.limit,function(){var e;if(f.ket=f.cursor,(e=f.find_among_b(w,2))&&(f.bra=f.cursor,b())){if((1==e||2==e)&&!d())return;f.slice_del(),g()}}(),f.cursor=f.limit,function(){var e;if(f.ket=f.cursor,(e=f.find_among_b(l,12))&&(f.bra=f.cursor,b()))switch(e){case 1:case 4:case 7:case 9:f.slice_del();break;case 2:case 5:case 8:f.slice_from("e");break;case 3:case 6:f.slice_from("a")}}(),f.cursor=f.limit,function(){var e;if(f.ket=f.cursor,(e=f.find_among_b(u,31))&&(f.bra=f.cursor,b()))switch(e){case 1:case 4:case 7:case 8:case 9:case 12:case 13:case 16:case 17:case 18:f.slice_del();break;case 2:case 5:case 10:case 14:case 19:f.slice_from("a");break;case 3:case 6:case 11:case 15:case 20:f.slice_from("e")}}(),f.cursor=f.limit,function(){var e;if(f.ket=f.cursor,(e=f.find_among_b(m,42))&&(f.bra=f.cursor,b()))switch(e){case 1:case 4:case 5:case 6:case 9:case 10:case 11:case 14:case 15:case 16:case 17:case 20:case 21:case 24:case 25:case 26:case 29:f.slice_del();break;case 2:case 7:case 12:case 18:case 22:case 27:f.slice_from("a");break;case 3:case 8:case 13:case 19:case 23:case 28:f.slice_from("e")}}(),f.cursor=f.limit,function(){var e;if(f.ket=f.cursor,(e=f.find_among_b(o,7))&&(f.bra=f.cursor,b()))switch(e){case 1:f.slice_from("a");break;case 2:f.slice_from("e");break;case 3:case 4:case 5:case 6:case 7:f.slice_del()}}(),!0}},function(e){return"function"==typeof e.update?e.update(function(e){return n.setCurrent(e),n.stem(),n.getCurrent()}):(n.setCurrent(e),n.stem(),n.getCurrent())}),e.Pipeline.registerFunction(e.hu.stemmer,"stemmer-hu"),e.hu.stopWordFilter=e.generateStopWordFilter("a abban ahhoz ahogy ahol aki akik akkor alatt amely amelyek amelyekben amelyeket amelyet amelynek ami amikor amit amolyan amíg annak arra arról az azok azon azonban azt aztán azután azzal azért be belül benne bár cikk cikkek cikkeket csak de e ebben eddig egy egyes egyetlen egyik egyre egyéb egész ehhez ekkor el ellen elsõ elég elõ elõször elõtt emilyen ennek erre ez ezek ezen ezt ezzel ezért fel felé hanem hiszen hogy hogyan igen ill ill. illetve ilyen ilyenkor ismét ison itt jobban jó jól kell kellett keressünk keresztül ki kívül között közül legalább legyen lehet lehetett lenne lenni lesz lett maga magát majd majd meg mellett mely melyek mert mi mikor milyen minden mindenki mindent mindig mint mintha mit mivel miért most már más másik még míg nagy nagyobb nagyon ne nekem neki nem nincs néha néhány nélkül olyan ott pedig persze rá s saját sem semmi sok sokat sokkal szemben szerint szinte számára talán tehát teljes tovább továbbá több ugyanis utolsó után utána vagy vagyis vagyok valaki valami valamint való van vannak vele vissza viszont volna volt voltak voltam voltunk által általában át én éppen és így õ õk õket össze úgy új újabb újra".split(" ")),e.Pipeline.registerFunction(e.hu.stopWordFilter,"stopWordFilter-hu")}}); \ No newline at end of file diff --git a/assets/javascripts/lunr/lunr.it.js b/assets/javascripts/lunr/lunr.it.js new file mode 100644 index 000000000..58a46fb6c --- /dev/null +++ b/assets/javascripts/lunr/lunr.it.js @@ -0,0 +1,17 @@ +/*! + * Lunr languages, `Italian` language + * https://github.com/MihaiValentin/lunr-languages + * + * Copyright 2014, Mihai Valentin + * http://www.mozilla.org/MPL/ + */ +/*! + * based on + * Snowball JavaScript Library v0.3 + * http://code.google.com/p/urim/ + * http://snowball.tartarus.org/ + * + * Copyright 2010, Oleg Mazko + * http://www.mozilla.org/MPL/ + */ +!function(e,r){"function"==typeof define&&define.amd?define(r):"object"==typeof exports?module.exports=r():r()(e.lunr)}(this,function(){return function(e){if(void 0===e)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===e.stemmerSupport)throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");var z,P,r;e.it=function(){this.pipeline.reset(),this.pipeline.add(e.it.trimmer,e.it.stopWordFilter,e.it.stemmer),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add(e.it.stemmer))},e.it.wordCharacters="A-Za-zªºÀ-ÖØ-öø-ʸˠ-ˤᴀ-ᴥᴬ-ᵜᵢ-ᵥᵫ-ᵷᵹ-ᶾḀ-ỿⁱⁿₐ-ₜKÅℲⅎⅠ-ↈⱠ-ⱿꜢ-ꞇꞋ-ꞭꞰ-ꞷꟷ-ꟿꬰ-ꭚꭜ-ꭤff-stA-Za-z",e.it.trimmer=e.trimmerSupport.generateTrimmer(e.it.wordCharacters),e.Pipeline.registerFunction(e.it.trimmer,"trimmer-it"),e.it.stemmer=(z=e.stemmerSupport.Among,P=e.stemmerSupport.SnowballProgram,r=new function(){var o,t,s,a=[new z("",-1,7),new z("qu",0,6),new z("á",0,1),new z("é",0,2),new z("í",0,3),new z("ó",0,4),new z("ú",0,5)],u=[new z("",-1,3),new z("I",0,1),new z("U",0,2)],c=[new z("la",-1,-1),new z("cela",0,-1),new z("gliela",0,-1),new z("mela",0,-1),new z("tela",0,-1),new z("vela",0,-1),new z("le",-1,-1),new z("cele",6,-1),new z("gliele",6,-1),new z("mele",6,-1),new z("tele",6,-1),new z("vele",6,-1),new z("ne",-1,-1),new z("cene",12,-1),new z("gliene",12,-1),new z("mene",12,-1),new z("sene",12,-1),new z("tene",12,-1),new z("vene",12,-1),new z("ci",-1,-1),new z("li",-1,-1),new z("celi",20,-1),new z("glieli",20,-1),new z("meli",20,-1),new z("teli",20,-1),new z("veli",20,-1),new z("gli",20,-1),new z("mi",-1,-1),new z("si",-1,-1),new z("ti",-1,-1),new z("vi",-1,-1),new z("lo",-1,-1),new z("celo",31,-1),new z("glielo",31,-1),new z("melo",31,-1),new z("telo",31,-1),new z("velo",31,-1)],w=[new z("ando",-1,1),new z("endo",-1,1),new z("ar",-1,2),new z("er",-1,2),new z("ir",-1,2)],r=[new z("ic",-1,-1),new z("abil",-1,-1),new z("os",-1,-1),new z("iv",-1,1)],n=[new z("ic",-1,1),new z("abil",-1,1),new z("iv",-1,1)],i=[new z("ica",-1,1),new z("logia",-1,3),new z("osa",-1,1),new z("ista",-1,1),new z("iva",-1,9),new z("anza",-1,1),new z("enza",-1,5),new z("ice",-1,1),new z("atrice",7,1),new z("iche",-1,1),new z("logie",-1,3),new z("abile",-1,1),new z("ibile",-1,1),new z("usione",-1,4),new z("azione",-1,2),new z("uzione",-1,4),new z("atore",-1,2),new z("ose",-1,1),new z("ante",-1,1),new z("mente",-1,1),new z("amente",19,7),new z("iste",-1,1),new z("ive",-1,9),new z("anze",-1,1),new z("enze",-1,5),new z("ici",-1,1),new z("atrici",25,1),new z("ichi",-1,1),new z("abili",-1,1),new z("ibili",-1,1),new z("ismi",-1,1),new z("usioni",-1,4),new z("azioni",-1,2),new z("uzioni",-1,4),new z("atori",-1,2),new z("osi",-1,1),new z("anti",-1,1),new z("amenti",-1,6),new z("imenti",-1,6),new z("isti",-1,1),new z("ivi",-1,9),new z("ico",-1,1),new z("ismo",-1,1),new z("oso",-1,1),new z("amento",-1,6),new z("imento",-1,6),new z("ivo",-1,9),new z("ità",-1,8),new z("istà",-1,1),new z("istè",-1,1),new z("istì",-1,1)],l=[new z("isca",-1,1),new z("enda",-1,1),new z("ata",-1,1),new z("ita",-1,1),new z("uta",-1,1),new z("ava",-1,1),new z("eva",-1,1),new z("iva",-1,1),new z("erebbe",-1,1),new z("irebbe",-1,1),new z("isce",-1,1),new z("ende",-1,1),new z("are",-1,1),new z("ere",-1,1),new z("ire",-1,1),new z("asse",-1,1),new z("ate",-1,1),new z("avate",16,1),new z("evate",16,1),new z("ivate",16,1),new z("ete",-1,1),new z("erete",20,1),new z("irete",20,1),new z("ite",-1,1),new z("ereste",-1,1),new z("ireste",-1,1),new z("ute",-1,1),new z("erai",-1,1),new z("irai",-1,1),new z("isci",-1,1),new z("endi",-1,1),new z("erei",-1,1),new z("irei",-1,1),new z("assi",-1,1),new z("ati",-1,1),new z("iti",-1,1),new z("eresti",-1,1),new z("iresti",-1,1),new z("uti",-1,1),new z("avi",-1,1),new z("evi",-1,1),new z("ivi",-1,1),new z("isco",-1,1),new z("ando",-1,1),new z("endo",-1,1),new z("Yamo",-1,1),new z("iamo",-1,1),new z("avamo",-1,1),new z("evamo",-1,1),new z("ivamo",-1,1),new z("eremo",-1,1),new z("iremo",-1,1),new z("assimo",-1,1),new z("ammo",-1,1),new z("emmo",-1,1),new z("eremmo",54,1),new z("iremmo",54,1),new z("immo",-1,1),new z("ano",-1,1),new z("iscano",58,1),new z("avano",58,1),new z("evano",58,1),new z("ivano",58,1),new z("eranno",-1,1),new z("iranno",-1,1),new z("ono",-1,1),new z("iscono",65,1),new z("arono",65,1),new z("erono",65,1),new z("irono",65,1),new z("erebbero",-1,1),new z("irebbero",-1,1),new z("assero",-1,1),new z("essero",-1,1),new z("issero",-1,1),new z("ato",-1,1),new z("ito",-1,1),new z("uto",-1,1),new z("avo",-1,1),new z("evo",-1,1),new z("ivo",-1,1),new z("ar",-1,1),new z("ir",-1,1),new z("erà",-1,1),new z("irà",-1,1),new z("erò",-1,1),new z("irò",-1,1)],m=[17,65,16,0,0,0,0,0,0,0,0,0,0,0,0,128,128,8,2,1],f=[17,65,0,0,0,0,0,0,0,0,0,0,0,0,0,128,128,8,2],v=[17],b=new P;function d(e,r,n){return!(!b.eq_s(1,e)||(b.ket=b.cursor,!b.in_grouping(m,97,249)))&&(b.slice_from(r),b.cursor=n,!0)}function _(e){if(b.cursor=e,!b.in_grouping(m,97,249))return!1;for(;!b.out_grouping(m,97,249);){if(b.cursor>=b.limit)return!1;b.cursor++}return!0}function g(){var e,r=b.cursor;if(!function(){if(b.in_grouping(m,97,249)){var e=b.cursor;if(b.out_grouping(m,97,249)){for(;!b.in_grouping(m,97,249);){if(b.cursor>=b.limit)return _(e);b.cursor++}return!0}return _(e)}return!1}()){if(b.cursor=r,!b.out_grouping(m,97,249))return;if(e=b.cursor,b.out_grouping(m,97,249)){for(;!b.in_grouping(m,97,249);){if(b.cursor>=b.limit)return b.cursor=e,void(b.in_grouping(m,97,249)&&b.cursor=b.limit)return;b.cursor++}s=b.cursor}function p(){for(;!b.in_grouping(m,97,249);){if(b.cursor>=b.limit)return!1;b.cursor++}for(;!b.out_grouping(m,97,249);){if(b.cursor>=b.limit)return!1;b.cursor++}return!0}function k(){return s<=b.cursor}function h(){return o<=b.cursor}function q(){var e;if(b.ket=b.cursor,!(e=b.find_among_b(i,51)))return!1;switch(b.bra=b.cursor,e){case 1:if(!h())return!1;b.slice_del();break;case 2:if(!h())return!1;b.slice_del(),b.ket=b.cursor,b.eq_s_b(2,"ic")&&(b.bra=b.cursor,h()&&b.slice_del());break;case 3:if(!h())return!1;b.slice_from("log");break;case 4:if(!h())return!1;b.slice_from("u");break;case 5:if(!h())return!1;b.slice_from("ente");break;case 6:if(!k())return!1;b.slice_del();break;case 7:if(!(t<=b.cursor))return!1;b.slice_del(),b.ket=b.cursor,(e=b.find_among_b(r,4))&&(b.bra=b.cursor,h()&&(b.slice_del(),1==e&&(b.ket=b.cursor,b.eq_s_b(2,"at")&&(b.bra=b.cursor,h()&&b.slice_del()))));break;case 8:if(!h())return!1;b.slice_del(),b.ket=b.cursor,(e=b.find_among_b(n,3))&&(b.bra=b.cursor,1==e&&h()&&b.slice_del());break;case 9:if(!h())return!1;b.slice_del(),b.ket=b.cursor,b.eq_s_b(2,"at")&&(b.bra=b.cursor,h()&&(b.slice_del(),b.ket=b.cursor,b.eq_s_b(2,"ic")&&(b.bra=b.cursor,h()&&b.slice_del())))}return!0}function C(){var e;e=b.limit-b.cursor,b.ket=b.cursor,b.in_grouping_b(f,97,242)&&(b.bra=b.cursor,k()&&(b.slice_del(),b.ket=b.cursor,b.eq_s_b(1,"i")&&(b.bra=b.cursor,k())))?b.slice_del():b.cursor=b.limit-e,b.ket=b.cursor,b.eq_s_b(1,"h")&&(b.bra=b.cursor,b.in_grouping_b(v,99,103)&&k()&&b.slice_del())}this.setCurrent=function(e){b.setCurrent(e)},this.getCurrent=function(){return b.getCurrent()},this.stem=function(){var e,r,n,i=b.cursor;return function(){for(var e,r,n,i,o=b.cursor;;){if(b.bra=b.cursor,e=b.find_among(a,7))switch(b.ket=b.cursor,e){case 1:b.slice_from("à");continue;case 2:b.slice_from("è");continue;case 3:b.slice_from("ì");continue;case 4:b.slice_from("ò");continue;case 5:b.slice_from("ù");continue;case 6:b.slice_from("qU");continue;case 7:if(b.cursor>=b.limit)break;b.cursor++;continue}break}for(b.cursor=o;;)for(r=b.cursor;;){if(n=b.cursor,b.in_grouping(m,97,249)){if(b.bra=b.cursor,i=b.cursor,d("u","U",n))break;if(b.cursor=i,d("i","I",n))break}if(b.cursor=n,b.cursor>=b.limit)return b.cursor=r;b.cursor++}}(),b.cursor=i,e=b.cursor,s=b.limit,o=t=s,g(),b.cursor=e,p()&&(t=b.cursor,p()&&(o=b.cursor)),b.limit_backward=i,b.cursor=b.limit,function(){var e;if(b.ket=b.cursor,b.find_among_b(c,37)&&(b.bra=b.cursor,(e=b.find_among_b(w,5))&&k()))switch(e){case 1:b.slice_del();break;case 2:b.slice_from("e")}}(),b.cursor=b.limit,q()||(b.cursor=b.limit,b.cursor>=s&&(n=b.limit_backward,b.limit_backward=s,b.ket=b.cursor,(r=b.find_among_b(l,87))&&(b.bra=b.cursor,1==r&&b.slice_del()),b.limit_backward=n)),b.cursor=b.limit,C(),b.cursor=b.limit_backward,function(){for(var e;b.bra=b.cursor,e=b.find_among(u,3);)switch(b.ket=b.cursor,e){case 1:b.slice_from("i");break;case 2:b.slice_from("u");break;case 3:if(b.cursor>=b.limit)return;b.cursor++}}(),!0}},function(e){return"function"==typeof e.update?e.update(function(e){return r.setCurrent(e),r.stem(),r.getCurrent()}):(r.setCurrent(e),r.stem(),r.getCurrent())}),e.Pipeline.registerFunction(e.it.stemmer,"stemmer-it"),e.it.stopWordFilter=e.generateStopWordFilter("a abbia abbiamo abbiano abbiate ad agl agli ai al all alla alle allo anche avemmo avendo avesse avessero avessi avessimo aveste avesti avete aveva avevamo avevano avevate avevi avevo avrai avranno avrebbe avrebbero avrei avremmo avremo avreste avresti avrete avrà avrò avuta avute avuti avuto c che chi ci coi col come con contro cui da dagl dagli dai dal dall dalla dalle dallo degl degli dei del dell della delle dello di dov dove e ebbe ebbero ebbi ed era erano eravamo eravate eri ero essendo faccia facciamo facciano facciate faccio facemmo facendo facesse facessero facessi facessimo faceste facesti faceva facevamo facevano facevate facevi facevo fai fanno farai faranno farebbe farebbero farei faremmo faremo fareste faresti farete farà farò fece fecero feci fosse fossero fossi fossimo foste fosti fu fui fummo furono gli ha hai hanno ho i il in io l la le lei li lo loro lui ma mi mia mie miei mio ne negl negli nei nel nell nella nelle nello noi non nostra nostre nostri nostro o per perché più quale quanta quante quanti quanto quella quelle quelli quello questa queste questi questo sarai saranno sarebbe sarebbero sarei saremmo saremo sareste saresti sarete sarà sarò se sei si sia siamo siano siate siete sono sta stai stando stanno starai staranno starebbe starebbero starei staremmo staremo stareste staresti starete starà starò stava stavamo stavano stavate stavi stavo stemmo stesse stessero stessi stessimo steste stesti stette stettero stetti stia stiamo stiano stiate sto su sua sue sugl sugli sui sul sull sulla sulle sullo suo suoi ti tra tu tua tue tuo tuoi tutti tutto un una uno vi voi vostra vostre vostri vostro è".split(" ")),e.Pipeline.registerFunction(e.it.stopWordFilter,"stopWordFilter-it")}}); \ No newline at end of file diff --git a/assets/javascripts/lunr/lunr.ja.js b/assets/javascripts/lunr/lunr.ja.js new file mode 100644 index 000000000..715b834ad --- /dev/null +++ b/assets/javascripts/lunr/lunr.ja.js @@ -0,0 +1,17 @@ +/*! + * Lunr languages, `Japanese` language + * https://github.com/MihaiValentin/lunr-languages + * + * Copyright 2014, Chad Liu + * http://www.mozilla.org/MPL/ + */ +/*! + * based on + * Snowball JavaScript Library v0.3 + * http://code.google.com/p/urim/ + * http://snowball.tartarus.org/ + * + * Copyright 2010, Oleg Mazko + * http://www.mozilla.org/MPL/ + */ +!function(e,r){"function"==typeof define&&define.amd?define(r):"object"==typeof exports?module.exports=r():r()(e.lunr)}(this,function(){return function(m){if(void 0===m)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===m.stemmerSupport)throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");var l="2"==m.version[0];m.ja=function(){this.pipeline.reset(),this.pipeline.add(m.ja.trimmer,m.ja.stopWordFilter,m.ja.stemmer),l?this.tokenizer=m.ja.tokenizer:(m.tokenizer&&(m.tokenizer=m.ja.tokenizer),this.tokenizerFn&&(this.tokenizerFn=m.ja.tokenizer))};var j=new m.TinySegmenter;m.ja.tokenizer=function(e){var r,t,i,n,o,s,p,a,u;if(!arguments.length||null==e||null==e)return[];if(Array.isArray(e))return e.map(function(e){return l?new m.Token(e.toLowerCase()):e.toLowerCase()});for(r=(t=e.toString().toLowerCase().replace(/^\s+/,"")).length-1;0<=r;r--)if(/\S/.test(t.charAt(r))){t=t.substring(0,r+1);break}for(o=[],i=t.length,p=a=0;a<=i;a++)if(s=a-p,t.charAt(a).match(/\s/)||a==i){if(0=_.limit||(_.cursor++,!1)}function w(){for(;!_.in_grouping(m,97,232);){if(_.cursor>=_.limit)return!0;_.cursor++}for(;!_.out_grouping(m,97,232);){if(_.cursor>=_.limit)return!0;_.cursor++}return!1}function b(){return i<=_.cursor}function p(){return e<=_.cursor}function g(){var r=_.limit-_.cursor;_.find_among_b(t,3)&&(_.cursor=_.limit-r,_.ket=_.cursor,_.cursor>_.limit_backward&&(_.cursor--,_.bra=_.cursor,_.slice_del()))}function h(){var r;u=!1,_.ket=_.cursor,_.eq_s_b(1,"e")&&(_.bra=_.cursor,b()&&(r=_.limit-_.cursor,_.out_grouping_b(m,97,232)&&(_.cursor=_.limit-r,_.slice_del(),u=!0,g())))}function k(){var r;b()&&(r=_.limit-_.cursor,_.out_grouping_b(m,97,232)&&(_.cursor=_.limit-r,_.eq_s_b(3,"gem")||(_.cursor=_.limit-r,_.slice_del(),g())))}this.setCurrent=function(r){_.setCurrent(r)},this.getCurrent=function(){return _.getCurrent()},this.stem=function(){var r=_.cursor;return function(){for(var r,e,i,n=_.cursor;;){if(_.bra=_.cursor,r=_.find_among(o,11))switch(_.ket=_.cursor,r){case 1:_.slice_from("a");continue;case 2:_.slice_from("e");continue;case 3:_.slice_from("i");continue;case 4:_.slice_from("o");continue;case 5:_.slice_from("u");continue;case 6:if(_.cursor>=_.limit)break;_.cursor++;continue}break}for(_.cursor=n,_.bra=n,_.eq_s(1,"y")?(_.ket=_.cursor,_.slice_from("Y")):_.cursor=n;;)if(e=_.cursor,_.in_grouping(m,97,232)){if(i=_.cursor,_.bra=i,_.eq_s(1,"i"))_.ket=_.cursor,_.in_grouping(m,97,232)&&(_.slice_from("I"),_.cursor=e);else if(_.cursor=i,_.eq_s(1,"y"))_.ket=_.cursor,_.slice_from("Y"),_.cursor=e;else if(s(e))break}else if(s(e))break}(),_.cursor=r,i=_.limit,e=i,w()||((i=_.cursor)<3&&(i=3),w()||(e=_.cursor)),_.limit_backward=r,_.cursor=_.limit,function(){var r,e,i,n,o,t,s=_.limit-_.cursor;if(_.ket=_.cursor,r=_.find_among_b(c,5))switch(_.bra=_.cursor,r){case 1:b()&&_.slice_from("heid");break;case 2:k();break;case 3:b()&&_.out_grouping_b(f,97,232)&&_.slice_del()}if(_.cursor=_.limit-s,h(),_.cursor=_.limit-s,_.ket=_.cursor,_.eq_s_b(4,"heid")&&(_.bra=_.cursor,p()&&(e=_.limit-_.cursor,_.eq_s_b(1,"c")||(_.cursor=_.limit-e,_.slice_del(),_.ket=_.cursor,_.eq_s_b(2,"en")&&(_.bra=_.cursor,k())))),_.cursor=_.limit-s,_.ket=_.cursor,r=_.find_among_b(a,6))switch(_.bra=_.cursor,r){case 1:if(p()){if(_.slice_del(),i=_.limit-_.cursor,_.ket=_.cursor,_.eq_s_b(2,"ig")&&(_.bra=_.cursor,p()&&(n=_.limit-_.cursor,!_.eq_s_b(1,"e")))){_.cursor=_.limit-n,_.slice_del();break}_.cursor=_.limit-i,g()}break;case 2:p()&&(o=_.limit-_.cursor,_.eq_s_b(1,"e")||(_.cursor=_.limit-o,_.slice_del()));break;case 3:p()&&(_.slice_del(),h());break;case 4:p()&&_.slice_del();break;case 5:p()&&u&&_.slice_del()}_.cursor=_.limit-s,_.out_grouping_b(d,73,232)&&(t=_.limit-_.cursor,_.find_among_b(l,4)&&_.out_grouping_b(m,97,232)&&(_.cursor=_.limit-t,_.ket=_.cursor,_.cursor>_.limit_backward&&(_.cursor--,_.bra=_.cursor,_.slice_del())))}(),_.cursor=_.limit_backward,function(){for(var r;;)if(_.bra=_.cursor,r=_.find_among(n,3))switch(_.ket=_.cursor,r){case 1:_.slice_from("y");break;case 2:_.slice_from("i");break;case 3:if(_.cursor>=_.limit)return;_.cursor++}}(),!0}},function(r){return"function"==typeof r.update?r.update(function(r){return e.setCurrent(r),e.stem(),e.getCurrent()}):(e.setCurrent(r),e.stem(),e.getCurrent())}),r.Pipeline.registerFunction(r.nl.stemmer,"stemmer-nl"),r.nl.stopWordFilter=r.generateStopWordFilter(" aan al alles als altijd andere ben bij daar dan dat de der deze die dit doch doen door dus een eens en er ge geen geweest haar had heb hebben heeft hem het hier hij hoe hun iemand iets ik in is ja je kan kon kunnen maar me meer men met mij mijn moet na naar niet niets nog nu of om omdat onder ons ook op over reeds te tegen toch toen tot u uit uw van veel voor want waren was wat werd wezen wie wil worden wordt zal ze zelf zich zij zijn zo zonder zou".split(" ")),r.Pipeline.registerFunction(r.nl.stopWordFilter,"stopWordFilter-nl")}}); \ No newline at end of file diff --git a/assets/javascripts/lunr/lunr.no.js b/assets/javascripts/lunr/lunr.no.js new file mode 100644 index 000000000..031e4b206 --- /dev/null +++ b/assets/javascripts/lunr/lunr.no.js @@ -0,0 +1,17 @@ +/*! + * Lunr languages, `Norwegian` language + * https://github.com/MihaiValentin/lunr-languages + * + * Copyright 2014, Mihai Valentin + * http://www.mozilla.org/MPL/ + */ +/*! + * based on + * Snowball JavaScript Library v0.3 + * http://code.google.com/p/urim/ + * http://snowball.tartarus.org/ + * + * Copyright 2010, Oleg Mazko + * http://www.mozilla.org/MPL/ + */ +!function(e,r){"function"==typeof define&&define.amd?define(r):"object"==typeof exports?module.exports=r():r()(e.lunr)}(this,function(){return function(e){if(void 0===e)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===e.stemmerSupport)throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");var r,n,i;e.no=function(){this.pipeline.reset(),this.pipeline.add(e.no.trimmer,e.no.stopWordFilter,e.no.stemmer),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add(e.no.stemmer))},e.no.wordCharacters="A-Za-zªºÀ-ÖØ-öø-ʸˠ-ˤᴀ-ᴥᴬ-ᵜᵢ-ᵥᵫ-ᵷᵹ-ᶾḀ-ỿⁱⁿₐ-ₜKÅℲⅎⅠ-ↈⱠ-ⱿꜢ-ꞇꞋ-ꞭꞰ-ꞷꟷ-ꟿꬰ-ꭚꭜ-ꭤff-stA-Za-z",e.no.trimmer=e.trimmerSupport.generateTrimmer(e.no.wordCharacters),e.Pipeline.registerFunction(e.no.trimmer,"trimmer-no"),e.no.stemmer=(r=e.stemmerSupport.Among,n=e.stemmerSupport.SnowballProgram,i=new function(){var o,s,a=[new r("a",-1,1),new r("e",-1,1),new r("ede",1,1),new r("ande",1,1),new r("ende",1,1),new r("ane",1,1),new r("ene",1,1),new r("hetene",6,1),new r("erte",1,3),new r("en",-1,1),new r("heten",9,1),new r("ar",-1,1),new r("er",-1,1),new r("heter",12,1),new r("s",-1,2),new r("as",14,1),new r("es",14,1),new r("edes",16,1),new r("endes",16,1),new r("enes",16,1),new r("hetenes",19,1),new r("ens",14,1),new r("hetens",21,1),new r("ers",14,1),new r("ets",14,1),new r("et",-1,1),new r("het",25,1),new r("ert",-1,3),new r("ast",-1,1)],m=[new r("dt",-1,-1),new r("vt",-1,-1)],l=[new r("leg",-1,1),new r("eleg",0,1),new r("ig",-1,1),new r("eig",2,1),new r("lig",2,1),new r("elig",4,1),new r("els",-1,1),new r("lov",-1,1),new r("elov",7,1),new r("slov",7,1),new r("hetslov",9,1)],u=[17,65,16,1,0,0,0,0,0,0,0,0,0,0,0,0,48,0,128],d=[119,125,149,1],c=new n;this.setCurrent=function(e){c.setCurrent(e)},this.getCurrent=function(){return c.getCurrent()},this.stem=function(){var e,r,n,i,t=c.cursor;return function(){var e,r=c.cursor+3;if(s=c.limit,0<=r||r<=c.limit){for(o=r;;){if(e=c.cursor,c.in_grouping(u,97,248)){c.cursor=e;break}if(e>=c.limit)return;c.cursor=e+1}for(;!c.out_grouping(u,97,248);){if(c.cursor>=c.limit)return;c.cursor++}(s=c.cursor)=s&&(r=c.limit_backward,c.limit_backward=s,c.ket=c.cursor,e=c.find_among_b(a,29),c.limit_backward=r,e))switch(c.bra=c.cursor,e){case 1:c.slice_del();break;case 2:n=c.limit-c.cursor,c.in_grouping_b(d,98,122)?c.slice_del():(c.cursor=c.limit-n,c.eq_s_b(1,"k")&&c.out_grouping_b(u,97,248)&&c.slice_del());break;case 3:c.slice_from("er")}}(),c.cursor=c.limit,r=c.limit-c.cursor,c.cursor>=s&&(e=c.limit_backward,c.limit_backward=s,c.ket=c.cursor,c.find_among_b(m,2)?(c.bra=c.cursor,c.limit_backward=e,c.cursor=c.limit-r,c.cursor>c.limit_backward&&(c.cursor--,c.bra=c.cursor,c.slice_del())):c.limit_backward=e),c.cursor=c.limit,c.cursor>=s&&(i=c.limit_backward,c.limit_backward=s,c.ket=c.cursor,(n=c.find_among_b(l,11))?(c.bra=c.cursor,c.limit_backward=i,1==n&&c.slice_del()):c.limit_backward=i),!0}},function(e){return"function"==typeof e.update?e.update(function(e){return i.setCurrent(e),i.stem(),i.getCurrent()}):(i.setCurrent(e),i.stem(),i.getCurrent())}),e.Pipeline.registerFunction(e.no.stemmer,"stemmer-no"),e.no.stopWordFilter=e.generateStopWordFilter("alle at av bare begge ble blei bli blir blitt både båe da de deg dei deim deira deires dem den denne der dere deres det dette di din disse ditt du dykk dykkar då eg ein eit eitt eller elles en enn er et ett etter for fordi fra før ha hadde han hans har hennar henne hennes her hjå ho hoe honom hoss hossen hun hva hvem hver hvilke hvilken hvis hvor hvordan hvorfor i ikke ikkje ikkje ingen ingi inkje inn inni ja jeg kan kom korleis korso kun kunne kva kvar kvarhelst kven kvi kvifor man mange me med medan meg meget mellom men mi min mine mitt mot mykje ned no noe noen noka noko nokon nokor nokre nå når og også om opp oss over på samme seg selv si si sia sidan siden sin sine sitt sjøl skal skulle slik so som som somme somt så sånn til um upp ut uten var vart varte ved vere verte vi vil ville vore vors vort vår være være vært å".split(" ")),e.Pipeline.registerFunction(e.no.stopWordFilter,"stopWordFilter-no")}}); \ No newline at end of file diff --git a/assets/javascripts/lunr/lunr.pt.js b/assets/javascripts/lunr/lunr.pt.js new file mode 100644 index 000000000..59e766fe9 --- /dev/null +++ b/assets/javascripts/lunr/lunr.pt.js @@ -0,0 +1,17 @@ +/*! + * Lunr languages, `Portuguese` language + * https://github.com/MihaiValentin/lunr-languages + * + * Copyright 2014, Mihai Valentin + * http://www.mozilla.org/MPL/ + */ +/*! + * based on + * Snowball JavaScript Library v0.3 + * http://code.google.com/p/urim/ + * http://snowball.tartarus.org/ + * + * Copyright 2010, Oleg Mazko + * http://www.mozilla.org/MPL/ + */ +!function(e,r){"function"==typeof define&&define.amd?define(r):"object"==typeof exports?module.exports=r():r()(e.lunr)}(this,function(){return function(e){if(void 0===e)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===e.stemmerSupport)throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");var j,C,r;e.pt=function(){this.pipeline.reset(),this.pipeline.add(e.pt.trimmer,e.pt.stopWordFilter,e.pt.stemmer),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add(e.pt.stemmer))},e.pt.wordCharacters="A-Za-zªºÀ-ÖØ-öø-ʸˠ-ˤᴀ-ᴥᴬ-ᵜᵢ-ᵥᵫ-ᵷᵹ-ᶾḀ-ỿⁱⁿₐ-ₜKÅℲⅎⅠ-ↈⱠ-ⱿꜢ-ꞇꞋ-ꞭꞰ-ꞷꟷ-ꟿꬰ-ꭚꭜ-ꭤff-stA-Za-z",e.pt.trimmer=e.trimmerSupport.generateTrimmer(e.pt.wordCharacters),e.Pipeline.registerFunction(e.pt.trimmer,"trimmer-pt"),e.pt.stemmer=(j=e.stemmerSupport.Among,C=e.stemmerSupport.SnowballProgram,r=new function(){var s,n,i,o=[new j("",-1,3),new j("ã",0,1),new j("õ",0,2)],a=[new j("",-1,3),new j("a~",0,1),new j("o~",0,2)],r=[new j("ic",-1,-1),new j("ad",-1,-1),new j("os",-1,-1),new j("iv",-1,1)],t=[new j("ante",-1,1),new j("avel",-1,1),new j("ível",-1,1)],u=[new j("ic",-1,1),new j("abil",-1,1),new j("iv",-1,1)],w=[new j("ica",-1,1),new j("ância",-1,1),new j("ência",-1,4),new j("ira",-1,9),new j("adora",-1,1),new j("osa",-1,1),new j("ista",-1,1),new j("iva",-1,8),new j("eza",-1,1),new j("logía",-1,2),new j("idade",-1,7),new j("ante",-1,1),new j("mente",-1,6),new j("amente",12,5),new j("ável",-1,1),new j("ível",-1,1),new j("ución",-1,3),new j("ico",-1,1),new j("ismo",-1,1),new j("oso",-1,1),new j("amento",-1,1),new j("imento",-1,1),new j("ivo",-1,8),new j("aça~o",-1,1),new j("ador",-1,1),new j("icas",-1,1),new j("ências",-1,4),new j("iras",-1,9),new j("adoras",-1,1),new j("osas",-1,1),new j("istas",-1,1),new j("ivas",-1,8),new j("ezas",-1,1),new j("logías",-1,2),new j("idades",-1,7),new j("uciones",-1,3),new j("adores",-1,1),new j("antes",-1,1),new j("aço~es",-1,1),new j("icos",-1,1),new j("ismos",-1,1),new j("osos",-1,1),new j("amentos",-1,1),new j("imentos",-1,1),new j("ivos",-1,8)],m=[new j("ada",-1,1),new j("ida",-1,1),new j("ia",-1,1),new j("aria",2,1),new j("eria",2,1),new j("iria",2,1),new j("ara",-1,1),new j("era",-1,1),new j("ira",-1,1),new j("ava",-1,1),new j("asse",-1,1),new j("esse",-1,1),new j("isse",-1,1),new j("aste",-1,1),new j("este",-1,1),new j("iste",-1,1),new j("ei",-1,1),new j("arei",16,1),new j("erei",16,1),new j("irei",16,1),new j("am",-1,1),new j("iam",20,1),new j("ariam",21,1),new j("eriam",21,1),new j("iriam",21,1),new j("aram",20,1),new j("eram",20,1),new j("iram",20,1),new j("avam",20,1),new j("em",-1,1),new j("arem",29,1),new j("erem",29,1),new j("irem",29,1),new j("assem",29,1),new j("essem",29,1),new j("issem",29,1),new j("ado",-1,1),new j("ido",-1,1),new j("ando",-1,1),new j("endo",-1,1),new j("indo",-1,1),new j("ara~o",-1,1),new j("era~o",-1,1),new j("ira~o",-1,1),new j("ar",-1,1),new j("er",-1,1),new j("ir",-1,1),new j("as",-1,1),new j("adas",47,1),new j("idas",47,1),new j("ias",47,1),new j("arias",50,1),new j("erias",50,1),new j("irias",50,1),new j("aras",47,1),new j("eras",47,1),new j("iras",47,1),new j("avas",47,1),new j("es",-1,1),new j("ardes",58,1),new j("erdes",58,1),new j("irdes",58,1),new j("ares",58,1),new j("eres",58,1),new j("ires",58,1),new j("asses",58,1),new j("esses",58,1),new j("isses",58,1),new j("astes",58,1),new j("estes",58,1),new j("istes",58,1),new j("is",-1,1),new j("ais",71,1),new j("eis",71,1),new j("areis",73,1),new j("ereis",73,1),new j("ireis",73,1),new j("áreis",73,1),new j("éreis",73,1),new j("íreis",73,1),new j("ásseis",73,1),new j("ésseis",73,1),new j("ísseis",73,1),new j("áveis",73,1),new j("íeis",73,1),new j("aríeis",84,1),new j("eríeis",84,1),new j("iríeis",84,1),new j("ados",-1,1),new j("idos",-1,1),new j("amos",-1,1),new j("áramos",90,1),new j("éramos",90,1),new j("íramos",90,1),new j("ávamos",90,1),new j("íamos",90,1),new j("aríamos",95,1),new j("eríamos",95,1),new j("iríamos",95,1),new j("emos",-1,1),new j("aremos",99,1),new j("eremos",99,1),new j("iremos",99,1),new j("ássemos",99,1),new j("êssemos",99,1),new j("íssemos",99,1),new j("imos",-1,1),new j("armos",-1,1),new j("ermos",-1,1),new j("irmos",-1,1),new j("ámos",-1,1),new j("arás",-1,1),new j("erás",-1,1),new j("irás",-1,1),new j("eu",-1,1),new j("iu",-1,1),new j("ou",-1,1),new j("ará",-1,1),new j("erá",-1,1),new j("irá",-1,1)],c=[new j("a",-1,1),new j("i",-1,1),new j("o",-1,1),new j("os",-1,1),new j("á",-1,1),new j("í",-1,1),new j("ó",-1,1)],l=[new j("e",-1,1),new j("ç",-1,2),new j("é",-1,1),new j("ê",-1,1)],f=[17,65,16,0,0,0,0,0,0,0,0,0,0,0,0,0,3,19,12,2],d=new C;function v(){if(d.out_grouping(f,97,250)){for(;!d.in_grouping(f,97,250);){if(d.cursor>=d.limit)return!0;d.cursor++}return!1}return!0}function p(){var e,r,s=d.cursor;if(d.in_grouping(f,97,250))if(e=d.cursor,v()){if(d.cursor=e,function(){if(d.in_grouping(f,97,250))for(;!d.out_grouping(f,97,250);){if(d.cursor>=d.limit)return!1;d.cursor++}return i=d.cursor,!0}())return}else i=d.cursor;if(d.cursor=s,d.out_grouping(f,97,250)){if(r=d.cursor,v()){if(d.cursor=r,!d.in_grouping(f,97,250)||d.cursor>=d.limit)return;d.cursor++}i=d.cursor}}function _(){for(;!d.in_grouping(f,97,250);){if(d.cursor>=d.limit)return!1;d.cursor++}for(;!d.out_grouping(f,97,250);){if(d.cursor>=d.limit)return!1;d.cursor++}return!0}function h(){return i<=d.cursor}function b(){return s<=d.cursor}function g(){var e;if(d.ket=d.cursor,!(e=d.find_among_b(w,45)))return!1;switch(d.bra=d.cursor,e){case 1:if(!b())return!1;d.slice_del();break;case 2:if(!b())return!1;d.slice_from("log");break;case 3:if(!b())return!1;d.slice_from("u");break;case 4:if(!b())return!1;d.slice_from("ente");break;case 5:if(!(n<=d.cursor))return!1;d.slice_del(),d.ket=d.cursor,(e=d.find_among_b(r,4))&&(d.bra=d.cursor,b()&&(d.slice_del(),1==e&&(d.ket=d.cursor,d.eq_s_b(2,"at")&&(d.bra=d.cursor,b()&&d.slice_del()))));break;case 6:if(!b())return!1;d.slice_del(),d.ket=d.cursor,(e=d.find_among_b(t,3))&&(d.bra=d.cursor,1==e&&b()&&d.slice_del());break;case 7:if(!b())return!1;d.slice_del(),d.ket=d.cursor,(e=d.find_among_b(u,3))&&(d.bra=d.cursor,1==e&&b()&&d.slice_del());break;case 8:if(!b())return!1;d.slice_del(),d.ket=d.cursor,d.eq_s_b(2,"at")&&(d.bra=d.cursor,b()&&d.slice_del());break;case 9:if(!h()||!d.eq_s_b(1,"e"))return!1;d.slice_from("ir")}return!0}function k(e,r){if(d.eq_s_b(1,e)){d.bra=d.cursor;var s=d.limit-d.cursor;if(d.eq_s_b(1,r))return d.cursor=d.limit-s,h()&&d.slice_del(),!1}return!0}function q(){if(!g()&&(d.cursor=d.limit,!function(){var e,r;if(d.cursor>=i){if(r=d.limit_backward,d.limit_backward=i,d.ket=d.cursor,e=d.find_among_b(m,120))return d.bra=d.cursor,1==e&&d.slice_del(),d.limit_backward=r,!0;d.limit_backward=r}return!1}()))return d.cursor=d.limit,d.ket=d.cursor,void((e=d.find_among_b(c,7))&&(d.bra=d.cursor,1==e&&h()&&d.slice_del()));var e;d.cursor=d.limit,d.ket=d.cursor,d.eq_s_b(1,"i")&&(d.bra=d.cursor,d.eq_s_b(1,"c")&&(d.cursor=d.limit,h()&&d.slice_del()))}this.setCurrent=function(e){d.setCurrent(e)},this.getCurrent=function(){return d.getCurrent()},this.stem=function(){var e,r=d.cursor;return function(){for(var e;;){if(d.bra=d.cursor,e=d.find_among(o,3))switch(d.ket=d.cursor,e){case 1:d.slice_from("a~");continue;case 2:d.slice_from("o~");continue;case 3:if(d.cursor>=d.limit)break;d.cursor++;continue}break}}(),d.cursor=r,e=d.cursor,i=d.limit,s=n=i,p(),d.cursor=e,_()&&(n=d.cursor,_()&&(s=d.cursor)),d.limit_backward=r,d.cursor=d.limit,q(),d.cursor=d.limit,function(){var e;if(d.ket=d.cursor,e=d.find_among_b(l,4))switch(d.bra=d.cursor,e){case 1:h()&&(d.slice_del(),d.ket=d.cursor,d.limit,d.cursor,k("u","g")&&k("i","c"));break;case 2:d.slice_from("c")}}(),d.cursor=d.limit_backward,function(){for(var e;;){if(d.bra=d.cursor,e=d.find_among(a,3))switch(d.ket=d.cursor,e){case 1:d.slice_from("ã");continue;case 2:d.slice_from("õ");continue;case 3:if(d.cursor>=d.limit)break;d.cursor++;continue}break}}(),!0}},function(e){return"function"==typeof e.update?e.update(function(e){return r.setCurrent(e),r.stem(),r.getCurrent()}):(r.setCurrent(e),r.stem(),r.getCurrent())}),e.Pipeline.registerFunction(e.pt.stemmer,"stemmer-pt"),e.pt.stopWordFilter=e.generateStopWordFilter("a ao aos aquela aquelas aquele aqueles aquilo as até com como da das de dela delas dele deles depois do dos e ela elas ele eles em entre era eram essa essas esse esses esta estamos estas estava estavam este esteja estejam estejamos estes esteve estive estivemos estiver estivera estiveram estiverem estivermos estivesse estivessem estivéramos estivéssemos estou está estávamos estão eu foi fomos for fora foram forem formos fosse fossem fui fôramos fôssemos haja hajam hajamos havemos hei houve houvemos houver houvera houveram houverei houverem houveremos houveria houveriam houvermos houverá houverão houveríamos houvesse houvessem houvéramos houvéssemos há hão isso isto já lhe lhes mais mas me mesmo meu meus minha minhas muito na nas nem no nos nossa nossas nosso nossos num numa não nós o os ou para pela pelas pelo pelos por qual quando que quem se seja sejam sejamos sem serei seremos seria seriam será serão seríamos seu seus somos sou sua suas são só também te tem temos tenha tenham tenhamos tenho terei teremos teria teriam terá terão teríamos teu teus teve tinha tinham tive tivemos tiver tivera tiveram tiverem tivermos tivesse tivessem tivéramos tivéssemos tu tua tuas tém tínhamos um uma você vocês vos à às éramos".split(" ")),e.Pipeline.registerFunction(e.pt.stopWordFilter,"stopWordFilter-pt")}}); \ No newline at end of file diff --git a/assets/javascripts/lunr/lunr.ro.js b/assets/javascripts/lunr/lunr.ro.js new file mode 100644 index 000000000..c5ecc96c4 --- /dev/null +++ b/assets/javascripts/lunr/lunr.ro.js @@ -0,0 +1,17 @@ +/*! + * Lunr languages, `Romanian` language + * https://github.com/MihaiValentin/lunr-languages + * + * Copyright 2014, Mihai Valentin + * http://www.mozilla.org/MPL/ + */ +/*! + * based on + * Snowball JavaScript Library v0.3 + * http://code.google.com/p/urim/ + * http://snowball.tartarus.org/ + * + * Copyright 2010, Oleg Mazko + * http://www.mozilla.org/MPL/ + */ +!function(e,i){"function"==typeof define&&define.amd?define(i):"object"==typeof exports?module.exports=i():i()(e.lunr)}(this,function(){return function(e){if(void 0===e)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===e.stemmerSupport)throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");var h,z,i;e.ro=function(){this.pipeline.reset(),this.pipeline.add(e.ro.trimmer,e.ro.stopWordFilter,e.ro.stemmer),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add(e.ro.stemmer))},e.ro.wordCharacters="A-Za-zªºÀ-ÖØ-öø-ʸˠ-ˤᴀ-ᴥᴬ-ᵜᵢ-ᵥᵫ-ᵷᵹ-ᶾḀ-ỿⁱⁿₐ-ₜKÅℲⅎⅠ-ↈⱠ-ⱿꜢ-ꞇꞋ-ꞭꞰ-ꞷꟷ-ꟿꬰ-ꭚꭜ-ꭤff-stA-Za-z",e.ro.trimmer=e.trimmerSupport.generateTrimmer(e.ro.wordCharacters),e.Pipeline.registerFunction(e.ro.trimmer,"trimmer-ro"),e.ro.stemmer=(h=e.stemmerSupport.Among,z=e.stemmerSupport.SnowballProgram,i=new function(){var r,n,t,a,o=[new h("",-1,3),new h("I",0,1),new h("U",0,2)],s=[new h("ea",-1,3),new h("aţia",-1,7),new h("aua",-1,2),new h("iua",-1,4),new h("aţie",-1,7),new h("ele",-1,3),new h("ile",-1,5),new h("iile",6,4),new h("iei",-1,4),new h("atei",-1,6),new h("ii",-1,4),new h("ului",-1,1),new h("ul",-1,1),new h("elor",-1,3),new h("ilor",-1,4),new h("iilor",14,4)],c=[new h("icala",-1,4),new h("iciva",-1,4),new h("ativa",-1,5),new h("itiva",-1,6),new h("icale",-1,4),new h("aţiune",-1,5),new h("iţiune",-1,6),new h("atoare",-1,5),new h("itoare",-1,6),new h("ătoare",-1,5),new h("icitate",-1,4),new h("abilitate",-1,1),new h("ibilitate",-1,2),new h("ivitate",-1,3),new h("icive",-1,4),new h("ative",-1,5),new h("itive",-1,6),new h("icali",-1,4),new h("atori",-1,5),new h("icatori",18,4),new h("itori",-1,6),new h("ători",-1,5),new h("icitati",-1,4),new h("abilitati",-1,1),new h("ivitati",-1,3),new h("icivi",-1,4),new h("ativi",-1,5),new h("itivi",-1,6),new h("icităi",-1,4),new h("abilităi",-1,1),new h("ivităi",-1,3),new h("icităţi",-1,4),new h("abilităţi",-1,1),new h("ivităţi",-1,3),new h("ical",-1,4),new h("ator",-1,5),new h("icator",35,4),new h("itor",-1,6),new h("ător",-1,5),new h("iciv",-1,4),new h("ativ",-1,5),new h("itiv",-1,6),new h("icală",-1,4),new h("icivă",-1,4),new h("ativă",-1,5),new h("itivă",-1,6)],u=[new h("ica",-1,1),new h("abila",-1,1),new h("ibila",-1,1),new h("oasa",-1,1),new h("ata",-1,1),new h("ita",-1,1),new h("anta",-1,1),new h("ista",-1,3),new h("uta",-1,1),new h("iva",-1,1),new h("ic",-1,1),new h("ice",-1,1),new h("abile",-1,1),new h("ibile",-1,1),new h("isme",-1,3),new h("iune",-1,2),new h("oase",-1,1),new h("ate",-1,1),new h("itate",17,1),new h("ite",-1,1),new h("ante",-1,1),new h("iste",-1,3),new h("ute",-1,1),new h("ive",-1,1),new h("ici",-1,1),new h("abili",-1,1),new h("ibili",-1,1),new h("iuni",-1,2),new h("atori",-1,1),new h("osi",-1,1),new h("ati",-1,1),new h("itati",30,1),new h("iti",-1,1),new h("anti",-1,1),new h("isti",-1,3),new h("uti",-1,1),new h("işti",-1,3),new h("ivi",-1,1),new h("ităi",-1,1),new h("oşi",-1,1),new h("ităţi",-1,1),new h("abil",-1,1),new h("ibil",-1,1),new h("ism",-1,3),new h("ator",-1,1),new h("os",-1,1),new h("at",-1,1),new h("it",-1,1),new h("ant",-1,1),new h("ist",-1,3),new h("ut",-1,1),new h("iv",-1,1),new h("ică",-1,1),new h("abilă",-1,1),new h("ibilă",-1,1),new h("oasă",-1,1),new h("ată",-1,1),new h("ită",-1,1),new h("antă",-1,1),new h("istă",-1,3),new h("ută",-1,1),new h("ivă",-1,1)],w=[new h("ea",-1,1),new h("ia",-1,1),new h("esc",-1,1),new h("ăsc",-1,1),new h("ind",-1,1),new h("ând",-1,1),new h("are",-1,1),new h("ere",-1,1),new h("ire",-1,1),new h("âre",-1,1),new h("se",-1,2),new h("ase",10,1),new h("sese",10,2),new h("ise",10,1),new h("use",10,1),new h("âse",10,1),new h("eşte",-1,1),new h("ăşte",-1,1),new h("eze",-1,1),new h("ai",-1,1),new h("eai",19,1),new h("iai",19,1),new h("sei",-1,2),new h("eşti",-1,1),new h("ăşti",-1,1),new h("ui",-1,1),new h("ezi",-1,1),new h("âi",-1,1),new h("aşi",-1,1),new h("seşi",-1,2),new h("aseşi",29,1),new h("seseşi",29,2),new h("iseşi",29,1),new h("useşi",29,1),new h("âseşi",29,1),new h("işi",-1,1),new h("uşi",-1,1),new h("âşi",-1,1),new h("aţi",-1,2),new h("eaţi",38,1),new h("iaţi",38,1),new h("eţi",-1,2),new h("iţi",-1,2),new h("âţi",-1,2),new h("arăţi",-1,1),new h("serăţi",-1,2),new h("aserăţi",45,1),new h("seserăţi",45,2),new h("iserăţi",45,1),new h("userăţi",45,1),new h("âserăţi",45,1),new h("irăţi",-1,1),new h("urăţi",-1,1),new h("ârăţi",-1,1),new h("am",-1,1),new h("eam",54,1),new h("iam",54,1),new h("em",-1,2),new h("asem",57,1),new h("sesem",57,2),new h("isem",57,1),new h("usem",57,1),new h("âsem",57,1),new h("im",-1,2),new h("âm",-1,2),new h("ăm",-1,2),new h("arăm",65,1),new h("serăm",65,2),new h("aserăm",67,1),new h("seserăm",67,2),new h("iserăm",67,1),new h("userăm",67,1),new h("âserăm",67,1),new h("irăm",65,1),new h("urăm",65,1),new h("ârăm",65,1),new h("au",-1,1),new h("eau",76,1),new h("iau",76,1),new h("indu",-1,1),new h("ându",-1,1),new h("ez",-1,1),new h("ească",-1,1),new h("ară",-1,1),new h("seră",-1,2),new h("aseră",84,1),new h("seseră",84,2),new h("iseră",84,1),new h("useră",84,1),new h("âseră",84,1),new h("iră",-1,1),new h("ură",-1,1),new h("âră",-1,1),new h("ează",-1,1)],i=[new h("a",-1,1),new h("e",-1,1),new h("ie",1,1),new h("i",-1,1),new h("ă",-1,1)],m=[17,65,16,0,0,0,0,0,0,0,0,0,0,0,0,0,2,32,0,0,4],l=new z;function f(e,i){l.eq_s(1,e)&&(l.ket=l.cursor,l.in_grouping(m,97,259)&&l.slice_from(i))}function p(){if(l.out_grouping(m,97,259)){for(;!l.in_grouping(m,97,259);){if(l.cursor>=l.limit)return!0;l.cursor++}return!1}return!0}function d(){var e,i,r=l.cursor;if(l.in_grouping(m,97,259)){if(e=l.cursor,!p())return void(a=l.cursor);if(l.cursor=e,!function(){if(l.in_grouping(m,97,259))for(;!l.out_grouping(m,97,259);){if(l.cursor>=l.limit)return!0;l.cursor++}return!1}())return void(a=l.cursor)}l.cursor=r,l.out_grouping(m,97,259)&&(i=l.cursor,p()&&(l.cursor=i,l.in_grouping(m,97,259)&&l.cursor=l.limit)return!1;l.cursor++}for(;!l.out_grouping(m,97,259);){if(l.cursor>=l.limit)return!1;l.cursor++}return!0}function v(){return t<=l.cursor}function _(){var e,i=l.limit-l.cursor;if(l.ket=l.cursor,(e=l.find_among_b(c,46))&&(l.bra=l.cursor,v())){switch(e){case 1:l.slice_from("abil");break;case 2:l.slice_from("ibil");break;case 3:l.slice_from("iv");break;case 4:l.slice_from("ic");break;case 5:l.slice_from("at");break;case 6:l.slice_from("it")}return r=!0,l.cursor=l.limit-i,!0}return!1}function g(){var e,i;for(r=!1;;)if(i=l.limit-l.cursor,!_()){l.cursor=l.limit-i;break}if(l.ket=l.cursor,(e=l.find_among_b(u,62))&&(l.bra=l.cursor,n<=l.cursor)){switch(e){case 1:l.slice_del();break;case 2:l.eq_s_b(1,"ţ")&&(l.bra=l.cursor,l.slice_from("t"));break;case 3:l.slice_from("ist")}r=!0}}function k(){var e;l.ket=l.cursor,(e=l.find_among_b(i,5))&&(l.bra=l.cursor,a<=l.cursor&&1==e&&l.slice_del())}this.setCurrent=function(e){l.setCurrent(e)},this.getCurrent=function(){return l.getCurrent()},this.stem=function(){var e,i=l.cursor;return function(){for(var e,i;e=l.cursor,l.in_grouping(m,97,259)&&(i=l.cursor,l.bra=i,f("u","U"),l.cursor=i,f("i","I")),l.cursor=e,!(l.cursor>=l.limit);)l.cursor++}(),l.cursor=i,e=l.cursor,a=l.limit,n=t=a,d(),l.cursor=e,b()&&(t=l.cursor,b()&&(n=l.cursor)),l.limit_backward=i,l.cursor=l.limit,function(){var e,i;if(l.ket=l.cursor,(e=l.find_among_b(s,16))&&(l.bra=l.cursor,v()))switch(e){case 1:l.slice_del();break;case 2:l.slice_from("a");break;case 3:l.slice_from("e");break;case 4:l.slice_from("i");break;case 5:i=l.limit-l.cursor,l.eq_s_b(2,"ab")||(l.cursor=l.limit-i,l.slice_from("i"));break;case 6:l.slice_from("at");break;case 7:l.slice_from("aţi")}}(),l.cursor=l.limit,g(),l.cursor=l.limit,r||(l.cursor=l.limit,function(){var e,i,r;if(l.cursor>=a){if(i=l.limit_backward,l.limit_backward=a,l.ket=l.cursor,e=l.find_among_b(w,94))switch(l.bra=l.cursor,e){case 1:if(r=l.limit-l.cursor,!l.out_grouping_b(m,97,259)&&(l.cursor=l.limit-r,!l.eq_s_b(1,"u")))break;case 2:l.slice_del()}l.limit_backward=i}}(),l.cursor=l.limit),k(),l.cursor=l.limit_backward,function(){for(var e;;){if(l.bra=l.cursor,e=l.find_among(o,3))switch(l.ket=l.cursor,e){case 1:l.slice_from("i");continue;case 2:l.slice_from("u");continue;case 3:if(l.cursor>=l.limit)break;l.cursor++;continue}break}}(),!0}},function(e){return"function"==typeof e.update?e.update(function(e){return i.setCurrent(e),i.stem(),i.getCurrent()}):(i.setCurrent(e),i.stem(),i.getCurrent())}),e.Pipeline.registerFunction(e.ro.stemmer,"stemmer-ro"),e.ro.stopWordFilter=e.generateStopWordFilter("acea aceasta această aceea acei aceia acel acela acele acelea acest acesta aceste acestea aceşti aceştia acolo acord acum ai aia aibă aici al ale alea altceva altcineva am ar are asemenea asta astea astăzi asupra au avea avem aveţi azi aş aşadar aţi bine bucur bună ca care caut ce cel ceva chiar cinci cine cineva contra cu cum cumva curând curînd când cât câte câtva câţi cînd cît cîte cîtva cîţi că căci cărei căror cărui către da dacă dar datorită dată dau de deci deja deoarece departe deşi din dinaintea dintr- dintre doi doilea două drept după dă ea ei el ele eram este eu eşti face fata fi fie fiecare fii fim fiu fiţi frumos fără graţie halbă iar ieri la le li lor lui lângă lîngă mai mea mei mele mereu meu mi mie mine mult multă mulţi mulţumesc mâine mîine mă ne nevoie nici nicăieri nimeni nimeri nimic nişte noastre noastră noi noroc nostru nouă noştri nu opt ori oricare orice oricine oricum oricând oricât oricînd oricît oriunde patra patru patrulea pe pentru peste pic poate pot prea prima primul prin puţin puţina puţină până pînă rog sa sale sau se spate spre sub sunt suntem sunteţi sută sînt sîntem sînteţi să săi său ta tale te timp tine toate toată tot totuşi toţi trei treia treilea tu tăi tău un una unde undeva unei uneia unele uneori unii unor unora unu unui unuia unul vi voastre voastră voi vostru vouă voştri vreme vreo vreun vă zece zero zi zice îi îl îmi împotriva în înainte înaintea încotro încât încît între întrucât întrucît îţi ăla ălea ăsta ăstea ăştia şapte şase şi ştiu ţi ţie".split(" ")),e.Pipeline.registerFunction(e.ro.stopWordFilter,"stopWordFilter-ro")}}); \ No newline at end of file diff --git a/assets/javascripts/lunr/lunr.ru.js b/assets/javascripts/lunr/lunr.ru.js new file mode 100644 index 000000000..104bc6e86 --- /dev/null +++ b/assets/javascripts/lunr/lunr.ru.js @@ -0,0 +1,17 @@ +/*! + * Lunr languages, `Russian` language + * https://github.com/MihaiValentin/lunr-languages + * + * Copyright 2014, Mihai Valentin + * http://www.mozilla.org/MPL/ + */ +/*! + * based on + * Snowball JavaScript Library v0.3 + * http://code.google.com/p/urim/ + * http://snowball.tartarus.org/ + * + * Copyright 2010, Oleg Mazko + * http://www.mozilla.org/MPL/ + */ +!function(e,n){"function"==typeof define&&define.amd?define(n):"object"==typeof exports?module.exports=n():n()(e.lunr)}(this,function(){return function(e){if(void 0===e)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===e.stemmerSupport)throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");var h,g,n;e.ru=function(){this.pipeline.reset(),this.pipeline.add(e.ru.trimmer,e.ru.stopWordFilter,e.ru.stemmer),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add(e.ru.stemmer))},e.ru.wordCharacters="Ѐ-҄҇-ԯᴫᵸⷠ-ⷿꙀ-ꚟ︮︯",e.ru.trimmer=e.trimmerSupport.generateTrimmer(e.ru.wordCharacters),e.Pipeline.registerFunction(e.ru.trimmer,"trimmer-ru"),e.ru.stemmer=(h=e.stemmerSupport.Among,g=e.stemmerSupport.SnowballProgram,n=new function(){var n,e,r=[new h("в",-1,1),new h("ив",0,2),new h("ыв",0,2),new h("вши",-1,1),new h("ивши",3,2),new h("ывши",3,2),new h("вшись",-1,1),new h("ившись",6,2),new h("ывшись",6,2)],t=[new h("ее",-1,1),new h("ие",-1,1),new h("ое",-1,1),new h("ые",-1,1),new h("ими",-1,1),new h("ыми",-1,1),new h("ей",-1,1),new h("ий",-1,1),new h("ой",-1,1),new h("ый",-1,1),new h("ем",-1,1),new h("им",-1,1),new h("ом",-1,1),new h("ым",-1,1),new h("его",-1,1),new h("ого",-1,1),new h("ему",-1,1),new h("ому",-1,1),new h("их",-1,1),new h("ых",-1,1),new h("ею",-1,1),new h("ою",-1,1),new h("ую",-1,1),new h("юю",-1,1),new h("ая",-1,1),new h("яя",-1,1)],w=[new h("ем",-1,1),new h("нн",-1,1),new h("вш",-1,1),new h("ивш",2,2),new h("ывш",2,2),new h("щ",-1,1),new h("ющ",5,1),new h("ующ",6,2)],i=[new h("сь",-1,1),new h("ся",-1,1)],u=[new h("ла",-1,1),new h("ила",0,2),new h("ыла",0,2),new h("на",-1,1),new h("ена",3,2),new h("ете",-1,1),new h("ите",-1,2),new h("йте",-1,1),new h("ейте",7,2),new h("уйте",7,2),new h("ли",-1,1),new h("или",10,2),new h("ыли",10,2),new h("й",-1,1),new h("ей",13,2),new h("уй",13,2),new h("л",-1,1),new h("ил",16,2),new h("ыл",16,2),new h("ем",-1,1),new h("им",-1,2),new h("ым",-1,2),new h("н",-1,1),new h("ен",22,2),new h("ло",-1,1),new h("ило",24,2),new h("ыло",24,2),new h("но",-1,1),new h("ено",27,2),new h("нно",27,1),new h("ет",-1,1),new h("ует",30,2),new h("ит",-1,2),new h("ыт",-1,2),new h("ют",-1,1),new h("уют",34,2),new h("ят",-1,2),new h("ны",-1,1),new h("ены",37,2),new h("ть",-1,1),new h("ить",39,2),new h("ыть",39,2),new h("ешь",-1,1),new h("ишь",-1,2),new h("ю",-1,2),new h("ую",44,2)],s=[new h("а",-1,1),new h("ев",-1,1),new h("ов",-1,1),new h("е",-1,1),new h("ие",3,1),new h("ье",3,1),new h("и",-1,1),new h("еи",6,1),new h("ии",6,1),new h("ами",6,1),new h("ями",6,1),new h("иями",10,1),new h("й",-1,1),new h("ей",12,1),new h("ией",13,1),new h("ий",12,1),new h("ой",12,1),new h("ам",-1,1),new h("ем",-1,1),new h("ием",18,1),new h("ом",-1,1),new h("ям",-1,1),new h("иям",21,1),new h("о",-1,1),new h("у",-1,1),new h("ах",-1,1),new h("ях",-1,1),new h("иях",26,1),new h("ы",-1,1),new h("ь",-1,1),new h("ю",-1,1),new h("ию",30,1),new h("ью",30,1),new h("я",-1,1),new h("ия",33,1),new h("ья",33,1)],o=[new h("ост",-1,1),new h("ость",-1,1)],c=[new h("ейше",-1,1),new h("н",-1,2),new h("ейш",-1,1),new h("ь",-1,3)],m=[33,65,8,232],l=new g;function f(){for(;!l.in_grouping(m,1072,1103);){if(l.cursor>=l.limit)return!1;l.cursor++}return!0}function a(){for(;!l.out_grouping(m,1072,1103);){if(l.cursor>=l.limit)return!1;l.cursor++}return!0}function p(e,n){var r,t;if(l.ket=l.cursor,r=l.find_among_b(e,n)){switch(l.bra=l.cursor,r){case 1:if(t=l.limit-l.cursor,!l.eq_s_b(1,"а")&&(l.cursor=l.limit-t,!l.eq_s_b(1,"я")))return!1;case 2:l.slice_del()}return!0}return!1}function d(e,n){var r;return l.ket=l.cursor,!!(r=l.find_among_b(e,n))&&(l.bra=l.cursor,1==r&&l.slice_del(),!0)}function _(){return!!d(t,26)&&(p(w,8),!0)}function b(){var e;l.ket=l.cursor,(e=l.find_among_b(o,2))&&(l.bra=l.cursor,n<=l.cursor&&1==e&&l.slice_del())}this.setCurrent=function(e){l.setCurrent(e)},this.getCurrent=function(){return l.getCurrent()},this.stem=function(){return e=l.limit,n=e,f()&&(e=l.cursor,a()&&f()&&a()&&(n=l.cursor)),l.cursor=l.limit,!(l.cursor>3]&1<<(7&s))return this.cursor++,!0}return!1},in_grouping_b:function(r,t,i){if(this.cursor>this.limit_backward){var s=b.charCodeAt(this.cursor-1);if(s<=i&&t<=s&&r[(s-=t)>>3]&1<<(7&s))return this.cursor--,!0}return!1},out_grouping:function(r,t,i){if(this.cursor>3]&1<<(7&s)))return this.cursor++,!0}return!1},out_grouping_b:function(r,t,i){if(this.cursor>this.limit_backward){var s=b.charCodeAt(this.cursor-1);if(i>3]&1<<(7&s)))return this.cursor--,!0}return!1},eq_s:function(r,t){if(this.limit-this.cursor>1),a=0,f=u=(l=r[i]).s_size){if(this.cursor=e+l.s_size,!l.method)return l.result;var m=l.method();if(this.cursor=e+l.s_size,m)return l.result}if((i=l.substring_i)<0)return 0}},find_among_b:function(r,t){for(var i=0,s=t,e=this.cursor,n=this.limit_backward,u=0,o=0,h=!1;;){for(var c=i+(s-i>>1),a=0,f=u=(_=r[i]).s_size){if(this.cursor=e-_.s_size,!_.method)return _.result;var m=_.method();if(this.cursor=e-_.s_size,m)return _.result}if((i=_.substring_i)<0)return 0}},replace_s:function(r,t,i){var s=i.length-(t-r);return b=b.substring(0,r)+i+b.substring(t),this.limit+=s,this.cursor>=t?this.cursor+=s:this.cursor>r&&(this.cursor=r),s},slice_check:function(){if(this.bra<0||this.bra>this.ket||this.ket>this.limit||this.limit>b.length)throw"faulty slice operation"},slice_from:function(r){this.slice_check(),this.replace_s(this.bra,this.ket,r)},slice_del:function(){this.slice_from("")},insert:function(r,t,i){var s=this.replace_s(r,t,i);r<=this.bra&&(this.bra+=s),r<=this.ket&&(this.ket+=s)},slice_to:function(){return this.slice_check(),b.substring(this.bra,this.ket)},eq_v_b:function(r){return this.eq_s_b(r.length,r)}}}},r.trimmerSupport={generateTrimmer:function(r){var t=new RegExp("^[^"+r+"]+"),i=new RegExp("[^"+r+"]+$");return function(r){return"function"==typeof r.update?r.update(function(r){return r.replace(t,"").replace(i,"")}):r.replace(t,"").replace(i,"")}}}}}); \ No newline at end of file diff --git a/assets/javascripts/lunr/lunr.sv.js b/assets/javascripts/lunr/lunr.sv.js new file mode 100644 index 000000000..a46a4e709 --- /dev/null +++ b/assets/javascripts/lunr/lunr.sv.js @@ -0,0 +1,17 @@ +/*! + * Lunr languages, `Swedish` language + * https://github.com/MihaiValentin/lunr-languages + * + * Copyright 2014, Mihai Valentin + * http://www.mozilla.org/MPL/ + */ +/*! + * based on + * Snowball JavaScript Library v0.3 + * http://code.google.com/p/urim/ + * http://snowball.tartarus.org/ + * + * Copyright 2010, Oleg Mazko + * http://www.mozilla.org/MPL/ + */ +!function(e,r){"function"==typeof define&&define.amd?define(r):"object"==typeof exports?module.exports=r():r()(e.lunr)}(this,function(){return function(e){if(void 0===e)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===e.stemmerSupport)throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");var r,l,n;e.sv=function(){this.pipeline.reset(),this.pipeline.add(e.sv.trimmer,e.sv.stopWordFilter,e.sv.stemmer),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add(e.sv.stemmer))},e.sv.wordCharacters="A-Za-zªºÀ-ÖØ-öø-ʸˠ-ˤᴀ-ᴥᴬ-ᵜᵢ-ᵥᵫ-ᵷᵹ-ᶾḀ-ỿⁱⁿₐ-ₜKÅℲⅎⅠ-ↈⱠ-ⱿꜢ-ꞇꞋ-ꞭꞰ-ꞷꟷ-ꟿꬰ-ꭚꭜ-ꭤff-stA-Za-z",e.sv.trimmer=e.trimmerSupport.generateTrimmer(e.sv.wordCharacters),e.Pipeline.registerFunction(e.sv.trimmer,"trimmer-sv"),e.sv.stemmer=(r=e.stemmerSupport.Among,l=e.stemmerSupport.SnowballProgram,n=new function(){var n,t,i=[new r("a",-1,1),new r("arna",0,1),new r("erna",0,1),new r("heterna",2,1),new r("orna",0,1),new r("ad",-1,1),new r("e",-1,1),new r("ade",6,1),new r("ande",6,1),new r("arne",6,1),new r("are",6,1),new r("aste",6,1),new r("en",-1,1),new r("anden",12,1),new r("aren",12,1),new r("heten",12,1),new r("ern",-1,1),new r("ar",-1,1),new r("er",-1,1),new r("heter",18,1),new r("or",-1,1),new r("s",-1,2),new r("as",21,1),new r("arnas",22,1),new r("ernas",22,1),new r("ornas",22,1),new r("es",21,1),new r("ades",26,1),new r("andes",26,1),new r("ens",21,1),new r("arens",29,1),new r("hetens",29,1),new r("erns",21,1),new r("at",-1,1),new r("andet",-1,1),new r("het",-1,1),new r("ast",-1,1)],s=[new r("dd",-1,-1),new r("gd",-1,-1),new r("nn",-1,-1),new r("dt",-1,-1),new r("gt",-1,-1),new r("kt",-1,-1),new r("tt",-1,-1)],a=[new r("ig",-1,1),new r("lig",0,1),new r("els",-1,1),new r("fullt",-1,3),new r("löst",-1,2)],o=[17,65,16,1,0,0,0,0,0,0,0,0,0,0,0,0,24,0,32],u=[119,127,149],m=new l;this.setCurrent=function(e){m.setCurrent(e)},this.getCurrent=function(){return m.getCurrent()},this.stem=function(){var e,r=m.cursor;return function(){var e,r=m.cursor+3;if(t=m.limit,0<=r||r<=m.limit){for(n=r;;){if(e=m.cursor,m.in_grouping(o,97,246)){m.cursor=e;break}if(m.cursor=e,m.cursor>=m.limit)return;m.cursor++}for(;!m.out_grouping(o,97,246);){if(m.cursor>=m.limit)return;m.cursor++}(t=m.cursor)=t&&(m.limit_backward=t,m.cursor=m.limit,m.ket=m.cursor,e=m.find_among_b(i,37),m.limit_backward=r,e))switch(m.bra=m.cursor,e){case 1:m.slice_del();break;case 2:m.in_grouping_b(u,98,121)&&m.slice_del()}}(),m.cursor=m.limit,e=m.limit_backward,m.cursor>=t&&(m.limit_backward=t,m.cursor=m.limit,m.find_among_b(s,7)&&(m.cursor=m.limit,m.ket=m.cursor,m.cursor>m.limit_backward&&(m.bra=--m.cursor,m.slice_del())),m.limit_backward=e),m.cursor=m.limit,function(){var e,r;if(m.cursor>=t){if(r=m.limit_backward,m.limit_backward=t,m.cursor=m.limit,m.ket=m.cursor,e=m.find_among_b(a,5))switch(m.bra=m.cursor,e){case 1:m.slice_del();break;case 2:m.slice_from("lös");break;case 3:m.slice_from("full")}m.limit_backward=r}}(),!0}},function(e){return"function"==typeof e.update?e.update(function(e){return n.setCurrent(e),n.stem(),n.getCurrent()}):(n.setCurrent(e),n.stem(),n.getCurrent())}),e.Pipeline.registerFunction(e.sv.stemmer,"stemmer-sv"),e.sv.stopWordFilter=e.generateStopWordFilter("alla allt att av blev bli blir blivit de dem den denna deras dess dessa det detta dig din dina ditt du där då efter ej eller en er era ert ett från för ha hade han hans har henne hennes hon honom hur här i icke ingen inom inte jag ju kan kunde man med mellan men mig min mina mitt mot mycket ni nu när någon något några och om oss på samma sedan sig sin sina sitta själv skulle som så sådan sådana sådant till under upp ut utan vad var vara varför varit varje vars vart vem vi vid vilka vilkas vilken vilket vår våra vårt än är åt över".split(" ")),e.Pipeline.registerFunction(e.sv.stopWordFilter,"stopWordFilter-sv")}}); \ No newline at end of file diff --git a/assets/javascripts/lunr/lunr.th.js b/assets/javascripts/lunr/lunr.th.js new file mode 100644 index 000000000..7f9887f7b --- /dev/null +++ b/assets/javascripts/lunr/lunr.th.js @@ -0,0 +1,17 @@ +/*! + * Lunr languages, `Thai` language + * https://github.com/MihaiValentin/lunr-languages + * + * Copyright 2017, Keerati Thiwanruk + * http://www.mozilla.org/MPL/ + */ +/*! + * based on + * Snowball JavaScript Library v0.3 + * http://code.google.com/p/urim/ + * http://snowball.tartarus.org/ + * + * Copyright 2010, Oleg Mazko + * http://www.mozilla.org/MPL/ + */ +!function(e,r){"function"==typeof define&&define.amd?define(r):"object"==typeof exports?module.exports=r():r()(e.lunr)}(this,function(){return function(t){if(void 0===t)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===t.stemmerSupport)throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");var i="2"==t.version[0];t.th=function(){this.pipeline.reset(),this.pipeline.add(t.th.trimmer),i?this.tokenizer=t.th.tokenizer:(t.tokenizer&&(t.tokenizer=t.th.tokenizer),this.tokenizerFn&&(this.tokenizerFn=t.th.tokenizer))},t.th.wordCharacters="[฀-๿]",t.th.trimmer=t.trimmerSupport.generateTrimmer(t.th.wordCharacters),t.Pipeline.registerFunction(t.th.trimmer,"trimmer-th");var n=t.wordcut;n.init(),t.th.tokenizer=function(e){if(!arguments.length||null==e||null==e)return[];if(Array.isArray(e))return e.map(function(e){return i?new t.Token(e):e});var r=e.toString().replace(/^\s+/,"");return n.cut(r).split("|")}}}); \ No newline at end of file diff --git a/assets/javascripts/lunr/lunr.tr.js b/assets/javascripts/lunr/lunr.tr.js new file mode 100644 index 000000000..64ba95cb1 --- /dev/null +++ b/assets/javascripts/lunr/lunr.tr.js @@ -0,0 +1,17 @@ +/*! + * Lunr languages, `Turkish` language + * https://github.com/MihaiValentin/lunr-languages + * + * Copyright 2014, Mihai Valentin + * http://www.mozilla.org/MPL/ + */ +/*! + * based on + * Snowball JavaScript Library v0.3 + * http://code.google.com/p/urim/ + * http://snowball.tartarus.org/ + * + * Copyright 2010, Oleg Mazko + * http://www.mozilla.org/MPL/ + */ +!function(r,i){"function"==typeof define&&define.amd?define(i):"object"==typeof exports?module.exports=i():i()(r.lunr)}(this,function(){return function(r){if(void 0===r)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===r.stemmerSupport)throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");var mr,dr,i;r.tr=function(){this.pipeline.reset(),this.pipeline.add(r.tr.trimmer,r.tr.stopWordFilter,r.tr.stemmer),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add(r.tr.stemmer))},r.tr.wordCharacters="A-Za-zªºÀ-ÖØ-öø-ʸˠ-ˤᴀ-ᴥᴬ-ᵜᵢ-ᵥᵫ-ᵷᵹ-ᶾḀ-ỿⁱⁿₐ-ₜKÅℲⅎⅠ-ↈⱠ-ⱿꜢ-ꞇꞋ-ꞭꞰ-ꞷꟷ-ꟿꬰ-ꭚꭜ-ꭤff-stA-Za-z",r.tr.trimmer=r.trimmerSupport.generateTrimmer(r.tr.wordCharacters),r.Pipeline.registerFunction(r.tr.trimmer,"trimmer-tr"),r.tr.stemmer=(mr=r.stemmerSupport.Among,dr=r.stemmerSupport.SnowballProgram,i=new function(){var t,r=[new mr("m",-1,-1),new mr("n",-1,-1),new mr("miz",-1,-1),new mr("niz",-1,-1),new mr("muz",-1,-1),new mr("nuz",-1,-1),new mr("müz",-1,-1),new mr("nüz",-1,-1),new mr("mız",-1,-1),new mr("nız",-1,-1)],i=[new mr("leri",-1,-1),new mr("ları",-1,-1)],e=[new mr("ni",-1,-1),new mr("nu",-1,-1),new mr("nü",-1,-1),new mr("nı",-1,-1)],n=[new mr("in",-1,-1),new mr("un",-1,-1),new mr("ün",-1,-1),new mr("ın",-1,-1)],u=[new mr("a",-1,-1),new mr("e",-1,-1)],o=[new mr("na",-1,-1),new mr("ne",-1,-1)],s=[new mr("da",-1,-1),new mr("ta",-1,-1),new mr("de",-1,-1),new mr("te",-1,-1)],c=[new mr("nda",-1,-1),new mr("nde",-1,-1)],l=[new mr("dan",-1,-1),new mr("tan",-1,-1),new mr("den",-1,-1),new mr("ten",-1,-1)],a=[new mr("ndan",-1,-1),new mr("nden",-1,-1)],m=[new mr("la",-1,-1),new mr("le",-1,-1)],d=[new mr("ca",-1,-1),new mr("ce",-1,-1)],f=[new mr("im",-1,-1),new mr("um",-1,-1),new mr("üm",-1,-1),new mr("ım",-1,-1)],b=[new mr("sin",-1,-1),new mr("sun",-1,-1),new mr("sün",-1,-1),new mr("sın",-1,-1)],w=[new mr("iz",-1,-1),new mr("uz",-1,-1),new mr("üz",-1,-1),new mr("ız",-1,-1)],_=[new mr("siniz",-1,-1),new mr("sunuz",-1,-1),new mr("sünüz",-1,-1),new mr("sınız",-1,-1)],k=[new mr("lar",-1,-1),new mr("ler",-1,-1)],p=[new mr("niz",-1,-1),new mr("nuz",-1,-1),new mr("nüz",-1,-1),new mr("nız",-1,-1)],g=[new mr("dir",-1,-1),new mr("tir",-1,-1),new mr("dur",-1,-1),new mr("tur",-1,-1),new mr("dür",-1,-1),new mr("tür",-1,-1),new mr("dır",-1,-1),new mr("tır",-1,-1)],y=[new mr("casına",-1,-1),new mr("cesine",-1,-1)],z=[new mr("di",-1,-1),new mr("ti",-1,-1),new mr("dik",-1,-1),new mr("tik",-1,-1),new mr("duk",-1,-1),new mr("tuk",-1,-1),new mr("dük",-1,-1),new mr("tük",-1,-1),new mr("dık",-1,-1),new mr("tık",-1,-1),new mr("dim",-1,-1),new mr("tim",-1,-1),new mr("dum",-1,-1),new mr("tum",-1,-1),new mr("düm",-1,-1),new mr("tüm",-1,-1),new mr("dım",-1,-1),new mr("tım",-1,-1),new mr("din",-1,-1),new mr("tin",-1,-1),new mr("dun",-1,-1),new mr("tun",-1,-1),new mr("dün",-1,-1),new mr("tün",-1,-1),new mr("dın",-1,-1),new mr("tın",-1,-1),new mr("du",-1,-1),new mr("tu",-1,-1),new mr("dü",-1,-1),new mr("tü",-1,-1),new mr("dı",-1,-1),new mr("tı",-1,-1)],h=[new mr("sa",-1,-1),new mr("se",-1,-1),new mr("sak",-1,-1),new mr("sek",-1,-1),new mr("sam",-1,-1),new mr("sem",-1,-1),new mr("san",-1,-1),new mr("sen",-1,-1)],v=[new mr("miş",-1,-1),new mr("muş",-1,-1),new mr("müş",-1,-1),new mr("mış",-1,-1)],q=[new mr("b",-1,1),new mr("c",-1,2),new mr("d",-1,3),new mr("ğ",-1,4)],C=[17,65,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,32,8,0,0,0,0,0,0,1],P=[1,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8,0,0,0,0,0,0,1],F=[65],S=[65],W=[["a",[1,64,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],97,305],["e",[17,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,130],101,252],["ı",[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],97,305],["i",[17],101,105],["o",F,111,117],["ö",S,246,252],["u",F,111,117]],L=new dr;function x(r,i,e){for(;;){var n=L.limit-L.cursor;if(L.in_grouping_b(r,i,e)){L.cursor=L.limit-n;break}if(L.cursor=L.limit-n,L.cursor<=L.limit_backward)return!1;L.cursor--}return!0}function A(){var r,i;r=L.limit-L.cursor,x(C,97,305);for(var e=0;eL.limit_backward&&(L.cursor--,e=L.limit-L.cursor,i()))?(L.cursor=L.limit-e,!0):(L.cursor=L.limit-n,r()?(L.cursor=L.limit-n,!1):(L.cursor=L.limit-n,!(L.cursor<=L.limit_backward)&&(L.cursor--,!!i()&&(L.cursor=L.limit-n,!0))))}function j(r){return E(r,function(){return L.in_grouping_b(C,97,305)})}function T(){return j(function(){return L.eq_s_b(1,"n")})}function Z(){return j(function(){return L.eq_s_b(1,"y")})}function B(){return L.find_among_b(r,10)&&E(function(){return L.in_grouping_b(P,105,305)},function(){return L.out_grouping_b(C,97,305)})}function D(){return A()&&L.in_grouping_b(P,105,305)&&j(function(){return L.eq_s_b(1,"s")})}function G(){return L.find_among_b(i,2)}function H(){return A()&&L.find_among_b(n,4)&&T()}function I(){return A()&&L.find_among_b(s,4)}function J(){return A()&&L.find_among_b(c,2)}function K(){return A()&&L.find_among_b(f,4)&&Z()}function M(){return A()&&L.find_among_b(b,4)}function N(){return A()&&L.find_among_b(w,4)&&Z()}function O(){return L.find_among_b(_,4)}function Q(){return A()&&L.find_among_b(k,2)}function R(){return A()&&L.find_among_b(g,8)}function U(){return A()&&L.find_among_b(z,32)&&Z()}function V(){return L.find_among_b(h,8)&&Z()}function X(){return A()&&L.find_among_b(v,4)&&Z()}function Y(){var r=L.limit-L.cursor;return!(X()||(L.cursor=L.limit-r,U()||(L.cursor=L.limit-r,V()||(L.cursor=L.limit-r,L.eq_s_b(3,"ken")&&Z()))))}function $(){if(L.find_among_b(y,2)){var r=L.limit-L.cursor;if(O()||(L.cursor=L.limit-r,Q()||(L.cursor=L.limit-r,K()||(L.cursor=L.limit-r,M()||(L.cursor=L.limit-r,N()||(L.cursor=L.limit-r))))),X())return!1}return!0}function rr(){if(!A()||!L.find_among_b(p,4))return!0;var r=L.limit-L.cursor;return!U()&&(L.cursor=L.limit-r,!V())}function ir(){var r,i,e,n=L.limit-L.cursor;if(L.ket=L.cursor,t=!0,Y()&&(L.cursor=L.limit-n,$()&&(L.cursor=L.limit-n,function(){if(Q()){L.bra=L.cursor,L.slice_del();var r=L.limit-L.cursor;return L.ket=L.cursor,R()||(L.cursor=L.limit-r,U()||(L.cursor=L.limit-r,V()||(L.cursor=L.limit-r,X()||(L.cursor=L.limit-r)))),t=!1}return!0}()&&(L.cursor=L.limit-n,rr()&&(L.cursor=L.limit-n,e=L.limit-L.cursor,!(O()||(L.cursor=L.limit-e,N()||(L.cursor=L.limit-e,M()||(L.cursor=L.limit-e,K()))))||(L.bra=L.cursor,L.slice_del(),i=L.limit-L.cursor,L.ket=L.cursor,X()||(L.cursor=L.limit-i),0)))))){if(L.cursor=L.limit-n,!R())return;L.bra=L.cursor,L.slice_del(),L.ket=L.cursor,r=L.limit-L.cursor,O()||(L.cursor=L.limit-r,Q()||(L.cursor=L.limit-r,K()||(L.cursor=L.limit-r,M()||(L.cursor=L.limit-r,N()||(L.cursor=L.limit-r))))),X()||(L.cursor=L.limit-r)}L.bra=L.cursor,L.slice_del()}function er(){var r,i,e,n;if(L.ket=L.cursor,L.eq_s_b(2,"ki")){if(r=L.limit-L.cursor,I())return L.bra=L.cursor,L.slice_del(),i=L.limit-L.cursor,L.ket=L.cursor,Q()?(L.bra=L.cursor,L.slice_del(),er()):(L.cursor=L.limit-i,B()&&(L.bra=L.cursor,L.slice_del(),L.ket=L.cursor,Q()&&(L.bra=L.cursor,L.slice_del(),er()))),!0;if(L.cursor=L.limit-r,H()){if(L.bra=L.cursor,L.slice_del(),L.ket=L.cursor,e=L.limit-L.cursor,G())L.bra=L.cursor,L.slice_del();else{if(L.cursor=L.limit-e,L.ket=L.cursor,!B()&&(L.cursor=L.limit-e,!D()&&(L.cursor=L.limit-e,!er())))return!0;L.bra=L.cursor,L.slice_del(),L.ket=L.cursor,Q()&&(L.bra=L.cursor,L.slice_del(),er())}return!0}if(L.cursor=L.limit-r,J()){if(n=L.limit-L.cursor,G())L.bra=L.cursor,L.slice_del();else if(L.cursor=L.limit-n,D())L.bra=L.cursor,L.slice_del(),L.ket=L.cursor,Q()&&(L.bra=L.cursor,L.slice_del(),er());else if(L.cursor=L.limit-n,!er())return!1;return!0}}return!1}function nr(r){if(L.ket=L.cursor,!J()&&(L.cursor=L.limit-r,!A()||!L.find_among_b(o,2)))return!1;var i=L.limit-L.cursor;if(G())L.bra=L.cursor,L.slice_del();else if(L.cursor=L.limit-i,D())L.bra=L.cursor,L.slice_del(),L.ket=L.cursor,Q()&&(L.bra=L.cursor,L.slice_del(),er());else if(L.cursor=L.limit-i,!er())return!1;return!0}function tr(r){if(L.ket=L.cursor,!(A()&&L.find_among_b(a,2)||(L.cursor=L.limit-r,A()&&L.find_among_b(e,4))))return!1;var i=L.limit-L.cursor;return!(!D()&&(L.cursor=L.limit-i,!G()))&&(L.bra=L.cursor,L.slice_del(),L.ket=L.cursor,Q()&&(L.bra=L.cursor,L.slice_del(),er()),!0)}function ur(){var r,i=L.limit-L.cursor;return L.ket=L.cursor,!!(H()||(L.cursor=L.limit-i,A()&&L.find_among_b(m,2)&&Z()))&&(L.bra=L.cursor,L.slice_del(),r=L.limit-L.cursor,L.ket=L.cursor,!(!Q()||(L.bra=L.cursor,L.slice_del(),!er()))||(L.cursor=L.limit-r,L.ket=L.cursor,(B()||(L.cursor=L.limit-r,D()||(L.cursor=L.limit-r,er())))&&(L.bra=L.cursor,L.slice_del(),L.ket=L.cursor,Q()&&(L.bra=L.cursor,L.slice_del(),er())),!0))}function or(){var r,i,e=L.limit-L.cursor;if(L.ket=L.cursor,!(I()||(L.cursor=L.limit-e,A()&&L.in_grouping_b(P,105,305)&&Z()||(L.cursor=L.limit-e,A()&&L.find_among_b(u,2)&&Z()))))return!1;if(L.bra=L.cursor,L.slice_del(),L.ket=L.cursor,r=L.limit-L.cursor,B())L.bra=L.cursor,L.slice_del(),i=L.limit-L.cursor,L.ket=L.cursor,Q()||(L.cursor=L.limit-i);else if(L.cursor=L.limit-r,!Q())return!0;return L.bra=L.cursor,L.slice_del(),L.ket=L.cursor,er(),!0}function sr(){var r,i,e=L.limit-L.cursor;if(L.ket=L.cursor,Q())return L.bra=L.cursor,L.slice_del(),void er();if(L.cursor=L.limit-e,L.ket=L.cursor,A()&&L.find_among_b(d,2)&&T())if(L.bra=L.cursor,L.slice_del(),r=L.limit-L.cursor,L.ket=L.cursor,G())L.bra=L.cursor,L.slice_del();else{if(L.cursor=L.limit-r,L.ket=L.cursor,!B()&&(L.cursor=L.limit-r,!D())){if(L.cursor=L.limit-r,L.ket=L.cursor,!Q())return;if(L.bra=L.cursor,L.slice_del(),!er())return}L.bra=L.cursor,L.slice_del(),L.ket=L.cursor,Q()&&(L.bra=L.cursor,L.slice_del(),er())}else if(L.cursor=L.limit-e,!nr(e)&&(L.cursor=L.limit-e,!tr(e))){if(L.cursor=L.limit-e,L.ket=L.cursor,A()&&L.find_among_b(l,4))return L.bra=L.cursor,L.slice_del(),L.ket=L.cursor,i=L.limit-L.cursor,void(B()?(L.bra=L.cursor,L.slice_del(),L.ket=L.cursor,Q()&&(L.bra=L.cursor,L.slice_del(),er())):(L.cursor=L.limit-i,Q()?(L.bra=L.cursor,L.slice_del()):L.cursor=L.limit-i,er()));if(L.cursor=L.limit-e,!ur()){if(L.cursor=L.limit-e,G())return L.bra=L.cursor,void L.slice_del();L.cursor=L.limit-e,er()||(L.cursor=L.limit-e,or()||(L.cursor=L.limit-e,L.ket=L.cursor,(B()||(L.cursor=L.limit-e,D()))&&(L.bra=L.cursor,L.slice_del(),L.ket=L.cursor,Q()&&(L.bra=L.cursor,L.slice_del(),er()))))}}}function cr(r,i,e){if(L.cursor=L.limit-r,function(){for(;;){var r=L.limit-L.cursor;if(L.in_grouping_b(C,97,305)){L.cursor=L.limit-r;break}if(L.cursor=L.limit-r,L.cursor<=L.limit_backward)return!1;L.cursor--}return!0}()){var n=L.limit-L.cursor;if(!L.eq_s_b(1,i)&&(L.cursor=L.limit-n,!L.eq_s_b(1,e)))return!0;L.cursor=L.limit-r;var t=L.cursor;return L.insert(L.cursor,L.cursor,e),L.cursor=t,!1}return!0}function lr(r,i,e){for(;!L.eq_s(i,e);){if(L.cursor>=L.limit)return!0;L.cursor++}return i!=L.limit||(L.cursor=r,!1)}function ar(){var r,i,e=L.cursor;return!(!lr(r=L.cursor,2,"ad")||!lr(L.cursor=r,5,"soyad"))&&(L.limit_backward=e,L.cursor=L.limit,i=L.limit-L.cursor,(L.eq_s_b(1,"d")||(L.cursor=L.limit-i,L.eq_s_b(1,"g")))&&cr(i,"a","ı")&&cr(i,"e","i")&&cr(i,"o","u")&&cr(i,"ö","ü"),L.cursor=L.limit,function(){var r;if(L.ket=L.cursor,r=L.find_among_b(q,4))switch(L.bra=L.cursor,r){case 1:L.slice_from("p");break;case 2:L.slice_from("ç");break;case 3:L.slice_from("t");break;case 4:L.slice_from("k")}}(),!0)}this.setCurrent=function(r){L.setCurrent(r)},this.getCurrent=function(){return L.getCurrent()},this.stem=function(){return!!(function(){for(var r,i=L.cursor,e=2;;){for(r=L.cursor;!L.in_grouping(C,97,305);){if(L.cursor>=L.limit)return L.cursor=r,!(0e&&(this._events[n].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[n].length),"function"==typeof console.trace&&console.trace()));return this},r.prototype.once=function(n,t){if(!a(t))throw TypeError("listener must be a function");var e=!1;function r(){this.removeListener(n,r),e||(e=!0,t.apply(this,arguments))}return r.listener=t,this.on(n,r),this},r.prototype.removeListener=function(n,t){var e,r,i,o;if(!a(t))throw TypeError("listener must be a function");if(!this._events||!this._events[n])return this;if(i=(e=this._events[n]).length,r=-1,e===t||a(e.listener)&&e.listener===t)delete this._events[n],this._events.removeListener&&this.emit("removeListener",n,t);else if(c(e)){for(o=i;0this.maxLength)return i();if(!this.stat&&p(this.cache,o)){var t=this.cache[o];if(Array.isArray(t)&&(t="DIR"),!n||"DIR"===t)return i(null,t);if(n&&"FILE"===t)return i()}var e=this.statCache[o];if(void 0!==e){if(!1===e)return i(null,e);var s=e.isDirectory()?"DIR":"FILE";return n&&"FILE"===s?i():i(null,s,e)}var a=this,c=d("stat\0"+o,function(n,e){{if(e&&e.isSymbolicLink())return u.stat(o,function(n,t){n?a._stat2(r,o,null,e,i):a._stat2(r,o,n,t,i)});a._stat2(r,o,n,e,i)}});c&&u.lstat(o,c)},b.prototype._stat2=function(n,t,e,r,i){if(e)return this.statCache[t]=!1,i();var o="/"===n.slice(-1);if(this.statCache[t]=r,"/"===t.slice(-1)&&!r.isDirectory())return i(null,!1,r);var s=r.isDirectory()?"DIR":"FILE";return this.cache[t]=this.cache[t]||s,o&&"DIR"!==s?i():i(null,s,r)}}).call(this,_("_process"))},{"./common.js":15,"./sync.js":17,_process:24,assert:9,events:14,fs:12,inflight:18,inherits:19,minimatch:20,once:21,path:22,"path-is-absolute":23,util:28}],17:[function(e,r,n){(function(i){(r.exports=n).GlobSync=h;var s=e("fs"),c=e("minimatch"),g=(c.Minimatch,e("./glob.js").Glob,e("util"),e("path")),u=e("assert"),l=e("path-is-absolute"),t=e("./common.js"),o=(t.alphasort,t.alphasorti,t.setopts),a=t.ownProp,f=t.childrenIgnored;function n(n,t){if("function"==typeof t||3===arguments.length)throw new TypeError("callback provided to sync glob\nSee: https://github.com/isaacs/node-glob/issues/167");return new h(n,t).found}function h(n,t){if(!n)throw new Error("must provide pattern");if("function"==typeof t||3===arguments.length)throw new TypeError("callback provided to sync glob\nSee: https://github.com/isaacs/node-glob/issues/167");if(!(this instanceof h))return new h(n,t);if(o(this,n,t),this.noprocess)return this;var e=this.minimatch.set.length;this.matches=new Array(e);for(var r=0;rthis.maxLength)return!1;if(!this.stat&&a(this.cache,t)){var r=this.cache[t];if(Array.isArray(r)&&(r="DIR"),!e||"DIR"===r)return r;if(e&&"FILE"===r)return!1}var i=this.statCache[t];if(!i){var o;try{o=s.lstatSync(t)}catch(n){return!1}if(o.isSymbolicLink())try{i=s.statSync(t)}catch(n){i=o}else i=o}r=(this.statCache[t]=i).isDirectory()?"DIR":"FILE";return this.cache[t]=this.cache[t]||r,(!e||"DIR"===r)&&r},h.prototype._mark=function(n){return t.mark(this,n)},h.prototype._makeAbs=function(n){return t.makeAbs(this,n)}}).call(this,e("_process"))},{"./common.js":15,"./glob.js":16,_process:24,assert:9,fs:12,minimatch:20,path:22,"path-is-absolute":23,util:28}],18:[function(t,r,n){(function(s){var n=t("wrappy"),a=Object.create(null),e=t("once");r.exports=n(function(n,t){return a[n]?(a[n].push(t),null):(a[n]=[t],o=n,e(function n(){var t=a[o],e=t.length,r=function(n){for(var t=n.length,e=[],r=0;re?(t.splice(0,e),s.nextTick(function(){n.apply(null,r)})):delete a[o]}}));var o})}).call(this,t("_process"))},{_process:24,once:21,wrappy:29}],19:[function(n,t,e){"function"==typeof Object.create?t.exports=function(n,t){n.super_=t,n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(n,t){n.super_=t;var e=function(){};e.prototype=t.prototype,n.prototype=new e,n.prototype.constructor=n}},{}],20:[function(n,t,e){(t.exports=s).Minimatch=i;var u={sep:"/"};try{u=n("path")}catch(n){}var M=s.GLOBSTAR=i.GLOBSTAR={},r=n("brace-expansion"),C={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},P="[^/]",z=P+"*?",B="().*{}+?[]^$\\!".split("").reduce(function(n,t){return n[t]=!0,n},{});var l=/\/+/;function o(t,e){t=t||{},e=e||{};var r={};return Object.keys(e).forEach(function(n){r[n]=e[n]}),Object.keys(t).forEach(function(n){r[n]=t[n]}),r}function s(n,t,e){if("string"!=typeof t)throw new TypeError("glob pattern string required");return e||(e={}),!(!e.nocomment&&"#"===t.charAt(0))&&(""===t.trim()?""===n:new i(t,e).match(n))}function i(n,t){if(!(this instanceof i))return new i(n,t);if("string"!=typeof n)throw new TypeError("glob pattern string required");t||(t={}),n=n.trim(),"/"!==u.sep&&(n=n.split(u.sep).join("/")),this.options=t,this.set=[],this.pattern=n,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.make()}function a(n,t){if(t||(t=this instanceof i?this.options:{}),void 0===(n=void 0===n?this.pattern:n))throw new TypeError("undefined pattern");return t.nobrace||!n.match(/\{.*\}/)?[n]:r(n)}s.filter=function(r,i){return i=i||{},function(n,t,e){return s(n,r,i)}},s.defaults=function(r){if(!r||!Object.keys(r).length)return s;var i=s,n=function(n,t,e){return i.minimatch(n,t,o(r,e))};return n.Minimatch=function(n,t){return new i.Minimatch(n,o(r,t))},n},i.defaults=function(n){return n&&Object.keys(n).length?s.defaults(n).Minimatch:i},i.prototype.debug=function(){},i.prototype.make=function(){if(this._made)return;var n=this.pattern,t=this.options;if(!t.nocomment&&"#"===n.charAt(0))return void(this.comment=!0);if(!n)return void(this.empty=!0);this.parseNegate();var e=this.globSet=this.braceExpand();t.debug&&(this.debug=console.error);this.debug(this.pattern,e),e=this.globParts=e.map(function(n){return n.split(l)}),this.debug(this.pattern,e),e=e.map(function(n,t,e){return n.map(this.parse,this)},this),this.debug(this.pattern,e),e=e.filter(function(n){return-1===n.indexOf(!1)}),this.debug(this.pattern,e),this.set=e},i.prototype.parseNegate=function(){var n=this.pattern,t=!1,e=this.options,r=0;if(e.nonegate)return;for(var i=0,o=n.length;i>> no match, partial?",n,f,t,h),f!==s))}if("string"==typeof u?(c=r.nocase?l.toLowerCase()===u.toLowerCase():l===u,this.debug("string match",u,l,c)):(c=l.match(u),this.debug("pattern match",u,l,c)),!c)return!1}if(i===s&&o===a)return!0;if(i===s)return e;if(o===a)return i===s-1&&""===n[i];throw new Error("wtf?")}},{"brace-expansion":11,path:22}],21:[function(n,t,e){var r=n("wrappy");function i(n){var t=function(){return t.called?t.value:(t.called=!0,t.value=n.apply(this,arguments))};return t.called=!1,t}function o(n){var t=function(){if(t.called)throw new Error(t.onceError);return t.called=!0,t.value=n.apply(this,arguments)},e=n.name||"Function wrapped with `once`";return t.onceError=e+" shouldn't be called more than once",t.called=!1,t}t.exports=r(i),t.exports.strict=r(o),i.proto=i(function(){Object.defineProperty(Function.prototype,"once",{value:function(){return i(this)},configurable:!0}),Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return o(this)},configurable:!0})})},{wrappy:29}],22:[function(n,t,u){(function(i){function o(n,t){for(var e=0,r=n.length-1;0<=r;r--){var i=n[r];"."===i?n.splice(r,1):".."===i?(n.splice(r,1),e++):e&&(n.splice(r,1),e--)}if(t)for(;e--;e)n.unshift("..");return n}var t=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,s=function(n){return t.exec(n).slice(1)};function a(n,t){if(n.filter)return n.filter(t);for(var e=[],r=0;r":">",'"':""","'":"'","`":"`"},D=d.invert(N),F=function(t){var e=function(n){return t[n]},n="(?:"+d.keys(t).join("|")+")",r=RegExp(n),i=RegExp(n,"g");return function(n){return n=null==n?"":""+n,r.test(n)?n.replace(i,e):n}};d.escape=F(N),d.unescape=F(D),d.result=function(n,t,e){var r=null==n?void 0:n[t];return void 0===r&&(r=e),d.isFunction(r)?r.call(n):r};var M=0;d.uniqueId=function(n){var t=++M+"";return n?n+t:t},d.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var C=/(.)^/,P={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},z=/\\|'|\r|\n|\u2028|\u2029/g,B=function(n){return"\\"+P[n]};d.template=function(o,n,t){!n&&t&&(n=t),n=d.defaults({},n,d.templateSettings);var e=RegExp([(n.escape||C).source,(n.interpolate||C).source,(n.evaluate||C).source].join("|")+"|$","g"),s=0,a="__p+='";o.replace(e,function(n,t,e,r,i){return a+=o.slice(s,i).replace(z,B),s=i+n.length,t?a+="'+\n((__t=("+t+"))==null?'':_.escape(__t))+\n'":e?a+="'+\n((__t=("+e+"))==null?'':__t)+\n'":r&&(a+="';\n"+r+"\n__p+='"),n}),a+="';\n",n.variable||(a="with(obj||{}){\n"+a+"}\n"),a="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+a+"return __p;\n";try{var r=new Function(n.variable||"obj","_",a)}catch(n){throw n.source=a,n}var i=function(n){return r.call(this,n,d)},c=n.variable||"obj";return i.source="function("+c+"){\n"+a+"}",i},d.chain=function(n){var t=d(n);return t._chain=!0,t};var U=function(n,t){return n._chain?d(t).chain():t};d.mixin=function(e){d.each(d.functions(e),function(n){var t=d[n]=e[n];d.prototype[n]=function(){var n=[this._wrapped];return i.apply(n,arguments),U(this,t.apply(d,n))}})},d.mixin(d),d.each(["pop","push","reverse","shift","sort","splice","unshift"],function(t){var e=r[t];d.prototype[t]=function(){var n=this._wrapped;return e.apply(n,arguments),"shift"!==t&&"splice"!==t||0!==n.length||delete n[0],U(this,n)}}),d.each(["concat","join","slice"],function(n){var t=r[n];d.prototype[n]=function(){return U(this,t.apply(this._wrapped,arguments))}}),d.prototype.value=function(){return this._wrapped},d.prototype.valueOf=d.prototype.toJSON=d.prototype.value,d.prototype.toString=function(){return""+this._wrapped}}).call(this)},{}],26:[function(n,t,e){arguments[4][19][0].apply(e,arguments)},{dup:19}],27:[function(n,t,e){t.exports=function(n){return n&&"object"==typeof n&&"function"==typeof n.copy&&"function"==typeof n.fill&&"function"==typeof n.readUInt8}},{}],28:[function(h,n,k){(function(r,i){var a=/%[sdj%]/g;k.format=function(n){if(!_(n)){for(var t=[],e=0;e.md-nav__link{color:inherit}button[data-md-color-primary=pink]{background-color:#e91e63}[data-md-color-primary=pink] .md-typeset a{color:#e91e63}[data-md-color-primary=pink] .md-header,[data-md-color-primary=pink] .md-hero{background-color:#e91e63}[data-md-color-primary=pink] .md-nav__link--active,[data-md-color-primary=pink] .md-nav__link:active{color:#e91e63}[data-md-color-primary=pink] .md-nav__item--nested>.md-nav__link{color:inherit}button[data-md-color-primary=purple]{background-color:#ab47bc}[data-md-color-primary=purple] .md-typeset a{color:#ab47bc}[data-md-color-primary=purple] .md-header,[data-md-color-primary=purple] .md-hero{background-color:#ab47bc}[data-md-color-primary=purple] .md-nav__link--active,[data-md-color-primary=purple] .md-nav__link:active{color:#ab47bc}[data-md-color-primary=purple] .md-nav__item--nested>.md-nav__link{color:inherit}button[data-md-color-primary=deep-purple]{background-color:#7e57c2}[data-md-color-primary=deep-purple] .md-typeset a{color:#7e57c2}[data-md-color-primary=deep-purple] .md-header,[data-md-color-primary=deep-purple] .md-hero{background-color:#7e57c2}[data-md-color-primary=deep-purple] .md-nav__link--active,[data-md-color-primary=deep-purple] .md-nav__link:active{color:#7e57c2}[data-md-color-primary=deep-purple] .md-nav__item--nested>.md-nav__link{color:inherit}button[data-md-color-primary=indigo]{background-color:#3f51b5}[data-md-color-primary=indigo] .md-typeset a{color:#3f51b5}[data-md-color-primary=indigo] .md-header,[data-md-color-primary=indigo] .md-hero{background-color:#3f51b5}[data-md-color-primary=indigo] .md-nav__link--active,[data-md-color-primary=indigo] .md-nav__link:active{color:#3f51b5}[data-md-color-primary=indigo] .md-nav__item--nested>.md-nav__link{color:inherit}button[data-md-color-primary=blue]{background-color:#2196f3}[data-md-color-primary=blue] .md-typeset a{color:#2196f3}[data-md-color-primary=blue] .md-header,[data-md-color-primary=blue] .md-hero{background-color:#2196f3}[data-md-color-primary=blue] .md-nav__link--active,[data-md-color-primary=blue] .md-nav__link:active{color:#2196f3}[data-md-color-primary=blue] .md-nav__item--nested>.md-nav__link{color:inherit}button[data-md-color-primary=light-blue]{background-color:#03a9f4}[data-md-color-primary=light-blue] .md-typeset a{color:#03a9f4}[data-md-color-primary=light-blue] .md-header,[data-md-color-primary=light-blue] .md-hero{background-color:#03a9f4}[data-md-color-primary=light-blue] .md-nav__link--active,[data-md-color-primary=light-blue] .md-nav__link:active{color:#03a9f4}[data-md-color-primary=light-blue] .md-nav__item--nested>.md-nav__link{color:inherit}button[data-md-color-primary=cyan]{background-color:#00bcd4}[data-md-color-primary=cyan] .md-typeset a{color:#00bcd4}[data-md-color-primary=cyan] .md-header,[data-md-color-primary=cyan] .md-hero{background-color:#00bcd4}[data-md-color-primary=cyan] .md-nav__link--active,[data-md-color-primary=cyan] .md-nav__link:active{color:#00bcd4}[data-md-color-primary=cyan] .md-nav__item--nested>.md-nav__link{color:inherit}button[data-md-color-primary=teal]{background-color:#009688}[data-md-color-primary=teal] .md-typeset a{color:#009688}[data-md-color-primary=teal] .md-header,[data-md-color-primary=teal] .md-hero{background-color:#009688}[data-md-color-primary=teal] .md-nav__link--active,[data-md-color-primary=teal] .md-nav__link:active{color:#009688}[data-md-color-primary=teal] .md-nav__item--nested>.md-nav__link{color:inherit}button[data-md-color-primary=green]{background-color:#4caf50}[data-md-color-primary=green] .md-typeset a{color:#4caf50}[data-md-color-primary=green] .md-header,[data-md-color-primary=green] .md-hero{background-color:#4caf50}[data-md-color-primary=green] .md-nav__link--active,[data-md-color-primary=green] .md-nav__link:active{color:#4caf50}[data-md-color-primary=green] .md-nav__item--nested>.md-nav__link{color:inherit}button[data-md-color-primary=light-green]{background-color:#7cb342}[data-md-color-primary=light-green] .md-typeset a{color:#7cb342}[data-md-color-primary=light-green] .md-header,[data-md-color-primary=light-green] .md-hero{background-color:#7cb342}[data-md-color-primary=light-green] .md-nav__link--active,[data-md-color-primary=light-green] .md-nav__link:active{color:#7cb342}[data-md-color-primary=light-green] .md-nav__item--nested>.md-nav__link{color:inherit}button[data-md-color-primary=lime]{background-color:#c0ca33}[data-md-color-primary=lime] .md-typeset a{color:#c0ca33}[data-md-color-primary=lime] .md-header,[data-md-color-primary=lime] .md-hero{background-color:#c0ca33}[data-md-color-primary=lime] .md-nav__link--active,[data-md-color-primary=lime] .md-nav__link:active{color:#c0ca33}[data-md-color-primary=lime] .md-nav__item--nested>.md-nav__link{color:inherit}button[data-md-color-primary=yellow]{background-color:#f9a825}[data-md-color-primary=yellow] .md-typeset a{color:#f9a825}[data-md-color-primary=yellow] .md-header,[data-md-color-primary=yellow] .md-hero{background-color:#f9a825}[data-md-color-primary=yellow] .md-nav__link--active,[data-md-color-primary=yellow] .md-nav__link:active{color:#f9a825}[data-md-color-primary=yellow] .md-nav__item--nested>.md-nav__link{color:inherit}button[data-md-color-primary=amber]{background-color:#ffa000}[data-md-color-primary=amber] .md-typeset a{color:#ffa000}[data-md-color-primary=amber] .md-header,[data-md-color-primary=amber] .md-hero{background-color:#ffa000}[data-md-color-primary=amber] .md-nav__link--active,[data-md-color-primary=amber] .md-nav__link:active{color:#ffa000}[data-md-color-primary=amber] .md-nav__item--nested>.md-nav__link{color:inherit}button[data-md-color-primary=orange]{background-color:#fb8c00}[data-md-color-primary=orange] .md-typeset a{color:#fb8c00}[data-md-color-primary=orange] .md-header,[data-md-color-primary=orange] .md-hero{background-color:#fb8c00}[data-md-color-primary=orange] .md-nav__link--active,[data-md-color-primary=orange] .md-nav__link:active{color:#fb8c00}[data-md-color-primary=orange] .md-nav__item--nested>.md-nav__link{color:inherit}button[data-md-color-primary=deep-orange]{background-color:#ff7043}[data-md-color-primary=deep-orange] .md-typeset a{color:#ff7043}[data-md-color-primary=deep-orange] .md-header,[data-md-color-primary=deep-orange] .md-hero{background-color:#ff7043}[data-md-color-primary=deep-orange] .md-nav__link--active,[data-md-color-primary=deep-orange] .md-nav__link:active{color:#ff7043}[data-md-color-primary=deep-orange] .md-nav__item--nested>.md-nav__link{color:inherit}button[data-md-color-primary=brown]{background-color:#795548}[data-md-color-primary=brown] .md-typeset a{color:#795548}[data-md-color-primary=brown] .md-header,[data-md-color-primary=brown] .md-hero{background-color:#795548}[data-md-color-primary=brown] .md-nav__link--active,[data-md-color-primary=brown] .md-nav__link:active{color:#795548}[data-md-color-primary=brown] .md-nav__item--nested>.md-nav__link{color:inherit}button[data-md-color-primary=grey]{background-color:#757575}[data-md-color-primary=grey] .md-typeset a{color:#757575}[data-md-color-primary=grey] .md-header,[data-md-color-primary=grey] .md-hero{background-color:#757575}[data-md-color-primary=grey] .md-nav__link--active,[data-md-color-primary=grey] .md-nav__link:active{color:#757575}[data-md-color-primary=grey] .md-nav__item--nested>.md-nav__link{color:inherit}button[data-md-color-primary=blue-grey]{background-color:#546e7a}[data-md-color-primary=blue-grey] .md-typeset a{color:#546e7a}[data-md-color-primary=blue-grey] .md-header,[data-md-color-primary=blue-grey] .md-hero{background-color:#546e7a}[data-md-color-primary=blue-grey] .md-nav__link--active,[data-md-color-primary=blue-grey] .md-nav__link:active{color:#546e7a}[data-md-color-primary=blue-grey] .md-nav__item--nested>.md-nav__link{color:inherit}button[data-md-color-primary=white]{box-shadow:inset 0 0 .05rem rgba(0,0,0,.54)}[data-md-color-primary=white] .md-header,[data-md-color-primary=white] .md-hero,button[data-md-color-primary=white]{background-color:#fff;color:rgba(0,0,0,.87)}[data-md-color-primary=white] .md-hero--expand{border-bottom:.05rem solid rgba(0,0,0,.07)}[data-md-color-primary=black] .md-header,[data-md-color-primary=black] .md-hero,button[data-md-color-primary=black]{background-color:#000}button[data-md-color-accent=red]{background-color:#ff1744}[data-md-color-accent=red] .md-typeset a:active,[data-md-color-accent=red] .md-typeset a:hover{color:#ff1744}[data-md-color-accent=red] .md-typeset .codehilite pre::-webkit-scrollbar-thumb:hover,[data-md-color-accent=red] .md-typeset pre code::-webkit-scrollbar-thumb:hover{background-color:#ff1744}[data-md-color-accent=red] .md-nav__link:focus,[data-md-color-accent=red] .md-nav__link:hover,[data-md-color-accent=red] .md-typeset .footnote li:hover .footnote-backref:hover,[data-md-color-accent=red] .md-typeset .footnote li:target .footnote-backref,[data-md-color-accent=red] .md-typeset .md-clipboard:active:before,[data-md-color-accent=red] .md-typeset .md-clipboard:hover:before,[data-md-color-accent=red] .md-typeset [id] .headerlink:focus,[data-md-color-accent=red] .md-typeset [id]:hover .headerlink:hover,[data-md-color-accent=red] .md-typeset [id]:target .headerlink{color:#ff1744}[data-md-color-accent=red] .md-search__scrollwrap::-webkit-scrollbar-thumb:hover{background-color:#ff1744}[data-md-color-accent=red] .md-search-result__link:hover,[data-md-color-accent=red] .md-search-result__link[data-md-state=active]{background-color:rgba(255,23,68,.1)}[data-md-color-accent=red] .md-sidebar__scrollwrap::-webkit-scrollbar-thumb:hover{background-color:#ff1744}[data-md-color-accent=red] .md-source-file:hover:before{background-color:#ff1744}button[data-md-color-accent=pink]{background-color:#f50057}[data-md-color-accent=pink] .md-typeset a:active,[data-md-color-accent=pink] .md-typeset a:hover{color:#f50057}[data-md-color-accent=pink] .md-typeset .codehilite pre::-webkit-scrollbar-thumb:hover,[data-md-color-accent=pink] .md-typeset pre code::-webkit-scrollbar-thumb:hover{background-color:#f50057}[data-md-color-accent=pink] .md-nav__link:focus,[data-md-color-accent=pink] .md-nav__link:hover,[data-md-color-accent=pink] .md-typeset .footnote li:hover .footnote-backref:hover,[data-md-color-accent=pink] .md-typeset .footnote li:target .footnote-backref,[data-md-color-accent=pink] .md-typeset .md-clipboard:active:before,[data-md-color-accent=pink] .md-typeset .md-clipboard:hover:before,[data-md-color-accent=pink] .md-typeset [id] .headerlink:focus,[data-md-color-accent=pink] .md-typeset [id]:hover .headerlink:hover,[data-md-color-accent=pink] .md-typeset [id]:target .headerlink{color:#f50057}[data-md-color-accent=pink] .md-search__scrollwrap::-webkit-scrollbar-thumb:hover{background-color:#f50057}[data-md-color-accent=pink] .md-search-result__link:hover,[data-md-color-accent=pink] .md-search-result__link[data-md-state=active]{background-color:rgba(245,0,87,.1)}[data-md-color-accent=pink] .md-sidebar__scrollwrap::-webkit-scrollbar-thumb:hover{background-color:#f50057}[data-md-color-accent=pink] .md-source-file:hover:before{background-color:#f50057}button[data-md-color-accent=purple]{background-color:#e040fb}[data-md-color-accent=purple] .md-typeset a:active,[data-md-color-accent=purple] .md-typeset a:hover{color:#e040fb}[data-md-color-accent=purple] .md-typeset .codehilite pre::-webkit-scrollbar-thumb:hover,[data-md-color-accent=purple] .md-typeset pre code::-webkit-scrollbar-thumb:hover{background-color:#e040fb}[data-md-color-accent=purple] .md-nav__link:focus,[data-md-color-accent=purple] .md-nav__link:hover,[data-md-color-accent=purple] .md-typeset .footnote li:hover .footnote-backref:hover,[data-md-color-accent=purple] .md-typeset .footnote li:target .footnote-backref,[data-md-color-accent=purple] .md-typeset .md-clipboard:active:before,[data-md-color-accent=purple] .md-typeset .md-clipboard:hover:before,[data-md-color-accent=purple] .md-typeset [id] .headerlink:focus,[data-md-color-accent=purple] .md-typeset [id]:hover .headerlink:hover,[data-md-color-accent=purple] .md-typeset [id]:target .headerlink{color:#e040fb}[data-md-color-accent=purple] .md-search__scrollwrap::-webkit-scrollbar-thumb:hover{background-color:#e040fb}[data-md-color-accent=purple] .md-search-result__link:hover,[data-md-color-accent=purple] .md-search-result__link[data-md-state=active]{background-color:rgba(224,64,251,.1)}[data-md-color-accent=purple] .md-sidebar__scrollwrap::-webkit-scrollbar-thumb:hover{background-color:#e040fb}[data-md-color-accent=purple] .md-source-file:hover:before{background-color:#e040fb}button[data-md-color-accent=deep-purple]{background-color:#7c4dff}[data-md-color-accent=deep-purple] .md-typeset a:active,[data-md-color-accent=deep-purple] .md-typeset a:hover{color:#7c4dff}[data-md-color-accent=deep-purple] .md-typeset .codehilite pre::-webkit-scrollbar-thumb:hover,[data-md-color-accent=deep-purple] .md-typeset pre code::-webkit-scrollbar-thumb:hover{background-color:#7c4dff}[data-md-color-accent=deep-purple] .md-nav__link:focus,[data-md-color-accent=deep-purple] .md-nav__link:hover,[data-md-color-accent=deep-purple] .md-typeset .footnote li:hover .footnote-backref:hover,[data-md-color-accent=deep-purple] .md-typeset .footnote li:target .footnote-backref,[data-md-color-accent=deep-purple] .md-typeset .md-clipboard:active:before,[data-md-color-accent=deep-purple] .md-typeset .md-clipboard:hover:before,[data-md-color-accent=deep-purple] .md-typeset [id] .headerlink:focus,[data-md-color-accent=deep-purple] .md-typeset [id]:hover .headerlink:hover,[data-md-color-accent=deep-purple] .md-typeset [id]:target .headerlink{color:#7c4dff}[data-md-color-accent=deep-purple] .md-search__scrollwrap::-webkit-scrollbar-thumb:hover{background-color:#7c4dff}[data-md-color-accent=deep-purple] .md-search-result__link:hover,[data-md-color-accent=deep-purple] .md-search-result__link[data-md-state=active]{background-color:rgba(124,77,255,.1)}[data-md-color-accent=deep-purple] .md-sidebar__scrollwrap::-webkit-scrollbar-thumb:hover{background-color:#7c4dff}[data-md-color-accent=deep-purple] .md-source-file:hover:before{background-color:#7c4dff}button[data-md-color-accent=indigo]{background-color:#536dfe}[data-md-color-accent=indigo] .md-typeset a:active,[data-md-color-accent=indigo] .md-typeset a:hover{color:#536dfe}[data-md-color-accent=indigo] .md-typeset .codehilite pre::-webkit-scrollbar-thumb:hover,[data-md-color-accent=indigo] .md-typeset pre code::-webkit-scrollbar-thumb:hover{background-color:#536dfe}[data-md-color-accent=indigo] .md-nav__link:focus,[data-md-color-accent=indigo] .md-nav__link:hover,[data-md-color-accent=indigo] .md-typeset .footnote li:hover .footnote-backref:hover,[data-md-color-accent=indigo] .md-typeset .footnote li:target .footnote-backref,[data-md-color-accent=indigo] .md-typeset .md-clipboard:active:before,[data-md-color-accent=indigo] .md-typeset .md-clipboard:hover:before,[data-md-color-accent=indigo] .md-typeset [id] .headerlink:focus,[data-md-color-accent=indigo] .md-typeset [id]:hover .headerlink:hover,[data-md-color-accent=indigo] .md-typeset [id]:target .headerlink{color:#536dfe}[data-md-color-accent=indigo] .md-search__scrollwrap::-webkit-scrollbar-thumb:hover{background-color:#536dfe}[data-md-color-accent=indigo] .md-search-result__link:hover,[data-md-color-accent=indigo] .md-search-result__link[data-md-state=active]{background-color:rgba(83,109,254,.1)}[data-md-color-accent=indigo] .md-sidebar__scrollwrap::-webkit-scrollbar-thumb:hover{background-color:#536dfe}[data-md-color-accent=indigo] .md-source-file:hover:before{background-color:#536dfe}button[data-md-color-accent=blue]{background-color:#448aff}[data-md-color-accent=blue] .md-typeset a:active,[data-md-color-accent=blue] .md-typeset a:hover{color:#448aff}[data-md-color-accent=blue] .md-typeset .codehilite pre::-webkit-scrollbar-thumb:hover,[data-md-color-accent=blue] .md-typeset pre code::-webkit-scrollbar-thumb:hover{background-color:#448aff}[data-md-color-accent=blue] .md-nav__link:focus,[data-md-color-accent=blue] .md-nav__link:hover,[data-md-color-accent=blue] .md-typeset .footnote li:hover .footnote-backref:hover,[data-md-color-accent=blue] .md-typeset .footnote li:target .footnote-backref,[data-md-color-accent=blue] .md-typeset .md-clipboard:active:before,[data-md-color-accent=blue] .md-typeset .md-clipboard:hover:before,[data-md-color-accent=blue] .md-typeset [id] .headerlink:focus,[data-md-color-accent=blue] .md-typeset [id]:hover .headerlink:hover,[data-md-color-accent=blue] .md-typeset [id]:target .headerlink{color:#448aff}[data-md-color-accent=blue] .md-search__scrollwrap::-webkit-scrollbar-thumb:hover{background-color:#448aff}[data-md-color-accent=blue] .md-search-result__link:hover,[data-md-color-accent=blue] .md-search-result__link[data-md-state=active]{background-color:rgba(68,138,255,.1)}[data-md-color-accent=blue] .md-sidebar__scrollwrap::-webkit-scrollbar-thumb:hover{background-color:#448aff}[data-md-color-accent=blue] .md-source-file:hover:before{background-color:#448aff}button[data-md-color-accent=light-blue]{background-color:#0091ea}[data-md-color-accent=light-blue] .md-typeset a:active,[data-md-color-accent=light-blue] .md-typeset a:hover{color:#0091ea}[data-md-color-accent=light-blue] .md-typeset .codehilite pre::-webkit-scrollbar-thumb:hover,[data-md-color-accent=light-blue] .md-typeset pre code::-webkit-scrollbar-thumb:hover{background-color:#0091ea}[data-md-color-accent=light-blue] .md-nav__link:focus,[data-md-color-accent=light-blue] .md-nav__link:hover,[data-md-color-accent=light-blue] .md-typeset .footnote li:hover .footnote-backref:hover,[data-md-color-accent=light-blue] .md-typeset .footnote li:target .footnote-backref,[data-md-color-accent=light-blue] .md-typeset .md-clipboard:active:before,[data-md-color-accent=light-blue] .md-typeset .md-clipboard:hover:before,[data-md-color-accent=light-blue] .md-typeset [id] .headerlink:focus,[data-md-color-accent=light-blue] .md-typeset [id]:hover .headerlink:hover,[data-md-color-accent=light-blue] .md-typeset [id]:target .headerlink{color:#0091ea}[data-md-color-accent=light-blue] .md-search__scrollwrap::-webkit-scrollbar-thumb:hover{background-color:#0091ea}[data-md-color-accent=light-blue] .md-search-result__link:hover,[data-md-color-accent=light-blue] .md-search-result__link[data-md-state=active]{background-color:rgba(0,145,234,.1)}[data-md-color-accent=light-blue] .md-sidebar__scrollwrap::-webkit-scrollbar-thumb:hover{background-color:#0091ea}[data-md-color-accent=light-blue] .md-source-file:hover:before{background-color:#0091ea}button[data-md-color-accent=cyan]{background-color:#00b8d4}[data-md-color-accent=cyan] .md-typeset a:active,[data-md-color-accent=cyan] .md-typeset a:hover{color:#00b8d4}[data-md-color-accent=cyan] .md-typeset .codehilite pre::-webkit-scrollbar-thumb:hover,[data-md-color-accent=cyan] .md-typeset pre code::-webkit-scrollbar-thumb:hover{background-color:#00b8d4}[data-md-color-accent=cyan] .md-nav__link:focus,[data-md-color-accent=cyan] .md-nav__link:hover,[data-md-color-accent=cyan] .md-typeset .footnote li:hover .footnote-backref:hover,[data-md-color-accent=cyan] .md-typeset .footnote li:target .footnote-backref,[data-md-color-accent=cyan] .md-typeset .md-clipboard:active:before,[data-md-color-accent=cyan] .md-typeset .md-clipboard:hover:before,[data-md-color-accent=cyan] .md-typeset [id] .headerlink:focus,[data-md-color-accent=cyan] .md-typeset [id]:hover .headerlink:hover,[data-md-color-accent=cyan] .md-typeset [id]:target .headerlink{color:#00b8d4}[data-md-color-accent=cyan] .md-search__scrollwrap::-webkit-scrollbar-thumb:hover{background-color:#00b8d4}[data-md-color-accent=cyan] .md-search-result__link:hover,[data-md-color-accent=cyan] .md-search-result__link[data-md-state=active]{background-color:rgba(0,184,212,.1)}[data-md-color-accent=cyan] .md-sidebar__scrollwrap::-webkit-scrollbar-thumb:hover{background-color:#00b8d4}[data-md-color-accent=cyan] .md-source-file:hover:before{background-color:#00b8d4}button[data-md-color-accent=teal]{background-color:#00bfa5}[data-md-color-accent=teal] .md-typeset a:active,[data-md-color-accent=teal] .md-typeset a:hover{color:#00bfa5}[data-md-color-accent=teal] .md-typeset .codehilite pre::-webkit-scrollbar-thumb:hover,[data-md-color-accent=teal] .md-typeset pre code::-webkit-scrollbar-thumb:hover{background-color:#00bfa5}[data-md-color-accent=teal] .md-nav__link:focus,[data-md-color-accent=teal] .md-nav__link:hover,[data-md-color-accent=teal] .md-typeset .footnote li:hover .footnote-backref:hover,[data-md-color-accent=teal] .md-typeset .footnote li:target .footnote-backref,[data-md-color-accent=teal] .md-typeset .md-clipboard:active:before,[data-md-color-accent=teal] .md-typeset .md-clipboard:hover:before,[data-md-color-accent=teal] .md-typeset [id] .headerlink:focus,[data-md-color-accent=teal] .md-typeset [id]:hover .headerlink:hover,[data-md-color-accent=teal] .md-typeset [id]:target .headerlink{color:#00bfa5}[data-md-color-accent=teal] .md-search__scrollwrap::-webkit-scrollbar-thumb:hover{background-color:#00bfa5}[data-md-color-accent=teal] .md-search-result__link:hover,[data-md-color-accent=teal] .md-search-result__link[data-md-state=active]{background-color:rgba(0,191,165,.1)}[data-md-color-accent=teal] .md-sidebar__scrollwrap::-webkit-scrollbar-thumb:hover{background-color:#00bfa5}[data-md-color-accent=teal] .md-source-file:hover:before{background-color:#00bfa5}button[data-md-color-accent=green]{background-color:#00c853}[data-md-color-accent=green] .md-typeset a:active,[data-md-color-accent=green] .md-typeset a:hover{color:#00c853}[data-md-color-accent=green] .md-typeset .codehilite pre::-webkit-scrollbar-thumb:hover,[data-md-color-accent=green] .md-typeset pre code::-webkit-scrollbar-thumb:hover{background-color:#00c853}[data-md-color-accent=green] .md-nav__link:focus,[data-md-color-accent=green] .md-nav__link:hover,[data-md-color-accent=green] .md-typeset .footnote li:hover .footnote-backref:hover,[data-md-color-accent=green] .md-typeset .footnote li:target .footnote-backref,[data-md-color-accent=green] .md-typeset .md-clipboard:active:before,[data-md-color-accent=green] .md-typeset .md-clipboard:hover:before,[data-md-color-accent=green] .md-typeset [id] .headerlink:focus,[data-md-color-accent=green] .md-typeset [id]:hover .headerlink:hover,[data-md-color-accent=green] .md-typeset [id]:target .headerlink{color:#00c853}[data-md-color-accent=green] .md-search__scrollwrap::-webkit-scrollbar-thumb:hover{background-color:#00c853}[data-md-color-accent=green] .md-search-result__link:hover,[data-md-color-accent=green] .md-search-result__link[data-md-state=active]{background-color:rgba(0,200,83,.1)}[data-md-color-accent=green] .md-sidebar__scrollwrap::-webkit-scrollbar-thumb:hover{background-color:#00c853}[data-md-color-accent=green] .md-source-file:hover:before{background-color:#00c853}button[data-md-color-accent=light-green]{background-color:#64dd17}[data-md-color-accent=light-green] .md-typeset a:active,[data-md-color-accent=light-green] .md-typeset a:hover{color:#64dd17}[data-md-color-accent=light-green] .md-typeset .codehilite pre::-webkit-scrollbar-thumb:hover,[data-md-color-accent=light-green] .md-typeset pre code::-webkit-scrollbar-thumb:hover{background-color:#64dd17}[data-md-color-accent=light-green] .md-nav__link:focus,[data-md-color-accent=light-green] .md-nav__link:hover,[data-md-color-accent=light-green] .md-typeset .footnote li:hover .footnote-backref:hover,[data-md-color-accent=light-green] .md-typeset .footnote li:target .footnote-backref,[data-md-color-accent=light-green] .md-typeset .md-clipboard:active:before,[data-md-color-accent=light-green] .md-typeset .md-clipboard:hover:before,[data-md-color-accent=light-green] .md-typeset [id] .headerlink:focus,[data-md-color-accent=light-green] .md-typeset [id]:hover .headerlink:hover,[data-md-color-accent=light-green] .md-typeset [id]:target .headerlink{color:#64dd17}[data-md-color-accent=light-green] .md-search__scrollwrap::-webkit-scrollbar-thumb:hover{background-color:#64dd17}[data-md-color-accent=light-green] .md-search-result__link:hover,[data-md-color-accent=light-green] .md-search-result__link[data-md-state=active]{background-color:rgba(100,221,23,.1)}[data-md-color-accent=light-green] .md-sidebar__scrollwrap::-webkit-scrollbar-thumb:hover{background-color:#64dd17}[data-md-color-accent=light-green] .md-source-file:hover:before{background-color:#64dd17}button[data-md-color-accent=lime]{background-color:#aeea00}[data-md-color-accent=lime] .md-typeset a:active,[data-md-color-accent=lime] .md-typeset a:hover{color:#aeea00}[data-md-color-accent=lime] .md-typeset .codehilite pre::-webkit-scrollbar-thumb:hover,[data-md-color-accent=lime] .md-typeset pre code::-webkit-scrollbar-thumb:hover{background-color:#aeea00}[data-md-color-accent=lime] .md-nav__link:focus,[data-md-color-accent=lime] .md-nav__link:hover,[data-md-color-accent=lime] .md-typeset .footnote li:hover .footnote-backref:hover,[data-md-color-accent=lime] .md-typeset .footnote li:target .footnote-backref,[data-md-color-accent=lime] .md-typeset .md-clipboard:active:before,[data-md-color-accent=lime] .md-typeset .md-clipboard:hover:before,[data-md-color-accent=lime] .md-typeset [id] .headerlink:focus,[data-md-color-accent=lime] .md-typeset [id]:hover .headerlink:hover,[data-md-color-accent=lime] .md-typeset [id]:target .headerlink{color:#aeea00}[data-md-color-accent=lime] .md-search__scrollwrap::-webkit-scrollbar-thumb:hover{background-color:#aeea00}[data-md-color-accent=lime] .md-search-result__link:hover,[data-md-color-accent=lime] .md-search-result__link[data-md-state=active]{background-color:rgba(174,234,0,.1)}[data-md-color-accent=lime] .md-sidebar__scrollwrap::-webkit-scrollbar-thumb:hover{background-color:#aeea00}[data-md-color-accent=lime] .md-source-file:hover:before{background-color:#aeea00}button[data-md-color-accent=yellow]{background-color:#ffd600}[data-md-color-accent=yellow] .md-typeset a:active,[data-md-color-accent=yellow] .md-typeset a:hover{color:#ffd600}[data-md-color-accent=yellow] .md-typeset .codehilite pre::-webkit-scrollbar-thumb:hover,[data-md-color-accent=yellow] .md-typeset pre code::-webkit-scrollbar-thumb:hover{background-color:#ffd600}[data-md-color-accent=yellow] .md-nav__link:focus,[data-md-color-accent=yellow] .md-nav__link:hover,[data-md-color-accent=yellow] .md-typeset .footnote li:hover .footnote-backref:hover,[data-md-color-accent=yellow] .md-typeset .footnote li:target .footnote-backref,[data-md-color-accent=yellow] .md-typeset .md-clipboard:active:before,[data-md-color-accent=yellow] .md-typeset .md-clipboard:hover:before,[data-md-color-accent=yellow] .md-typeset [id] .headerlink:focus,[data-md-color-accent=yellow] .md-typeset [id]:hover .headerlink:hover,[data-md-color-accent=yellow] .md-typeset [id]:target .headerlink{color:#ffd600}[data-md-color-accent=yellow] .md-search__scrollwrap::-webkit-scrollbar-thumb:hover{background-color:#ffd600}[data-md-color-accent=yellow] .md-search-result__link:hover,[data-md-color-accent=yellow] .md-search-result__link[data-md-state=active]{background-color:rgba(255,214,0,.1)}[data-md-color-accent=yellow] .md-sidebar__scrollwrap::-webkit-scrollbar-thumb:hover{background-color:#ffd600}[data-md-color-accent=yellow] .md-source-file:hover:before{background-color:#ffd600}button[data-md-color-accent=amber]{background-color:#ffab00}[data-md-color-accent=amber] .md-typeset a:active,[data-md-color-accent=amber] .md-typeset a:hover{color:#ffab00}[data-md-color-accent=amber] .md-typeset .codehilite pre::-webkit-scrollbar-thumb:hover,[data-md-color-accent=amber] .md-typeset pre code::-webkit-scrollbar-thumb:hover{background-color:#ffab00}[data-md-color-accent=amber] .md-nav__link:focus,[data-md-color-accent=amber] .md-nav__link:hover,[data-md-color-accent=amber] .md-typeset .footnote li:hover .footnote-backref:hover,[data-md-color-accent=amber] .md-typeset .footnote li:target .footnote-backref,[data-md-color-accent=amber] .md-typeset .md-clipboard:active:before,[data-md-color-accent=amber] .md-typeset .md-clipboard:hover:before,[data-md-color-accent=amber] .md-typeset [id] .headerlink:focus,[data-md-color-accent=amber] .md-typeset [id]:hover .headerlink:hover,[data-md-color-accent=amber] .md-typeset [id]:target .headerlink{color:#ffab00}[data-md-color-accent=amber] .md-search__scrollwrap::-webkit-scrollbar-thumb:hover{background-color:#ffab00}[data-md-color-accent=amber] .md-search-result__link:hover,[data-md-color-accent=amber] .md-search-result__link[data-md-state=active]{background-color:rgba(255,171,0,.1)}[data-md-color-accent=amber] .md-sidebar__scrollwrap::-webkit-scrollbar-thumb:hover{background-color:#ffab00}[data-md-color-accent=amber] .md-source-file:hover:before{background-color:#ffab00}button[data-md-color-accent=orange]{background-color:#ff9100}[data-md-color-accent=orange] .md-typeset a:active,[data-md-color-accent=orange] .md-typeset a:hover{color:#ff9100}[data-md-color-accent=orange] .md-typeset .codehilite pre::-webkit-scrollbar-thumb:hover,[data-md-color-accent=orange] .md-typeset pre code::-webkit-scrollbar-thumb:hover{background-color:#ff9100}[data-md-color-accent=orange] .md-nav__link:focus,[data-md-color-accent=orange] .md-nav__link:hover,[data-md-color-accent=orange] .md-typeset .footnote li:hover .footnote-backref:hover,[data-md-color-accent=orange] .md-typeset .footnote li:target .footnote-backref,[data-md-color-accent=orange] .md-typeset .md-clipboard:active:before,[data-md-color-accent=orange] .md-typeset .md-clipboard:hover:before,[data-md-color-accent=orange] .md-typeset [id] .headerlink:focus,[data-md-color-accent=orange] .md-typeset [id]:hover .headerlink:hover,[data-md-color-accent=orange] .md-typeset [id]:target .headerlink{color:#ff9100}[data-md-color-accent=orange] .md-search__scrollwrap::-webkit-scrollbar-thumb:hover{background-color:#ff9100}[data-md-color-accent=orange] .md-search-result__link:hover,[data-md-color-accent=orange] .md-search-result__link[data-md-state=active]{background-color:rgba(255,145,0,.1)}[data-md-color-accent=orange] .md-sidebar__scrollwrap::-webkit-scrollbar-thumb:hover{background-color:#ff9100}[data-md-color-accent=orange] .md-source-file:hover:before{background-color:#ff9100}button[data-md-color-accent=deep-orange]{background-color:#ff6e40}[data-md-color-accent=deep-orange] .md-typeset a:active,[data-md-color-accent=deep-orange] .md-typeset a:hover{color:#ff6e40}[data-md-color-accent=deep-orange] .md-typeset .codehilite pre::-webkit-scrollbar-thumb:hover,[data-md-color-accent=deep-orange] .md-typeset pre code::-webkit-scrollbar-thumb:hover{background-color:#ff6e40}[data-md-color-accent=deep-orange] .md-nav__link:focus,[data-md-color-accent=deep-orange] .md-nav__link:hover,[data-md-color-accent=deep-orange] .md-typeset .footnote li:hover .footnote-backref:hover,[data-md-color-accent=deep-orange] .md-typeset .footnote li:target .footnote-backref,[data-md-color-accent=deep-orange] .md-typeset .md-clipboard:active:before,[data-md-color-accent=deep-orange] .md-typeset .md-clipboard:hover:before,[data-md-color-accent=deep-orange] .md-typeset [id] .headerlink:focus,[data-md-color-accent=deep-orange] .md-typeset [id]:hover .headerlink:hover,[data-md-color-accent=deep-orange] .md-typeset [id]:target .headerlink{color:#ff6e40}[data-md-color-accent=deep-orange] .md-search__scrollwrap::-webkit-scrollbar-thumb:hover{background-color:#ff6e40}[data-md-color-accent=deep-orange] .md-search-result__link:hover,[data-md-color-accent=deep-orange] .md-search-result__link[data-md-state=active]{background-color:rgba(255,110,64,.1)}[data-md-color-accent=deep-orange] .md-sidebar__scrollwrap::-webkit-scrollbar-thumb:hover{background-color:#ff6e40}[data-md-color-accent=deep-orange] .md-source-file:hover:before{background-color:#ff6e40}@media only screen and (max-width:59.9375em){[data-md-color-primary=red] .md-nav__source{background-color:rgba(190,66,64,.9675)}[data-md-color-primary=pink] .md-nav__source{background-color:rgba(185,24,79,.9675)}[data-md-color-primary=purple] .md-nav__source{background-color:rgba(136,57,150,.9675)}[data-md-color-primary=deep-purple] .md-nav__source{background-color:rgba(100,69,154,.9675)}[data-md-color-primary=indigo] .md-nav__source{background-color:rgba(50,64,144,.9675)}[data-md-color-primary=blue] .md-nav__source{background-color:rgba(26,119,193,.9675)}[data-md-color-primary=light-blue] .md-nav__source{background-color:rgba(2,134,194,.9675)}[data-md-color-primary=cyan] .md-nav__source{background-color:rgba(0,150,169,.9675)}[data-md-color-primary=teal] .md-nav__source{background-color:rgba(0,119,108,.9675)}[data-md-color-primary=green] .md-nav__source{background-color:rgba(60,139,64,.9675)}[data-md-color-primary=light-green] .md-nav__source{background-color:rgba(99,142,53,.9675)}[data-md-color-primary=lime] .md-nav__source{background-color:rgba(153,161,41,.9675)}[data-md-color-primary=yellow] .md-nav__source{background-color:rgba(198,134,29,.9675)}[data-md-color-primary=amber] .md-nav__source{background-color:rgba(203,127,0,.9675)}[data-md-color-primary=orange] .md-nav__source{background-color:rgba(200,111,0,.9675)}[data-md-color-primary=deep-orange] .md-nav__source{background-color:rgba(203,89,53,.9675)}[data-md-color-primary=brown] .md-nav__source{background-color:rgba(96,68,57,.9675)}[data-md-color-primary=grey] .md-nav__source{background-color:rgba(93,93,93,.9675)}[data-md-color-primary=blue-grey] .md-nav__source{background-color:rgba(67,88,97,.9675)}[data-md-color-primary=white] .md-nav__source{background-color:rgba(0,0,0,.07);color:rgba(0,0,0,.87)}[data-md-color-primary=black] .md-nav__source{background-color:#404040}}@media only screen and (max-width:76.1875em){html [data-md-color-primary=red] .md-nav--primary .md-nav__title--site{background-color:#ef5350}html [data-md-color-primary=pink] .md-nav--primary .md-nav__title--site{background-color:#e91e63}html [data-md-color-primary=purple] .md-nav--primary .md-nav__title--site{background-color:#ab47bc}html [data-md-color-primary=deep-purple] .md-nav--primary .md-nav__title--site{background-color:#7e57c2}html [data-md-color-primary=indigo] .md-nav--primary .md-nav__title--site{background-color:#3f51b5}html [data-md-color-primary=blue] .md-nav--primary .md-nav__title--site{background-color:#2196f3}html [data-md-color-primary=light-blue] .md-nav--primary .md-nav__title--site{background-color:#03a9f4}html [data-md-color-primary=cyan] .md-nav--primary .md-nav__title--site{background-color:#00bcd4}html [data-md-color-primary=teal] .md-nav--primary .md-nav__title--site{background-color:#009688}html [data-md-color-primary=green] .md-nav--primary .md-nav__title--site{background-color:#4caf50}html [data-md-color-primary=light-green] .md-nav--primary .md-nav__title--site{background-color:#7cb342}html [data-md-color-primary=lime] .md-nav--primary .md-nav__title--site{background-color:#c0ca33}html [data-md-color-primary=yellow] .md-nav--primary .md-nav__title--site{background-color:#f9a825}html [data-md-color-primary=amber] .md-nav--primary .md-nav__title--site{background-color:#ffa000}html [data-md-color-primary=orange] .md-nav--primary .md-nav__title--site{background-color:#fb8c00}html [data-md-color-primary=deep-orange] .md-nav--primary .md-nav__title--site{background-color:#ff7043}html [data-md-color-primary=brown] .md-nav--primary .md-nav__title--site{background-color:#795548}html [data-md-color-primary=grey] .md-nav--primary .md-nav__title--site{background-color:#757575}html [data-md-color-primary=blue-grey] .md-nav--primary .md-nav__title--site{background-color:#546e7a}html [data-md-color-primary=white] .md-nav--primary .md-nav__title--site{background-color:#fff;color:rgba(0,0,0,.87)}[data-md-color-primary=white] .md-hero{border-bottom:.05rem solid rgba(0,0,0,.07)}html [data-md-color-primary=black] .md-nav--primary .md-nav__title--site{background-color:#000}}@media only screen and (min-width:76.25em){[data-md-color-primary=red] .md-tabs{background-color:#ef5350}[data-md-color-primary=pink] .md-tabs{background-color:#e91e63}[data-md-color-primary=purple] .md-tabs{background-color:#ab47bc}[data-md-color-primary=deep-purple] .md-tabs{background-color:#7e57c2}[data-md-color-primary=indigo] .md-tabs{background-color:#3f51b5}[data-md-color-primary=blue] .md-tabs{background-color:#2196f3}[data-md-color-primary=light-blue] .md-tabs{background-color:#03a9f4}[data-md-color-primary=cyan] .md-tabs{background-color:#00bcd4}[data-md-color-primary=teal] .md-tabs{background-color:#009688}[data-md-color-primary=green] .md-tabs{background-color:#4caf50}[data-md-color-primary=light-green] .md-tabs{background-color:#7cb342}[data-md-color-primary=lime] .md-tabs{background-color:#c0ca33}[data-md-color-primary=yellow] .md-tabs{background-color:#f9a825}[data-md-color-primary=amber] .md-tabs{background-color:#ffa000}[data-md-color-primary=orange] .md-tabs{background-color:#fb8c00}[data-md-color-primary=deep-orange] .md-tabs{background-color:#ff7043}[data-md-color-primary=brown] .md-tabs{background-color:#795548}[data-md-color-primary=grey] .md-tabs{background-color:#757575}[data-md-color-primary=blue-grey] .md-tabs{background-color:#546e7a}[data-md-color-primary=white] .md-tabs{border-bottom:.05rem solid rgba(0,0,0,.07);background-color:#fff;color:rgba(0,0,0,.87)}[data-md-color-primary=black] .md-tabs{background-color:#000}}@media only screen and (min-width:60em){[data-md-color-primary=white] .md-search__input{background-color:rgba(0,0,0,.07)}[data-md-color-primary=white] .md-search__input::-webkit-input-placeholder{color:rgba(0,0,0,.54)}[data-md-color-primary=white] .md-search__input::-moz-placeholder{color:rgba(0,0,0,.54)}[data-md-color-primary=white] .md-search__input:-ms-input-placeholder{color:rgba(0,0,0,.54)}[data-md-color-primary=white] .md-search__input::-ms-input-placeholder{color:rgba(0,0,0,.54)}[data-md-color-primary=white] .md-search__input::placeholder{color:rgba(0,0,0,.54)}[data-md-color-primary=black] .md-search__input{background-color:hsla(0,0%,100%,.3)}} \ No newline at end of file diff --git a/assets/stylesheets/application.adb8469c.css b/assets/stylesheets/application.adb8469c.css new file mode 100644 index 000000000..93b3dabad --- /dev/null +++ b/assets/stylesheets/application.adb8469c.css @@ -0,0 +1 @@ +html{box-sizing:border-box}*,:after,:before{box-sizing:inherit}html{-webkit-text-size-adjust:none;-moz-text-size-adjust:none;-ms-text-size-adjust:none;text-size-adjust:none}body{margin:0}hr{overflow:visible;box-sizing:content-box}a{-webkit-text-decoration-skip:objects}a,button,input,label{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}small,sub,sup{font-size:80%}sub,sup{position:relative;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}table{border-collapse:separate;border-spacing:0}td,th{font-weight:400;vertical-align:top}button{margin:0;padding:0;border:0;outline-style:none;background:transparent;font-size:inherit}input{border:0;outline:0}.md-clipboard:before,.md-icon,.md-nav__button,.md-nav__link:after,.md-nav__title:before,.md-search-result__article--document:before,.md-source-file:before,.md-typeset .admonition>.admonition-title:before,.md-typeset .admonition>summary:before,.md-typeset .critic.comment:before,.md-typeset .footnote-backref,.md-typeset .task-list-control .task-list-indicator:before,.md-typeset details>.admonition-title:before,.md-typeset details>summary:before,.md-typeset summary:after{font-family:Material Icons;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-transform:none;white-space:nowrap;word-wrap:normal;direction:ltr}.md-content__icon,.md-footer-nav__button,.md-header-nav__button,.md-nav__button,.md-nav__title:before,.md-search-result__article--document:before{display:inline-block;margin:.2rem;padding:.4rem;font-size:1.2rem;cursor:pointer}.md-icon--arrow-back:before{content:""}.md-icon--arrow-forward:before{content:""}.md-icon--menu:before{content:""}.md-icon--search:before{content:""}[dir=rtl] .md-icon--arrow-back:before{content:""}[dir=rtl] .md-icon--arrow-forward:before{content:""}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body,input{color:rgba(0,0,0,.87);font-feature-settings:"kern","liga";font-family:Helvetica Neue,Helvetica,Arial,sans-serif}code,kbd,pre{color:rgba(0,0,0,.87);font-feature-settings:"kern";font-family:Courier New,Courier,monospace}.md-typeset{font-size:.8rem;line-height:1.6;-webkit-print-color-adjust:exact}.md-typeset blockquote,.md-typeset ol,.md-typeset p,.md-typeset ul{margin:1em 0}.md-typeset h1{margin:0 0 2rem;color:rgba(0,0,0,.54);font-size:1.5625rem;line-height:1.3}.md-typeset h1,.md-typeset h2{font-weight:300;letter-spacing:-.01em}.md-typeset h2{margin:2rem 0 .8rem;font-size:1.25rem;line-height:1.4}.md-typeset h3{margin:1.6rem 0 .8rem;font-size:1rem;font-weight:400;letter-spacing:-.01em;line-height:1.5}.md-typeset h2+h3{margin-top:.8rem}.md-typeset h4{font-size:.8rem}.md-typeset h4,.md-typeset h5,.md-typeset h6{margin:.8rem 0;font-weight:700;letter-spacing:-.01em}.md-typeset h5,.md-typeset h6{color:rgba(0,0,0,.54);font-size:.64rem}.md-typeset h5{text-transform:uppercase}.md-typeset hr{margin:1.5em 0;border-bottom:.05rem dotted rgba(0,0,0,.26)}.md-typeset a{color:#3f51b5;word-break:break-word}.md-typeset a,.md-typeset a:before{-webkit-transition:color .125s;transition:color .125s}.md-typeset a:active,.md-typeset a:hover{color:#536dfe}.md-typeset code,.md-typeset pre{background-color:hsla(0,0%,92.5%,.5);color:#37474f;font-size:85%;direction:ltr}.md-typeset code{margin:0 .29412em;padding:.07353em 0;border-radius:.1rem;box-shadow:.29412em 0 0 hsla(0,0%,92.5%,.5),-.29412em 0 0 hsla(0,0%,92.5%,.5);word-break:break-word;-webkit-box-decoration-break:clone;box-decoration-break:clone}.md-typeset h1 code,.md-typeset h2 code,.md-typeset h3 code,.md-typeset h4 code,.md-typeset h5 code,.md-typeset h6 code{margin:0;background-color:transparent;box-shadow:none}.md-typeset a>code{margin:inherit;padding:inherit;border-radius:initial;background-color:inherit;color:inherit;box-shadow:none}.md-typeset pre{position:relative;margin:1em 0;border-radius:.1rem;line-height:1.4;-webkit-overflow-scrolling:touch}.md-typeset pre>code{display:block;margin:0;padding:.525rem .6rem;background-color:transparent;font-size:inherit;box-shadow:none;-webkit-box-decoration-break:slice;box-decoration-break:slice;overflow:auto}.md-typeset pre>code::-webkit-scrollbar{width:.2rem;height:.2rem}.md-typeset pre>code::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.26)}.md-typeset pre>code::-webkit-scrollbar-thumb:hover{background-color:#536dfe}.md-typeset kbd{padding:0 .29412em;border-radius:.15rem;border:.05rem solid #c9c9c9;border-bottom-color:#bcbcbc;background-color:#fcfcfc;color:#555;font-size:85%;box-shadow:0 .05rem 0 #b0b0b0;word-break:break-word}.md-typeset mark{margin:0 .25em;padding:.0625em 0;border-radius:.1rem;background-color:rgba(255,235,59,.5);box-shadow:.25em 0 0 rgba(255,235,59,.5),-.25em 0 0 rgba(255,235,59,.5);word-break:break-word;-webkit-box-decoration-break:clone;box-decoration-break:clone}.md-typeset abbr{border-bottom:.05rem dotted rgba(0,0,0,.54);text-decoration:none;cursor:help}.md-typeset small{opacity:.75}.md-typeset sub,.md-typeset sup{margin-left:.07812em}[dir=rtl] .md-typeset sub,[dir=rtl] .md-typeset sup{margin-right:.07812em;margin-left:0}.md-typeset blockquote{padding-left:.6rem;border-left:.2rem solid rgba(0,0,0,.26);color:rgba(0,0,0,.54)}[dir=rtl] .md-typeset blockquote{padding-right:.6rem;padding-left:0;border-right:.2rem solid rgba(0,0,0,.26);border-left:initial}.md-typeset ul{list-style-type:disc}.md-typeset ol,.md-typeset ul{margin-left:.625em;padding:0}[dir=rtl] .md-typeset ol,[dir=rtl] .md-typeset ul{margin-right:.625em;margin-left:0}.md-typeset ol ol,.md-typeset ul ol{list-style-type:lower-alpha}.md-typeset ol ol ol,.md-typeset ul ol ol{list-style-type:lower-roman}.md-typeset ol li,.md-typeset ul li{margin-bottom:.5em;margin-left:1.25em}[dir=rtl] .md-typeset ol li,[dir=rtl] .md-typeset ul li{margin-right:1.25em;margin-left:0}.md-typeset ol li blockquote,.md-typeset ol li p,.md-typeset ul li blockquote,.md-typeset ul li p{margin:.5em 0}.md-typeset ol li:last-child,.md-typeset ul li:last-child{margin-bottom:0}.md-typeset ol li ol,.md-typeset ol li ul,.md-typeset ul li ol,.md-typeset ul li ul{margin:.5em 0 .5em .625em}[dir=rtl] .md-typeset ol li ol,[dir=rtl] .md-typeset ol li ul,[dir=rtl] .md-typeset ul li ol,[dir=rtl] .md-typeset ul li ul{margin-right:.625em;margin-left:0}.md-typeset dd{margin:1em 0 1em 1.875em}[dir=rtl] .md-typeset dd{margin-right:1.875em;margin-left:0}.md-typeset iframe,.md-typeset img,.md-typeset svg{max-width:100%}.md-typeset table:not([class]){box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12),0 3px 1px -2px rgba(0,0,0,.2);display:inline-block;max-width:100%;border-radius:.1rem;font-size:.64rem;overflow:auto;-webkit-overflow-scrolling:touch}.md-typeset table:not([class])+*{margin-top:1.5em}.md-typeset table:not([class]) td:not([align]),.md-typeset table:not([class]) th:not([align]){text-align:left}[dir=rtl] .md-typeset table:not([class]) td:not([align]),[dir=rtl] .md-typeset table:not([class]) th:not([align]){text-align:right}.md-typeset table:not([class]) th{min-width:5rem;padding:.6rem .8rem;background-color:rgba(0,0,0,.54);color:#fff;vertical-align:top}.md-typeset table:not([class]) td{padding:.6rem .8rem;border-top:.05rem solid rgba(0,0,0,.07);vertical-align:top}.md-typeset table:not([class]) tr{-webkit-transition:background-color .125s;transition:background-color .125s}.md-typeset table:not([class]) tr:hover{background-color:rgba(0,0,0,.035);box-shadow:inset 0 .05rem 0 #fff}.md-typeset table:not([class]) tr:first-child td{border-top:0}.md-typeset table:not([class]) a{word-break:normal}.md-typeset__scrollwrap{margin:1em -.8rem;overflow-x:auto;-webkit-overflow-scrolling:touch}.md-typeset .md-typeset__table{display:inline-block;margin-bottom:.5em;padding:0 .8rem}.md-typeset .md-typeset__table table{display:table;width:100%;margin:0;overflow:hidden}html{font-size:125%;overflow-x:hidden}body,html{height:100%}body{position:relative;font-size:.5rem}hr{display:block;height:.05rem;padding:0;border:0}.md-svg{display:none}.md-grid{max-width:61rem;margin-right:auto;margin-left:auto}.md-container,.md-main{overflow:auto}.md-container{display:table;width:100%;height:100%;padding-top:2.4rem;table-layout:fixed}.md-main{display:table-row;height:100%}.md-main__inner{height:100%;padding-top:1.5rem;padding-bottom:.05rem}.md-toggle{display:none}.md-overlay{position:fixed;top:0;width:0;height:0;-webkit-transition:width 0s .25s,height 0s .25s,opacity .25s;transition:width 0s .25s,height 0s .25s,opacity .25s;background-color:rgba(0,0,0,.54);opacity:0;z-index:3}.md-flex{display:table}.md-flex__cell{display:table-cell;position:relative;vertical-align:top}.md-flex__cell--shrink{width:0}.md-flex__cell--stretch{display:table;width:100%;table-layout:fixed}.md-flex__ellipsis{display:table-cell;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.md-skip{position:fixed;width:.05rem;height:.05rem;margin:.5rem;padding:.3rem .5rem;-webkit-transform:translateY(.4rem);transform:translateY(.4rem);border-radius:.1rem;background-color:rgba(0,0,0,.87);color:#fff;font-size:.64rem;opacity:0;overflow:hidden}.md-skip:focus{width:auto;height:auto;clip:auto;-webkit-transform:translateX(0);transform:translateX(0);-webkit-transition:opacity .175s 75ms,-webkit-transform .25s cubic-bezier(.4,0,.2,1);transition:opacity .175s 75ms,-webkit-transform .25s cubic-bezier(.4,0,.2,1);transition:transform .25s cubic-bezier(.4,0,.2,1),opacity .175s 75ms;transition:transform .25s cubic-bezier(.4,0,.2,1),opacity .175s 75ms,-webkit-transform .25s cubic-bezier(.4,0,.2,1);opacity:1;z-index:10}@page{margin:25mm}.md-clipboard{position:absolute;top:.3rem;right:.3rem;width:1.4rem;height:1.4rem;border-radius:.1rem;font-size:.8rem;cursor:pointer;z-index:1;-webkit-backface-visibility:hidden;backface-visibility:hidden}.md-clipboard:before{-webkit-transition:color .25s,opacity .25s;transition:color .25s,opacity .25s;color:rgba(0,0,0,.07);content:"\E14D"}.codehilite:hover .md-clipboard:before,.md-typeset .highlight:hover .md-clipboard:before,pre:hover .md-clipboard:before{color:rgba(0,0,0,.54)}.md-clipboard:focus:before,.md-clipboard:hover:before{color:#536dfe}.md-clipboard__message{display:block;position:absolute;top:0;right:1.7rem;padding:.3rem .5rem;-webkit-transform:translateX(.4rem);transform:translateX(.4rem);-webkit-transition:opacity .175s,-webkit-transform .25s cubic-bezier(.9,.1,.9,0);transition:opacity .175s,-webkit-transform .25s cubic-bezier(.9,.1,.9,0);transition:transform .25s cubic-bezier(.9,.1,.9,0),opacity .175s;transition:transform .25s cubic-bezier(.9,.1,.9,0),opacity .175s,-webkit-transform .25s cubic-bezier(.9,.1,.9,0);border-radius:.1rem;background-color:rgba(0,0,0,.54);color:#fff;font-size:.64rem;white-space:nowrap;opacity:0;pointer-events:none}.md-clipboard__message--active{-webkit-transform:translateX(0);transform:translateX(0);-webkit-transition:opacity .175s 75ms,-webkit-transform .25s cubic-bezier(.4,0,.2,1);transition:opacity .175s 75ms,-webkit-transform .25s cubic-bezier(.4,0,.2,1);transition:transform .25s cubic-bezier(.4,0,.2,1),opacity .175s 75ms;transition:transform .25s cubic-bezier(.4,0,.2,1),opacity .175s 75ms,-webkit-transform .25s cubic-bezier(.4,0,.2,1);opacity:1;pointer-events:auto}.md-clipboard__message:before{content:attr(aria-label)}.md-clipboard__message:after{display:block;position:absolute;top:50%;right:-.2rem;width:0;margin-top:-.2rem;border-color:transparent rgba(0,0,0,.54);border-style:solid;border-width:.2rem 0 .2rem .2rem;content:""}.md-content__inner{margin:0 .8rem 1.2rem;padding-top:.6rem}.md-content__inner:before{display:block;height:.4rem;content:""}.md-content__inner>:last-child{margin-bottom:0}.md-content__icon{position:relative;margin:.4rem 0;padding:0;float:right}.md-typeset .md-content__icon{color:rgba(0,0,0,.26)}.md-header{position:fixed;top:0;right:0;left:0;height:2.4rem;-webkit-transition:background-color .25s,color .25s;transition:background-color .25s,color .25s;background-color:#3f51b5;color:#fff;box-shadow:none;z-index:2;-webkit-backface-visibility:hidden;backface-visibility:hidden}.no-js .md-header{-webkit-transition:none;transition:none;box-shadow:none}.md-header[data-md-state=shadow]{-webkit-transition:background-color .25s,color .25s,box-shadow .25s;transition:background-color .25s,color .25s,box-shadow .25s;box-shadow:0 0 .2rem rgba(0,0,0,.1),0 .2rem .4rem rgba(0,0,0,.2)}.md-header-nav{padding:0 .2rem}.md-header-nav__button{position:relative;-webkit-transition:opacity .25s;transition:opacity .25s;z-index:1}.md-header-nav__button:hover{opacity:.7}.md-header-nav__button.md-logo *{display:block}.no-js .md-header-nav__button.md-icon--search{display:none}.md-header-nav__topic{display:block;position:absolute;-webkit-transition:opacity .15s,-webkit-transform .4s cubic-bezier(.1,.7,.1,1);transition:opacity .15s,-webkit-transform .4s cubic-bezier(.1,.7,.1,1);transition:transform .4s cubic-bezier(.1,.7,.1,1),opacity .15s;transition:transform .4s cubic-bezier(.1,.7,.1,1),opacity .15s,-webkit-transform .4s cubic-bezier(.1,.7,.1,1);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.md-header-nav__topic+.md-header-nav__topic{-webkit-transform:translateX(1.25rem);transform:translateX(1.25rem);-webkit-transition:opacity .15s,-webkit-transform .4s cubic-bezier(1,.7,.1,.1);transition:opacity .15s,-webkit-transform .4s cubic-bezier(1,.7,.1,.1);transition:transform .4s cubic-bezier(1,.7,.1,.1),opacity .15s;transition:transform .4s cubic-bezier(1,.7,.1,.1),opacity .15s,-webkit-transform .4s cubic-bezier(1,.7,.1,.1);opacity:0;z-index:-1;pointer-events:none}[dir=rtl] .md-header-nav__topic+.md-header-nav__topic{-webkit-transform:translateX(-1.25rem);transform:translateX(-1.25rem)}.no-js .md-header-nav__topic{position:static}.no-js .md-header-nav__topic+.md-header-nav__topic{display:none}.md-header-nav__title{padding:0 1rem;font-size:.9rem;line-height:2.4rem}.md-header-nav__title[data-md-state=active] .md-header-nav__topic{-webkit-transform:translateX(-1.25rem);transform:translateX(-1.25rem);-webkit-transition:opacity .15s,-webkit-transform .4s cubic-bezier(1,.7,.1,.1);transition:opacity .15s,-webkit-transform .4s cubic-bezier(1,.7,.1,.1);transition:transform .4s cubic-bezier(1,.7,.1,.1),opacity .15s;transition:transform .4s cubic-bezier(1,.7,.1,.1),opacity .15s,-webkit-transform .4s cubic-bezier(1,.7,.1,.1);opacity:0;z-index:-1;pointer-events:none}[dir=rtl] .md-header-nav__title[data-md-state=active] .md-header-nav__topic{-webkit-transform:translateX(1.25rem);transform:translateX(1.25rem)}.md-header-nav__title[data-md-state=active] .md-header-nav__topic+.md-header-nav__topic{-webkit-transform:translateX(0);transform:translateX(0);-webkit-transition:opacity .15s,-webkit-transform .4s cubic-bezier(.1,.7,.1,1);transition:opacity .15s,-webkit-transform .4s cubic-bezier(.1,.7,.1,1);transition:transform .4s cubic-bezier(.1,.7,.1,1),opacity .15s;transition:transform .4s cubic-bezier(.1,.7,.1,1),opacity .15s,-webkit-transform .4s cubic-bezier(.1,.7,.1,1);opacity:1;z-index:0;pointer-events:auto}.md-header-nav__source{display:none}.md-hero{-webkit-transition:background .25s;transition:background .25s;background-color:#3f51b5;color:#fff;font-size:1rem;overflow:hidden}.md-hero__inner{margin-top:1rem;padding:.8rem .8rem .4rem;-webkit-transition:opacity .25s,-webkit-transform .4s cubic-bezier(.1,.7,.1,1);transition:opacity .25s,-webkit-transform .4s cubic-bezier(.1,.7,.1,1);transition:transform .4s cubic-bezier(.1,.7,.1,1),opacity .25s;transition:transform .4s cubic-bezier(.1,.7,.1,1),opacity .25s,-webkit-transform .4s cubic-bezier(.1,.7,.1,1);-webkit-transition-delay:.1s;transition-delay:.1s}[data-md-state=hidden] .md-hero__inner{pointer-events:none;-webkit-transform:translateY(.625rem);transform:translateY(.625rem);-webkit-transition:opacity .1s 0s,-webkit-transform 0s .4s;transition:opacity .1s 0s,-webkit-transform 0s .4s;transition:transform 0s .4s,opacity .1s 0s;transition:transform 0s .4s,opacity .1s 0s,-webkit-transform 0s .4s;opacity:0}.md-hero--expand .md-hero__inner{margin-bottom:1.2rem}.md-footer-nav{background-color:rgba(0,0,0,.87);color:#fff}.md-footer-nav__inner{padding:.2rem;overflow:auto}.md-footer-nav__link{padding-top:1.4rem;padding-bottom:.4rem;-webkit-transition:opacity .25s;transition:opacity .25s}.md-footer-nav__link:hover{opacity:.7}.md-footer-nav__link--prev{width:25%;float:left}[dir=rtl] .md-footer-nav__link--prev{float:right}.md-footer-nav__link--next{width:75%;float:right;text-align:right}[dir=rtl] .md-footer-nav__link--next{float:left;text-align:left}.md-footer-nav__button{-webkit-transition:background .25s;transition:background .25s}.md-footer-nav__title{position:relative;padding:0 1rem;font-size:.9rem;line-height:2.4rem}.md-footer-nav__direction{position:absolute;right:0;left:0;margin-top:-1rem;padding:0 1rem;color:hsla(0,0%,100%,.7);font-size:.75rem}.md-footer-meta{background-color:rgba(0,0,0,.895)}.md-footer-meta__inner{padding:.2rem;overflow:auto}html .md-footer-meta.md-typeset a{color:hsla(0,0%,100%,.7)}html .md-footer-meta.md-typeset a:focus,html .md-footer-meta.md-typeset a:hover{color:#fff}.md-footer-copyright{margin:0 .6rem;padding:.4rem 0;color:hsla(0,0%,100%,.3);font-size:.64rem}.md-footer-copyright__highlight{color:hsla(0,0%,100%,.7)}.md-footer-social{margin:0 .4rem;padding:.2rem 0 .6rem}.md-footer-social__link{display:inline-block;width:1.6rem;height:1.6rem;font-size:.8rem;text-align:center}.md-footer-social__link:before{line-height:1.9}.md-nav{font-size:.7rem;line-height:1.3}.md-nav__title{display:block;padding:0 .6rem;font-weight:700;text-overflow:ellipsis;overflow:hidden}.md-nav__title:before{display:none;content:"\E5C4"}[dir=rtl] .md-nav__title:before{content:"\E5C8"}.md-nav__title .md-nav__button{display:none}.md-nav__list{margin:0;padding:0;list-style:none}.md-nav__item{padding:0 .6rem}.md-nav__item:last-child{padding-bottom:.6rem}.md-nav__item .md-nav__item{padding-right:0}[dir=rtl] .md-nav__item .md-nav__item{padding-right:.6rem;padding-left:0}.md-nav__item .md-nav__item:last-child{padding-bottom:0}.md-nav__button img{width:100%;height:auto}.md-nav__link{display:block;margin-top:.625em;-webkit-transition:color .125s;transition:color .125s;text-overflow:ellipsis;cursor:pointer;overflow:hidden}.md-nav__item--nested>.md-nav__link:after{content:"\E313"}html .md-nav__link[for=__toc],html .md-nav__link[for=__toc]+.md-nav__link:after,html .md-nav__link[for=__toc]~.md-nav{display:none}.md-nav__link[data-md-state=blur]{color:rgba(0,0,0,.54)}.md-nav__link--active,.md-nav__link:active{color:#3f51b5}.md-nav__item--nested>.md-nav__link{color:inherit}.md-nav__link:focus,.md-nav__link:hover{color:#536dfe}.md-nav__source,.no-js .md-search{display:none}.md-search__overlay{opacity:0;z-index:1}.md-search__form{position:relative}.md-search__input{position:relative;padding:0 2.2rem 0 3.6rem;text-overflow:ellipsis;z-index:2}[dir=rtl] .md-search__input{padding:0 3.6rem 0 2.2rem}.md-search__input::-webkit-input-placeholder{-webkit-transition:color .25s cubic-bezier(.1,.7,.1,1);transition:color .25s cubic-bezier(.1,.7,.1,1)}.md-search__input::-moz-placeholder{-moz-transition:color .25s cubic-bezier(.1,.7,.1,1);transition:color .25s cubic-bezier(.1,.7,.1,1)}.md-search__input:-ms-input-placeholder{-ms-transition:color .25s cubic-bezier(.1,.7,.1,1);transition:color .25s cubic-bezier(.1,.7,.1,1)}.md-search__input::-ms-input-placeholder{-ms-transition:color .25s cubic-bezier(.1,.7,.1,1);transition:color .25s cubic-bezier(.1,.7,.1,1)}.md-search__input::placeholder{-webkit-transition:color .25s cubic-bezier(.1,.7,.1,1);transition:color .25s cubic-bezier(.1,.7,.1,1)}.md-search__input::-webkit-input-placeholder{color:rgba(0,0,0,.54)}.md-search__input::-moz-placeholder{color:rgba(0,0,0,.54)}.md-search__input:-ms-input-placeholder{color:rgba(0,0,0,.54)}.md-search__input::-ms-input-placeholder{color:rgba(0,0,0,.54)}.md-search__input::placeholder,.md-search__input~.md-search__icon{color:rgba(0,0,0,.54)}.md-search__input::-ms-clear{display:none}.md-search__icon{position:absolute;-webkit-transition:color .25s cubic-bezier(.1,.7,.1,1),opacity .25s;transition:color .25s cubic-bezier(.1,.7,.1,1),opacity .25s;font-size:1.2rem;cursor:pointer;z-index:2}.md-search__icon:hover{opacity:.7}.md-search__icon[for=__search]{top:.3rem;left:.5rem}[dir=rtl] .md-search__icon[for=__search]{right:.5rem;left:auto}.md-search__icon[for=__search]:before{content:"\E8B6"}.md-search__icon[type=reset]{top:.3rem;right:.5rem;-webkit-transform:scale(.125);transform:scale(.125);-webkit-transition:opacity .15s,-webkit-transform .15s cubic-bezier(.1,.7,.1,1);transition:opacity .15s,-webkit-transform .15s cubic-bezier(.1,.7,.1,1);transition:transform .15s cubic-bezier(.1,.7,.1,1),opacity .15s;transition:transform .15s cubic-bezier(.1,.7,.1,1),opacity .15s,-webkit-transform .15s cubic-bezier(.1,.7,.1,1);opacity:0}[dir=rtl] .md-search__icon[type=reset]{right:auto;left:.5rem}[data-md-toggle=search]:checked~.md-header .md-search__input:valid~.md-search__icon[type=reset]{-webkit-transform:scale(1);transform:scale(1);opacity:1}[data-md-toggle=search]:checked~.md-header .md-search__input:valid~.md-search__icon[type=reset]:hover{opacity:.7}.md-search__output{position:absolute;width:100%;border-radius:0 0 .1rem .1rem;overflow:hidden;z-index:1}.md-search__scrollwrap{height:100%;background-color:#fff;box-shadow:inset 0 .05rem 0 rgba(0,0,0,.07);overflow-y:auto;-webkit-overflow-scrolling:touch}.md-search-result{color:rgba(0,0,0,.87);word-break:break-word}.md-search-result__meta{padding:0 .8rem;background-color:rgba(0,0,0,.07);color:rgba(0,0,0,.54);font-size:.64rem;line-height:1.8rem}.md-search-result__list{margin:0;padding:0;border-top:.05rem solid rgba(0,0,0,.07);list-style:none}.md-search-result__item{box-shadow:0 -.05rem 0 rgba(0,0,0,.07)}.md-search-result__link{display:block;-webkit-transition:background .25s;transition:background .25s;outline:0;overflow:hidden}.md-search-result__link:hover,.md-search-result__link[data-md-state=active]{background-color:rgba(83,109,254,.1)}.md-search-result__link:hover .md-search-result__article:before,.md-search-result__link[data-md-state=active] .md-search-result__article:before{opacity:.7}.md-search-result__link:last-child .md-search-result__teaser{margin-bottom:.6rem}.md-search-result__article{position:relative;padding:0 .8rem;overflow:auto}.md-search-result__article--document:before{position:absolute;left:0;margin:.1rem;-webkit-transition:opacity .25s;transition:opacity .25s;color:rgba(0,0,0,.54);content:"\E880"}[dir=rtl] .md-search-result__article--document:before{right:0;left:auto}.md-search-result__article--document .md-search-result__title{margin:.55rem 0;font-size:.8rem;font-weight:400;line-height:1.4}.md-search-result__title{margin:.5em 0;font-size:.64rem;font-weight:700;line-height:1.4}.md-search-result__teaser{display:-webkit-box;max-height:1.65rem;margin:.5em 0;color:rgba(0,0,0,.54);font-size:.64rem;line-height:1.4;text-overflow:ellipsis;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}.md-search-result em{font-style:normal;font-weight:700;text-decoration:underline}.md-sidebar{position:absolute;width:12.1rem;padding:1.2rem 0;overflow:hidden}.md-sidebar[data-md-state=lock]{position:fixed;top:2.4rem}.md-sidebar--secondary{display:none}.md-sidebar__scrollwrap{max-height:100%;margin:0 .2rem;overflow-y:auto;-webkit-backface-visibility:hidden;backface-visibility:hidden}.md-sidebar__scrollwrap::-webkit-scrollbar{width:.2rem;height:.2rem}.md-sidebar__scrollwrap::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.26)}.md-sidebar__scrollwrap::-webkit-scrollbar-thumb:hover{background-color:#536dfe}@-webkit-keyframes md-source__facts--done{0%{height:0}to{height:.65rem}}@keyframes md-source__facts--done{0%{height:0}to{height:.65rem}}@-webkit-keyframes md-source__fact--done{0%{-webkit-transform:translateY(100%);transform:translateY(100%);opacity:0}50%{opacity:0}to{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}}@keyframes md-source__fact--done{0%{-webkit-transform:translateY(100%);transform:translateY(100%);opacity:0}50%{opacity:0}to{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}}.md-source{display:block;padding-right:.6rem;-webkit-transition:opacity .25s;transition:opacity .25s;font-size:.65rem;line-height:1.2;white-space:nowrap}[dir=rtl] .md-source{padding-right:0;padding-left:.6rem}.md-source:hover{opacity:.7}.md-source:after,.md-source__icon{display:inline-block;height:2.4rem;content:"";vertical-align:middle}.md-source__icon{width:2.4rem}.md-source__icon svg{width:1.2rem;height:1.2rem;margin-top:.6rem;margin-left:.6rem}[dir=rtl] .md-source__icon svg{margin-right:.6rem;margin-left:0}.md-source__icon+.md-source__repository{margin-left:-2rem;padding-left:2rem}[dir=rtl] .md-source__icon+.md-source__repository{margin-right:-2rem;margin-left:0;padding-right:2rem;padding-left:0}.md-source__repository{display:inline-block;max-width:100%;margin-left:.6rem;font-weight:700;text-overflow:ellipsis;overflow:hidden;vertical-align:middle}.md-source__facts{margin:0;padding:0;font-size:.55rem;font-weight:700;list-style-type:none;opacity:.75;overflow:hidden}[data-md-state=done] .md-source__facts{-webkit-animation:md-source__facts--done .25s ease-in;animation:md-source__facts--done .25s ease-in}.md-source__fact{float:left}[dir=rtl] .md-source__fact{float:right}[data-md-state=done] .md-source__fact{-webkit-animation:md-source__fact--done .4s ease-out;animation:md-source__fact--done .4s ease-out}.md-source__fact:before{margin:0 .1rem;content:"\00B7"}.md-source__fact:first-child:before{display:none}.md-source-file{display:inline-block;margin:1em .5em 1em 0;padding-right:.25rem;border-radius:.1rem;background-color:rgba(0,0,0,.07);font-size:.64rem;list-style-type:none;cursor:pointer;overflow:hidden}.md-source-file:before{display:inline-block;margin-right:.25rem;padding:.25rem;background-color:rgba(0,0,0,.26);color:#fff;font-size:.8rem;content:"\E86F";vertical-align:middle}html .md-source-file{-webkit-transition:background .4s,color .4s,box-shadow .4s cubic-bezier(.4,0,.2,1);transition:background .4s,color .4s,box-shadow .4s cubic-bezier(.4,0,.2,1)}html .md-source-file:before{-webkit-transition:inherit;transition:inherit}html body .md-typeset .md-source-file{color:rgba(0,0,0,.54)}.md-source-file:hover{box-shadow:0 0 8px rgba(0,0,0,.18),0 8px 16px rgba(0,0,0,.36)}.md-source-file:hover:before{background-color:#536dfe}.md-tabs{width:100%;-webkit-transition:background .25s;transition:background .25s;background-color:#3f51b5;color:#fff;overflow:auto}.md-tabs__list{margin:0 0 0 .2rem;padding:0;list-style:none;white-space:nowrap}.md-tabs__item{display:inline-block;height:2.4rem;padding-right:.6rem;padding-left:.6rem}.md-tabs__link{display:block;margin-top:.8rem;-webkit-transition:opacity .25s,-webkit-transform .4s cubic-bezier(.1,.7,.1,1);transition:opacity .25s,-webkit-transform .4s cubic-bezier(.1,.7,.1,1);transition:transform .4s cubic-bezier(.1,.7,.1,1),opacity .25s;transition:transform .4s cubic-bezier(.1,.7,.1,1),opacity .25s,-webkit-transform .4s cubic-bezier(.1,.7,.1,1);font-size:.7rem;opacity:.7}.md-tabs__link--active,.md-tabs__link:hover{color:inherit;opacity:1}.md-tabs__item:nth-child(2) .md-tabs__link{-webkit-transition-delay:.02s;transition-delay:.02s}.md-tabs__item:nth-child(3) .md-tabs__link{-webkit-transition-delay:.04s;transition-delay:.04s}.md-tabs__item:nth-child(4) .md-tabs__link{-webkit-transition-delay:.06s;transition-delay:.06s}.md-tabs__item:nth-child(5) .md-tabs__link{-webkit-transition-delay:.08s;transition-delay:.08s}.md-tabs__item:nth-child(6) .md-tabs__link{-webkit-transition-delay:.1s;transition-delay:.1s}.md-tabs__item:nth-child(7) .md-tabs__link{-webkit-transition-delay:.12s;transition-delay:.12s}.md-tabs__item:nth-child(8) .md-tabs__link{-webkit-transition-delay:.14s;transition-delay:.14s}.md-tabs__item:nth-child(9) .md-tabs__link{-webkit-transition-delay:.16s;transition-delay:.16s}.md-tabs__item:nth-child(10) .md-tabs__link{-webkit-transition-delay:.18s;transition-delay:.18s}.md-tabs__item:nth-child(11) .md-tabs__link{-webkit-transition-delay:.2s;transition-delay:.2s}.md-tabs__item:nth-child(12) .md-tabs__link{-webkit-transition-delay:.22s;transition-delay:.22s}.md-tabs__item:nth-child(13) .md-tabs__link{-webkit-transition-delay:.24s;transition-delay:.24s}.md-tabs__item:nth-child(14) .md-tabs__link{-webkit-transition-delay:.26s;transition-delay:.26s}.md-tabs__item:nth-child(15) .md-tabs__link{-webkit-transition-delay:.28s;transition-delay:.28s}.md-tabs__item:nth-child(16) .md-tabs__link{-webkit-transition-delay:.3s;transition-delay:.3s}.md-tabs[data-md-state=hidden]{pointer-events:none}.md-tabs[data-md-state=hidden] .md-tabs__link{-webkit-transform:translateY(50%);transform:translateY(50%);-webkit-transition:color .25s,opacity .1s,-webkit-transform 0s .4s;transition:color .25s,opacity .1s,-webkit-transform 0s .4s;transition:color .25s,transform 0s .4s,opacity .1s;transition:color .25s,transform 0s .4s,opacity .1s,-webkit-transform 0s .4s;opacity:0}.md-typeset .admonition,.md-typeset details{box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12),0 3px 1px -2px rgba(0,0,0,.2);position:relative;margin:1.5625em 0;padding:0 .6rem;border-left:.2rem solid #448aff;border-radius:.1rem;font-size:.64rem;overflow:auto}[dir=rtl] .md-typeset .admonition,[dir=rtl] .md-typeset details{border-right:.2rem solid #448aff;border-left:none}html .md-typeset .admonition>:last-child,html .md-typeset details>:last-child{margin-bottom:.6rem}.md-typeset .admonition .admonition,.md-typeset .admonition details,.md-typeset details .admonition,.md-typeset details details{margin:1em 0}.md-typeset .admonition>.admonition-title,.md-typeset .admonition>summary,.md-typeset details>.admonition-title,.md-typeset details>summary{margin:0 -.6rem;padding:.4rem .6rem .4rem 2rem;border-bottom:.05rem solid rgba(68,138,255,.1);background-color:rgba(68,138,255,.1);font-weight:700}[dir=rtl] .md-typeset .admonition>.admonition-title,[dir=rtl] .md-typeset .admonition>summary,[dir=rtl] .md-typeset details>.admonition-title,[dir=rtl] .md-typeset details>summary{padding:.4rem 2rem .4rem .6rem}.md-typeset .admonition>.admonition-title:last-child,.md-typeset .admonition>summary:last-child,.md-typeset details>.admonition-title:last-child,.md-typeset details>summary:last-child{margin-bottom:0}.md-typeset .admonition>.admonition-title:before,.md-typeset .admonition>summary:before,.md-typeset details>.admonition-title:before,.md-typeset details>summary:before{position:absolute;left:.6rem;color:#448aff;font-size:1rem;content:"\E3C9"}[dir=rtl] .md-typeset .admonition>.admonition-title:before,[dir=rtl] .md-typeset .admonition>summary:before,[dir=rtl] .md-typeset details>.admonition-title:before,[dir=rtl] .md-typeset details>summary:before{right:.6rem;left:auto}.md-typeset .admonition.abstract,.md-typeset .admonition.summary,.md-typeset .admonition.tldr,.md-typeset details.abstract,.md-typeset details.summary,.md-typeset details.tldr{border-left-color:#00b0ff}[dir=rtl] .md-typeset .admonition.abstract,[dir=rtl] .md-typeset .admonition.summary,[dir=rtl] .md-typeset .admonition.tldr,[dir=rtl] .md-typeset details.abstract,[dir=rtl] .md-typeset details.summary,[dir=rtl] .md-typeset details.tldr{border-right-color:#00b0ff}.md-typeset .admonition.abstract>.admonition-title,.md-typeset .admonition.abstract>summary,.md-typeset .admonition.summary>.admonition-title,.md-typeset .admonition.summary>summary,.md-typeset .admonition.tldr>.admonition-title,.md-typeset .admonition.tldr>summary,.md-typeset details.abstract>.admonition-title,.md-typeset details.abstract>summary,.md-typeset details.summary>.admonition-title,.md-typeset details.summary>summary,.md-typeset details.tldr>.admonition-title,.md-typeset details.tldr>summary{border-bottom-color:rgba(0,176,255,.1);background-color:rgba(0,176,255,.1)}.md-typeset .admonition.abstract>.admonition-title:before,.md-typeset .admonition.abstract>summary:before,.md-typeset .admonition.summary>.admonition-title:before,.md-typeset .admonition.summary>summary:before,.md-typeset .admonition.tldr>.admonition-title:before,.md-typeset .admonition.tldr>summary:before,.md-typeset details.abstract>.admonition-title:before,.md-typeset details.abstract>summary:before,.md-typeset details.summary>.admonition-title:before,.md-typeset details.summary>summary:before,.md-typeset details.tldr>.admonition-title:before,.md-typeset details.tldr>summary:before{color:#00b0ff;content:""}.md-typeset .admonition.info,.md-typeset .admonition.todo,.md-typeset details.info,.md-typeset details.todo{border-left-color:#00b8d4}[dir=rtl] .md-typeset .admonition.info,[dir=rtl] .md-typeset .admonition.todo,[dir=rtl] .md-typeset details.info,[dir=rtl] .md-typeset details.todo{border-right-color:#00b8d4}.md-typeset .admonition.info>.admonition-title,.md-typeset .admonition.info>summary,.md-typeset .admonition.todo>.admonition-title,.md-typeset .admonition.todo>summary,.md-typeset details.info>.admonition-title,.md-typeset details.info>summary,.md-typeset details.todo>.admonition-title,.md-typeset details.todo>summary{border-bottom-color:rgba(0,184,212,.1);background-color:rgba(0,184,212,.1)}.md-typeset .admonition.info>.admonition-title:before,.md-typeset .admonition.info>summary:before,.md-typeset .admonition.todo>.admonition-title:before,.md-typeset .admonition.todo>summary:before,.md-typeset details.info>.admonition-title:before,.md-typeset details.info>summary:before,.md-typeset details.todo>.admonition-title:before,.md-typeset details.todo>summary:before{color:#00b8d4;content:""}.md-typeset .admonition.hint,.md-typeset .admonition.important,.md-typeset .admonition.tip,.md-typeset details.hint,.md-typeset details.important,.md-typeset details.tip{border-left-color:#00bfa5}[dir=rtl] .md-typeset .admonition.hint,[dir=rtl] .md-typeset .admonition.important,[dir=rtl] .md-typeset .admonition.tip,[dir=rtl] .md-typeset details.hint,[dir=rtl] .md-typeset details.important,[dir=rtl] .md-typeset details.tip{border-right-color:#00bfa5}.md-typeset .admonition.hint>.admonition-title,.md-typeset .admonition.hint>summary,.md-typeset .admonition.important>.admonition-title,.md-typeset .admonition.important>summary,.md-typeset .admonition.tip>.admonition-title,.md-typeset .admonition.tip>summary,.md-typeset details.hint>.admonition-title,.md-typeset details.hint>summary,.md-typeset details.important>.admonition-title,.md-typeset details.important>summary,.md-typeset details.tip>.admonition-title,.md-typeset details.tip>summary{border-bottom-color:rgba(0,191,165,.1);background-color:rgba(0,191,165,.1)}.md-typeset .admonition.hint>.admonition-title:before,.md-typeset .admonition.hint>summary:before,.md-typeset .admonition.important>.admonition-title:before,.md-typeset .admonition.important>summary:before,.md-typeset .admonition.tip>.admonition-title:before,.md-typeset .admonition.tip>summary:before,.md-typeset details.hint>.admonition-title:before,.md-typeset details.hint>summary:before,.md-typeset details.important>.admonition-title:before,.md-typeset details.important>summary:before,.md-typeset details.tip>.admonition-title:before,.md-typeset details.tip>summary:before{color:#00bfa5;content:""}.md-typeset .admonition.check,.md-typeset .admonition.done,.md-typeset .admonition.success,.md-typeset details.check,.md-typeset details.done,.md-typeset details.success{border-left-color:#00c853}[dir=rtl] .md-typeset .admonition.check,[dir=rtl] .md-typeset .admonition.done,[dir=rtl] .md-typeset .admonition.success,[dir=rtl] .md-typeset details.check,[dir=rtl] .md-typeset details.done,[dir=rtl] .md-typeset details.success{border-right-color:#00c853}.md-typeset .admonition.check>.admonition-title,.md-typeset .admonition.check>summary,.md-typeset .admonition.done>.admonition-title,.md-typeset .admonition.done>summary,.md-typeset .admonition.success>.admonition-title,.md-typeset .admonition.success>summary,.md-typeset details.check>.admonition-title,.md-typeset details.check>summary,.md-typeset details.done>.admonition-title,.md-typeset details.done>summary,.md-typeset details.success>.admonition-title,.md-typeset details.success>summary{border-bottom-color:rgba(0,200,83,.1);background-color:rgba(0,200,83,.1)}.md-typeset .admonition.check>.admonition-title:before,.md-typeset .admonition.check>summary:before,.md-typeset .admonition.done>.admonition-title:before,.md-typeset .admonition.done>summary:before,.md-typeset .admonition.success>.admonition-title:before,.md-typeset .admonition.success>summary:before,.md-typeset details.check>.admonition-title:before,.md-typeset details.check>summary:before,.md-typeset details.done>.admonition-title:before,.md-typeset details.done>summary:before,.md-typeset details.success>.admonition-title:before,.md-typeset details.success>summary:before{color:#00c853;content:""}.md-typeset .admonition.faq,.md-typeset .admonition.help,.md-typeset .admonition.question,.md-typeset details.faq,.md-typeset details.help,.md-typeset details.question{border-left-color:#64dd17}[dir=rtl] .md-typeset .admonition.faq,[dir=rtl] .md-typeset .admonition.help,[dir=rtl] .md-typeset .admonition.question,[dir=rtl] .md-typeset details.faq,[dir=rtl] .md-typeset details.help,[dir=rtl] .md-typeset details.question{border-right-color:#64dd17}.md-typeset .admonition.faq>.admonition-title,.md-typeset .admonition.faq>summary,.md-typeset .admonition.help>.admonition-title,.md-typeset .admonition.help>summary,.md-typeset .admonition.question>.admonition-title,.md-typeset .admonition.question>summary,.md-typeset details.faq>.admonition-title,.md-typeset details.faq>summary,.md-typeset details.help>.admonition-title,.md-typeset details.help>summary,.md-typeset details.question>.admonition-title,.md-typeset details.question>summary{border-bottom-color:rgba(100,221,23,.1);background-color:rgba(100,221,23,.1)}.md-typeset .admonition.faq>.admonition-title:before,.md-typeset .admonition.faq>summary:before,.md-typeset .admonition.help>.admonition-title:before,.md-typeset .admonition.help>summary:before,.md-typeset .admonition.question>.admonition-title:before,.md-typeset .admonition.question>summary:before,.md-typeset details.faq>.admonition-title:before,.md-typeset details.faq>summary:before,.md-typeset details.help>.admonition-title:before,.md-typeset details.help>summary:before,.md-typeset details.question>.admonition-title:before,.md-typeset details.question>summary:before{color:#64dd17;content:""}.md-typeset .admonition.attention,.md-typeset .admonition.caution,.md-typeset .admonition.warning,.md-typeset details.attention,.md-typeset details.caution,.md-typeset details.warning{border-left-color:#ff9100}[dir=rtl] .md-typeset .admonition.attention,[dir=rtl] .md-typeset .admonition.caution,[dir=rtl] .md-typeset .admonition.warning,[dir=rtl] .md-typeset details.attention,[dir=rtl] .md-typeset details.caution,[dir=rtl] .md-typeset details.warning{border-right-color:#ff9100}.md-typeset .admonition.attention>.admonition-title,.md-typeset .admonition.attention>summary,.md-typeset .admonition.caution>.admonition-title,.md-typeset .admonition.caution>summary,.md-typeset .admonition.warning>.admonition-title,.md-typeset .admonition.warning>summary,.md-typeset details.attention>.admonition-title,.md-typeset details.attention>summary,.md-typeset details.caution>.admonition-title,.md-typeset details.caution>summary,.md-typeset details.warning>.admonition-title,.md-typeset details.warning>summary{border-bottom-color:rgba(255,145,0,.1);background-color:rgba(255,145,0,.1)}.md-typeset .admonition.attention>.admonition-title:before,.md-typeset .admonition.attention>summary:before,.md-typeset .admonition.caution>.admonition-title:before,.md-typeset .admonition.caution>summary:before,.md-typeset .admonition.warning>.admonition-title:before,.md-typeset .admonition.warning>summary:before,.md-typeset details.attention>.admonition-title:before,.md-typeset details.attention>summary:before,.md-typeset details.caution>.admonition-title:before,.md-typeset details.caution>summary:before,.md-typeset details.warning>.admonition-title:before,.md-typeset details.warning>summary:before{color:#ff9100;content:""}.md-typeset .admonition.fail,.md-typeset .admonition.failure,.md-typeset .admonition.missing,.md-typeset details.fail,.md-typeset details.failure,.md-typeset details.missing{border-left-color:#ff5252}[dir=rtl] .md-typeset .admonition.fail,[dir=rtl] .md-typeset .admonition.failure,[dir=rtl] .md-typeset .admonition.missing,[dir=rtl] .md-typeset details.fail,[dir=rtl] .md-typeset details.failure,[dir=rtl] .md-typeset details.missing{border-right-color:#ff5252}.md-typeset .admonition.fail>.admonition-title,.md-typeset .admonition.fail>summary,.md-typeset .admonition.failure>.admonition-title,.md-typeset .admonition.failure>summary,.md-typeset .admonition.missing>.admonition-title,.md-typeset .admonition.missing>summary,.md-typeset details.fail>.admonition-title,.md-typeset details.fail>summary,.md-typeset details.failure>.admonition-title,.md-typeset details.failure>summary,.md-typeset details.missing>.admonition-title,.md-typeset details.missing>summary{border-bottom-color:rgba(255,82,82,.1);background-color:rgba(255,82,82,.1)}.md-typeset .admonition.fail>.admonition-title:before,.md-typeset .admonition.fail>summary:before,.md-typeset .admonition.failure>.admonition-title:before,.md-typeset .admonition.failure>summary:before,.md-typeset .admonition.missing>.admonition-title:before,.md-typeset .admonition.missing>summary:before,.md-typeset details.fail>.admonition-title:before,.md-typeset details.fail>summary:before,.md-typeset details.failure>.admonition-title:before,.md-typeset details.failure>summary:before,.md-typeset details.missing>.admonition-title:before,.md-typeset details.missing>summary:before{color:#ff5252;content:""}.md-typeset .admonition.danger,.md-typeset .admonition.error,.md-typeset details.danger,.md-typeset details.error{border-left-color:#ff1744}[dir=rtl] .md-typeset .admonition.danger,[dir=rtl] .md-typeset .admonition.error,[dir=rtl] .md-typeset details.danger,[dir=rtl] .md-typeset details.error{border-right-color:#ff1744}.md-typeset .admonition.danger>.admonition-title,.md-typeset .admonition.danger>summary,.md-typeset .admonition.error>.admonition-title,.md-typeset .admonition.error>summary,.md-typeset details.danger>.admonition-title,.md-typeset details.danger>summary,.md-typeset details.error>.admonition-title,.md-typeset details.error>summary{border-bottom-color:rgba(255,23,68,.1);background-color:rgba(255,23,68,.1)}.md-typeset .admonition.danger>.admonition-title:before,.md-typeset .admonition.danger>summary:before,.md-typeset .admonition.error>.admonition-title:before,.md-typeset .admonition.error>summary:before,.md-typeset details.danger>.admonition-title:before,.md-typeset details.danger>summary:before,.md-typeset details.error>.admonition-title:before,.md-typeset details.error>summary:before{color:#ff1744;content:""}.md-typeset .admonition.bug,.md-typeset details.bug{border-left-color:#f50057}[dir=rtl] .md-typeset .admonition.bug,[dir=rtl] .md-typeset details.bug{border-right-color:#f50057}.md-typeset .admonition.bug>.admonition-title,.md-typeset .admonition.bug>summary,.md-typeset details.bug>.admonition-title,.md-typeset details.bug>summary{border-bottom-color:rgba(245,0,87,.1);background-color:rgba(245,0,87,.1)}.md-typeset .admonition.bug>.admonition-title:before,.md-typeset .admonition.bug>summary:before,.md-typeset details.bug>.admonition-title:before,.md-typeset details.bug>summary:before{color:#f50057;content:""}.md-typeset .admonition.example,.md-typeset details.example{border-left-color:#651fff}[dir=rtl] .md-typeset .admonition.example,[dir=rtl] .md-typeset details.example{border-right-color:#651fff}.md-typeset .admonition.example>.admonition-title,.md-typeset .admonition.example>summary,.md-typeset details.example>.admonition-title,.md-typeset details.example>summary{border-bottom-color:rgba(101,31,255,.1);background-color:rgba(101,31,255,.1)}.md-typeset .admonition.example>.admonition-title:before,.md-typeset .admonition.example>summary:before,.md-typeset details.example>.admonition-title:before,.md-typeset details.example>summary:before{color:#651fff;content:""}.md-typeset .admonition.cite,.md-typeset .admonition.quote,.md-typeset details.cite,.md-typeset details.quote{border-left-color:#9e9e9e}[dir=rtl] .md-typeset .admonition.cite,[dir=rtl] .md-typeset .admonition.quote,[dir=rtl] .md-typeset details.cite,[dir=rtl] .md-typeset details.quote{border-right-color:#9e9e9e}.md-typeset .admonition.cite>.admonition-title,.md-typeset .admonition.cite>summary,.md-typeset .admonition.quote>.admonition-title,.md-typeset .admonition.quote>summary,.md-typeset details.cite>.admonition-title,.md-typeset details.cite>summary,.md-typeset details.quote>.admonition-title,.md-typeset details.quote>summary{border-bottom-color:hsla(0,0%,62%,.1);background-color:hsla(0,0%,62%,.1)}.md-typeset .admonition.cite>.admonition-title:before,.md-typeset .admonition.cite>summary:before,.md-typeset .admonition.quote>.admonition-title:before,.md-typeset .admonition.quote>summary:before,.md-typeset details.cite>.admonition-title:before,.md-typeset details.cite>summary:before,.md-typeset details.quote>.admonition-title:before,.md-typeset details.quote>summary:before{color:#9e9e9e;content:""}.codehilite .o,.codehilite .ow,.md-typeset .highlight .o,.md-typeset .highlight .ow{color:inherit}.codehilite .ge,.md-typeset .highlight .ge{color:#000}.codehilite .gr,.md-typeset .highlight .gr{color:#a00}.codehilite .gh,.md-typeset .highlight .gh{color:#999}.codehilite .go,.md-typeset .highlight .go{color:#888}.codehilite .gp,.md-typeset .highlight .gp{color:#555}.codehilite .gs,.md-typeset .highlight .gs{color:inherit}.codehilite .gu,.md-typeset .highlight .gu{color:#aaa}.codehilite .gt,.md-typeset .highlight .gt{color:#a00}.codehilite .gd,.md-typeset .highlight .gd{background-color:#fdd}.codehilite .gi,.md-typeset .highlight .gi{background-color:#dfd}.codehilite .k,.md-typeset .highlight .k{color:#3b78e7}.codehilite .kc,.md-typeset .highlight .kc{color:#a71d5d}.codehilite .kd,.codehilite .kn,.md-typeset .highlight .kd,.md-typeset .highlight .kn{color:#3b78e7}.codehilite .kp,.md-typeset .highlight .kp{color:#a71d5d}.codehilite .kr,.codehilite .kt,.md-typeset .highlight .kr,.md-typeset .highlight .kt{color:#3e61a2}.codehilite .c,.codehilite .cm,.md-typeset .highlight .c,.md-typeset .highlight .cm{color:#999}.codehilite .cp,.md-typeset .highlight .cp{color:#666}.codehilite .c1,.codehilite .ch,.codehilite .cs,.md-typeset .highlight .c1,.md-typeset .highlight .ch,.md-typeset .highlight .cs{color:#999}.codehilite .na,.codehilite .nb,.md-typeset .highlight .na,.md-typeset .highlight .nb{color:#c2185b}.codehilite .bp,.md-typeset .highlight .bp{color:#3e61a2}.codehilite .nc,.md-typeset .highlight .nc{color:#c2185b}.codehilite .no,.md-typeset .highlight .no{color:#3e61a2}.codehilite .nd,.codehilite .ni,.md-typeset .highlight .nd,.md-typeset .highlight .ni{color:#666}.codehilite .ne,.codehilite .nf,.md-typeset .highlight .ne,.md-typeset .highlight .nf{color:#c2185b}.codehilite .nl,.md-typeset .highlight .nl{color:#3b5179}.codehilite .nn,.md-typeset .highlight .nn{color:#ec407a}.codehilite .nt,.md-typeset .highlight .nt{color:#3b78e7}.codehilite .nv,.codehilite .vc,.codehilite .vg,.codehilite .vi,.md-typeset .highlight .nv,.md-typeset .highlight .vc,.md-typeset .highlight .vg,.md-typeset .highlight .vi{color:#3e61a2}.codehilite .nx,.md-typeset .highlight .nx{color:#ec407a}.codehilite .il,.codehilite .m,.codehilite .mf,.codehilite .mh,.codehilite .mi,.codehilite .mo,.md-typeset .highlight .il,.md-typeset .highlight .m,.md-typeset .highlight .mf,.md-typeset .highlight .mh,.md-typeset .highlight .mi,.md-typeset .highlight .mo{color:#e74c3c}.codehilite .s,.codehilite .sb,.codehilite .sc,.md-typeset .highlight .s,.md-typeset .highlight .sb,.md-typeset .highlight .sc{color:#0d904f}.codehilite .sd,.md-typeset .highlight .sd{color:#999}.codehilite .s2,.md-typeset .highlight .s2{color:#0d904f}.codehilite .se,.codehilite .sh,.codehilite .si,.codehilite .sx,.md-typeset .highlight .se,.md-typeset .highlight .sh,.md-typeset .highlight .si,.md-typeset .highlight .sx{color:#183691}.codehilite .sr,.md-typeset .highlight .sr{color:#009926}.codehilite .s1,.codehilite .ss,.md-typeset .highlight .s1,.md-typeset .highlight .ss{color:#0d904f}.codehilite .err,.md-typeset .highlight .err{color:#a61717}.codehilite .w,.md-typeset .highlight .w{color:transparent}.codehilite .hll,.md-typeset .highlight .hll{display:block;margin:0 -.6rem;padding:0 .6rem;background-color:rgba(255,235,59,.5)}.md-typeset .codehilitetable,.md-typeset .highlighttable{display:block;overflow:hidden}.md-typeset .codehilitetable tbody,.md-typeset .codehilitetable td,.md-typeset .highlighttable tbody,.md-typeset .highlighttable td{display:block;padding:0}.md-typeset .codehilitetable tr,.md-typeset .highlighttable tr{display:-webkit-box;display:flex}.md-typeset .codehilitetable .linenodiv,.md-typeset .codehilitetable pre,.md-typeset .highlighttable .linenodiv,.md-typeset .highlighttable pre{margin:0;border-radius:0}.md-typeset .codehilitetable .linenodiv,.md-typeset .highlighttable .linenodiv{padding:.525rem .6rem}.md-typeset .codehilitetable .linenos,.md-typeset .highlighttable .linenos{background-color:rgba(0,0,0,.07);color:rgba(0,0,0,.26);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.md-typeset .codehilitetable .linenos pre,.md-typeset .highlighttable .linenos pre{background-color:transparent;color:inherit;text-align:right}.md-typeset .codehilitetable .code,.md-typeset .highlighttable .code{-webkit-box-flex:1;flex:1;overflow:hidden}.md-typeset>.codehilitetable,.md-typeset>.highlighttable{margin:1em 0;border-radius:.2em}.md-typeset [id^="fnref:"]{display:inline-block}.md-typeset [id^="fnref:"]:target{margin-top:-3.8rem;padding-top:3.8rem;pointer-events:none}.md-typeset [id^="fn:"]:before{display:none;height:0;content:""}.md-typeset [id^="fn:"]:target:before{display:block;margin-top:-3.5rem;padding-top:3.5rem;pointer-events:none}.md-typeset .footnote{color:rgba(0,0,0,.54);font-size:.64rem}.md-typeset .footnote ol{margin-left:0}.md-typeset .footnote li{-webkit-transition:color .25s;transition:color .25s}.md-typeset .footnote li:target{color:rgba(0,0,0,.87)}.md-typeset .footnote li :first-child{margin-top:0}.md-typeset .footnote li:hover .footnote-backref,.md-typeset .footnote li:target .footnote-backref{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}.md-typeset .footnote li:hover .footnote-backref:hover,.md-typeset .footnote li:target .footnote-backref{color:#536dfe}.md-typeset .footnote-ref{display:inline-block;pointer-events:auto}.md-typeset .footnote-ref:before{display:inline;margin:0 .2em;border-left:.05rem solid rgba(0,0,0,.26);font-size:1.25em;content:"";vertical-align:-.25rem}.md-typeset .footnote-backref{display:inline-block;-webkit-transform:translateX(.25rem);transform:translateX(.25rem);-webkit-transition:color .25s,opacity .125s .125s,-webkit-transform .25s .125s;transition:color .25s,opacity .125s .125s,-webkit-transform .25s .125s;transition:transform .25s .125s,color .25s,opacity .125s .125s;transition:transform .25s .125s,color .25s,opacity .125s .125s,-webkit-transform .25s .125s;color:rgba(0,0,0,.26);font-size:0;opacity:0;vertical-align:text-bottom}[dir=rtl] .md-typeset .footnote-backref{-webkit-transform:translateX(-.25rem);transform:translateX(-.25rem)}.md-typeset .footnote-backref:before{display:inline-block;font-size:.8rem;content:"\E31B"}[dir=rtl] .md-typeset .footnote-backref:before{-webkit-transform:scaleX(-1);transform:scaleX(-1)}.md-typeset .headerlink{display:inline-block;margin-left:.5rem;-webkit-transform:translateY(.25rem);transform:translateY(.25rem);-webkit-transition:color .25s,opacity .125s .25s,-webkit-transform .25s .25s;transition:color .25s,opacity .125s .25s,-webkit-transform .25s .25s;transition:transform .25s .25s,color .25s,opacity .125s .25s;transition:transform .25s .25s,color .25s,opacity .125s .25s,-webkit-transform .25s .25s;opacity:0}[dir=rtl] .md-typeset .headerlink{margin-right:.5rem;margin-left:0}html body .md-typeset .headerlink{color:rgba(0,0,0,.26)}.md-typeset h1[id]:before{display:block;margin-top:-9px;padding-top:9px;content:""}.md-typeset h1[id]:target:before{margin-top:-3.45rem;padding-top:3.45rem}.md-typeset h1[id] .headerlink:focus,.md-typeset h1[id]:hover .headerlink,.md-typeset h1[id]:target .headerlink{-webkit-transform:translate(0);transform:translate(0);opacity:1}.md-typeset h1[id] .headerlink:focus,.md-typeset h1[id]:hover .headerlink:hover,.md-typeset h1[id]:target .headerlink{color:#536dfe}.md-typeset h2[id]:before{display:block;margin-top:-8px;padding-top:8px;content:""}.md-typeset h2[id]:target:before{margin-top:-3.4rem;padding-top:3.4rem}.md-typeset h2[id] .headerlink:focus,.md-typeset h2[id]:hover .headerlink,.md-typeset h2[id]:target .headerlink{-webkit-transform:translate(0);transform:translate(0);opacity:1}.md-typeset h2[id] .headerlink:focus,.md-typeset h2[id]:hover .headerlink:hover,.md-typeset h2[id]:target .headerlink{color:#536dfe}.md-typeset h3[id]:before{display:block;margin-top:-9px;padding-top:9px;content:""}.md-typeset h3[id]:target:before{margin-top:-3.45rem;padding-top:3.45rem}.md-typeset h3[id] .headerlink:focus,.md-typeset h3[id]:hover .headerlink,.md-typeset h3[id]:target .headerlink{-webkit-transform:translate(0);transform:translate(0);opacity:1}.md-typeset h3[id] .headerlink:focus,.md-typeset h3[id]:hover .headerlink:hover,.md-typeset h3[id]:target .headerlink{color:#536dfe}.md-typeset h4[id]:before{display:block;margin-top:-9px;padding-top:9px;content:""}.md-typeset h4[id]:target:before{margin-top:-3.45rem;padding-top:3.45rem}.md-typeset h4[id] .headerlink:focus,.md-typeset h4[id]:hover .headerlink,.md-typeset h4[id]:target .headerlink{-webkit-transform:translate(0);transform:translate(0);opacity:1}.md-typeset h4[id] .headerlink:focus,.md-typeset h4[id]:hover .headerlink:hover,.md-typeset h4[id]:target .headerlink{color:#536dfe}.md-typeset h5[id]:before{display:block;margin-top:-11px;padding-top:11px;content:""}.md-typeset h5[id]:target:before{margin-top:-3.55rem;padding-top:3.55rem}.md-typeset h5[id] .headerlink:focus,.md-typeset h5[id]:hover .headerlink,.md-typeset h5[id]:target .headerlink{-webkit-transform:translate(0);transform:translate(0);opacity:1}.md-typeset h5[id] .headerlink:focus,.md-typeset h5[id]:hover .headerlink:hover,.md-typeset h5[id]:target .headerlink{color:#536dfe}.md-typeset h6[id]:before{display:block;margin-top:-11px;padding-top:11px;content:""}.md-typeset h6[id]:target:before{margin-top:-3.55rem;padding-top:3.55rem}.md-typeset h6[id] .headerlink:focus,.md-typeset h6[id]:hover .headerlink,.md-typeset h6[id]:target .headerlink{-webkit-transform:translate(0);transform:translate(0);opacity:1}.md-typeset h6[id] .headerlink:focus,.md-typeset h6[id]:hover .headerlink:hover,.md-typeset h6[id]:target .headerlink{color:#536dfe}.md-typeset .MJXc-display{margin:.75em 0;padding:.75em 0;overflow:auto;-webkit-overflow-scrolling:touch}.md-typeset .MathJax_CHTML{outline:0}.md-typeset .critic.comment,.md-typeset del.critic,.md-typeset ins.critic{margin:0 .25em;padding:.0625em 0;border-radius:.1rem;-webkit-box-decoration-break:clone;box-decoration-break:clone}.md-typeset del.critic{background-color:#fdd;box-shadow:.25em 0 0 #fdd,-.25em 0 0 #fdd}.md-typeset ins.critic{background-color:#dfd;box-shadow:.25em 0 0 #dfd,-.25em 0 0 #dfd}.md-typeset .critic.comment{background-color:hsla(0,0%,92.5%,.5);color:#37474f;box-shadow:.25em 0 0 hsla(0,0%,92.5%,.5),-.25em 0 0 hsla(0,0%,92.5%,.5)}.md-typeset .critic.comment:before{padding-right:.125em;color:rgba(0,0,0,.26);content:"\E0B7";vertical-align:-.125em}.md-typeset .critic.block{display:block;margin:1em 0;padding-right:.8rem;padding-left:.8rem;box-shadow:none}.md-typeset .critic.block :first-child{margin-top:.5em}.md-typeset .critic.block :last-child{margin-bottom:.5em}.md-typeset details{display:block;padding-top:0}.md-typeset details[open]>summary:after{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.md-typeset details:not([open]){padding-bottom:0}.md-typeset details:not([open])>summary{border-bottom:none}.md-typeset details summary{padding-right:2rem}[dir=rtl] .md-typeset details summary{padding-left:2rem}.no-details .md-typeset details:not([open])>*{display:none}.no-details .md-typeset details:not([open]) summary{display:block}.md-typeset summary{display:block;outline:none;cursor:pointer}.md-typeset summary::-webkit-details-marker{display:none}.md-typeset summary:after{position:absolute;top:.4rem;right:.6rem;color:rgba(0,0,0,.26);font-size:1rem;content:"\E313"}[dir=rtl] .md-typeset summary:after{right:auto;left:.6rem}.md-typeset .emojione,.md-typeset .gemoji,.md-typeset .twemoji{width:1rem;vertical-align:text-top}.md-typeset code.codehilite,.md-typeset code.highlight{margin:0 .29412em;padding:.07353em 0}.md-typeset .superfences-content{display:none;-webkit-box-ordinal-group:100;order:99;width:100%;background-color:#fff}.md-typeset .superfences-content pre{margin:0;border-radius:0}.md-typeset .superfences-tabs{display:-webkit-box;display:flex;position:relative;flex-wrap:wrap;margin:1em 0;border:.05rem solid rgba(0,0,0,.07);border-radius:.2em}.md-typeset .superfences-tabs>input{display:none}.md-typeset .superfences-tabs>input:checked+label{font-weight:700}.md-typeset .superfences-tabs>input:checked+label+.superfences-content{display:block}.md-typeset .superfences-tabs>label{width:auto;padding:.6rem;-webkit-transition:color .125s;transition:color .125s;font-size:.64rem;cursor:pointer}html .md-typeset .superfences-tabs>label:hover{color:#536dfe}.md-typeset .task-list-item{position:relative;list-style-type:none}.md-typeset .task-list-item [type=checkbox]{position:absolute;top:.45em;left:-2em}[dir=rtl] .md-typeset .task-list-item [type=checkbox]{right:-2em;left:auto}.md-typeset .task-list-control .task-list-indicator:before{position:absolute;top:.15em;left:-1.25em;color:rgba(0,0,0,.26);font-size:1.25em;content:"\E835";vertical-align:-.25em}[dir=rtl] .md-typeset .task-list-control .task-list-indicator:before{right:-1.25em;left:auto}.md-typeset .task-list-control [type=checkbox]:checked+.task-list-indicator:before{content:"\E834"}.md-typeset .task-list-control [type=checkbox]{opacity:0;z-index:-1}@media print{.md-typeset a:after{color:rgba(0,0,0,.54);content:" [" attr(href) "]"}.md-typeset code,.md-typeset pre{white-space:pre-wrap}.md-typeset code{box-shadow:none;-webkit-box-decoration-break:initial;box-decoration-break:slice}.md-clipboard,.md-content__icon,.md-footer,.md-header,.md-sidebar,.md-tabs,.md-typeset .headerlink{display:none}}@media only screen and (max-width:44.9375em){.md-typeset>pre{margin:1em -.8rem;border-radius:0}.md-typeset>pre>code{padding:.525rem .8rem}.md-footer-nav__link--prev .md-footer-nav__title{display:none}.md-search-result__teaser{max-height:2.5rem;-webkit-line-clamp:3}.codehilite .hll,.md-typeset .highlight .hll{margin:0 -.8rem;padding:0 .8rem}.md-typeset>.codehilite,.md-typeset>.highlight{margin:1em -.8rem}.md-typeset>.codehilite code,.md-typeset>.highlight code{padding:.525rem .8rem}.md-typeset>.codehilitetable,.md-typeset>.highlighttable{margin:1em -.8rem;border-radius:0}.md-typeset>.codehilitetable .linenodiv,.md-typeset>.highlighttable .linenodiv{padding:.5rem .8rem}.md-typeset>p>.MJXc-display{margin:.75em -.8rem;padding:.25em .8rem}.md-typeset>.superfences-tabs{margin:1em -.8rem;border:0;border-top:.05rem solid rgba(0,0,0,.07);border-radius:0}.md-typeset>.superfences-tabs code{padding:.525rem .8rem}.md-typeset>.superfences-tabs input:first-child+label{margin-left:.2rem}}@media only screen and (min-width:100em){html{font-size:137.5%}}@media only screen and (min-width:125em){html{font-size:150%}}@media only screen and (max-width:59.9375em){body[data-md-state=lock]{overflow:hidden}.ios body[data-md-state=lock] .md-container{display:none}html .md-nav__link[for=__toc]{display:block;padding-right:2.4rem}html .md-nav__link[for=__toc]:after{color:inherit;content:"\E8DE"}html .md-nav__link[for=__toc]+.md-nav__link{display:none}html .md-nav__link[for=__toc]~.md-nav{display:-webkit-box;display:flex}html [dir=rtl] .md-nav__link{padding-right:.8rem;padding-left:2.4rem}.md-nav__source{display:block;padding:0 .2rem;background-color:rgba(50,64,144,.9675);color:#fff}.md-search__overlay{position:absolute;top:.2rem;left:.2rem;width:1.8rem;height:1.8rem;-webkit-transform-origin:center;transform-origin:center;-webkit-transition:opacity .2s .2s,-webkit-transform .3s .1s;transition:opacity .2s .2s,-webkit-transform .3s .1s;transition:transform .3s .1s,opacity .2s .2s;transition:transform .3s .1s,opacity .2s .2s,-webkit-transform .3s .1s;border-radius:1rem;background-color:#fff;overflow:hidden;pointer-events:none}[dir=rtl] .md-search__overlay{right:.2rem;left:auto}[data-md-toggle=search]:checked~.md-header .md-search__overlay{-webkit-transition:opacity .1s,-webkit-transform .4s;transition:opacity .1s,-webkit-transform .4s;transition:transform .4s,opacity .1s;transition:transform .4s,opacity .1s,-webkit-transform .4s;opacity:1}.md-search__inner{position:fixed;top:0;left:100%;width:100%;height:100%;-webkit-transform:translateX(5%);transform:translateX(5%);-webkit-transition:right 0s .3s,left 0s .3s,opacity .15s .15s,-webkit-transform .15s cubic-bezier(.4,0,.2,1) .15s;transition:right 0s .3s,left 0s .3s,opacity .15s .15s,-webkit-transform .15s cubic-bezier(.4,0,.2,1) .15s;transition:right 0s .3s,left 0s .3s,transform .15s cubic-bezier(.4,0,.2,1) .15s,opacity .15s .15s;transition:right 0s .3s,left 0s .3s,transform .15s cubic-bezier(.4,0,.2,1) .15s,opacity .15s .15s,-webkit-transform .15s cubic-bezier(.4,0,.2,1) .15s;opacity:0;z-index:2}[data-md-toggle=search]:checked~.md-header .md-search__inner{left:0;-webkit-transform:translateX(0);transform:translateX(0);-webkit-transition:right 0s 0s,left 0s 0s,opacity .15s .15s,-webkit-transform .15s cubic-bezier(.1,.7,.1,1) .15s;transition:right 0s 0s,left 0s 0s,opacity .15s .15s,-webkit-transform .15s cubic-bezier(.1,.7,.1,1) .15s;transition:right 0s 0s,left 0s 0s,transform .15s cubic-bezier(.1,.7,.1,1) .15s,opacity .15s .15s;transition:right 0s 0s,left 0s 0s,transform .15s cubic-bezier(.1,.7,.1,1) .15s,opacity .15s .15s,-webkit-transform .15s cubic-bezier(.1,.7,.1,1) .15s;opacity:1}[dir=rtl] [data-md-toggle=search]:checked~.md-header .md-search__inner{right:0;left:auto}html [dir=rtl] .md-search__inner{right:100%;left:auto;-webkit-transform:translateX(-5%);transform:translateX(-5%)}.md-search__input{width:100%;height:2.4rem;font-size:.9rem}.md-search__icon[for=__search]{top:.6rem;left:.8rem}.md-search__icon[for=__search][for=__search]:before{content:"\E5C4"}[dir=rtl] .md-search__icon[for=__search][for=__search]:before{content:"\E5C8"}.md-search__icon[type=reset]{top:.6rem;right:.8rem}.md-search__output{top:2.4rem;bottom:0}.md-search-result__article--document:before{display:none}}@media only screen and (max-width:76.1875em){[data-md-toggle=drawer]:checked~.md-overlay{width:100%;height:100%;-webkit-transition:width 0s,height 0s,opacity .25s;transition:width 0s,height 0s,opacity .25s;opacity:1}.md-header-nav__button.md-icon--home,.md-header-nav__button.md-logo{display:none}.md-hero__inner{margin-top:2.4rem;margin-bottom:1.2rem}.md-nav{background-color:#fff}.md-nav--primary,.md-nav--primary .md-nav{display:-webkit-box;display:flex;position:absolute;top:0;right:0;left:0;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;height:100%;z-index:1}.md-nav--primary .md-nav__item,.md-nav--primary .md-nav__title{font-size:.8rem;line-height:1.5}html .md-nav--primary .md-nav__title{position:relative;height:5.6rem;padding:3rem .8rem .2rem;background-color:rgba(0,0,0,.07);color:rgba(0,0,0,.54);font-weight:400;line-height:2.4rem;white-space:nowrap;cursor:pointer}html .md-nav--primary .md-nav__title:before{display:block;position:absolute;top:.2rem;left:.2rem;width:2rem;height:2rem;color:rgba(0,0,0,.54)}html .md-nav--primary .md-nav__title~.md-nav__list{background-color:#fff;box-shadow:inset 0 .05rem 0 rgba(0,0,0,.07)}html .md-nav--primary .md-nav__title~.md-nav__list>.md-nav__item:first-child{border-top:0}html .md-nav--primary .md-nav__title--site{position:relative;background-color:#3f51b5;color:#fff}html .md-nav--primary .md-nav__title--site .md-nav__button{display:block;position:absolute;top:.2rem;left:.2rem;width:3.2rem;height:3.2rem;font-size:2.4rem}html .md-nav--primary .md-nav__title--site:before{display:none}html [dir=rtl] .md-nav--primary .md-nav__title--site .md-nav__button,html [dir=rtl] .md-nav--primary .md-nav__title:before{right:.2rem;left:auto}.md-nav--primary .md-nav__list{-webkit-box-flex:1;flex:1;overflow-y:auto}.md-nav--primary .md-nav__item{padding:0;border-top:.05rem solid rgba(0,0,0,.07)}[dir=rtl] .md-nav--primary .md-nav__item{padding:0}.md-nav--primary .md-nav__item--nested>.md-nav__link{padding-right:2.4rem}[dir=rtl] .md-nav--primary .md-nav__item--nested>.md-nav__link{padding-right:.8rem;padding-left:2.4rem}.md-nav--primary .md-nav__item--nested>.md-nav__link:after{content:"\E315"}[dir=rtl] .md-nav--primary .md-nav__item--nested>.md-nav__link:after{content:"\E314"}.md-nav--primary .md-nav__link{position:relative;margin-top:0;padding:.6rem .8rem}.md-nav--primary .md-nav__link:after{position:absolute;top:50%;right:.6rem;margin-top:-.6rem;color:inherit;font-size:1.2rem}[dir=rtl] .md-nav--primary .md-nav__link:after{right:auto;left:.6rem}.md-nav--primary .md-nav--secondary .md-nav__link{position:static}.md-nav--primary .md-nav--secondary .md-nav{position:static;background-color:transparent}.md-nav--primary .md-nav--secondary .md-nav .md-nav__link{padding-left:1.4rem}[dir=rtl] .md-nav--primary .md-nav--secondary .md-nav .md-nav__link{padding-right:1.4rem;padding-left:0}.md-nav--primary .md-nav--secondary .md-nav .md-nav .md-nav__link{padding-left:2rem}[dir=rtl] .md-nav--primary .md-nav--secondary .md-nav .md-nav .md-nav__link{padding-right:2rem;padding-left:0}.md-nav--primary .md-nav--secondary .md-nav .md-nav .md-nav .md-nav__link{padding-left:2.6rem}[dir=rtl] .md-nav--primary .md-nav--secondary .md-nav .md-nav .md-nav .md-nav__link{padding-right:2.6rem;padding-left:0}.md-nav--primary .md-nav--secondary .md-nav .md-nav .md-nav .md-nav .md-nav__link{padding-left:3.2rem}[dir=rtl] .md-nav--primary .md-nav--secondary .md-nav .md-nav .md-nav .md-nav .md-nav__link{padding-right:3.2rem;padding-left:0}.md-nav__toggle~.md-nav{display:-webkit-box;display:flex;-webkit-transform:translateX(100%);transform:translateX(100%);-webkit-transition:opacity .125s .05s,-webkit-transform .25s cubic-bezier(.8,0,.6,1);transition:opacity .125s .05s,-webkit-transform .25s cubic-bezier(.8,0,.6,1);transition:transform .25s cubic-bezier(.8,0,.6,1),opacity .125s .05s;transition:transform .25s cubic-bezier(.8,0,.6,1),opacity .125s .05s,-webkit-transform .25s cubic-bezier(.8,0,.6,1);opacity:0}[dir=rtl] .md-nav__toggle~.md-nav{-webkit-transform:translateX(-100%);transform:translateX(-100%)}.no-csstransforms3d .md-nav__toggle~.md-nav{display:none}.md-nav__toggle:checked~.md-nav{-webkit-transform:translateX(0);transform:translateX(0);-webkit-transition:opacity .125s .125s,-webkit-transform .25s cubic-bezier(.4,0,.2,1);transition:opacity .125s .125s,-webkit-transform .25s cubic-bezier(.4,0,.2,1);transition:transform .25s cubic-bezier(.4,0,.2,1),opacity .125s .125s;transition:transform .25s cubic-bezier(.4,0,.2,1),opacity .125s .125s,-webkit-transform .25s cubic-bezier(.4,0,.2,1);opacity:1}.no-csstransforms3d .md-nav__toggle:checked~.md-nav{display:-webkit-box;display:flex}.md-sidebar--primary{position:fixed;top:0;left:-12.1rem;width:12.1rem;height:100%;-webkit-transform:translateX(0);transform:translateX(0);-webkit-transition:box-shadow .25s,-webkit-transform .25s cubic-bezier(.4,0,.2,1);transition:box-shadow .25s,-webkit-transform .25s cubic-bezier(.4,0,.2,1);transition:transform .25s cubic-bezier(.4,0,.2,1),box-shadow .25s;transition:transform .25s cubic-bezier(.4,0,.2,1),box-shadow .25s,-webkit-transform .25s cubic-bezier(.4,0,.2,1);background-color:#fff;z-index:3}[dir=rtl] .md-sidebar--primary{right:-12.1rem;left:auto}.no-csstransforms3d .md-sidebar--primary{display:none}[data-md-toggle=drawer]:checked~.md-container .md-sidebar--primary{box-shadow:0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12),0 5px 5px -3px rgba(0,0,0,.4);-webkit-transform:translateX(12.1rem);transform:translateX(12.1rem)}[dir=rtl] [data-md-toggle=drawer]:checked~.md-container .md-sidebar--primary{-webkit-transform:translateX(-12.1rem);transform:translateX(-12.1rem)}.no-csstransforms3d [data-md-toggle=drawer]:checked~.md-container .md-sidebar--primary{display:block}.md-sidebar--primary .md-sidebar__scrollwrap{overflow:hidden;position:absolute;top:0;right:0;bottom:0;left:0;margin:0}.md-tabs{display:none}}@media only screen and (min-width:60em){.md-content{margin-right:12.1rem}[dir=rtl] .md-content{margin-right:0;margin-left:12.1rem}.md-header-nav__button.md-icon--search{display:none}.md-header-nav__source{display:block;width:11.7rem;max-width:11.7rem;padding-right:.6rem}[dir=rtl] .md-header-nav__source{padding-right:0;padding-left:.6rem}.md-search{padding:.2rem}.md-search__overlay{position:fixed;top:0;left:0;width:0;height:0;-webkit-transition:width 0s .25s,height 0s .25s,opacity .25s;transition:width 0s .25s,height 0s .25s,opacity .25s;background-color:rgba(0,0,0,.54);cursor:pointer}[dir=rtl] .md-search__overlay{right:0;left:auto}[data-md-toggle=search]:checked~.md-header .md-search__overlay{width:100%;height:100%;-webkit-transition:width 0s,height 0s,opacity .25s;transition:width 0s,height 0s,opacity .25s;opacity:1}.md-search__inner{position:relative;width:11.5rem;margin-right:.8rem;padding:.1rem 0;float:right;-webkit-transition:width .25s cubic-bezier(.1,.7,.1,1);transition:width .25s cubic-bezier(.1,.7,.1,1)}[dir=rtl] .md-search__inner{margin-right:0;margin-left:.8rem;float:left}.md-search__form,.md-search__input{border-radius:.1rem}.md-search__input{width:100%;height:1.8rem;padding-left:2.2rem;-webkit-transition:background-color .25s cubic-bezier(.1,.7,.1,1),color .25s cubic-bezier(.1,.7,.1,1);transition:background-color .25s cubic-bezier(.1,.7,.1,1),color .25s cubic-bezier(.1,.7,.1,1);background-color:rgba(0,0,0,.26);color:inherit;font-size:.8rem}[dir=rtl] .md-search__input{padding-right:2.2rem}.md-search__input+.md-search__icon{color:inherit}.md-search__input::-webkit-input-placeholder{color:hsla(0,0%,100%,.7)}.md-search__input::-moz-placeholder{color:hsla(0,0%,100%,.7)}.md-search__input:-ms-input-placeholder{color:hsla(0,0%,100%,.7)}.md-search__input::-ms-input-placeholder{color:hsla(0,0%,100%,.7)}.md-search__input::placeholder{color:hsla(0,0%,100%,.7)}.md-search__input:hover{background-color:hsla(0,0%,100%,.12)}[data-md-toggle=search]:checked~.md-header .md-search__input{border-radius:.1rem .1rem 0 0;background-color:#fff;color:rgba(0,0,0,.87);text-overflow:clip}[data-md-toggle=search]:checked~.md-header .md-search__input::-webkit-input-placeholder{color:rgba(0,0,0,.54)}[data-md-toggle=search]:checked~.md-header .md-search__input::-moz-placeholder{color:rgba(0,0,0,.54)}[data-md-toggle=search]:checked~.md-header .md-search__input:-ms-input-placeholder{color:rgba(0,0,0,.54)}[data-md-toggle=search]:checked~.md-header .md-search__input::-ms-input-placeholder{color:rgba(0,0,0,.54)}[data-md-toggle=search]:checked~.md-header .md-search__input+.md-search__icon,[data-md-toggle=search]:checked~.md-header .md-search__input::placeholder{color:rgba(0,0,0,.54)}.md-search__output{top:1.9rem;-webkit-transition:opacity .4s;transition:opacity .4s;opacity:0}[data-md-toggle=search]:checked~.md-header .md-search__output{box-shadow:0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12),0 3px 5px -1px rgba(0,0,0,.4);opacity:1}.md-search__scrollwrap{max-height:0}[data-md-toggle=search]:checked~.md-header .md-search__scrollwrap{max-height:75vh}.md-search__scrollwrap::-webkit-scrollbar{width:.2rem;height:.2rem}.md-search__scrollwrap::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.26)}.md-search__scrollwrap::-webkit-scrollbar-thumb:hover{background-color:#536dfe}.md-search-result__meta{padding-left:2.2rem}[dir=rtl] .md-search-result__meta{padding-right:2.2rem;padding-left:0}.md-search-result__article{padding-left:2.2rem}[dir=rtl] .md-search-result__article{padding-right:2.2rem;padding-left:.8rem}.md-sidebar--secondary{display:block;margin-left:100%;-webkit-transform:translate(-100%);transform:translate(-100%)}[dir=rtl] .md-sidebar--secondary{margin-right:100%;margin-left:0;-webkit-transform:translate(100%);transform:translate(100%)}}@media only screen and (min-width:76.25em){.md-content{margin-left:12.1rem}[dir=rtl] .md-content{margin-right:12.1rem}.md-content__inner{margin-right:1.2rem;margin-left:1.2rem}.md-header-nav__button.md-icon--menu{display:none}.md-nav[data-md-state=animate]{-webkit-transition:max-height .25s cubic-bezier(.86,0,.07,1);transition:max-height .25s cubic-bezier(.86,0,.07,1)}.md-nav__toggle~.md-nav{max-height:0;overflow:hidden}.no-js .md-nav__toggle~.md-nav{display:none}.md-nav[data-md-state=expand],.md-nav__toggle:checked~.md-nav{max-height:100%}.no-js .md-nav[data-md-state=expand],.no-js .md-nav__toggle:checked~.md-nav{display:block}.md-nav__item--nested>.md-nav>.md-nav__title{display:none}.md-nav__item--nested>.md-nav__link:after{display:inline-block;-webkit-transform-origin:.45em .45em;transform-origin:.45em .45em;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;vertical-align:-.125em}.js .md-nav__item--nested>.md-nav__link:after{-webkit-transition:-webkit-transform .4s;transition:-webkit-transform .4s;transition:transform .4s;transition:transform .4s,-webkit-transform .4s}.md-nav__item--nested .md-nav__toggle:checked~.md-nav__link:after{-webkit-transform:rotateX(180deg);transform:rotateX(180deg)}.md-search__inner{margin-right:1.2rem}[dir=rtl] .md-search__inner{margin-left:1.2rem}.md-search__scrollwrap,[data-md-toggle=search]:checked~.md-header .md-search__inner{width:34.4rem}.md-sidebar--secondary{margin-left:61rem}[dir=rtl] .md-sidebar--secondary{margin-right:61rem;margin-left:0}.md-tabs~.md-main .md-nav--primary>.md-nav__list>.md-nav__item--nested{font-size:0;visibility:hidden}.md-tabs--active~.md-main .md-nav--primary .md-nav__title{display:block;padding:0}.md-tabs--active~.md-main .md-nav--primary .md-nav__title--site{display:none}.no-js .md-tabs--active~.md-main .md-nav--primary .md-nav{display:block}.md-tabs--active~.md-main .md-nav--primary>.md-nav__list>.md-nav__item{font-size:0;visibility:hidden}.md-tabs--active~.md-main .md-nav--primary>.md-nav__list>.md-nav__item--nested{display:none;font-size:.7rem;overflow:auto;visibility:visible}.md-tabs--active~.md-main .md-nav--primary>.md-nav__list>.md-nav__item--nested>.md-nav__link{display:none}.md-tabs--active~.md-main .md-nav--primary>.md-nav__list>.md-nav__item--active{display:block}.md-tabs--active~.md-main .md-nav[data-md-level="1"]{max-height:none;overflow:visible}.md-tabs--active~.md-main .md-nav[data-md-level="1"]>.md-nav__list>.md-nav__item{padding-left:0}.md-tabs--active~.md-main .md-nav[data-md-level="1"] .md-nav .md-nav__title{display:none}}@media only screen and (min-width:45em){.md-footer-nav__link{width:50%}.md-footer-copyright{max-width:75%;float:left}[dir=rtl] .md-footer-copyright{float:right}.md-footer-social{padding:.6rem 0;float:right}[dir=rtl] .md-footer-social{float:left}}@media only screen and (max-width:29.9375em){[data-md-toggle=search]:checked~.md-header .md-search__overlay{-webkit-transform:scale(45);transform:scale(45)}}@media only screen and (min-width:30em) and (max-width:44.9375em){[data-md-toggle=search]:checked~.md-header .md-search__overlay{-webkit-transform:scale(60);transform:scale(60)}}@media only screen and (min-width:45em) and (max-width:59.9375em){[data-md-toggle=search]:checked~.md-header .md-search__overlay{-webkit-transform:scale(75);transform:scale(75)}}@media only screen and (min-width:60em) and (max-width:76.1875em){.md-search__scrollwrap,[data-md-toggle=search]:checked~.md-header .md-search__inner{width:23.4rem}.md-search-result__teaser{max-height:2.5rem;-webkit-line-clamp:3}} \ No newline at end of file diff --git a/changes/index.html b/changes/index.html new file mode 100644 index 000000000..fc46cb13f --- /dev/null +++ b/changes/index.html @@ -0,0 +1,2531 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Changelog - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + + + + +
+
+ + + + + +

Change Log

+

v0.2.1 (2020-03-24)

+

Full Changelog

+

Implemented enhancements:

+
    +
  • Adjust project configs and update deps #104 (mbeacom)
  • +
+

Fixed bugs:

+ +

v0.2.0 (2020-03-24)

+

Full Changelog

+

Implemented enhancements:

+
    +
  • Migrate environment management from pipenv to poetry #97
  • +
  • Converted project from using pipenv to poetry #98 (selpan)
  • +
+

Merged pull requests:

+ +

v0.1.10 (2020-03-24)

+

Full Changelog

+

Implemented enhancements:

+
    +
  • Update API explorer to use Bravado #64
  • +
+

Fixed bugs:

+
    +
  • Missing depedency #99
  • +
  • Adjust setup.py to conform to pipfile #100 (mbeacom)
  • +
+

v0.1.9 (2020-03-20)

+

Full Changelog

+

Fixed bugs:

+
    +
  • YAML module missing after pipenv install #94
  • +
  • Added pyyaml package to Pipfile #95 (selpan)
  • +
+

Closed issues:

+
    +
  • Migrate environment management from pipenv to poetry #96
  • +
+

v0.1.8 (2019-11-26)

+

Full Changelog

+

Implemented enhancements:

+
    +
  • Update CE to handle instance type updates #93 (mbeacom)
  • +
+

v0.1.7 (2019-11-21)

+

Full Changelog

+

v0.1.6 (2019-11-21)

+

Full Changelog

+

Implemented enhancements:

+
    +
  • Add check for sg/subnet existance in config and patch privateIPAction #92 (mbeacom)
  • +
  • add in support for custom subnet and security groups #91 (twarnock)
  • +
+

Merged pull requests:

+
    +
  • removing duplicated tag in ec2 resource #90 (twarnock)
  • +
  • get_copy_status now uses role assumption #89 (twarnock)
  • +
  • change to using describe_instances vs _status. linted. #88 (twarnock)
  • +
+

v0.1.5 (2019-10-22)

+

Full Changelog

+

v0.1.4 (2019-10-22)

+

Full Changelog

+

0.1.4 (2019-10-22)

+

Full Changelog

+

v0.1.3 (2019-10-22)

+

Full Changelog

+

0.1.3 (2019-10-22)

+

Full Changelog

+

Implemented enhancements:

+
    +
  • Update servicenow lambda refs to conform to generic status update #87 (mbeacom)
  • +
+

v0.1.2 (2019-10-07)

+

Full Changelog

+

Implemented enhancements:

+ +

Closed issues:

+
    +
  • Make lambdas more generic #85
  • +
  • Update Blueprint Removes Disks #81
  • +
+

Merged pull requests:

+ +

v0.1.1 (2019-09-26)

+

Full Changelog

+

Implemented enhancements:

+ +

Merged pull requests:

+
    +
  • included cloudwatch event. changed tf to ce for lambdas. assumed role as a variable. #79 (twarnock)
  • +
  • moved to png. added dataflow #78 (twarnock)
  • +
+

v0.1.0 (2019-09-06)

+

Full Changelog

+

Implemented enhancements:

+
    +
  • Adjust machine replication #75
  • +
  • CLI authentication #66
  • +
  • Simplify project method args and init flow #55
  • +
  • Configurable disk type for blueprints #46
  • +
  • Configurable PublicIPAction for blueprints #45
  • +
  • Handle MFA/SAML between AWS and CloudEndure #5
  • +
  • Add replication control for machines #76 (mbeacom)
  • +
  • Project provisioning #72 (mbeacom)
  • +
  • delete-image and terminate added #69 (twarnock)
  • +
  • Add cli auth and adjust user api token handling #67 (mbeacom)
  • +
  • Adjust init flow and user feedback #56 (mbeacom)
  • +
  • made step more readable. modified input/output to just use critical data #53 (twarnock)
  • +
  • Fix #45 #46 - Update config and CE module to update public_ip and dis… #47 (mbeacom)
  • +
  • Step functions refactor. get-terraform can use tagging module #44 (twarnock)
  • +
+

Fixed bugs:

+
    +
  • CloudEndure token usage not working #63
  • +
  • Running gen-terraform against tagless AMIs results in error #51
  • +
  • Update CloudEndureConfig to use destination_account vs accounts #49
  • +
  • Adjust CLI/config consolidation to avoid overwrites with empty values #68 (mbeacom)
  • +
  • Check for nonetype before iterating through image.tags #52 (mbeacom)
  • +
+

Closed issues:

+
    +
  • CE worker lambda diagram #54
  • +
+

Merged pull requests:

+ +

v0.0.10 (2019-08-23)

+

Full Changelog

+

Merged pull requests:

+
    +
  • Cross region support for copy_and_split. gen_terraform fixes #43 (twarnock)
  • +
+

docker-base-layer (2019-08-23)

+

Full Changelog

+

Merged pull requests:

+ +

v0.0.9 (2019-08-22)

+

Full Changelog

+

Closed issues:

+
    +
  • Deprecate launch_type throughout project #41
  • +
+

v0.0.8 (2019-08-22)

+

Full Changelog

+

Implemented enhancements:

+
    +
  • Generate generic output infrastructure-as-code projects for migration waves #29
  • +
+

Merged pull requests:

+ +

v0.0.7 (2019-08-13)

+

Full Changelog

+

Implemented enhancements:

+
    +
  • Migrate all config items to config module #28
  • +
  • Update replication settings to conform to desired KMS usage #24
  • +
  • Update main CLI handling to employ defined exceptions/feedback loops #6
  • +
  • Add typing throughout and import annotations from future #35 (mbeacom)
  • +
  • Update documentation with events entry and logos #34 (mbeacom)
  • +
  • Move all configs to use Config for env and yaml #33 (mbeacom)
  • +
  • Add base event handler and implementation on launch function #32 (mbeacom)
  • +
  • Change image name to avoid blowup #26 (twarnock)
  • +
+

Fixed bugs:

+
    +
  • Bug in update blueprint flow #10
  • +
  • Image creation failure #9
  • +
  • Share AMI should pull image id from env/config #8
  • +
  • Bug in last launch checks in main cli #7
  • +
+

Closed issues:

+
    +
  • Remove 3.6 support and prepare 0.0.7 #37
  • +
  • Upgrade docker images to buster #36
  • +
  • Event handling - track wave status #31
  • +
+

Merged pull requests:

+ +

v0.0.6 (2019-08-06)

+

Full Changelog

+

Implemented enhancements:

+
    +
  • Add python-fire to package dependencies #13
  • +
  • copy_image and split_image support #20 (twarnock)
  • +
  • Add black to makefile #18 (mbeacom)
  • +
  • Add typing throughout base project #17 (mbeacom)
  • +
  • Check uses replica now. Launch looks up project_id and stops on replica. #16 (twarnock)
  • +
+

Merged pull requests:

+
    +
  • Fixed update_blueprint to actually work #21 (twarnock)
  • +
  • Create and share image changes. #19 (twarnock)
  • +
  • Update dependencies and adjust formatting #15 (mbeacom)
  • +
+

v0.0.5 (2019-06-28)

+

Full Changelog

+

Implemented enhancements:

+ +

v0.0.4 (2019-06-28)

+

Full Changelog

+

Implemented enhancements:

+
    +
  • Update docstrings, docs, and typing #11 (mbeacom)
  • +
+

v0.0.3 (2019-06-20)

+

Full Changelog

+

Implemented enhancements:

+ +

Merged pull requests:

+ +

v0.0.2 (2019-06-16)

+

Full Changelog

+

Implemented enhancements:

+
    +
  • Pointed API usecase and CLI additions #2 (mbeacom)
  • +
+

v0.0.1 (2019-05-30)

+

* This Change Log was automatically generated by github_changelog_generator

+ + + + + + + + + + +
+
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/cloudendure/__init__.py b/cloudendure/__init__.py deleted file mode 100644 index e69de29bb..000000000 diff --git a/cloudendure/api.py b/cloudendure/api.py deleted file mode 100644 index 175cbb525..000000000 --- a/cloudendure/api.py +++ /dev/null @@ -1,228 +0,0 @@ -# -*- coding: utf-8 -*- -"""Define the CloudEndure API wrapper related logic. - -Attributes: - API_VERSION (str): The CloudEndure API version to be used. - AUTH_TTL (str): The authentication token expiration in seconds. Defaults to: 3600. - HOST (str): The CloudEndure API URI. Defaults to: https://console.cloudendure.com - logger (logging.Logger): The default logger for the module. - -""" -import datetime -import logging -import os -from typing import Any, Dict, List -from webbrowser import open_new_tab - -import requests - -from .config import CloudEndureConfig -from .exceptions import CloudEndureException, CloudEndureUnauthorized -from .models import Machine, Project - -HOST: str = os.environ.get('CLOUDENDURE_HOST', 'https://console.cloudendure.com') -API_VERSION: str = os.environ.get('CLOUDENDURE_API_VERSION', 'latest').lower() -AUTH_TTL = datetime.timedelta(seconds=int(os.environ.get('CLOUDENDURE_AUTH_TTL', '3600'))) # Default to 60 minutes. - -logger = logging.getLogger(__name__) - - -class CloudEndureAPI: - """Define the CloudEndure API base. - - Attributes: - api_endpoint (str): The CloudEndure API endpoint to be used for API calls. - credentials (dict): The mapping of CloudEndure credentials. - session (requests.Session): The requests Session to be used throughout the lifecycle - of this API interaction. - - """ - - TOP_LEVEL: List[str] = ['projects', 'blueprints'] - - def __init__(self, *args, **kwargs): - """Initialize the CloudEndure API client. - - Attributes: - time_now (datetime): The datetime now in UTC. - - """ - time_now = datetime.datetime.utcnow() - - # if config is None: - # config = { - # 'host': os.environ.get('CLOUDENDURE_HOST', 'https://console.cloudendure.com').lower(), - # 'api_version': os.environ.get('CLOUDENDURE_API_VERSION', 'latest').lower(), - # 'auth_ttl': datetime.timedelta(seconds=int(os.environ.get('CLOUDENDURE_AUTH_TTL', '3600'))), - # } - - self.api_endpoint: str = f'{HOST}/api/{API_VERSION}' - self.config = CloudEndureConfig() - # self.credentials = { - # 'username': os.environ.get('CLOUDENDURE_USERNAME', ''), - # 'password': os.environ.get('CLOUDENDURE_PASSWORD', ''), - # 'token': os.environ.get('CLOUDENDURE_TOKEN', ''), - # 'last_updated': time_now, - # } - - # params = ['username', 'password', 'token'] - # for param in params: - # if not self.credentials.get(param, ''): - # self.credentials[param] = self.config.get(param, '') - - self.projects: List[str] = [] - self.session = requests.Session() - _xsrf_token: str = self.config.active_config.get('token', '') - self.session.headers: Dict[str, str] = {'Content-Type': 'application/json', 'Accept': 'text/plain', } - self.timestamps: Dict[str, Any] = {'created': time_now, 'updated': time_now, 'last_call': time_now} - - if _xsrf_token: - self.session.headers.update({'X-XSRF-TOKEN': _xsrf_token}) - - def login(self, username='', password=''): - """Login to the CloudEndure API console. - - Args: - username (str): The CloudEndure username to be used. - Defaults to the environment specific default. - password (str): The CloudEndure password to be used. - Defaults to the environment specific default. - - Attributes: - endpoint (str): The CloudEndure API endpoint to be used. - _username (str): The CloudEndure API username. - _password (str): The CloudEndure API password. - _auth (dict): The CloudEndure API username/password dictionary map. - response (requests.Response): The CloudEndure API login request response object. - _xsrf_token (str): The XSRF token to be used for subsequent API requests. - - """ - endpoint: str = 'login' - _username: str = self.config.active_config['username'] or username - _password: str = self.config.active_config['password'] or password - _auth: Dict[str, str] = {'username': _username, 'password': _password} - - # Attempt to login to the CloudEndure API via a POST request. - response: requests.Response = self.session.post(f'{self.api_endpoint}/{endpoint}', json=_auth) - print('response: ', response, response.status_code) - - # Check whether or not the request was successful. - if response.status_code not in [200, 307]: - if response.status_code == 401: - logger.error('Bad CloudEndure Credentials! Check your username/password and try again!') - elif response.status_code == 402: - logger.error('No CloudEndure License! Please configure your account and try again!') - elif response.status_code == 429: - logger.error('CloudEndure authentication failure limit reached! Please try again later!') - raise CloudEndureUnauthorized() - - print('response: ', response, response.cookies) - _xsrf_token: str = str(response.cookies['XSRF-TOKEN']) - - # Strip the XSRF token of wrapping double-quotes from the cookie. - if _xsrf_token.startswith('"') and _xsrf_token.endswith('"'): - _xsrf_token: str = _xsrf_token[1:-1] - - # Set the XSRF token data on the CloudEndureAPI object. - time_now = datetime.datetime.utcnow() - self.config.update_token(_xsrf_token) - self.session.headers.update({'X-XSRF-TOKEN': _xsrf_token}) - self.timestamps['last_call'] = time_now - return True - - def check_creds(self, login=True): - threshold = datetime.datetime.utcnow() - AUTH_TTL - - if threshold < self.config.active_config.get('last_updated', 0): - if login: - is_valid: bool = self.login() - if is_valid: - return {'status': 'updated'} - return {'status': 'expired'} - return {'status': 'valid'} - - def get_endpoint(self, path='', child_key='items'): - response: requests.Response = self.session.get(f'{self.api_endpoint}/{path}') - data: Dict[str, Any] = response.json() - status_code: int = response.status_code - print('status: ', status_code) - print('data: ', data) - if status_code not in [200, ]: - raise CloudEndureException() - return data.get(child_key, []) - - def post_endpoint(self, path=''): - response: requests.Response = self.session.post(f'{self.api_endpoint}/{path}') - return response - - def get_projects(self, current_project=''): - """Get the CloudEndure projects associated with the authenticated account.""" - self.login() - response: requests.Response = self.session.get(f'{self.api_endpoint}/projects') - data: Dict[str, Any] = response.json() - status_code: int = response.status_code - print('Status: ', status_code) - if status_code not in [200, ]: - raise CloudEndureException() - projects: List[Any] = data['items'] - self.projects: List[Any] = projects - - if current_project: - return list(filter(lambda project: project['name'] == current_project, projects)) - - return projects - - def get_project(self, project): - found_projects: List[Any] = self.get_endpoint(path='projects') - if not project: - return found_projects[0] - try: - return next(found_project for found_project in found_projects if found_project['name'] == project) - except Exception as e: - # Cowardly catch all Exception here. - logger.error(f'{e} - get_project - attempting to find the provided project in account projects.') - return {} - - def get_token(self, project=''): - """Get the CloudEndure project installation token.""" - found_project: Dict[str, Any] = self.get_project(project) - return found_project[0]['agentInstallationToken'] - - @classmethod - def docs(self): - """Open the CloudEndure API documentation page.""" - docs_url: str = os.environ.get('CLOUDENDURE_API_DOCS', 'https://console.cloudendure.com/api_doc/apis.html') - open_new_tab(docs_url) - return docs_url - - # def get_token(args): - # # This function fetch the project installation token - # # Usage: get_token(args) - # # 'args' is script user input (args.user, args.password, args.agentname) - # # - # # Returns: -1 on failure - # print "Fetching the installation token..." - # session, resp, endpoint = login(args) - # if session == -1: - # print "Failed to login" - # return -1 - - # project_name = args.project - - # projects_resp = session.get(url=HOST+endpoint+'projects') - # projects = json.loads(projects_resp.content)['items'] - - # project = [p for p in projects if project_name==p['name']] - # if not project: - # print 'Error! No project with name ' + args.project+ ' found' - # return -1 - - # return project[0]['agentInstallationToken'] - - -# class CloudEndureCredentials: -# """Define the CloudEndure Credentials object.""" - -# def __init__(self, *args, **kwargs): -# """Initialize the CloudEndure credentials.""" -# self. diff --git a/cloudendure/cloudendure.py b/cloudendure/cloudendure.py deleted file mode 100644 index d4190c6ce..000000000 --- a/cloudendure/cloudendure.py +++ /dev/null @@ -1,33 +0,0 @@ -#!/usr/bin/env python -# -*- coding: utf-8 -*- -"""Define the CloudEndure main entry logic.""" -import fire - -from cloudendure.cloudendure_api.api_client import ApiClient - -from .api import CloudEndureAPI -from .config import CloudEndureConfig - - -class CloudEndure: - """Define the CloudEndure general object.""" - - def __init__(self): - """Initialize the CloudEndure object. - - This entrypoint is primarily for use with the CLI. - - """ - self.config = CloudEndureConfig() - self.api = CloudEndureAPI() - self.api_client = ApiClient() - - -def main(): - """Define the main entry method for the CLI.""" - # Run CloudEndure via the pipeline object for easy CLI access. - fire.Fire(CloudEndure) - - -if __name__ == '__main__': - main() diff --git a/cloudendure/cloudendure_api/__init__.py b/cloudendure/cloudendure_api/__init__.py deleted file mode 100644 index d2fb19e33..000000000 --- a/cloudendure/cloudendure_api/__init__.py +++ /dev/null @@ -1,121 +0,0 @@ -# coding: utf-8 - -# flake8: noqa -from __future__ import absolute_import - -# import apis into sdk package -from cloudendure.cloudendure_api.api.account_api import AccountApi -from cloudendure.cloudendure_api.api.actions_api import ActionsApi -from cloudendure.cloudendure_api.api.authentication_api import AuthenticationApi -from cloudendure.cloudendure_api.api.blueprint_api import BlueprintApi -from cloudendure.cloudendure_api.api.cloud_api import CloudApi -from cloudendure.cloudendure_api.api.cloud_credentials_api import CloudCredentialsApi -from cloudendure.cloudendure_api.api.default_api import DefaultApi -from cloudendure.cloudendure_api.api.licensing_api import LicensingApi -from cloudendure.cloudendure_api.api.machines_api import MachinesApi -from cloudendure.cloudendure_api.api.project_api import ProjectApi -from cloudendure.cloudendure_api.api.recovery_plans_api import RecoveryPlansApi -from cloudendure.cloudendure_api.api.replication_api import ReplicationApi -from cloudendure.cloudendure_api.api.user_api import UserApi -# import ApiClient -from cloudendure.cloudendure_api.api_client import ApiClient -from cloudendure.cloudendure_api.configuration import Configuration -# import models into sdk package -from cloudendure.cloudendure_api.models.cloud_endure_account import CloudEndureAccount -from cloudendure.cloudendure_api.models.cloud_endure_account_request import CloudEndureAccountRequest -from cloudendure.cloudendure_api.models.cloud_endure_account_request_list import CloudEndureAccountRequestList -from cloudendure.cloudendure_api.models.cloud_endure_accounts_list import CloudEndureAccountsList -from cloudendure.cloudendure_api.models.cloud_endure_agent_next_replication_init_request import ( - CloudEndureAgentNextReplicationInitRequest, -) -from cloudendure.cloudendure_api.models.cloud_endure_all_project_features import CloudEndureAllProjectFeatures -from cloudendure.cloudendure_api.models.cloud_endure_audit_log import CloudEndureAuditLog -from cloudendure.cloudendure_api.models.cloud_endure_audit_log_changed_field import CloudEndureAuditLogChangedField -from cloudendure.cloudendure_api.models.cloud_endure_audit_log_entry import CloudEndureAuditLogEntry -from cloudendure.cloudendure_api.models.cloud_endure_bandwidth_throttling import CloudEndureBandwidthThrottling -from cloudendure.cloudendure_api.models.cloud_endure_blueprint import CloudEndureBlueprint -from cloudendure.cloudendure_api.models.cloud_endure_blueprint_list import CloudEndureBlueprintList -from cloudendure.cloudendure_api.models.cloud_endure_cloud import CloudEndureCloud -from cloudendure.cloudendure_api.models.cloud_endure_cloud_credentials import CloudEndureCloudCredentials -from cloudendure.cloudendure_api.models.cloud_endure_cloud_credentials_list import CloudEndureCloudCredentialsList -from cloudendure.cloudendure_api.models.cloud_endure_cloud_credentials_request import CloudEndureCloudCredentialsRequest -from cloudendure.cloudendure_api.models.cloud_endure_clouds_list import CloudEndureCloudsList -from cloudendure.cloudendure_api.models.cloud_endure_compute_location import CloudEndureComputeLocation -from cloudendure.cloudendure_api.models.cloud_endure_configurations import CloudEndureConfigurations -from cloudendure.cloudendure_api.models.cloud_endure_configurations_list import CloudEndureConfigurationsList -from cloudendure.cloudendure_api.models.cloud_endure_error import CloudEndureError -from cloudendure.cloudendure_api.models.cloud_endure_extended_account_info import CloudEndureExtendedAccountInfo -from cloudendure.cloudendure_api.models.cloud_endure_find_files_parameters import CloudEndureFindFilesParameters -from cloudendure.cloudendure_api.models.cloud_endure_find_files_result import CloudEndureFindFilesResult -from cloudendure.cloudendure_api.models.cloud_endure_find_files_result_pit import CloudEndureFindFilesResultPit -from cloudendure.cloudendure_api.models.cloud_endure_find_files_results import CloudEndureFindFilesResults -from cloudendure.cloudendure_api.models.cloud_endure_gcp_machines_finance_data import CloudEndureGcpMachinesFinanceData -from cloudendure.cloudendure_api.models.cloud_endure_identity_provider_redirect_response import ( - CloudEndureIdentityProviderRedirectResponse, -) -from cloudendure.cloudendure_api.models.cloud_endure_initialization_step import CloudEndureInitializationStep -from cloudendure.cloudendure_api.models.cloud_endure_job import CloudEndureJob -from cloudendure.cloudendure_api.models.cloud_endure_jobs_list import CloudEndureJobsList -from cloudendure.cloudendure_api.models.cloud_endure_key_value_list import CloudEndureKeyValueList -from cloudendure.cloudendure_api.models.cloud_endure_launch_machines_parameters import ( - CloudEndureLaunchMachinesParameters, -) -from cloudendure.cloudendure_api.models.cloud_endure_license import CloudEndureLicense -from cloudendure.cloudendure_api.models.cloud_endure_license_features import CloudEndureLicenseFeatures -from cloudendure.cloudendure_api.models.cloud_endure_license_list import CloudEndureLicenseList -from cloudendure.cloudendure_api.models.cloud_endure_list_users_result import CloudEndureListUsersResult -from cloudendure.cloudendure_api.models.cloud_endure_list_users_results import CloudEndureListUsersResults -from cloudendure.cloudendure_api.models.cloud_endure_logical_location import CloudEndureLogicalLocation -from cloudendure.cloudendure_api.models.cloud_endure_machine import CloudEndureMachine -from cloudendure.cloudendure_api.models.cloud_endure_machine_and_path_and_point_in_time import ( - CloudEndureMachineAndPathAndPointInTime, -) -from cloudendure.cloudendure_api.models.cloud_endure_machine_and_point_in_time import CloudEndureMachineAndPointInTime -from cloudendure.cloudendure_api.models.cloud_endure_machine_replication_configuration import ( - CloudEndureMachineReplicationConfiguration, -) -from cloudendure.cloudendure_api.models.cloud_endure_machine_snapshot_credits import CloudEndureMachineSnapshotCredits -from cloudendure.cloudendure_api.models.cloud_endure_machine_throttle_time_seconds import ( - CloudEndureMachineThrottleTimeSeconds, -) -from cloudendure.cloudendure_api.models.cloud_endure_machines_list import CloudEndureMachinesList -from cloudendure.cloudendure_api.models.cloud_endure_machines_list_invalid_i_ds_and_job import ( - CloudEndureMachinesListInvalidIDsAndJob, -) -from cloudendure.cloudendure_api.models.cloud_endure_network_interface import CloudEndureNetworkInterface -from cloudendure.cloudendure_api.models.cloud_endure_point_in_time import CloudEndurePointInTime -from cloudendure.cloudendure_api.models.cloud_endure_point_in_time_list import CloudEndurePointInTimeList -from cloudendure.cloudendure_api.models.cloud_endure_project import CloudEndureProject -from cloudendure.cloudendure_api.models.cloud_endure_project_storage import CloudEndureProjectStorage -from cloudendure.cloudendure_api.models.cloud_endure_projects_and_users import CloudEndureProjectsAndUsers -from cloudendure.cloudendure_api.models.cloud_endure_projects_list import CloudEndureProjectsList -from cloudendure.cloudendure_api.models.cloud_endure_recovery_plan import CloudEndureRecoveryPlan -from cloudendure.cloudendure_api.models.cloud_endure_recovery_plan_list import CloudEndureRecoveryPlanList -from cloudendure.cloudendure_api.models.cloud_endure_recovery_plan_step import CloudEndureRecoveryPlanStep -from cloudendure.cloudendure_api.models.cloud_endure_recovery_plan_steps import CloudEndureRecoveryPlanSteps -from cloudendure.cloudendure_api.models.cloud_endure_region import CloudEndureRegion -from cloudendure.cloudendure_api.models.cloud_endure_regions_list import CloudEndureRegionsList -from cloudendure.cloudendure_api.models.cloud_endure_replica import CloudEndureReplica -from cloudendure.cloudendure_api.models.cloud_endure_replication_configuration import ( - CloudEndureReplicationConfiguration, -) -from cloudendure.cloudendure_api.models.cloud_endure_replication_configuration_list import ( - CloudEndureReplicationConfigurationList, -) -from cloudendure.cloudendure_api.models.cloud_endure_replication_server_config import CloudEndureReplicationServerConfig -from cloudendure.cloudendure_api.models.cloud_endure_restore_files_parameters import CloudEndureRestoreFilesParameters -from cloudendure.cloudendure_api.models.cloud_endure_saml_settings import CloudEndureSamlSettings -from cloudendure.cloudendure_api.models.cloud_endure_security_group import CloudEndureSecurityGroup -from cloudendure.cloudendure_api.models.cloud_endure_storage_location import CloudEndureStorageLocation -from cloudendure.cloudendure_api.models.cloud_endure_subnet import CloudEndureSubnet -from cloudendure.cloudendure_api.models.cloud_endure_time import CloudEndureTime -from cloudendure.cloudendure_api.models.cloud_endure_updateable_scripts import CloudEndureUpdateableScripts -from cloudendure.cloudendure_api.models.cloud_endure_upgrade_counter_delay import CloudEndureUpgradeCounterDelay -from cloudendure.cloudendure_api.models.cloud_endure_usage import CloudEndureUsage -from cloudendure.cloudendure_api.models.cloud_endure_usage_list import CloudEndureUsageList -from cloudendure.cloudendure_api.models.cloud_endure_user import CloudEndureUser -from cloudendure.cloudendure_api.models.cloud_endure_user_report import CloudEndureUserReport -from cloudendure.cloudendure_api.models.cloud_endure_user_reports import CloudEndureUserReports -from cloudendure.cloudendure_api.models.cloud_endure_users_and_roles import CloudEndureUsersAndRoles -from cloudendure.cloudendure_api.models.cloud_endure_users_list import CloudEndureUsersList -from cloudendure.cloudendure_api.models.cloud_endure_v_center_subnet import CloudEndureVCenterSubnet diff --git a/cloudendure/cloudendure_api/api/__init__.py b/cloudendure/cloudendure_api/api/__init__.py deleted file mode 100644 index 0f53826ec..000000000 --- a/cloudendure/cloudendure_api/api/__init__.py +++ /dev/null @@ -1,18 +0,0 @@ -from __future__ import absolute_import - -# import apis into api package -from cloudendure.cloudendure_api.api.account_api import AccountApi -from cloudendure.cloudendure_api.api.actions_api import ActionsApi -from cloudendure.cloudendure_api.api.authentication_api import AuthenticationApi -from cloudendure.cloudendure_api.api.blueprint_api import BlueprintApi -from cloudendure.cloudendure_api.api.cloud_api import CloudApi -from cloudendure.cloudendure_api.api.cloud_credentials_api import CloudCredentialsApi -from cloudendure.cloudendure_api.api.default_api import DefaultApi -from cloudendure.cloudendure_api.api.licensing_api import LicensingApi -from cloudendure.cloudendure_api.api.machines_api import MachinesApi -from cloudendure.cloudendure_api.api.project_api import ProjectApi -from cloudendure.cloudendure_api.api.recovery_plans_api import RecoveryPlansApi -from cloudendure.cloudendure_api.api.replication_api import ReplicationApi -from cloudendure.cloudendure_api.api.user_api import UserApi - -# flake8: noqa diff --git a/cloudendure/cloudendure_api/api/account_api.py b/cloudendure/cloudendure_api/api/account_api.py deleted file mode 100644 index 5a768dec7..000000000 --- a/cloudendure/cloudendure_api/api/account_api.py +++ /dev/null @@ -1,126 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import re # noqa: F401 - -# python 2 and python 3 compatibility library -import six - -from cloudendure.cloudendure_api.api_client import ApiClient - - -class AccountApi: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - Ref: https://github.com/swagger-api/swagger-codegen - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - - def accounts_account_id_get(self, account_id, **kwargs): # noqa: E501 - """Get Account information. - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.accounts_account_id_get(account_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str account_id: (required) - :return: CloudEndureAccount - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.accounts_account_id_get_with_http_info(account_id, **kwargs) # noqa: E501 - else: - (data) = self.accounts_account_id_get_with_http_info(account_id, **kwargs) # noqa: E501 - return data - - def accounts_account_id_get_with_http_info(self, account_id, **kwargs): # noqa: E501 - """Get Account information # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.accounts_account_id_get_with_http_info(account_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str account_id: (required) - :return: CloudEndureAccount - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['account_id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method accounts_account_id_get" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'account_id' is set - if ('account_id' not in params or - params['account_id'] is None): - raise ValueError("Missing the required parameter `account_id` when calling `accounts_account_id_get`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'account_id' in params: - path_params['accountId'] = params['account_id'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/accounts/{accountId}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='CloudEndureAccount', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) diff --git a/cloudendure/cloudendure_api/api/actions_api.py b/cloudendure/cloudendure_api/api/actions_api.py deleted file mode 100644 index 938a2dc9a..000000000 --- a/cloudendure/cloudendure_api/api/actions_api.py +++ /dev/null @@ -1,1289 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import re # noqa: F401 - -# python 2 and python 3 compatibility library -import six - -from cloudendure.cloudendure_api.api_client import ApiClient - - -class ActionsApi: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - Ref: https://github.com/swagger-api/swagger-codegen - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - - def projects_project_id_find_files_post(self, body, project_id, **kwargs): # noqa: E501 - """Search for files in a backup project # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_find_files_post(body, project_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param CloudEndureFindFilesParameters body: The query string and the machine id's to use it in (required) - :param str project_id: (required) - :return: CloudEndureFindFilesResults - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.projects_project_id_find_files_post_with_http_info(body, project_id, **kwargs) # noqa: E501 - else: - (data) = self.projects_project_id_find_files_post_with_http_info(body, project_id, **kwargs) # noqa: E501 - return data - - def projects_project_id_find_files_post_with_http_info(self, body, project_id, **kwargs): # noqa: E501 - """Search for files in a backup project # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_find_files_post_with_http_info(body, project_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param CloudEndureFindFilesParameters body: The query string and the machine id's to use it in (required) - :param str project_id: (required) - :return: CloudEndureFindFilesResults - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body', 'project_id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method projects_project_id_find_files_post" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `projects_project_id_find_files_post`") # noqa: E501 - # verify the required parameter 'project_id' is set - if ('project_id' not in params or - params['project_id'] is None): - raise ValueError("Missing the required parameter `project_id` when calling `projects_project_id_find_files_post`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'project_id' in params: - path_params['projectId'] = params['project_id'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/projects/{projectId}/findFiles', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='CloudEndureFindFilesResults', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def projects_project_id_jobs_get(self, project_id, **kwargs): # noqa: E501 - """List Jobs # noqa: E501 - - Returns the list of jobs in the project. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_jobs_get(project_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project_id: (required) - :param int offset: With which item to start (0 based). - :param int limit: A number specifying how many entries to return. - :return: CloudEndureJobsList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.projects_project_id_jobs_get_with_http_info(project_id, **kwargs) # noqa: E501 - else: - (data) = self.projects_project_id_jobs_get_with_http_info(project_id, **kwargs) # noqa: E501 - return data - - def projects_project_id_jobs_get_with_http_info(self, project_id, **kwargs): # noqa: E501 - """List Jobs # noqa: E501 - - Returns the list of jobs in the project. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_jobs_get_with_http_info(project_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project_id: (required) - :param int offset: With which item to start (0 based). - :param int limit: A number specifying how many entries to return. - :return: CloudEndureJobsList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['project_id', 'offset', 'limit'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method projects_project_id_jobs_get" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'project_id' is set - if ('project_id' not in params or - params['project_id'] is None): - raise ValueError("Missing the required parameter `project_id` when calling `projects_project_id_jobs_get`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'project_id' in params: - path_params['projectId'] = params['project_id'] # noqa: E501 - - query_params = [] - if 'offset' in params: - query_params.append(('offset', params['offset'])) # noqa: E501 - if 'limit' in params: - query_params.append(('limit', params['limit'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/projects/{projectId}/jobs', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='CloudEndureJobsList', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def projects_project_id_jobs_job_id_get(self, project_id, job_id, **kwargs): # noqa: E501 - """Get Job # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_jobs_job_id_get(project_id, job_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project_id: (required) - :param str job_id: (required) - :return: CloudEndureJob - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.projects_project_id_jobs_job_id_get_with_http_info(project_id, job_id, **kwargs) # noqa: E501 - else: - (data) = self.projects_project_id_jobs_job_id_get_with_http_info(project_id, job_id, **kwargs) # noqa: E501 - return data - - def projects_project_id_jobs_job_id_get_with_http_info(self, project_id, job_id, **kwargs): # noqa: E501 - """Get Job # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_jobs_job_id_get_with_http_info(project_id, job_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project_id: (required) - :param str job_id: (required) - :return: CloudEndureJob - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['project_id', 'job_id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method projects_project_id_jobs_job_id_get" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'project_id' is set - if ('project_id' not in params or - params['project_id'] is None): - raise ValueError("Missing the required parameter `project_id` when calling `projects_project_id_jobs_job_id_get`") # noqa: E501 - # verify the required parameter 'job_id' is set - if ('job_id' not in params or - params['job_id'] is None): - raise ValueError("Missing the required parameter `job_id` when calling `projects_project_id_jobs_job_id_get`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'project_id' in params: - path_params['projectId'] = params['project_id'] # noqa: E501 - if 'job_id' in params: - path_params['jobId'] = params['job_id'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/projects/{projectId}/jobs/{jobId}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='CloudEndureJob', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def projects_project_id_launch_machines_post(self, body, project_id, **kwargs): # noqa: E501 - """Launch target machines # noqa: E501 - - Launch target machines for test, recovery or cutover (by passing enum value to launchType param) # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_launch_machines_post(body, project_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param CloudEndureLaunchMachinesParameters body: Machines to launch (required) - :param str project_id: (required) - :return: CloudEndureJob - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.projects_project_id_launch_machines_post_with_http_info(body, project_id, **kwargs) # noqa: E501 - else: - (data) = self.projects_project_id_launch_machines_post_with_http_info(body, project_id, **kwargs) # noqa: E501 - return data - - def projects_project_id_launch_machines_post_with_http_info(self, body, project_id, **kwargs): # noqa: E501 - """Launch target machines # noqa: E501 - - Launch target machines for test, recovery or cutover (by passing enum value to launchType param) # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_launch_machines_post_with_http_info(body, project_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param CloudEndureLaunchMachinesParameters body: Machines to launch (required) - :param str project_id: (required) - :return: CloudEndureJob - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body', 'project_id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method projects_project_id_launch_machines_post" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `projects_project_id_launch_machines_post`") # noqa: E501 - # verify the required parameter 'project_id' is set - if ('project_id' not in params or - params['project_id'] is None): - raise ValueError("Missing the required parameter `project_id` when calling `projects_project_id_launch_machines_post`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'project_id' in params: - path_params['projectId'] = params['project_id'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/projects/{projectId}/launchMachines', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='CloudEndureJob', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def projects_project_id_launch_restore_servers_post(self, body, project_id, **kwargs): # noqa: E501 - """Launch restore servers @todo # noqa: E501 - - todo # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_launch_restore_servers_post(body, project_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param CloudEndureLaunchMachinesParameters body: todo (required) - :param str project_id: (required) - :return: CloudEndureJob - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.projects_project_id_launch_restore_servers_post_with_http_info(body, project_id, **kwargs) # noqa: E501 - else: - (data) = self.projects_project_id_launch_restore_servers_post_with_http_info(body, project_id, **kwargs) # noqa: E501 - return data - - def projects_project_id_launch_restore_servers_post_with_http_info(self, body, project_id, **kwargs): # noqa: E501 - """Launch restore servers @todo # noqa: E501 - - todo # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_launch_restore_servers_post_with_http_info(body, project_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param CloudEndureLaunchMachinesParameters body: todo (required) - :param str project_id: (required) - :return: CloudEndureJob - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body', 'project_id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method projects_project_id_launch_restore_servers_post" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `projects_project_id_launch_restore_servers_post`") # noqa: E501 - # verify the required parameter 'project_id' is set - if ('project_id' not in params or - params['project_id'] is None): - raise ValueError("Missing the required parameter `project_id` when calling `projects_project_id_launch_restore_servers_post`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'project_id' in params: - path_params['projectId'] = params['project_id'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/projects/{projectId}/launchRestoreServers', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='CloudEndureJob', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def projects_project_id_move_machines_post(self, body, project_id, **kwargs): # noqa: E501 - """Moves machines to another project # noqa: E501 - - TBC # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_move_machines_post(body, project_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param object body: (required) - :param str project_id: (required) - :return: None - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.projects_project_id_move_machines_post_with_http_info(body, project_id, **kwargs) # noqa: E501 - else: - (data) = self.projects_project_id_move_machines_post_with_http_info(body, project_id, **kwargs) # noqa: E501 - return data - - def projects_project_id_move_machines_post_with_http_info(self, body, project_id, **kwargs): # noqa: E501 - """Moves machines to another project # noqa: E501 - - TBC # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_move_machines_post_with_http_info(body, project_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param object body: (required) - :param str project_id: (required) - :return: None - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body', 'project_id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method projects_project_id_move_machines_post" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `projects_project_id_move_machines_post`") # noqa: E501 - # verify the required parameter 'project_id' is set - if ('project_id' not in params or - params['project_id'] is None): - raise ValueError("Missing the required parameter `project_id` when calling `projects_project_id_move_machines_post`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'project_id' in params: - path_params['projectId'] = params['project_id'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/projects/{projectId}/moveMachines', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type=None, # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def projects_project_id_pause_replication_post(self, body, project_id, **kwargs): # noqa: E501 - """Pause replication # noqa: E501 - - Pause replication for given machines # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_pause_replication_post(body, project_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param object body: The machine IDs for which to pause replication. (required) - :param str project_id: (required) - :return: CloudEndureMachinesListInvalidIDsAndJob - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.projects_project_id_pause_replication_post_with_http_info(body, project_id, **kwargs) # noqa: E501 - else: - (data) = self.projects_project_id_pause_replication_post_with_http_info(body, project_id, **kwargs) # noqa: E501 - return data - - def projects_project_id_pause_replication_post_with_http_info(self, body, project_id, **kwargs): # noqa: E501 - """Pause replication # noqa: E501 - - Pause replication for given machines # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_pause_replication_post_with_http_info(body, project_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param object body: The machine IDs for which to pause replication. (required) - :param str project_id: (required) - :return: CloudEndureMachinesListInvalidIDsAndJob - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body', 'project_id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method projects_project_id_pause_replication_post" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `projects_project_id_pause_replication_post`") # noqa: E501 - # verify the required parameter 'project_id' is set - if ('project_id' not in params or - params['project_id'] is None): - raise ValueError("Missing the required parameter `project_id` when calling `projects_project_id_pause_replication_post`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'project_id' in params: - path_params['projectId'] = params['project_id'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/projects/{projectId}/pauseReplication', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='CloudEndureMachinesListInvalidIDsAndJob', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def projects_project_id_replicas_delete(self, body, project_id, **kwargs): # noqa: E501 - """Perform Cleanup # noqa: E501 - - Spawns a cleanup job to remove the specified target machines from the cloud. Returns the job information. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_replicas_delete(body, project_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param object body: The list of replica IDs to delete (corresponding to the 'replica' field in the machine object. (required) - :param str project_id: (required) - :return: CloudEndureJob - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.projects_project_id_replicas_delete_with_http_info(body, project_id, **kwargs) # noqa: E501 - else: - (data) = self.projects_project_id_replicas_delete_with_http_info(body, project_id, **kwargs) # noqa: E501 - return data - - def projects_project_id_replicas_delete_with_http_info(self, body, project_id, **kwargs): # noqa: E501 - """Perform Cleanup # noqa: E501 - - Spawns a cleanup job to remove the specified target machines from the cloud. Returns the job information. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_replicas_delete_with_http_info(body, project_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param object body: The list of replica IDs to delete (corresponding to the 'replica' field in the machine object. (required) - :param str project_id: (required) - :return: CloudEndureJob - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body', 'project_id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method projects_project_id_replicas_delete" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `projects_project_id_replicas_delete`") # noqa: E501 - # verify the required parameter 'project_id' is set - if ('project_id' not in params or - params['project_id'] is None): - raise ValueError("Missing the required parameter `project_id` when calling `projects_project_id_replicas_delete`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'project_id' in params: - path_params['projectId'] = params['project_id'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/projects/{projectId}/replicas', 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='CloudEndureJob', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def projects_project_id_restore_files_post(self, body, project_id, **kwargs): # noqa: E501 - """Restore selected files in a backup project # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_restore_files_post(body, project_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param CloudEndureRestoreFilesParameters body: A list of file origins, each origin includes file path, machine id, and pit id. (required) - :param str project_id: (required) - :return: CloudEndureJob - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.projects_project_id_restore_files_post_with_http_info(body, project_id, **kwargs) # noqa: E501 - else: - (data) = self.projects_project_id_restore_files_post_with_http_info(body, project_id, **kwargs) # noqa: E501 - return data - - def projects_project_id_restore_files_post_with_http_info(self, body, project_id, **kwargs): # noqa: E501 - """Restore selected files in a backup project # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_restore_files_post_with_http_info(body, project_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param CloudEndureRestoreFilesParameters body: A list of file origins, each origin includes file path, machine id, and pit id. (required) - :param str project_id: (required) - :return: CloudEndureJob - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body', 'project_id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method projects_project_id_restore_files_post" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `projects_project_id_restore_files_post`") # noqa: E501 - # verify the required parameter 'project_id' is set - if ('project_id' not in params or - params['project_id'] is None): - raise ValueError("Missing the required parameter `project_id` when calling `projects_project_id_restore_files_post`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'project_id' in params: - path_params['projectId'] = params['project_id'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/projects/{projectId}/restoreFiles', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='CloudEndureJob', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def projects_project_id_reverse_replication_post(self, project_id, **kwargs): # noqa: E501 - """Reverse replication direction # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_reverse_replication_post(project_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project_id: (required) - :return: None - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.projects_project_id_reverse_replication_post_with_http_info(project_id, **kwargs) # noqa: E501 - else: - (data) = self.projects_project_id_reverse_replication_post_with_http_info(project_id, **kwargs) # noqa: E501 - return data - - def projects_project_id_reverse_replication_post_with_http_info(self, project_id, **kwargs): # noqa: E501 - """Reverse replication direction # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_reverse_replication_post_with_http_info(project_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project_id: (required) - :return: None - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['project_id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method projects_project_id_reverse_replication_post" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'project_id' is set - if ('project_id' not in params or - params['project_id'] is None): - raise ValueError("Missing the required parameter `project_id` when calling `projects_project_id_reverse_replication_post`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'project_id' in params: - path_params['projectId'] = params['project_id'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/projects/{projectId}/reverseReplication', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type=None, # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def projects_project_id_start_replication_post(self, body, project_id, **kwargs): # noqa: E501 - """Start replication # noqa: E501 - - Start replication of the specified source machines. Returns the machine for which replication has been successfully started, and the IDs for which replication could not be started. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_start_replication_post(body, project_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param object body: Specification of the machines for which replication will start. (required) - :param str project_id: (required) - :return: CloudEndureMachinesListInvalidIDsAndJob - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.projects_project_id_start_replication_post_with_http_info(body, project_id, **kwargs) # noqa: E501 - else: - (data) = self.projects_project_id_start_replication_post_with_http_info(body, project_id, **kwargs) # noqa: E501 - return data - - def projects_project_id_start_replication_post_with_http_info(self, body, project_id, **kwargs): # noqa: E501 - """Start replication # noqa: E501 - - Start replication of the specified source machines. Returns the machine for which replication has been successfully started, and the IDs for which replication could not be started. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_start_replication_post_with_http_info(body, project_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param object body: Specification of the machines for which replication will start. (required) - :param str project_id: (required) - :return: CloudEndureMachinesListInvalidIDsAndJob - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body', 'project_id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method projects_project_id_start_replication_post" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `projects_project_id_start_replication_post`") # noqa: E501 - # verify the required parameter 'project_id' is set - if ('project_id' not in params or - params['project_id'] is None): - raise ValueError("Missing the required parameter `project_id` when calling `projects_project_id_start_replication_post`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'project_id' in params: - path_params['projectId'] = params['project_id'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/projects/{projectId}/startReplication', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='CloudEndureMachinesListInvalidIDsAndJob', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def projects_project_id_stop_replication_post(self, body, project_id, **kwargs): # noqa: E501 - """Stop replication # noqa: E501 - - Stop replication of the specified source machines. Returns the machine for which replication has been successfully stopped, and the IDs for which replication could not be stopped. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_stop_replication_post(body, project_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param object body: Specification of the machines for which replication will stop. (required) - :param str project_id: (required) - :return: CloudEndureMachinesListInvalidIDsAndJob - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.projects_project_id_stop_replication_post_with_http_info(body, project_id, **kwargs) # noqa: E501 - else: - (data) = self.projects_project_id_stop_replication_post_with_http_info(body, project_id, **kwargs) # noqa: E501 - return data - - def projects_project_id_stop_replication_post_with_http_info(self, body, project_id, **kwargs): # noqa: E501 - """Stop replication # noqa: E501 - - Stop replication of the specified source machines. Returns the machine for which replication has been successfully stopped, and the IDs for which replication could not be stopped. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_stop_replication_post_with_http_info(body, project_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param object body: Specification of the machines for which replication will stop. (required) - :param str project_id: (required) - :return: CloudEndureMachinesListInvalidIDsAndJob - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body', 'project_id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method projects_project_id_stop_replication_post" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `projects_project_id_stop_replication_post`") # noqa: E501 - # verify the required parameter 'project_id' is set - if ('project_id' not in params or - params['project_id'] is None): - raise ValueError("Missing the required parameter `project_id` when calling `projects_project_id_stop_replication_post`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'project_id' in params: - path_params['projectId'] = params['project_id'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/projects/{projectId}/stopReplication', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='CloudEndureMachinesListInvalidIDsAndJob', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) diff --git a/cloudendure/cloudendure_api/api/authentication_api.py b/cloudendure/cloudendure_api/api/authentication_api.py deleted file mode 100644 index f19c73c39..000000000 --- a/cloudendure/cloudendure_api/api/authentication_api.py +++ /dev/null @@ -1,215 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import re # noqa: F401 - -# python 2 and python 3 compatibility library -import six - -from cloudendure.cloudendure_api.api_client import ApiClient - - -class AuthenticationApi: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - Ref: https://github.com/swagger-api/swagger-codegen - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - - def login_post(self, body, **kwargs): # noqa: E501 - """Login # noqa: E501 - - @todo: fix re use of XSRF-TOKEN cookie + X-XSRF-TOKEN header Upon successful authentication, this method returns a session identifier cookie that can be used to authenticate subsequent API calls. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.login_post(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param object body: Login info (required) - :return: CloudEndureUser - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.login_post_with_http_info(body, **kwargs) # noqa: E501 - else: - (data) = self.login_post_with_http_info(body, **kwargs) # noqa: E501 - return data - - def login_post_with_http_info(self, body, **kwargs): # noqa: E501 - """Login # noqa: E501 - - @todo: fix re use of XSRF-TOKEN cookie + X-XSRF-TOKEN header Upon successful authentication, this method returns a session identifier cookie that can be used to authenticate subsequent API calls. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.login_post_with_http_info(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param object body: Login info (required) - :return: CloudEndureUser - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method login_post" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `login_post`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/login', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='CloudEndureUser', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def logout_post(self, **kwargs): # noqa: E501 - """Logout # noqa: E501 - - Invalidates the session identifier associated with this session. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.logout_post(async_req=True) - >>> result = thread.get() - - :param async_req bool - :return: None - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.logout_post_with_http_info(**kwargs) # noqa: E501 - else: - (data) = self.logout_post_with_http_info(**kwargs) # noqa: E501 - return data - - def logout_post_with_http_info(self, **kwargs): # noqa: E501 - """Logout # noqa: E501 - - Invalidates the session identifier associated with this session. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.logout_post_with_http_info(async_req=True) - >>> result = thread.get() - - :param async_req bool - :return: None - If the method is called asynchronously, - returns the request thread. - """ - - all_params = [] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method logout_post" % key - ) - params[key] = val - del params['kwargs'] - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/logout', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type=None, # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) diff --git a/cloudendure/cloudendure_api/api/blueprint_api.py b/cloudendure/cloudendure_api/api/blueprint_api.py deleted file mode 100644 index 7959e77cf..000000000 --- a/cloudendure/cloudendure_api/api/blueprint_api.py +++ /dev/null @@ -1,459 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import re # noqa: F401 - -# python 2 and python 3 compatibility library -import six - -from cloudendure.cloudendure_api.api_client import ApiClient - - -class BlueprintApi: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - Ref: https://github.com/swagger-api/swagger-codegen - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - - def projects_project_id_blueprints_blueprint_id_get(self, project_id, blueprint_id, **kwargs): # noqa: E501 - """Get Blueprint # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_blueprints_blueprint_id_get(project_id, blueprint_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project_id: (required) - :param str blueprint_id: (required) - :return: CloudEndureBlueprint - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.projects_project_id_blueprints_blueprint_id_get_with_http_info(project_id, blueprint_id, **kwargs) # noqa: E501 - else: - (data) = self.projects_project_id_blueprints_blueprint_id_get_with_http_info(project_id, blueprint_id, **kwargs) # noqa: E501 - return data - - def projects_project_id_blueprints_blueprint_id_get_with_http_info(self, project_id, blueprint_id, **kwargs): # noqa: E501 - """Get Blueprint # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_blueprints_blueprint_id_get_with_http_info(project_id, blueprint_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project_id: (required) - :param str blueprint_id: (required) - :return: CloudEndureBlueprint - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['project_id', 'blueprint_id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method projects_project_id_blueprints_blueprint_id_get" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'project_id' is set - if ('project_id' not in params or - params['project_id'] is None): - raise ValueError("Missing the required parameter `project_id` when calling `projects_project_id_blueprints_blueprint_id_get`") # noqa: E501 - # verify the required parameter 'blueprint_id' is set - if ('blueprint_id' not in params or - params['blueprint_id'] is None): - raise ValueError("Missing the required parameter `blueprint_id` when calling `projects_project_id_blueprints_blueprint_id_get`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'project_id' in params: - path_params['projectId'] = params['project_id'] # noqa: E501 - if 'blueprint_id' in params: - path_params['blueprintId'] = params['blueprint_id'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/projects/{projectId}/blueprints/{blueprintId}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='CloudEndureBlueprint', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def projects_project_id_blueprints_blueprint_id_patch(self, body, project_id, blueprint_id, **kwargs): # noqa: E501 - """Configure Blueprint # noqa: E501 - - Configure target machine characteristics: machine and disk types, network configuration, etc. Returns the modified object. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_blueprints_blueprint_id_patch(body, project_id, blueprint_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param CloudEndureBlueprint body: (required) - :param str project_id: (required) - :param str blueprint_id: (required) - :return: CloudEndureBlueprint - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.projects_project_id_blueprints_blueprint_id_patch_with_http_info(body, project_id, blueprint_id, **kwargs) # noqa: E501 - else: - (data) = self.projects_project_id_blueprints_blueprint_id_patch_with_http_info(body, project_id, blueprint_id, **kwargs) # noqa: E501 - return data - - def projects_project_id_blueprints_blueprint_id_patch_with_http_info(self, body, project_id, blueprint_id, **kwargs): # noqa: E501 - """Configure Blueprint # noqa: E501 - - Configure target machine characteristics: machine and disk types, network configuration, etc. Returns the modified object. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_blueprints_blueprint_id_patch_with_http_info(body, project_id, blueprint_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param CloudEndureBlueprint body: (required) - :param str project_id: (required) - :param str blueprint_id: (required) - :return: CloudEndureBlueprint - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body', 'project_id', 'blueprint_id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method projects_project_id_blueprints_blueprint_id_patch" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `projects_project_id_blueprints_blueprint_id_patch`") # noqa: E501 - # verify the required parameter 'project_id' is set - if ('project_id' not in params or - params['project_id'] is None): - raise ValueError("Missing the required parameter `project_id` when calling `projects_project_id_blueprints_blueprint_id_patch`") # noqa: E501 - # verify the required parameter 'blueprint_id' is set - if ('blueprint_id' not in params or - params['blueprint_id'] is None): - raise ValueError("Missing the required parameter `blueprint_id` when calling `projects_project_id_blueprints_blueprint_id_patch`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'project_id' in params: - path_params['projectId'] = params['project_id'] # noqa: E501 - if 'blueprint_id' in params: - path_params['blueprintId'] = params['blueprint_id'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/projects/{projectId}/blueprints/{blueprintId}', 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='CloudEndureBlueprint', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def projects_project_id_blueprints_get(self, project_id, **kwargs): # noqa: E501 - """List Blueprints # noqa: E501 - - Returns the list of available blueprints in the project. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_blueprints_get(project_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project_id: (required) - :param int offset: With which item to start (0 based). - :param int limit: A number specifying how many entries to return. - :return: CloudEndureBlueprintList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.projects_project_id_blueprints_get_with_http_info(project_id, **kwargs) # noqa: E501 - else: - (data) = self.projects_project_id_blueprints_get_with_http_info(project_id, **kwargs) # noqa: E501 - return data - - def projects_project_id_blueprints_get_with_http_info(self, project_id, **kwargs): # noqa: E501 - """List Blueprints # noqa: E501 - - Returns the list of available blueprints in the project. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_blueprints_get_with_http_info(project_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project_id: (required) - :param int offset: With which item to start (0 based). - :param int limit: A number specifying how many entries to return. - :return: CloudEndureBlueprintList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['project_id', 'offset', 'limit'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method projects_project_id_blueprints_get" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'project_id' is set - if ('project_id' not in params or - params['project_id'] is None): - raise ValueError("Missing the required parameter `project_id` when calling `projects_project_id_blueprints_get`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'project_id' in params: - path_params['projectId'] = params['project_id'] # noqa: E501 - - query_params = [] - if 'offset' in params: - query_params.append(('offset', params['offset'])) # noqa: E501 - if 'limit' in params: - query_params.append(('limit', params['limit'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/projects/{projectId}/blueprints', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='CloudEndureBlueprintList', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def projects_project_id_blueprints_post(self, body, project_id, **kwargs): # noqa: E501 - """Create Blueprint # noqa: E501 - - Define the target machine characteristics: machine and disk types, network configuration, etc. There can be only one blueprint per machine per region. Returns the newly created object. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_blueprints_post(body, project_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param CloudEndureBlueprint body: (required) - :param str project_id: (required) - :return: CloudEndureBlueprint - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.projects_project_id_blueprints_post_with_http_info(body, project_id, **kwargs) # noqa: E501 - else: - (data) = self.projects_project_id_blueprints_post_with_http_info(body, project_id, **kwargs) # noqa: E501 - return data - - def projects_project_id_blueprints_post_with_http_info(self, body, project_id, **kwargs): # noqa: E501 - """Create Blueprint # noqa: E501 - - Define the target machine characteristics: machine and disk types, network configuration, etc. There can be only one blueprint per machine per region. Returns the newly created object. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_blueprints_post_with_http_info(body, project_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param CloudEndureBlueprint body: (required) - :param str project_id: (required) - :return: CloudEndureBlueprint - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body', 'project_id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method projects_project_id_blueprints_post" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `projects_project_id_blueprints_post`") # noqa: E501 - # verify the required parameter 'project_id' is set - if ('project_id' not in params or - params['project_id'] is None): - raise ValueError("Missing the required parameter `project_id` when calling `projects_project_id_blueprints_post`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'project_id' in params: - path_params['projectId'] = params['project_id'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/projects/{projectId}/blueprints', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='CloudEndureBlueprint', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) diff --git a/cloudendure/cloudendure_api/api/cloud_api.py b/cloudendure/cloudendure_api/api/cloud_api.py deleted file mode 100644 index c778bbb72..000000000 --- a/cloudendure/cloudendure_api/api/cloud_api.py +++ /dev/null @@ -1,542 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import re # noqa: F401 - -# python 2 and python 3 compatibility library -import six - -from cloudendure.cloudendure_api.api_client import ApiClient - - -class CloudApi: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - Ref: https://github.com/swagger-api/swagger-codegen - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - - def cloud_credentials_creds_id_regions_get(self, creds_id, **kwargs): # noqa: E501 - """List Regions # noqa: E501 - - Returns the list of regions these credentials provide access to. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.cloud_credentials_creds_id_regions_get(creds_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str creds_id: UUID of the credentials to use. In case of on-premise, you should use the null UUID \"00000000-0000-0000-0000-000000000000\". (required) - :param int offset: With which item to start (0 based). - :param int limit: A number specifying how many entries to return. - :return: CloudEndureRegionsList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.cloud_credentials_creds_id_regions_get_with_http_info(creds_id, **kwargs) # noqa: E501 - else: - (data) = self.cloud_credentials_creds_id_regions_get_with_http_info(creds_id, **kwargs) # noqa: E501 - return data - - def cloud_credentials_creds_id_regions_get_with_http_info(self, creds_id, **kwargs): # noqa: E501 - """List Regions # noqa: E501 - - Returns the list of regions these credentials provide access to. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.cloud_credentials_creds_id_regions_get_with_http_info(creds_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str creds_id: UUID of the credentials to use. In case of on-premise, you should use the null UUID \"00000000-0000-0000-0000-000000000000\". (required) - :param int offset: With which item to start (0 based). - :param int limit: A number specifying how many entries to return. - :return: CloudEndureRegionsList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['creds_id', 'offset', 'limit'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method cloud_credentials_creds_id_regions_get" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'creds_id' is set - if ('creds_id' not in params or - params['creds_id'] is None): - raise ValueError("Missing the required parameter `creds_id` when calling `cloud_credentials_creds_id_regions_get`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'creds_id' in params: - path_params['credsId'] = params['creds_id'] # noqa: E501 - - query_params = [] - if 'offset' in params: - query_params.append(('offset', params['offset'])) # noqa: E501 - if 'limit' in params: - query_params.append(('limit', params['limit'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/cloudCredentials/{credsId}/regions', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='CloudEndureRegionsList', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def cloud_credentials_creds_id_regions_region_id_delete(self, creds_id, region_id, **kwargs): # noqa: E501 - """Delete region (VCenter) # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.cloud_credentials_creds_id_regions_region_id_delete(creds_id, region_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str creds_id: UUID of the credentials to use. In case of on-premise, you should use the null UUID \"00000000-0000-0000-0000-000000000000\". (required) - :param str region_id: (required) - :return: None - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.cloud_credentials_creds_id_regions_region_id_delete_with_http_info(creds_id, region_id, **kwargs) # noqa: E501 - else: - (data) = self.cloud_credentials_creds_id_regions_region_id_delete_with_http_info(creds_id, region_id, **kwargs) # noqa: E501 - return data - - def cloud_credentials_creds_id_regions_region_id_delete_with_http_info(self, creds_id, region_id, **kwargs): # noqa: E501 - """Delete region (VCenter) # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.cloud_credentials_creds_id_regions_region_id_delete_with_http_info(creds_id, region_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str creds_id: UUID of the credentials to use. In case of on-premise, you should use the null UUID \"00000000-0000-0000-0000-000000000000\". (required) - :param str region_id: (required) - :return: None - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['creds_id', 'region_id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method cloud_credentials_creds_id_regions_region_id_delete" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'creds_id' is set - if ('creds_id' not in params or - params['creds_id'] is None): - raise ValueError("Missing the required parameter `creds_id` when calling `cloud_credentials_creds_id_regions_region_id_delete`") # noqa: E501 - # verify the required parameter 'region_id' is set - if ('region_id' not in params or - params['region_id'] is None): - raise ValueError("Missing the required parameter `region_id` when calling `cloud_credentials_creds_id_regions_region_id_delete`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'creds_id' in params: - path_params['credsId'] = params['creds_id'] # noqa: E501 - if 'region_id' in params: - path_params['regionId'] = params['region_id'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/cloudCredentials/{credsId}/regions/{regionId}', 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type=None, # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def cloud_credentials_creds_id_regions_region_id_get(self, creds_id, region_id, **kwargs): # noqa: E501 - """Get Region # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.cloud_credentials_creds_id_regions_region_id_get(creds_id, region_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str creds_id: UUID of the credentials to use. In case of on-premise, you should use the null UUID \"00000000-0000-0000-0000-000000000000\". (required) - :param str region_id: (required) - :return: CloudEndureRegion - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.cloud_credentials_creds_id_regions_region_id_get_with_http_info(creds_id, region_id, **kwargs) # noqa: E501 - else: - (data) = self.cloud_credentials_creds_id_regions_region_id_get_with_http_info(creds_id, region_id, **kwargs) # noqa: E501 - return data - - def cloud_credentials_creds_id_regions_region_id_get_with_http_info(self, creds_id, region_id, **kwargs): # noqa: E501 - """Get Region # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.cloud_credentials_creds_id_regions_region_id_get_with_http_info(creds_id, region_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str creds_id: UUID of the credentials to use. In case of on-premise, you should use the null UUID \"00000000-0000-0000-0000-000000000000\". (required) - :param str region_id: (required) - :return: CloudEndureRegion - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['creds_id', 'region_id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method cloud_credentials_creds_id_regions_region_id_get" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'creds_id' is set - if ('creds_id' not in params or - params['creds_id'] is None): - raise ValueError("Missing the required parameter `creds_id` when calling `cloud_credentials_creds_id_regions_region_id_get`") # noqa: E501 - # verify the required parameter 'region_id' is set - if ('region_id' not in params or - params['region_id'] is None): - raise ValueError("Missing the required parameter `region_id` when calling `cloud_credentials_creds_id_regions_region_id_get`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'creds_id' in params: - path_params['credsId'] = params['creds_id'] # noqa: E501 - if 'region_id' in params: - path_params['regionId'] = params['region_id'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/cloudCredentials/{credsId}/regions/{regionId}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='CloudEndureRegion', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def cloud_credentials_creds_id_regions_region_id_patch(self, body, creds_id, region_id, **kwargs): # noqa: E501 - """Patch region (rename) # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.cloud_credentials_creds_id_regions_region_id_patch(body, creds_id, region_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param CloudEndureRegion body: (required) - :param str creds_id: UUID of the credentials to use. In case of on-premise, you should use the null UUID \"00000000-0000-0000-0000-000000000000\". (required) - :param str region_id: (required) - :return: CloudEndureRegion - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.cloud_credentials_creds_id_regions_region_id_patch_with_http_info(body, creds_id, region_id, **kwargs) # noqa: E501 - else: - (data) = self.cloud_credentials_creds_id_regions_region_id_patch_with_http_info(body, creds_id, region_id, **kwargs) # noqa: E501 - return data - - def cloud_credentials_creds_id_regions_region_id_patch_with_http_info(self, body, creds_id, region_id, **kwargs): # noqa: E501 - """Patch region (rename) # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.cloud_credentials_creds_id_regions_region_id_patch_with_http_info(body, creds_id, region_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param CloudEndureRegion body: (required) - :param str creds_id: UUID of the credentials to use. In case of on-premise, you should use the null UUID \"00000000-0000-0000-0000-000000000000\". (required) - :param str region_id: (required) - :return: CloudEndureRegion - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body', 'creds_id', 'region_id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method cloud_credentials_creds_id_regions_region_id_patch" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `cloud_credentials_creds_id_regions_region_id_patch`") # noqa: E501 - # verify the required parameter 'creds_id' is set - if ('creds_id' not in params or - params['creds_id'] is None): - raise ValueError("Missing the required parameter `creds_id` when calling `cloud_credentials_creds_id_regions_region_id_patch`") # noqa: E501 - # verify the required parameter 'region_id' is set - if ('region_id' not in params or - params['region_id'] is None): - raise ValueError("Missing the required parameter `region_id` when calling `cloud_credentials_creds_id_regions_region_id_patch`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'creds_id' in params: - path_params['credsId'] = params['creds_id'] # noqa: E501 - if 'region_id' in params: - path_params['regionId'] = params['region_id'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/cloudCredentials/{credsId}/regions/{regionId}', 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='CloudEndureRegion', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def clouds_get(self, **kwargs): # noqa: E501 - """List Clouds # noqa: E501 - - Returns a list of clouds that can be used with CloudEndure. The roles array determines whether this cloud can be used as source, target, or both. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.clouds_get(async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int offset: With which item to start (0 based). - :param int limit: A number specifying how many entries to return. - :return: CloudEndureCloudsList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.clouds_get_with_http_info(**kwargs) # noqa: E501 - else: - (data) = self.clouds_get_with_http_info(**kwargs) # noqa: E501 - return data - - def clouds_get_with_http_info(self, **kwargs): # noqa: E501 - """List Clouds # noqa: E501 - - Returns a list of clouds that can be used with CloudEndure. The roles array determines whether this cloud can be used as source, target, or both. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.clouds_get_with_http_info(async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int offset: With which item to start (0 based). - :param int limit: A number specifying how many entries to return. - :return: CloudEndureCloudsList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['offset', 'limit'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method clouds_get" % key - ) - params[key] = val - del params['kwargs'] - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'offset' in params: - query_params.append(('offset', params['offset'])) # noqa: E501 - if 'limit' in params: - query_params.append(('limit', params['limit'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/clouds', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='CloudEndureCloudsList', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) diff --git a/cloudendure/cloudendure_api/api/cloud_credentials_api.py b/cloudendure/cloudendure_api/api/cloud_credentials_api.py deleted file mode 100644 index d12170d23..000000000 --- a/cloudendure/cloudendure_api/api/cloud_credentials_api.py +++ /dev/null @@ -1,427 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import re # noqa: F401 - -# python 2 and python 3 compatibility library -import six - -from cloudendure.cloudendure_api.api_client import ApiClient - - -class CloudCredentialsApi: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - Ref: https://github.com/swagger-api/swagger-codegen - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - - def cloud_credentials_creds_id_get(self, creds_id, **kwargs): # noqa: E501 - """Get Credentials # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.cloud_credentials_creds_id_get(creds_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str creds_id: UUID of the credentials to use. In case of on-premise, you should use the null UUID \"00000000-0000-0000-0000-000000000000\". (required) - :return: CloudEndureCloudCredentials - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.cloud_credentials_creds_id_get_with_http_info(creds_id, **kwargs) # noqa: E501 - else: - (data) = self.cloud_credentials_creds_id_get_with_http_info(creds_id, **kwargs) # noqa: E501 - return data - - def cloud_credentials_creds_id_get_with_http_info(self, creds_id, **kwargs): # noqa: E501 - """Get Credentials # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.cloud_credentials_creds_id_get_with_http_info(creds_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str creds_id: UUID of the credentials to use. In case of on-premise, you should use the null UUID \"00000000-0000-0000-0000-000000000000\". (required) - :return: CloudEndureCloudCredentials - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['creds_id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method cloud_credentials_creds_id_get" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'creds_id' is set - if ('creds_id' not in params or - params['creds_id'] is None): - raise ValueError("Missing the required parameter `creds_id` when calling `cloud_credentials_creds_id_get`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'creds_id' in params: - path_params['credsId'] = params['creds_id'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/cloudCredentials/{credsId}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='CloudEndureCloudCredentials', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def cloud_credentials_creds_id_patch(self, body, creds_id, **kwargs): # noqa: E501 - """Change Credentials # noqa: E501 - - Changes the cloud credentials. @todo:v15 If the new Cloud Credentials are to a different cloud account (or different cloud), than PATCH should fail with ??? error code and ??? error message. Old v14 behavior: If the these cloud credentials are used with the current replication, and the new credentials are to a different cloud account (or different cloud), all agents will be uninstalled and replication will stop on them. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.cloud_credentials_creds_id_patch(body, creds_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param CloudEndureCloudCredentialsRequest body: (required) - :param str creds_id: UUID of the credentials to use. In case of on-premise, you should use the null UUID \"00000000-0000-0000-0000-000000000000\". (required) - :return: CloudEndureCloudCredentials - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.cloud_credentials_creds_id_patch_with_http_info(body, creds_id, **kwargs) # noqa: E501 - else: - (data) = self.cloud_credentials_creds_id_patch_with_http_info(body, creds_id, **kwargs) # noqa: E501 - return data - - def cloud_credentials_creds_id_patch_with_http_info(self, body, creds_id, **kwargs): # noqa: E501 - """Change Credentials # noqa: E501 - - Changes the cloud credentials. @todo:v15 If the new Cloud Credentials are to a different cloud account (or different cloud), than PATCH should fail with ??? error code and ??? error message. Old v14 behavior: If the these cloud credentials are used with the current replication, and the new credentials are to a different cloud account (or different cloud), all agents will be uninstalled and replication will stop on them. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.cloud_credentials_creds_id_patch_with_http_info(body, creds_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param CloudEndureCloudCredentialsRequest body: (required) - :param str creds_id: UUID of the credentials to use. In case of on-premise, you should use the null UUID \"00000000-0000-0000-0000-000000000000\". (required) - :return: CloudEndureCloudCredentials - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body', 'creds_id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method cloud_credentials_creds_id_patch" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `cloud_credentials_creds_id_patch`") # noqa: E501 - # verify the required parameter 'creds_id' is set - if ('creds_id' not in params or - params['creds_id'] is None): - raise ValueError("Missing the required parameter `creds_id` when calling `cloud_credentials_creds_id_patch`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'creds_id' in params: - path_params['credsId'] = params['creds_id'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/cloudCredentials/{credsId}', 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='CloudEndureCloudCredentials', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def cloud_credentials_get(self, **kwargs): # noqa: E501 - """List Credentials # noqa: E501 - - Returns the list of cloudCredentials in the account. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.cloud_credentials_get(async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int offset: With which item to start (0 based). - :param int limit: A number specifying how many entries to return. - :return: CloudEndureCloudCredentialsList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.cloud_credentials_get_with_http_info(**kwargs) # noqa: E501 - else: - (data) = self.cloud_credentials_get_with_http_info(**kwargs) # noqa: E501 - return data - - def cloud_credentials_get_with_http_info(self, **kwargs): # noqa: E501 - """List Credentials # noqa: E501 - - Returns the list of cloudCredentials in the account. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.cloud_credentials_get_with_http_info(async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int offset: With which item to start (0 based). - :param int limit: A number specifying how many entries to return. - :return: CloudEndureCloudCredentialsList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['offset', 'limit'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method cloud_credentials_get" % key - ) - params[key] = val - del params['kwargs'] - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'offset' in params: - query_params.append(('offset', params['offset'])) # noqa: E501 - if 'limit' in params: - query_params.append(('limit', params['limit'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/cloudCredentials', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='CloudEndureCloudCredentialsList', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def cloud_credentials_post(self, body, **kwargs): # noqa: E501 - """Create Credentials # noqa: E501 - - Provide the credentials with which to access the cloud API. Returns the newly created object. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.cloud_credentials_post(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param CloudEndureCloudCredentialsRequest body: (required) - :return: CloudEndureCloudCredentials - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.cloud_credentials_post_with_http_info(body, **kwargs) # noqa: E501 - else: - (data) = self.cloud_credentials_post_with_http_info(body, **kwargs) # noqa: E501 - return data - - def cloud_credentials_post_with_http_info(self, body, **kwargs): # noqa: E501 - """Create Credentials # noqa: E501 - - Provide the credentials with which to access the cloud API. Returns the newly created object. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.cloud_credentials_post_with_http_info(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param CloudEndureCloudCredentialsRequest body: (required) - :return: CloudEndureCloudCredentials - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method cloud_credentials_post" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `cloud_credentials_post`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/cloudCredentials', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='CloudEndureCloudCredentials', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) diff --git a/cloudendure/cloudendure_api/api/default_api.py b/cloudendure/cloudendure_api/api/default_api.py deleted file mode 100644 index d4feb2cc9..000000000 --- a/cloudendure/cloudendure_api/api/default_api.py +++ /dev/null @@ -1,1090 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import re # noqa: F401 - -# python 2 and python 3 compatibility library -import six - -from cloudendure.cloudendure_api.api_client import ApiClient - - -class DefaultApi: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - Ref: https://github.com/swagger-api/swagger-codegen - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - - def accounts_account_id_access_get(self, account_id, username, **kwargs): # noqa: E501 - """get a temporary token by email # noqa: E501 - - get a temporary token by email. Available for account owner when SSO is used # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.accounts_account_id_access_get(account_id, username, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str account_id: (required) - :param str username: (required) - :return: object - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.accounts_account_id_access_get_with_http_info(account_id, username, **kwargs) # noqa: E501 - else: - (data) = self.accounts_account_id_access_get_with_http_info(account_id, username, **kwargs) # noqa: E501 - return data - - def accounts_account_id_access_get_with_http_info(self, account_id, username, **kwargs): # noqa: E501 - """get a temporary token by email # noqa: E501 - - get a temporary token by email. Available for account owner when SSO is used # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.accounts_account_id_access_get_with_http_info(account_id, username, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str account_id: (required) - :param str username: (required) - :return: object - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['account_id', 'username'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method accounts_account_id_access_get" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'account_id' is set - if ('account_id' not in params or - params['account_id'] is None): - raise ValueError("Missing the required parameter `account_id` when calling `accounts_account_id_access_get`") # noqa: E501 - # verify the required parameter 'username' is set - if ('username' not in params or - params['username'] is None): - raise ValueError("Missing the required parameter `username` when calling `accounts_account_id_access_get`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'account_id' in params: - path_params['accountId'] = params['account_id'] # noqa: E501 - - query_params = [] - if 'username' in params: - query_params.append(('username', params['username'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/accounts/{accountId}/access', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='object', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def extended_account_info_get(self, **kwargs): # noqa: E501 - """Returns the extended current account information. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.extended_account_info_get(async_req=True) - >>> result = thread.get() - - :param async_req bool - :return: CloudEndureExtendedAccountInfo - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.extended_account_info_get_with_http_info(**kwargs) # noqa: E501 - else: - (data) = self.extended_account_info_get_with_http_info(**kwargs) # noqa: E501 - return data - - def extended_account_info_get_with_http_info(self, **kwargs): # noqa: E501 - """Returns the extended current account information. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.extended_account_info_get_with_http_info(async_req=True) - >>> result = thread.get() - - :param async_req bool - :return: CloudEndureExtendedAccountInfo - If the method is called asynchronously, - returns the request thread. - """ - - all_params = [] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method extended_account_info_get" % key - ) - params[key] = val - del params['kwargs'] - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/extendedAccountInfo', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='CloudEndureExtendedAccountInfo', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def projects_assign_users_post(self, body, **kwargs): # noqa: E501 - """todo # noqa: E501 - - todo # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_assign_users_post(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param CloudEndureProjectsAndUsers body: (required) - :return: None - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.projects_assign_users_post_with_http_info(body, **kwargs) # noqa: E501 - else: - (data) = self.projects_assign_users_post_with_http_info(body, **kwargs) # noqa: E501 - return data - - def projects_assign_users_post_with_http_info(self, body, **kwargs): # noqa: E501 - """todo # noqa: E501 - - todo # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_assign_users_post_with_http_info(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param CloudEndureProjectsAndUsers body: (required) - :return: None - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method projects_assign_users_post" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `projects_assign_users_post`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/projects/assignUsers', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type=None, # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def projects_project_id_audit_log_get(self, project_id, **kwargs): # noqa: E501 - """Get audit log # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_audit_log_get(project_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project_id: (required) - :param int limit: A number specifying how many entries to return. - :param datetime from_date_time: Used to limit the response to a specific date range. Must be used in conjunction with toDateTime param. - :param datetime to_date_time: Used to limit the response to a specific date range. Must be used in conjunction with fromDateTime param. - :param str format: - :return: CloudEndureAuditLog - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.projects_project_id_audit_log_get_with_http_info(project_id, **kwargs) # noqa: E501 - else: - (data) = self.projects_project_id_audit_log_get_with_http_info(project_id, **kwargs) # noqa: E501 - return data - - def projects_project_id_audit_log_get_with_http_info(self, project_id, **kwargs): # noqa: E501 - """Get audit log # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_audit_log_get_with_http_info(project_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project_id: (required) - :param int limit: A number specifying how many entries to return. - :param datetime from_date_time: Used to limit the response to a specific date range. Must be used in conjunction with toDateTime param. - :param datetime to_date_time: Used to limit the response to a specific date range. Must be used in conjunction with fromDateTime param. - :param str format: - :return: CloudEndureAuditLog - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['project_id', 'limit', 'from_date_time', 'to_date_time', 'format'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method projects_project_id_audit_log_get" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'project_id' is set - if ('project_id' not in params or - params['project_id'] is None): - raise ValueError("Missing the required parameter `project_id` when calling `projects_project_id_audit_log_get`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'project_id' in params: - path_params['projectId'] = params['project_id'] # noqa: E501 - - query_params = [] - if 'limit' in params: - query_params.append(('limit', params['limit'])) # noqa: E501 - if 'from_date_time' in params: - query_params.append(('fromDateTime', params['from_date_time'])) # noqa: E501 - if 'to_date_time' in params: - query_params.append(('toDateTime', params['to_date_time'])) # noqa: E501 - if 'format' in params: - query_params.append(('format', params['format'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json', 'text/csv']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/projects/{projectId}/auditLog', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='CloudEndureAuditLog', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def projects_project_id_storage_get(self, project_id, **kwargs): # noqa: E501 - """project's storage # noqa: E501 - - get project's storage usage (vCenter only) # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_storage_get(project_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project_id: (required) - :return: CloudEndureProjectStorage - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.projects_project_id_storage_get_with_http_info(project_id, **kwargs) # noqa: E501 - else: - (data) = self.projects_project_id_storage_get_with_http_info(project_id, **kwargs) # noqa: E501 - return data - - def projects_project_id_storage_get_with_http_info(self, project_id, **kwargs): # noqa: E501 - """project's storage # noqa: E501 - - get project's storage usage (vCenter only) # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_storage_get_with_http_info(project_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project_id: (required) - :return: CloudEndureProjectStorage - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['project_id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method projects_project_id_storage_get" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'project_id' is set - if ('project_id' not in params or - params['project_id'] is None): - raise ValueError("Missing the required parameter `project_id` when calling `projects_project_id_storage_get`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'project_id' in params: - path_params['projectId'] = params['project_id'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/projects/{projectId}/storage', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='CloudEndureProjectStorage', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def projects_remove_users_post(self, body, **kwargs): # noqa: E501 - """todo # noqa: E501 - - todo # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_remove_users_post(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param CloudEndureProjectsAndUsers body: (required) - :return: None - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.projects_remove_users_post_with_http_info(body, **kwargs) # noqa: E501 - else: - (data) = self.projects_remove_users_post_with_http_info(body, **kwargs) # noqa: E501 - return data - - def projects_remove_users_post_with_http_info(self, body, **kwargs): # noqa: E501 - """todo # noqa: E501 - - todo # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_remove_users_post_with_http_info(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param CloudEndureProjectsAndUsers body: (required) - :return: None - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method projects_remove_users_post" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `projects_remove_users_post`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/projects/removeUsers', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type=None, # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def replace_api_token_post(self, **kwargs): # noqa: E501 - """Replaces API token # noqa: E501 - - Replaces API token # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.replace_api_token_post(async_req=True) - >>> result = thread.get() - - :param async_req bool - :return: object - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.replace_api_token_post_with_http_info(**kwargs) # noqa: E501 - else: - (data) = self.replace_api_token_post_with_http_info(**kwargs) # noqa: E501 - return data - - def replace_api_token_post_with_http_info(self, **kwargs): # noqa: E501 - """Replaces API token # noqa: E501 - - Replaces API token # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.replace_api_token_post_with_http_info(async_req=True) - >>> result = thread.get() - - :param async_req bool - :return: object - If the method is called asynchronously, - returns the request thread. - """ - - all_params = [] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method replace_api_token_post" % key - ) - params[key] = val - del params['kwargs'] - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/replaceApiToken', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='object', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def set_password_post(self, body, **kwargs): # noqa: E501 - """Set password for invited user # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.set_password_post(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param object body: set password token and new password (required) - :return: None - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.set_password_post_with_http_info(body, **kwargs) # noqa: E501 - else: - (data) = self.set_password_post_with_http_info(body, **kwargs) # noqa: E501 - return data - - def set_password_post_with_http_info(self, body, **kwargs): # noqa: E501 - """Set password for invited user # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.set_password_post_with_http_info(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param object body: set password token and new password (required) - :return: None - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method set_password_post" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `set_password_post`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/setPassword', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type=None, # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def users_assign_roles_post(self, body, **kwargs): # noqa: E501 - """Add roles to users # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.users_assign_roles_post(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param CloudEndureUsersAndRoles body: (required) - :return: CloudEndureUsersList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.users_assign_roles_post_with_http_info(body, **kwargs) # noqa: E501 - else: - (data) = self.users_assign_roles_post_with_http_info(body, **kwargs) # noqa: E501 - return data - - def users_assign_roles_post_with_http_info(self, body, **kwargs): # noqa: E501 - """Add roles to users # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.users_assign_roles_post_with_http_info(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param CloudEndureUsersAndRoles body: (required) - :return: CloudEndureUsersList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method users_assign_roles_post" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `users_assign_roles_post`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/users/assignRoles', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='CloudEndureUsersList', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def users_post(self, body, **kwargs): # noqa: E501 - """Create a new User # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.users_post(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param object body: (required) - :return: CloudEndureUser - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.users_post_with_http_info(body, **kwargs) # noqa: E501 - else: - (data) = self.users_post_with_http_info(body, **kwargs) # noqa: E501 - return data - - def users_post_with_http_info(self, body, **kwargs): # noqa: E501 - """Create a new User # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.users_post_with_http_info(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param object body: (required) - :return: CloudEndureUser - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method users_post" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `users_post`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/users', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='CloudEndureUser', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def users_revoke_roles_post(self, body, **kwargs): # noqa: E501 - """Add roles to users # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.users_revoke_roles_post(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param CloudEndureUsersAndRoles body: (required) - :return: CloudEndureUsersList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.users_revoke_roles_post_with_http_info(body, **kwargs) # noqa: E501 - else: - (data) = self.users_revoke_roles_post_with_http_info(body, **kwargs) # noqa: E501 - return data - - def users_revoke_roles_post_with_http_info(self, body, **kwargs): # noqa: E501 - """Add roles to users # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.users_revoke_roles_post_with_http_info(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param CloudEndureUsersAndRoles body: (required) - :return: CloudEndureUsersList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method users_revoke_roles_post" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `users_revoke_roles_post`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/users/revokeRoles', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='CloudEndureUsersList', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) diff --git a/cloudendure/cloudendure_api/api/licensing_api.py b/cloudendure/cloudendure_api/api/licensing_api.py deleted file mode 100644 index 0dced42ad..000000000 --- a/cloudendure/cloudendure_api/api/licensing_api.py +++ /dev/null @@ -1,221 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import re # noqa: F401 - -# python 2 and python 3 compatibility library -import six - -from cloudendure.cloudendure_api.api_client import ApiClient - - -class LicensingApi: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - Ref: https://github.com/swagger-api/swagger-codegen - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - - def licenses_get(self, **kwargs): # noqa: E501 - """List Licenses # noqa: E501 - - Returns the list of licenses currently associated with this user. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.licenses_get(async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int offset: With which item to start (0 based). - :param int limit: A number specifying how many entries to return. - :return: CloudEndureLicenseList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.licenses_get_with_http_info(**kwargs) # noqa: E501 - else: - (data) = self.licenses_get_with_http_info(**kwargs) # noqa: E501 - return data - - def licenses_get_with_http_info(self, **kwargs): # noqa: E501 - """List Licenses # noqa: E501 - - Returns the list of licenses currently associated with this user. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.licenses_get_with_http_info(async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int offset: With which item to start (0 based). - :param int limit: A number specifying how many entries to return. - :return: CloudEndureLicenseList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['offset', 'limit'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method licenses_get" % key - ) - params[key] = val - del params['kwargs'] - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'offset' in params: - query_params.append(('offset', params['offset'])) # noqa: E501 - if 'limit' in params: - query_params.append(('limit', params['limit'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/licenses', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='CloudEndureLicenseList', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def licenses_license_id_get(self, license_id, **kwargs): # noqa: E501 - """Get License # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.licenses_license_id_get(license_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str license_id: (required) - :return: CloudEndureLicense - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.licenses_license_id_get_with_http_info(license_id, **kwargs) # noqa: E501 - else: - (data) = self.licenses_license_id_get_with_http_info(license_id, **kwargs) # noqa: E501 - return data - - def licenses_license_id_get_with_http_info(self, license_id, **kwargs): # noqa: E501 - """Get License # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.licenses_license_id_get_with_http_info(license_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str license_id: (required) - :return: CloudEndureLicense - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['license_id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method licenses_license_id_get" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'license_id' is set - if ('license_id' not in params or - params['license_id'] is None): - raise ValueError("Missing the required parameter `license_id` when calling `licenses_license_id_get`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'license_id' in params: - path_params['licenseId'] = params['license_id'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/licenses/{licenseId}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='CloudEndureLicense', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) diff --git a/cloudendure/cloudendure_api/api/machines_api.py b/cloudendure/cloudendure_api/api/machines_api.py deleted file mode 100644 index d37e2140f..000000000 --- a/cloudendure/cloudendure_api/api/machines_api.py +++ /dev/null @@ -1,669 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import re # noqa: F401 - -# python 2 and python 3 compatibility library -import six - -from cloudendure.cloudendure_api.api_client import ApiClient - - -class MachinesApi: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - Ref: https://github.com/swagger-api/swagger-codegen - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - - def projects_project_id_machines_delete(self, body, project_id, **kwargs): # noqa: E501 - """Uninstall agent # noqa: E501 - - Stops replication and removes the cloudendure agent from the specified machines. All cloud artifacts associated with those machines with the exception of launched target machines are deleted. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_machines_delete(body, project_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param object body: The list of machine IDs to remove from the CloudEndure service. (required) - :param str project_id: (required) - :return: None - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.projects_project_id_machines_delete_with_http_info(body, project_id, **kwargs) # noqa: E501 - else: - (data) = self.projects_project_id_machines_delete_with_http_info(body, project_id, **kwargs) # noqa: E501 - return data - - def projects_project_id_machines_delete_with_http_info(self, body, project_id, **kwargs): # noqa: E501 - """Uninstall agent # noqa: E501 - - Stops replication and removes the cloudendure agent from the specified machines. All cloud artifacts associated with those machines with the exception of launched target machines are deleted. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_machines_delete_with_http_info(body, project_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param object body: The list of machine IDs to remove from the CloudEndure service. (required) - :param str project_id: (required) - :return: None - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body', 'project_id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method projects_project_id_machines_delete" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `projects_project_id_machines_delete`") # noqa: E501 - # verify the required parameter 'project_id' is set - if ('project_id' not in params or - params['project_id'] is None): - raise ValueError("Missing the required parameter `project_id` when calling `projects_project_id_machines_delete`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'project_id' in params: - path_params['projectId'] = params['project_id'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/projects/{projectId}/machines', 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type=None, # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def projects_project_id_machines_get(self, project_id, **kwargs): # noqa: E501 - """List Machines # noqa: E501 - - Returns the list of all source machines in the Project (i.e. machines that have an Agent installed). # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_machines_get(project_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project_id: (required) - :param int offset: With which item to start (0 based). - :param int limit: A number specifying how many entries to return. - :param bool all: When set to false, returns only currently replicating machines. When set to true, returns all machines in the project regardless of replications status. machines are consuming/ have consumed licenses. Note that some license types are transferable and therefore once you remove the and set to true false, returns only currently replicating machines. When set to true, returns all machines in the project regardless of replications status. - :param str types: Use this url query param to control which machines are returned when doing GET. If you do not include the \\\"types\\\" query param, you will only get source machines - :return: CloudEndureMachinesList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.projects_project_id_machines_get_with_http_info(project_id, **kwargs) # noqa: E501 - else: - (data) = self.projects_project_id_machines_get_with_http_info(project_id, **kwargs) # noqa: E501 - return data - - def projects_project_id_machines_get_with_http_info(self, project_id, **kwargs): # noqa: E501 - """List Machines # noqa: E501 - - Returns the list of all source machines in the Project (i.e. machines that have an Agent installed). # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_machines_get_with_http_info(project_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project_id: (required) - :param int offset: With which item to start (0 based). - :param int limit: A number specifying how many entries to return. - :param bool all: When set to false, returns only currently replicating machines. When set to true, returns all machines in the project regardless of replications status. machines are consuming/ have consumed licenses. Note that some license types are transferable and therefore once you remove the and set to true false, returns only currently replicating machines. When set to true, returns all machines in the project regardless of replications status. - :param str types: Use this url query param to control which machines are returned when doing GET. If you do not include the \\\"types\\\" query param, you will only get source machines - :return: CloudEndureMachinesList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['project_id', 'offset', 'limit', 'all', 'types'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method projects_project_id_machines_get" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'project_id' is set - if ('project_id' not in params or - params['project_id'] is None): - raise ValueError("Missing the required parameter `project_id` when calling `projects_project_id_machines_get`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'project_id' in params: - path_params['projectId'] = params['project_id'] # noqa: E501 - - query_params = [] - if 'offset' in params: - query_params.append(('offset', params['offset'])) # noqa: E501 - if 'limit' in params: - query_params.append(('limit', params['limit'])) # noqa: E501 - if 'all' in params: - query_params.append(('all', params['all'])) # noqa: E501 - if 'types' in params: - query_params.append(('types', params['types'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/projects/{projectId}/machines', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='CloudEndureMachinesList', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def projects_project_id_machines_machine_id_get(self, project_id, machine_id, **kwargs): # noqa: E501 - """Get a specific machine. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_machines_machine_id_get(project_id, machine_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project_id: (required) - :param str machine_id: (required) - :return: CloudEndureMachine - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.projects_project_id_machines_machine_id_get_with_http_info(project_id, machine_id, **kwargs) # noqa: E501 - else: - (data) = self.projects_project_id_machines_machine_id_get_with_http_info(project_id, machine_id, **kwargs) # noqa: E501 - return data - - def projects_project_id_machines_machine_id_get_with_http_info(self, project_id, machine_id, **kwargs): # noqa: E501 - """Get a specific machine. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_machines_machine_id_get_with_http_info(project_id, machine_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project_id: (required) - :param str machine_id: (required) - :return: CloudEndureMachine - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['project_id', 'machine_id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method projects_project_id_machines_machine_id_get" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'project_id' is set - if ('project_id' not in params or - params['project_id'] is None): - raise ValueError("Missing the required parameter `project_id` when calling `projects_project_id_machines_machine_id_get`") # noqa: E501 - # verify the required parameter 'machine_id' is set - if ('machine_id' not in params or - params['machine_id'] is None): - raise ValueError("Missing the required parameter `machine_id` when calling `projects_project_id_machines_machine_id_get`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'project_id' in params: - path_params['projectId'] = params['project_id'] # noqa: E501 - if 'machine_id' in params: - path_params['machineId'] = params['machine_id'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/projects/{projectId}/machines/{machineId}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='CloudEndureMachine', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def projects_project_id_machines_machine_id_patch(self, body, project_id, machine_id, **kwargs): # noqa: E501 - """Update a machine. Accepts only Launch time updates. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_machines_machine_id_patch(body, project_id, machine_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param CloudEndureMachine body: (required) - :param str project_id: (required) - :param str machine_id: (required) - :return: CloudEndureMachine - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.projects_project_id_machines_machine_id_patch_with_http_info(body, project_id, machine_id, **kwargs) # noqa: E501 - else: - (data) = self.projects_project_id_machines_machine_id_patch_with_http_info(body, project_id, machine_id, **kwargs) # noqa: E501 - return data - - def projects_project_id_machines_machine_id_patch_with_http_info(self, body, project_id, machine_id, **kwargs): # noqa: E501 - """Update a machine. Accepts only Launch time updates. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_machines_machine_id_patch_with_http_info(body, project_id, machine_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param CloudEndureMachine body: (required) - :param str project_id: (required) - :param str machine_id: (required) - :return: CloudEndureMachine - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body', 'project_id', 'machine_id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method projects_project_id_machines_machine_id_patch" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `projects_project_id_machines_machine_id_patch`") # noqa: E501 - # verify the required parameter 'project_id' is set - if ('project_id' not in params or - params['project_id'] is None): - raise ValueError("Missing the required parameter `project_id` when calling `projects_project_id_machines_machine_id_patch`") # noqa: E501 - # verify the required parameter 'machine_id' is set - if ('machine_id' not in params or - params['machine_id'] is None): - raise ValueError("Missing the required parameter `machine_id` when calling `projects_project_id_machines_machine_id_patch`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'project_id' in params: - path_params['projectId'] = params['project_id'] # noqa: E501 - if 'machine_id' in params: - path_params['machineId'] = params['machine_id'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/projects/{projectId}/machines/{machineId}', 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='CloudEndureMachine', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def projects_project_id_machines_patch(self, body, project_id, **kwargs): # noqa: E501 - """Batch-update multiple machines # noqa: E501 - - todo must allow update of tags, update of replicationConfiguration; may allow update of launch times # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_machines_patch(body, project_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param CloudEndureMachinesList body: (required) - :param str project_id: (required) - :return: CloudEndureMachinesList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.projects_project_id_machines_patch_with_http_info(body, project_id, **kwargs) # noqa: E501 - else: - (data) = self.projects_project_id_machines_patch_with_http_info(body, project_id, **kwargs) # noqa: E501 - return data - - def projects_project_id_machines_patch_with_http_info(self, body, project_id, **kwargs): # noqa: E501 - """Batch-update multiple machines # noqa: E501 - - todo must allow update of tags, update of replicationConfiguration; may allow update of launch times # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_machines_patch_with_http_info(body, project_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param CloudEndureMachinesList body: (required) - :param str project_id: (required) - :return: CloudEndureMachinesList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body', 'project_id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method projects_project_id_machines_patch" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `projects_project_id_machines_patch`") # noqa: E501 - # verify the required parameter 'project_id' is set - if ('project_id' not in params or - params['project_id'] is None): - raise ValueError("Missing the required parameter `project_id` when calling `projects_project_id_machines_patch`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'project_id' in params: - path_params['projectId'] = params['project_id'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/projects/{projectId}/machines', 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='CloudEndureMachinesList', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def projects_project_id_replicas_replica_id_get(self, project_id, replica_id, **kwargs): # noqa: E501 - """Get Target Machine # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_replicas_replica_id_get(project_id, replica_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project_id: (required) - :param str replica_id: (required) - :return: CloudEndureReplica - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.projects_project_id_replicas_replica_id_get_with_http_info(project_id, replica_id, **kwargs) # noqa: E501 - else: - (data) = self.projects_project_id_replicas_replica_id_get_with_http_info(project_id, replica_id, **kwargs) # noqa: E501 - return data - - def projects_project_id_replicas_replica_id_get_with_http_info(self, project_id, replica_id, **kwargs): # noqa: E501 - """Get Target Machine # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_replicas_replica_id_get_with_http_info(project_id, replica_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project_id: (required) - :param str replica_id: (required) - :return: CloudEndureReplica - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['project_id', 'replica_id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method projects_project_id_replicas_replica_id_get" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'project_id' is set - if ('project_id' not in params or - params['project_id'] is None): - raise ValueError("Missing the required parameter `project_id` when calling `projects_project_id_replicas_replica_id_get`") # noqa: E501 - # verify the required parameter 'replica_id' is set - if ('replica_id' not in params or - params['replica_id'] is None): - raise ValueError("Missing the required parameter `replica_id` when calling `projects_project_id_replicas_replica_id_get`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'project_id' in params: - path_params['projectId'] = params['project_id'] # noqa: E501 - if 'replica_id' in params: - path_params['replicaId'] = params['replica_id'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/projects/{projectId}/replicas/{replicaId}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='CloudEndureReplica', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) diff --git a/cloudendure/cloudendure_api/api/project_api.py b/cloudendure/cloudendure_api/api/project_api.py deleted file mode 100644 index c6856db94..000000000 --- a/cloudendure/cloudendure_api/api/project_api.py +++ /dev/null @@ -1,619 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import re # noqa: F401 - -# python 2 and python 3 compatibility library -import six - -from cloudendure.cloudendure_api.api_client import ApiClient - - -class ProjectApi: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - Ref: https://github.com/swagger-api/swagger-codegen - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - - def projects_get(self, **kwargs): # noqa: E501 - """List Projects # noqa: E501 - - Returns the list of projects defined in this account. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_get(async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int offset: With which item to start (0 based). - :param int limit: A number specifying how many entries to return. - :return: CloudEndureProjectsList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.projects_get_with_http_info(**kwargs) # noqa: E501 - else: - (data) = self.projects_get_with_http_info(**kwargs) # noqa: E501 - return data - - def projects_get_with_http_info(self, **kwargs): # noqa: E501 - """List Projects # noqa: E501 - - Returns the list of projects defined in this account. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_get_with_http_info(async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int offset: With which item to start (0 based). - :param int limit: A number specifying how many entries to return. - :return: CloudEndureProjectsList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['offset', 'limit'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method projects_get" % key - ) - params[key] = val - del params['kwargs'] - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'offset' in params: - query_params.append(('offset', params['offset'])) # noqa: E501 - if 'limit' in params: - query_params.append(('limit', params['limit'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/projects', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='CloudEndureProjectsList', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def projects_post(self, body, **kwargs): # noqa: E501 - """Create Project # noqa: E501 - - Create project # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_post(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param CloudEndureProject body: (required) - :return: CloudEndureProject - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.projects_post_with_http_info(body, **kwargs) # noqa: E501 - else: - (data) = self.projects_post_with_http_info(body, **kwargs) # noqa: E501 - return data - - def projects_post_with_http_info(self, body, **kwargs): # noqa: E501 - """Create Project # noqa: E501 - - Create project # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_post_with_http_info(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param CloudEndureProject body: (required) - :return: CloudEndureProject - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method projects_post" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `projects_post`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/projects', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='CloudEndureProject', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def projects_project_id_delete(self, project_id, **kwargs): # noqa: E501 - """Delete Project and all sub-resources including cloud assets other than launched target machines # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_delete(project_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project_id: (required) - :return: None - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.projects_project_id_delete_with_http_info(project_id, **kwargs) # noqa: E501 - else: - (data) = self.projects_project_id_delete_with_http_info(project_id, **kwargs) # noqa: E501 - return data - - def projects_project_id_delete_with_http_info(self, project_id, **kwargs): # noqa: E501 - """Delete Project and all sub-resources including cloud assets other than launched target machines # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_delete_with_http_info(project_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project_id: (required) - :return: None - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['project_id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method projects_project_id_delete" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'project_id' is set - if ('project_id' not in params or - params['project_id'] is None): - raise ValueError("Missing the required parameter `project_id` when calling `projects_project_id_delete`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'project_id' in params: - path_params['projectId'] = params['project_id'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/projects/{projectId}', 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type=None, # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def projects_project_id_get(self, project_id, **kwargs): # noqa: E501 - """Get Project # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_get(project_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project_id: (required) - :return: CloudEndureProject - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.projects_project_id_get_with_http_info(project_id, **kwargs) # noqa: E501 - else: - (data) = self.projects_project_id_get_with_http_info(project_id, **kwargs) # noqa: E501 - return data - - def projects_project_id_get_with_http_info(self, project_id, **kwargs): # noqa: E501 - """Get Project # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_get_with_http_info(project_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project_id: (required) - :return: CloudEndureProject - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['project_id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method projects_project_id_get" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'project_id' is set - if ('project_id' not in params or - params['project_id'] is None): - raise ValueError("Missing the required parameter `project_id` when calling `projects_project_id_get`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'project_id' in params: - path_params['projectId'] = params['project_id'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/projects/{projectId}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='CloudEndureProject', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def projects_project_id_patch(self, body, project_id, **kwargs): # noqa: E501 - """Update Project (including partial update) # noqa: E501 - - Set project properties including Data Replication source location and replicationConfiguration to use. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_patch(body, project_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param CloudEndureProject body: (required) - :param str project_id: (required) - :return: CloudEndureProject - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.projects_project_id_patch_with_http_info(body, project_id, **kwargs) # noqa: E501 - else: - (data) = self.projects_project_id_patch_with_http_info(body, project_id, **kwargs) # noqa: E501 - return data - - def projects_project_id_patch_with_http_info(self, body, project_id, **kwargs): # noqa: E501 - """Update Project (including partial update) # noqa: E501 - - Set project properties including Data Replication source location and replicationConfiguration to use. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_patch_with_http_info(body, project_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param CloudEndureProject body: (required) - :param str project_id: (required) - :return: CloudEndureProject - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body', 'project_id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method projects_project_id_patch" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `projects_project_id_patch`") # noqa: E501 - # verify the required parameter 'project_id' is set - if ('project_id' not in params or - params['project_id'] is None): - raise ValueError("Missing the required parameter `project_id` when calling `projects_project_id_patch`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'project_id' in params: - path_params['projectId'] = params['project_id'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/projects/{projectId}', 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='CloudEndureProject', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def projects_project_id_tags_get(self, project_id, **kwargs): # noqa: E501 - """Gets all instance tags of all machines in the project. # noqa: E501 - - Returns all instance tags of all machines in the project. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_tags_get(project_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project_id: (required) - :param int offset: With which item to start (0 based). - :param int limit: A number specifying how many entries to return. - :return: object - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.projects_project_id_tags_get_with_http_info(project_id, **kwargs) # noqa: E501 - else: - (data) = self.projects_project_id_tags_get_with_http_info(project_id, **kwargs) # noqa: E501 - return data - - def projects_project_id_tags_get_with_http_info(self, project_id, **kwargs): # noqa: E501 - """Gets all instance tags of all machines in the project. # noqa: E501 - - Returns all instance tags of all machines in the project. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_tags_get_with_http_info(project_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project_id: (required) - :param int offset: With which item to start (0 based). - :param int limit: A number specifying how many entries to return. - :return: object - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['project_id', 'offset', 'limit'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method projects_project_id_tags_get" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'project_id' is set - if ('project_id' not in params or - params['project_id'] is None): - raise ValueError("Missing the required parameter `project_id` when calling `projects_project_id_tags_get`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'project_id' in params: - path_params['projectId'] = params['project_id'] # noqa: E501 - - query_params = [] - if 'offset' in params: - query_params.append(('offset', params['offset'])) # noqa: E501 - if 'limit' in params: - query_params.append(('limit', params['limit'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/projects/{projectId}/tags', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='object', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) diff --git a/cloudendure/cloudendure_api/api/recovery_plans_api.py b/cloudendure/cloudendure_api/api/recovery_plans_api.py deleted file mode 100644 index 97e8c96b2..000000000 --- a/cloudendure/cloudendure_api/api/recovery_plans_api.py +++ /dev/null @@ -1,647 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import re # noqa: F401 - -# python 2 and python 3 compatibility library -import six - -from cloudendure.cloudendure_api.api_client import ApiClient - - -class RecoveryPlansApi: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - Ref: https://github.com/swagger-api/swagger-codegen - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - - def projects_project_id_recovery_plans_get(self, project_id, **kwargs): # noqa: E501 - """Gets all recovery plans for the project. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_recovery_plans_get(project_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project_id: (required) - :return: CloudEndureRecoveryPlanList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.projects_project_id_recovery_plans_get_with_http_info(project_id, **kwargs) # noqa: E501 - else: - (data) = self.projects_project_id_recovery_plans_get_with_http_info(project_id, **kwargs) # noqa: E501 - return data - - def projects_project_id_recovery_plans_get_with_http_info(self, project_id, **kwargs): # noqa: E501 - """Gets all recovery plans for the project. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_recovery_plans_get_with_http_info(project_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project_id: (required) - :return: CloudEndureRecoveryPlanList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['project_id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method projects_project_id_recovery_plans_get" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'project_id' is set - if ('project_id' not in params or - params['project_id'] is None): - raise ValueError("Missing the required parameter `project_id` when calling `projects_project_id_recovery_plans_get`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'project_id' in params: - path_params['projectId'] = params['project_id'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/projects/{projectId}/recoveryPlans', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='CloudEndureRecoveryPlanList', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def projects_project_id_recovery_plans_post(self, body, project_id, **kwargs): # noqa: E501 - """Creates a new recovery plan. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_recovery_plans_post(body, project_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param CloudEndureRecoveryPlan body: Recovery Plan to create (required) - :param str project_id: (required) - :return: CloudEndureRecoveryPlan - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.projects_project_id_recovery_plans_post_with_http_info(body, project_id, **kwargs) # noqa: E501 - else: - (data) = self.projects_project_id_recovery_plans_post_with_http_info(body, project_id, **kwargs) # noqa: E501 - return data - - def projects_project_id_recovery_plans_post_with_http_info(self, body, project_id, **kwargs): # noqa: E501 - """Creates a new recovery plan. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_recovery_plans_post_with_http_info(body, project_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param CloudEndureRecoveryPlan body: Recovery Plan to create (required) - :param str project_id: (required) - :return: CloudEndureRecoveryPlan - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body', 'project_id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method projects_project_id_recovery_plans_post" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `projects_project_id_recovery_plans_post`") # noqa: E501 - # verify the required parameter 'project_id' is set - if ('project_id' not in params or - params['project_id'] is None): - raise ValueError("Missing the required parameter `project_id` when calling `projects_project_id_recovery_plans_post`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'project_id' in params: - path_params['projectId'] = params['project_id'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/projects/{projectId}/recoveryPlans', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='CloudEndureRecoveryPlan', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def projects_project_id_recovery_plans_recovery_plan_id_delete(self, project_id, recovery_plan_id, **kwargs): # noqa: E501 - """Deletes a recovery plan. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_recovery_plans_recovery_plan_id_delete(project_id, recovery_plan_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project_id: (required) - :param str recovery_plan_id: (required) - :return: None - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.projects_project_id_recovery_plans_recovery_plan_id_delete_with_http_info(project_id, recovery_plan_id, **kwargs) # noqa: E501 - else: - (data) = self.projects_project_id_recovery_plans_recovery_plan_id_delete_with_http_info(project_id, recovery_plan_id, **kwargs) # noqa: E501 - return data - - def projects_project_id_recovery_plans_recovery_plan_id_delete_with_http_info(self, project_id, recovery_plan_id, **kwargs): # noqa: E501 - """Deletes a recovery plan. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_recovery_plans_recovery_plan_id_delete_with_http_info(project_id, recovery_plan_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project_id: (required) - :param str recovery_plan_id: (required) - :return: None - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['project_id', 'recovery_plan_id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method projects_project_id_recovery_plans_recovery_plan_id_delete" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'project_id' is set - if ('project_id' not in params or - params['project_id'] is None): - raise ValueError("Missing the required parameter `project_id` when calling `projects_project_id_recovery_plans_recovery_plan_id_delete`") # noqa: E501 - # verify the required parameter 'recovery_plan_id' is set - if ('recovery_plan_id' not in params or - params['recovery_plan_id'] is None): - raise ValueError("Missing the required parameter `recovery_plan_id` when calling `projects_project_id_recovery_plans_recovery_plan_id_delete`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'project_id' in params: - path_params['projectId'] = params['project_id'] # noqa: E501 - if 'recovery_plan_id' in params: - path_params['recoveryPlanId'] = params['recovery_plan_id'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/projects/{projectId}/recoveryPlans/{recoveryPlanId}', 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type=None, # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def projects_project_id_recovery_plans_recovery_plan_id_get(self, project_id, recovery_plan_id, **kwargs): # noqa: E501 - """Gets a recovery plan. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_recovery_plans_recovery_plan_id_get(project_id, recovery_plan_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project_id: (required) - :param str recovery_plan_id: (required) - :return: CloudEndureRecoveryPlan - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.projects_project_id_recovery_plans_recovery_plan_id_get_with_http_info(project_id, recovery_plan_id, **kwargs) # noqa: E501 - else: - (data) = self.projects_project_id_recovery_plans_recovery_plan_id_get_with_http_info(project_id, recovery_plan_id, **kwargs) # noqa: E501 - return data - - def projects_project_id_recovery_plans_recovery_plan_id_get_with_http_info(self, project_id, recovery_plan_id, **kwargs): # noqa: E501 - """Gets a recovery plan. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_recovery_plans_recovery_plan_id_get_with_http_info(project_id, recovery_plan_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project_id: (required) - :param str recovery_plan_id: (required) - :return: CloudEndureRecoveryPlan - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['project_id', 'recovery_plan_id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method projects_project_id_recovery_plans_recovery_plan_id_get" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'project_id' is set - if ('project_id' not in params or - params['project_id'] is None): - raise ValueError("Missing the required parameter `project_id` when calling `projects_project_id_recovery_plans_recovery_plan_id_get`") # noqa: E501 - # verify the required parameter 'recovery_plan_id' is set - if ('recovery_plan_id' not in params or - params['recovery_plan_id'] is None): - raise ValueError("Missing the required parameter `recovery_plan_id` when calling `projects_project_id_recovery_plans_recovery_plan_id_get`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'project_id' in params: - path_params['projectId'] = params['project_id'] # noqa: E501 - if 'recovery_plan_id' in params: - path_params['recoveryPlanId'] = params['recovery_plan_id'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/projects/{projectId}/recoveryPlans/{recoveryPlanId}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='CloudEndureRecoveryPlan', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def projects_project_id_recovery_plans_recovery_plan_id_patch(self, body, project_id, recovery_plan_id, **kwargs): # noqa: E501 - """Updates a new recovery plan. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_recovery_plans_recovery_plan_id_patch(body, project_id, recovery_plan_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param CloudEndureRecoveryPlan body: Recovery Plan to create (required) - :param str project_id: (required) - :param str recovery_plan_id: (required) - :return: CloudEndureRecoveryPlan - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.projects_project_id_recovery_plans_recovery_plan_id_patch_with_http_info(body, project_id, recovery_plan_id, **kwargs) # noqa: E501 - else: - (data) = self.projects_project_id_recovery_plans_recovery_plan_id_patch_with_http_info(body, project_id, recovery_plan_id, **kwargs) # noqa: E501 - return data - - def projects_project_id_recovery_plans_recovery_plan_id_patch_with_http_info(self, body, project_id, recovery_plan_id, **kwargs): # noqa: E501 - """Updates a new recovery plan. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_recovery_plans_recovery_plan_id_patch_with_http_info(body, project_id, recovery_plan_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param CloudEndureRecoveryPlan body: Recovery Plan to create (required) - :param str project_id: (required) - :param str recovery_plan_id: (required) - :return: CloudEndureRecoveryPlan - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body', 'project_id', 'recovery_plan_id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method projects_project_id_recovery_plans_recovery_plan_id_patch" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `projects_project_id_recovery_plans_recovery_plan_id_patch`") # noqa: E501 - # verify the required parameter 'project_id' is set - if ('project_id' not in params or - params['project_id'] is None): - raise ValueError("Missing the required parameter `project_id` when calling `projects_project_id_recovery_plans_recovery_plan_id_patch`") # noqa: E501 - # verify the required parameter 'recovery_plan_id' is set - if ('recovery_plan_id' not in params or - params['recovery_plan_id'] is None): - raise ValueError("Missing the required parameter `recovery_plan_id` when calling `projects_project_id_recovery_plans_recovery_plan_id_patch`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'project_id' in params: - path_params['projectId'] = params['project_id'] # noqa: E501 - if 'recovery_plan_id' in params: - path_params['recoveryPlanId'] = params['recovery_plan_id'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/projects/{projectId}/recoveryPlans/{recoveryPlanId}', 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='CloudEndureRecoveryPlan', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def projects_project_id_run_recovery_plan_post(self, body, project_id, **kwargs): # noqa: E501 - """Launch a recovery plan. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_run_recovery_plan_post(body, project_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param object body: Recovery Plan to create (required) - :param str project_id: (required) - :return: CloudEndureJob - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.projects_project_id_run_recovery_plan_post_with_http_info(body, project_id, **kwargs) # noqa: E501 - else: - (data) = self.projects_project_id_run_recovery_plan_post_with_http_info(body, project_id, **kwargs) # noqa: E501 - return data - - def projects_project_id_run_recovery_plan_post_with_http_info(self, body, project_id, **kwargs): # noqa: E501 - """Launch a recovery plan. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_run_recovery_plan_post_with_http_info(body, project_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param object body: Recovery Plan to create (required) - :param str project_id: (required) - :return: CloudEndureJob - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body', 'project_id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method projects_project_id_run_recovery_plan_post" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `projects_project_id_run_recovery_plan_post`") # noqa: E501 - # verify the required parameter 'project_id' is set - if ('project_id' not in params or - params['project_id'] is None): - raise ValueError("Missing the required parameter `project_id` when calling `projects_project_id_run_recovery_plan_post`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'project_id' in params: - path_params['projectId'] = params['project_id'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/projects/{projectId}/runRecoveryPlan', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='CloudEndureJob', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) diff --git a/cloudendure/cloudendure_api/api/replication_api.py b/cloudendure/cloudendure_api/api/replication_api.py deleted file mode 100644 index 1ba6c1310..000000000 --- a/cloudendure/cloudendure_api/api/replication_api.py +++ /dev/null @@ -1,782 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import re # noqa: F401 - -# python 2 and python 3 compatibility library -import six - -from cloudendure.cloudendure_api.api_client import ApiClient - - -class ReplicationApi: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - Ref: https://github.com/swagger-api/swagger-codegen - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - - def projects_project_id_machines_machine_id_bandwidth_throttling_get(self, project_id, machine_id, **kwargs): # noqa: E501 - """Get value of network bandwidth throttling setting for Machine # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_machines_machine_id_bandwidth_throttling_get(project_id, machine_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project_id: (required) - :param str machine_id: (required) - :return: CloudEndureBandwidthThrottling - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.projects_project_id_machines_machine_id_bandwidth_throttling_get_with_http_info(project_id, machine_id, **kwargs) # noqa: E501 - else: - (data) = self.projects_project_id_machines_machine_id_bandwidth_throttling_get_with_http_info(project_id, machine_id, **kwargs) # noqa: E501 - return data - - def projects_project_id_machines_machine_id_bandwidth_throttling_get_with_http_info(self, project_id, machine_id, **kwargs): # noqa: E501 - """Get value of network bandwidth throttling setting for Machine # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_machines_machine_id_bandwidth_throttling_get_with_http_info(project_id, machine_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project_id: (required) - :param str machine_id: (required) - :return: CloudEndureBandwidthThrottling - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['project_id', 'machine_id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method projects_project_id_machines_machine_id_bandwidth_throttling_get" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'project_id' is set - if ('project_id' not in params or - params['project_id'] is None): - raise ValueError("Missing the required parameter `project_id` when calling `projects_project_id_machines_machine_id_bandwidth_throttling_get`") # noqa: E501 - # verify the required parameter 'machine_id' is set - if ('machine_id' not in params or - params['machine_id'] is None): - raise ValueError("Missing the required parameter `machine_id` when calling `projects_project_id_machines_machine_id_bandwidth_throttling_get`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'project_id' in params: - path_params['projectId'] = params['project_id'] # noqa: E501 - if 'machine_id' in params: - path_params['machineId'] = params['machine_id'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/projects/{projectId}/machines/{machineId}/bandwidthThrottling', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='CloudEndureBandwidthThrottling', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def projects_project_id_machines_machine_id_bandwidth_throttling_patch(self, body, project_id, machine_id, **kwargs): # noqa: E501 - """Set value of network bandwidth throttling setting for Machine # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_machines_machine_id_bandwidth_throttling_patch(body, project_id, machine_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param CloudEndureBandwidthThrottling body: (required) - :param str project_id: (required) - :param str machine_id: (required) - :return: CloudEndureBandwidthThrottling - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.projects_project_id_machines_machine_id_bandwidth_throttling_patch_with_http_info(body, project_id, machine_id, **kwargs) # noqa: E501 - else: - (data) = self.projects_project_id_machines_machine_id_bandwidth_throttling_patch_with_http_info(body, project_id, machine_id, **kwargs) # noqa: E501 - return data - - def projects_project_id_machines_machine_id_bandwidth_throttling_patch_with_http_info(self, body, project_id, machine_id, **kwargs): # noqa: E501 - """Set value of network bandwidth throttling setting for Machine # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_machines_machine_id_bandwidth_throttling_patch_with_http_info(body, project_id, machine_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param CloudEndureBandwidthThrottling body: (required) - :param str project_id: (required) - :param str machine_id: (required) - :return: CloudEndureBandwidthThrottling - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body', 'project_id', 'machine_id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method projects_project_id_machines_machine_id_bandwidth_throttling_patch" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `projects_project_id_machines_machine_id_bandwidth_throttling_patch`") # noqa: E501 - # verify the required parameter 'project_id' is set - if ('project_id' not in params or - params['project_id'] is None): - raise ValueError("Missing the required parameter `project_id` when calling `projects_project_id_machines_machine_id_bandwidth_throttling_patch`") # noqa: E501 - # verify the required parameter 'machine_id' is set - if ('machine_id' not in params or - params['machine_id'] is None): - raise ValueError("Missing the required parameter `machine_id` when calling `projects_project_id_machines_machine_id_bandwidth_throttling_patch`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'project_id' in params: - path_params['projectId'] = params['project_id'] # noqa: E501 - if 'machine_id' in params: - path_params['machineId'] = params['machine_id'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/projects/{projectId}/machines/{machineId}/bandwidthThrottling', 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='CloudEndureBandwidthThrottling', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def projects_project_id_machines_machine_id_delete(self, project_id, machine_id, **kwargs): # noqa: E501 - """Uninstall agent # noqa: E501 - - Stops replication and removes the cloudendure agent from this machine. All cloud artifacts associated with those machines with the exception of launched target machine are deleted. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_machines_machine_id_delete(project_id, machine_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project_id: (required) - :param str machine_id: (required) - :return: None - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.projects_project_id_machines_machine_id_delete_with_http_info(project_id, machine_id, **kwargs) # noqa: E501 - else: - (data) = self.projects_project_id_machines_machine_id_delete_with_http_info(project_id, machine_id, **kwargs) # noqa: E501 - return data - - def projects_project_id_machines_machine_id_delete_with_http_info(self, project_id, machine_id, **kwargs): # noqa: E501 - """Uninstall agent # noqa: E501 - - Stops replication and removes the cloudendure agent from this machine. All cloud artifacts associated with those machines with the exception of launched target machine are deleted. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_machines_machine_id_delete_with_http_info(project_id, machine_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project_id: (required) - :param str machine_id: (required) - :return: None - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['project_id', 'machine_id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method projects_project_id_machines_machine_id_delete" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'project_id' is set - if ('project_id' not in params or - params['project_id'] is None): - raise ValueError("Missing the required parameter `project_id` when calling `projects_project_id_machines_machine_id_delete`") # noqa: E501 - # verify the required parameter 'machine_id' is set - if ('machine_id' not in params or - params['machine_id'] is None): - raise ValueError("Missing the required parameter `machine_id` when calling `projects_project_id_machines_machine_id_delete`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'project_id' in params: - path_params['projectId'] = params['project_id'] # noqa: E501 - if 'machine_id' in params: - path_params['machineId'] = params['machine_id'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/projects/{projectId}/machines/{machineId}', 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type=None, # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def projects_project_id_machines_machine_id_pointsintime_get(self, project_id, machine_id, **kwargs): # noqa: E501 - """List Available Points-in-time # noqa: E501 - - Returns the list of available recovery points for this machine. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_machines_machine_id_pointsintime_get(project_id, machine_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project_id: (required) - :param str machine_id: (required) - :param int offset: With which item to start (0 based). - :param int limit: A number specifying how many entries to return. - :return: CloudEndurePointInTimeList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.projects_project_id_machines_machine_id_pointsintime_get_with_http_info(project_id, machine_id, **kwargs) # noqa: E501 - else: - (data) = self.projects_project_id_machines_machine_id_pointsintime_get_with_http_info(project_id, machine_id, **kwargs) # noqa: E501 - return data - - def projects_project_id_machines_machine_id_pointsintime_get_with_http_info(self, project_id, machine_id, **kwargs): # noqa: E501 - """List Available Points-in-time # noqa: E501 - - Returns the list of available recovery points for this machine. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_machines_machine_id_pointsintime_get_with_http_info(project_id, machine_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project_id: (required) - :param str machine_id: (required) - :param int offset: With which item to start (0 based). - :param int limit: A number specifying how many entries to return. - :return: CloudEndurePointInTimeList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['project_id', 'machine_id', 'offset', 'limit'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method projects_project_id_machines_machine_id_pointsintime_get" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'project_id' is set - if ('project_id' not in params or - params['project_id'] is None): - raise ValueError("Missing the required parameter `project_id` when calling `projects_project_id_machines_machine_id_pointsintime_get`") # noqa: E501 - # verify the required parameter 'machine_id' is set - if ('machine_id' not in params or - params['machine_id'] is None): - raise ValueError("Missing the required parameter `machine_id` when calling `projects_project_id_machines_machine_id_pointsintime_get`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'project_id' in params: - path_params['projectId'] = params['project_id'] # noqa: E501 - if 'machine_id' in params: - path_params['machineId'] = params['machine_id'] # noqa: E501 - - query_params = [] - if 'offset' in params: - query_params.append(('offset', params['offset'])) # noqa: E501 - if 'limit' in params: - query_params.append(('limit', params['limit'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/projects/{projectId}/machines/{machineId}/pointsintime', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='CloudEndurePointInTimeList', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def projects_project_id_replication_configurations_get(self, project_id, **kwargs): # noqa: E501 - """List Replication Configurations # noqa: E501 - - Returns the list of replication configuration objects defined in this project. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_replication_configurations_get(project_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project_id: (required) - :param int offset: With which item to start (0 based). - :param int limit: A number specifying how many entries to return. - :return: CloudEndureReplicationConfigurationList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.projects_project_id_replication_configurations_get_with_http_info(project_id, **kwargs) # noqa: E501 - else: - (data) = self.projects_project_id_replication_configurations_get_with_http_info(project_id, **kwargs) # noqa: E501 - return data - - def projects_project_id_replication_configurations_get_with_http_info(self, project_id, **kwargs): # noqa: E501 - """List Replication Configurations # noqa: E501 - - Returns the list of replication configuration objects defined in this project. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_replication_configurations_get_with_http_info(project_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project_id: (required) - :param int offset: With which item to start (0 based). - :param int limit: A number specifying how many entries to return. - :return: CloudEndureReplicationConfigurationList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['project_id', 'offset', 'limit'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method projects_project_id_replication_configurations_get" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'project_id' is set - if ('project_id' not in params or - params['project_id'] is None): - raise ValueError("Missing the required parameter `project_id` when calling `projects_project_id_replication_configurations_get`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'project_id' in params: - path_params['projectId'] = params['project_id'] # noqa: E501 - - query_params = [] - if 'offset' in params: - query_params.append(('offset', params['offset'])) # noqa: E501 - if 'limit' in params: - query_params.append(('limit', params['limit'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/projects/{projectId}/replicationConfigurations', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='CloudEndureReplicationConfigurationList', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def projects_project_id_replication_configurations_post(self, body, project_id, **kwargs): # noqa: E501 - """Create Replication Configuration # noqa: E501 - - Control Data Replication parameters such as target cloud credentials, Staging Area and replication network configuration. A single configuration can exist per target region. Returns the newly created object. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_replication_configurations_post(body, project_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param CloudEndureReplicationConfiguration body: (required) - :param str project_id: (required) - :return: CloudEndureReplicationConfiguration - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.projects_project_id_replication_configurations_post_with_http_info(body, project_id, **kwargs) # noqa: E501 - else: - (data) = self.projects_project_id_replication_configurations_post_with_http_info(body, project_id, **kwargs) # noqa: E501 - return data - - def projects_project_id_replication_configurations_post_with_http_info(self, body, project_id, **kwargs): # noqa: E501 - """Create Replication Configuration # noqa: E501 - - Control Data Replication parameters such as target cloud credentials, Staging Area and replication network configuration. A single configuration can exist per target region. Returns the newly created object. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_replication_configurations_post_with_http_info(body, project_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param CloudEndureReplicationConfiguration body: (required) - :param str project_id: (required) - :return: CloudEndureReplicationConfiguration - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body', 'project_id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method projects_project_id_replication_configurations_post" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `projects_project_id_replication_configurations_post`") # noqa: E501 - # verify the required parameter 'project_id' is set - if ('project_id' not in params or - params['project_id'] is None): - raise ValueError("Missing the required parameter `project_id` when calling `projects_project_id_replication_configurations_post`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'project_id' in params: - path_params['projectId'] = params['project_id'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/projects/{projectId}/replicationConfigurations', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='CloudEndureReplicationConfiguration', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def projects_project_id_replication_configurations_replication_configuration_id_patch(self, body, project_id, replication_configuration_id, **kwargs): # noqa: E501 - """Modify Replication Configuration # noqa: E501 - - Modifying volumeEncryptionKey or modifying cloudCredentials to ones matching a different cloud account will result in replication restarting from initial sync. Returns the modified object. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_replication_configurations_replication_configuration_id_patch(body, project_id, replication_configuration_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param CloudEndureReplicationConfiguration body: (required) - :param str project_id: (required) - :param str replication_configuration_id: (required) - :return: CloudEndureReplicationConfiguration - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.projects_project_id_replication_configurations_replication_configuration_id_patch_with_http_info(body, project_id, replication_configuration_id, **kwargs) # noqa: E501 - else: - (data) = self.projects_project_id_replication_configurations_replication_configuration_id_patch_with_http_info(body, project_id, replication_configuration_id, **kwargs) # noqa: E501 - return data - - def projects_project_id_replication_configurations_replication_configuration_id_patch_with_http_info(self, body, project_id, replication_configuration_id, **kwargs): # noqa: E501 - """Modify Replication Configuration # noqa: E501 - - Modifying volumeEncryptionKey or modifying cloudCredentials to ones matching a different cloud account will result in replication restarting from initial sync. Returns the modified object. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.projects_project_id_replication_configurations_replication_configuration_id_patch_with_http_info(body, project_id, replication_configuration_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param CloudEndureReplicationConfiguration body: (required) - :param str project_id: (required) - :param str replication_configuration_id: (required) - :return: CloudEndureReplicationConfiguration - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body', 'project_id', 'replication_configuration_id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method projects_project_id_replication_configurations_replication_configuration_id_patch" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `projects_project_id_replication_configurations_replication_configuration_id_patch`") # noqa: E501 - # verify the required parameter 'project_id' is set - if ('project_id' not in params or - params['project_id'] is None): - raise ValueError("Missing the required parameter `project_id` when calling `projects_project_id_replication_configurations_replication_configuration_id_patch`") # noqa: E501 - # verify the required parameter 'replication_configuration_id' is set - if ('replication_configuration_id' not in params or - params['replication_configuration_id'] is None): - raise ValueError("Missing the required parameter `replication_configuration_id` when calling `projects_project_id_replication_configurations_replication_configuration_id_patch`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'project_id' in params: - path_params['projectId'] = params['project_id'] # noqa: E501 - if 'replication_configuration_id' in params: - path_params['replicationConfigurationId'] = params['replication_configuration_id'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/projects/{projectId}/replicationConfigurations/{replicationConfigurationId}', 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='CloudEndureReplicationConfiguration', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) diff --git a/cloudendure/cloudendure_api/api/user_api.py b/cloudendure/cloudendure_api/api/user_api.py deleted file mode 100644 index 24aabc0a1..000000000 --- a/cloudendure/cloudendure_api/api/user_api.py +++ /dev/null @@ -1,415 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import re # noqa: F401 - -# python 2 and python 3 compatibility library -import six - -from cloudendure.cloudendure_api.api_client import ApiClient - - -class UserApi: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - Ref: https://github.com/swagger-api/swagger-codegen - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - - def change_password_post(self, body, **kwargs): # noqa: E501 - """Change Password # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.change_password_post(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param object body: (required) - :return: None - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.change_password_post_with_http_info(body, **kwargs) # noqa: E501 - else: - (data) = self.change_password_post_with_http_info(body, **kwargs) # noqa: E501 - return data - - def change_password_post_with_http_info(self, body, **kwargs): # noqa: E501 - """Change Password # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.change_password_post_with_http_info(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param object body: (required) - :return: None - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method change_password_post" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `change_password_post`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/changePassword', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type=None, # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def me_get(self, **kwargs): # noqa: E501 - """Me # noqa: E501 - - Provides user configuration information for the currently logged in user. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.me_get(async_req=True) - >>> result = thread.get() - - :param async_req bool - :return: CloudEndureUser - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.me_get_with_http_info(**kwargs) # noqa: E501 - else: - (data) = self.me_get_with_http_info(**kwargs) # noqa: E501 - return data - - def me_get_with_http_info(self, **kwargs): # noqa: E501 - """Me # noqa: E501 - - Provides user configuration information for the currently logged in user. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.me_get_with_http_info(async_req=True) - >>> result = thread.get() - - :param async_req bool - :return: CloudEndureUser - If the method is called asynchronously, - returns the request thread. - """ - - all_params = [] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method me_get" % key - ) - params[key] = val - del params['kwargs'] - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/me', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='CloudEndureUser', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def users_user_id_delete(self, user_id, **kwargs): # noqa: E501 - """Delete a User # noqa: E501 - - todo # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.users_user_id_delete(user_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str user_id: (required) - :return: None - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.users_user_id_delete_with_http_info(user_id, **kwargs) # noqa: E501 - else: - (data) = self.users_user_id_delete_with_http_info(user_id, **kwargs) # noqa: E501 - return data - - def users_user_id_delete_with_http_info(self, user_id, **kwargs): # noqa: E501 - """Delete a User # noqa: E501 - - todo # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.users_user_id_delete_with_http_info(user_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str user_id: (required) - :return: None - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['user_id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method users_user_id_delete" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'user_id' is set - if ('user_id' not in params or - params['user_id'] is None): - raise ValueError("Missing the required parameter `user_id` when calling `users_user_id_delete`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'user_id' in params: - path_params['userId'] = params['user_id'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/users/{userId}', 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type=None, # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def users_user_id_patch(self, body, user_id, **kwargs): # noqa: E501 - """Modify user settings # noqa: E501 - - Configure which projects this user can receive e-mail notifications for. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.users_user_id_patch(body, user_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param CloudEndureUser body: (required) - :param str user_id: (required) - :return: CloudEndureUser - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.users_user_id_patch_with_http_info(body, user_id, **kwargs) # noqa: E501 - else: - (data) = self.users_user_id_patch_with_http_info(body, user_id, **kwargs) # noqa: E501 - return data - - def users_user_id_patch_with_http_info(self, body, user_id, **kwargs): # noqa: E501 - """Modify user settings # noqa: E501 - - Configure which projects this user can receive e-mail notifications for. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.users_user_id_patch_with_http_info(body, user_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param CloudEndureUser body: (required) - :param str user_id: (required) - :return: CloudEndureUser - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body', 'user_id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method users_user_id_patch" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `users_user_id_patch`") # noqa: E501 - # verify the required parameter 'user_id' is set - if ('user_id' not in params or - params['user_id'] is None): - raise ValueError("Missing the required parameter `user_id` when calling `users_user_id_patch`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'user_id' in params: - path_params['userId'] = params['user_id'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/users/{userId}', 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='CloudEndureUser', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) diff --git a/cloudendure/cloudendure_api/api_client.py b/cloudendure/cloudendure_api/api_client.py deleted file mode 100644 index 8025516fc..000000000 --- a/cloudendure/cloudendure_api/api_client.py +++ /dev/null @@ -1,640 +0,0 @@ -# -*- coding: utf-8 -*- -"""Define the CloudEndure API client module.""" -from __future__ import absolute_import - -import datetime -import json -import mimetypes -import os -import re -import tempfile -from multiprocessing.pool import ThreadPool -from typing import Any, Dict - -# python 2 and python 3 compatibility library -import six -from six.moves.urllib.parse import quote - -import cloudendure.cloudendure_api.models -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api import rest -from cloudendure.cloudendure_api.configuration import Configuration - - -class ApiClient: - """Generic API client for Swagger client library builds. - - Swagger generic API client. This client handles the client- - server communication, and is invariant across implementations. Specifics of - the methods and models for each application are generated from the Swagger - templates. - - NOTE: This class is auto generated by the swagger code generator program. - Ref: https://github.com/swagger-api/swagger-codegen - Do not edit the class manually. - - :param configuration: .Configuration object for this client - :param header_name: a header to pass when making calls to the API. - :param header_value: a header value to pass when making calls to - the API. - :param cookie: a cookie to include in the header when making calls - to the API - - """ - - PRIMITIVE_TYPES = (float, bool, bytes, str, int) - NATIVE_TYPES_MAPPING = { - 'int': int, - 'long': int, - 'float': float, - 'str': str, - 'bool': bool, - 'date': datetime.date, - 'datetime': datetime.datetime, - 'object': object, - } - - def __init__(self, configuration: Configuration = None, header_name: str = '', header_value=None, cookie=None): - if configuration is None: - configuration = Configuration() - self.configuration = configuration - - self.pool = ThreadPool() - self.rest_client = rest.RESTClientObject(configuration) - self.default_headers: Dict[str, Any] = {} - if header_name is not None: - self.default_headers[header_name] = header_value - self.cookie = cookie - # Set default User-Agent. - self.user_agent = 'cloudendure/0.1.0/python' - - def __del__(self): - self.pool.close() - self.pool.join() - - @property - def user_agent(self): - """User agent for this API client.""" - return self.default_headers['User-Agent'] - - @user_agent.setter - def user_agent(self, value): - self.default_headers['User-Agent'] = value - - def set_default_header(self, header_name, header_value): - self.default_headers[header_name] = header_value - - def __call_api( - self, - resource_path, - method, - path_params=None, - query_params=None, - header_params=None, - body=None, - post_params=None, - files=None, - response_type=None, - auth_settings=None, - _return_http_data_only=None, - collection_formats=None, - _preload_content=True, - _request_timeout=None - ): - - config: Configuration = self.configuration - - # header parameters - header_params = header_params or {} - header_params.update(self.default_headers) - if self.cookie: - header_params['Cookie'] = self.cookie - if header_params: - header_params = self.sanitize_for_serialization(header_params) - header_params = dict(self.parameters_to_tuples(header_params, collection_formats)) - - # path parameters - if path_params: - path_params = self.sanitize_for_serialization(path_params) - path_params = self.parameters_to_tuples(path_params, collection_formats) - for k, v in path_params: - # specified safe chars, encode everything - resource_path = resource_path.replace('{%s}' % k, quote(str(v), safe=config.safe_chars_for_path_param)) - - # query parameters - if query_params: - query_params = self.sanitize_for_serialization(query_params) - query_params = self.parameters_to_tuples(query_params, collection_formats) - - # post parameters - if post_params or files: - post_params = self.prepare_post_parameters(post_params, files) - post_params = self.sanitize_for_serialization(post_params) - post_params = self.parameters_to_tuples(post_params, collection_formats) - - # auth setting - self.update_params_for_auth(header_params, query_params, auth_settings) - - # body - if body: - body = self.sanitize_for_serialization(body) - - # request url - url = f'{self.configuration.host}{resource_path}' - - # perform request and return response - response_data = self.request( - method, - url, - query_params=query_params, - headers=header_params, - post_params=post_params, - body=body, - _preload_content=_preload_content, - _request_timeout=_request_timeout - ) - - self.last_response = response_data - - return_data = response_data - if _preload_content: - # deserialize response data - if response_type: - return_data = self.deserialize(response_data, response_type) - else: - return_data = None - - if _return_http_data_only: - return (return_data) - else: - return (return_data, response_data.status, response_data.getheaders()) - - def sanitize_for_serialization(self, obj): - """Build a JSON POST object. - - If obj is None, return None. - If obj is str, int, long, float, bool, return directly. - If obj is datetime.datetime, datetime.date - convert to string in iso8601 format. - If obj is list, sanitize each element in the list. - If obj is dict, return the dict. - If obj is swagger model, return the properties dict. - - :param obj: The data to serialize. - :return: The serialized form of data. - - """ - if obj is None: - return None - elif isinstance(obj, self.PRIMITIVE_TYPES): - return obj - elif isinstance(obj, list): - return [self.sanitize_for_serialization(sub_obj) for sub_obj in obj] - elif isinstance(obj, tuple): - return tuple(self.sanitize_for_serialization(sub_obj) for sub_obj in obj) - elif isinstance(obj, (datetime.datetime, datetime.date)): - return obj.isoformat() - - if isinstance(obj, dict): - obj_dict = obj - else: - # Convert model obj to dict except - # attributes `swagger_types`, `attribute_map` - # and attributes which value is not None. - # Convert attribute name to json key in - # model definition for request. - obj_dict = { - obj.attribute_map[attr]: getattr(obj, attr) - for attr, _ in six.iteritems(obj.swagger_types) if getattr(obj, attr) is not None - } - - return {key: self.sanitize_for_serialization(val) for key, val in six.iteritems(obj_dict)} - - def deserialize(self, response, response_type): - """Deserialize the response into an object. - - :param response: RESTResponse object to be deserialized. - :param response_type: class literal for - deserialized object, or string of class name. - - :return: deserialized object. - - """ - # handle file downloading - # save response body into a tmp file and return the instance - if response_type == "file": - return self.__deserialize_file(response) - - # fetch data from response object - try: - data = json.loads(response.data) - except ValueError: - data = response.data - - return self.__deserialize(data, response_type) - - def __deserialize(self, data, klass): - """Deserialize dict, list, str into an object. - - :param data: dict, list or str. - :param klass: class literal, or string of class name. - - :return: object. - - """ - if data is None: - return None - - if type(klass) == str: - if klass.startswith('list['): - sub_kls = re.match(r'list\[(.*)\]', klass).group(1) - return [self.__deserialize(sub_data, sub_kls) for sub_data in data] - - if klass.startswith('dict('): - sub_kls = re.match(r'dict\(([^,]*), (.*)\)', klass).group(2) - return {k: self.__deserialize(v, sub_kls) for k, v in six.iteritems(data)} - - # convert str to class - if klass in self.NATIVE_TYPES_MAPPING: - klass = self.NATIVE_TYPES_MAPPING[klass] - else: - klass = getattr(cloudendure.cloudendure_api.models, klass) - - if klass in self.PRIMITIVE_TYPES: - return self.__deserialize_primitive(data, klass) - elif klass == object: - return self.__deserialize_object(data) - elif klass == datetime.date: - return self.__deserialize_date(data) - elif klass == datetime.datetime: - return self.__deserialize_datatime(data) - else: - return self.__deserialize_model(data, klass) - - def call_api( - self, - resource_path, - method, - path_params=None, - query_params=None, - header_params=None, - body=None, - post_params=None, - files=None, - response_type=None, - auth_settings=None, - async_req=None, - _return_http_data_only=None, - collection_formats=None, - _preload_content=True, - _request_timeout=None - ): - """Make the HTTP request (synchronous) and returns deserialized data. - - To make an async request, set the async_req parameter. - - :param resource_path: Path to method endpoint. - :param method: Method to call. - :param path_params: Path parameters in the url. - :param query_params: Query parameters in the url. - :param header_params: Header parameters to be - placed in the request header. - :param body: Request body. - :param post_params dict: Request post form parameters, - for `application/x-www-form-urlencoded`, `multipart/form-data`. - :param auth_settings list: Auth Settings names for the request. - :param response: Response data type. - :param files dict: key -> filename, value -> filepath, - for `multipart/form-data`. - :param async_req bool: execute request asynchronously - :param _return_http_data_only: response data without head status code and headers - :param collection_formats: dict of collection formats for path, query, - header, and post parameters. - :param _preload_content: if False, the urllib3.HTTPResponse object will be returned without - reading/decoding response data. Default is True. - :param _request_timeout: timeout setting for this request. If one number provided, it will - be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: - If async_req parameter is True, - the request will be called asynchronously. - The method will return the request thread. - If parameter async_req is False or missing, - then the method will return the response directly. - - """ - if not async_req: - return self.__call_api( - resource_path, method, path_params, query_params, header_params, body, post_params, files, - response_type, auth_settings, _return_http_data_only, collection_formats, _preload_content, - _request_timeout - ) - else: - thread = self.pool.apply_async( - self.__call_api, ( - resource_path, method, path_params, query_params, header_params, body, post_params, files, - response_type, auth_settings, _return_http_data_only, collection_formats, _preload_content, - _request_timeout - ) - ) - return thread - - def request( - self, - method, - url, - query_params=None, - headers=None, - post_params=None, - body=None, - _preload_content=True, - _request_timeout=None - ): - """Makes the HTTP request using RESTClient.""" - if method == "GET": - return self.rest_client.GET( - url, - query_params=query_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - headers=headers - ) - elif method == "HEAD": - return self.rest_client.HEAD( - url, - query_params=query_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - headers=headers - ) - elif method == "OPTIONS": - return self.rest_client.OPTIONS( - url, - query_params=query_params, - headers=headers, - post_params=post_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body - ) - elif method == "POST": - return self.rest_client.POST( - url, - query_params=query_params, - headers=headers, - post_params=post_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body - ) - elif method == "PUT": - return self.rest_client.PUT( - url, - query_params=query_params, - headers=headers, - post_params=post_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body - ) - elif method == "PATCH": - return self.rest_client.PATCH( - url, - query_params=query_params, - headers=headers, - post_params=post_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body - ) - elif method == "DELETE": - return self.rest_client.DELETE( - url, - query_params=query_params, - headers=headers, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body - ) - else: - raise ValueError("http method must be `GET`, `HEAD`, `OPTIONS`, `POST`, `PATCH`, `PUT` or `DELETE`.") - - def parameters_to_tuples(self, params, collection_formats): - """Get parameters as list of tuples, formatting collections. - - :param params: Parameters as dict or list of two-tuples - :param dict collection_formats: Parameter collection formats - :return: Parameters as list of tuples, collections formatted - - """ - new_params = [] - if collection_formats is None: - collection_formats = {} - for k, v in six.iteritems(params) if isinstance(params, dict) else params: # noqa: E501 - if k in collection_formats: - collection_format = collection_formats[k] - if collection_format == 'multi': - new_params.extend((k, value) for value in v) - else: - if collection_format == 'ssv': - delimiter = ' ' - elif collection_format == 'tsv': - delimiter = '\t' - elif collection_format == 'pipes': - delimiter = '|' - else: # csv is the default - delimiter = ',' - new_params.append((k, delimiter.join(str(value) for value in v))) - else: - new_params.append((k, v)) - return new_params - - def prepare_post_parameters(self, post_params=None, files=None): - """Build the form parameters. - - :param post_params: Normal form parameters. - :param files: File parameters. - :return: Form parameters with files. - - """ - params = [] - - if post_params: - params = post_params - - if files: - for k, v in six.iteritems(files): - if not v: - continue - file_names = v if type(v) is list else [v] - for n in file_names: - with open(n, 'rb') as f: - filename = os.path.basename(f.name) - filedata = f.read() - mimetype = mimetypes.guess_type(filename)[0] or 'application/octet-stream' - params.append(tuple([k, tuple([filename, filedata, mimetype])])) - - return params - - def select_header_accept(self, accepts): - """Return the `Accept` based on an array of accepts provided. - - :param accepts: List of headers. - :return: Accept (e.g. application/json). - - """ - if not accepts: - return - - accepts = [x.lower() for x in accepts] - - if 'application/json' in accepts: - return 'application/json' - else: - return ', '.join(accepts) - - def select_header_content_type(self, content_types): - """Return the `Content-Type` based on an array of content_types provided. - - :param content_types: List of content-types. - :return: Content-Type (e.g. application/json). - - """ - if not content_types: - return 'application/json' - - content_types = [x.lower() for x in content_types] - - if 'application/json' in content_types or '*/*' in content_types: - return 'application/json' - return content_types[0] - - def update_params_for_auth(self, headers, queries, auth_settings): - """Update the header and query params based on authentication setting. - - :param headers: Header parameters dict to be updated. - :param queries: Query parameters tuple list to be updated. - :param auth_settings: Authentication setting identifiers list. - - """ - if not auth_settings: - return - - for auth in auth_settings: - auth_setting = self.configuration.auth_settings().get(auth) - if auth_setting: - if not auth_setting['value']: - continue - elif auth_setting['in'] == 'header': - headers[auth_setting['key']] = auth_setting['value'] - elif auth_setting['in'] == 'query': - queries.append((auth_setting['key'], auth_setting['value'])) - else: - raise ValueError('Authentication token must be in `query` or `header`') - - def __deserialize_file(self, response): - """Deserialize the body to a file. - - Saves response body into a file in a temporary folder, - using the filename from the `Content-Disposition` header if provided. - - :param response: RESTResponse. - :return: file path. - """ - fd, path = tempfile.mkstemp(dir=self.configuration.temp_folder_path) - os.close(fd) - os.remove(path) - - content_disposition = response.getheader("Content-Disposition") - if content_disposition: - filename = re.search(r'filename=[\'"]?([^\'"\s]+)[\'"]?', content_disposition).group(1) - path = os.path.join(os.path.dirname(path), filename) - - with open(path, "wb") as f: - f.write(response.data) - - return path - - def __deserialize_primitive(self, data, klass): - """Deserializes string to primitive type. - - :param data: str. - :param klass: class literal. - - :return: int, long, float, str, bool. - """ - try: - return klass(data) - except UnicodeEncodeError: - return six.text_type(data) - except TypeError: - return data - - def __deserialize_object(self, value): - """Return a original value. - - :return: object. - """ - return value - - def __deserialize_date(self, string): - """Deserializes string to date. - - :param string: str. - :return: date. - """ - try: - from dateutil.parser import parse - return parse(string).date() - except ImportError: - return string - except ValueError: - raise rest.ApiException(status=0, reason=f"Failed to parse `{string}` as date object") - - def __deserialize_datatime(self, string): - """Deserializes string to datetime. - - The string should be in iso8601 datetime format. - - :param string: str. - :return: datetime. - """ - try: - from dateutil.parser import parse - return parse(string) - except ImportError: - return string - except ValueError: - raise rest.ApiException(status=0, reason=(f"Failed to parse `{string}` as datetime object")) - - def __hasattr(self, object, name): - return name in object.__class__.__dict__ - - def __deserialize_model(self, data, klass): - """Deserializes list or dict to model. - - :param data: dict, list. - :param klass: class literal. - :return: model object. - """ - - if not klass.swagger_types and not self.__hasattr(klass, 'get_real_child_model'): - return data - - kwargs = {} - if klass.swagger_types is not None: - for attr, attr_type in six.iteritems(klass.swagger_types): - if data is not None and klass.attribute_map[attr] in data and isinstance(data, (list, dict)): - value = data[klass.attribute_map[attr]] - kwargs[attr] = self.__deserialize(value, attr_type) - - instance = klass(**kwargs) - - if isinstance(instance, dict) and klass.swagger_types is not None and isinstance(data, dict): - for key, value in data.items(): - if key not in klass.swagger_types: - instance[key] = value - if self.__hasattr(instance, 'get_real_child_model'): - klass_name = instance.get_real_child_model(data) - if klass_name: - instance = self.__deserialize(data, klass_name) - return instance diff --git a/cloudendure/cloudendure_api/configuration.py b/cloudendure/cloudendure_api/configuration.py deleted file mode 100644 index 84c8e7335..000000000 --- a/cloudendure/cloudendure_api/configuration.py +++ /dev/null @@ -1,357 +0,0 @@ -# -*- coding: utf-8 -*- -"""Define the CloudEndure API configuration.""" -from __future__ import absolute_import, print_function - -import copy -import logging -import multiprocessing -import os -import sys -from pathlib import Path -from typing import Any, Dict - -import requests -import six -import urllib3 -import yaml -from six.moves import http_client as httplib - - -class TypeWithDefault(type): - - def __init__(cls, name, bases, dct): - super(TypeWithDefault, cls).__init__(name, bases, dct) - cls._default = None - - def __call__(cls): - if cls._default is None: - cls._default = type.__call__(cls) - return copy.copy(cls._default) - - def set_default(cls, default): - cls._default = copy.copy(default) - - -class Configuration(six.with_metaclass(TypeWithDefault, object)): - """NOTE: This class is auto generated by the swagger code generator program. - - Ref: https://github.com/swagger-api/swagger-codegen - Do not edit the class manually. - """ - - def __init__(self): - """Constructor""" - self.active_config = {} - - # Default Base url - _config_path = os.environ.get('CLOUDENDURE_CONFIG_PATH', '~/.cloudendure.yaml') - if _config_path.startswith('~'): - self.config_path = os.path.expanduser(_config_path) - _config = Path(self.config_path) - if not _config.exists(): - print('No CloudEndure YAML configuration found! Creating it at: (%s)', self.config_path) - self.write_yaml_config( - config={ - 'host': 'https://console.cloudendure.com', - 'api_version': 'latest', - 'auth_ttl': '3600', - 'username': '', - 'password': '', - 'token': '', - } - ) - self.update_config() - - self.host = "https://console.cloudendure.com/api/latest" - # Temp file folder for downloading files - self.temp_folder_path = None - - # Authentication Settings - # dict to store API key(s) - self.api_key = {'X-XSRF-TOKEN': 'Ykua549wkGxHPsV4fnncbw==\012'} - # dict to store API prefix (e.g. Bearer) - self.api_key_prefix = {} - # Logging Settings - self.logger = {} - self.logger["package_logger"] = logging.getLogger("cloudendure_api") - self.logger["urllib3_logger"] = logging.getLogger("urllib3") - # Log format - self.logger_format = '%(asctime)s %(levelname)s %(message)s' - # Log stream handler - self.logger_stream_handler = None - # Log file handler - self.logger_file_handler = None - # Debug file location - self.logger_file = None - # Debug switch - self.debug = False - - # SSL/TLS verification - # Set this to false to skip verifying SSL certificate when calling API - # from https server. - self.verify_ssl = True - # Set this to customize the certificate file to verify the peer. - self.ssl_ca_cert = None - # client certificate file - self.cert_file = None - # client key file - self.key_file = None - # Set this to True/False to enable/disable SSL hostname verification. - self.assert_hostname = None - - # urllib3 connection pool's maximum number of connections saved - # per pool. urllib3 uses 1 connection as default value, but this is - # not the best value when you are making a lot of possibly parallel - # requests to the same host, which is often the case here. - # cpu_count * 5 is used as default value to increase performance. - self.connection_pool_maxsize = multiprocessing.cpu_count() * 5 - - # Proxy URL - self.proxy = None - # Safe chars for path_param - self.safe_chars_for_path_param = '' - - @property - def logger_file(self): - """Define the logger file getter. - - If the logger_file is None, then add stream handler and remove file - handler. Otherwise, add file handler and remove stream handler. - - :param value: The logger_file path. - :type: str - - """ - return self.__logger_file - - @logger_file.setter - def logger_file(self, value): - """Define the logger file setter. - - If the logger_file is None, then add stream handler and remove file - handler. Otherwise, add file handler and remove stream handler. - - :param value: The logger_file path. - :type: str - - """ - self.__logger_file = value - if self.__logger_file: - # If set logging file, - # then add file handler and remove stream handler. - self.logger_file_handler = logging.FileHandler(self.__logger_file) - self.logger_file_handler.setFormatter(self.logger_formatter) - for _, logger in six.iteritems(self.logger): - logger.addHandler(self.logger_file_handler) - if self.logger_stream_handler: - logger.removeHandler(self.logger_stream_handler) - else: - # If not set logging file, - # then add stream handler and remove file handler. - self.logger_stream_handler = logging.StreamHandler() - self.logger_stream_handler.setFormatter(self.logger_formatter) - for _, logger in six.iteritems(self.logger): - logger.addHandler(self.logger_stream_handler) - if self.logger_file_handler: - logger.removeHandler(self.logger_file_handler) - - @property - def debug(self): - """Get the Debug status - - :param value: The debug status, True or False. - :type: bool - - """ - return self.__debug - - @debug.setter - def debug(self, value): - """Set the Debug status. - - :param value: The debug status, True or False. - :type: bool - - """ - self.__debug = value - if self.__debug: - # if debug status is True, turn on debug logging - for _, logger in six.iteritems(self.logger): - logger.setLevel(logging.DEBUG) - # turn on httplib debug - httplib.HTTPConnection.debuglevel = 1 - else: - # if debug status is False, turn off debug logging, - # setting log level to default `logging.WARNING` - for _, logger in six.iteritems(self.logger): - logger.setLevel(logging.WARNING) - # turn off httplib debug - httplib.HTTPConnection.debuglevel = 0 - - @property - def logger_format(self): - """Define the logger format getter. - - The logger_formatter will be updated when sets logger_format. - - :param value: The format string. - :type: str - """ - return self.__logger_format - - @logger_format.setter - def logger_format(self, value): - """Define the logger format setter. - - The logger_formatter will be updated when sets logger_format. - - :param value: The format string. - :type: str - - """ - self.__logger_format = value - self.logger_formatter = logging.Formatter(self.__logger_format) - - def get_api_key_with_prefix(self, identifier: str) -> str: - """Get the API key (with prefix if set). - - :param identifier: The identifier of apiKey. - :return: The token for api key authentication. - - """ - if self.api_key.get(identifier) and self.api_key_prefix.get(identifier): - return f'{self.api_key_prefix[identifier]} {self.api_key[identifier]}' # noqa: E501 - if self.api_key.get(identifier): - return self.api_key[identifier] - return '' - - def get_basic_auth_token(self): - """Get HTTP basic authentication header (string). - - :return: The token for basic HTTP authentication. - - """ - return urllib3.util.make_headers( - basic_auth=f'{self.active_config.get("username", "")}:{self.active_config.get("password", "")}' - ).get('authorization') - - def auth_settings(self) -> Dict[str, Any]: - """Get the Auth Settings dict for api client. - - :return: The Auth Settings information dict. - - """ - return { - 'api_key': { - 'type': 'api_key', - 'in': 'header', - 'key': 'X-XSRF-TOKEN', - 'value': self.get_api_key_with_prefix('X-XSRF-TOKEN') - }, - } - - def to_debug_report(self) -> str: - """Get the essential information for debugging. - - :return: The report for debugging. - - """ - return "Python SDK Debug Report:\n"\ - f"OS: {sys.platform}\n"\ - f"Python Version: {sys.version}\n"\ - "Version of the API: 5\n"\ - "SDK Package Version: 0.1.0" - - def read_yaml_config(self): - """Read the CloudEndure YAML configuration file.""" - with open(self.config_path, 'r') as yaml_stream: - try: - config = yaml.safe_load(yaml_stream) - except yaml.YAMLError as e: - config = {} - print(e) - return config - - def write_yaml_config(self, config): - """Write to the CloudEndure YAML configuration file.""" - with open(self.config_path, 'w') as yaml_file: - try: - yaml.dump(config, yaml_file, default_flow_style=False) - return True - except Exception as e: - print(f'Exception encountered while writing the CloudEndure YAML configuration file - ({e})') - return False - - def update_yaml_config(self, kwargs): - _config = self.read_yaml_config() - _config.update(kwargs) - self.write_yaml_config(_config) - self.update_config() - - def get_env_vars(self, prefix='cloudendure'): - """Get all environment variables starting with CLOUDENDURE_.""" - prefix = prefix.strip('_') - env_vars = { - x[0].lower().lstrip(prefix.lower()).strip('_'): x[1] - for x in os.environ.items() if x[0].lower().startswith(prefix.lower()) - } - print(env_vars) - return env_vars - - def refresh_auth(self, username='', password=''): - """Refresh the authentication token with the CloudEndure API. - - Args: - username (str): The CloudEndure username to be used. - Defaults to the environment specific default. - password (str): The CloudEndure password to be used. - Defaults to the environment specific default. - - Attributes: - endpoint (str): The CloudEndure API endpoint to be used. - _username (str): The CloudEndure API username. - _password (str): The CloudEndure API password. - _auth (dict): The CloudEndure API username/password dictionary map. - response (requests.Response): The CloudEndure API login request response object. - _xsrf_token (str): The XSRF token to be used for subsequent API requests. - - """ - endpoint: str = 'login' - _username: str = self.active_config.get('username', '') or username - _password: str = self.active_config.get('password', '') or password - _auth: Dict[str, str] = {'username': _username, 'password': _password} - - # Attempt to login to the CloudEndure API via a POST request. - response: requests.Response = requests.post(f'{self.host}/{endpoint}', json=_auth) - print('response: ', response, response.status_code) - - # Check whether or not the request was successful. - if response.status_code not in [200, 307]: - raise Exception() - - print('response: ', response, response.cookies) - _xsrf_token: str = str(response.cookies['XSRF-TOKEN']) - - # Strip the XSRF token of wrapping double-quotes from the cookie. - if _xsrf_token.startswith('"') and _xsrf_token.endswith('"'): - _xsrf_token: str = _xsrf_token[1:-1] - - # Set the XSRF token data on the CloudEndureAPI object. - return _xsrf_token - - def update_config(self): - self.yaml_config_contents = self.read_yaml_config() - self.env_config = self.get_env_vars() - self.active_config = {**self.yaml_config_contents, **self.env_config} - - def update_token(self, token): - self.update_yaml_config({'token': token}) - - def get_var(self, var): - """Get the specified environment or config variable.""" - env_var = os.environ.get(var.upper(), '') - - if not env_var: - env_var = self.yaml_config_contents.get(var.lower(), '') - - return env_var diff --git a/cloudendure/cloudendure_api/models/__init__.py b/cloudendure/cloudendure_api/models/__init__.py deleted file mode 100644 index 6813d534e..000000000 --- a/cloudendure/cloudendure_api/models/__init__.py +++ /dev/null @@ -1,114 +0,0 @@ -# coding: utf-8 - -# flake8: noqa -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -# import models into model package -from cloudendure.cloudendure_api.models.cloud_endure_account import CloudEndureAccount -from cloudendure.cloudendure_api.models.cloud_endure_account_request import CloudEndureAccountRequest -from cloudendure.cloudendure_api.models.cloud_endure_account_request_list import CloudEndureAccountRequestList -from cloudendure.cloudendure_api.models.cloud_endure_accounts_list import CloudEndureAccountsList -from cloudendure.cloudendure_api.models.cloud_endure_agent_next_replication_init_request import ( - CloudEndureAgentNextReplicationInitRequest, -) -from cloudendure.cloudendure_api.models.cloud_endure_all_project_features import CloudEndureAllProjectFeatures -from cloudendure.cloudendure_api.models.cloud_endure_audit_log import CloudEndureAuditLog -from cloudendure.cloudendure_api.models.cloud_endure_audit_log_changed_field import CloudEndureAuditLogChangedField -from cloudendure.cloudendure_api.models.cloud_endure_audit_log_entry import CloudEndureAuditLogEntry -from cloudendure.cloudendure_api.models.cloud_endure_bandwidth_throttling import CloudEndureBandwidthThrottling -from cloudendure.cloudendure_api.models.cloud_endure_blueprint import CloudEndureBlueprint -from cloudendure.cloudendure_api.models.cloud_endure_blueprint_list import CloudEndureBlueprintList -from cloudendure.cloudendure_api.models.cloud_endure_cloud import CloudEndureCloud -from cloudendure.cloudendure_api.models.cloud_endure_cloud_credentials import CloudEndureCloudCredentials -from cloudendure.cloudendure_api.models.cloud_endure_cloud_credentials_list import CloudEndureCloudCredentialsList -from cloudendure.cloudendure_api.models.cloud_endure_cloud_credentials_request import CloudEndureCloudCredentialsRequest -from cloudendure.cloudendure_api.models.cloud_endure_clouds_list import CloudEndureCloudsList -from cloudendure.cloudendure_api.models.cloud_endure_compute_location import CloudEndureComputeLocation -from cloudendure.cloudendure_api.models.cloud_endure_configurations import CloudEndureConfigurations -from cloudendure.cloudendure_api.models.cloud_endure_configurations_list import CloudEndureConfigurationsList -from cloudendure.cloudendure_api.models.cloud_endure_error import CloudEndureError -from cloudendure.cloudendure_api.models.cloud_endure_extended_account_info import CloudEndureExtendedAccountInfo -from cloudendure.cloudendure_api.models.cloud_endure_find_files_parameters import CloudEndureFindFilesParameters -from cloudendure.cloudendure_api.models.cloud_endure_find_files_result import CloudEndureFindFilesResult -from cloudendure.cloudendure_api.models.cloud_endure_find_files_result_pit import CloudEndureFindFilesResultPit -from cloudendure.cloudendure_api.models.cloud_endure_find_files_results import CloudEndureFindFilesResults -from cloudendure.cloudendure_api.models.cloud_endure_gcp_machines_finance_data import CloudEndureGcpMachinesFinanceData -from cloudendure.cloudendure_api.models.cloud_endure_identity_provider_redirect_response import ( - CloudEndureIdentityProviderRedirectResponse, -) -from cloudendure.cloudendure_api.models.cloud_endure_initialization_step import CloudEndureInitializationStep -from cloudendure.cloudendure_api.models.cloud_endure_job import CloudEndureJob -from cloudendure.cloudendure_api.models.cloud_endure_jobs_list import CloudEndureJobsList -from cloudendure.cloudendure_api.models.cloud_endure_key_value_list import CloudEndureKeyValueList -from cloudendure.cloudendure_api.models.cloud_endure_launch_machines_parameters import ( - CloudEndureLaunchMachinesParameters, -) -from cloudendure.cloudendure_api.models.cloud_endure_license import CloudEndureLicense -from cloudendure.cloudendure_api.models.cloud_endure_license_features import CloudEndureLicenseFeatures -from cloudendure.cloudendure_api.models.cloud_endure_license_list import CloudEndureLicenseList -from cloudendure.cloudendure_api.models.cloud_endure_list_users_result import CloudEndureListUsersResult -from cloudendure.cloudendure_api.models.cloud_endure_list_users_results import CloudEndureListUsersResults -from cloudendure.cloudendure_api.models.cloud_endure_logical_location import CloudEndureLogicalLocation -from cloudendure.cloudendure_api.models.cloud_endure_machine import CloudEndureMachine -from cloudendure.cloudendure_api.models.cloud_endure_machine_and_path_and_point_in_time import ( - CloudEndureMachineAndPathAndPointInTime, -) -from cloudendure.cloudendure_api.models.cloud_endure_machine_and_point_in_time import CloudEndureMachineAndPointInTime -from cloudendure.cloudendure_api.models.cloud_endure_machine_replication_configuration import ( - CloudEndureMachineReplicationConfiguration, -) -from cloudendure.cloudendure_api.models.cloud_endure_machine_snapshot_credits import CloudEndureMachineSnapshotCredits -from cloudendure.cloudendure_api.models.cloud_endure_machine_throttle_time_seconds import ( - CloudEndureMachineThrottleTimeSeconds, -) -from cloudendure.cloudendure_api.models.cloud_endure_machines_list import CloudEndureMachinesList -from cloudendure.cloudendure_api.models.cloud_endure_machines_list_invalid_i_ds_and_job import ( - CloudEndureMachinesListInvalidIDsAndJob, -) -from cloudendure.cloudendure_api.models.cloud_endure_network_interface import CloudEndureNetworkInterface -from cloudendure.cloudendure_api.models.cloud_endure_point_in_time import CloudEndurePointInTime -from cloudendure.cloudendure_api.models.cloud_endure_point_in_time_list import CloudEndurePointInTimeList -from cloudendure.cloudendure_api.models.cloud_endure_project import CloudEndureProject -from cloudendure.cloudendure_api.models.cloud_endure_project_storage import CloudEndureProjectStorage -from cloudendure.cloudendure_api.models.cloud_endure_projects_and_users import CloudEndureProjectsAndUsers -from cloudendure.cloudendure_api.models.cloud_endure_projects_list import CloudEndureProjectsList -from cloudendure.cloudendure_api.models.cloud_endure_recovery_plan import CloudEndureRecoveryPlan -from cloudendure.cloudendure_api.models.cloud_endure_recovery_plan_list import CloudEndureRecoveryPlanList -from cloudendure.cloudendure_api.models.cloud_endure_recovery_plan_step import CloudEndureRecoveryPlanStep -from cloudendure.cloudendure_api.models.cloud_endure_recovery_plan_steps import CloudEndureRecoveryPlanSteps -from cloudendure.cloudendure_api.models.cloud_endure_region import CloudEndureRegion -from cloudendure.cloudendure_api.models.cloud_endure_regions_list import CloudEndureRegionsList -from cloudendure.cloudendure_api.models.cloud_endure_replica import CloudEndureReplica -from cloudendure.cloudendure_api.models.cloud_endure_replication_configuration import ( - CloudEndureReplicationConfiguration, -) -from cloudendure.cloudendure_api.models.cloud_endure_replication_configuration_list import ( - CloudEndureReplicationConfigurationList, -) -from cloudendure.cloudendure_api.models.cloud_endure_replication_server_config import CloudEndureReplicationServerConfig -from cloudendure.cloudendure_api.models.cloud_endure_restore_files_parameters import CloudEndureRestoreFilesParameters -from cloudendure.cloudendure_api.models.cloud_endure_saml_settings import CloudEndureSamlSettings -from cloudendure.cloudendure_api.models.cloud_endure_security_group import CloudEndureSecurityGroup -from cloudendure.cloudendure_api.models.cloud_endure_storage_location import CloudEndureStorageLocation -from cloudendure.cloudendure_api.models.cloud_endure_subnet import CloudEndureSubnet -from cloudendure.cloudendure_api.models.cloud_endure_time import CloudEndureTime -from cloudendure.cloudendure_api.models.cloud_endure_updateable_scripts import CloudEndureUpdateableScripts -from cloudendure.cloudendure_api.models.cloud_endure_upgrade_counter_delay import CloudEndureUpgradeCounterDelay -from cloudendure.cloudendure_api.models.cloud_endure_usage import CloudEndureUsage -from cloudendure.cloudendure_api.models.cloud_endure_usage_list import CloudEndureUsageList -from cloudendure.cloudendure_api.models.cloud_endure_user import CloudEndureUser -from cloudendure.cloudendure_api.models.cloud_endure_user_report import CloudEndureUserReport -from cloudendure.cloudendure_api.models.cloud_endure_user_reports import CloudEndureUserReports -from cloudendure.cloudendure_api.models.cloud_endure_users_and_roles import CloudEndureUsersAndRoles -from cloudendure.cloudendure_api.models.cloud_endure_users_list import CloudEndureUsersList -from cloudendure.cloudendure_api.models.cloud_endure_v_center_subnet import CloudEndureVCenterSubnet diff --git a/cloudendure/cloudendure_api/models/cloud_endure_account.py b/cloudendure/cloudendure_api/models/cloud_endure_account.py deleted file mode 100644 index 918a2ba3b..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_account.py +++ /dev/null @@ -1,489 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -from cloudendure.cloudendure_api.models.cloud_endure_saml_settings import CloudEndureSamlSettings # noqa: F401,E501 - - -class CloudEndureAccount: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'invite_token_expiry_minutes': 'int', - 'allow_archiving_default_value': 'bool', - 'per_account_user_pool': 'bool', - 'is_gcp_self_service': 'bool', - 'is_dr_trial': 'bool', - 'is_arm_self_service': 'bool', - 'is_aws_self_service': 'bool', - 'saml_settings': 'CloudEndureSamlSettings', - 'is_right_sizing_enabled': 'bool', - 'default_license_type': 'str', - 'max_projects_allowed': 'int', - 'ce_admin_properties': 'object', - 'owner_id': 'str', - 'is_med_one': 'bool', - 'id': 'str' - } - - attribute_map = { - 'invite_token_expiry_minutes': 'inviteTokenExpiryMinutes', - 'allow_archiving_default_value': 'allowArchivingDefaultValue', - 'per_account_user_pool': 'perAccountUserPool', - 'is_gcp_self_service': 'isGcpSelfService', - 'is_dr_trial': 'isDrTrial', - 'is_arm_self_service': 'isArmSelfService', - 'is_aws_self_service': 'isAwsSelfService', - 'saml_settings': 'samlSettings', - 'is_right_sizing_enabled': 'isRightSizingEnabled', - 'default_license_type': 'defaultLicenseType', - 'max_projects_allowed': 'maxProjectsAllowed', - 'ce_admin_properties': 'ceAdminProperties', - 'owner_id': 'ownerId', - 'is_med_one': 'isMedOne', - 'id': 'id' - } - - def __init__(self, invite_token_expiry_minutes=None, allow_archiving_default_value=None, per_account_user_pool=None, is_gcp_self_service=None, is_dr_trial=None, is_arm_self_service=None, is_aws_self_service=None, saml_settings=None, is_right_sizing_enabled=None, default_license_type=None, max_projects_allowed=None, ce_admin_properties=None, owner_id=None, is_med_one=None, id=None): # noqa: E501 - """CloudEndureAccount - a model defined in Swagger""" # noqa: E501 - self._invite_token_expiry_minutes = None - self._allow_archiving_default_value = None - self._per_account_user_pool = None - self._is_gcp_self_service = None - self._is_dr_trial = None - self._is_arm_self_service = None - self._is_aws_self_service = None - self._saml_settings = None - self._is_right_sizing_enabled = None - self._default_license_type = None - self._max_projects_allowed = None - self._ce_admin_properties = None - self._owner_id = None - self._is_med_one = None - self._id = None - self.discriminator = None - if invite_token_expiry_minutes is not None: - self.invite_token_expiry_minutes = invite_token_expiry_minutes - if allow_archiving_default_value is not None: - self.allow_archiving_default_value = allow_archiving_default_value - if per_account_user_pool is not None: - self.per_account_user_pool = per_account_user_pool - if is_gcp_self_service is not None: - self.is_gcp_self_service = is_gcp_self_service - if is_dr_trial is not None: - self.is_dr_trial = is_dr_trial - if is_arm_self_service is not None: - self.is_arm_self_service = is_arm_self_service - if is_aws_self_service is not None: - self.is_aws_self_service = is_aws_self_service - if saml_settings is not None: - self.saml_settings = saml_settings - if is_right_sizing_enabled is not None: - self.is_right_sizing_enabled = is_right_sizing_enabled - if default_license_type is not None: - self.default_license_type = default_license_type - if max_projects_allowed is not None: - self.max_projects_allowed = max_projects_allowed - if ce_admin_properties is not None: - self.ce_admin_properties = ce_admin_properties - if owner_id is not None: - self.owner_id = owner_id - if is_med_one is not None: - self.is_med_one = is_med_one - if id is not None: - self.id = id - - @property - def invite_token_expiry_minutes(self): - """Gets the invite_token_expiry_minutes of this CloudEndureAccount. # noqa: E501 - - - :return: The invite_token_expiry_minutes of this CloudEndureAccount. # noqa: E501 - :rtype: int - """ - return self._invite_token_expiry_minutes - - @invite_token_expiry_minutes.setter - def invite_token_expiry_minutes(self, invite_token_expiry_minutes): - """Sets the invite_token_expiry_minutes of this CloudEndureAccount. - - - :param invite_token_expiry_minutes: The invite_token_expiry_minutes of this CloudEndureAccount. # noqa: E501 - :type: int - """ - - self._invite_token_expiry_minutes = invite_token_expiry_minutes - - @property - def allow_archiving_default_value(self): - """Gets the allow_archiving_default_value of this CloudEndureAccount. # noqa: E501 - - - :return: The allow_archiving_default_value of this CloudEndureAccount. # noqa: E501 - :rtype: bool - """ - return self._allow_archiving_default_value - - @allow_archiving_default_value.setter - def allow_archiving_default_value(self, allow_archiving_default_value): - """Sets the allow_archiving_default_value of this CloudEndureAccount. - - - :param allow_archiving_default_value: The allow_archiving_default_value of this CloudEndureAccount. # noqa: E501 - :type: bool - """ - - self._allow_archiving_default_value = allow_archiving_default_value - - @property - def per_account_user_pool(self): - """Gets the per_account_user_pool of this CloudEndureAccount. # noqa: E501 - - - :return: The per_account_user_pool of this CloudEndureAccount. # noqa: E501 - :rtype: bool - """ - return self._per_account_user_pool - - @per_account_user_pool.setter - def per_account_user_pool(self, per_account_user_pool): - """Sets the per_account_user_pool of this CloudEndureAccount. - - - :param per_account_user_pool: The per_account_user_pool of this CloudEndureAccount. # noqa: E501 - :type: bool - """ - - self._per_account_user_pool = per_account_user_pool - - @property - def is_gcp_self_service(self): - """Gets the is_gcp_self_service of this CloudEndureAccount. # noqa: E501 - - - :return: The is_gcp_self_service of this CloudEndureAccount. # noqa: E501 - :rtype: bool - """ - return self._is_gcp_self_service - - @is_gcp_self_service.setter - def is_gcp_self_service(self, is_gcp_self_service): - """Sets the is_gcp_self_service of this CloudEndureAccount. - - - :param is_gcp_self_service: The is_gcp_self_service of this CloudEndureAccount. # noqa: E501 - :type: bool - """ - - self._is_gcp_self_service = is_gcp_self_service - - @property - def is_dr_trial(self): - """Gets the is_dr_trial of this CloudEndureAccount. # noqa: E501 - - - :return: The is_dr_trial of this CloudEndureAccount. # noqa: E501 - :rtype: bool - """ - return self._is_dr_trial - - @is_dr_trial.setter - def is_dr_trial(self, is_dr_trial): - """Sets the is_dr_trial of this CloudEndureAccount. - - - :param is_dr_trial: The is_dr_trial of this CloudEndureAccount. # noqa: E501 - :type: bool - """ - - self._is_dr_trial = is_dr_trial - - @property - def is_arm_self_service(self): - """Gets the is_arm_self_service of this CloudEndureAccount. # noqa: E501 - - - :return: The is_arm_self_service of this CloudEndureAccount. # noqa: E501 - :rtype: bool - """ - return self._is_arm_self_service - - @is_arm_self_service.setter - def is_arm_self_service(self, is_arm_self_service): - """Sets the is_arm_self_service of this CloudEndureAccount. - - - :param is_arm_self_service: The is_arm_self_service of this CloudEndureAccount. # noqa: E501 - :type: bool - """ - - self._is_arm_self_service = is_arm_self_service - - @property - def is_aws_self_service(self): - """Gets the is_aws_self_service of this CloudEndureAccount. # noqa: E501 - - - :return: The is_aws_self_service of this CloudEndureAccount. # noqa: E501 - :rtype: bool - """ - return self._is_aws_self_service - - @is_aws_self_service.setter - def is_aws_self_service(self, is_aws_self_service): - """Sets the is_aws_self_service of this CloudEndureAccount. - - - :param is_aws_self_service: The is_aws_self_service of this CloudEndureAccount. # noqa: E501 - :type: bool - """ - - self._is_aws_self_service = is_aws_self_service - - @property - def saml_settings(self): - """Gets the saml_settings of this CloudEndureAccount. # noqa: E501 - - - :return: The saml_settings of this CloudEndureAccount. # noqa: E501 - :rtype: CloudEndureSamlSettings - """ - return self._saml_settings - - @saml_settings.setter - def saml_settings(self, saml_settings): - """Sets the saml_settings of this CloudEndureAccount. - - - :param saml_settings: The saml_settings of this CloudEndureAccount. # noqa: E501 - :type: CloudEndureSamlSettings - """ - - self._saml_settings = saml_settings - - @property - def is_right_sizing_enabled(self): - """Gets the is_right_sizing_enabled of this CloudEndureAccount. # noqa: E501 - - - :return: The is_right_sizing_enabled of this CloudEndureAccount. # noqa: E501 - :rtype: bool - """ - return self._is_right_sizing_enabled - - @is_right_sizing_enabled.setter - def is_right_sizing_enabled(self, is_right_sizing_enabled): - """Sets the is_right_sizing_enabled of this CloudEndureAccount. - - - :param is_right_sizing_enabled: The is_right_sizing_enabled of this CloudEndureAccount. # noqa: E501 - :type: bool - """ - - self._is_right_sizing_enabled = is_right_sizing_enabled - - @property - def default_license_type(self): - """Gets the default_license_type of this CloudEndureAccount. # noqa: E501 - - - :return: The default_license_type of this CloudEndureAccount. # noqa: E501 - :rtype: str - """ - return self._default_license_type - - @default_license_type.setter - def default_license_type(self, default_license_type): - """Sets the default_license_type of this CloudEndureAccount. - - - :param default_license_type: The default_license_type of this CloudEndureAccount. # noqa: E501 - :type: str - """ - allowed_values = ["MIGRATION", "DR", "DR_TRIAL", "BACKUP"] # noqa: E501 - if default_license_type not in allowed_values: - raise ValueError( - "Invalid value for `default_license_type` ({0}), must be one of {1}" # noqa: E501 - .format(default_license_type, allowed_values) - ) - - self._default_license_type = default_license_type - - @property - def max_projects_allowed(self): - """Gets the max_projects_allowed of this CloudEndureAccount. # noqa: E501 - - - :return: The max_projects_allowed of this CloudEndureAccount. # noqa: E501 - :rtype: int - """ - return self._max_projects_allowed - - @max_projects_allowed.setter - def max_projects_allowed(self, max_projects_allowed): - """Sets the max_projects_allowed of this CloudEndureAccount. - - - :param max_projects_allowed: The max_projects_allowed of this CloudEndureAccount. # noqa: E501 - :type: int - """ - - self._max_projects_allowed = max_projects_allowed - - @property - def ce_admin_properties(self): - """Gets the ce_admin_properties of this CloudEndureAccount. # noqa: E501 - - For internal use. # noqa: E501 - - :return: The ce_admin_properties of this CloudEndureAccount. # noqa: E501 - :rtype: object - """ - return self._ce_admin_properties - - @ce_admin_properties.setter - def ce_admin_properties(self, ce_admin_properties): - """Sets the ce_admin_properties of this CloudEndureAccount. - - For internal use. # noqa: E501 - - :param ce_admin_properties: The ce_admin_properties of this CloudEndureAccount. # noqa: E501 - :type: object - """ - - self._ce_admin_properties = ce_admin_properties - - @property - def owner_id(self): - """Gets the owner_id of this CloudEndureAccount. # noqa: E501 - - Account Owner (a User) # noqa: E501 - - :return: The owner_id of this CloudEndureAccount. # noqa: E501 - :rtype: str - """ - return self._owner_id - - @owner_id.setter - def owner_id(self, owner_id): - """Sets the owner_id of this CloudEndureAccount. - - Account Owner (a User) # noqa: E501 - - :param owner_id: The owner_id of this CloudEndureAccount. # noqa: E501 - :type: str - """ - - self._owner_id = owner_id - - @property - def is_med_one(self): - """Gets the is_med_one of this CloudEndureAccount. # noqa: E501 - - - :return: The is_med_one of this CloudEndureAccount. # noqa: E501 - :rtype: bool - """ - return self._is_med_one - - @is_med_one.setter - def is_med_one(self, is_med_one): - """Sets the is_med_one of this CloudEndureAccount. - - - :param is_med_one: The is_med_one of this CloudEndureAccount. # noqa: E501 - :type: bool - """ - - self._is_med_one = is_med_one - - @property - def id(self): - """Gets the id of this CloudEndureAccount. # noqa: E501 - - UUID of the account # noqa: E501 - - :return: The id of this CloudEndureAccount. # noqa: E501 - :rtype: str - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this CloudEndureAccount. - - UUID of the account # noqa: E501 - - :param id: The id of this CloudEndureAccount. # noqa: E501 - :type: str - """ - - self._id = id - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureAccount, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureAccount): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_account_request.py b/cloudendure/cloudendure_api/models/cloud_endure_account_request.py deleted file mode 100644 index a1e3fc083..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_account_request.py +++ /dev/null @@ -1,221 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - - -class CloudEndureAccountRequest: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'id': 'str', - 'request_type': 'str', - 'email': 'str', - 'request_link': 'str', - 'registration_token': 'str' - } - - attribute_map = { - 'id': 'id', - 'request_type': 'request_type', - 'email': 'email', - 'request_link': 'request_link', - 'registration_token': 'registration_token' - } - - def __init__(self, id=None, request_type=None, email=None, request_link=None, registration_token=None): # noqa: E501 - """CloudEndureAccountRequest - a model defined in Swagger""" # noqa: E501 - self._id = None - self._request_type = None - self._email = None - self._request_link = None - self._registration_token = None - self.discriminator = None - if id is not None: - self.id = id - if request_type is not None: - self.request_type = request_type - if email is not None: - self.email = email - if request_link is not None: - self.request_link = request_link - if registration_token is not None: - self.registration_token = registration_token - - @property - def id(self): - """Gets the id of this CloudEndureAccountRequest. # noqa: E501 - - - :return: The id of this CloudEndureAccountRequest. # noqa: E501 - :rtype: str - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this CloudEndureAccountRequest. - - - :param id: The id of this CloudEndureAccountRequest. # noqa: E501 - :type: str - """ - - self._id = id - - @property - def request_type(self): - """Gets the request_type of this CloudEndureAccountRequest. # noqa: E501 - - - :return: The request_type of this CloudEndureAccountRequest. # noqa: E501 - :rtype: str - """ - return self._request_type - - @request_type.setter - def request_type(self, request_type): - """Sets the request_type of this CloudEndureAccountRequest. - - - :param request_type: The request_type of this CloudEndureAccountRequest. # noqa: E501 - :type: str - """ - allowed_values = ["REGISTER", "RESET_PASSWORD"] # noqa: E501 - if request_type not in allowed_values: - raise ValueError( - "Invalid value for `request_type` ({0}), must be one of {1}" # noqa: E501 - .format(request_type, allowed_values) - ) - - self._request_type = request_type - - @property - def email(self): - """Gets the email of this CloudEndureAccountRequest. # noqa: E501 - - - :return: The email of this CloudEndureAccountRequest. # noqa: E501 - :rtype: str - """ - return self._email - - @email.setter - def email(self, email): - """Sets the email of this CloudEndureAccountRequest. - - - :param email: The email of this CloudEndureAccountRequest. # noqa: E501 - :type: str - """ - - self._email = email - - @property - def request_link(self): - """Gets the request_link of this CloudEndureAccountRequest. # noqa: E501 - - - :return: The request_link of this CloudEndureAccountRequest. # noqa: E501 - :rtype: str - """ - return self._request_link - - @request_link.setter - def request_link(self, request_link): - """Sets the request_link of this CloudEndureAccountRequest. - - - :param request_link: The request_link of this CloudEndureAccountRequest. # noqa: E501 - :type: str - """ - - self._request_link = request_link - - @property - def registration_token(self): - """Gets the registration_token of this CloudEndureAccountRequest. # noqa: E501 - - - :return: The registration_token of this CloudEndureAccountRequest. # noqa: E501 - :rtype: str - """ - return self._registration_token - - @registration_token.setter - def registration_token(self, registration_token): - """Sets the registration_token of this CloudEndureAccountRequest. - - - :param registration_token: The registration_token of this CloudEndureAccountRequest. # noqa: E501 - :type: str - """ - - self._registration_token = registration_token - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureAccountRequest, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureAccountRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_account_request_list.py b/cloudendure/cloudendure_api/models/cloud_endure_account_request_list.py deleted file mode 100644 index 2904608ca..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_account_request_list.py +++ /dev/null @@ -1,102 +0,0 @@ -# coding: utf-8 -import pprint -import re # noqa: F401 - -import six - -from cloudendure.cloudendure_api.models.cloud_endure_account_request import CloudEndureAccountRequest # noqa: F401,E501 - - -class CloudEndureAccountRequestList: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'items': 'list[CloudEndureAccountRequest]' - } - - attribute_map = { - 'items': 'items' - } - - def __init__(self, items=None): # noqa: E501 - """CloudEndureAccountRequestList - a model defined in Swagger.""" # noqa: E501 - self._items = None - self.discriminator = None - if items is not None: - self.items = items - - @property - def items(self): - """Gets the items of this CloudEndureAccountRequestList. # noqa: E501 - - - :return: The items of this CloudEndureAccountRequestList. # noqa: E501 - :rtype: list[CloudEndureAccountRequest] - """ - return self._items - - @items.setter - def items(self, items): - """Set the items of this CloudEndureAccountRequestList. - - - :param items: The items of this CloudEndureAccountRequestList. # noqa: E501 - :type: list[CloudEndureAccountRequest] - """ - - self._items = items - - def to_dict(self): - """Return the model properties as a dict.""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureAccountRequestList, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureAccountRequestList): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_accounts_list.py b/cloudendure/cloudendure_api/models/cloud_endure_accounts_list.py deleted file mode 100644 index fbc2df655..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_accounts_list.py +++ /dev/null @@ -1,113 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -from cloudendure.cloudendure_api.models.cloud_endure_account import CloudEndureAccount # noqa: F401,E501 - - -class CloudEndureAccountsList: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'items': 'list[CloudEndureAccount]' - } - - attribute_map = { - 'items': 'items' - } - - def __init__(self, items=None): # noqa: E501 - """CloudEndureAccountsList - a model defined in Swagger""" # noqa: E501 - self._items = None - self.discriminator = None - if items is not None: - self.items = items - - @property - def items(self): - """Gets the items of this CloudEndureAccountsList. # noqa: E501 - - - :return: The items of this CloudEndureAccountsList. # noqa: E501 - :rtype: list[CloudEndureAccount] - """ - return self._items - - @items.setter - def items(self, items): - """Sets the items of this CloudEndureAccountsList. - - - :param items: The items of this CloudEndureAccountsList. # noqa: E501 - :type: list[CloudEndureAccount] - """ - - self._items = items - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureAccountsList, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureAccountsList): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_agent_next_replication_init_request.py b/cloudendure/cloudendure_api/models/cloud_endure_agent_next_replication_init_request.py deleted file mode 100644 index f50ab8ef0..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_agent_next_replication_init_request.py +++ /dev/null @@ -1,111 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - - -class CloudEndureAgentNextReplicationInitRequest: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'duration_from_now': 'str' - } - - attribute_map = { - 'duration_from_now': 'durationFromNow' - } - - def __init__(self, duration_from_now=None): # noqa: E501 - """CloudEndureAgentNextReplicationInitRequest - a model defined in Swagger""" # noqa: E501 - self._duration_from_now = None - self.discriminator = None - if duration_from_now is not None: - self.duration_from_now = duration_from_now - - @property - def duration_from_now(self): - """Gets the duration_from_now of this CloudEndureAgentNextReplicationInitRequest. # noqa: E501 - - - :return: The duration_from_now of this CloudEndureAgentNextReplicationInitRequest. # noqa: E501 - :rtype: str - """ - return self._duration_from_now - - @duration_from_now.setter - def duration_from_now(self, duration_from_now): - """Sets the duration_from_now of this CloudEndureAgentNextReplicationInitRequest. - - - :param duration_from_now: The duration_from_now of this CloudEndureAgentNextReplicationInitRequest. # noqa: E501 - :type: str - """ - - self._duration_from_now = duration_from_now - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureAgentNextReplicationInitRequest, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureAgentNextReplicationInitRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_all_project_features.py b/cloudendure/cloudendure_api/models/cloud_endure_all_project_features.py deleted file mode 100644 index 6bedf4d55..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_all_project_features.py +++ /dev/null @@ -1,919 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - - -class CloudEndureAllProjectFeatures: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'google': 'bool', - 'is_demo': 'bool', - 'windows_converters': 'bool', - 'force_reversed_handshake_direction': 'bool', - 'no_converters': 'bool', - 'vio': 'bool', - 'no_cloud': 'bool', - 'consistent_snapshot_creation_interval_min': 'int', - 'no_public_ips': 'bool', - 'daily_pit_number': 'int', - 'mtu_size': 'int', - 'allow_byol_on_dedicated_instance': 'bool', - 'max_converter_volumes': 'int', - 'azurearm': 'bool', - 'vcenter': 'bool', - 'subnet_filter': 'str', - 'no_snapshot_considered_lag_milliseconds': 'int', - 'no_converters_windows': 'bool', - 'disable_replica_creation': 'bool', - 'aws': 'bool', - 'max_replicator_volumes': 'int', - 'allow_recovery_plans': 'bool', - 'snapshot_creation_interval_min': 'int', - 'snapshot_on_demand_timeout': 'int', - 'allow_archiving': 'bool', - 'custom_replicator_instance_type': 'str', - 'disable_snapshot_on_demand': 'bool', - 'disable_install': 'bool', - 'hdd': 'bool', - 'snapshot_creation_interval_max': 'int', - 'ce_admin_properties': 'object', - 'azure': 'bool' - } - - attribute_map = { - 'google': 'google', - 'is_demo': 'is_demo', - 'windows_converters': 'windows_converters', - 'force_reversed_handshake_direction': 'force_reversed_handshake_direction', - 'no_converters': 'no_converters', - 'vio': 'vio', - 'no_cloud': 'no_cloud', - 'consistent_snapshot_creation_interval_min': 'consistent_snapshot_creation_interval_min', - 'no_public_ips': 'no_public_ips', - 'daily_pit_number': 'daily_pit_number', - 'mtu_size': 'mtu_size', - 'allow_byol_on_dedicated_instance': 'allow_byol_on_dedicated_instance', - 'max_converter_volumes': 'max_converter_volumes', - 'azurearm': 'azurearm', - 'vcenter': 'vcenter', - 'subnet_filter': 'subnet_filter', - 'no_snapshot_considered_lag_milliseconds': 'no_snapshot_considered_lag_milliseconds', - 'no_converters_windows': 'no_converters_windows', - 'disable_replica_creation': 'disable_replica_creation', - 'aws': 'aws', - 'max_replicator_volumes': 'max_replicator_volumes', - 'allow_recovery_plans': 'allow_recovery_plans', - 'snapshot_creation_interval_min': 'snapshot_creation_interval_min', - 'snapshot_on_demand_timeout': 'snapshot_on_demand_timeout', - 'allow_archiving': 'allow_archiving', - 'custom_replicator_instance_type': 'custom_replicator_instance_type', - 'disable_snapshot_on_demand': 'disable_snapshot_on_demand', - 'disable_install': 'disable_install', - 'hdd': 'hdd', - 'snapshot_creation_interval_max': 'snapshot_creation_interval_max', - 'ce_admin_properties': 'ceAdminProperties', - 'azure': 'azure' - } - - def __init__(self, google=None, is_demo=None, windows_converters=None, force_reversed_handshake_direction=None, no_converters=None, vio=None, no_cloud=None, consistent_snapshot_creation_interval_min=None, no_public_ips=None, daily_pit_number=None, mtu_size=None, allow_byol_on_dedicated_instance=None, max_converter_volumes=None, azurearm=None, vcenter=None, subnet_filter=None, no_snapshot_considered_lag_milliseconds=None, no_converters_windows=None, disable_replica_creation=None, aws=None, max_replicator_volumes=None, allow_recovery_plans=None, snapshot_creation_interval_min=None, snapshot_on_demand_timeout=None, allow_archiving=None, custom_replicator_instance_type=None, disable_snapshot_on_demand=None, disable_install=None, hdd=None, snapshot_creation_interval_max=None, ce_admin_properties=None, azure=None): # noqa: E501 - """CloudEndureAllProjectFeatures - a model defined in Swagger""" # noqa: E501 - self._google = None - self._is_demo = None - self._windows_converters = None - self._force_reversed_handshake_direction = None - self._no_converters = None - self._vio = None - self._no_cloud = None - self._consistent_snapshot_creation_interval_min = None - self._no_public_ips = None - self._daily_pit_number = None - self._mtu_size = None - self._allow_byol_on_dedicated_instance = None - self._max_converter_volumes = None - self._azurearm = None - self._vcenter = None - self._subnet_filter = None - self._no_snapshot_considered_lag_milliseconds = None - self._no_converters_windows = None - self._disable_replica_creation = None - self._aws = None - self._max_replicator_volumes = None - self._allow_recovery_plans = None - self._snapshot_creation_interval_min = None - self._snapshot_on_demand_timeout = None - self._allow_archiving = None - self._custom_replicator_instance_type = None - self._disable_snapshot_on_demand = None - self._disable_install = None - self._hdd = None - self._snapshot_creation_interval_max = None - self._ce_admin_properties = None - self._azure = None - self.discriminator = None - if google is not None: - self.google = google - if is_demo is not None: - self.is_demo = is_demo - if windows_converters is not None: - self.windows_converters = windows_converters - if force_reversed_handshake_direction is not None: - self.force_reversed_handshake_direction = force_reversed_handshake_direction - if no_converters is not None: - self.no_converters = no_converters - if vio is not None: - self.vio = vio - if no_cloud is not None: - self.no_cloud = no_cloud - if consistent_snapshot_creation_interval_min is not None: - self.consistent_snapshot_creation_interval_min = consistent_snapshot_creation_interval_min - if no_public_ips is not None: - self.no_public_ips = no_public_ips - if daily_pit_number is not None: - self.daily_pit_number = daily_pit_number - if mtu_size is not None: - self.mtu_size = mtu_size - if allow_byol_on_dedicated_instance is not None: - self.allow_byol_on_dedicated_instance = allow_byol_on_dedicated_instance - if max_converter_volumes is not None: - self.max_converter_volumes = max_converter_volumes - if azurearm is not None: - self.azurearm = azurearm - if vcenter is not None: - self.vcenter = vcenter - if subnet_filter is not None: - self.subnet_filter = subnet_filter - if no_snapshot_considered_lag_milliseconds is not None: - self.no_snapshot_considered_lag_milliseconds = no_snapshot_considered_lag_milliseconds - if no_converters_windows is not None: - self.no_converters_windows = no_converters_windows - if disable_replica_creation is not None: - self.disable_replica_creation = disable_replica_creation - if aws is not None: - self.aws = aws - if max_replicator_volumes is not None: - self.max_replicator_volumes = max_replicator_volumes - if allow_recovery_plans is not None: - self.allow_recovery_plans = allow_recovery_plans - if snapshot_creation_interval_min is not None: - self.snapshot_creation_interval_min = snapshot_creation_interval_min - if snapshot_on_demand_timeout is not None: - self.snapshot_on_demand_timeout = snapshot_on_demand_timeout - if allow_archiving is not None: - self.allow_archiving = allow_archiving - if custom_replicator_instance_type is not None: - self.custom_replicator_instance_type = custom_replicator_instance_type - if disable_snapshot_on_demand is not None: - self.disable_snapshot_on_demand = disable_snapshot_on_demand - if disable_install is not None: - self.disable_install = disable_install - if hdd is not None: - self.hdd = hdd - if snapshot_creation_interval_max is not None: - self.snapshot_creation_interval_max = snapshot_creation_interval_max - if ce_admin_properties is not None: - self.ce_admin_properties = ce_admin_properties - if azure is not None: - self.azure = azure - - @property - def google(self): - """Gets the google of this CloudEndureAllProjectFeatures. # noqa: E501 - - - :return: The google of this CloudEndureAllProjectFeatures. # noqa: E501 - :rtype: bool - """ - return self._google - - @google.setter - def google(self, google): - """Sets the google of this CloudEndureAllProjectFeatures. - - - :param google: The google of this CloudEndureAllProjectFeatures. # noqa: E501 - :type: bool - """ - - self._google = google - - @property - def is_demo(self): - """Gets the is_demo of this CloudEndureAllProjectFeatures. # noqa: E501 - - - :return: The is_demo of this CloudEndureAllProjectFeatures. # noqa: E501 - :rtype: bool - """ - return self._is_demo - - @is_demo.setter - def is_demo(self, is_demo): - """Sets the is_demo of this CloudEndureAllProjectFeatures. - - - :param is_demo: The is_demo of this CloudEndureAllProjectFeatures. # noqa: E501 - :type: bool - """ - - self._is_demo = is_demo - - @property - def windows_converters(self): - """Gets the windows_converters of this CloudEndureAllProjectFeatures. # noqa: E501 - - - :return: The windows_converters of this CloudEndureAllProjectFeatures. # noqa: E501 - :rtype: bool - """ - return self._windows_converters - - @windows_converters.setter - def windows_converters(self, windows_converters): - """Sets the windows_converters of this CloudEndureAllProjectFeatures. - - - :param windows_converters: The windows_converters of this CloudEndureAllProjectFeatures. # noqa: E501 - :type: bool - """ - - self._windows_converters = windows_converters - - @property - def force_reversed_handshake_direction(self): - """Gets the force_reversed_handshake_direction of this CloudEndureAllProjectFeatures. # noqa: E501 - - - :return: The force_reversed_handshake_direction of this CloudEndureAllProjectFeatures. # noqa: E501 - :rtype: bool - """ - return self._force_reversed_handshake_direction - - @force_reversed_handshake_direction.setter - def force_reversed_handshake_direction(self, force_reversed_handshake_direction): - """Sets the force_reversed_handshake_direction of this CloudEndureAllProjectFeatures. - - - :param force_reversed_handshake_direction: The force_reversed_handshake_direction of this CloudEndureAllProjectFeatures. # noqa: E501 - :type: bool - """ - - self._force_reversed_handshake_direction = force_reversed_handshake_direction - - @property - def no_converters(self): - """Gets the no_converters of this CloudEndureAllProjectFeatures. # noqa: E501 - - - :return: The no_converters of this CloudEndureAllProjectFeatures. # noqa: E501 - :rtype: bool - """ - return self._no_converters - - @no_converters.setter - def no_converters(self, no_converters): - """Sets the no_converters of this CloudEndureAllProjectFeatures. - - - :param no_converters: The no_converters of this CloudEndureAllProjectFeatures. # noqa: E501 - :type: bool - """ - - self._no_converters = no_converters - - @property - def vio(self): - """Gets the vio of this CloudEndureAllProjectFeatures. # noqa: E501 - - - :return: The vio of this CloudEndureAllProjectFeatures. # noqa: E501 - :rtype: bool - """ - return self._vio - - @vio.setter - def vio(self, vio): - """Sets the vio of this CloudEndureAllProjectFeatures. - - - :param vio: The vio of this CloudEndureAllProjectFeatures. # noqa: E501 - :type: bool - """ - - self._vio = vio - - @property - def no_cloud(self): - """Gets the no_cloud of this CloudEndureAllProjectFeatures. # noqa: E501 - - - :return: The no_cloud of this CloudEndureAllProjectFeatures. # noqa: E501 - :rtype: bool - """ - return self._no_cloud - - @no_cloud.setter - def no_cloud(self, no_cloud): - """Sets the no_cloud of this CloudEndureAllProjectFeatures. - - - :param no_cloud: The no_cloud of this CloudEndureAllProjectFeatures. # noqa: E501 - :type: bool - """ - - self._no_cloud = no_cloud - - @property - def consistent_snapshot_creation_interval_min(self): - """Gets the consistent_snapshot_creation_interval_min of this CloudEndureAllProjectFeatures. # noqa: E501 - - - :return: The consistent_snapshot_creation_interval_min of this CloudEndureAllProjectFeatures. # noqa: E501 - :rtype: int - """ - return self._consistent_snapshot_creation_interval_min - - @consistent_snapshot_creation_interval_min.setter - def consistent_snapshot_creation_interval_min(self, consistent_snapshot_creation_interval_min): - """Sets the consistent_snapshot_creation_interval_min of this CloudEndureAllProjectFeatures. - - - :param consistent_snapshot_creation_interval_min: The consistent_snapshot_creation_interval_min of this CloudEndureAllProjectFeatures. # noqa: E501 - :type: int - """ - - self._consistent_snapshot_creation_interval_min = consistent_snapshot_creation_interval_min - - @property - def no_public_ips(self): - """Gets the no_public_ips of this CloudEndureAllProjectFeatures. # noqa: E501 - - - :return: The no_public_ips of this CloudEndureAllProjectFeatures. # noqa: E501 - :rtype: bool - """ - return self._no_public_ips - - @no_public_ips.setter - def no_public_ips(self, no_public_ips): - """Sets the no_public_ips of this CloudEndureAllProjectFeatures. - - - :param no_public_ips: The no_public_ips of this CloudEndureAllProjectFeatures. # noqa: E501 - :type: bool - """ - - self._no_public_ips = no_public_ips - - @property - def daily_pit_number(self): - """Gets the daily_pit_number of this CloudEndureAllProjectFeatures. # noqa: E501 - - - :return: The daily_pit_number of this CloudEndureAllProjectFeatures. # noqa: E501 - :rtype: int - """ - return self._daily_pit_number - - @daily_pit_number.setter - def daily_pit_number(self, daily_pit_number): - """Sets the daily_pit_number of this CloudEndureAllProjectFeatures. - - - :param daily_pit_number: The daily_pit_number of this CloudEndureAllProjectFeatures. # noqa: E501 - :type: int - """ - - self._daily_pit_number = daily_pit_number - - @property - def mtu_size(self): - """Gets the mtu_size of this CloudEndureAllProjectFeatures. # noqa: E501 - - - :return: The mtu_size of this CloudEndureAllProjectFeatures. # noqa: E501 - :rtype: int - """ - return self._mtu_size - - @mtu_size.setter - def mtu_size(self, mtu_size): - """Sets the mtu_size of this CloudEndureAllProjectFeatures. - - - :param mtu_size: The mtu_size of this CloudEndureAllProjectFeatures. # noqa: E501 - :type: int - """ - - self._mtu_size = mtu_size - - @property - def allow_byol_on_dedicated_instance(self): - """Gets the allow_byol_on_dedicated_instance of this CloudEndureAllProjectFeatures. # noqa: E501 - - - :return: The allow_byol_on_dedicated_instance of this CloudEndureAllProjectFeatures. # noqa: E501 - :rtype: bool - """ - return self._allow_byol_on_dedicated_instance - - @allow_byol_on_dedicated_instance.setter - def allow_byol_on_dedicated_instance(self, allow_byol_on_dedicated_instance): - """Sets the allow_byol_on_dedicated_instance of this CloudEndureAllProjectFeatures. - - - :param allow_byol_on_dedicated_instance: The allow_byol_on_dedicated_instance of this CloudEndureAllProjectFeatures. # noqa: E501 - :type: bool - """ - - self._allow_byol_on_dedicated_instance = allow_byol_on_dedicated_instance - - @property - def max_converter_volumes(self): - """Gets the max_converter_volumes of this CloudEndureAllProjectFeatures. # noqa: E501 - - - :return: The max_converter_volumes of this CloudEndureAllProjectFeatures. # noqa: E501 - :rtype: int - """ - return self._max_converter_volumes - - @max_converter_volumes.setter - def max_converter_volumes(self, max_converter_volumes): - """Sets the max_converter_volumes of this CloudEndureAllProjectFeatures. - - - :param max_converter_volumes: The max_converter_volumes of this CloudEndureAllProjectFeatures. # noqa: E501 - :type: int - """ - - self._max_converter_volumes = max_converter_volumes - - @property - def azurearm(self): - """Gets the azurearm of this CloudEndureAllProjectFeatures. # noqa: E501 - - - :return: The azurearm of this CloudEndureAllProjectFeatures. # noqa: E501 - :rtype: bool - """ - return self._azurearm - - @azurearm.setter - def azurearm(self, azurearm): - """Sets the azurearm of this CloudEndureAllProjectFeatures. - - - :param azurearm: The azurearm of this CloudEndureAllProjectFeatures. # noqa: E501 - :type: bool - """ - - self._azurearm = azurearm - - @property - def vcenter(self): - """Gets the vcenter of this CloudEndureAllProjectFeatures. # noqa: E501 - - - :return: The vcenter of this CloudEndureAllProjectFeatures. # noqa: E501 - :rtype: bool - """ - return self._vcenter - - @vcenter.setter - def vcenter(self, vcenter): - """Sets the vcenter of this CloudEndureAllProjectFeatures. - - - :param vcenter: The vcenter of this CloudEndureAllProjectFeatures. # noqa: E501 - :type: bool - """ - - self._vcenter = vcenter - - @property - def subnet_filter(self): - """Gets the subnet_filter of this CloudEndureAllProjectFeatures. # noqa: E501 - - - :return: The subnet_filter of this CloudEndureAllProjectFeatures. # noqa: E501 - :rtype: str - """ - return self._subnet_filter - - @subnet_filter.setter - def subnet_filter(self, subnet_filter): - """Sets the subnet_filter of this CloudEndureAllProjectFeatures. - - - :param subnet_filter: The subnet_filter of this CloudEndureAllProjectFeatures. # noqa: E501 - :type: str - """ - - self._subnet_filter = subnet_filter - - @property - def no_snapshot_considered_lag_milliseconds(self): - """Gets the no_snapshot_considered_lag_milliseconds of this CloudEndureAllProjectFeatures. # noqa: E501 - - - :return: The no_snapshot_considered_lag_milliseconds of this CloudEndureAllProjectFeatures. # noqa: E501 - :rtype: int - """ - return self._no_snapshot_considered_lag_milliseconds - - @no_snapshot_considered_lag_milliseconds.setter - def no_snapshot_considered_lag_milliseconds(self, no_snapshot_considered_lag_milliseconds): - """Sets the no_snapshot_considered_lag_milliseconds of this CloudEndureAllProjectFeatures. - - - :param no_snapshot_considered_lag_milliseconds: The no_snapshot_considered_lag_milliseconds of this CloudEndureAllProjectFeatures. # noqa: E501 - :type: int - """ - - self._no_snapshot_considered_lag_milliseconds = no_snapshot_considered_lag_milliseconds - - @property - def no_converters_windows(self): - """Gets the no_converters_windows of this CloudEndureAllProjectFeatures. # noqa: E501 - - - :return: The no_converters_windows of this CloudEndureAllProjectFeatures. # noqa: E501 - :rtype: bool - """ - return self._no_converters_windows - - @no_converters_windows.setter - def no_converters_windows(self, no_converters_windows): - """Sets the no_converters_windows of this CloudEndureAllProjectFeatures. - - - :param no_converters_windows: The no_converters_windows of this CloudEndureAllProjectFeatures. # noqa: E501 - :type: bool - """ - - self._no_converters_windows = no_converters_windows - - @property - def disable_replica_creation(self): - """Gets the disable_replica_creation of this CloudEndureAllProjectFeatures. # noqa: E501 - - - :return: The disable_replica_creation of this CloudEndureAllProjectFeatures. # noqa: E501 - :rtype: bool - """ - return self._disable_replica_creation - - @disable_replica_creation.setter - def disable_replica_creation(self, disable_replica_creation): - """Sets the disable_replica_creation of this CloudEndureAllProjectFeatures. - - - :param disable_replica_creation: The disable_replica_creation of this CloudEndureAllProjectFeatures. # noqa: E501 - :type: bool - """ - - self._disable_replica_creation = disable_replica_creation - - @property - def aws(self): - """Gets the aws of this CloudEndureAllProjectFeatures. # noqa: E501 - - - :return: The aws of this CloudEndureAllProjectFeatures. # noqa: E501 - :rtype: bool - """ - return self._aws - - @aws.setter - def aws(self, aws): - """Sets the aws of this CloudEndureAllProjectFeatures. - - - :param aws: The aws of this CloudEndureAllProjectFeatures. # noqa: E501 - :type: bool - """ - - self._aws = aws - - @property - def max_replicator_volumes(self): - """Gets the max_replicator_volumes of this CloudEndureAllProjectFeatures. # noqa: E501 - - - :return: The max_replicator_volumes of this CloudEndureAllProjectFeatures. # noqa: E501 - :rtype: int - """ - return self._max_replicator_volumes - - @max_replicator_volumes.setter - def max_replicator_volumes(self, max_replicator_volumes): - """Sets the max_replicator_volumes of this CloudEndureAllProjectFeatures. - - - :param max_replicator_volumes: The max_replicator_volumes of this CloudEndureAllProjectFeatures. # noqa: E501 - :type: int - """ - - self._max_replicator_volumes = max_replicator_volumes - - @property - def allow_recovery_plans(self): - """Gets the allow_recovery_plans of this CloudEndureAllProjectFeatures. # noqa: E501 - - - :return: The allow_recovery_plans of this CloudEndureAllProjectFeatures. # noqa: E501 - :rtype: bool - """ - return self._allow_recovery_plans - - @allow_recovery_plans.setter - def allow_recovery_plans(self, allow_recovery_plans): - """Sets the allow_recovery_plans of this CloudEndureAllProjectFeatures. - - - :param allow_recovery_plans: The allow_recovery_plans of this CloudEndureAllProjectFeatures. # noqa: E501 - :type: bool - """ - - self._allow_recovery_plans = allow_recovery_plans - - @property - def snapshot_creation_interval_min(self): - """Gets the snapshot_creation_interval_min of this CloudEndureAllProjectFeatures. # noqa: E501 - - - :return: The snapshot_creation_interval_min of this CloudEndureAllProjectFeatures. # noqa: E501 - :rtype: int - """ - return self._snapshot_creation_interval_min - - @snapshot_creation_interval_min.setter - def snapshot_creation_interval_min(self, snapshot_creation_interval_min): - """Sets the snapshot_creation_interval_min of this CloudEndureAllProjectFeatures. - - - :param snapshot_creation_interval_min: The snapshot_creation_interval_min of this CloudEndureAllProjectFeatures. # noqa: E501 - :type: int - """ - - self._snapshot_creation_interval_min = snapshot_creation_interval_min - - @property - def snapshot_on_demand_timeout(self): - """Gets the snapshot_on_demand_timeout of this CloudEndureAllProjectFeatures. # noqa: E501 - - - :return: The snapshot_on_demand_timeout of this CloudEndureAllProjectFeatures. # noqa: E501 - :rtype: int - """ - return self._snapshot_on_demand_timeout - - @snapshot_on_demand_timeout.setter - def snapshot_on_demand_timeout(self, snapshot_on_demand_timeout): - """Sets the snapshot_on_demand_timeout of this CloudEndureAllProjectFeatures. - - - :param snapshot_on_demand_timeout: The snapshot_on_demand_timeout of this CloudEndureAllProjectFeatures. # noqa: E501 - :type: int - """ - - self._snapshot_on_demand_timeout = snapshot_on_demand_timeout - - @property - def allow_archiving(self): - """Gets the allow_archiving of this CloudEndureAllProjectFeatures. # noqa: E501 - - - :return: The allow_archiving of this CloudEndureAllProjectFeatures. # noqa: E501 - :rtype: bool - """ - return self._allow_archiving - - @allow_archiving.setter - def allow_archiving(self, allow_archiving): - """Sets the allow_archiving of this CloudEndureAllProjectFeatures. - - - :param allow_archiving: The allow_archiving of this CloudEndureAllProjectFeatures. # noqa: E501 - :type: bool - """ - - self._allow_archiving = allow_archiving - - @property - def custom_replicator_instance_type(self): - """Gets the custom_replicator_instance_type of this CloudEndureAllProjectFeatures. # noqa: E501 - - - :return: The custom_replicator_instance_type of this CloudEndureAllProjectFeatures. # noqa: E501 - :rtype: str - """ - return self._custom_replicator_instance_type - - @custom_replicator_instance_type.setter - def custom_replicator_instance_type(self, custom_replicator_instance_type): - """Sets the custom_replicator_instance_type of this CloudEndureAllProjectFeatures. - - - :param custom_replicator_instance_type: The custom_replicator_instance_type of this CloudEndureAllProjectFeatures. # noqa: E501 - :type: str - """ - - self._custom_replicator_instance_type = custom_replicator_instance_type - - @property - def disable_snapshot_on_demand(self): - """Gets the disable_snapshot_on_demand of this CloudEndureAllProjectFeatures. # noqa: E501 - - - :return: The disable_snapshot_on_demand of this CloudEndureAllProjectFeatures. # noqa: E501 - :rtype: bool - """ - return self._disable_snapshot_on_demand - - @disable_snapshot_on_demand.setter - def disable_snapshot_on_demand(self, disable_snapshot_on_demand): - """Sets the disable_snapshot_on_demand of this CloudEndureAllProjectFeatures. - - - :param disable_snapshot_on_demand: The disable_snapshot_on_demand of this CloudEndureAllProjectFeatures. # noqa: E501 - :type: bool - """ - - self._disable_snapshot_on_demand = disable_snapshot_on_demand - - @property - def disable_install(self): - """Gets the disable_install of this CloudEndureAllProjectFeatures. # noqa: E501 - - - :return: The disable_install of this CloudEndureAllProjectFeatures. # noqa: E501 - :rtype: bool - """ - return self._disable_install - - @disable_install.setter - def disable_install(self, disable_install): - """Sets the disable_install of this CloudEndureAllProjectFeatures. - - - :param disable_install: The disable_install of this CloudEndureAllProjectFeatures. # noqa: E501 - :type: bool - """ - - self._disable_install = disable_install - - @property - def hdd(self): - """Gets the hdd of this CloudEndureAllProjectFeatures. # noqa: E501 - - - :return: The hdd of this CloudEndureAllProjectFeatures. # noqa: E501 - :rtype: bool - """ - return self._hdd - - @hdd.setter - def hdd(self, hdd): - """Sets the hdd of this CloudEndureAllProjectFeatures. - - - :param hdd: The hdd of this CloudEndureAllProjectFeatures. # noqa: E501 - :type: bool - """ - - self._hdd = hdd - - @property - def snapshot_creation_interval_max(self): - """Gets the snapshot_creation_interval_max of this CloudEndureAllProjectFeatures. # noqa: E501 - - - :return: The snapshot_creation_interval_max of this CloudEndureAllProjectFeatures. # noqa: E501 - :rtype: int - """ - return self._snapshot_creation_interval_max - - @snapshot_creation_interval_max.setter - def snapshot_creation_interval_max(self, snapshot_creation_interval_max): - """Sets the snapshot_creation_interval_max of this CloudEndureAllProjectFeatures. - - - :param snapshot_creation_interval_max: The snapshot_creation_interval_max of this CloudEndureAllProjectFeatures. # noqa: E501 - :type: int - """ - - self._snapshot_creation_interval_max = snapshot_creation_interval_max - - @property - def ce_admin_properties(self): - """Gets the ce_admin_properties of this CloudEndureAllProjectFeatures. # noqa: E501 - - For internal use. # noqa: E501 - - :return: The ce_admin_properties of this CloudEndureAllProjectFeatures. # noqa: E501 - :rtype: object - """ - return self._ce_admin_properties - - @ce_admin_properties.setter - def ce_admin_properties(self, ce_admin_properties): - """Sets the ce_admin_properties of this CloudEndureAllProjectFeatures. - - For internal use. # noqa: E501 - - :param ce_admin_properties: The ce_admin_properties of this CloudEndureAllProjectFeatures. # noqa: E501 - :type: object - """ - - self._ce_admin_properties = ce_admin_properties - - @property - def azure(self): - """Gets the azure of this CloudEndureAllProjectFeatures. # noqa: E501 - - - :return: The azure of this CloudEndureAllProjectFeatures. # noqa: E501 - :rtype: bool - """ - return self._azure - - @azure.setter - def azure(self, azure): - """Sets the azure of this CloudEndureAllProjectFeatures. - - - :param azure: The azure of this CloudEndureAllProjectFeatures. # noqa: E501 - :type: bool - """ - - self._azure = azure - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureAllProjectFeatures, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureAllProjectFeatures): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_audit_log.py b/cloudendure/cloudendure_api/models/cloud_endure_audit_log.py deleted file mode 100644 index 19e5b9095..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_audit_log.py +++ /dev/null @@ -1,141 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -from cloudendure.cloudendure_api.models.cloud_endure_audit_log_entry import CloudEndureAuditLogEntry # noqa: F401,E501 - - -class CloudEndureAuditLog: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'items': 'list[CloudEndureAuditLogEntry]', - 'has_more_results': 'bool' - } - - attribute_map = { - 'items': 'items', - 'has_more_results': 'hasMoreResults' - } - - def __init__(self, items=None, has_more_results=None): # noqa: E501 - """CloudEndureAuditLog - a model defined in Swagger""" # noqa: E501 - self._items = None - self._has_more_results = None - self.discriminator = None - if items is not None: - self.items = items - if has_more_results is not None: - self.has_more_results = has_more_results - - @property - def items(self): - """Gets the items of this CloudEndureAuditLog. # noqa: E501 - - - :return: The items of this CloudEndureAuditLog. # noqa: E501 - :rtype: list[CloudEndureAuditLogEntry] - """ - return self._items - - @items.setter - def items(self, items): - """Sets the items of this CloudEndureAuditLog. - - - :param items: The items of this CloudEndureAuditLog. # noqa: E501 - :type: list[CloudEndureAuditLogEntry] - """ - - self._items = items - - @property - def has_more_results(self): - """Gets the has_more_results of this CloudEndureAuditLog. # noqa: E501 - - AuditLog API will only return max 1500 entries so this is a way to know if there are more. # noqa: E501 - - :return: The has_more_results of this CloudEndureAuditLog. # noqa: E501 - :rtype: bool - """ - return self._has_more_results - - @has_more_results.setter - def has_more_results(self, has_more_results): - """Sets the has_more_results of this CloudEndureAuditLog. - - AuditLog API will only return max 1500 entries so this is a way to know if there are more. # noqa: E501 - - :param has_more_results: The has_more_results of this CloudEndureAuditLog. # noqa: E501 - :type: bool - """ - - self._has_more_results = has_more_results - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureAuditLog, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureAuditLog): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_audit_log_changed_field.py b/cloudendure/cloudendure_api/models/cloud_endure_audit_log_changed_field.py deleted file mode 100644 index cf3ef53a8..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_audit_log_changed_field.py +++ /dev/null @@ -1,163 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - - -class CloudEndureAuditLogChangedField: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'field_name': 'str', - 'new_value': 'str', - 'old_value': 'str' - } - - attribute_map = { - 'field_name': 'fieldName', - 'new_value': 'newValue', - 'old_value': 'oldValue' - } - - def __init__(self, field_name=None, new_value=None, old_value=None): # noqa: E501 - """CloudEndureAuditLogChangedField - a model defined in Swagger""" # noqa: E501 - self._field_name = None - self._new_value = None - self._old_value = None - self.discriminator = None - if field_name is not None: - self.field_name = field_name - if new_value is not None: - self.new_value = new_value - if old_value is not None: - self.old_value = old_value - - @property - def field_name(self): - """Gets the field_name of this CloudEndureAuditLogChangedField. # noqa: E501 - - - :return: The field_name of this CloudEndureAuditLogChangedField. # noqa: E501 - :rtype: str - """ - return self._field_name - - @field_name.setter - def field_name(self, field_name): - """Sets the field_name of this CloudEndureAuditLogChangedField. - - - :param field_name: The field_name of this CloudEndureAuditLogChangedField. # noqa: E501 - :type: str - """ - - self._field_name = field_name - - @property - def new_value(self): - """Gets the new_value of this CloudEndureAuditLogChangedField. # noqa: E501 - - - :return: The new_value of this CloudEndureAuditLogChangedField. # noqa: E501 - :rtype: str - """ - return self._new_value - - @new_value.setter - def new_value(self, new_value): - """Sets the new_value of this CloudEndureAuditLogChangedField. - - - :param new_value: The new_value of this CloudEndureAuditLogChangedField. # noqa: E501 - :type: str - """ - - self._new_value = new_value - - @property - def old_value(self): - """Gets the old_value of this CloudEndureAuditLogChangedField. # noqa: E501 - - - :return: The old_value of this CloudEndureAuditLogChangedField. # noqa: E501 - :rtype: str - """ - return self._old_value - - @old_value.setter - def old_value(self, old_value): - """Sets the old_value of this CloudEndureAuditLogChangedField. - - - :param old_value: The old_value of this CloudEndureAuditLogChangedField. # noqa: E501 - :type: str - """ - - self._old_value = old_value - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureAuditLogChangedField, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureAuditLogChangedField): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_audit_log_entry.py b/cloudendure/cloudendure_api/models/cloud_endure_audit_log_entry.py deleted file mode 100644 index 0180a1752..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_audit_log_entry.py +++ /dev/null @@ -1,284 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -from cloudendure.cloudendure_api.models.cloud_endure_audit_log_changed_field import \ - CloudEndureAuditLogChangedField # noqa: F401,E501 - - -class CloudEndureAuditLogEntry: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'username': 'str', - 'event_name': 'str', - 'participating_machines': 'list[object]', - 'description': 'str', - 'changed_fields': 'list[CloudEndureAuditLogChangedField]', - 'timestamp': 'datetime', - 'job_id': 'str' - } - - attribute_map = { - 'username': 'username', - 'event_name': 'eventName', - 'participating_machines': 'participatingMachines', - 'description': 'description', - 'changed_fields': 'changedFields', - 'timestamp': 'timestamp', - 'job_id': 'jobId' - } - - def __init__(self, username=None, event_name=None, participating_machines=None, description=None, changed_fields=None, timestamp=None, job_id=None): # noqa: E501 - """CloudEndureAuditLogEntry - a model defined in Swagger""" # noqa: E501 - self._username = None - self._event_name = None - self._participating_machines = None - self._description = None - self._changed_fields = None - self._timestamp = None - self._job_id = None - self.discriminator = None - if username is not None: - self.username = username - if event_name is not None: - self.event_name = event_name - if participating_machines is not None: - self.participating_machines = participating_machines - if description is not None: - self.description = description - if changed_fields is not None: - self.changed_fields = changed_fields - if timestamp is not None: - self.timestamp = timestamp - if job_id is not None: - self.job_id = job_id - - @property - def username(self): - """Gets the username of this CloudEndureAuditLogEntry. # noqa: E501 - - username (typically an email) of user who initiated action (in UI or via API) which resulted in this audit log entry being added. # noqa: E501 - - :return: The username of this CloudEndureAuditLogEntry. # noqa: E501 - :rtype: str - """ - return self._username - - @username.setter - def username(self, username): - """Sets the username of this CloudEndureAuditLogEntry. - - username (typically an email) of user who initiated action (in UI or via API) which resulted in this audit log entry being added. # noqa: E501 - - :param username: The username of this CloudEndureAuditLogEntry. # noqa: E501 - :type: str - """ - - self._username = username - - @property - def event_name(self): - """Gets the event_name of this CloudEndureAuditLogEntry. # noqa: E501 - - Unique event name. One of: - replicationConfigurationChanged - blueprintChanged - ... @todo: complete # noqa: E501 - - :return: The event_name of this CloudEndureAuditLogEntry. # noqa: E501 - :rtype: str - """ - return self._event_name - - @event_name.setter - def event_name(self, event_name): - """Sets the event_name of this CloudEndureAuditLogEntry. - - Unique event name. One of: - replicationConfigurationChanged - blueprintChanged - ... @todo: complete # noqa: E501 - - :param event_name: The event_name of this CloudEndureAuditLogEntry. # noqa: E501 - :type: str - """ - - self._event_name = event_name - - @property - def participating_machines(self): - """Gets the participating_machines of this CloudEndureAuditLogEntry. # noqa: E501 - - List of machine-identifiers objects. Only present if Audit Log entry relates to one or more machines. # noqa: E501 - - :return: The participating_machines of this CloudEndureAuditLogEntry. # noqa: E501 - :rtype: list[object] - """ - return self._participating_machines - - @participating_machines.setter - def participating_machines(self, participating_machines): - """Sets the participating_machines of this CloudEndureAuditLogEntry. - - List of machine-identifiers objects. Only present if Audit Log entry relates to one or more machines. # noqa: E501 - - :param participating_machines: The participating_machines of this CloudEndureAuditLogEntry. # noqa: E501 - :type: list[object] - """ - - self._participating_machines = participating_machines - - @property - def description(self): - """Gets the description of this CloudEndureAuditLogEntry. # noqa: E501 - - Long-form human-readable description of Audit Log entry. # noqa: E501 - - :return: The description of this CloudEndureAuditLogEntry. # noqa: E501 - :rtype: str - """ - return self._description - - @description.setter - def description(self, description): - """Sets the description of this CloudEndureAuditLogEntry. - - Long-form human-readable description of Audit Log entry. # noqa: E501 - - :param description: The description of this CloudEndureAuditLogEntry. # noqa: E501 - :type: str - """ - - self._description = description - - @property - def changed_fields(self): - """Gets the changed_fields of this CloudEndureAuditLogEntry. # noqa: E501 - - Map of fields that have been changed and their old an new values. Only present when eventName is replicationConfigurationChanged or blueprintChanged # noqa: E501 - - :return: The changed_fields of this CloudEndureAuditLogEntry. # noqa: E501 - :rtype: list[CloudEndureAuditLogChangedField] - """ - return self._changed_fields - - @changed_fields.setter - def changed_fields(self, changed_fields): - """Sets the changed_fields of this CloudEndureAuditLogEntry. - - Map of fields that have been changed and their old an new values. Only present when eventName is replicationConfigurationChanged or blueprintChanged # noqa: E501 - - :param changed_fields: The changed_fields of this CloudEndureAuditLogEntry. # noqa: E501 - :type: list[CloudEndureAuditLogChangedField] - """ - - self._changed_fields = changed_fields - - @property - def timestamp(self): - """Gets the timestamp of this CloudEndureAuditLogEntry. # noqa: E501 - - RFC 3339 compliant date-time string of when Audit Log entry was created/ event described by audit log entry happened. # noqa: E501 - - :return: The timestamp of this CloudEndureAuditLogEntry. # noqa: E501 - :rtype: datetime - """ - return self._timestamp - - @timestamp.setter - def timestamp(self, timestamp): - """Sets the timestamp of this CloudEndureAuditLogEntry. - - RFC 3339 compliant date-time string of when Audit Log entry was created/ event described by audit log entry happened. # noqa: E501 - - :param timestamp: The timestamp of this CloudEndureAuditLogEntry. # noqa: E501 - :type: datetime - """ - - self._timestamp = timestamp - - @property - def job_id(self): - """Gets the job_id of this CloudEndureAuditLogEntry. # noqa: E501 - - ID of Job due to which this log entry was created (only included if log entry is result of a Job) # noqa: E501 - - :return: The job_id of this CloudEndureAuditLogEntry. # noqa: E501 - :rtype: str - """ - return self._job_id - - @job_id.setter - def job_id(self, job_id): - """Sets the job_id of this CloudEndureAuditLogEntry. - - ID of Job due to which this log entry was created (only included if log entry is result of a Job) # noqa: E501 - - :param job_id: The job_id of this CloudEndureAuditLogEntry. # noqa: E501 - :type: str - """ - - self._job_id = job_id - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureAuditLogEntry, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureAuditLogEntry): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_bandwidth_throttling.py b/cloudendure/cloudendure_api/models/cloud_endure_bandwidth_throttling.py deleted file mode 100644 index 651f7e5d9..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_bandwidth_throttling.py +++ /dev/null @@ -1,113 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - - -class CloudEndureBandwidthThrottling: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'bandwidth_throttling': 'int' - } - - attribute_map = { - 'bandwidth_throttling': 'bandwidthThrottling' - } - - def __init__(self, bandwidth_throttling=None): # noqa: E501 - """CloudEndureBandwidthThrottling - a model defined in Swagger""" # noqa: E501 - self._bandwidth_throttling = None - self.discriminator = None - if bandwidth_throttling is not None: - self.bandwidth_throttling = bandwidth_throttling - - @property - def bandwidth_throttling(self): - """Gets the bandwidth_throttling of this CloudEndureBandwidthThrottling. # noqa: E501 - - Mbps to use for Data Replication (zero means no throttling). # noqa: E501 - - :return: The bandwidth_throttling of this CloudEndureBandwidthThrottling. # noqa: E501 - :rtype: int - """ - return self._bandwidth_throttling - - @bandwidth_throttling.setter - def bandwidth_throttling(self, bandwidth_throttling): - """Sets the bandwidth_throttling of this CloudEndureBandwidthThrottling. - - Mbps to use for Data Replication (zero means no throttling). # noqa: E501 - - :param bandwidth_throttling: The bandwidth_throttling of this CloudEndureBandwidthThrottling. # noqa: E501 - :type: int - """ - - self._bandwidth_throttling = bandwidth_throttling - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureBandwidthThrottling, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureBandwidthThrottling): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_blueprint.py b/cloudendure/cloudendure_api/models/cloud_endure_blueprint.py deleted file mode 100644 index 2866791b7..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_blueprint.py +++ /dev/null @@ -1,1019 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - - -class CloudEndureBlueprint: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'iam_role': 'str', - 'scsi_adapter_type': 'str', - 'public_ip_action': 'str', - 'machine_name': 'str', - 'cpus': 'int', - 'security_group_i_ds': 'list[str]', - 'run_after_launch': 'bool', - 'recommended_private_ip': 'str', - 'network_interface': 'str', - 'id': 'str', - 'mb_ram': 'int', - 'instance_type': 'str', - 'subnet_i_ds': 'list[str]', - 'cores_per_cpu': 'int', - 'recommended_instance_type': 'str', - 'static_ip': 'str', - 'tags': 'list[object]', - 'security_group_action': 'str', - 'private_i_ps': 'list[str]', - 'tenancy': 'str', - 'compute_location_id': 'str', - 'subnets_host_project': 'str', - 'logical_location_id': 'str', - 'network_adapter_type': 'str', - 'byol_on_dedicated_instance': 'bool', - 'placement_group': 'str', - 'machine_id': 'str', - 'region': 'str', - 'disks': 'list[object]', - 'private_ip_action': 'str', - 'static_ip_action': 'str', - 'dedicated_host_identifier': 'str', - 'use_shared_ram': 'bool' - } - - attribute_map = { - 'iam_role': 'iamRole', - 'scsi_adapter_type': 'scsiAdapterType', - 'public_ip_action': 'publicIPAction', - 'machine_name': 'machineName', - 'cpus': 'cpus', - 'security_group_i_ds': 'securityGroupIDs', - 'run_after_launch': 'runAfterLaunch', - 'recommended_private_ip': 'recommendedPrivateIP', - 'network_interface': 'networkInterface', - 'id': 'id', - 'mb_ram': 'mbRam', - 'instance_type': 'instanceType', - 'subnet_i_ds': 'subnetIDs', - 'cores_per_cpu': 'coresPerCpu', - 'recommended_instance_type': 'recommendedInstanceType', - 'static_ip': 'staticIp', - 'tags': 'tags', - 'security_group_action': 'securityGroupAction', - 'private_i_ps': 'privateIPs', - 'tenancy': 'tenancy', - 'compute_location_id': 'computeLocationId', - 'subnets_host_project': 'subnetsHostProject', - 'logical_location_id': 'logicalLocationId', - 'network_adapter_type': 'networkAdapterType', - 'byol_on_dedicated_instance': 'byolOnDedicatedInstance', - 'placement_group': 'placementGroup', - 'machine_id': 'machineId', - 'region': 'region', - 'disks': 'disks', - 'private_ip_action': 'privateIPAction', - 'static_ip_action': 'staticIpAction', - 'dedicated_host_identifier': 'dedicatedHostIdentifier', - 'use_shared_ram': 'useSharedRam' - } - - def __init__(self, iam_role=None, scsi_adapter_type=None, public_ip_action=None, machine_name=None, cpus=None, security_group_i_ds=None, run_after_launch=None, recommended_private_ip=None, network_interface=None, id=None, mb_ram=None, instance_type=None, subnet_i_ds=None, cores_per_cpu=None, recommended_instance_type=None, static_ip=None, tags=None, security_group_action=None, private_i_ps=None, tenancy=None, compute_location_id=None, subnets_host_project=None, logical_location_id=None, network_adapter_type=None, byol_on_dedicated_instance=None, placement_group=None, machine_id=None, region=None, disks=None, private_ip_action=None, static_ip_action=None, dedicated_host_identifier=None, use_shared_ram=None): # noqa: E501 - """CloudEndureBlueprint - a model defined in Swagger""" # noqa: E501 - self._iam_role = None - self._scsi_adapter_type = None - self._public_ip_action = None - self._machine_name = None - self._cpus = None - self._security_group_i_ds = None - self._run_after_launch = None - self._recommended_private_ip = None - self._network_interface = None - self._id = None - self._mb_ram = None - self._instance_type = None - self._subnet_i_ds = None - self._cores_per_cpu = None - self._recommended_instance_type = None - self._static_ip = None - self._tags = None - self._security_group_action = None - self._private_i_ps = None - self._tenancy = None - self._compute_location_id = None - self._subnets_host_project = None - self._logical_location_id = None - self._network_adapter_type = None - self._byol_on_dedicated_instance = None - self._placement_group = None - self._machine_id = None - self._region = None - self._disks = None - self._private_ip_action = None - self._static_ip_action = None - self._dedicated_host_identifier = None - self._use_shared_ram = None - self.discriminator = None - if iam_role is not None: - self.iam_role = iam_role - if scsi_adapter_type is not None: - self.scsi_adapter_type = scsi_adapter_type - if public_ip_action is not None: - self.public_ip_action = public_ip_action - if machine_name is not None: - self.machine_name = machine_name - if cpus is not None: - self.cpus = cpus - if security_group_i_ds is not None: - self.security_group_i_ds = security_group_i_ds - if run_after_launch is not None: - self.run_after_launch = run_after_launch - if recommended_private_ip is not None: - self.recommended_private_ip = recommended_private_ip - if network_interface is not None: - self.network_interface = network_interface - if id is not None: - self.id = id - if mb_ram is not None: - self.mb_ram = mb_ram - if instance_type is not None: - self.instance_type = instance_type - if subnet_i_ds is not None: - self.subnet_i_ds = subnet_i_ds - if cores_per_cpu is not None: - self.cores_per_cpu = cores_per_cpu - if recommended_instance_type is not None: - self.recommended_instance_type = recommended_instance_type - if static_ip is not None: - self.static_ip = static_ip - if tags is not None: - self.tags = tags - if security_group_action is not None: - self.security_group_action = security_group_action - if private_i_ps is not None: - self.private_i_ps = private_i_ps - if tenancy is not None: - self.tenancy = tenancy - if compute_location_id is not None: - self.compute_location_id = compute_location_id - if subnets_host_project is not None: - self.subnets_host_project = subnets_host_project - if logical_location_id is not None: - self.logical_location_id = logical_location_id - if network_adapter_type is not None: - self.network_adapter_type = network_adapter_type - if byol_on_dedicated_instance is not None: - self.byol_on_dedicated_instance = byol_on_dedicated_instance - if placement_group is not None: - self.placement_group = placement_group - if machine_id is not None: - self.machine_id = machine_id - if region is not None: - self.region = region - if disks is not None: - self.disks = disks - if private_ip_action is not None: - self.private_ip_action = private_ip_action - if static_ip_action is not None: - self.static_ip_action = static_ip_action - if dedicated_host_identifier is not None: - self.dedicated_host_identifier = dedicated_host_identifier - if use_shared_ram is not None: - self.use_shared_ram = use_shared_ram - - @property - def iam_role(self): - """Gets the iam_role of this CloudEndureBlueprint. # noqa: E501 - - AWS only. Possible values can be fetched from the Region object. # noqa: E501 - - :return: The iam_role of this CloudEndureBlueprint. # noqa: E501 - :rtype: str - """ - return self._iam_role - - @iam_role.setter - def iam_role(self, iam_role): - """Sets the iam_role of this CloudEndureBlueprint. - - AWS only. Possible values can be fetched from the Region object. # noqa: E501 - - :param iam_role: The iam_role of this CloudEndureBlueprint. # noqa: E501 - :type: str - """ - - self._iam_role = iam_role - - @property - def scsi_adapter_type(self): - """Gets the scsi_adapter_type of this CloudEndureBlueprint. # noqa: E501 - - Currently relevant for vCenter cloud only. Possible values can be fetched from the Region object. # noqa: E501 - - :return: The scsi_adapter_type of this CloudEndureBlueprint. # noqa: E501 - :rtype: str - """ - return self._scsi_adapter_type - - @scsi_adapter_type.setter - def scsi_adapter_type(self, scsi_adapter_type): - """Sets the scsi_adapter_type of this CloudEndureBlueprint. - - Currently relevant for vCenter cloud only. Possible values can be fetched from the Region object. # noqa: E501 - - :param scsi_adapter_type: The scsi_adapter_type of this CloudEndureBlueprint. # noqa: E501 - :type: str - """ - - self._scsi_adapter_type = scsi_adapter_type - - @property - def public_ip_action(self): - """Gets the public_ip_action of this CloudEndureBlueprint. # noqa: E501 - - Whether to allocate an ephemeral public IP, or not. AS_SUBNET causes CloudEndure to copy this property from the source machine. # noqa: E501 - - :return: The public_ip_action of this CloudEndureBlueprint. # noqa: E501 - :rtype: str - """ - return self._public_ip_action - - @public_ip_action.setter - def public_ip_action(self, public_ip_action): - """Sets the public_ip_action of this CloudEndureBlueprint. - - Whether to allocate an ephemeral public IP, or not. AS_SUBNET causes CloudEndure to copy this property from the source machine. # noqa: E501 - - :param public_ip_action: The public_ip_action of this CloudEndureBlueprint. # noqa: E501 - :type: str - """ - allowed_values = ["ALLOCATE", "DONT_ALLOCATE", "AS_SUBNET"] # noqa: E501 - if public_ip_action not in allowed_values: - raise ValueError( - "Invalid value for `public_ip_action` ({0}), must be one of {1}" # noqa: E501 - .format(public_ip_action, allowed_values) - ) - - self._public_ip_action = public_ip_action - - @property - def machine_name(self): - """Gets the machine_name of this CloudEndureBlueprint. # noqa: E501 - - - :return: The machine_name of this CloudEndureBlueprint. # noqa: E501 - :rtype: str - """ - return self._machine_name - - @machine_name.setter - def machine_name(self, machine_name): - """Sets the machine_name of this CloudEndureBlueprint. - - - :param machine_name: The machine_name of this CloudEndureBlueprint. # noqa: E501 - :type: str - """ - - self._machine_name = machine_name - - @property - def cpus(self): - """Gets the cpus of this CloudEndureBlueprint. # noqa: E501 - - Number of CPUs per per Target machine; Currently relevant for vCenter cloud only; Max value can be fetched from the maxCpusPerMachine property of the Region object. # noqa: E501 - - :return: The cpus of this CloudEndureBlueprint. # noqa: E501 - :rtype: int - """ - return self._cpus - - @cpus.setter - def cpus(self, cpus): - """Sets the cpus of this CloudEndureBlueprint. - - Number of CPUs per per Target machine; Currently relevant for vCenter cloud only; Max value can be fetched from the maxCpusPerMachine property of the Region object. # noqa: E501 - - :param cpus: The cpus of this CloudEndureBlueprint. # noqa: E501 - :type: int - """ - - self._cpus = cpus - - @property - def security_group_i_ds(self): - """Gets the security_group_i_ds of this CloudEndureBlueprint. # noqa: E501 - - AWS only. The security groups that will be applied to the target machine. Possible values can be fetched from the Region object. # noqa: E501 - - :return: The security_group_i_ds of this CloudEndureBlueprint. # noqa: E501 - :rtype: list[str] - """ - return self._security_group_i_ds - - @security_group_i_ds.setter - def security_group_i_ds(self, security_group_i_ds): - """Sets the security_group_i_ds of this CloudEndureBlueprint. - - AWS only. The security groups that will be applied to the target machine. Possible values can be fetched from the Region object. # noqa: E501 - - :param security_group_i_ds: The security_group_i_ds of this CloudEndureBlueprint. # noqa: E501 - :type: list[str] - """ - - self._security_group_i_ds = security_group_i_ds - - @property - def run_after_launch(self): - """Gets the run_after_launch of this CloudEndureBlueprint. # noqa: E501 - - AWS only. Whether to power on the launched target machine after launch. True by default. # noqa: E501 - - :return: The run_after_launch of this CloudEndureBlueprint. # noqa: E501 - :rtype: bool - """ - return self._run_after_launch - - @run_after_launch.setter - def run_after_launch(self, run_after_launch): - """Sets the run_after_launch of this CloudEndureBlueprint. - - AWS only. Whether to power on the launched target machine after launch. True by default. # noqa: E501 - - :param run_after_launch: The run_after_launch of this CloudEndureBlueprint. # noqa: E501 - :type: bool - """ - - self._run_after_launch = run_after_launch - - @property - def recommended_private_ip(self): - """Gets the recommended_private_ip of this CloudEndureBlueprint. # noqa: E501 - - The private IP address recommended for use with this machine. # noqa: E501 - - :return: The recommended_private_ip of this CloudEndureBlueprint. # noqa: E501 - :rtype: str - """ - return self._recommended_private_ip - - @recommended_private_ip.setter - def recommended_private_ip(self, recommended_private_ip): - """Sets the recommended_private_ip of this CloudEndureBlueprint. - - The private IP address recommended for use with this machine. # noqa: E501 - - :param recommended_private_ip: The recommended_private_ip of this CloudEndureBlueprint. # noqa: E501 - :type: str - """ - - self._recommended_private_ip = recommended_private_ip - - @property - def network_interface(self): - """Gets the network_interface of this CloudEndureBlueprint. # noqa: E501 - - - :return: The network_interface of this CloudEndureBlueprint. # noqa: E501 - :rtype: str - """ - return self._network_interface - - @network_interface.setter - def network_interface(self, network_interface): - """Sets the network_interface of this CloudEndureBlueprint. - - - :param network_interface: The network_interface of this CloudEndureBlueprint. # noqa: E501 - :type: str - """ - - self._network_interface = network_interface - - @property - def id(self): - """Gets the id of this CloudEndureBlueprint. # noqa: E501 - - - :return: The id of this CloudEndureBlueprint. # noqa: E501 - :rtype: str - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this CloudEndureBlueprint. - - - :param id: The id of this CloudEndureBlueprint. # noqa: E501 - :type: str - """ - - self._id = id - - @property - def mb_ram(self): - """Gets the mb_ram of this CloudEndureBlueprint. # noqa: E501 - - MB RAM per Target machine; Currently relevant for vCenter cloud only; Max value can be fetched from the maxMbRamPerMachine property of the Region object. # noqa: E501 - - :return: The mb_ram of this CloudEndureBlueprint. # noqa: E501 - :rtype: int - """ - return self._mb_ram - - @mb_ram.setter - def mb_ram(self, mb_ram): - """Sets the mb_ram of this CloudEndureBlueprint. - - MB RAM per Target machine; Currently relevant for vCenter cloud only; Max value can be fetched from the maxMbRamPerMachine property of the Region object. # noqa: E501 - - :param mb_ram: The mb_ram of this CloudEndureBlueprint. # noqa: E501 - :type: int - """ - - self._mb_ram = mb_ram - - @property - def instance_type(self): - """Gets the instance_type of this CloudEndureBlueprint. # noqa: E501 - - Possible values can be fetched from the Region object, plus special values \"COPY_ORIGIN\" or \"CUSTOM\" # noqa: E501 - - :return: The instance_type of this CloudEndureBlueprint. # noqa: E501 - :rtype: str - """ - return self._instance_type - - @instance_type.setter - def instance_type(self, instance_type): - """Sets the instance_type of this CloudEndureBlueprint. - - Possible values can be fetched from the Region object, plus special values \"COPY_ORIGIN\" or \"CUSTOM\" # noqa: E501 - - :param instance_type: The instance_type of this CloudEndureBlueprint. # noqa: E501 - :type: str - """ - - self._instance_type = instance_type - - @property - def subnet_i_ds(self): - """Gets the subnet_i_ds of this CloudEndureBlueprint. # noqa: E501 - - AWS only. Configures a subnets in which the instance network interface will take part. Possible values can be fetched from the Region object. # noqa: E501 - - :return: The subnet_i_ds of this CloudEndureBlueprint. # noqa: E501 - :rtype: list[str] - """ - return self._subnet_i_ds - - @subnet_i_ds.setter - def subnet_i_ds(self, subnet_i_ds): - """Sets the subnet_i_ds of this CloudEndureBlueprint. - - AWS only. Configures a subnets in which the instance network interface will take part. Possible values can be fetched from the Region object. # noqa: E501 - - :param subnet_i_ds: The subnet_i_ds of this CloudEndureBlueprint. # noqa: E501 - :type: list[str] - """ - - self._subnet_i_ds = subnet_i_ds - - @property - def cores_per_cpu(self): - """Gets the cores_per_cpu of this CloudEndureBlueprint. # noqa: E501 - - Number of CPU cores per CPU in Target machine; Currently relevant for vCenter cloud only. # noqa: E501 - - :return: The cores_per_cpu of this CloudEndureBlueprint. # noqa: E501 - :rtype: int - """ - return self._cores_per_cpu - - @cores_per_cpu.setter - def cores_per_cpu(self, cores_per_cpu): - """Sets the cores_per_cpu of this CloudEndureBlueprint. - - Number of CPU cores per CPU in Target machine; Currently relevant for vCenter cloud only. # noqa: E501 - - :param cores_per_cpu: The cores_per_cpu of this CloudEndureBlueprint. # noqa: E501 - :type: int - """ - - self._cores_per_cpu = cores_per_cpu - - @property - def recommended_instance_type(self): - """Gets the recommended_instance_type of this CloudEndureBlueprint. # noqa: E501 - - When instance rightsizing is enabled, the instance type suitable for the source machine's HW # noqa: E501 - - :return: The recommended_instance_type of this CloudEndureBlueprint. # noqa: E501 - :rtype: str - """ - return self._recommended_instance_type - - @recommended_instance_type.setter - def recommended_instance_type(self, recommended_instance_type): - """Sets the recommended_instance_type of this CloudEndureBlueprint. - - When instance rightsizing is enabled, the instance type suitable for the source machine's HW # noqa: E501 - - :param recommended_instance_type: The recommended_instance_type of this CloudEndureBlueprint. # noqa: E501 - :type: str - """ - - self._recommended_instance_type = recommended_instance_type - - @property - def static_ip(self): - """Gets the static_ip of this CloudEndureBlueprint. # noqa: E501 - - Possible values can be fetched from the Region object. # noqa: E501 - - :return: The static_ip of this CloudEndureBlueprint. # noqa: E501 - :rtype: str - """ - return self._static_ip - - @static_ip.setter - def static_ip(self, static_ip): - """Sets the static_ip of this CloudEndureBlueprint. - - Possible values can be fetched from the Region object. # noqa: E501 - - :param static_ip: The static_ip of this CloudEndureBlueprint. # noqa: E501 - :type: str - """ - - self._static_ip = static_ip - - @property - def tags(self): - """Gets the tags of this CloudEndureBlueprint. # noqa: E501 - - AWS only. Tags that will be applied to the target machine. # noqa: E501 - - :return: The tags of this CloudEndureBlueprint. # noqa: E501 - :rtype: list[object] - """ - return self._tags - - @tags.setter - def tags(self, tags): - """Sets the tags of this CloudEndureBlueprint. - - AWS only. Tags that will be applied to the target machine. # noqa: E501 - - :param tags: The tags of this CloudEndureBlueprint. # noqa: E501 - :type: list[object] - """ - - self._tags = tags - - @property - def security_group_action(self): - """Gets the security_group_action of this CloudEndureBlueprint. # noqa: E501 - - How to assign a security group to the target machine. # noqa: E501 - - :return: The security_group_action of this CloudEndureBlueprint. # noqa: E501 - :rtype: str - """ - return self._security_group_action - - @security_group_action.setter - def security_group_action(self, security_group_action): - """Sets the security_group_action of this CloudEndureBlueprint. - - How to assign a security group to the target machine. # noqa: E501 - - :param security_group_action: The security_group_action of this CloudEndureBlueprint. # noqa: E501 - :type: str - """ - allowed_values = ["FROM_POLICY"] # noqa: E501 - if security_group_action not in allowed_values: - raise ValueError( - "Invalid value for `security_group_action` ({0}), must be one of {1}" # noqa: E501 - .format(security_group_action, allowed_values) - ) - - self._security_group_action = security_group_action - - @property - def private_i_ps(self): - """Gets the private_i_ps of this CloudEndureBlueprint. # noqa: E501 - - - :return: The private_i_ps of this CloudEndureBlueprint. # noqa: E501 - :rtype: list[str] - """ - return self._private_i_ps - - @private_i_ps.setter - def private_i_ps(self, private_i_ps): - """Sets the private_i_ps of this CloudEndureBlueprint. - - - :param private_i_ps: The private_i_ps of this CloudEndureBlueprint. # noqa: E501 - :type: list[str] - """ - - self._private_i_ps = private_i_ps - - @property - def tenancy(self): - """Gets the tenancy of this CloudEndureBlueprint. # noqa: E501 - - - :return: The tenancy of this CloudEndureBlueprint. # noqa: E501 - :rtype: str - """ - return self._tenancy - - @tenancy.setter - def tenancy(self, tenancy): - """Sets the tenancy of this CloudEndureBlueprint. - - - :param tenancy: The tenancy of this CloudEndureBlueprint. # noqa: E501 - :type: str - """ - allowed_values = ["SHARED", "DEDICATED", "HOST"] # noqa: E501 - if tenancy not in allowed_values: - raise ValueError( - "Invalid value for `tenancy` ({0}), must be one of {1}" # noqa: E501 - .format(tenancy, allowed_values) - ) - - self._tenancy = tenancy - - @property - def compute_location_id(self): - """Gets the compute_location_id of this CloudEndureBlueprint. # noqa: E501 - - todo # noqa: E501 - - :return: The compute_location_id of this CloudEndureBlueprint. # noqa: E501 - :rtype: str - """ - return self._compute_location_id - - @compute_location_id.setter - def compute_location_id(self, compute_location_id): - """Sets the compute_location_id of this CloudEndureBlueprint. - - todo # noqa: E501 - - :param compute_location_id: The compute_location_id of this CloudEndureBlueprint. # noqa: E501 - :type: str - """ - - self._compute_location_id = compute_location_id - - @property - def subnets_host_project(self): - """Gets the subnets_host_project of this CloudEndureBlueprint. # noqa: E501 - - GCP only. Host project for cross project network subnet. # noqa: E501 - - :return: The subnets_host_project of this CloudEndureBlueprint. # noqa: E501 - :rtype: str - """ - return self._subnets_host_project - - @subnets_host_project.setter - def subnets_host_project(self, subnets_host_project): - """Sets the subnets_host_project of this CloudEndureBlueprint. - - GCP only. Host project for cross project network subnet. # noqa: E501 - - :param subnets_host_project: The subnets_host_project of this CloudEndureBlueprint. # noqa: E501 - :type: str - """ - - self._subnets_host_project = subnets_host_project - - @property - def logical_location_id(self): - """Gets the logical_location_id of this CloudEndureBlueprint. # noqa: E501 - - vcenter = vmFolder; relates to $ref LogicalLocation # noqa: E501 - - :return: The logical_location_id of this CloudEndureBlueprint. # noqa: E501 - :rtype: str - """ - return self._logical_location_id - - @logical_location_id.setter - def logical_location_id(self, logical_location_id): - """Sets the logical_location_id of this CloudEndureBlueprint. - - vcenter = vmFolder; relates to $ref LogicalLocation # noqa: E501 - - :param logical_location_id: The logical_location_id of this CloudEndureBlueprint. # noqa: E501 - :type: str - """ - - self._logical_location_id = logical_location_id - - @property - def network_adapter_type(self): - """Gets the network_adapter_type of this CloudEndureBlueprint. # noqa: E501 - - Currently relevant for vCenter cloud only. Possible values can be fetched from the Region object. # noqa: E501 - - :return: The network_adapter_type of this CloudEndureBlueprint. # noqa: E501 - :rtype: str - """ - return self._network_adapter_type - - @network_adapter_type.setter - def network_adapter_type(self, network_adapter_type): - """Sets the network_adapter_type of this CloudEndureBlueprint. - - Currently relevant for vCenter cloud only. Possible values can be fetched from the Region object. # noqa: E501 - - :param network_adapter_type: The network_adapter_type of this CloudEndureBlueprint. # noqa: E501 - :type: str - """ - - self._network_adapter_type = network_adapter_type - - @property - def byol_on_dedicated_instance(self): - """Gets the byol_on_dedicated_instance of this CloudEndureBlueprint. # noqa: E501 - - specifies whether to use byol windows license if dedicated instance tenancy is selected. # noqa: E501 - - :return: The byol_on_dedicated_instance of this CloudEndureBlueprint. # noqa: E501 - :rtype: bool - """ - return self._byol_on_dedicated_instance - - @byol_on_dedicated_instance.setter - def byol_on_dedicated_instance(self, byol_on_dedicated_instance): - """Sets the byol_on_dedicated_instance of this CloudEndureBlueprint. - - specifies whether to use byol windows license if dedicated instance tenancy is selected. # noqa: E501 - - :param byol_on_dedicated_instance: The byol_on_dedicated_instance of this CloudEndureBlueprint. # noqa: E501 - :type: bool - """ - - self._byol_on_dedicated_instance = byol_on_dedicated_instance - - @property - def placement_group(self): - """Gets the placement_group of this CloudEndureBlueprint. # noqa: E501 - - AWS only. Possible values can be fetched from the Region object. # noqa: E501 - - :return: The placement_group of this CloudEndureBlueprint. # noqa: E501 - :rtype: str - """ - return self._placement_group - - @placement_group.setter - def placement_group(self, placement_group): - """Sets the placement_group of this CloudEndureBlueprint. - - AWS only. Possible values can be fetched from the Region object. # noqa: E501 - - :param placement_group: The placement_group of this CloudEndureBlueprint. # noqa: E501 - :type: str - """ - - self._placement_group = placement_group - - @property - def machine_id(self): - """Gets the machine_id of this CloudEndureBlueprint. # noqa: E501 - - - :return: The machine_id of this CloudEndureBlueprint. # noqa: E501 - :rtype: str - """ - return self._machine_id - - @machine_id.setter - def machine_id(self, machine_id): - """Sets the machine_id of this CloudEndureBlueprint. - - - :param machine_id: The machine_id of this CloudEndureBlueprint. # noqa: E501 - :type: str - """ - - self._machine_id = machine_id - - @property - def region(self): - """Gets the region of this CloudEndureBlueprint. # noqa: E501 - - - :return: The region of this CloudEndureBlueprint. # noqa: E501 - :rtype: str - """ - return self._region - - @region.setter - def region(self, region): - """Sets the region of this CloudEndureBlueprint. - - - :param region: The region of this CloudEndureBlueprint. # noqa: E501 - :type: str - """ - - self._region = region - - @property - def disks(self): - """Gets the disks of this CloudEndureBlueprint. # noqa: E501 - - AWS only. Target machine disk properties. # noqa: E501 - - :return: The disks of this CloudEndureBlueprint. # noqa: E501 - :rtype: list[object] - """ - return self._disks - - @disks.setter - def disks(self, disks): - """Sets the disks of this CloudEndureBlueprint. - - AWS only. Target machine disk properties. # noqa: E501 - - :param disks: The disks of this CloudEndureBlueprint. # noqa: E501 - :type: list[object] - """ - - self._disks = disks - - @property - def private_ip_action(self): - """Gets the private_ip_action of this CloudEndureBlueprint. # noqa: E501 - - - :return: The private_ip_action of this CloudEndureBlueprint. # noqa: E501 - :rtype: str - """ - return self._private_ip_action - - @private_ip_action.setter - def private_ip_action(self, private_ip_action): - """Sets the private_ip_action of this CloudEndureBlueprint. - - - :param private_ip_action: The private_ip_action of this CloudEndureBlueprint. # noqa: E501 - :type: str - """ - allowed_values = ["CREATE_NEW", "COPY_ORIGIN", "CUSTOM_IP", "USE_NETWORK_INTERFACE"] # noqa: E501 - if private_ip_action not in allowed_values: - raise ValueError( - "Invalid value for `private_ip_action` ({0}), must be one of {1}" # noqa: E501 - .format(private_ip_action, allowed_values) - ) - - self._private_ip_action = private_ip_action - - @property - def static_ip_action(self): - """Gets the static_ip_action of this CloudEndureBlueprint. # noqa: E501 - - - :return: The static_ip_action of this CloudEndureBlueprint. # noqa: E501 - :rtype: str - """ - return self._static_ip_action - - @static_ip_action.setter - def static_ip_action(self, static_ip_action): - """Sets the static_ip_action of this CloudEndureBlueprint. - - - :param static_ip_action: The static_ip_action of this CloudEndureBlueprint. # noqa: E501 - :type: str - """ - allowed_values = ["EXISTING", "DONT_CREATE", "CREATE_NEW", "IF_IN_ORIGIN"] # noqa: E501 - if static_ip_action not in allowed_values: - raise ValueError( - "Invalid value for `static_ip_action` ({0}), must be one of {1}" # noqa: E501 - .format(static_ip_action, allowed_values) - ) - - self._static_ip_action = static_ip_action - - @property - def dedicated_host_identifier(self): - """Gets the dedicated_host_identifier of this CloudEndureBlueprint. # noqa: E501 - - - :return: The dedicated_host_identifier of this CloudEndureBlueprint. # noqa: E501 - :rtype: str - """ - return self._dedicated_host_identifier - - @dedicated_host_identifier.setter - def dedicated_host_identifier(self, dedicated_host_identifier): - """Sets the dedicated_host_identifier of this CloudEndureBlueprint. - - - :param dedicated_host_identifier: The dedicated_host_identifier of this CloudEndureBlueprint. # noqa: E501 - :type: str - """ - - self._dedicated_host_identifier = dedicated_host_identifier - - @property - def use_shared_ram(self): - """Gets the use_shared_ram of this CloudEndureBlueprint. # noqa: E501 - - todo # noqa: E501 - - :return: The use_shared_ram of this CloudEndureBlueprint. # noqa: E501 - :rtype: bool - """ - return self._use_shared_ram - - @use_shared_ram.setter - def use_shared_ram(self, use_shared_ram): - """Sets the use_shared_ram of this CloudEndureBlueprint. - - todo # noqa: E501 - - :param use_shared_ram: The use_shared_ram of this CloudEndureBlueprint. # noqa: E501 - :type: bool - """ - - self._use_shared_ram = use_shared_ram - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureBlueprint, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureBlueprint): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_blueprint_list.py b/cloudendure/cloudendure_api/models/cloud_endure_blueprint_list.py deleted file mode 100644 index 000539c86..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_blueprint_list.py +++ /dev/null @@ -1,113 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -from cloudendure.cloudendure_api.models.cloud_endure_blueprint import CloudEndureBlueprint # noqa: F401,E501 - - -class CloudEndureBlueprintList: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'items': 'list[CloudEndureBlueprint]' - } - - attribute_map = { - 'items': 'items' - } - - def __init__(self, items=None): # noqa: E501 - """CloudEndureBlueprintList - a model defined in Swagger""" # noqa: E501 - self._items = None - self.discriminator = None - if items is not None: - self.items = items - - @property - def items(self): - """Gets the items of this CloudEndureBlueprintList. # noqa: E501 - - - :return: The items of this CloudEndureBlueprintList. # noqa: E501 - :rtype: list[CloudEndureBlueprint] - """ - return self._items - - @items.setter - def items(self, items): - """Sets the items of this CloudEndureBlueprintList. - - - :param items: The items of this CloudEndureBlueprintList. # noqa: E501 - :type: list[CloudEndureBlueprint] - """ - - self._items = items - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureBlueprintList, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureBlueprintList): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_cloud.py b/cloudendure/cloudendure_api/models/cloud_endure_cloud.py deleted file mode 100644 index eb0911f20..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_cloud.py +++ /dev/null @@ -1,176 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - - -class CloudEndureCloud: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'id': 'str', - 'roles': 'list[str]', - 'name': 'str' - } - - attribute_map = { - 'id': 'id', - 'roles': 'roles', - 'name': 'name' - } - - def __init__(self, id=None, roles=None, name=None): # noqa: E501 - """CloudEndureCloud - a model defined in Swagger""" # noqa: E501 - self._id = None - self._roles = None - self._name = None - self.discriminator = None - if id is not None: - self.id = id - if roles is not None: - self.roles = roles - if name is not None: - self.name = name - - @property - def id(self): - """Gets the id of this CloudEndureCloud. # noqa: E501 - - - :return: The id of this CloudEndureCloud. # noqa: E501 - :rtype: str - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this CloudEndureCloud. - - - :param id: The id of this CloudEndureCloud. # noqa: E501 - :type: str - """ - - self._id = id - - @property - def roles(self): - """Gets the roles of this CloudEndureCloud. # noqa: E501 - - - :return: The roles of this CloudEndureCloud. # noqa: E501 - :rtype: list[str] - """ - return self._roles - - @roles.setter - def roles(self, roles): - """Sets the roles of this CloudEndureCloud. - - - :param roles: The roles of this CloudEndureCloud. # noqa: E501 - :type: list[str] - """ - allowed_values = ["SOURCE", "TARGET", "BACKUP_TARGET", "FAILBACK"] # noqa: E501 - if not set(roles).issubset(set(allowed_values)): - raise ValueError( - "Invalid values for `roles` [{0}], must be a subset of [{1}]" # noqa: E501 - .format(", ".join(map(str, set(roles) - set(allowed_values))), # noqa: E501 - ", ".join(map(str, allowed_values))) - ) - - self._roles = roles - - @property - def name(self): - """Gets the name of this CloudEndureCloud. # noqa: E501 - - - :return: The name of this CloudEndureCloud. # noqa: E501 - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this CloudEndureCloud. - - - :param name: The name of this CloudEndureCloud. # noqa: E501 - :type: str - """ - allowed_values = ["AWS", "GCP", "AZURE", "AZURE_ARM", "VCENTER", "GENERIC", "VIO_BEZEQ"] # noqa: E501 - if name not in allowed_values: - raise ValueError( - "Invalid value for `name` ({0}), must be one of {1}" # noqa: E501 - .format(name, allowed_values) - ) - - self._name = name - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureCloud, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureCloud): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_cloud_credentials.py b/cloudendure/cloudendure_api/models/cloud_endure_cloud_credentials.py deleted file mode 100644 index 35d7f5d25..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_cloud_credentials.py +++ /dev/null @@ -1,221 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - - -class CloudEndureCloudCredentials: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'id': 'str', - 'public_key': 'str', - 'account_identifier': 'str', - 'cloud': 'str', - 'name': 'str' - } - - attribute_map = { - 'id': 'id', - 'public_key': 'publicKey', - 'account_identifier': 'accountIdentifier', - 'cloud': 'cloud', - 'name': 'name' - } - - def __init__(self, id=None, public_key=None, account_identifier=None, cloud=None, name=None): # noqa: E501 - """CloudEndureCloudCredentials - a model defined in Swagger""" # noqa: E501 - self._id = None - self._public_key = None - self._account_identifier = None - self._cloud = None - self._name = None - self.discriminator = None - if id is not None: - self.id = id - if public_key is not None: - self.public_key = public_key - if account_identifier is not None: - self.account_identifier = account_identifier - if cloud is not None: - self.cloud = cloud - if name is not None: - self.name = name - - @property - def id(self): - """Gets the id of this CloudEndureCloudCredentials. # noqa: E501 - - - :return: The id of this CloudEndureCloudCredentials. # noqa: E501 - :rtype: str - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this CloudEndureCloudCredentials. - - - :param id: The id of this CloudEndureCloudCredentials. # noqa: E501 - :type: str - """ - - self._id = id - - @property - def public_key(self): - """Gets the public_key of this CloudEndureCloudCredentials. # noqa: E501 - - The public part of the Cloud credentials. For AWS - access key ID; for GCP - user email; for Azure - SHA1 digestion of the certificate file. # noqa: E501 - - :return: The public_key of this CloudEndureCloudCredentials. # noqa: E501 - :rtype: str - """ - return self._public_key - - @public_key.setter - def public_key(self, public_key): - """Sets the public_key of this CloudEndureCloudCredentials. - - The public part of the Cloud credentials. For AWS - access key ID; for GCP - user email; for Azure - SHA1 digestion of the certificate file. # noqa: E501 - - :param public_key: The public_key of this CloudEndureCloudCredentials. # noqa: E501 - :type: str - """ - - self._public_key = public_key - - @property - def account_identifier(self): - """Gets the account_identifier of this CloudEndureCloudCredentials. # noqa: E501 - - An ID provided by the cloud for the user account. # noqa: E501 - - :return: The account_identifier of this CloudEndureCloudCredentials. # noqa: E501 - :rtype: str - """ - return self._account_identifier - - @account_identifier.setter - def account_identifier(self, account_identifier): - """Sets the account_identifier of this CloudEndureCloudCredentials. - - An ID provided by the cloud for the user account. # noqa: E501 - - :param account_identifier: The account_identifier of this CloudEndureCloudCredentials. # noqa: E501 - :type: str - """ - - self._account_identifier = account_identifier - - @property - def cloud(self): - """Gets the cloud of this CloudEndureCloudCredentials. # noqa: E501 - - - :return: The cloud of this CloudEndureCloudCredentials. # noqa: E501 - :rtype: str - """ - return self._cloud - - @cloud.setter - def cloud(self, cloud): - """Sets the cloud of this CloudEndureCloudCredentials. - - - :param cloud: The cloud of this CloudEndureCloudCredentials. # noqa: E501 - :type: str - """ - - self._cloud = cloud - - @property - def name(self): - """Gets the name of this CloudEndureCloudCredentials. # noqa: E501 - - An optional (can be empty), user provided, descriptive name. # noqa: E501 - - :return: The name of this CloudEndureCloudCredentials. # noqa: E501 - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this CloudEndureCloudCredentials. - - An optional (can be empty), user provided, descriptive name. # noqa: E501 - - :param name: The name of this CloudEndureCloudCredentials. # noqa: E501 - :type: str - """ - - self._name = name - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureCloudCredentials, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureCloudCredentials): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_cloud_credentials_list.py b/cloudendure/cloudendure_api/models/cloud_endure_cloud_credentials_list.py deleted file mode 100644 index 94226d5b9..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_cloud_credentials_list.py +++ /dev/null @@ -1,114 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -from cloudendure.cloudendure_api.models.cloud_endure_cloud_credentials import \ - CloudEndureCloudCredentials # noqa: F401,E501 - - -class CloudEndureCloudCredentialsList: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'items': 'list[CloudEndureCloudCredentials]' - } - - attribute_map = { - 'items': 'items' - } - - def __init__(self, items=None): # noqa: E501 - """CloudEndureCloudCredentialsList - a model defined in Swagger""" # noqa: E501 - self._items = None - self.discriminator = None - if items is not None: - self.items = items - - @property - def items(self): - """Gets the items of this CloudEndureCloudCredentialsList. # noqa: E501 - - - :return: The items of this CloudEndureCloudCredentialsList. # noqa: E501 - :rtype: list[CloudEndureCloudCredentials] - """ - return self._items - - @items.setter - def items(self, items): - """Sets the items of this CloudEndureCloudCredentialsList. - - - :param items: The items of this CloudEndureCloudCredentialsList. # noqa: E501 - :type: list[CloudEndureCloudCredentials] - """ - - self._items = items - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureCloudCredentialsList, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureCloudCredentialsList): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_cloud_credentials_request.py b/cloudendure/cloudendure_api/models/cloud_endure_cloud_credentials_request.py deleted file mode 100644 index 477fdb156..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_cloud_credentials_request.py +++ /dev/null @@ -1,250 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - - -class CloudEndureCloudCredentialsRequest: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'public_key': 'str', - 'name': 'str', - 'cloud_id': 'str', - 'private_key': 'str', - 'account_identifier': 'str', - 'id': 'str' - } - - attribute_map = { - 'public_key': 'publicKey', - 'name': 'name', - 'cloud_id': 'cloudId', - 'private_key': 'privateKey', - 'account_identifier': 'accountIdentifier', - 'id': 'id' - } - - def __init__(self, public_key=None, name=None, cloud_id=None, private_key=None, account_identifier=None, id=None): # noqa: E501 - """CloudEndureCloudCredentialsRequest - a model defined in Swagger""" # noqa: E501 - self._public_key = None - self._name = None - self._cloud_id = None - self._private_key = None - self._account_identifier = None - self._id = None - self.discriminator = None - if public_key is not None: - self.public_key = public_key - if name is not None: - self.name = name - self.cloud_id = cloud_id - if private_key is not None: - self.private_key = private_key - if account_identifier is not None: - self.account_identifier = account_identifier - if id is not None: - self.id = id - - @property - def public_key(self): - """Gets the public_key of this CloudEndureCloudCredentialsRequest. # noqa: E501 - - The public part of the Cloud credentials. For AWS - The access key ID, For GCP and Azure - N/A. # noqa: E501 - - :return: The public_key of this CloudEndureCloudCredentialsRequest. # noqa: E501 - :rtype: str - """ - return self._public_key - - @public_key.setter - def public_key(self, public_key): - """Sets the public_key of this CloudEndureCloudCredentialsRequest. - - The public part of the Cloud credentials. For AWS - The access key ID, For GCP and Azure - N/A. # noqa: E501 - - :param public_key: The public_key of this CloudEndureCloudCredentialsRequest. # noqa: E501 - :type: str - """ - - self._public_key = public_key - - @property - def name(self): - """Gets the name of this CloudEndureCloudCredentialsRequest. # noqa: E501 - - An optional (can be empty), user provided, descriptive name. # noqa: E501 - - :return: The name of this CloudEndureCloudCredentialsRequest. # noqa: E501 - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this CloudEndureCloudCredentialsRequest. - - An optional (can be empty), user provided, descriptive name. # noqa: E501 - - :param name: The name of this CloudEndureCloudCredentialsRequest. # noqa: E501 - :type: str - """ - - self._name = name - - @property - def cloud_id(self): - """Gets the cloud_id of this CloudEndureCloudCredentialsRequest. # noqa: E501 - - - :return: The cloud_id of this CloudEndureCloudCredentialsRequest. # noqa: E501 - :rtype: str - """ - return self._cloud_id - - @cloud_id.setter - def cloud_id(self, cloud_id): - """Sets the cloud_id of this CloudEndureCloudCredentialsRequest. - - - :param cloud_id: The cloud_id of this CloudEndureCloudCredentialsRequest. # noqa: E501 - :type: str - """ - if cloud_id is None: - raise ValueError("Invalid value for `cloud_id`, must not be `None`") # noqa: E501 - - self._cloud_id = cloud_id - - @property - def private_key(self): - """Gets the private_key of this CloudEndureCloudCredentialsRequest. # noqa: E501 - - Cloud credentials secret. For AWS - The secret access key, For GCP - The private key in JSON format, For Azure - The certificate file. # noqa: E501 - - :return: The private_key of this CloudEndureCloudCredentialsRequest. # noqa: E501 - :rtype: str - """ - return self._private_key - - @private_key.setter - def private_key(self, private_key): - """Sets the private_key of this CloudEndureCloudCredentialsRequest. - - Cloud credentials secret. For AWS - The secret access key, For GCP - The private key in JSON format, For Azure - The certificate file. # noqa: E501 - - :param private_key: The private_key of this CloudEndureCloudCredentialsRequest. # noqa: E501 - :type: str - """ - - self._private_key = private_key - - @property - def account_identifier(self): - """Gets the account_identifier of this CloudEndureCloudCredentialsRequest. # noqa: E501 - - Cloud account identifier. For AWS - N/A, For GCP - The project ID, For Azure - The subscription ID. # noqa: E501 - - :return: The account_identifier of this CloudEndureCloudCredentialsRequest. # noqa: E501 - :rtype: str - """ - return self._account_identifier - - @account_identifier.setter - def account_identifier(self, account_identifier): - """Sets the account_identifier of this CloudEndureCloudCredentialsRequest. - - Cloud account identifier. For AWS - N/A, For GCP - The project ID, For Azure - The subscription ID. # noqa: E501 - - :param account_identifier: The account_identifier of this CloudEndureCloudCredentialsRequest. # noqa: E501 - :type: str - """ - - self._account_identifier = account_identifier - - @property - def id(self): - """Gets the id of this CloudEndureCloudCredentialsRequest. # noqa: E501 - - - :return: The id of this CloudEndureCloudCredentialsRequest. # noqa: E501 - :rtype: str - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this CloudEndureCloudCredentialsRequest. - - - :param id: The id of this CloudEndureCloudCredentialsRequest. # noqa: E501 - :type: str - """ - - self._id = id - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureCloudCredentialsRequest, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureCloudCredentialsRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_clouds_list.py b/cloudendure/cloudendure_api/models/cloud_endure_clouds_list.py deleted file mode 100644 index f80c23861..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_clouds_list.py +++ /dev/null @@ -1,113 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -from cloudendure.cloudendure_api.models.cloud_endure_cloud import CloudEndureCloud # noqa: F401,E501 - - -class CloudEndureCloudsList: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'items': 'list[CloudEndureCloud]' - } - - attribute_map = { - 'items': 'items' - } - - def __init__(self, items=None): # noqa: E501 - """CloudEndureCloudsList - a model defined in Swagger""" # noqa: E501 - self._items = None - self.discriminator = None - if items is not None: - self.items = items - - @property - def items(self): - """Gets the items of this CloudEndureCloudsList. # noqa: E501 - - - :return: The items of this CloudEndureCloudsList. # noqa: E501 - :rtype: list[CloudEndureCloud] - """ - return self._items - - @items.setter - def items(self, items): - """Sets the items of this CloudEndureCloudsList. - - - :param items: The items of this CloudEndureCloudsList. # noqa: E501 - :type: list[CloudEndureCloud] - """ - - self._items = items - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureCloudsList, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureCloudsList): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_compute_location.py b/cloudendure/cloudendure_api/models/cloud_endure_compute_location.py deleted file mode 100644 index 2e36c891a..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_compute_location.py +++ /dev/null @@ -1,163 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - - -class CloudEndureComputeLocation: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'is_encryption_supported': 'bool', - 'location_id': 'str', - 'name': 'str' - } - - attribute_map = { - 'is_encryption_supported': 'isEncryptionSupported', - 'location_id': 'locationId', - 'name': 'name' - } - - def __init__(self, is_encryption_supported=None, location_id=None, name=None): # noqa: E501 - """CloudEndureComputeLocation - a model defined in Swagger""" # noqa: E501 - self._is_encryption_supported = None - self._location_id = None - self._name = None - self.discriminator = None - if is_encryption_supported is not None: - self.is_encryption_supported = is_encryption_supported - if location_id is not None: - self.location_id = location_id - if name is not None: - self.name = name - - @property - def is_encryption_supported(self): - """Gets the is_encryption_supported of this CloudEndureComputeLocation. # noqa: E501 - - - :return: The is_encryption_supported of this CloudEndureComputeLocation. # noqa: E501 - :rtype: bool - """ - return self._is_encryption_supported - - @is_encryption_supported.setter - def is_encryption_supported(self, is_encryption_supported): - """Sets the is_encryption_supported of this CloudEndureComputeLocation. - - - :param is_encryption_supported: The is_encryption_supported of this CloudEndureComputeLocation. # noqa: E501 - :type: bool - """ - - self._is_encryption_supported = is_encryption_supported - - @property - def location_id(self): - """Gets the location_id of this CloudEndureComputeLocation. # noqa: E501 - - - :return: The location_id of this CloudEndureComputeLocation. # noqa: E501 - :rtype: str - """ - return self._location_id - - @location_id.setter - def location_id(self, location_id): - """Sets the location_id of this CloudEndureComputeLocation. - - - :param location_id: The location_id of this CloudEndureComputeLocation. # noqa: E501 - :type: str - """ - - self._location_id = location_id - - @property - def name(self): - """Gets the name of this CloudEndureComputeLocation. # noqa: E501 - - - :return: The name of this CloudEndureComputeLocation. # noqa: E501 - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this CloudEndureComputeLocation. - - - :param name: The name of this CloudEndureComputeLocation. # noqa: E501 - :type: str - """ - - self._name = name - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureComputeLocation, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureComputeLocation): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_configurations.py b/cloudendure/cloudendure_api/models/cloud_endure_configurations.py deleted file mode 100644 index 8ce67e1e1..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_configurations.py +++ /dev/null @@ -1,137 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - - -class CloudEndureConfigurations: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'name': 'str', - 'value': 'str' - } - - attribute_map = { - 'name': 'name', - 'value': 'value' - } - - def __init__(self, name=None, value=None): # noqa: E501 - """CloudEndureConfigurations - a model defined in Swagger""" # noqa: E501 - self._name = None - self._value = None - self.discriminator = None - if name is not None: - self.name = name - if value is not None: - self.value = value - - @property - def name(self): - """Gets the name of this CloudEndureConfigurations. # noqa: E501 - - - :return: The name of this CloudEndureConfigurations. # noqa: E501 - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this CloudEndureConfigurations. - - - :param name: The name of this CloudEndureConfigurations. # noqa: E501 - :type: str - """ - - self._name = name - - @property - def value(self): - """Gets the value of this CloudEndureConfigurations. # noqa: E501 - - - :return: The value of this CloudEndureConfigurations. # noqa: E501 - :rtype: str - """ - return self._value - - @value.setter - def value(self, value): - """Sets the value of this CloudEndureConfigurations. - - - :param value: The value of this CloudEndureConfigurations. # noqa: E501 - :type: str - """ - - self._value = value - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureConfigurations, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureConfigurations): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_configurations_list.py b/cloudendure/cloudendure_api/models/cloud_endure_configurations_list.py deleted file mode 100644 index 3ea043265..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_configurations_list.py +++ /dev/null @@ -1,113 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -from cloudendure.cloudendure_api.models.cloud_endure_configurations import CloudEndureConfigurations # noqa: F401,E501 - - -class CloudEndureConfigurationsList: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'items': 'list[CloudEndureConfigurations]' - } - - attribute_map = { - 'items': 'items' - } - - def __init__(self, items=None): # noqa: E501 - """CloudEndureConfigurationsList - a model defined in Swagger""" # noqa: E501 - self._items = None - self.discriminator = None - if items is not None: - self.items = items - - @property - def items(self): - """Gets the items of this CloudEndureConfigurationsList. # noqa: E501 - - - :return: The items of this CloudEndureConfigurationsList. # noqa: E501 - :rtype: list[CloudEndureConfigurations] - """ - return self._items - - @items.setter - def items(self, items): - """Sets the items of this CloudEndureConfigurationsList. - - - :param items: The items of this CloudEndureConfigurationsList. # noqa: E501 - :type: list[CloudEndureConfigurations] - """ - - self._items = items - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureConfigurationsList, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureConfigurationsList): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_error.py b/cloudendure/cloudendure_api/models/cloud_endure_error.py deleted file mode 100644 index d9e34a769..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_error.py +++ /dev/null @@ -1,137 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - - -class CloudEndureError: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'message': 'str', - 'code': 'str' - } - - attribute_map = { - 'message': 'message', - 'code': 'code' - } - - def __init__(self, message=None, code=None): # noqa: E501 - """CloudEndureError - a model defined in Swagger""" # noqa: E501 - self._message = None - self._code = None - self.discriminator = None - if message is not None: - self.message = message - if code is not None: - self.code = code - - @property - def message(self): - """Gets the message of this CloudEndureError. # noqa: E501 - - - :return: The message of this CloudEndureError. # noqa: E501 - :rtype: str - """ - return self._message - - @message.setter - def message(self, message): - """Sets the message of this CloudEndureError. - - - :param message: The message of this CloudEndureError. # noqa: E501 - :type: str - """ - - self._message = message - - @property - def code(self): - """Gets the code of this CloudEndureError. # noqa: E501 - - - :return: The code of this CloudEndureError. # noqa: E501 - :rtype: str - """ - return self._code - - @code.setter - def code(self, code): - """Sets the code of this CloudEndureError. - - - :param code: The code of this CloudEndureError. # noqa: E501 - :type: str - """ - - self._code = code - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureError, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureError): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_extended_account_info.py b/cloudendure/cloudendure_api/models/cloud_endure_extended_account_info.py deleted file mode 100644 index ef253338f..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_extended_account_info.py +++ /dev/null @@ -1,302 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -from cloudendure.cloudendure_api.models.cloud_endure_account import CloudEndureAccount # noqa: F401,E501 -from cloudendure.cloudendure_api.models.cloud_endure_clouds_list import CloudEndureCloudsList # noqa: F401,E501 -from cloudendure.cloudendure_api.models.cloud_endure_projects_list import CloudEndureProjectsList # noqa: F401,E501 -from cloudendure.cloudendure_api.models.cloud_endure_region import CloudEndureRegion # noqa: F401,E501 -from cloudendure.cloudendure_api.models.cloud_endure_replication_configuration_list import \ - CloudEndureReplicationConfigurationList # noqa: F401,E501 -from cloudendure.cloudendure_api.models.cloud_endure_time import CloudEndureTime # noqa: F401,E501 -from cloudendure.cloudendure_api.models.cloud_endure_user import CloudEndureUser # noqa: F401,E501 - - -class CloudEndureExtendedAccountInfo: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'account': 'CloudEndureAccount', - 'clouds': 'CloudEndureCloudsList', - 'generic_region': 'CloudEndureRegion', - 'date_time': 'CloudEndureTime', - 'user': 'CloudEndureUser', - 'projects': 'CloudEndureProjectsList', - 'is_newly_registered': 'bool', - 'replication_configurations': 'CloudEndureReplicationConfigurationList' - } - - attribute_map = { - 'account': 'account', - 'clouds': 'clouds', - 'generic_region': 'genericRegion', - 'date_time': 'dateTime', - 'user': 'user', - 'projects': 'projects', - 'is_newly_registered': 'isNewlyRegistered', - 'replication_configurations': 'replicationConfigurations' - } - - def __init__(self, account=None, clouds=None, generic_region=None, date_time=None, user=None, projects=None, is_newly_registered=None, replication_configurations=None): # noqa: E501 - """CloudEndureExtendedAccountInfo - a model defined in Swagger""" # noqa: E501 - self._account = None - self._clouds = None - self._generic_region = None - self._date_time = None - self._user = None - self._projects = None - self._is_newly_registered = None - self._replication_configurations = None - self.discriminator = None - if account is not None: - self.account = account - if clouds is not None: - self.clouds = clouds - if generic_region is not None: - self.generic_region = generic_region - if date_time is not None: - self.date_time = date_time - if user is not None: - self.user = user - if projects is not None: - self.projects = projects - if is_newly_registered is not None: - self.is_newly_registered = is_newly_registered - if replication_configurations is not None: - self.replication_configurations = replication_configurations - - @property - def account(self): - """Gets the account of this CloudEndureExtendedAccountInfo. # noqa: E501 - - - :return: The account of this CloudEndureExtendedAccountInfo. # noqa: E501 - :rtype: CloudEndureAccount - """ - return self._account - - @account.setter - def account(self, account): - """Sets the account of this CloudEndureExtendedAccountInfo. - - - :param account: The account of this CloudEndureExtendedAccountInfo. # noqa: E501 - :type: CloudEndureAccount - """ - - self._account = account - - @property - def clouds(self): - """Gets the clouds of this CloudEndureExtendedAccountInfo. # noqa: E501 - - - :return: The clouds of this CloudEndureExtendedAccountInfo. # noqa: E501 - :rtype: CloudEndureCloudsList - """ - return self._clouds - - @clouds.setter - def clouds(self, clouds): - """Sets the clouds of this CloudEndureExtendedAccountInfo. - - - :param clouds: The clouds of this CloudEndureExtendedAccountInfo. # noqa: E501 - :type: CloudEndureCloudsList - """ - - self._clouds = clouds - - @property - def generic_region(self): - """Gets the generic_region of this CloudEndureExtendedAccountInfo. # noqa: E501 - - - :return: The generic_region of this CloudEndureExtendedAccountInfo. # noqa: E501 - :rtype: CloudEndureRegion - """ - return self._generic_region - - @generic_region.setter - def generic_region(self, generic_region): - """Sets the generic_region of this CloudEndureExtendedAccountInfo. - - - :param generic_region: The generic_region of this CloudEndureExtendedAccountInfo. # noqa: E501 - :type: CloudEndureRegion - """ - - self._generic_region = generic_region - - @property - def date_time(self): - """Gets the date_time of this CloudEndureExtendedAccountInfo. # noqa: E501 - - - :return: The date_time of this CloudEndureExtendedAccountInfo. # noqa: E501 - :rtype: CloudEndureTime - """ - return self._date_time - - @date_time.setter - def date_time(self, date_time): - """Sets the date_time of this CloudEndureExtendedAccountInfo. - - - :param date_time: The date_time of this CloudEndureExtendedAccountInfo. # noqa: E501 - :type: CloudEndureTime - """ - - self._date_time = date_time - - @property - def user(self): - """Gets the user of this CloudEndureExtendedAccountInfo. # noqa: E501 - - - :return: The user of this CloudEndureExtendedAccountInfo. # noqa: E501 - :rtype: CloudEndureUser - """ - return self._user - - @user.setter - def user(self, user): - """Sets the user of this CloudEndureExtendedAccountInfo. - - - :param user: The user of this CloudEndureExtendedAccountInfo. # noqa: E501 - :type: CloudEndureUser - """ - - self._user = user - - @property - def projects(self): - """Gets the projects of this CloudEndureExtendedAccountInfo. # noqa: E501 - - - :return: The projects of this CloudEndureExtendedAccountInfo. # noqa: E501 - :rtype: CloudEndureProjectsList - """ - return self._projects - - @projects.setter - def projects(self, projects): - """Sets the projects of this CloudEndureExtendedAccountInfo. - - - :param projects: The projects of this CloudEndureExtendedAccountInfo. # noqa: E501 - :type: CloudEndureProjectsList - """ - - self._projects = projects - - @property - def is_newly_registered(self): - """Gets the is_newly_registered of this CloudEndureExtendedAccountInfo. # noqa: E501 - - - :return: The is_newly_registered of this CloudEndureExtendedAccountInfo. # noqa: E501 - :rtype: bool - """ - return self._is_newly_registered - - @is_newly_registered.setter - def is_newly_registered(self, is_newly_registered): - """Sets the is_newly_registered of this CloudEndureExtendedAccountInfo. - - - :param is_newly_registered: The is_newly_registered of this CloudEndureExtendedAccountInfo. # noqa: E501 - :type: bool - """ - - self._is_newly_registered = is_newly_registered - - @property - def replication_configurations(self): - """Gets the replication_configurations of this CloudEndureExtendedAccountInfo. # noqa: E501 - - - :return: The replication_configurations of this CloudEndureExtendedAccountInfo. # noqa: E501 - :rtype: CloudEndureReplicationConfigurationList - """ - return self._replication_configurations - - @replication_configurations.setter - def replication_configurations(self, replication_configurations): - """Sets the replication_configurations of this CloudEndureExtendedAccountInfo. - - - :param replication_configurations: The replication_configurations of this CloudEndureExtendedAccountInfo. # noqa: E501 - :type: CloudEndureReplicationConfigurationList - """ - - self._replication_configurations = replication_configurations - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureExtendedAccountInfo, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureExtendedAccountInfo): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_find_files_parameters.py b/cloudendure/cloudendure_api/models/cloud_endure_find_files_parameters.py deleted file mode 100644 index 49a3e12fc..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_find_files_parameters.py +++ /dev/null @@ -1,138 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - - -class CloudEndureFindFilesParameters: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'query': 'str', - 'machine_i_ds': 'list[str]' - } - - attribute_map = { - 'query': 'query', - 'machine_i_ds': 'machineIDs' - } - - def __init__(self, query=None, machine_i_ds=None): # noqa: E501 - """CloudEndureFindFilesParameters - a model defined in Swagger""" # noqa: E501 - self._query = None - self._machine_i_ds = None - self.discriminator = None - self.query = query - if machine_i_ds is not None: - self.machine_i_ds = machine_i_ds - - @property - def query(self): - """Gets the query of this CloudEndureFindFilesParameters. # noqa: E501 - - - :return: The query of this CloudEndureFindFilesParameters. # noqa: E501 - :rtype: str - """ - return self._query - - @query.setter - def query(self, query): - """Sets the query of this CloudEndureFindFilesParameters. - - - :param query: The query of this CloudEndureFindFilesParameters. # noqa: E501 - :type: str - """ - if query is None: - raise ValueError("Invalid value for `query`, must not be `None`") # noqa: E501 - - self._query = query - - @property - def machine_i_ds(self): - """Gets the machine_i_ds of this CloudEndureFindFilesParameters. # noqa: E501 - - - :return: The machine_i_ds of this CloudEndureFindFilesParameters. # noqa: E501 - :rtype: list[str] - """ - return self._machine_i_ds - - @machine_i_ds.setter - def machine_i_ds(self, machine_i_ds): - """Sets the machine_i_ds of this CloudEndureFindFilesParameters. - - - :param machine_i_ds: The machine_i_ds of this CloudEndureFindFilesParameters. # noqa: E501 - :type: list[str] - """ - - self._machine_i_ds = machine_i_ds - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureFindFilesParameters, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureFindFilesParameters): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_find_files_result.py b/cloudendure/cloudendure_api/models/cloud_endure_find_files_result.py deleted file mode 100644 index adbd190e5..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_find_files_result.py +++ /dev/null @@ -1,165 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - - -class CloudEndureFindFilesResult: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'machine_id': 'str', - 'points_in_time': 'object', - 'file_path': 'str' - } - - attribute_map = { - 'machine_id': 'machineId', - 'points_in_time': 'pointsInTime', - 'file_path': 'filePath' - } - - def __init__(self, machine_id=None, points_in_time=None, file_path=None): # noqa: E501 - """CloudEndureFindFilesResult - a model defined in Swagger""" # noqa: E501 - self._machine_id = None - self._points_in_time = None - self._file_path = None - self.discriminator = None - self.machine_id = machine_id - if points_in_time is not None: - self.points_in_time = points_in_time - self.file_path = file_path - - @property - def machine_id(self): - """Gets the machine_id of this CloudEndureFindFilesResult. # noqa: E501 - - - :return: The machine_id of this CloudEndureFindFilesResult. # noqa: E501 - :rtype: str - """ - return self._machine_id - - @machine_id.setter - def machine_id(self, machine_id): - """Sets the machine_id of this CloudEndureFindFilesResult. - - - :param machine_id: The machine_id of this CloudEndureFindFilesResult. # noqa: E501 - :type: str - """ - if machine_id is None: - raise ValueError("Invalid value for `machine_id`, must not be `None`") # noqa: E501 - - self._machine_id = machine_id - - @property - def points_in_time(self): - """Gets the points_in_time of this CloudEndureFindFilesResult. # noqa: E501 - - - :return: The points_in_time of this CloudEndureFindFilesResult. # noqa: E501 - :rtype: object - """ - return self._points_in_time - - @points_in_time.setter - def points_in_time(self, points_in_time): - """Sets the points_in_time of this CloudEndureFindFilesResult. - - - :param points_in_time: The points_in_time of this CloudEndureFindFilesResult. # noqa: E501 - :type: object - """ - - self._points_in_time = points_in_time - - @property - def file_path(self): - """Gets the file_path of this CloudEndureFindFilesResult. # noqa: E501 - - - :return: The file_path of this CloudEndureFindFilesResult. # noqa: E501 - :rtype: str - """ - return self._file_path - - @file_path.setter - def file_path(self, file_path): - """Sets the file_path of this CloudEndureFindFilesResult. - - - :param file_path: The file_path of this CloudEndureFindFilesResult. # noqa: E501 - :type: str - """ - if file_path is None: - raise ValueError("Invalid value for `file_path`, must not be `None`") # noqa: E501 - - self._file_path = file_path - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureFindFilesResult, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureFindFilesResult): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_find_files_result_pit.py b/cloudendure/cloudendure_api/models/cloud_endure_find_files_result_pit.py deleted file mode 100644 index 4d64b452d..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_find_files_result_pit.py +++ /dev/null @@ -1,139 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - - -class CloudEndureFindFilesResultPit: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'id': 'str', - 'date_time': 'datetime' - } - - attribute_map = { - 'id': 'id', - 'date_time': 'dateTime' - } - - def __init__(self, id=None, date_time=None): # noqa: E501 - """CloudEndureFindFilesResultPit - a model defined in Swagger""" # noqa: E501 - self._id = None - self._date_time = None - self.discriminator = None - self.id = id - self.date_time = date_time - - @property - def id(self): - """Gets the id of this CloudEndureFindFilesResultPit. # noqa: E501 - - - :return: The id of this CloudEndureFindFilesResultPit. # noqa: E501 - :rtype: str - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this CloudEndureFindFilesResultPit. - - - :param id: The id of this CloudEndureFindFilesResultPit. # noqa: E501 - :type: str - """ - if id is None: - raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 - - self._id = id - - @property - def date_time(self): - """Gets the date_time of this CloudEndureFindFilesResultPit. # noqa: E501 - - - :return: The date_time of this CloudEndureFindFilesResultPit. # noqa: E501 - :rtype: datetime - """ - return self._date_time - - @date_time.setter - def date_time(self, date_time): - """Sets the date_time of this CloudEndureFindFilesResultPit. - - - :param date_time: The date_time of this CloudEndureFindFilesResultPit. # noqa: E501 - :type: datetime - """ - if date_time is None: - raise ValueError("Invalid value for `date_time`, must not be `None`") # noqa: E501 - - self._date_time = date_time - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureFindFilesResultPit, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureFindFilesResultPit): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_find_files_results.py b/cloudendure/cloudendure_api/models/cloud_endure_find_files_results.py deleted file mode 100644 index 20855319c..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_find_files_results.py +++ /dev/null @@ -1,194 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -from cloudendure.cloudendure_api.models.cloud_endure_find_files_result import \ - CloudEndureFindFilesResult # noqa: F401,E501 - - -class CloudEndureFindFilesResults: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'count': 'int', - 'query': 'str', - 'items': 'list[CloudEndureFindFilesResult]', - 'invalid_machine_i_ds': 'list[str]' - } - - attribute_map = { - 'count': 'count', - 'query': 'query', - 'items': 'items', - 'invalid_machine_i_ds': 'invalidMachineIDs' - } - - def __init__(self, count=None, query=None, items=None, invalid_machine_i_ds=None): # noqa: E501 - """CloudEndureFindFilesResults - a model defined in Swagger""" # noqa: E501 - self._count = None - self._query = None - self._items = None - self._invalid_machine_i_ds = None - self.discriminator = None - self.count = count - self.query = query - if items is not None: - self.items = items - if invalid_machine_i_ds is not None: - self.invalid_machine_i_ds = invalid_machine_i_ds - - @property - def count(self): - """Gets the count of this CloudEndureFindFilesResults. # noqa: E501 - - - :return: The count of this CloudEndureFindFilesResults. # noqa: E501 - :rtype: int - """ - return self._count - - @count.setter - def count(self, count): - """Sets the count of this CloudEndureFindFilesResults. - - - :param count: The count of this CloudEndureFindFilesResults. # noqa: E501 - :type: int - """ - if count is None: - raise ValueError("Invalid value for `count`, must not be `None`") # noqa: E501 - - self._count = count - - @property - def query(self): - """Gets the query of this CloudEndureFindFilesResults. # noqa: E501 - - - :return: The query of this CloudEndureFindFilesResults. # noqa: E501 - :rtype: str - """ - return self._query - - @query.setter - def query(self, query): - """Sets the query of this CloudEndureFindFilesResults. - - - :param query: The query of this CloudEndureFindFilesResults. # noqa: E501 - :type: str - """ - if query is None: - raise ValueError("Invalid value for `query`, must not be `None`") # noqa: E501 - - self._query = query - - @property - def items(self): - """Gets the items of this CloudEndureFindFilesResults. # noqa: E501 - - - :return: The items of this CloudEndureFindFilesResults. # noqa: E501 - :rtype: list[CloudEndureFindFilesResult] - """ - return self._items - - @items.setter - def items(self, items): - """Sets the items of this CloudEndureFindFilesResults. - - - :param items: The items of this CloudEndureFindFilesResults. # noqa: E501 - :type: list[CloudEndureFindFilesResult] - """ - - self._items = items - - @property - def invalid_machine_i_ds(self): - """Gets the invalid_machine_i_ds of this CloudEndureFindFilesResults. # noqa: E501 - - - :return: The invalid_machine_i_ds of this CloudEndureFindFilesResults. # noqa: E501 - :rtype: list[str] - """ - return self._invalid_machine_i_ds - - @invalid_machine_i_ds.setter - def invalid_machine_i_ds(self, invalid_machine_i_ds): - """Sets the invalid_machine_i_ds of this CloudEndureFindFilesResults. - - - :param invalid_machine_i_ds: The invalid_machine_i_ds of this CloudEndureFindFilesResults. # noqa: E501 - :type: list[str] - """ - - self._invalid_machine_i_ds = invalid_machine_i_ds - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureFindFilesResults, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureFindFilesResults): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_gcp_machines_finance_data.py b/cloudendure/cloudendure_api/models/cloud_endure_gcp_machines_finance_data.py deleted file mode 100644 index 26a794c0e..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_gcp_machines_finance_data.py +++ /dev/null @@ -1,293 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - - -class CloudEndureGcpMachinesFinanceData: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'gcp_project_name': 'str', - 'machine_name': 'str', - 'number_of_cores': 'int', - 'creation_time': 'datetime', - 'is_preemptible': 'bool', - 'has_gpu': 'bool', - 'machine_id': 'str', - 'ce_project_name': 'str' - } - - attribute_map = { - 'gcp_project_name': 'gcp_project_name', - 'machine_name': 'machine_name', - 'number_of_cores': 'number_of_cores', - 'creation_time': 'creation_time', - 'is_preemptible': 'is_preemptible', - 'has_gpu': 'has_gpu', - 'machine_id': 'machine_id', - 'ce_project_name': 'ce_project_name' - } - - def __init__(self, gcp_project_name=None, machine_name=None, number_of_cores=None, creation_time=None, is_preemptible=None, has_gpu=None, machine_id=None, ce_project_name=None): # noqa: E501 - """CloudEndureGcpMachinesFinanceData - a model defined in Swagger""" # noqa: E501 - self._gcp_project_name = None - self._machine_name = None - self._number_of_cores = None - self._creation_time = None - self._is_preemptible = None - self._has_gpu = None - self._machine_id = None - self._ce_project_name = None - self.discriminator = None - if gcp_project_name is not None: - self.gcp_project_name = gcp_project_name - if machine_name is not None: - self.machine_name = machine_name - if number_of_cores is not None: - self.number_of_cores = number_of_cores - if creation_time is not None: - self.creation_time = creation_time - if is_preemptible is not None: - self.is_preemptible = is_preemptible - if has_gpu is not None: - self.has_gpu = has_gpu - if machine_id is not None: - self.machine_id = machine_id - if ce_project_name is not None: - self.ce_project_name = ce_project_name - - @property - def gcp_project_name(self): - """Gets the gcp_project_name of this CloudEndureGcpMachinesFinanceData. # noqa: E501 - - - :return: The gcp_project_name of this CloudEndureGcpMachinesFinanceData. # noqa: E501 - :rtype: str - """ - return self._gcp_project_name - - @gcp_project_name.setter - def gcp_project_name(self, gcp_project_name): - """Sets the gcp_project_name of this CloudEndureGcpMachinesFinanceData. - - - :param gcp_project_name: The gcp_project_name of this CloudEndureGcpMachinesFinanceData. # noqa: E501 - :type: str - """ - - self._gcp_project_name = gcp_project_name - - @property - def machine_name(self): - """Gets the machine_name of this CloudEndureGcpMachinesFinanceData. # noqa: E501 - - - :return: The machine_name of this CloudEndureGcpMachinesFinanceData. # noqa: E501 - :rtype: str - """ - return self._machine_name - - @machine_name.setter - def machine_name(self, machine_name): - """Sets the machine_name of this CloudEndureGcpMachinesFinanceData. - - - :param machine_name: The machine_name of this CloudEndureGcpMachinesFinanceData. # noqa: E501 - :type: str - """ - - self._machine_name = machine_name - - @property - def number_of_cores(self): - """Gets the number_of_cores of this CloudEndureGcpMachinesFinanceData. # noqa: E501 - - - :return: The number_of_cores of this CloudEndureGcpMachinesFinanceData. # noqa: E501 - :rtype: int - """ - return self._number_of_cores - - @number_of_cores.setter - def number_of_cores(self, number_of_cores): - """Sets the number_of_cores of this CloudEndureGcpMachinesFinanceData. - - - :param number_of_cores: The number_of_cores of this CloudEndureGcpMachinesFinanceData. # noqa: E501 - :type: int - """ - - self._number_of_cores = number_of_cores - - @property - def creation_time(self): - """Gets the creation_time of this CloudEndureGcpMachinesFinanceData. # noqa: E501 - - - :return: The creation_time of this CloudEndureGcpMachinesFinanceData. # noqa: E501 - :rtype: datetime - """ - return self._creation_time - - @creation_time.setter - def creation_time(self, creation_time): - """Sets the creation_time of this CloudEndureGcpMachinesFinanceData. - - - :param creation_time: The creation_time of this CloudEndureGcpMachinesFinanceData. # noqa: E501 - :type: datetime - """ - - self._creation_time = creation_time - - @property - def is_preemptible(self): - """Gets the is_preemptible of this CloudEndureGcpMachinesFinanceData. # noqa: E501 - - - :return: The is_preemptible of this CloudEndureGcpMachinesFinanceData. # noqa: E501 - :rtype: bool - """ - return self._is_preemptible - - @is_preemptible.setter - def is_preemptible(self, is_preemptible): - """Sets the is_preemptible of this CloudEndureGcpMachinesFinanceData. - - - :param is_preemptible: The is_preemptible of this CloudEndureGcpMachinesFinanceData. # noqa: E501 - :type: bool - """ - - self._is_preemptible = is_preemptible - - @property - def has_gpu(self): - """Gets the has_gpu of this CloudEndureGcpMachinesFinanceData. # noqa: E501 - - - :return: The has_gpu of this CloudEndureGcpMachinesFinanceData. # noqa: E501 - :rtype: bool - """ - return self._has_gpu - - @has_gpu.setter - def has_gpu(self, has_gpu): - """Sets the has_gpu of this CloudEndureGcpMachinesFinanceData. - - - :param has_gpu: The has_gpu of this CloudEndureGcpMachinesFinanceData. # noqa: E501 - :type: bool - """ - - self._has_gpu = has_gpu - - @property - def machine_id(self): - """Gets the machine_id of this CloudEndureGcpMachinesFinanceData. # noqa: E501 - - - :return: The machine_id of this CloudEndureGcpMachinesFinanceData. # noqa: E501 - :rtype: str - """ - return self._machine_id - - @machine_id.setter - def machine_id(self, machine_id): - """Sets the machine_id of this CloudEndureGcpMachinesFinanceData. - - - :param machine_id: The machine_id of this CloudEndureGcpMachinesFinanceData. # noqa: E501 - :type: str - """ - - self._machine_id = machine_id - - @property - def ce_project_name(self): - """Gets the ce_project_name of this CloudEndureGcpMachinesFinanceData. # noqa: E501 - - - :return: The ce_project_name of this CloudEndureGcpMachinesFinanceData. # noqa: E501 - :rtype: str - """ - return self._ce_project_name - - @ce_project_name.setter - def ce_project_name(self, ce_project_name): - """Sets the ce_project_name of this CloudEndureGcpMachinesFinanceData. - - - :param ce_project_name: The ce_project_name of this CloudEndureGcpMachinesFinanceData. # noqa: E501 - :type: str - """ - - self._ce_project_name = ce_project_name - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureGcpMachinesFinanceData, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureGcpMachinesFinanceData): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_identity_provider_redirect_response.py b/cloudendure/cloudendure_api/models/cloud_endure_identity_provider_redirect_response.py deleted file mode 100644 index 4ec8a84fa..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_identity_provider_redirect_response.py +++ /dev/null @@ -1,111 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - - -class CloudEndureIdentityProviderRedirectResponse: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'saml_redirect': 'str' - } - - attribute_map = { - 'saml_redirect': 'samlRedirect' - } - - def __init__(self, saml_redirect=None): # noqa: E501 - """CloudEndureIdentityProviderRedirectResponse - a model defined in Swagger""" # noqa: E501 - self._saml_redirect = None - self.discriminator = None - if saml_redirect is not None: - self.saml_redirect = saml_redirect - - @property - def saml_redirect(self): - """Gets the saml_redirect of this CloudEndureIdentityProviderRedirectResponse. # noqa: E501 - - - :return: The saml_redirect of this CloudEndureIdentityProviderRedirectResponse. # noqa: E501 - :rtype: str - """ - return self._saml_redirect - - @saml_redirect.setter - def saml_redirect(self, saml_redirect): - """Sets the saml_redirect of this CloudEndureIdentityProviderRedirectResponse. - - - :param saml_redirect: The saml_redirect of this CloudEndureIdentityProviderRedirectResponse. # noqa: E501 - :type: str - """ - - self._saml_redirect = saml_redirect - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureIdentityProviderRedirectResponse, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureIdentityProviderRedirectResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_initialization_step.py b/cloudendure/cloudendure_api/models/cloud_endure_initialization_step.py deleted file mode 100644 index ba3a5a179..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_initialization_step.py +++ /dev/null @@ -1,175 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - - -class CloudEndureInitializationStep: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'status': 'str', - 'message': 'str', - 'name': 'str' - } - - attribute_map = { - 'status': 'status', - 'message': 'message', - 'name': 'name' - } - - def __init__(self, status=None, message=None, name=None): # noqa: E501 - """CloudEndureInitializationStep - a model defined in Swagger""" # noqa: E501 - self._status = None - self._message = None - self._name = None - self.discriminator = None - if status is not None: - self.status = status - if message is not None: - self.message = message - if name is not None: - self.name = name - - @property - def status(self): - """Gets the status of this CloudEndureInitializationStep. # noqa: E501 - - - :return: The status of this CloudEndureInitializationStep. # noqa: E501 - :rtype: str - """ - return self._status - - @status.setter - def status(self, status): - """Sets the status of this CloudEndureInitializationStep. - - - :param status: The status of this CloudEndureInitializationStep. # noqa: E501 - :type: str - """ - allowed_values = ["NOT_STARTED", "STARTED", "SUCCEEDED", "FAILED", "SKIPPED"] # noqa: E501 - if status not in allowed_values: - raise ValueError( - "Invalid value for `status` ({0}), must be one of {1}" # noqa: E501 - .format(status, allowed_values) - ) - - self._status = status - - @property - def message(self): - """Gets the message of this CloudEndureInitializationStep. # noqa: E501 - - - :return: The message of this CloudEndureInitializationStep. # noqa: E501 - :rtype: str - """ - return self._message - - @message.setter - def message(self, message): - """Sets the message of this CloudEndureInitializationStep. - - - :param message: The message of this CloudEndureInitializationStep. # noqa: E501 - :type: str - """ - - self._message = message - - @property - def name(self): - """Gets the name of this CloudEndureInitializationStep. # noqa: E501 - - - :return: The name of this CloudEndureInitializationStep. # noqa: E501 - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this CloudEndureInitializationStep. - - - :param name: The name of this CloudEndureInitializationStep. # noqa: E501 - :type: str - """ - allowed_values = ["WAITING_TO_INITIATE_REPLICATION", "CREATING_FIREWALL_RULES", "CREATING_REPLICATION_SERVER", "BOOTING_REPLICATION_SERVER", "RESOLVING_MANAGEMENT_SERVER_ADDRESS", "AUTHENTICATING_WITH_MANAGEMENT_SERVER", "DOWNLOADING_REPLICATION_SOFTWARE", "CREATING_REPLICATION_DISKS", "ATTACHING_REPLICATION_DISKS", "PAIRING_REPLICATION_SERVER_WITH_AGENT", "ESTABLISHING_AGENT_REPLICATOR_COMMUNICATION"] # noqa: E501 - if name not in allowed_values: - raise ValueError( - "Invalid value for `name` ({0}), must be one of {1}" # noqa: E501 - .format(name, allowed_values) - ) - - self._name = name - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureInitializationStep, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureInitializationStep): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_job.py b/cloudendure/cloudendure_api/models/cloud_endure_job.py deleted file mode 100644 index 86cf61000..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_job.py +++ /dev/null @@ -1,309 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - - -class CloudEndureJob: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'status': 'str', - 'participating_machines': 'list[str]', - 'log': 'list[object]', - 'type': 'str', - 'end_date_time': 'datetime', - 'creation_date_time': 'datetime', - 'id': 'str', - 'initiated_by': 'str' - } - - attribute_map = { - 'status': 'status', - 'participating_machines': 'participatingMachines', - 'log': 'log', - 'type': 'type', - 'end_date_time': 'endDateTime', - 'creation_date_time': 'creationDateTime', - 'id': 'id', - 'initiated_by': 'initiatedBy' - } - - def __init__(self, status=None, participating_machines=None, log=None, type=None, end_date_time=None, creation_date_time=None, id=None, initiated_by=None): # noqa: E501 - """CloudEndureJob - a model defined in Swagger""" # noqa: E501 - self._status = None - self._participating_machines = None - self._log = None - self._type = None - self._end_date_time = None - self._creation_date_time = None - self._id = None - self._initiated_by = None - self.discriminator = None - if status is not None: - self.status = status - if participating_machines is not None: - self.participating_machines = participating_machines - if log is not None: - self.log = log - if type is not None: - self.type = type - if end_date_time is not None: - self.end_date_time = end_date_time - if creation_date_time is not None: - self.creation_date_time = creation_date_time - if id is not None: - self.id = id - if initiated_by is not None: - self.initiated_by = initiated_by - - @property - def status(self): - """Gets the status of this CloudEndureJob. # noqa: E501 - - - :return: The status of this CloudEndureJob. # noqa: E501 - :rtype: str - """ - return self._status - - @status.setter - def status(self, status): - """Sets the status of this CloudEndureJob. - - - :param status: The status of this CloudEndureJob. # noqa: E501 - :type: str - """ - allowed_values = ["PENDING", "STARTED", "COMPLETED", "FAILED"] # noqa: E501 - if status not in allowed_values: - raise ValueError( - "Invalid value for `status` ({0}), must be one of {1}" # noqa: E501 - .format(status, allowed_values) - ) - - self._status = status - - @property - def participating_machines(self): - """Gets the participating_machines of this CloudEndureJob. # noqa: E501 - - - :return: The participating_machines of this CloudEndureJob. # noqa: E501 - :rtype: list[str] - """ - return self._participating_machines - - @participating_machines.setter - def participating_machines(self, participating_machines): - """Sets the participating_machines of this CloudEndureJob. - - - :param participating_machines: The participating_machines of this CloudEndureJob. # noqa: E501 - :type: list[str] - """ - - self._participating_machines = participating_machines - - @property - def log(self): - """Gets the log of this CloudEndureJob. # noqa: E501 - - - :return: The log of this CloudEndureJob. # noqa: E501 - :rtype: list[object] - """ - return self._log - - @log.setter - def log(self, log): - """Sets the log of this CloudEndureJob. - - - :param log: The log of this CloudEndureJob. # noqa: E501 - :type: list[object] - """ - - self._log = log - - @property - def type(self): - """Gets the type of this CloudEndureJob. # noqa: E501 - - todo explian that cleanup is also for restore servers # noqa: E501 - - :return: The type of this CloudEndureJob. # noqa: E501 - :rtype: str - """ - return self._type - - @type.setter - def type(self, type): - """Sets the type of this CloudEndureJob. - - todo explian that cleanup is also for restore servers # noqa: E501 - - :param type: The type of this CloudEndureJob. # noqa: E501 - :type: str - """ - allowed_values = ["CLEANUP", "CUTOVER_LAUNCH", "RECOVERY_LAUNCH", "RESTORE_LAUNCH", "TEST_LAUNCH", "CONSOLIDATE_VMDKS", "FILE_RESTORE", "RECOVERY_PLAN_RECOVERY", "RECOVERY_PLAN_TEST", "RECOVERY_PLAN_CUTOVER", "RECOVERY_PLAN_CLEANUP"] # noqa: E501 - if type not in allowed_values: - raise ValueError( - "Invalid value for `type` ({0}), must be one of {1}" # noqa: E501 - .format(type, allowed_values) - ) - - self._type = type - - @property - def end_date_time(self): - """Gets the end_date_time of this CloudEndureJob. # noqa: E501 - - - :return: The end_date_time of this CloudEndureJob. # noqa: E501 - :rtype: datetime - """ - return self._end_date_time - - @end_date_time.setter - def end_date_time(self, end_date_time): - """Sets the end_date_time of this CloudEndureJob. - - - :param end_date_time: The end_date_time of this CloudEndureJob. # noqa: E501 - :type: datetime - """ - - self._end_date_time = end_date_time - - @property - def creation_date_time(self): - """Gets the creation_date_time of this CloudEndureJob. # noqa: E501 - - - :return: The creation_date_time of this CloudEndureJob. # noqa: E501 - :rtype: datetime - """ - return self._creation_date_time - - @creation_date_time.setter - def creation_date_time(self, creation_date_time): - """Sets the creation_date_time of this CloudEndureJob. - - - :param creation_date_time: The creation_date_time of this CloudEndureJob. # noqa: E501 - :type: datetime - """ - - self._creation_date_time = creation_date_time - - @property - def id(self): - """Gets the id of this CloudEndureJob. # noqa: E501 - - - :return: The id of this CloudEndureJob. # noqa: E501 - :rtype: str - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this CloudEndureJob. - - - :param id: The id of this CloudEndureJob. # noqa: E501 - :type: str - """ - - self._id = id - - @property - def initiated_by(self): - """Gets the initiated_by of this CloudEndureJob. # noqa: E501 - - username of user who initiated the job # noqa: E501 - - :return: The initiated_by of this CloudEndureJob. # noqa: E501 - :rtype: str - """ - return self._initiated_by - - @initiated_by.setter - def initiated_by(self, initiated_by): - """Sets the initiated_by of this CloudEndureJob. - - username of user who initiated the job # noqa: E501 - - :param initiated_by: The initiated_by of this CloudEndureJob. # noqa: E501 - :type: str - """ - - self._initiated_by = initiated_by - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureJob, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureJob): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_jobs_list.py b/cloudendure/cloudendure_api/models/cloud_endure_jobs_list.py deleted file mode 100644 index 98434644d..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_jobs_list.py +++ /dev/null @@ -1,113 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -from cloudendure.cloudendure_api.models.cloud_endure_job import CloudEndureJob # noqa: F401,E501 - - -class CloudEndureJobsList: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'items': 'list[CloudEndureJob]' - } - - attribute_map = { - 'items': 'items' - } - - def __init__(self, items=None): # noqa: E501 - """CloudEndureJobsList - a model defined in Swagger""" # noqa: E501 - self._items = None - self.discriminator = None - if items is not None: - self.items = items - - @property - def items(self): - """Gets the items of this CloudEndureJobsList. # noqa: E501 - - - :return: The items of this CloudEndureJobsList. # noqa: E501 - :rtype: list[CloudEndureJob] - """ - return self._items - - @items.setter - def items(self, items): - """Sets the items of this CloudEndureJobsList. - - - :param items: The items of this CloudEndureJobsList. # noqa: E501 - :type: list[CloudEndureJob] - """ - - self._items = items - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureJobsList, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureJobsList): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_key_value_list.py b/cloudendure/cloudendure_api/models/cloud_endure_key_value_list.py deleted file mode 100644 index 2089bf073..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_key_value_list.py +++ /dev/null @@ -1,111 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - - -class CloudEndureKeyValueList: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'items': 'list[object]' - } - - attribute_map = { - 'items': 'items' - } - - def __init__(self, items=None): # noqa: E501 - """CloudEndureKeyValueList - a model defined in Swagger""" # noqa: E501 - self._items = None - self.discriminator = None - if items is not None: - self.items = items - - @property - def items(self): - """Gets the items of this CloudEndureKeyValueList. # noqa: E501 - - - :return: The items of this CloudEndureKeyValueList. # noqa: E501 - :rtype: list[object] - """ - return self._items - - @items.setter - def items(self, items): - """Sets the items of this CloudEndureKeyValueList. - - - :param items: The items of this CloudEndureKeyValueList. # noqa: E501 - :type: list[object] - """ - - self._items = items - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureKeyValueList, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureKeyValueList): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_launch_machines_parameters.py b/cloudendure/cloudendure_api/models/cloud_endure_launch_machines_parameters.py deleted file mode 100644 index bd4bc6320..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_launch_machines_parameters.py +++ /dev/null @@ -1,173 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -from cloudendure.cloudendure_api.models.cloud_endure_machine_and_point_in_time import \ - CloudEndureMachineAndPointInTime # noqa: F401,E501 - - -class CloudEndureLaunchMachinesParameters: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'items': 'list[CloudEndureMachineAndPointInTime]', - 'launch_type': 'str', - 'debug_scripts': 'object' - } - - attribute_map = { - 'items': 'items', - 'launch_type': 'launchType', - 'debug_scripts': 'debugScripts' - } - - def __init__(self, items=None, launch_type=None, debug_scripts=None): # noqa: E501 - """CloudEndureLaunchMachinesParameters - a model defined in Swagger""" # noqa: E501 - self._items = None - self._launch_type = None - self._debug_scripts = None - self.discriminator = None - if items is not None: - self.items = items - self.launch_type = launch_type - if debug_scripts is not None: - self.debug_scripts = debug_scripts - - @property - def items(self): - """Gets the items of this CloudEndureLaunchMachinesParameters. # noqa: E501 - - - :return: The items of this CloudEndureLaunchMachinesParameters. # noqa: E501 - :rtype: list[CloudEndureMachineAndPointInTime] - """ - return self._items - - @items.setter - def items(self, items): - """Sets the items of this CloudEndureLaunchMachinesParameters. - - - :param items: The items of this CloudEndureLaunchMachinesParameters. # noqa: E501 - :type: list[CloudEndureMachineAndPointInTime] - """ - - self._items = items - - @property - def launch_type(self): - """Gets the launch_type of this CloudEndureLaunchMachinesParameters. # noqa: E501 - - - :return: The launch_type of this CloudEndureLaunchMachinesParameters. # noqa: E501 - :rtype: str - """ - return self._launch_type - - @launch_type.setter - def launch_type(self, launch_type): - """Sets the launch_type of this CloudEndureLaunchMachinesParameters. - - - :param launch_type: The launch_type of this CloudEndureLaunchMachinesParameters. # noqa: E501 - :type: str - """ - if launch_type is None: - raise ValueError("Invalid value for `launch_type`, must not be `None`") # noqa: E501 - allowed_values = ["TEST", "RECOVERY", "CUTOVER", "DEBUG"] # noqa: E501 - if launch_type not in allowed_values: - raise ValueError( - "Invalid value for `launch_type` ({0}), must be one of {1}" # noqa: E501 - .format(launch_type, allowed_values) - ) - - self._launch_type = launch_type - - @property - def debug_scripts(self): - """Gets the debug_scripts of this CloudEndureLaunchMachinesParameters. # noqa: E501 - - - :return: The debug_scripts of this CloudEndureLaunchMachinesParameters. # noqa: E501 - :rtype: object - """ - return self._debug_scripts - - @debug_scripts.setter - def debug_scripts(self, debug_scripts): - """Sets the debug_scripts of this CloudEndureLaunchMachinesParameters. - - - :param debug_scripts: The debug_scripts of this CloudEndureLaunchMachinesParameters. # noqa: E501 - :type: object - """ - - self._debug_scripts = debug_scripts - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureLaunchMachinesParameters, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureLaunchMachinesParameters): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_license.py b/cloudendure/cloudendure_api/models/cloud_endure_license.py deleted file mode 100644 index 21cfc31e9..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_license.py +++ /dev/null @@ -1,312 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -from cloudendure.cloudendure_api.models.cloud_endure_license_features import \ - CloudEndureLicenseFeatures # noqa: F401,E501 - - -class CloudEndureLicense: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'count': 'int', - 'duration_from_start_of_use': 'str', - 'used': 'int', - 'features': 'CloudEndureLicenseFeatures', - 'expiration_date_time': 'datetime', - 'ce_admin_properties': 'object', - 'type': 'str', - 'id': 'str' - } - - attribute_map = { - 'count': 'count', - 'duration_from_start_of_use': 'durationFromStartOfUse', - 'used': 'used', - 'features': 'features', - 'expiration_date_time': 'expirationDateTime', - 'ce_admin_properties': 'ceAdminProperties', - 'type': 'type', - 'id': 'id' - } - - def __init__(self, count=None, duration_from_start_of_use=None, used=None, features=None, expiration_date_time=None, ce_admin_properties=None, type=None, id=None): # noqa: E501 - """CloudEndureLicense - a model defined in Swagger""" # noqa: E501 - self._count = None - self._duration_from_start_of_use = None - self._used = None - self._features = None - self._expiration_date_time = None - self._ce_admin_properties = None - self._type = None - self._id = None - self.discriminator = None - if count is not None: - self.count = count - if duration_from_start_of_use is not None: - self.duration_from_start_of_use = duration_from_start_of_use - if used is not None: - self.used = used - if features is not None: - self.features = features - if expiration_date_time is not None: - self.expiration_date_time = expiration_date_time - if ce_admin_properties is not None: - self.ce_admin_properties = ce_admin_properties - if type is not None: - self.type = type - if id is not None: - self.id = id - - @property - def count(self): - """Gets the count of this CloudEndureLicense. # noqa: E501 - - The total number of licenses. # noqa: E501 - - :return: The count of this CloudEndureLicense. # noqa: E501 - :rtype: int - """ - return self._count - - @count.setter - def count(self, count): - """Sets the count of this CloudEndureLicense. - - The total number of licenses. # noqa: E501 - - :param count: The count of this CloudEndureLicense. # noqa: E501 - :type: int - """ - - self._count = count - - @property - def duration_from_start_of_use(self): - """Gets the duration_from_start_of_use of this CloudEndureLicense. # noqa: E501 - - Validity period for a a single license from the time of agent installation. # noqa: E501 - - :return: The duration_from_start_of_use of this CloudEndureLicense. # noqa: E501 - :rtype: str - """ - return self._duration_from_start_of_use - - @duration_from_start_of_use.setter - def duration_from_start_of_use(self, duration_from_start_of_use): - """Sets the duration_from_start_of_use of this CloudEndureLicense. - - Validity period for a a single license from the time of agent installation. # noqa: E501 - - :param duration_from_start_of_use: The duration_from_start_of_use of this CloudEndureLicense. # noqa: E501 - :type: str - """ - - self._duration_from_start_of_use = duration_from_start_of_use - - @property - def used(self): - """Gets the used of this CloudEndureLicense. # noqa: E501 - - How many licenses have already been consumed. # noqa: E501 - - :return: The used of this CloudEndureLicense. # noqa: E501 - :rtype: int - """ - return self._used - - @used.setter - def used(self, used): - """Sets the used of this CloudEndureLicense. - - How many licenses have already been consumed. # noqa: E501 - - :param used: The used of this CloudEndureLicense. # noqa: E501 - :type: int - """ - - self._used = used - - @property - def features(self): - """Gets the features of this CloudEndureLicense. # noqa: E501 - - - :return: The features of this CloudEndureLicense. # noqa: E501 - :rtype: CloudEndureLicenseFeatures - """ - return self._features - - @features.setter - def features(self, features): - """Sets the features of this CloudEndureLicense. - - - :param features: The features of this CloudEndureLicense. # noqa: E501 - :type: CloudEndureLicenseFeatures - """ - - self._features = features - - @property - def expiration_date_time(self): - """Gets the expiration_date_time of this CloudEndureLicense. # noqa: E501 - - - :return: The expiration_date_time of this CloudEndureLicense. # noqa: E501 - :rtype: datetime - """ - return self._expiration_date_time - - @expiration_date_time.setter - def expiration_date_time(self, expiration_date_time): - """Sets the expiration_date_time of this CloudEndureLicense. - - - :param expiration_date_time: The expiration_date_time of this CloudEndureLicense. # noqa: E501 - :type: datetime - """ - - self._expiration_date_time = expiration_date_time - - @property - def ce_admin_properties(self): - """Gets the ce_admin_properties of this CloudEndureLicense. # noqa: E501 - - For internal use. # noqa: E501 - - :return: The ce_admin_properties of this CloudEndureLicense. # noqa: E501 - :rtype: object - """ - return self._ce_admin_properties - - @ce_admin_properties.setter - def ce_admin_properties(self, ce_admin_properties): - """Sets the ce_admin_properties of this CloudEndureLicense. - - For internal use. # noqa: E501 - - :param ce_admin_properties: The ce_admin_properties of this CloudEndureLicense. # noqa: E501 - :type: object - """ - - self._ce_admin_properties = ce_admin_properties - - @property - def type(self): - """Gets the type of this CloudEndureLicense. # noqa: E501 - - License type. DR licenses can be moved from one machine to another. Migration licenses are consumed upon installation. # noqa: E501 - - :return: The type of this CloudEndureLicense. # noqa: E501 - :rtype: str - """ - return self._type - - @type.setter - def type(self, type): - """Sets the type of this CloudEndureLicense. - - License type. DR licenses can be moved from one machine to another. Migration licenses are consumed upon installation. # noqa: E501 - - :param type: The type of this CloudEndureLicense. # noqa: E501 - :type: str - """ - allowed_values = ["MIGRATION", "DR", "BACKUP", "DR_TRIAL"] # noqa: E501 - if type not in allowed_values: - raise ValueError( - "Invalid value for `type` ({0}), must be one of {1}" # noqa: E501 - .format(type, allowed_values) - ) - - self._type = type - - @property - def id(self): - """Gets the id of this CloudEndureLicense. # noqa: E501 - - - :return: The id of this CloudEndureLicense. # noqa: E501 - :rtype: str - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this CloudEndureLicense. - - - :param id: The id of this CloudEndureLicense. # noqa: E501 - :type: str - """ - - self._id = id - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureLicense, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureLicense): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_license_features.py b/cloudendure/cloudendure_api/models/cloud_endure_license_features.py deleted file mode 100644 index 9608a1717..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_license_features.py +++ /dev/null @@ -1,137 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - - -class CloudEndureLicenseFeatures: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'pit': 'bool', - 'dr_tier2': 'bool' - } - - attribute_map = { - 'pit': 'pit', - 'dr_tier2': 'drTier2' - } - - def __init__(self, pit=None, dr_tier2=None): # noqa: E501 - """CloudEndureLicenseFeatures - a model defined in Swagger""" # noqa: E501 - self._pit = None - self._dr_tier2 = None - self.discriminator = None - if pit is not None: - self.pit = pit - if dr_tier2 is not None: - self.dr_tier2 = dr_tier2 - - @property - def pit(self): - """Gets the pit of this CloudEndureLicenseFeatures. # noqa: E501 - - - :return: The pit of this CloudEndureLicenseFeatures. # noqa: E501 - :rtype: bool - """ - return self._pit - - @pit.setter - def pit(self, pit): - """Sets the pit of this CloudEndureLicenseFeatures. - - - :param pit: The pit of this CloudEndureLicenseFeatures. # noqa: E501 - :type: bool - """ - - self._pit = pit - - @property - def dr_tier2(self): - """Gets the dr_tier2 of this CloudEndureLicenseFeatures. # noqa: E501 - - - :return: The dr_tier2 of this CloudEndureLicenseFeatures. # noqa: E501 - :rtype: bool - """ - return self._dr_tier2 - - @dr_tier2.setter - def dr_tier2(self, dr_tier2): - """Sets the dr_tier2 of this CloudEndureLicenseFeatures. - - - :param dr_tier2: The dr_tier2 of this CloudEndureLicenseFeatures. # noqa: E501 - :type: bool - """ - - self._dr_tier2 = dr_tier2 - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureLicenseFeatures, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureLicenseFeatures): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_license_list.py b/cloudendure/cloudendure_api/models/cloud_endure_license_list.py deleted file mode 100644 index 44936090b..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_license_list.py +++ /dev/null @@ -1,113 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -from cloudendure.cloudendure_api.models.cloud_endure_license import CloudEndureLicense # noqa: F401,E501 - - -class CloudEndureLicenseList: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'items': 'list[CloudEndureLicense]' - } - - attribute_map = { - 'items': 'items' - } - - def __init__(self, items=None): # noqa: E501 - """CloudEndureLicenseList - a model defined in Swagger""" # noqa: E501 - self._items = None - self.discriminator = None - if items is not None: - self.items = items - - @property - def items(self): - """Gets the items of this CloudEndureLicenseList. # noqa: E501 - - - :return: The items of this CloudEndureLicenseList. # noqa: E501 - :rtype: list[CloudEndureLicense] - """ - return self._items - - @items.setter - def items(self, items): - """Sets the items of this CloudEndureLicenseList. - - - :param items: The items of this CloudEndureLicenseList. # noqa: E501 - :type: list[CloudEndureLicense] - """ - - self._items = items - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureLicenseList, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureLicenseList): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_list_users_result.py b/cloudendure/cloudendure_api/models/cloud_endure_list_users_result.py deleted file mode 100644 index 7e1dc80c3..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_list_users_result.py +++ /dev/null @@ -1,215 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - - -class CloudEndureListUsersResult: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'username': 'str', - 'is_account_owner': 'bool', - 'state': 'str', - 'version': 'str', - 'account_uuid': 'str' - } - - attribute_map = { - 'username': 'username', - 'is_account_owner': 'is_account_owner', - 'state': 'state', - 'version': 'version', - 'account_uuid': 'account_uuid' - } - - def __init__(self, username=None, is_account_owner=None, state=None, version=None, account_uuid=None): # noqa: E501 - """CloudEndureListUsersResult - a model defined in Swagger""" # noqa: E501 - self._username = None - self._is_account_owner = None - self._state = None - self._version = None - self._account_uuid = None - self.discriminator = None - if username is not None: - self.username = username - if is_account_owner is not None: - self.is_account_owner = is_account_owner - if state is not None: - self.state = state - if version is not None: - self.version = version - if account_uuid is not None: - self.account_uuid = account_uuid - - @property - def username(self): - """Gets the username of this CloudEndureListUsersResult. # noqa: E501 - - - :return: The username of this CloudEndureListUsersResult. # noqa: E501 - :rtype: str - """ - return self._username - - @username.setter - def username(self, username): - """Sets the username of this CloudEndureListUsersResult. - - - :param username: The username of this CloudEndureListUsersResult. # noqa: E501 - :type: str - """ - - self._username = username - - @property - def is_account_owner(self): - """Gets the is_account_owner of this CloudEndureListUsersResult. # noqa: E501 - - - :return: The is_account_owner of this CloudEndureListUsersResult. # noqa: E501 - :rtype: bool - """ - return self._is_account_owner - - @is_account_owner.setter - def is_account_owner(self, is_account_owner): - """Sets the is_account_owner of this CloudEndureListUsersResult. - - - :param is_account_owner: The is_account_owner of this CloudEndureListUsersResult. # noqa: E501 - :type: bool - """ - - self._is_account_owner = is_account_owner - - @property - def state(self): - """Gets the state of this CloudEndureListUsersResult. # noqa: E501 - - - :return: The state of this CloudEndureListUsersResult. # noqa: E501 - :rtype: str - """ - return self._state - - @state.setter - def state(self, state): - """Sets the state of this CloudEndureListUsersResult. - - - :param state: The state of this CloudEndureListUsersResult. # noqa: E501 - :type: str - """ - - self._state = state - - @property - def version(self): - """Gets the version of this CloudEndureListUsersResult. # noqa: E501 - - - :return: The version of this CloudEndureListUsersResult. # noqa: E501 - :rtype: str - """ - return self._version - - @version.setter - def version(self, version): - """Sets the version of this CloudEndureListUsersResult. - - - :param version: The version of this CloudEndureListUsersResult. # noqa: E501 - :type: str - """ - - self._version = version - - @property - def account_uuid(self): - """Gets the account_uuid of this CloudEndureListUsersResult. # noqa: E501 - - - :return: The account_uuid of this CloudEndureListUsersResult. # noqa: E501 - :rtype: str - """ - return self._account_uuid - - @account_uuid.setter - def account_uuid(self, account_uuid): - """Sets the account_uuid of this CloudEndureListUsersResult. - - - :param account_uuid: The account_uuid of this CloudEndureListUsersResult. # noqa: E501 - :type: str - """ - - self._account_uuid = account_uuid - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureListUsersResult, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureListUsersResult): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_list_users_results.py b/cloudendure/cloudendure_api/models/cloud_endure_list_users_results.py deleted file mode 100644 index f8cc4d664..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_list_users_results.py +++ /dev/null @@ -1,114 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -from cloudendure.cloudendure_api.models.cloud_endure_list_users_result import \ - CloudEndureListUsersResult # noqa: F401,E501 - - -class CloudEndureListUsersResults: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'items': 'list[CloudEndureListUsersResult]' - } - - attribute_map = { - 'items': 'items' - } - - def __init__(self, items=None): # noqa: E501 - """CloudEndureListUsersResults - a model defined in Swagger""" # noqa: E501 - self._items = None - self.discriminator = None - if items is not None: - self.items = items - - @property - def items(self): - """Gets the items of this CloudEndureListUsersResults. # noqa: E501 - - - :return: The items of this CloudEndureListUsersResults. # noqa: E501 - :rtype: list[CloudEndureListUsersResult] - """ - return self._items - - @items.setter - def items(self, items): - """Sets the items of this CloudEndureListUsersResults. - - - :param items: The items of this CloudEndureListUsersResults. # noqa: E501 - :type: list[CloudEndureListUsersResult] - """ - - self._items = items - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureListUsersResults, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureListUsersResults): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_logical_location.py b/cloudendure/cloudendure_api/models/cloud_endure_logical_location.py deleted file mode 100644 index 78bbae0ea..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_logical_location.py +++ /dev/null @@ -1,137 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - - -class CloudEndureLogicalLocation: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'location_id': 'str', - 'name': 'str' - } - - attribute_map = { - 'location_id': 'locationId', - 'name': 'name' - } - - def __init__(self, location_id=None, name=None): # noqa: E501 - """CloudEndureLogicalLocation - a model defined in Swagger""" # noqa: E501 - self._location_id = None - self._name = None - self.discriminator = None - if location_id is not None: - self.location_id = location_id - if name is not None: - self.name = name - - @property - def location_id(self): - """Gets the location_id of this CloudEndureLogicalLocation. # noqa: E501 - - - :return: The location_id of this CloudEndureLogicalLocation. # noqa: E501 - :rtype: str - """ - return self._location_id - - @location_id.setter - def location_id(self, location_id): - """Sets the location_id of this CloudEndureLogicalLocation. - - - :param location_id: The location_id of this CloudEndureLogicalLocation. # noqa: E501 - :type: str - """ - - self._location_id = location_id - - @property - def name(self): - """Gets the name of this CloudEndureLogicalLocation. # noqa: E501 - - - :return: The name of this CloudEndureLogicalLocation. # noqa: E501 - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this CloudEndureLogicalLocation. - - - :param name: The name of this CloudEndureLogicalLocation. # noqa: E501 - :type: str - """ - - self._name = name - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureLogicalLocation, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureLogicalLocation): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_machine.py b/cloudendure/cloudendure_api/models/cloud_endure_machine.py deleted file mode 100644 index 0cdc8e439..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_machine.py +++ /dev/null @@ -1,423 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -from cloudendure.cloudendure_api.models.cloud_endure_machine_replication_configuration import \ - CloudEndureMachineReplicationConfiguration # noqa: F401,E501 -from cloudendure.cloudendure_api.models.cloud_endure_point_in_time import CloudEndurePointInTime # noqa: F401,E501 - - -class CloudEndureMachine: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'source_properties': 'object', - 'replication_info': 'object', - 'license': 'object', - 'tags': 'list[str]', - 'restore_servers': 'list[str]', - 'from_point_in_time': 'CloudEndurePointInTime', - 'replication_status': 'str', - 'replica': 'str', - 'id': 'str', - 'replication_configuration': 'CloudEndureMachineReplicationConfiguration', - 'life_cycle': 'object', - 'is_agent_installed': 'bool' - } - - attribute_map = { - 'source_properties': 'sourceProperties', - 'replication_info': 'replicationInfo', - 'license': 'license', - 'tags': 'tags', - 'restore_servers': 'restoreServers', - 'from_point_in_time': 'fromPointInTime', - 'replication_status': 'replicationStatus', - 'replica': 'replica', - 'id': 'id', - 'replication_configuration': 'replicationConfiguration', - 'life_cycle': 'lifeCycle', - 'is_agent_installed': 'isAgentInstalled' - } - - def __init__(self, source_properties=None, replication_info=None, license=None, tags=None, restore_servers=None, from_point_in_time=None, replication_status=None, replica=None, id=None, replication_configuration=None, life_cycle=None, is_agent_installed=None): # noqa: E501 - """CloudEndureMachine - a model defined in Swagger""" # noqa: E501 - self._source_properties = None - self._replication_info = None - self._license = None - self._tags = None - self._restore_servers = None - self._from_point_in_time = None - self._replication_status = None - self._replica = None - self._id = None - self._replication_configuration = None - self._life_cycle = None - self._is_agent_installed = None - self.discriminator = None - if source_properties is not None: - self.source_properties = source_properties - if replication_info is not None: - self.replication_info = replication_info - if license is not None: - self.license = license - if tags is not None: - self.tags = tags - if restore_servers is not None: - self.restore_servers = restore_servers - if from_point_in_time is not None: - self.from_point_in_time = from_point_in_time - if replication_status is not None: - self.replication_status = replication_status - if replica is not None: - self.replica = replica - if id is not None: - self.id = id - if replication_configuration is not None: - self.replication_configuration = replication_configuration - if life_cycle is not None: - self.life_cycle = life_cycle - if is_agent_installed is not None: - self.is_agent_installed = is_agent_installed - - @property - def source_properties(self): - """Gets the source_properties of this CloudEndureMachine. # noqa: E501 - - Source machine properties. # noqa: E501 - - :return: The source_properties of this CloudEndureMachine. # noqa: E501 - :rtype: object - """ - return self._source_properties - - @source_properties.setter - def source_properties(self, source_properties): - """Sets the source_properties of this CloudEndureMachine. - - Source machine properties. # noqa: E501 - - :param source_properties: The source_properties of this CloudEndureMachine. # noqa: E501 - :type: object - """ - - self._source_properties = source_properties - - @property - def replication_info(self): - """Gets the replication_info of this CloudEndureMachine. # noqa: E501 - - Detailed information on the state of replication. # noqa: E501 - - :return: The replication_info of this CloudEndureMachine. # noqa: E501 - :rtype: object - """ - return self._replication_info - - @replication_info.setter - def replication_info(self, replication_info): - """Sets the replication_info of this CloudEndureMachine. - - Detailed information on the state of replication. # noqa: E501 - - :param replication_info: The replication_info of this CloudEndureMachine. # noqa: E501 - :type: object - """ - - self._replication_info = replication_info - - @property - def license(self): - """Gets the license of this CloudEndureMachine. # noqa: E501 - - Detailed machine license consumption information. # noqa: E501 - - :return: The license of this CloudEndureMachine. # noqa: E501 - :rtype: object - """ - return self._license - - @license.setter - def license(self, license): - """Sets the license of this CloudEndureMachine. - - Detailed machine license consumption information. # noqa: E501 - - :param license: The license of this CloudEndureMachine. # noqa: E501 - :type: object - """ - - self._license = license - - @property - def tags(self): - """Gets the tags of this CloudEndureMachine. # noqa: E501 - - - :return: The tags of this CloudEndureMachine. # noqa: E501 - :rtype: list[str] - """ - return self._tags - - @tags.setter - def tags(self, tags): - """Sets the tags of this CloudEndureMachine. - - - :param tags: The tags of this CloudEndureMachine. # noqa: E501 - :type: list[str] - """ - - self._tags = tags - - @property - def restore_servers(self): - """Gets the restore_servers of this CloudEndureMachine. # noqa: E501 - - todo restoreServer ids # noqa: E501 - - :return: The restore_servers of this CloudEndureMachine. # noqa: E501 - :rtype: list[str] - """ - return self._restore_servers - - @restore_servers.setter - def restore_servers(self, restore_servers): - """Sets the restore_servers of this CloudEndureMachine. - - todo restoreServer ids # noqa: E501 - - :param restore_servers: The restore_servers of this CloudEndureMachine. # noqa: E501 - :type: list[str] - """ - - self._restore_servers = restore_servers - - @property - def from_point_in_time(self): - """Gets the from_point_in_time of this CloudEndureMachine. # noqa: E501 - - - :return: The from_point_in_time of this CloudEndureMachine. # noqa: E501 - :rtype: CloudEndurePointInTime - """ - return self._from_point_in_time - - @from_point_in_time.setter - def from_point_in_time(self, from_point_in_time): - """Sets the from_point_in_time of this CloudEndureMachine. - - - :param from_point_in_time: The from_point_in_time of this CloudEndureMachine. # noqa: E501 - :type: CloudEndurePointInTime - """ - - self._from_point_in_time = from_point_in_time - - @property - def replication_status(self): - """Gets the replication_status of this CloudEndureMachine. # noqa: E501 - - Is replication started, paused or stopped # noqa: E501 - - :return: The replication_status of this CloudEndureMachine. # noqa: E501 - :rtype: str - """ - return self._replication_status - - @replication_status.setter - def replication_status(self, replication_status): - """Sets the replication_status of this CloudEndureMachine. - - Is replication started, paused or stopped # noqa: E501 - - :param replication_status: The replication_status of this CloudEndureMachine. # noqa: E501 - :type: str - """ - allowed_values = ["STOPPED", "PAUSED", "STARTED"] # noqa: E501 - if replication_status not in allowed_values: - raise ValueError( - "Invalid value for `replication_status` ({0}), must be one of {1}" # noqa: E501 - .format(replication_status, allowed_values) - ) - - self._replication_status = replication_status - - @property - def replica(self): - """Gets the replica of this CloudEndureMachine. # noqa: E501 - - The ID of the target machine that has been previously launched, if such exists. # noqa: E501 - - :return: The replica of this CloudEndureMachine. # noqa: E501 - :rtype: str - """ - return self._replica - - @replica.setter - def replica(self, replica): - """Sets the replica of this CloudEndureMachine. - - The ID of the target machine that has been previously launched, if such exists. # noqa: E501 - - :param replica: The replica of this CloudEndureMachine. # noqa: E501 - :type: str - """ - - self._replica = replica - - @property - def id(self): - """Gets the id of this CloudEndureMachine. # noqa: E501 - - - :return: The id of this CloudEndureMachine. # noqa: E501 - :rtype: str - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this CloudEndureMachine. - - - :param id: The id of this CloudEndureMachine. # noqa: E501 - :type: str - """ - - self._id = id - - @property - def replication_configuration(self): - """Gets the replication_configuration of this CloudEndureMachine. # noqa: E501 - - - :return: The replication_configuration of this CloudEndureMachine. # noqa: E501 - :rtype: CloudEndureMachineReplicationConfiguration - """ - return self._replication_configuration - - @replication_configuration.setter - def replication_configuration(self, replication_configuration): - """Sets the replication_configuration of this CloudEndureMachine. - - - :param replication_configuration: The replication_configuration of this CloudEndureMachine. # noqa: E501 - :type: CloudEndureMachineReplicationConfiguration - """ - - self._replication_configuration = replication_configuration - - @property - def life_cycle(self): - """Gets the life_cycle of this CloudEndureMachine. # noqa: E501 - - Detailed machine lifecycle information. # noqa: E501 - - :return: The life_cycle of this CloudEndureMachine. # noqa: E501 - :rtype: object - """ - return self._life_cycle - - @life_cycle.setter - def life_cycle(self, life_cycle): - """Sets the life_cycle of this CloudEndureMachine. - - Detailed machine lifecycle information. # noqa: E501 - - :param life_cycle: The life_cycle of this CloudEndureMachine. # noqa: E501 - :type: object - """ - - self._life_cycle = life_cycle - - @property - def is_agent_installed(self): - """Gets the is_agent_installed of this CloudEndureMachine. # noqa: E501 - - Whether a CloudEndure agent is currently installed on this machine. # noqa: E501 - - :return: The is_agent_installed of this CloudEndureMachine. # noqa: E501 - :rtype: bool - """ - return self._is_agent_installed - - @is_agent_installed.setter - def is_agent_installed(self, is_agent_installed): - """Sets the is_agent_installed of this CloudEndureMachine. - - Whether a CloudEndure agent is currently installed on this machine. # noqa: E501 - - :param is_agent_installed: The is_agent_installed of this CloudEndureMachine. # noqa: E501 - :type: bool - """ - - self._is_agent_installed = is_agent_installed - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureMachine, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureMachine): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_machine_and_path_and_point_in_time.py b/cloudendure/cloudendure_api/models/cloud_endure_machine_and_path_and_point_in_time.py deleted file mode 100644 index 286800588..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_machine_and_path_and_point_in_time.py +++ /dev/null @@ -1,165 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - - -class CloudEndureMachineAndPathAndPointInTime: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'machine_id': 'str', - 'point_in_time_id': 'str', - 'file_path': 'str' - } - - attribute_map = { - 'machine_id': 'machineId', - 'point_in_time_id': 'pointInTimeId', - 'file_path': 'filePath' - } - - def __init__(self, machine_id=None, point_in_time_id=None, file_path=None): # noqa: E501 - """CloudEndureMachineAndPathAndPointInTime - a model defined in Swagger""" # noqa: E501 - self._machine_id = None - self._point_in_time_id = None - self._file_path = None - self.discriminator = None - self.machine_id = machine_id - if point_in_time_id is not None: - self.point_in_time_id = point_in_time_id - self.file_path = file_path - - @property - def machine_id(self): - """Gets the machine_id of this CloudEndureMachineAndPathAndPointInTime. # noqa: E501 - - - :return: The machine_id of this CloudEndureMachineAndPathAndPointInTime. # noqa: E501 - :rtype: str - """ - return self._machine_id - - @machine_id.setter - def machine_id(self, machine_id): - """Sets the machine_id of this CloudEndureMachineAndPathAndPointInTime. - - - :param machine_id: The machine_id of this CloudEndureMachineAndPathAndPointInTime. # noqa: E501 - :type: str - """ - if machine_id is None: - raise ValueError("Invalid value for `machine_id`, must not be `None`") # noqa: E501 - - self._machine_id = machine_id - - @property - def point_in_time_id(self): - """Gets the point_in_time_id of this CloudEndureMachineAndPathAndPointInTime. # noqa: E501 - - - :return: The point_in_time_id of this CloudEndureMachineAndPathAndPointInTime. # noqa: E501 - :rtype: str - """ - return self._point_in_time_id - - @point_in_time_id.setter - def point_in_time_id(self, point_in_time_id): - """Sets the point_in_time_id of this CloudEndureMachineAndPathAndPointInTime. - - - :param point_in_time_id: The point_in_time_id of this CloudEndureMachineAndPathAndPointInTime. # noqa: E501 - :type: str - """ - - self._point_in_time_id = point_in_time_id - - @property - def file_path(self): - """Gets the file_path of this CloudEndureMachineAndPathAndPointInTime. # noqa: E501 - - - :return: The file_path of this CloudEndureMachineAndPathAndPointInTime. # noqa: E501 - :rtype: str - """ - return self._file_path - - @file_path.setter - def file_path(self, file_path): - """Sets the file_path of this CloudEndureMachineAndPathAndPointInTime. - - - :param file_path: The file_path of this CloudEndureMachineAndPathAndPointInTime. # noqa: E501 - :type: str - """ - if file_path is None: - raise ValueError("Invalid value for `file_path`, must not be `None`") # noqa: E501 - - self._file_path = file_path - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureMachineAndPathAndPointInTime, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureMachineAndPathAndPointInTime): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_machine_and_point_in_time.py b/cloudendure/cloudendure_api/models/cloud_endure_machine_and_point_in_time.py deleted file mode 100644 index 5e9b4661c..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_machine_and_point_in_time.py +++ /dev/null @@ -1,142 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - - -class CloudEndureMachineAndPointInTime: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'machine_id': 'str', - 'point_in_time_id': 'str' - } - - attribute_map = { - 'machine_id': 'machineId', - 'point_in_time_id': 'pointInTimeId' - } - - def __init__(self, machine_id=None, point_in_time_id=None): # noqa: E501 - """CloudEndureMachineAndPointInTime - a model defined in Swagger""" # noqa: E501 - self._machine_id = None - self._point_in_time_id = None - self.discriminator = None - self.machine_id = machine_id - if point_in_time_id is not None: - self.point_in_time_id = point_in_time_id - - @property - def machine_id(self): - """Gets the machine_id of this CloudEndureMachineAndPointInTime. # noqa: E501 - - A source machine to launch a target machine for. # noqa: E501 - - :return: The machine_id of this CloudEndureMachineAndPointInTime. # noqa: E501 - :rtype: str - """ - return self._machine_id - - @machine_id.setter - def machine_id(self, machine_id): - """Sets the machine_id of this CloudEndureMachineAndPointInTime. - - A source machine to launch a target machine for. # noqa: E501 - - :param machine_id: The machine_id of this CloudEndureMachineAndPointInTime. # noqa: E501 - :type: str - """ - if machine_id is None: - raise ValueError("Invalid value for `machine_id`, must not be `None`") # noqa: E501 - - self._machine_id = machine_id - - @property - def point_in_time_id(self): - """Gets the point_in_time_id of this CloudEndureMachineAndPointInTime. # noqa: E501 - - The ID of the pointInTime to launch a target machine from. If omitted, CloudEndure will use the latest pointInTime. # noqa: E501 - - :return: The point_in_time_id of this CloudEndureMachineAndPointInTime. # noqa: E501 - :rtype: str - """ - return self._point_in_time_id - - @point_in_time_id.setter - def point_in_time_id(self, point_in_time_id): - """Sets the point_in_time_id of this CloudEndureMachineAndPointInTime. - - The ID of the pointInTime to launch a target machine from. If omitted, CloudEndure will use the latest pointInTime. # noqa: E501 - - :param point_in_time_id: The point_in_time_id of this CloudEndureMachineAndPointInTime. # noqa: E501 - :type: str - """ - - self._point_in_time_id = point_in_time_id - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureMachineAndPointInTime, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureMachineAndPointInTime): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_machine_replication_configuration.py b/cloudendure/cloudendure_api/models/cloud_endure_machine_replication_configuration.py deleted file mode 100644 index 65ea2a52e..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_machine_replication_configuration.py +++ /dev/null @@ -1,555 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - - -class CloudEndureMachineReplicationConfiguration: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'volume_encryption_key': 'str', - 'replication_tags': 'list[object]', - 'subnet_host_project': 'str', - 'replication_server_type': 'str', - 'compute_location_id': 'str', - 'subnet_id': 'str', - 'logical_location_id': 'str', - 'bandwidth_throttling': 'int', - 'storage_location_id': 'str', - 'use_dedicated_server': 'bool', - 'zone': 'str', - 'replicator_security_group_i_ds': 'list[str]', - 'use_private_ip': 'bool', - 'proxy_url': 'str', - 'volume_encryption_allowed': 'bool', - 'archiving_enabled': 'bool', - 'object_storage_location': 'str' - } - - attribute_map = { - 'volume_encryption_key': 'volumeEncryptionKey', - 'replication_tags': 'replicationTags', - 'subnet_host_project': 'subnetHostProject', - 'replication_server_type': 'replicationServerType', - 'compute_location_id': 'computeLocationId', - 'subnet_id': 'subnetId', - 'logical_location_id': 'logicalLocationId', - 'bandwidth_throttling': 'bandwidthThrottling', - 'storage_location_id': 'storageLocationId', - 'use_dedicated_server': 'useDedicatedServer', - 'zone': 'zone', - 'replicator_security_group_i_ds': 'replicatorSecurityGroupIDs', - 'use_private_ip': 'usePrivateIp', - 'proxy_url': 'proxyUrl', - 'volume_encryption_allowed': 'volumeEncryptionAllowed', - 'archiving_enabled': 'archivingEnabled', - 'object_storage_location': 'objectStorageLocation' - } - - def __init__(self, volume_encryption_key=None, replication_tags=None, subnet_host_project=None, replication_server_type=None, compute_location_id=None, subnet_id=None, logical_location_id=None, bandwidth_throttling=None, storage_location_id=None, use_dedicated_server=None, zone=None, replicator_security_group_i_ds=None, use_private_ip=None, proxy_url=None, volume_encryption_allowed=None, archiving_enabled=None, object_storage_location=None): # noqa: E501 - """CloudEndureMachineReplicationConfiguration - a model defined in Swagger""" # noqa: E501 - self._volume_encryption_key = None - self._replication_tags = None - self._subnet_host_project = None - self._replication_server_type = None - self._compute_location_id = None - self._subnet_id = None - self._logical_location_id = None - self._bandwidth_throttling = None - self._storage_location_id = None - self._use_dedicated_server = None - self._zone = None - self._replicator_security_group_i_ds = None - self._use_private_ip = None - self._proxy_url = None - self._volume_encryption_allowed = None - self._archiving_enabled = None - self._object_storage_location = None - self.discriminator = None - if volume_encryption_key is not None: - self.volume_encryption_key = volume_encryption_key - if replication_tags is not None: - self.replication_tags = replication_tags - if subnet_host_project is not None: - self.subnet_host_project = subnet_host_project - if replication_server_type is not None: - self.replication_server_type = replication_server_type - if compute_location_id is not None: - self.compute_location_id = compute_location_id - if subnet_id is not None: - self.subnet_id = subnet_id - if logical_location_id is not None: - self.logical_location_id = logical_location_id - if bandwidth_throttling is not None: - self.bandwidth_throttling = bandwidth_throttling - if storage_location_id is not None: - self.storage_location_id = storage_location_id - if use_dedicated_server is not None: - self.use_dedicated_server = use_dedicated_server - if zone is not None: - self.zone = zone - if replicator_security_group_i_ds is not None: - self.replicator_security_group_i_ds = replicator_security_group_i_ds - if use_private_ip is not None: - self.use_private_ip = use_private_ip - if proxy_url is not None: - self.proxy_url = proxy_url - if volume_encryption_allowed is not None: - self.volume_encryption_allowed = volume_encryption_allowed - if archiving_enabled is not None: - self.archiving_enabled = archiving_enabled - if object_storage_location is not None: - self.object_storage_location = object_storage_location - - @property - def volume_encryption_key(self): - """Gets the volume_encryption_key of this CloudEndureMachineReplicationConfiguration. # noqa: E501 - - AWS only. ARN to private key for Volume Encryption. Possible values can be fetched from the Region object. # noqa: E501 - - :return: The volume_encryption_key of this CloudEndureMachineReplicationConfiguration. # noqa: E501 - :rtype: str - """ - return self._volume_encryption_key - - @volume_encryption_key.setter - def volume_encryption_key(self, volume_encryption_key): - """Sets the volume_encryption_key of this CloudEndureMachineReplicationConfiguration. - - AWS only. ARN to private key for Volume Encryption. Possible values can be fetched from the Region object. # noqa: E501 - - :param volume_encryption_key: The volume_encryption_key of this CloudEndureMachineReplicationConfiguration. # noqa: E501 - :type: str - """ - - self._volume_encryption_key = volume_encryption_key - - @property - def replication_tags(self): - """Gets the replication_tags of this CloudEndureMachineReplicationConfiguration. # noqa: E501 - - AWS only. Tags that will be applied to every cloud resource created in the CloudEndure Staging Area. # noqa: E501 - - :return: The replication_tags of this CloudEndureMachineReplicationConfiguration. # noqa: E501 - :rtype: list[object] - """ - return self._replication_tags - - @replication_tags.setter - def replication_tags(self, replication_tags): - """Sets the replication_tags of this CloudEndureMachineReplicationConfiguration. - - AWS only. Tags that will be applied to every cloud resource created in the CloudEndure Staging Area. # noqa: E501 - - :param replication_tags: The replication_tags of this CloudEndureMachineReplicationConfiguration. # noqa: E501 - :type: list[object] - """ - - self._replication_tags = replication_tags - - @property - def subnet_host_project(self): - """Gets the subnet_host_project of this CloudEndureMachineReplicationConfiguration. # noqa: E501 - - GCP only. Host project of cross project network subnet. # noqa: E501 - - :return: The subnet_host_project of this CloudEndureMachineReplicationConfiguration. # noqa: E501 - :rtype: str - """ - return self._subnet_host_project - - @subnet_host_project.setter - def subnet_host_project(self, subnet_host_project): - """Sets the subnet_host_project of this CloudEndureMachineReplicationConfiguration. - - GCP only. Host project of cross project network subnet. # noqa: E501 - - :param subnet_host_project: The subnet_host_project of this CloudEndureMachineReplicationConfiguration. # noqa: E501 - :type: str - """ - - self._subnet_host_project = subnet_host_project - - @property - def replication_server_type(self): - """Gets the replication_server_type of this CloudEndureMachineReplicationConfiguration. # noqa: E501 - - - :return: The replication_server_type of this CloudEndureMachineReplicationConfiguration. # noqa: E501 - :rtype: str - """ - return self._replication_server_type - - @replication_server_type.setter - def replication_server_type(self, replication_server_type): - """Sets the replication_server_type of this CloudEndureMachineReplicationConfiguration. - - - :param replication_server_type: The replication_server_type of this CloudEndureMachineReplicationConfiguration. # noqa: E501 - :type: str - """ - - self._replication_server_type = replication_server_type - - @property - def compute_location_id(self): - """Gets the compute_location_id of this CloudEndureMachineReplicationConfiguration. # noqa: E501 - - todo vcenter only # noqa: E501 - - :return: The compute_location_id of this CloudEndureMachineReplicationConfiguration. # noqa: E501 - :rtype: str - """ - return self._compute_location_id - - @compute_location_id.setter - def compute_location_id(self, compute_location_id): - """Sets the compute_location_id of this CloudEndureMachineReplicationConfiguration. - - todo vcenter only # noqa: E501 - - :param compute_location_id: The compute_location_id of this CloudEndureMachineReplicationConfiguration. # noqa: E501 - :type: str - """ - - self._compute_location_id = compute_location_id - - @property - def subnet_id(self): - """Gets the subnet_id of this CloudEndureMachineReplicationConfiguration. # noqa: E501 - - Subnet where replication servers will be created. Possible values can be fetched from the Region object. # noqa: E501 - - :return: The subnet_id of this CloudEndureMachineReplicationConfiguration. # noqa: E501 - :rtype: str - """ - return self._subnet_id - - @subnet_id.setter - def subnet_id(self, subnet_id): - """Sets the subnet_id of this CloudEndureMachineReplicationConfiguration. - - Subnet where replication servers will be created. Possible values can be fetched from the Region object. # noqa: E501 - - :param subnet_id: The subnet_id of this CloudEndureMachineReplicationConfiguration. # noqa: E501 - :type: str - """ - - self._subnet_id = subnet_id - - @property - def logical_location_id(self): - """Gets the logical_location_id of this CloudEndureMachineReplicationConfiguration. # noqa: E501 - - vcenter = vmFolder # noqa: E501 - - :return: The logical_location_id of this CloudEndureMachineReplicationConfiguration. # noqa: E501 - :rtype: str - """ - return self._logical_location_id - - @logical_location_id.setter - def logical_location_id(self, logical_location_id): - """Sets the logical_location_id of this CloudEndureMachineReplicationConfiguration. - - vcenter = vmFolder # noqa: E501 - - :param logical_location_id: The logical_location_id of this CloudEndureMachineReplicationConfiguration. # noqa: E501 - :type: str - """ - - self._logical_location_id = logical_location_id - - @property - def bandwidth_throttling(self): - """Gets the bandwidth_throttling of this CloudEndureMachineReplicationConfiguration. # noqa: E501 - - Mbps to use for Data Replication (zero means no throttling). # noqa: E501 - - :return: The bandwidth_throttling of this CloudEndureMachineReplicationConfiguration. # noqa: E501 - :rtype: int - """ - return self._bandwidth_throttling - - @bandwidth_throttling.setter - def bandwidth_throttling(self, bandwidth_throttling): - """Sets the bandwidth_throttling of this CloudEndureMachineReplicationConfiguration. - - Mbps to use for Data Replication (zero means no throttling). # noqa: E501 - - :param bandwidth_throttling: The bandwidth_throttling of this CloudEndureMachineReplicationConfiguration. # noqa: E501 - :type: int - """ - - self._bandwidth_throttling = bandwidth_throttling - - @property - def storage_location_id(self): - """Gets the storage_location_id of this CloudEndureMachineReplicationConfiguration. # noqa: E501 - - @todo backend creates cloudendure bla bla storage account upon need (empty string). # noqa: E501 - - :return: The storage_location_id of this CloudEndureMachineReplicationConfiguration. # noqa: E501 - :rtype: str - """ - return self._storage_location_id - - @storage_location_id.setter - def storage_location_id(self, storage_location_id): - """Sets the storage_location_id of this CloudEndureMachineReplicationConfiguration. - - @todo backend creates cloudendure bla bla storage account upon need (empty string). # noqa: E501 - - :param storage_location_id: The storage_location_id of this CloudEndureMachineReplicationConfiguration. # noqa: E501 - :type: str - """ - - self._storage_location_id = storage_location_id - - @property - def use_dedicated_server(self): - """Gets the use_dedicated_server of this CloudEndureMachineReplicationConfiguration. # noqa: E501 - - - :return: The use_dedicated_server of this CloudEndureMachineReplicationConfiguration. # noqa: E501 - :rtype: bool - """ - return self._use_dedicated_server - - @use_dedicated_server.setter - def use_dedicated_server(self, use_dedicated_server): - """Sets the use_dedicated_server of this CloudEndureMachineReplicationConfiguration. - - - :param use_dedicated_server: The use_dedicated_server of this CloudEndureMachineReplicationConfiguration. # noqa: E501 - :type: bool - """ - - self._use_dedicated_server = use_dedicated_server - - @property - def zone(self): - """Gets the zone of this CloudEndureMachineReplicationConfiguration. # noqa: E501 - - Relevant for GCP and Azure ARM. The Zone to replicate into. # noqa: E501 - - :return: The zone of this CloudEndureMachineReplicationConfiguration. # noqa: E501 - :rtype: str - """ - return self._zone - - @zone.setter - def zone(self, zone): - """Sets the zone of this CloudEndureMachineReplicationConfiguration. - - Relevant for GCP and Azure ARM. The Zone to replicate into. # noqa: E501 - - :param zone: The zone of this CloudEndureMachineReplicationConfiguration. # noqa: E501 - :type: str - """ - - self._zone = zone - - @property - def replicator_security_group_i_ds(self): - """Gets the replicator_security_group_i_ds of this CloudEndureMachineReplicationConfiguration. # noqa: E501 - - AWS only. The security groups that will be applied to the replication servers. Possible values can be fetched from the Region object. # noqa: E501 - - :return: The replicator_security_group_i_ds of this CloudEndureMachineReplicationConfiguration. # noqa: E501 - :rtype: list[str] - """ - return self._replicator_security_group_i_ds - - @replicator_security_group_i_ds.setter - def replicator_security_group_i_ds(self, replicator_security_group_i_ds): - """Sets the replicator_security_group_i_ds of this CloudEndureMachineReplicationConfiguration. - - AWS only. The security groups that will be applied to the replication servers. Possible values can be fetched from the Region object. # noqa: E501 - - :param replicator_security_group_i_ds: The replicator_security_group_i_ds of this CloudEndureMachineReplicationConfiguration. # noqa: E501 - :type: list[str] - """ - - self._replicator_security_group_i_ds = replicator_security_group_i_ds - - @property - def use_private_ip(self): - """Gets the use_private_ip of this CloudEndureMachineReplicationConfiguration. # noqa: E501 - - Should the CloudEndure agent access the replication server using its private IP address. # noqa: E501 - - :return: The use_private_ip of this CloudEndureMachineReplicationConfiguration. # noqa: E501 - :rtype: bool - """ - return self._use_private_ip - - @use_private_ip.setter - def use_private_ip(self, use_private_ip): - """Sets the use_private_ip of this CloudEndureMachineReplicationConfiguration. - - Should the CloudEndure agent access the replication server using its private IP address. # noqa: E501 - - :param use_private_ip: The use_private_ip of this CloudEndureMachineReplicationConfiguration. # noqa: E501 - :type: bool - """ - - self._use_private_ip = use_private_ip - - @property - def proxy_url(self): - """Gets the proxy_url of this CloudEndureMachineReplicationConfiguration. # noqa: E501 - - The full URI for a proxy (schema, username, password, domain, port) if required for the CloudEndure agent. # noqa: E501 - - :return: The proxy_url of this CloudEndureMachineReplicationConfiguration. # noqa: E501 - :rtype: str - """ - return self._proxy_url - - @proxy_url.setter - def proxy_url(self, proxy_url): - """Sets the proxy_url of this CloudEndureMachineReplicationConfiguration. - - The full URI for a proxy (schema, username, password, domain, port) if required for the CloudEndure agent. # noqa: E501 - - :param proxy_url: The proxy_url of this CloudEndureMachineReplicationConfiguration. # noqa: E501 - :type: str - """ - - self._proxy_url = proxy_url - - @property - def volume_encryption_allowed(self): - """Gets the volume_encryption_allowed of this CloudEndureMachineReplicationConfiguration. # noqa: E501 - - todo AWS only... not relevant for Backup Projects because EBS is not used # noqa: E501 - - :return: The volume_encryption_allowed of this CloudEndureMachineReplicationConfiguration. # noqa: E501 - :rtype: bool - """ - return self._volume_encryption_allowed - - @volume_encryption_allowed.setter - def volume_encryption_allowed(self, volume_encryption_allowed): - """Sets the volume_encryption_allowed of this CloudEndureMachineReplicationConfiguration. - - todo AWS only... not relevant for Backup Projects because EBS is not used # noqa: E501 - - :param volume_encryption_allowed: The volume_encryption_allowed of this CloudEndureMachineReplicationConfiguration. # noqa: E501 - :type: bool - """ - - self._volume_encryption_allowed = volume_encryption_allowed - - @property - def archiving_enabled(self): - """Gets the archiving_enabled of this CloudEndureMachineReplicationConfiguration. # noqa: E501 - - - :return: The archiving_enabled of this CloudEndureMachineReplicationConfiguration. # noqa: E501 - :rtype: bool - """ - return self._archiving_enabled - - @archiving_enabled.setter - def archiving_enabled(self, archiving_enabled): - """Sets the archiving_enabled of this CloudEndureMachineReplicationConfiguration. - - - :param archiving_enabled: The archiving_enabled of this CloudEndureMachineReplicationConfiguration. # noqa: E501 - :type: bool - """ - - self._archiving_enabled = archiving_enabled - - @property - def object_storage_location(self): - """Gets the object_storage_location of this CloudEndureMachineReplicationConfiguration. # noqa: E501 - - bucket in aws # noqa: E501 - - :return: The object_storage_location of this CloudEndureMachineReplicationConfiguration. # noqa: E501 - :rtype: str - """ - return self._object_storage_location - - @object_storage_location.setter - def object_storage_location(self, object_storage_location): - """Sets the object_storage_location of this CloudEndureMachineReplicationConfiguration. - - bucket in aws # noqa: E501 - - :param object_storage_location: The object_storage_location of this CloudEndureMachineReplicationConfiguration. # noqa: E501 - :type: str - """ - - self._object_storage_location = object_storage_location - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureMachineReplicationConfiguration, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureMachineReplicationConfiguration): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_machine_snapshot_credits.py b/cloudendure/cloudendure_api/models/cloud_endure_machine_snapshot_credits.py deleted file mode 100644 index 21f641809..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_machine_snapshot_credits.py +++ /dev/null @@ -1,113 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - - -class CloudEndureMachineSnapshotCredits: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'credits': 'int' - } - - attribute_map = { - 'credits': 'credits' - } - - def __init__(self, credits=None): # noqa: E501 - """CloudEndureMachineSnapshotCredits - a model defined in Swagger""" # noqa: E501 - self._credits = None - self.discriminator = None - if credits is not None: - self.credits = credits - - @property - def credits(self): - """Gets the credits of this CloudEndureMachineSnapshotCredits. # noqa: E501 - - Mbps to use for Data Replication (zero means no throttling). # noqa: E501 - - :return: The credits of this CloudEndureMachineSnapshotCredits. # noqa: E501 - :rtype: int - """ - return self._credits - - @credits.setter - def credits(self, credits): - """Sets the credits of this CloudEndureMachineSnapshotCredits. - - Mbps to use for Data Replication (zero means no throttling). # noqa: E501 - - :param credits: The credits of this CloudEndureMachineSnapshotCredits. # noqa: E501 - :type: int - """ - - self._credits = credits - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureMachineSnapshotCredits, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureMachineSnapshotCredits): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_machine_throttle_time_seconds.py b/cloudendure/cloudendure_api/models/cloud_endure_machine_throttle_time_seconds.py deleted file mode 100644 index 3bc34c53a..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_machine_throttle_time_seconds.py +++ /dev/null @@ -1,113 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - - -class CloudEndureMachineThrottleTimeSeconds: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'credits': 'int' - } - - attribute_map = { - 'credits': 'credits' - } - - def __init__(self, credits=None): # noqa: E501 - """CloudEndureMachineThrottleTimeSeconds - a model defined in Swagger""" # noqa: E501 - self._credits = None - self.discriminator = None - if credits is not None: - self.credits = credits - - @property - def credits(self): - """Gets the credits of this CloudEndureMachineThrottleTimeSeconds. # noqa: E501 - - time to throttle the machine in seconds # noqa: E501 - - :return: The credits of this CloudEndureMachineThrottleTimeSeconds. # noqa: E501 - :rtype: int - """ - return self._credits - - @credits.setter - def credits(self, credits): - """Sets the credits of this CloudEndureMachineThrottleTimeSeconds. - - time to throttle the machine in seconds # noqa: E501 - - :param credits: The credits of this CloudEndureMachineThrottleTimeSeconds. # noqa: E501 - :type: int - """ - - self._credits = credits - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureMachineThrottleTimeSeconds, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureMachineThrottleTimeSeconds): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_machines_list.py b/cloudendure/cloudendure_api/models/cloud_endure_machines_list.py deleted file mode 100644 index 3ce6e3c66..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_machines_list.py +++ /dev/null @@ -1,113 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -from cloudendure.cloudendure_api.models.cloud_endure_machine import CloudEndureMachine # noqa: F401,E501 - - -class CloudEndureMachinesList: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'items': 'list[CloudEndureMachine]' - } - - attribute_map = { - 'items': 'items' - } - - def __init__(self, items=None): # noqa: E501 - """CloudEndureMachinesList - a model defined in Swagger""" # noqa: E501 - self._items = None - self.discriminator = None - if items is not None: - self.items = items - - @property - def items(self): - """Gets the items of this CloudEndureMachinesList. # noqa: E501 - - - :return: The items of this CloudEndureMachinesList. # noqa: E501 - :rtype: list[CloudEndureMachine] - """ - return self._items - - @items.setter - def items(self, items): - """Sets the items of this CloudEndureMachinesList. - - - :param items: The items of this CloudEndureMachinesList. # noqa: E501 - :type: list[CloudEndureMachine] - """ - - self._items = items - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureMachinesList, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureMachinesList): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_machines_list_invalid_i_ds_and_job.py b/cloudendure/cloudendure_api/models/cloud_endure_machines_list_invalid_i_ds_and_job.py deleted file mode 100644 index 5eb8a0f64..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_machines_list_invalid_i_ds_and_job.py +++ /dev/null @@ -1,168 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -from cloudendure.cloudendure_api.models.cloud_endure_job import CloudEndureJob # noqa: F401,E501 -from cloudendure.cloudendure_api.models.cloud_endure_machine import CloudEndureMachine # noqa: F401,E501 - - -class CloudEndureMachinesListInvalidIDsAndJob: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'items': 'list[CloudEndureMachine]', - 'job': 'CloudEndureJob', - 'invalid_machine_i_ds': 'list[str]' - } - - attribute_map = { - 'items': 'items', - 'job': 'job', - 'invalid_machine_i_ds': 'invalidMachineIDs' - } - - def __init__(self, items=None, job=None, invalid_machine_i_ds=None): # noqa: E501 - """CloudEndureMachinesListInvalidIDsAndJob - a model defined in Swagger""" # noqa: E501 - self._items = None - self._job = None - self._invalid_machine_i_ds = None - self.discriminator = None - if items is not None: - self.items = items - if job is not None: - self.job = job - if invalid_machine_i_ds is not None: - self.invalid_machine_i_ds = invalid_machine_i_ds - - @property - def items(self): - """Gets the items of this CloudEndureMachinesListInvalidIDsAndJob. # noqa: E501 - - - :return: The items of this CloudEndureMachinesListInvalidIDsAndJob. # noqa: E501 - :rtype: list[CloudEndureMachine] - """ - return self._items - - @items.setter - def items(self, items): - """Sets the items of this CloudEndureMachinesListInvalidIDsAndJob. - - - :param items: The items of this CloudEndureMachinesListInvalidIDsAndJob. # noqa: E501 - :type: list[CloudEndureMachine] - """ - - self._items = items - - @property - def job(self): - """Gets the job of this CloudEndureMachinesListInvalidIDsAndJob. # noqa: E501 - - - :return: The job of this CloudEndureMachinesListInvalidIDsAndJob. # noqa: E501 - :rtype: CloudEndureJob - """ - return self._job - - @job.setter - def job(self, job): - """Sets the job of this CloudEndureMachinesListInvalidIDsAndJob. - - - :param job: The job of this CloudEndureMachinesListInvalidIDsAndJob. # noqa: E501 - :type: CloudEndureJob - """ - - self._job = job - - @property - def invalid_machine_i_ds(self): - """Gets the invalid_machine_i_ds of this CloudEndureMachinesListInvalidIDsAndJob. # noqa: E501 - - The IDs of the machines for which the operation failed. # noqa: E501 - - :return: The invalid_machine_i_ds of this CloudEndureMachinesListInvalidIDsAndJob. # noqa: E501 - :rtype: list[str] - """ - return self._invalid_machine_i_ds - - @invalid_machine_i_ds.setter - def invalid_machine_i_ds(self, invalid_machine_i_ds): - """Sets the invalid_machine_i_ds of this CloudEndureMachinesListInvalidIDsAndJob. - - The IDs of the machines for which the operation failed. # noqa: E501 - - :param invalid_machine_i_ds: The invalid_machine_i_ds of this CloudEndureMachinesListInvalidIDsAndJob. # noqa: E501 - :type: list[str] - """ - - self._invalid_machine_i_ds = invalid_machine_i_ds - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureMachinesListInvalidIDsAndJob, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureMachinesListInvalidIDsAndJob): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_network_interface.py b/cloudendure/cloudendure_api/models/cloud_endure_network_interface.py deleted file mode 100644 index 017872a54..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_network_interface.py +++ /dev/null @@ -1,163 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - - -class CloudEndureNetworkInterface: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'subnet_id': 'str', - 'name': 'str', - 'private_ip': 'str' - } - - attribute_map = { - 'subnet_id': 'subnetId', - 'name': 'name', - 'private_ip': 'privateIp' - } - - def __init__(self, subnet_id=None, name=None, private_ip=None): # noqa: E501 - """CloudEndureNetworkInterface - a model defined in Swagger""" # noqa: E501 - self._subnet_id = None - self._name = None - self._private_ip = None - self.discriminator = None - if subnet_id is not None: - self.subnet_id = subnet_id - if name is not None: - self.name = name - if private_ip is not None: - self.private_ip = private_ip - - @property - def subnet_id(self): - """Gets the subnet_id of this CloudEndureNetworkInterface. # noqa: E501 - - - :return: The subnet_id of this CloudEndureNetworkInterface. # noqa: E501 - :rtype: str - """ - return self._subnet_id - - @subnet_id.setter - def subnet_id(self, subnet_id): - """Sets the subnet_id of this CloudEndureNetworkInterface. - - - :param subnet_id: The subnet_id of this CloudEndureNetworkInterface. # noqa: E501 - :type: str - """ - - self._subnet_id = subnet_id - - @property - def name(self): - """Gets the name of this CloudEndureNetworkInterface. # noqa: E501 - - - :return: The name of this CloudEndureNetworkInterface. # noqa: E501 - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this CloudEndureNetworkInterface. - - - :param name: The name of this CloudEndureNetworkInterface. # noqa: E501 - :type: str - """ - - self._name = name - - @property - def private_ip(self): - """Gets the private_ip of this CloudEndureNetworkInterface. # noqa: E501 - - - :return: The private_ip of this CloudEndureNetworkInterface. # noqa: E501 - :rtype: str - """ - return self._private_ip - - @private_ip.setter - def private_ip(self, private_ip): - """Sets the private_ip of this CloudEndureNetworkInterface. - - - :param private_ip: The private_ip of this CloudEndureNetworkInterface. # noqa: E501 - :type: str - """ - - self._private_ip = private_ip - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureNetworkInterface, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureNetworkInterface): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_point_in_time.py b/cloudendure/cloudendure_api/models/cloud_endure_point_in_time.py deleted file mode 100644 index 14ba84ff3..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_point_in_time.py +++ /dev/null @@ -1,139 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - - -class CloudEndurePointInTime: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'id': 'str', - 'date_time': 'datetime' - } - - attribute_map = { - 'id': 'id', - 'date_time': 'dateTime' - } - - def __init__(self, id=None, date_time=None): # noqa: E501 - """CloudEndurePointInTime - a model defined in Swagger""" # noqa: E501 - self._id = None - self._date_time = None - self.discriminator = None - if id is not None: - self.id = id - if date_time is not None: - self.date_time = date_time - - @property - def id(self): - """Gets the id of this CloudEndurePointInTime. # noqa: E501 - - - :return: The id of this CloudEndurePointInTime. # noqa: E501 - :rtype: str - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this CloudEndurePointInTime. - - - :param id: The id of this CloudEndurePointInTime. # noqa: E501 - :type: str - """ - - self._id = id - - @property - def date_time(self): - """Gets the date_time of this CloudEndurePointInTime. # noqa: E501 - - Timestamp for this Recovery Point. A NULL value signifies there is no later point available. # noqa: E501 - - :return: The date_time of this CloudEndurePointInTime. # noqa: E501 - :rtype: datetime - """ - return self._date_time - - @date_time.setter - def date_time(self, date_time): - """Sets the date_time of this CloudEndurePointInTime. - - Timestamp for this Recovery Point. A NULL value signifies there is no later point available. # noqa: E501 - - :param date_time: The date_time of this CloudEndurePointInTime. # noqa: E501 - :type: datetime - """ - - self._date_time = date_time - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndurePointInTime, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndurePointInTime): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_point_in_time_list.py b/cloudendure/cloudendure_api/models/cloud_endure_point_in_time_list.py deleted file mode 100644 index 7624f0d58..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_point_in_time_list.py +++ /dev/null @@ -1,113 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -from cloudendure.cloudendure_api.models.cloud_endure_point_in_time import CloudEndurePointInTime # noqa: F401,E501 - - -class CloudEndurePointInTimeList: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'items': 'list[CloudEndurePointInTime]' - } - - attribute_map = { - 'items': 'items' - } - - def __init__(self, items=None): # noqa: E501 - """CloudEndurePointInTimeList - a model defined in Swagger""" # noqa: E501 - self._items = None - self.discriminator = None - if items is not None: - self.items = items - - @property - def items(self): - """Gets the items of this CloudEndurePointInTimeList. # noqa: E501 - - - :return: The items of this CloudEndurePointInTimeList. # noqa: E501 - :rtype: list[CloudEndurePointInTime] - """ - return self._items - - @items.setter - def items(self, items): - """Sets the items of this CloudEndurePointInTimeList. - - - :param items: The items of this CloudEndurePointInTimeList. # noqa: E501 - :type: list[CloudEndurePointInTime] - """ - - self._items = items - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndurePointInTimeList, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndurePointInTimeList): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_project.py b/cloudendure/cloudendure_api/models/cloud_endure_project.py deleted file mode 100644 index e0747e256..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_project.py +++ /dev/null @@ -1,492 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - - -class CloudEndureProject: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'target_cloud_id': 'str', - 'agent_installation_token': 'str', - 'name': 'str', - 'users_i_ds': 'list[str]', - 'type': 'str', - 'replication_reversed': 'bool', - 'source_cloud_credentials_id': 'str', - 'cloud_credentials_i_ds': 'list[str]', - 'source_region': 'str', - 'licenses_i_ds': 'list[str]', - 'ce_admin_properties': 'object', - 'replication_configuration': 'str', - 'source_cloud_id': 'str', - 'id': 'str', - 'features': 'object' - } - - attribute_map = { - 'target_cloud_id': 'targetCloudId', - 'agent_installation_token': 'agentInstallationToken', - 'name': 'name', - 'users_i_ds': 'usersIDs', - 'type': 'type', - 'replication_reversed': 'replicationReversed', - 'source_cloud_credentials_id': 'sourceCloudCredentialsId', - 'cloud_credentials_i_ds': 'cloudCredentialsIDs', - 'source_region': 'sourceRegion', - 'licenses_i_ds': 'licensesIDs', - 'ce_admin_properties': 'ceAdminProperties', - 'replication_configuration': 'replicationConfiguration', - 'source_cloud_id': 'sourceCloudId', - 'id': 'id', - 'features': 'features' - } - - def __init__(self, target_cloud_id=None, agent_installation_token=None, name=None, users_i_ds=None, type=None, replication_reversed=None, source_cloud_credentials_id=None, cloud_credentials_i_ds=None, source_region=None, licenses_i_ds=None, ce_admin_properties=None, replication_configuration=None, source_cloud_id=None, id=None, features=None): # noqa: E501 - """CloudEndureProject - a model defined in Swagger""" # noqa: E501 - self._target_cloud_id = None - self._agent_installation_token = None - self._name = None - self._users_i_ds = None - self._type = None - self._replication_reversed = None - self._source_cloud_credentials_id = None - self._cloud_credentials_i_ds = None - self._source_region = None - self._licenses_i_ds = None - self._ce_admin_properties = None - self._replication_configuration = None - self._source_cloud_id = None - self._id = None - self._features = None - self.discriminator = None - if target_cloud_id is not None: - self.target_cloud_id = target_cloud_id - if agent_installation_token is not None: - self.agent_installation_token = agent_installation_token - if name is not None: - self.name = name - if users_i_ds is not None: - self.users_i_ds = users_i_ds - if type is not None: - self.type = type - if replication_reversed is not None: - self.replication_reversed = replication_reversed - if source_cloud_credentials_id is not None: - self.source_cloud_credentials_id = source_cloud_credentials_id - if cloud_credentials_i_ds is not None: - self.cloud_credentials_i_ds = cloud_credentials_i_ds - if source_region is not None: - self.source_region = source_region - if licenses_i_ds is not None: - self.licenses_i_ds = licenses_i_ds - if ce_admin_properties is not None: - self.ce_admin_properties = ce_admin_properties - if replication_configuration is not None: - self.replication_configuration = replication_configuration - if source_cloud_id is not None: - self.source_cloud_id = source_cloud_id - if id is not None: - self.id = id - if features is not None: - self.features = features - - @property - def target_cloud_id(self): - """Gets the target_cloud_id of this CloudEndureProject. # noqa: E501 - - - :return: The target_cloud_id of this CloudEndureProject. # noqa: E501 - :rtype: str - """ - return self._target_cloud_id - - @target_cloud_id.setter - def target_cloud_id(self, target_cloud_id): - """Sets the target_cloud_id of this CloudEndureProject. - - - :param target_cloud_id: The target_cloud_id of this CloudEndureProject. # noqa: E501 - :type: str - """ - - self._target_cloud_id = target_cloud_id - - @property - def agent_installation_token(self): - """Gets the agent_installation_token of this CloudEndureProject. # noqa: E501 - - - :return: The agent_installation_token of this CloudEndureProject. # noqa: E501 - :rtype: str - """ - return self._agent_installation_token - - @agent_installation_token.setter - def agent_installation_token(self, agent_installation_token): - """Sets the agent_installation_token of this CloudEndureProject. - - - :param agent_installation_token: The agent_installation_token of this CloudEndureProject. # noqa: E501 - :type: str - """ - - self._agent_installation_token = agent_installation_token - - @property - def name(self): - """Gets the name of this CloudEndureProject. # noqa: E501 - - :return: The name of this CloudEndureProject. # noqa: E501 - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this CloudEndureProject. - - - :param name: The name of this CloudEndureProject. # noqa: E501 - :type: str - """ - - self._name = name - - @property - def users_i_ds(self): - """Gets the users_i_ds of this CloudEndureProject. # noqa: E501 - - todo empty array unless AO or ce admin # noqa: E501 - - :return: The users_i_ds of this CloudEndureProject. # noqa: E501 - :rtype: list[str] - """ - return self._users_i_ds - - @users_i_ds.setter - def users_i_ds(self, users_i_ds): - """Sets the users_i_ds of this CloudEndureProject. - - todo empty array unless AO or ce admin # noqa: E501 - - :param users_i_ds: The users_i_ds of this CloudEndureProject. # noqa: E501 - :type: list[str] - """ - - self._users_i_ds = users_i_ds - - @property - def type(self): - """Gets the type of this CloudEndureProject. # noqa: E501 - - - :return: The type of this CloudEndureProject. # noqa: E501 - :rtype: str - """ - return self._type - - @type.setter - def type(self, type): - """Sets the type of this CloudEndureProject. - - - :param type: The type of this CloudEndureProject. # noqa: E501 - :type: str - """ - allowed_values = ["MIGRATION", "DR", "BACKUP"] # noqa: E501 - if type not in allowed_values: - raise ValueError( - "Invalid value for `type` ({0}), must be one of {1}" # noqa: E501 - .format(type, allowed_values) - ) - - self._type = type - - @property - def replication_reversed(self): - """Gets the replication_reversed of this CloudEndureProject. # noqa: E501 - - - :return: The replication_reversed of this CloudEndureProject. # noqa: E501 - :rtype: bool - """ - return self._replication_reversed - - @replication_reversed.setter - def replication_reversed(self, replication_reversed): - """Sets the replication_reversed of this CloudEndureProject. - - - :param replication_reversed: The replication_reversed of this CloudEndureProject. # noqa: E501 - :type: bool - """ - - self._replication_reversed = replication_reversed - - @property - def source_cloud_credentials_id(self): - """Gets the source_cloud_credentials_id of this CloudEndureProject. # noqa: E501 - - - :return: The source_cloud_credentials_id of this CloudEndureProject. # noqa: E501 - :rtype: str - """ - return self._source_cloud_credentials_id - - @source_cloud_credentials_id.setter - def source_cloud_credentials_id(self, source_cloud_credentials_id): - """Sets the source_cloud_credentials_id of this CloudEndureProject. - - - :param source_cloud_credentials_id: The source_cloud_credentials_id of this CloudEndureProject. # noqa: E501 - :type: str - """ - - self._source_cloud_credentials_id = source_cloud_credentials_id - - @property - def cloud_credentials_i_ds(self): - """Gets the cloud_credentials_i_ds of this CloudEndureProject. # noqa: E501 - - The IDs of the cloud credentials to use (array of one). # noqa: E501 - - :return: The cloud_credentials_i_ds of this CloudEndureProject. # noqa: E501 - :rtype: list[str] - """ - return self._cloud_credentials_i_ds - - @cloud_credentials_i_ds.setter - def cloud_credentials_i_ds(self, cloud_credentials_i_ds): - """Sets the cloud_credentials_i_ds of this CloudEndureProject. - - The IDs of the cloud credentials to use (array of one). # noqa: E501 - - :param cloud_credentials_i_ds: The cloud_credentials_i_ds of this CloudEndureProject. # noqa: E501 - :type: list[str] - """ - - self._cloud_credentials_i_ds = cloud_credentials_i_ds - - @property - def source_region(self): - """Gets the source_region of this CloudEndureProject. # noqa: E501 - - The ID of the region to use as source. # noqa: E501 - - :return: The source_region of this CloudEndureProject. # noqa: E501 - :rtype: str - """ - return self._source_region - - @source_region.setter - def source_region(self, source_region): - """Sets the source_region of this CloudEndureProject. - - The ID of the region to use as source. # noqa: E501 - - :param source_region: The source_region of this CloudEndureProject. # noqa: E501 - :type: str - """ - - self._source_region = source_region - - @property - def licenses_i_ds(self): - """Gets the licenses_i_ds of this CloudEndureProject. # noqa: E501 - - The IDs of the licenses associated with this project (array of one). # noqa: E501 - - :return: The licenses_i_ds of this CloudEndureProject. # noqa: E501 - :rtype: list[str] - """ - return self._licenses_i_ds - - @licenses_i_ds.setter - def licenses_i_ds(self, licenses_i_ds): - """Sets the licenses_i_ds of this CloudEndureProject. - - The IDs of the licenses associated with this project (array of one). # noqa: E501 - - :param licenses_i_ds: The licenses_i_ds of this CloudEndureProject. # noqa: E501 - :type: list[str] - """ - - self._licenses_i_ds = licenses_i_ds - - @property - def ce_admin_properties(self): - """Gets the ce_admin_properties of this CloudEndureProject. # noqa: E501 - - For internal use. # noqa: E501 - - :return: The ce_admin_properties of this CloudEndureProject. # noqa: E501 - :rtype: object - """ - return self._ce_admin_properties - - @ce_admin_properties.setter - def ce_admin_properties(self, ce_admin_properties): - """Sets the ce_admin_properties of this CloudEndureProject. - - For internal use. # noqa: E501 - - :param ce_admin_properties: The ce_admin_properties of this CloudEndureProject. # noqa: E501 - :type: object - """ - - self._ce_admin_properties = ce_admin_properties - - @property - def replication_configuration(self): - """Gets the replication_configuration of this CloudEndureProject. # noqa: E501 - - The ID of the replication configuration object to use (corresponding to the ones available in /projects/{projectId}/replicationConfigurations). # noqa: E501 - - :return: The replication_configuration of this CloudEndureProject. # noqa: E501 - :rtype: str - """ - return self._replication_configuration - - @replication_configuration.setter - def replication_configuration(self, replication_configuration): - """Sets the replication_configuration of this CloudEndureProject. - - The ID of the replication configuration object to use (corresponding to the ones available in /projects/{projectId}/replicationConfigurations). # noqa: E501 - - :param replication_configuration: The replication_configuration of this CloudEndureProject. # noqa: E501 - :type: str - """ - - self._replication_configuration = replication_configuration - - @property - def source_cloud_id(self): - """Gets the source_cloud_id of this CloudEndureProject. # noqa: E501 - - - :return: The source_cloud_id of this CloudEndureProject. # noqa: E501 - :rtype: str - """ - return self._source_cloud_id - - @source_cloud_id.setter - def source_cloud_id(self, source_cloud_id): - """Sets the source_cloud_id of this CloudEndureProject. - - - :param source_cloud_id: The source_cloud_id of this CloudEndureProject. # noqa: E501 - :type: str - """ - - self._source_cloud_id = source_cloud_id - - @property - def id(self): - """Gets the id of this CloudEndureProject. # noqa: E501 - - - :return: The id of this CloudEndureProject. # noqa: E501 - :rtype: str - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this CloudEndureProject. - - - :param id: The id of this CloudEndureProject. # noqa: E501 - :type: str - """ - - self._id = id - - @property - def features(self): - """Gets the features of this CloudEndureProject. # noqa: E501 - - - :return: The features of this CloudEndureProject. # noqa: E501 - :rtype: object - """ - return self._features - - @features.setter - def features(self, features): - """Sets the features of this CloudEndureProject. - - - :param features: The features of this CloudEndureProject. # noqa: E501 - :type: object - """ - - self._features = features - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureProject, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureProject): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_project_storage.py b/cloudendure/cloudendure_api/models/cloud_endure_project_storage.py deleted file mode 100644 index fd464b9db..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_project_storage.py +++ /dev/null @@ -1,215 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - - -class CloudEndureProjectStorage: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'project_id': 'str', - 'points_in_time_total_bytes': 'int', - 'running_machines_total_bytes': 'int', - 'working_storage': 'object', - 'calculation_date_time': 'datetime' - } - - attribute_map = { - 'project_id': 'projectId', - 'points_in_time_total_bytes': 'pointsInTimeTotalBytes', - 'running_machines_total_bytes': 'runningMachinesTotalBytes', - 'working_storage': 'workingStorage', - 'calculation_date_time': 'calculationDateTime' - } - - def __init__(self, project_id=None, points_in_time_total_bytes=None, running_machines_total_bytes=None, working_storage=None, calculation_date_time=None): # noqa: E501 - """CloudEndureProjectStorage - a model defined in Swagger""" # noqa: E501 - self._project_id = None - self._points_in_time_total_bytes = None - self._running_machines_total_bytes = None - self._working_storage = None - self._calculation_date_time = None - self.discriminator = None - if project_id is not None: - self.project_id = project_id - if points_in_time_total_bytes is not None: - self.points_in_time_total_bytes = points_in_time_total_bytes - if running_machines_total_bytes is not None: - self.running_machines_total_bytes = running_machines_total_bytes - if working_storage is not None: - self.working_storage = working_storage - if calculation_date_time is not None: - self.calculation_date_time = calculation_date_time - - @property - def project_id(self): - """Gets the project_id of this CloudEndureProjectStorage. # noqa: E501 - - - :return: The project_id of this CloudEndureProjectStorage. # noqa: E501 - :rtype: str - """ - return self._project_id - - @project_id.setter - def project_id(self, project_id): - """Sets the project_id of this CloudEndureProjectStorage. - - - :param project_id: The project_id of this CloudEndureProjectStorage. # noqa: E501 - :type: str - """ - - self._project_id = project_id - - @property - def points_in_time_total_bytes(self): - """Gets the points_in_time_total_bytes of this CloudEndureProjectStorage. # noqa: E501 - - - :return: The points_in_time_total_bytes of this CloudEndureProjectStorage. # noqa: E501 - :rtype: int - """ - return self._points_in_time_total_bytes - - @points_in_time_total_bytes.setter - def points_in_time_total_bytes(self, points_in_time_total_bytes): - """Sets the points_in_time_total_bytes of this CloudEndureProjectStorage. - - - :param points_in_time_total_bytes: The points_in_time_total_bytes of this CloudEndureProjectStorage. # noqa: E501 - :type: int - """ - - self._points_in_time_total_bytes = points_in_time_total_bytes - - @property - def running_machines_total_bytes(self): - """Gets the running_machines_total_bytes of this CloudEndureProjectStorage. # noqa: E501 - - - :return: The running_machines_total_bytes of this CloudEndureProjectStorage. # noqa: E501 - :rtype: int - """ - return self._running_machines_total_bytes - - @running_machines_total_bytes.setter - def running_machines_total_bytes(self, running_machines_total_bytes): - """Sets the running_machines_total_bytes of this CloudEndureProjectStorage. - - - :param running_machines_total_bytes: The running_machines_total_bytes of this CloudEndureProjectStorage. # noqa: E501 - :type: int - """ - - self._running_machines_total_bytes = running_machines_total_bytes - - @property - def working_storage(self): - """Gets the working_storage of this CloudEndureProjectStorage. # noqa: E501 - - - :return: The working_storage of this CloudEndureProjectStorage. # noqa: E501 - :rtype: object - """ - return self._working_storage - - @working_storage.setter - def working_storage(self, working_storage): - """Sets the working_storage of this CloudEndureProjectStorage. - - - :param working_storage: The working_storage of this CloudEndureProjectStorage. # noqa: E501 - :type: object - """ - - self._working_storage = working_storage - - @property - def calculation_date_time(self): - """Gets the calculation_date_time of this CloudEndureProjectStorage. # noqa: E501 - - - :return: The calculation_date_time of this CloudEndureProjectStorage. # noqa: E501 - :rtype: datetime - """ - return self._calculation_date_time - - @calculation_date_time.setter - def calculation_date_time(self, calculation_date_time): - """Sets the calculation_date_time of this CloudEndureProjectStorage. - - - :param calculation_date_time: The calculation_date_time of this CloudEndureProjectStorage. # noqa: E501 - :type: datetime - """ - - self._calculation_date_time = calculation_date_time - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureProjectStorage, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureProjectStorage): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_projects_and_users.py b/cloudendure/cloudendure_api/models/cloud_endure_projects_and_users.py deleted file mode 100644 index c320ac458..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_projects_and_users.py +++ /dev/null @@ -1,111 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - - -class CloudEndureProjectsAndUsers: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'items': 'list[object]' - } - - attribute_map = { - 'items': 'items' - } - - def __init__(self, items=None): # noqa: E501 - """CloudEndureProjectsAndUsers - a model defined in Swagger""" # noqa: E501 - self._items = None - self.discriminator = None - if items is not None: - self.items = items - - @property - def items(self): - """Gets the items of this CloudEndureProjectsAndUsers. # noqa: E501 - - - :return: The items of this CloudEndureProjectsAndUsers. # noqa: E501 - :rtype: list[object] - """ - return self._items - - @items.setter - def items(self, items): - """Sets the items of this CloudEndureProjectsAndUsers. - - - :param items: The items of this CloudEndureProjectsAndUsers. # noqa: E501 - :type: list[object] - """ - - self._items = items - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureProjectsAndUsers, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureProjectsAndUsers): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_projects_list.py b/cloudendure/cloudendure_api/models/cloud_endure_projects_list.py deleted file mode 100644 index 4558b5337..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_projects_list.py +++ /dev/null @@ -1,113 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -from cloudendure.cloudendure_api.models.cloud_endure_project import CloudEndureProject # noqa: F401,E501 - - -class CloudEndureProjectsList: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'items': 'list[CloudEndureProject]' - } - - attribute_map = { - 'items': 'items' - } - - def __init__(self, items=None): # noqa: E501 - """CloudEndureProjectsList - a model defined in Swagger""" # noqa: E501 - self._items = None - self.discriminator = None - if items is not None: - self.items = items - - @property - def items(self): - """Gets the items of this CloudEndureProjectsList. # noqa: E501 - - - :return: The items of this CloudEndureProjectsList. # noqa: E501 - :rtype: list[CloudEndureProject] - """ - return self._items - - @items.setter - def items(self, items): - """Sets the items of this CloudEndureProjectsList. - - - :param items: The items of this CloudEndureProjectsList. # noqa: E501 - :type: list[CloudEndureProject] - """ - - self._items = items - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureProjectsList, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureProjectsList): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_recovery_plan.py b/cloudendure/cloudendure_api/models/cloud_endure_recovery_plan.py deleted file mode 100644 index 3ad646e82..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_recovery_plan.py +++ /dev/null @@ -1,166 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -from cloudendure.cloudendure_api.models.cloud_endure_recovery_plan_steps import \ - CloudEndureRecoveryPlanSteps # noqa: F401,E501 - - -class CloudEndureRecoveryPlan: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'steps': 'CloudEndureRecoveryPlanSteps', - 'id': 'str', - 'name': 'str' - } - - attribute_map = { - 'steps': 'steps', - 'id': 'id', - 'name': 'name' - } - - def __init__(self, steps=None, id=None, name=None): # noqa: E501 - """CloudEndureRecoveryPlan - a model defined in Swagger""" # noqa: E501 - self._steps = None - self._id = None - self._name = None - self.discriminator = None - if steps is not None: - self.steps = steps - if id is not None: - self.id = id - if name is not None: - self.name = name - - @property - def steps(self): - """Gets the steps of this CloudEndureRecoveryPlan. # noqa: E501 - - - :return: The steps of this CloudEndureRecoveryPlan. # noqa: E501 - :rtype: CloudEndureRecoveryPlanSteps - """ - return self._steps - - @steps.setter - def steps(self, steps): - """Sets the steps of this CloudEndureRecoveryPlan. - - - :param steps: The steps of this CloudEndureRecoveryPlan. # noqa: E501 - :type: CloudEndureRecoveryPlanSteps - """ - - self._steps = steps - - @property - def id(self): - """Gets the id of this CloudEndureRecoveryPlan. # noqa: E501 - - - :return: The id of this CloudEndureRecoveryPlan. # noqa: E501 - :rtype: str - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this CloudEndureRecoveryPlan. - - - :param id: The id of this CloudEndureRecoveryPlan. # noqa: E501 - :type: str - """ - - self._id = id - - @property - def name(self): - """Gets the name of this CloudEndureRecoveryPlan. # noqa: E501 - - - :return: The name of this CloudEndureRecoveryPlan. # noqa: E501 - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this CloudEndureRecoveryPlan. - - - :param name: The name of this CloudEndureRecoveryPlan. # noqa: E501 - :type: str - """ - - self._name = name - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureRecoveryPlan, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureRecoveryPlan): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_recovery_plan_list.py b/cloudendure/cloudendure_api/models/cloud_endure_recovery_plan_list.py deleted file mode 100644 index 4c56f30a9..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_recovery_plan_list.py +++ /dev/null @@ -1,113 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -from cloudendure.cloudendure_api.models.cloud_endure_recovery_plan import CloudEndureRecoveryPlan # noqa: F401,E501 - - -class CloudEndureRecoveryPlanList: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'items': 'list[CloudEndureRecoveryPlan]' - } - - attribute_map = { - 'items': 'items' - } - - def __init__(self, items=None): # noqa: E501 - """CloudEndureRecoveryPlanList - a model defined in Swagger""" # noqa: E501 - self._items = None - self.discriminator = None - if items is not None: - self.items = items - - @property - def items(self): - """Gets the items of this CloudEndureRecoveryPlanList. # noqa: E501 - - - :return: The items of this CloudEndureRecoveryPlanList. # noqa: E501 - :rtype: list[CloudEndureRecoveryPlan] - """ - return self._items - - @items.setter - def items(self, items): - """Sets the items of this CloudEndureRecoveryPlanList. - - - :param items: The items of this CloudEndureRecoveryPlanList. # noqa: E501 - :type: list[CloudEndureRecoveryPlan] - """ - - self._items = items - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureRecoveryPlanList, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureRecoveryPlanList): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_recovery_plan_step.py b/cloudendure/cloudendure_api/models/cloud_endure_recovery_plan_step.py deleted file mode 100644 index a4b28c62a..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_recovery_plan_step.py +++ /dev/null @@ -1,163 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - - -class CloudEndureRecoveryPlanStep: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'machine_i_ds': 'list[str]', - 'wait_before': 'str', - 'name': 'str' - } - - attribute_map = { - 'machine_i_ds': 'machineIDs', - 'wait_before': 'waitBefore', - 'name': 'name' - } - - def __init__(self, machine_i_ds=None, wait_before=None, name=None): # noqa: E501 - """CloudEndureRecoveryPlanStep - a model defined in Swagger""" # noqa: E501 - self._machine_i_ds = None - self._wait_before = None - self._name = None - self.discriminator = None - if machine_i_ds is not None: - self.machine_i_ds = machine_i_ds - if wait_before is not None: - self.wait_before = wait_before - if name is not None: - self.name = name - - @property - def machine_i_ds(self): - """Gets the machine_i_ds of this CloudEndureRecoveryPlanStep. # noqa: E501 - - - :return: The machine_i_ds of this CloudEndureRecoveryPlanStep. # noqa: E501 - :rtype: list[str] - """ - return self._machine_i_ds - - @machine_i_ds.setter - def machine_i_ds(self, machine_i_ds): - """Sets the machine_i_ds of this CloudEndureRecoveryPlanStep. - - - :param machine_i_ds: The machine_i_ds of this CloudEndureRecoveryPlanStep. # noqa: E501 - :type: list[str] - """ - - self._machine_i_ds = machine_i_ds - - @property - def wait_before(self): - """Gets the wait_before of this CloudEndureRecoveryPlanStep. # noqa: E501 - - - :return: The wait_before of this CloudEndureRecoveryPlanStep. # noqa: E501 - :rtype: str - """ - return self._wait_before - - @wait_before.setter - def wait_before(self, wait_before): - """Sets the wait_before of this CloudEndureRecoveryPlanStep. - - - :param wait_before: The wait_before of this CloudEndureRecoveryPlanStep. # noqa: E501 - :type: str - """ - - self._wait_before = wait_before - - @property - def name(self): - """Gets the name of this CloudEndureRecoveryPlanStep. # noqa: E501 - - - :return: The name of this CloudEndureRecoveryPlanStep. # noqa: E501 - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this CloudEndureRecoveryPlanStep. - - - :param name: The name of this CloudEndureRecoveryPlanStep. # noqa: E501 - :type: str - """ - - self._name = name - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureRecoveryPlanStep, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureRecoveryPlanStep): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_recovery_plan_steps.py b/cloudendure/cloudendure_api/models/cloud_endure_recovery_plan_steps.py deleted file mode 100644 index 46ba78800..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_recovery_plan_steps.py +++ /dev/null @@ -1,114 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -from cloudendure.cloudendure_api.models.cloud_endure_recovery_plan_step import \ - CloudEndureRecoveryPlanStep # noqa: F401,E501 - - -class CloudEndureRecoveryPlanSteps: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'items': 'list[CloudEndureRecoveryPlanStep]' - } - - attribute_map = { - 'items': 'items' - } - - def __init__(self, items=None): # noqa: E501 - """CloudEndureRecoveryPlanSteps - a model defined in Swagger""" # noqa: E501 - self._items = None - self.discriminator = None - if items is not None: - self.items = items - - @property - def items(self): - """Gets the items of this CloudEndureRecoveryPlanSteps. # noqa: E501 - - - :return: The items of this CloudEndureRecoveryPlanSteps. # noqa: E501 - :rtype: list[CloudEndureRecoveryPlanStep] - """ - return self._items - - @items.setter - def items(self, items): - """Sets the items of this CloudEndureRecoveryPlanSteps. - - - :param items: The items of this CloudEndureRecoveryPlanSteps. # noqa: E501 - :type: list[CloudEndureRecoveryPlanStep] - """ - - self._items = items - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureRecoveryPlanSteps, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureRecoveryPlanSteps): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_region.py b/cloudendure/cloudendure_api/models/cloud_endure_region.py deleted file mode 100644 index 48d80dfe5..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_region.py +++ /dev/null @@ -1,656 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -from cloudendure.cloudendure_api.models.cloud_endure_compute_location import \ - CloudEndureComputeLocation # noqa: F401,E501 -from cloudendure.cloudendure_api.models.cloud_endure_logical_location import \ - CloudEndureLogicalLocation # noqa: F401,E501 -from cloudendure.cloudendure_api.models.cloud_endure_network_interface import \ - CloudEndureNetworkInterface # noqa: F401,E501 -from cloudendure.cloudendure_api.models.cloud_endure_security_group import CloudEndureSecurityGroup # noqa: F401,E501 -from cloudendure.cloudendure_api.models.cloud_endure_storage_location import \ - CloudEndureStorageLocation # noqa: F401,E501 -from cloudendure.cloudendure_api.models.cloud_endure_subnet import CloudEndureSubnet # noqa: F401,E501 - - -class CloudEndureRegion: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'subnets': 'list[CloudEndureSubnet]', - 'placement_groups': 'list[str]', - 'scsi_adapter_types': 'list[str]', - 'instance_types': 'list[str]', - 'zones': 'list[str]', - 'volume_encryption_keys': 'list[str]', - 'cloud': 'str', - 'security_groups': 'list[CloudEndureSecurityGroup]', - 'logical_locations': 'list[CloudEndureLogicalLocation]', - 'static_ips': 'list[str]', - 'max_cpus_per_machine': 'int', - 'network_interfaces': 'list[CloudEndureNetworkInterface]', - 'compute_locations': 'list[CloudEndureComputeLocation]', - 'name': 'str', - 'storage_locations': 'list[CloudEndureStorageLocation]', - 'iam_roles': 'list[str]', - 'id': 'str', - 'max_cores_per_machine_cpu': 'int', - 'dedicated_hosts': 'list[str]', - 'network_adapter_types': 'list[str]', - 'max_mb_ram_per_machine': 'int' - } - - attribute_map = { - 'subnets': 'subnets', - 'placement_groups': 'placementGroups', - 'scsi_adapter_types': 'scsiAdapterTypes', - 'instance_types': 'instanceTypes', - 'zones': 'zones', - 'volume_encryption_keys': 'volumeEncryptionKeys', - 'cloud': 'cloud', - 'security_groups': 'securityGroups', - 'logical_locations': 'logicalLocations', - 'static_ips': 'staticIps', - 'max_cpus_per_machine': 'maxCpusPerMachine', - 'network_interfaces': 'networkInterfaces', - 'compute_locations': 'computeLocations', - 'name': 'name', - 'storage_locations': 'storageLocations', - 'iam_roles': 'iamRoles', - 'id': 'id', - 'max_cores_per_machine_cpu': 'maxCoresPerMachineCpu', - 'dedicated_hosts': 'dedicatedHosts', - 'network_adapter_types': 'networkAdapterTypes', - 'max_mb_ram_per_machine': 'maxMbRamPerMachine' - } - - def __init__(self, subnets=None, placement_groups=None, scsi_adapter_types=None, instance_types=None, zones=None, volume_encryption_keys=None, cloud=None, security_groups=None, logical_locations=None, static_ips=None, max_cpus_per_machine=None, network_interfaces=None, compute_locations=None, name=None, storage_locations=None, iam_roles=None, id=None, max_cores_per_machine_cpu=None, dedicated_hosts=None, network_adapter_types=None, max_mb_ram_per_machine=None): # noqa: E501 - """CloudEndureRegion - a model defined in Swagger""" # noqa: E501 - self._subnets = None - self._placement_groups = None - self._scsi_adapter_types = None - self._instance_types = None - self._zones = None - self._volume_encryption_keys = None - self._cloud = None - self._security_groups = None - self._logical_locations = None - self._static_ips = None - self._max_cpus_per_machine = None - self._network_interfaces = None - self._compute_locations = None - self._name = None - self._storage_locations = None - self._iam_roles = None - self._id = None - self._max_cores_per_machine_cpu = None - self._dedicated_hosts = None - self._network_adapter_types = None - self._max_mb_ram_per_machine = None - self.discriminator = None - if subnets is not None: - self.subnets = subnets - if placement_groups is not None: - self.placement_groups = placement_groups - if scsi_adapter_types is not None: - self.scsi_adapter_types = scsi_adapter_types - if instance_types is not None: - self.instance_types = instance_types - if zones is not None: - self.zones = zones - if volume_encryption_keys is not None: - self.volume_encryption_keys = volume_encryption_keys - if cloud is not None: - self.cloud = cloud - if security_groups is not None: - self.security_groups = security_groups - if logical_locations is not None: - self.logical_locations = logical_locations - if static_ips is not None: - self.static_ips = static_ips - if max_cpus_per_machine is not None: - self.max_cpus_per_machine = max_cpus_per_machine - if network_interfaces is not None: - self.network_interfaces = network_interfaces - if compute_locations is not None: - self.compute_locations = compute_locations - if name is not None: - self.name = name - if storage_locations is not None: - self.storage_locations = storage_locations - if iam_roles is not None: - self.iam_roles = iam_roles - if id is not None: - self.id = id - if max_cores_per_machine_cpu is not None: - self.max_cores_per_machine_cpu = max_cores_per_machine_cpu - if dedicated_hosts is not None: - self.dedicated_hosts = dedicated_hosts - if network_adapter_types is not None: - self.network_adapter_types = network_adapter_types - if max_mb_ram_per_machine is not None: - self.max_mb_ram_per_machine = max_mb_ram_per_machine - - @property - def subnets(self): - """Gets the subnets of this CloudEndureRegion. # noqa: E501 - - - :return: The subnets of this CloudEndureRegion. # noqa: E501 - :rtype: list[CloudEndureSubnet] - """ - return self._subnets - - @subnets.setter - def subnets(self, subnets): - """Sets the subnets of this CloudEndureRegion. - - - :param subnets: The subnets of this CloudEndureRegion. # noqa: E501 - :type: list[CloudEndureSubnet] - """ - - self._subnets = subnets - - @property - def placement_groups(self): - """Gets the placement_groups of this CloudEndureRegion. # noqa: E501 - - - :return: The placement_groups of this CloudEndureRegion. # noqa: E501 - :rtype: list[str] - """ - return self._placement_groups - - @placement_groups.setter - def placement_groups(self, placement_groups): - """Sets the placement_groups of this CloudEndureRegion. - - - :param placement_groups: The placement_groups of this CloudEndureRegion. # noqa: E501 - :type: list[str] - """ - - self._placement_groups = placement_groups - - @property - def scsi_adapter_types(self): - """Gets the scsi_adapter_types of this CloudEndureRegion. # noqa: E501 - - todo # noqa: E501 - - :return: The scsi_adapter_types of this CloudEndureRegion. # noqa: E501 - :rtype: list[str] - """ - return self._scsi_adapter_types - - @scsi_adapter_types.setter - def scsi_adapter_types(self, scsi_adapter_types): - """Sets the scsi_adapter_types of this CloudEndureRegion. - - todo # noqa: E501 - - :param scsi_adapter_types: The scsi_adapter_types of this CloudEndureRegion. # noqa: E501 - :type: list[str] - """ - - self._scsi_adapter_types = scsi_adapter_types - - @property - def instance_types(self): - """Gets the instance_types of this CloudEndureRegion. # noqa: E501 - - - :return: The instance_types of this CloudEndureRegion. # noqa: E501 - :rtype: list[str] - """ - return self._instance_types - - @instance_types.setter - def instance_types(self, instance_types): - """Sets the instance_types of this CloudEndureRegion. - - - :param instance_types: The instance_types of this CloudEndureRegion. # noqa: E501 - :type: list[str] - """ - - self._instance_types = instance_types - - @property - def zones(self): - """Gets the zones of this CloudEndureRegion. # noqa: E501 - - - :return: The zones of this CloudEndureRegion. # noqa: E501 - :rtype: list[str] - """ - return self._zones - - @zones.setter - def zones(self, zones): - """Sets the zones of this CloudEndureRegion. - - - :param zones: The zones of this CloudEndureRegion. # noqa: E501 - :type: list[str] - """ - - self._zones = zones - - @property - def volume_encryption_keys(self): - """Gets the volume_encryption_keys of this CloudEndureRegion. # noqa: E501 - - - :return: The volume_encryption_keys of this CloudEndureRegion. # noqa: E501 - :rtype: list[str] - """ - return self._volume_encryption_keys - - @volume_encryption_keys.setter - def volume_encryption_keys(self, volume_encryption_keys): - """Sets the volume_encryption_keys of this CloudEndureRegion. - - - :param volume_encryption_keys: The volume_encryption_keys of this CloudEndureRegion. # noqa: E501 - :type: list[str] - """ - - self._volume_encryption_keys = volume_encryption_keys - - @property - def cloud(self): - """Gets the cloud of this CloudEndureRegion. # noqa: E501 - - - :return: The cloud of this CloudEndureRegion. # noqa: E501 - :rtype: str - """ - return self._cloud - - @cloud.setter - def cloud(self, cloud): - """Sets the cloud of this CloudEndureRegion. - - - :param cloud: The cloud of this CloudEndureRegion. # noqa: E501 - :type: str - """ - - self._cloud = cloud - - @property - def security_groups(self): - """Gets the security_groups of this CloudEndureRegion. # noqa: E501 - - - :return: The security_groups of this CloudEndureRegion. # noqa: E501 - :rtype: list[CloudEndureSecurityGroup] - """ - return self._security_groups - - @security_groups.setter - def security_groups(self, security_groups): - """Sets the security_groups of this CloudEndureRegion. - - - :param security_groups: The security_groups of this CloudEndureRegion. # noqa: E501 - :type: list[CloudEndureSecurityGroup] - """ - - self._security_groups = security_groups - - @property - def logical_locations(self): - """Gets the logical_locations of this CloudEndureRegion. # noqa: E501 - - - :return: The logical_locations of this CloudEndureRegion. # noqa: E501 - :rtype: list[CloudEndureLogicalLocation] - """ - return self._logical_locations - - @logical_locations.setter - def logical_locations(self, logical_locations): - """Sets the logical_locations of this CloudEndureRegion. - - - :param logical_locations: The logical_locations of this CloudEndureRegion. # noqa: E501 - :type: list[CloudEndureLogicalLocation] - """ - - self._logical_locations = logical_locations - - @property - def static_ips(self): - """Gets the static_ips of this CloudEndureRegion. # noqa: E501 - - - :return: The static_ips of this CloudEndureRegion. # noqa: E501 - :rtype: list[str] - """ - return self._static_ips - - @static_ips.setter - def static_ips(self, static_ips): - """Sets the static_ips of this CloudEndureRegion. - - - :param static_ips: The static_ips of this CloudEndureRegion. # noqa: E501 - :type: list[str] - """ - - self._static_ips = static_ips - - @property - def max_cpus_per_machine(self): - """Gets the max_cpus_per_machine of this CloudEndureRegion. # noqa: E501 - - Maximum CPUs per per Target machine (currently relevant for vCenter cloud only) # noqa: E501 - - :return: The max_cpus_per_machine of this CloudEndureRegion. # noqa: E501 - :rtype: int - """ - return self._max_cpus_per_machine - - @max_cpus_per_machine.setter - def max_cpus_per_machine(self, max_cpus_per_machine): - """Sets the max_cpus_per_machine of this CloudEndureRegion. - - Maximum CPUs per per Target machine (currently relevant for vCenter cloud only) # noqa: E501 - - :param max_cpus_per_machine: The max_cpus_per_machine of this CloudEndureRegion. # noqa: E501 - :type: int - """ - - self._max_cpus_per_machine = max_cpus_per_machine - - @property - def network_interfaces(self): - """Gets the network_interfaces of this CloudEndureRegion. # noqa: E501 - - - :return: The network_interfaces of this CloudEndureRegion. # noqa: E501 - :rtype: list[CloudEndureNetworkInterface] - """ - return self._network_interfaces - - @network_interfaces.setter - def network_interfaces(self, network_interfaces): - """Sets the network_interfaces of this CloudEndureRegion. - - - :param network_interfaces: The network_interfaces of this CloudEndureRegion. # noqa: E501 - :type: list[CloudEndureNetworkInterface] - """ - - self._network_interfaces = network_interfaces - - @property - def compute_locations(self): - """Gets the compute_locations of this CloudEndureRegion. # noqa: E501 - - Compute location (e.g. vCenter Host) # noqa: E501 - - :return: The compute_locations of this CloudEndureRegion. # noqa: E501 - :rtype: list[CloudEndureComputeLocation] - """ - return self._compute_locations - - @compute_locations.setter - def compute_locations(self, compute_locations): - """Sets the compute_locations of this CloudEndureRegion. - - Compute location (e.g. vCenter Host) # noqa: E501 - - :param compute_locations: The compute_locations of this CloudEndureRegion. # noqa: E501 - :type: list[CloudEndureComputeLocation] - """ - - self._compute_locations = compute_locations - - @property - def name(self): - """Gets the name of this CloudEndureRegion. # noqa: E501 - - - :return: The name of this CloudEndureRegion. # noqa: E501 - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this CloudEndureRegion. - - - :param name: The name of this CloudEndureRegion. # noqa: E501 - :type: str - """ - - self._name = name - - @property - def storage_locations(self): - """Gets the storage_locations of this CloudEndureRegion. # noqa: E501 - - Storage location (e.g. Azure Storage Account, vCenter Data Store) # noqa: E501 - - :return: The storage_locations of this CloudEndureRegion. # noqa: E501 - :rtype: list[CloudEndureStorageLocation] - """ - return self._storage_locations - - @storage_locations.setter - def storage_locations(self, storage_locations): - """Sets the storage_locations of this CloudEndureRegion. - - Storage location (e.g. Azure Storage Account, vCenter Data Store) # noqa: E501 - - :param storage_locations: The storage_locations of this CloudEndureRegion. # noqa: E501 - :type: list[CloudEndureStorageLocation] - """ - - self._storage_locations = storage_locations - - @property - def iam_roles(self): - """Gets the iam_roles of this CloudEndureRegion. # noqa: E501 - - - :return: The iam_roles of this CloudEndureRegion. # noqa: E501 - :rtype: list[str] - """ - return self._iam_roles - - @iam_roles.setter - def iam_roles(self, iam_roles): - """Sets the iam_roles of this CloudEndureRegion. - - - :param iam_roles: The iam_roles of this CloudEndureRegion. # noqa: E501 - :type: list[str] - """ - - self._iam_roles = iam_roles - - @property - def id(self): - """Gets the id of this CloudEndureRegion. # noqa: E501 - - - :return: The id of this CloudEndureRegion. # noqa: E501 - :rtype: str - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this CloudEndureRegion. - - - :param id: The id of this CloudEndureRegion. # noqa: E501 - :type: str - """ - - self._id = id - - @property - def max_cores_per_machine_cpu(self): - """Gets the max_cores_per_machine_cpu of this CloudEndureRegion. # noqa: E501 - - Maximum CPU cores per CPU in Target machines (currently relevant for vCenter cloud only) # noqa: E501 - - :return: The max_cores_per_machine_cpu of this CloudEndureRegion. # noqa: E501 - :rtype: int - """ - return self._max_cores_per_machine_cpu - - @max_cores_per_machine_cpu.setter - def max_cores_per_machine_cpu(self, max_cores_per_machine_cpu): - """Sets the max_cores_per_machine_cpu of this CloudEndureRegion. - - Maximum CPU cores per CPU in Target machines (currently relevant for vCenter cloud only) # noqa: E501 - - :param max_cores_per_machine_cpu: The max_cores_per_machine_cpu of this CloudEndureRegion. # noqa: E501 - :type: int - """ - - self._max_cores_per_machine_cpu = max_cores_per_machine_cpu - - @property - def dedicated_hosts(self): - """Gets the dedicated_hosts of this CloudEndureRegion. # noqa: E501 - - - :return: The dedicated_hosts of this CloudEndureRegion. # noqa: E501 - :rtype: list[str] - """ - return self._dedicated_hosts - - @dedicated_hosts.setter - def dedicated_hosts(self, dedicated_hosts): - """Sets the dedicated_hosts of this CloudEndureRegion. - - - :param dedicated_hosts: The dedicated_hosts of this CloudEndureRegion. # noqa: E501 - :type: list[str] - """ - - self._dedicated_hosts = dedicated_hosts - - @property - def network_adapter_types(self): - """Gets the network_adapter_types of this CloudEndureRegion. # noqa: E501 - - todo # noqa: E501 - - :return: The network_adapter_types of this CloudEndureRegion. # noqa: E501 - :rtype: list[str] - """ - return self._network_adapter_types - - @network_adapter_types.setter - def network_adapter_types(self, network_adapter_types): - """Sets the network_adapter_types of this CloudEndureRegion. - - todo # noqa: E501 - - :param network_adapter_types: The network_adapter_types of this CloudEndureRegion. # noqa: E501 - :type: list[str] - """ - - self._network_adapter_types = network_adapter_types - - @property - def max_mb_ram_per_machine(self): - """Gets the max_mb_ram_per_machine of this CloudEndureRegion. # noqa: E501 - - Maximum MB RAM per Target machine (currently relevant for vCenter cloud only) # noqa: E501 - - :return: The max_mb_ram_per_machine of this CloudEndureRegion. # noqa: E501 - :rtype: int - """ - return self._max_mb_ram_per_machine - - @max_mb_ram_per_machine.setter - def max_mb_ram_per_machine(self, max_mb_ram_per_machine): - """Sets the max_mb_ram_per_machine of this CloudEndureRegion. - - Maximum MB RAM per Target machine (currently relevant for vCenter cloud only) # noqa: E501 - - :param max_mb_ram_per_machine: The max_mb_ram_per_machine of this CloudEndureRegion. # noqa: E501 - :type: int - """ - - self._max_mb_ram_per_machine = max_mb_ram_per_machine - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureRegion, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureRegion): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_regions_list.py b/cloudendure/cloudendure_api/models/cloud_endure_regions_list.py deleted file mode 100644 index 1f9a024ca..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_regions_list.py +++ /dev/null @@ -1,113 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -from cloudendure.cloudendure_api.models.cloud_endure_region import CloudEndureRegion # noqa: F401,E501 - - -class CloudEndureRegionsList: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'items': 'list[CloudEndureRegion]' - } - - attribute_map = { - 'items': 'items' - } - - def __init__(self, items=None): # noqa: E501 - """CloudEndureRegionsList - a model defined in Swagger""" # noqa: E501 - self._items = None - self.discriminator = None - if items is not None: - self.items = items - - @property - def items(self): - """Gets the items of this CloudEndureRegionsList. # noqa: E501 - - - :return: The items of this CloudEndureRegionsList. # noqa: E501 - :rtype: list[CloudEndureRegion] - """ - return self._items - - @items.setter - def items(self, items): - """Sets the items of this CloudEndureRegionsList. - - - :param items: The items of this CloudEndureRegionsList. # noqa: E501 - :type: list[CloudEndureRegion] - """ - - self._items = items - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureRegionsList, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureRegionsList): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_replica.py b/cloudendure/cloudendure_api/models/cloud_endure_replica.py deleted file mode 100644 index 7ab35b678..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_replica.py +++ /dev/null @@ -1,335 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - - -class CloudEndureReplica: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'machine': 'str', - 'cloud_endure_creation_date_time': 'datetime', - 'name': 'str', - 'point_in_time': 'str', - 'machine_cloud_state': 'str', - 'public_ips': 'list[str]', - 'region_id': 'str', - 'id': 'str', - 'machine_cloud_id': 'str' - } - - attribute_map = { - 'machine': 'machine', - 'cloud_endure_creation_date_time': 'cloudEndureCreationDateTime', - 'name': 'name', - 'point_in_time': 'pointInTime', - 'machine_cloud_state': 'machineCloudState', - 'public_ips': 'publicIps', - 'region_id': 'regionId', - 'id': 'id', - 'machine_cloud_id': 'machineCloudId' - } - - def __init__(self, machine=None, cloud_endure_creation_date_time=None, name=None, point_in_time=None, machine_cloud_state=None, public_ips=None, region_id=None, id=None, machine_cloud_id=None): # noqa: E501 - """CloudEndureReplica - a model defined in Swagger""" # noqa: E501 - self._machine = None - self._cloud_endure_creation_date_time = None - self._name = None - self._point_in_time = None - self._machine_cloud_state = None - self._public_ips = None - self._region_id = None - self._id = None - self._machine_cloud_id = None - self.discriminator = None - if machine is not None: - self.machine = machine - if cloud_endure_creation_date_time is not None: - self.cloud_endure_creation_date_time = cloud_endure_creation_date_time - if name is not None: - self.name = name - if point_in_time is not None: - self.point_in_time = point_in_time - if machine_cloud_state is not None: - self.machine_cloud_state = machine_cloud_state - if public_ips is not None: - self.public_ips = public_ips - if region_id is not None: - self.region_id = region_id - if id is not None: - self.id = id - if machine_cloud_id is not None: - self.machine_cloud_id = machine_cloud_id - - @property - def machine(self): - """Gets the machine of this CloudEndureReplica. # noqa: E501 - - The ID of the source machine for this target machine. # noqa: E501 - - :return: The machine of this CloudEndureReplica. # noqa: E501 - :rtype: str - """ - return self._machine - - @machine.setter - def machine(self, machine): - """Sets the machine of this CloudEndureReplica. - - The ID of the source machine for this target machine. # noqa: E501 - - :param machine: The machine of this CloudEndureReplica. # noqa: E501 - :type: str - """ - - self._machine = machine - - @property - def cloud_endure_creation_date_time(self): - """Gets the cloud_endure_creation_date_time of this CloudEndureReplica. # noqa: E501 - - Timestamp for launching this target machine. # noqa: E501 - - :return: The cloud_endure_creation_date_time of this CloudEndureReplica. # noqa: E501 - :rtype: datetime - """ - return self._cloud_endure_creation_date_time - - @cloud_endure_creation_date_time.setter - def cloud_endure_creation_date_time(self, cloud_endure_creation_date_time): - """Sets the cloud_endure_creation_date_time of this CloudEndureReplica. - - Timestamp for launching this target machine. # noqa: E501 - - :param cloud_endure_creation_date_time: The cloud_endure_creation_date_time of this CloudEndureReplica. # noqa: E501 - :type: datetime - """ - - self._cloud_endure_creation_date_time = cloud_endure_creation_date_time - - @property - def name(self): - """Gets the name of this CloudEndureReplica. # noqa: E501 - - Target machine name in the target environment. # noqa: E501 - - :return: The name of this CloudEndureReplica. # noqa: E501 - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this CloudEndureReplica. - - Target machine name in the target environment. # noqa: E501 - - :param name: The name of this CloudEndureReplica. # noqa: E501 - :type: str - """ - - self._name = name - - @property - def point_in_time(self): - """Gets the point_in_time of this CloudEndureReplica. # noqa: E501 - - The ID of the pointInTime object from which this target machine was created. # noqa: E501 - - :return: The point_in_time of this CloudEndureReplica. # noqa: E501 - :rtype: str - """ - return self._point_in_time - - @point_in_time.setter - def point_in_time(self, point_in_time): - """Sets the point_in_time of this CloudEndureReplica. - - The ID of the pointInTime object from which this target machine was created. # noqa: E501 - - :param point_in_time: The point_in_time of this CloudEndureReplica. # noqa: E501 - :type: str - """ - - self._point_in_time = point_in_time - - @property - def machine_cloud_state(self): - """Gets the machine_cloud_state of this CloudEndureReplica. # noqa: E501 - - Target machine state in the target environment. # noqa: E501 - - :return: The machine_cloud_state of this CloudEndureReplica. # noqa: E501 - :rtype: str - """ - return self._machine_cloud_state - - @machine_cloud_state.setter - def machine_cloud_state(self, machine_cloud_state): - """Sets the machine_cloud_state of this CloudEndureReplica. - - Target machine state in the target environment. # noqa: E501 - - :param machine_cloud_state: The machine_cloud_state of this CloudEndureReplica. # noqa: E501 - :type: str - """ - - self._machine_cloud_state = machine_cloud_state - - @property - def public_ips(self): - """Gets the public_ips of this CloudEndureReplica. # noqa: E501 - - Static (non-ephemral) public IPs. On some clouds this also includes ephemeral IPs. # noqa: E501 - - :return: The public_ips of this CloudEndureReplica. # noqa: E501 - :rtype: list[str] - """ - return self._public_ips - - @public_ips.setter - def public_ips(self, public_ips): - """Sets the public_ips of this CloudEndureReplica. - - Static (non-ephemral) public IPs. On some clouds this also includes ephemeral IPs. # noqa: E501 - - :param public_ips: The public_ips of this CloudEndureReplica. # noqa: E501 - :type: list[str] - """ - - self._public_ips = public_ips - - @property - def region_id(self): - """Gets the region_id of this CloudEndureReplica. # noqa: E501 - - The ID of the region where this target machine has been launched. # noqa: E501 - - :return: The region_id of this CloudEndureReplica. # noqa: E501 - :rtype: str - """ - return self._region_id - - @region_id.setter - def region_id(self, region_id): - """Sets the region_id of this CloudEndureReplica. - - The ID of the region where this target machine has been launched. # noqa: E501 - - :param region_id: The region_id of this CloudEndureReplica. # noqa: E501 - :type: str - """ - - self._region_id = region_id - - @property - def id(self): - """Gets the id of this CloudEndureReplica. # noqa: E501 - - - :return: The id of this CloudEndureReplica. # noqa: E501 - :rtype: str - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this CloudEndureReplica. - - - :param id: The id of this CloudEndureReplica. # noqa: E501 - :type: str - """ - - self._id = id - - @property - def machine_cloud_id(self): - """Gets the machine_cloud_id of this CloudEndureReplica. # noqa: E501 - - Target machine ID in the target environment. # noqa: E501 - - :return: The machine_cloud_id of this CloudEndureReplica. # noqa: E501 - :rtype: str - """ - return self._machine_cloud_id - - @machine_cloud_id.setter - def machine_cloud_id(self, machine_cloud_id): - """Sets the machine_cloud_id of this CloudEndureReplica. - - Target machine ID in the target environment. # noqa: E501 - - :param machine_cloud_id: The machine_cloud_id of this CloudEndureReplica. # noqa: E501 - :type: str - """ - - self._machine_cloud_id = machine_cloud_id - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureReplica, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureReplica): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_replication_configuration.py b/cloudendure/cloudendure_api/models/cloud_endure_replication_configuration.py deleted file mode 100644 index b78070754..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_replication_configuration.py +++ /dev/null @@ -1,635 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - - -class CloudEndureReplicationConfiguration: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'volume_encryption_key': 'str', - 'replication_tags': 'list[object]', - 'subnet_host_project': 'str', - 'replication_server_type': 'str', - 'compute_location_id': 'str', - 'cloud_credentials': 'str', - 'subnet_id': 'str', - 'logical_location_id': 'str', - 'bandwidth_throttling': 'int', - 'storage_location_id': 'str', - 'use_dedicated_server': 'bool', - 'zone': 'str', - 'replicator_security_group_i_ds': 'list[str]', - 'use_private_ip': 'bool', - 'region': 'str', - 'id': 'str', - 'proxy_url': 'str', - 'volume_encryption_allowed': 'bool', - 'archiving_enabled': 'bool', - 'object_storage_location': 'str' - } - - attribute_map = { - 'volume_encryption_key': 'volumeEncryptionKey', - 'replication_tags': 'replicationTags', - 'subnet_host_project': 'subnetHostProject', - 'replication_server_type': 'replicationServerType', - 'compute_location_id': 'computeLocationId', - 'cloud_credentials': 'cloudCredentials', - 'subnet_id': 'subnetId', - 'logical_location_id': 'logicalLocationId', - 'bandwidth_throttling': 'bandwidthThrottling', - 'storage_location_id': 'storageLocationId', - 'use_dedicated_server': 'useDedicatedServer', - 'zone': 'zone', - 'replicator_security_group_i_ds': 'replicatorSecurityGroupIDs', - 'use_private_ip': 'usePrivateIp', - 'region': 'region', - 'id': 'id', - 'proxy_url': 'proxyUrl', - 'volume_encryption_allowed': 'volumeEncryptionAllowed', - 'archiving_enabled': 'archivingEnabled', - 'object_storage_location': 'objectStorageLocation' - } - - def __init__(self, volume_encryption_key=None, replication_tags=None, subnet_host_project=None, replication_server_type=None, compute_location_id=None, cloud_credentials=None, subnet_id=None, logical_location_id=None, bandwidth_throttling=None, storage_location_id=None, use_dedicated_server=None, zone=None, replicator_security_group_i_ds=None, use_private_ip=None, region=None, id=None, proxy_url=None, volume_encryption_allowed=None, archiving_enabled=None, object_storage_location=None): # noqa: E501 - """CloudEndureReplicationConfiguration - a model defined in Swagger""" # noqa: E501 - self._volume_encryption_key = None - self._replication_tags = None - self._subnet_host_project = None - self._replication_server_type = None - self._compute_location_id = None - self._cloud_credentials = None - self._subnet_id = None - self._logical_location_id = None - self._bandwidth_throttling = None - self._storage_location_id = None - self._use_dedicated_server = None - self._zone = None - self._replicator_security_group_i_ds = None - self._use_private_ip = None - self._region = None - self._id = None - self._proxy_url = None - self._volume_encryption_allowed = None - self._archiving_enabled = None - self._object_storage_location = None - self.discriminator = None - if volume_encryption_key is not None: - self.volume_encryption_key = volume_encryption_key - if replication_tags is not None: - self.replication_tags = replication_tags - if subnet_host_project is not None: - self.subnet_host_project = subnet_host_project - if replication_server_type is not None: - self.replication_server_type = replication_server_type - if compute_location_id is not None: - self.compute_location_id = compute_location_id - if cloud_credentials is not None: - self.cloud_credentials = cloud_credentials - if subnet_id is not None: - self.subnet_id = subnet_id - if logical_location_id is not None: - self.logical_location_id = logical_location_id - if bandwidth_throttling is not None: - self.bandwidth_throttling = bandwidth_throttling - if storage_location_id is not None: - self.storage_location_id = storage_location_id - if use_dedicated_server is not None: - self.use_dedicated_server = use_dedicated_server - if zone is not None: - self.zone = zone - if replicator_security_group_i_ds is not None: - self.replicator_security_group_i_ds = replicator_security_group_i_ds - if use_private_ip is not None: - self.use_private_ip = use_private_ip - if region is not None: - self.region = region - if id is not None: - self.id = id - if proxy_url is not None: - self.proxy_url = proxy_url - if volume_encryption_allowed is not None: - self.volume_encryption_allowed = volume_encryption_allowed - if archiving_enabled is not None: - self.archiving_enabled = archiving_enabled - if object_storage_location is not None: - self.object_storage_location = object_storage_location - - @property - def volume_encryption_key(self): - """Gets the volume_encryption_key of this CloudEndureReplicationConfiguration. # noqa: E501 - - AWS only. ARN to private key for Volume Encryption. Possible values can be fetched from the Region object. # noqa: E501 - - :return: The volume_encryption_key of this CloudEndureReplicationConfiguration. # noqa: E501 - :rtype: str - """ - return self._volume_encryption_key - - @volume_encryption_key.setter - def volume_encryption_key(self, volume_encryption_key): - """Sets the volume_encryption_key of this CloudEndureReplicationConfiguration. - - AWS only. ARN to private key for Volume Encryption. Possible values can be fetched from the Region object. # noqa: E501 - - :param volume_encryption_key: The volume_encryption_key of this CloudEndureReplicationConfiguration. # noqa: E501 - :type: str - """ - - self._volume_encryption_key = volume_encryption_key - - @property - def replication_tags(self): - """Gets the replication_tags of this CloudEndureReplicationConfiguration. # noqa: E501 - - AWS only. Tags that will be applied to every cloud resource created in the CloudEndure Staging Area. # noqa: E501 - - :return: The replication_tags of this CloudEndureReplicationConfiguration. # noqa: E501 - :rtype: list[object] - """ - return self._replication_tags - - @replication_tags.setter - def replication_tags(self, replication_tags): - """Sets the replication_tags of this CloudEndureReplicationConfiguration. - - AWS only. Tags that will be applied to every cloud resource created in the CloudEndure Staging Area. # noqa: E501 - - :param replication_tags: The replication_tags of this CloudEndureReplicationConfiguration. # noqa: E501 - :type: list[object] - """ - - self._replication_tags = replication_tags - - @property - def subnet_host_project(self): - """Gets the subnet_host_project of this CloudEndureReplicationConfiguration. # noqa: E501 - - GCP only. Host project of cross project network subnet. # noqa: E501 - - :return: The subnet_host_project of this CloudEndureReplicationConfiguration. # noqa: E501 - :rtype: str - """ - return self._subnet_host_project - - @subnet_host_project.setter - def subnet_host_project(self, subnet_host_project): - """Sets the subnet_host_project of this CloudEndureReplicationConfiguration. - - GCP only. Host project of cross project network subnet. # noqa: E501 - - :param subnet_host_project: The subnet_host_project of this CloudEndureReplicationConfiguration. # noqa: E501 - :type: str - """ - - self._subnet_host_project = subnet_host_project - - @property - def replication_server_type(self): - """Gets the replication_server_type of this CloudEndureReplicationConfiguration. # noqa: E501 - - - :return: The replication_server_type of this CloudEndureReplicationConfiguration. # noqa: E501 - :rtype: str - """ - return self._replication_server_type - - @replication_server_type.setter - def replication_server_type(self, replication_server_type): - """Sets the replication_server_type of this CloudEndureReplicationConfiguration. - - - :param replication_server_type: The replication_server_type of this CloudEndureReplicationConfiguration. # noqa: E501 - :type: str - """ - - self._replication_server_type = replication_server_type - - @property - def compute_location_id(self): - """Gets the compute_location_id of this CloudEndureReplicationConfiguration. # noqa: E501 - - todo vcenter only # noqa: E501 - - :return: The compute_location_id of this CloudEndureReplicationConfiguration. # noqa: E501 - :rtype: str - """ - return self._compute_location_id - - @compute_location_id.setter - def compute_location_id(self, compute_location_id): - """Sets the compute_location_id of this CloudEndureReplicationConfiguration. - - todo vcenter only # noqa: E501 - - :param compute_location_id: The compute_location_id of this CloudEndureReplicationConfiguration. # noqa: E501 - :type: str - """ - - self._compute_location_id = compute_location_id - - @property - def cloud_credentials(self): - """Gets the cloud_credentials of this CloudEndureReplicationConfiguration. # noqa: E501 - - The ID for the cloudCredentials object containing the credentials to be used for accessing the target cloud. # noqa: E501 - - :return: The cloud_credentials of this CloudEndureReplicationConfiguration. # noqa: E501 - :rtype: str - """ - return self._cloud_credentials - - @cloud_credentials.setter - def cloud_credentials(self, cloud_credentials): - """Sets the cloud_credentials of this CloudEndureReplicationConfiguration. - - The ID for the cloudCredentials object containing the credentials to be used for accessing the target cloud. # noqa: E501 - - :param cloud_credentials: The cloud_credentials of this CloudEndureReplicationConfiguration. # noqa: E501 - :type: str - """ - - self._cloud_credentials = cloud_credentials - - @property - def subnet_id(self): - """Gets the subnet_id of this CloudEndureReplicationConfiguration. # noqa: E501 - - Subnet where replication servers will be created. Possible values can be fetched from the Region object. # noqa: E501 - - :return: The subnet_id of this CloudEndureReplicationConfiguration. # noqa: E501 - :rtype: str - """ - return self._subnet_id - - @subnet_id.setter - def subnet_id(self, subnet_id): - """Sets the subnet_id of this CloudEndureReplicationConfiguration. - - Subnet where replication servers will be created. Possible values can be fetched from the Region object. # noqa: E501 - - :param subnet_id: The subnet_id of this CloudEndureReplicationConfiguration. # noqa: E501 - :type: str - """ - - self._subnet_id = subnet_id - - @property - def logical_location_id(self): - """Gets the logical_location_id of this CloudEndureReplicationConfiguration. # noqa: E501 - - vcenter = vmFolder # noqa: E501 - - :return: The logical_location_id of this CloudEndureReplicationConfiguration. # noqa: E501 - :rtype: str - """ - return self._logical_location_id - - @logical_location_id.setter - def logical_location_id(self, logical_location_id): - """Sets the logical_location_id of this CloudEndureReplicationConfiguration. - - vcenter = vmFolder # noqa: E501 - - :param logical_location_id: The logical_location_id of this CloudEndureReplicationConfiguration. # noqa: E501 - :type: str - """ - - self._logical_location_id = logical_location_id - - @property - def bandwidth_throttling(self): - """Gets the bandwidth_throttling of this CloudEndureReplicationConfiguration. # noqa: E501 - - Mbps to use for Data Replication (zero means no throttling). # noqa: E501 - - :return: The bandwidth_throttling of this CloudEndureReplicationConfiguration. # noqa: E501 - :rtype: int - """ - return self._bandwidth_throttling - - @bandwidth_throttling.setter - def bandwidth_throttling(self, bandwidth_throttling): - """Sets the bandwidth_throttling of this CloudEndureReplicationConfiguration. - - Mbps to use for Data Replication (zero means no throttling). # noqa: E501 - - :param bandwidth_throttling: The bandwidth_throttling of this CloudEndureReplicationConfiguration. # noqa: E501 - :type: int - """ - - self._bandwidth_throttling = bandwidth_throttling - - @property - def storage_location_id(self): - """Gets the storage_location_id of this CloudEndureReplicationConfiguration. # noqa: E501 - - @todo backend creates cloudendure bla bla storage account upon need (empty string). # noqa: E501 - - :return: The storage_location_id of this CloudEndureReplicationConfiguration. # noqa: E501 - :rtype: str - """ - return self._storage_location_id - - @storage_location_id.setter - def storage_location_id(self, storage_location_id): - """Sets the storage_location_id of this CloudEndureReplicationConfiguration. - - @todo backend creates cloudendure bla bla storage account upon need (empty string). # noqa: E501 - - :param storage_location_id: The storage_location_id of this CloudEndureReplicationConfiguration. # noqa: E501 - :type: str - """ - - self._storage_location_id = storage_location_id - - @property - def use_dedicated_server(self): - """Gets the use_dedicated_server of this CloudEndureReplicationConfiguration. # noqa: E501 - - - :return: The use_dedicated_server of this CloudEndureReplicationConfiguration. # noqa: E501 - :rtype: bool - """ - return self._use_dedicated_server - - @use_dedicated_server.setter - def use_dedicated_server(self, use_dedicated_server): - """Sets the use_dedicated_server of this CloudEndureReplicationConfiguration. - - - :param use_dedicated_server: The use_dedicated_server of this CloudEndureReplicationConfiguration. # noqa: E501 - :type: bool - """ - - self._use_dedicated_server = use_dedicated_server - - @property - def zone(self): - """Gets the zone of this CloudEndureReplicationConfiguration. # noqa: E501 - - Relevant for GCP and Azure ARM. The Zone to replicate into. # noqa: E501 - - :return: The zone of this CloudEndureReplicationConfiguration. # noqa: E501 - :rtype: str - """ - return self._zone - - @zone.setter - def zone(self, zone): - """Sets the zone of this CloudEndureReplicationConfiguration. - - Relevant for GCP and Azure ARM. The Zone to replicate into. # noqa: E501 - - :param zone: The zone of this CloudEndureReplicationConfiguration. # noqa: E501 - :type: str - """ - - self._zone = zone - - @property - def replicator_security_group_i_ds(self): - """Gets the replicator_security_group_i_ds of this CloudEndureReplicationConfiguration. # noqa: E501 - - AWS only. The security groups that will be applied to the replication servers. Possible values can be fetched from the Region object. # noqa: E501 - - :return: The replicator_security_group_i_ds of this CloudEndureReplicationConfiguration. # noqa: E501 - :rtype: list[str] - """ - return self._replicator_security_group_i_ds - - @replicator_security_group_i_ds.setter - def replicator_security_group_i_ds(self, replicator_security_group_i_ds): - """Sets the replicator_security_group_i_ds of this CloudEndureReplicationConfiguration. - - AWS only. The security groups that will be applied to the replication servers. Possible values can be fetched from the Region object. # noqa: E501 - - :param replicator_security_group_i_ds: The replicator_security_group_i_ds of this CloudEndureReplicationConfiguration. # noqa: E501 - :type: list[str] - """ - - self._replicator_security_group_i_ds = replicator_security_group_i_ds - - @property - def use_private_ip(self): - """Gets the use_private_ip of this CloudEndureReplicationConfiguration. # noqa: E501 - - Should the CloudEndure agent access the replication server using its private IP address. # noqa: E501 - - :return: The use_private_ip of this CloudEndureReplicationConfiguration. # noqa: E501 - :rtype: bool - """ - return self._use_private_ip - - @use_private_ip.setter - def use_private_ip(self, use_private_ip): - """Sets the use_private_ip of this CloudEndureReplicationConfiguration. - - Should the CloudEndure agent access the replication server using its private IP address. # noqa: E501 - - :param use_private_ip: The use_private_ip of this CloudEndureReplicationConfiguration. # noqa: E501 - :type: bool - """ - - self._use_private_ip = use_private_ip - - @property - def region(self): - """Gets the region of this CloudEndureReplicationConfiguration. # noqa: E501 - - - :return: The region of this CloudEndureReplicationConfiguration. # noqa: E501 - :rtype: str - """ - return self._region - - @region.setter - def region(self, region): - """Sets the region of this CloudEndureReplicationConfiguration. - - - :param region: The region of this CloudEndureReplicationConfiguration. # noqa: E501 - :type: str - """ - - self._region = region - - @property - def id(self): - """Gets the id of this CloudEndureReplicationConfiguration. # noqa: E501 - - - :return: The id of this CloudEndureReplicationConfiguration. # noqa: E501 - :rtype: str - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this CloudEndureReplicationConfiguration. - - - :param id: The id of this CloudEndureReplicationConfiguration. # noqa: E501 - :type: str - """ - - self._id = id - - @property - def proxy_url(self): - """Gets the proxy_url of this CloudEndureReplicationConfiguration. # noqa: E501 - - The full URI for a proxy (schema, username, password, domain, port) if required for the CloudEndure agent. # noqa: E501 - - :return: The proxy_url of this CloudEndureReplicationConfiguration. # noqa: E501 - :rtype: str - """ - return self._proxy_url - - @proxy_url.setter - def proxy_url(self, proxy_url): - """Sets the proxy_url of this CloudEndureReplicationConfiguration. - - The full URI for a proxy (schema, username, password, domain, port) if required for the CloudEndure agent. # noqa: E501 - - :param proxy_url: The proxy_url of this CloudEndureReplicationConfiguration. # noqa: E501 - :type: str - """ - - self._proxy_url = proxy_url - - @property - def volume_encryption_allowed(self): - """Gets the volume_encryption_allowed of this CloudEndureReplicationConfiguration. # noqa: E501 - - todo # noqa: E501 - - :return: The volume_encryption_allowed of this CloudEndureReplicationConfiguration. # noqa: E501 - :rtype: bool - """ - return self._volume_encryption_allowed - - @volume_encryption_allowed.setter - def volume_encryption_allowed(self, volume_encryption_allowed): - """Sets the volume_encryption_allowed of this CloudEndureReplicationConfiguration. - - todo # noqa: E501 - - :param volume_encryption_allowed: The volume_encryption_allowed of this CloudEndureReplicationConfiguration. # noqa: E501 - :type: bool - """ - - self._volume_encryption_allowed = volume_encryption_allowed - - @property - def archiving_enabled(self): - """Gets the archiving_enabled of this CloudEndureReplicationConfiguration. # noqa: E501 - - - :return: The archiving_enabled of this CloudEndureReplicationConfiguration. # noqa: E501 - :rtype: bool - """ - return self._archiving_enabled - - @archiving_enabled.setter - def archiving_enabled(self, archiving_enabled): - """Sets the archiving_enabled of this CloudEndureReplicationConfiguration. - - - :param archiving_enabled: The archiving_enabled of this CloudEndureReplicationConfiguration. # noqa: E501 - :type: bool - """ - - self._archiving_enabled = archiving_enabled - - @property - def object_storage_location(self): - """Gets the object_storage_location of this CloudEndureReplicationConfiguration. # noqa: E501 - - bucket in aws # noqa: E501 - - :return: The object_storage_location of this CloudEndureReplicationConfiguration. # noqa: E501 - :rtype: str - """ - return self._object_storage_location - - @object_storage_location.setter - def object_storage_location(self, object_storage_location): - """Sets the object_storage_location of this CloudEndureReplicationConfiguration. - - bucket in aws # noqa: E501 - - :param object_storage_location: The object_storage_location of this CloudEndureReplicationConfiguration. # noqa: E501 - :type: str - """ - - self._object_storage_location = object_storage_location - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureReplicationConfiguration, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureReplicationConfiguration): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_replication_configuration_list.py b/cloudendure/cloudendure_api/models/cloud_endure_replication_configuration_list.py deleted file mode 100644 index 7b1c1876c..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_replication_configuration_list.py +++ /dev/null @@ -1,114 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -from cloudendure.cloudendure_api.models.cloud_endure_replication_configuration import \ - CloudEndureReplicationConfiguration # noqa: F401,E501 - - -class CloudEndureReplicationConfigurationList: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'items': 'list[CloudEndureReplicationConfiguration]' - } - - attribute_map = { - 'items': 'items' - } - - def __init__(self, items=None): # noqa: E501 - """CloudEndureReplicationConfigurationList - a model defined in Swagger""" # noqa: E501 - self._items = None - self.discriminator = None - if items is not None: - self.items = items - - @property - def items(self): - """Gets the items of this CloudEndureReplicationConfigurationList. # noqa: E501 - - - :return: The items of this CloudEndureReplicationConfigurationList. # noqa: E501 - :rtype: list[CloudEndureReplicationConfiguration] - """ - return self._items - - @items.setter - def items(self, items): - """Sets the items of this CloudEndureReplicationConfigurationList. - - - :param items: The items of this CloudEndureReplicationConfigurationList. # noqa: E501 - :type: list[CloudEndureReplicationConfiguration] - """ - - self._items = items - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureReplicationConfigurationList, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureReplicationConfigurationList): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_replication_server_config.py b/cloudendure/cloudendure_api/models/cloud_endure_replication_server_config.py deleted file mode 100644 index c569833b4..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_replication_server_config.py +++ /dev/null @@ -1,111 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - - -class CloudEndureReplicationServerConfig: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'volumes': 'list[object]' - } - - attribute_map = { - 'volumes': 'volumes' - } - - def __init__(self, volumes=None): # noqa: E501 - """CloudEndureReplicationServerConfig - a model defined in Swagger""" # noqa: E501 - self._volumes = None - self.discriminator = None - if volumes is not None: - self.volumes = volumes - - @property - def volumes(self): - """Gets the volumes of this CloudEndureReplicationServerConfig. # noqa: E501 - - - :return: The volumes of this CloudEndureReplicationServerConfig. # noqa: E501 - :rtype: list[object] - """ - return self._volumes - - @volumes.setter - def volumes(self, volumes): - """Sets the volumes of this CloudEndureReplicationServerConfig. - - - :param volumes: The volumes of this CloudEndureReplicationServerConfig. # noqa: E501 - :type: list[object] - """ - - self._volumes = volumes - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureReplicationServerConfig, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureReplicationServerConfig): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_restore_files_parameters.py b/cloudendure/cloudendure_api/models/cloud_endure_restore_files_parameters.py deleted file mode 100644 index 129b553af..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_restore_files_parameters.py +++ /dev/null @@ -1,114 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -from cloudendure.cloudendure_api.models.cloud_endure_machine_and_path_and_point_in_time import \ - CloudEndureMachineAndPathAndPointInTime # noqa: F401,E501 - - -class CloudEndureRestoreFilesParameters: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'items': 'list[CloudEndureMachineAndPathAndPointInTime]' - } - - attribute_map = { - 'items': 'items' - } - - def __init__(self, items=None): # noqa: E501 - """CloudEndureRestoreFilesParameters - a model defined in Swagger""" # noqa: E501 - self._items = None - self.discriminator = None - if items is not None: - self.items = items - - @property - def items(self): - """Gets the items of this CloudEndureRestoreFilesParameters. # noqa: E501 - - - :return: The items of this CloudEndureRestoreFilesParameters. # noqa: E501 - :rtype: list[CloudEndureMachineAndPathAndPointInTime] - """ - return self._items - - @items.setter - def items(self, items): - """Sets the items of this CloudEndureRestoreFilesParameters. - - - :param items: The items of this CloudEndureRestoreFilesParameters. # noqa: E501 - :type: list[CloudEndureMachineAndPathAndPointInTime] - """ - - self._items = items - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureRestoreFilesParameters, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureRestoreFilesParameters): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_saml_settings.py b/cloudendure/cloudendure_api/models/cloud_endure_saml_settings.py deleted file mode 100644 index 5ec7d5a3e..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_saml_settings.py +++ /dev/null @@ -1,163 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - - -class CloudEndureSamlSettings: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'identity_provider_certificate': 'str', - 'identity_provider_url': 'str', - 'identity_provider_id': 'str' - } - - attribute_map = { - 'identity_provider_certificate': 'identityProviderCertificate', - 'identity_provider_url': 'identityProviderUrl', - 'identity_provider_id': 'identityProviderID' - } - - def __init__(self, identity_provider_certificate=None, identity_provider_url=None, identity_provider_id=None): # noqa: E501 - """CloudEndureSamlSettings - a model defined in Swagger""" # noqa: E501 - self._identity_provider_certificate = None - self._identity_provider_url = None - self._identity_provider_id = None - self.discriminator = None - if identity_provider_certificate is not None: - self.identity_provider_certificate = identity_provider_certificate - if identity_provider_url is not None: - self.identity_provider_url = identity_provider_url - if identity_provider_id is not None: - self.identity_provider_id = identity_provider_id - - @property - def identity_provider_certificate(self): - """Gets the identity_provider_certificate of this CloudEndureSamlSettings. # noqa: E501 - - - :return: The identity_provider_certificate of this CloudEndureSamlSettings. # noqa: E501 - :rtype: str - """ - return self._identity_provider_certificate - - @identity_provider_certificate.setter - def identity_provider_certificate(self, identity_provider_certificate): - """Sets the identity_provider_certificate of this CloudEndureSamlSettings. - - - :param identity_provider_certificate: The identity_provider_certificate of this CloudEndureSamlSettings. # noqa: E501 - :type: str - """ - - self._identity_provider_certificate = identity_provider_certificate - - @property - def identity_provider_url(self): - """Gets the identity_provider_url of this CloudEndureSamlSettings. # noqa: E501 - - - :return: The identity_provider_url of this CloudEndureSamlSettings. # noqa: E501 - :rtype: str - """ - return self._identity_provider_url - - @identity_provider_url.setter - def identity_provider_url(self, identity_provider_url): - """Sets the identity_provider_url of this CloudEndureSamlSettings. - - - :param identity_provider_url: The identity_provider_url of this CloudEndureSamlSettings. # noqa: E501 - :type: str - """ - - self._identity_provider_url = identity_provider_url - - @property - def identity_provider_id(self): - """Gets the identity_provider_id of this CloudEndureSamlSettings. # noqa: E501 - - - :return: The identity_provider_id of this CloudEndureSamlSettings. # noqa: E501 - :rtype: str - """ - return self._identity_provider_id - - @identity_provider_id.setter - def identity_provider_id(self, identity_provider_id): - """Sets the identity_provider_id of this CloudEndureSamlSettings. - - - :param identity_provider_id: The identity_provider_id of this CloudEndureSamlSettings. # noqa: E501 - :type: str - """ - - self._identity_provider_id = identity_provider_id - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureSamlSettings, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureSamlSettings): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_security_group.py b/cloudendure/cloudendure_api/models/cloud_endure_security_group.py deleted file mode 100644 index 025a4b481..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_security_group.py +++ /dev/null @@ -1,163 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - - -class CloudEndureSecurityGroup: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'network_id': 'str', - 'security_group_id': 'str', - 'name': 'str' - } - - attribute_map = { - 'network_id': 'networkId', - 'security_group_id': 'securityGroupId', - 'name': 'name' - } - - def __init__(self, network_id=None, security_group_id=None, name=None): # noqa: E501 - """CloudEndureSecurityGroup - a model defined in Swagger""" # noqa: E501 - self._network_id = None - self._security_group_id = None - self._name = None - self.discriminator = None - if network_id is not None: - self.network_id = network_id - if security_group_id is not None: - self.security_group_id = security_group_id - if name is not None: - self.name = name - - @property - def network_id(self): - """Gets the network_id of this CloudEndureSecurityGroup. # noqa: E501 - - - :return: The network_id of this CloudEndureSecurityGroup. # noqa: E501 - :rtype: str - """ - return self._network_id - - @network_id.setter - def network_id(self, network_id): - """Sets the network_id of this CloudEndureSecurityGroup. - - - :param network_id: The network_id of this CloudEndureSecurityGroup. # noqa: E501 - :type: str - """ - - self._network_id = network_id - - @property - def security_group_id(self): - """Gets the security_group_id of this CloudEndureSecurityGroup. # noqa: E501 - - - :return: The security_group_id of this CloudEndureSecurityGroup. # noqa: E501 - :rtype: str - """ - return self._security_group_id - - @security_group_id.setter - def security_group_id(self, security_group_id): - """Sets the security_group_id of this CloudEndureSecurityGroup. - - - :param security_group_id: The security_group_id of this CloudEndureSecurityGroup. # noqa: E501 - :type: str - """ - - self._security_group_id = security_group_id - - @property - def name(self): - """Gets the name of this CloudEndureSecurityGroup. # noqa: E501 - - - :return: The name of this CloudEndureSecurityGroup. # noqa: E501 - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this CloudEndureSecurityGroup. - - - :param name: The name of this CloudEndureSecurityGroup. # noqa: E501 - :type: str - """ - - self._name = name - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureSecurityGroup, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureSecurityGroup): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_storage_location.py b/cloudendure/cloudendure_api/models/cloud_endure_storage_location.py deleted file mode 100644 index 48fc89ce4..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_storage_location.py +++ /dev/null @@ -1,137 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - - -class CloudEndureStorageLocation: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'location_id': 'str', - 'name': 'str' - } - - attribute_map = { - 'location_id': 'locationId', - 'name': 'name' - } - - def __init__(self, location_id=None, name=None): # noqa: E501 - """CloudEndureStorageLocation - a model defined in Swagger""" # noqa: E501 - self._location_id = None - self._name = None - self.discriminator = None - if location_id is not None: - self.location_id = location_id - if name is not None: - self.name = name - - @property - def location_id(self): - """Gets the location_id of this CloudEndureStorageLocation. # noqa: E501 - - - :return: The location_id of this CloudEndureStorageLocation. # noqa: E501 - :rtype: str - """ - return self._location_id - - @location_id.setter - def location_id(self, location_id): - """Sets the location_id of this CloudEndureStorageLocation. - - - :param location_id: The location_id of this CloudEndureStorageLocation. # noqa: E501 - :type: str - """ - - self._location_id = location_id - - @property - def name(self): - """Gets the name of this CloudEndureStorageLocation. # noqa: E501 - - - :return: The name of this CloudEndureStorageLocation. # noqa: E501 - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this CloudEndureStorageLocation. - - - :param name: The name of this CloudEndureStorageLocation. # noqa: E501 - :type: str - """ - - self._name = name - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureStorageLocation, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureStorageLocation): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_subnet.py b/cloudendure/cloudendure_api/models/cloud_endure_subnet.py deleted file mode 100644 index 6196640c2..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_subnet.py +++ /dev/null @@ -1,163 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - - -class CloudEndureSubnet: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'subnet_id': 'str', - 'network_id': 'str', - 'name': 'str' - } - - attribute_map = { - 'subnet_id': 'subnetId', - 'network_id': 'networkId', - 'name': 'name' - } - - def __init__(self, subnet_id=None, network_id=None, name=None): # noqa: E501 - """CloudEndureSubnet - a model defined in Swagger""" # noqa: E501 - self._subnet_id = None - self._network_id = None - self._name = None - self.discriminator = None - if subnet_id is not None: - self.subnet_id = subnet_id - if network_id is not None: - self.network_id = network_id - if name is not None: - self.name = name - - @property - def subnet_id(self): - """Gets the subnet_id of this CloudEndureSubnet. # noqa: E501 - - - :return: The subnet_id of this CloudEndureSubnet. # noqa: E501 - :rtype: str - """ - return self._subnet_id - - @subnet_id.setter - def subnet_id(self, subnet_id): - """Sets the subnet_id of this CloudEndureSubnet. - - - :param subnet_id: The subnet_id of this CloudEndureSubnet. # noqa: E501 - :type: str - """ - - self._subnet_id = subnet_id - - @property - def network_id(self): - """Gets the network_id of this CloudEndureSubnet. # noqa: E501 - - - :return: The network_id of this CloudEndureSubnet. # noqa: E501 - :rtype: str - """ - return self._network_id - - @network_id.setter - def network_id(self, network_id): - """Sets the network_id of this CloudEndureSubnet. - - - :param network_id: The network_id of this CloudEndureSubnet. # noqa: E501 - :type: str - """ - - self._network_id = network_id - - @property - def name(self): - """Gets the name of this CloudEndureSubnet. # noqa: E501 - - - :return: The name of this CloudEndureSubnet. # noqa: E501 - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this CloudEndureSubnet. - - - :param name: The name of this CloudEndureSubnet. # noqa: E501 - :type: str - """ - - self._name = name - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureSubnet, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureSubnet): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_time.py b/cloudendure/cloudendure_api/models/cloud_endure_time.py deleted file mode 100644 index 488d8d812..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_time.py +++ /dev/null @@ -1,111 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - - -class CloudEndureTime: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'date_time': 'datetime' - } - - attribute_map = { - 'date_time': 'dateTime' - } - - def __init__(self, date_time=None): # noqa: E501 - """CloudEndureTime - a model defined in Swagger""" # noqa: E501 - self._date_time = None - self.discriminator = None - if date_time is not None: - self.date_time = date_time - - @property - def date_time(self): - """Gets the date_time of this CloudEndureTime. # noqa: E501 - - - :return: The date_time of this CloudEndureTime. # noqa: E501 - :rtype: datetime - """ - return self._date_time - - @date_time.setter - def date_time(self, date_time): - """Sets the date_time of this CloudEndureTime. - - - :param date_time: The date_time of this CloudEndureTime. # noqa: E501 - :type: datetime - """ - - self._date_time = date_time - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureTime, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureTime): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_updateable_scripts.py b/cloudendure/cloudendure_api/models/cloud_endure_updateable_scripts.py deleted file mode 100644 index 26692170e..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_updateable_scripts.py +++ /dev/null @@ -1,137 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - - -class CloudEndureUpdateableScripts: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'result': 'object', - 'error': 'str' - } - - attribute_map = { - 'result': 'result', - 'error': 'error' - } - - def __init__(self, result=None, error=None): # noqa: E501 - """CloudEndureUpdateableScripts - a model defined in Swagger""" # noqa: E501 - self._result = None - self._error = None - self.discriminator = None - if result is not None: - self.result = result - if error is not None: - self.error = error - - @property - def result(self): - """Gets the result of this CloudEndureUpdateableScripts. # noqa: E501 - - - :return: The result of this CloudEndureUpdateableScripts. # noqa: E501 - :rtype: object - """ - return self._result - - @result.setter - def result(self, result): - """Sets the result of this CloudEndureUpdateableScripts. - - - :param result: The result of this CloudEndureUpdateableScripts. # noqa: E501 - :type: object - """ - - self._result = result - - @property - def error(self): - """Gets the error of this CloudEndureUpdateableScripts. # noqa: E501 - - - :return: The error of this CloudEndureUpdateableScripts. # noqa: E501 - :rtype: str - """ - return self._error - - @error.setter - def error(self, error): - """Sets the error of this CloudEndureUpdateableScripts. - - - :param error: The error of this CloudEndureUpdateableScripts. # noqa: E501 - :type: str - """ - - self._error = error - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureUpdateableScripts, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureUpdateableScripts): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_upgrade_counter_delay.py b/cloudendure/cloudendure_api/models/cloud_endure_upgrade_counter_delay.py deleted file mode 100644 index 0dcb7ec73..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_upgrade_counter_delay.py +++ /dev/null @@ -1,111 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - - -class CloudEndureUpgradeCounterDelay: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'sleep': 'int' - } - - attribute_map = { - 'sleep': 'sleep' - } - - def __init__(self, sleep=None): # noqa: E501 - """CloudEndureUpgradeCounterDelay - a model defined in Swagger""" # noqa: E501 - self._sleep = None - self.discriminator = None - if sleep is not None: - self.sleep = sleep - - @property - def sleep(self): - """Gets the sleep of this CloudEndureUpgradeCounterDelay. # noqa: E501 - - - :return: The sleep of this CloudEndureUpgradeCounterDelay. # noqa: E501 - :rtype: int - """ - return self._sleep - - @sleep.setter - def sleep(self, sleep): - """Sets the sleep of this CloudEndureUpgradeCounterDelay. - - - :param sleep: The sleep of this CloudEndureUpgradeCounterDelay. # noqa: E501 - :type: int - """ - - self._sleep = sleep - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureUpgradeCounterDelay, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureUpgradeCounterDelay): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_usage.py b/cloudendure/cloudendure_api/models/cloud_endure_usage.py deleted file mode 100644 index a3e2190d5..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_usage.py +++ /dev/null @@ -1,193 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - - -class CloudEndureUsage: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'start_of_use_date_time': 'datetime', - 'cloud_id': 'str', - 'name': 'str', - 'machine_id': 'str' - } - - attribute_map = { - 'start_of_use_date_time': 'startOfUseDateTime', - 'cloud_id': 'cloudId', - 'name': 'name', - 'machine_id': 'machineId' - } - - def __init__(self, start_of_use_date_time=None, cloud_id=None, name=None, machine_id=None): # noqa: E501 - """CloudEndureUsage - a model defined in Swagger""" # noqa: E501 - self._start_of_use_date_time = None - self._cloud_id = None - self._name = None - self._machine_id = None - self.discriminator = None - if start_of_use_date_time is not None: - self.start_of_use_date_time = start_of_use_date_time - if cloud_id is not None: - self.cloud_id = cloud_id - if name is not None: - self.name = name - if machine_id is not None: - self.machine_id = machine_id - - @property - def start_of_use_date_time(self): - """Gets the start_of_use_date_time of this CloudEndureUsage. # noqa: E501 - - - :return: The start_of_use_date_time of this CloudEndureUsage. # noqa: E501 - :rtype: datetime - """ - return self._start_of_use_date_time - - @start_of_use_date_time.setter - def start_of_use_date_time(self, start_of_use_date_time): - """Sets the start_of_use_date_time of this CloudEndureUsage. - - - :param start_of_use_date_time: The start_of_use_date_time of this CloudEndureUsage. # noqa: E501 - :type: datetime - """ - - self._start_of_use_date_time = start_of_use_date_time - - @property - def cloud_id(self): - """Gets the cloud_id of this CloudEndureUsage. # noqa: E501 - - The ID in the cloud # noqa: E501 - - :return: The cloud_id of this CloudEndureUsage. # noqa: E501 - :rtype: str - """ - return self._cloud_id - - @cloud_id.setter - def cloud_id(self, cloud_id): - """Sets the cloud_id of this CloudEndureUsage. - - The ID in the cloud # noqa: E501 - - :param cloud_id: The cloud_id of this CloudEndureUsage. # noqa: E501 - :type: str - """ - - self._cloud_id = cloud_id - - @property - def name(self): - """Gets the name of this CloudEndureUsage. # noqa: E501 - - The name of the machine. # noqa: E501 - - :return: The name of this CloudEndureUsage. # noqa: E501 - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this CloudEndureUsage. - - The name of the machine. # noqa: E501 - - :param name: The name of this CloudEndureUsage. # noqa: E501 - :type: str - """ - - self._name = name - - @property - def machine_id(self): - """Gets the machine_id of this CloudEndureUsage. # noqa: E501 - - - :return: The machine_id of this CloudEndureUsage. # noqa: E501 - :rtype: str - """ - return self._machine_id - - @machine_id.setter - def machine_id(self, machine_id): - """Sets the machine_id of this CloudEndureUsage. - - - :param machine_id: The machine_id of this CloudEndureUsage. # noqa: E501 - :type: str - """ - - self._machine_id = machine_id - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureUsage, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureUsage): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_usage_list.py b/cloudendure/cloudendure_api/models/cloud_endure_usage_list.py deleted file mode 100644 index 06033de94..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_usage_list.py +++ /dev/null @@ -1,113 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -from cloudendure.cloudendure_api.models.cloud_endure_usage import CloudEndureUsage # noqa: F401,E501 - - -class CloudEndureUsageList: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'items': 'list[CloudEndureUsage]' - } - - attribute_map = { - 'items': 'items' - } - - def __init__(self, items=None): # noqa: E501 - """CloudEndureUsageList - a model defined in Swagger""" # noqa: E501 - self._items = None - self.discriminator = None - if items is not None: - self.items = items - - @property - def items(self): - """Gets the items of this CloudEndureUsageList. # noqa: E501 - - - :return: The items of this CloudEndureUsageList. # noqa: E501 - :rtype: list[CloudEndureUsage] - """ - return self._items - - @items.setter - def items(self, items): - """Sets the items of this CloudEndureUsageList. - - - :param items: The items of this CloudEndureUsageList. # noqa: E501 - :type: list[CloudEndureUsage] - """ - - self._items = items - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureUsageList, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureUsageList): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_user.py b/cloudendure/cloudendure_api/models/cloud_endure_user.py deleted file mode 100644 index c5681f622..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_user.py +++ /dev/null @@ -1,360 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - - -class CloudEndureUser: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'username': 'str', - 'status': 'str', - 'account': 'str', - 'roles': 'list[str]', - 'settings': 'object', - 'api_token': 'str', - 'has_password': 'bool', - 'terms_accepted': 'bool', - 'id': 'str', - 'self_link': 'str' - } - - attribute_map = { - 'username': 'username', - 'status': 'status', - 'account': 'account', - 'roles': 'roles', - 'settings': 'settings', - 'api_token': 'apiToken', - 'has_password': 'hasPassword', - 'terms_accepted': 'termsAccepted', - 'id': 'id', - 'self_link': 'selfLink' - } - - def __init__(self, username=None, status=None, account=None, roles=None, settings=None, api_token=None, has_password=None, terms_accepted=None, id=None, self_link=None): # noqa: E501 - """CloudEndureUser - a model defined in Swagger""" # noqa: E501 - self._username = None - self._status = None - self._account = None - self._roles = None - self._settings = None - self._api_token = None - self._has_password = None - self._terms_accepted = None - self._id = None - self._self_link = None - self.discriminator = None - if username is not None: - self.username = username - if status is not None: - self.status = status - if account is not None: - self.account = account - if roles is not None: - self.roles = roles - if settings is not None: - self.settings = settings - if api_token is not None: - self.api_token = api_token - if has_password is not None: - self.has_password = has_password - if terms_accepted is not None: - self.terms_accepted = terms_accepted - if id is not None: - self.id = id - if self_link is not None: - self.self_link = self_link - - @property - def username(self): - """Gets the username of this CloudEndureUser. # noqa: E501 - - - :return: The username of this CloudEndureUser. # noqa: E501 - :rtype: str - """ - return self._username - - @username.setter - def username(self, username): - """Sets the username of this CloudEndureUser. - - - :param username: The username of this CloudEndureUser. # noqa: E501 - :type: str - """ - - self._username = username - - @property - def status(self): - """Gets the status of this CloudEndureUser. # noqa: E501 - - - :return: The status of this CloudEndureUser. # noqa: E501 - :rtype: str - """ - return self._status - - @status.setter - def status(self, status): - """Sets the status of this CloudEndureUser. - - - :param status: The status of this CloudEndureUser. # noqa: E501 - :type: str - """ - allowed_values = ["PENDING", "CONFIRMED", "DELETED"] # noqa: E501 - if status not in allowed_values: - raise ValueError( - "Invalid value for `status` ({0}), must be one of {1}" # noqa: E501 - .format(status, allowed_values) - ) - - self._status = status - - @property - def account(self): - """Gets the account of this CloudEndureUser. # noqa: E501 - - - :return: The account of this CloudEndureUser. # noqa: E501 - :rtype: str - """ - return self._account - - @account.setter - def account(self, account): - """Sets the account of this CloudEndureUser. - - - :param account: The account of this CloudEndureUser. # noqa: E501 - :type: str - """ - - self._account = account - - @property - def roles(self): - """Gets the roles of this CloudEndureUser. # noqa: E501 - - - :return: The roles of this CloudEndureUser. # noqa: E501 - :rtype: list[str] - """ - return self._roles - - @roles.setter - def roles(self, roles): - """Sets the roles of this CloudEndureUser. - - - :param roles: The roles of this CloudEndureUser. # noqa: E501 - :type: list[str] - """ - allowed_values = ["USER", "ACCOUNT_ADMIN", "ACCOUNT_OWNER", "GLOBAL_READONLY"] # noqa: E501 - if not set(roles).issubset(set(allowed_values)): - raise ValueError( - "Invalid values for `roles` [{0}], must be a subset of [{1}]" # noqa: E501 - .format(", ".join(map(str, set(roles) - set(allowed_values))), # noqa: E501 - ", ".join(map(str, allowed_values))) - ) - - self._roles = roles - - @property - def settings(self): - """Gets the settings of this CloudEndureUser. # noqa: E501 - - - :return: The settings of this CloudEndureUser. # noqa: E501 - :rtype: object - """ - return self._settings - - @settings.setter - def settings(self, settings): - """Sets the settings of this CloudEndureUser. - - - :param settings: The settings of this CloudEndureUser. # noqa: E501 - :type: object - """ - - self._settings = settings - - @property - def api_token(self): - """Gets the api_token of this CloudEndureUser. # noqa: E501 - - - :return: The api_token of this CloudEndureUser. # noqa: E501 - :rtype: str - """ - return self._api_token - - @api_token.setter - def api_token(self, api_token): - """Sets the api_token of this CloudEndureUser. - - - :param api_token: The api_token of this CloudEndureUser. # noqa: E501 - :type: str - """ - - self._api_token = api_token - - @property - def has_password(self): - """Gets the has_password of this CloudEndureUser. # noqa: E501 - - - :return: The has_password of this CloudEndureUser. # noqa: E501 - :rtype: bool - """ - return self._has_password - - @has_password.setter - def has_password(self, has_password): - """Sets the has_password of this CloudEndureUser. - - - :param has_password: The has_password of this CloudEndureUser. # noqa: E501 - :type: bool - """ - - self._has_password = has_password - - @property - def terms_accepted(self): - """Gets the terms_accepted of this CloudEndureUser. # noqa: E501 - - todo one-way; cannot be set at time of POST # noqa: E501 - - :return: The terms_accepted of this CloudEndureUser. # noqa: E501 - :rtype: bool - """ - return self._terms_accepted - - @terms_accepted.setter - def terms_accepted(self, terms_accepted): - """Sets the terms_accepted of this CloudEndureUser. - - todo one-way; cannot be set at time of POST # noqa: E501 - - :param terms_accepted: The terms_accepted of this CloudEndureUser. # noqa: E501 - :type: bool - """ - - self._terms_accepted = terms_accepted - - @property - def id(self): - """Gets the id of this CloudEndureUser. # noqa: E501 - - - :return: The id of this CloudEndureUser. # noqa: E501 - :rtype: str - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this CloudEndureUser. - - - :param id: The id of this CloudEndureUser. # noqa: E501 - :type: str - """ - - self._id = id - - @property - def self_link(self): - """Gets the self_link of this CloudEndureUser. # noqa: E501 - - - :return: The self_link of this CloudEndureUser. # noqa: E501 - :rtype: str - """ - return self._self_link - - @self_link.setter - def self_link(self, self_link): - """Sets the self_link of this CloudEndureUser. - - - :param self_link: The self_link of this CloudEndureUser. # noqa: E501 - :type: str - """ - - self._self_link = self_link - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureUser, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureUser): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_user_report.py b/cloudendure/cloudendure_api/models/cloud_endure_user_report.py deleted file mode 100644 index 85c4b9d91..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_user_report.py +++ /dev/null @@ -1,345 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - - -class CloudEndureUserReport: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'n_protected_machines': 'int', - 'project_name': 'str', - 'is_activated': 'bool', - 'n_license_usages': 'int', - 'gcp_machines_finance_data': 'object', - 'total_tested_or_cutover': 'int', - 'owner_name': 'str', - 'n_lagging_machines': 'int', - 'n_active_target_machines': 'int', - 'n_test_machines': 'int' - } - - attribute_map = { - 'n_protected_machines': 'n_protected_machines', - 'project_name': 'project_name', - 'is_activated': 'is_activated', - 'n_license_usages': 'n_license_usages', - 'gcp_machines_finance_data': 'gcp_machines_finance_data', - 'total_tested_or_cutover': 'total_tested_or_cutover', - 'owner_name': 'owner_name', - 'n_lagging_machines': 'n_lagging_machines', - 'n_active_target_machines': 'n_active_target_machines', - 'n_test_machines': 'n_test_machines' - } - - def __init__(self, n_protected_machines=None, project_name=None, is_activated=None, n_license_usages=None, gcp_machines_finance_data=None, total_tested_or_cutover=None, owner_name=None, n_lagging_machines=None, n_active_target_machines=None, n_test_machines=None): # noqa: E501 - """CloudEndureUserReport - a model defined in Swagger""" # noqa: E501 - self._n_protected_machines = None - self._project_name = None - self._is_activated = None - self._n_license_usages = None - self._gcp_machines_finance_data = None - self._total_tested_or_cutover = None - self._owner_name = None - self._n_lagging_machines = None - self._n_active_target_machines = None - self._n_test_machines = None - self.discriminator = None - if n_protected_machines is not None: - self.n_protected_machines = n_protected_machines - if project_name is not None: - self.project_name = project_name - if is_activated is not None: - self.is_activated = is_activated - if n_license_usages is not None: - self.n_license_usages = n_license_usages - if gcp_machines_finance_data is not None: - self.gcp_machines_finance_data = gcp_machines_finance_data - if total_tested_or_cutover is not None: - self.total_tested_or_cutover = total_tested_or_cutover - if owner_name is not None: - self.owner_name = owner_name - if n_lagging_machines is not None: - self.n_lagging_machines = n_lagging_machines - if n_active_target_machines is not None: - self.n_active_target_machines = n_active_target_machines - if n_test_machines is not None: - self.n_test_machines = n_test_machines - - @property - def n_protected_machines(self): - """Gets the n_protected_machines of this CloudEndureUserReport. # noqa: E501 - - - :return: The n_protected_machines of this CloudEndureUserReport. # noqa: E501 - :rtype: int - """ - return self._n_protected_machines - - @n_protected_machines.setter - def n_protected_machines(self, n_protected_machines): - """Sets the n_protected_machines of this CloudEndureUserReport. - - - :param n_protected_machines: The n_protected_machines of this CloudEndureUserReport. # noqa: E501 - :type: int - """ - - self._n_protected_machines = n_protected_machines - - @property - def project_name(self): - """Gets the project_name of this CloudEndureUserReport. # noqa: E501 - - - :return: The project_name of this CloudEndureUserReport. # noqa: E501 - :rtype: str - """ - return self._project_name - - @project_name.setter - def project_name(self, project_name): - """Sets the project_name of this CloudEndureUserReport. - - - :param project_name: The project_name of this CloudEndureUserReport. # noqa: E501 - :type: str - """ - - self._project_name = project_name - - @property - def is_activated(self): - """Gets the is_activated of this CloudEndureUserReport. # noqa: E501 - - - :return: The is_activated of this CloudEndureUserReport. # noqa: E501 - :rtype: bool - """ - return self._is_activated - - @is_activated.setter - def is_activated(self, is_activated): - """Sets the is_activated of this CloudEndureUserReport. - - - :param is_activated: The is_activated of this CloudEndureUserReport. # noqa: E501 - :type: bool - """ - - self._is_activated = is_activated - - @property - def n_license_usages(self): - """Gets the n_license_usages of this CloudEndureUserReport. # noqa: E501 - - - :return: The n_license_usages of this CloudEndureUserReport. # noqa: E501 - :rtype: int - """ - return self._n_license_usages - - @n_license_usages.setter - def n_license_usages(self, n_license_usages): - """Sets the n_license_usages of this CloudEndureUserReport. - - - :param n_license_usages: The n_license_usages of this CloudEndureUserReport. # noqa: E501 - :type: int - """ - - self._n_license_usages = n_license_usages - - @property - def gcp_machines_finance_data(self): - """Gets the gcp_machines_finance_data of this CloudEndureUserReport. # noqa: E501 - - - :return: The gcp_machines_finance_data of this CloudEndureUserReport. # noqa: E501 - :rtype: object - """ - return self._gcp_machines_finance_data - - @gcp_machines_finance_data.setter - def gcp_machines_finance_data(self, gcp_machines_finance_data): - """Sets the gcp_machines_finance_data of this CloudEndureUserReport. - - - :param gcp_machines_finance_data: The gcp_machines_finance_data of this CloudEndureUserReport. # noqa: E501 - :type: object - """ - - self._gcp_machines_finance_data = gcp_machines_finance_data - - @property - def total_tested_or_cutover(self): - """Gets the total_tested_or_cutover of this CloudEndureUserReport. # noqa: E501 - - - :return: The total_tested_or_cutover of this CloudEndureUserReport. # noqa: E501 - :rtype: int - """ - return self._total_tested_or_cutover - - @total_tested_or_cutover.setter - def total_tested_or_cutover(self, total_tested_or_cutover): - """Sets the total_tested_or_cutover of this CloudEndureUserReport. - - - :param total_tested_or_cutover: The total_tested_or_cutover of this CloudEndureUserReport. # noqa: E501 - :type: int - """ - - self._total_tested_or_cutover = total_tested_or_cutover - - @property - def owner_name(self): - """Gets the owner_name of this CloudEndureUserReport. # noqa: E501 - - - :return: The owner_name of this CloudEndureUserReport. # noqa: E501 - :rtype: str - """ - return self._owner_name - - @owner_name.setter - def owner_name(self, owner_name): - """Sets the owner_name of this CloudEndureUserReport. - - - :param owner_name: The owner_name of this CloudEndureUserReport. # noqa: E501 - :type: str - """ - - self._owner_name = owner_name - - @property - def n_lagging_machines(self): - """Gets the n_lagging_machines of this CloudEndureUserReport. # noqa: E501 - - - :return: The n_lagging_machines of this CloudEndureUserReport. # noqa: E501 - :rtype: int - """ - return self._n_lagging_machines - - @n_lagging_machines.setter - def n_lagging_machines(self, n_lagging_machines): - """Sets the n_lagging_machines of this CloudEndureUserReport. - - - :param n_lagging_machines: The n_lagging_machines of this CloudEndureUserReport. # noqa: E501 - :type: int - """ - - self._n_lagging_machines = n_lagging_machines - - @property - def n_active_target_machines(self): - """Gets the n_active_target_machines of this CloudEndureUserReport. # noqa: E501 - - - :return: The n_active_target_machines of this CloudEndureUserReport. # noqa: E501 - :rtype: int - """ - return self._n_active_target_machines - - @n_active_target_machines.setter - def n_active_target_machines(self, n_active_target_machines): - """Sets the n_active_target_machines of this CloudEndureUserReport. - - - :param n_active_target_machines: The n_active_target_machines of this CloudEndureUserReport. # noqa: E501 - :type: int - """ - - self._n_active_target_machines = n_active_target_machines - - @property - def n_test_machines(self): - """Gets the n_test_machines of this CloudEndureUserReport. # noqa: E501 - - - :return: The n_test_machines of this CloudEndureUserReport. # noqa: E501 - :rtype: int - """ - return self._n_test_machines - - @n_test_machines.setter - def n_test_machines(self, n_test_machines): - """Sets the n_test_machines of this CloudEndureUserReport. - - - :param n_test_machines: The n_test_machines of this CloudEndureUserReport. # noqa: E501 - :type: int - """ - - self._n_test_machines = n_test_machines - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureUserReport, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureUserReport): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_user_reports.py b/cloudendure/cloudendure_api/models/cloud_endure_user_reports.py deleted file mode 100644 index b3c29dafe..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_user_reports.py +++ /dev/null @@ -1,113 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -from cloudendure.cloudendure_api.models.cloud_endure_user_report import CloudEndureUserReport # noqa: F401,E501 - - -class CloudEndureUserReports: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'items': 'list[CloudEndureUserReport]' - } - - attribute_map = { - 'items': 'items' - } - - def __init__(self, items=None): # noqa: E501 - """CloudEndureUserReports - a model defined in Swagger""" # noqa: E501 - self._items = None - self.discriminator = None - if items is not None: - self.items = items - - @property - def items(self): - """Gets the items of this CloudEndureUserReports. # noqa: E501 - - - :return: The items of this CloudEndureUserReports. # noqa: E501 - :rtype: list[CloudEndureUserReport] - """ - return self._items - - @items.setter - def items(self, items): - """Sets the items of this CloudEndureUserReports. - - - :param items: The items of this CloudEndureUserReports. # noqa: E501 - :type: list[CloudEndureUserReport] - """ - - self._items = items - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureUserReports, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureUserReports): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_users_and_roles.py b/cloudendure/cloudendure_api/models/cloud_endure_users_and_roles.py deleted file mode 100644 index 0400854eb..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_users_and_roles.py +++ /dev/null @@ -1,111 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - - -class CloudEndureUsersAndRoles: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'items': 'list[object]' - } - - attribute_map = { - 'items': 'items' - } - - def __init__(self, items=None): # noqa: E501 - """CloudEndureUsersAndRoles - a model defined in Swagger""" # noqa: E501 - self._items = None - self.discriminator = None - if items is not None: - self.items = items - - @property - def items(self): - """Gets the items of this CloudEndureUsersAndRoles. # noqa: E501 - - - :return: The items of this CloudEndureUsersAndRoles. # noqa: E501 - :rtype: list[object] - """ - return self._items - - @items.setter - def items(self, items): - """Sets the items of this CloudEndureUsersAndRoles. - - - :param items: The items of this CloudEndureUsersAndRoles. # noqa: E501 - :type: list[object] - """ - - self._items = items - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureUsersAndRoles, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureUsersAndRoles): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_users_list.py b/cloudendure/cloudendure_api/models/cloud_endure_users_list.py deleted file mode 100644 index d985f396e..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_users_list.py +++ /dev/null @@ -1,113 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -from cloudendure.cloudendure_api.models.cloud_endure_user import CloudEndureUser # noqa: F401,E501 - - -class CloudEndureUsersList: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'items': 'list[CloudEndureUser]' - } - - attribute_map = { - 'items': 'items' - } - - def __init__(self, items=None): # noqa: E501 - """CloudEndureUsersList - a model defined in Swagger""" # noqa: E501 - self._items = None - self.discriminator = None - if items is not None: - self.items = items - - @property - def items(self): - """Gets the items of this CloudEndureUsersList. # noqa: E501 - - - :return: The items of this CloudEndureUsersList. # noqa: E501 - :rtype: list[CloudEndureUser] - """ - return self._items - - @items.setter - def items(self, items): - """Sets the items of this CloudEndureUsersList. - - - :param items: The items of this CloudEndureUsersList. # noqa: E501 - :type: list[CloudEndureUser] - """ - - self._items = items - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureUsersList, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureUsersList): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/models/cloud_endure_v_center_subnet.py b/cloudendure/cloudendure_api/models/cloud_endure_v_center_subnet.py deleted file mode 100644 index 197371b52..000000000 --- a/cloudendure/cloudendure_api/models/cloud_endure_v_center_subnet.py +++ /dev/null @@ -1,137 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - - -class CloudEndureVCenterSubnet: - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'netmask': 'str', - 'ip_address': 'str' - } - - attribute_map = { - 'netmask': 'netmask', - 'ip_address': 'ipAddress' - } - - def __init__(self, netmask=None, ip_address=None): # noqa: E501 - """CloudEndureVCenterSubnet - a model defined in Swagger""" # noqa: E501 - self._netmask = None - self._ip_address = None - self.discriminator = None - if netmask is not None: - self.netmask = netmask - if ip_address is not None: - self.ip_address = ip_address - - @property - def netmask(self): - """Gets the netmask of this CloudEndureVCenterSubnet. # noqa: E501 - - - :return: The netmask of this CloudEndureVCenterSubnet. # noqa: E501 - :rtype: str - """ - return self._netmask - - @netmask.setter - def netmask(self, netmask): - """Sets the netmask of this CloudEndureVCenterSubnet. - - - :param netmask: The netmask of this CloudEndureVCenterSubnet. # noqa: E501 - :type: str - """ - - self._netmask = netmask - - @property - def ip_address(self): - """Gets the ip_address of this CloudEndureVCenterSubnet. # noqa: E501 - - - :return: The ip_address of this CloudEndureVCenterSubnet. # noqa: E501 - :rtype: str - """ - return self._ip_address - - @ip_address.setter - def ip_address(self, ip_address): - """Sets the ip_address of this CloudEndureVCenterSubnet. - - - :param ip_address: The ip_address of this CloudEndureVCenterSubnet. # noqa: E501 - :type: str - """ - - self._ip_address = ip_address - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CloudEndureVCenterSubnet, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CloudEndureVCenterSubnet): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/cloudendure/cloudendure_api/rest.py b/cloudendure/cloudendure_api/rest.py deleted file mode 100644 index c2dac6718..000000000 --- a/cloudendure/cloudendure_api/rest.py +++ /dev/null @@ -1,381 +0,0 @@ -# -*- coding: utf-8 -*- -"""Define the CloudEndure REST interface.""" -from __future__ import absolute_import - -import io -import json -import logging -import re -import ssl - -import certifi -# python 2 and python 3 compatibility library -from six.moves.urllib.parse import urlencode - -try: - import urllib3 -except ImportError: - raise ImportError('Swagger python client requires urllib3.') - -logger = logging.getLogger(__name__) - - -class RESTResponse(io.IOBase): - """Define the CloudEndure REST Response.""" - - def __init__(self, resp): - self.urllib3_response = resp - self.status = resp.status - self.reason = resp.reason - self.data = resp.data - - def getheaders(self): - """Return a dictionary of the response headers.""" - return self.urllib3_response.getheaders() - - def getheader(self, name, default=None): - """Return a given response header.""" - return self.urllib3_response.getheader(name, default) - - -class RESTClientObject: - """Define the CloudEndure REST Client Object.""" - - def __init__(self, configuration, pools_size=4, maxsize=None): - """Initialize the REST client.""" - # urllib3.PoolManager will pass all kw parameters to connectionpool - # https://github.com/shazow/urllib3/blob/f9409436f83aeb79fbaf090181cd81b784f1b8ce/urllib3/poolmanager.py#L75 # noqa: E501 - # https://github.com/shazow/urllib3/blob/f9409436f83aeb79fbaf090181cd81b784f1b8ce/urllib3/connectionpool.py#L680 # noqa: E501 - # maxsize is the number of requests to host that are allowed in parallel # noqa: E501 - # Custom SSL certificates and client certificates: http://urllib3.readthedocs.io/en/latest/advanced-usage.html # noqa: E501 - - # cert_reqs - if configuration.verify_ssl: - cert_reqs = ssl.CERT_REQUIRED - else: - cert_reqs = ssl.CERT_NONE - - # ca_certs - if configuration.ssl_ca_cert: - ca_certs = configuration.ssl_ca_cert - else: - # if not set certificate file, use Mozilla's root certificates. - ca_certs = certifi.where() - - addition_pool_args = {} - if configuration.assert_hostname is not None: - addition_pool_args['assert_hostname'] = configuration.assert_hostname # noqa: E501 - - if maxsize is None: - if configuration.connection_pool_maxsize is not None: - maxsize = configuration.connection_pool_maxsize - else: - maxsize = 4 - - # https pool manager - if configuration.proxy: - self.pool_manager = urllib3.ProxyManager( - num_pools=pools_size, - maxsize=maxsize, - cert_reqs=cert_reqs, - ca_certs=ca_certs, - cert_file=configuration.cert_file, - key_file=configuration.key_file, - proxy_url=configuration.proxy, - **addition_pool_args - ) - else: - self.pool_manager = urllib3.PoolManager( - num_pools=pools_size, - maxsize=maxsize, - cert_reqs=cert_reqs, - ca_certs=ca_certs, - cert_file=configuration.cert_file, - key_file=configuration.key_file, - **addition_pool_args - ) - - def request( - self, - method, - url, - query_params=None, - headers=None, - body=None, - post_params=None, - _preload_content=True, - _request_timeout=None - ): - """Perform requests. - - :param method: http request method - :param url: http request url - :param query_params: query parameters in the url - :param headers: http request headers - :param body: request json body, for `application/json` - :param post_params: request post parameters, - `application/x-www-form-urlencoded` - and `multipart/form-data` - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - """ - method = method.upper() - if method not in ['GET', 'HEAD', 'DELETE', 'POST', 'PUT', 'PATCH', 'OPTIONS']: - raise Exception(f'Unsupported method: ({method})') - - if post_params and body: - raise ValueError("body parameter cannot be used with post_params parameter.") - - post_params = post_params or {} - headers = headers or {} - - timeout = None - if _request_timeout: - if isinstance(_request_timeout, (int, )): # noqa: E501,F821 - timeout = urllib3.Timeout(total=_request_timeout) - elif (isinstance(_request_timeout, tuple) and len(_request_timeout) == 2): - timeout = urllib3.Timeout(connect=_request_timeout[0], read=_request_timeout[1]) - - if 'Content-Type' not in headers: - headers['Content-Type'] = 'application/json' - - headers = {k: v for k, v in headers.items() if v is not None} - headers['X-XSRF-TOKEN'] = 'Ykua549wkGxHPsV4fnncbw==\\012' - - try: - # For `POST`, `PUT`, `PATCH`, `OPTIONS`, `DELETE` - if method in ['POST', 'PUT', 'PATCH', 'OPTIONS', 'DELETE']: - if query_params: - url += '?' + urlencode(query_params) - if re.search('json', headers['Content-Type'], re.IGNORECASE): - request_body = None - if body is not None: - request_body = json.dumps(body) - r = self.pool_manager.request( - method, - url, - body=request_body, - preload_content=_preload_content, - timeout=timeout, - headers=headers - ) - elif headers['Content-Type'] == 'application/x-www-form-urlencoded': # noqa: E501 - r = self.pool_manager.request( - method, - url, - fields=post_params, - encode_multipart=False, - preload_content=_preload_content, - timeout=timeout, - headers=headers - ) - elif headers['Content-Type'] == 'multipart/form-data': - # must del headers['Content-Type'], or the correct - # Content-Type which generated by urllib3 will be - # overwritten. - del headers['Content-Type'] - r = self.pool_manager.request( - method, - url, - fields=post_params, - encode_multipart=True, - preload_content=_preload_content, - timeout=timeout, - headers=headers - ) - # Pass a `string` parameter directly in the body to support - # other content types than Json when `body` argument is - # provided in serialized form - elif isinstance(body, str): - request_body = body - r = self.pool_manager.request( - method, - url, - body=request_body, - preload_content=_preload_content, - timeout=timeout, - headers=headers - ) - else: - # Cannot generate the request from given parameters - msg = """Cannot prepare a request message for provided - arguments. Please check that your arguments match - declared content type.""" - raise ApiException(status=0, reason=msg) - # For `GET`, `HEAD` - else: - print('\n\nHEADERS IN REST: ', headers) - print('\nPARAMS IN REST: ', query_params) - r = self.pool_manager.request( - method, - url, - fields=query_params, - preload_content=_preload_content, - timeout=timeout, - headers=headers, - ) - except urllib3.exceptions.SSLError as e: - msg = "{0}\n{1}".format(type(e).__name__, str(e)) - raise ApiException(status=0, reason=msg) - - if _preload_content: - r = RESTResponse(r) - - # In the python 3, the response.data is bytes. - # we need to decode it to string. - r.data = r.data.decode('utf8') - - # log response body - logger.debug("response body: %s", r.data) - - if not 200 <= r.status <= 299: - raise ApiException(http_resp=r) - - return r - - def GET(self, url, headers=None, query_params=None, _preload_content=True, _request_timeout=None): - return self.request( - "GET", - url, - headers=headers, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - query_params=query_params, - ) - - def HEAD(self, url, headers=None, query_params=None, _preload_content=True, _request_timeout=None): - return self.request( - "HEAD", - url, - headers=headers, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - query_params=query_params, - ) - - def OPTIONS( - self, - url, - headers=None, - query_params=None, - post_params=None, - body=None, - _preload_content=True, - _request_timeout=None - ): - return self.request( - "OPTIONS", - url, - headers=headers, - query_params=query_params, - post_params=post_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body - ) - - def DELETE(self, url, headers=None, query_params=None, body=None, _preload_content=True, _request_timeout=None): - return self.request( - "DELETE", - url, - headers=headers, - query_params=query_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body - ) - - def POST( - self, - url, - headers=None, - query_params=None, - post_params=None, - body=None, - _preload_content=True, - _request_timeout=None - ): - return self.request( - "POST", - url, - headers=headers, - query_params=query_params, - post_params=post_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body - ) - - def PUT( - self, - url, - headers=None, - query_params=None, - post_params=None, - body=None, - _preload_content=True, - _request_timeout=None - ): - return self.request( - "PUT", - url, - headers=headers, - query_params=query_params, - post_params=post_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body - ) - - def PATCH( - self, - url, - headers=None, - query_params=None, - post_params=None, - body=None, - _preload_content=True, - _request_timeout=None - ): - return self.request( - "PATCH", - url, - headers=headers, - query_params=query_params, - post_params=post_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body - ) - - -class ApiException(Exception): - - def __init__(self, status=None, reason=None, http_resp=None): - if http_resp: - self.status = http_resp.status - self.reason = http_resp.reason - self.body = http_resp.data - self.headers = http_resp.getheaders() - else: - self.status = status - self.reason = reason - self.body = None - self.headers = None - - def __str__(self): - """Define the custom string error messages for exception.""" - error_message = f"({self.status})\nReason: {self.reason}\n" - - if self.headers: - error_message += f"HTTP response headers: {self.headers}\n" - - if self.body: - error_message += f"HTTP response body: {self.body}\n" - - return error_message diff --git a/cloudendure/cloudendure_api/test/__init__.py b/cloudendure/cloudendure_api/test/__init__.py deleted file mode 100644 index e69de29bb..000000000 diff --git a/cloudendure/cloudendure_api/test/test_account_api.py b/cloudendure/cloudendure_api/test/test_account_api.py deleted file mode 100644 index 2c1f76453..000000000 --- a/cloudendure/cloudendure_api/test/test_account_api.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from api.account_api import AccountApi # noqa: E501 -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException - - -class TestAccountApi(unittest.TestCase): - """AccountApi unit test stubs""" - - def setUp(self): - self.api = api.account_api.AccountApi() # noqa: E501 - - def tearDown(self): - pass - - def test_accounts_account_id_get(self): - """Test case for accounts_account_id_get - - Get Account information # noqa: E501 - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_actions_api.py b/cloudendure/cloudendure_api/test/test_actions_api.py deleted file mode 100644 index a2168dade..000000000 --- a/cloudendure/cloudendure_api/test/test_actions_api.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from api.actions_api import ActionsApi # noqa: E501 -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException - - -class TestActionsApi(unittest.TestCase): - """ActionsApi unit test stubs""" - - def setUp(self): - self.api = api.actions_api.ActionsApi() # noqa: E501 - - def tearDown(self): - pass - - def test_projects_project_id_find_files_post(self): - """Test case for projects_project_id_find_files_post - - Search for files in a backup project # noqa: E501 - """ - pass - - def test_projects_project_id_jobs_get(self): - """Test case for projects_project_id_jobs_get - - List Jobs # noqa: E501 - """ - pass - - def test_projects_project_id_jobs_job_id_get(self): - """Test case for projects_project_id_jobs_job_id_get - - Get Job # noqa: E501 - """ - pass - - def test_projects_project_id_launch_machines_post(self): - """Test case for projects_project_id_launch_machines_post - - Launch target machines # noqa: E501 - """ - pass - - def test_projects_project_id_launch_restore_servers_post(self): - """Test case for projects_project_id_launch_restore_servers_post - - Launch restore servers @todo # noqa: E501 - """ - pass - - def test_projects_project_id_move_machines_post(self): - """Test case for projects_project_id_move_machines_post - - Moves machines to another project # noqa: E501 - """ - pass - - def test_projects_project_id_pause_replication_post(self): - """Test case for projects_project_id_pause_replication_post - - Pause replication # noqa: E501 - """ - pass - - def test_projects_project_id_replicas_delete(self): - """Test case for projects_project_id_replicas_delete - - Perform Cleanup # noqa: E501 - """ - pass - - def test_projects_project_id_restore_files_post(self): - """Test case for projects_project_id_restore_files_post - - Restore selected files in a backup project # noqa: E501 - """ - pass - - def test_projects_project_id_reverse_replication_post(self): - """Test case for projects_project_id_reverse_replication_post - - Reverse replication direction # noqa: E501 - """ - pass - - def test_projects_project_id_start_replication_post(self): - """Test case for projects_project_id_start_replication_post - - Start replication # noqa: E501 - """ - pass - - def test_projects_project_id_stop_replication_post(self): - """Test case for projects_project_id_stop_replication_post - - Stop replication # noqa: E501 - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_authentication_api.py b/cloudendure/cloudendure_api/test/test_authentication_api.py deleted file mode 100644 index 0d479a474..000000000 --- a/cloudendure/cloudendure_api/test/test_authentication_api.py +++ /dev/null @@ -1,36 +0,0 @@ -# coding: utf-8 -from __future__ import absolute_import - -import unittest - -from ..api.authentication_api import AuthenticationApi # noqa: E501 -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException - - -class TestAuthenticationApi(unittest.TestCase): - """AuthenticationApi unit test stubs""" - - def setUp(self): - self.api = AuthenticationApi() # noqa: E501 - - def tearDown(self): - pass - - def test_login_post(self): - """Test case for login_post - - Login # noqa: E501 - """ - pass - - def test_logout_post(self): - """Test case for logout_post - - Logout # noqa: E501 - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_blueprint_api.py b/cloudendure/cloudendure_api/test/test_blueprint_api.py deleted file mode 100644 index 586834f5c..000000000 --- a/cloudendure/cloudendure_api/test/test_blueprint_api.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from api.blueprint_api import BlueprintApi # noqa: E501 -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException - - -class TestBlueprintApi(unittest.TestCase): - """BlueprintApi unit test stubs""" - - def setUp(self): - self.api = api.blueprint_api.BlueprintApi() # noqa: E501 - - def tearDown(self): - pass - - def test_projects_project_id_blueprints_blueprint_id_get(self): - """Test case for projects_project_id_blueprints_blueprint_id_get - - Get Blueprint # noqa: E501 - """ - pass - - def test_projects_project_id_blueprints_blueprint_id_patch(self): - """Test case for projects_project_id_blueprints_blueprint_id_patch - - Configure Blueprint # noqa: E501 - """ - pass - - def test_projects_project_id_blueprints_get(self): - """Test case for projects_project_id_blueprints_get - - List Blueprints # noqa: E501 - """ - pass - - def test_projects_project_id_blueprints_post(self): - """Test case for projects_project_id_blueprints_post - - Create Blueprint # noqa: E501 - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_api.py b/cloudendure/cloudendure_api/test/test_cloud_api.py deleted file mode 100644 index 01dfef287..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_api.py +++ /dev/null @@ -1,68 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from api.cloud_api import CloudApi # noqa: E501 -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException - - -class TestCloudApi(unittest.TestCase): - """CloudApi unit test stubs""" - - def setUp(self): - self.api = api.cloud_api.CloudApi() # noqa: E501 - - def tearDown(self): - pass - - def test_cloud_credentials_creds_id_regions_get(self): - """Test case for cloud_credentials_creds_id_regions_get - - List Regions # noqa: E501 - """ - pass - - def test_cloud_credentials_creds_id_regions_region_id_delete(self): - """Test case for cloud_credentials_creds_id_regions_region_id_delete - - Delete region (VCenter) # noqa: E501 - """ - pass - - def test_cloud_credentials_creds_id_regions_region_id_get(self): - """Test case for cloud_credentials_creds_id_regions_region_id_get - - Get Region # noqa: E501 - """ - pass - - def test_cloud_credentials_creds_id_regions_region_id_patch(self): - """Test case for cloud_credentials_creds_id_regions_region_id_patch - - Patch region (rename) # noqa: E501 - """ - pass - - def test_clouds_get(self): - """Test case for clouds_get - - List Clouds # noqa: E501 - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_credentials_api.py b/cloudendure/cloudendure_api/test/test_cloud_credentials_api.py deleted file mode 100644 index 6677a8903..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_credentials_api.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from api.cloud_credentials_api import CloudCredentialsApi # noqa: E501 -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException - - -class TestCloudCredentialsApi(unittest.TestCase): - """CloudCredentialsApi unit test stubs""" - - def setUp(self): - self.api = api.cloud_credentials_api.CloudCredentialsApi() # noqa: E501 - - def tearDown(self): - pass - - def test_cloud_credentials_creds_id_get(self): - """Test case for cloud_credentials_creds_id_get - - Get Credentials # noqa: E501 - """ - pass - - def test_cloud_credentials_creds_id_patch(self): - """Test case for cloud_credentials_creds_id_patch - - Change Credentials # noqa: E501 - """ - pass - - def test_cloud_credentials_get(self): - """Test case for cloud_credentials_get - - List Credentials # noqa: E501 - """ - pass - - def test_cloud_credentials_post(self): - """Test case for cloud_credentials_post - - Create Credentials # noqa: E501 - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_account.py b/cloudendure/cloudendure_api/test/test_cloud_endure_account.py deleted file mode 100644 index 5a3fcb407..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_account.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_account import CloudEndureAccount # noqa: E501 - - -class TestCloudEndureAccount(unittest.TestCase): - """CloudEndureAccount unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureAccount(self): - """Test CloudEndureAccount""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_account.CloudEndureAccount() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_account_request.py b/cloudendure/cloudendure_api/test/test_cloud_endure_account_request.py deleted file mode 100644 index 631b38990..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_account_request.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_account_request import CloudEndureAccountRequest # noqa: E501 - - -class TestCloudEndureAccountRequest(unittest.TestCase): - """CloudEndureAccountRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureAccountRequest(self): - """Test CloudEndureAccountRequest""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_account_request.CloudEndureAccountRequest() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_account_request_list.py b/cloudendure/cloudendure_api/test/test_cloud_endure_account_request_list.py deleted file mode 100644 index 752c8b218..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_account_request_list.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_account_request_list import CloudEndureAccountRequestList # noqa: E501 - - -class TestCloudEndureAccountRequestList(unittest.TestCase): - """CloudEndureAccountRequestList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureAccountRequestList(self): - """Test CloudEndureAccountRequestList""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_account_request_list.CloudEndureAccountRequestList() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_accounts_list.py b/cloudendure/cloudendure_api/test/test_cloud_endure_accounts_list.py deleted file mode 100644 index 3f900140b..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_accounts_list.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_accounts_list import CloudEndureAccountsList # noqa: E501 - - -class TestCloudEndureAccountsList(unittest.TestCase): - """CloudEndureAccountsList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureAccountsList(self): - """Test CloudEndureAccountsList""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_accounts_list.CloudEndureAccountsList() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_agent_next_replication_init_request.py b/cloudendure/cloudendure_api/test/test_cloud_endure_agent_next_replication_init_request.py deleted file mode 100644 index 4acf75b40..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_agent_next_replication_init_request.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_agent_next_replication_init_request import \ - CloudEndureAgentNextReplicationInitRequest # noqa: E501 - - -class TestCloudEndureAgentNextReplicationInitRequest(unittest.TestCase): - """CloudEndureAgentNextReplicationInitRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureAgentNextReplicationInitRequest(self): - """Test CloudEndureAgentNextReplicationInitRequest""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_agent_next_replication_init_request.CloudEndureAgentNextReplicationInitRequest() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_all_project_features.py b/cloudendure/cloudendure_api/test/test_cloud_endure_all_project_features.py deleted file mode 100644 index f7a6391ad..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_all_project_features.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_all_project_features import CloudEndureAllProjectFeatures # noqa: E501 - - -class TestCloudEndureAllProjectFeatures(unittest.TestCase): - """CloudEndureAllProjectFeatures unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureAllProjectFeatures(self): - """Test CloudEndureAllProjectFeatures""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_all_project_features.CloudEndureAllProjectFeatures() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_audit_log.py b/cloudendure/cloudendure_api/test/test_cloud_endure_audit_log.py deleted file mode 100644 index 39a4646ac..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_audit_log.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_audit_log import CloudEndureAuditLog # noqa: E501 - - -class TestCloudEndureAuditLog(unittest.TestCase): - """CloudEndureAuditLog unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureAuditLog(self): - """Test CloudEndureAuditLog""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_audit_log.CloudEndureAuditLog() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_audit_log_changed_field.py b/cloudendure/cloudendure_api/test/test_cloud_endure_audit_log_changed_field.py deleted file mode 100644 index d9472fb7c..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_audit_log_changed_field.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_audit_log_changed_field import CloudEndureAuditLogChangedField # noqa: E501 - - -class TestCloudEndureAuditLogChangedField(unittest.TestCase): - """CloudEndureAuditLogChangedField unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureAuditLogChangedField(self): - """Test CloudEndureAuditLogChangedField""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_audit_log_changed_field.CloudEndureAuditLogChangedField() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_audit_log_entry.py b/cloudendure/cloudendure_api/test/test_cloud_endure_audit_log_entry.py deleted file mode 100644 index b5c9645bf..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_audit_log_entry.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_audit_log_entry import CloudEndureAuditLogEntry # noqa: E501 - - -class TestCloudEndureAuditLogEntry(unittest.TestCase): - """CloudEndureAuditLogEntry unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureAuditLogEntry(self): - """Test CloudEndureAuditLogEntry""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_audit_log_entry.CloudEndureAuditLogEntry() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_bandwidth_throttling.py b/cloudendure/cloudendure_api/test/test_cloud_endure_bandwidth_throttling.py deleted file mode 100644 index 8d9053878..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_bandwidth_throttling.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_bandwidth_throttling import CloudEndureBandwidthThrottling # noqa: E501 - - -class TestCloudEndureBandwidthThrottling(unittest.TestCase): - """CloudEndureBandwidthThrottling unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureBandwidthThrottling(self): - """Test CloudEndureBandwidthThrottling""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_bandwidth_throttling.CloudEndureBandwidthThrottling() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_blueprint.py b/cloudendure/cloudendure_api/test/test_cloud_endure_blueprint.py deleted file mode 100644 index 86340b0dc..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_blueprint.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_blueprint import CloudEndureBlueprint # noqa: E501 - - -class TestCloudEndureBlueprint(unittest.TestCase): - """CloudEndureBlueprint unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureBlueprint(self): - """Test CloudEndureBlueprint""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_blueprint.CloudEndureBlueprint() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_blueprint_list.py b/cloudendure/cloudendure_api/test/test_cloud_endure_blueprint_list.py deleted file mode 100644 index ef214b37f..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_blueprint_list.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_blueprint_list import CloudEndureBlueprintList # noqa: E501 - - -class TestCloudEndureBlueprintList(unittest.TestCase): - """CloudEndureBlueprintList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureBlueprintList(self): - """Test CloudEndureBlueprintList""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_blueprint_list.CloudEndureBlueprintList() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_cloud.py b/cloudendure/cloudendure_api/test/test_cloud_endure_cloud.py deleted file mode 100644 index 56cf939cf..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_cloud.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_cloud import CloudEndureCloud # noqa: E501 - - -class TestCloudEndureCloud(unittest.TestCase): - """CloudEndureCloud unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureCloud(self): - """Test CloudEndureCloud""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_cloud.CloudEndureCloud() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_cloud_credentials.py b/cloudendure/cloudendure_api/test/test_cloud_endure_cloud_credentials.py deleted file mode 100644 index 65c8941ab..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_cloud_credentials.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_cloud_credentials import CloudEndureCloudCredentials # noqa: E501 - - -class TestCloudEndureCloudCredentials(unittest.TestCase): - """CloudEndureCloudCredentials unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureCloudCredentials(self): - """Test CloudEndureCloudCredentials""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_cloud_credentials.CloudEndureCloudCredentials() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_cloud_credentials_list.py b/cloudendure/cloudendure_api/test/test_cloud_endure_cloud_credentials_list.py deleted file mode 100644 index 1c372fa6a..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_cloud_credentials_list.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_cloud_credentials_list import CloudEndureCloudCredentialsList # noqa: E501 - - -class TestCloudEndureCloudCredentialsList(unittest.TestCase): - """CloudEndureCloudCredentialsList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureCloudCredentialsList(self): - """Test CloudEndureCloudCredentialsList""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_cloud_credentials_list.CloudEndureCloudCredentialsList() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_cloud_credentials_request.py b/cloudendure/cloudendure_api/test/test_cloud_endure_cloud_credentials_request.py deleted file mode 100644 index e1cfc5eb9..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_cloud_credentials_request.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_cloud_credentials_request import CloudEndureCloudCredentialsRequest # noqa: E501 - - -class TestCloudEndureCloudCredentialsRequest(unittest.TestCase): - """CloudEndureCloudCredentialsRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureCloudCredentialsRequest(self): - """Test CloudEndureCloudCredentialsRequest""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_cloud_credentials_request.CloudEndureCloudCredentialsRequest() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_clouds_list.py b/cloudendure/cloudendure_api/test/test_cloud_endure_clouds_list.py deleted file mode 100644 index 3f9bed93f..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_clouds_list.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_clouds_list import CloudEndureCloudsList # noqa: E501 - - -class TestCloudEndureCloudsList(unittest.TestCase): - """CloudEndureCloudsList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureCloudsList(self): - """Test CloudEndureCloudsList""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_clouds_list.CloudEndureCloudsList() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_compute_location.py b/cloudendure/cloudendure_api/test/test_cloud_endure_compute_location.py deleted file mode 100644 index e00ee1b02..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_compute_location.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_compute_location import CloudEndureComputeLocation # noqa: E501 - - -class TestCloudEndureComputeLocation(unittest.TestCase): - """CloudEndureComputeLocation unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureComputeLocation(self): - """Test CloudEndureComputeLocation""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_compute_location.CloudEndureComputeLocation() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_configurations.py b/cloudendure/cloudendure_api/test/test_cloud_endure_configurations.py deleted file mode 100644 index 18d6b7006..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_configurations.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_configurations import CloudEndureConfigurations # noqa: E501 - - -class TestCloudEndureConfigurations(unittest.TestCase): - """CloudEndureConfigurations unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureConfigurations(self): - """Test CloudEndureConfigurations""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_configurations.CloudEndureConfigurations() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_configurations_list.py b/cloudendure/cloudendure_api/test/test_cloud_endure_configurations_list.py deleted file mode 100644 index 18c51f090..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_configurations_list.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_configurations_list import CloudEndureConfigurationsList # noqa: E501 - - -class TestCloudEndureConfigurationsList(unittest.TestCase): - """CloudEndureConfigurationsList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureConfigurationsList(self): - """Test CloudEndureConfigurationsList""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_configurations_list.CloudEndureConfigurationsList() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_error.py b/cloudendure/cloudendure_api/test/test_cloud_endure_error.py deleted file mode 100644 index 2958a208e..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_error.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_error import CloudEndureError # noqa: E501 - - -class TestCloudEndureError(unittest.TestCase): - """CloudEndureError unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureError(self): - """Test CloudEndureError""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_error.CloudEndureError() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_extended_account_info.py b/cloudendure/cloudendure_api/test/test_cloud_endure_extended_account_info.py deleted file mode 100644 index 24dfcd24a..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_extended_account_info.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_extended_account_info import CloudEndureExtendedAccountInfo # noqa: E501 - - -class TestCloudEndureExtendedAccountInfo(unittest.TestCase): - """CloudEndureExtendedAccountInfo unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureExtendedAccountInfo(self): - """Test CloudEndureExtendedAccountInfo""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_extended_account_info.CloudEndureExtendedAccountInfo() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_find_files_parameters.py b/cloudendure/cloudendure_api/test/test_cloud_endure_find_files_parameters.py deleted file mode 100644 index 5989fc6a0..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_find_files_parameters.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_find_files_parameters import CloudEndureFindFilesParameters # noqa: E501 - - -class TestCloudEndureFindFilesParameters(unittest.TestCase): - """CloudEndureFindFilesParameters unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureFindFilesParameters(self): - """Test CloudEndureFindFilesParameters""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_find_files_parameters.CloudEndureFindFilesParameters() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_find_files_result.py b/cloudendure/cloudendure_api/test/test_cloud_endure_find_files_result.py deleted file mode 100644 index 104fb70b4..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_find_files_result.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_find_files_result import CloudEndureFindFilesResult # noqa: E501 - - -class TestCloudEndureFindFilesResult(unittest.TestCase): - """CloudEndureFindFilesResult unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureFindFilesResult(self): - """Test CloudEndureFindFilesResult""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_find_files_result.CloudEndureFindFilesResult() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_find_files_result_pit.py b/cloudendure/cloudendure_api/test/test_cloud_endure_find_files_result_pit.py deleted file mode 100644 index 0d4a9ca99..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_find_files_result_pit.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_find_files_result_pit import CloudEndureFindFilesResultPit # noqa: E501 - - -class TestCloudEndureFindFilesResultPit(unittest.TestCase): - """CloudEndureFindFilesResultPit unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureFindFilesResultPit(self): - """Test CloudEndureFindFilesResultPit""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_find_files_result_pit.CloudEndureFindFilesResultPit() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_find_files_results.py b/cloudendure/cloudendure_api/test/test_cloud_endure_find_files_results.py deleted file mode 100644 index f4049427a..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_find_files_results.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_find_files_results import CloudEndureFindFilesResults # noqa: E501 - - -class TestCloudEndureFindFilesResults(unittest.TestCase): - """CloudEndureFindFilesResults unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureFindFilesResults(self): - """Test CloudEndureFindFilesResults""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_find_files_results.CloudEndureFindFilesResults() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_gcp_machines_finance_data.py b/cloudendure/cloudendure_api/test/test_cloud_endure_gcp_machines_finance_data.py deleted file mode 100644 index a47f14c0e..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_gcp_machines_finance_data.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_gcp_machines_finance_data import CloudEndureGcpMachinesFinanceData # noqa: E501 - - -class TestCloudEndureGcpMachinesFinanceData(unittest.TestCase): - """CloudEndureGcpMachinesFinanceData unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureGcpMachinesFinanceData(self): - """Test CloudEndureGcpMachinesFinanceData""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_gcp_machines_finance_data.CloudEndureGcpMachinesFinanceData() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_identity_provider_redirect_response.py b/cloudendure/cloudendure_api/test/test_cloud_endure_identity_provider_redirect_response.py deleted file mode 100644 index 0056d0c39..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_identity_provider_redirect_response.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_identity_provider_redirect_response import \ - CloudEndureIdentityProviderRedirectResponse # noqa: E501 - - -class TestCloudEndureIdentityProviderRedirectResponse(unittest.TestCase): - """CloudEndureIdentityProviderRedirectResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureIdentityProviderRedirectResponse(self): - """Test CloudEndureIdentityProviderRedirectResponse""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_identity_provider_redirect_response.CloudEndureIdentityProviderRedirectResponse() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_initialization_step.py b/cloudendure/cloudendure_api/test/test_cloud_endure_initialization_step.py deleted file mode 100644 index 3b87ff262..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_initialization_step.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_initialization_step import CloudEndureInitializationStep # noqa: E501 - - -class TestCloudEndureInitializationStep(unittest.TestCase): - """CloudEndureInitializationStep unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureInitializationStep(self): - """Test CloudEndureInitializationStep""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_initialization_step.CloudEndureInitializationStep() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_job.py b/cloudendure/cloudendure_api/test/test_cloud_endure_job.py deleted file mode 100644 index 026670dae..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_job.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_job import CloudEndureJob # noqa: E501 - - -class TestCloudEndureJob(unittest.TestCase): - """CloudEndureJob unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureJob(self): - """Test CloudEndureJob""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_job.CloudEndureJob() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_jobs_list.py b/cloudendure/cloudendure_api/test/test_cloud_endure_jobs_list.py deleted file mode 100644 index cde693c66..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_jobs_list.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_jobs_list import CloudEndureJobsList # noqa: E501 - - -class TestCloudEndureJobsList(unittest.TestCase): - """CloudEndureJobsList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureJobsList(self): - """Test CloudEndureJobsList""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_jobs_list.CloudEndureJobsList() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_key_value_list.py b/cloudendure/cloudendure_api/test/test_cloud_endure_key_value_list.py deleted file mode 100644 index 1ae3539ba..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_key_value_list.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_key_value_list import CloudEndureKeyValueList # noqa: E501 - - -class TestCloudEndureKeyValueList(unittest.TestCase): - """CloudEndureKeyValueList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureKeyValueList(self): - """Test CloudEndureKeyValueList""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_key_value_list.CloudEndureKeyValueList() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_launch_machines_parameters.py b/cloudendure/cloudendure_api/test/test_cloud_endure_launch_machines_parameters.py deleted file mode 100644 index d744dbbeb..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_launch_machines_parameters.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_launch_machines_parameters import CloudEndureLaunchMachinesParameters # noqa: E501 - - -class TestCloudEndureLaunchMachinesParameters(unittest.TestCase): - """CloudEndureLaunchMachinesParameters unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureLaunchMachinesParameters(self): - """Test CloudEndureLaunchMachinesParameters""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_launch_machines_parameters.CloudEndureLaunchMachinesParameters() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_license.py b/cloudendure/cloudendure_api/test/test_cloud_endure_license.py deleted file mode 100644 index 96be07c4e..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_license.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_license import CloudEndureLicense # noqa: E501 - - -class TestCloudEndureLicense(unittest.TestCase): - """CloudEndureLicense unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureLicense(self): - """Test CloudEndureLicense""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_license.CloudEndureLicense() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_license_features.py b/cloudendure/cloudendure_api/test/test_cloud_endure_license_features.py deleted file mode 100644 index b03889e13..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_license_features.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_license_features import CloudEndureLicenseFeatures # noqa: E501 - - -class TestCloudEndureLicenseFeatures(unittest.TestCase): - """CloudEndureLicenseFeatures unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureLicenseFeatures(self): - """Test CloudEndureLicenseFeatures""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_license_features.CloudEndureLicenseFeatures() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_license_list.py b/cloudendure/cloudendure_api/test/test_cloud_endure_license_list.py deleted file mode 100644 index 649cf4dd4..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_license_list.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_license_list import CloudEndureLicenseList # noqa: E501 - - -class TestCloudEndureLicenseList(unittest.TestCase): - """CloudEndureLicenseList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureLicenseList(self): - """Test CloudEndureLicenseList""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_license_list.CloudEndureLicenseList() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_list_users_result.py b/cloudendure/cloudendure_api/test/test_cloud_endure_list_users_result.py deleted file mode 100644 index 860f3a6e1..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_list_users_result.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_list_users_result import CloudEndureListUsersResult # noqa: E501 - - -class TestCloudEndureListUsersResult(unittest.TestCase): - """CloudEndureListUsersResult unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureListUsersResult(self): - """Test CloudEndureListUsersResult""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_list_users_result.CloudEndureListUsersResult() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_list_users_results.py b/cloudendure/cloudendure_api/test/test_cloud_endure_list_users_results.py deleted file mode 100644 index 4e1b8b53f..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_list_users_results.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_list_users_results import CloudEndureListUsersResults # noqa: E501 - - -class TestCloudEndureListUsersResults(unittest.TestCase): - """CloudEndureListUsersResults unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureListUsersResults(self): - """Test CloudEndureListUsersResults""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_list_users_results.CloudEndureListUsersResults() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_logical_location.py b/cloudendure/cloudendure_api/test/test_cloud_endure_logical_location.py deleted file mode 100644 index 843f5add4..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_logical_location.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_logical_location import CloudEndureLogicalLocation # noqa: E501 - - -class TestCloudEndureLogicalLocation(unittest.TestCase): - """CloudEndureLogicalLocation unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureLogicalLocation(self): - """Test CloudEndureLogicalLocation""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_logical_location.CloudEndureLogicalLocation() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_machine.py b/cloudendure/cloudendure_api/test/test_cloud_endure_machine.py deleted file mode 100644 index c6f55f62b..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_machine.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_machine import CloudEndureMachine # noqa: E501 - - -class TestCloudEndureMachine(unittest.TestCase): - """CloudEndureMachine unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureMachine(self): - """Test CloudEndureMachine""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_machine.CloudEndureMachine() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_machine_and_path_and_point_in_time.py b/cloudendure/cloudendure_api/test/test_cloud_endure_machine_and_path_and_point_in_time.py deleted file mode 100644 index 88da2f13a..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_machine_and_path_and_point_in_time.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_machine_and_path_and_point_in_time import CloudEndureMachineAndPathAndPointInTime # noqa: E501 - - -class TestCloudEndureMachineAndPathAndPointInTime(unittest.TestCase): - """CloudEndureMachineAndPathAndPointInTime unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureMachineAndPathAndPointInTime(self): - """Test CloudEndureMachineAndPathAndPointInTime""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_machine_and_path_and_point_in_time.CloudEndureMachineAndPathAndPointInTime() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_machine_and_point_in_time.py b/cloudendure/cloudendure_api/test/test_cloud_endure_machine_and_point_in_time.py deleted file mode 100644 index 636982fff..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_machine_and_point_in_time.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_machine_and_point_in_time import CloudEndureMachineAndPointInTime # noqa: E501 - - -class TestCloudEndureMachineAndPointInTime(unittest.TestCase): - """CloudEndureMachineAndPointInTime unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureMachineAndPointInTime(self): - """Test CloudEndureMachineAndPointInTime""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_machine_and_point_in_time.CloudEndureMachineAndPointInTime() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_machine_replication_configuration.py b/cloudendure/cloudendure_api/test/test_cloud_endure_machine_replication_configuration.py deleted file mode 100644 index e01c50008..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_machine_replication_configuration.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_machine_replication_configuration import \ - CloudEndureMachineReplicationConfiguration # noqa: E501 - - -class TestCloudEndureMachineReplicationConfiguration(unittest.TestCase): - """CloudEndureMachineReplicationConfiguration unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureMachineReplicationConfiguration(self): - """Test CloudEndureMachineReplicationConfiguration""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_machine_replication_configuration.CloudEndureMachineReplicationConfiguration() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_machine_snapshot_credits.py b/cloudendure/cloudendure_api/test/test_cloud_endure_machine_snapshot_credits.py deleted file mode 100644 index c96e93d75..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_machine_snapshot_credits.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_machine_snapshot_credits import CloudEndureMachineSnapshotCredits # noqa: E501 - - -class TestCloudEndureMachineSnapshotCredits(unittest.TestCase): - """CloudEndureMachineSnapshotCredits unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureMachineSnapshotCredits(self): - """Test CloudEndureMachineSnapshotCredits""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_machine_snapshot_credits.CloudEndureMachineSnapshotCredits() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_machine_throttle_time_seconds.py b/cloudendure/cloudendure_api/test/test_cloud_endure_machine_throttle_time_seconds.py deleted file mode 100644 index 5fb06ab1f..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_machine_throttle_time_seconds.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_machine_throttle_time_seconds import CloudEndureMachineThrottleTimeSeconds # noqa: E501 - - -class TestCloudEndureMachineThrottleTimeSeconds(unittest.TestCase): - """CloudEndureMachineThrottleTimeSeconds unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureMachineThrottleTimeSeconds(self): - """Test CloudEndureMachineThrottleTimeSeconds""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_machine_throttle_time_seconds.CloudEndureMachineThrottleTimeSeconds() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_machines_list.py b/cloudendure/cloudendure_api/test/test_cloud_endure_machines_list.py deleted file mode 100644 index 91aea1a04..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_machines_list.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_machines_list import CloudEndureMachinesList # noqa: E501 - - -class TestCloudEndureMachinesList(unittest.TestCase): - """CloudEndureMachinesList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureMachinesList(self): - """Test CloudEndureMachinesList""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_machines_list.CloudEndureMachinesList() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_machines_list_invalid_i_ds_and_job.py b/cloudendure/cloudendure_api/test/test_cloud_endure_machines_list_invalid_i_ds_and_job.py deleted file mode 100644 index 841c32dc2..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_machines_list_invalid_i_ds_and_job.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_machines_list_invalid_i_ds_and_job import CloudEndureMachinesListInvalidIDsAndJob # noqa: E501 - - -class TestCloudEndureMachinesListInvalidIDsAndJob(unittest.TestCase): - """CloudEndureMachinesListInvalidIDsAndJob unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureMachinesListInvalidIDsAndJob(self): - """Test CloudEndureMachinesListInvalidIDsAndJob""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_machines_list_invalid_i_ds_and_job.CloudEndureMachinesListInvalidIDsAndJob() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_network_interface.py b/cloudendure/cloudendure_api/test/test_cloud_endure_network_interface.py deleted file mode 100644 index c5789e638..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_network_interface.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_network_interface import CloudEndureNetworkInterface # noqa: E501 - - -class TestCloudEndureNetworkInterface(unittest.TestCase): - """CloudEndureNetworkInterface unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureNetworkInterface(self): - """Test CloudEndureNetworkInterface""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_network_interface.CloudEndureNetworkInterface() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_point_in_time.py b/cloudendure/cloudendure_api/test/test_cloud_endure_point_in_time.py deleted file mode 100644 index decb96e4a..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_point_in_time.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_point_in_time import CloudEndurePointInTime # noqa: E501 - - -class TestCloudEndurePointInTime(unittest.TestCase): - """CloudEndurePointInTime unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndurePointInTime(self): - """Test CloudEndurePointInTime""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_point_in_time.CloudEndurePointInTime() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_point_in_time_list.py b/cloudendure/cloudendure_api/test/test_cloud_endure_point_in_time_list.py deleted file mode 100644 index 828a02154..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_point_in_time_list.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_point_in_time_list import CloudEndurePointInTimeList # noqa: E501 - - -class TestCloudEndurePointInTimeList(unittest.TestCase): - """CloudEndurePointInTimeList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndurePointInTimeList(self): - """Test CloudEndurePointInTimeList""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_point_in_time_list.CloudEndurePointInTimeList() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_project.py b/cloudendure/cloudendure_api/test/test_cloud_endure_project.py deleted file mode 100644 index ff932583b..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_project.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_project import CloudEndureProject # noqa: E501 - - -class TestCloudEndureProject(unittest.TestCase): - """CloudEndureProject unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureProject(self): - """Test CloudEndureProject""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_project.CloudEndureProject() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_project_storage.py b/cloudendure/cloudendure_api/test/test_cloud_endure_project_storage.py deleted file mode 100644 index 60dc8e034..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_project_storage.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_project_storage import CloudEndureProjectStorage # noqa: E501 - - -class TestCloudEndureProjectStorage(unittest.TestCase): - """CloudEndureProjectStorage unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureProjectStorage(self): - """Test CloudEndureProjectStorage""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_project_storage.CloudEndureProjectStorage() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_projects_and_users.py b/cloudendure/cloudendure_api/test/test_cloud_endure_projects_and_users.py deleted file mode 100644 index 4d36f0744..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_projects_and_users.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_projects_and_users import CloudEndureProjectsAndUsers # noqa: E501 - - -class TestCloudEndureProjectsAndUsers(unittest.TestCase): - """CloudEndureProjectsAndUsers unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureProjectsAndUsers(self): - """Test CloudEndureProjectsAndUsers""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_projects_and_users.CloudEndureProjectsAndUsers() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_projects_list.py b/cloudendure/cloudendure_api/test/test_cloud_endure_projects_list.py deleted file mode 100644 index 932c26766..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_projects_list.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_projects_list import CloudEndureProjectsList # noqa: E501 - - -class TestCloudEndureProjectsList(unittest.TestCase): - """CloudEndureProjectsList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureProjectsList(self): - """Test CloudEndureProjectsList""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_projects_list.CloudEndureProjectsList() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_recovery_plan.py b/cloudendure/cloudendure_api/test/test_cloud_endure_recovery_plan.py deleted file mode 100644 index e1c8ca4d1..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_recovery_plan.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_recovery_plan import CloudEndureRecoveryPlan # noqa: E501 - - -class TestCloudEndureRecoveryPlan(unittest.TestCase): - """CloudEndureRecoveryPlan unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureRecoveryPlan(self): - """Test CloudEndureRecoveryPlan""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_recovery_plan.CloudEndureRecoveryPlan() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_recovery_plan_list.py b/cloudendure/cloudendure_api/test/test_cloud_endure_recovery_plan_list.py deleted file mode 100644 index 3b26b54e3..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_recovery_plan_list.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_recovery_plan_list import CloudEndureRecoveryPlanList # noqa: E501 - - -class TestCloudEndureRecoveryPlanList(unittest.TestCase): - """CloudEndureRecoveryPlanList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureRecoveryPlanList(self): - """Test CloudEndureRecoveryPlanList""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_recovery_plan_list.CloudEndureRecoveryPlanList() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_recovery_plan_step.py b/cloudendure/cloudendure_api/test/test_cloud_endure_recovery_plan_step.py deleted file mode 100644 index d69c8073f..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_recovery_plan_step.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_recovery_plan_step import CloudEndureRecoveryPlanStep # noqa: E501 - - -class TestCloudEndureRecoveryPlanStep(unittest.TestCase): - """CloudEndureRecoveryPlanStep unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureRecoveryPlanStep(self): - """Test CloudEndureRecoveryPlanStep""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_recovery_plan_step.CloudEndureRecoveryPlanStep() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_recovery_plan_steps.py b/cloudendure/cloudendure_api/test/test_cloud_endure_recovery_plan_steps.py deleted file mode 100644 index 014fff7c0..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_recovery_plan_steps.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_recovery_plan_steps import CloudEndureRecoveryPlanSteps # noqa: E501 - - -class TestCloudEndureRecoveryPlanSteps(unittest.TestCase): - """CloudEndureRecoveryPlanSteps unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureRecoveryPlanSteps(self): - """Test CloudEndureRecoveryPlanSteps""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_recovery_plan_steps.CloudEndureRecoveryPlanSteps() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_region.py b/cloudendure/cloudendure_api/test/test_cloud_endure_region.py deleted file mode 100644 index dab6b8434..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_region.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_region import CloudEndureRegion # noqa: E501 - - -class TestCloudEndureRegion(unittest.TestCase): - """CloudEndureRegion unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureRegion(self): - """Test CloudEndureRegion""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_region.CloudEndureRegion() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_regions_list.py b/cloudendure/cloudendure_api/test/test_cloud_endure_regions_list.py deleted file mode 100644 index a403e2a3c..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_regions_list.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_regions_list import CloudEndureRegionsList # noqa: E501 - - -class TestCloudEndureRegionsList(unittest.TestCase): - """CloudEndureRegionsList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureRegionsList(self): - """Test CloudEndureRegionsList""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_regions_list.CloudEndureRegionsList() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_replica.py b/cloudendure/cloudendure_api/test/test_cloud_endure_replica.py deleted file mode 100644 index d7988e074..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_replica.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_replica import CloudEndureReplica # noqa: E501 - - -class TestCloudEndureReplica(unittest.TestCase): - """CloudEndureReplica unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureReplica(self): - """Test CloudEndureReplica""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_replica.CloudEndureReplica() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_replication_configuration.py b/cloudendure/cloudendure_api/test/test_cloud_endure_replication_configuration.py deleted file mode 100644 index 1250cc5b3..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_replication_configuration.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_replication_configuration import CloudEndureReplicationConfiguration # noqa: E501 - - -class TestCloudEndureReplicationConfiguration(unittest.TestCase): - """CloudEndureReplicationConfiguration unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureReplicationConfiguration(self): - """Test CloudEndureReplicationConfiguration""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_replication_configuration.CloudEndureReplicationConfiguration() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_replication_configuration_list.py b/cloudendure/cloudendure_api/test/test_cloud_endure_replication_configuration_list.py deleted file mode 100644 index 732aebd7a..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_replication_configuration_list.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_replication_configuration_list import CloudEndureReplicationConfigurationList # noqa: E501 - - -class TestCloudEndureReplicationConfigurationList(unittest.TestCase): - """CloudEndureReplicationConfigurationList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureReplicationConfigurationList(self): - """Test CloudEndureReplicationConfigurationList""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_replication_configuration_list.CloudEndureReplicationConfigurationList() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_replication_server_config.py b/cloudendure/cloudendure_api/test/test_cloud_endure_replication_server_config.py deleted file mode 100644 index 399bf8d6d..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_replication_server_config.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_replication_server_config import CloudEndureReplicationServerConfig # noqa: E501 - - -class TestCloudEndureReplicationServerConfig(unittest.TestCase): - """CloudEndureReplicationServerConfig unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureReplicationServerConfig(self): - """Test CloudEndureReplicationServerConfig""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_replication_server_config.CloudEndureReplicationServerConfig() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_restore_files_parameters.py b/cloudendure/cloudendure_api/test/test_cloud_endure_restore_files_parameters.py deleted file mode 100644 index 427aed21a..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_restore_files_parameters.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_restore_files_parameters import CloudEndureRestoreFilesParameters # noqa: E501 - - -class TestCloudEndureRestoreFilesParameters(unittest.TestCase): - """CloudEndureRestoreFilesParameters unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureRestoreFilesParameters(self): - """Test CloudEndureRestoreFilesParameters""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_restore_files_parameters.CloudEndureRestoreFilesParameters() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_saml_settings.py b/cloudendure/cloudendure_api/test/test_cloud_endure_saml_settings.py deleted file mode 100644 index 934ef881f..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_saml_settings.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_saml_settings import CloudEndureSamlSettings # noqa: E501 - - -class TestCloudEndureSamlSettings(unittest.TestCase): - """CloudEndureSamlSettings unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureSamlSettings(self): - """Test CloudEndureSamlSettings""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_saml_settings.CloudEndureSamlSettings() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_security_group.py b/cloudendure/cloudendure_api/test/test_cloud_endure_security_group.py deleted file mode 100644 index 6d58c43e2..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_security_group.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_security_group import CloudEndureSecurityGroup # noqa: E501 - - -class TestCloudEndureSecurityGroup(unittest.TestCase): - """CloudEndureSecurityGroup unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureSecurityGroup(self): - """Test CloudEndureSecurityGroup""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_security_group.CloudEndureSecurityGroup() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_storage_location.py b/cloudendure/cloudendure_api/test/test_cloud_endure_storage_location.py deleted file mode 100644 index 5fbed2a5a..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_storage_location.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_storage_location import CloudEndureStorageLocation # noqa: E501 - - -class TestCloudEndureStorageLocation(unittest.TestCase): - """CloudEndureStorageLocation unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureStorageLocation(self): - """Test CloudEndureStorageLocation""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_storage_location.CloudEndureStorageLocation() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_subnet.py b/cloudendure/cloudendure_api/test/test_cloud_endure_subnet.py deleted file mode 100644 index 8eed64756..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_subnet.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_subnet import CloudEndureSubnet # noqa: E501 - - -class TestCloudEndureSubnet(unittest.TestCase): - """CloudEndureSubnet unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureSubnet(self): - """Test CloudEndureSubnet""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_subnet.CloudEndureSubnet() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_time.py b/cloudendure/cloudendure_api/test/test_cloud_endure_time.py deleted file mode 100644 index 27f254390..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_time.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_time import CloudEndureTime # noqa: E501 - - -class TestCloudEndureTime(unittest.TestCase): - """CloudEndureTime unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureTime(self): - """Test CloudEndureTime""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_time.CloudEndureTime() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_updateable_scripts.py b/cloudendure/cloudendure_api/test/test_cloud_endure_updateable_scripts.py deleted file mode 100644 index f01dc4588..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_updateable_scripts.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_updateable_scripts import CloudEndureUpdateableScripts # noqa: E501 - - -class TestCloudEndureUpdateableScripts(unittest.TestCase): - """CloudEndureUpdateableScripts unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureUpdateableScripts(self): - """Test CloudEndureUpdateableScripts""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_updateable_scripts.CloudEndureUpdateableScripts() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_upgrade_counter_delay.py b/cloudendure/cloudendure_api/test/test_cloud_endure_upgrade_counter_delay.py deleted file mode 100644 index 779e11b89..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_upgrade_counter_delay.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_upgrade_counter_delay import CloudEndureUpgradeCounterDelay # noqa: E501 - - -class TestCloudEndureUpgradeCounterDelay(unittest.TestCase): - """CloudEndureUpgradeCounterDelay unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureUpgradeCounterDelay(self): - """Test CloudEndureUpgradeCounterDelay""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_upgrade_counter_delay.CloudEndureUpgradeCounterDelay() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_usage.py b/cloudendure/cloudendure_api/test/test_cloud_endure_usage.py deleted file mode 100644 index 124f38548..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_usage.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_usage import CloudEndureUsage # noqa: E501 - - -class TestCloudEndureUsage(unittest.TestCase): - """CloudEndureUsage unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureUsage(self): - """Test CloudEndureUsage""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_usage.CloudEndureUsage() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_usage_list.py b/cloudendure/cloudendure_api/test/test_cloud_endure_usage_list.py deleted file mode 100644 index 2fa1a57bb..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_usage_list.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_usage_list import CloudEndureUsageList # noqa: E501 - - -class TestCloudEndureUsageList(unittest.TestCase): - """CloudEndureUsageList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureUsageList(self): - """Test CloudEndureUsageList""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_usage_list.CloudEndureUsageList() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_user.py b/cloudendure/cloudendure_api/test/test_cloud_endure_user.py deleted file mode 100644 index 810b398ab..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_user.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_user import CloudEndureUser # noqa: E501 - - -class TestCloudEndureUser(unittest.TestCase): - """CloudEndureUser unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureUser(self): - """Test CloudEndureUser""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_user.CloudEndureUser() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_user_report.py b/cloudendure/cloudendure_api/test/test_cloud_endure_user_report.py deleted file mode 100644 index 8e82820e1..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_user_report.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_user_report import CloudEndureUserReport # noqa: E501 - - -class TestCloudEndureUserReport(unittest.TestCase): - """CloudEndureUserReport unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureUserReport(self): - """Test CloudEndureUserReport""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_user_report.CloudEndureUserReport() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_user_reports.py b/cloudendure/cloudendure_api/test/test_cloud_endure_user_reports.py deleted file mode 100644 index f6d9fb2a7..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_user_reports.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_user_reports import CloudEndureUserReports # noqa: E501 - - -class TestCloudEndureUserReports(unittest.TestCase): - """CloudEndureUserReports unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureUserReports(self): - """Test CloudEndureUserReports""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_user_reports.CloudEndureUserReports() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_users_and_roles.py b/cloudendure/cloudendure_api/test/test_cloud_endure_users_and_roles.py deleted file mode 100644 index b68534913..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_users_and_roles.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_users_and_roles import CloudEndureUsersAndRoles # noqa: E501 - - -class TestCloudEndureUsersAndRoles(unittest.TestCase): - """CloudEndureUsersAndRoles unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureUsersAndRoles(self): - """Test CloudEndureUsersAndRoles""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_users_and_roles.CloudEndureUsersAndRoles() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_users_list.py b/cloudendure/cloudendure_api/test/test_cloud_endure_users_list.py deleted file mode 100644 index 0decc2b9b..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_users_list.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_users_list import CloudEndureUsersList # noqa: E501 - - -class TestCloudEndureUsersList(unittest.TestCase): - """CloudEndureUsersList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureUsersList(self): - """Test CloudEndureUsersList""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_users_list.CloudEndureUsersList() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_cloud_endure_v_center_subnet.py b/cloudendure/cloudendure_api/test/test_cloud_endure_v_center_subnet.py deleted file mode 100644 index 9ab4eab92..000000000 --- a/cloudendure/cloudendure_api/test/test_cloud_endure_v_center_subnet.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from models.cloud_endure_v_center_subnet import CloudEndureVCenterSubnet # noqa: E501 - - -class TestCloudEndureVCenterSubnet(unittest.TestCase): - """CloudEndureVCenterSubnet unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCloudEndureVCenterSubnet(self): - """Test CloudEndureVCenterSubnet""" - # FIXME: construct object with mandatory attributes with example values - # model = cloudendure_api.models.cloud_endure_v_center_subnet.CloudEndureVCenterSubnet() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_default_api.py b/cloudendure/cloudendure_api/test/test_default_api.py deleted file mode 100644 index 763894dfc..000000000 --- a/cloudendure/cloudendure_api/test/test_default_api.py +++ /dev/null @@ -1,110 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from api.default_api import DefaultApi # noqa: E501 -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException - - -class TestDefaultApi(unittest.TestCase): - """DefaultApi unit test stubs""" - - def setUp(self): - self.api = api.default_api.DefaultApi() # noqa: E501 - - def tearDown(self): - pass - - def test_accounts_account_id_access_get(self): - """Test case for accounts_account_id_access_get - - get a temporary token by email # noqa: E501 - """ - pass - - def test_extended_account_info_get(self): - """Test case for extended_account_info_get - - Returns the extended current account information. # noqa: E501 - """ - pass - - def test_projects_assign_users_post(self): - """Test case for projects_assign_users_post - - todo # noqa: E501 - """ - pass - - def test_projects_project_id_audit_log_get(self): - """Test case for projects_project_id_audit_log_get - - Get audit log # noqa: E501 - """ - pass - - def test_projects_project_id_storage_get(self): - """Test case for projects_project_id_storage_get - - project's storage # noqa: E501 - """ - pass - - def test_projects_remove_users_post(self): - """Test case for projects_remove_users_post - - todo # noqa: E501 - """ - pass - - def test_replace_api_token_post(self): - """Test case for replace_api_token_post - - Replaces API token # noqa: E501 - """ - pass - - def test_set_password_post(self): - """Test case for set_password_post - - Set password for invited user # noqa: E501 - """ - pass - - def test_users_assign_roles_post(self): - """Test case for users_assign_roles_post - - Add roles to users # noqa: E501 - """ - pass - - def test_users_post(self): - """Test case for users_post - - Create a new User # noqa: E501 - """ - pass - - def test_users_revoke_roles_post(self): - """Test case for users_revoke_roles_post - - Add roles to users # noqa: E501 - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_licensing_api.py b/cloudendure/cloudendure_api/test/test_licensing_api.py deleted file mode 100644 index c85bd1b59..000000000 --- a/cloudendure/cloudendure_api/test/test_licensing_api.py +++ /dev/null @@ -1,47 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from api.licensing_api import LicensingApi # noqa: E501 -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException - - -class TestLicensingApi(unittest.TestCase): - """LicensingApi unit test stubs""" - - def setUp(self): - self.api = api.licensing_api.LicensingApi() # noqa: E501 - - def tearDown(self): - pass - - def test_licenses_get(self): - """Test case for licenses_get - - List Licenses # noqa: E501 - """ - pass - - def test_licenses_license_id_get(self): - """Test case for licenses_license_id_get - - Get License # noqa: E501 - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_machines_api.py b/cloudendure/cloudendure_api/test/test_machines_api.py deleted file mode 100644 index ffc4b77ae..000000000 --- a/cloudendure/cloudendure_api/test/test_machines_api.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from api.machines_api import MachinesApi # noqa: E501 -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException - - -class TestMachinesApi(unittest.TestCase): - """MachinesApi unit test stubs""" - - def setUp(self): - self.api = api.machines_api.MachinesApi() # noqa: E501 - - def tearDown(self): - pass - - def test_projects_project_id_machines_delete(self): - """Test case for projects_project_id_machines_delete - - Uninstall agent # noqa: E501 - """ - pass - - def test_projects_project_id_machines_get(self): - """Test case for projects_project_id_machines_get - - List Machines # noqa: E501 - """ - pass - - def test_projects_project_id_machines_machine_id_get(self): - """Test case for projects_project_id_machines_machine_id_get - - Get a specific machine. # noqa: E501 - """ - pass - - def test_projects_project_id_machines_machine_id_patch(self): - """Test case for projects_project_id_machines_machine_id_patch - - Update a machine. Accepts only Launch time updates. # noqa: E501 - """ - pass - - def test_projects_project_id_machines_patch(self): - """Test case for projects_project_id_machines_patch - - Batch-update multiple machines # noqa: E501 - """ - pass - - def test_projects_project_id_replicas_replica_id_get(self): - """Test case for projects_project_id_replicas_replica_id_get - - Get Target Machine # noqa: E501 - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_project_api.py b/cloudendure/cloudendure_api/test/test_project_api.py deleted file mode 100644 index c53838a82..000000000 --- a/cloudendure/cloudendure_api/test/test_project_api.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from api.project_api import ProjectApi # noqa: E501 -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException - - -class TestProjectApi(unittest.TestCase): - """ProjectApi unit test stubs""" - - def setUp(self): - self.api = api.project_api.ProjectApi() # noqa: E501 - - def tearDown(self): - pass - - def test_projects_get(self): - """Test case for projects_get - - List Projects # noqa: E501 - """ - pass - - def test_projects_post(self): - """Test case for projects_post - - Create Project # noqa: E501 - """ - pass - - def test_projects_project_id_delete(self): - """Test case for projects_project_id_delete - - Delete Project and all sub-resources including cloud assets other than launched target machines # noqa: E501 - """ - pass - - def test_projects_project_id_get(self): - """Test case for projects_project_id_get - - Get Project # noqa: E501 - """ - pass - - def test_projects_project_id_patch(self): - """Test case for projects_project_id_patch - - Update Project (including partial update) # noqa: E501 - """ - pass - - def test_projects_project_id_tags_get(self): - """Test case for projects_project_id_tags_get - - Gets all instance tags of all machines in the project. # noqa: E501 - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_recovery_plans_api.py b/cloudendure/cloudendure_api/test/test_recovery_plans_api.py deleted file mode 100644 index 91a51fab4..000000000 --- a/cloudendure/cloudendure_api/test/test_recovery_plans_api.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from api.recovery_plans_api import RecoveryPlansApi # noqa: E501 -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException - - -class TestRecoveryPlansApi(unittest.TestCase): - """RecoveryPlansApi unit test stubs""" - - def setUp(self): - self.api = api.recovery_plans_api.RecoveryPlansApi() # noqa: E501 - - def tearDown(self): - pass - - def test_projects_project_id_recovery_plans_get(self): - """Test case for projects_project_id_recovery_plans_get - - Gets all recovery plans for the project. # noqa: E501 - """ - pass - - def test_projects_project_id_recovery_plans_post(self): - """Test case for projects_project_id_recovery_plans_post - - Creates a new recovery plan. # noqa: E501 - """ - pass - - def test_projects_project_id_recovery_plans_recovery_plan_id_delete(self): - """Test case for projects_project_id_recovery_plans_recovery_plan_id_delete - - Deletes a recovery plan. # noqa: E501 - """ - pass - - def test_projects_project_id_recovery_plans_recovery_plan_id_get(self): - """Test case for projects_project_id_recovery_plans_recovery_plan_id_get - - Gets a recovery plan. # noqa: E501 - """ - pass - - def test_projects_project_id_recovery_plans_recovery_plan_id_patch(self): - """Test case for projects_project_id_recovery_plans_recovery_plan_id_patch - - Updates a new recovery plan. # noqa: E501 - """ - pass - - def test_projects_project_id_run_recovery_plan_post(self): - """Test case for projects_project_id_run_recovery_plan_post - - Launch a recovery plan. # noqa: E501 - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_replication_api.py b/cloudendure/cloudendure_api/test/test_replication_api.py deleted file mode 100644 index 575f9dc01..000000000 --- a/cloudendure/cloudendure_api/test/test_replication_api.py +++ /dev/null @@ -1,82 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from api.replication_api import ReplicationApi # noqa: E501 -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException - - -class TestReplicationApi(unittest.TestCase): - """ReplicationApi unit test stubs""" - - def setUp(self): - self.api = api.replication_api.ReplicationApi() # noqa: E501 - - def tearDown(self): - pass - - def test_projects_project_id_machines_machine_id_bandwidth_throttling_get(self): - """Test case for projects_project_id_machines_machine_id_bandwidth_throttling_get - - Get value of network bandwidth throttling setting for Machine # noqa: E501 - """ - pass - - def test_projects_project_id_machines_machine_id_bandwidth_throttling_patch(self): - """Test case for projects_project_id_machines_machine_id_bandwidth_throttling_patch - - Set value of network bandwidth throttling setting for Machine # noqa: E501 - """ - pass - - def test_projects_project_id_machines_machine_id_delete(self): - """Test case for projects_project_id_machines_machine_id_delete - - Uninstall agent # noqa: E501 - """ - pass - - def test_projects_project_id_machines_machine_id_pointsintime_get(self): - """Test case for projects_project_id_machines_machine_id_pointsintime_get - - List Available Points-in-time # noqa: E501 - """ - pass - - def test_projects_project_id_replication_configurations_get(self): - """Test case for projects_project_id_replication_configurations_get - - List Replication Configurations # noqa: E501 - """ - pass - - def test_projects_project_id_replication_configurations_post(self): - """Test case for projects_project_id_replication_configurations_post - - Create Replication Configuration # noqa: E501 - """ - pass - - def test_projects_project_id_replication_configurations_replication_configuration_id_patch(self): - """Test case for projects_project_id_replication_configurations_replication_configuration_id_patch - - Modify Replication Configuration # noqa: E501 - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/cloudendure_api/test/test_user_api.py b/cloudendure/cloudendure_api/test/test_user_api.py deleted file mode 100644 index 3b92ef433..000000000 --- a/cloudendure/cloudendure_api/test/test_user_api.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - CloudEndure API documentation - - © 2017 CloudEndure All rights reserved # General Request authentication in CloudEndure's API is done using session cookies. A session cookie is returned upon successful execution of the \"login\" method. This value must then be provided within the request headers of all subsequent API requests. ## Errors Some errors are not specifically written in every method since they may always return. Those are: 1) 401 (Unauthorized) - for unauthenticated requests. 2) 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 3) 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 4) 422 (Unprocessable Entity) - for invalid input. ## Formats All strings with date-time format are according to RFC3339. All strings with \"duration\" format are according to ISO8601. For example, a full day duration can be specified with \"PNNNND\". # noqa: E501 - - OpenAPI spec version: 5 - Contact: https://bit.ly/2T54hSc - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -from api.user_api import UserApi # noqa: E501 -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException - - -class TestUserApi(unittest.TestCase): - """UserApi unit test stubs""" - - def setUp(self): - self.api = api.user_api.UserApi() # noqa: E501 - - def tearDown(self): - pass - - def test_change_password_post(self): - """Test case for change_password_post - - Change Password # noqa: E501 - """ - pass - - def test_me_get(self): - """Test case for me_get - - Me # noqa: E501 - """ - pass - - def test_users_user_id_delete(self): - """Test case for users_user_id_delete - - Delete a User # noqa: E501 - """ - pass - - def test_users_user_id_patch(self): - """Test case for users_user_id_patch - - Modify user settings # noqa: E501 - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/cloudendure/config.py b/cloudendure/config.py deleted file mode 100644 index 1a7745c7b..000000000 --- a/cloudendure/config.py +++ /dev/null @@ -1,105 +0,0 @@ -# -*- coding: utf-8 -*- -"""Define the CloudEndure Config related logic.""" -import logging -import os -from pathlib import Path - -import yaml - -logger = logging.getLogger(__name__) -LOG_LEVEL = os.environ.get('CLOUDENDURE_LOG_LEVEL', 'INFO') -logger.setLevel(getattr(logging, LOG_LEVEL)) - - -class CloudEndureConfig: - """Define the CloudEndure Config object.""" - - def __init__(self, *args, **kwargs): - """Initialize the Environment.""" - logger.info('Initializing the CloudEndure Configuration') - _config_path = os.environ.get('CLOUDENDURE_CONFIG_PATH', '~/.cloudendure.yaml') - if _config_path.startswith('~'): - self.config_path = os.path.expanduser(_config_path) - - _config = Path(self.config_path) - if not _config.exists(): - print('No CloudEndure YAML configuration found! Creating it at: (%s)', self.config_path) - self.write_yaml_config( - config={ - 'host': 'https://console.cloudendure.com', - 'api_version': 'latest', - 'auth_ttl': '3600', - 'username': '', - 'password': '', - 'token': '', - 'session_cookie': '', - } - ) - self.update_config() - - def __str__(self): - """Define the string representation of the CloudEndure API object.""" - return '' - - def read_yaml_config(self): - """Read the CloudEndure YAML configuration file.""" - logger.info('Loading the CloudEndure YAML configuration file') - with open(self.config_path, 'r') as yaml_stream: - try: - config = yaml.safe_load(yaml_stream) - except yaml.YAMLError as e: - logger.error('YAMLError during read_yaml_config: %s', str(e)) - config = {} - print(e) - return config - - def write_yaml_config(self, config): - """Write to the CloudEndure YAML configuration file.""" - logger.info('Writing to the CloudEndure YAML configuration file') - with open(self.config_path, 'w') as yaml_file: - try: - yaml.dump(config, yaml_file, default_flow_style=False) - logger.info('CloudEndure YAML configuration saved!') - return True - except Exception as e: - logger.error('Exception encountered while writing the CloudEndure YAML configuration file - (%s)', e) - return False - - def update_yaml_config(self, kwargs): - logger.info("Writing updated configuration file") - _config = self.read_yaml_config() - _config.update(kwargs) - self.write_yaml_config(_config) - self.update_config() - - def get_env_vars(self, prefix='cloudendure'): - """Get all environment variables starting with CLOUDENDURE_.""" - prefix = prefix.strip('_') - logger.info("Loading all environment variables starting with (%s)", prefix) - env_vars = { - x[0].lower().lstrip(prefix.lower()).strip('_'): x[1] - for x in os.environ.items() if x[0].lower().startswith(prefix.lower()) - } - print(env_vars) - return env_vars - - def update_config(self): - self.yaml_config_contents = self.read_yaml_config() - self.env_config = self.get_env_vars() - self.active_config = {**self.yaml_config_contents, **self.env_config} - - def update_token(self, token): - self.update_yaml_config({'token': token}) - - def get_var(self, var): - """Get the specified environment or config variable.""" - logger.info('Looking up variable: (%s)', var) - env_var = os.environ.get(var.upper(), '') - - if env_var: - logger.info('Found Environment Variable - (%s): (%s)', var, env_var) - else: - env_var = self.yaml_config_contents.get(var.lower(), '') - - logger.info('Return variable value: (%s)', env_var) - return env_var diff --git a/cloudendure/exceptions.py b/cloudendure/exceptions.py deleted file mode 100644 index 9b521cb05..000000000 --- a/cloudendure/exceptions.py +++ /dev/null @@ -1,48 +0,0 @@ -# -*- coding: utf-8 -*- -"""Define the CloudEndure exceptions.""" - - -class CloudEndureException(Exception): - """Define the structure of a CloudEndure exception.""" - - pass - - -class CloudEndureHTTPException(CloudEndureException): - """Define the CloudEndure exception for unauthorized content.""" - - pass - - -class CloudEndureUnauthorized(CloudEndureHTTPException): - """The CloudEndure HTTP exception (401) was encountered for the request due to an unauthenticated request.""" - - pass - - -class CloudEndureForbidden(CloudEndureHTTPException): - """The CloudEndure HTTP exception (403) was encountered because the current user is not allowed access.""" - - pass - - -class CloudEndureNotFound(CloudEndureHTTPException): - """The CloudEndure HTTP exception (404) was encountered for the request due to the object not being found.""" - - pass - - -class CloudEndureMethodNotAllowed(CloudEndureHTTPException): - """The CloudEndure HTTP exception (405) raised when using a method that is not supported. - - For example: (POST instead of GET). - - """ - - pass - - -class CloudEndureUnprocessableEntity(CloudEndureHTTPException): - """The CloudEndure HTTP exception (422) was encountered due to invalid input.""" - - pass diff --git a/cloudendure/models.py b/cloudendure/models.py deleted file mode 100644 index 8c31da3ed..000000000 --- a/cloudendure/models.py +++ /dev/null @@ -1,273 +0,0 @@ -# -*- coding: utf-8 -*- -"""Define the CloudEndure API wrapper related logic.""" -import logging -from datetime import datetime -from typing import Any, Dict - -from dateutil.tz import tzlocal - -logger = logging.getLogger(__name__) - - -class CloudEndureModel: - """Define the CloudEndure Model base object.""" - - def __init__(self): - """Initialize the CloudEndure Model.""" - self._valid_properties: Dict[str, Any] = {} - - @classmethod - def _is_builtin(cls, obj): - """Define the built-in property.""" - return isinstance(obj, (int, float, str, list, dict, bool)) - - def as_dict(self): - """Return a dict representation of the model.""" - result: Dict[Any, Any] = {} - for key in self._valid_properties: - val = getattr(self, key) - if isinstance(val, datetime): - val = val.isoformat() - # Parse custom classes - elif val and not CloudEndureModel._is_builtin(val): - val = val.as_dict() - # Parse lists of objects - elif isinstance(val, list): - # We only want to call as_dict in the case where the item - # isn't a builtin type. - for i in range(len(val)): - if CloudEndureModel._is_builtin(val[i]): - continue - val[i] = val[i].as_dict() - # If it's a boolean, add it regardless of the value - elif isinstance(val, bool): - result[key] = val - - # Add it if it's not None - if val: - result[key] = val - return result - - @classmethod - def parse(cls, json: Dict[str, Any]): - """Parse a JSON object into a model instance.""" - raise NotImplementedError - - -# class CloudEndureResource(CloudEndureModel): -# """Define the CloudEndure resource base object.""" - -# RESOURCE_TYPES = (('Blueprint', 'BP'), ('Projects', 'PS'), ) - -# def __init__(self, resource_type: str = ''): -# """Initialize the CloudEndure resource.""" -# self.type: str = resource_type - -# def to_dict(self) -> Dict[str, str]: -# """Get the dictionary representation of the object.""" -# return { -# 'resource_type': '', -# } - - -# class CloudEndureBlueprint(CloudEndureResource): -# """Define the CloudEndure Blueprint schema.""" - -# def __init__(self, project_id: str = '', blueprint_id: str = ''): -# """Initialize the CloudEndure Blueprint.""" -# self.project_id: str = project_id -# self.blueprint_id: str = blueprint_id - - -class Cloud(CloudEndureModel): - """Define the CloudEndure Cloud model schema.""" - - endpoint: str = 'clouds' - _valid_properties: Dict[str, Any] = { - # Standard Schema - 'id': '', - 'roles': [], - 'name': '', - # Instantiation Datetimes - 'fetched_datetime': datetime.now(tzlocal()), - } - - def __init__(self, **kwargs): - """Initialize a new campaign instance.""" - for key, default in Cloud._valid_properties.items(): - setattr(self, key, kwargs.get(key, default)) - - @classmethod - def parse(self, json: Dict[str, Any]): - """Parse the Cloud object.""" - cloud: Cloud = self() - return cloud - - -class Project(CloudEndureModel): - """Define the CloudEndure Project model schema.""" - - endpoint: str = 'projects' - _valid_properties: Dict[str, Any] = { - # Standard Schema - 'agentInstallationToken': '', - 'cloudCredentialsIDs': [], - 'features': { - 'allowArchiving': False, - 'allowByolOnDedicatedInstance': False, - 'allowRecoveryPlans': False, - 'awsExtendedHddTypes': False, - 'drTier2': False, - 'isDemo': False, - 'pit': False, - }, - 'id': '', - 'licensesIDs': [], - 'name': '', - 'replicationReversed': False, - 'targetCloudId': '', - 'type': '', - 'userIDs': [], - # Instantiation Datetimes - 'fetched_datetime': datetime.now(tzlocal()), - } - - def __init__(self, **kwargs): - """Initialize a new campaign instance.""" - for key, default in Project._valid_properties.items(): - setattr(self, key, kwargs.get(key, default)) - - @classmethod - def parse(self, json: Dict[str, Any]): - """Parse the Project object.""" - project: Project = self() - return project - - -class Machine(CloudEndureModel): - """Define the CloudEndure Machine model schema.""" - - parent: Project = Project() - endpoint: str = 'projects/{}/machines' - _valid_properties: Dict[str, Any] = { - # Standard Schema - 'sourceProperties': { - 'name': '', - 'installedApplications': { - 'items': [{ - 'applicationName': '' - }], - 'lastUpdatedDateTime': '' - }, - 'disks': [{ - 'isProtected': False, - 'name': '', - 'size': 0 - }], - 'machineCloudState': '', - 'publicIps': [], - 'memory': 0, - 'os': '', - 'cpu': [{ - 'cores': 0, - 'modelName': '' - }], - 'runningServices': { - 'items': [{ - 'serviceName': '' - }], - 'lastUpdatedDateTime': '' - }, - 'machineCloudId': '' - }, - 'replicationInfo': { - 'lastConsistencyDateTime': '', - 'nextConsistencyEstimatedDateTime': '', - 'rescannedStorageBytes': 0, - 'backloggedStorageBytes': 0, - 'initiationStates': { - 'items': [{ - 'steps': [{ - 'status': '', - 'message': '', - 'name': '' - }], - 'startDateTime': '' - }], - 'estimatedNextAttemptDateTime': '' - }, - 'replicatedStorageBytes': 0, - 'totalStorageBytes': 0 - }, - 'license': { - 'startOfUseDateTime': '', - 'licenseId': 'string' - }, - 'tags': [], - 'restoreServers': [], - 'fromPointInTime': { - 'id': '', - 'dateTime': '' - }, - 'replicationStatus': '', - 'replica': '', - 'id': '', - 'replicationConfiguration': { - 'volumeEncryptionKey': '', - 'replicationTags': [], - 'subnetHostProject': '', - 'replicationServerType': '', - 'computeLocationId': '', - 'subnetId': '', - 'logicalLocationId': '', - 'bandwidthThrottling': 0, - 'storageLocationId': '', - 'useDedicatedServer': False, - 'zone': '', - 'replicatorSecurityGroupIDs': [], - 'usePrivateIp': False, - 'proxyUrl': '', - 'volumeEncryptionAllowed': False, - 'archivingEnabled': False, - 'objectStorageLocation': '' - }, - 'lifeCycle': { - 'lastTestLaunchDateTime': '', - 'connectionEstablishedDateTime': '', - 'agentInstallationDateTime': '', - 'lastCutoverDateTime': '', - 'lastRecoveryLaunchDateTime': '' - }, - 'isAgentInstalled': False, - # Instantiation Datetimes - 'fetched_datetime': datetime.now(tzlocal()), - } - - def __init__(self, **kwargs): - """Initialize a new machine instance.""" - for key, default in Project._valid_properties.items(): - setattr(self, key, kwargs.get(key, default)) - - @classmethod - def parse(self, json: Dict[str, Any]): - """Parse the Machine object. - - TODO: - * Add parsing for nested resources. - - """ - machine: Machine = self() - # # TODO (mbeacom): Add parsing for nested resources. - # for key, val in json.items(): - # if key == 'some_resource': - # resources = [Resource.parse(resource) for resource in val] - # setattr(machine, key, resources) - # elif key == 'another_resource': - # if val is not None: - # resources = [Resource2.parse(resource) for resource in val] - # setattr(machine, key, resources) - # elif key == 'another_resource_3': - # setattr(machine, key, Resource3.parse(val)) - # elif key in self._valid_properties: - # setattr(machine, key, val) - return machine diff --git a/cloudendure/tests/__init__.py b/cloudendure/tests/__init__.py deleted file mode 100644 index e69de29bb..000000000 diff --git a/cloudendure/tests/test_utils.py b/cloudendure/tests/test_utils.py deleted file mode 100644 index e69de29bb..000000000 diff --git a/cloudendure/utils.py b/cloudendure/utils.py deleted file mode 100644 index 3ca50d71f..000000000 --- a/cloudendure/utils.py +++ /dev/null @@ -1,32 +0,0 @@ -# -*- coding: utf-8 -*- -"""Define the CloudEndure utility logic. - -Attributes: - first_cap_re (): - all_cap_re (): - -""" -import re -import time -from datetime import datetime -from typing import Any, Dict - -first_cap_re = re.compile('(.)([A-Z][a-z]+)') -all_cap_re = re.compile('([a-z0-9])([A-Z])') - - -def get_time_now() -> Dict[str, Any]: - """Get the current time in UTC as milliseconds.""" - time_now = time.time() - data = { - 'seconds': time_now, - 'milliseconds': int(round(time_now * 1000)), - 'datetime': datetime.fromtimestamp(time_now), - } - return data - - -def to_snake_case(value: str) -> str: - """Convert the provided value from CamelCase to snake_case.""" - s1 = first_cap_re.sub(r'\1_\2', value) - return all_cap_re.sub(r'\1_\2', s1).lower() diff --git a/code/cloudendure/api/index.html b/code/cloudendure/api/index.html new file mode 100644 index 000000000..22ca90b5c --- /dev/null +++ b/code/cloudendure/api/index.html @@ -0,0 +1,1957 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + API - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + + +
+
+ + + + + +

cloudendure.api

+ +

Define the CloudEndure API wrapper related logic.

+

Attributes: + API_VERSION (str): The CloudEndure API version to be used. + AUTH_TTL (str): The authentication token expiration in seconds. Defaults to: 3600. + HOST (str): The CloudEndure API URI. Defaults to: https://console.cloudendure.com + logger (logging.Logger): The default logger for the module.

+

CloudEndureAPI

+ +
CloudEndureAPI(self, config: 'CloudEndureConfig', *args, **kwargs)
+
+ +

Define the CloudEndure API base.

+

Attributes: + api_endpoint (str): The CloudEndure API endpoint to be used for API calls. + credentials (dict): The mapping of CloudEndure credentials. + session (requests.Session): The requests Session to be used throughout the lifecycle + of this API interaction.

+

TOP_LEVEL

+ +

login

+ +
CloudEndureAPI.login(username: 'str' = '',
+                     password: 'str' = '',
+                     token: 'str' = '')
+
+ +

Login to the CloudEndure API console.

+

Args: + username (str): The CloudEndure username to be used. + Defaults to the environment specific default. + password (str): The CloudEndure password to be used. + Defaults to the environment specific default. + token (str): The CloudEndure token to be used. This argument takes precedence. + If provided, username and password will not be used. + Defaults to the environment specific default.

+

Attributes: + endpoint (str): The CloudEndure API endpoint to be used. + _username (str): The CloudEndure API username. + _password (str): The CloudEndure API password. + _token (str): The CloudEndure API token. + _auth (dict): The CloudEndure API username/password dictionary map. + response (requests.Response): The CloudEndure API login request response object. + _xsrf_token (str): The XSRF token to be used for subsequent API requests.

+

TODO: + * Verify default XSRF-Token TTL and check validity before performing + subsequent authentication requests.

+

get_endpoint

+ +
CloudEndureAPI.get_endpoint(
+    path: 'str',
+    api_version: 'str' = 'latest',
+    host: 'str' = 'https://console.cloudendure.com')
+
+ +

Build the endpoint path.

+

Args: + path (str): The path to be requested. + api_version (str): The API version to be used. + For example: v5 + Defaults to: latest + host (str): The API URL to be used. + Defaults to: https://console.cloudendure.com

+

Returns: + str: The CloudEndure API endpoint to be used.

+

api_call

+ +
CloudEndureAPI.api_call(path: 'str',
+                        method: 'str' = 'get',
+                        data: 'Dict[str, Any]' = None)
+
+ +

Handle CloudEndure API calls based on the defined parameters.

+

Args: + path (str): The path to be used to perform the call.

+

Keyword Args: + method (str): The API method call to be performed. i.e.: get, + data (dict): The data dictionary to be used to perform the request.

+

Returns: + requests.models.Response: The CloudEndure API response.

+

check_creds

+ +
CloudEndureAPI.check_creds(login: 'bool' = True)
+
+ +

Check the credential TTL. +

post_endpoint

+
CloudEndureAPI.post_endpoint(path: 'str' = '')
+
+ +

Create a POST request against the specified path. +

get_projects

+
CloudEndureAPI.get_projects(current_project: 'str' = '')
+
+ +

Get the CloudEndure projects associated with the authenticated account. +

docs

+
CloudEndureAPI.docs()
+
+ +

Open the CloudEndure API documentation page.

+ + + + + + + + + + +
+
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/code/cloudendure/cloudendure/index.html b/code/cloudendure/cloudendure/index.html new file mode 100644 index 000000000..e28c6d99e --- /dev/null +++ b/code/cloudendure/cloudendure/index.html @@ -0,0 +1,2080 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Main - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + + +
+
+ + + + + +

cloudendure.cloudendure

+ +

Define the CloudEndure main entry logic. +

CloudEndure

+
CloudEndure(self,
+            project_name: 'str' = '',
+            dry_run: 'bool' = False,
+            username: 'str' = '',
+            password: 'str' = '',
+            token: 'str' = '')
+
+ +

Define the CloudEndure general object. +

version

+

Display the CloudEndure module version.

+

Returns: + str: The CloudEndure Python module version.

+

get_project_id

+ +
CloudEndure.get_project_id(project_name: 'str' = '')
+
+ +

Get the associated CloudEndure project ID by project_name.

+

Args: + project_name (str): The name of the CloudEndure project.

+

Exceptions: + Exception: Currently catch all encountered exceptions while traversing + the project list API call.

+

Returns: + str: The CloudEndure project UUID.

+

get_cloud

+ +
CloudEndure.get_cloud(cloud_type: 'str' = '')
+
+ +

Get the ID for the specified cloud type. +

create_cloud_credentials

+
CloudEndure.create_cloud_credentials(access_key: 'str' = '',
+                                     secret_key: 'str' = '')
+
+ +

Create a new CloudEndure project.

+

Args: + project_name (str): The name of the CloudEndure project to be created.

+

Returns: + str: The newly created CloudEndure project ID.

+

create_repl_config

+ +
CloudEndure.create_repl_config(region: 'str' = '',
+                               cloud_cred_id: 'str' = '')
+
+ +

Create a CloudEndure project replication configuration.

+

Args: + project_name (str): The name of the CloudEndure project to get replication configurations for.

+

Returns: + list of dict: The CloudEndure replication configuration dictionary mapping.

+

get_repl_configs

+ +
CloudEndure.get_repl_configs()
+
+ +

Get a CloudEndure project's replication configurations.

+

Args: + project_name (str): The name of the CloudEndure project to get replication configurations for.

+

Returns: + list of dict: The CloudEndure replication configuration dictionary mapping.

+

create_project

+ +
CloudEndure.create_project(project_name: 'str')
+
+ +

Create a new CloudEndure project.

+

Args: + project_name (str): The name of the CloudEndure project to be created.

+

Returns: + str: The newly created CloudEndure project ID.

+

update_project

+ +
CloudEndure.update_project(project_data: 'Dict[str, Any]' = None)
+
+ +

Update a CloudEndure project.

+

Args: + project_name (str): The name of the CloudEndure project to be updated. + project_data (dict): The project payload to be used to update the project. + Defaults to the current project state.

+

Returns: + bool: Whether or not the project has been updated.

+

check

+ +
CloudEndure.check()
+
+ +

Check the status of machines in the provided project. +

update_encryption_key

+
CloudEndure.update_encryption_key(kms_id: 'str')
+
+ +

Update encryption keys for replication.

+

Warning: This will cause re-sync if key does not match!

+

Args: + kms_id (str): The AWS KMD ID to update the project to use. + project_name (str): The name of the CloudEndure project to be updated. + dry_run (bool): Whether or not this execution should be a dry run, + making no actual changes to CloudEndure for validation purposes.

+

Returns: + bool: Whether or not the encryption key was updated.

+

check_licenses

+ +
CloudEndure.check_licenses()
+
+ +

Check licenses for all available instances in a given project. +

get_machine_sync_details

+
CloudEndure.get_machine_sync_details()
+
+ +

Checks CloudEndure Project inventory and returns register machine replication state.

+

update_blueprint

+ +
CloudEndure.update_blueprint()
+
+ +

Update the blueprint associated with the specified machines. +

launch

+
CloudEndure.launch()
+
+ +

Launch the test target instances. +

status

+
CloudEndure.status()
+
+ +

Get the status of machines in the current wave. +

execute

+
CloudEndure.execute()
+
+ +

Start the migration project my checking and launching the migration wave. +

replication

+
CloudEndure.replication(action: 'str', machine_ids: 'str' = '')
+
+ +

Handle replication actions. +

share_image

+
CloudEndure.share_image(image_id: 'str',
+                        image_name: 'str' = 'CloudEndureImage')
+
+ +

Share the generated AMIs to the provided destination account. +

create_ami

+
CloudEndure.create_ami()
+
+ +

Create an AMI from the specified instances.

+

Args: + project_name (str): The name of the CloudEndure project.

+

Returns: + bool: Whether or not the AMI creation was successful.

+

copy_image

+ +
CloudEndure.copy_image(image_id: 'str')
+
+ +

Copy a shared image to an account.

+

Args: + image_id (str): The AWS AMI to be copied.

+

Returns: + str: The copied AWS AMI ID.

+

split_image

+ +
CloudEndure.split_image(image_id: 'str')
+
+ +

Split the image into a root drive only AMI and a collection of snapshots.

+

Args: + image_id (str): The AWS AMI to be copied.

+

Returns: + dict: The mapping of AWS EBS block devices.

+

gen_terraform

+ +
CloudEndure.gen_terraform(image_id: 'str',
+                          name: 'str' = 'INSTANCENAME',
+                          subnet_id: 'str' = 'SUBNET_ID',
+                          private_ip: 'str' = 'PRIVATE_IP',
+                          keypair: 'str' = 'KEYPAIR',
+                          security_group: 'str' = 'SECURITY_GROUP',
+                          tagging_module: 'str' = 'tagging_module')
+
+ +

Generate Terraform for a given split image.

+

Args: + image_id (str): The split AMI ID to be referenced. + name (str): The name of the instance to be generated. + subnet_id (str): The AWS VPC Subnet ID to be referenced. + private_id (str): The internal IP address to associate with the AWS ENI. + keypair (str): The AWS EC2 keypair name to be referenced. + security_group (str): The AWS security group ID to be referenced.

+

Returns: + str: The raw Terraform with volume, ENI, and EC2 instance templates.

+

terminate

+ +
CloudEndure.terminate()
+
+ +

Terminate the launched machine(s).

+

Returns: + bool: Whether cleanup was successful.

+

delete_image

+ +
CloudEndure.delete_image(image_id: 'str')
+
+ +

Remove the AMI and snapshots.

+

Args: + image_id (str): The AWS AMI to be deleted.

+

Returns: + bool: Whether the AMI deletion was requested successfully.

+

main

+ +
main()
+
+ +

Define the main entry method for the CLI.

+ + + + + + + + + + +
+
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/code/cloudendure/config/index.html b/code/cloudendure/config/index.html new file mode 100644 index 000000000..61209592b --- /dev/null +++ b/code/cloudendure/config/index.html @@ -0,0 +1,1915 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Config - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + + +
+
+ + + + + +

cloudendure.config

+ +

Define the CloudEndure Config related logic. +

CloudEndureConfig

+
CloudEndureConfig(self,
+                  username: 'str' = '',
+                  password: 'str' = '',
+                  token: 'str' = '',
+                  *args,
+                  **kwargs)
+
+ +

Define the CloudEndure Config object. +

BASE_CONFIG

+

merge_config_dicts

+ +
CloudEndureConfig.merge_config_dicts(values: 'List[Any]')
+
+ +

Merge a list of configuration dictionaries. +

read_yaml_config

+
CloudEndureConfig.read_yaml_config()
+
+ +

Read the CloudEndure YAML configuration file. +

write_yaml_config

+
CloudEndureConfig.write_yaml_config(config: 'Dict[str, Any]')
+
+ +

Write to the CloudEndure YAML configuration file. +

update_yaml_config

+
CloudEndureConfig.update_yaml_config(kwargs: 'Dict[str, Any]')
+
+ +

Update the YAML configuration file. +

get_env_vars

+
CloudEndureConfig.get_env_vars(prefix: 'str' = 'cloudendure')
+
+ +

Get all environment variables starting with CLOUDENDURE_. +

update_config

+
CloudEndureConfig.update_config()
+
+ +

Update the configuration. +

update_token

+
CloudEndureConfig.update_token(token: 'str')
+
+ +

Update the CloudEndure token.

+

Returns: + bool: Whether or not the operation was successful.

+

get_var

+ +
CloudEndureConfig.get_var(var: 'str')
+
+ +

Get the specified environment or config variable.

+

Returns: + str: The variable to be used for the provided configuration env var.

+ + + + + + + + + + +
+
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/code/cloudendure/constants/index.html b/code/cloudendure/constants/index.html new file mode 100644 index 000000000..3a42e9ef2 --- /dev/null +++ b/code/cloudendure/constants/index.html @@ -0,0 +1,1865 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Constants - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + + +
+
+ + + + + +

cloudendure.constants

+ +

Define the CloudEndure reusable variables. +

get_aws_regions

+
get_aws_regions()
+
+ +

Return a hardcoded dictionary of AWS regions.

+

Returns: + dict: A mapping of AWS regions.

+ + + + + + + + + + +
+
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/code/cloudendure/events/index.html b/code/cloudendure/events/index.html new file mode 100644 index 000000000..e7d5c1de7 --- /dev/null +++ b/code/cloudendure/events/index.html @@ -0,0 +1,1898 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Events - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + + +
+
+ + + + + +

cloudendure.events

+ +

Define the CloudEndure events. +

EventHandler

+
EventHandler(self, events: 'List[Any]' = None)
+
+ +

Define the handling of CloudEndure Event objects. +

add_event

+
EventHandler.add_event(event_type: 'Tuple[str, str]', machine_name,
+                       **kwargs)
+
+ +

Add an event. +

Event

+
Event(self, event_type, machine_name: 'str' = 'NA', **kwargs)
+
+ +

Define the structure of a CloudEndure Event.

+

Usage: + from cloudendure.event import Event + some_event = Event(Event.EVENT_EXPIRED, somevar="some")

+

ERRORRED_EVENT_TYPES

+ +

EVENT_ALREADY_LAUNCHED

+ +

EVENT_EXPIRED

+ +

EVENT_FAILED

+ +

EVENT_IGNORED

+ +

EVENT_IN_PROGRESS

+ +

EVENT_STRUCTURE

+ +

EVENT_SUCCESSFULLY_LAUNCHED

+ +

EVENT_TYPES

+ +

SUCCESSFUL_EVENT_TYPES

+ +

WARNED_EVENT_TYPES

+ + + + + + + + + + +
+
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/code/cloudendure/exceptions/index.html b/code/cloudendure/exceptions/index.html new file mode 100644 index 000000000..72bbf0f16 --- /dev/null +++ b/code/cloudendure/exceptions/index.html @@ -0,0 +1,1905 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Exceptions - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + + +
+
+ + + + + +

cloudendure.exceptions

+ +

Define the CloudEndure exceptions. +

CloudEndureException

+
CloudEndureException()
+
+ +

Define the structure of a CloudEndure exception. +

CloudEndureHTTPException

+
CloudEndureHTTPException()
+
+ +

Define the CloudEndure exception for unauthorized content. +

CloudEndureUnauthorized

+
CloudEndureUnauthorized()
+
+ +

The CloudEndure HTTP exception (401) was encountered for the request due to an unauthenticated request. +

CloudEndureForbidden

+
CloudEndureForbidden()
+
+ +

The CloudEndure HTTP exception (403) was encountered because the current user is not allowed access. +

CloudEndureNotFound

+
CloudEndureNotFound()
+
+ +

The CloudEndure HTTP exception (404) was encountered for the request due to the object not being found. +

CloudEndureMethodNotAllowed

+
CloudEndureMethodNotAllowed()
+
+ +

The CloudEndure HTTP exception (405) raised when using a method that is not supported.

+

For example: (POST instead of GET).

+

CloudEndureUnprocessableEntity

+ +
CloudEndureUnprocessableEntity()
+
+ +

The CloudEndure HTTP exception (422) was encountered due to invalid input. +

CloudEndureInvalidEvent

+
CloudEndureInvalidEvent()
+
+ +

The CloudEndure exception for invalid Event types. +

CloudEndureMisconfigured

+
CloudEndureMisconfigured()
+
+ +

The CloudEndure exception indicating the CLI/Module hasn't been configured properly.

+ + + + + + + + + + +
+
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/code/cloudendure/models/index.html b/code/cloudendure/models/index.html new file mode 100644 index 000000000..b02edbdd5 --- /dev/null +++ b/code/cloudendure/models/index.html @@ -0,0 +1,1913 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Models - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + + +
+
+ + + + + +

cloudendure.models

+ +

Define the CloudEndure API wrapper related logic. +

CloudEndureModel

+
CloudEndureModel(self)
+
+ +

Define the CloudEndure Model base object. +

as_dict

+
CloudEndureModel.as_dict()
+
+ +

Return a dict representation of the model. +

parse

+
CloudEndureModel.parse(json: 'Dict[str, Any]')
+
+ +

Parse a JSON object into a model instance. +

Cloud

+
Cloud(self, **kwargs)
+
+ +

Define the CloudEndure Cloud model schema. +

endpoint

+

parse

+ +
Cloud.parse(json: 'Dict[str, Any]')
+
+ +

Parse the Cloud object. +

Project

+
Project(self, **kwargs)
+
+ +

Define the CloudEndure Project model schema. +

endpoint

+

parse

+ +
Project.parse(json: 'Dict[str, Any]')
+
+ +

Parse the Project object. +

Machine

+
Machine(self, **kwargs)
+
+ +

Define the CloudEndure Machine model schema. +

endpoint

+

parent

+ +

parse

+ +
Machine.parse(json: 'Dict[str, Any]')
+
+ +

Parse the Machine object.

+

TODO: + * Add parsing for nested resources.

+ + + + + + + + + + +
+
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/code/cloudendure/templates/index.html b/code/cloudendure/templates/index.html new file mode 100644 index 000000000..2a413a960 --- /dev/null +++ b/code/cloudendure/templates/index.html @@ -0,0 +1,1902 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Templates - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + + +
+
+ + + + + +

cloudendure.templates

+ +

Define the CloudEndure template logic. +

CookiecutterHandler

+
CookiecutterHandler()
+
+ +

Handle cookiecutter operations. +

run

+
CookiecutterHandler.run(
+    migration_data: 'Dict[str, Any]',
+    cookiecutter_path:
+    'str' = 'https://github.com/2ndWatch/cookiecutter-tf-cloudendure')
+
+ +

Run the automation of cookiecutter. +

create_project

+
CookiecutterHandler.create_project(package_path: 'str',
+                                   context: 'Dict[Any, Any]' = None,
+                                   no_input: 'bool' = True)
+
+ +

Create a cookiecutter project with the provided details.

+

Args: + package_path (str): The path to the cookiecutter template. + context (dict): The seed context to be used to populate cookiecutter values. + Defaults to an empty dictionary. + no_input (bool): Whether or not the interaction is no input. + Requires True in order to function for bulk creation. + Defaults to: True.

+

Returns: + bool: Whether or not project creation was successful.

+

TerraformTemplate

+ +
TerraformTemplate()
+
+ +

Define Terraform template entries.

+

Attributes: + INSTANCE_TEMPLATE (str): The Terraform EC2 instance template. + NETWORKTEMPLATE (str): The Terraform network interface template. + VOLUME_TEMPLATE (str): The Terraform volume and volume attachment template.

+

INSTANCE_TEMPLATE

+ +

NETWORK_TEMPLATE

+ +

VOLUME_TEMPLATE

+ + + + + + + + + + +
+
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/code/cloudendure/utils/index.html b/code/cloudendure/utils/index.html new file mode 100644 index 000000000..b216acf2f --- /dev/null +++ b/code/cloudendure/utils/index.html @@ -0,0 +1,1892 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Utilities - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + + +
+
+ + + + + +

cloudendure.utils

+ +

Define the CloudEndure utility logic.

+

Attributes: + first_cap_re (re.Pattern): The regex pattern to determine the first capital + letter in a string. + all_cap_re (re.Pattern): The regex pattern to determine all capital letters + in a string.

+

get_user_agent

+ +
get_user_agent(user_agent: 'str' = 'cloudendure-python')
+
+ +

Get the current module version.

+

Args: + user_agent (str): The user agent client designation. + Defaults to: cloudendure-python

+

Returns: + str: The user agent string representation for the client.

+

get_time_now

+ +
get_time_now()
+
+ +

Get the current time in UTC as milliseconds.

+

Returns: + dict: The mapping of time now values in UTC.

+

to_snake_case

+ +
to_snake_case(value: 'str')
+
+ +

Convert the provided value from CamelCase to snake_case.

+

Args: + value (str): The string value to convert from CamelCase to snake_case.

+

Returns: + str: The formatted snake_case string.

+ + + + + + + + + + +
+
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/code/lambda/copy_ami/index.html b/code/lambda/copy_ami/index.html new file mode 100644 index 000000000..08250d898 --- /dev/null +++ b/code/lambda/copy_ami/index.html @@ -0,0 +1,1868 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Copy AMI Utils - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + + +
+
+ + + + + +

lambda.copy_ami

+ +

Define the CloudEndure lambda function.

+

Attributes: + LOG_LEVEL (str): + REGION_OVERRIDE (str): If provided, this value will override the default AWS region. + logger (logging.Logger):

+

get_ec2

+ +
get_ec2(credentials: 'Dict[str, str]', region: 'str' = '')
+
+ +

Get an active EC2 boto3 client.

+ + + + + + + + + + +
+
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/code/lambda/exceptions/index.html b/code/lambda/exceptions/index.html new file mode 100644 index 000000000..e157c8d91 --- /dev/null +++ b/code/lambda/exceptions/index.html @@ -0,0 +1,1873 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Exceptions - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + + +
+
+ + + + + +

lambda.exceptions

+ +

Define the Lambda specific exceptions. +

LambdaException

+
LambdaException()
+
+ +

Define the generic AWS Lambda exception. +

InvalidPayload

+
InvalidPayload()
+
+ +

Define the exception to be raised when an invalid payload is encountered. +

ImproperlyConfigured

+
ImproperlyConfigured()
+
+ +

Define the exception to be raised if the environment is improperly configured or missing.

+ + + + + + + + + + +
+
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/code/lambda/handler/index.html b/code/lambda/handler/index.html new file mode 100644 index 000000000..11a395d7c --- /dev/null +++ b/code/lambda/handler/index.html @@ -0,0 +1,1903 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Handler - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + + +
+
+ + + + + +

lambda.handler

+ +

Define the CloudEndure lambda function.

+

Attributes: + LOG_LEVEL (str): + REGION_OVERRIDE (str): If provided, this value will override the default AWS region. + logger (logging.Logger): The logger to be used throughout execution of the AWS Lambda.

+

send_sqs_message

+ +
send_sqs_message(image_info: 'Dict[str, Any]')
+
+ +

Send a SQS message.

+

The message includes the AMI information that was created from the migrated +instance that passed testing post migration in CloudEndure.

+

Raises: + ClientError: The exception is raised in the event of a boto3 client error. + ImproperlyConfigured: The exception is raised in the event of missing or invalid + environment configuration settings.

+

Returns: + bool: Whether or not the message has been sent successfully.

+

create_ami

+ +
create_ami(project_id: 'str', instance_id: 'str')
+
+ +

Create an AMI from the specified instance.

+

Args: + project_id (str): The ID associated with the Project. + instance_id (str): The ID associated with the AWS instance.

+

Raises: + ClientError: The exception is raised in the event of a boto3 client error.

+

Returns: + bool: Whether or not the AMI has been created successfully.

+

lambda_handler

+ +
lambda_handler(event: 'Dict[str, Any]', context: 'Dict[str, Any]')
+
+ +

Define the AWS Lambda entry point and handler.

+

Args: + event (str): The event performed against Lambda. + context (dict): The context of the request performed against Lambda.

+

Raises: + ClientError: The exception is raised in the event of a boto3 client error. + InvalidPayload: The exception is raised in the event of an invalid payload.

+

Returns: + bool: Whether or not the lambda function has executed successfully.

+ + + + + + + + + + +
+
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml deleted file mode 100644 index 2c4a13c62..000000000 --- a/docker-compose.yml +++ /dev/null @@ -1,13 +0,0 @@ -version: "3.7" # https://docs.docker.com/compose/compose-file/compose-versioning/ -services: - app: - build: . - image: mbeacom/cloudendure-py:latest - volumes: - - .:/app - deploy: - replicas: 1 - update_config: - delay: 10s - restart_policy: - condition: on-failure diff --git a/docs/API_README.md b/docs/API_README.md deleted file mode 100644 index 665f39eb4..000000000 --- a/docs/API_README.md +++ /dev/null @@ -1,230 +0,0 @@ -# cloudendure_api - -This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project: - -- API version: `5` -- Package version: `0.1.0` -- Build package: `io.swagger.codegen.v3.generators.python.PythonClientCodegen` - -## Requirements - -[Python 3.6+](https://www.python.org/downloads/) - -## Installation & Usage - -### pip install - -If the python package is hosted on Github, you can install directly from Github - -```sh -pipenv install cloudendure -``` - -Then import the package: - -```python -from cloudendure import cloudendure_api -``` - -### Setuptools - -Install via [Pipenv](https://docs.pipenv.org/en/latest/). - -```sh -python setup.py install --user -``` - -(or `sudo python setup.py install` to install the package for all users) - -Then import the package: - -```python -from cloudendure import cloudendure_api -``` - -## Getting Started - -Please follow the [installation procedure](#installation--usage) and then run the following: - -```python -import time - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException - -# create an instance of the API class -api_instance = cloudendure_api.AccountApi(cloudendure_api.ApiClient(configuration)) -account_id = 'account_id_example' # str | - -try: - # Get Account information - api_response = api_instance.accounts_account_id_get(account_id) - print(api_response) -except ApiException as e: - print('Exception when calling AccountApi->accounts_account_id_get: %s\n '% e) - -``` - -## Documentation for API Endpoints - -All URIs are relative to *https://console.cloudendure.com/api/latest* - -Class | Method | HTTP request | Description ------------- | ------------- | ------------- | ------------- -*AccountApi* | [**accounts_account_id_get**](AccountApi.md#accounts_account_id_get) | **GET** /accounts/{accountId} | Get Account information -*ActionsApi* | [**projects_project_id_find_files_post**](ActionsApi.md#projects_project_id_find_files_post) | **POST** /projects/{projectId}/findFiles | Search for files in a backup project -*ActionsApi* | [**projects_project_id_jobs_get**](ActionsApi.md#projects_project_id_jobs_get) | **GET** /projects/{projectId}/jobs | List Jobs -*ActionsApi* | [**projects_project_id_jobs_job_id_get**](ActionsApi.md#projects_project_id_jobs_job_id_get) | **GET** /projects/{projectId}/jobs/{jobId} | Get Job -*ActionsApi* | [**projects_project_id_launch_machines_post**](ActionsApi.md#projects_project_id_launch_machines_post) | **POST** /projects/{projectId}/launchMachines | Launch target machines -*ActionsApi* | [**projects_project_id_launch_restore_servers_post**](ActionsApi.md#projects_project_id_launch_restore_servers_post) | **POST** /projects/{projectId}/launchRestoreServers | Launch restore servers @todo -*ActionsApi* | [**projects_project_id_move_machines_post**](ActionsApi.md#projects_project_id_move_machines_post) | **POST** /projects/{projectId}/moveMachines | Moves machines to another project -*ActionsApi* | [**projects_project_id_pause_replication_post**](ActionsApi.md#projects_project_id_pause_replication_post) | **POST** /projects/{projectId}/pauseReplication | Pause replication -*ActionsApi* | [**projects_project_id_replicas_delete**](ActionsApi.md#projects_project_id_replicas_delete) | **DELETE** /projects/{projectId}/replicas | Perform Cleanup -*ActionsApi* | [**projects_project_id_restore_files_post**](ActionsApi.md#projects_project_id_restore_files_post) | **POST** /projects/{projectId}/restoreFiles | Restore selected files in a backup project -*ActionsApi* | [**projects_project_id_reverse_replication_post**](ActionsApi.md#projects_project_id_reverse_replication_post) | **POST** /projects/{projectId}/reverseReplication | Reverse replication direction -*ActionsApi* | [**projects_project_id_start_replication_post**](ActionsApi.md#projects_project_id_start_replication_post) | **POST** /projects/{projectId}/startReplication | Start replication -*ActionsApi* | [**projects_project_id_stop_replication_post**](ActionsApi.md#projects_project_id_stop_replication_post) | **POST** /projects/{projectId}/stopReplication | Stop replication -*AuthenticationApi* | [**login_post**](AuthenticationApi.md#login_post) | **POST** /login | Login -*AuthenticationApi* | [**logout_post**](AuthenticationApi.md#logout_post) | **POST** /logout | Logout -*BlueprintApi* | [**projects_project_id_blueprints_blueprint_id_get**](BlueprintApi.md#projects_project_id_blueprints_blueprint_id_get) | **GET** /projects/{projectId}/blueprints/{blueprintId} | Get Blueprint -*BlueprintApi* | [**projects_project_id_blueprints_blueprint_id_patch**](BlueprintApi.md#projects_project_id_blueprints_blueprint_id_patch) | **PATCH** /projects/{projectId}/blueprints/{blueprintId} | Configure Blueprint -*BlueprintApi* | [**projects_project_id_blueprints_get**](BlueprintApi.md#projects_project_id_blueprints_get) | **GET** /projects/{projectId}/blueprints | List Blueprints -*BlueprintApi* | [**projects_project_id_blueprints_post**](BlueprintApi.md#projects_project_id_blueprints_post) | **POST** /projects/{projectId}/blueprints | Create Blueprint -*CloudApi* | [**cloud_credentials_creds_id_regions_get**](CloudApi.md#cloud_credentials_creds_id_regions_get) | **GET** /cloudCredentials/{credsId}/regions | List Regions -*CloudApi* | [**cloud_credentials_creds_id_regions_region_id_delete**](CloudApi.md#cloud_credentials_creds_id_regions_region_id_delete) | **DELETE** /cloudCredentials/{credsId}/regions/{regionId} | Delete region (VCenter) -*CloudApi* | [**cloud_credentials_creds_id_regions_region_id_get**](CloudApi.md#cloud_credentials_creds_id_regions_region_id_get) | **GET** /cloudCredentials/{credsId}/regions/{regionId} | Get Region -*CloudApi* | [**cloud_credentials_creds_id_regions_region_id_patch**](CloudApi.md#cloud_credentials_creds_id_regions_region_id_patch) | **PATCH** /cloudCredentials/{credsId}/regions/{regionId} | Patch region (rename) -*CloudApi* | [**clouds_get**](CloudApi.md#clouds_get) | **GET** /clouds | List Clouds -*CloudCredentialsApi* | [**cloud_credentials_creds_id_get**](CloudCredentialsApi.md#cloud_credentials_creds_id_get) | **GET** /cloudCredentials/{credsId} | Get Credentials -*CloudCredentialsApi* | [**cloud_credentials_creds_id_patch**](CloudCredentialsApi.md#cloud_credentials_creds_id_patch) | **PATCH** /cloudCredentials/{credsId} | Change Credentials -*CloudCredentialsApi* | [**cloud_credentials_get**](CloudCredentialsApi.md#cloud_credentials_get) | **GET** /cloudCredentials | List Credentials -*CloudCredentialsApi* | [**cloud_credentials_post**](CloudCredentialsApi.md#cloud_credentials_post) | **POST** /cloudCredentials | Create Credentials -*DefaultApi* | [**accounts_account_id_access_get**](DefaultApi.md#accounts_account_id_access_get) | **GET** /accounts/{accountId}/access | get a temporary token by email -*DefaultApi* | [**extended_account_info_get**](DefaultApi.md#extended_account_info_get) | **GET** /extendedAccountInfo | Returns the extended current account information. -*DefaultApi* | [**projects_assign_users_post**](DefaultApi.md#projects_assign_users_post) | **POST** /projects/assignUsers | todo -*DefaultApi* | [**projects_project_id_audit_log_get**](DefaultApi.md#projects_project_id_audit_log_get) | **GET** /projects/{projectId}/auditLog | Get audit log -*DefaultApi* | [**projects_project_id_storage_get**](DefaultApi.md#projects_project_id_storage_get) | **GET** /projects/{projectId}/storage | project's storage -*DefaultApi* | [**projects_remove_users_post**](DefaultApi.md#projects_remove_users_post) | **POST** /projects/removeUsers | todo -*DefaultApi* | [**replace_api_token_post**](DefaultApi.md#replace_api_token_post) | **POST** /replaceApiToken | Replaces API token -*DefaultApi* | [**set_password_post**](DefaultApi.md#set_password_post) | **POST** /setPassword | Set password for invited user -*DefaultApi* | [**users_assign_roles_post**](DefaultApi.md#users_assign_roles_post) | **POST** /users/assignRoles | Add roles to users -*DefaultApi* | [**users_post**](DefaultApi.md#users_post) | **POST** /users | Create a new User -*DefaultApi* | [**users_revoke_roles_post**](DefaultApi.md#users_revoke_roles_post) | **POST** /users/revokeRoles | Add roles to users -*LicensingApi* | [**licenses_get**](LicensingApi.md#licenses_get) | **GET** /licenses | List Licenses -*LicensingApi* | [**licenses_license_id_get**](LicensingApi.md#licenses_license_id_get) | **GET** /licenses/{licenseId} | Get License -*MachinesApi* | [**projects_project_id_machines_delete**](MachinesApi.md#projects_project_id_machines_delete) | **DELETE** /projects/{projectId}/machines | Uninstall agent -*MachinesApi* | [**projects_project_id_machines_get**](MachinesApi.md#projects_project_id_machines_get) | **GET** /projects/{projectId}/machines | List Machines -*MachinesApi* | [**projects_project_id_machines_machine_id_get**](MachinesApi.md#projects_project_id_machines_machine_id_get) | **GET** /projects/{projectId}/machines/{machineId} | Get a specific machine. -*MachinesApi* | [**projects_project_id_machines_machine_id_patch**](MachinesApi.md#projects_project_id_machines_machine_id_patch) | **PATCH** /projects/{projectId}/machines/{machineId} | Update a machine. Accepts only Launch time updates. -*MachinesApi* | [**projects_project_id_machines_patch**](MachinesApi.md#projects_project_id_machines_patch) | **PATCH** /projects/{projectId}/machines | Batch-update multiple machines -*MachinesApi* | [**projects_project_id_replicas_replica_id_get**](MachinesApi.md#projects_project_id_replicas_replica_id_get) | **GET** /projects/{projectId}/replicas/{replicaId} | Get Target Machine -*ProjectApi* | [**projects_get**](ProjectApi.md#projects_get) | **GET** /projects | List Projects -*ProjectApi* | [**projects_post**](ProjectApi.md#projects_post) | **POST** /projects | Create Project -*ProjectApi* | [**projects_project_id_delete**](ProjectApi.md#projects_project_id_delete) | **DELETE** /projects/{projectId} | Delete Project and all sub-resources including cloud assets other than launched target machines -*ProjectApi* | [**projects_project_id_get**](ProjectApi.md#projects_project_id_get) | **GET** /projects/{projectId} | Get Project -*ProjectApi* | [**projects_project_id_patch**](ProjectApi.md#projects_project_id_patch) | **PATCH** /projects/{projectId} | Update Project (including partial update) -*ProjectApi* | [**projects_project_id_tags_get**](ProjectApi.md#projects_project_id_tags_get) | **GET** /projects/{projectId}/tags | Gets all instance tags of all machines in the project. -*RecoveryPlansApi* | [**projects_project_id_recovery_plans_get**](RecoveryPlansApi.md#projects_project_id_recovery_plans_get) | **GET** /projects/{projectId}/recoveryPlans | Gets all recovery plans for the project. -*RecoveryPlansApi* | [**projects_project_id_recovery_plans_post**](RecoveryPlansApi.md#projects_project_id_recovery_plans_post) | **POST** /projects/{projectId}/recoveryPlans | Creates a new recovery plan. -*RecoveryPlansApi* | [**projects_project_id_recovery_plans_recovery_plan_id_delete**](RecoveryPlansApi.md#projects_project_id_recovery_plans_recovery_plan_id_delete) | **DELETE** /projects/{projectId}/recoveryPlans/{recoveryPlanId} | Deletes a recovery plan. -*RecoveryPlansApi* | [**projects_project_id_recovery_plans_recovery_plan_id_get**](RecoveryPlansApi.md#projects_project_id_recovery_plans_recovery_plan_id_get) | **GET** /projects/{projectId}/recoveryPlans/{recoveryPlanId} | Gets a recovery plan. -*RecoveryPlansApi* | [**projects_project_id_recovery_plans_recovery_plan_id_patch**](RecoveryPlansApi.md#projects_project_id_recovery_plans_recovery_plan_id_patch) | **PATCH** /projects/{projectId}/recoveryPlans/{recoveryPlanId} | Updates a new recovery plan. -*RecoveryPlansApi* | [**projects_project_id_run_recovery_plan_post**](RecoveryPlansApi.md#projects_project_id_run_recovery_plan_post) | **POST** /projects/{projectId}/runRecoveryPlan | Launch a recovery plan. -*ReplicationApi* | [**projects_project_id_machines_machine_id_bandwidth_throttling_get**](ReplicationApi.md#projects_project_id_machines_machine_id_bandwidth_throttling_get) | **GET** /projects/{projectId}/machines/{machineId}/bandwidthThrottling | Get value of network bandwidth throttling setting for Machine -*ReplicationApi* | [**projects_project_id_machines_machine_id_bandwidth_throttling_patch**](ReplicationApi.md#projects_project_id_machines_machine_id_bandwidth_throttling_patch) | **PATCH** /projects/{projectId}/machines/{machineId}/bandwidthThrottling | Set value of network bandwidth throttling setting for Machine -*ReplicationApi* | [**projects_project_id_machines_machine_id_delete**](ReplicationApi.md#projects_project_id_machines_machine_id_delete) | **DELETE** /projects/{projectId}/machines/{machineId} | Uninstall agent -*ReplicationApi* | [**projects_project_id_machines_machine_id_pointsintime_get**](ReplicationApi.md#projects_project_id_machines_machine_id_pointsintime_get) | **GET** /projects/{projectId}/machines/{machineId}/pointsintime | List Available Points-in-time -*ReplicationApi* | [**projects_project_id_replication_configurations_get**](ReplicationApi.md#projects_project_id_replication_configurations_get) | **GET** /projects/{projectId}/replicationConfigurations | List Replication Configurations -*ReplicationApi* | [**projects_project_id_replication_configurations_post**](ReplicationApi.md#projects_project_id_replication_configurations_post) | **POST** /projects/{projectId}/replicationConfigurations | Create Replication Configuration -*ReplicationApi* | [**projects_project_id_replication_configurations_replication_configuration_id_patch**](ReplicationApi.md#projects_project_id_replication_configurations_replication_configuration_id_patch) | **PATCH** /projects/{projectId}/replicationConfigurations/{replicationConfigurationId} | Modify Replication Configuration -*UserApi* | [**change_password_post**](UserApi.md#change_password_post) | **POST** /changePassword | Change Password -*UserApi* | [**me_get**](UserApi.md#me_get) | **GET** /me | Me -*UserApi* | [**users_user_id_delete**](UserApi.md#users_user_id_delete) | **DELETE** /users/{userId} | Delete a User -*UserApi* | [**users_user_id_patch**](UserApi.md#users_user_id_patch) | **PATCH** /users/{userId} | Modify user settings - -## Documentation For Models - -- [CloudEndureAccount](CloudEndureAccount.md) -- [CloudEndureAccountRequest](CloudEndureAccountRequest.md) -- [CloudEndureAccountRequestList](CloudEndureAccountRequestList.md) -- [CloudEndureAccountsList](CloudEndureAccountsList.md) -- [CloudEndureAgentNextReplicationInitRequest](CloudEndureAgentNextReplicationInitRequest.md) -- [CloudEndureAllProjectFeatures](CloudEndureAllProjectFeatures.md) -- [CloudEndureAuditLog](CloudEndureAuditLog.md) -- [CloudEndureAuditLogChangedField](CloudEndureAuditLogChangedField.md) -- [CloudEndureAuditLogEntry](CloudEndureAuditLogEntry.md) -- [CloudEndureBandwidthThrottling](CloudEndureBandwidthThrottling.md) -- [CloudEndureBlueprint](CloudEndureBlueprint.md) -- [CloudEndureBlueprintList](CloudEndureBlueprintList.md) -- [CloudEndureCloud](CloudEndureCloud.md) -- [CloudEndureCloudCredentials](CloudEndureCloudCredentials.md) -- [CloudEndureCloudCredentialsList](CloudEndureCloudCredentialsList.md) -- [CloudEndureCloudCredentialsRequest](CloudEndureCloudCredentialsRequest.md) -- [CloudEndureCloudsList](CloudEndureCloudsList.md) -- [CloudEndureComputeLocation](CloudEndureComputeLocation.md) -- [CloudEndureConfigurations](CloudEndureConfigurations.md) -- [CloudEndureConfigurationsList](CloudEndureConfigurationsList.md) -- [CloudEndureError](CloudEndureError.md) -- [CloudEndureExtendedAccountInfo](CloudEndureExtendedAccountInfo.md) -- [CloudEndureFindFilesParameters](CloudEndureFindFilesParameters.md) -- [CloudEndureFindFilesResult](CloudEndureFindFilesResult.md) -- [CloudEndureFindFilesResultPit](CloudEndureFindFilesResultPit.md) -- [CloudEndureFindFilesResults](CloudEndureFindFilesResults.md) -- [CloudEndureGcpMachinesFinanceData](CloudEndureGcpMachinesFinanceData.md) -- [CloudEndureIdentityProviderRedirectResponse](CloudEndureIdentityProviderRedirectResponse.md) -- [CloudEndureInitializationStep](CloudEndureInitializationStep.md) -- [CloudEndureJob](CloudEndureJob.md) -- [CloudEndureJobsList](CloudEndureJobsList.md) -- [CloudEndureKeyValueList](CloudEndureKeyValueList.md) -- [CloudEndureLaunchMachinesParameters](CloudEndureLaunchMachinesParameters.md) -- [CloudEndureLicense](CloudEndureLicense.md) -- [CloudEndureLicenseFeatures](CloudEndureLicenseFeatures.md) -- [CloudEndureLicenseList](CloudEndureLicenseList.md) -- [CloudEndureListUsersResult](CloudEndureListUsersResult.md) -- [CloudEndureListUsersResults](CloudEndureListUsersResults.md) -- [CloudEndureLogicalLocation](CloudEndureLogicalLocation.md) -- [CloudEndureMachine](CloudEndureMachine.md) -- [CloudEndureMachineAndPathAndPointInTime](CloudEndureMachineAndPathAndPointInTime.md) -- [CloudEndureMachineAndPointInTime](CloudEndureMachineAndPointInTime.md) -- [CloudEndureMachineReplicationConfiguration](CloudEndureMachineReplicationConfiguration.md) -- [CloudEndureMachineSnapshotCredits](CloudEndureMachineSnapshotCredits.md) -- [CloudEndureMachineThrottleTimeSeconds](CloudEndureMachineThrottleTimeSeconds.md) -- [CloudEndureMachinesList](CloudEndureMachinesList.md) -- [CloudEndureMachinesListInvalidIDsAndJob](CloudEndureMachinesListInvalidIDsAndJob.md) -- [CloudEndureNetworkInterface](CloudEndureNetworkInterface.md) -- [CloudEndurePointInTime](CloudEndurePointInTime.md) -- [CloudEndurePointInTimeList](CloudEndurePointInTimeList.md) -- [CloudEndureProject](CloudEndureProject.md) -- [CloudEndureProjectStorage](CloudEndureProjectStorage.md) -- [CloudEndureProjectsAndUsers](CloudEndureProjectsAndUsers.md) -- [CloudEndureProjectsList](CloudEndureProjectsList.md) -- [CloudEndureRecoveryPlan](CloudEndureRecoveryPlan.md) -- [CloudEndureRecoveryPlanList](CloudEndureRecoveryPlanList.md) -- [CloudEndureRecoveryPlanStep](CloudEndureRecoveryPlanStep.md) -- [CloudEndureRecoveryPlanSteps](CloudEndureRecoveryPlanSteps.md) -- [CloudEndureRegion](CloudEndureRegion.md) -- [CloudEndureRegionsList](CloudEndureRegionsList.md) -- [CloudEndureReplica](CloudEndureReplica.md) -- [CloudEndureReplicationConfiguration](CloudEndureReplicationConfiguration.md) -- [CloudEndureReplicationConfigurationList](CloudEndureReplicationConfigurationList.md) -- [CloudEndureReplicationServerConfig](CloudEndureReplicationServerConfig.md) -- [CloudEndureRestoreFilesParameters](CloudEndureRestoreFilesParameters.md) -- [CloudEndureSamlSettings](CloudEndureSamlSettings.md) -- [CloudEndureSecurityGroup](CloudEndureSecurityGroup.md) -- [CloudEndureStorageLocation](CloudEndureStorageLocation.md) -- [CloudEndureSubnet](CloudEndureSubnet.md) -- [CloudEndureTime](CloudEndureTime.md) -- [CloudEndureUpdateableScripts](CloudEndureUpdateableScripts.md) -- [CloudEndureUpgradeCounterDelay](CloudEndureUpgradeCounterDelay.md) -- [CloudEndureUsage](CloudEndureUsage.md) -- [CloudEndureUsageList](CloudEndureUsageList.md) -- [CloudEndureUser](CloudEndureUser.md) -- [CloudEndureUserReport](CloudEndureUserReport.md) -- [CloudEndureUserReports](CloudEndureUserReports.md) -- [CloudEndureUsersAndRoles](CloudEndureUsersAndRoles.md) -- [CloudEndureUsersList](CloudEndureUsersList.md) -- [CloudEndureVCenterSubnet](CloudEndureVCenterSubnet.md) - -## Documentation For Authorization - - All endpoints do not require authorization. diff --git a/docs/AccountApi.md b/docs/AccountApi.md deleted file mode 100644 index ef52d20f4..000000000 --- a/docs/AccountApi.md +++ /dev/null @@ -1,60 +0,0 @@ -# cloudendure.cloudendure_api.AccountApi - -All URIs are relative to *https://console.cloudendure.com/api/latest* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**accounts_account_id_get**](AccountApi.md#accounts_account_id_get) | **GET** /accounts/{accountId} | Get Account information - -## **accounts_account_id_get** - -> CloudEndureAccount accounts_account_id_get(account_id) - -Get Account information - -### Example - -```python -from __future__ import print_function - -import time - -from pprint import pprint - -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException - - -# create an instance of the API class -api_instance = cloudendure_api.AccountApi() -account_id = 'account_id_example' # str | - -try: - # Get Account information - api_response = api_instance.accounts_account_id_get(account_id) - pprint(api_response) -except ApiException as e: - print("Exception when calling AccountApi->accounts_account_id_get: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **account_id** | **str**| | - -### Return type - -[**CloudEndureAccount**](CloudEndureAccount.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to Model list]](API_README.md#documentation-for-models) [[Back to README]](API_README.md) - diff --git a/docs/ActionsApi.md b/docs/ActionsApi.md deleted file mode 100644 index 293bdcc8f..000000000 --- a/docs/ActionsApi.md +++ /dev/null @@ -1,609 +0,0 @@ -# cloudendure_api.ActionsApi - -All URIs are relative to *https://console.cloudendure.com/api/latest* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**projects_project_id_find_files_post**](ActionsApi.md#projects_project_id_find_files_post) | **POST** /projects/{projectId}/findFiles | Search for files in a backup project -[**projects_project_id_jobs_get**](ActionsApi.md#projects_project_id_jobs_get) | **GET** /projects/{projectId}/jobs | List Jobs -[**projects_project_id_jobs_job_id_get**](ActionsApi.md#projects_project_id_jobs_job_id_get) | **GET** /projects/{projectId}/jobs/{jobId} | Get Job -[**projects_project_id_launch_machines_post**](ActionsApi.md#projects_project_id_launch_machines_post) | **POST** /projects/{projectId}/launchMachines | Launch target machines -[**projects_project_id_launch_restore_servers_post**](ActionsApi.md#projects_project_id_launch_restore_servers_post) | **POST** /projects/{projectId}/launchRestoreServers | Launch restore servers @todo -[**projects_project_id_move_machines_post**](ActionsApi.md#projects_project_id_move_machines_post) | **POST** /projects/{projectId}/moveMachines | Moves machines to another project -[**projects_project_id_pause_replication_post**](ActionsApi.md#projects_project_id_pause_replication_post) | **POST** /projects/{projectId}/pauseReplication | Pause replication -[**projects_project_id_replicas_delete**](ActionsApi.md#projects_project_id_replicas_delete) | **DELETE** /projects/{projectId}/replicas | Perform Cleanup -[**projects_project_id_restore_files_post**](ActionsApi.md#projects_project_id_restore_files_post) | **POST** /projects/{projectId}/restoreFiles | Restore selected files in a backup project -[**projects_project_id_reverse_replication_post**](ActionsApi.md#projects_project_id_reverse_replication_post) | **POST** /projects/{projectId}/reverseReplication | Reverse replication direction -[**projects_project_id_start_replication_post**](ActionsApi.md#projects_project_id_start_replication_post) | **POST** /projects/{projectId}/startReplication | Start replication -[**projects_project_id_stop_replication_post**](ActionsApi.md#projects_project_id_stop_replication_post) | **POST** /projects/{projectId}/stopReplication | Stop replication - -# **projects_project_id_find_files_post** -> CloudEndureFindFilesResults projects_project_id_find_files_post(body, project_id) - -Search for files in a backup project - -### Example -```python -from __future__ import print_function -import time -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = cloudendure_api.ActionsApi() -body = cloudendure_api.CloudEndureFindFilesParameters() # CloudEndureFindFilesParameters | The query string and the machine id's to use it in -project_id = 'project_id_example' # str | - -try: - # Search for files in a backup project - api_response = api_instance.projects_project_id_find_files_post(body, project_id) - pprint(api_response) -except ApiException as e: - print("Exception when calling ActionsApi->projects_project_id_find_files_post: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**CloudEndureFindFilesParameters**](CloudEndureFindFilesParameters.md)| The query string and the machine id's to use it in | - **project_id** | **str**| | - -### Return type - -[**CloudEndureFindFilesResults**](CloudEndureFindFilesResults.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to Model list]](API_README.md#documentation-for-models) [[Back to README]](API_README.md) - -# **projects_project_id_jobs_get** -> CloudEndureJobsList projects_project_id_jobs_get(project_id, offset=offset, limit=limit) - -List Jobs - -Returns the list of jobs in the project. - -### Example -```python -from __future__ import print_function -import time -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = cloudendure_api.ActionsApi() -project_id = 'project_id_example' # str | -offset = 56 # int | With which item to start (0 based). (optional) -limit = 56 # int | A number specifying how many entries to return. (optional) - -try: - # List Jobs - api_response = api_instance.projects_project_id_jobs_get(project_id, offset=offset, limit=limit) - pprint(api_response) -except ApiException as e: - print("Exception when calling ActionsApi->projects_project_id_jobs_get: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **project_id** | **str**| | - **offset** | **int**| With which item to start (0 based). | [optional] - **limit** | **int**| A number specifying how many entries to return. | [optional] - -### Return type - -[**CloudEndureJobsList**](CloudEndureJobsList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to Model list]](API_README.md#documentation-for-models) [[Back to README]](API_README.md) - -# **projects_project_id_jobs_job_id_get** -> CloudEndureJob projects_project_id_jobs_job_id_get(project_id, job_id) - -Get Job - -### Example -```python -from __future__ import print_function -import time -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = cloudendure_api.ActionsApi() -project_id = 'project_id_example' # str | -job_id = 'job_id_example' # str | - -try: - # Get Job - api_response = api_instance.projects_project_id_jobs_job_id_get(project_id, job_id) - pprint(api_response) -except ApiException as e: - print("Exception when calling ActionsApi->projects_project_id_jobs_job_id_get: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **project_id** | **str**| | - **job_id** | **str**| | - -### Return type - -[**CloudEndureJob**](CloudEndureJob.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to Model list]](API_README.md#documentation-for-models) [[Back to README]](API_README.md) - -# **projects_project_id_launch_machines_post** -> CloudEndureJob projects_project_id_launch_machines_post(body, project_id) - -Launch target machines - -Launch target machines for test, recovery or cutover (by passing enum value to launchType param) - -### Example -```python -from __future__ import print_function -import time -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = cloudendure_api.ActionsApi() -body = cloudendure_api.CloudEndureLaunchMachinesParameters() # CloudEndureLaunchMachinesParameters | Machines to launch -project_id = 'project_id_example' # str | - -try: - # Launch target machines - api_response = api_instance.projects_project_id_launch_machines_post(body, project_id) - pprint(api_response) -except ApiException as e: - print("Exception when calling ActionsApi->projects_project_id_launch_machines_post: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**CloudEndureLaunchMachinesParameters**](CloudEndureLaunchMachinesParameters.md)| Machines to launch | - **project_id** | **str**| | - -### Return type - -[**CloudEndureJob**](CloudEndureJob.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to Model list]](API_README.md#documentation-for-models) [[Back to README]](API_README.md) - -# **projects_project_id_launch_restore_servers_post** -> CloudEndureJob projects_project_id_launch_restore_servers_post(body, project_id) - -Launch restore servers @todo - -todo - -### Example -```python -from __future__ import print_function -import time -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = cloudendure_api.ActionsApi() -body = cloudendure_api.CloudEndureLaunchMachinesParameters() # CloudEndureLaunchMachinesParameters | todo -project_id = 'project_id_example' # str | - -try: - # Launch restore servers @todo - api_response = api_instance.projects_project_id_launch_restore_servers_post(body, project_id) - pprint(api_response) -except ApiException as e: - print("Exception when calling ActionsApi->projects_project_id_launch_restore_servers_post: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**CloudEndureLaunchMachinesParameters**](CloudEndureLaunchMachinesParameters.md)| todo | - **project_id** | **str**| | - -### Return type - -[**CloudEndureJob**](CloudEndureJob.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to Model list]](API_README.md#documentation-for-models) [[Back to README]](API_README.md) - -# **projects_project_id_move_machines_post** -> projects_project_id_move_machines_post(body, project_id) - -Moves machines to another project - -TBC - -### Example -```python -from __future__ import print_function -import time -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = cloudendure_api.ActionsApi() -body = NULL # object | -project_id = 'project_id_example' # str | - -try: - # Moves machines to another project - api_instance.projects_project_id_move_machines_post(body, project_id) -except ApiException as e: - print("Exception when calling ActionsApi->projects_project_id_move_machines_post: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**object**](object.md)| | - **project_id** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to Model list]](API_README.md#documentation-for-models) [[Back to README]](API_README.md) - -# **projects_project_id_pause_replication_post** -> CloudEndureMachinesListInvalidIDsAndJob projects_project_id_pause_replication_post(body, project_id) - -Pause replication - -Pause replication for given machines - -### Example -```python -from __future__ import print_function -import time -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = cloudendure_api.ActionsApi() -body = NULL # object | The machine IDs for which to pause replication. -project_id = 'project_id_example' # str | - -try: - # Pause replication - api_response = api_instance.projects_project_id_pause_replication_post(body, project_id) - pprint(api_response) -except ApiException as e: - print("Exception when calling ActionsApi->projects_project_id_pause_replication_post: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**object**](object.md)| The machine IDs for which to pause replication. | - **project_id** | **str**| | - -### Return type - -[**CloudEndureMachinesListInvalidIDsAndJob**](CloudEndureMachinesListInvalidIDsAndJob.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to Model list]](API_README.md#documentation-for-models) [[Back to README]](API_README.md) - -# **projects_project_id_replicas_delete** -> CloudEndureJob projects_project_id_replicas_delete(body, project_id) - -Perform Cleanup - -Spawns a cleanup job to remove the specified target machines from the cloud. Returns the job information. - -### Example -```python -from __future__ import print_function -import time -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = cloudendure_api.ActionsApi() -body = NULL # object | The list of replica IDs to delete (corresponding to the 'replica' field in the machine object. -project_id = 'project_id_example' # str | - -try: - # Perform Cleanup - api_response = api_instance.projects_project_id_replicas_delete(body, project_id) - pprint(api_response) -except ApiException as e: - print("Exception when calling ActionsApi->projects_project_id_replicas_delete: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**object**](object.md)| The list of replica IDs to delete (corresponding to the 'replica' field in the machine object. | - **project_id** | **str**| | - -### Return type - -[**CloudEndureJob**](CloudEndureJob.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to Model list]](API_README.md#documentation-for-models) [[Back to README]](API_README.md) - -# **projects_project_id_restore_files_post** -> CloudEndureJob projects_project_id_restore_files_post(body, project_id) - -Restore selected files in a backup project - -### Example -```python -from __future__ import print_function -import time -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = cloudendure_api.ActionsApi() -body = cloudendure_api.CloudEndureRestoreFilesParameters() # CloudEndureRestoreFilesParameters | A list of file origins, each origin includes file path, machine id, and pit id. -project_id = 'project_id_example' # str | - -try: - # Restore selected files in a backup project - api_response = api_instance.projects_project_id_restore_files_post(body, project_id) - pprint(api_response) -except ApiException as e: - print("Exception when calling ActionsApi->projects_project_id_restore_files_post: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**CloudEndureRestoreFilesParameters**](CloudEndureRestoreFilesParameters.md)| A list of file origins, each origin includes file path, machine id, and pit id. | - **project_id** | **str**| | - -### Return type - -[**CloudEndureJob**](CloudEndureJob.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to Model list]](API_README.md#documentation-for-models) [[Back to README]](API_README.md) - -# **projects_project_id_reverse_replication_post** -> projects_project_id_reverse_replication_post(project_id) - -Reverse replication direction - -### Example -```python -from __future__ import print_function -import time -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = cloudendure_api.ActionsApi() -project_id = 'project_id_example' # str | - -try: - # Reverse replication direction - api_instance.projects_project_id_reverse_replication_post(project_id) -except ApiException as e: - print("Exception when calling ActionsApi->projects_project_id_reverse_replication_post: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **project_id** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to Model list]](API_README.md#documentation-for-models) [[Back to README]](API_README.md) - -# **projects_project_id_start_replication_post** -> CloudEndureMachinesListInvalidIDsAndJob projects_project_id_start_replication_post(body, project_id) - -Start replication - -Start replication of the specified source machines. Returns the machine for which replication has been successfully started, and the IDs for which replication could not be started. - -### Example -```python -from __future__ import print_function -import time -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = cloudendure_api.ActionsApi() -body = NULL # object | Specification of the machines for which replication will start. -project_id = 'project_id_example' # str | - -try: - # Start replication - api_response = api_instance.projects_project_id_start_replication_post(body, project_id) - pprint(api_response) -except ApiException as e: - print("Exception when calling ActionsApi->projects_project_id_start_replication_post: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**object**](object.md)| Specification of the machines for which replication will start. | - **project_id** | **str**| | - -### Return type - -[**CloudEndureMachinesListInvalidIDsAndJob**](CloudEndureMachinesListInvalidIDsAndJob.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to Model list]](API_README.md#documentation-for-models) [[Back to README]](API_README.md) - -# **projects_project_id_stop_replication_post** -> CloudEndureMachinesListInvalidIDsAndJob projects_project_id_stop_replication_post(body, project_id) - -Stop replication - -Stop replication of the specified source machines. Returns the machine for which replication has been successfully stopped, and the IDs for which replication could not be stopped. - -### Example -```python -from __future__ import print_function -import time -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = cloudendure_api.ActionsApi() -body = NULL # object | Specification of the machines for which replication will stop. -project_id = 'project_id_example' # str | - -try: - # Stop replication - api_response = api_instance.projects_project_id_stop_replication_post(body, project_id) - pprint(api_response) -except ApiException as e: - print("Exception when calling ActionsApi->projects_project_id_stop_replication_post: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**object**](object.md)| Specification of the machines for which replication will stop. | - **project_id** | **str**| | - -### Return type - -[**CloudEndureMachinesListInvalidIDsAndJob**](CloudEndureMachinesListInvalidIDsAndJob.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to Model list]](API_README.md#documentation-for-models) [[Back to README]](API_README.md) - diff --git a/docs/AuthenticationApi.md b/docs/AuthenticationApi.md deleted file mode 100644 index 74949eeaf..000000000 --- a/docs/AuthenticationApi.md +++ /dev/null @@ -1,100 +0,0 @@ -# cloudendure_api.AuthenticationApi - -All URIs are relative to *https://console.cloudendure.com/api/latest* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**login_post**](AuthenticationApi.md#login_post) | **POST** /login | Login -[**logout_post**](AuthenticationApi.md#logout_post) | **POST** /logout | Logout - -# **login_post** -> CloudEndureUser login_post(body) - -Login - -@todo: fix re use of XSRF-TOKEN cookie + X-XSRF-TOKEN header Upon successful authentication, this method returns a session identifier cookie that can be used to authenticate subsequent API calls. - -### Example -```python -from __future__ import print_function -import time -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = cloudendure_api.AuthenticationApi() -body = NULL # object | Login info - -try: - # Login - api_response = api_instance.login_post(body) - pprint(api_response) -except ApiException as e: - print("Exception when calling AuthenticationApi->login_post: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**object**](object.md)| Login info | - -### Return type - -[**CloudEndureUser**](CloudEndureUser.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to Model list]](API_README.md#documentation-for-models) [[Back to README]](API_README.md) - -# **logout_post** -> logout_post() - -Logout - -Invalidates the session identifier associated with this session. - -### Example -```python -from __future__ import print_function -import time -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = cloudendure_api.AuthenticationApi() - -try: - # Logout - api_instance.logout_post() -except ApiException as e: - print("Exception when calling AuthenticationApi->logout_post: %s\n" % e) -``` - -### Parameters -This endpoint does not need any parameter. - -### Return type - -void (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - -[[Back to top]](#) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to Model list]](API_README.md#documentation-for-models) [[Back to README]](API_README.md) - diff --git a/docs/BlueprintApi.md b/docs/BlueprintApi.md deleted file mode 100644 index bf8858fc5..000000000 --- a/docs/BlueprintApi.md +++ /dev/null @@ -1,213 +0,0 @@ -# cloudendure_api.BlueprintApi - -All URIs are relative to *https://console.cloudendure.com/api/latest* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**projects_project_id_blueprints_blueprint_id_get**](BlueprintApi.md#projects_project_id_blueprints_blueprint_id_get) | **GET** /projects/{projectId}/blueprints/{blueprintId} | Get Blueprint -[**projects_project_id_blueprints_blueprint_id_patch**](BlueprintApi.md#projects_project_id_blueprints_blueprint_id_patch) | **PATCH** /projects/{projectId}/blueprints/{blueprintId} | Configure Blueprint -[**projects_project_id_blueprints_get**](BlueprintApi.md#projects_project_id_blueprints_get) | **GET** /projects/{projectId}/blueprints | List Blueprints -[**projects_project_id_blueprints_post**](BlueprintApi.md#projects_project_id_blueprints_post) | **POST** /projects/{projectId}/blueprints | Create Blueprint - -# **projects_project_id_blueprints_blueprint_id_get** -> CloudEndureBlueprint projects_project_id_blueprints_blueprint_id_get(project_id, blueprint_id) - -Get Blueprint - -### Example -```python -from __future__ import print_function -import time -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = cloudendure_api.BlueprintApi() -project_id = 'project_id_example' # str | -blueprint_id = 'blueprint_id_example' # str | - -try: - # Get Blueprint - api_response = api_instance.projects_project_id_blueprints_blueprint_id_get(project_id, blueprint_id) - pprint(api_response) -except ApiException as e: - print("Exception when calling BlueprintApi->projects_project_id_blueprints_blueprint_id_get: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **project_id** | **str**| | - **blueprint_id** | **str**| | - -### Return type - -[**CloudEndureBlueprint**](CloudEndureBlueprint.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to Model list]](API_README.md#documentation-for-models) [[Back to README]](API_README.md) - -# **projects_project_id_blueprints_blueprint_id_patch** -> CloudEndureBlueprint projects_project_id_blueprints_blueprint_id_patch(body, project_id, blueprint_id) - -Configure Blueprint - -Configure target machine characteristics: machine and disk types, network configuration, etc. Returns the modified object. - -### Example -```python -from __future__ import print_function -import time -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = cloudendure_api.BlueprintApi() -body = cloudendure_api.CloudEndureBlueprint() # CloudEndureBlueprint | -project_id = 'project_id_example' # str | -blueprint_id = 'blueprint_id_example' # str | - -try: - # Configure Blueprint - api_response = api_instance.projects_project_id_blueprints_blueprint_id_patch(body, project_id, blueprint_id) - pprint(api_response) -except ApiException as e: - print("Exception when calling BlueprintApi->projects_project_id_blueprints_blueprint_id_patch: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**CloudEndureBlueprint**](CloudEndureBlueprint.md)| | - **project_id** | **str**| | - **blueprint_id** | **str**| | - -### Return type - -[**CloudEndureBlueprint**](CloudEndureBlueprint.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to Model list]](API_README.md#documentation-for-models) [[Back to README]](API_README.md) - -# **projects_project_id_blueprints_get** -> CloudEndureBlueprintList projects_project_id_blueprints_get(project_id, offset=offset, limit=limit) - -List Blueprints - -Returns the list of available blueprints in the project. - -### Example -```python -from __future__ import print_function -import time -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = cloudendure_api.BlueprintApi() -project_id = 'project_id_example' # str | -offset = 56 # int | With which item to start (0 based). (optional) -limit = 56 # int | A number specifying how many entries to return. (optional) - -try: - # List Blueprints - api_response = api_instance.projects_project_id_blueprints_get(project_id, offset=offset, limit=limit) - pprint(api_response) -except ApiException as e: - print("Exception when calling BlueprintApi->projects_project_id_blueprints_get: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **project_id** | **str**| | - **offset** | **int**| With which item to start (0 based). | [optional] - **limit** | **int**| A number specifying how many entries to return. | [optional] - -### Return type - -[**CloudEndureBlueprintList**](CloudEndureBlueprintList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to Model list]](API_README.md#documentation-for-models) [[Back to README]](API_README.md) - -# **projects_project_id_blueprints_post** -> CloudEndureBlueprint projects_project_id_blueprints_post(body, project_id) - -Create Blueprint - -Define the target machine characteristics: machine and disk types, network configuration, etc. There can be only one blueprint per machine per region. Returns the newly created object. - -### Example -```python -from __future__ import print_function -import time -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = cloudendure_api.BlueprintApi() -body = cloudendure_api.CloudEndureBlueprint() # CloudEndureBlueprint | -project_id = 'project_id_example' # str | - -try: - # Create Blueprint - api_response = api_instance.projects_project_id_blueprints_post(body, project_id) - pprint(api_response) -except ApiException as e: - print("Exception when calling BlueprintApi->projects_project_id_blueprints_post: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**CloudEndureBlueprint**](CloudEndureBlueprint.md)| | - **project_id** | **str**| | - -### Return type - -[**CloudEndureBlueprint**](CloudEndureBlueprint.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to Model list]](API_README.md#documentation-for-models) [[Back to README]](API_README.md) - diff --git a/docs/CloudApi.md b/docs/CloudApi.md deleted file mode 100644 index cd86ae967..000000000 --- a/docs/CloudApi.md +++ /dev/null @@ -1,259 +0,0 @@ -# cloudendure_api.CloudApi - -All URIs are relative to *https://console.cloudendure.com/api/latest* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**cloud_credentials_creds_id_regions_get**](CloudApi.md#cloud_credentials_creds_id_regions_get) | **GET** /cloudCredentials/{credsId}/regions | List Regions -[**cloud_credentials_creds_id_regions_region_id_delete**](CloudApi.md#cloud_credentials_creds_id_regions_region_id_delete) | **DELETE** /cloudCredentials/{credsId}/regions/{regionId} | Delete region (VCenter) -[**cloud_credentials_creds_id_regions_region_id_get**](CloudApi.md#cloud_credentials_creds_id_regions_region_id_get) | **GET** /cloudCredentials/{credsId}/regions/{regionId} | Get Region -[**cloud_credentials_creds_id_regions_region_id_patch**](CloudApi.md#cloud_credentials_creds_id_regions_region_id_patch) | **PATCH** /cloudCredentials/{credsId}/regions/{regionId} | Patch region (rename) -[**clouds_get**](CloudApi.md#clouds_get) | **GET** /clouds | List Clouds - -# **cloud_credentials_creds_id_regions_get** -> CloudEndureRegionsList cloud_credentials_creds_id_regions_get(creds_id, offset=offset, limit=limit) - -List Regions - -Returns the list of regions these credentials provide access to. - -### Example -```python -from __future__ import print_function -import time -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = cloudendure_api.CloudApi() -creds_id = 'creds_id_example' # str | UUID of the credentials to use. In case of on-premise, you should use the null UUID \"00000000-0000-0000-0000-000000000000\". -offset = 56 # int | With which item to start (0 based). (optional) -limit = 56 # int | A number specifying how many entries to return. (optional) - -try: - # List Regions - api_response = api_instance.cloud_credentials_creds_id_regions_get(creds_id, offset=offset, limit=limit) - pprint(api_response) -except ApiException as e: - print("Exception when calling CloudApi->cloud_credentials_creds_id_regions_get: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **creds_id** | **str**| UUID of the credentials to use. In case of on-premise, you should use the null UUID \"00000000-0000-0000-0000-000000000000\". | - **offset** | **int**| With which item to start (0 based). | [optional] - **limit** | **int**| A number specifying how many entries to return. | [optional] - -### Return type - -[**CloudEndureRegionsList**](CloudEndureRegionsList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to Model list]](API_README.md#documentation-for-models) [[Back to README]](API_README.md) - -# **cloud_credentials_creds_id_regions_region_id_delete** -> cloud_credentials_creds_id_regions_region_id_delete(creds_id, region_id) - -Delete region (VCenter) - -### Example -```python -from __future__ import print_function -import time -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = cloudendure_api.CloudApi() -creds_id = 'creds_id_example' # str | UUID of the credentials to use. In case of on-premise, you should use the null UUID \"00000000-0000-0000-0000-000000000000\". -region_id = 'region_id_example' # str | - -try: - # Delete region (VCenter) - api_instance.cloud_credentials_creds_id_regions_region_id_delete(creds_id, region_id) -except ApiException as e: - print("Exception when calling CloudApi->cloud_credentials_creds_id_regions_region_id_delete: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **creds_id** | **str**| UUID of the credentials to use. In case of on-premise, you should use the null UUID \"00000000-0000-0000-0000-000000000000\". | - **region_id** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - -[[Back to top]](#) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to Model list]](API_README.md#documentation-for-models) [[Back to README]](API_README.md) - -# **cloud_credentials_creds_id_regions_region_id_get** -> CloudEndureRegion cloud_credentials_creds_id_regions_region_id_get(creds_id, region_id) - -Get Region - -### Example -```python -from __future__ import print_function -import time -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = cloudendure_api.CloudApi() -creds_id = 'creds_id_example' # str | UUID of the credentials to use. In case of on-premise, you should use the null UUID \"00000000-0000-0000-0000-000000000000\". -region_id = 'region_id_example' # str | - -try: - # Get Region - api_response = api_instance.cloud_credentials_creds_id_regions_region_id_get(creds_id, region_id) - pprint(api_response) -except ApiException as e: - print("Exception when calling CloudApi->cloud_credentials_creds_id_regions_region_id_get: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **creds_id** | **str**| UUID of the credentials to use. In case of on-premise, you should use the null UUID \"00000000-0000-0000-0000-000000000000\". | - **region_id** | **str**| | - -### Return type - -[**CloudEndureRegion**](CloudEndureRegion.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to Model list]](API_README.md#documentation-for-models) [[Back to README]](API_README.md) - -# **cloud_credentials_creds_id_regions_region_id_patch** -> CloudEndureRegion cloud_credentials_creds_id_regions_region_id_patch(body, creds_id, region_id) - -Patch region (rename) - -### Example -```python -from __future__ import print_function -import time -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = cloudendure_api.CloudApi() -body = cloudendure_api.CloudEndureRegion() # CloudEndureRegion | -creds_id = 'creds_id_example' # str | UUID of the credentials to use. In case of on-premise, you should use the null UUID \"00000000-0000-0000-0000-000000000000\". -region_id = 'region_id_example' # str | - -try: - # Patch region (rename) - api_response = api_instance.cloud_credentials_creds_id_regions_region_id_patch(body, creds_id, region_id) - pprint(api_response) -except ApiException as e: - print("Exception when calling CloudApi->cloud_credentials_creds_id_regions_region_id_patch: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**CloudEndureRegion**](CloudEndureRegion.md)| | - **creds_id** | **str**| UUID of the credentials to use. In case of on-premise, you should use the null UUID \"00000000-0000-0000-0000-000000000000\". | - **region_id** | **str**| | - -### Return type - -[**CloudEndureRegion**](CloudEndureRegion.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to Model list]](API_README.md#documentation-for-models) [[Back to README]](API_README.md) - -# **clouds_get** -> CloudEndureCloudsList clouds_get(offset=offset, limit=limit) - -List Clouds - -Returns a list of clouds that can be used with CloudEndure. The roles array determines whether this cloud can be used as source, target, or both. - -### Example -```python -from __future__ import print_function -import time -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = cloudendure_api.CloudApi() -offset = 56 # int | With which item to start (0 based). (optional) -limit = 56 # int | A number specifying how many entries to return. (optional) - -try: - # List Clouds - api_response = api_instance.clouds_get(offset=offset, limit=limit) - pprint(api_response) -except ApiException as e: - print("Exception when calling CloudApi->clouds_get: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **offset** | **int**| With which item to start (0 based). | [optional] - **limit** | **int**| A number specifying how many entries to return. | [optional] - -### Return type - -[**CloudEndureCloudsList**](CloudEndureCloudsList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to Model list]](API_README.md#documentation-for-models) [[Back to README]](API_README.md) - diff --git a/docs/CloudCredentialsApi.md b/docs/CloudCredentialsApi.md deleted file mode 100644 index c3a36e2c2..000000000 --- a/docs/CloudCredentialsApi.md +++ /dev/null @@ -1,205 +0,0 @@ -# cloudendure_api.CloudCredentialsApi - -All URIs are relative to *https://console.cloudendure.com/api/latest* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**cloud_credentials_creds_id_get**](CloudCredentialsApi.md#cloud_credentials_creds_id_get) | **GET** /cloudCredentials/{credsId} | Get Credentials -[**cloud_credentials_creds_id_patch**](CloudCredentialsApi.md#cloud_credentials_creds_id_patch) | **PATCH** /cloudCredentials/{credsId} | Change Credentials -[**cloud_credentials_get**](CloudCredentialsApi.md#cloud_credentials_get) | **GET** /cloudCredentials | List Credentials -[**cloud_credentials_post**](CloudCredentialsApi.md#cloud_credentials_post) | **POST** /cloudCredentials | Create Credentials - -# **cloud_credentials_creds_id_get** -> CloudEndureCloudCredentials cloud_credentials_creds_id_get(creds_id) - -Get Credentials - -### Example -```python -from __future__ import print_function -import time -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = cloudendure_api.CloudCredentialsApi() -creds_id = 'creds_id_example' # str | UUID of the credentials to use. In case of on-premise, you should use the null UUID \"00000000-0000-0000-0000-000000000000\". - -try: - # Get Credentials - api_response = api_instance.cloud_credentials_creds_id_get(creds_id) - pprint(api_response) -except ApiException as e: - print("Exception when calling CloudCredentialsApi->cloud_credentials_creds_id_get: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **creds_id** | **str**| UUID of the credentials to use. In case of on-premise, you should use the null UUID \"00000000-0000-0000-0000-000000000000\". | - -### Return type - -[**CloudEndureCloudCredentials**](CloudEndureCloudCredentials.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to Model list]](API_README.md#documentation-for-models) [[Back to README]](API_README.md) - -# **cloud_credentials_creds_id_patch** -> CloudEndureCloudCredentials cloud_credentials_creds_id_patch(body, creds_id) - -Change Credentials - -Changes the cloud credentials. @todo:v15 If the new Cloud Credentials are to a different cloud account (or different cloud), than PATCH should fail with ??? error code and ??? error message. Old v14 behavior: If the these cloud credentials are used with the current replication, and the new credentials are to a different cloud account (or different cloud), all agents will be uninstalled and replication will stop on them. - -### Example -```python -from __future__ import print_function -import time -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = cloudendure_api.CloudCredentialsApi() -body = cloudendure_api.CloudEndureCloudCredentialsRequest() # CloudEndureCloudCredentialsRequest | -creds_id = 'creds_id_example' # str | UUID of the credentials to use. In case of on-premise, you should use the null UUID \"00000000-0000-0000-0000-000000000000\". - -try: - # Change Credentials - api_response = api_instance.cloud_credentials_creds_id_patch(body, creds_id) - pprint(api_response) -except ApiException as e: - print("Exception when calling CloudCredentialsApi->cloud_credentials_creds_id_patch: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**CloudEndureCloudCredentialsRequest**](CloudEndureCloudCredentialsRequest.md)| | - **creds_id** | **str**| UUID of the credentials to use. In case of on-premise, you should use the null UUID \"00000000-0000-0000-0000-000000000000\". | - -### Return type - -[**CloudEndureCloudCredentials**](CloudEndureCloudCredentials.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to Model list]](API_README.md#documentation-for-models) [[Back to README]](API_README.md) - -# **cloud_credentials_get** -> CloudEndureCloudCredentialsList cloud_credentials_get(offset=offset, limit=limit) - -List Credentials - -Returns the list of cloudCredentials in the account. - -### Example -```python -from __future__ import print_function -import time -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = cloudendure_api.CloudCredentialsApi() -offset = 56 # int | With which item to start (0 based). (optional) -limit = 56 # int | A number specifying how many entries to return. (optional) - -try: - # List Credentials - api_response = api_instance.cloud_credentials_get(offset=offset, limit=limit) - pprint(api_response) -except ApiException as e: - print("Exception when calling CloudCredentialsApi->cloud_credentials_get: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **offset** | **int**| With which item to start (0 based). | [optional] - **limit** | **int**| A number specifying how many entries to return. | [optional] - -### Return type - -[**CloudEndureCloudCredentialsList**](CloudEndureCloudCredentialsList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to Model list]](API_README.md#documentation-for-models) [[Back to README]](API_README.md) - -# **cloud_credentials_post** -> CloudEndureCloudCredentials cloud_credentials_post(body) - -Create Credentials - -Provide the credentials with which to access the cloud API. Returns the newly created object. - -### Example -```python -from __future__ import print_function -import time -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = cloudendure_api.CloudCredentialsApi() -body = cloudendure_api.CloudEndureCloudCredentialsRequest() # CloudEndureCloudCredentialsRequest | - -try: - # Create Credentials - api_response = api_instance.cloud_credentials_post(body) - pprint(api_response) -except ApiException as e: - print("Exception when calling CloudCredentialsApi->cloud_credentials_post: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**CloudEndureCloudCredentialsRequest**](CloudEndureCloudCredentialsRequest.md)| | - -### Return type - -[**CloudEndureCloudCredentials**](CloudEndureCloudCredentials.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to Model list]](API_README.md#documentation-for-models) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureAccount.md b/docs/CloudEndureAccount.md deleted file mode 100644 index d650acbcc..000000000 --- a/docs/CloudEndureAccount.md +++ /dev/null @@ -1,23 +0,0 @@ -# CloudEndureAccount - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**invite_token_expiry_minutes** | **int** | | [optional] -**allow_archiving_default_value** | **bool** | | [optional] -**per_account_user_pool** | **bool** | | [optional] -**is_gcp_self_service** | **bool** | | [optional] -**is_dr_trial** | **bool** | | [optional] -**is_arm_self_service** | **bool** | | [optional] -**is_aws_self_service** | **bool** | | [optional] -**saml_settings** | [**CloudEndureSamlSettings**](CloudEndureSamlSettings.md) | | [optional] -**is_right_sizing_enabled** | **bool** | | [optional] -**default_license_type** | **str** | | [optional] -**max_projects_allowed** | **int** | | [optional] -**ce_admin_properties** | **object** | For internal use. | [optional] -**owner_id** | **str** | Account Owner (a User) | [optional] -**is_med_one** | **bool** | | [optional] -**id** | **str** | UUID of the account | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureAccountRequest.md b/docs/CloudEndureAccountRequest.md deleted file mode 100644 index f921621eb..000000000 --- a/docs/CloudEndureAccountRequest.md +++ /dev/null @@ -1,13 +0,0 @@ -# CloudEndureAccountRequest - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | [optional] -**request_type** | **str** | | [optional] -**email** | **str** | | [optional] -**request_link** | **str** | | [optional] -**registration_token** | **str** | | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureAccountRequestList.md b/docs/CloudEndureAccountRequestList.md deleted file mode 100644 index a1afc8eaf..000000000 --- a/docs/CloudEndureAccountRequestList.md +++ /dev/null @@ -1,9 +0,0 @@ -# CloudEndureAccountRequestList - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**items** | [**list[CloudEndureAccountRequest]**](CloudEndureAccountRequest.md) | | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureAccountsList.md b/docs/CloudEndureAccountsList.md deleted file mode 100644 index c3f54479e..000000000 --- a/docs/CloudEndureAccountsList.md +++ /dev/null @@ -1,9 +0,0 @@ -# CloudEndureAccountsList - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**items** | [**list[CloudEndureAccount]**](CloudEndureAccount.md) | | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureAgentNextReplicationInitRequest.md b/docs/CloudEndureAgentNextReplicationInitRequest.md deleted file mode 100644 index 72c2e574e..000000000 --- a/docs/CloudEndureAgentNextReplicationInitRequest.md +++ /dev/null @@ -1,9 +0,0 @@ -# CloudEndureAgentNextReplicationInitRequest - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**duration_from_now** | **str** | | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureAllProjectFeatures.md b/docs/CloudEndureAllProjectFeatures.md deleted file mode 100644 index 1c0f721de..000000000 --- a/docs/CloudEndureAllProjectFeatures.md +++ /dev/null @@ -1,40 +0,0 @@ -# CloudEndureAllProjectFeatures - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**google** | **bool** | | [optional] -**is_demo** | **bool** | | [optional] -**windows_converters** | **bool** | | [optional] -**force_reversed_handshake_direction** | **bool** | | [optional] -**no_converters** | **bool** | | [optional] -**vio** | **bool** | | [optional] -**no_cloud** | **bool** | | [optional] -**consistent_snapshot_creation_interval_min** | **int** | | [optional] -**no_public_ips** | **bool** | | [optional] -**daily_pit_number** | **int** | | [optional] -**mtu_size** | **int** | | [optional] -**allow_byol_on_dedicated_instance** | **bool** | | [optional] -**max_converter_volumes** | **int** | | [optional] -**azurearm** | **bool** | | [optional] -**vcenter** | **bool** | | [optional] -**subnet_filter** | **str** | | [optional] -**no_snapshot_considered_lag_milliseconds** | **int** | | [optional] -**no_converters_windows** | **bool** | | [optional] -**disable_replica_creation** | **bool** | | [optional] -**aws** | **bool** | | [optional] -**max_replicator_volumes** | **int** | | [optional] -**allow_recovery_plans** | **bool** | | [optional] -**snapshot_creation_interval_min** | **int** | | [optional] -**snapshot_on_demand_timeout** | **int** | | [optional] -**allow_archiving** | **bool** | | [optional] -**custom_replicator_instance_type** | **str** | | [optional] -**disable_snapshot_on_demand** | **bool** | | [optional] -**disable_install** | **bool** | | [optional] -**hdd** | **bool** | | [optional] -**snapshot_creation_interval_max** | **int** | | [optional] -**ce_admin_properties** | **object** | For internal use. | [optional] -**azure** | **bool** | | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureAuditLog.md b/docs/CloudEndureAuditLog.md deleted file mode 100644 index 099150170..000000000 --- a/docs/CloudEndureAuditLog.md +++ /dev/null @@ -1,10 +0,0 @@ -# CloudEndureAuditLog - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**items** | [**list[CloudEndureAuditLogEntry]**](CloudEndureAuditLogEntry.md) | | [optional] -**has_more_results** | **bool** | AuditLog API will only return max 1500 entries so this is a way to know if there are more. | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureAuditLogChangedField.md b/docs/CloudEndureAuditLogChangedField.md deleted file mode 100644 index f1835be58..000000000 --- a/docs/CloudEndureAuditLogChangedField.md +++ /dev/null @@ -1,11 +0,0 @@ -# CloudEndureAuditLogChangedField - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**field_name** | **str** | | [optional] -**new_value** | **str** | | [optional] -**old_value** | **str** | | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureAuditLogEntry.md b/docs/CloudEndureAuditLogEntry.md deleted file mode 100644 index ecb3829c0..000000000 --- a/docs/CloudEndureAuditLogEntry.md +++ /dev/null @@ -1,15 +0,0 @@ -# CloudEndureAuditLogEntry - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**username** | **str** | username (typically an email) of user who initiated action (in UI or via API) which resulted in this audit log entry being added. | [optional] -**event_name** | **str** | Unique event name. One of: - replicationConfigurationChanged - blueprintChanged - ... @todo: complete | [optional] -**participating_machines** | **list[object]** | List of machine-identifiers objects. Only present if Audit Log entry relates to one or more machines. | [optional] -**description** | **str** | Long-form human-readable description of Audit Log entry. | [optional] -**changed_fields** | [**list[CloudEndureAuditLogChangedField]**](CloudEndureAuditLogChangedField.md) | Map of fields that have been changed and their old an new values. Only present when eventName is replicationConfigurationChanged or blueprintChanged | [optional] -**timestamp** | **datetime** | RFC 3339 compliant date-time string of when Audit Log entry was created/ event described by audit log entry happened. | [optional] -**job_id** | **str** | ID of Job due to which this log entry was created (only included if log entry is result of a Job) | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureBandwidthThrottling.md b/docs/CloudEndureBandwidthThrottling.md deleted file mode 100644 index 0647b9140..000000000 --- a/docs/CloudEndureBandwidthThrottling.md +++ /dev/null @@ -1,9 +0,0 @@ -# CloudEndureBandwidthThrottling - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**bandwidth_throttling** | **int** | Mbps to use for Data Replication (zero means no throttling). | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureBlueprint.md b/docs/CloudEndureBlueprint.md deleted file mode 100644 index 137bbf022..000000000 --- a/docs/CloudEndureBlueprint.md +++ /dev/null @@ -1,41 +0,0 @@ -# CloudEndureBlueprint - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**iam_role** | **str** | AWS only. Possible values can be fetched from the Region object. | [optional] -**scsi_adapter_type** | **str** | Currently relevant for vCenter cloud only. Possible values can be fetched from the Region object. | [optional] -**public_ip_action** | **str** | Whether to allocate an ephemeral public IP, or not. AS_SUBNET causes CloudEndure to copy this property from the source machine. | [optional] -**machine_name** | **str** | | [optional] -**cpus** | **int** | Number of CPUs per per Target machine; Currently relevant for vCenter cloud only; Max value can be fetched from the maxCpusPerMachine property of the Region object. | [optional] -**security_group_i_ds** | **list[str]** | AWS only. The security groups that will be applied to the target machine. Possible values can be fetched from the Region object. | [optional] -**run_after_launch** | **bool** | AWS only. Whether to power on the launched target machine after launch. True by default. | [optional] -**recommended_private_ip** | **str** | The private IP address recommended for use with this machine. | [optional] -**network_interface** | **str** | | [optional] -**id** | **str** | | [optional] -**mb_ram** | **int** | MB RAM per Target machine; Currently relevant for vCenter cloud only; Max value can be fetched from the maxMbRamPerMachine property of the Region object. | [optional] -**instance_type** | **str** | Possible values can be fetched from the Region object, plus special values \"COPY_ORIGIN\" or \"CUSTOM\" | [optional] -**subnet_i_ds** | **list[str]** | AWS only. Configures a subnets in which the instance network interface will take part. Possible values can be fetched from the Region object. | [optional] -**cores_per_cpu** | **int** | Number of CPU cores per CPU in Target machine; Currently relevant for vCenter cloud only. | [optional] -**recommended_instance_type** | **str** | When instance rightsizing is enabled, the instance type suitable for the source machine's HW | [optional] -**static_ip** | **str** | Possible values can be fetched from the Region object. | [optional] -**tags** | **list[object]** | AWS only. Tags that will be applied to the target machine. | [optional] -**security_group_action** | **str** | How to assign a security group to the target machine. | [optional] -**private_i_ps** | **list[str]** | | [optional] -**tenancy** | **str** | | [optional] -**compute_location_id** | **str** | todo | [optional] -**subnets_host_project** | **str** | GCP only. Host project for cross project network subnet. | [optional] -**logical_location_id** | **str** | vcenter = vmFolder; relates to $ref LogicalLocation | [optional] -**network_adapter_type** | **str** | Currently relevant for vCenter cloud only. Possible values can be fetched from the Region object. | [optional] -**byol_on_dedicated_instance** | **bool** | specifies whether to use byol windows license if dedicated instance tenancy is selected. | [optional] -**placement_group** | **str** | AWS only. Possible values can be fetched from the Region object. | [optional] -**machine_id** | **str** | | [optional] -**region** | **str** | | [optional] -**disks** | **list[object]** | AWS only. Target machine disk properties. | [optional] -**private_ip_action** | **str** | | [optional] -**static_ip_action** | **str** | | [optional] -**dedicated_host_identifier** | **str** | | [optional] -**use_shared_ram** | **bool** | todo | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureBlueprintList.md b/docs/CloudEndureBlueprintList.md deleted file mode 100644 index db17e4989..000000000 --- a/docs/CloudEndureBlueprintList.md +++ /dev/null @@ -1,9 +0,0 @@ -# CloudEndureBlueprintList - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**items** | [**list[CloudEndureBlueprint]**](CloudEndureBlueprint.md) | | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureCloud.md b/docs/CloudEndureCloud.md deleted file mode 100644 index e0cb6f573..000000000 --- a/docs/CloudEndureCloud.md +++ /dev/null @@ -1,11 +0,0 @@ -# CloudEndureCloud - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | [optional] -**roles** | **list[str]** | | [optional] -**name** | **str** | | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureCloudCredentials.md b/docs/CloudEndureCloudCredentials.md deleted file mode 100644 index 06fd482bf..000000000 --- a/docs/CloudEndureCloudCredentials.md +++ /dev/null @@ -1,13 +0,0 @@ -# CloudEndureCloudCredentials - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | [optional] -**public_key** | **str** | The public part of the Cloud credentials. For AWS - access key ID; for GCP - user email; for Azure - SHA1 digestion of the certificate file. | [optional] -**account_identifier** | **str** | An ID provided by the cloud for the user account. | [optional] -**cloud** | **str** | | [optional] -**name** | **str** | An optional (can be empty), user provided, descriptive name. | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureCloudCredentialsList.md b/docs/CloudEndureCloudCredentialsList.md deleted file mode 100644 index 4029d084e..000000000 --- a/docs/CloudEndureCloudCredentialsList.md +++ /dev/null @@ -1,9 +0,0 @@ -# CloudEndureCloudCredentialsList - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**items** | [**list[CloudEndureCloudCredentials]**](CloudEndureCloudCredentials.md) | | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureCloudCredentialsRequest.md b/docs/CloudEndureCloudCredentialsRequest.md deleted file mode 100644 index 0c15dd12d..000000000 --- a/docs/CloudEndureCloudCredentialsRequest.md +++ /dev/null @@ -1,14 +0,0 @@ -# CloudEndureCloudCredentialsRequest - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**public_key** | **str** | The public part of the Cloud credentials. For AWS - The access key ID, For GCP and Azure - N/A. | [optional] -**name** | **str** | An optional (can be empty), user provided, descriptive name. | [optional] -**cloud_id** | **str** | | -**private_key** | **str** | Cloud credentials secret. For AWS - The secret access key, For GCP - The private key in JSON format, For Azure - The certificate file. | [optional] -**account_identifier** | **str** | Cloud account identifier. For AWS - N/A, For GCP - The project ID, For Azure - The subscription ID. | [optional] -**id** | **str** | | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureCloudsList.md b/docs/CloudEndureCloudsList.md deleted file mode 100644 index 05dacd878..000000000 --- a/docs/CloudEndureCloudsList.md +++ /dev/null @@ -1,9 +0,0 @@ -# CloudEndureCloudsList - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**items** | [**list[CloudEndureCloud]**](CloudEndureCloud.md) | | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureComputeLocation.md b/docs/CloudEndureComputeLocation.md deleted file mode 100644 index 253601518..000000000 --- a/docs/CloudEndureComputeLocation.md +++ /dev/null @@ -1,11 +0,0 @@ -# CloudEndureComputeLocation - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**is_encryption_supported** | **bool** | | [optional] -**location_id** | **str** | | [optional] -**name** | **str** | | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureConfigurations.md b/docs/CloudEndureConfigurations.md deleted file mode 100644 index 03e7bccf1..000000000 --- a/docs/CloudEndureConfigurations.md +++ /dev/null @@ -1,10 +0,0 @@ -# CloudEndureConfigurations - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **str** | | [optional] -**value** | **str** | | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureConfigurationsList.md b/docs/CloudEndureConfigurationsList.md deleted file mode 100644 index b45624945..000000000 --- a/docs/CloudEndureConfigurationsList.md +++ /dev/null @@ -1,9 +0,0 @@ -# CloudEndureConfigurationsList - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**items** | [**list[CloudEndureConfigurations]**](CloudEndureConfigurations.md) | | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureError.md b/docs/CloudEndureError.md deleted file mode 100644 index c4b513123..000000000 --- a/docs/CloudEndureError.md +++ /dev/null @@ -1,10 +0,0 @@ -# CloudEndureError - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**message** | **str** | | [optional] -**code** | **str** | | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureExtendedAccountInfo.md b/docs/CloudEndureExtendedAccountInfo.md deleted file mode 100644 index 3011fd753..000000000 --- a/docs/CloudEndureExtendedAccountInfo.md +++ /dev/null @@ -1,16 +0,0 @@ -# CloudEndureExtendedAccountInfo - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**account** | [**CloudEndureAccount**](CloudEndureAccount.md) | | [optional] -**clouds** | [**CloudEndureCloudsList**](CloudEndureCloudsList.md) | | [optional] -**generic_region** | [**CloudEndureRegion**](CloudEndureRegion.md) | | [optional] -**date_time** | [**CloudEndureTime**](CloudEndureTime.md) | | [optional] -**user** | [**CloudEndureUser**](CloudEndureUser.md) | | [optional] -**projects** | [**CloudEndureProjectsList**](CloudEndureProjectsList.md) | | [optional] -**is_newly_registered** | **bool** | | [optional] -**replication_configurations** | [**CloudEndureReplicationConfigurationList**](CloudEndureReplicationConfigurationList.md) | | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureFindFilesParameters.md b/docs/CloudEndureFindFilesParameters.md deleted file mode 100644 index 558a99956..000000000 --- a/docs/CloudEndureFindFilesParameters.md +++ /dev/null @@ -1,10 +0,0 @@ -# CloudEndureFindFilesParameters - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**query** | **str** | | -**machine_i_ds** | **list[str]** | | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureFindFilesResult.md b/docs/CloudEndureFindFilesResult.md deleted file mode 100644 index 9e65a7949..000000000 --- a/docs/CloudEndureFindFilesResult.md +++ /dev/null @@ -1,11 +0,0 @@ -# CloudEndureFindFilesResult - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**machine_id** | **str** | | -**points_in_time** | **object** | | [optional] -**file_path** | **str** | | - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureFindFilesResultPit.md b/docs/CloudEndureFindFilesResultPit.md deleted file mode 100644 index 9c2fa8f16..000000000 --- a/docs/CloudEndureFindFilesResultPit.md +++ /dev/null @@ -1,10 +0,0 @@ -# CloudEndureFindFilesResultPit - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**date_time** | **datetime** | | - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureFindFilesResults.md b/docs/CloudEndureFindFilesResults.md deleted file mode 100644 index 5b86aeca5..000000000 --- a/docs/CloudEndureFindFilesResults.md +++ /dev/null @@ -1,12 +0,0 @@ -# CloudEndureFindFilesResults - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**count** | **int** | | -**query** | **str** | | -**items** | [**list[CloudEndureFindFilesResult]**](CloudEndureFindFilesResult.md) | | [optional] -**invalid_machine_i_ds** | **list[str]** | | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureGcpMachinesFinanceData.md b/docs/CloudEndureGcpMachinesFinanceData.md deleted file mode 100644 index 3cd57a105..000000000 --- a/docs/CloudEndureGcpMachinesFinanceData.md +++ /dev/null @@ -1,16 +0,0 @@ -# CloudEndureGcpMachinesFinanceData - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**gcp_project_name** | **str** | | [optional] -**machine_name** | **str** | | [optional] -**number_of_cores** | **int** | | [optional] -**creation_time** | **datetime** | | [optional] -**is_preemptible** | **bool** | | [optional] -**has_gpu** | **bool** | | [optional] -**machine_id** | **str** | | [optional] -**ce_project_name** | **str** | | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureIdentityProviderRedirectResponse.md b/docs/CloudEndureIdentityProviderRedirectResponse.md deleted file mode 100644 index 897c9b98c..000000000 --- a/docs/CloudEndureIdentityProviderRedirectResponse.md +++ /dev/null @@ -1,9 +0,0 @@ -# CloudEndureIdentityProviderRedirectResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**saml_redirect** | **str** | | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureInitializationStep.md b/docs/CloudEndureInitializationStep.md deleted file mode 100644 index d6b2bb738..000000000 --- a/docs/CloudEndureInitializationStep.md +++ /dev/null @@ -1,11 +0,0 @@ -# CloudEndureInitializationStep - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | **str** | | [optional] -**message** | **str** | | [optional] -**name** | **str** | | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureJob.md b/docs/CloudEndureJob.md deleted file mode 100644 index a1f519f22..000000000 --- a/docs/CloudEndureJob.md +++ /dev/null @@ -1,16 +0,0 @@ -# CloudEndureJob - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | **str** | | [optional] -**participating_machines** | **list[str]** | | [optional] -**log** | **list[object]** | | [optional] -**type** | **str** | todo explian that cleanup is also for restore servers | [optional] -**end_date_time** | **datetime** | | [optional] -**creation_date_time** | **datetime** | | [optional] -**id** | **str** | | [optional] -**initiated_by** | **str** | username of user who initiated the job | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureJobsList.md b/docs/CloudEndureJobsList.md deleted file mode 100644 index 9259c8bfd..000000000 --- a/docs/CloudEndureJobsList.md +++ /dev/null @@ -1,9 +0,0 @@ -# CloudEndureJobsList - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**items** | [**list[CloudEndureJob]**](CloudEndureJob.md) | | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureKeyValueList.md b/docs/CloudEndureKeyValueList.md deleted file mode 100644 index 010b14ca1..000000000 --- a/docs/CloudEndureKeyValueList.md +++ /dev/null @@ -1,9 +0,0 @@ -# CloudEndureKeyValueList - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**items** | **list[object]** | | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureLaunchMachinesParameters.md b/docs/CloudEndureLaunchMachinesParameters.md deleted file mode 100644 index 61c76a0d1..000000000 --- a/docs/CloudEndureLaunchMachinesParameters.md +++ /dev/null @@ -1,11 +0,0 @@ -# CloudEndureLaunchMachinesParameters - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**items** | [**list[CloudEndureMachineAndPointInTime]**](CloudEndureMachineAndPointInTime.md) | | [optional] -**launch_type** | **str** | | -**debug_scripts** | **object** | | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureLicense.md b/docs/CloudEndureLicense.md deleted file mode 100644 index 34cfab425..000000000 --- a/docs/CloudEndureLicense.md +++ /dev/null @@ -1,16 +0,0 @@ -# CloudEndureLicense - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**count** | **int** | The total number of licenses. | [optional] -**duration_from_start_of_use** | **str** | Validity period for a a single license from the time of agent installation. | [optional] -**used** | **int** | How many licenses have already been consumed. | [optional] -**features** | [**CloudEndureLicenseFeatures**](CloudEndureLicenseFeatures.md) | | [optional] -**expiration_date_time** | **datetime** | | [optional] -**ce_admin_properties** | **object** | For internal use. | [optional] -**type** | **str** | License type. DR licenses can be moved from one machine to another. Migration licenses are consumed upon installation. | [optional] -**id** | **str** | | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureLicenseFeatures.md b/docs/CloudEndureLicenseFeatures.md deleted file mode 100644 index c8028e967..000000000 --- a/docs/CloudEndureLicenseFeatures.md +++ /dev/null @@ -1,10 +0,0 @@ -# CloudEndureLicenseFeatures - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**pit** | **bool** | | [optional] -**dr_tier2** | **bool** | | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureLicenseList.md b/docs/CloudEndureLicenseList.md deleted file mode 100644 index 538362a42..000000000 --- a/docs/CloudEndureLicenseList.md +++ /dev/null @@ -1,9 +0,0 @@ -# CloudEndureLicenseList - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**items** | [**list[CloudEndureLicense]**](CloudEndureLicense.md) | | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureListUsersResult.md b/docs/CloudEndureListUsersResult.md deleted file mode 100644 index db6719634..000000000 --- a/docs/CloudEndureListUsersResult.md +++ /dev/null @@ -1,13 +0,0 @@ -# CloudEndureListUsersResult - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**username** | **str** | | [optional] -**is_account_owner** | **bool** | | [optional] -**state** | **str** | | [optional] -**version** | **str** | | [optional] -**account_uuid** | **str** | | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureListUsersResults.md b/docs/CloudEndureListUsersResults.md deleted file mode 100644 index cf08d5292..000000000 --- a/docs/CloudEndureListUsersResults.md +++ /dev/null @@ -1,9 +0,0 @@ -# CloudEndureListUsersResults - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**items** | [**list[CloudEndureListUsersResult]**](CloudEndureListUsersResult.md) | | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureLogicalLocation.md b/docs/CloudEndureLogicalLocation.md deleted file mode 100644 index 1155fca06..000000000 --- a/docs/CloudEndureLogicalLocation.md +++ /dev/null @@ -1,10 +0,0 @@ -# CloudEndureLogicalLocation - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**location_id** | **str** | | [optional] -**name** | **str** | | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureMachine.md b/docs/CloudEndureMachine.md deleted file mode 100644 index df75d55af..000000000 --- a/docs/CloudEndureMachine.md +++ /dev/null @@ -1,20 +0,0 @@ -# CloudEndureMachine - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**source_properties** | **object** | Source machine properties. | [optional] -**replication_info** | **object** | Detailed information on the state of replication. | [optional] -**license** | **object** | Detailed machine license consumption information. | [optional] -**tags** | **list[str]** | | [optional] -**restore_servers** | **list[str]** | todo restoreServer ids | [optional] -**from_point_in_time** | [**CloudEndurePointInTime**](CloudEndurePointInTime.md) | | [optional] -**replication_status** | **str** | Is replication started, paused or stopped | [optional] -**replica** | **str** | The ID of the target machine that has been previously launched, if such exists. | [optional] -**id** | **str** | | [optional] -**replication_configuration** | [**CloudEndureMachineReplicationConfiguration**](CloudEndureMachineReplicationConfiguration.md) | | [optional] -**life_cycle** | **object** | Detailed machine lifecycle information. | [optional] -**is_agent_installed** | **bool** | Whether a CloudEndure agent is currently installed on this machine. | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureMachineAndPathAndPointInTime.md b/docs/CloudEndureMachineAndPathAndPointInTime.md deleted file mode 100644 index 6ae1d793b..000000000 --- a/docs/CloudEndureMachineAndPathAndPointInTime.md +++ /dev/null @@ -1,11 +0,0 @@ -# CloudEndureMachineAndPathAndPointInTime - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**machine_id** | **str** | | -**point_in_time_id** | **str** | | [optional] -**file_path** | **str** | | - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureMachineAndPointInTime.md b/docs/CloudEndureMachineAndPointInTime.md deleted file mode 100644 index d335bf69c..000000000 --- a/docs/CloudEndureMachineAndPointInTime.md +++ /dev/null @@ -1,10 +0,0 @@ -# CloudEndureMachineAndPointInTime - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**machine_id** | **str** | A source machine to launch a target machine for. | -**point_in_time_id** | **str** | The ID of the pointInTime to launch a target machine from. If omitted, CloudEndure will use the latest pointInTime. | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureMachineReplicationConfiguration.md b/docs/CloudEndureMachineReplicationConfiguration.md deleted file mode 100644 index 4a3a76440..000000000 --- a/docs/CloudEndureMachineReplicationConfiguration.md +++ /dev/null @@ -1,25 +0,0 @@ -# CloudEndureMachineReplicationConfiguration - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**volume_encryption_key** | **str** | AWS only. ARN to private key for Volume Encryption. Possible values can be fetched from the Region object. | [optional] -**replication_tags** | **list[object]** | AWS only. Tags that will be applied to every cloud resource created in the CloudEndure Staging Area. | [optional] -**subnet_host_project** | **str** | GCP only. Host project of cross project network subnet. | [optional] -**replication_server_type** | **str** | | [optional] -**compute_location_id** | **str** | todo vcenter only | [optional] -**subnet_id** | **str** | Subnet where replication servers will be created. Possible values can be fetched from the Region object. | [optional] -**logical_location_id** | **str** | vcenter = vmFolder | [optional] -**bandwidth_throttling** | **int** | Mbps to use for Data Replication (zero means no throttling). | [optional] -**storage_location_id** | **str** | @todo backend creates cloudendure bla bla storage account upon need (empty string). | [optional] -**use_dedicated_server** | **bool** | | [optional] -**zone** | **str** | Relevant for GCP and Azure ARM. The Zone to replicate into. | [optional] -**replicator_security_group_i_ds** | **list[str]** | AWS only. The security groups that will be applied to the replication servers. Possible values can be fetched from the Region object. | [optional] -**use_private_ip** | **bool** | Should the CloudEndure agent access the replication server using its private IP address. | [optional] -**proxy_url** | **str** | The full URI for a proxy (schema, username, password, domain, port) if required for the CloudEndure agent. | [optional] -**volume_encryption_allowed** | **bool** | todo AWS only... not relevant for Backup Projects because EBS is not used | [optional] -**archiving_enabled** | **bool** | | [optional] -**object_storage_location** | **str** | bucket in aws | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureMachineSnapshotCredits.md b/docs/CloudEndureMachineSnapshotCredits.md deleted file mode 100644 index 677924f03..000000000 --- a/docs/CloudEndureMachineSnapshotCredits.md +++ /dev/null @@ -1,9 +0,0 @@ -# CloudEndureMachineSnapshotCredits - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**credits** | **int** | Mbps to use for Data Replication (zero means no throttling). | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureMachineThrottleTimeSeconds.md b/docs/CloudEndureMachineThrottleTimeSeconds.md deleted file mode 100644 index d1542a8ea..000000000 --- a/docs/CloudEndureMachineThrottleTimeSeconds.md +++ /dev/null @@ -1,9 +0,0 @@ -# CloudEndureMachineThrottleTimeSeconds - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**credits** | **int** | time to throttle the machine in seconds | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureMachinesList.md b/docs/CloudEndureMachinesList.md deleted file mode 100644 index 2d5d5411d..000000000 --- a/docs/CloudEndureMachinesList.md +++ /dev/null @@ -1,9 +0,0 @@ -# CloudEndureMachinesList - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**items** | [**list[CloudEndureMachine]**](CloudEndureMachine.md) | | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureMachinesListInvalidIDsAndJob.md b/docs/CloudEndureMachinesListInvalidIDsAndJob.md deleted file mode 100644 index b88912b8f..000000000 --- a/docs/CloudEndureMachinesListInvalidIDsAndJob.md +++ /dev/null @@ -1,11 +0,0 @@ -# CloudEndureMachinesListInvalidIDsAndJob - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**items** | [**list[CloudEndureMachine]**](CloudEndureMachine.md) | | [optional] -**job** | [**CloudEndureJob**](CloudEndureJob.md) | | [optional] -**invalid_machine_i_ds** | **list[str]** | The IDs of the machines for which the operation failed. | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureNetworkInterface.md b/docs/CloudEndureNetworkInterface.md deleted file mode 100644 index 181da8fb5..000000000 --- a/docs/CloudEndureNetworkInterface.md +++ /dev/null @@ -1,11 +0,0 @@ -# CloudEndureNetworkInterface - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**subnet_id** | **str** | | [optional] -**name** | **str** | | [optional] -**private_ip** | **str** | | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndurePointInTime.md b/docs/CloudEndurePointInTime.md deleted file mode 100644 index 62110e9af..000000000 --- a/docs/CloudEndurePointInTime.md +++ /dev/null @@ -1,10 +0,0 @@ -# CloudEndurePointInTime - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | [optional] -**date_time** | **datetime** | Timestamp for this Recovery Point. A NULL value signifies there is no later point available. | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndurePointInTimeList.md b/docs/CloudEndurePointInTimeList.md deleted file mode 100644 index b624f6461..000000000 --- a/docs/CloudEndurePointInTimeList.md +++ /dev/null @@ -1,9 +0,0 @@ -# CloudEndurePointInTimeList - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**items** | [**list[CloudEndurePointInTime]**](CloudEndurePointInTime.md) | | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureProject.md b/docs/CloudEndureProject.md deleted file mode 100644 index 1b75ca263..000000000 --- a/docs/CloudEndureProject.md +++ /dev/null @@ -1,23 +0,0 @@ -# CloudEndureProject - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**target_cloud_id** | **str** | | [optional] -**agent_installation_token** | **str** | | [optional] -**name** | **str** | | [optional] -**users_i_ds** | **list[str]** | todo empty array unless AO or ce admin | [optional] -**type** | **str** | | [optional] -**replication_reversed** | **bool** | | [optional] -**source_cloud_credentials_id** | **str** | | [optional] -**cloud_credentials_i_ds** | **list[str]** | The IDs of the cloud credentials to use (array of one). | [optional] -**source_region** | **str** | The ID of the region to use as source. | [optional] -**licenses_i_ds** | **list[str]** | The IDs of the licenses associated with this project (array of one). | [optional] -**ce_admin_properties** | **object** | For internal use. | [optional] -**replication_configuration** | **str** | The ID of the replication configuration object to use (corresponding to the ones available in /projects/{projectId}/replicationConfigurations). | [optional] -**source_cloud_id** | **str** | | [optional] -**id** | **str** | | [optional] -**features** | **object** | | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureProjectStorage.md b/docs/CloudEndureProjectStorage.md deleted file mode 100644 index 13ba4eba9..000000000 --- a/docs/CloudEndureProjectStorage.md +++ /dev/null @@ -1,13 +0,0 @@ -# CloudEndureProjectStorage - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**project_id** | **str** | | [optional] -**points_in_time_total_bytes** | **int** | | [optional] -**running_machines_total_bytes** | **int** | | [optional] -**working_storage** | **object** | | [optional] -**calculation_date_time** | **datetime** | | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureProjectsAndUsers.md b/docs/CloudEndureProjectsAndUsers.md deleted file mode 100644 index bd4261a88..000000000 --- a/docs/CloudEndureProjectsAndUsers.md +++ /dev/null @@ -1,9 +0,0 @@ -# CloudEndureProjectsAndUsers - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**items** | **list[object]** | | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureProjectsList.md b/docs/CloudEndureProjectsList.md deleted file mode 100644 index 7dc472030..000000000 --- a/docs/CloudEndureProjectsList.md +++ /dev/null @@ -1,9 +0,0 @@ -# CloudEndureProjectsList - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**items** | [**list[CloudEndureProject]**](CloudEndureProject.md) | | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureRecoveryPlan.md b/docs/CloudEndureRecoveryPlan.md deleted file mode 100644 index f605979a5..000000000 --- a/docs/CloudEndureRecoveryPlan.md +++ /dev/null @@ -1,11 +0,0 @@ -# CloudEndureRecoveryPlan - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**steps** | [**CloudEndureRecoveryPlanSteps**](CloudEndureRecoveryPlanSteps.md) | | [optional] -**id** | **str** | | [optional] -**name** | **str** | | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureRecoveryPlanList.md b/docs/CloudEndureRecoveryPlanList.md deleted file mode 100644 index 4a25285c9..000000000 --- a/docs/CloudEndureRecoveryPlanList.md +++ /dev/null @@ -1,9 +0,0 @@ -# CloudEndureRecoveryPlanList - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**items** | [**list[CloudEndureRecoveryPlan]**](CloudEndureRecoveryPlan.md) | | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureRecoveryPlanStep.md b/docs/CloudEndureRecoveryPlanStep.md deleted file mode 100644 index 6b4553c26..000000000 --- a/docs/CloudEndureRecoveryPlanStep.md +++ /dev/null @@ -1,11 +0,0 @@ -# CloudEndureRecoveryPlanStep - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**machine_i_ds** | **list[str]** | | [optional] -**wait_before** | **str** | | [optional] -**name** | **str** | | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureRecoveryPlanSteps.md b/docs/CloudEndureRecoveryPlanSteps.md deleted file mode 100644 index 9db218900..000000000 --- a/docs/CloudEndureRecoveryPlanSteps.md +++ /dev/null @@ -1,9 +0,0 @@ -# CloudEndureRecoveryPlanSteps - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**items** | [**list[CloudEndureRecoveryPlanStep]**](CloudEndureRecoveryPlanStep.md) | | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureRegion.md b/docs/CloudEndureRegion.md deleted file mode 100644 index 269c60368..000000000 --- a/docs/CloudEndureRegion.md +++ /dev/null @@ -1,29 +0,0 @@ -# CloudEndureRegion - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**subnets** | [**list[CloudEndureSubnet]**](CloudEndureSubnet.md) | | [optional] -**placement_groups** | **list[str]** | | [optional] -**scsi_adapter_types** | **list[str]** | todo | [optional] -**instance_types** | **list[str]** | | [optional] -**zones** | **list[str]** | | [optional] -**volume_encryption_keys** | **list[str]** | | [optional] -**cloud** | **str** | | [optional] -**security_groups** | [**list[CloudEndureSecurityGroup]**](CloudEndureSecurityGroup.md) | | [optional] -**logical_locations** | [**list[CloudEndureLogicalLocation]**](CloudEndureLogicalLocation.md) | | [optional] -**static_ips** | **list[str]** | | [optional] -**max_cpus_per_machine** | **int** | Maximum CPUs per per Target machine (currently relevant for vCenter cloud only) | [optional] -**network_interfaces** | [**list[CloudEndureNetworkInterface]**](CloudEndureNetworkInterface.md) | | [optional] -**compute_locations** | [**list[CloudEndureComputeLocation]**](CloudEndureComputeLocation.md) | Compute location (e.g. vCenter Host) | [optional] -**name** | **str** | | [optional] -**storage_locations** | [**list[CloudEndureStorageLocation]**](CloudEndureStorageLocation.md) | Storage location (e.g. Azure Storage Account, vCenter Data Store) | [optional] -**iam_roles** | **list[str]** | | [optional] -**id** | **str** | | [optional] -**max_cores_per_machine_cpu** | **int** | Maximum CPU cores per CPU in Target machines (currently relevant for vCenter cloud only) | [optional] -**dedicated_hosts** | **list[str]** | | [optional] -**network_adapter_types** | **list[str]** | todo | [optional] -**max_mb_ram_per_machine** | **int** | Maximum MB RAM per Target machine (currently relevant for vCenter cloud only) | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureRegionsList.md b/docs/CloudEndureRegionsList.md deleted file mode 100644 index dfb790df3..000000000 --- a/docs/CloudEndureRegionsList.md +++ /dev/null @@ -1,9 +0,0 @@ -# CloudEndureRegionsList - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**items** | [**list[CloudEndureRegion]**](CloudEndureRegion.md) | | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureReplica.md b/docs/CloudEndureReplica.md deleted file mode 100644 index 8c9efb084..000000000 --- a/docs/CloudEndureReplica.md +++ /dev/null @@ -1,17 +0,0 @@ -# CloudEndureReplica - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**machine** | **str** | The ID of the source machine for this target machine. | [optional] -**cloud_endure_creation_date_time** | **datetime** | Timestamp for launching this target machine. | [optional] -**name** | **str** | Target machine name in the target environment. | [optional] -**point_in_time** | **str** | The ID of the pointInTime object from which this target machine was created. | [optional] -**machine_cloud_state** | **str** | Target machine state in the target environment. | [optional] -**public_ips** | **list[str]** | Static (non-ephemral) public IPs. On some clouds this also includes ephemeral IPs. | [optional] -**region_id** | **str** | The ID of the region where this target machine has been launched. | [optional] -**id** | **str** | | [optional] -**machine_cloud_id** | **str** | Target machine ID in the target environment. | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureReplicationConfiguration.md b/docs/CloudEndureReplicationConfiguration.md deleted file mode 100644 index 693ae60e3..000000000 --- a/docs/CloudEndureReplicationConfiguration.md +++ /dev/null @@ -1,28 +0,0 @@ -# CloudEndureReplicationConfiguration - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**volume_encryption_key** | **str** | AWS only. ARN to private key for Volume Encryption. Possible values can be fetched from the Region object. | [optional] -**replication_tags** | **list[object]** | AWS only. Tags that will be applied to every cloud resource created in the CloudEndure Staging Area. | [optional] -**subnet_host_project** | **str** | GCP only. Host project of cross project network subnet. | [optional] -**replication_server_type** | **str** | | [optional] -**compute_location_id** | **str** | todo vcenter only | [optional] -**cloud_credentials** | **str** | The ID for the cloudCredentials object containing the credentials to be used for accessing the target cloud. | [optional] -**subnet_id** | **str** | Subnet where replication servers will be created. Possible values can be fetched from the Region object. | [optional] -**logical_location_id** | **str** | vcenter = vmFolder | [optional] -**bandwidth_throttling** | **int** | Mbps to use for Data Replication (zero means no throttling). | [optional] -**storage_location_id** | **str** | @todo backend creates cloudendure bla bla storage account upon need (empty string). | [optional] -**use_dedicated_server** | **bool** | | [optional] -**zone** | **str** | Relevant for GCP and Azure ARM. The Zone to replicate into. | [optional] -**replicator_security_group_i_ds** | **list[str]** | AWS only. The security groups that will be applied to the replication servers. Possible values can be fetched from the Region object. | [optional] -**use_private_ip** | **bool** | Should the CloudEndure agent access the replication server using its private IP address. | [optional] -**region** | **str** | | [optional] -**id** | **str** | | [optional] -**proxy_url** | **str** | The full URI for a proxy (schema, username, password, domain, port) if required for the CloudEndure agent. | [optional] -**volume_encryption_allowed** | **bool** | todo | [optional] -**archiving_enabled** | **bool** | | [optional] -**object_storage_location** | **str** | bucket in aws | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureReplicationConfigurationList.md b/docs/CloudEndureReplicationConfigurationList.md deleted file mode 100644 index 1d0f676ac..000000000 --- a/docs/CloudEndureReplicationConfigurationList.md +++ /dev/null @@ -1,9 +0,0 @@ -# CloudEndureReplicationConfigurationList - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**items** | [**list[CloudEndureReplicationConfiguration]**](CloudEndureReplicationConfiguration.md) | | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureReplicationServerConfig.md b/docs/CloudEndureReplicationServerConfig.md deleted file mode 100644 index 2a992cb62..000000000 --- a/docs/CloudEndureReplicationServerConfig.md +++ /dev/null @@ -1,9 +0,0 @@ -# CloudEndureReplicationServerConfig - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**volumes** | **list[object]** | | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureRestoreFilesParameters.md b/docs/CloudEndureRestoreFilesParameters.md deleted file mode 100644 index 2a4143fcc..000000000 --- a/docs/CloudEndureRestoreFilesParameters.md +++ /dev/null @@ -1,9 +0,0 @@ -# CloudEndureRestoreFilesParameters - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**items** | [**list[CloudEndureMachineAndPathAndPointInTime]**](CloudEndureMachineAndPathAndPointInTime.md) | | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureSamlSettings.md b/docs/CloudEndureSamlSettings.md deleted file mode 100644 index 6333df38e..000000000 --- a/docs/CloudEndureSamlSettings.md +++ /dev/null @@ -1,11 +0,0 @@ -# CloudEndureSamlSettings - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**identity_provider_certificate** | **str** | | [optional] -**identity_provider_url** | **str** | | [optional] -**identity_provider_id** | **str** | | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureSecurityGroup.md b/docs/CloudEndureSecurityGroup.md deleted file mode 100644 index 04886f1e4..000000000 --- a/docs/CloudEndureSecurityGroup.md +++ /dev/null @@ -1,11 +0,0 @@ -# CloudEndureSecurityGroup - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**network_id** | **str** | | [optional] -**security_group_id** | **str** | | [optional] -**name** | **str** | | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureStorageLocation.md b/docs/CloudEndureStorageLocation.md deleted file mode 100644 index 38e40386f..000000000 --- a/docs/CloudEndureStorageLocation.md +++ /dev/null @@ -1,10 +0,0 @@ -# CloudEndureStorageLocation - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**location_id** | **str** | | [optional] -**name** | **str** | | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureSubnet.md b/docs/CloudEndureSubnet.md deleted file mode 100644 index a6cea0d1b..000000000 --- a/docs/CloudEndureSubnet.md +++ /dev/null @@ -1,11 +0,0 @@ -# CloudEndureSubnet - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**subnet_id** | **str** | | [optional] -**network_id** | **str** | | [optional] -**name** | **str** | | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureTime.md b/docs/CloudEndureTime.md deleted file mode 100644 index b3bdc6c60..000000000 --- a/docs/CloudEndureTime.md +++ /dev/null @@ -1,9 +0,0 @@ -# CloudEndureTime - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**date_time** | **datetime** | | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureUpdateableScripts.md b/docs/CloudEndureUpdateableScripts.md deleted file mode 100644 index fc5a3c57c..000000000 --- a/docs/CloudEndureUpdateableScripts.md +++ /dev/null @@ -1,10 +0,0 @@ -# CloudEndureUpdateableScripts - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**result** | **object** | | [optional] -**error** | **str** | | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureUpgradeCounterDelay.md b/docs/CloudEndureUpgradeCounterDelay.md deleted file mode 100644 index 2a6baee9b..000000000 --- a/docs/CloudEndureUpgradeCounterDelay.md +++ /dev/null @@ -1,9 +0,0 @@ -# CloudEndureUpgradeCounterDelay - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**sleep** | **int** | | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureUsage.md b/docs/CloudEndureUsage.md deleted file mode 100644 index bfc3d6fca..000000000 --- a/docs/CloudEndureUsage.md +++ /dev/null @@ -1,12 +0,0 @@ -# CloudEndureUsage - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**start_of_use_date_time** | **datetime** | | [optional] -**cloud_id** | **str** | The ID in the cloud | [optional] -**name** | **str** | The name of the machine. | [optional] -**machine_id** | **str** | | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureUsageList.md b/docs/CloudEndureUsageList.md deleted file mode 100644 index aacee4bbc..000000000 --- a/docs/CloudEndureUsageList.md +++ /dev/null @@ -1,9 +0,0 @@ -# CloudEndureUsageList - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**items** | [**list[CloudEndureUsage]**](CloudEndureUsage.md) | | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureUser.md b/docs/CloudEndureUser.md deleted file mode 100644 index 984077b2c..000000000 --- a/docs/CloudEndureUser.md +++ /dev/null @@ -1,18 +0,0 @@ -# CloudEndureUser - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**username** | **str** | | [optional] -**status** | **str** | | [optional] -**account** | **str** | | [optional] -**roles** | **list[str]** | | [optional] -**settings** | **object** | | [optional] -**api_token** | **str** | | [optional] -**has_password** | **bool** | | [optional] -**terms_accepted** | **bool** | todo one-way; cannot be set at time of POST | [optional] -**id** | **str** | | [optional] -**self_link** | **str** | | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureUserReport.md b/docs/CloudEndureUserReport.md deleted file mode 100644 index 990c81960..000000000 --- a/docs/CloudEndureUserReport.md +++ /dev/null @@ -1,18 +0,0 @@ -# CloudEndureUserReport - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**n_protected_machines** | **int** | | [optional] -**project_name** | **str** | | [optional] -**is_activated** | **bool** | | [optional] -**n_license_usages** | **int** | | [optional] -**gcp_machines_finance_data** | **object** | | [optional] -**total_tested_or_cutover** | **int** | | [optional] -**owner_name** | **str** | | [optional] -**n_lagging_machines** | **int** | | [optional] -**n_active_target_machines** | **int** | | [optional] -**n_test_machines** | **int** | | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureUserReports.md b/docs/CloudEndureUserReports.md deleted file mode 100644 index 449747ba5..000000000 --- a/docs/CloudEndureUserReports.md +++ /dev/null @@ -1,9 +0,0 @@ -# CloudEndureUserReports - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**items** | [**list[CloudEndureUserReport]**](CloudEndureUserReport.md) | | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureUsersAndRoles.md b/docs/CloudEndureUsersAndRoles.md deleted file mode 100644 index 585266cd3..000000000 --- a/docs/CloudEndureUsersAndRoles.md +++ /dev/null @@ -1,9 +0,0 @@ -# CloudEndureUsersAndRoles - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**items** | **list[object]** | | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureUsersList.md b/docs/CloudEndureUsersList.md deleted file mode 100644 index 5f92f45ad..000000000 --- a/docs/CloudEndureUsersList.md +++ /dev/null @@ -1,9 +0,0 @@ -# CloudEndureUsersList - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**items** | [**list[CloudEndureUser]**](CloudEndureUser.md) | | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/CloudEndureVCenterSubnet.md b/docs/CloudEndureVCenterSubnet.md deleted file mode 100644 index 41dd09b1c..000000000 --- a/docs/CloudEndureVCenterSubnet.md +++ /dev/null @@ -1,10 +0,0 @@ -# CloudEndureVCenterSubnet - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**netmask** | **str** | | [optional] -**ip_address** | **str** | | [optional] - -[[Back to Model list]](API_README.md#documentation-for-models) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to README]](API_README.md) - diff --git a/docs/DefaultApi.md b/docs/DefaultApi.md deleted file mode 100644 index 83eaa43ec..000000000 --- a/docs/DefaultApi.md +++ /dev/null @@ -1,533 +0,0 @@ -# cloudendure_api.DefaultApi - -All URIs are relative to *https://console.cloudendure.com/api/latest* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**accounts_account_id_access_get**](DefaultApi.md#accounts_account_id_access_get) | **GET** /accounts/{accountId}/access | get a temporary token by email -[**extended_account_info_get**](DefaultApi.md#extended_account_info_get) | **GET** /extendedAccountInfo | Returns the extended current account information. -[**projects_assign_users_post**](DefaultApi.md#projects_assign_users_post) | **POST** /projects/assignUsers | todo -[**projects_project_id_audit_log_get**](DefaultApi.md#projects_project_id_audit_log_get) | **GET** /projects/{projectId}/auditLog | Get audit log -[**projects_project_id_storage_get**](DefaultApi.md#projects_project_id_storage_get) | **GET** /projects/{projectId}/storage | project's storage -[**projects_remove_users_post**](DefaultApi.md#projects_remove_users_post) | **POST** /projects/removeUsers | todo -[**replace_api_token_post**](DefaultApi.md#replace_api_token_post) | **POST** /replaceApiToken | Replaces API token -[**set_password_post**](DefaultApi.md#set_password_post) | **POST** /setPassword | Set password for invited user -[**users_assign_roles_post**](DefaultApi.md#users_assign_roles_post) | **POST** /users/assignRoles | Add roles to users -[**users_post**](DefaultApi.md#users_post) | **POST** /users | Create a new User -[**users_revoke_roles_post**](DefaultApi.md#users_revoke_roles_post) | **POST** /users/revokeRoles | Add roles to users - -# **accounts_account_id_access_get** -> object accounts_account_id_access_get(account_id, username) - -get a temporary token by email - -get a temporary token by email. Available for account owner when SSO is used - -### Example -```python -from __future__ import print_function -import time -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = cloudendure_api.DefaultApi() -account_id = 'account_id_example' # str | -username = 'username_example' # str | - -try: - # get a temporary token by email - api_response = api_instance.accounts_account_id_access_get(account_id, username) - pprint(api_response) -except ApiException as e: - print("Exception when calling DefaultApi->accounts_account_id_access_get: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **account_id** | **str**| | - **username** | **str**| | - -### Return type - -**object** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to Model list]](API_README.md#documentation-for-models) [[Back to README]](API_README.md) - -# **extended_account_info_get** -> CloudEndureExtendedAccountInfo extended_account_info_get() - -Returns the extended current account information. - -### Example -```python -from __future__ import print_function -import time -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = cloudendure_api.DefaultApi() - -try: - # Returns the extended current account information. - api_response = api_instance.extended_account_info_get() - pprint(api_response) -except ApiException as e: - print("Exception when calling DefaultApi->extended_account_info_get: %s\n" % e) -``` - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**CloudEndureExtendedAccountInfo**](CloudEndureExtendedAccountInfo.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to Model list]](API_README.md#documentation-for-models) [[Back to README]](API_README.md) - -# **projects_assign_users_post** -> projects_assign_users_post(body) - -todo - -todo - -### Example -```python -from __future__ import print_function -import time -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = cloudendure_api.DefaultApi() -body = cloudendure_api.CloudEndureProjectsAndUsers() # CloudEndureProjectsAndUsers | - -try: - # todo - api_instance.projects_assign_users_post(body) -except ApiException as e: - print("Exception when calling DefaultApi->projects_assign_users_post: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**CloudEndureProjectsAndUsers**](CloudEndureProjectsAndUsers.md)| | - -### Return type - -void (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: Not defined - -[[Back to top]](#) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to Model list]](API_README.md#documentation-for-models) [[Back to README]](API_README.md) - -# **projects_project_id_audit_log_get** -> CloudEndureAuditLog projects_project_id_audit_log_get(project_id, limit=limit, from_date_time=from_date_time, to_date_time=to_date_time, format=format) - -Get audit log - -### Example -```python -from __future__ import print_function -import time -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = cloudendure_api.DefaultApi() -project_id = 'project_id_example' # str | -limit = 56 # int | A number specifying how many entries to return. (optional) -from_date_time = '2013-10-20T19:20:30+01:00' # datetime | Used to limit the response to a specific date range. Must be used in conjunction with toDateTime param. (optional) -to_date_time = '2013-10-20T19:20:30+01:00' # datetime | Used to limit the response to a specific date range. Must be used in conjunction with fromDateTime param. (optional) -format = 'format_example' # str | (optional) - -try: - # Get audit log - api_response = api_instance.projects_project_id_audit_log_get(project_id, limit=limit, from_date_time=from_date_time, to_date_time=to_date_time, format=format) - pprint(api_response) -except ApiException as e: - print("Exception when calling DefaultApi->projects_project_id_audit_log_get: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **project_id** | **str**| | - **limit** | **int**| A number specifying how many entries to return. | [optional] - **from_date_time** | **datetime**| Used to limit the response to a specific date range. Must be used in conjunction with toDateTime param. | [optional] - **to_date_time** | **datetime**| Used to limit the response to a specific date range. Must be used in conjunction with fromDateTime param. | [optional] - **format** | **str**| | [optional] - -### Return type - -[**CloudEndureAuditLog**](CloudEndureAuditLog.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json, text/csv - -[[Back to top]](#) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to Model list]](API_README.md#documentation-for-models) [[Back to README]](API_README.md) - -# **projects_project_id_storage_get** -> CloudEndureProjectStorage projects_project_id_storage_get(project_id) - -project's storage - -get project's storage usage (vCenter only) - -### Example -```python -from __future__ import print_function -import time -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = cloudendure_api.DefaultApi() -project_id = 'project_id_example' # str | - -try: - # project's storage - api_response = api_instance.projects_project_id_storage_get(project_id) - pprint(api_response) -except ApiException as e: - print("Exception when calling DefaultApi->projects_project_id_storage_get: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **project_id** | **str**| | - -### Return type - -[**CloudEndureProjectStorage**](CloudEndureProjectStorage.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to Model list]](API_README.md#documentation-for-models) [[Back to README]](API_README.md) - -# **projects_remove_users_post** -> projects_remove_users_post(body) - -todo - -todo - -### Example -```python -from __future__ import print_function -import time -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = cloudendure_api.DefaultApi() -body = cloudendure_api.CloudEndureProjectsAndUsers() # CloudEndureProjectsAndUsers | - -try: - # todo - api_instance.projects_remove_users_post(body) -except ApiException as e: - print("Exception when calling DefaultApi->projects_remove_users_post: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**CloudEndureProjectsAndUsers**](CloudEndureProjectsAndUsers.md)| | - -### Return type - -void (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: Not defined - -[[Back to top]](#) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to Model list]](API_README.md#documentation-for-models) [[Back to README]](API_README.md) - -# **replace_api_token_post** -> object replace_api_token_post() - -Replaces API token - -Replaces API token - -### Example -```python -from __future__ import print_function -import time -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = cloudendure_api.DefaultApi() - -try: - # Replaces API token - api_response = api_instance.replace_api_token_post() - pprint(api_response) -except ApiException as e: - print("Exception when calling DefaultApi->replace_api_token_post: %s\n" % e) -``` - -### Parameters -This endpoint does not need any parameter. - -### Return type - -**object** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to Model list]](API_README.md#documentation-for-models) [[Back to README]](API_README.md) - -# **set_password_post** -> set_password_post(body) - -Set password for invited user - -### Example -```python -from __future__ import print_function -import time -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = cloudendure_api.DefaultApi() -body = NULL # object | set password token and new password - -try: - # Set password for invited user - api_instance.set_password_post(body) -except ApiException as e: - print("Exception when calling DefaultApi->set_password_post: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**object**](object.md)| set password token and new password | - -### Return type - -void (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to Model list]](API_README.md#documentation-for-models) [[Back to README]](API_README.md) - -# **users_assign_roles_post** -> CloudEndureUsersList users_assign_roles_post(body) - -Add roles to users - -### Example -```python -from __future__ import print_function -import time -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = cloudendure_api.DefaultApi() -body = cloudendure_api.CloudEndureUsersAndRoles() # CloudEndureUsersAndRoles | - -try: - # Add roles to users - api_response = api_instance.users_assign_roles_post(body) - pprint(api_response) -except ApiException as e: - print("Exception when calling DefaultApi->users_assign_roles_post: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**CloudEndureUsersAndRoles**](CloudEndureUsersAndRoles.md)| | - -### Return type - -[**CloudEndureUsersList**](CloudEndureUsersList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to Model list]](API_README.md#documentation-for-models) [[Back to README]](API_README.md) - -# **users_post** -> CloudEndureUser users_post(body) - -Create a new User - -### Example -```python -from __future__ import print_function -import time -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = cloudendure_api.DefaultApi() -body = NULL # object | - -try: - # Create a new User - api_response = api_instance.users_post(body) - pprint(api_response) -except ApiException as e: - print("Exception when calling DefaultApi->users_post: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**object**](object.md)| | - -### Return type - -[**CloudEndureUser**](CloudEndureUser.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to Model list]](API_README.md#documentation-for-models) [[Back to README]](API_README.md) - -# **users_revoke_roles_post** -> CloudEndureUsersList users_revoke_roles_post(body) - -Add roles to users - -### Example -```python -from __future__ import print_function -import time -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = cloudendure_api.DefaultApi() -body = cloudendure_api.CloudEndureUsersAndRoles() # CloudEndureUsersAndRoles | - -try: - # Add roles to users - api_response = api_instance.users_revoke_roles_post(body) - pprint(api_response) -except ApiException as e: - print("Exception when calling DefaultApi->users_revoke_roles_post: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**CloudEndureUsersAndRoles**](CloudEndureUsersAndRoles.md)| | - -### Return type - -[**CloudEndureUsersList**](CloudEndureUsersList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to Model list]](API_README.md#documentation-for-models) [[Back to README]](API_README.md) - diff --git a/docs/LicensingApi.md b/docs/LicensingApi.md deleted file mode 100644 index 12d8de9d4..000000000 --- a/docs/LicensingApi.md +++ /dev/null @@ -1,105 +0,0 @@ -# cloudendure_api.LicensingApi - -All URIs are relative to *https://console.cloudendure.com/api/latest* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**licenses_get**](LicensingApi.md#licenses_get) | **GET** /licenses | List Licenses -[**licenses_license_id_get**](LicensingApi.md#licenses_license_id_get) | **GET** /licenses/{licenseId} | Get License - -# **licenses_get** -> CloudEndureLicenseList licenses_get(offset=offset, limit=limit) - -List Licenses - -Returns the list of licenses currently associated with this user. - -### Example -```python -from __future__ import print_function -import time -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = cloudendure_api.LicensingApi() -offset = 56 # int | With which item to start (0 based). (optional) -limit = 56 # int | A number specifying how many entries to return. (optional) - -try: - # List Licenses - api_response = api_instance.licenses_get(offset=offset, limit=limit) - pprint(api_response) -except ApiException as e: - print("Exception when calling LicensingApi->licenses_get: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **offset** | **int**| With which item to start (0 based). | [optional] - **limit** | **int**| A number specifying how many entries to return. | [optional] - -### Return type - -[**CloudEndureLicenseList**](CloudEndureLicenseList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to Model list]](API_README.md#documentation-for-models) [[Back to README]](API_README.md) - -# **licenses_license_id_get** -> CloudEndureLicense licenses_license_id_get(license_id) - -Get License - -### Example -```python -from __future__ import print_function -import time -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = cloudendure_api.LicensingApi() -license_id = 'license_id_example' # str | - -try: - # Get License - api_response = api_instance.licenses_license_id_get(license_id) - pprint(api_response) -except ApiException as e: - print("Exception when calling LicensingApi->licenses_license_id_get: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **license_id** | **str**| | - -### Return type - -[**CloudEndureLicense**](CloudEndureLicense.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to Model list]](API_README.md#documentation-for-models) [[Back to README]](API_README.md) - diff --git a/docs/MachinesApi.md b/docs/MachinesApi.md deleted file mode 100644 index 5ef07272f..000000000 --- a/docs/MachinesApi.md +++ /dev/null @@ -1,314 +0,0 @@ -# cloudendure_api.MachinesApi - -All URIs are relative to *https://console.cloudendure.com/api/latest* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**projects_project_id_machines_delete**](MachinesApi.md#projects_project_id_machines_delete) | **DELETE** /projects/{projectId}/machines | Uninstall agent -[**projects_project_id_machines_get**](MachinesApi.md#projects_project_id_machines_get) | **GET** /projects/{projectId}/machines | List Machines -[**projects_project_id_machines_machine_id_get**](MachinesApi.md#projects_project_id_machines_machine_id_get) | **GET** /projects/{projectId}/machines/{machineId} | Get a specific machine. -[**projects_project_id_machines_machine_id_patch**](MachinesApi.md#projects_project_id_machines_machine_id_patch) | **PATCH** /projects/{projectId}/machines/{machineId} | Update a machine. Accepts only Launch time updates. -[**projects_project_id_machines_patch**](MachinesApi.md#projects_project_id_machines_patch) | **PATCH** /projects/{projectId}/machines | Batch-update multiple machines -[**projects_project_id_replicas_replica_id_get**](MachinesApi.md#projects_project_id_replicas_replica_id_get) | **GET** /projects/{projectId}/replicas/{replicaId} | Get Target Machine - -# **projects_project_id_machines_delete** -> projects_project_id_machines_delete(body, project_id) - -Uninstall agent - -Stops replication and removes the cloudendure agent from the specified machines. All cloud artifacts associated with those machines with the exception of launched target machines are deleted. - -### Example -```python -from __future__ import print_function -import time -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = cloudendure_api.MachinesApi() -body = NULL # object | The list of machine IDs to remove from the CloudEndure service. -project_id = 'project_id_example' # str | - -try: - # Uninstall agent - api_instance.projects_project_id_machines_delete(body, project_id) -except ApiException as e: - print("Exception when calling MachinesApi->projects_project_id_machines_delete: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**object**](object.md)| The list of machine IDs to remove from the CloudEndure service. | - **project_id** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: Not defined - -[[Back to top]](#) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to Model list]](API_README.md#documentation-for-models) [[Back to README]](API_README.md) - -# **projects_project_id_machines_get** -> CloudEndureMachinesList projects_project_id_machines_get(project_id, offset=offset, limit=limit, all=all, types=types) - -List Machines - -Returns the list of all source machines in the Project (i.e. machines that have an Agent installed). - -### Example -```python -from __future__ import print_function -import time -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = cloudendure_api.MachinesApi() -project_id = 'project_id_example' # str | -offset = 56 # int | With which item to start (0 based). (optional) -limit = 56 # int | A number specifying how many entries to return. (optional) -all = true # bool | When set to false, returns only currently replicating machines. When set to true, returns all machines in the project regardless of replications status. machines are consuming/ have consumed licenses. Note that some license types are transferable and therefore once you remove the and set to true false, returns only currently replicating machines. When set to true, returns all machines in the project regardless of replications status. (optional) -types = 'types_example' # str | Use this url query param to control which machines are returned when doing GET. If you do not include the \\\"types\\\" query param, you will only get source machines (optional) - -try: - # List Machines - api_response = api_instance.projects_project_id_machines_get(project_id, offset=offset, limit=limit, all=all, types=types) - pprint(api_response) -except ApiException as e: - print("Exception when calling MachinesApi->projects_project_id_machines_get: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **project_id** | **str**| | - **offset** | **int**| With which item to start (0 based). | [optional] - **limit** | **int**| A number specifying how many entries to return. | [optional] - **all** | **bool**| When set to false, returns only currently replicating machines. When set to true, returns all machines in the project regardless of replications status. machines are consuming/ have consumed licenses. Note that some license types are transferable and therefore once you remove the and set to true false, returns only currently replicating machines. When set to true, returns all machines in the project regardless of replications status. | [optional] - **types** | **str**| Use this url query param to control which machines are returned when doing GET. If you do not include the \\\"types\\\" query param, you will only get source machines | [optional] - -### Return type - -[**CloudEndureMachinesList**](CloudEndureMachinesList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to Model list]](API_README.md#documentation-for-models) [[Back to README]](API_README.md) - -# **projects_project_id_machines_machine_id_get** -> CloudEndureMachine projects_project_id_machines_machine_id_get(project_id, machine_id) - -Get a specific machine. - -### Example -```python -from __future__ import print_function -import time -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = cloudendure_api.MachinesApi() -project_id = 'project_id_example' # str | -machine_id = 'machine_id_example' # str | - -try: - # Get a specific machine. - api_response = api_instance.projects_project_id_machines_machine_id_get(project_id, machine_id) - pprint(api_response) -except ApiException as e: - print("Exception when calling MachinesApi->projects_project_id_machines_machine_id_get: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **project_id** | **str**| | - **machine_id** | **str**| | - -### Return type - -[**CloudEndureMachine**](CloudEndureMachine.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to Model list]](API_README.md#documentation-for-models) [[Back to README]](API_README.md) - -# **projects_project_id_machines_machine_id_patch** -> CloudEndureMachine projects_project_id_machines_machine_id_patch(body, project_id, machine_id) - -Update a machine. Accepts only Launch time updates. - -### Example -```python -from __future__ import print_function -import time -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = cloudendure_api.MachinesApi() -body = cloudendure_api.CloudEndureMachine() # CloudEndureMachine | -project_id = 'project_id_example' # str | -machine_id = 'machine_id_example' # str | - -try: - # Update a machine. Accepts only Launch time updates. - api_response = api_instance.projects_project_id_machines_machine_id_patch(body, project_id, machine_id) - pprint(api_response) -except ApiException as e: - print("Exception when calling MachinesApi->projects_project_id_machines_machine_id_patch: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**CloudEndureMachine**](CloudEndureMachine.md)| | - **project_id** | **str**| | - **machine_id** | **str**| | - -### Return type - -[**CloudEndureMachine**](CloudEndureMachine.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to Model list]](API_README.md#documentation-for-models) [[Back to README]](API_README.md) - -# **projects_project_id_machines_patch** -> CloudEndureMachinesList projects_project_id_machines_patch(body, project_id) - -Batch-update multiple machines - -todo must allow update of tags, update of replicationConfiguration; may allow update of launch times - -### Example -```python -from __future__ import print_function -import time -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = cloudendure_api.MachinesApi() -body = cloudendure_api.CloudEndureMachinesList() # CloudEndureMachinesList | -project_id = 'project_id_example' # str | - -try: - # Batch-update multiple machines - api_response = api_instance.projects_project_id_machines_patch(body, project_id) - pprint(api_response) -except ApiException as e: - print("Exception when calling MachinesApi->projects_project_id_machines_patch: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**CloudEndureMachinesList**](CloudEndureMachinesList.md)| | - **project_id** | **str**| | - -### Return type - -[**CloudEndureMachinesList**](CloudEndureMachinesList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to Model list]](API_README.md#documentation-for-models) [[Back to README]](API_README.md) - -# **projects_project_id_replicas_replica_id_get** -> CloudEndureReplica projects_project_id_replicas_replica_id_get(project_id, replica_id) - -Get Target Machine - -### Example -```python -from __future__ import print_function -import time -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = cloudendure_api.MachinesApi() -project_id = 'project_id_example' # str | -replica_id = 'replica_id_example' # str | - -try: - # Get Target Machine - api_response = api_instance.projects_project_id_replicas_replica_id_get(project_id, replica_id) - pprint(api_response) -except ApiException as e: - print("Exception when calling MachinesApi->projects_project_id_replicas_replica_id_get: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **project_id** | **str**| | - **replica_id** | **str**| | - -### Return type - -[**CloudEndureReplica**](CloudEndureReplica.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to Model list]](API_README.md#documentation-for-models) [[Back to README]](API_README.md) - diff --git a/docs/ProjectApi.md b/docs/ProjectApi.md deleted file mode 100644 index 3bc3f29ef..000000000 --- a/docs/ProjectApi.md +++ /dev/null @@ -1,304 +0,0 @@ -# cloudendure_api.ProjectApi - -All URIs are relative to *https://console.cloudendure.com/api/latest* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**projects_get**](ProjectApi.md#projects_get) | **GET** /projects | List Projects -[**projects_post**](ProjectApi.md#projects_post) | **POST** /projects | Create Project -[**projects_project_id_delete**](ProjectApi.md#projects_project_id_delete) | **DELETE** /projects/{projectId} | Delete Project and all sub-resources including cloud assets other than launched target machines -[**projects_project_id_get**](ProjectApi.md#projects_project_id_get) | **GET** /projects/{projectId} | Get Project -[**projects_project_id_patch**](ProjectApi.md#projects_project_id_patch) | **PATCH** /projects/{projectId} | Update Project (including partial update) -[**projects_project_id_tags_get**](ProjectApi.md#projects_project_id_tags_get) | **GET** /projects/{projectId}/tags | Gets all instance tags of all machines in the project. - -# **projects_get** -> CloudEndureProjectsList projects_get(offset=offset, limit=limit) - -List Projects - -Returns the list of projects defined in this account. - -### Example -```python -from __future__ import print_function -import time -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = cloudendure_api.ProjectApi() -offset = 56 # int | With which item to start (0 based). (optional) -limit = 56 # int | A number specifying how many entries to return. (optional) - -try: - # List Projects - api_response = api_instance.projects_get(offset=offset, limit=limit) - pprint(api_response) -except ApiException as e: - print("Exception when calling ProjectApi->projects_get: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **offset** | **int**| With which item to start (0 based). | [optional] - **limit** | **int**| A number specifying how many entries to return. | [optional] - -### Return type - -[**CloudEndureProjectsList**](CloudEndureProjectsList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to Model list]](API_README.md#documentation-for-models) [[Back to README]](API_README.md) - -# **projects_post** -> CloudEndureProject projects_post(body) - -Create Project - -Create project - -### Example -```python -from __future__ import print_function -import time -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = cloudendure_api.ProjectApi() -body = cloudendure_api.CloudEndureProject() # CloudEndureProject | - -try: - # Create Project - api_response = api_instance.projects_post(body) - pprint(api_response) -except ApiException as e: - print("Exception when calling ProjectApi->projects_post: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**CloudEndureProject**](CloudEndureProject.md)| | - -### Return type - -[**CloudEndureProject**](CloudEndureProject.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to Model list]](API_README.md#documentation-for-models) [[Back to README]](API_README.md) - -# **projects_project_id_delete** -> projects_project_id_delete(project_id) - -Delete Project and all sub-resources including cloud assets other than launched target machines - -### Example -```python -from __future__ import print_function -import time -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = cloudendure_api.ProjectApi() -project_id = 'project_id_example' # str | - -try: - # Delete Project and all sub-resources including cloud assets other than launched target machines - api_instance.projects_project_id_delete(project_id) -except ApiException as e: - print("Exception when calling ProjectApi->projects_project_id_delete: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **project_id** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - -[[Back to top]](#) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to Model list]](API_README.md#documentation-for-models) [[Back to README]](API_README.md) - -# **projects_project_id_get** -> CloudEndureProject projects_project_id_get(project_id) - -Get Project - -### Example -```python -from __future__ import print_function -import time -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = cloudendure_api.ProjectApi() -project_id = 'project_id_example' # str | - -try: - # Get Project - api_response = api_instance.projects_project_id_get(project_id) - pprint(api_response) -except ApiException as e: - print("Exception when calling ProjectApi->projects_project_id_get: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **project_id** | **str**| | - -### Return type - -[**CloudEndureProject**](CloudEndureProject.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to Model list]](API_README.md#documentation-for-models) [[Back to README]](API_README.md) - -# **projects_project_id_patch** -> CloudEndureProject projects_project_id_patch(body, project_id) - -Update Project (including partial update) - -Set project properties including Data Replication source location and replicationConfiguration to use. - -### Example -```python -from __future__ import print_function -import time -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = cloudendure_api.ProjectApi() -body = cloudendure_api.CloudEndureProject() # CloudEndureProject | -project_id = 'project_id_example' # str | - -try: - # Update Project (including partial update) - api_response = api_instance.projects_project_id_patch(body, project_id) - pprint(api_response) -except ApiException as e: - print("Exception when calling ProjectApi->projects_project_id_patch: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**CloudEndureProject**](CloudEndureProject.md)| | - **project_id** | **str**| | - -### Return type - -[**CloudEndureProject**](CloudEndureProject.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to Model list]](API_README.md#documentation-for-models) [[Back to README]](API_README.md) - -# **projects_project_id_tags_get** -> object projects_project_id_tags_get(project_id, offset=offset, limit=limit) - -Gets all instance tags of all machines in the project. - -Returns all instance tags of all machines in the project. - -### Example -```python -from __future__ import print_function -import time -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = cloudendure_api.ProjectApi() -project_id = 'project_id_example' # str | -offset = 56 # int | With which item to start (0 based). (optional) -limit = 56 # int | A number specifying how many entries to return. (optional) - -try: - # Gets all instance tags of all machines in the project. - api_response = api_instance.projects_project_id_tags_get(project_id, offset=offset, limit=limit) - pprint(api_response) -except ApiException as e: - print("Exception when calling ProjectApi->projects_project_id_tags_get: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **project_id** | **str**| | - **offset** | **int**| With which item to start (0 based). | [optional] - **limit** | **int**| A number specifying how many entries to return. | [optional] - -### Return type - -**object** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to Model list]](API_README.md#documentation-for-models) [[Back to README]](API_README.md) - diff --git a/docs/RecoveryPlansApi.md b/docs/RecoveryPlansApi.md deleted file mode 100644 index 7325ee8ce..000000000 --- a/docs/RecoveryPlansApi.md +++ /dev/null @@ -1,300 +0,0 @@ -# cloudendure_api.RecoveryPlansApi - -All URIs are relative to *https://console.cloudendure.com/api/latest* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**projects_project_id_recovery_plans_get**](RecoveryPlansApi.md#projects_project_id_recovery_plans_get) | **GET** /projects/{projectId}/recoveryPlans | Gets all recovery plans for the project. -[**projects_project_id_recovery_plans_post**](RecoveryPlansApi.md#projects_project_id_recovery_plans_post) | **POST** /projects/{projectId}/recoveryPlans | Creates a new recovery plan. -[**projects_project_id_recovery_plans_recovery_plan_id_delete**](RecoveryPlansApi.md#projects_project_id_recovery_plans_recovery_plan_id_delete) | **DELETE** /projects/{projectId}/recoveryPlans/{recoveryPlanId} | Deletes a recovery plan. -[**projects_project_id_recovery_plans_recovery_plan_id_get**](RecoveryPlansApi.md#projects_project_id_recovery_plans_recovery_plan_id_get) | **GET** /projects/{projectId}/recoveryPlans/{recoveryPlanId} | Gets a recovery plan. -[**projects_project_id_recovery_plans_recovery_plan_id_patch**](RecoveryPlansApi.md#projects_project_id_recovery_plans_recovery_plan_id_patch) | **PATCH** /projects/{projectId}/recoveryPlans/{recoveryPlanId} | Updates a new recovery plan. -[**projects_project_id_run_recovery_plan_post**](RecoveryPlansApi.md#projects_project_id_run_recovery_plan_post) | **POST** /projects/{projectId}/runRecoveryPlan | Launch a recovery plan. - -# **projects_project_id_recovery_plans_get** -> CloudEndureRecoveryPlanList projects_project_id_recovery_plans_get(project_id) - -Gets all recovery plans for the project. - -### Example -```python -from __future__ import print_function -import time -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = cloudendure_api.RecoveryPlansApi() -project_id = 'project_id_example' # str | - -try: - # Gets all recovery plans for the project. - api_response = api_instance.projects_project_id_recovery_plans_get(project_id) - pprint(api_response) -except ApiException as e: - print("Exception when calling RecoveryPlansApi->projects_project_id_recovery_plans_get: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **project_id** | **str**| | - -### Return type - -[**CloudEndureRecoveryPlanList**](CloudEndureRecoveryPlanList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to Model list]](API_README.md#documentation-for-models) [[Back to README]](API_README.md) - -# **projects_project_id_recovery_plans_post** -> CloudEndureRecoveryPlan projects_project_id_recovery_plans_post(body, project_id) - -Creates a new recovery plan. - -### Example -```python -from __future__ import print_function -import time -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = cloudendure_api.RecoveryPlansApi() -body = cloudendure_api.CloudEndureRecoveryPlan() # CloudEndureRecoveryPlan | Recovery Plan to create -project_id = 'project_id_example' # str | - -try: - # Creates a new recovery plan. - api_response = api_instance.projects_project_id_recovery_plans_post(body, project_id) - pprint(api_response) -except ApiException as e: - print("Exception when calling RecoveryPlansApi->projects_project_id_recovery_plans_post: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**CloudEndureRecoveryPlan**](CloudEndureRecoveryPlan.md)| Recovery Plan to create | - **project_id** | **str**| | - -### Return type - -[**CloudEndureRecoveryPlan**](CloudEndureRecoveryPlan.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to Model list]](API_README.md#documentation-for-models) [[Back to README]](API_README.md) - -# **projects_project_id_recovery_plans_recovery_plan_id_delete** -> projects_project_id_recovery_plans_recovery_plan_id_delete(project_id, recovery_plan_id) - -Deletes a recovery plan. - -### Example -```python -from __future__ import print_function -import time -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = cloudendure_api.RecoveryPlansApi() -project_id = 'project_id_example' # str | -recovery_plan_id = 'recovery_plan_id_example' # str | - -try: - # Deletes a recovery plan. - api_instance.projects_project_id_recovery_plans_recovery_plan_id_delete(project_id, recovery_plan_id) -except ApiException as e: - print("Exception when calling RecoveryPlansApi->projects_project_id_recovery_plans_recovery_plan_id_delete: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **project_id** | **str**| | - **recovery_plan_id** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - -[[Back to top]](#) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to Model list]](API_README.md#documentation-for-models) [[Back to README]](API_README.md) - -# **projects_project_id_recovery_plans_recovery_plan_id_get** -> CloudEndureRecoveryPlan projects_project_id_recovery_plans_recovery_plan_id_get(project_id, recovery_plan_id) - -Gets a recovery plan. - -### Example -```python -from __future__ import print_function -import time -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = cloudendure_api.RecoveryPlansApi() -project_id = 'project_id_example' # str | -recovery_plan_id = 'recovery_plan_id_example' # str | - -try: - # Gets a recovery plan. - api_response = api_instance.projects_project_id_recovery_plans_recovery_plan_id_get(project_id, recovery_plan_id) - pprint(api_response) -except ApiException as e: - print("Exception when calling RecoveryPlansApi->projects_project_id_recovery_plans_recovery_plan_id_get: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **project_id** | **str**| | - **recovery_plan_id** | **str**| | - -### Return type - -[**CloudEndureRecoveryPlan**](CloudEndureRecoveryPlan.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to Model list]](API_README.md#documentation-for-models) [[Back to README]](API_README.md) - -# **projects_project_id_recovery_plans_recovery_plan_id_patch** -> CloudEndureRecoveryPlan projects_project_id_recovery_plans_recovery_plan_id_patch(body, project_id, recovery_plan_id) - -Updates a new recovery plan. - -### Example -```python -from __future__ import print_function -import time -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = cloudendure_api.RecoveryPlansApi() -body = cloudendure_api.CloudEndureRecoveryPlan() # CloudEndureRecoveryPlan | Recovery Plan to create -project_id = 'project_id_example' # str | -recovery_plan_id = 'recovery_plan_id_example' # str | - -try: - # Updates a new recovery plan. - api_response = api_instance.projects_project_id_recovery_plans_recovery_plan_id_patch(body, project_id, recovery_plan_id) - pprint(api_response) -except ApiException as e: - print("Exception when calling RecoveryPlansApi->projects_project_id_recovery_plans_recovery_plan_id_patch: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**CloudEndureRecoveryPlan**](CloudEndureRecoveryPlan.md)| Recovery Plan to create | - **project_id** | **str**| | - **recovery_plan_id** | **str**| | - -### Return type - -[**CloudEndureRecoveryPlan**](CloudEndureRecoveryPlan.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to Model list]](API_README.md#documentation-for-models) [[Back to README]](API_README.md) - -# **projects_project_id_run_recovery_plan_post** -> CloudEndureJob projects_project_id_run_recovery_plan_post(body, project_id) - -Launch a recovery plan. - -### Example -```python -from __future__ import print_function -import time -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = cloudendure_api.RecoveryPlansApi() -body = NULL # object | Recovery Plan to create -project_id = 'project_id_example' # str | - -try: - # Launch a recovery plan. - api_response = api_instance.projects_project_id_run_recovery_plan_post(body, project_id) - pprint(api_response) -except ApiException as e: - print("Exception when calling RecoveryPlansApi->projects_project_id_run_recovery_plan_post: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**object**](object.md)| Recovery Plan to create | - **project_id** | **str**| | - -### Return type - -[**CloudEndureJob**](CloudEndureJob.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to Model list]](API_README.md#documentation-for-models) [[Back to README]](API_README.md) - diff --git a/docs/ReplicationApi.md b/docs/ReplicationApi.md deleted file mode 100644 index 352654259..000000000 --- a/docs/ReplicationApi.md +++ /dev/null @@ -1,369 +0,0 @@ -# cloudendure_api.ReplicationApi - -All URIs are relative to *https://console.cloudendure.com/api/latest* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**projects_project_id_machines_machine_id_bandwidth_throttling_get**](ReplicationApi.md#projects_project_id_machines_machine_id_bandwidth_throttling_get) | **GET** /projects/{projectId}/machines/{machineId}/bandwidthThrottling | Get value of network bandwidth throttling setting for Machine -[**projects_project_id_machines_machine_id_bandwidth_throttling_patch**](ReplicationApi.md#projects_project_id_machines_machine_id_bandwidth_throttling_patch) | **PATCH** /projects/{projectId}/machines/{machineId}/bandwidthThrottling | Set value of network bandwidth throttling setting for Machine -[**projects_project_id_machines_machine_id_delete**](ReplicationApi.md#projects_project_id_machines_machine_id_delete) | **DELETE** /projects/{projectId}/machines/{machineId} | Uninstall agent -[**projects_project_id_machines_machine_id_pointsintime_get**](ReplicationApi.md#projects_project_id_machines_machine_id_pointsintime_get) | **GET** /projects/{projectId}/machines/{machineId}/pointsintime | List Available Points-in-time -[**projects_project_id_replication_configurations_get**](ReplicationApi.md#projects_project_id_replication_configurations_get) | **GET** /projects/{projectId}/replicationConfigurations | List Replication Configurations -[**projects_project_id_replication_configurations_post**](ReplicationApi.md#projects_project_id_replication_configurations_post) | **POST** /projects/{projectId}/replicationConfigurations | Create Replication Configuration -[**projects_project_id_replication_configurations_replication_configuration_id_patch**](ReplicationApi.md#projects_project_id_replication_configurations_replication_configuration_id_patch) | **PATCH** /projects/{projectId}/replicationConfigurations/{replicationConfigurationId} | Modify Replication Configuration - -# **projects_project_id_machines_machine_id_bandwidth_throttling_get** -> CloudEndureBandwidthThrottling projects_project_id_machines_machine_id_bandwidth_throttling_get(project_id, machine_id) - -Get value of network bandwidth throttling setting for Machine - -### Example -```python -from __future__ import print_function -import time -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = cloudendure_api.ReplicationApi() -project_id = 'project_id_example' # str | -machine_id = 'machine_id_example' # str | - -try: - # Get value of network bandwidth throttling setting for Machine - api_response = api_instance.projects_project_id_machines_machine_id_bandwidth_throttling_get(project_id, machine_id) - pprint(api_response) -except ApiException as e: - print("Exception when calling ReplicationApi->projects_project_id_machines_machine_id_bandwidth_throttling_get: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **project_id** | **str**| | - **machine_id** | **str**| | - -### Return type - -[**CloudEndureBandwidthThrottling**](CloudEndureBandwidthThrottling.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to Model list]](API_README.md#documentation-for-models) [[Back to README]](API_README.md) - -# **projects_project_id_machines_machine_id_bandwidth_throttling_patch** -> CloudEndureBandwidthThrottling projects_project_id_machines_machine_id_bandwidth_throttling_patch(body, project_id, machine_id) - -Set value of network bandwidth throttling setting for Machine - -### Example -```python -from __future__ import print_function -import time -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = cloudendure_api.ReplicationApi() -body = cloudendure_api.CloudEndureBandwidthThrottling() # CloudEndureBandwidthThrottling | -project_id = 'project_id_example' # str | -machine_id = 'machine_id_example' # str | - -try: - # Set value of network bandwidth throttling setting for Machine - api_response = api_instance.projects_project_id_machines_machine_id_bandwidth_throttling_patch(body, project_id, machine_id) - pprint(api_response) -except ApiException as e: - print("Exception when calling ReplicationApi->projects_project_id_machines_machine_id_bandwidth_throttling_patch: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**CloudEndureBandwidthThrottling**](CloudEndureBandwidthThrottling.md)| | - **project_id** | **str**| | - **machine_id** | **str**| | - -### Return type - -[**CloudEndureBandwidthThrottling**](CloudEndureBandwidthThrottling.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to Model list]](API_README.md#documentation-for-models) [[Back to README]](API_README.md) - -# **projects_project_id_machines_machine_id_delete** -> projects_project_id_machines_machine_id_delete(project_id, machine_id) - -Uninstall agent - -Stops replication and removes the cloudendure agent from this machine. All cloud artifacts associated with those machines with the exception of launched target machine are deleted. - -### Example -```python -from __future__ import print_function -import time -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = cloudendure_api.ReplicationApi() -project_id = 'project_id_example' # str | -machine_id = 'machine_id_example' # str | - -try: - # Uninstall agent - api_instance.projects_project_id_machines_machine_id_delete(project_id, machine_id) -except ApiException as e: - print("Exception when calling ReplicationApi->projects_project_id_machines_machine_id_delete: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **project_id** | **str**| | - **machine_id** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - -[[Back to top]](#) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to Model list]](API_README.md#documentation-for-models) [[Back to README]](API_README.md) - -# **projects_project_id_machines_machine_id_pointsintime_get** -> CloudEndurePointInTimeList projects_project_id_machines_machine_id_pointsintime_get(project_id, machine_id, offset=offset, limit=limit) - -List Available Points-in-time - -Returns the list of available recovery points for this machine. - -### Example -```python -from __future__ import print_function -import time -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = cloudendure_api.ReplicationApi() -project_id = 'project_id_example' # str | -machine_id = 'machine_id_example' # str | -offset = 56 # int | With which item to start (0 based). (optional) -limit = 56 # int | A number specifying how many entries to return. (optional) - -try: - # List Available Points-in-time - api_response = api_instance.projects_project_id_machines_machine_id_pointsintime_get(project_id, machine_id, offset=offset, limit=limit) - pprint(api_response) -except ApiException as e: - print("Exception when calling ReplicationApi->projects_project_id_machines_machine_id_pointsintime_get: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **project_id** | **str**| | - **machine_id** | **str**| | - **offset** | **int**| With which item to start (0 based). | [optional] - **limit** | **int**| A number specifying how many entries to return. | [optional] - -### Return type - -[**CloudEndurePointInTimeList**](CloudEndurePointInTimeList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to Model list]](API_README.md#documentation-for-models) [[Back to README]](API_README.md) - -# **projects_project_id_replication_configurations_get** -> CloudEndureReplicationConfigurationList projects_project_id_replication_configurations_get(project_id, offset=offset, limit=limit) - -List Replication Configurations - -Returns the list of replication configuration objects defined in this project. - -### Example -```python -from __future__ import print_function -import time -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = cloudendure_api.ReplicationApi() -project_id = 'project_id_example' # str | -offset = 56 # int | With which item to start (0 based). (optional) -limit = 56 # int | A number specifying how many entries to return. (optional) - -try: - # List Replication Configurations - api_response = api_instance.projects_project_id_replication_configurations_get(project_id, offset=offset, limit=limit) - pprint(api_response) -except ApiException as e: - print("Exception when calling ReplicationApi->projects_project_id_replication_configurations_get: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **project_id** | **str**| | - **offset** | **int**| With which item to start (0 based). | [optional] - **limit** | **int**| A number specifying how many entries to return. | [optional] - -### Return type - -[**CloudEndureReplicationConfigurationList**](CloudEndureReplicationConfigurationList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to Model list]](API_README.md#documentation-for-models) [[Back to README]](API_README.md) - -# **projects_project_id_replication_configurations_post** -> CloudEndureReplicationConfiguration projects_project_id_replication_configurations_post(body, project_id) - -Create Replication Configuration - -Control Data Replication parameters such as target cloud credentials, Staging Area and replication network configuration. A single configuration can exist per target region. Returns the newly created object. - -### Example -```python -from __future__ import print_function -import time -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = cloudendure_api.ReplicationApi() -body = cloudendure_api.CloudEndureReplicationConfiguration() # CloudEndureReplicationConfiguration | -project_id = 'project_id_example' # str | - -try: - # Create Replication Configuration - api_response = api_instance.projects_project_id_replication_configurations_post(body, project_id) - pprint(api_response) -except ApiException as e: - print("Exception when calling ReplicationApi->projects_project_id_replication_configurations_post: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**CloudEndureReplicationConfiguration**](CloudEndureReplicationConfiguration.md)| | - **project_id** | **str**| | - -### Return type - -[**CloudEndureReplicationConfiguration**](CloudEndureReplicationConfiguration.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to Model list]](API_README.md#documentation-for-models) [[Back to README]](API_README.md) - -# **projects_project_id_replication_configurations_replication_configuration_id_patch** -> CloudEndureReplicationConfiguration projects_project_id_replication_configurations_replication_configuration_id_patch(body, project_id, replication_configuration_id) - -Modify Replication Configuration - -Modifying volumeEncryptionKey or modifying cloudCredentials to ones matching a different cloud account will result in replication restarting from initial sync. Returns the modified object. - -### Example -```python -from __future__ import print_function -import time -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = cloudendure_api.ReplicationApi() -body = cloudendure_api.CloudEndureReplicationConfiguration() # CloudEndureReplicationConfiguration | -project_id = 'project_id_example' # str | -replication_configuration_id = 'replication_configuration_id_example' # str | - -try: - # Modify Replication Configuration - api_response = api_instance.projects_project_id_replication_configurations_replication_configuration_id_patch(body, project_id, replication_configuration_id) - pprint(api_response) -except ApiException as e: - print("Exception when calling ReplicationApi->projects_project_id_replication_configurations_replication_configuration_id_patch: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**CloudEndureReplicationConfiguration**](CloudEndureReplicationConfiguration.md)| | - **project_id** | **str**| | - **replication_configuration_id** | **str**| | - -### Return type - -[**CloudEndureReplicationConfiguration**](CloudEndureReplicationConfiguration.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to Model list]](API_README.md#documentation-for-models) [[Back to README]](API_README.md) - diff --git a/docs/UserApi.md b/docs/UserApi.md deleted file mode 100644 index 4624a4c28..000000000 --- a/docs/UserApi.md +++ /dev/null @@ -1,197 +0,0 @@ -# cloudendure_api.UserApi - -All URIs are relative to *https://console.cloudendure.com/api/latest* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**change_password_post**](UserApi.md#change_password_post) | **POST** /changePassword | Change Password -[**me_get**](UserApi.md#me_get) | **GET** /me | Me -[**users_user_id_delete**](UserApi.md#users_user_id_delete) | **DELETE** /users/{userId} | Delete a User -[**users_user_id_patch**](UserApi.md#users_user_id_patch) | **PATCH** /users/{userId} | Modify user settings - -# **change_password_post** -> change_password_post(body) - -Change Password - -### Example -```python -from __future__ import print_function -import time -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = cloudendure_api.UserApi() -body = NULL # object | - -try: - # Change Password - api_instance.change_password_post(body) -except ApiException as e: - print("Exception when calling UserApi->change_password_post: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**object**](object.md)| | - -### Return type - -void (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to Model list]](API_README.md#documentation-for-models) [[Back to README]](API_README.md) - -# **me_get** -> CloudEndureUser me_get() - -Me - -Provides user configuration information for the currently logged in user. - -### Example -```python -from __future__ import print_function -import time -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = cloudendure_api.UserApi() - -try: - # Me - api_response = api_instance.me_get() - pprint(api_response) -except ApiException as e: - print("Exception when calling UserApi->me_get: %s\n" % e) -``` - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**CloudEndureUser**](CloudEndureUser.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to Model list]](API_README.md#documentation-for-models) [[Back to README]](API_README.md) - -# **users_user_id_delete** -> users_user_id_delete(user_id) - -Delete a User - -todo - -### Example -```python -from __future__ import print_function -import time -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = cloudendure_api.UserApi() -user_id = 'user_id_example' # str | - -try: - # Delete a User - api_instance.users_user_id_delete(user_id) -except ApiException as e: - print("Exception when calling UserApi->users_user_id_delete: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **user_id** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - -[[Back to top]](#) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to Model list]](API_README.md#documentation-for-models) [[Back to README]](API_README.md) - -# **users_user_id_patch** -> CloudEndureUser users_user_id_patch(body, user_id) - -Modify user settings - -Configure which projects this user can receive e-mail notifications for. - -### Example -```python -from __future__ import print_function -import time -from cloudendure import cloudendure_api -from cloudendure.cloudendure_api.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = cloudendure_api.UserApi() -body = cloudendure_api.CloudEndureUser() # CloudEndureUser | -user_id = 'user_id_example' # str | - -try: - # Modify user settings - api_response = api_instance.users_user_id_patch(body, user_id) - pprint(api_response) -except ApiException as e: - print("Exception when calling UserApi->users_user_id_patch: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**CloudEndureUser**](CloudEndureUser.md)| | - **user_id** | **str**| | - -### Return type - -[**CloudEndureUser**](CloudEndureUser.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](API_README.md#documentation-for-api-endpoints) [[Back to Model list]](API_README.md#documentation-for-models) [[Back to README]](API_README.md) - diff --git a/index.html b/index.html new file mode 100644 index 000000000..e983ac299 --- /dev/null +++ b/index.html @@ -0,0 +1,2131 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Home - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + + + + +
+
+ + + + + +

cloudendure-python

+

Python wrapper and CLI for CloudEndure

+

PyPI PyPI - Python Version PyPi Publish Documenation

+

Requirements

+

Python 3.7+

+

Installation & Usage

+

Basic Installation / pip

+
pip install cloudendure
+cloudendure version
+
+ +

Local Development with Poetry

+
brew install poetry # if not installed
+poetry install
+
+ +

Local Development with Docker

+
docker run --rm -it cloudendurepy/cloudendure bash
+
+ +

Usage

+

Then import the package:

+
import cloudendure
+
+ +

Getting Started

+

CloudEndure Pipeline Flow +CloudEndure Pipeline Flow

+

CloudEndure Data Flow +CloudEndure Data Flow

+

Pipeline Flow (as seen in AWS Console) +Pipeline_Flow

+

Logging in via CLI using environment variables

+

Please note: cloudendure and ce can be used interchangeably

+
export CLOUDENDURE_USERNAME=<your_ce_user>
+export CLOUDENDURE_PASSWORD=<your_ce_password>
+export CLOUDENDURE_DESTINATION_ACCOUNT=<destination_aws_account_id>
+
+cloudendure api login
+
+ +

or

+
export CLOUDENDURE_USER_API_TOKEN=<your_ce_user_api_token>
+export CLOUDENDURE_DESTINATION_ACCOUNT=<destination_aws_account_id>
+
+ce api login
+
+ +

Logging in via CLI inline

+

Please note: cloudendure and ce can be used interchangeably

+
cloudendure api login --user=<your_ce_user> --password=<your_ce_password>
+
+ +

or

+
ce api login --token=<your_ce_user_api_token>
+
+ +

Logging in for the first time will generate the ~/.cloudendure.yml file.

+

Coming Soon

+

This project is currently a work in progress and will actively change. This client has not yet been finalized and is entirely subject to change.

+

Changelog

+

Check out the CHANGELOG

+ + + + + + + + + + +
+
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/lambda/__init__.py b/lambda/__init__.py deleted file mode 100644 index e69de29bb..000000000 diff --git a/lambda/copy_ami.py b/lambda/copy_ami.py deleted file mode 100644 index b3e2471d2..000000000 --- a/lambda/copy_ami.py +++ /dev/null @@ -1,99 +0,0 @@ -# -*- coding: utf-8 -*- -"""Define the CloudEndure lambda function. - -Attributes: - LOG_LEVEL (str): - REGION_OVERRIDE (str): If provided, this value will override the default AWS region. - logger (logging.Logger): - -""" -import logging -import os - -import boto3 - -logger = logging.getLogger(__name__) - -SRC_ACCOUNT_ID = os.environ.get('CLOUDENDURE_SRC_ACCOUNT', '') -DEST_ACCOUNT_ID = os.environ.get('CLOUDENDURE_DEST_ACCOUNT', '') -IMAGE_ID = os.environ.get('CLOUDENDURE_IMAGE_ID', '') -SRC_REGION = os.environ.get('CLOUDENDURE_SRC_REGION', 'us-east-1') -DEST_REGION = os.environ.get('CLOUDENDURE_DEST_REGION', 'us-west-1') -SRC_ROLE_ARN = os.environ.get('CLOUDENDURE_SRC_ROLE_ARN', '') -DEST_ROLE_ARN = os.environ.get('CLOUDENDURE_DEST_ROLE_ARN', '') -SESSION_NAME = os.environ.get('CLOUDENDURE_SESSION_NAME', 'CloudEndureMigration') - - -def assume_role(sts_role_arn='', session_name=SESSION_NAME): - sts = boto3.client('sts') - - try: - credentials = sts.assume_role(RoleArn=sts_role_arn, RoleSessionName=session_name).get('Credentials', {}) - except Exception as e: - logger.error( - '%s encountered while attempting to assume the Role ARN: (%s) during (%s)', e, sts_role_arn, session_name - ) - - if not credentials: - logger.error('Unable to assume role via STS! Please check permissions and try again.') - - return credentials - - -def get_ec2(credentials, region=''): - ec2 = None - - # Copy image to failover regions - try: - ec2 = boto3.client( - 'ec2', - region, - aws_access_key_id=credentials['AccessKeyId'], - aws_secret_access_key=credentials['SecretAccessKey'], - aws_session_token=credentials['SessionToken'], - ) - except Exception as e: - logger.error(e) - - return ec2 - - -def share_image(image_name='CloudEndureImage'): - src_credentials = assume_role(SRC_ROLE_ARN) - src_ec2 = get_ec2(src_credentials, region=SRC_REGION) - - # Access the image that needs to be copied - image = src_ec2.Image(IMAGE_ID) - - # Share the image with the destination account - image.modify_attribute( - ImageId=image.id, - Attribute='launchPermission', - OperationType='add', - LaunchPermission={'Add': [{ - 'UserId': DEST_ACCOUNT_ID - }]} - ) - - # We have to now share the snapshots associated with the AMI so it can be copied - devices = image.block_device_mappings - for device in devices: - if 'Ebs' in device: - snapshot_id = device['Ebs']['SnapshotId'] - snapshot = src_ec2.Snapshot(snapshot_id) - snapshot.modify_attribute( - Attribute='createVolumePermission', - CreateVolumePermission={'Add': [{'UserId': DEST_ACCOUNT_ID}]}, - OperationType='add', - ) - - # Access destination account so we can now copy the image - dest_credentials = assume_role(DEST_ROLE_ARN) - # Copy image to failover regions - dest_ec2 = get_ec2(dest_credentials, region=DEST_REGION) - - # Copy the shared AMI to dest region - try: - dest_ec2.copy_image(Name=image_name, SourceImageId=image.id, SourceRegion=SRC_REGION) - except Exception as e: - logger.error(e) diff --git a/lambda/handler.py b/lambda/handler.py deleted file mode 100644 index 6b2f0e78b..000000000 --- a/lambda/handler.py +++ /dev/null @@ -1,87 +0,0 @@ -# -*- coding: utf-8 -*- -"""Define the CloudEndure lambda function. - -Attributes: - LOG_LEVEL (str): - REGION_OVERRIDE (str): If provided, this value will override the default AWS region. - logger (logging.Logger): - -""" -import datetime -import json -import logging -import os - -import boto3 -from botocore.exceptions import ClientError - -LOG_LEVEL = getattr(logging, os.environ.get('CLOUDENDURE_LOGLEVEL', 'INFO')) -REGION_OVERRIDE = os.environ.get('CLOUDENDURE_REGION_OVERRIDE', '') - -logger = logging.getLogger() - -logger.setLevel(LOG_LEVEL) - - -def send_sqs_message(imageinfo): - """Sends a SQS message with the AMI information - that was created from the migrated instance - that passed testing post migration in CloudEndure - """ - try: - message = json.dumps(imageinfo) - sqsclient = boto3.client('sqs') - sqsclient.send_message(QueueUrl=os.environ['QueueURL'], MessageBody=message) - - except ClientError as err: - logger.error(err.response) - - -def create_ami(project_id, instance_id): - """Create an AMI from the specified instance. - - """ - try: - _ec2_client = boto3.client('ec2') - - # Create an AMI from the migrated instance - image_creation_time = datetime.datetime.utcnow().strftime("%Y%m%d%H%M%S") - ec2_image = _ec2_client.create_image( - InstanceId=instance_id, - Name=f"{image_creation_time}", - Description=f"{project_id} {image_creation_time}", - NoReboot=True, - ) - logger.info('AMI Id: %s', ec2_image) - _filters = [{'Name': 'resource-id', 'Values': [instance_id]}] - - # Tag the newly created AMI by getting the tags of the migrated instance to copy to the AMI. - ec2_tags = _ec2_client.describe_tags(Filters=_filters) - - logger.info(ec2_tags) - for tag in ec2_tags['Tags']: - _ec2_client.create_tags(Resources=[ec2_image['ImageId']], Tags=[{'Key': tag['Key'], 'Value': tag['Value']}]) - - send_sqs_message(ec2_image) - - except ClientError as err: - logger.error(err.response) - - -def lambda_handler(event, context): - """Lambda entry point""" - logger.info(event) - - try: - json_sns_message = json.loads(event['Records'][0]['Sns']['Message']) - - if json_sns_message['Pass'] != "True": - logger.error( - "%s did not pass post migration testing! Not creating an AMI." % (json_sns_message['instanceId']) - ) - - else: - logger.info("%s passed post migration testing. Creating an AMI." % (json_sns_message['instanceId'])) - create_ami('', json_sns_message['instanceId']) - except ClientError as err: - logger.error(err.response) diff --git a/pydocmd.yml b/pydocmd.yml deleted file mode 100644 index 2407a3e97..000000000 --- a/pydocmd.yml +++ /dev/null @@ -1,135 +0,0 @@ -site_name: "CloudEndure Python Client and CLI" -repo_name: 'mbeacom/cloudendure-py' -repo_url: 'https://github.com/mbeacom/cloudendure-py' - -generate: - - cloudendure/api.md: - - cloudendure.api++ - - cloudendure/cloudendure.md: - - cloudendure.cloudendure++ - - cloudendure/config.md: - - cloudendure.config++ - - cloudendure/exceptions.md: - - cloudendure.exceptions++ - - cloudendure/models.md: - - cloudendure.models++ - - cloudendure/utils.md: - - cloudendure.utils++ - -pages: - - General: - - Home: index.md << README.md - - References: references.md << REFERENCE.md - - Code: - - CloudEndure: - - API: code/cloudendure/api.md - - Main: code/cloudendure/cloudendure.md - - Config: code/cloudendure/config.md - - Exceptions: code/cloudendure/exceptions.md - - Models: code/cloudendure/models.md - - Utilities: code/cloudendure/utils.md - - API Documentation: - - MAIN: api/API_README.md << docs/API_README.md - - AccountApi: api/AccountApi.md << docs/AccountApi.md - - ActionsApi: api/ActionsApi.md << docs/ActionsApi.md - - AuthenticationApi: api/AuthenticationApi.md << docs/AuthenticationApi.md - - BlueprintApi: api/BlueprintApi.md << docs/BlueprintApi.md - - CloudApi: api/CloudApi.md << docs/CloudApi.md - - CloudCredentialsApi: api/CloudCredentialsApi.md << docs/CloudCredentialsApi.md - - CloudEndureAccount: api/CloudEndureAccount.md << docs/CloudEndureAccount.md - - CloudEndureAccountRequest: api/CloudEndureAccountRequest.md << docs/CloudEndureAccountRequest.md - - CloudEndureAccountRequestList: api/CloudEndureAccountRequestList.md << docs/CloudEndureAccountRequestList.md - - CloudEndureAccountsList: api/CloudEndureAccountsList.md << docs/CloudEndureAccountsList.md - - CloudEndureAgentNextReplicationInitRequest: api/CloudEndureAgentNextReplicationInitRequest.md << docs/CloudEndureAgentNextReplicationInitRequest.md - - CloudEndureAllProjectFeatures: api/CloudEndureAllProjectFeatures.md << docs/CloudEndureAllProjectFeatures.md - - CloudEndureAuditLog: api/CloudEndureAuditLog.md << docs/CloudEndureAuditLog.md - - CloudEndureAuditLogChangedField: api/CloudEndureAuditLogChangedField.md << docs/CloudEndureAuditLogChangedField.md - - CloudEndureAuditLogEntry: api/CloudEndureAuditLogEntry.md << docs/CloudEndureAuditLogEntry.md - - CloudEndureAuditLogEntry: api/CloudEndureAuditLogEntry.md << docs/CloudEndureAuditLogEntry.md - - CloudEndureBandwidthThrottling: api/CloudEndureBandwidthThrottling.md << docs/CloudEndureBandwidthThrottling.md - - CloudEndureBlueprint: api/CloudEndureBlueprint.md << docs/CloudEndureBlueprint.md - - CloudEndureBlueprintList: api/CloudEndureBlueprintList.md << docs/CloudEndureBlueprintList.md - - CloudEndureCloud: api/CloudEndureCloud.md << docs/CloudEndureCloud.md - - CloudEndureCloudCredentials: api/CloudEndureCloudCredentials.md << docs/CloudEndureCloudCredentials.md - - CloudEndureCloudCredentialsList: api/CloudEndureCloudCredentialsList.md << docs/CloudEndureCloudCredentialsList.md - - CloudEndureCloudCredentialsRequest: api/CloudEndureCloudCredentialsRequest.md << docs/CloudEndureCloudCredentialsRequest.md - - CloudEndureCloudsList: api/CloudEndureCloudsList.md << docs/CloudEndureCloudsList.md - - CloudEndureComputeLocation: api/CloudEndureComputeLocation.md << docs/CloudEndureComputeLocation.md - - CloudEndureConfigurations: api/CloudEndureConfigurations.md << docs/CloudEndureConfigurations.md - - CloudEndureConfigurationsList: api/CloudEndureConfigurationsList.md << docs/CloudEndureConfigurationsList.md - - CloudEndureError: api/CloudEndureError.md << docs/CloudEndureError.md - - CloudEndureExtendedAccountInfo: api/CloudEndureExtendedAccountInfo.md << docs/CloudEndureExtendedAccountInfo.md - - CloudEndureFindFilesParameters: api/CloudEndureFindFilesParameters.md << docs/CloudEndureFindFilesParameters.md - - CloudEndureFindFilesResult: api/CloudEndureFindFilesResult.md << docs/CloudEndureFindFilesResult.md - - CloudEndureFindFilesResultPit: api/CloudEndureFindFilesResultPit.md << docs/CloudEndureFindFilesResultPit.md - - CloudEndureFindFilesResults: api/CloudEndureFindFilesResults.md << docs/CloudEndureFindFilesResults.md - - CloudEndureGcpMachinesFinanceData: api/CloudEndureGcpMachinesFinanceData.md << docs/CloudEndureGcpMachinesFinanceData.md - - CloudEndureIdentityProviderRedirectResponse: api/CloudEndureIdentityProviderRedirectResponse.md << docs/CloudEndureIdentityProviderRedirectResponse.md - - CloudEndureInitializationStep: api/CloudEndureInitializationStep.md << docs/CloudEndureInitializationStep.md - - CloudEndureJob: api/CloudEndureJob.md << docs/CloudEndureJob.md - - CloudEndureJobsList: api/CloudEndureJobsList.md << docs/CloudEndureJobsList.md - - CloudEndureKeyValueList: api/CloudEndureKeyValueList.md << docs/CloudEndureKeyValueList.md - - CloudEndureLaunchMachinesParameters: api/CloudEndureLaunchMachinesParameters.md << docs/CloudEndureLaunchMachinesParameters.md - - CloudEndureLicense: api/CloudEndureLicense.md << docs/CloudEndureLicense.md - - CloudEndureLicenseFeatures: api/CloudEndureLicenseFeatures.md << docs/CloudEndureLicenseFeatures.md - - CloudEndureLicenseList: api/CloudEndureLicenseList.md << docs/CloudEndureLicenseList.md - - CloudEndureListUsersResult: api/CloudEndureListUsersResult.md << docs/CloudEndureListUsersResult.md - - CloudEndureListUsersResults: api/CloudEndureListUsersResults.md << docs/CloudEndureListUsersResults.md - - CloudEndureLogicalLocation: api/CloudEndureLogicalLocation.md << docs/CloudEndureLogicalLocation.md - - CloudEndureMachine: api/CloudEndureMachine.md << docs/CloudEndureMachine.md - - CloudEndureMachineAndPathAndPointInTime: api/CloudEndureMachineAndPathAndPointInTime.md << docs/CloudEndureMachineAndPathAndPointInTime.md - - CloudEndureMachineAndPointInTime: api/CloudEndureMachineAndPointInTime.md << docs/CloudEndureMachineAndPointInTime.md - - CloudEndureMachineReplicationConfiguration: api/CloudEndureMachineReplicationConfiguration.md << docs/CloudEndureMachineReplicationConfiguration.md - - CloudEndureMachineSnapshotCredits: api/CloudEndureMachineSnapshotCredits.md << docs/CloudEndureMachineSnapshotCredits.md - - CloudEndureMachineThrottleTimeSeconds: api/CloudEndureMachineThrottleTimeSeconds.md << docs/CloudEndureMachineThrottleTimeSeconds.md - - CloudEndureMachinesList: api/CloudEndureMachinesList.md << docs/CloudEndureMachinesList.md - - CloudEndureMachinesListInvalidIDsAndJob: api/CloudEndureMachinesListInvalidIDsAndJob.md << docs/CloudEndureMachinesListInvalidIDsAndJob.md - - CloudEndureNetworkInterface: api/CloudEndureNetworkInterface.md << docs/CloudEndureNetworkInterface.md - - CloudEndurePointInTime: api/CloudEndurePointInTime.md << docs/CloudEndurePointInTime.md - - CloudEndurePointInTimeList: api/CloudEndurePointInTimeList.md << docs/CloudEndurePointInTimeList.md - - CloudEndureProject: api/CloudEndureProject.md << docs/CloudEndureProject.md - - CloudEndureProjectStorage: api/CloudEndureProjectStorage.md << docs/CloudEndureProjectStorage.md - - CloudEndureProjectsAndUsers: api/CloudEndureProjectsAndUsers.md << docs/CloudEndureProjectsAndUsers.md - - CloudEndureProjectsList: api/CloudEndureProjectsList.md << docs/CloudEndureProjectsList.md - - CloudEndureRecoveryPlan: api/CloudEndureRecoveryPlan.md << docs/CloudEndureRecoveryPlan.md - - CloudEndureRecoveryPlanList: api/CloudEndureRecoveryPlanList.md << docs/CloudEndureRecoveryPlanList.md - - CloudEndureRecoveryPlanStep: api/CloudEndureRecoveryPlanStep.md << docs/CloudEndureRecoveryPlanStep.md - - CloudEndureRecoveryPlanSteps: api/CloudEndureRecoveryPlanSteps.md << docs/CloudEndureRecoveryPlanSteps.md - - CloudEndureRegion: api/CloudEndureRegion.md << docs/CloudEndureRegion.md - - CloudEndureRegionsList: api/CloudEndureRegionsList.md << docs/CloudEndureRegionsList.md - - CloudEndureReplica: api/CloudEndureReplica.md << docs/CloudEndureReplica.md - - CloudEndureReplicationConfiguration: api/CloudEndureReplicationConfiguration.md << docs/CloudEndureReplicationConfiguration.md - - CloudEndureReplicationConfigurationList: api/CloudEndureReplicationConfigurationList.md << docs/CloudEndureReplicationConfigurationList.md - - CloudEndureReplicationServerConfig: api/CloudEndureReplicationServerConfig.md << docs/CloudEndureReplicationServerConfig.md - - CloudEndureRestoreFilesParameters: api/CloudEndureRestoreFilesParameters.md << docs/CloudEndureRestoreFilesParameters.md - - CloudEndureSamlSettings: api/CloudEndureSamlSettings.md << docs/CloudEndureSamlSettings.md - - CloudEndureSecurityGroup: api/CloudEndureSecurityGroup.md << docs/CloudEndureSecurityGroup.md - - CloudEndureStorageLocation: api/CloudEndureStorageLocation.md << docs/CloudEndureStorageLocation.md - - CloudEndureSubnet: api/CloudEndureSubnet.md << docs/CloudEndureSubnet.md - - CloudEndureTime: api/CloudEndureTime.md << docs/CloudEndureTime.md - - CloudEndureUpdateableScripts: api/CloudEndureUpdateableScripts.md << docs/CloudEndureUpdateableScripts.md - - CloudEndureUpgradeCounterDelay: api/CloudEndureUpgradeCounterDelay.md << docs/CloudEndureUpgradeCounterDelay.md - - CloudEndureUsage: api/CloudEndureUsage.md << docs/CloudEndureUsage.md - - CloudEndureUsageList: api/CloudEndureUsageList.md << docs/CloudEndureUsageList.md - - CloudEndureUser: api/CloudEndureUser.md << docs/CloudEndureUser.md - - CloudEndureUserReport: api/CloudEndureUserReport.md << docs/CloudEndureUserReport.md - - CloudEndureUserReports: api/CloudEndureUserReports.md << docs/CloudEndureUserReports.md - - CloudEndureUsersAndRoles: api/CloudEndureUsersAndRoles.md << docs/CloudEndureUsersAndRoles.md - - CloudEndureUsersList: api/CloudEndureUsersList.md << docs/CloudEndureUsersList.md - - CloudEndureVCenterSubnet: api/CloudEndureVCenterSubnet.md << docs/CloudEndureVCenterSubnet.md - - DefaultApi: api/DefaultApi.md << docs/DefaultApi.md - - LicensingApi: api/LicensingApi.md << docs/LicensingApi.md - - MachinesApi: api/MachinesApi.md << docs/MachinesApi.md - - ProjectApi: api/ProjectApi.md << docs/ProjectApi.md - - RecoveryPlansApi: api/RecoveryPlansApi.md << docs/RecoveryPlansApi.md - - ReplicationApi: api/ReplicationApi.md << docs/ReplicationApi.md - - UserApi: api/UserApi.md << docs/UserApi.md -theme: - name: material - logo: 'http://chittagongit.com/images/cloud-png-icon/cloud-png-icon-3.jpg' - favicon: 'http://chittagongit.com/images/cloud-png-icon/cloud-png-icon-3.jpg' - feature: - tabs: true - -additional_search_paths: - - cloudendure/ diff --git a/reference/install_agent_and_launch.py b/reference/install_agent_and_launch.py deleted file mode 100644 index 674e3e596..000000000 --- a/reference/install_agent_and_launch.py +++ /dev/null @@ -1,413 +0,0 @@ -#!/usr/bin/env python -# -*- coding: utf-8 -*- -"""Define the Gitcoin project settings. - -Attributes: - NAME (str): - -""" - -# ================================================================================================= -# -# CloudEndure API full documentation can be found here - https://console.cloudendure.com/api_doc/apis.html# -# -# usage: CloudEndure_Install_Agent_And_Launch.py -u USERNAME -p PASSWORD -n HOSTNAME -j PROJECT_NAME -# -# -# Arguments: -# -# -u USERNAME, --username USERNAME -# user name for the CloudEndure account -# -p PASSWORD, --password PASSWORD -# password for the CloudEndure account -# -n HOSTNAME, --agentname HOSTNAME -# hostname of instance to migrate -# -j PROJECT, --project PROJECT_NAME -# CloudEndure's project name -# -# -# Required inputs: CloudEndure username and password, target server name -# -# Outputs: Will print to console the entire process: -# 1. CloudEndure Agent installation on the target server. -# 2. Blueprint settings. -# 3. Replication progress. -# 4. Target server launch progress. -# -# -# ================================================================================================= - -import argparse -import json -import os -import time - -import requests -import requests.packages.urllib3 - -requests.packages.urllib3.disable_warnings() - -HOST = 'https://console.cloudendure.com' - -INSTANCE_TYPE = "c4.large" -SUBNET = 'subnet-xxxxxx' -SG = 'sg-xxxxxx' - -WIN_FOLDER = "c:\\temp" -LINUX_FOLDER = "/tmp" - - -################################################################################################### -def main(): - - # This is the main function, call the other functions to do the following: - # 1. CloudEndure Agent installation on the target server. - # 2. Blueprint settings. - # 3. Replication progress. - # 4. Target server launch progress. - # - # Returns: nothing - will always exit - - parser = argparse.ArgumentParser() - parser.add_argument('-u', '--user', required=True, help='User name') - parser.add_argument('-p', '--password', required=True, help='Password') - parser.add_argument('-j', '--project', required=True, help='Project name') - parser.add_argument('-n', '--agentname', required=True, help='Name of server') - - args = parser.parse_args() - - installation_token = get_token(args) - if installation_token == -1: - print "Failed to retrieve project installation token" - return -1 - - machine_id, project_id = install_agent(args, installation_token) - # Check if we were able to fetch the machine id - if machine_id == -1: - print "Failed to retrieve machine id" - return -1 - - # Check replication status, set blueprint while waiting for it to complete - wait_for_replicaiton(args, machine_id, project_id) - - # Launch the target instance on the cloud - launch_target_machine(args, machine_id, project_id) - - -################################################################################################### -def get_token(args): - - # This function fetch the project installation token - # Usage: get_token(args) - # 'args' is script user input (args.user, args.password, args.agentname) - # - # Returns: -1 on failure - - print "Fetching the installation token..." - session, resp, endpoint = login(args) - if session == -1: - print "Failed to login" - return -1 - - project_name = args.project - - projects_resp = session.get(url=HOST + endpoint + 'projects') - projects = json.loads(projects_resp.content)['items'] - - project = [p for p in projects if project_name == p['name']] - if not project: - print 'Error! No project with name ' + args.project + ' found' - return -1 - - return project[0]['agentInstallationToken'] - - -################################################################################################### - - -def install_agent(args, installation_token): - - # This function makes the HTTPS call out to the CloudEndure API and waits for the replication to complete - # - # Usage: wait_for_replicaiton(args, machine_id, project_id) - # 'args' is script user input (args.user, args.password, args.agentname, args.project) - # - # - # Returns: 0 on success, -1 on failure - - # Check if it's a windows or not - if os.name == 'nt': - # Make sure the temp folder exitts, the installer will run from it - if not os.path.exists(WIN_FOLDER): - os.mkdir(WIN_FOLDER) - os.chdir(WIN_FOLDER) - fname = 'installer_win.exe' - cmd = 'echo | ' + fname + ' -t ' + installation_token + ' --no-prompt' - else: - os.chdir(LINUX_FOLDER) - fname = 'installer_linux.py' - cmd = 'sudo python ' + fname + ' -t ' + installation_token + ' --no-prompt' - - url = HOST + '/' + fname - request = requests.get(url) - open(fname, 'wb').write(request.content) - - ret = os.system(cmd) - # Return value of agent installer should be 0 if succeded - if ret != 0: - print "Failed installing CloudEndure agent" - return -1, -1 - - session, resp, endpoint = login(args) - - if session == -1: - print "Failed to login" - return -1, -1 - - # Fetch the CloudEndure project ID in order to locate the machine itself - projects_resp = session.get(url=HOST + endpoint + 'projects') - projects = json.loads(projects_resp.content)['items'] - - project_id = None - machine_id = None - - # Fetch the CloudEndure machine ID in order monitor the replication progress and launch the target server - print 'Getting machine id...' - for project in projects: - project_id = project['id'] - - machines_resp = session.get(url=HOST + endpoint + 'projects/' + project_id + '/machines') - machines = json.loads(machines_resp.content)['items'] - - machine_id = [m['id'] for m in machines if args.agentname.lower() == m['sourceProperties']['name'].lower()] - - if machine_id: - break - - if not machine_id: - print 'Error! No agent with name ' + args.agentname + ' found' - return -1, -1 - - return machine_id[0].encode('ascii', 'ignore'), project_id - - -################################################################################################### -def wait_for_replicaiton(args, machine_id, project_id): - - # This function makes the HTTPS call out to the CloudEndure API multiple times until replication to complete. - # Once it's done, the function will call set_blueprint in order to apply the blueprint settings before - # launching the target server. - # - # Usage: wait_for_replicaiton(args, machine_id, project_id) - # 'args' is script user input (args.user, args.password, args.agentname) - # 'machine_id' is the CloudEndure replicatin machine ID - # 'project_id' is the CloudEndure project ID - # - # Returns: 0 on success, -1 on failure - - # Looping until replication completes - print "Waiting for Replication to complete" - while True: - session, resp, endpoint = login(args) - if session == -1: - print "Failed to login" - return -1 - - # Waiting for replication to start and the connection to establish - while True: - try: - machine_resp = session.get(url=HOST + endpoint + 'projects/' + project_id + '/machines/' + machine_id) - replication_status = json.loads(machine_resp.content)['replicationStatus'] - break - except: - print "Replication has not started. Waiting..." - time.sleep(10) - - # Waiting for replication to start and the coneection to establish - while replication_status != 'STARTED': - print "Replication has not started. Waiting..." - time.sleep(120) - machine_resp = session.get(url=HOST + endpoint + 'projects/' + project_id + '/machines/' + machine_id) - replication_status = json.loads(machine_resp.content)['replicationStatus'] - - # Setting the blueprint. Failing to do so won't fail the entire process - if set_blueprint(args, machine_id, project_id) == -1: - print "Failed to set blueprint" - - while True: - try: - replicated_storage_bytes = json.loads(machine_resp.content)['replicationInfo']['replicatedStorageBytes'] - total_storage_bytes = json.loads(machine_resp.content)['replicationInfo']['totalStorageBytes'] - break - except: - print "Replication has not started. Waiting..." - time.sleep(120) - machine_resp = session.get(url=HOST + endpoint + 'projects/' + project_id + '/machines/' + machine_id) - - # Replication has started, looping until complete, printing progress - while True: - try: - last_consistency = json.loads(machine_resp.content)['replicationInfo']['lastConsistencyDateTime'] - backlog = json.loads(machine_resp.content)['replicationInfo']['backloggedStorageBytes'] - if backlog == 0: - print "Replication completed. Target machine is launchable!" - return 0 - else: - print 'Replication is lagging. Backlog size is ' + str(backlog) - time.sleep(60) - except: - if replicated_storage_bytes == total_storage_bytes: - print "Finalizing initial sync. Waiting..." - time.sleep(60) - else: - print 'Replicated ' + str(replicated_storage_bytes - ) + ' out of ' + str(total_storage_bytes) + ' bytes' - print "Will check again in 5 minutes. Waiting..." - time.sleep(300) - machine_resp = session.get(url=HOST + endpoint + 'projects/' + project_id + '/machines/' + machine_id) - - -################################################################################################### - - -def set_blueprint(args, machine_id, project_id): - - # This function makes the HTTPS call out to the CloudEndure API to set the serve blueprint before launching it on Cloud - # This function will set the instanceType, subnetID, and the securityGroupIDs. - # - # Usage: set_blueprint(args, machine_id, project_id) - # 'args' is script user input (args.user, args.password, args.agentname) - # 'machine_id' is the CloudEndure replicatin machine ID - # 'project_id' is the CloudEndure project ID - # - # Returns: 0 on success, -1 on failure - - print "Setting blueprint..." - session, resp, endpoint = login(args) - if session == -1: - print "Failed to login" - return -1 - - blueprints_resp = session.get(url=HOST + endpoint + 'projects/' + project_id + '/blueprints') - blueprints = json.loads(blueprints_resp.content)['items'] - - blueprint = [bp for bp in blueprints if machine_id == bp['machineId']] - if len(blueprint) == 0: - return -1 - - blueprint = blueprint[0] - - blueprint['instanceType'] = INSTANCE_TYPE - ###blueprint['subnetIDs']=[SUBNET] - ###blueprint['securityGroupIDs']=[SG] - blueprint['machineId'] = machine_id - - resp = session.patch( - url=HOST + endpoint + 'projects/' + project_id + '/blueprints/' + blueprint['id'], data=json.dumps(blueprint) - ) - if resp.status_code != 200: - print 'Error setting blueprint!' - print resp.status_code - print resp.reason - print resp.content - return -1 - - print "Blueprint was set successfully" - return 0 - - -################################################################################################### -def launch_target_machine(args, machine_id, project_id): - - # This function makes the HTTPS call out to the CloudEndure API and launches the target server on the Cloud - # - # Usage: launch_target_machine(args, machine_id, project_id) - # 'args' is script user input - # 'machine_id' is the CloudEndure replicatin machine ID - # 'project_id' is the CloudEndure project ID - # - # Returns: 0 on success - - print "Launching target server" - session, resp, endpoint = login(args) - if session == -1: - print "Failed to login" - return -1 - items = {'machineId': machine_id} - resp = session.post( - url=HOST + endpoint + 'projects/' + project_id + '/launchMachines', - data=json.dumps({ - 'items': [items], - 'launchType': 'TEST' - }) - ) - if resp.status_code != 202: - print 'Error creating target machine!' - print 'Status code is: ', resp.status_code - return -1 - jobId = json.loads(resp.content)['id'] - - isPending = True - log_index = 0 - print "Waiting for job to finish..." - while isPending: - resp = session.get(url=HOST + endpoint + 'projects/' + project_id + '/jobs/' + jobId) - job_status = json.loads(resp.content)['status'] - isPending = (job_status == 'STARTED') - job_log = json.loads(resp.content)['log'] - while log_index < len(job_log): - print job_log[log_index]['message'] - log_index += 1 - - time.sleep(5) - - print 'Target server creation completed!' - return 0 - - -################################################################################################### -def login(args): - - # This function makes the HTTPS call out to the CloudEndure API to login using the credentilas provided - # - # Usage: login(args) - # 'args' is script user input (args.user, args.password, args.agentname) - # - # Returns: -1 on failure - # session, response, endpoint on success - - endpoint = '/api/latest/' - session = requests.Session() - session.headers.update({'Content-type': 'application/json', 'Accept': 'text/plain'}) - resp = session.post( - url=HOST + endpoint + 'login', data=json.dumps({ - 'username': args.user, - 'password': args.password - }) - ) - if resp.status_code != 200 and resp.status_code != 307: - print "Bad login credentials" - return -1, -1, -1 - #print 'Logged in successfully' - - # Check if need to use a different API entry point and redirect - if resp.history: - endpoint = '/' + '/'.join(resp.url.split('/')[3:-1]) + '/' - resp = session.post( - url=HOST + endpoint + 'login', data=json.dumps({ - 'username': args.user, - 'password': args.password - }) - ) - - try: - session.headers.update({'X-XSRF-TOKEN': resp.cookies['XSRF-TOKEN']}) - except: - pass - - return session, resp, endpoint - - -################################################################################################### -if __name__ == '__main__': - main() diff --git a/reference/swagger_config.json b/reference/swagger_config.json deleted file mode 100644 index 07d546336..000000000 --- a/reference/swagger_config.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "packageName": "cloudendure_api", - "projectName": "cloudendure_api", - "packageVersion": "0.1.0", - "packageUrl": "https://github.com/mbeacom/cloudendure-py" -} diff --git a/references/index.html b/references/index.html new file mode 100644 index 000000000..cd429ce2d --- /dev/null +++ b/references/index.html @@ -0,0 +1,2131 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + References - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+
+ + + + + +

Reference Materials

+

Documentation

+

CloudEndure

+ +

API References

+

Errors

+

Some errors are not specifically written in every method since they may always return. Those are:

+
    +
  • 401 (Unauthorized) - for unauthenticated requests.
  • +
  • 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET).
  • +
  • 403 (Forbidden) - request is authenticated, but the user is not allowed to access.
  • +
  • 422 (Unprocessable Entity) - for invalid input.
  • +
+ +

General Guidance

+ +

Packages & Dependencies

+

Package Dependencies

+ +

Build/Dev/Testing Dependencies

+ + + + + + + + + + + +
+
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/search/search_index.json b/search/search_index.json new file mode 100644 index 000000000..59448bd9f --- /dev/null +++ b/search/search_index.json @@ -0,0 +1 @@ +{"config":{"lang":["en"],"prebuild_index":false,"separator":"[\\s\\-]+"},"docs":[{"location":"","text":"cloudendure-python Python wrapper and CLI for CloudEndure Requirements Python 3.7+ Installation & Usage Basic Installation / pip pip install cloudendure cloudendure version Local Development with Poetry brew install poetry # if not installed poetry install Local Development with Docker docker run --rm -it cloudendurepy/cloudendure bash Usage Then import the package: import cloudendure Getting Started CloudEndure Pipeline Flow CloudEndure Data Flow Pipeline Flow (as seen in AWS Console) Logging in via CLI using environment variables Please note: cloudendure and ce can be used interchangeably export CLOUDENDURE_USERNAME= export CLOUDENDURE_PASSWORD= export CLOUDENDURE_DESTINATION_ACCOUNT= cloudendure api login or export CLOUDENDURE_USER_API_TOKEN= export CLOUDENDURE_DESTINATION_ACCOUNT= ce api login Logging in via CLI inline Please note: cloudendure and ce can be used interchangeably cloudendure api login --user= --password= or ce api login --token= Logging in for the first time will generate the ~/.cloudendure.yml file. Coming Soon This project is currently a work in progress and will actively change. This client has not yet been finalized and is entirely subject to change. Changelog Check out the CHANGELOG","title":"Home"},{"location":"#cloudendure-python","text":"Python wrapper and CLI for CloudEndure","title":"cloudendure-python"},{"location":"#requirements","text":"Python 3.7+","title":"Requirements"},{"location":"#installation-usage","text":"","title":"Installation & Usage"},{"location":"#basic-installation-pip","text":"pip install cloudendure cloudendure version","title":"Basic Installation / pip"},{"location":"#local-development-with-poetry","text":"brew install poetry # if not installed poetry install","title":"Local Development with Poetry"},{"location":"#local-development-with-docker","text":"docker run --rm -it cloudendurepy/cloudendure bash","title":"Local Development with Docker"},{"location":"#usage","text":"Then import the package: import cloudendure","title":"Usage"},{"location":"#getting-started","text":"CloudEndure Pipeline Flow CloudEndure Data Flow Pipeline Flow (as seen in AWS Console)","title":"Getting Started"},{"location":"#logging-in-via-cli-using-environment-variables","text":"Please note: cloudendure and ce can be used interchangeably export CLOUDENDURE_USERNAME= export CLOUDENDURE_PASSWORD= export CLOUDENDURE_DESTINATION_ACCOUNT= cloudendure api login or export CLOUDENDURE_USER_API_TOKEN= export CLOUDENDURE_DESTINATION_ACCOUNT= ce api login","title":"Logging in via CLI using environment variables"},{"location":"#logging-in-via-cli-inline","text":"Please note: cloudendure and ce can be used interchangeably cloudendure api login --user= --password= or ce api login --token= Logging in for the first time will generate the ~/.cloudendure.yml file.","title":"Logging in via CLI inline"},{"location":"#coming-soon","text":"This project is currently a work in progress and will actively change. This client has not yet been finalized and is entirely subject to change.","title":"Coming Soon"},{"location":"#changelog","text":"Check out the CHANGELOG","title":"Changelog"},{"location":"changes/","text":"Change Log v0.2.1 (2020-03-24) Full Changelog Implemented enhancements: Adjust project configs and update deps #104 ( mbeacom ) Fixed bugs: Docker build errors #102 Adjust Docker image #103 ( mbeacom ) v0.2.0 (2020-03-24) Full Changelog Implemented enhancements: Migrate environment management from pipenv to poetry #97 Converted project from using pipenv to poetry #98 ( selpan ) Merged pull requests: Bump bleach from 3.1.1 to 3.1.2 #101 ( dependabot[bot] ) v0.1.10 (2020-03-24) Full Changelog Implemented enhancements: Update API explorer to use Bravado #64 Fixed bugs: Missing depedency #99 Adjust setup.py to conform to pipfile #100 ( mbeacom ) v0.1.9 (2020-03-20) Full Changelog Fixed bugs: YAML module missing after pipenv install #94 Added pyyaml package to Pipfile #95 ( selpan ) Closed issues: Migrate environment management from pipenv to poetry #96 v0.1.8 (2019-11-26) Full Changelog Implemented enhancements: Update CE to handle instance type updates #93 ( mbeacom ) v0.1.7 (2019-11-21) Full Changelog v0.1.6 (2019-11-21) Full Changelog Implemented enhancements: Add check for sg/subnet existance in config and patch privateIPAction #92 ( mbeacom ) add in support for custom subnet and security groups #91 ( twarnock ) Merged pull requests: removing duplicated tag in ec2 resource #90 ( twarnock ) get_copy_status now uses role assumption #89 ( twarnock ) change to using describe_instances vs _status. linted. #88 ( twarnock ) v0.1.5 (2019-10-22) Full Changelog v0.1.4 (2019-10-22) Full Changelog 0.1.4 (2019-10-22) Full Changelog v0.1.3 (2019-10-22) Full Changelog 0.1.3 (2019-10-22) Full Changelog Implemented enhancements: Update servicenow lambda refs to conform to generic status update #87 ( mbeacom ) v0.1.2 (2019-10-07) Full Changelog Implemented enhancements: 0.1.1 #80 ( mbeacom ) Closed issues: Make lambdas more generic #85 Update Blueprint Removes Disks #81 Merged pull requests: Fix #85 generic migration state #86 ( twarnock ) Step sqs #84 ( twarnock ) Update dependencies #83 ( mbeacom ) Fixes #81 fix update blueprint #82 ( twarnock ) v0.1.1 (2019-09-26) Full Changelog Implemented enhancements: Add cookiecutter base handler #74 ( mbeacom ) Merged pull requests: included cloudwatch event. changed tf to ce for lambdas. assumed role as a variable. #79 ( twarnock ) moved to png. added dataflow #78 ( twarnock ) v0.1.0 (2019-09-06) Full Changelog Implemented enhancements: Adjust machine replication #75 CLI authentication #66 Simplify project method args and init flow #55 Configurable disk type for blueprints #46 Configurable PublicIPAction for blueprints #45 Handle MFA/SAML between AWS and CloudEndure #5 Add replication control for machines #76 ( mbeacom ) Project provisioning #72 ( mbeacom ) delete-image and terminate added #69 ( twarnock ) Add cli auth and adjust user api token handling #67 ( mbeacom ) Adjust init flow and user feedback #56 ( mbeacom ) made step more readable. modified input/output to just use critical data #53 ( twarnock ) Fix #45 #46 - Update config and CE module to update public_ip and dis\u2026 #47 ( mbeacom ) Step functions refactor. get-terraform can use tagging module #44 ( twarnock ) Fixed bugs: CloudEndure token usage not working #63 Running gen-terraform against tagless AMIs results in error #51 Update CloudEndureConfig to use destination_account vs accounts #49 Adjust CLI/config consolidation to avoid overwrites with empty values #68 ( mbeacom ) Check for nonetype before iterating through image.tags #52 ( mbeacom ) Closed issues: CE worker lambda diagram #54 Merged pull requests: Add Github action for pypi build/publishing #77 ( mbeacom ) changes to support STS. #70 ( twarnock ) Update pythonpackage.yml #62 ( mbeacom ) Update gh pages workflow #61 ( mbeacom ) Update repo from transfer and make minor adjustments #60 ( mbeacom ) Optimize SVG for size #59 ( mbeacom ) Added diagram #58 ( twarnock ) Create CODE_OF_CONDUCT.md #57 ( mbeacom ) Update config for single destination account #50 ( mbeacom ) moved to sharing to a single account #48 ( twarnock ) v0.0.10 (2019-08-23) Full Changelog Merged pull requests: Cross region support for copy_and_split. gen_terraform fixes #43 ( twarnock ) docker-base-layer (2019-08-23) Full Changelog Merged pull requests: Remove launch types #42 ( mbeacom ) v0.0.9 (2019-08-22) Full Changelog Closed issues: Deprecate launch_type throughout project #41 v0.0.8 (2019-08-22) Full Changelog Implemented enhancements: Generate generic output infrastructure-as-code projects for migration waves #29 Merged pull requests: Step function #40 ( twarnock ) tf generator first pass. various fixes #39 ( twarnock ) v0.0.7 (2019-08-13) Full Changelog Implemented enhancements: Migrate all config items to config module #28 Update replication settings to conform to desired KMS usage #24 Update main CLI handling to employ defined exceptions/feedback loops #6 Add typing throughout and import annotations from future #35 ( mbeacom ) Update documentation with events entry and logos #34 ( mbeacom ) Move all configs to use Config for env and yaml #33 ( mbeacom ) Add base event handler and implementation on launch function #32 ( mbeacom ) Change image name to avoid blowup #26 ( twarnock ) Fixed bugs: Bug in update blueprint flow #10 Image creation failure #9 Share AMI should pull image id from env/config #8 Bug in last launch checks in main cli #7 Closed issues: Remove 3.6 support and prepare 0.0.7 #37 Upgrade docker images to buster #36 Event handling - track wave status #31 Merged pull requests: Upgrade docker images and drop py3.6 support #38 ( mbeacom ) update-encryption-key added #25 ( twarnock ) made image names not 'test' #23 ( twarnock ) v0.0.6 #22 ( mbeacom ) v0.0.6 (2019-08-06) Full Changelog Implemented enhancements: Add python-fire to package dependencies #13 copy_image and split_image support #20 ( twarnock ) Add black to makefile #18 ( mbeacom ) Add typing throughout base project #17 ( mbeacom ) Check uses replica now. Launch looks up project_id and stops on replica. #16 ( twarnock ) Merged pull requests: Fixed update_blueprint to actually work #21 ( twarnock ) Create and share image changes. #19 ( twarnock ) Update dependencies and adjust formatting #15 ( mbeacom ) v0.0.5 (2019-06-28) Full Changelog Implemented enhancements: Add security policy #12 Add fire #14 ( mbeacom ) v0.0.4 (2019-06-28) Full Changelog Implemented enhancements: Update docstrings, docs, and typing #11 ( mbeacom ) v0.0.3 (2019-06-20) Full Changelog Implemented enhancements: Update pip dependencies #3 ( mbeacom ) Merged pull requests: Update README.md #4 ( twarnock ) v0.0.2 (2019-06-16) Full Changelog Implemented enhancements: Pointed API usecase and CLI additions #2 ( mbeacom ) v0.0.1 (2019-05-30) * This Change Log was automatically generated by github_changelog_generator","title":"Changelog"},{"location":"changes/#change-log","text":"","title":"Change Log"},{"location":"changes/#v021-2020-03-24","text":"Full Changelog Implemented enhancements: Adjust project configs and update deps #104 ( mbeacom ) Fixed bugs: Docker build errors #102 Adjust Docker image #103 ( mbeacom )","title":"v0.2.1 (2020-03-24)"},{"location":"changes/#v020-2020-03-24","text":"Full Changelog Implemented enhancements: Migrate environment management from pipenv to poetry #97 Converted project from using pipenv to poetry #98 ( selpan ) Merged pull requests: Bump bleach from 3.1.1 to 3.1.2 #101 ( dependabot[bot] )","title":"v0.2.0 (2020-03-24)"},{"location":"changes/#v0110-2020-03-24","text":"Full Changelog Implemented enhancements: Update API explorer to use Bravado #64 Fixed bugs: Missing depedency #99 Adjust setup.py to conform to pipfile #100 ( mbeacom )","title":"v0.1.10 (2020-03-24)"},{"location":"changes/#v019-2020-03-20","text":"Full Changelog Fixed bugs: YAML module missing after pipenv install #94 Added pyyaml package to Pipfile #95 ( selpan ) Closed issues: Migrate environment management from pipenv to poetry #96","title":"v0.1.9 (2020-03-20)"},{"location":"changes/#v018-2019-11-26","text":"Full Changelog Implemented enhancements: Update CE to handle instance type updates #93 ( mbeacom )","title":"v0.1.8 (2019-11-26)"},{"location":"changes/#v017-2019-11-21","text":"Full Changelog","title":"v0.1.7 (2019-11-21)"},{"location":"changes/#v016-2019-11-21","text":"Full Changelog Implemented enhancements: Add check for sg/subnet existance in config and patch privateIPAction #92 ( mbeacom ) add in support for custom subnet and security groups #91 ( twarnock ) Merged pull requests: removing duplicated tag in ec2 resource #90 ( twarnock ) get_copy_status now uses role assumption #89 ( twarnock ) change to using describe_instances vs _status. linted. #88 ( twarnock )","title":"v0.1.6 (2019-11-21)"},{"location":"changes/#v015-2019-10-22","text":"Full Changelog","title":"v0.1.5 (2019-10-22)"},{"location":"changes/#v014-2019-10-22","text":"Full Changelog","title":"v0.1.4 (2019-10-22)"},{"location":"changes/#014-2019-10-22","text":"Full Changelog","title":"0.1.4 (2019-10-22)"},{"location":"changes/#v013-2019-10-22","text":"Full Changelog","title":"v0.1.3 (2019-10-22)"},{"location":"changes/#013-2019-10-22","text":"Full Changelog Implemented enhancements: Update servicenow lambda refs to conform to generic status update #87 ( mbeacom )","title":"0.1.3 (2019-10-22)"},{"location":"changes/#v012-2019-10-07","text":"Full Changelog Implemented enhancements: 0.1.1 #80 ( mbeacom ) Closed issues: Make lambdas more generic #85 Update Blueprint Removes Disks #81 Merged pull requests: Fix #85 generic migration state #86 ( twarnock ) Step sqs #84 ( twarnock ) Update dependencies #83 ( mbeacom ) Fixes #81 fix update blueprint #82 ( twarnock )","title":"v0.1.2 (2019-10-07)"},{"location":"changes/#v011-2019-09-26","text":"Full Changelog Implemented enhancements: Add cookiecutter base handler #74 ( mbeacom ) Merged pull requests: included cloudwatch event. changed tf to ce for lambdas. assumed role as a variable. #79 ( twarnock ) moved to png. added dataflow #78 ( twarnock )","title":"v0.1.1 (2019-09-26)"},{"location":"changes/#v010-2019-09-06","text":"Full Changelog Implemented enhancements: Adjust machine replication #75 CLI authentication #66 Simplify project method args and init flow #55 Configurable disk type for blueprints #46 Configurable PublicIPAction for blueprints #45 Handle MFA/SAML between AWS and CloudEndure #5 Add replication control for machines #76 ( mbeacom ) Project provisioning #72 ( mbeacom ) delete-image and terminate added #69 ( twarnock ) Add cli auth and adjust user api token handling #67 ( mbeacom ) Adjust init flow and user feedback #56 ( mbeacom ) made step more readable. modified input/output to just use critical data #53 ( twarnock ) Fix #45 #46 - Update config and CE module to update public_ip and dis\u2026 #47 ( mbeacom ) Step functions refactor. get-terraform can use tagging module #44 ( twarnock ) Fixed bugs: CloudEndure token usage not working #63 Running gen-terraform against tagless AMIs results in error #51 Update CloudEndureConfig to use destination_account vs accounts #49 Adjust CLI/config consolidation to avoid overwrites with empty values #68 ( mbeacom ) Check for nonetype before iterating through image.tags #52 ( mbeacom ) Closed issues: CE worker lambda diagram #54 Merged pull requests: Add Github action for pypi build/publishing #77 ( mbeacom ) changes to support STS. #70 ( twarnock ) Update pythonpackage.yml #62 ( mbeacom ) Update gh pages workflow #61 ( mbeacom ) Update repo from transfer and make minor adjustments #60 ( mbeacom ) Optimize SVG for size #59 ( mbeacom ) Added diagram #58 ( twarnock ) Create CODE_OF_CONDUCT.md #57 ( mbeacom ) Update config for single destination account #50 ( mbeacom ) moved to sharing to a single account #48 ( twarnock )","title":"v0.1.0 (2019-09-06)"},{"location":"changes/#v0010-2019-08-23","text":"Full Changelog Merged pull requests: Cross region support for copy_and_split. gen_terraform fixes #43 ( twarnock )","title":"v0.0.10 (2019-08-23)"},{"location":"changes/#docker-base-layer-2019-08-23","text":"Full Changelog Merged pull requests: Remove launch types #42 ( mbeacom )","title":"docker-base-layer (2019-08-23)"},{"location":"changes/#v009-2019-08-22","text":"Full Changelog Closed issues: Deprecate launch_type throughout project #41","title":"v0.0.9 (2019-08-22)"},{"location":"changes/#v008-2019-08-22","text":"Full Changelog Implemented enhancements: Generate generic output infrastructure-as-code projects for migration waves #29 Merged pull requests: Step function #40 ( twarnock ) tf generator first pass. various fixes #39 ( twarnock )","title":"v0.0.8 (2019-08-22)"},{"location":"changes/#v007-2019-08-13","text":"Full Changelog Implemented enhancements: Migrate all config items to config module #28 Update replication settings to conform to desired KMS usage #24 Update main CLI handling to employ defined exceptions/feedback loops #6 Add typing throughout and import annotations from future #35 ( mbeacom ) Update documentation with events entry and logos #34 ( mbeacom ) Move all configs to use Config for env and yaml #33 ( mbeacom ) Add base event handler and implementation on launch function #32 ( mbeacom ) Change image name to avoid blowup #26 ( twarnock ) Fixed bugs: Bug in update blueprint flow #10 Image creation failure #9 Share AMI should pull image id from env/config #8 Bug in last launch checks in main cli #7 Closed issues: Remove 3.6 support and prepare 0.0.7 #37 Upgrade docker images to buster #36 Event handling - track wave status #31 Merged pull requests: Upgrade docker images and drop py3.6 support #38 ( mbeacom ) update-encryption-key added #25 ( twarnock ) made image names not 'test' #23 ( twarnock ) v0.0.6 #22 ( mbeacom )","title":"v0.0.7 (2019-08-13)"},{"location":"changes/#v006-2019-08-06","text":"Full Changelog Implemented enhancements: Add python-fire to package dependencies #13 copy_image and split_image support #20 ( twarnock ) Add black to makefile #18 ( mbeacom ) Add typing throughout base project #17 ( mbeacom ) Check uses replica now. Launch looks up project_id and stops on replica. #16 ( twarnock ) Merged pull requests: Fixed update_blueprint to actually work #21 ( twarnock ) Create and share image changes. #19 ( twarnock ) Update dependencies and adjust formatting #15 ( mbeacom )","title":"v0.0.6 (2019-08-06)"},{"location":"changes/#v005-2019-06-28","text":"Full Changelog Implemented enhancements: Add security policy #12 Add fire #14 ( mbeacom )","title":"v0.0.5 (2019-06-28)"},{"location":"changes/#v004-2019-06-28","text":"Full Changelog Implemented enhancements: Update docstrings, docs, and typing #11 ( mbeacom )","title":"v0.0.4 (2019-06-28)"},{"location":"changes/#v003-2019-06-20","text":"Full Changelog Implemented enhancements: Update pip dependencies #3 ( mbeacom ) Merged pull requests: Update README.md #4 ( twarnock )","title":"v0.0.3 (2019-06-20)"},{"location":"changes/#v002-2019-06-16","text":"Full Changelog Implemented enhancements: Pointed API usecase and CLI additions #2 ( mbeacom )","title":"v0.0.2 (2019-06-16)"},{"location":"changes/#v001-2019-05-30","text":"* This Change Log was automatically generated by github_changelog_generator","title":"v0.0.1 (2019-05-30)"},{"location":"references/","text":"Reference Materials Documentation CloudEndure General Documentation Getting Started - API REST API API References Errors Some errors are not specifically written in every method since they may always return. Those are: 401 (Unauthorized) - for unauthenticated requests. 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 422 (Unprocessable Entity) - for invalid input. Package Related General Guidance Python 3 - Type hints MyPy - Python 3 Cheat Sheet Packages & Dependencies Package Dependencies Boto3 - AWS SDK Requests - Python HTTP module Python Fire - CLI module Build/Dev/Testing Dependencies black - Python linter isort - Python import automatic sorting pydocstyle - Python docstring/pep-257 linting pycodestyle - Python code complexity / McCabe validation yapf - Python linter / automatic styling pylint - Python linter flake8 - Python linter bandit autopep8 - Python automatic styling/linting pytest - Python test module pytest-sugar - PyTest plugin pytest-isort - PyTest isort plugin coverage - Python Coverage module codecov - CodeCov.io coverage service pytest-cov - PyTest coverage plugin mock - Python test mocking module responses - Python request response testing module twine - Python package bundling mypy - Python type validation","title":"References"},{"location":"references/#reference-materials","text":"","title":"Reference Materials"},{"location":"references/#documentation","text":"","title":"Documentation"},{"location":"references/#cloudendure","text":"General Documentation Getting Started - API REST API","title":"CloudEndure"},{"location":"references/#api-references","text":"","title":"API References"},{"location":"references/#errors","text":"Some errors are not specifically written in every method since they may always return. Those are: 401 (Unauthorized) - for unauthenticated requests. 405 (Method Not Allowed) - for using a method that is not supported (POST instead of GET). 403 (Forbidden) - request is authenticated, but the user is not allowed to access. 422 (Unprocessable Entity) - for invalid input.","title":"Errors"},{"location":"references/#package-related","text":"","title":"Package Related"},{"location":"references/#general-guidance","text":"Python 3 - Type hints MyPy - Python 3 Cheat Sheet","title":"General Guidance"},{"location":"references/#packages-dependencies","text":"","title":"Packages & Dependencies"},{"location":"references/#package-dependencies","text":"Boto3 - AWS SDK Requests - Python HTTP module Python Fire - CLI module","title":"Package Dependencies"},{"location":"references/#builddevtesting-dependencies","text":"black - Python linter isort - Python import automatic sorting pydocstyle - Python docstring/pep-257 linting pycodestyle - Python code complexity / McCabe validation yapf - Python linter / automatic styling pylint - Python linter flake8 - Python linter bandit autopep8 - Python automatic styling/linting pytest - Python test module pytest-sugar - PyTest plugin pytest-isort - PyTest isort plugin coverage - Python Coverage module codecov - CodeCov.io coverage service pytest-cov - PyTest coverage plugin mock - Python test mocking module responses - Python request response testing module twine - Python package bundling mypy - Python type validation","title":"Build/Dev/Testing Dependencies"},{"location":"securitypolicy/","text":"Security Policy This project is currently in alpha and is not guaranteed. Please be warned... Your mileage may vary! All current versions of this client are pre-releases. Supported Versions Version Supported 0.0.x :x: Reporting a Vulnerability Please report bugs by raising a new issue on this repository: https://github.com/mbeacom/cloudendure-python/issues/new","title":"Security Policy"},{"location":"securitypolicy/#security-policy","text":"This project is currently in alpha and is not guaranteed. Please be warned... Your mileage may vary! All current versions of this client are pre-releases.","title":"Security Policy"},{"location":"securitypolicy/#supported-versions","text":"Version Supported 0.0.x :x:","title":"Supported Versions"},{"location":"securitypolicy/#reporting-a-vulnerability","text":"Please report bugs by raising a new issue on this repository: https://github.com/mbeacom/cloudendure-python/issues/new","title":"Reporting a Vulnerability"},{"location":"api/API_README/","text":"cloudendure_api This Python package is automatically generated by the Swagger Codegen project: API version: 5 Package version: 0.1.7 Build package: io.swagger.codegen.v3.generators.python.PythonClientCodegen Requirements Python 3.6+ Installation & Usage pip install via Poetry If the python package is hosted on Github, you can install directly from Github poetry install cloudendure Then import the package: from cloudendure import cloudendure_api Getting Started Please follow the installation procedure and then run the following: import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException # create an instance of the API class api_instance = cloudendure_api.AccountApi(cloudendure_api.ApiClient(configuration)) account_id = 'account_id_example' # str | try: # Get Account information api_response = api_instance.accounts_account_id_get(account_id) print(api_response) except ApiException as e: print('Exception when calling AccountApi->accounts_account_id_get: %s\\n '% e) Documentation for API Endpoints All URIs are relative to https://console.cloudendure.com/api/latest Class Method HTTP request Description AccountApi accounts_account_id_get GET /accounts/{accountId} Get Account information ActionsApi projects_project_id_find_files_post POST /projects/{projectId}/findFiles Search for files in a backup project ActionsApi projects_project_id_jobs_get GET /projects/{projectId}/jobs List Jobs ActionsApi projects_project_id_jobs_job_id_get GET /projects/{projectId}/jobs/{jobId} Get Job ActionsApi projects_project_id_launch_machines_post POST /projects/{projectId}/launchMachines Launch target machines ActionsApi projects_project_id_launch_restore_servers_post POST /projects/{projectId}/launchRestoreServers Launch restore servers @todo ActionsApi projects_project_id_move_machines_post POST /projects/{projectId}/moveMachines Moves machines to another project ActionsApi projects_project_id_pause_replication_post POST /projects/{projectId}/pauseReplication Pause replication ActionsApi projects_project_id_replicas_delete DELETE /projects/{projectId}/replicas Perform Cleanup ActionsApi projects_project_id_restore_files_post POST /projects/{projectId}/restoreFiles Restore selected files in a backup project ActionsApi projects_project_id_reverse_replication_post POST /projects/{projectId}/reverseReplication Reverse replication direction ActionsApi projects_project_id_start_replication_post POST /projects/{projectId}/startReplication Start replication ActionsApi projects_project_id_stop_replication_post POST /projects/{projectId}/stopReplication Stop replication AuthenticationApi login_post POST /login Login AuthenticationApi logout_post POST /logout Logout BlueprintApi projects_project_id_blueprints_blueprint_id_get GET /projects/{projectId}/blueprints/{blueprintId} Get Blueprint BlueprintApi projects_project_id_blueprints_blueprint_id_patch PATCH /projects/{projectId}/blueprints/{blueprintId} Configure Blueprint BlueprintApi projects_project_id_blueprints_get GET /projects/{projectId}/blueprints List Blueprints BlueprintApi projects_project_id_blueprints_post POST /projects/{projectId}/blueprints Create Blueprint CloudApi cloud_credentials_creds_id_regions_get GET /cloudCredentials/{credsId}/regions List Regions CloudApi cloud_credentials_creds_id_regions_region_id_delete DELETE /cloudCredentials/{credsId}/regions/{regionId} Delete region (VCenter) CloudApi cloud_credentials_creds_id_regions_region_id_get GET /cloudCredentials/{credsId}/regions/{regionId} Get Region CloudApi cloud_credentials_creds_id_regions_region_id_patch PATCH /cloudCredentials/{credsId}/regions/{regionId} Patch region (rename) CloudApi clouds_get GET /clouds List Clouds CloudCredentialsApi cloud_credentials_creds_id_get GET /cloudCredentials/{credsId} Get Credentials CloudCredentialsApi cloud_credentials_creds_id_patch PATCH /cloudCredentials/{credsId} Change Credentials CloudCredentialsApi cloud_credentials_get GET /cloudCredentials List Credentials CloudCredentialsApi cloud_credentials_post POST /cloudCredentials Create Credentials DefaultApi accounts_account_id_access_get GET /accounts/{accountId}/access get a temporary token by email DefaultApi extended_account_info_get GET /extendedAccountInfo Returns the extended current account information. DefaultApi projects_assign_users_post POST /projects/assignUsers todo DefaultApi projects_project_id_audit_log_get GET /projects/{projectId}/auditLog Get audit log DefaultApi projects_project_id_storage_get GET /projects/{projectId}/storage project's storage DefaultApi projects_remove_users_post POST /projects/removeUsers todo DefaultApi replace_api_token_post POST /replaceApiToken Replaces API token DefaultApi set_password_post POST /setPassword Set password for invited user DefaultApi users_assign_roles_post POST /users/assignRoles Add roles to users DefaultApi users_post POST /users Create a new User DefaultApi users_revoke_roles_post POST /users/revokeRoles Add roles to users LicensingApi licenses_get GET /licenses List Licenses LicensingApi licenses_license_id_get GET /licenses/{licenseId} Get License MachinesApi projects_project_id_machines_delete DELETE /projects/{projectId}/machines Uninstall agent MachinesApi projects_project_id_machines_get GET /projects/{projectId}/machines List Machines MachinesApi projects_project_id_machines_machine_id_get GET /projects/{projectId}/machines/{machineId} Get a specific machine. MachinesApi projects_project_id_machines_machine_id_patch PATCH /projects/{projectId}/machines/{machineId} Update a machine. Accepts only Launch time updates. MachinesApi projects_project_id_machines_patch PATCH /projects/{projectId}/machines Batch-update multiple machines MachinesApi projects_project_id_replicas_replica_id_get GET /projects/{projectId}/replicas/{replicaId} Get Target Machine ProjectApi projects_get GET /projects List Projects ProjectApi projects_post POST /projects Create Project ProjectApi projects_project_id_delete DELETE /projects/{projectId} Delete Project and all sub-resources including cloud assets other than launched target machines ProjectApi projects_project_id_get GET /projects/{projectId} Get Project ProjectApi projects_project_id_patch PATCH /projects/{projectId} Update Project (including partial update) ProjectApi projects_project_id_tags_get GET /projects/{projectId}/tags Gets all instance tags of all machines in the project. RecoveryPlansApi projects_project_id_recovery_plans_get GET /projects/{projectId}/recoveryPlans Gets all recovery plans for the project. RecoveryPlansApi projects_project_id_recovery_plans_post POST /projects/{projectId}/recoveryPlans Creates a new recovery plan. RecoveryPlansApi projects_project_id_recovery_plans_recovery_plan_id_delete DELETE /projects/{projectId}/recoveryPlans/{recoveryPlanId} Deletes a recovery plan. RecoveryPlansApi projects_project_id_recovery_plans_recovery_plan_id_get GET /projects/{projectId}/recoveryPlans/{recoveryPlanId} Gets a recovery plan. RecoveryPlansApi projects_project_id_recovery_plans_recovery_plan_id_patch PATCH /projects/{projectId}/recoveryPlans/{recoveryPlanId} Updates a new recovery plan. RecoveryPlansApi projects_project_id_run_recovery_plan_post POST /projects/{projectId}/runRecoveryPlan Launch a recovery plan. ReplicationApi projects_project_id_machines_machine_id_bandwidth_throttling_get GET /projects/{projectId}/machines/{machineId}/bandwidthThrottling Get value of network bandwidth throttling setting for Machine ReplicationApi projects_project_id_machines_machine_id_bandwidth_throttling_patch PATCH /projects/{projectId}/machines/{machineId}/bandwidthThrottling Set value of network bandwidth throttling setting for Machine ReplicationApi projects_project_id_machines_machine_id_delete DELETE /projects/{projectId}/machines/{machineId} Uninstall agent ReplicationApi projects_project_id_machines_machine_id_pointsintime_get GET /projects/{projectId}/machines/{machineId}/pointsintime List Available Points-in-time ReplicationApi projects_project_id_replication_configurations_get GET /projects/{projectId}/replicationConfigurations List Replication Configurations ReplicationApi projects_project_id_replication_configurations_post POST /projects/{projectId}/replicationConfigurations Create Replication Configuration ReplicationApi projects_project_id_replication_configurations_replication_configuration_id_patch PATCH /projects/{projectId}/replicationConfigurations/{replicationConfigurationId} Modify Replication Configuration UserApi change_password_post POST /changePassword Change Password UserApi me_get GET /me Me UserApi users_user_id_delete DELETE /users/{userId} Delete a User UserApi users_user_id_patch PATCH /users/{userId} Modify user settings Documentation For Models CloudEndureAccount CloudEndureAccountRequest CloudEndureAccountRequestList CloudEndureAccountsList CloudEndureAgentNextReplicationInitRequest CloudEndureAllProjectFeatures CloudEndureAuditLog CloudEndureAuditLogChangedField CloudEndureAuditLogEntry CloudEndureBandwidthThrottling CloudEndureBlueprint CloudEndureBlueprintList CloudEndureCloud CloudEndureCloudCredentials CloudEndureCloudCredentialsList CloudEndureCloudCredentialsRequest CloudEndureCloudsList CloudEndureComputeLocation CloudEndureConfigurations CloudEndureConfigurationsList CloudEndureError CloudEndureExtendedAccountInfo CloudEndureFindFilesParameters CloudEndureFindFilesResult CloudEndureFindFilesResultPit CloudEndureFindFilesResults CloudEndureGcpMachinesFinanceData CloudEndureIdentityProviderRedirectResponse CloudEndureInitializationStep CloudEndureJob CloudEndureJobsList CloudEndureKeyValueList CloudEndureLaunchMachinesParameters CloudEndureLicense CloudEndureLicenseFeatures CloudEndureLicenseList CloudEndureListUsersResult CloudEndureListUsersResults CloudEndureLogicalLocation CloudEndureMachine CloudEndureMachineAndPathAndPointInTime CloudEndureMachineAndPointInTime CloudEndureMachineReplicationConfiguration CloudEndureMachineSnapshotCredits CloudEndureMachineThrottleTimeSeconds CloudEndureMachinesList CloudEndureMachinesListInvalidIDsAndJob CloudEndureNetworkInterface CloudEndurePointInTime CloudEndurePointInTimeList CloudEndureProject CloudEndureProjectStorage CloudEndureProjectsAndUsers CloudEndureProjectsList CloudEndureRecoveryPlan CloudEndureRecoveryPlanList CloudEndureRecoveryPlanStep CloudEndureRecoveryPlanSteps CloudEndureRegion CloudEndureRegionsList CloudEndureReplica CloudEndureReplicationConfiguration CloudEndureReplicationConfigurationList CloudEndureReplicationServerConfig CloudEndureRestoreFilesParameters CloudEndureSamlSettings CloudEndureSecurityGroup CloudEndureStorageLocation CloudEndureSubnet CloudEndureTime CloudEndureUpdateableScripts CloudEndureUpgradeCounterDelay CloudEndureUsage CloudEndureUsageList CloudEndureUser CloudEndureUserReport CloudEndureUserReports CloudEndureUsersAndRoles CloudEndureUsersList CloudEndureVCenterSubnet Documentation For Authorization All endpoints do not require authorization.","title":"MAIN"},{"location":"api/API_README/#cloudendure_api","text":"This Python package is automatically generated by the Swagger Codegen project: API version: 5 Package version: 0.1.7 Build package: io.swagger.codegen.v3.generators.python.PythonClientCodegen","title":"cloudendure_api"},{"location":"api/API_README/#requirements","text":"Python 3.6+","title":"Requirements"},{"location":"api/API_README/#installation-usage","text":"","title":"Installation & Usage"},{"location":"api/API_README/#pip-install-via-poetry","text":"If the python package is hosted on Github, you can install directly from Github poetry install cloudendure Then import the package: from cloudendure import cloudendure_api","title":"pip install via Poetry"},{"location":"api/API_README/#getting-started","text":"Please follow the installation procedure and then run the following: import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException # create an instance of the API class api_instance = cloudendure_api.AccountApi(cloudendure_api.ApiClient(configuration)) account_id = 'account_id_example' # str | try: # Get Account information api_response = api_instance.accounts_account_id_get(account_id) print(api_response) except ApiException as e: print('Exception when calling AccountApi->accounts_account_id_get: %s\\n '% e)","title":"Getting Started"},{"location":"api/API_README/#documentation-for-api-endpoints","text":"All URIs are relative to https://console.cloudendure.com/api/latest Class Method HTTP request Description AccountApi accounts_account_id_get GET /accounts/{accountId} Get Account information ActionsApi projects_project_id_find_files_post POST /projects/{projectId}/findFiles Search for files in a backup project ActionsApi projects_project_id_jobs_get GET /projects/{projectId}/jobs List Jobs ActionsApi projects_project_id_jobs_job_id_get GET /projects/{projectId}/jobs/{jobId} Get Job ActionsApi projects_project_id_launch_machines_post POST /projects/{projectId}/launchMachines Launch target machines ActionsApi projects_project_id_launch_restore_servers_post POST /projects/{projectId}/launchRestoreServers Launch restore servers @todo ActionsApi projects_project_id_move_machines_post POST /projects/{projectId}/moveMachines Moves machines to another project ActionsApi projects_project_id_pause_replication_post POST /projects/{projectId}/pauseReplication Pause replication ActionsApi projects_project_id_replicas_delete DELETE /projects/{projectId}/replicas Perform Cleanup ActionsApi projects_project_id_restore_files_post POST /projects/{projectId}/restoreFiles Restore selected files in a backup project ActionsApi projects_project_id_reverse_replication_post POST /projects/{projectId}/reverseReplication Reverse replication direction ActionsApi projects_project_id_start_replication_post POST /projects/{projectId}/startReplication Start replication ActionsApi projects_project_id_stop_replication_post POST /projects/{projectId}/stopReplication Stop replication AuthenticationApi login_post POST /login Login AuthenticationApi logout_post POST /logout Logout BlueprintApi projects_project_id_blueprints_blueprint_id_get GET /projects/{projectId}/blueprints/{blueprintId} Get Blueprint BlueprintApi projects_project_id_blueprints_blueprint_id_patch PATCH /projects/{projectId}/blueprints/{blueprintId} Configure Blueprint BlueprintApi projects_project_id_blueprints_get GET /projects/{projectId}/blueprints List Blueprints BlueprintApi projects_project_id_blueprints_post POST /projects/{projectId}/blueprints Create Blueprint CloudApi cloud_credentials_creds_id_regions_get GET /cloudCredentials/{credsId}/regions List Regions CloudApi cloud_credentials_creds_id_regions_region_id_delete DELETE /cloudCredentials/{credsId}/regions/{regionId} Delete region (VCenter) CloudApi cloud_credentials_creds_id_regions_region_id_get GET /cloudCredentials/{credsId}/regions/{regionId} Get Region CloudApi cloud_credentials_creds_id_regions_region_id_patch PATCH /cloudCredentials/{credsId}/regions/{regionId} Patch region (rename) CloudApi clouds_get GET /clouds List Clouds CloudCredentialsApi cloud_credentials_creds_id_get GET /cloudCredentials/{credsId} Get Credentials CloudCredentialsApi cloud_credentials_creds_id_patch PATCH /cloudCredentials/{credsId} Change Credentials CloudCredentialsApi cloud_credentials_get GET /cloudCredentials List Credentials CloudCredentialsApi cloud_credentials_post POST /cloudCredentials Create Credentials DefaultApi accounts_account_id_access_get GET /accounts/{accountId}/access get a temporary token by email DefaultApi extended_account_info_get GET /extendedAccountInfo Returns the extended current account information. DefaultApi projects_assign_users_post POST /projects/assignUsers todo DefaultApi projects_project_id_audit_log_get GET /projects/{projectId}/auditLog Get audit log DefaultApi projects_project_id_storage_get GET /projects/{projectId}/storage project's storage DefaultApi projects_remove_users_post POST /projects/removeUsers todo DefaultApi replace_api_token_post POST /replaceApiToken Replaces API token DefaultApi set_password_post POST /setPassword Set password for invited user DefaultApi users_assign_roles_post POST /users/assignRoles Add roles to users DefaultApi users_post POST /users Create a new User DefaultApi users_revoke_roles_post POST /users/revokeRoles Add roles to users LicensingApi licenses_get GET /licenses List Licenses LicensingApi licenses_license_id_get GET /licenses/{licenseId} Get License MachinesApi projects_project_id_machines_delete DELETE /projects/{projectId}/machines Uninstall agent MachinesApi projects_project_id_machines_get GET /projects/{projectId}/machines List Machines MachinesApi projects_project_id_machines_machine_id_get GET /projects/{projectId}/machines/{machineId} Get a specific machine. MachinesApi projects_project_id_machines_machine_id_patch PATCH /projects/{projectId}/machines/{machineId} Update a machine. Accepts only Launch time updates. MachinesApi projects_project_id_machines_patch PATCH /projects/{projectId}/machines Batch-update multiple machines MachinesApi projects_project_id_replicas_replica_id_get GET /projects/{projectId}/replicas/{replicaId} Get Target Machine ProjectApi projects_get GET /projects List Projects ProjectApi projects_post POST /projects Create Project ProjectApi projects_project_id_delete DELETE /projects/{projectId} Delete Project and all sub-resources including cloud assets other than launched target machines ProjectApi projects_project_id_get GET /projects/{projectId} Get Project ProjectApi projects_project_id_patch PATCH /projects/{projectId} Update Project (including partial update) ProjectApi projects_project_id_tags_get GET /projects/{projectId}/tags Gets all instance tags of all machines in the project. RecoveryPlansApi projects_project_id_recovery_plans_get GET /projects/{projectId}/recoveryPlans Gets all recovery plans for the project. RecoveryPlansApi projects_project_id_recovery_plans_post POST /projects/{projectId}/recoveryPlans Creates a new recovery plan. RecoveryPlansApi projects_project_id_recovery_plans_recovery_plan_id_delete DELETE /projects/{projectId}/recoveryPlans/{recoveryPlanId} Deletes a recovery plan. RecoveryPlansApi projects_project_id_recovery_plans_recovery_plan_id_get GET /projects/{projectId}/recoveryPlans/{recoveryPlanId} Gets a recovery plan. RecoveryPlansApi projects_project_id_recovery_plans_recovery_plan_id_patch PATCH /projects/{projectId}/recoveryPlans/{recoveryPlanId} Updates a new recovery plan. RecoveryPlansApi projects_project_id_run_recovery_plan_post POST /projects/{projectId}/runRecoveryPlan Launch a recovery plan. ReplicationApi projects_project_id_machines_machine_id_bandwidth_throttling_get GET /projects/{projectId}/machines/{machineId}/bandwidthThrottling Get value of network bandwidth throttling setting for Machine ReplicationApi projects_project_id_machines_machine_id_bandwidth_throttling_patch PATCH /projects/{projectId}/machines/{machineId}/bandwidthThrottling Set value of network bandwidth throttling setting for Machine ReplicationApi projects_project_id_machines_machine_id_delete DELETE /projects/{projectId}/machines/{machineId} Uninstall agent ReplicationApi projects_project_id_machines_machine_id_pointsintime_get GET /projects/{projectId}/machines/{machineId}/pointsintime List Available Points-in-time ReplicationApi projects_project_id_replication_configurations_get GET /projects/{projectId}/replicationConfigurations List Replication Configurations ReplicationApi projects_project_id_replication_configurations_post POST /projects/{projectId}/replicationConfigurations Create Replication Configuration ReplicationApi projects_project_id_replication_configurations_replication_configuration_id_patch PATCH /projects/{projectId}/replicationConfigurations/{replicationConfigurationId} Modify Replication Configuration UserApi change_password_post POST /changePassword Change Password UserApi me_get GET /me Me UserApi users_user_id_delete DELETE /users/{userId} Delete a User UserApi users_user_id_patch PATCH /users/{userId} Modify user settings","title":"Documentation for API Endpoints"},{"location":"api/API_README/#documentation-for-models","text":"CloudEndureAccount CloudEndureAccountRequest CloudEndureAccountRequestList CloudEndureAccountsList CloudEndureAgentNextReplicationInitRequest CloudEndureAllProjectFeatures CloudEndureAuditLog CloudEndureAuditLogChangedField CloudEndureAuditLogEntry CloudEndureBandwidthThrottling CloudEndureBlueprint CloudEndureBlueprintList CloudEndureCloud CloudEndureCloudCredentials CloudEndureCloudCredentialsList CloudEndureCloudCredentialsRequest CloudEndureCloudsList CloudEndureComputeLocation CloudEndureConfigurations CloudEndureConfigurationsList CloudEndureError CloudEndureExtendedAccountInfo CloudEndureFindFilesParameters CloudEndureFindFilesResult CloudEndureFindFilesResultPit CloudEndureFindFilesResults CloudEndureGcpMachinesFinanceData CloudEndureIdentityProviderRedirectResponse CloudEndureInitializationStep CloudEndureJob CloudEndureJobsList CloudEndureKeyValueList CloudEndureLaunchMachinesParameters CloudEndureLicense CloudEndureLicenseFeatures CloudEndureLicenseList CloudEndureListUsersResult CloudEndureListUsersResults CloudEndureLogicalLocation CloudEndureMachine CloudEndureMachineAndPathAndPointInTime CloudEndureMachineAndPointInTime CloudEndureMachineReplicationConfiguration CloudEndureMachineSnapshotCredits CloudEndureMachineThrottleTimeSeconds CloudEndureMachinesList CloudEndureMachinesListInvalidIDsAndJob CloudEndureNetworkInterface CloudEndurePointInTime CloudEndurePointInTimeList CloudEndureProject CloudEndureProjectStorage CloudEndureProjectsAndUsers CloudEndureProjectsList CloudEndureRecoveryPlan CloudEndureRecoveryPlanList CloudEndureRecoveryPlanStep CloudEndureRecoveryPlanSteps CloudEndureRegion CloudEndureRegionsList CloudEndureReplica CloudEndureReplicationConfiguration CloudEndureReplicationConfigurationList CloudEndureReplicationServerConfig CloudEndureRestoreFilesParameters CloudEndureSamlSettings CloudEndureSecurityGroup CloudEndureStorageLocation CloudEndureSubnet CloudEndureTime CloudEndureUpdateableScripts CloudEndureUpgradeCounterDelay CloudEndureUsage CloudEndureUsageList CloudEndureUser CloudEndureUserReport CloudEndureUserReports CloudEndureUsersAndRoles CloudEndureUsersList CloudEndureVCenterSubnet","title":"Documentation For Models"},{"location":"api/API_README/#documentation-for-authorization","text":"All endpoints do not require authorization.","title":"Documentation For Authorization"},{"location":"api/AccountApi/","text":"cloudendure.cloudendure_api.AccountApi All URIs are relative to https://console.cloudendure.com/api/latest Method HTTP request Description accounts_account_id_get GET /accounts/{accountId} Get Account information accounts_account_id_get CloudEndureAccount accounts_account_id_get(account_id) Get Account information Example from __future__ import print_function import time from pprint import pprint from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException # create an instance of the API class api_instance = cloudendure_api.AccountApi() account_id = 'account_id_example' # str | try: # Get Account information api_response = api_instance.accounts_account_id_get(account_id) pprint(api_response) except ApiException as e: print(\"Exception when calling AccountApi->accounts_account_id_get: %s\\n\" % e) Parameters Name Type Description Notes account_id str Return type CloudEndureAccount Authorization No authorization required HTTP request headers Content-Type : Not defined Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"AccountApi"},{"location":"api/AccountApi/#cloudendurecloudendure_apiaccountapi","text":"All URIs are relative to https://console.cloudendure.com/api/latest Method HTTP request Description accounts_account_id_get GET /accounts/{accountId} Get Account information","title":"cloudendure.cloudendure_api.AccountApi"},{"location":"api/AccountApi/#accounts_account_id_get","text":"CloudEndureAccount accounts_account_id_get(account_id) Get Account information","title":"accounts_account_id_get"},{"location":"api/AccountApi/#example","text":"from __future__ import print_function import time from pprint import pprint from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException # create an instance of the API class api_instance = cloudendure_api.AccountApi() account_id = 'account_id_example' # str | try: # Get Account information api_response = api_instance.accounts_account_id_get(account_id) pprint(api_response) except ApiException as e: print(\"Exception when calling AccountApi->accounts_account_id_get: %s\\n\" % e)","title":"Example"},{"location":"api/AccountApi/#parameters","text":"Name Type Description Notes account_id str","title":"Parameters"},{"location":"api/AccountApi/#return-type","text":"CloudEndureAccount","title":"Return type"},{"location":"api/AccountApi/#authorization","text":"No authorization required","title":"Authorization"},{"location":"api/AccountApi/#http-request-headers","text":"Content-Type : Not defined Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"HTTP request headers"},{"location":"api/ActionsApi/","text":"cloudendure_api.ActionsApi All URIs are relative to https://console.cloudendure.com/api/latest Method HTTP request Description projects_project_id_find_files_post POST /projects/{projectId}/findFiles Search for files in a backup project projects_project_id_jobs_get GET /projects/{projectId}/jobs List Jobs projects_project_id_jobs_job_id_get GET /projects/{projectId}/jobs/{jobId} Get Job projects_project_id_launch_machines_post POST /projects/{projectId}/launchMachines Launch target machines projects_project_id_launch_restore_servers_post POST /projects/{projectId}/launchRestoreServers Launch restore servers @todo projects_project_id_move_machines_post POST /projects/{projectId}/moveMachines Moves machines to another project projects_project_id_pause_replication_post POST /projects/{projectId}/pauseReplication Pause replication projects_project_id_replicas_delete DELETE /projects/{projectId}/replicas Perform Cleanup projects_project_id_restore_files_post POST /projects/{projectId}/restoreFiles Restore selected files in a backup project projects_project_id_reverse_replication_post POST /projects/{projectId}/reverseReplication Reverse replication direction projects_project_id_start_replication_post POST /projects/{projectId}/startReplication Start replication projects_project_id_stop_replication_post POST /projects/{projectId}/stopReplication Stop replication projects_project_id_find_files_post CloudEndureFindFilesResults projects_project_id_find_files_post(body, project_id) Search for files in a backup project Example from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.ActionsApi() body = cloudendure_api.CloudEndureFindFilesParameters() # CloudEndureFindFilesParameters | The query string and the machine id's to use it in project_id = 'project_id_example' # str | try: # Search for files in a backup project api_response = api_instance.projects_project_id_find_files_post(body, project_id) pprint(api_response) except ApiException as e: print(\"Exception when calling ActionsApi->projects_project_id_find_files_post: %s\\n\" % e) Parameters Name Type Description Notes body CloudEndureFindFilesParameters The query string and the machine id's to use it in project_id str Return type CloudEndureFindFilesResults Authorization No authorization required HTTP request headers Content-Type : application/json Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README] projects_project_id_jobs_get CloudEndureJobsList projects_project_id_jobs_get(project_id, offset=offset, limit=limit) List Jobs Returns the list of jobs in the project. Example from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.ActionsApi() project_id = 'project_id_example' # str | offset = 56 # int | With which item to start (0 based). (optional) limit = 56 # int | A number specifying how many entries to return. (optional) try: # List Jobs api_response = api_instance.projects_project_id_jobs_get(project_id, offset=offset, limit=limit) pprint(api_response) except ApiException as e: print(\"Exception when calling ActionsApi->projects_project_id_jobs_get: %s\\n\" % e) Parameters Name Type Description Notes project_id str offset int With which item to start (0 based). [optional] limit int A number specifying how many entries to return. [optional] Return type CloudEndureJobsList Authorization No authorization required HTTP request headers Content-Type : Not defined Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README] projects_project_id_jobs_job_id_get CloudEndureJob projects_project_id_jobs_job_id_get(project_id, job_id) Get Job Example from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.ActionsApi() project_id = 'project_id_example' # str | job_id = 'job_id_example' # str | try: # Get Job api_response = api_instance.projects_project_id_jobs_job_id_get(project_id, job_id) pprint(api_response) except ApiException as e: print(\"Exception when calling ActionsApi->projects_project_id_jobs_job_id_get: %s\\n\" % e) Parameters Name Type Description Notes project_id str job_id str Return type CloudEndureJob Authorization No authorization required HTTP request headers Content-Type : Not defined Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README] projects_project_id_launch_machines_post CloudEndureJob projects_project_id_launch_machines_post(body, project_id) Launch target machines Launch target machines for test, recovery or cutover (by passing enum value to launchType param) Example from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.ActionsApi() body = cloudendure_api.CloudEndureLaunchMachinesParameters() # CloudEndureLaunchMachinesParameters | Machines to launch project_id = 'project_id_example' # str | try: # Launch target machines api_response = api_instance.projects_project_id_launch_machines_post(body, project_id) pprint(api_response) except ApiException as e: print(\"Exception when calling ActionsApi->projects_project_id_launch_machines_post: %s\\n\" % e) Parameters Name Type Description Notes body CloudEndureLaunchMachinesParameters Machines to launch project_id str Return type CloudEndureJob Authorization No authorization required HTTP request headers Content-Type : application/json Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README] projects_project_id_launch_restore_servers_post CloudEndureJob projects_project_id_launch_restore_servers_post(body, project_id) Launch restore servers @todo todo Example from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.ActionsApi() body = cloudendure_api.CloudEndureLaunchMachinesParameters() # CloudEndureLaunchMachinesParameters | todo project_id = 'project_id_example' # str | try: # Launch restore servers @todo api_response = api_instance.projects_project_id_launch_restore_servers_post(body, project_id) pprint(api_response) except ApiException as e: print(\"Exception when calling ActionsApi->projects_project_id_launch_restore_servers_post: %s\\n\" % e) Parameters Name Type Description Notes body CloudEndureLaunchMachinesParameters todo project_id str Return type CloudEndureJob Authorization No authorization required HTTP request headers Content-Type : application/json Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README] projects_project_id_move_machines_post projects_project_id_move_machines_post(body, project_id) Moves machines to another project TBC Example from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.ActionsApi() body = NULL # object | project_id = 'project_id_example' # str | try: # Moves machines to another project api_instance.projects_project_id_move_machines_post(body, project_id) except ApiException as e: print(\"Exception when calling ActionsApi->projects_project_id_move_machines_post: %s\\n\" % e) Parameters Name Type Description Notes body object project_id str Return type void (empty response body) Authorization No authorization required HTTP request headers Content-Type : application/json Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README] projects_project_id_pause_replication_post CloudEndureMachinesListInvalidIDsAndJob projects_project_id_pause_replication_post(body, project_id) Pause replication Pause replication for given machines Example from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.ActionsApi() body = NULL # object | The machine IDs for which to pause replication. project_id = 'project_id_example' # str | try: # Pause replication api_response = api_instance.projects_project_id_pause_replication_post(body, project_id) pprint(api_response) except ApiException as e: print(\"Exception when calling ActionsApi->projects_project_id_pause_replication_post: %s\\n\" % e) Parameters Name Type Description Notes body object The machine IDs for which to pause replication. project_id str Return type CloudEndureMachinesListInvalidIDsAndJob Authorization No authorization required HTTP request headers Content-Type : application/json Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README] projects_project_id_replicas_delete CloudEndureJob projects_project_id_replicas_delete(body, project_id) Perform Cleanup Spawns a cleanup job to remove the specified target machines from the cloud. Returns the job information. Example from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.ActionsApi() body = NULL # object | The list of replica IDs to delete (corresponding to the 'replica' field in the machine object. project_id = 'project_id_example' # str | try: # Perform Cleanup api_response = api_instance.projects_project_id_replicas_delete(body, project_id) pprint(api_response) except ApiException as e: print(\"Exception when calling ActionsApi->projects_project_id_replicas_delete: %s\\n\" % e) Parameters Name Type Description Notes body object The list of replica IDs to delete (corresponding to the 'replica' field in the machine object. project_id str Return type CloudEndureJob Authorization No authorization required HTTP request headers Content-Type : application/json Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README] projects_project_id_restore_files_post CloudEndureJob projects_project_id_restore_files_post(body, project_id) Restore selected files in a backup project Example from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.ActionsApi() body = cloudendure_api.CloudEndureRestoreFilesParameters() # CloudEndureRestoreFilesParameters | A list of file origins, each origin includes file path, machine id, and pit id. project_id = 'project_id_example' # str | try: # Restore selected files in a backup project api_response = api_instance.projects_project_id_restore_files_post(body, project_id) pprint(api_response) except ApiException as e: print(\"Exception when calling ActionsApi->projects_project_id_restore_files_post: %s\\n\" % e) Parameters Name Type Description Notes body CloudEndureRestoreFilesParameters A list of file origins, each origin includes file path, machine id, and pit id. project_id str Return type CloudEndureJob Authorization No authorization required HTTP request headers Content-Type : application/json Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README] projects_project_id_reverse_replication_post projects_project_id_reverse_replication_post(project_id) Reverse replication direction Example from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.ActionsApi() project_id = 'project_id_example' # str | try: # Reverse replication direction api_instance.projects_project_id_reverse_replication_post(project_id) except ApiException as e: print(\"Exception when calling ActionsApi->projects_project_id_reverse_replication_post: %s\\n\" % e) Parameters Name Type Description Notes project_id str Return type void (empty response body) Authorization No authorization required HTTP request headers Content-Type : Not defined Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README] projects_project_id_start_replication_post CloudEndureMachinesListInvalidIDsAndJob projects_project_id_start_replication_post(body, project_id) Start replication Start replication of the specified source machines. Returns the machine for which replication has been successfully started, and the IDs for which replication could not be started. Example from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.ActionsApi() body = NULL # object | Specification of the machines for which replication will start. project_id = 'project_id_example' # str | try: # Start replication api_response = api_instance.projects_project_id_start_replication_post(body, project_id) pprint(api_response) except ApiException as e: print(\"Exception when calling ActionsApi->projects_project_id_start_replication_post: %s\\n\" % e) Parameters Name Type Description Notes body object Specification of the machines for which replication will start. project_id str Return type CloudEndureMachinesListInvalidIDsAndJob Authorization No authorization required HTTP request headers Content-Type : application/json Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README] projects_project_id_stop_replication_post CloudEndureMachinesListInvalidIDsAndJob projects_project_id_stop_replication_post(body, project_id) Stop replication Stop replication of the specified source machines. Returns the machine for which replication has been successfully stopped, and the IDs for which replication could not be stopped. Example from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.ActionsApi() body = NULL # object | Specification of the machines for which replication will stop. project_id = 'project_id_example' # str | try: # Stop replication api_response = api_instance.projects_project_id_stop_replication_post(body, project_id) pprint(api_response) except ApiException as e: print(\"Exception when calling ActionsApi->projects_project_id_stop_replication_post: %s\\n\" % e) Parameters Name Type Description Notes body object Specification of the machines for which replication will stop. project_id str Return type CloudEndureMachinesListInvalidIDsAndJob Authorization No authorization required HTTP request headers Content-Type : application/json Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"ActionsApi"},{"location":"api/ActionsApi/#cloudendure_apiactionsapi","text":"All URIs are relative to https://console.cloudendure.com/api/latest Method HTTP request Description projects_project_id_find_files_post POST /projects/{projectId}/findFiles Search for files in a backup project projects_project_id_jobs_get GET /projects/{projectId}/jobs List Jobs projects_project_id_jobs_job_id_get GET /projects/{projectId}/jobs/{jobId} Get Job projects_project_id_launch_machines_post POST /projects/{projectId}/launchMachines Launch target machines projects_project_id_launch_restore_servers_post POST /projects/{projectId}/launchRestoreServers Launch restore servers @todo projects_project_id_move_machines_post POST /projects/{projectId}/moveMachines Moves machines to another project projects_project_id_pause_replication_post POST /projects/{projectId}/pauseReplication Pause replication projects_project_id_replicas_delete DELETE /projects/{projectId}/replicas Perform Cleanup projects_project_id_restore_files_post POST /projects/{projectId}/restoreFiles Restore selected files in a backup project projects_project_id_reverse_replication_post POST /projects/{projectId}/reverseReplication Reverse replication direction projects_project_id_start_replication_post POST /projects/{projectId}/startReplication Start replication projects_project_id_stop_replication_post POST /projects/{projectId}/stopReplication Stop replication","title":"cloudendure_api.ActionsApi"},{"location":"api/ActionsApi/#projects_project_id_find_files_post","text":"CloudEndureFindFilesResults projects_project_id_find_files_post(body, project_id) Search for files in a backup project","title":"projects_project_id_find_files_post"},{"location":"api/ActionsApi/#example","text":"from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.ActionsApi() body = cloudendure_api.CloudEndureFindFilesParameters() # CloudEndureFindFilesParameters | The query string and the machine id's to use it in project_id = 'project_id_example' # str | try: # Search for files in a backup project api_response = api_instance.projects_project_id_find_files_post(body, project_id) pprint(api_response) except ApiException as e: print(\"Exception when calling ActionsApi->projects_project_id_find_files_post: %s\\n\" % e)","title":"Example"},{"location":"api/ActionsApi/#parameters","text":"Name Type Description Notes body CloudEndureFindFilesParameters The query string and the machine id's to use it in project_id str","title":"Parameters"},{"location":"api/ActionsApi/#return-type","text":"CloudEndureFindFilesResults","title":"Return type"},{"location":"api/ActionsApi/#authorization","text":"No authorization required","title":"Authorization"},{"location":"api/ActionsApi/#http-request-headers","text":"Content-Type : application/json Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"HTTP request headers"},{"location":"api/ActionsApi/#projects_project_id_jobs_get","text":"CloudEndureJobsList projects_project_id_jobs_get(project_id, offset=offset, limit=limit) List Jobs Returns the list of jobs in the project.","title":"projects_project_id_jobs_get"},{"location":"api/ActionsApi/#example_1","text":"from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.ActionsApi() project_id = 'project_id_example' # str | offset = 56 # int | With which item to start (0 based). (optional) limit = 56 # int | A number specifying how many entries to return. (optional) try: # List Jobs api_response = api_instance.projects_project_id_jobs_get(project_id, offset=offset, limit=limit) pprint(api_response) except ApiException as e: print(\"Exception when calling ActionsApi->projects_project_id_jobs_get: %s\\n\" % e)","title":"Example"},{"location":"api/ActionsApi/#parameters_1","text":"Name Type Description Notes project_id str offset int With which item to start (0 based). [optional] limit int A number specifying how many entries to return. [optional]","title":"Parameters"},{"location":"api/ActionsApi/#return-type_1","text":"CloudEndureJobsList","title":"Return type"},{"location":"api/ActionsApi/#authorization_1","text":"No authorization required","title":"Authorization"},{"location":"api/ActionsApi/#http-request-headers_1","text":"Content-Type : Not defined Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"HTTP request headers"},{"location":"api/ActionsApi/#projects_project_id_jobs_job_id_get","text":"CloudEndureJob projects_project_id_jobs_job_id_get(project_id, job_id) Get Job","title":"projects_project_id_jobs_job_id_get"},{"location":"api/ActionsApi/#example_2","text":"from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.ActionsApi() project_id = 'project_id_example' # str | job_id = 'job_id_example' # str | try: # Get Job api_response = api_instance.projects_project_id_jobs_job_id_get(project_id, job_id) pprint(api_response) except ApiException as e: print(\"Exception when calling ActionsApi->projects_project_id_jobs_job_id_get: %s\\n\" % e)","title":"Example"},{"location":"api/ActionsApi/#parameters_2","text":"Name Type Description Notes project_id str job_id str","title":"Parameters"},{"location":"api/ActionsApi/#return-type_2","text":"CloudEndureJob","title":"Return type"},{"location":"api/ActionsApi/#authorization_2","text":"No authorization required","title":"Authorization"},{"location":"api/ActionsApi/#http-request-headers_2","text":"Content-Type : Not defined Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"HTTP request headers"},{"location":"api/ActionsApi/#projects_project_id_launch_machines_post","text":"CloudEndureJob projects_project_id_launch_machines_post(body, project_id) Launch target machines Launch target machines for test, recovery or cutover (by passing enum value to launchType param)","title":"projects_project_id_launch_machines_post"},{"location":"api/ActionsApi/#example_3","text":"from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.ActionsApi() body = cloudendure_api.CloudEndureLaunchMachinesParameters() # CloudEndureLaunchMachinesParameters | Machines to launch project_id = 'project_id_example' # str | try: # Launch target machines api_response = api_instance.projects_project_id_launch_machines_post(body, project_id) pprint(api_response) except ApiException as e: print(\"Exception when calling ActionsApi->projects_project_id_launch_machines_post: %s\\n\" % e)","title":"Example"},{"location":"api/ActionsApi/#parameters_3","text":"Name Type Description Notes body CloudEndureLaunchMachinesParameters Machines to launch project_id str","title":"Parameters"},{"location":"api/ActionsApi/#return-type_3","text":"CloudEndureJob","title":"Return type"},{"location":"api/ActionsApi/#authorization_3","text":"No authorization required","title":"Authorization"},{"location":"api/ActionsApi/#http-request-headers_3","text":"Content-Type : application/json Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"HTTP request headers"},{"location":"api/ActionsApi/#projects_project_id_launch_restore_servers_post","text":"CloudEndureJob projects_project_id_launch_restore_servers_post(body, project_id) Launch restore servers @todo todo","title":"projects_project_id_launch_restore_servers_post"},{"location":"api/ActionsApi/#example_4","text":"from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.ActionsApi() body = cloudendure_api.CloudEndureLaunchMachinesParameters() # CloudEndureLaunchMachinesParameters | todo project_id = 'project_id_example' # str | try: # Launch restore servers @todo api_response = api_instance.projects_project_id_launch_restore_servers_post(body, project_id) pprint(api_response) except ApiException as e: print(\"Exception when calling ActionsApi->projects_project_id_launch_restore_servers_post: %s\\n\" % e)","title":"Example"},{"location":"api/ActionsApi/#parameters_4","text":"Name Type Description Notes body CloudEndureLaunchMachinesParameters todo project_id str","title":"Parameters"},{"location":"api/ActionsApi/#return-type_4","text":"CloudEndureJob","title":"Return type"},{"location":"api/ActionsApi/#authorization_4","text":"No authorization required","title":"Authorization"},{"location":"api/ActionsApi/#http-request-headers_4","text":"Content-Type : application/json Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"HTTP request headers"},{"location":"api/ActionsApi/#projects_project_id_move_machines_post","text":"projects_project_id_move_machines_post(body, project_id) Moves machines to another project TBC","title":"projects_project_id_move_machines_post"},{"location":"api/ActionsApi/#example_5","text":"from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.ActionsApi() body = NULL # object | project_id = 'project_id_example' # str | try: # Moves machines to another project api_instance.projects_project_id_move_machines_post(body, project_id) except ApiException as e: print(\"Exception when calling ActionsApi->projects_project_id_move_machines_post: %s\\n\" % e)","title":"Example"},{"location":"api/ActionsApi/#parameters_5","text":"Name Type Description Notes body object project_id str","title":"Parameters"},{"location":"api/ActionsApi/#return-type_5","text":"void (empty response body)","title":"Return type"},{"location":"api/ActionsApi/#authorization_5","text":"No authorization required","title":"Authorization"},{"location":"api/ActionsApi/#http-request-headers_5","text":"Content-Type : application/json Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"HTTP request headers"},{"location":"api/ActionsApi/#projects_project_id_pause_replication_post","text":"CloudEndureMachinesListInvalidIDsAndJob projects_project_id_pause_replication_post(body, project_id) Pause replication Pause replication for given machines","title":"projects_project_id_pause_replication_post"},{"location":"api/ActionsApi/#example_6","text":"from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.ActionsApi() body = NULL # object | The machine IDs for which to pause replication. project_id = 'project_id_example' # str | try: # Pause replication api_response = api_instance.projects_project_id_pause_replication_post(body, project_id) pprint(api_response) except ApiException as e: print(\"Exception when calling ActionsApi->projects_project_id_pause_replication_post: %s\\n\" % e)","title":"Example"},{"location":"api/ActionsApi/#parameters_6","text":"Name Type Description Notes body object The machine IDs for which to pause replication. project_id str","title":"Parameters"},{"location":"api/ActionsApi/#return-type_6","text":"CloudEndureMachinesListInvalidIDsAndJob","title":"Return type"},{"location":"api/ActionsApi/#authorization_6","text":"No authorization required","title":"Authorization"},{"location":"api/ActionsApi/#http-request-headers_6","text":"Content-Type : application/json Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"HTTP request headers"},{"location":"api/ActionsApi/#projects_project_id_replicas_delete","text":"CloudEndureJob projects_project_id_replicas_delete(body, project_id) Perform Cleanup Spawns a cleanup job to remove the specified target machines from the cloud. Returns the job information.","title":"projects_project_id_replicas_delete"},{"location":"api/ActionsApi/#example_7","text":"from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.ActionsApi() body = NULL # object | The list of replica IDs to delete (corresponding to the 'replica' field in the machine object. project_id = 'project_id_example' # str | try: # Perform Cleanup api_response = api_instance.projects_project_id_replicas_delete(body, project_id) pprint(api_response) except ApiException as e: print(\"Exception when calling ActionsApi->projects_project_id_replicas_delete: %s\\n\" % e)","title":"Example"},{"location":"api/ActionsApi/#parameters_7","text":"Name Type Description Notes body object The list of replica IDs to delete (corresponding to the 'replica' field in the machine object. project_id str","title":"Parameters"},{"location":"api/ActionsApi/#return-type_7","text":"CloudEndureJob","title":"Return type"},{"location":"api/ActionsApi/#authorization_7","text":"No authorization required","title":"Authorization"},{"location":"api/ActionsApi/#http-request-headers_7","text":"Content-Type : application/json Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"HTTP request headers"},{"location":"api/ActionsApi/#projects_project_id_restore_files_post","text":"CloudEndureJob projects_project_id_restore_files_post(body, project_id) Restore selected files in a backup project","title":"projects_project_id_restore_files_post"},{"location":"api/ActionsApi/#example_8","text":"from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.ActionsApi() body = cloudendure_api.CloudEndureRestoreFilesParameters() # CloudEndureRestoreFilesParameters | A list of file origins, each origin includes file path, machine id, and pit id. project_id = 'project_id_example' # str | try: # Restore selected files in a backup project api_response = api_instance.projects_project_id_restore_files_post(body, project_id) pprint(api_response) except ApiException as e: print(\"Exception when calling ActionsApi->projects_project_id_restore_files_post: %s\\n\" % e)","title":"Example"},{"location":"api/ActionsApi/#parameters_8","text":"Name Type Description Notes body CloudEndureRestoreFilesParameters A list of file origins, each origin includes file path, machine id, and pit id. project_id str","title":"Parameters"},{"location":"api/ActionsApi/#return-type_8","text":"CloudEndureJob","title":"Return type"},{"location":"api/ActionsApi/#authorization_8","text":"No authorization required","title":"Authorization"},{"location":"api/ActionsApi/#http-request-headers_8","text":"Content-Type : application/json Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"HTTP request headers"},{"location":"api/ActionsApi/#projects_project_id_reverse_replication_post","text":"projects_project_id_reverse_replication_post(project_id) Reverse replication direction","title":"projects_project_id_reverse_replication_post"},{"location":"api/ActionsApi/#example_9","text":"from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.ActionsApi() project_id = 'project_id_example' # str | try: # Reverse replication direction api_instance.projects_project_id_reverse_replication_post(project_id) except ApiException as e: print(\"Exception when calling ActionsApi->projects_project_id_reverse_replication_post: %s\\n\" % e)","title":"Example"},{"location":"api/ActionsApi/#parameters_9","text":"Name Type Description Notes project_id str","title":"Parameters"},{"location":"api/ActionsApi/#return-type_9","text":"void (empty response body)","title":"Return type"},{"location":"api/ActionsApi/#authorization_9","text":"No authorization required","title":"Authorization"},{"location":"api/ActionsApi/#http-request-headers_9","text":"Content-Type : Not defined Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"HTTP request headers"},{"location":"api/ActionsApi/#projects_project_id_start_replication_post","text":"CloudEndureMachinesListInvalidIDsAndJob projects_project_id_start_replication_post(body, project_id) Start replication Start replication of the specified source machines. Returns the machine for which replication has been successfully started, and the IDs for which replication could not be started.","title":"projects_project_id_start_replication_post"},{"location":"api/ActionsApi/#example_10","text":"from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.ActionsApi() body = NULL # object | Specification of the machines for which replication will start. project_id = 'project_id_example' # str | try: # Start replication api_response = api_instance.projects_project_id_start_replication_post(body, project_id) pprint(api_response) except ApiException as e: print(\"Exception when calling ActionsApi->projects_project_id_start_replication_post: %s\\n\" % e)","title":"Example"},{"location":"api/ActionsApi/#parameters_10","text":"Name Type Description Notes body object Specification of the machines for which replication will start. project_id str","title":"Parameters"},{"location":"api/ActionsApi/#return-type_10","text":"CloudEndureMachinesListInvalidIDsAndJob","title":"Return type"},{"location":"api/ActionsApi/#authorization_10","text":"No authorization required","title":"Authorization"},{"location":"api/ActionsApi/#http-request-headers_10","text":"Content-Type : application/json Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"HTTP request headers"},{"location":"api/ActionsApi/#projects_project_id_stop_replication_post","text":"CloudEndureMachinesListInvalidIDsAndJob projects_project_id_stop_replication_post(body, project_id) Stop replication Stop replication of the specified source machines. Returns the machine for which replication has been successfully stopped, and the IDs for which replication could not be stopped.","title":"projects_project_id_stop_replication_post"},{"location":"api/ActionsApi/#example_11","text":"from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.ActionsApi() body = NULL # object | Specification of the machines for which replication will stop. project_id = 'project_id_example' # str | try: # Stop replication api_response = api_instance.projects_project_id_stop_replication_post(body, project_id) pprint(api_response) except ApiException as e: print(\"Exception when calling ActionsApi->projects_project_id_stop_replication_post: %s\\n\" % e)","title":"Example"},{"location":"api/ActionsApi/#parameters_11","text":"Name Type Description Notes body object Specification of the machines for which replication will stop. project_id str","title":"Parameters"},{"location":"api/ActionsApi/#return-type_11","text":"CloudEndureMachinesListInvalidIDsAndJob","title":"Return type"},{"location":"api/ActionsApi/#authorization_11","text":"No authorization required","title":"Authorization"},{"location":"api/ActionsApi/#http-request-headers_11","text":"Content-Type : application/json Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"HTTP request headers"},{"location":"api/AuthenticationApi/","text":"cloudendure_api.AuthenticationApi All URIs are relative to https://console.cloudendure.com/api/latest Method HTTP request Description login_post POST /login Login logout_post POST /logout Logout login_post CloudEndureUser login_post(body) Login @todo: fix re use of XSRF-TOKEN cookie + X-XSRF-TOKEN header Upon successful authentication, this method returns a session identifier cookie that can be used to authenticate subsequent API calls. Example from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.AuthenticationApi() body = NULL # object | Login info try: # Login api_response = api_instance.login_post(body) pprint(api_response) except ApiException as e: print(\"Exception when calling AuthenticationApi->login_post: %s\\n\" % e) Parameters Name Type Description Notes body object Login info Return type CloudEndureUser Authorization No authorization required HTTP request headers Content-Type : application/json Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README] logout_post logout_post() Logout Invalidates the session identifier associated with this session. Example from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.AuthenticationApi() try: # Logout api_instance.logout_post() except ApiException as e: print(\"Exception when calling AuthenticationApi->logout_post: %s\\n\" % e) Parameters This endpoint does not need any parameter. Return type void (empty response body) Authorization No authorization required HTTP request headers Content-Type : Not defined Accept : Not defined [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"AuthenticationApi"},{"location":"api/AuthenticationApi/#cloudendure_apiauthenticationapi","text":"All URIs are relative to https://console.cloudendure.com/api/latest Method HTTP request Description login_post POST /login Login logout_post POST /logout Logout","title":"cloudendure_api.AuthenticationApi"},{"location":"api/AuthenticationApi/#login_post","text":"CloudEndureUser login_post(body) Login @todo: fix re use of XSRF-TOKEN cookie + X-XSRF-TOKEN header Upon successful authentication, this method returns a session identifier cookie that can be used to authenticate subsequent API calls.","title":"login_post"},{"location":"api/AuthenticationApi/#example","text":"from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.AuthenticationApi() body = NULL # object | Login info try: # Login api_response = api_instance.login_post(body) pprint(api_response) except ApiException as e: print(\"Exception when calling AuthenticationApi->login_post: %s\\n\" % e)","title":"Example"},{"location":"api/AuthenticationApi/#parameters","text":"Name Type Description Notes body object Login info","title":"Parameters"},{"location":"api/AuthenticationApi/#return-type","text":"CloudEndureUser","title":"Return type"},{"location":"api/AuthenticationApi/#authorization","text":"No authorization required","title":"Authorization"},{"location":"api/AuthenticationApi/#http-request-headers","text":"Content-Type : application/json Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"HTTP request headers"},{"location":"api/AuthenticationApi/#logout_post","text":"logout_post() Logout Invalidates the session identifier associated with this session.","title":"logout_post"},{"location":"api/AuthenticationApi/#example_1","text":"from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.AuthenticationApi() try: # Logout api_instance.logout_post() except ApiException as e: print(\"Exception when calling AuthenticationApi->logout_post: %s\\n\" % e)","title":"Example"},{"location":"api/AuthenticationApi/#parameters_1","text":"This endpoint does not need any parameter.","title":"Parameters"},{"location":"api/AuthenticationApi/#return-type_1","text":"void (empty response body)","title":"Return type"},{"location":"api/AuthenticationApi/#authorization_1","text":"No authorization required","title":"Authorization"},{"location":"api/AuthenticationApi/#http-request-headers_1","text":"Content-Type : Not defined Accept : Not defined [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"HTTP request headers"},{"location":"api/BlueprintApi/","text":"cloudendure_api.BlueprintApi All URIs are relative to https://console.cloudendure.com/api/latest Method HTTP request Description projects_project_id_blueprints_blueprint_id_get GET /projects/{projectId}/blueprints/{blueprintId} Get Blueprint projects_project_id_blueprints_blueprint_id_patch PATCH /projects/{projectId}/blueprints/{blueprintId} Configure Blueprint projects_project_id_blueprints_get GET /projects/{projectId}/blueprints List Blueprints projects_project_id_blueprints_post POST /projects/{projectId}/blueprints Create Blueprint projects_project_id_blueprints_blueprint_id_get CloudEndureBlueprint projects_project_id_blueprints_blueprint_id_get(project_id, blueprint_id) Get Blueprint Example from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.BlueprintApi() project_id = 'project_id_example' # str | blueprint_id = 'blueprint_id_example' # str | try: # Get Blueprint api_response = api_instance.projects_project_id_blueprints_blueprint_id_get(project_id, blueprint_id) pprint(api_response) except ApiException as e: print(\"Exception when calling BlueprintApi->projects_project_id_blueprints_blueprint_id_get: %s\\n\" % e) Parameters Name Type Description Notes project_id str blueprint_id str Return type CloudEndureBlueprint Authorization No authorization required HTTP request headers Content-Type : Not defined Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README] projects_project_id_blueprints_blueprint_id_patch CloudEndureBlueprint projects_project_id_blueprints_blueprint_id_patch(body, project_id, blueprint_id) Configure Blueprint Configure target machine characteristics: machine and disk types, network configuration, etc. Returns the modified object. Example from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.BlueprintApi() body = cloudendure_api.CloudEndureBlueprint() # CloudEndureBlueprint | project_id = 'project_id_example' # str | blueprint_id = 'blueprint_id_example' # str | try: # Configure Blueprint api_response = api_instance.projects_project_id_blueprints_blueprint_id_patch(body, project_id, blueprint_id) pprint(api_response) except ApiException as e: print(\"Exception when calling BlueprintApi->projects_project_id_blueprints_blueprint_id_patch: %s\\n\" % e) Parameters Name Type Description Notes body CloudEndureBlueprint project_id str blueprint_id str Return type CloudEndureBlueprint Authorization No authorization required HTTP request headers Content-Type : application/json Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README] projects_project_id_blueprints_get CloudEndureBlueprintList projects_project_id_blueprints_get(project_id, offset=offset, limit=limit) List Blueprints Returns the list of available blueprints in the project. Example from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.BlueprintApi() project_id = 'project_id_example' # str | offset = 56 # int | With which item to start (0 based). (optional) limit = 56 # int | A number specifying how many entries to return. (optional) try: # List Blueprints api_response = api_instance.projects_project_id_blueprints_get(project_id, offset=offset, limit=limit) pprint(api_response) except ApiException as e: print(\"Exception when calling BlueprintApi->projects_project_id_blueprints_get: %s\\n\" % e) Parameters Name Type Description Notes project_id str offset int With which item to start (0 based). [optional] limit int A number specifying how many entries to return. [optional] Return type CloudEndureBlueprintList Authorization No authorization required HTTP request headers Content-Type : Not defined Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README] projects_project_id_blueprints_post CloudEndureBlueprint projects_project_id_blueprints_post(body, project_id) Create Blueprint Define the target machine characteristics: machine and disk types, network configuration, etc. There can be only one blueprint per machine per region. Returns the newly created object. Example from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.BlueprintApi() body = cloudendure_api.CloudEndureBlueprint() # CloudEndureBlueprint | project_id = 'project_id_example' # str | try: # Create Blueprint api_response = api_instance.projects_project_id_blueprints_post(body, project_id) pprint(api_response) except ApiException as e: print(\"Exception when calling BlueprintApi->projects_project_id_blueprints_post: %s\\n\" % e) Parameters Name Type Description Notes body CloudEndureBlueprint project_id str Return type CloudEndureBlueprint Authorization No authorization required HTTP request headers Content-Type : application/json Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"BlueprintApi"},{"location":"api/BlueprintApi/#cloudendure_apiblueprintapi","text":"All URIs are relative to https://console.cloudendure.com/api/latest Method HTTP request Description projects_project_id_blueprints_blueprint_id_get GET /projects/{projectId}/blueprints/{blueprintId} Get Blueprint projects_project_id_blueprints_blueprint_id_patch PATCH /projects/{projectId}/blueprints/{blueprintId} Configure Blueprint projects_project_id_blueprints_get GET /projects/{projectId}/blueprints List Blueprints projects_project_id_blueprints_post POST /projects/{projectId}/blueprints Create Blueprint","title":"cloudendure_api.BlueprintApi"},{"location":"api/BlueprintApi/#projects_project_id_blueprints_blueprint_id_get","text":"CloudEndureBlueprint projects_project_id_blueprints_blueprint_id_get(project_id, blueprint_id) Get Blueprint","title":"projects_project_id_blueprints_blueprint_id_get"},{"location":"api/BlueprintApi/#example","text":"from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.BlueprintApi() project_id = 'project_id_example' # str | blueprint_id = 'blueprint_id_example' # str | try: # Get Blueprint api_response = api_instance.projects_project_id_blueprints_blueprint_id_get(project_id, blueprint_id) pprint(api_response) except ApiException as e: print(\"Exception when calling BlueprintApi->projects_project_id_blueprints_blueprint_id_get: %s\\n\" % e)","title":"Example"},{"location":"api/BlueprintApi/#parameters","text":"Name Type Description Notes project_id str blueprint_id str","title":"Parameters"},{"location":"api/BlueprintApi/#return-type","text":"CloudEndureBlueprint","title":"Return type"},{"location":"api/BlueprintApi/#authorization","text":"No authorization required","title":"Authorization"},{"location":"api/BlueprintApi/#http-request-headers","text":"Content-Type : Not defined Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"HTTP request headers"},{"location":"api/BlueprintApi/#projects_project_id_blueprints_blueprint_id_patch","text":"CloudEndureBlueprint projects_project_id_blueprints_blueprint_id_patch(body, project_id, blueprint_id) Configure Blueprint Configure target machine characteristics: machine and disk types, network configuration, etc. Returns the modified object.","title":"projects_project_id_blueprints_blueprint_id_patch"},{"location":"api/BlueprintApi/#example_1","text":"from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.BlueprintApi() body = cloudendure_api.CloudEndureBlueprint() # CloudEndureBlueprint | project_id = 'project_id_example' # str | blueprint_id = 'blueprint_id_example' # str | try: # Configure Blueprint api_response = api_instance.projects_project_id_blueprints_blueprint_id_patch(body, project_id, blueprint_id) pprint(api_response) except ApiException as e: print(\"Exception when calling BlueprintApi->projects_project_id_blueprints_blueprint_id_patch: %s\\n\" % e)","title":"Example"},{"location":"api/BlueprintApi/#parameters_1","text":"Name Type Description Notes body CloudEndureBlueprint project_id str blueprint_id str","title":"Parameters"},{"location":"api/BlueprintApi/#return-type_1","text":"CloudEndureBlueprint","title":"Return type"},{"location":"api/BlueprintApi/#authorization_1","text":"No authorization required","title":"Authorization"},{"location":"api/BlueprintApi/#http-request-headers_1","text":"Content-Type : application/json Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"HTTP request headers"},{"location":"api/BlueprintApi/#projects_project_id_blueprints_get","text":"CloudEndureBlueprintList projects_project_id_blueprints_get(project_id, offset=offset, limit=limit) List Blueprints Returns the list of available blueprints in the project.","title":"projects_project_id_blueprints_get"},{"location":"api/BlueprintApi/#example_2","text":"from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.BlueprintApi() project_id = 'project_id_example' # str | offset = 56 # int | With which item to start (0 based). (optional) limit = 56 # int | A number specifying how many entries to return. (optional) try: # List Blueprints api_response = api_instance.projects_project_id_blueprints_get(project_id, offset=offset, limit=limit) pprint(api_response) except ApiException as e: print(\"Exception when calling BlueprintApi->projects_project_id_blueprints_get: %s\\n\" % e)","title":"Example"},{"location":"api/BlueprintApi/#parameters_2","text":"Name Type Description Notes project_id str offset int With which item to start (0 based). [optional] limit int A number specifying how many entries to return. [optional]","title":"Parameters"},{"location":"api/BlueprintApi/#return-type_2","text":"CloudEndureBlueprintList","title":"Return type"},{"location":"api/BlueprintApi/#authorization_2","text":"No authorization required","title":"Authorization"},{"location":"api/BlueprintApi/#http-request-headers_2","text":"Content-Type : Not defined Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"HTTP request headers"},{"location":"api/BlueprintApi/#projects_project_id_blueprints_post","text":"CloudEndureBlueprint projects_project_id_blueprints_post(body, project_id) Create Blueprint Define the target machine characteristics: machine and disk types, network configuration, etc. There can be only one blueprint per machine per region. Returns the newly created object.","title":"projects_project_id_blueprints_post"},{"location":"api/BlueprintApi/#example_3","text":"from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.BlueprintApi() body = cloudendure_api.CloudEndureBlueprint() # CloudEndureBlueprint | project_id = 'project_id_example' # str | try: # Create Blueprint api_response = api_instance.projects_project_id_blueprints_post(body, project_id) pprint(api_response) except ApiException as e: print(\"Exception when calling BlueprintApi->projects_project_id_blueprints_post: %s\\n\" % e)","title":"Example"},{"location":"api/BlueprintApi/#parameters_3","text":"Name Type Description Notes body CloudEndureBlueprint project_id str","title":"Parameters"},{"location":"api/BlueprintApi/#return-type_3","text":"CloudEndureBlueprint","title":"Return type"},{"location":"api/BlueprintApi/#authorization_3","text":"No authorization required","title":"Authorization"},{"location":"api/BlueprintApi/#http-request-headers_3","text":"Content-Type : application/json Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"HTTP request headers"},{"location":"api/CloudApi/","text":"cloudendure_api.CloudApi All URIs are relative to https://console.cloudendure.com/api/latest Method HTTP request Description cloud_credentials_creds_id_regions_get GET /cloudCredentials/{credsId}/regions List Regions cloud_credentials_creds_id_regions_region_id_delete DELETE /cloudCredentials/{credsId}/regions/{regionId} Delete region (VCenter) cloud_credentials_creds_id_regions_region_id_get GET /cloudCredentials/{credsId}/regions/{regionId} Get Region cloud_credentials_creds_id_regions_region_id_patch PATCH /cloudCredentials/{credsId}/regions/{regionId} Patch region (rename) clouds_get GET /clouds List Clouds cloud_credentials_creds_id_regions_get CloudEndureRegionsList cloud_credentials_creds_id_regions_get(creds_id, offset=offset, limit=limit) List Regions Returns the list of regions these credentials provide access to. Example from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.CloudApi() creds_id = 'creds_id_example' # str | UUID of the credentials to use. In case of on-premise, you should use the null UUID \\\"00000000-0000-0000-0000-000000000000\\\". offset = 56 # int | With which item to start (0 based). (optional) limit = 56 # int | A number specifying how many entries to return. (optional) try: # List Regions api_response = api_instance.cloud_credentials_creds_id_regions_get(creds_id, offset=offset, limit=limit) pprint(api_response) except ApiException as e: print(\"Exception when calling CloudApi->cloud_credentials_creds_id_regions_get: %s\\n\" % e) Parameters Name Type Description Notes creds_id str UUID of the credentials to use. In case of on-premise, you should use the null UUID \\\"00000000-0000-0000-0000-000000000000\\\". offset int With which item to start (0 based). [optional] limit int A number specifying how many entries to return. [optional] Return type CloudEndureRegionsList Authorization No authorization required HTTP request headers Content-Type : Not defined Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README] cloud_credentials_creds_id_regions_region_id_delete cloud_credentials_creds_id_regions_region_id_delete(creds_id, region_id) Delete region (VCenter) Example from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.CloudApi() creds_id = 'creds_id_example' # str | UUID of the credentials to use. In case of on-premise, you should use the null UUID \\\"00000000-0000-0000-0000-000000000000\\\". region_id = 'region_id_example' # str | try: # Delete region (VCenter) api_instance.cloud_credentials_creds_id_regions_region_id_delete(creds_id, region_id) except ApiException as e: print(\"Exception when calling CloudApi->cloud_credentials_creds_id_regions_region_id_delete: %s\\n\" % e) Parameters Name Type Description Notes creds_id str UUID of the credentials to use. In case of on-premise, you should use the null UUID \\\"00000000-0000-0000-0000-000000000000\\\". region_id str Return type void (empty response body) Authorization No authorization required HTTP request headers Content-Type : Not defined Accept : Not defined [Back to top] [Back to API list] [Back to Model list] [Back to README] cloud_credentials_creds_id_regions_region_id_get CloudEndureRegion cloud_credentials_creds_id_regions_region_id_get(creds_id, region_id) Get Region Example from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.CloudApi() creds_id = 'creds_id_example' # str | UUID of the credentials to use. In case of on-premise, you should use the null UUID \\\"00000000-0000-0000-0000-000000000000\\\". region_id = 'region_id_example' # str | try: # Get Region api_response = api_instance.cloud_credentials_creds_id_regions_region_id_get(creds_id, region_id) pprint(api_response) except ApiException as e: print(\"Exception when calling CloudApi->cloud_credentials_creds_id_regions_region_id_get: %s\\n\" % e) Parameters Name Type Description Notes creds_id str UUID of the credentials to use. In case of on-premise, you should use the null UUID \\\"00000000-0000-0000-0000-000000000000\\\". region_id str Return type CloudEndureRegion Authorization No authorization required HTTP request headers Content-Type : Not defined Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README] cloud_credentials_creds_id_regions_region_id_patch CloudEndureRegion cloud_credentials_creds_id_regions_region_id_patch(body, creds_id, region_id) Patch region (rename) Example from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.CloudApi() body = cloudendure_api.CloudEndureRegion() # CloudEndureRegion | creds_id = 'creds_id_example' # str | UUID of the credentials to use. In case of on-premise, you should use the null UUID \\\"00000000-0000-0000-0000-000000000000\\\". region_id = 'region_id_example' # str | try: # Patch region (rename) api_response = api_instance.cloud_credentials_creds_id_regions_region_id_patch(body, creds_id, region_id) pprint(api_response) except ApiException as e: print(\"Exception when calling CloudApi->cloud_credentials_creds_id_regions_region_id_patch: %s\\n\" % e) Parameters Name Type Description Notes body CloudEndureRegion creds_id str UUID of the credentials to use. In case of on-premise, you should use the null UUID \\\"00000000-0000-0000-0000-000000000000\\\". region_id str Return type CloudEndureRegion Authorization No authorization required HTTP request headers Content-Type : application/json Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README] clouds_get CloudEndureCloudsList clouds_get(offset=offset, limit=limit) List Clouds Returns a list of clouds that can be used with CloudEndure. The roles array determines whether this cloud can be used as source, target, or both. Example from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.CloudApi() offset = 56 # int | With which item to start (0 based). (optional) limit = 56 # int | A number specifying how many entries to return. (optional) try: # List Clouds api_response = api_instance.clouds_get(offset=offset, limit=limit) pprint(api_response) except ApiException as e: print(\"Exception when calling CloudApi->clouds_get: %s\\n\" % e) Parameters Name Type Description Notes offset int With which item to start (0 based). [optional] limit int A number specifying how many entries to return. [optional] Return type CloudEndureCloudsList Authorization No authorization required HTTP request headers Content-Type : Not defined Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"CloudApi"},{"location":"api/CloudApi/#cloudendure_apicloudapi","text":"All URIs are relative to https://console.cloudendure.com/api/latest Method HTTP request Description cloud_credentials_creds_id_regions_get GET /cloudCredentials/{credsId}/regions List Regions cloud_credentials_creds_id_regions_region_id_delete DELETE /cloudCredentials/{credsId}/regions/{regionId} Delete region (VCenter) cloud_credentials_creds_id_regions_region_id_get GET /cloudCredentials/{credsId}/regions/{regionId} Get Region cloud_credentials_creds_id_regions_region_id_patch PATCH /cloudCredentials/{credsId}/regions/{regionId} Patch region (rename) clouds_get GET /clouds List Clouds","title":"cloudendure_api.CloudApi"},{"location":"api/CloudApi/#cloud_credentials_creds_id_regions_get","text":"CloudEndureRegionsList cloud_credentials_creds_id_regions_get(creds_id, offset=offset, limit=limit) List Regions Returns the list of regions these credentials provide access to.","title":"cloud_credentials_creds_id_regions_get"},{"location":"api/CloudApi/#example","text":"from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.CloudApi() creds_id = 'creds_id_example' # str | UUID of the credentials to use. In case of on-premise, you should use the null UUID \\\"00000000-0000-0000-0000-000000000000\\\". offset = 56 # int | With which item to start (0 based). (optional) limit = 56 # int | A number specifying how many entries to return. (optional) try: # List Regions api_response = api_instance.cloud_credentials_creds_id_regions_get(creds_id, offset=offset, limit=limit) pprint(api_response) except ApiException as e: print(\"Exception when calling CloudApi->cloud_credentials_creds_id_regions_get: %s\\n\" % e)","title":"Example"},{"location":"api/CloudApi/#parameters","text":"Name Type Description Notes creds_id str UUID of the credentials to use. In case of on-premise, you should use the null UUID \\\"00000000-0000-0000-0000-000000000000\\\". offset int With which item to start (0 based). [optional] limit int A number specifying how many entries to return. [optional]","title":"Parameters"},{"location":"api/CloudApi/#return-type","text":"CloudEndureRegionsList","title":"Return type"},{"location":"api/CloudApi/#authorization","text":"No authorization required","title":"Authorization"},{"location":"api/CloudApi/#http-request-headers","text":"Content-Type : Not defined Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"HTTP request headers"},{"location":"api/CloudApi/#cloud_credentials_creds_id_regions_region_id_delete","text":"cloud_credentials_creds_id_regions_region_id_delete(creds_id, region_id) Delete region (VCenter)","title":"cloud_credentials_creds_id_regions_region_id_delete"},{"location":"api/CloudApi/#example_1","text":"from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.CloudApi() creds_id = 'creds_id_example' # str | UUID of the credentials to use. In case of on-premise, you should use the null UUID \\\"00000000-0000-0000-0000-000000000000\\\". region_id = 'region_id_example' # str | try: # Delete region (VCenter) api_instance.cloud_credentials_creds_id_regions_region_id_delete(creds_id, region_id) except ApiException as e: print(\"Exception when calling CloudApi->cloud_credentials_creds_id_regions_region_id_delete: %s\\n\" % e)","title":"Example"},{"location":"api/CloudApi/#parameters_1","text":"Name Type Description Notes creds_id str UUID of the credentials to use. In case of on-premise, you should use the null UUID \\\"00000000-0000-0000-0000-000000000000\\\". region_id str","title":"Parameters"},{"location":"api/CloudApi/#return-type_1","text":"void (empty response body)","title":"Return type"},{"location":"api/CloudApi/#authorization_1","text":"No authorization required","title":"Authorization"},{"location":"api/CloudApi/#http-request-headers_1","text":"Content-Type : Not defined Accept : Not defined [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"HTTP request headers"},{"location":"api/CloudApi/#cloud_credentials_creds_id_regions_region_id_get","text":"CloudEndureRegion cloud_credentials_creds_id_regions_region_id_get(creds_id, region_id) Get Region","title":"cloud_credentials_creds_id_regions_region_id_get"},{"location":"api/CloudApi/#example_2","text":"from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.CloudApi() creds_id = 'creds_id_example' # str | UUID of the credentials to use. In case of on-premise, you should use the null UUID \\\"00000000-0000-0000-0000-000000000000\\\". region_id = 'region_id_example' # str | try: # Get Region api_response = api_instance.cloud_credentials_creds_id_regions_region_id_get(creds_id, region_id) pprint(api_response) except ApiException as e: print(\"Exception when calling CloudApi->cloud_credentials_creds_id_regions_region_id_get: %s\\n\" % e)","title":"Example"},{"location":"api/CloudApi/#parameters_2","text":"Name Type Description Notes creds_id str UUID of the credentials to use. In case of on-premise, you should use the null UUID \\\"00000000-0000-0000-0000-000000000000\\\". region_id str","title":"Parameters"},{"location":"api/CloudApi/#return-type_2","text":"CloudEndureRegion","title":"Return type"},{"location":"api/CloudApi/#authorization_2","text":"No authorization required","title":"Authorization"},{"location":"api/CloudApi/#http-request-headers_2","text":"Content-Type : Not defined Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"HTTP request headers"},{"location":"api/CloudApi/#cloud_credentials_creds_id_regions_region_id_patch","text":"CloudEndureRegion cloud_credentials_creds_id_regions_region_id_patch(body, creds_id, region_id) Patch region (rename)","title":"cloud_credentials_creds_id_regions_region_id_patch"},{"location":"api/CloudApi/#example_3","text":"from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.CloudApi() body = cloudendure_api.CloudEndureRegion() # CloudEndureRegion | creds_id = 'creds_id_example' # str | UUID of the credentials to use. In case of on-premise, you should use the null UUID \\\"00000000-0000-0000-0000-000000000000\\\". region_id = 'region_id_example' # str | try: # Patch region (rename) api_response = api_instance.cloud_credentials_creds_id_regions_region_id_patch(body, creds_id, region_id) pprint(api_response) except ApiException as e: print(\"Exception when calling CloudApi->cloud_credentials_creds_id_regions_region_id_patch: %s\\n\" % e)","title":"Example"},{"location":"api/CloudApi/#parameters_3","text":"Name Type Description Notes body CloudEndureRegion creds_id str UUID of the credentials to use. In case of on-premise, you should use the null UUID \\\"00000000-0000-0000-0000-000000000000\\\". region_id str","title":"Parameters"},{"location":"api/CloudApi/#return-type_3","text":"CloudEndureRegion","title":"Return type"},{"location":"api/CloudApi/#authorization_3","text":"No authorization required","title":"Authorization"},{"location":"api/CloudApi/#http-request-headers_3","text":"Content-Type : application/json Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"HTTP request headers"},{"location":"api/CloudApi/#clouds_get","text":"CloudEndureCloudsList clouds_get(offset=offset, limit=limit) List Clouds Returns a list of clouds that can be used with CloudEndure. The roles array determines whether this cloud can be used as source, target, or both.","title":"clouds_get"},{"location":"api/CloudApi/#example_4","text":"from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.CloudApi() offset = 56 # int | With which item to start (0 based). (optional) limit = 56 # int | A number specifying how many entries to return. (optional) try: # List Clouds api_response = api_instance.clouds_get(offset=offset, limit=limit) pprint(api_response) except ApiException as e: print(\"Exception when calling CloudApi->clouds_get: %s\\n\" % e)","title":"Example"},{"location":"api/CloudApi/#parameters_4","text":"Name Type Description Notes offset int With which item to start (0 based). [optional] limit int A number specifying how many entries to return. [optional]","title":"Parameters"},{"location":"api/CloudApi/#return-type_4","text":"CloudEndureCloudsList","title":"Return type"},{"location":"api/CloudApi/#authorization_4","text":"No authorization required","title":"Authorization"},{"location":"api/CloudApi/#http-request-headers_4","text":"Content-Type : Not defined Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"HTTP request headers"},{"location":"api/CloudCredentialsApi/","text":"cloudendure_api.CloudCredentialsApi All URIs are relative to https://console.cloudendure.com/api/latest Method HTTP request Description cloud_credentials_creds_id_get GET /cloudCredentials/{credsId} Get Credentials cloud_credentials_creds_id_patch PATCH /cloudCredentials/{credsId} Change Credentials cloud_credentials_get GET /cloudCredentials List Credentials cloud_credentials_post POST /cloudCredentials Create Credentials cloud_credentials_creds_id_get CloudEndureCloudCredentials cloud_credentials_creds_id_get(creds_id) Get Credentials Example from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.CloudCredentialsApi() creds_id = 'creds_id_example' # str | UUID of the credentials to use. In case of on-premise, you should use the null UUID \\\"00000000-0000-0000-0000-000000000000\\\". try: # Get Credentials api_response = api_instance.cloud_credentials_creds_id_get(creds_id) pprint(api_response) except ApiException as e: print(\"Exception when calling CloudCredentialsApi->cloud_credentials_creds_id_get: %s\\n\" % e) Parameters Name Type Description Notes creds_id str UUID of the credentials to use. In case of on-premise, you should use the null UUID \\\"00000000-0000-0000-0000-000000000000\\\". Return type CloudEndureCloudCredentials Authorization No authorization required HTTP request headers Content-Type : Not defined Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README] cloud_credentials_creds_id_patch CloudEndureCloudCredentials cloud_credentials_creds_id_patch(body, creds_id) Change Credentials Changes the cloud credentials. @todo:v15 If the new Cloud Credentials are to a different cloud account (or different cloud), than PATCH should fail with ??? error code and ??? error message. Old v14 behavior: If the these cloud credentials are used with the current replication, and the new credentials are to a different cloud account (or different cloud), all agents will be uninstalled and replication will stop on them. Example from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.CloudCredentialsApi() body = cloudendure_api.CloudEndureCloudCredentialsRequest() # CloudEndureCloudCredentialsRequest | creds_id = 'creds_id_example' # str | UUID of the credentials to use. In case of on-premise, you should use the null UUID \\\"00000000-0000-0000-0000-000000000000\\\". try: # Change Credentials api_response = api_instance.cloud_credentials_creds_id_patch(body, creds_id) pprint(api_response) except ApiException as e: print(\"Exception when calling CloudCredentialsApi->cloud_credentials_creds_id_patch: %s\\n\" % e) Parameters Name Type Description Notes body CloudEndureCloudCredentialsRequest creds_id str UUID of the credentials to use. In case of on-premise, you should use the null UUID \\\"00000000-0000-0000-0000-000000000000\\\". Return type CloudEndureCloudCredentials Authorization No authorization required HTTP request headers Content-Type : application/json Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README] cloud_credentials_get CloudEndureCloudCredentialsList cloud_credentials_get(offset=offset, limit=limit) List Credentials Returns the list of cloudCredentials in the account. Example from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.CloudCredentialsApi() offset = 56 # int | With which item to start (0 based). (optional) limit = 56 # int | A number specifying how many entries to return. (optional) try: # List Credentials api_response = api_instance.cloud_credentials_get(offset=offset, limit=limit) pprint(api_response) except ApiException as e: print(\"Exception when calling CloudCredentialsApi->cloud_credentials_get: %s\\n\" % e) Parameters Name Type Description Notes offset int With which item to start (0 based). [optional] limit int A number specifying how many entries to return. [optional] Return type CloudEndureCloudCredentialsList Authorization No authorization required HTTP request headers Content-Type : Not defined Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README] cloud_credentials_post CloudEndureCloudCredentials cloud_credentials_post(body) Create Credentials Provide the credentials with which to access the cloud API. Returns the newly created object. Example from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.CloudCredentialsApi() body = cloudendure_api.CloudEndureCloudCredentialsRequest() # CloudEndureCloudCredentialsRequest | try: # Create Credentials api_response = api_instance.cloud_credentials_post(body) pprint(api_response) except ApiException as e: print(\"Exception when calling CloudCredentialsApi->cloud_credentials_post: %s\\n\" % e) Parameters Name Type Description Notes body CloudEndureCloudCredentialsRequest Return type CloudEndureCloudCredentials Authorization No authorization required HTTP request headers Content-Type : application/json Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"CloudCredentialsApi"},{"location":"api/CloudCredentialsApi/#cloudendure_apicloudcredentialsapi","text":"All URIs are relative to https://console.cloudendure.com/api/latest Method HTTP request Description cloud_credentials_creds_id_get GET /cloudCredentials/{credsId} Get Credentials cloud_credentials_creds_id_patch PATCH /cloudCredentials/{credsId} Change Credentials cloud_credentials_get GET /cloudCredentials List Credentials cloud_credentials_post POST /cloudCredentials Create Credentials","title":"cloudendure_api.CloudCredentialsApi"},{"location":"api/CloudCredentialsApi/#cloud_credentials_creds_id_get","text":"CloudEndureCloudCredentials cloud_credentials_creds_id_get(creds_id) Get Credentials","title":"cloud_credentials_creds_id_get"},{"location":"api/CloudCredentialsApi/#example","text":"from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.CloudCredentialsApi() creds_id = 'creds_id_example' # str | UUID of the credentials to use. In case of on-premise, you should use the null UUID \\\"00000000-0000-0000-0000-000000000000\\\". try: # Get Credentials api_response = api_instance.cloud_credentials_creds_id_get(creds_id) pprint(api_response) except ApiException as e: print(\"Exception when calling CloudCredentialsApi->cloud_credentials_creds_id_get: %s\\n\" % e)","title":"Example"},{"location":"api/CloudCredentialsApi/#parameters","text":"Name Type Description Notes creds_id str UUID of the credentials to use. In case of on-premise, you should use the null UUID \\\"00000000-0000-0000-0000-000000000000\\\".","title":"Parameters"},{"location":"api/CloudCredentialsApi/#return-type","text":"CloudEndureCloudCredentials","title":"Return type"},{"location":"api/CloudCredentialsApi/#authorization","text":"No authorization required","title":"Authorization"},{"location":"api/CloudCredentialsApi/#http-request-headers","text":"Content-Type : Not defined Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"HTTP request headers"},{"location":"api/CloudCredentialsApi/#cloud_credentials_creds_id_patch","text":"CloudEndureCloudCredentials cloud_credentials_creds_id_patch(body, creds_id) Change Credentials Changes the cloud credentials. @todo:v15 If the new Cloud Credentials are to a different cloud account (or different cloud), than PATCH should fail with ??? error code and ??? error message. Old v14 behavior: If the these cloud credentials are used with the current replication, and the new credentials are to a different cloud account (or different cloud), all agents will be uninstalled and replication will stop on them.","title":"cloud_credentials_creds_id_patch"},{"location":"api/CloudCredentialsApi/#example_1","text":"from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.CloudCredentialsApi() body = cloudendure_api.CloudEndureCloudCredentialsRequest() # CloudEndureCloudCredentialsRequest | creds_id = 'creds_id_example' # str | UUID of the credentials to use. In case of on-premise, you should use the null UUID \\\"00000000-0000-0000-0000-000000000000\\\". try: # Change Credentials api_response = api_instance.cloud_credentials_creds_id_patch(body, creds_id) pprint(api_response) except ApiException as e: print(\"Exception when calling CloudCredentialsApi->cloud_credentials_creds_id_patch: %s\\n\" % e)","title":"Example"},{"location":"api/CloudCredentialsApi/#parameters_1","text":"Name Type Description Notes body CloudEndureCloudCredentialsRequest creds_id str UUID of the credentials to use. In case of on-premise, you should use the null UUID \\\"00000000-0000-0000-0000-000000000000\\\".","title":"Parameters"},{"location":"api/CloudCredentialsApi/#return-type_1","text":"CloudEndureCloudCredentials","title":"Return type"},{"location":"api/CloudCredentialsApi/#authorization_1","text":"No authorization required","title":"Authorization"},{"location":"api/CloudCredentialsApi/#http-request-headers_1","text":"Content-Type : application/json Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"HTTP request headers"},{"location":"api/CloudCredentialsApi/#cloud_credentials_get","text":"CloudEndureCloudCredentialsList cloud_credentials_get(offset=offset, limit=limit) List Credentials Returns the list of cloudCredentials in the account.","title":"cloud_credentials_get"},{"location":"api/CloudCredentialsApi/#example_2","text":"from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.CloudCredentialsApi() offset = 56 # int | With which item to start (0 based). (optional) limit = 56 # int | A number specifying how many entries to return. (optional) try: # List Credentials api_response = api_instance.cloud_credentials_get(offset=offset, limit=limit) pprint(api_response) except ApiException as e: print(\"Exception when calling CloudCredentialsApi->cloud_credentials_get: %s\\n\" % e)","title":"Example"},{"location":"api/CloudCredentialsApi/#parameters_2","text":"Name Type Description Notes offset int With which item to start (0 based). [optional] limit int A number specifying how many entries to return. [optional]","title":"Parameters"},{"location":"api/CloudCredentialsApi/#return-type_2","text":"CloudEndureCloudCredentialsList","title":"Return type"},{"location":"api/CloudCredentialsApi/#authorization_2","text":"No authorization required","title":"Authorization"},{"location":"api/CloudCredentialsApi/#http-request-headers_2","text":"Content-Type : Not defined Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"HTTP request headers"},{"location":"api/CloudCredentialsApi/#cloud_credentials_post","text":"CloudEndureCloudCredentials cloud_credentials_post(body) Create Credentials Provide the credentials with which to access the cloud API. Returns the newly created object.","title":"cloud_credentials_post"},{"location":"api/CloudCredentialsApi/#example_3","text":"from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.CloudCredentialsApi() body = cloudendure_api.CloudEndureCloudCredentialsRequest() # CloudEndureCloudCredentialsRequest | try: # Create Credentials api_response = api_instance.cloud_credentials_post(body) pprint(api_response) except ApiException as e: print(\"Exception when calling CloudCredentialsApi->cloud_credentials_post: %s\\n\" % e)","title":"Example"},{"location":"api/CloudCredentialsApi/#parameters_3","text":"Name Type Description Notes body CloudEndureCloudCredentialsRequest","title":"Parameters"},{"location":"api/CloudCredentialsApi/#return-type_3","text":"CloudEndureCloudCredentials","title":"Return type"},{"location":"api/CloudCredentialsApi/#authorization_3","text":"No authorization required","title":"Authorization"},{"location":"api/CloudCredentialsApi/#http-request-headers_3","text":"Content-Type : application/json Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"HTTP request headers"},{"location":"api/CloudEndureAccount/","text":"CloudEndureAccount Properties Name Type Description Notes invite_token_expiry_minutes int [optional] allow_archiving_default_value bool [optional] per_account_user_pool bool [optional] is_gcp_self_service bool [optional] is_dr_trial bool [optional] is_arm_self_service bool [optional] is_aws_self_service bool [optional] saml_settings CloudEndureSamlSettings [optional] is_right_sizing_enabled bool [optional] default_license_type str [optional] max_projects_allowed int [optional] ce_admin_properties object For internal use. [optional] owner_id str Account Owner (a User) [optional] is_med_one bool [optional] id str UUID of the account [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureAccount"},{"location":"api/CloudEndureAccount/#cloudendureaccount","text":"","title":"CloudEndureAccount"},{"location":"api/CloudEndureAccount/#properties","text":"Name Type Description Notes invite_token_expiry_minutes int [optional] allow_archiving_default_value bool [optional] per_account_user_pool bool [optional] is_gcp_self_service bool [optional] is_dr_trial bool [optional] is_arm_self_service bool [optional] is_aws_self_service bool [optional] saml_settings CloudEndureSamlSettings [optional] is_right_sizing_enabled bool [optional] default_license_type str [optional] max_projects_allowed int [optional] ce_admin_properties object For internal use. [optional] owner_id str Account Owner (a User) [optional] is_med_one bool [optional] id str UUID of the account [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureAccountRequest/","text":"CloudEndureAccountRequest Properties Name Type Description Notes id str [optional] request_type str [optional] email str [optional] request_link str [optional] registration_token str [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureAccountRequest"},{"location":"api/CloudEndureAccountRequest/#cloudendureaccountrequest","text":"","title":"CloudEndureAccountRequest"},{"location":"api/CloudEndureAccountRequest/#properties","text":"Name Type Description Notes id str [optional] request_type str [optional] email str [optional] request_link str [optional] registration_token str [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureAccountRequestList/","text":"CloudEndureAccountRequestList Properties Name Type Description Notes items list[CloudEndureAccountRequest] [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureAccountRequestList"},{"location":"api/CloudEndureAccountRequestList/#cloudendureaccountrequestlist","text":"","title":"CloudEndureAccountRequestList"},{"location":"api/CloudEndureAccountRequestList/#properties","text":"Name Type Description Notes items list[CloudEndureAccountRequest] [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureAccountsList/","text":"CloudEndureAccountsList Properties Name Type Description Notes items list[CloudEndureAccount] [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureAccountsList"},{"location":"api/CloudEndureAccountsList/#cloudendureaccountslist","text":"","title":"CloudEndureAccountsList"},{"location":"api/CloudEndureAccountsList/#properties","text":"Name Type Description Notes items list[CloudEndureAccount] [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureAgentNextReplicationInitRequest/","text":"CloudEndureAgentNextReplicationInitRequest Properties Name Type Description Notes duration_from_now str [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureAgentNextReplicationInitRequest"},{"location":"api/CloudEndureAgentNextReplicationInitRequest/#cloudendureagentnextreplicationinitrequest","text":"","title":"CloudEndureAgentNextReplicationInitRequest"},{"location":"api/CloudEndureAgentNextReplicationInitRequest/#properties","text":"Name Type Description Notes duration_from_now str [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureAllProjectFeatures/","text":"CloudEndureAllProjectFeatures Properties Name Type Description Notes google bool [optional] is_demo bool [optional] windows_converters bool [optional] force_reversed_handshake_direction bool [optional] no_converters bool [optional] vio bool [optional] no_cloud bool [optional] consistent_snapshot_creation_interval_min int [optional] no_public_ips bool [optional] daily_pit_number int [optional] mtu_size int [optional] allow_byol_on_dedicated_instance bool [optional] max_converter_volumes int [optional] azurearm bool [optional] vcenter bool [optional] subnet_filter str [optional] no_snapshot_considered_lag_milliseconds int [optional] no_converters_windows bool [optional] disable_replica_creation bool [optional] aws bool [optional] max_replicator_volumes int [optional] allow_recovery_plans bool [optional] snapshot_creation_interval_min int [optional] snapshot_on_demand_timeout int [optional] allow_archiving bool [optional] custom_replicator_instance_type str [optional] disable_snapshot_on_demand bool [optional] disable_install bool [optional] hdd bool [optional] snapshot_creation_interval_max int [optional] ce_admin_properties object For internal use. [optional] azure bool [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureAllProjectFeatures"},{"location":"api/CloudEndureAllProjectFeatures/#cloudendureallprojectfeatures","text":"","title":"CloudEndureAllProjectFeatures"},{"location":"api/CloudEndureAllProjectFeatures/#properties","text":"Name Type Description Notes google bool [optional] is_demo bool [optional] windows_converters bool [optional] force_reversed_handshake_direction bool [optional] no_converters bool [optional] vio bool [optional] no_cloud bool [optional] consistent_snapshot_creation_interval_min int [optional] no_public_ips bool [optional] daily_pit_number int [optional] mtu_size int [optional] allow_byol_on_dedicated_instance bool [optional] max_converter_volumes int [optional] azurearm bool [optional] vcenter bool [optional] subnet_filter str [optional] no_snapshot_considered_lag_milliseconds int [optional] no_converters_windows bool [optional] disable_replica_creation bool [optional] aws bool [optional] max_replicator_volumes int [optional] allow_recovery_plans bool [optional] snapshot_creation_interval_min int [optional] snapshot_on_demand_timeout int [optional] allow_archiving bool [optional] custom_replicator_instance_type str [optional] disable_snapshot_on_demand bool [optional] disable_install bool [optional] hdd bool [optional] snapshot_creation_interval_max int [optional] ce_admin_properties object For internal use. [optional] azure bool [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureAuditLog/","text":"CloudEndureAuditLog Properties Name Type Description Notes items list[CloudEndureAuditLogEntry] [optional] has_more_results bool AuditLog API will only return max 1500 entries so this is a way to know if there are more. [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureAuditLog"},{"location":"api/CloudEndureAuditLog/#cloudendureauditlog","text":"","title":"CloudEndureAuditLog"},{"location":"api/CloudEndureAuditLog/#properties","text":"Name Type Description Notes items list[CloudEndureAuditLogEntry] [optional] has_more_results bool AuditLog API will only return max 1500 entries so this is a way to know if there are more. [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureAuditLogChangedField/","text":"CloudEndureAuditLogChangedField Properties Name Type Description Notes field_name str [optional] new_value str [optional] old_value str [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureAuditLogChangedField"},{"location":"api/CloudEndureAuditLogChangedField/#cloudendureauditlogchangedfield","text":"","title":"CloudEndureAuditLogChangedField"},{"location":"api/CloudEndureAuditLogChangedField/#properties","text":"Name Type Description Notes field_name str [optional] new_value str [optional] old_value str [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureAuditLogEntry/","text":"CloudEndureAuditLogEntry Properties Name Type Description Notes username str username (typically an email) of user who initiated action (in UI or via API) which resulted in this audit log entry being added. [optional] event_name str Unique event name. One of: - replicationConfigurationChanged - blueprintChanged - ... @todo: complete [optional] participating_machines list[object] List of machine-identifiers objects. Only present if Audit Log entry relates to one or more machines. [optional] description str Long-form human-readable description of Audit Log entry. [optional] changed_fields list[CloudEndureAuditLogChangedField] Map of fields that have been changed and their old an new values. Only present when eventName is replicationConfigurationChanged or blueprintChanged [optional] timestamp datetime RFC 3339 compliant date-time string of when Audit Log entry was created/ event described by audit log entry happened. [optional] job_id str ID of Job due to which this log entry was created (only included if log entry is result of a Job) [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureAuditLogEntry"},{"location":"api/CloudEndureAuditLogEntry/#cloudendureauditlogentry","text":"","title":"CloudEndureAuditLogEntry"},{"location":"api/CloudEndureAuditLogEntry/#properties","text":"Name Type Description Notes username str username (typically an email) of user who initiated action (in UI or via API) which resulted in this audit log entry being added. [optional] event_name str Unique event name. One of: - replicationConfigurationChanged - blueprintChanged - ... @todo: complete [optional] participating_machines list[object] List of machine-identifiers objects. Only present if Audit Log entry relates to one or more machines. [optional] description str Long-form human-readable description of Audit Log entry. [optional] changed_fields list[CloudEndureAuditLogChangedField] Map of fields that have been changed and their old an new values. Only present when eventName is replicationConfigurationChanged or blueprintChanged [optional] timestamp datetime RFC 3339 compliant date-time string of when Audit Log entry was created/ event described by audit log entry happened. [optional] job_id str ID of Job due to which this log entry was created (only included if log entry is result of a Job) [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureBandwidthThrottling/","text":"CloudEndureBandwidthThrottling Properties Name Type Description Notes bandwidth_throttling int Mbps to use for Data Replication (zero means no throttling). [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureBandwidthThrottling"},{"location":"api/CloudEndureBandwidthThrottling/#cloudendurebandwidththrottling","text":"","title":"CloudEndureBandwidthThrottling"},{"location":"api/CloudEndureBandwidthThrottling/#properties","text":"Name Type Description Notes bandwidth_throttling int Mbps to use for Data Replication (zero means no throttling). [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureBlueprint/","text":"CloudEndureBlueprint Properties Name Type Description Notes iam_role str AWS only. Possible values can be fetched from the Region object. [optional] scsi_adapter_type str Currently relevant for vCenter cloud only. Possible values can be fetched from the Region object. [optional] public_ip_action str Whether to allocate an ephemeral public IP, or not. AS_SUBNET causes CloudEndure to copy this property from the source machine. [optional] machine_name str [optional] cpus int Number of CPUs per per Target machine; Currently relevant for vCenter cloud only; Max value can be fetched from the maxCpusPerMachine property of the Region object. [optional] security_group_i_ds list[str] AWS only. The security groups that will be applied to the target machine. Possible values can be fetched from the Region object. [optional] run_after_launch bool AWS only. Whether to power on the launched target machine after launch. True by default. [optional] recommended_private_ip str The private IP address recommended for use with this machine. [optional] network_interface str [optional] id str [optional] mb_ram int MB RAM per Target machine; Currently relevant for vCenter cloud only; Max value can be fetched from the maxMbRamPerMachine property of the Region object. [optional] instance_type str Possible values can be fetched from the Region object, plus special values \\\"COPY_ORIGIN\\\" or \\\"CUSTOM\\\" [optional] subnet_i_ds list[str] AWS only. Configures a subnets in which the instance network interface will take part. Possible values can be fetched from the Region object. [optional] cores_per_cpu int Number of CPU cores per CPU in Target machine; Currently relevant for vCenter cloud only. [optional] recommended_instance_type str When instance rightsizing is enabled, the instance type suitable for the source machine's HW [optional] static_ip str Possible values can be fetched from the Region object. [optional] tags list[object] AWS only. Tags that will be applied to the target machine. [optional] security_group_action str How to assign a security group to the target machine. [optional] private_i_ps list[str] [optional] tenancy str [optional] compute_location_id str todo [optional] subnets_host_project str GCP only. Host project for cross project network subnet. [optional] logical_location_id str vcenter = vmFolder; relates to $ref LogicalLocation [optional] network_adapter_type str Currently relevant for vCenter cloud only. Possible values can be fetched from the Region object. [optional] byol_on_dedicated_instance bool specifies whether to use byol windows license if dedicated instance tenancy is selected. [optional] placement_group str AWS only. Possible values can be fetched from the Region object. [optional] machine_id str [optional] region str [optional] disks list[object] AWS only. Target machine disk properties. [optional] private_ip_action str [optional] static_ip_action str [optional] dedicated_host_identifier str [optional] use_shared_ram bool todo [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureBlueprint"},{"location":"api/CloudEndureBlueprint/#cloudendureblueprint","text":"","title":"CloudEndureBlueprint"},{"location":"api/CloudEndureBlueprint/#properties","text":"Name Type Description Notes iam_role str AWS only. Possible values can be fetched from the Region object. [optional] scsi_adapter_type str Currently relevant for vCenter cloud only. Possible values can be fetched from the Region object. [optional] public_ip_action str Whether to allocate an ephemeral public IP, or not. AS_SUBNET causes CloudEndure to copy this property from the source machine. [optional] machine_name str [optional] cpus int Number of CPUs per per Target machine; Currently relevant for vCenter cloud only; Max value can be fetched from the maxCpusPerMachine property of the Region object. [optional] security_group_i_ds list[str] AWS only. The security groups that will be applied to the target machine. Possible values can be fetched from the Region object. [optional] run_after_launch bool AWS only. Whether to power on the launched target machine after launch. True by default. [optional] recommended_private_ip str The private IP address recommended for use with this machine. [optional] network_interface str [optional] id str [optional] mb_ram int MB RAM per Target machine; Currently relevant for vCenter cloud only; Max value can be fetched from the maxMbRamPerMachine property of the Region object. [optional] instance_type str Possible values can be fetched from the Region object, plus special values \\\"COPY_ORIGIN\\\" or \\\"CUSTOM\\\" [optional] subnet_i_ds list[str] AWS only. Configures a subnets in which the instance network interface will take part. Possible values can be fetched from the Region object. [optional] cores_per_cpu int Number of CPU cores per CPU in Target machine; Currently relevant for vCenter cloud only. [optional] recommended_instance_type str When instance rightsizing is enabled, the instance type suitable for the source machine's HW [optional] static_ip str Possible values can be fetched from the Region object. [optional] tags list[object] AWS only. Tags that will be applied to the target machine. [optional] security_group_action str How to assign a security group to the target machine. [optional] private_i_ps list[str] [optional] tenancy str [optional] compute_location_id str todo [optional] subnets_host_project str GCP only. Host project for cross project network subnet. [optional] logical_location_id str vcenter = vmFolder; relates to $ref LogicalLocation [optional] network_adapter_type str Currently relevant for vCenter cloud only. Possible values can be fetched from the Region object. [optional] byol_on_dedicated_instance bool specifies whether to use byol windows license if dedicated instance tenancy is selected. [optional] placement_group str AWS only. Possible values can be fetched from the Region object. [optional] machine_id str [optional] region str [optional] disks list[object] AWS only. Target machine disk properties. [optional] private_ip_action str [optional] static_ip_action str [optional] dedicated_host_identifier str [optional] use_shared_ram bool todo [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureBlueprintList/","text":"CloudEndureBlueprintList Properties Name Type Description Notes items list[CloudEndureBlueprint] [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureBlueprintList"},{"location":"api/CloudEndureBlueprintList/#cloudendureblueprintlist","text":"","title":"CloudEndureBlueprintList"},{"location":"api/CloudEndureBlueprintList/#properties","text":"Name Type Description Notes items list[CloudEndureBlueprint] [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureCloud/","text":"CloudEndureCloud Properties Name Type Description Notes id str [optional] roles list[str] [optional] name str [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureCloud"},{"location":"api/CloudEndureCloud/#cloudendurecloud","text":"","title":"CloudEndureCloud"},{"location":"api/CloudEndureCloud/#properties","text":"Name Type Description Notes id str [optional] roles list[str] [optional] name str [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureCloudCredentials/","text":"CloudEndureCloudCredentials Properties Name Type Description Notes id str [optional] public_key str The public part of the Cloud credentials. For AWS - access key ID; for GCP - user email; for Azure - SHA1 digestion of the certificate file. [optional] account_identifier str An ID provided by the cloud for the user account. [optional] cloud str [optional] name str An optional (can be empty), user provided, descriptive name. [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureCloudCredentials"},{"location":"api/CloudEndureCloudCredentials/#cloudendurecloudcredentials","text":"","title":"CloudEndureCloudCredentials"},{"location":"api/CloudEndureCloudCredentials/#properties","text":"Name Type Description Notes id str [optional] public_key str The public part of the Cloud credentials. For AWS - access key ID; for GCP - user email; for Azure - SHA1 digestion of the certificate file. [optional] account_identifier str An ID provided by the cloud for the user account. [optional] cloud str [optional] name str An optional (can be empty), user provided, descriptive name. [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureCloudCredentialsList/","text":"CloudEndureCloudCredentialsList Properties Name Type Description Notes items list[CloudEndureCloudCredentials] [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureCloudCredentialsList"},{"location":"api/CloudEndureCloudCredentialsList/#cloudendurecloudcredentialslist","text":"","title":"CloudEndureCloudCredentialsList"},{"location":"api/CloudEndureCloudCredentialsList/#properties","text":"Name Type Description Notes items list[CloudEndureCloudCredentials] [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureCloudCredentialsRequest/","text":"CloudEndureCloudCredentialsRequest Properties Name Type Description Notes public_key str The public part of the Cloud credentials. For AWS - The access key ID, For GCP and Azure - N/A. [optional] name str An optional (can be empty), user provided, descriptive name. [optional] cloud_id str private_key str Cloud credentials secret. For AWS - The secret access key, For GCP - The private key in JSON format, For Azure - The certificate file. [optional] account_identifier str Cloud account identifier. For AWS - N/A, For GCP - The project ID, For Azure - The subscription ID. [optional] id str [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureCloudCredentialsRequest"},{"location":"api/CloudEndureCloudCredentialsRequest/#cloudendurecloudcredentialsrequest","text":"","title":"CloudEndureCloudCredentialsRequest"},{"location":"api/CloudEndureCloudCredentialsRequest/#properties","text":"Name Type Description Notes public_key str The public part of the Cloud credentials. For AWS - The access key ID, For GCP and Azure - N/A. [optional] name str An optional (can be empty), user provided, descriptive name. [optional] cloud_id str private_key str Cloud credentials secret. For AWS - The secret access key, For GCP - The private key in JSON format, For Azure - The certificate file. [optional] account_identifier str Cloud account identifier. For AWS - N/A, For GCP - The project ID, For Azure - The subscription ID. [optional] id str [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureCloudsList/","text":"CloudEndureCloudsList Properties Name Type Description Notes items list[CloudEndureCloud] [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureCloudsList"},{"location":"api/CloudEndureCloudsList/#cloudendurecloudslist","text":"","title":"CloudEndureCloudsList"},{"location":"api/CloudEndureCloudsList/#properties","text":"Name Type Description Notes items list[CloudEndureCloud] [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureComputeLocation/","text":"CloudEndureComputeLocation Properties Name Type Description Notes is_encryption_supported bool [optional] location_id str [optional] name str [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureComputeLocation"},{"location":"api/CloudEndureComputeLocation/#cloudendurecomputelocation","text":"","title":"CloudEndureComputeLocation"},{"location":"api/CloudEndureComputeLocation/#properties","text":"Name Type Description Notes is_encryption_supported bool [optional] location_id str [optional] name str [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureConfigurations/","text":"CloudEndureConfigurations Properties Name Type Description Notes name str [optional] value str [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureConfigurations"},{"location":"api/CloudEndureConfigurations/#cloudendureconfigurations","text":"","title":"CloudEndureConfigurations"},{"location":"api/CloudEndureConfigurations/#properties","text":"Name Type Description Notes name str [optional] value str [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureConfigurationsList/","text":"CloudEndureConfigurationsList Properties Name Type Description Notes items list[CloudEndureConfigurations] [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureConfigurationsList"},{"location":"api/CloudEndureConfigurationsList/#cloudendureconfigurationslist","text":"","title":"CloudEndureConfigurationsList"},{"location":"api/CloudEndureConfigurationsList/#properties","text":"Name Type Description Notes items list[CloudEndureConfigurations] [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureError/","text":"CloudEndureError Properties Name Type Description Notes message str [optional] code str [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureError"},{"location":"api/CloudEndureError/#cloudendureerror","text":"","title":"CloudEndureError"},{"location":"api/CloudEndureError/#properties","text":"Name Type Description Notes message str [optional] code str [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureExtendedAccountInfo/","text":"CloudEndureExtendedAccountInfo Properties Name Type Description Notes account CloudEndureAccount [optional] clouds CloudEndureCloudsList [optional] generic_region CloudEndureRegion [optional] date_time CloudEndureTime [optional] user CloudEndureUser [optional] projects CloudEndureProjectsList [optional] is_newly_registered bool [optional] replication_configurations CloudEndureReplicationConfigurationList [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureExtendedAccountInfo"},{"location":"api/CloudEndureExtendedAccountInfo/#cloudendureextendedaccountinfo","text":"","title":"CloudEndureExtendedAccountInfo"},{"location":"api/CloudEndureExtendedAccountInfo/#properties","text":"Name Type Description Notes account CloudEndureAccount [optional] clouds CloudEndureCloudsList [optional] generic_region CloudEndureRegion [optional] date_time CloudEndureTime [optional] user CloudEndureUser [optional] projects CloudEndureProjectsList [optional] is_newly_registered bool [optional] replication_configurations CloudEndureReplicationConfigurationList [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureFindFilesParameters/","text":"CloudEndureFindFilesParameters Properties Name Type Description Notes query str machine_i_ds list[str] [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureFindFilesParameters"},{"location":"api/CloudEndureFindFilesParameters/#cloudendurefindfilesparameters","text":"","title":"CloudEndureFindFilesParameters"},{"location":"api/CloudEndureFindFilesParameters/#properties","text":"Name Type Description Notes query str machine_i_ds list[str] [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureFindFilesResult/","text":"CloudEndureFindFilesResult Properties Name Type Description Notes machine_id str points_in_time object [optional] file_path str [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureFindFilesResult"},{"location":"api/CloudEndureFindFilesResult/#cloudendurefindfilesresult","text":"","title":"CloudEndureFindFilesResult"},{"location":"api/CloudEndureFindFilesResult/#properties","text":"Name Type Description Notes machine_id str points_in_time object [optional] file_path str [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureFindFilesResultPit/","text":"CloudEndureFindFilesResultPit Properties Name Type Description Notes id str date_time datetime [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureFindFilesResultPit"},{"location":"api/CloudEndureFindFilesResultPit/#cloudendurefindfilesresultpit","text":"","title":"CloudEndureFindFilesResultPit"},{"location":"api/CloudEndureFindFilesResultPit/#properties","text":"Name Type Description Notes id str date_time datetime [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureFindFilesResults/","text":"CloudEndureFindFilesResults Properties Name Type Description Notes count int query str items list[CloudEndureFindFilesResult] [optional] invalid_machine_i_ds list[str] [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureFindFilesResults"},{"location":"api/CloudEndureFindFilesResults/#cloudendurefindfilesresults","text":"","title":"CloudEndureFindFilesResults"},{"location":"api/CloudEndureFindFilesResults/#properties","text":"Name Type Description Notes count int query str items list[CloudEndureFindFilesResult] [optional] invalid_machine_i_ds list[str] [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureGcpMachinesFinanceData/","text":"CloudEndureGcpMachinesFinanceData Properties Name Type Description Notes gcp_project_name str [optional] machine_name str [optional] number_of_cores int [optional] creation_time datetime [optional] is_preemptible bool [optional] has_gpu bool [optional] machine_id str [optional] ce_project_name str [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureGcpMachinesFinanceData"},{"location":"api/CloudEndureGcpMachinesFinanceData/#cloudenduregcpmachinesfinancedata","text":"","title":"CloudEndureGcpMachinesFinanceData"},{"location":"api/CloudEndureGcpMachinesFinanceData/#properties","text":"Name Type Description Notes gcp_project_name str [optional] machine_name str [optional] number_of_cores int [optional] creation_time datetime [optional] is_preemptible bool [optional] has_gpu bool [optional] machine_id str [optional] ce_project_name str [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureIdentityProviderRedirectResponse/","text":"CloudEndureIdentityProviderRedirectResponse Properties Name Type Description Notes saml_redirect str [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureIdentityProviderRedirectResponse"},{"location":"api/CloudEndureIdentityProviderRedirectResponse/#cloudendureidentityproviderredirectresponse","text":"","title":"CloudEndureIdentityProviderRedirectResponse"},{"location":"api/CloudEndureIdentityProviderRedirectResponse/#properties","text":"Name Type Description Notes saml_redirect str [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureInitializationStep/","text":"CloudEndureInitializationStep Properties Name Type Description Notes status str [optional] message str [optional] name str [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureInitializationStep"},{"location":"api/CloudEndureInitializationStep/#cloudendureinitializationstep","text":"","title":"CloudEndureInitializationStep"},{"location":"api/CloudEndureInitializationStep/#properties","text":"Name Type Description Notes status str [optional] message str [optional] name str [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureJob/","text":"CloudEndureJob Properties Name Type Description Notes status str [optional] participating_machines list[str] [optional] log list[object] [optional] type str todo explian that cleanup is also for restore servers [optional] end_date_time datetime [optional] creation_date_time datetime [optional] id str [optional] initiated_by str username of user who initiated the job [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureJob"},{"location":"api/CloudEndureJob/#cloudendurejob","text":"","title":"CloudEndureJob"},{"location":"api/CloudEndureJob/#properties","text":"Name Type Description Notes status str [optional] participating_machines list[str] [optional] log list[object] [optional] type str todo explian that cleanup is also for restore servers [optional] end_date_time datetime [optional] creation_date_time datetime [optional] id str [optional] initiated_by str username of user who initiated the job [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureJobsList/","text":"CloudEndureJobsList Properties Name Type Description Notes items list[CloudEndureJob] [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureJobsList"},{"location":"api/CloudEndureJobsList/#cloudendurejobslist","text":"","title":"CloudEndureJobsList"},{"location":"api/CloudEndureJobsList/#properties","text":"Name Type Description Notes items list[CloudEndureJob] [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureKeyValueList/","text":"CloudEndureKeyValueList Properties Name Type Description Notes items list[object] [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureKeyValueList"},{"location":"api/CloudEndureKeyValueList/#cloudendurekeyvaluelist","text":"","title":"CloudEndureKeyValueList"},{"location":"api/CloudEndureKeyValueList/#properties","text":"Name Type Description Notes items list[object] [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureLaunchMachinesParameters/","text":"CloudEndureLaunchMachinesParameters Properties Name Type Description Notes items list[CloudEndureMachineAndPointInTime] [optional] launch_type str debug_scripts object [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureLaunchMachinesParameters"},{"location":"api/CloudEndureLaunchMachinesParameters/#cloudendurelaunchmachinesparameters","text":"","title":"CloudEndureLaunchMachinesParameters"},{"location":"api/CloudEndureLaunchMachinesParameters/#properties","text":"Name Type Description Notes items list[CloudEndureMachineAndPointInTime] [optional] launch_type str debug_scripts object [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureLicense/","text":"CloudEndureLicense Properties Name Type Description Notes count int The total number of licenses. [optional] duration_from_start_of_use str Validity period for a a single license from the time of agent installation. [optional] used int How many licenses have already been consumed. [optional] features CloudEndureLicenseFeatures [optional] expiration_date_time datetime [optional] ce_admin_properties object For internal use. [optional] type str License type. DR licenses can be moved from one machine to another. Migration licenses are consumed upon installation. [optional] id str [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureLicense"},{"location":"api/CloudEndureLicense/#cloudendurelicense","text":"","title":"CloudEndureLicense"},{"location":"api/CloudEndureLicense/#properties","text":"Name Type Description Notes count int The total number of licenses. [optional] duration_from_start_of_use str Validity period for a a single license from the time of agent installation. [optional] used int How many licenses have already been consumed. [optional] features CloudEndureLicenseFeatures [optional] expiration_date_time datetime [optional] ce_admin_properties object For internal use. [optional] type str License type. DR licenses can be moved from one machine to another. Migration licenses are consumed upon installation. [optional] id str [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureLicenseFeatures/","text":"CloudEndureLicenseFeatures Properties Name Type Description Notes pit bool [optional] dr_tier2 bool [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureLicenseFeatures"},{"location":"api/CloudEndureLicenseFeatures/#cloudendurelicensefeatures","text":"","title":"CloudEndureLicenseFeatures"},{"location":"api/CloudEndureLicenseFeatures/#properties","text":"Name Type Description Notes pit bool [optional] dr_tier2 bool [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureLicenseList/","text":"CloudEndureLicenseList Properties Name Type Description Notes items list[CloudEndureLicense] [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureLicenseList"},{"location":"api/CloudEndureLicenseList/#cloudendurelicenselist","text":"","title":"CloudEndureLicenseList"},{"location":"api/CloudEndureLicenseList/#properties","text":"Name Type Description Notes items list[CloudEndureLicense] [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureListUsersResult/","text":"CloudEndureListUsersResult Properties Name Type Description Notes username str [optional] is_account_owner bool [optional] state str [optional] version str [optional] account_uuid str [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureListUsersResult"},{"location":"api/CloudEndureListUsersResult/#cloudendurelistusersresult","text":"","title":"CloudEndureListUsersResult"},{"location":"api/CloudEndureListUsersResult/#properties","text":"Name Type Description Notes username str [optional] is_account_owner bool [optional] state str [optional] version str [optional] account_uuid str [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureListUsersResults/","text":"CloudEndureListUsersResults Properties Name Type Description Notes items list[CloudEndureListUsersResult] [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureListUsersResults"},{"location":"api/CloudEndureListUsersResults/#cloudendurelistusersresults","text":"","title":"CloudEndureListUsersResults"},{"location":"api/CloudEndureListUsersResults/#properties","text":"Name Type Description Notes items list[CloudEndureListUsersResult] [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureLogicalLocation/","text":"CloudEndureLogicalLocation Properties Name Type Description Notes location_id str [optional] name str [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureLogicalLocation"},{"location":"api/CloudEndureLogicalLocation/#cloudendurelogicallocation","text":"","title":"CloudEndureLogicalLocation"},{"location":"api/CloudEndureLogicalLocation/#properties","text":"Name Type Description Notes location_id str [optional] name str [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureMachine/","text":"CloudEndureMachine Properties Name Type Description Notes source_properties object Source machine properties. [optional] replication_info object Detailed information on the state of replication. [optional] license object Detailed machine license consumption information. [optional] tags list[str] [optional] restore_servers list[str] todo restoreServer ids [optional] from_point_in_time CloudEndurePointInTime [optional] replication_status str Is replication started, paused or stopped [optional] replica str The ID of the target machine that has been previously launched, if such exists. [optional] id str [optional] replication_configuration CloudEndureMachineReplicationConfiguration [optional] life_cycle object Detailed machine lifecycle information. [optional] is_agent_installed bool Whether a CloudEndure agent is currently installed on this machine. [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureMachine"},{"location":"api/CloudEndureMachine/#cloudenduremachine","text":"","title":"CloudEndureMachine"},{"location":"api/CloudEndureMachine/#properties","text":"Name Type Description Notes source_properties object Source machine properties. [optional] replication_info object Detailed information on the state of replication. [optional] license object Detailed machine license consumption information. [optional] tags list[str] [optional] restore_servers list[str] todo restoreServer ids [optional] from_point_in_time CloudEndurePointInTime [optional] replication_status str Is replication started, paused or stopped [optional] replica str The ID of the target machine that has been previously launched, if such exists. [optional] id str [optional] replication_configuration CloudEndureMachineReplicationConfiguration [optional] life_cycle object Detailed machine lifecycle information. [optional] is_agent_installed bool Whether a CloudEndure agent is currently installed on this machine. [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureMachineAndPathAndPointInTime/","text":"CloudEndureMachineAndPathAndPointInTime Properties Name Type Description Notes machine_id str point_in_time_id str [optional] file_path str [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureMachineAndPathAndPointInTime"},{"location":"api/CloudEndureMachineAndPathAndPointInTime/#cloudenduremachineandpathandpointintime","text":"","title":"CloudEndureMachineAndPathAndPointInTime"},{"location":"api/CloudEndureMachineAndPathAndPointInTime/#properties","text":"Name Type Description Notes machine_id str point_in_time_id str [optional] file_path str [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureMachineAndPointInTime/","text":"CloudEndureMachineAndPointInTime Properties Name Type Description Notes machine_id str A source machine to launch a target machine for. point_in_time_id str The ID of the pointInTime to launch a target machine from. If omitted, CloudEndure will use the latest pointInTime. [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureMachineAndPointInTime"},{"location":"api/CloudEndureMachineAndPointInTime/#cloudenduremachineandpointintime","text":"","title":"CloudEndureMachineAndPointInTime"},{"location":"api/CloudEndureMachineAndPointInTime/#properties","text":"Name Type Description Notes machine_id str A source machine to launch a target machine for. point_in_time_id str The ID of the pointInTime to launch a target machine from. If omitted, CloudEndure will use the latest pointInTime. [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureMachineReplicationConfiguration/","text":"CloudEndureMachineReplicationConfiguration Properties Name Type Description Notes volume_encryption_key str AWS only. ARN to private key for Volume Encryption. Possible values can be fetched from the Region object. [optional] replication_tags list[object] AWS only. Tags that will be applied to every cloud resource created in the CloudEndure Staging Area. [optional] subnet_host_project str GCP only. Host project of cross project network subnet. [optional] replication_server_type str [optional] compute_location_id str todo vcenter only [optional] subnet_id str Subnet where replication servers will be created. Possible values can be fetched from the Region object. [optional] logical_location_id str vcenter = vmFolder [optional] bandwidth_throttling int Mbps to use for Data Replication (zero means no throttling). [optional] storage_location_id str @todo backend creates cloudendure bla bla storage account upon need (empty string). [optional] use_dedicated_server bool [optional] zone str Relevant for GCP and Azure ARM. The Zone to replicate into. [optional] replicator_security_group_i_ds list[str] AWS only. The security groups that will be applied to the replication servers. Possible values can be fetched from the Region object. [optional] use_private_ip bool Should the CloudEndure agent access the replication server using its private IP address. [optional] proxy_url str The full URI for a proxy (schema, username, password, domain, port) if required for the CloudEndure agent. [optional] volume_encryption_allowed bool todo AWS only... not relevant for Backup Projects because EBS is not used [optional] archiving_enabled bool [optional] object_storage_location str bucket in aws [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureMachineReplicationConfiguration"},{"location":"api/CloudEndureMachineReplicationConfiguration/#cloudenduremachinereplicationconfiguration","text":"","title":"CloudEndureMachineReplicationConfiguration"},{"location":"api/CloudEndureMachineReplicationConfiguration/#properties","text":"Name Type Description Notes volume_encryption_key str AWS only. ARN to private key for Volume Encryption. Possible values can be fetched from the Region object. [optional] replication_tags list[object] AWS only. Tags that will be applied to every cloud resource created in the CloudEndure Staging Area. [optional] subnet_host_project str GCP only. Host project of cross project network subnet. [optional] replication_server_type str [optional] compute_location_id str todo vcenter only [optional] subnet_id str Subnet where replication servers will be created. Possible values can be fetched from the Region object. [optional] logical_location_id str vcenter = vmFolder [optional] bandwidth_throttling int Mbps to use for Data Replication (zero means no throttling). [optional] storage_location_id str @todo backend creates cloudendure bla bla storage account upon need (empty string). [optional] use_dedicated_server bool [optional] zone str Relevant for GCP and Azure ARM. The Zone to replicate into. [optional] replicator_security_group_i_ds list[str] AWS only. The security groups that will be applied to the replication servers. Possible values can be fetched from the Region object. [optional] use_private_ip bool Should the CloudEndure agent access the replication server using its private IP address. [optional] proxy_url str The full URI for a proxy (schema, username, password, domain, port) if required for the CloudEndure agent. [optional] volume_encryption_allowed bool todo AWS only... not relevant for Backup Projects because EBS is not used [optional] archiving_enabled bool [optional] object_storage_location str bucket in aws [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureMachineSnapshotCredits/","text":"CloudEndureMachineSnapshotCredits Properties Name Type Description Notes credits int Mbps to use for Data Replication (zero means no throttling). [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureMachineSnapshotCredits"},{"location":"api/CloudEndureMachineSnapshotCredits/#cloudenduremachinesnapshotcredits","text":"","title":"CloudEndureMachineSnapshotCredits"},{"location":"api/CloudEndureMachineSnapshotCredits/#properties","text":"Name Type Description Notes credits int Mbps to use for Data Replication (zero means no throttling). [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureMachineThrottleTimeSeconds/","text":"CloudEndureMachineThrottleTimeSeconds Properties Name Type Description Notes credits int time to throttle the machine in seconds [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureMachineThrottleTimeSeconds"},{"location":"api/CloudEndureMachineThrottleTimeSeconds/#cloudenduremachinethrottletimeseconds","text":"","title":"CloudEndureMachineThrottleTimeSeconds"},{"location":"api/CloudEndureMachineThrottleTimeSeconds/#properties","text":"Name Type Description Notes credits int time to throttle the machine in seconds [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureMachinesList/","text":"CloudEndureMachinesList Properties Name Type Description Notes items list[CloudEndureMachine] [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureMachinesList"},{"location":"api/CloudEndureMachinesList/#cloudenduremachineslist","text":"","title":"CloudEndureMachinesList"},{"location":"api/CloudEndureMachinesList/#properties","text":"Name Type Description Notes items list[CloudEndureMachine] [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureMachinesListInvalidIDsAndJob/","text":"CloudEndureMachinesListInvalidIDsAndJob Properties Name Type Description Notes items list[CloudEndureMachine] [optional] job CloudEndureJob [optional] invalid_machine_i_ds list[str] The IDs of the machines for which the operation failed. [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureMachinesListInvalidIDsAndJob"},{"location":"api/CloudEndureMachinesListInvalidIDsAndJob/#cloudenduremachineslistinvalididsandjob","text":"","title":"CloudEndureMachinesListInvalidIDsAndJob"},{"location":"api/CloudEndureMachinesListInvalidIDsAndJob/#properties","text":"Name Type Description Notes items list[CloudEndureMachine] [optional] job CloudEndureJob [optional] invalid_machine_i_ds list[str] The IDs of the machines for which the operation failed. [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureNetworkInterface/","text":"CloudEndureNetworkInterface Properties Name Type Description Notes subnet_id str [optional] name str [optional] private_ip str [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureNetworkInterface"},{"location":"api/CloudEndureNetworkInterface/#cloudendurenetworkinterface","text":"","title":"CloudEndureNetworkInterface"},{"location":"api/CloudEndureNetworkInterface/#properties","text":"Name Type Description Notes subnet_id str [optional] name str [optional] private_ip str [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndurePointInTime/","text":"CloudEndurePointInTime Properties Name Type Description Notes id str [optional] date_time datetime Timestamp for this Recovery Point. A NULL value signifies there is no later point available. [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndurePointInTime"},{"location":"api/CloudEndurePointInTime/#cloudendurepointintime","text":"","title":"CloudEndurePointInTime"},{"location":"api/CloudEndurePointInTime/#properties","text":"Name Type Description Notes id str [optional] date_time datetime Timestamp for this Recovery Point. A NULL value signifies there is no later point available. [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndurePointInTimeList/","text":"CloudEndurePointInTimeList Properties Name Type Description Notes items list[CloudEndurePointInTime] [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndurePointInTimeList"},{"location":"api/CloudEndurePointInTimeList/#cloudendurepointintimelist","text":"","title":"CloudEndurePointInTimeList"},{"location":"api/CloudEndurePointInTimeList/#properties","text":"Name Type Description Notes items list[CloudEndurePointInTime] [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureProject/","text":"CloudEndureProject Properties Name Type Description Notes target_cloud_id str [optional] agent_installation_token str [optional] name str [optional] users_i_ds list[str] todo empty array unless AO or ce admin [optional] type str [optional] replication_reversed bool [optional] source_cloud_credentials_id str [optional] cloud_credentials_i_ds list[str] The IDs of the cloud credentials to use (array of one). [optional] source_region str The ID of the region to use as source. [optional] licenses_i_ds list[str] The IDs of the licenses associated with this project (array of one). [optional] ce_admin_properties object For internal use. [optional] replication_configuration str The ID of the replication configuration object to use (corresponding to the ones available in /projects/{projectId}/replicationConfigurations). [optional] source_cloud_id str [optional] id str [optional] features object [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureProject"},{"location":"api/CloudEndureProject/#cloudendureproject","text":"","title":"CloudEndureProject"},{"location":"api/CloudEndureProject/#properties","text":"Name Type Description Notes target_cloud_id str [optional] agent_installation_token str [optional] name str [optional] users_i_ds list[str] todo empty array unless AO or ce admin [optional] type str [optional] replication_reversed bool [optional] source_cloud_credentials_id str [optional] cloud_credentials_i_ds list[str] The IDs of the cloud credentials to use (array of one). [optional] source_region str The ID of the region to use as source. [optional] licenses_i_ds list[str] The IDs of the licenses associated with this project (array of one). [optional] ce_admin_properties object For internal use. [optional] replication_configuration str The ID of the replication configuration object to use (corresponding to the ones available in /projects/{projectId}/replicationConfigurations). [optional] source_cloud_id str [optional] id str [optional] features object [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureProjectStorage/","text":"CloudEndureProjectStorage Properties Name Type Description Notes project_id str [optional] points_in_time_total_bytes int [optional] running_machines_total_bytes int [optional] working_storage object [optional] calculation_date_time datetime [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureProjectStorage"},{"location":"api/CloudEndureProjectStorage/#cloudendureprojectstorage","text":"","title":"CloudEndureProjectStorage"},{"location":"api/CloudEndureProjectStorage/#properties","text":"Name Type Description Notes project_id str [optional] points_in_time_total_bytes int [optional] running_machines_total_bytes int [optional] working_storage object [optional] calculation_date_time datetime [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureProjectsAndUsers/","text":"CloudEndureProjectsAndUsers Properties Name Type Description Notes items list[object] [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureProjectsAndUsers"},{"location":"api/CloudEndureProjectsAndUsers/#cloudendureprojectsandusers","text":"","title":"CloudEndureProjectsAndUsers"},{"location":"api/CloudEndureProjectsAndUsers/#properties","text":"Name Type Description Notes items list[object] [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureProjectsList/","text":"CloudEndureProjectsList Properties Name Type Description Notes items list[CloudEndureProject] [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureProjectsList"},{"location":"api/CloudEndureProjectsList/#cloudendureprojectslist","text":"","title":"CloudEndureProjectsList"},{"location":"api/CloudEndureProjectsList/#properties","text":"Name Type Description Notes items list[CloudEndureProject] [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureRecoveryPlan/","text":"CloudEndureRecoveryPlan Properties Name Type Description Notes steps CloudEndureRecoveryPlanSteps [optional] id str [optional] name str [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureRecoveryPlan"},{"location":"api/CloudEndureRecoveryPlan/#cloudendurerecoveryplan","text":"","title":"CloudEndureRecoveryPlan"},{"location":"api/CloudEndureRecoveryPlan/#properties","text":"Name Type Description Notes steps CloudEndureRecoveryPlanSteps [optional] id str [optional] name str [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureRecoveryPlanList/","text":"CloudEndureRecoveryPlanList Properties Name Type Description Notes items list[CloudEndureRecoveryPlan] [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureRecoveryPlanList"},{"location":"api/CloudEndureRecoveryPlanList/#cloudendurerecoveryplanlist","text":"","title":"CloudEndureRecoveryPlanList"},{"location":"api/CloudEndureRecoveryPlanList/#properties","text":"Name Type Description Notes items list[CloudEndureRecoveryPlan] [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureRecoveryPlanStep/","text":"CloudEndureRecoveryPlanStep Properties Name Type Description Notes machine_i_ds list[str] [optional] wait_before str [optional] name str [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureRecoveryPlanStep"},{"location":"api/CloudEndureRecoveryPlanStep/#cloudendurerecoveryplanstep","text":"","title":"CloudEndureRecoveryPlanStep"},{"location":"api/CloudEndureRecoveryPlanStep/#properties","text":"Name Type Description Notes machine_i_ds list[str] [optional] wait_before str [optional] name str [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureRecoveryPlanSteps/","text":"CloudEndureRecoveryPlanSteps Properties Name Type Description Notes items list[CloudEndureRecoveryPlanStep] [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureRecoveryPlanSteps"},{"location":"api/CloudEndureRecoveryPlanSteps/#cloudendurerecoveryplansteps","text":"","title":"CloudEndureRecoveryPlanSteps"},{"location":"api/CloudEndureRecoveryPlanSteps/#properties","text":"Name Type Description Notes items list[CloudEndureRecoveryPlanStep] [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureRegion/","text":"CloudEndureRegion Properties Name Type Description Notes subnets list[CloudEndureSubnet] [optional] placement_groups list[str] [optional] scsi_adapter_types list[str] todo [optional] instance_types list[str] [optional] zones list[str] [optional] volume_encryption_keys list[str] [optional] cloud str [optional] security_groups list[CloudEndureSecurityGroup] [optional] logical_locations list[CloudEndureLogicalLocation] [optional] static_ips list[str] [optional] max_cpus_per_machine int Maximum CPUs per per Target machine (currently relevant for vCenter cloud only) [optional] network_interfaces list[CloudEndureNetworkInterface] [optional] compute_locations list[CloudEndureComputeLocation] Compute location (e.g. vCenter Host) [optional] name str [optional] storage_locations list[CloudEndureStorageLocation] Storage location (e.g. Azure Storage Account, vCenter Data Store) [optional] iam_roles list[str] [optional] id str [optional] max_cores_per_machine_cpu int Maximum CPU cores per CPU in Target machines (currently relevant for vCenter cloud only) [optional] dedicated_hosts list[str] [optional] network_adapter_types list[str] todo [optional] max_mb_ram_per_machine int Maximum MB RAM per Target machine (currently relevant for vCenter cloud only) [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureRegion"},{"location":"api/CloudEndureRegion/#cloudendureregion","text":"","title":"CloudEndureRegion"},{"location":"api/CloudEndureRegion/#properties","text":"Name Type Description Notes subnets list[CloudEndureSubnet] [optional] placement_groups list[str] [optional] scsi_adapter_types list[str] todo [optional] instance_types list[str] [optional] zones list[str] [optional] volume_encryption_keys list[str] [optional] cloud str [optional] security_groups list[CloudEndureSecurityGroup] [optional] logical_locations list[CloudEndureLogicalLocation] [optional] static_ips list[str] [optional] max_cpus_per_machine int Maximum CPUs per per Target machine (currently relevant for vCenter cloud only) [optional] network_interfaces list[CloudEndureNetworkInterface] [optional] compute_locations list[CloudEndureComputeLocation] Compute location (e.g. vCenter Host) [optional] name str [optional] storage_locations list[CloudEndureStorageLocation] Storage location (e.g. Azure Storage Account, vCenter Data Store) [optional] iam_roles list[str] [optional] id str [optional] max_cores_per_machine_cpu int Maximum CPU cores per CPU in Target machines (currently relevant for vCenter cloud only) [optional] dedicated_hosts list[str] [optional] network_adapter_types list[str] todo [optional] max_mb_ram_per_machine int Maximum MB RAM per Target machine (currently relevant for vCenter cloud only) [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureRegionsList/","text":"CloudEndureRegionsList Properties Name Type Description Notes items list[CloudEndureRegion] [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureRegionsList"},{"location":"api/CloudEndureRegionsList/#cloudendureregionslist","text":"","title":"CloudEndureRegionsList"},{"location":"api/CloudEndureRegionsList/#properties","text":"Name Type Description Notes items list[CloudEndureRegion] [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureReplica/","text":"CloudEndureReplica Properties Name Type Description Notes machine str The ID of the source machine for this target machine. [optional] cloud_endure_creation_date_time datetime Timestamp for launching this target machine. [optional] name str Target machine name in the target environment. [optional] point_in_time str The ID of the pointInTime object from which this target machine was created. [optional] machine_cloud_state str Target machine state in the target environment. [optional] public_ips list[str] Static (non-ephemral) public IPs. On some clouds this also includes ephemeral IPs. [optional] region_id str The ID of the region where this target machine has been launched. [optional] id str [optional] machine_cloud_id str Target machine ID in the target environment. [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureReplica"},{"location":"api/CloudEndureReplica/#cloudendurereplica","text":"","title":"CloudEndureReplica"},{"location":"api/CloudEndureReplica/#properties","text":"Name Type Description Notes machine str The ID of the source machine for this target machine. [optional] cloud_endure_creation_date_time datetime Timestamp for launching this target machine. [optional] name str Target machine name in the target environment. [optional] point_in_time str The ID of the pointInTime object from which this target machine was created. [optional] machine_cloud_state str Target machine state in the target environment. [optional] public_ips list[str] Static (non-ephemral) public IPs. On some clouds this also includes ephemeral IPs. [optional] region_id str The ID of the region where this target machine has been launched. [optional] id str [optional] machine_cloud_id str Target machine ID in the target environment. [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureReplicationConfiguration/","text":"CloudEndureReplicationConfiguration Properties Name Type Description Notes volume_encryption_key str AWS only. ARN to private key for Volume Encryption. Possible values can be fetched from the Region object. [optional] replication_tags list[object] AWS only. Tags that will be applied to every cloud resource created in the CloudEndure Staging Area. [optional] subnet_host_project str GCP only. Host project of cross project network subnet. [optional] replication_server_type str [optional] compute_location_id str todo vcenter only [optional] cloud_credentials str The ID for the cloudCredentials object containing the credentials to be used for accessing the target cloud. [optional] subnet_id str Subnet where replication servers will be created. Possible values can be fetched from the Region object. [optional] logical_location_id str vcenter = vmFolder [optional] bandwidth_throttling int Mbps to use for Data Replication (zero means no throttling). [optional] storage_location_id str @todo backend creates cloudendure bla bla storage account upon need (empty string). [optional] use_dedicated_server bool [optional] zone str Relevant for GCP and Azure ARM. The Zone to replicate into. [optional] replicator_security_group_i_ds list[str] AWS only. The security groups that will be applied to the replication servers. Possible values can be fetched from the Region object. [optional] use_private_ip bool Should the CloudEndure agent access the replication server using its private IP address. [optional] region str [optional] id str [optional] proxy_url str The full URI for a proxy (schema, username, password, domain, port) if required for the CloudEndure agent. [optional] volume_encryption_allowed bool todo [optional] archiving_enabled bool [optional] object_storage_location str bucket in aws [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureReplicationConfiguration"},{"location":"api/CloudEndureReplicationConfiguration/#cloudendurereplicationconfiguration","text":"","title":"CloudEndureReplicationConfiguration"},{"location":"api/CloudEndureReplicationConfiguration/#properties","text":"Name Type Description Notes volume_encryption_key str AWS only. ARN to private key for Volume Encryption. Possible values can be fetched from the Region object. [optional] replication_tags list[object] AWS only. Tags that will be applied to every cloud resource created in the CloudEndure Staging Area. [optional] subnet_host_project str GCP only. Host project of cross project network subnet. [optional] replication_server_type str [optional] compute_location_id str todo vcenter only [optional] cloud_credentials str The ID for the cloudCredentials object containing the credentials to be used for accessing the target cloud. [optional] subnet_id str Subnet where replication servers will be created. Possible values can be fetched from the Region object. [optional] logical_location_id str vcenter = vmFolder [optional] bandwidth_throttling int Mbps to use for Data Replication (zero means no throttling). [optional] storage_location_id str @todo backend creates cloudendure bla bla storage account upon need (empty string). [optional] use_dedicated_server bool [optional] zone str Relevant for GCP and Azure ARM. The Zone to replicate into. [optional] replicator_security_group_i_ds list[str] AWS only. The security groups that will be applied to the replication servers. Possible values can be fetched from the Region object. [optional] use_private_ip bool Should the CloudEndure agent access the replication server using its private IP address. [optional] region str [optional] id str [optional] proxy_url str The full URI for a proxy (schema, username, password, domain, port) if required for the CloudEndure agent. [optional] volume_encryption_allowed bool todo [optional] archiving_enabled bool [optional] object_storage_location str bucket in aws [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureReplicationConfigurationList/","text":"CloudEndureReplicationConfigurationList Properties Name Type Description Notes items list[CloudEndureReplicationConfiguration] [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureReplicationConfigurationList"},{"location":"api/CloudEndureReplicationConfigurationList/#cloudendurereplicationconfigurationlist","text":"","title":"CloudEndureReplicationConfigurationList"},{"location":"api/CloudEndureReplicationConfigurationList/#properties","text":"Name Type Description Notes items list[CloudEndureReplicationConfiguration] [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureReplicationServerConfig/","text":"CloudEndureReplicationServerConfig Properties Name Type Description Notes volumes list[object] [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureReplicationServerConfig"},{"location":"api/CloudEndureReplicationServerConfig/#cloudendurereplicationserverconfig","text":"","title":"CloudEndureReplicationServerConfig"},{"location":"api/CloudEndureReplicationServerConfig/#properties","text":"Name Type Description Notes volumes list[object] [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureRestoreFilesParameters/","text":"CloudEndureRestoreFilesParameters Properties Name Type Description Notes items list[CloudEndureMachineAndPathAndPointInTime] [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureRestoreFilesParameters"},{"location":"api/CloudEndureRestoreFilesParameters/#cloudendurerestorefilesparameters","text":"","title":"CloudEndureRestoreFilesParameters"},{"location":"api/CloudEndureRestoreFilesParameters/#properties","text":"Name Type Description Notes items list[CloudEndureMachineAndPathAndPointInTime] [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureSamlSettings/","text":"CloudEndureSamlSettings Properties Name Type Description Notes identity_provider_certificate str [optional] identity_provider_url str [optional] identity_provider_id str [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureSamlSettings"},{"location":"api/CloudEndureSamlSettings/#cloudenduresamlsettings","text":"","title":"CloudEndureSamlSettings"},{"location":"api/CloudEndureSamlSettings/#properties","text":"Name Type Description Notes identity_provider_certificate str [optional] identity_provider_url str [optional] identity_provider_id str [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureSecurityGroup/","text":"CloudEndureSecurityGroup Properties Name Type Description Notes network_id str [optional] security_group_id str [optional] name str [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureSecurityGroup"},{"location":"api/CloudEndureSecurityGroup/#cloudenduresecuritygroup","text":"","title":"CloudEndureSecurityGroup"},{"location":"api/CloudEndureSecurityGroup/#properties","text":"Name Type Description Notes network_id str [optional] security_group_id str [optional] name str [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureStorageLocation/","text":"CloudEndureStorageLocation Properties Name Type Description Notes location_id str [optional] name str [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureStorageLocation"},{"location":"api/CloudEndureStorageLocation/#cloudendurestoragelocation","text":"","title":"CloudEndureStorageLocation"},{"location":"api/CloudEndureStorageLocation/#properties","text":"Name Type Description Notes location_id str [optional] name str [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureSubnet/","text":"CloudEndureSubnet Properties Name Type Description Notes subnet_id str [optional] network_id str [optional] name str [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureSubnet"},{"location":"api/CloudEndureSubnet/#cloudenduresubnet","text":"","title":"CloudEndureSubnet"},{"location":"api/CloudEndureSubnet/#properties","text":"Name Type Description Notes subnet_id str [optional] network_id str [optional] name str [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureTime/","text":"CloudEndureTime Properties Name Type Description Notes date_time datetime [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureTime"},{"location":"api/CloudEndureTime/#cloudenduretime","text":"","title":"CloudEndureTime"},{"location":"api/CloudEndureTime/#properties","text":"Name Type Description Notes date_time datetime [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureUpdateableScripts/","text":"CloudEndureUpdateableScripts Properties Name Type Description Notes result object [optional] error str [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureUpdateableScripts"},{"location":"api/CloudEndureUpdateableScripts/#cloudendureupdateablescripts","text":"","title":"CloudEndureUpdateableScripts"},{"location":"api/CloudEndureUpdateableScripts/#properties","text":"Name Type Description Notes result object [optional] error str [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureUpgradeCounterDelay/","text":"CloudEndureUpgradeCounterDelay Properties Name Type Description Notes sleep int [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureUpgradeCounterDelay"},{"location":"api/CloudEndureUpgradeCounterDelay/#cloudendureupgradecounterdelay","text":"","title":"CloudEndureUpgradeCounterDelay"},{"location":"api/CloudEndureUpgradeCounterDelay/#properties","text":"Name Type Description Notes sleep int [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureUsage/","text":"CloudEndureUsage Properties Name Type Description Notes start_of_use_date_time datetime [optional] cloud_id str The ID in the cloud [optional] name str The name of the machine. [optional] machine_id str [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureUsage"},{"location":"api/CloudEndureUsage/#cloudendureusage","text":"","title":"CloudEndureUsage"},{"location":"api/CloudEndureUsage/#properties","text":"Name Type Description Notes start_of_use_date_time datetime [optional] cloud_id str The ID in the cloud [optional] name str The name of the machine. [optional] machine_id str [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureUsageList/","text":"CloudEndureUsageList Properties Name Type Description Notes items list[CloudEndureUsage] [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureUsageList"},{"location":"api/CloudEndureUsageList/#cloudendureusagelist","text":"","title":"CloudEndureUsageList"},{"location":"api/CloudEndureUsageList/#properties","text":"Name Type Description Notes items list[CloudEndureUsage] [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureUser/","text":"CloudEndureUser Properties Name Type Description Notes username str [optional] status str [optional] account str [optional] roles list[str] [optional] settings object [optional] api_token str [optional] has_password bool [optional] terms_accepted bool todo one-way; cannot be set at time of POST [optional] id str [optional] self_link str [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureUser"},{"location":"api/CloudEndureUser/#cloudendureuser","text":"","title":"CloudEndureUser"},{"location":"api/CloudEndureUser/#properties","text":"Name Type Description Notes username str [optional] status str [optional] account str [optional] roles list[str] [optional] settings object [optional] api_token str [optional] has_password bool [optional] terms_accepted bool todo one-way; cannot be set at time of POST [optional] id str [optional] self_link str [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureUserReport/","text":"CloudEndureUserReport Properties Name Type Description Notes n_protected_machines int [optional] project_name str [optional] is_activated bool [optional] n_license_usages int [optional] gcp_machines_finance_data object [optional] total_tested_or_cutover int [optional] owner_name str [optional] n_lagging_machines int [optional] n_active_target_machines int [optional] n_test_machines int [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureUserReport"},{"location":"api/CloudEndureUserReport/#cloudendureuserreport","text":"","title":"CloudEndureUserReport"},{"location":"api/CloudEndureUserReport/#properties","text":"Name Type Description Notes n_protected_machines int [optional] project_name str [optional] is_activated bool [optional] n_license_usages int [optional] gcp_machines_finance_data object [optional] total_tested_or_cutover int [optional] owner_name str [optional] n_lagging_machines int [optional] n_active_target_machines int [optional] n_test_machines int [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureUserReports/","text":"CloudEndureUserReports Properties Name Type Description Notes items list[CloudEndureUserReport] [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureUserReports"},{"location":"api/CloudEndureUserReports/#cloudendureuserreports","text":"","title":"CloudEndureUserReports"},{"location":"api/CloudEndureUserReports/#properties","text":"Name Type Description Notes items list[CloudEndureUserReport] [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureUsersAndRoles/","text":"CloudEndureUsersAndRoles Properties Name Type Description Notes items list[object] [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureUsersAndRoles"},{"location":"api/CloudEndureUsersAndRoles/#cloudendureusersandroles","text":"","title":"CloudEndureUsersAndRoles"},{"location":"api/CloudEndureUsersAndRoles/#properties","text":"Name Type Description Notes items list[object] [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureUsersList/","text":"CloudEndureUsersList Properties Name Type Description Notes items list[CloudEndureUser] [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureUsersList"},{"location":"api/CloudEndureUsersList/#cloudendureuserslist","text":"","title":"CloudEndureUsersList"},{"location":"api/CloudEndureUsersList/#properties","text":"Name Type Description Notes items list[CloudEndureUser] [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/CloudEndureVCenterSubnet/","text":"CloudEndureVCenterSubnet Properties Name Type Description Notes netmask str [optional] ip_address str [optional] [Back to Model list] [Back to API list] [Back to README]","title":"CloudEndureVCenterSubnet"},{"location":"api/CloudEndureVCenterSubnet/#cloudendurevcentersubnet","text":"","title":"CloudEndureVCenterSubnet"},{"location":"api/CloudEndureVCenterSubnet/#properties","text":"Name Type Description Notes netmask str [optional] ip_address str [optional] [Back to Model list] [Back to API list] [Back to README]","title":"Properties"},{"location":"api/DefaultApi/","text":"cloudendure_api.DefaultApi All URIs are relative to https://console.cloudendure.com/api/latest Method HTTP request Description accounts_account_id_access_get GET /accounts/{accountId}/access get a temporary token by email extended_account_info_get GET /extendedAccountInfo Returns the extended current account information. projects_assign_users_post POST /projects/assignUsers todo projects_project_id_audit_log_get GET /projects/{projectId}/auditLog Get audit log projects_project_id_storage_get GET /projects/{projectId}/storage project's storage projects_remove_users_post POST /projects/removeUsers todo replace_api_token_post POST /replaceApiToken Replaces API token set_password_post POST /setPassword Set password for invited user users_assign_roles_post POST /users/assignRoles Add roles to users users_post POST /users Create a new User users_revoke_roles_post POST /users/revokeRoles Add roles to users accounts_account_id_access_get object accounts_account_id_access_get(account_id, username) get a temporary token by email get a temporary token by email. Available for account owner when SSO is used Example from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.DefaultApi() account_id = 'account_id_example' # str | username = 'username_example' # str | try: # get a temporary token by email api_response = api_instance.accounts_account_id_access_get(account_id, username) pprint(api_response) except ApiException as e: print(\"Exception when calling DefaultApi->accounts_account_id_access_get: %s\\n\" % e) Parameters Name Type Description Notes account_id str username str Return type object Authorization No authorization required HTTP request headers Content-Type : Not defined Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README] extended_account_info_get CloudEndureExtendedAccountInfo extended_account_info_get() Returns the extended current account information. Example from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.DefaultApi() try: # Returns the extended current account information. api_response = api_instance.extended_account_info_get() pprint(api_response) except ApiException as e: print(\"Exception when calling DefaultApi->extended_account_info_get: %s\\n\" % e) Parameters This endpoint does not need any parameter. Return type CloudEndureExtendedAccountInfo Authorization No authorization required HTTP request headers Content-Type : Not defined Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README] projects_assign_users_post projects_assign_users_post(body) todo todo Example from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.DefaultApi() body = cloudendure_api.CloudEndureProjectsAndUsers() # CloudEndureProjectsAndUsers | try: # todo api_instance.projects_assign_users_post(body) except ApiException as e: print(\"Exception when calling DefaultApi->projects_assign_users_post: %s\\n\" % e) Parameters Name Type Description Notes body CloudEndureProjectsAndUsers Return type void (empty response body) Authorization No authorization required HTTP request headers Content-Type : application/json Accept : Not defined [Back to top] [Back to API list] [Back to Model list] [Back to README] projects_project_id_audit_log_get CloudEndureAuditLog projects_project_id_audit_log_get(project_id, limit=limit, from_date_time=from_date_time, to_date_time=to_date_time, format=format) Get audit log Example from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.DefaultApi() project_id = 'project_id_example' # str | limit = 56 # int | A number specifying how many entries to return. (optional) from_date_time = '2013-10-20T19:20:30+01:00' # datetime | Used to limit the response to a specific date range. Must be used in conjunction with toDateTime param. (optional) to_date_time = '2013-10-20T19:20:30+01:00' # datetime | Used to limit the response to a specific date range. Must be used in conjunction with fromDateTime param. (optional) format = 'format_example' # str | (optional) try: # Get audit log api_response = api_instance.projects_project_id_audit_log_get(project_id, limit=limit, from_date_time=from_date_time, to_date_time=to_date_time, format=format) pprint(api_response) except ApiException as e: print(\"Exception when calling DefaultApi->projects_project_id_audit_log_get: %s\\n\" % e) Parameters Name Type Description Notes project_id str limit int A number specifying how many entries to return. [optional] from_date_time datetime Used to limit the response to a specific date range. Must be used in conjunction with toDateTime param. [optional] to_date_time datetime Used to limit the response to a specific date range. Must be used in conjunction with fromDateTime param. [optional] format str [optional] Return type CloudEndureAuditLog Authorization No authorization required HTTP request headers Content-Type : Not defined Accept : application/json, text/csv [Back to top] [Back to API list] [Back to Model list] [Back to README] projects_project_id_storage_get CloudEndureProjectStorage projects_project_id_storage_get(project_id) project's storage get project's storage usage (vCenter only) Example from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.DefaultApi() project_id = 'project_id_example' # str | try: # project's storage api_response = api_instance.projects_project_id_storage_get(project_id) pprint(api_response) except ApiException as e: print(\"Exception when calling DefaultApi->projects_project_id_storage_get: %s\\n\" % e) Parameters Name Type Description Notes project_id str Return type CloudEndureProjectStorage Authorization No authorization required HTTP request headers Content-Type : Not defined Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README] projects_remove_users_post projects_remove_users_post(body) todo todo Example from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.DefaultApi() body = cloudendure_api.CloudEndureProjectsAndUsers() # CloudEndureProjectsAndUsers | try: # todo api_instance.projects_remove_users_post(body) except ApiException as e: print(\"Exception when calling DefaultApi->projects_remove_users_post: %s\\n\" % e) Parameters Name Type Description Notes body CloudEndureProjectsAndUsers Return type void (empty response body) Authorization No authorization required HTTP request headers Content-Type : application/json Accept : Not defined [Back to top] [Back to API list] [Back to Model list] [Back to README] replace_api_token_post object replace_api_token_post() Replaces API token Replaces API token Example from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.DefaultApi() try: # Replaces API token api_response = api_instance.replace_api_token_post() pprint(api_response) except ApiException as e: print(\"Exception when calling DefaultApi->replace_api_token_post: %s\\n\" % e) Parameters This endpoint does not need any parameter. Return type object Authorization No authorization required HTTP request headers Content-Type : Not defined Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README] set_password_post set_password_post(body) Set password for invited user Example from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.DefaultApi() body = NULL # object | set password token and new password try: # Set password for invited user api_instance.set_password_post(body) except ApiException as e: print(\"Exception when calling DefaultApi->set_password_post: %s\\n\" % e) Parameters Name Type Description Notes body object set password token and new password Return type void (empty response body) Authorization No authorization required HTTP request headers Content-Type : application/json Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README] users_assign_roles_post CloudEndureUsersList users_assign_roles_post(body) Add roles to users Example from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.DefaultApi() body = cloudendure_api.CloudEndureUsersAndRoles() # CloudEndureUsersAndRoles | try: # Add roles to users api_response = api_instance.users_assign_roles_post(body) pprint(api_response) except ApiException as e: print(\"Exception when calling DefaultApi->users_assign_roles_post: %s\\n\" % e) Parameters Name Type Description Notes body CloudEndureUsersAndRoles Return type CloudEndureUsersList Authorization No authorization required HTTP request headers Content-Type : application/json Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README] users_post CloudEndureUser users_post(body) Create a new User Example from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.DefaultApi() body = NULL # object | try: # Create a new User api_response = api_instance.users_post(body) pprint(api_response) except ApiException as e: print(\"Exception when calling DefaultApi->users_post: %s\\n\" % e) Parameters Name Type Description Notes body object Return type CloudEndureUser Authorization No authorization required HTTP request headers Content-Type : application/json Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README] users_revoke_roles_post CloudEndureUsersList users_revoke_roles_post(body) Add roles to users Example from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.DefaultApi() body = cloudendure_api.CloudEndureUsersAndRoles() # CloudEndureUsersAndRoles | try: # Add roles to users api_response = api_instance.users_revoke_roles_post(body) pprint(api_response) except ApiException as e: print(\"Exception when calling DefaultApi->users_revoke_roles_post: %s\\n\" % e) Parameters Name Type Description Notes body CloudEndureUsersAndRoles Return type CloudEndureUsersList Authorization No authorization required HTTP request headers Content-Type : application/json Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"DefaultApi"},{"location":"api/DefaultApi/#cloudendure_apidefaultapi","text":"All URIs are relative to https://console.cloudendure.com/api/latest Method HTTP request Description accounts_account_id_access_get GET /accounts/{accountId}/access get a temporary token by email extended_account_info_get GET /extendedAccountInfo Returns the extended current account information. projects_assign_users_post POST /projects/assignUsers todo projects_project_id_audit_log_get GET /projects/{projectId}/auditLog Get audit log projects_project_id_storage_get GET /projects/{projectId}/storage project's storage projects_remove_users_post POST /projects/removeUsers todo replace_api_token_post POST /replaceApiToken Replaces API token set_password_post POST /setPassword Set password for invited user users_assign_roles_post POST /users/assignRoles Add roles to users users_post POST /users Create a new User users_revoke_roles_post POST /users/revokeRoles Add roles to users","title":"cloudendure_api.DefaultApi"},{"location":"api/DefaultApi/#accounts_account_id_access_get","text":"object accounts_account_id_access_get(account_id, username) get a temporary token by email get a temporary token by email. Available for account owner when SSO is used","title":"accounts_account_id_access_get"},{"location":"api/DefaultApi/#example","text":"from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.DefaultApi() account_id = 'account_id_example' # str | username = 'username_example' # str | try: # get a temporary token by email api_response = api_instance.accounts_account_id_access_get(account_id, username) pprint(api_response) except ApiException as e: print(\"Exception when calling DefaultApi->accounts_account_id_access_get: %s\\n\" % e)","title":"Example"},{"location":"api/DefaultApi/#parameters","text":"Name Type Description Notes account_id str username str","title":"Parameters"},{"location":"api/DefaultApi/#return-type","text":"object","title":"Return type"},{"location":"api/DefaultApi/#authorization","text":"No authorization required","title":"Authorization"},{"location":"api/DefaultApi/#http-request-headers","text":"Content-Type : Not defined Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"HTTP request headers"},{"location":"api/DefaultApi/#extended_account_info_get","text":"CloudEndureExtendedAccountInfo extended_account_info_get() Returns the extended current account information.","title":"extended_account_info_get"},{"location":"api/DefaultApi/#example_1","text":"from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.DefaultApi() try: # Returns the extended current account information. api_response = api_instance.extended_account_info_get() pprint(api_response) except ApiException as e: print(\"Exception when calling DefaultApi->extended_account_info_get: %s\\n\" % e)","title":"Example"},{"location":"api/DefaultApi/#parameters_1","text":"This endpoint does not need any parameter.","title":"Parameters"},{"location":"api/DefaultApi/#return-type_1","text":"CloudEndureExtendedAccountInfo","title":"Return type"},{"location":"api/DefaultApi/#authorization_1","text":"No authorization required","title":"Authorization"},{"location":"api/DefaultApi/#http-request-headers_1","text":"Content-Type : Not defined Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"HTTP request headers"},{"location":"api/DefaultApi/#projects_assign_users_post","text":"projects_assign_users_post(body) todo todo","title":"projects_assign_users_post"},{"location":"api/DefaultApi/#example_2","text":"from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.DefaultApi() body = cloudendure_api.CloudEndureProjectsAndUsers() # CloudEndureProjectsAndUsers | try: # todo api_instance.projects_assign_users_post(body) except ApiException as e: print(\"Exception when calling DefaultApi->projects_assign_users_post: %s\\n\" % e)","title":"Example"},{"location":"api/DefaultApi/#parameters_2","text":"Name Type Description Notes body CloudEndureProjectsAndUsers","title":"Parameters"},{"location":"api/DefaultApi/#return-type_2","text":"void (empty response body)","title":"Return type"},{"location":"api/DefaultApi/#authorization_2","text":"No authorization required","title":"Authorization"},{"location":"api/DefaultApi/#http-request-headers_2","text":"Content-Type : application/json Accept : Not defined [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"HTTP request headers"},{"location":"api/DefaultApi/#projects_project_id_audit_log_get","text":"CloudEndureAuditLog projects_project_id_audit_log_get(project_id, limit=limit, from_date_time=from_date_time, to_date_time=to_date_time, format=format) Get audit log","title":"projects_project_id_audit_log_get"},{"location":"api/DefaultApi/#example_3","text":"from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.DefaultApi() project_id = 'project_id_example' # str | limit = 56 # int | A number specifying how many entries to return. (optional) from_date_time = '2013-10-20T19:20:30+01:00' # datetime | Used to limit the response to a specific date range. Must be used in conjunction with toDateTime param. (optional) to_date_time = '2013-10-20T19:20:30+01:00' # datetime | Used to limit the response to a specific date range. Must be used in conjunction with fromDateTime param. (optional) format = 'format_example' # str | (optional) try: # Get audit log api_response = api_instance.projects_project_id_audit_log_get(project_id, limit=limit, from_date_time=from_date_time, to_date_time=to_date_time, format=format) pprint(api_response) except ApiException as e: print(\"Exception when calling DefaultApi->projects_project_id_audit_log_get: %s\\n\" % e)","title":"Example"},{"location":"api/DefaultApi/#parameters_3","text":"Name Type Description Notes project_id str limit int A number specifying how many entries to return. [optional] from_date_time datetime Used to limit the response to a specific date range. Must be used in conjunction with toDateTime param. [optional] to_date_time datetime Used to limit the response to a specific date range. Must be used in conjunction with fromDateTime param. [optional] format str [optional]","title":"Parameters"},{"location":"api/DefaultApi/#return-type_3","text":"CloudEndureAuditLog","title":"Return type"},{"location":"api/DefaultApi/#authorization_3","text":"No authorization required","title":"Authorization"},{"location":"api/DefaultApi/#http-request-headers_3","text":"Content-Type : Not defined Accept : application/json, text/csv [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"HTTP request headers"},{"location":"api/DefaultApi/#projects_project_id_storage_get","text":"CloudEndureProjectStorage projects_project_id_storage_get(project_id) project's storage get project's storage usage (vCenter only)","title":"projects_project_id_storage_get"},{"location":"api/DefaultApi/#example_4","text":"from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.DefaultApi() project_id = 'project_id_example' # str | try: # project's storage api_response = api_instance.projects_project_id_storage_get(project_id) pprint(api_response) except ApiException as e: print(\"Exception when calling DefaultApi->projects_project_id_storage_get: %s\\n\" % e)","title":"Example"},{"location":"api/DefaultApi/#parameters_4","text":"Name Type Description Notes project_id str","title":"Parameters"},{"location":"api/DefaultApi/#return-type_4","text":"CloudEndureProjectStorage","title":"Return type"},{"location":"api/DefaultApi/#authorization_4","text":"No authorization required","title":"Authorization"},{"location":"api/DefaultApi/#http-request-headers_4","text":"Content-Type : Not defined Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"HTTP request headers"},{"location":"api/DefaultApi/#projects_remove_users_post","text":"projects_remove_users_post(body) todo todo","title":"projects_remove_users_post"},{"location":"api/DefaultApi/#example_5","text":"from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.DefaultApi() body = cloudendure_api.CloudEndureProjectsAndUsers() # CloudEndureProjectsAndUsers | try: # todo api_instance.projects_remove_users_post(body) except ApiException as e: print(\"Exception when calling DefaultApi->projects_remove_users_post: %s\\n\" % e)","title":"Example"},{"location":"api/DefaultApi/#parameters_5","text":"Name Type Description Notes body CloudEndureProjectsAndUsers","title":"Parameters"},{"location":"api/DefaultApi/#return-type_5","text":"void (empty response body)","title":"Return type"},{"location":"api/DefaultApi/#authorization_5","text":"No authorization required","title":"Authorization"},{"location":"api/DefaultApi/#http-request-headers_5","text":"Content-Type : application/json Accept : Not defined [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"HTTP request headers"},{"location":"api/DefaultApi/#replace_api_token_post","text":"object replace_api_token_post() Replaces API token Replaces API token","title":"replace_api_token_post"},{"location":"api/DefaultApi/#example_6","text":"from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.DefaultApi() try: # Replaces API token api_response = api_instance.replace_api_token_post() pprint(api_response) except ApiException as e: print(\"Exception when calling DefaultApi->replace_api_token_post: %s\\n\" % e)","title":"Example"},{"location":"api/DefaultApi/#parameters_6","text":"This endpoint does not need any parameter.","title":"Parameters"},{"location":"api/DefaultApi/#return-type_6","text":"object","title":"Return type"},{"location":"api/DefaultApi/#authorization_6","text":"No authorization required","title":"Authorization"},{"location":"api/DefaultApi/#http-request-headers_6","text":"Content-Type : Not defined Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"HTTP request headers"},{"location":"api/DefaultApi/#set_password_post","text":"set_password_post(body) Set password for invited user","title":"set_password_post"},{"location":"api/DefaultApi/#example_7","text":"from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.DefaultApi() body = NULL # object | set password token and new password try: # Set password for invited user api_instance.set_password_post(body) except ApiException as e: print(\"Exception when calling DefaultApi->set_password_post: %s\\n\" % e)","title":"Example"},{"location":"api/DefaultApi/#parameters_7","text":"Name Type Description Notes body object set password token and new password","title":"Parameters"},{"location":"api/DefaultApi/#return-type_7","text":"void (empty response body)","title":"Return type"},{"location":"api/DefaultApi/#authorization_7","text":"No authorization required","title":"Authorization"},{"location":"api/DefaultApi/#http-request-headers_7","text":"Content-Type : application/json Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"HTTP request headers"},{"location":"api/DefaultApi/#users_assign_roles_post","text":"CloudEndureUsersList users_assign_roles_post(body) Add roles to users","title":"users_assign_roles_post"},{"location":"api/DefaultApi/#example_8","text":"from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.DefaultApi() body = cloudendure_api.CloudEndureUsersAndRoles() # CloudEndureUsersAndRoles | try: # Add roles to users api_response = api_instance.users_assign_roles_post(body) pprint(api_response) except ApiException as e: print(\"Exception when calling DefaultApi->users_assign_roles_post: %s\\n\" % e)","title":"Example"},{"location":"api/DefaultApi/#parameters_8","text":"Name Type Description Notes body CloudEndureUsersAndRoles","title":"Parameters"},{"location":"api/DefaultApi/#return-type_8","text":"CloudEndureUsersList","title":"Return type"},{"location":"api/DefaultApi/#authorization_8","text":"No authorization required","title":"Authorization"},{"location":"api/DefaultApi/#http-request-headers_8","text":"Content-Type : application/json Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"HTTP request headers"},{"location":"api/DefaultApi/#users_post","text":"CloudEndureUser users_post(body) Create a new User","title":"users_post"},{"location":"api/DefaultApi/#example_9","text":"from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.DefaultApi() body = NULL # object | try: # Create a new User api_response = api_instance.users_post(body) pprint(api_response) except ApiException as e: print(\"Exception when calling DefaultApi->users_post: %s\\n\" % e)","title":"Example"},{"location":"api/DefaultApi/#parameters_9","text":"Name Type Description Notes body object","title":"Parameters"},{"location":"api/DefaultApi/#return-type_9","text":"CloudEndureUser","title":"Return type"},{"location":"api/DefaultApi/#authorization_9","text":"No authorization required","title":"Authorization"},{"location":"api/DefaultApi/#http-request-headers_9","text":"Content-Type : application/json Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"HTTP request headers"},{"location":"api/DefaultApi/#users_revoke_roles_post","text":"CloudEndureUsersList users_revoke_roles_post(body) Add roles to users","title":"users_revoke_roles_post"},{"location":"api/DefaultApi/#example_10","text":"from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.DefaultApi() body = cloudendure_api.CloudEndureUsersAndRoles() # CloudEndureUsersAndRoles | try: # Add roles to users api_response = api_instance.users_revoke_roles_post(body) pprint(api_response) except ApiException as e: print(\"Exception when calling DefaultApi->users_revoke_roles_post: %s\\n\" % e)","title":"Example"},{"location":"api/DefaultApi/#parameters_10","text":"Name Type Description Notes body CloudEndureUsersAndRoles","title":"Parameters"},{"location":"api/DefaultApi/#return-type_10","text":"CloudEndureUsersList","title":"Return type"},{"location":"api/DefaultApi/#authorization_10","text":"No authorization required","title":"Authorization"},{"location":"api/DefaultApi/#http-request-headers_10","text":"Content-Type : application/json Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"HTTP request headers"},{"location":"api/LicensingApi/","text":"cloudendure_api.LicensingApi All URIs are relative to https://console.cloudendure.com/api/latest Method HTTP request Description licenses_get GET /licenses List Licenses licenses_license_id_get GET /licenses/{licenseId} Get License licenses_get CloudEndureLicenseList licenses_get(offset=offset, limit=limit) List Licenses Returns the list of licenses currently associated with this user. Example from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.LicensingApi() offset = 56 # int | With which item to start (0 based). (optional) limit = 56 # int | A number specifying how many entries to return. (optional) try: # List Licenses api_response = api_instance.licenses_get(offset=offset, limit=limit) pprint(api_response) except ApiException as e: print(\"Exception when calling LicensingApi->licenses_get: %s\\n\" % e) Parameters Name Type Description Notes offset int With which item to start (0 based). [optional] limit int A number specifying how many entries to return. [optional] Return type CloudEndureLicenseList Authorization No authorization required HTTP request headers Content-Type : Not defined Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README] licenses_license_id_get CloudEndureLicense licenses_license_id_get(license_id) Get License Example from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.LicensingApi() license_id = 'license_id_example' # str | try: # Get License api_response = api_instance.licenses_license_id_get(license_id) pprint(api_response) except ApiException as e: print(\"Exception when calling LicensingApi->licenses_license_id_get: %s\\n\" % e) Parameters Name Type Description Notes license_id str Return type CloudEndureLicense Authorization No authorization required HTTP request headers Content-Type : Not defined Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"LicensingApi"},{"location":"api/LicensingApi/#cloudendure_apilicensingapi","text":"All URIs are relative to https://console.cloudendure.com/api/latest Method HTTP request Description licenses_get GET /licenses List Licenses licenses_license_id_get GET /licenses/{licenseId} Get License","title":"cloudendure_api.LicensingApi"},{"location":"api/LicensingApi/#licenses_get","text":"CloudEndureLicenseList licenses_get(offset=offset, limit=limit) List Licenses Returns the list of licenses currently associated with this user.","title":"licenses_get"},{"location":"api/LicensingApi/#example","text":"from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.LicensingApi() offset = 56 # int | With which item to start (0 based). (optional) limit = 56 # int | A number specifying how many entries to return. (optional) try: # List Licenses api_response = api_instance.licenses_get(offset=offset, limit=limit) pprint(api_response) except ApiException as e: print(\"Exception when calling LicensingApi->licenses_get: %s\\n\" % e)","title":"Example"},{"location":"api/LicensingApi/#parameters","text":"Name Type Description Notes offset int With which item to start (0 based). [optional] limit int A number specifying how many entries to return. [optional]","title":"Parameters"},{"location":"api/LicensingApi/#return-type","text":"CloudEndureLicenseList","title":"Return type"},{"location":"api/LicensingApi/#authorization","text":"No authorization required","title":"Authorization"},{"location":"api/LicensingApi/#http-request-headers","text":"Content-Type : Not defined Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"HTTP request headers"},{"location":"api/LicensingApi/#licenses_license_id_get","text":"CloudEndureLicense licenses_license_id_get(license_id) Get License","title":"licenses_license_id_get"},{"location":"api/LicensingApi/#example_1","text":"from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.LicensingApi() license_id = 'license_id_example' # str | try: # Get License api_response = api_instance.licenses_license_id_get(license_id) pprint(api_response) except ApiException as e: print(\"Exception when calling LicensingApi->licenses_license_id_get: %s\\n\" % e)","title":"Example"},{"location":"api/LicensingApi/#parameters_1","text":"Name Type Description Notes license_id str","title":"Parameters"},{"location":"api/LicensingApi/#return-type_1","text":"CloudEndureLicense","title":"Return type"},{"location":"api/LicensingApi/#authorization_1","text":"No authorization required","title":"Authorization"},{"location":"api/LicensingApi/#http-request-headers_1","text":"Content-Type : Not defined Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"HTTP request headers"},{"location":"api/MachinesApi/","text":"cloudendure_api.MachinesApi All URIs are relative to https://console.cloudendure.com/api/latest Method HTTP request Description projects_project_id_machines_delete DELETE /projects/{projectId}/machines Uninstall agent projects_project_id_machines_get GET /projects/{projectId}/machines List Machines projects_project_id_machines_machine_id_get GET /projects/{projectId}/machines/{machineId} Get a specific machine. projects_project_id_machines_machine_id_patch PATCH /projects/{projectId}/machines/{machineId} Update a machine. Accepts only Launch time updates. projects_project_id_machines_patch PATCH /projects/{projectId}/machines Batch-update multiple machines projects_project_id_replicas_replica_id_get GET /projects/{projectId}/replicas/{replicaId} Get Target Machine projects_project_id_machines_delete projects_project_id_machines_delete(body, project_id) Uninstall agent Stops replication and removes the cloudendure agent from the specified machines. All cloud artifacts associated with those machines with the exception of launched target machines are deleted. Example from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.MachinesApi() body = NULL # object | The list of machine IDs to remove from the CloudEndure service. project_id = 'project_id_example' # str | try: # Uninstall agent api_instance.projects_project_id_machines_delete(body, project_id) except ApiException as e: print(\"Exception when calling MachinesApi->projects_project_id_machines_delete: %s\\n\" % e) Parameters Name Type Description Notes body object The list of machine IDs to remove from the CloudEndure service. project_id str Return type void (empty response body) Authorization No authorization required HTTP request headers Content-Type : application/json Accept : Not defined [Back to top] [Back to API list] [Back to Model list] [Back to README] projects_project_id_machines_get CloudEndureMachinesList projects_project_id_machines_get(project_id, offset=offset, limit=limit, all=all, types=types) List Machines Returns the list of all source machines in the Project (i.e. machines that have an Agent installed). Example from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.MachinesApi() project_id = 'project_id_example' # str | offset = 56 # int | With which item to start (0 based). (optional) limit = 56 # int | A number specifying how many entries to return. (optional) all = true # bool | When set to false, returns only currently replicating machines. When set to true, returns all machines in the project regardless of replications status. machines are consuming/ have consumed licenses. Note that some license types are transferable and therefore once you remove the and set to true false, returns only currently replicating machines. When set to true, returns all machines in the project regardless of replications status. (optional) types = 'types_example' # str | Use this url query param to control which machines are returned when doing GET. If you do not include the \\\\\\\"types\\\\\\\" query param, you will only get source machines (optional) try: # List Machines api_response = api_instance.projects_project_id_machines_get(project_id, offset=offset, limit=limit, all=all, types=types) pprint(api_response) except ApiException as e: print(\"Exception when calling MachinesApi->projects_project_id_machines_get: %s\\n\" % e) Parameters Name Type Description Notes project_id str offset int With which item to start (0 based). [optional] limit int A number specifying how many entries to return. [optional] all bool When set to false, returns only currently replicating machines. When set to true, returns all machines in the project regardless of replications status. machines are consuming/ have consumed licenses. Note that some license types are transferable and therefore once you remove the and set to true false, returns only currently replicating machines. When set to true, returns all machines in the project regardless of replications status. [optional] types str Use this url query param to control which machines are returned when doing GET. If you do not include the \\\\\"types\\\\\" query param, you will only get source machines [optional] Return type CloudEndureMachinesList Authorization No authorization required HTTP request headers Content-Type : Not defined Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README] projects_project_id_machines_machine_id_get CloudEndureMachine projects_project_id_machines_machine_id_get(project_id, machine_id) Get a specific machine. Example from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.MachinesApi() project_id = 'project_id_example' # str | machine_id = 'machine_id_example' # str | try: # Get a specific machine. api_response = api_instance.projects_project_id_machines_machine_id_get(project_id, machine_id) pprint(api_response) except ApiException as e: print(\"Exception when calling MachinesApi->projects_project_id_machines_machine_id_get: %s\\n\" % e) Parameters Name Type Description Notes project_id str machine_id str Return type CloudEndureMachine Authorization No authorization required HTTP request headers Content-Type : Not defined Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README] projects_project_id_machines_machine_id_patch CloudEndureMachine projects_project_id_machines_machine_id_patch(body, project_id, machine_id) Update a machine. Accepts only Launch time updates. Example from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.MachinesApi() body = cloudendure_api.CloudEndureMachine() # CloudEndureMachine | project_id = 'project_id_example' # str | machine_id = 'machine_id_example' # str | try: # Update a machine. Accepts only Launch time updates. api_response = api_instance.projects_project_id_machines_machine_id_patch(body, project_id, machine_id) pprint(api_response) except ApiException as e: print(\"Exception when calling MachinesApi->projects_project_id_machines_machine_id_patch: %s\\n\" % e) Parameters Name Type Description Notes body CloudEndureMachine project_id str machine_id str Return type CloudEndureMachine Authorization No authorization required HTTP request headers Content-Type : application/json Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README] projects_project_id_machines_patch CloudEndureMachinesList projects_project_id_machines_patch(body, project_id) Batch-update multiple machines todo must allow update of tags, update of replicationConfiguration; may allow update of launch times Example from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.MachinesApi() body = cloudendure_api.CloudEndureMachinesList() # CloudEndureMachinesList | project_id = 'project_id_example' # str | try: # Batch-update multiple machines api_response = api_instance.projects_project_id_machines_patch(body, project_id) pprint(api_response) except ApiException as e: print(\"Exception when calling MachinesApi->projects_project_id_machines_patch: %s\\n\" % e) Parameters Name Type Description Notes body CloudEndureMachinesList project_id str Return type CloudEndureMachinesList Authorization No authorization required HTTP request headers Content-Type : application/json Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README] projects_project_id_replicas_replica_id_get CloudEndureReplica projects_project_id_replicas_replica_id_get(project_id, replica_id) Get Target Machine Example from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.MachinesApi() project_id = 'project_id_example' # str | replica_id = 'replica_id_example' # str | try: # Get Target Machine api_response = api_instance.projects_project_id_replicas_replica_id_get(project_id, replica_id) pprint(api_response) except ApiException as e: print(\"Exception when calling MachinesApi->projects_project_id_replicas_replica_id_get: %s\\n\" % e) Parameters Name Type Description Notes project_id str replica_id str Return type CloudEndureReplica Authorization No authorization required HTTP request headers Content-Type : Not defined Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"MachinesApi"},{"location":"api/MachinesApi/#cloudendure_apimachinesapi","text":"All URIs are relative to https://console.cloudendure.com/api/latest Method HTTP request Description projects_project_id_machines_delete DELETE /projects/{projectId}/machines Uninstall agent projects_project_id_machines_get GET /projects/{projectId}/machines List Machines projects_project_id_machines_machine_id_get GET /projects/{projectId}/machines/{machineId} Get a specific machine. projects_project_id_machines_machine_id_patch PATCH /projects/{projectId}/machines/{machineId} Update a machine. Accepts only Launch time updates. projects_project_id_machines_patch PATCH /projects/{projectId}/machines Batch-update multiple machines projects_project_id_replicas_replica_id_get GET /projects/{projectId}/replicas/{replicaId} Get Target Machine","title":"cloudendure_api.MachinesApi"},{"location":"api/MachinesApi/#projects_project_id_machines_delete","text":"projects_project_id_machines_delete(body, project_id) Uninstall agent Stops replication and removes the cloudendure agent from the specified machines. All cloud artifacts associated with those machines with the exception of launched target machines are deleted.","title":"projects_project_id_machines_delete"},{"location":"api/MachinesApi/#example","text":"from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.MachinesApi() body = NULL # object | The list of machine IDs to remove from the CloudEndure service. project_id = 'project_id_example' # str | try: # Uninstall agent api_instance.projects_project_id_machines_delete(body, project_id) except ApiException as e: print(\"Exception when calling MachinesApi->projects_project_id_machines_delete: %s\\n\" % e)","title":"Example"},{"location":"api/MachinesApi/#parameters","text":"Name Type Description Notes body object The list of machine IDs to remove from the CloudEndure service. project_id str","title":"Parameters"},{"location":"api/MachinesApi/#return-type","text":"void (empty response body)","title":"Return type"},{"location":"api/MachinesApi/#authorization","text":"No authorization required","title":"Authorization"},{"location":"api/MachinesApi/#http-request-headers","text":"Content-Type : application/json Accept : Not defined [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"HTTP request headers"},{"location":"api/MachinesApi/#projects_project_id_machines_get","text":"CloudEndureMachinesList projects_project_id_machines_get(project_id, offset=offset, limit=limit, all=all, types=types) List Machines Returns the list of all source machines in the Project (i.e. machines that have an Agent installed).","title":"projects_project_id_machines_get"},{"location":"api/MachinesApi/#example_1","text":"from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.MachinesApi() project_id = 'project_id_example' # str | offset = 56 # int | With which item to start (0 based). (optional) limit = 56 # int | A number specifying how many entries to return. (optional) all = true # bool | When set to false, returns only currently replicating machines. When set to true, returns all machines in the project regardless of replications status. machines are consuming/ have consumed licenses. Note that some license types are transferable and therefore once you remove the and set to true false, returns only currently replicating machines. When set to true, returns all machines in the project regardless of replications status. (optional) types = 'types_example' # str | Use this url query param to control which machines are returned when doing GET. If you do not include the \\\\\\\"types\\\\\\\" query param, you will only get source machines (optional) try: # List Machines api_response = api_instance.projects_project_id_machines_get(project_id, offset=offset, limit=limit, all=all, types=types) pprint(api_response) except ApiException as e: print(\"Exception when calling MachinesApi->projects_project_id_machines_get: %s\\n\" % e)","title":"Example"},{"location":"api/MachinesApi/#parameters_1","text":"Name Type Description Notes project_id str offset int With which item to start (0 based). [optional] limit int A number specifying how many entries to return. [optional] all bool When set to false, returns only currently replicating machines. When set to true, returns all machines in the project regardless of replications status. machines are consuming/ have consumed licenses. Note that some license types are transferable and therefore once you remove the and set to true false, returns only currently replicating machines. When set to true, returns all machines in the project regardless of replications status. [optional] types str Use this url query param to control which machines are returned when doing GET. If you do not include the \\\\\"types\\\\\" query param, you will only get source machines [optional]","title":"Parameters"},{"location":"api/MachinesApi/#return-type_1","text":"CloudEndureMachinesList","title":"Return type"},{"location":"api/MachinesApi/#authorization_1","text":"No authorization required","title":"Authorization"},{"location":"api/MachinesApi/#http-request-headers_1","text":"Content-Type : Not defined Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"HTTP request headers"},{"location":"api/MachinesApi/#projects_project_id_machines_machine_id_get","text":"CloudEndureMachine projects_project_id_machines_machine_id_get(project_id, machine_id) Get a specific machine.","title":"projects_project_id_machines_machine_id_get"},{"location":"api/MachinesApi/#example_2","text":"from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.MachinesApi() project_id = 'project_id_example' # str | machine_id = 'machine_id_example' # str | try: # Get a specific machine. api_response = api_instance.projects_project_id_machines_machine_id_get(project_id, machine_id) pprint(api_response) except ApiException as e: print(\"Exception when calling MachinesApi->projects_project_id_machines_machine_id_get: %s\\n\" % e)","title":"Example"},{"location":"api/MachinesApi/#parameters_2","text":"Name Type Description Notes project_id str machine_id str","title":"Parameters"},{"location":"api/MachinesApi/#return-type_2","text":"CloudEndureMachine","title":"Return type"},{"location":"api/MachinesApi/#authorization_2","text":"No authorization required","title":"Authorization"},{"location":"api/MachinesApi/#http-request-headers_2","text":"Content-Type : Not defined Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"HTTP request headers"},{"location":"api/MachinesApi/#projects_project_id_machines_machine_id_patch","text":"CloudEndureMachine projects_project_id_machines_machine_id_patch(body, project_id, machine_id) Update a machine. Accepts only Launch time updates.","title":"projects_project_id_machines_machine_id_patch"},{"location":"api/MachinesApi/#example_3","text":"from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.MachinesApi() body = cloudendure_api.CloudEndureMachine() # CloudEndureMachine | project_id = 'project_id_example' # str | machine_id = 'machine_id_example' # str | try: # Update a machine. Accepts only Launch time updates. api_response = api_instance.projects_project_id_machines_machine_id_patch(body, project_id, machine_id) pprint(api_response) except ApiException as e: print(\"Exception when calling MachinesApi->projects_project_id_machines_machine_id_patch: %s\\n\" % e)","title":"Example"},{"location":"api/MachinesApi/#parameters_3","text":"Name Type Description Notes body CloudEndureMachine project_id str machine_id str","title":"Parameters"},{"location":"api/MachinesApi/#return-type_3","text":"CloudEndureMachine","title":"Return type"},{"location":"api/MachinesApi/#authorization_3","text":"No authorization required","title":"Authorization"},{"location":"api/MachinesApi/#http-request-headers_3","text":"Content-Type : application/json Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"HTTP request headers"},{"location":"api/MachinesApi/#projects_project_id_machines_patch","text":"CloudEndureMachinesList projects_project_id_machines_patch(body, project_id) Batch-update multiple machines todo must allow update of tags, update of replicationConfiguration; may allow update of launch times","title":"projects_project_id_machines_patch"},{"location":"api/MachinesApi/#example_4","text":"from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.MachinesApi() body = cloudendure_api.CloudEndureMachinesList() # CloudEndureMachinesList | project_id = 'project_id_example' # str | try: # Batch-update multiple machines api_response = api_instance.projects_project_id_machines_patch(body, project_id) pprint(api_response) except ApiException as e: print(\"Exception when calling MachinesApi->projects_project_id_machines_patch: %s\\n\" % e)","title":"Example"},{"location":"api/MachinesApi/#parameters_4","text":"Name Type Description Notes body CloudEndureMachinesList project_id str","title":"Parameters"},{"location":"api/MachinesApi/#return-type_4","text":"CloudEndureMachinesList","title":"Return type"},{"location":"api/MachinesApi/#authorization_4","text":"No authorization required","title":"Authorization"},{"location":"api/MachinesApi/#http-request-headers_4","text":"Content-Type : application/json Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"HTTP request headers"},{"location":"api/MachinesApi/#projects_project_id_replicas_replica_id_get","text":"CloudEndureReplica projects_project_id_replicas_replica_id_get(project_id, replica_id) Get Target Machine","title":"projects_project_id_replicas_replica_id_get"},{"location":"api/MachinesApi/#example_5","text":"from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.MachinesApi() project_id = 'project_id_example' # str | replica_id = 'replica_id_example' # str | try: # Get Target Machine api_response = api_instance.projects_project_id_replicas_replica_id_get(project_id, replica_id) pprint(api_response) except ApiException as e: print(\"Exception when calling MachinesApi->projects_project_id_replicas_replica_id_get: %s\\n\" % e)","title":"Example"},{"location":"api/MachinesApi/#parameters_5","text":"Name Type Description Notes project_id str replica_id str","title":"Parameters"},{"location":"api/MachinesApi/#return-type_5","text":"CloudEndureReplica","title":"Return type"},{"location":"api/MachinesApi/#authorization_5","text":"No authorization required","title":"Authorization"},{"location":"api/MachinesApi/#http-request-headers_5","text":"Content-Type : Not defined Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"HTTP request headers"},{"location":"api/ProjectApi/","text":"cloudendure_api.ProjectApi All URIs are relative to https://console.cloudendure.com/api/latest Method HTTP request Description projects_get GET /projects List Projects projects_post POST /projects Create Project projects_project_id_delete DELETE /projects/{projectId} Delete Project and all sub-resources including cloud assets other than launched target machines projects_project_id_get GET /projects/{projectId} Get Project projects_project_id_patch PATCH /projects/{projectId} Update Project (including partial update) projects_project_id_tags_get GET /projects/{projectId}/tags Gets all instance tags of all machines in the project. projects_get CloudEndureProjectsList projects_get(offset=offset, limit=limit) List Projects Returns the list of projects defined in this account. Example from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.ProjectApi() offset = 56 # int | With which item to start (0 based). (optional) limit = 56 # int | A number specifying how many entries to return. (optional) try: # List Projects api_response = api_instance.projects_get(offset=offset, limit=limit) pprint(api_response) except ApiException as e: print(\"Exception when calling ProjectApi->projects_get: %s\\n\" % e) Parameters Name Type Description Notes offset int With which item to start (0 based). [optional] limit int A number specifying how many entries to return. [optional] Return type CloudEndureProjectsList Authorization No authorization required HTTP request headers Content-Type : Not defined Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README] projects_post CloudEndureProject projects_post(body) Create Project Create project Example from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.ProjectApi() body = cloudendure_api.CloudEndureProject() # CloudEndureProject | try: # Create Project api_response = api_instance.projects_post(body) pprint(api_response) except ApiException as e: print(\"Exception when calling ProjectApi->projects_post: %s\\n\" % e) Parameters Name Type Description Notes body CloudEndureProject Return type CloudEndureProject Authorization No authorization required HTTP request headers Content-Type : application/json Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README] projects_project_id_delete projects_project_id_delete(project_id) Delete Project and all sub-resources including cloud assets other than launched target machines Example from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.ProjectApi() project_id = 'project_id_example' # str | try: # Delete Project and all sub-resources including cloud assets other than launched target machines api_instance.projects_project_id_delete(project_id) except ApiException as e: print(\"Exception when calling ProjectApi->projects_project_id_delete: %s\\n\" % e) Parameters Name Type Description Notes project_id str Return type void (empty response body) Authorization No authorization required HTTP request headers Content-Type : Not defined Accept : Not defined [Back to top] [Back to API list] [Back to Model list] [Back to README] projects_project_id_get CloudEndureProject projects_project_id_get(project_id) Get Project Example from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.ProjectApi() project_id = 'project_id_example' # str | try: # Get Project api_response = api_instance.projects_project_id_get(project_id) pprint(api_response) except ApiException as e: print(\"Exception when calling ProjectApi->projects_project_id_get: %s\\n\" % e) Parameters Name Type Description Notes project_id str Return type CloudEndureProject Authorization No authorization required HTTP request headers Content-Type : Not defined Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README] projects_project_id_patch CloudEndureProject projects_project_id_patch(body, project_id) Update Project (including partial update) Set project properties including Data Replication source location and replicationConfiguration to use. Example from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.ProjectApi() body = cloudendure_api.CloudEndureProject() # CloudEndureProject | project_id = 'project_id_example' # str | try: # Update Project (including partial update) api_response = api_instance.projects_project_id_patch(body, project_id) pprint(api_response) except ApiException as e: print(\"Exception when calling ProjectApi->projects_project_id_patch: %s\\n\" % e) Parameters Name Type Description Notes body CloudEndureProject project_id str Return type CloudEndureProject Authorization No authorization required HTTP request headers Content-Type : application/json Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README] projects_project_id_tags_get object projects_project_id_tags_get(project_id, offset=offset, limit=limit) Gets all instance tags of all machines in the project. Returns all instance tags of all machines in the project. Example from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.ProjectApi() project_id = 'project_id_example' # str | offset = 56 # int | With which item to start (0 based). (optional) limit = 56 # int | A number specifying how many entries to return. (optional) try: # Gets all instance tags of all machines in the project. api_response = api_instance.projects_project_id_tags_get(project_id, offset=offset, limit=limit) pprint(api_response) except ApiException as e: print(\"Exception when calling ProjectApi->projects_project_id_tags_get: %s\\n\" % e) Parameters Name Type Description Notes project_id str offset int With which item to start (0 based). [optional] limit int A number specifying how many entries to return. [optional] Return type object Authorization No authorization required HTTP request headers Content-Type : Not defined Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"ProjectApi"},{"location":"api/ProjectApi/#cloudendure_apiprojectapi","text":"All URIs are relative to https://console.cloudendure.com/api/latest Method HTTP request Description projects_get GET /projects List Projects projects_post POST /projects Create Project projects_project_id_delete DELETE /projects/{projectId} Delete Project and all sub-resources including cloud assets other than launched target machines projects_project_id_get GET /projects/{projectId} Get Project projects_project_id_patch PATCH /projects/{projectId} Update Project (including partial update) projects_project_id_tags_get GET /projects/{projectId}/tags Gets all instance tags of all machines in the project.","title":"cloudendure_api.ProjectApi"},{"location":"api/ProjectApi/#projects_get","text":"CloudEndureProjectsList projects_get(offset=offset, limit=limit) List Projects Returns the list of projects defined in this account.","title":"projects_get"},{"location":"api/ProjectApi/#example","text":"from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.ProjectApi() offset = 56 # int | With which item to start (0 based). (optional) limit = 56 # int | A number specifying how many entries to return. (optional) try: # List Projects api_response = api_instance.projects_get(offset=offset, limit=limit) pprint(api_response) except ApiException as e: print(\"Exception when calling ProjectApi->projects_get: %s\\n\" % e)","title":"Example"},{"location":"api/ProjectApi/#parameters","text":"Name Type Description Notes offset int With which item to start (0 based). [optional] limit int A number specifying how many entries to return. [optional]","title":"Parameters"},{"location":"api/ProjectApi/#return-type","text":"CloudEndureProjectsList","title":"Return type"},{"location":"api/ProjectApi/#authorization","text":"No authorization required","title":"Authorization"},{"location":"api/ProjectApi/#http-request-headers","text":"Content-Type : Not defined Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"HTTP request headers"},{"location":"api/ProjectApi/#projects_post","text":"CloudEndureProject projects_post(body) Create Project Create project","title":"projects_post"},{"location":"api/ProjectApi/#example_1","text":"from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.ProjectApi() body = cloudendure_api.CloudEndureProject() # CloudEndureProject | try: # Create Project api_response = api_instance.projects_post(body) pprint(api_response) except ApiException as e: print(\"Exception when calling ProjectApi->projects_post: %s\\n\" % e)","title":"Example"},{"location":"api/ProjectApi/#parameters_1","text":"Name Type Description Notes body CloudEndureProject","title":"Parameters"},{"location":"api/ProjectApi/#return-type_1","text":"CloudEndureProject","title":"Return type"},{"location":"api/ProjectApi/#authorization_1","text":"No authorization required","title":"Authorization"},{"location":"api/ProjectApi/#http-request-headers_1","text":"Content-Type : application/json Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"HTTP request headers"},{"location":"api/ProjectApi/#projects_project_id_delete","text":"projects_project_id_delete(project_id) Delete Project and all sub-resources including cloud assets other than launched target machines","title":"projects_project_id_delete"},{"location":"api/ProjectApi/#example_2","text":"from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.ProjectApi() project_id = 'project_id_example' # str | try: # Delete Project and all sub-resources including cloud assets other than launched target machines api_instance.projects_project_id_delete(project_id) except ApiException as e: print(\"Exception when calling ProjectApi->projects_project_id_delete: %s\\n\" % e)","title":"Example"},{"location":"api/ProjectApi/#parameters_2","text":"Name Type Description Notes project_id str","title":"Parameters"},{"location":"api/ProjectApi/#return-type_2","text":"void (empty response body)","title":"Return type"},{"location":"api/ProjectApi/#authorization_2","text":"No authorization required","title":"Authorization"},{"location":"api/ProjectApi/#http-request-headers_2","text":"Content-Type : Not defined Accept : Not defined [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"HTTP request headers"},{"location":"api/ProjectApi/#projects_project_id_get","text":"CloudEndureProject projects_project_id_get(project_id) Get Project","title":"projects_project_id_get"},{"location":"api/ProjectApi/#example_3","text":"from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.ProjectApi() project_id = 'project_id_example' # str | try: # Get Project api_response = api_instance.projects_project_id_get(project_id) pprint(api_response) except ApiException as e: print(\"Exception when calling ProjectApi->projects_project_id_get: %s\\n\" % e)","title":"Example"},{"location":"api/ProjectApi/#parameters_3","text":"Name Type Description Notes project_id str","title":"Parameters"},{"location":"api/ProjectApi/#return-type_3","text":"CloudEndureProject","title":"Return type"},{"location":"api/ProjectApi/#authorization_3","text":"No authorization required","title":"Authorization"},{"location":"api/ProjectApi/#http-request-headers_3","text":"Content-Type : Not defined Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"HTTP request headers"},{"location":"api/ProjectApi/#projects_project_id_patch","text":"CloudEndureProject projects_project_id_patch(body, project_id) Update Project (including partial update) Set project properties including Data Replication source location and replicationConfiguration to use.","title":"projects_project_id_patch"},{"location":"api/ProjectApi/#example_4","text":"from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.ProjectApi() body = cloudendure_api.CloudEndureProject() # CloudEndureProject | project_id = 'project_id_example' # str | try: # Update Project (including partial update) api_response = api_instance.projects_project_id_patch(body, project_id) pprint(api_response) except ApiException as e: print(\"Exception when calling ProjectApi->projects_project_id_patch: %s\\n\" % e)","title":"Example"},{"location":"api/ProjectApi/#parameters_4","text":"Name Type Description Notes body CloudEndureProject project_id str","title":"Parameters"},{"location":"api/ProjectApi/#return-type_4","text":"CloudEndureProject","title":"Return type"},{"location":"api/ProjectApi/#authorization_4","text":"No authorization required","title":"Authorization"},{"location":"api/ProjectApi/#http-request-headers_4","text":"Content-Type : application/json Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"HTTP request headers"},{"location":"api/ProjectApi/#projects_project_id_tags_get","text":"object projects_project_id_tags_get(project_id, offset=offset, limit=limit) Gets all instance tags of all machines in the project. Returns all instance tags of all machines in the project.","title":"projects_project_id_tags_get"},{"location":"api/ProjectApi/#example_5","text":"from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.ProjectApi() project_id = 'project_id_example' # str | offset = 56 # int | With which item to start (0 based). (optional) limit = 56 # int | A number specifying how many entries to return. (optional) try: # Gets all instance tags of all machines in the project. api_response = api_instance.projects_project_id_tags_get(project_id, offset=offset, limit=limit) pprint(api_response) except ApiException as e: print(\"Exception when calling ProjectApi->projects_project_id_tags_get: %s\\n\" % e)","title":"Example"},{"location":"api/ProjectApi/#parameters_5","text":"Name Type Description Notes project_id str offset int With which item to start (0 based). [optional] limit int A number specifying how many entries to return. [optional]","title":"Parameters"},{"location":"api/ProjectApi/#return-type_5","text":"object","title":"Return type"},{"location":"api/ProjectApi/#authorization_5","text":"No authorization required","title":"Authorization"},{"location":"api/ProjectApi/#http-request-headers_5","text":"Content-Type : Not defined Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"HTTP request headers"},{"location":"api/RecoveryPlansApi/","text":"cloudendure_api.RecoveryPlansApi All URIs are relative to https://console.cloudendure.com/api/latest Method HTTP request Description projects_project_id_recovery_plans_get GET /projects/{projectId}/recoveryPlans Gets all recovery plans for the project. projects_project_id_recovery_plans_post POST /projects/{projectId}/recoveryPlans Creates a new recovery plan. projects_project_id_recovery_plans_recovery_plan_id_delete DELETE /projects/{projectId}/recoveryPlans/{recoveryPlanId} Deletes a recovery plan. projects_project_id_recovery_plans_recovery_plan_id_get GET /projects/{projectId}/recoveryPlans/{recoveryPlanId} Gets a recovery plan. projects_project_id_recovery_plans_recovery_plan_id_patch PATCH /projects/{projectId}/recoveryPlans/{recoveryPlanId} Updates a new recovery plan. projects_project_id_run_recovery_plan_post POST /projects/{projectId}/runRecoveryPlan Launch a recovery plan. projects_project_id_recovery_plans_get CloudEndureRecoveryPlanList projects_project_id_recovery_plans_get(project_id) Gets all recovery plans for the project. Example from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.RecoveryPlansApi() project_id = 'project_id_example' # str | try: # Gets all recovery plans for the project. api_response = api_instance.projects_project_id_recovery_plans_get(project_id) pprint(api_response) except ApiException as e: print(\"Exception when calling RecoveryPlansApi->projects_project_id_recovery_plans_get: %s\\n\" % e) Parameters Name Type Description Notes project_id str Return type CloudEndureRecoveryPlanList Authorization No authorization required HTTP request headers Content-Type : Not defined Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README] projects_project_id_recovery_plans_post CloudEndureRecoveryPlan projects_project_id_recovery_plans_post(body, project_id) Creates a new recovery plan. Example from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.RecoveryPlansApi() body = cloudendure_api.CloudEndureRecoveryPlan() # CloudEndureRecoveryPlan | Recovery Plan to create project_id = 'project_id_example' # str | try: # Creates a new recovery plan. api_response = api_instance.projects_project_id_recovery_plans_post(body, project_id) pprint(api_response) except ApiException as e: print(\"Exception when calling RecoveryPlansApi->projects_project_id_recovery_plans_post: %s\\n\" % e) Parameters Name Type Description Notes body CloudEndureRecoveryPlan Recovery Plan to create project_id str Return type CloudEndureRecoveryPlan Authorization No authorization required HTTP request headers Content-Type : application/json Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README] projects_project_id_recovery_plans_recovery_plan_id_delete projects_project_id_recovery_plans_recovery_plan_id_delete(project_id, recovery_plan_id) Deletes a recovery plan. Example from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.RecoveryPlansApi() project_id = 'project_id_example' # str | recovery_plan_id = 'recovery_plan_id_example' # str | try: # Deletes a recovery plan. api_instance.projects_project_id_recovery_plans_recovery_plan_id_delete(project_id, recovery_plan_id) except ApiException as e: print(\"Exception when calling RecoveryPlansApi->projects_project_id_recovery_plans_recovery_plan_id_delete: %s\\n\" % e) Parameters Name Type Description Notes project_id str recovery_plan_id str Return type void (empty response body) Authorization No authorization required HTTP request headers Content-Type : Not defined Accept : Not defined [Back to top] [Back to API list] [Back to Model list] [Back to README] projects_project_id_recovery_plans_recovery_plan_id_get CloudEndureRecoveryPlan projects_project_id_recovery_plans_recovery_plan_id_get(project_id, recovery_plan_id) Gets a recovery plan. Example from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.RecoveryPlansApi() project_id = 'project_id_example' # str | recovery_plan_id = 'recovery_plan_id_example' # str | try: # Gets a recovery plan. api_response = api_instance.projects_project_id_recovery_plans_recovery_plan_id_get(project_id, recovery_plan_id) pprint(api_response) except ApiException as e: print(\"Exception when calling RecoveryPlansApi->projects_project_id_recovery_plans_recovery_plan_id_get: %s\\n\" % e) Parameters Name Type Description Notes project_id str recovery_plan_id str Return type CloudEndureRecoveryPlan Authorization No authorization required HTTP request headers Content-Type : Not defined Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README] projects_project_id_recovery_plans_recovery_plan_id_patch CloudEndureRecoveryPlan projects_project_id_recovery_plans_recovery_plan_id_patch(body, project_id, recovery_plan_id) Updates a new recovery plan. Example from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.RecoveryPlansApi() body = cloudendure_api.CloudEndureRecoveryPlan() # CloudEndureRecoveryPlan | Recovery Plan to create project_id = 'project_id_example' # str | recovery_plan_id = 'recovery_plan_id_example' # str | try: # Updates a new recovery plan. api_response = api_instance.projects_project_id_recovery_plans_recovery_plan_id_patch(body, project_id, recovery_plan_id) pprint(api_response) except ApiException as e: print(\"Exception when calling RecoveryPlansApi->projects_project_id_recovery_plans_recovery_plan_id_patch: %s\\n\" % e) Parameters Name Type Description Notes body CloudEndureRecoveryPlan Recovery Plan to create project_id str recovery_plan_id str Return type CloudEndureRecoveryPlan Authorization No authorization required HTTP request headers Content-Type : application/json Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README] projects_project_id_run_recovery_plan_post CloudEndureJob projects_project_id_run_recovery_plan_post(body, project_id) Launch a recovery plan. Example from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.RecoveryPlansApi() body = NULL # object | Recovery Plan to create project_id = 'project_id_example' # str | try: # Launch a recovery plan. api_response = api_instance.projects_project_id_run_recovery_plan_post(body, project_id) pprint(api_response) except ApiException as e: print(\"Exception when calling RecoveryPlansApi->projects_project_id_run_recovery_plan_post: %s\\n\" % e) Parameters Name Type Description Notes body object Recovery Plan to create project_id str Return type CloudEndureJob Authorization No authorization required HTTP request headers Content-Type : application/json Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"RecoveryPlansApi"},{"location":"api/RecoveryPlansApi/#cloudendure_apirecoveryplansapi","text":"All URIs are relative to https://console.cloudendure.com/api/latest Method HTTP request Description projects_project_id_recovery_plans_get GET /projects/{projectId}/recoveryPlans Gets all recovery plans for the project. projects_project_id_recovery_plans_post POST /projects/{projectId}/recoveryPlans Creates a new recovery plan. projects_project_id_recovery_plans_recovery_plan_id_delete DELETE /projects/{projectId}/recoveryPlans/{recoveryPlanId} Deletes a recovery plan. projects_project_id_recovery_plans_recovery_plan_id_get GET /projects/{projectId}/recoveryPlans/{recoveryPlanId} Gets a recovery plan. projects_project_id_recovery_plans_recovery_plan_id_patch PATCH /projects/{projectId}/recoveryPlans/{recoveryPlanId} Updates a new recovery plan. projects_project_id_run_recovery_plan_post POST /projects/{projectId}/runRecoveryPlan Launch a recovery plan.","title":"cloudendure_api.RecoveryPlansApi"},{"location":"api/RecoveryPlansApi/#projects_project_id_recovery_plans_get","text":"CloudEndureRecoveryPlanList projects_project_id_recovery_plans_get(project_id) Gets all recovery plans for the project.","title":"projects_project_id_recovery_plans_get"},{"location":"api/RecoveryPlansApi/#example","text":"from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.RecoveryPlansApi() project_id = 'project_id_example' # str | try: # Gets all recovery plans for the project. api_response = api_instance.projects_project_id_recovery_plans_get(project_id) pprint(api_response) except ApiException as e: print(\"Exception when calling RecoveryPlansApi->projects_project_id_recovery_plans_get: %s\\n\" % e)","title":"Example"},{"location":"api/RecoveryPlansApi/#parameters","text":"Name Type Description Notes project_id str","title":"Parameters"},{"location":"api/RecoveryPlansApi/#return-type","text":"CloudEndureRecoveryPlanList","title":"Return type"},{"location":"api/RecoveryPlansApi/#authorization","text":"No authorization required","title":"Authorization"},{"location":"api/RecoveryPlansApi/#http-request-headers","text":"Content-Type : Not defined Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"HTTP request headers"},{"location":"api/RecoveryPlansApi/#projects_project_id_recovery_plans_post","text":"CloudEndureRecoveryPlan projects_project_id_recovery_plans_post(body, project_id) Creates a new recovery plan.","title":"projects_project_id_recovery_plans_post"},{"location":"api/RecoveryPlansApi/#example_1","text":"from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.RecoveryPlansApi() body = cloudendure_api.CloudEndureRecoveryPlan() # CloudEndureRecoveryPlan | Recovery Plan to create project_id = 'project_id_example' # str | try: # Creates a new recovery plan. api_response = api_instance.projects_project_id_recovery_plans_post(body, project_id) pprint(api_response) except ApiException as e: print(\"Exception when calling RecoveryPlansApi->projects_project_id_recovery_plans_post: %s\\n\" % e)","title":"Example"},{"location":"api/RecoveryPlansApi/#parameters_1","text":"Name Type Description Notes body CloudEndureRecoveryPlan Recovery Plan to create project_id str","title":"Parameters"},{"location":"api/RecoveryPlansApi/#return-type_1","text":"CloudEndureRecoveryPlan","title":"Return type"},{"location":"api/RecoveryPlansApi/#authorization_1","text":"No authorization required","title":"Authorization"},{"location":"api/RecoveryPlansApi/#http-request-headers_1","text":"Content-Type : application/json Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"HTTP request headers"},{"location":"api/RecoveryPlansApi/#projects_project_id_recovery_plans_recovery_plan_id_delete","text":"projects_project_id_recovery_plans_recovery_plan_id_delete(project_id, recovery_plan_id) Deletes a recovery plan.","title":"projects_project_id_recovery_plans_recovery_plan_id_delete"},{"location":"api/RecoveryPlansApi/#example_2","text":"from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.RecoveryPlansApi() project_id = 'project_id_example' # str | recovery_plan_id = 'recovery_plan_id_example' # str | try: # Deletes a recovery plan. api_instance.projects_project_id_recovery_plans_recovery_plan_id_delete(project_id, recovery_plan_id) except ApiException as e: print(\"Exception when calling RecoveryPlansApi->projects_project_id_recovery_plans_recovery_plan_id_delete: %s\\n\" % e)","title":"Example"},{"location":"api/RecoveryPlansApi/#parameters_2","text":"Name Type Description Notes project_id str recovery_plan_id str","title":"Parameters"},{"location":"api/RecoveryPlansApi/#return-type_2","text":"void (empty response body)","title":"Return type"},{"location":"api/RecoveryPlansApi/#authorization_2","text":"No authorization required","title":"Authorization"},{"location":"api/RecoveryPlansApi/#http-request-headers_2","text":"Content-Type : Not defined Accept : Not defined [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"HTTP request headers"},{"location":"api/RecoveryPlansApi/#projects_project_id_recovery_plans_recovery_plan_id_get","text":"CloudEndureRecoveryPlan projects_project_id_recovery_plans_recovery_plan_id_get(project_id, recovery_plan_id) Gets a recovery plan.","title":"projects_project_id_recovery_plans_recovery_plan_id_get"},{"location":"api/RecoveryPlansApi/#example_3","text":"from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.RecoveryPlansApi() project_id = 'project_id_example' # str | recovery_plan_id = 'recovery_plan_id_example' # str | try: # Gets a recovery plan. api_response = api_instance.projects_project_id_recovery_plans_recovery_plan_id_get(project_id, recovery_plan_id) pprint(api_response) except ApiException as e: print(\"Exception when calling RecoveryPlansApi->projects_project_id_recovery_plans_recovery_plan_id_get: %s\\n\" % e)","title":"Example"},{"location":"api/RecoveryPlansApi/#parameters_3","text":"Name Type Description Notes project_id str recovery_plan_id str","title":"Parameters"},{"location":"api/RecoveryPlansApi/#return-type_3","text":"CloudEndureRecoveryPlan","title":"Return type"},{"location":"api/RecoveryPlansApi/#authorization_3","text":"No authorization required","title":"Authorization"},{"location":"api/RecoveryPlansApi/#http-request-headers_3","text":"Content-Type : Not defined Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"HTTP request headers"},{"location":"api/RecoveryPlansApi/#projects_project_id_recovery_plans_recovery_plan_id_patch","text":"CloudEndureRecoveryPlan projects_project_id_recovery_plans_recovery_plan_id_patch(body, project_id, recovery_plan_id) Updates a new recovery plan.","title":"projects_project_id_recovery_plans_recovery_plan_id_patch"},{"location":"api/RecoveryPlansApi/#example_4","text":"from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.RecoveryPlansApi() body = cloudendure_api.CloudEndureRecoveryPlan() # CloudEndureRecoveryPlan | Recovery Plan to create project_id = 'project_id_example' # str | recovery_plan_id = 'recovery_plan_id_example' # str | try: # Updates a new recovery plan. api_response = api_instance.projects_project_id_recovery_plans_recovery_plan_id_patch(body, project_id, recovery_plan_id) pprint(api_response) except ApiException as e: print(\"Exception when calling RecoveryPlansApi->projects_project_id_recovery_plans_recovery_plan_id_patch: %s\\n\" % e)","title":"Example"},{"location":"api/RecoveryPlansApi/#parameters_4","text":"Name Type Description Notes body CloudEndureRecoveryPlan Recovery Plan to create project_id str recovery_plan_id str","title":"Parameters"},{"location":"api/RecoveryPlansApi/#return-type_4","text":"CloudEndureRecoveryPlan","title":"Return type"},{"location":"api/RecoveryPlansApi/#authorization_4","text":"No authorization required","title":"Authorization"},{"location":"api/RecoveryPlansApi/#http-request-headers_4","text":"Content-Type : application/json Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"HTTP request headers"},{"location":"api/RecoveryPlansApi/#projects_project_id_run_recovery_plan_post","text":"CloudEndureJob projects_project_id_run_recovery_plan_post(body, project_id) Launch a recovery plan.","title":"projects_project_id_run_recovery_plan_post"},{"location":"api/RecoveryPlansApi/#example_5","text":"from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.RecoveryPlansApi() body = NULL # object | Recovery Plan to create project_id = 'project_id_example' # str | try: # Launch a recovery plan. api_response = api_instance.projects_project_id_run_recovery_plan_post(body, project_id) pprint(api_response) except ApiException as e: print(\"Exception when calling RecoveryPlansApi->projects_project_id_run_recovery_plan_post: %s\\n\" % e)","title":"Example"},{"location":"api/RecoveryPlansApi/#parameters_5","text":"Name Type Description Notes body object Recovery Plan to create project_id str","title":"Parameters"},{"location":"api/RecoveryPlansApi/#return-type_5","text":"CloudEndureJob","title":"Return type"},{"location":"api/RecoveryPlansApi/#authorization_5","text":"No authorization required","title":"Authorization"},{"location":"api/RecoveryPlansApi/#http-request-headers_5","text":"Content-Type : application/json Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"HTTP request headers"},{"location":"api/ReplicationApi/","text":"cloudendure_api.ReplicationApi All URIs are relative to https://console.cloudendure.com/api/latest Method HTTP request Description projects_project_id_machines_machine_id_bandwidth_throttling_get GET /projects/{projectId}/machines/{machineId}/bandwidthThrottling Get value of network bandwidth throttling setting for Machine projects_project_id_machines_machine_id_bandwidth_throttling_patch PATCH /projects/{projectId}/machines/{machineId}/bandwidthThrottling Set value of network bandwidth throttling setting for Machine projects_project_id_machines_machine_id_delete DELETE /projects/{projectId}/machines/{machineId} Uninstall agent projects_project_id_machines_machine_id_pointsintime_get GET /projects/{projectId}/machines/{machineId}/pointsintime List Available Points-in-time projects_project_id_replication_configurations_get GET /projects/{projectId}/replicationConfigurations List Replication Configurations projects_project_id_replication_configurations_post POST /projects/{projectId}/replicationConfigurations Create Replication Configuration projects_project_id_replication_configurations_replication_configuration_id_patch PATCH /projects/{projectId}/replicationConfigurations/{replicationConfigurationId} Modify Replication Configuration projects_project_id_machines_machine_id_bandwidth_throttling_get CloudEndureBandwidthThrottling projects_project_id_machines_machine_id_bandwidth_throttling_get(project_id, machine_id) Get value of network bandwidth throttling setting for Machine Example from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.ReplicationApi() project_id = 'project_id_example' # str | machine_id = 'machine_id_example' # str | try: # Get value of network bandwidth throttling setting for Machine api_response = api_instance.projects_project_id_machines_machine_id_bandwidth_throttling_get(project_id, machine_id) pprint(api_response) except ApiException as e: print(\"Exception when calling ReplicationApi->projects_project_id_machines_machine_id_bandwidth_throttling_get: %s\\n\" % e) Parameters Name Type Description Notes project_id str machine_id str Return type CloudEndureBandwidthThrottling Authorization No authorization required HTTP request headers Content-Type : Not defined Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README] projects_project_id_machines_machine_id_bandwidth_throttling_patch CloudEndureBandwidthThrottling projects_project_id_machines_machine_id_bandwidth_throttling_patch(body, project_id, machine_id) Set value of network bandwidth throttling setting for Machine Example from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.ReplicationApi() body = cloudendure_api.CloudEndureBandwidthThrottling() # CloudEndureBandwidthThrottling | project_id = 'project_id_example' # str | machine_id = 'machine_id_example' # str | try: # Set value of network bandwidth throttling setting for Machine api_response = api_instance.projects_project_id_machines_machine_id_bandwidth_throttling_patch(body, project_id, machine_id) pprint(api_response) except ApiException as e: print(\"Exception when calling ReplicationApi->projects_project_id_machines_machine_id_bandwidth_throttling_patch: %s\\n\" % e) Parameters Name Type Description Notes body CloudEndureBandwidthThrottling project_id str machine_id str Return type CloudEndureBandwidthThrottling Authorization No authorization required HTTP request headers Content-Type : application/json Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README] projects_project_id_machines_machine_id_delete projects_project_id_machines_machine_id_delete(project_id, machine_id) Uninstall agent Stops replication and removes the cloudendure agent from this machine. All cloud artifacts associated with those machines with the exception of launched target machine are deleted. Example from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.ReplicationApi() project_id = 'project_id_example' # str | machine_id = 'machine_id_example' # str | try: # Uninstall agent api_instance.projects_project_id_machines_machine_id_delete(project_id, machine_id) except ApiException as e: print(\"Exception when calling ReplicationApi->projects_project_id_machines_machine_id_delete: %s\\n\" % e) Parameters Name Type Description Notes project_id str machine_id str Return type void (empty response body) Authorization No authorization required HTTP request headers Content-Type : Not defined Accept : Not defined [Back to top] [Back to API list] [Back to Model list] [Back to README] projects_project_id_machines_machine_id_pointsintime_get CloudEndurePointInTimeList projects_project_id_machines_machine_id_pointsintime_get(project_id, machine_id, offset=offset, limit=limit) List Available Points-in-time Returns the list of available recovery points for this machine. Example from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.ReplicationApi() project_id = 'project_id_example' # str | machine_id = 'machine_id_example' # str | offset = 56 # int | With which item to start (0 based). (optional) limit = 56 # int | A number specifying how many entries to return. (optional) try: # List Available Points-in-time api_response = api_instance.projects_project_id_machines_machine_id_pointsintime_get(project_id, machine_id, offset=offset, limit=limit) pprint(api_response) except ApiException as e: print(\"Exception when calling ReplicationApi->projects_project_id_machines_machine_id_pointsintime_get: %s\\n\" % e) Parameters Name Type Description Notes project_id str machine_id str offset int With which item to start (0 based). [optional] limit int A number specifying how many entries to return. [optional] Return type CloudEndurePointInTimeList Authorization No authorization required HTTP request headers Content-Type : Not defined Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README] projects_project_id_replication_configurations_get CloudEndureReplicationConfigurationList projects_project_id_replication_configurations_get(project_id, offset=offset, limit=limit) List Replication Configurations Returns the list of replication configuration objects defined in this project. Example from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.ReplicationApi() project_id = 'project_id_example' # str | offset = 56 # int | With which item to start (0 based). (optional) limit = 56 # int | A number specifying how many entries to return. (optional) try: # List Replication Configurations api_response = api_instance.projects_project_id_replication_configurations_get(project_id, offset=offset, limit=limit) pprint(api_response) except ApiException as e: print(\"Exception when calling ReplicationApi->projects_project_id_replication_configurations_get: %s\\n\" % e) Parameters Name Type Description Notes project_id str offset int With which item to start (0 based). [optional] limit int A number specifying how many entries to return. [optional] Return type CloudEndureReplicationConfigurationList Authorization No authorization required HTTP request headers Content-Type : Not defined Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README] projects_project_id_replication_configurations_post CloudEndureReplicationConfiguration projects_project_id_replication_configurations_post(body, project_id) Create Replication Configuration Control Data Replication parameters such as target cloud credentials, Staging Area and replication network configuration. A single configuration can exist per target region. Returns the newly created object. Example from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.ReplicationApi() body = cloudendure_api.CloudEndureReplicationConfiguration() # CloudEndureReplicationConfiguration | project_id = 'project_id_example' # str | try: # Create Replication Configuration api_response = api_instance.projects_project_id_replication_configurations_post(body, project_id) pprint(api_response) except ApiException as e: print(\"Exception when calling ReplicationApi->projects_project_id_replication_configurations_post: %s\\n\" % e) Parameters Name Type Description Notes body CloudEndureReplicationConfiguration project_id str Return type CloudEndureReplicationConfiguration Authorization No authorization required HTTP request headers Content-Type : application/json Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README] projects_project_id_replication_configurations_replication_configuration_id_patch CloudEndureReplicationConfiguration projects_project_id_replication_configurations_replication_configuration_id_patch(body, project_id, replication_configuration_id) Modify Replication Configuration Modifying volumeEncryptionKey or modifying cloudCredentials to ones matching a different cloud account will result in replication restarting from initial sync. Returns the modified object. Example from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.ReplicationApi() body = cloudendure_api.CloudEndureReplicationConfiguration() # CloudEndureReplicationConfiguration | project_id = 'project_id_example' # str | replication_configuration_id = 'replication_configuration_id_example' # str | try: # Modify Replication Configuration api_response = api_instance.projects_project_id_replication_configurations_replication_configuration_id_patch(body, project_id, replication_configuration_id) pprint(api_response) except ApiException as e: print(\"Exception when calling ReplicationApi->projects_project_id_replication_configurations_replication_configuration_id_patch: %s\\n\" % e) Parameters Name Type Description Notes body CloudEndureReplicationConfiguration project_id str replication_configuration_id str Return type CloudEndureReplicationConfiguration Authorization No authorization required HTTP request headers Content-Type : application/json Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"ReplicationApi"},{"location":"api/ReplicationApi/#cloudendure_apireplicationapi","text":"All URIs are relative to https://console.cloudendure.com/api/latest Method HTTP request Description projects_project_id_machines_machine_id_bandwidth_throttling_get GET /projects/{projectId}/machines/{machineId}/bandwidthThrottling Get value of network bandwidth throttling setting for Machine projects_project_id_machines_machine_id_bandwidth_throttling_patch PATCH /projects/{projectId}/machines/{machineId}/bandwidthThrottling Set value of network bandwidth throttling setting for Machine projects_project_id_machines_machine_id_delete DELETE /projects/{projectId}/machines/{machineId} Uninstall agent projects_project_id_machines_machine_id_pointsintime_get GET /projects/{projectId}/machines/{machineId}/pointsintime List Available Points-in-time projects_project_id_replication_configurations_get GET /projects/{projectId}/replicationConfigurations List Replication Configurations projects_project_id_replication_configurations_post POST /projects/{projectId}/replicationConfigurations Create Replication Configuration projects_project_id_replication_configurations_replication_configuration_id_patch PATCH /projects/{projectId}/replicationConfigurations/{replicationConfigurationId} Modify Replication Configuration","title":"cloudendure_api.ReplicationApi"},{"location":"api/ReplicationApi/#projects_project_id_machines_machine_id_bandwidth_throttling_get","text":"CloudEndureBandwidthThrottling projects_project_id_machines_machine_id_bandwidth_throttling_get(project_id, machine_id) Get value of network bandwidth throttling setting for Machine","title":"projects_project_id_machines_machine_id_bandwidth_throttling_get"},{"location":"api/ReplicationApi/#example","text":"from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.ReplicationApi() project_id = 'project_id_example' # str | machine_id = 'machine_id_example' # str | try: # Get value of network bandwidth throttling setting for Machine api_response = api_instance.projects_project_id_machines_machine_id_bandwidth_throttling_get(project_id, machine_id) pprint(api_response) except ApiException as e: print(\"Exception when calling ReplicationApi->projects_project_id_machines_machine_id_bandwidth_throttling_get: %s\\n\" % e)","title":"Example"},{"location":"api/ReplicationApi/#parameters","text":"Name Type Description Notes project_id str machine_id str","title":"Parameters"},{"location":"api/ReplicationApi/#return-type","text":"CloudEndureBandwidthThrottling","title":"Return type"},{"location":"api/ReplicationApi/#authorization","text":"No authorization required","title":"Authorization"},{"location":"api/ReplicationApi/#http-request-headers","text":"Content-Type : Not defined Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"HTTP request headers"},{"location":"api/ReplicationApi/#projects_project_id_machines_machine_id_bandwidth_throttling_patch","text":"CloudEndureBandwidthThrottling projects_project_id_machines_machine_id_bandwidth_throttling_patch(body, project_id, machine_id) Set value of network bandwidth throttling setting for Machine","title":"projects_project_id_machines_machine_id_bandwidth_throttling_patch"},{"location":"api/ReplicationApi/#example_1","text":"from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.ReplicationApi() body = cloudendure_api.CloudEndureBandwidthThrottling() # CloudEndureBandwidthThrottling | project_id = 'project_id_example' # str | machine_id = 'machine_id_example' # str | try: # Set value of network bandwidth throttling setting for Machine api_response = api_instance.projects_project_id_machines_machine_id_bandwidth_throttling_patch(body, project_id, machine_id) pprint(api_response) except ApiException as e: print(\"Exception when calling ReplicationApi->projects_project_id_machines_machine_id_bandwidth_throttling_patch: %s\\n\" % e)","title":"Example"},{"location":"api/ReplicationApi/#parameters_1","text":"Name Type Description Notes body CloudEndureBandwidthThrottling project_id str machine_id str","title":"Parameters"},{"location":"api/ReplicationApi/#return-type_1","text":"CloudEndureBandwidthThrottling","title":"Return type"},{"location":"api/ReplicationApi/#authorization_1","text":"No authorization required","title":"Authorization"},{"location":"api/ReplicationApi/#http-request-headers_1","text":"Content-Type : application/json Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"HTTP request headers"},{"location":"api/ReplicationApi/#projects_project_id_machines_machine_id_delete","text":"projects_project_id_machines_machine_id_delete(project_id, machine_id) Uninstall agent Stops replication and removes the cloudendure agent from this machine. All cloud artifacts associated with those machines with the exception of launched target machine are deleted.","title":"projects_project_id_machines_machine_id_delete"},{"location":"api/ReplicationApi/#example_2","text":"from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.ReplicationApi() project_id = 'project_id_example' # str | machine_id = 'machine_id_example' # str | try: # Uninstall agent api_instance.projects_project_id_machines_machine_id_delete(project_id, machine_id) except ApiException as e: print(\"Exception when calling ReplicationApi->projects_project_id_machines_machine_id_delete: %s\\n\" % e)","title":"Example"},{"location":"api/ReplicationApi/#parameters_2","text":"Name Type Description Notes project_id str machine_id str","title":"Parameters"},{"location":"api/ReplicationApi/#return-type_2","text":"void (empty response body)","title":"Return type"},{"location":"api/ReplicationApi/#authorization_2","text":"No authorization required","title":"Authorization"},{"location":"api/ReplicationApi/#http-request-headers_2","text":"Content-Type : Not defined Accept : Not defined [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"HTTP request headers"},{"location":"api/ReplicationApi/#projects_project_id_machines_machine_id_pointsintime_get","text":"CloudEndurePointInTimeList projects_project_id_machines_machine_id_pointsintime_get(project_id, machine_id, offset=offset, limit=limit) List Available Points-in-time Returns the list of available recovery points for this machine.","title":"projects_project_id_machines_machine_id_pointsintime_get"},{"location":"api/ReplicationApi/#example_3","text":"from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.ReplicationApi() project_id = 'project_id_example' # str | machine_id = 'machine_id_example' # str | offset = 56 # int | With which item to start (0 based). (optional) limit = 56 # int | A number specifying how many entries to return. (optional) try: # List Available Points-in-time api_response = api_instance.projects_project_id_machines_machine_id_pointsintime_get(project_id, machine_id, offset=offset, limit=limit) pprint(api_response) except ApiException as e: print(\"Exception when calling ReplicationApi->projects_project_id_machines_machine_id_pointsintime_get: %s\\n\" % e)","title":"Example"},{"location":"api/ReplicationApi/#parameters_3","text":"Name Type Description Notes project_id str machine_id str offset int With which item to start (0 based). [optional] limit int A number specifying how many entries to return. [optional]","title":"Parameters"},{"location":"api/ReplicationApi/#return-type_3","text":"CloudEndurePointInTimeList","title":"Return type"},{"location":"api/ReplicationApi/#authorization_3","text":"No authorization required","title":"Authorization"},{"location":"api/ReplicationApi/#http-request-headers_3","text":"Content-Type : Not defined Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"HTTP request headers"},{"location":"api/ReplicationApi/#projects_project_id_replication_configurations_get","text":"CloudEndureReplicationConfigurationList projects_project_id_replication_configurations_get(project_id, offset=offset, limit=limit) List Replication Configurations Returns the list of replication configuration objects defined in this project.","title":"projects_project_id_replication_configurations_get"},{"location":"api/ReplicationApi/#example_4","text":"from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.ReplicationApi() project_id = 'project_id_example' # str | offset = 56 # int | With which item to start (0 based). (optional) limit = 56 # int | A number specifying how many entries to return. (optional) try: # List Replication Configurations api_response = api_instance.projects_project_id_replication_configurations_get(project_id, offset=offset, limit=limit) pprint(api_response) except ApiException as e: print(\"Exception when calling ReplicationApi->projects_project_id_replication_configurations_get: %s\\n\" % e)","title":"Example"},{"location":"api/ReplicationApi/#parameters_4","text":"Name Type Description Notes project_id str offset int With which item to start (0 based). [optional] limit int A number specifying how many entries to return. [optional]","title":"Parameters"},{"location":"api/ReplicationApi/#return-type_4","text":"CloudEndureReplicationConfigurationList","title":"Return type"},{"location":"api/ReplicationApi/#authorization_4","text":"No authorization required","title":"Authorization"},{"location":"api/ReplicationApi/#http-request-headers_4","text":"Content-Type : Not defined Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"HTTP request headers"},{"location":"api/ReplicationApi/#projects_project_id_replication_configurations_post","text":"CloudEndureReplicationConfiguration projects_project_id_replication_configurations_post(body, project_id) Create Replication Configuration Control Data Replication parameters such as target cloud credentials, Staging Area and replication network configuration. A single configuration can exist per target region. Returns the newly created object.","title":"projects_project_id_replication_configurations_post"},{"location":"api/ReplicationApi/#example_5","text":"from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.ReplicationApi() body = cloudendure_api.CloudEndureReplicationConfiguration() # CloudEndureReplicationConfiguration | project_id = 'project_id_example' # str | try: # Create Replication Configuration api_response = api_instance.projects_project_id_replication_configurations_post(body, project_id) pprint(api_response) except ApiException as e: print(\"Exception when calling ReplicationApi->projects_project_id_replication_configurations_post: %s\\n\" % e)","title":"Example"},{"location":"api/ReplicationApi/#parameters_5","text":"Name Type Description Notes body CloudEndureReplicationConfiguration project_id str","title":"Parameters"},{"location":"api/ReplicationApi/#return-type_5","text":"CloudEndureReplicationConfiguration","title":"Return type"},{"location":"api/ReplicationApi/#authorization_5","text":"No authorization required","title":"Authorization"},{"location":"api/ReplicationApi/#http-request-headers_5","text":"Content-Type : application/json Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"HTTP request headers"},{"location":"api/ReplicationApi/#projects_project_id_replication_configurations_replication_configuration_id_patch","text":"CloudEndureReplicationConfiguration projects_project_id_replication_configurations_replication_configuration_id_patch(body, project_id, replication_configuration_id) Modify Replication Configuration Modifying volumeEncryptionKey or modifying cloudCredentials to ones matching a different cloud account will result in replication restarting from initial sync. Returns the modified object.","title":"projects_project_id_replication_configurations_replication_configuration_id_patch"},{"location":"api/ReplicationApi/#example_6","text":"from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.ReplicationApi() body = cloudendure_api.CloudEndureReplicationConfiguration() # CloudEndureReplicationConfiguration | project_id = 'project_id_example' # str | replication_configuration_id = 'replication_configuration_id_example' # str | try: # Modify Replication Configuration api_response = api_instance.projects_project_id_replication_configurations_replication_configuration_id_patch(body, project_id, replication_configuration_id) pprint(api_response) except ApiException as e: print(\"Exception when calling ReplicationApi->projects_project_id_replication_configurations_replication_configuration_id_patch: %s\\n\" % e)","title":"Example"},{"location":"api/ReplicationApi/#parameters_6","text":"Name Type Description Notes body CloudEndureReplicationConfiguration project_id str replication_configuration_id str","title":"Parameters"},{"location":"api/ReplicationApi/#return-type_6","text":"CloudEndureReplicationConfiguration","title":"Return type"},{"location":"api/ReplicationApi/#authorization_6","text":"No authorization required","title":"Authorization"},{"location":"api/ReplicationApi/#http-request-headers_6","text":"Content-Type : application/json Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"HTTP request headers"},{"location":"api/UserApi/","text":"cloudendure_api.UserApi All URIs are relative to https://console.cloudendure.com/api/latest Method HTTP request Description change_password_post POST /changePassword Change Password me_get GET /me Me users_user_id_delete DELETE /users/{userId} Delete a User users_user_id_patch PATCH /users/{userId} Modify user settings change_password_post change_password_post(body) Change Password Example from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.UserApi() body = NULL # object | try: # Change Password api_instance.change_password_post(body) except ApiException as e: print(\"Exception when calling UserApi->change_password_post: %s\\n\" % e) Parameters Name Type Description Notes body object Return type void (empty response body) Authorization No authorization required HTTP request headers Content-Type : application/json Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README] me_get CloudEndureUser me_get() Me Provides user configuration information for the currently logged in user. Example from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.UserApi() try: # Me api_response = api_instance.me_get() pprint(api_response) except ApiException as e: print(\"Exception when calling UserApi->me_get: %s\\n\" % e) Parameters This endpoint does not need any parameter. Return type CloudEndureUser Authorization No authorization required HTTP request headers Content-Type : Not defined Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README] users_user_id_delete users_user_id_delete(user_id) Delete a User todo Example from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.UserApi() user_id = 'user_id_example' # str | try: # Delete a User api_instance.users_user_id_delete(user_id) except ApiException as e: print(\"Exception when calling UserApi->users_user_id_delete: %s\\n\" % e) Parameters Name Type Description Notes user_id str Return type void (empty response body) Authorization No authorization required HTTP request headers Content-Type : Not defined Accept : Not defined [Back to top] [Back to API list] [Back to Model list] [Back to README] users_user_id_patch CloudEndureUser users_user_id_patch(body, user_id) Modify user settings Configure which projects this user can receive e-mail notifications for. Example from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.UserApi() body = cloudendure_api.CloudEndureUser() # CloudEndureUser | user_id = 'user_id_example' # str | try: # Modify user settings api_response = api_instance.users_user_id_patch(body, user_id) pprint(api_response) except ApiException as e: print(\"Exception when calling UserApi->users_user_id_patch: %s\\n\" % e) Parameters Name Type Description Notes body CloudEndureUser user_id str Return type CloudEndureUser Authorization No authorization required HTTP request headers Content-Type : application/json Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"UserApi"},{"location":"api/UserApi/#cloudendure_apiuserapi","text":"All URIs are relative to https://console.cloudendure.com/api/latest Method HTTP request Description change_password_post POST /changePassword Change Password me_get GET /me Me users_user_id_delete DELETE /users/{userId} Delete a User users_user_id_patch PATCH /users/{userId} Modify user settings","title":"cloudendure_api.UserApi"},{"location":"api/UserApi/#change_password_post","text":"change_password_post(body) Change Password","title":"change_password_post"},{"location":"api/UserApi/#example","text":"from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.UserApi() body = NULL # object | try: # Change Password api_instance.change_password_post(body) except ApiException as e: print(\"Exception when calling UserApi->change_password_post: %s\\n\" % e)","title":"Example"},{"location":"api/UserApi/#parameters","text":"Name Type Description Notes body object","title":"Parameters"},{"location":"api/UserApi/#return-type","text":"void (empty response body)","title":"Return type"},{"location":"api/UserApi/#authorization","text":"No authorization required","title":"Authorization"},{"location":"api/UserApi/#http-request-headers","text":"Content-Type : application/json Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"HTTP request headers"},{"location":"api/UserApi/#me_get","text":"CloudEndureUser me_get() Me Provides user configuration information for the currently logged in user.","title":"me_get"},{"location":"api/UserApi/#example_1","text":"from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.UserApi() try: # Me api_response = api_instance.me_get() pprint(api_response) except ApiException as e: print(\"Exception when calling UserApi->me_get: %s\\n\" % e)","title":"Example"},{"location":"api/UserApi/#parameters_1","text":"This endpoint does not need any parameter.","title":"Parameters"},{"location":"api/UserApi/#return-type_1","text":"CloudEndureUser","title":"Return type"},{"location":"api/UserApi/#authorization_1","text":"No authorization required","title":"Authorization"},{"location":"api/UserApi/#http-request-headers_1","text":"Content-Type : Not defined Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"HTTP request headers"},{"location":"api/UserApi/#users_user_id_delete","text":"users_user_id_delete(user_id) Delete a User todo","title":"users_user_id_delete"},{"location":"api/UserApi/#example_2","text":"from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.UserApi() user_id = 'user_id_example' # str | try: # Delete a User api_instance.users_user_id_delete(user_id) except ApiException as e: print(\"Exception when calling UserApi->users_user_id_delete: %s\\n\" % e)","title":"Example"},{"location":"api/UserApi/#parameters_2","text":"Name Type Description Notes user_id str","title":"Parameters"},{"location":"api/UserApi/#return-type_2","text":"void (empty response body)","title":"Return type"},{"location":"api/UserApi/#authorization_2","text":"No authorization required","title":"Authorization"},{"location":"api/UserApi/#http-request-headers_2","text":"Content-Type : Not defined Accept : Not defined [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"HTTP request headers"},{"location":"api/UserApi/#users_user_id_patch","text":"CloudEndureUser users_user_id_patch(body, user_id) Modify user settings Configure which projects this user can receive e-mail notifications for.","title":"users_user_id_patch"},{"location":"api/UserApi/#example_3","text":"from __future__ import print_function import time from cloudendure import cloudendure_api from cloudendure.cloudendure_api.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = cloudendure_api.UserApi() body = cloudendure_api.CloudEndureUser() # CloudEndureUser | user_id = 'user_id_example' # str | try: # Modify user settings api_response = api_instance.users_user_id_patch(body, user_id) pprint(api_response) except ApiException as e: print(\"Exception when calling UserApi->users_user_id_patch: %s\\n\" % e)","title":"Example"},{"location":"api/UserApi/#parameters_3","text":"Name Type Description Notes body CloudEndureUser user_id str","title":"Parameters"},{"location":"api/UserApi/#return-type_3","text":"CloudEndureUser","title":"Return type"},{"location":"api/UserApi/#authorization_3","text":"No authorization required","title":"Authorization"},{"location":"api/UserApi/#http-request-headers_3","text":"Content-Type : application/json Accept : application/json [Back to top] [Back to API list] [Back to Model list] [Back to README]","title":"HTTP request headers"},{"location":"code/cloudendure/api/","text":"cloudendure.api Define the CloudEndure API wrapper related logic. Attributes: API_VERSION (str): The CloudEndure API version to be used. AUTH_TTL (str): The authentication token expiration in seconds. Defaults to: 3600. HOST (str): The CloudEndure API URI. Defaults to: https://console.cloudendure.com logger (logging.Logger): The default logger for the module. CloudEndureAPI CloudEndureAPI(self, config: 'CloudEndureConfig', *args, **kwargs) Define the CloudEndure API base. Attributes: api_endpoint (str): The CloudEndure API endpoint to be used for API calls. credentials (dict): The mapping of CloudEndure credentials. session (requests.Session): The requests Session to be used throughout the lifecycle of this API interaction. TOP_LEVEL login CloudEndureAPI.login(username: 'str' = '', password: 'str' = '', token: 'str' = '') Login to the CloudEndure API console. Args: username (str): The CloudEndure username to be used. Defaults to the environment specific default. password (str): The CloudEndure password to be used. Defaults to the environment specific default. token (str): The CloudEndure token to be used. This argument takes precedence. If provided, username and password will not be used. Defaults to the environment specific default. Attributes: endpoint (str): The CloudEndure API endpoint to be used. _username (str): The CloudEndure API username. _password (str): The CloudEndure API password. _token (str): The CloudEndure API token. _auth (dict): The CloudEndure API username/password dictionary map. response (requests.Response): The CloudEndure API login request response object. _xsrf_token (str): The XSRF token to be used for subsequent API requests. TODO: * Verify default XSRF-Token TTL and check validity before performing subsequent authentication requests. get_endpoint CloudEndureAPI.get_endpoint( path: 'str', api_version: 'str' = 'latest', host: 'str' = 'https://console.cloudendure.com') Build the endpoint path. Args: path (str): The path to be requested. api_version (str): The API version to be used. For example: v5 Defaults to: latest host (str): The API URL to be used. Defaults to: https://console.cloudendure.com Returns: str: The CloudEndure API endpoint to be used. api_call CloudEndureAPI.api_call(path: 'str', method: 'str' = 'get', data: 'Dict[str, Any]' = None) Handle CloudEndure API calls based on the defined parameters. Args: path (str): The path to be used to perform the call. Keyword Args: method (str): The API method call to be performed. i.e.: get, data (dict): The data dictionary to be used to perform the request. Returns: requests.models.Response: The CloudEndure API response. check_creds CloudEndureAPI.check_creds(login: 'bool' = True) Check the credential TTL. post_endpoint CloudEndureAPI.post_endpoint(path: 'str' = '') Create a POST request against the specified path. get_projects CloudEndureAPI.get_projects(current_project: 'str' = '') Get the CloudEndure projects associated with the authenticated account. docs CloudEndureAPI.docs() Open the CloudEndure API documentation page.","title":"API"},{"location":"code/cloudendure/cloudendure/","text":"cloudendure.cloudendure Define the CloudEndure main entry logic. CloudEndure CloudEndure(self, project_name: 'str' = '', dry_run: 'bool' = False, username: 'str' = '', password: 'str' = '', token: 'str' = '') Define the CloudEndure general object. version Display the CloudEndure module version. Returns: str: The CloudEndure Python module version. get_project_id CloudEndure.get_project_id(project_name: 'str' = '') Get the associated CloudEndure project ID by project_name. Args: project_name (str): The name of the CloudEndure project. Exceptions: Exception: Currently catch all encountered exceptions while traversing the project list API call. Returns: str: The CloudEndure project UUID. get_cloud CloudEndure.get_cloud(cloud_type: 'str' = '') Get the ID for the specified cloud type. create_cloud_credentials CloudEndure.create_cloud_credentials(access_key: 'str' = '', secret_key: 'str' = '') Create a new CloudEndure project. Args: project_name (str): The name of the CloudEndure project to be created. Returns: str: The newly created CloudEndure project ID. create_repl_config CloudEndure.create_repl_config(region: 'str' = '', cloud_cred_id: 'str' = '') Create a CloudEndure project replication configuration. Args: project_name (str): The name of the CloudEndure project to get replication configurations for. Returns: list of dict: The CloudEndure replication configuration dictionary mapping. get_repl_configs CloudEndure.get_repl_configs() Get a CloudEndure project's replication configurations. Args: project_name (str): The name of the CloudEndure project to get replication configurations for. Returns: list of dict: The CloudEndure replication configuration dictionary mapping. create_project CloudEndure.create_project(project_name: 'str') Create a new CloudEndure project. Args: project_name (str): The name of the CloudEndure project to be created. Returns: str: The newly created CloudEndure project ID. update_project CloudEndure.update_project(project_data: 'Dict[str, Any]' = None) Update a CloudEndure project. Args: project_name (str): The name of the CloudEndure project to be updated. project_data (dict): The project payload to be used to update the project. Defaults to the current project state. Returns: bool: Whether or not the project has been updated. check CloudEndure.check() Check the status of machines in the provided project. update_encryption_key CloudEndure.update_encryption_key(kms_id: 'str') Update encryption keys for replication. Warning: This will cause re-sync if key does not match! Args: kms_id (str): The AWS KMD ID to update the project to use. project_name (str): The name of the CloudEndure project to be updated. dry_run (bool): Whether or not this execution should be a dry run, making no actual changes to CloudEndure for validation purposes. Returns: bool: Whether or not the encryption key was updated. check_licenses CloudEndure.check_licenses() Check licenses for all available instances in a given project. get_machine_sync_details CloudEndure.get_machine_sync_details() Checks CloudEndure Project inventory and returns register machine replication state. update_blueprint CloudEndure.update_blueprint() Update the blueprint associated with the specified machines. launch CloudEndure.launch() Launch the test target instances. status CloudEndure.status() Get the status of machines in the current wave. execute CloudEndure.execute() Start the migration project my checking and launching the migration wave. replication CloudEndure.replication(action: 'str', machine_ids: 'str' = '') Handle replication actions. share_image CloudEndure.share_image(image_id: 'str', image_name: 'str' = 'CloudEndureImage') Share the generated AMIs to the provided destination account. create_ami CloudEndure.create_ami() Create an AMI from the specified instances. Args: project_name (str): The name of the CloudEndure project. Returns: bool: Whether or not the AMI creation was successful. copy_image CloudEndure.copy_image(image_id: 'str') Copy a shared image to an account. Args: image_id (str): The AWS AMI to be copied. Returns: str: The copied AWS AMI ID. split_image CloudEndure.split_image(image_id: 'str') Split the image into a root drive only AMI and a collection of snapshots. Args: image_id (str): The AWS AMI to be copied. Returns: dict: The mapping of AWS EBS block devices. gen_terraform CloudEndure.gen_terraform(image_id: 'str', name: 'str' = 'INSTANCENAME', subnet_id: 'str' = 'SUBNET_ID', private_ip: 'str' = 'PRIVATE_IP', keypair: 'str' = 'KEYPAIR', security_group: 'str' = 'SECURITY_GROUP', tagging_module: 'str' = 'tagging_module') Generate Terraform for a given split image. Args: image_id (str): The split AMI ID to be referenced. name (str): The name of the instance to be generated. subnet_id (str): The AWS VPC Subnet ID to be referenced. private_id (str): The internal IP address to associate with the AWS ENI. keypair (str): The AWS EC2 keypair name to be referenced. security_group (str): The AWS security group ID to be referenced. Returns: str: The raw Terraform with volume, ENI, and EC2 instance templates. terminate CloudEndure.terminate() Terminate the launched machine(s). Returns: bool: Whether cleanup was successful. delete_image CloudEndure.delete_image(image_id: 'str') Remove the AMI and snapshots. Args: image_id (str): The AWS AMI to be deleted. Returns: bool: Whether the AMI deletion was requested successfully. main main() Define the main entry method for the CLI.","title":"Main"},{"location":"code/cloudendure/config/","text":"cloudendure.config Define the CloudEndure Config related logic. CloudEndureConfig CloudEndureConfig(self, username: 'str' = '', password: 'str' = '', token: 'str' = '', *args, **kwargs) Define the CloudEndure Config object. BASE_CONFIG merge_config_dicts CloudEndureConfig.merge_config_dicts(values: 'List[Any]') Merge a list of configuration dictionaries. read_yaml_config CloudEndureConfig.read_yaml_config() Read the CloudEndure YAML configuration file. write_yaml_config CloudEndureConfig.write_yaml_config(config: 'Dict[str, Any]') Write to the CloudEndure YAML configuration file. update_yaml_config CloudEndureConfig.update_yaml_config(kwargs: 'Dict[str, Any]') Update the YAML configuration file. get_env_vars CloudEndureConfig.get_env_vars(prefix: 'str' = 'cloudendure') Get all environment variables starting with CLOUDENDURE_. update_config CloudEndureConfig.update_config() Update the configuration. update_token CloudEndureConfig.update_token(token: 'str') Update the CloudEndure token. Returns: bool: Whether or not the operation was successful. get_var CloudEndureConfig.get_var(var: 'str') Get the specified environment or config variable. Returns: str: The variable to be used for the provided configuration env var.","title":"Config"},{"location":"code/cloudendure/constants/","text":"cloudendure.constants Define the CloudEndure reusable variables. get_aws_regions get_aws_regions() Return a hardcoded dictionary of AWS regions. Returns: dict: A mapping of AWS regions.","title":"Constants"},{"location":"code/cloudendure/events/","text":"cloudendure.events Define the CloudEndure events. EventHandler EventHandler(self, events: 'List[Any]' = None) Define the handling of CloudEndure Event objects. add_event EventHandler.add_event(event_type: 'Tuple[str, str]', machine_name, **kwargs) Add an event. Event Event(self, event_type, machine_name: 'str' = 'NA', **kwargs) Define the structure of a CloudEndure Event. Usage: from cloudendure.event import Event some_event = Event(Event.EVENT_EXPIRED, somevar=\"some\") ERRORRED_EVENT_TYPES EVENT_ALREADY_LAUNCHED EVENT_EXPIRED EVENT_FAILED EVENT_IGNORED EVENT_IN_PROGRESS EVENT_STRUCTURE EVENT_SUCCESSFULLY_LAUNCHED EVENT_TYPES SUCCESSFUL_EVENT_TYPES WARNED_EVENT_TYPES","title":"Events"},{"location":"code/cloudendure/exceptions/","text":"cloudendure.exceptions Define the CloudEndure exceptions. CloudEndureException CloudEndureException() Define the structure of a CloudEndure exception. CloudEndureHTTPException CloudEndureHTTPException() Define the CloudEndure exception for unauthorized content. CloudEndureUnauthorized CloudEndureUnauthorized() The CloudEndure HTTP exception (401) was encountered for the request due to an unauthenticated request. CloudEndureForbidden CloudEndureForbidden() The CloudEndure HTTP exception (403) was encountered because the current user is not allowed access. CloudEndureNotFound CloudEndureNotFound() The CloudEndure HTTP exception (404) was encountered for the request due to the object not being found. CloudEndureMethodNotAllowed CloudEndureMethodNotAllowed() The CloudEndure HTTP exception (405) raised when using a method that is not supported. For example: (POST instead of GET). CloudEndureUnprocessableEntity CloudEndureUnprocessableEntity() The CloudEndure HTTP exception (422) was encountered due to invalid input. CloudEndureInvalidEvent CloudEndureInvalidEvent() The CloudEndure exception for invalid Event types. CloudEndureMisconfigured CloudEndureMisconfigured() The CloudEndure exception indicating the CLI/Module hasn't been configured properly.","title":"Exceptions"},{"location":"code/cloudendure/models/","text":"cloudendure.models Define the CloudEndure API wrapper related logic. CloudEndureModel CloudEndureModel(self) Define the CloudEndure Model base object. as_dict CloudEndureModel.as_dict() Return a dict representation of the model. parse CloudEndureModel.parse(json: 'Dict[str, Any]') Parse a JSON object into a model instance. Cloud Cloud(self, **kwargs) Define the CloudEndure Cloud model schema. endpoint parse Cloud.parse(json: 'Dict[str, Any]') Parse the Cloud object. Project Project(self, **kwargs) Define the CloudEndure Project model schema. endpoint parse Project.parse(json: 'Dict[str, Any]') Parse the Project object. Machine Machine(self, **kwargs) Define the CloudEndure Machine model schema. endpoint parent parse Machine.parse(json: 'Dict[str, Any]') Parse the Machine object. TODO: * Add parsing for nested resources.","title":"Models"},{"location":"code/cloudendure/templates/","text":"cloudendure.templates Define the CloudEndure template logic. CookiecutterHandler CookiecutterHandler() Handle cookiecutter operations. run CookiecutterHandler.run( migration_data: 'Dict[str, Any]', cookiecutter_path: 'str' = 'https://github.com/2ndWatch/cookiecutter-tf-cloudendure') Run the automation of cookiecutter. create_project CookiecutterHandler.create_project(package_path: 'str', context: 'Dict[Any, Any]' = None, no_input: 'bool' = True) Create a cookiecutter project with the provided details. Args: package_path (str): The path to the cookiecutter template. context (dict): The seed context to be used to populate cookiecutter values. Defaults to an empty dictionary. no_input (bool): Whether or not the interaction is no input. Requires True in order to function for bulk creation. Defaults to: True. Returns: bool: Whether or not project creation was successful. TerraformTemplate TerraformTemplate() Define Terraform template entries. Attributes: INSTANCE_TEMPLATE (str): The Terraform EC2 instance template. NETWORKTEMPLATE (str): The Terraform network interface template. VOLUME_TEMPLATE (str): The Terraform volume and volume attachment template. INSTANCE_TEMPLATE NETWORK_TEMPLATE VOLUME_TEMPLATE","title":"Templates"},{"location":"code/cloudendure/utils/","text":"cloudendure.utils Define the CloudEndure utility logic. Attributes: first_cap_re (re.Pattern): The regex pattern to determine the first capital letter in a string. all_cap_re (re.Pattern): The regex pattern to determine all capital letters in a string. get_user_agent get_user_agent(user_agent: 'str' = 'cloudendure-python') Get the current module version. Args: user_agent (str): The user agent client designation. Defaults to: cloudendure-python Returns: str: The user agent string representation for the client. get_time_now get_time_now() Get the current time in UTC as milliseconds. Returns: dict: The mapping of time now values in UTC. to_snake_case to_snake_case(value: 'str') Convert the provided value from CamelCase to snake_case. Args: value (str): The string value to convert from CamelCase to snake_case. Returns: str: The formatted snake_case string.","title":"Utilities"},{"location":"code/lambda/copy_ami/","text":"lambda.copy_ami Define the CloudEndure lambda function. Attributes: LOG_LEVEL (str): REGION_OVERRIDE (str): If provided, this value will override the default AWS region. logger (logging.Logger): get_ec2 get_ec2(credentials: 'Dict[str, str]', region: 'str' = '') Get an active EC2 boto3 client.","title":"Copy AMI Utils"},{"location":"code/lambda/exceptions/","text":"lambda.exceptions Define the Lambda specific exceptions. LambdaException LambdaException() Define the generic AWS Lambda exception. InvalidPayload InvalidPayload() Define the exception to be raised when an invalid payload is encountered. ImproperlyConfigured ImproperlyConfigured() Define the exception to be raised if the environment is improperly configured or missing.","title":"Exceptions"},{"location":"code/lambda/handler/","text":"lambda.handler Define the CloudEndure lambda function. Attributes: LOG_LEVEL (str): REGION_OVERRIDE (str): If provided, this value will override the default AWS region. logger (logging.Logger): The logger to be used throughout execution of the AWS Lambda. send_sqs_message send_sqs_message(image_info: 'Dict[str, Any]') Send a SQS message. The message includes the AMI information that was created from the migrated instance that passed testing post migration in CloudEndure. Raises: ClientError: The exception is raised in the event of a boto3 client error. ImproperlyConfigured: The exception is raised in the event of missing or invalid environment configuration settings. Returns: bool: Whether or not the message has been sent successfully. create_ami create_ami(project_id: 'str', instance_id: 'str') Create an AMI from the specified instance. Args: project_id (str): The ID associated with the Project. instance_id (str): The ID associated with the AWS instance. Raises: ClientError: The exception is raised in the event of a boto3 client error. Returns: bool: Whether or not the AMI has been created successfully. lambda_handler lambda_handler(event: 'Dict[str, Any]', context: 'Dict[str, Any]') Define the AWS Lambda entry point and handler. Args: event (str): The event performed against Lambda. context (dict): The context of the request performed against Lambda. Raises: ClientError: The exception is raised in the event of a boto3 client error. InvalidPayload: The exception is raised in the event of an invalid payload. Returns: bool: Whether or not the lambda function has executed successfully.","title":"Handler"}]} \ No newline at end of file diff --git a/securitypolicy/index.html b/securitypolicy/index.html new file mode 100644 index 000000000..f23d568b0 --- /dev/null +++ b/securitypolicy/index.html @@ -0,0 +1,1939 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Security Policy - CloudEndure Python Client and CLI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + +
+ +
+ +
+ + + + + + + + + + +
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+
+ + + + + +

Security Policy

+

This project is currently in alpha and is not guaranteed. Please be warned... Your mileage may vary! +All current versions of this client are pre-releases.

+

Supported Versions

+ + + + + + + + + + + + + +
VersionSupported
0.0.x:x:
+

Reporting a Vulnerability

+

Please report bugs by raising a new issue on this repository: https://github.com/mbeacom/cloudendure-python/issues/new

+ + + + + + + + + + +
+
+
+
+ + + + +
+ + + + + + + + \ No newline at end of file diff --git a/setup.cfg b/setup.cfg deleted file mode 100644 index 8214e79cc..000000000 --- a/setup.cfg +++ /dev/null @@ -1,83 +0,0 @@ -[tool:pytest] -norecursedirs = - .git - venv -python_files = - test_*.py - *_test.py - tests.py -addopts = - -rf - --isort - --cov - -[flake8] -max-line-length = 120 -exclude = .tox,.git - -[pycodestyle] -max-line-length = 120 -exclude = .tox,.git - -[pylint] -max-line-length = 120 -exclude = .tox,.git - -[coverage:run] -branch = True -source = - app -omit = - *.eggs* - *tests* - */__init__.py - -[coverage:report] -# Regexes for lines to exclude from consideration -exclude_lines = - # Have to re-enable the standard pragma - pragma: no cover - - # Don't complain about missing debug-only code: - def __repr__ - if self\.debug - - # Don't complain if tests don't hit defensive assertion code: - raise AssertionError - raise NotImplementedError - - # Don't complain if non-runnable code isn't run: - if 0: - if __name__ == .__main__.: - -ignore_errors = True - -[coverage:html] -directory = coverage_html_report - -[isort] -line_length = 120 -multi_line_output = 5 -include_trailing_comma = True -known_future_library = future -known_third_party = boto3,botocore,pytest,requests,urllib3,six,yaml -known_first_party = cloudendure,cloudendure_api,api,models -default_section = THIRDPARTY -indent = ' ' -sections = FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER - -[yapf] -based_on_style = pep8 -column_limit = 120 -indent_width = 4 -spaces_before_comment = 2 -ALLOW_SPLIT_BEFORE_DICT_VALUE = false -DEDENT_CLOSING_BRACKETS = true -EACH_DICT_ENTRY_ON_SEPARATE_LINE = true -COALESCE_BRACKETS = true -USE_TABS = false -ALLOW_MULTILINE_LAMBDAS = true -BLANK_LINE_BEFORE_NESTED_CLASS_OR_DEF = true -INDENT_DICTIONARY_VALUE = true -SPLIT_BEFORE_EXPRESSION_AFTER_OPENING_PAREN = true -DISABLE_ENDING_COMMA_HEURISTIC = true diff --git a/setup.py b/setup.py deleted file mode 100644 index 1189ca2b5..000000000 --- a/setup.py +++ /dev/null @@ -1,149 +0,0 @@ -#!/usr/bin/env python -# -*- coding: utf-8 -*- -"""Define the CloudEndure module setup. - -Note: To use the 'upload' functionality of this file, you must: - -`$ pipenv install twine --dev` - -""" - -import io -import os -import sys -from shutil import rmtree -from typing import Dict, List - -from setuptools import Command, find_packages, setup - -# Package meta-data. -NAME: str = 'cloudendure' -DESCRIPTION: str = 'CloudEndure Python Client and CLI' -URL: str = 'https://github.com/mbeacom/cloudendure-py' -EMAIL: str = 'markvbeacom@gmail.com' -AUTHOR: str = 'Mark Beacom' -REQUIRES_PYTHON: str = '>=3.6.0' -VERSION: str = '0.1.0' - -REQUIRED: List[str] = ['requests', 'boto3', ] -EXTRAS: Dict[str, List[str]] = { - 'test': [ - 'coverage', 'isort', 'pytest', 'pytest-cov', 'pytest-isort', 'pytest-sugar', 'black', 'pydocstyle', - 'pycodestyle', 'bandit', 'mypy', 'twine', - ], -} - -here = os.path.abspath(os.path.dirname(__file__)) - -try: - with io.open(os.path.join(here, 'README.md'), encoding='utf-8') as f: - long_description: str = '\n' + f.read() -except FileNotFoundError: - long_description = DESCRIPTION - -# Load the package's __version__.py module as a dictionary. - -about: Dict[str, str] = {} -if not VERSION: - project_slug: str = NAME.lower().replace('-', '_').replace(' ', '_') - with open(os.path.join(here, project_slug, '__version__.py')) as f: - exec(f.read(), about) -else: - about['__version__'] = VERSION - - -class UploadCommand(Command): - """Support setup.py upload.""" - - description: str = 'Build and publish the package.' - user_options: List[str] = [] - - @staticmethod - def status(s): - """Print things in bold.""" - print('\033[1m{0}\033[0m'.format(s)) - - def initialize_options(self): - pass - - def finalize_options(self): - pass - - def run(self): - try: - self.status('Removing previous builds…') - rmtree(os.path.join(here, 'dist')) - except OSError: - pass - - self.status('Building Source and Wheel (universal) distribution…') - sys_exec: str = sys.executable - os.system(f'{sys_exec} setup.pdy sdist bdist_wheel --universal') - - self.status('Uploading the package to PyPI via Twine…') - os.system('twine upload dist/*') - - self.status('Pushing git tags…') - vers: str = about['__version__'] - os.system(f'git tag v{vers}') - os.system('git push --tags') - - sys.exit() - - -# Where the magic happens: -setup( - name=NAME, - version=about['__version__'], - description=DESCRIPTION, - long_description=long_description, - long_description_content_type='text/markdown', - author=AUTHOR, - author_email=EMAIL, - python_requires=REQUIRES_PYTHON, - url=URL, - packages=find_packages(exclude=["tests", "*.tests", "*.tests.*", "tests.*"]), - entry_points={ - 'console_scripts': [ - 'cloudendure=cloudendure.cloudendure:main', - 'ce=cloudendure.cloudendure:main', - ], - }, - install_requires=REQUIRED, - extras_require=EXTRAS, - include_package_data=True, - license='MIT', - classifiers=[ - 'License :: OSI Approved :: MIT License', - 'Natural Language :: English', - 'Operating System :: MacOS', - 'Operating System :: MacOS :: MacOS 9', - 'Operating System :: MacOS :: MacOS X', - 'Operating System :: Microsoft', - 'Operating System :: Microsoft :: MS-DOS', - 'Operating System :: Microsoft :: Windows', - 'Operating System :: Microsoft :: Windows :: Windows 10', - 'Operating System :: Microsoft :: Windows :: Windows 8.1', - 'Operating System :: Microsoft :: Windows :: Windows 8', - 'Operating System :: Microsoft :: Windows :: Windows 7', - 'Operating System :: POSIX :: Linux', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: Implementation :: CPython', - 'Topic :: Internet', - 'Topic :: Internet :: WWW/HTTP', - 'Topic :: Internet :: WWW/HTTP :: Session', - 'Topic :: Software Development :: Libraries', - 'Topic :: Software Development :: Libraries :: Python Modules', - 'Topic :: Software Development :: User Interfaces', - 'Topic :: Utilities', - ], - # $ setup.py publish support. - cmdclass={ - 'upload': UploadCommand, - }, -) diff --git a/sitemap.xml b/sitemap.xml new file mode 100644 index 000000000..17b10a9ce --- /dev/null +++ b/sitemap.xml @@ -0,0 +1,447 @@ + + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + None + 2020-06-05 + daily + + \ No newline at end of file diff --git a/sitemap.xml.gz b/sitemap.xml.gz new file mode 100644 index 000000000..d6afc9e24 Binary files /dev/null and b/sitemap.xml.gz differ diff --git a/tox.ini b/tox.ini deleted file mode 100644 index 9d4e1e88e..000000000 --- a/tox.ini +++ /dev/null @@ -1,8 +0,0 @@ -[tox] -envlist = py36,py37,py38 - -[testenv] -changedir = tests -deps = pytest -# change pytest tempdir and add posargs from command line -commands = pytest --basetemp={envtmpdir} {posargs}